@appquality/unguess-design-system 3.1.49 → 3.1.50

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (54) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/build/index.d.ts +0 -2
  3. package/build/index.js +392 -637
  4. package/build/stories/alerts/index.d.ts +268 -1
  5. package/build/stories/buttons/button/index.d.ts +288 -2
  6. package/build/stories/buttons/shared/_shared.d.ts +1 -1
  7. package/build/stories/buttons/utils.d.ts +852 -3
  8. package/build/stories/charts/ChartContainer.d.ts +2 -1
  9. package/build/stories/dropdowns/field/index.d.ts +267 -1
  10. package/build/stories/dropdowns/select/index.d.ts +267 -1
  11. package/build/stories/editor/editorStyle.d.ts +1 -1
  12. package/build/stories/forms/input/index.d.ts +267 -1
  13. package/build/stories/forms/input-toggle/index.d.ts +269 -1
  14. package/build/stories/label/index.d.ts +270 -1
  15. package/build/stories/lightbox/parts/body.d.ts +802 -4
  16. package/build/stories/lightbox/parts/footer.d.ts +267 -1
  17. package/build/stories/modals/fullscreen/index.d.ts +1080 -4
  18. package/build/stories/modals/index.d.ts +267 -1
  19. package/build/stories/navigation/header/header-item/brandItem.d.ts +282 -1
  20. package/build/stories/navigation/header/header-item/utils.d.ts +2 -3
  21. package/build/stories/navigation/nav/nav-item/accordionItem.d.ts +2 -2
  22. package/build/stories/navigation/nav/nav-item/navItemProject.d.ts +1 -1
  23. package/build/stories/navigation/page-header/index.d.ts +1076 -6
  24. package/build/stories/navigation/page-header/styled/main.d.ts +1076 -6
  25. package/build/stories/player/parts/container.d.ts +2 -1
  26. package/build/stories/player/parts/controls.d.ts +269 -2
  27. package/build/stories/player/parts/floatingControls.d.ts +2 -1
  28. package/build/stories/player/parts/video.d.ts +1 -1
  29. package/build/stories/profile-modal/menuItem.d.ts +268 -1
  30. package/build/stories/profile-modal/menuItemIcon.d.ts +2 -1
  31. package/build/stories/shared/globalStyle.d.ts +2 -1
  32. package/build/stories/slider/parts/container.d.ts +268 -1
  33. package/build/stories/slider/parts/slickSlider.d.ts +2 -1
  34. package/build/stories/special-cards/index.d.ts +815 -8
  35. package/build/stories/special-cards/styled/header.d.ts +813 -6
  36. package/build/stories/special-cards/styled/meta.d.ts +2 -1
  37. package/build/stories/special-cards/styled/thumbnail.d.ts +2 -1
  38. package/build/stories/stepper/index.d.ts +805 -3
  39. package/build/stories/tags/index.d.ts +545 -5
  40. package/build/stories/theme/mixins.d.ts +4 -4
  41. package/build/stories/theme/utils.d.ts +3 -3
  42. package/build/stories/timeline/index.d.ts +268 -2
  43. package/build/stories/tooltip/index.d.ts +278 -1
  44. package/build/stories/tooltip/index.stories.d.ts +1 -10
  45. package/build/stories/typography/typescale/anchortag/index.stories.d.ts +2 -10
  46. package/build/stories/typography/typescale/index.d.ts +282 -13
  47. package/build/stories/typography/typescale/index.stories.d.ts +2 -10
  48. package/package.json +3 -3
  49. package/build/stories/close/index.stories.d.ts +0 -4
  50. package/build/stories/navigation/sidebar/_types.d.ts +0 -28
  51. package/build/stories/navigation/sidebar/index.d.ts +0 -9
  52. package/build/stories/navigation/sidebar/index.stories.d.ts +0 -6
  53. package/build/stories/navigation/sidebar/skeleton.d.ts +0 -2
  54. package/build/stories/page/pageLoader.d.ts +0 -1
package/build/index.js CHANGED
@@ -34,8 +34,8 @@ var StarterKit = require('@tiptap/starter-kit');
34
34
  var Placeholder = require('@tiptap/extension-placeholder');
35
35
  var CharacterCount = require('@tiptap/extension-character-count');
36
36
  var reactGrid = require('@zendeskgarden/react-grid');
37
- var reactChrome = require('@zendeskgarden/react-chrome');
38
37
  var formik = require('formik');
38
+ var reactChrome = require('@zendeskgarden/react-chrome');
39
39
  var reactPagination = require('@zendeskgarden/react-pagination');
40
40
  var Video = require('@appquality/stream-player');
41
41
  var SlickSlider = require('react-slick');
@@ -322,8 +322,8 @@ const UgContainerCard = styled__default["default"](reactNotifications.Well) `
322
322
  `;
323
323
  const ContainerCard = (props) => jsxRuntime.jsx(UgContainerCard, Object.assign({}, props));
324
324
 
325
- var _a, _b, _c, _d, _e, _f, _g$d, _h;
326
- const components = Object.assign(Object.assign(Object.assign(Object.assign({}, reactTheming.DEFAULT_THEME.components), { chrome: Object.assign(Object.assign({}, (_a = reactTheming.DEFAULT_THEME.components) === null || _a === void 0 ? void 0 : _a.chrome), { header: Object.assign(Object.assign({}, (_c = (_b = reactTheming.DEFAULT_THEME.components) === null || _b === void 0 ? void 0 : _b.chrome) === null || _c === void 0 ? void 0 : _c.header), { height: "64px" }), nav: Object.assign(Object.assign({}, (_e = (_d = reactTheming.DEFAULT_THEME.components) === null || _d === void 0 ? void 0 : _d.chrome) === null || _e === void 0 ? void 0 : _e.nav), { openWidth: 240, closedWidth: 36, workspaceDropdownWidth: 192 }) }), notification: Object.assign(Object.assign({}, (_f = reactTheming.DEFAULT_THEME.components) === null || _f === void 0 ? void 0 : _f.notification), { card: Object.assign(Object.assign({}, (_h = (_g$d = reactTheming.DEFAULT_THEME.components) === null || _g$d === void 0 ? void 0 : _g$d.notification) === null || _h === void 0 ? void 0 : _h.well), { padding: "16px" }) }) }), cardCmponentStyle), { "text.primary": () => ({
325
+ var _a, _b, _c, _d, _e, _f, _g$c, _h;
326
+ const components = Object.assign(Object.assign(Object.assign(Object.assign({}, reactTheming.DEFAULT_THEME.components), { chrome: Object.assign(Object.assign({}, (_a = reactTheming.DEFAULT_THEME.components) === null || _a === void 0 ? void 0 : _a.chrome), { header: Object.assign(Object.assign({}, (_c = (_b = reactTheming.DEFAULT_THEME.components) === null || _b === void 0 ? void 0 : _b.chrome) === null || _c === void 0 ? void 0 : _c.header), { height: "64px" }), nav: Object.assign(Object.assign({}, (_e = (_d = reactTheming.DEFAULT_THEME.components) === null || _d === void 0 ? void 0 : _d.chrome) === null || _e === void 0 ? void 0 : _e.nav), { openWidth: 240, closedWidth: 36, workspaceDropdownWidth: 192 }) }), notification: Object.assign(Object.assign({}, (_f = reactTheming.DEFAULT_THEME.components) === null || _f === void 0 ? void 0 : _f.notification), { card: Object.assign(Object.assign({}, (_h = (_g$c = reactTheming.DEFAULT_THEME.components) === null || _g$c === void 0 ? void 0 : _g$c.notification) === null || _h === void 0 ? void 0 : _h.well), { padding: "16px" }) }) }), cardCmponentStyle), { "text.primary": () => ({
327
327
  color: getColor(colors.primaryHue, 600),
328
328
  }), "text.success": () => ({
329
329
  color: getColor(colors.successHue, 700),
@@ -818,55 +818,55 @@ Tag.Avatar = StyledAvatar;
818
818
  Tag.Close = StyledClose;
819
819
  Tag.SecondaryText = StyledSpan;
820
820
 
821
- var _path$C;
822
- function _extends$O() { _extends$O = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$O.apply(this, arguments); }
821
+ var _path$x;
822
+ function _extends$I() { _extends$I = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$I.apply(this, arguments); }
823
823
  var SvgUgSquare = function SvgUgSquare(props) {
824
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$O({
824
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$I({
825
825
  width: 24,
826
826
  height: 24,
827
827
  viewBox: "0 0 24 24",
828
828
  fill: "none",
829
829
  xmlns: "http://www.w3.org/2000/svg"
830
- }, props), _path$C || (_path$C = /*#__PURE__*/React__namespace.createElement("path", {
830
+ }, props), _path$x || (_path$x = /*#__PURE__*/React__namespace.createElement("path", {
831
831
  d: "M19 3H5C3.9 3 3 3.9 3 5V19C3 20.1 3.9 21 5 21H19C20.1 21 21 20.1 21 19V5C21 3.9 20.1 3 19 3ZM18 19H6C5.45 19 5 18.55 5 18V6C5 5.45 5.45 5 6 5H18C18.55 5 19 5.45 19 6V18C19 18.55 18.55 19 18 19Z",
832
832
  fill: "#E80C7A"
833
833
  })));
834
834
  };
835
835
 
836
- var _path$B;
837
- function _extends$N() { _extends$N = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$N.apply(this, arguments); }
836
+ var _path$w;
837
+ function _extends$H() { _extends$H = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$H.apply(this, arguments); }
838
838
  var SvgUgCircle = function SvgUgCircle(props) {
839
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$N({
839
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$H({
840
840
  width: 24,
841
841
  height: 24,
842
842
  viewBox: "0 0 24 24",
843
843
  fill: "none",
844
844
  xmlns: "http://www.w3.org/2000/svg"
845
- }, props), _path$B || (_path$B = /*#__PURE__*/React__namespace.createElement("path", {
845
+ }, props), _path$w || (_path$w = /*#__PURE__*/React__namespace.createElement("path", {
846
846
  d: "M12 2C6.47 2 2 6.47 2 12C2 17.53 6.47 22 12 22C17.53 22 22 17.53 22 12C22 6.47 17.53 2 12 2ZM12 20C7.58 20 4 16.42 4 12C4 7.58 7.58 4 12 4C16.42 4 20 7.58 20 12C20 16.42 16.42 20 12 20Z",
847
847
  fill: "#FFCD1A"
848
848
  })));
849
849
  };
850
850
 
851
- var _path$A;
852
- function _extends$M() { _extends$M = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$M.apply(this, arguments); }
851
+ var _path$v;
852
+ function _extends$G() { _extends$G = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$G.apply(this, arguments); }
853
853
  var SvgUgTriangle = function SvgUgTriangle(props) {
854
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$M({
854
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$G({
855
855
  width: 24,
856
856
  height: 24,
857
857
  viewBox: "0 0 24 24",
858
858
  fill: "none",
859
859
  xmlns: "http://www.w3.org/2000/svg"
860
- }, props), _path$A || (_path$A = /*#__PURE__*/React__namespace.createElement("path", {
860
+ }, props), _path$v || (_path$v = /*#__PURE__*/React__namespace.createElement("path", {
861
861
  d: "M11.9993 7.32625L18.3893 17.5563H5.60929L11.9993 7.32625ZM11.1493 4.91625L2.94929 18.0262C2.53929 18.6962 3.01929 19.5563 3.79929 19.5563H20.1993C20.9893 19.5563 21.4593 18.6962 21.0493 18.0262L12.8493 4.91625C12.4593 4.28625 11.5393 4.28625 11.1493 4.91625Z",
862
862
  fill: "#7B0DFF"
863
863
  })));
864
864
  };
865
865
 
866
- var _rect$4, _path$z, _path2$b, _path3$4;
867
- function _extends$L() { _extends$L = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$L.apply(this, arguments); }
866
+ var _rect$4, _path$u, _path2$b, _path3$4;
867
+ function _extends$F() { _extends$F = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$F.apply(this, arguments); }
868
868
  var SvgCampaignCompleted = function SvgCampaignCompleted(props) {
869
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$L({
869
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$F({
870
870
  width: 24,
871
871
  height: 24,
872
872
  viewBox: "0 0 24 24",
@@ -877,7 +877,7 @@ var SvgCampaignCompleted = function SvgCampaignCompleted(props) {
877
877
  height: 24,
878
878
  rx: 12,
879
879
  fill: "#F6F6F8"
880
- })), _path$z || (_path$z = /*#__PURE__*/React__namespace.createElement("path", {
880
+ })), _path$u || (_path$u = /*#__PURE__*/React__namespace.createElement("path", {
881
881
  d: "M20.6953 5.73905C21.0148 5.41953 21.0148 4.90149 20.6953 4.58197C20.3758 4.26245 19.8577 4.26245 19.5382 4.58197L11.88 12.2402L10.0849 9.95981C9.80539 9.60476 9.29098 9.54352 8.93593 9.82303C8.58088 10.1025 8.51963 10.6169 8.79914 10.972L11.1642 13.9763C11.3089 14.16 11.5252 14.2731 11.7586 14.2869C11.9921 14.3008 12.2203 14.2141 12.3856 14.0487L20.6953 5.73905Z",
882
882
  fill: "#50BF95"
883
883
  })), _path2$b || (_path2$b = /*#__PURE__*/React__namespace.createElement("path", {
@@ -889,10 +889,10 @@ var SvgCampaignCompleted = function SvgCampaignCompleted(props) {
889
889
  })));
890
890
  };
891
891
 
892
- var _rect$3, _path$y, _path2$a;
893
- function _extends$K() { _extends$K = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$K.apply(this, arguments); }
892
+ var _rect$3, _path$t, _path2$a;
893
+ function _extends$E() { _extends$E = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$E.apply(this, arguments); }
894
894
  var SvgCampaignLocked = function SvgCampaignLocked(props) {
895
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$K({
895
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$E({
896
896
  width: 24,
897
897
  height: 24,
898
898
  viewBox: "0 0 24 24",
@@ -903,7 +903,7 @@ var SvgCampaignLocked = function SvgCampaignLocked(props) {
903
903
  height: 24,
904
904
  rx: 12,
905
905
  fill: "#F6F6F8"
906
- })), _path$y || (_path$y = /*#__PURE__*/React__namespace.createElement("path", {
906
+ })), _path$t || (_path$t = /*#__PURE__*/React__namespace.createElement("path", {
907
907
  fillRule: "evenodd",
908
908
  clipRule: "evenodd",
909
909
  d: "M13.55 19.0875C14.25 19.7875 15.1063 20.1375 16.1188 20.1375C17.1313 20.1375 17.9875 19.7875 18.6875 19.0875C19.3875 18.3875 19.7375 17.5312 19.7375 16.5187C19.7375 15.5062 19.3875 14.65 18.6875 13.95C17.9875 13.25 17.1313 12.9 16.1188 12.9C15.1063 12.9 14.25 13.25 13.55 13.95C12.85 14.65 12.5 15.5062 12.5 16.5187C12.5 17.5312 12.85 18.3875 13.55 19.0875ZM17.5062 18.2812C17.4187 18.2812 17.3375 18.25 17.2625 18.1875L15.7438 16.7812C15.6813 16.6687 15.65 16.6 15.65 16.575V14.55C15.65 14.4375 15.6875 14.3437 15.7625 14.2687C15.8375 14.1937 15.9313 14.1562 16.0438 14.1562C16.1563 14.1562 16.25 14.1937 16.325 14.2687C16.4 14.3437 16.4375 14.4375 16.4375 14.55V16.4813L17.7313 17.6625C17.8063 17.725 17.8469 17.8062 17.8531 17.9062C17.8594 18.0063 17.825 18.0938 17.75 18.1688C17.675 18.2438 17.5937 18.2812 17.5062 18.2812Z",
@@ -916,10 +916,10 @@ var SvgCampaignLocked = function SvgCampaignLocked(props) {
916
916
  })));
917
917
  };
918
918
 
919
- var _rect$2, _path$x, _path2$9;
920
- function _extends$J() { _extends$J = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$J.apply(this, arguments); }
919
+ var _rect$2, _path$s, _path2$9;
920
+ function _extends$D() { _extends$D = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$D.apply(this, arguments); }
921
921
  var SvgCampaignIncoming = function SvgCampaignIncoming(props) {
922
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$J({
922
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$D({
923
923
  width: 24,
924
924
  height: 24,
925
925
  viewBox: "0 0 24 24",
@@ -930,7 +930,7 @@ var SvgCampaignIncoming = function SvgCampaignIncoming(props) {
930
930
  height: 24,
931
931
  rx: 12,
932
932
  fill: "#F6F6F8"
933
- })), _path$x || (_path$x = /*#__PURE__*/React__namespace.createElement("path", {
933
+ })), _path$s || (_path$s = /*#__PURE__*/React__namespace.createElement("path", {
934
934
  d: "M11.2266 13.0313H14.997M11.2266 9.26075V13.0313V9.26075ZM11.2266 13.0313L20.121 5.03906L11.2266 13.0313Z",
935
935
  stroke: "#024780",
936
936
  strokeWidth: 1.5,
@@ -945,10 +945,10 @@ var SvgCampaignIncoming = function SvgCampaignIncoming(props) {
945
945
  })));
946
946
  };
947
947
 
948
- var _rect$1, _path$w, _path2$8, _path3$3, _path4$1, _path5$1, _path6$1, _path7$1, _path8$1, _path9$1, _path10$1;
949
- function _extends$I() { _extends$I = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$I.apply(this, arguments); }
948
+ var _rect$1, _path$r, _path2$8, _path3$3, _path4$1, _path5$1, _path6$1, _path7$1, _path8$1, _path9$1, _path10$1;
949
+ function _extends$C() { _extends$C = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$C.apply(this, arguments); }
950
950
  var SvgCampaignProgress = function SvgCampaignProgress(props) {
951
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$I({
951
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$C({
952
952
  width: 24,
953
953
  height: 24,
954
954
  viewBox: "0 0 24 24",
@@ -959,7 +959,7 @@ var SvgCampaignProgress = function SvgCampaignProgress(props) {
959
959
  height: 24,
960
960
  rx: 12,
961
961
  fill: "#F6F6F8"
962
- })), _path$w || (_path$w = /*#__PURE__*/React__namespace.createElement("path", {
962
+ })), _path$r || (_path$r = /*#__PURE__*/React__namespace.createElement("path", {
963
963
  d: "M13.059 16.7647C13.059 16.1799 12.585 15.7059 12.0002 15.7059C11.4154 15.7059 10.9414 16.1799 10.9414 16.7647V19.9412C10.9414 20.5259 11.4154 21 12.0002 21C12.585 21 13.059 20.5259 13.059 19.9412V16.7647Z",
964
964
  fill: "#D1820A"
965
965
  })), _path2$8 || (_path2$8 = /*#__PURE__*/React__namespace.createElement("path", {
@@ -992,22 +992,22 @@ var SvgCampaignProgress = function SvgCampaignProgress(props) {
992
992
  })));
993
993
  };
994
994
 
995
- var _g$c, _path$v, _path2$7, _path3$2, _path4, _path5, _path6, _path7, _path8, _path9, _path10, _path11;
996
- function _extends$H() { _extends$H = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$H.apply(this, arguments); }
995
+ var _g$b, _path$q, _path2$7, _path3$2, _path4, _path5, _path6, _path7, _path8, _path9, _path10, _path11;
996
+ function _extends$B() { _extends$B = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$B.apply(this, arguments); }
997
997
  var SvgCampaignExperiential = function SvgCampaignExperiential(props) {
998
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$H({
998
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$B({
999
999
  width: 24,
1000
1000
  height: 24,
1001
1001
  viewBox: "0 0 24 24",
1002
1002
  fill: "none",
1003
1003
  xmlns: "http://www.w3.org/2000/svg"
1004
- }, props), _g$c || (_g$c = /*#__PURE__*/React__namespace.createElement("g", {
1004
+ }, props), _g$b || (_g$b = /*#__PURE__*/React__namespace.createElement("g", {
1005
1005
  opacity: 0.3
1006
1006
  }, /*#__PURE__*/React__namespace.createElement("path", {
1007
1007
  opacity: 0.3,
1008
1008
  d: "M12 24C18.6274 24 24 18.6274 24 12C24 5.37258 18.6274 0 12 0C5.37258 0 0 5.37258 0 12C0 18.6274 5.37258 24 12 24Z",
1009
1009
  fill: "#50BF95"
1010
- }))), _path$v || (_path$v = /*#__PURE__*/React__namespace.createElement("path", {
1010
+ }))), _path$q || (_path$q = /*#__PURE__*/React__namespace.createElement("path", {
1011
1011
  d: "M12.487 3.19652C8.68003 3.19652 5.59895 6.27761 5.59895 10.0846C5.59895 10.2597 5.59895 10.4348 5.62438 10.5855C5.29857 11.1863 4.82307 12.013 4.24678 12.514C3.82117 12.8897 3.92096 13.2908 3.97085 13.4405C4.09609 13.7663 4.44635 14.0413 5.02265 14.2418C5.22322 14.3172 5.44825 14.3671 5.64883 14.417L5.67427 16.8464C5.67427 17.7984 6.47559 18.6251 7.45304 18.6251L8.93044 18.1496L9.08111 19.0263C9.18091 19.6026 9.68185 20.0282 10.2836 20.0282C10.3589 20.0282 10.4343 20.0282 10.5086 20.0028L15.1424 19.177C15.8185 19.0517 16.2441 18.4256 16.1443 17.7495L15.8185 16.1214C17.9974 14.9189 19.375 12.5892 19.375 10.0845C19.375 6.30279 16.2696 3.19641 12.4869 3.19641L12.487 3.19652Z",
1012
1012
  fill: "#2B8473",
1013
1013
  stroke: "#2B8473"
@@ -1064,22 +1064,22 @@ var SvgCampaignExperiential = function SvgCampaignExperiential(props) {
1064
1064
  })));
1065
1065
  };
1066
1066
 
1067
- var _g$b, _path$u;
1068
- function _extends$G() { _extends$G = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$G.apply(this, arguments); }
1067
+ var _g$a, _path$p;
1068
+ function _extends$A() { _extends$A = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$A.apply(this, arguments); }
1069
1069
  var SvgCampaignFunctional = function SvgCampaignFunctional(props) {
1070
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$G({
1070
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$A({
1071
1071
  width: 24,
1072
1072
  height: 24,
1073
1073
  viewBox: "0 0 24 24",
1074
1074
  fill: "none",
1075
1075
  xmlns: "http://www.w3.org/2000/svg"
1076
- }, props), _g$b || (_g$b = /*#__PURE__*/React__namespace.createElement("g", {
1076
+ }, props), _g$a || (_g$a = /*#__PURE__*/React__namespace.createElement("g", {
1077
1077
  opacity: 0.3
1078
1078
  }, /*#__PURE__*/React__namespace.createElement("path", {
1079
1079
  opacity: 0.3,
1080
1080
  d: "M12 24C18.6274 24 24 18.6274 24 12C24 5.37258 18.6274 0 12 0C5.37258 0 0 5.37258 0 12C0 18.6274 5.37258 24 12 24Z",
1081
1081
  fill: "#003A57"
1082
- }))), _path$u || (_path$u = /*#__PURE__*/React__namespace.createElement("path", {
1082
+ }))), _path$p || (_path$p = /*#__PURE__*/React__namespace.createElement("path", {
1083
1083
  d: "M17.9983 7.16705C17.5188 6.58566 17.1422 6.73039 17.1422 6.73039C17.1422 6.73039 16.406 7.02453 16.0401 7.16303C15.6742 7.30153 15.2408 7.17357 15.2408 7.17357L14.7579 6.8851C14.7579 6.8851 14.4296 6.56554 14.3656 6.18067C14.3123 5.78958 14.1888 5.00269 14.1888 5.00269C14.1888 5.00269 14.1356 4.61159 13.3938 4.47257C12.652 4.33356 12.4678 4.68715 12.4678 4.68715C12.4678 4.68715 12.0932 5.38344 11.9091 5.73703C11.7249 6.09062 11.3114 6.27118 11.3114 6.27118L10.7639 6.36908C10.7639 6.36908 10.3144 6.33771 10.0176 6.07271L9.12712 5.27769C9.12712 5.27769 8.8303 5.01268 8.18313 5.38632C7.53595 5.75997 7.61705 6.14953 7.61705 6.14953L7.86033 7.3182C7.94143 7.70776 7.74381 8.11275 7.74381 8.11275L7.38528 8.53794C7.38528 8.53794 7.02217 8.80577 6.62387 8.78845C6.22557 8.77114 5.43527 8.7474 5.43527 8.7474C5.43527 8.7474 5.03697 8.73009 4.78646 9.44201C4.53595 10.1539 4.84804 10.3956 4.84804 10.3956C4.84804 10.3956 5.46774 10.896 5.77983 11.1376C6.09192 11.3793 6.19373 11.8296 6.19373 11.8296L6.20207 12.3921C6.20207 12.3921 6.09618 12.8314 5.79331 13.079C5.49043 13.3266 4.86759 13.8171 4.86759 13.8171C4.86759 13.8171 4.56471 14.0647 4.81769 14.7769C5.08144 15.4828 5.46713 15.4783 5.46713 15.4783C5.46713 15.4783 6.26012 15.4569 6.64582 15.4524C7.03152 15.4479 7.40116 15.7145 7.40116 15.7145L7.76458 16.1447C7.76458 16.1447 7.96976 16.5499 7.89441 16.9425C7.81907 17.3351 7.66208 18.1094 7.66208 18.1094C7.66208 18.1094 7.58674 18.502 8.23785 18.8824C8.88895 19.2629 9.18553 19.0044 9.18553 19.0044C9.18553 19.0044 9.7724 18.4765 10.069 18.218C10.3655 17.9595 10.8115 17.9347 10.8115 17.9347L11.3609 18.0394C11.3609 18.0394 11.77 18.225 11.9608 18.5803C12.1516 18.9356 12.5268 19.6354 12.5268 19.6354C12.5268 19.6354 12.7176 19.9907 13.4583 19.8539C14.1946 19.7343 14.2529 19.337 14.2529 19.337C14.2529 19.337 14.3586 18.5487 14.4232 18.1623C14.4814 17.765 14.8086 17.4598 14.8086 17.4598L15.2939 17.1796C15.2939 17.1796 15.7281 17.0598 16.095 17.1971C16.4682 17.3453 17.1975 17.637 17.1975 17.637C17.1975 17.637 17.5707 17.7851 18.0424 17.2073C18.5142 16.6295 18.3189 16.2913 18.3189 16.2913C18.3189 16.2913 17.9006 15.6164 17.6882 15.2736C17.4759 14.9307 17.5197 14.4836 17.5197 14.4836L17.7038 13.9555C17.7038 13.9555 17.9482 13.5816 18.3203 13.454C18.6925 13.3264 19.4431 13.0822 19.4431 13.0822C19.4431 13.0822 19.8153 12.9546 19.8113 12.2005C19.8074 11.4464 19.4297 11.3153 19.4297 11.3153C19.4297 11.3153 18.6807 11.0641 18.303 10.9331C17.9253 10.802 17.677 10.4217 17.677 10.4217L17.4861 9.8919C17.4861 9.8919 17.4293 9.4447 17.6368 9.1067C17.8443 8.7687 18.2486 8.09891 18.2486 8.09891C18.2486 8.09891 18.4778 7.74844 17.9983 7.16707L17.9983 7.16705ZM9.33902 8.38466L10.6176 10.5992C10.0433 11.149 9.82793 11.9715 10.0567 12.7413L7.86713 14.0054C6.98868 12.0106 7.60355 9.66286 9.33905 8.38457L9.33902 8.38466ZM13.9748 16.414C11.9998 17.2778 9.65918 16.6363 8.37099 14.8783L10.5605 13.6141C11.1128 14.1971 11.9329 14.4219 12.6961 14.1994L13.9748 16.414ZM12.6552 13.132C12.1159 13.4434 11.4325 13.2561 11.1176 12.7107C10.8027 12.1652 10.9822 11.4797 11.5215 11.1684C12.0608 10.857 12.7441 11.0443 13.0591 11.5897C13.374 12.1352 13.1945 12.8207 12.6552 13.132ZM14.8376 15.9158L13.5591 13.7012C14.1333 13.1515 14.3487 12.3289 14.12 11.5591L16.3095 10.295C17.188 12.2898 16.5731 14.6376 14.8376 15.9159L14.8376 15.9158ZM13.6161 10.6863C13.0638 10.1034 12.2437 9.87862 11.4805 10.1011L10.2019 7.88652C12.1769 7.02266 14.5112 7.65314 15.8057 9.42223L13.6161 10.6863Z",
1084
1084
  fill: "#003A57"
1085
1085
  })));
@@ -1941,16 +1941,16 @@ const WaffleChart = ({ height, width, data, total, tooltip, }) => {
1941
1941
  } }) })));
1942
1942
  };
1943
1943
 
1944
- var _g$a, _defs$7;
1945
- function _extends$F() { _extends$F = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$F.apply(this, arguments); }
1944
+ var _g$9, _defs$4;
1945
+ function _extends$z() { _extends$z = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$z.apply(this, arguments); }
1946
1946
  var SvgSentiment1 = function SvgSentiment1(props) {
1947
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$F({
1947
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$z({
1948
1948
  width: 27,
1949
1949
  height: 26,
1950
1950
  viewBox: "0 0 27 26",
1951
1951
  fill: "none",
1952
1952
  xmlns: "http://www.w3.org/2000/svg"
1953
- }, props), _g$a || (_g$a = /*#__PURE__*/React__namespace.createElement("g", {
1953
+ }, props), _g$9 || (_g$9 = /*#__PURE__*/React__namespace.createElement("g", {
1954
1954
  clipPath: "url(#clip0_21_19131)"
1955
1955
  }, /*#__PURE__*/React__namespace.createElement("path", {
1956
1956
  d: "M26.5525 13C26.5525 20.1796 20.6084 26 13.2762 26C5.94481 26 0 20.1796 0 13C0 5.82111 5.94481 0 13.2762 0C20.6084 0 26.5525 5.82111 26.5525 13Z",
@@ -1958,7 +1958,7 @@ var SvgSentiment1 = function SvgSentiment1(props) {
1958
1958
  }), /*#__PURE__*/React__namespace.createElement("path", {
1959
1959
  d: "M18.7975 21.5782C18.7643 21.4489 17.9361 18.4155 13.2768 18.4155C8.61687 18.4155 7.78931 21.4489 7.75612 21.5782C7.73674 21.6544 7.74333 21.7347 7.77489 21.807C7.80644 21.8792 7.86124 21.9393 7.93093 21.9783C8.001 22.0168 8.08189 22.0322 8.1616 22.0222C8.24131 22.0121 8.3156 21.9773 8.37347 21.9227C8.38748 21.9089 9.81468 20.5822 13.2768 20.5822C16.739 20.5822 18.1669 21.9089 18.1802 21.9219C18.2373 21.9772 18.3112 22.0128 18.3907 22.0233C18.4703 22.0339 18.5512 22.0188 18.6213 21.9804C18.6916 21.9415 18.7469 21.8811 18.7787 21.8084C18.8106 21.7358 18.8172 21.6549 18.7975 21.5782ZM11.5856 12.4883C9.18479 10.1374 5.32657 10.11 5.16357 10.11C4.97366 10.1182 4.7943 10.1978 4.66285 10.3323C4.5314 10.4668 4.45798 10.6457 4.45789 10.8319C4.45779 11.018 4.53102 11.197 4.66234 11.3316C4.79365 11.4662 4.97293 11.546 5.16283 11.5544C5.18422 11.5544 6.58265 11.5703 8.10057 12.0867C7.66319 12.5489 7.37628 13.2668 7.37628 14.0822C7.37628 15.479 8.20162 16.61 9.2202 16.61C10.2388 16.61 11.0641 15.479 11.0641 14.0822C11.0641 13.9565 11.0501 13.8367 11.0368 13.716C11.0464 13.716 11.0553 13.7211 11.0641 13.7211C11.2101 13.7214 11.3529 13.6792 11.4744 13.5999C11.5959 13.5206 11.6906 13.4078 11.7465 13.2757C11.8024 13.1436 11.8169 12.9982 11.7883 12.858C11.7596 12.7178 11.6891 12.5891 11.5856 12.4883ZM21.3901 10.11C21.2271 10.11 17.3696 10.1374 14.9681 12.4883C14.8646 12.5891 14.794 12.7178 14.7654 12.858C14.7367 12.9982 14.7513 13.1436 14.8072 13.2757C14.863 13.4078 14.9577 13.5206 15.0792 13.5999C15.2007 13.6792 15.3435 13.7214 15.4895 13.7211C15.4991 13.7211 15.5072 13.716 15.5161 13.716C15.5043 13.8367 15.4895 13.9565 15.4895 14.0822C15.4895 15.479 16.3149 16.61 17.3335 16.61C18.352 16.61 19.1774 15.479 19.1774 14.0822C19.1774 13.2668 18.8905 12.5489 18.4531 12.0867C19.4008 11.77 20.3908 11.5907 21.3916 11.5544C21.4884 11.5543 21.5843 11.5356 21.6738 11.4992C21.7632 11.4628 21.8445 11.4095 21.9129 11.3424C21.9813 11.2753 22.0356 11.1956 22.0725 11.1079C22.1095 11.0203 22.1285 10.9263 22.1284 10.8315C22.1283 10.7366 22.1091 10.6427 22.072 10.5552C22.0348 10.4676 21.9804 10.388 21.9118 10.321C21.8433 10.254 21.7619 10.2009 21.6724 10.1647C21.5829 10.1285 21.4869 10.1099 21.3901 10.11Z",
1960
1960
  fill: "#2F3941"
1961
- }))), _defs$7 || (_defs$7 = /*#__PURE__*/React__namespace.createElement("defs", null, /*#__PURE__*/React__namespace.createElement("clipPath", {
1961
+ }))), _defs$4 || (_defs$4 = /*#__PURE__*/React__namespace.createElement("defs", null, /*#__PURE__*/React__namespace.createElement("clipPath", {
1962
1962
  id: "clip0_21_19131"
1963
1963
  }, /*#__PURE__*/React__namespace.createElement("rect", {
1964
1964
  width: 26.5525,
@@ -1967,16 +1967,16 @@ var SvgSentiment1 = function SvgSentiment1(props) {
1967
1967
  })))));
1968
1968
  };
1969
1969
 
1970
- var _g$9, _defs$6;
1971
- function _extends$E() { _extends$E = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$E.apply(this, arguments); }
1970
+ var _g$8, _defs$3;
1971
+ function _extends$y() { _extends$y = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$y.apply(this, arguments); }
1972
1972
  var SvgSentiment2 = function SvgSentiment2(props) {
1973
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$E({
1973
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$y({
1974
1974
  width: 27,
1975
1975
  height: 26,
1976
1976
  viewBox: "0 0 27 26",
1977
1977
  fill: "none",
1978
1978
  xmlns: "http://www.w3.org/2000/svg"
1979
- }, props), _g$9 || (_g$9 = /*#__PURE__*/React__namespace.createElement("g", {
1979
+ }, props), _g$8 || (_g$8 = /*#__PURE__*/React__namespace.createElement("g", {
1980
1980
  clipPath: "url(#clip0_21_19130)"
1981
1981
  }, /*#__PURE__*/React__namespace.createElement("path", {
1982
1982
  d: "M26.5525 13C26.5525 20.1796 20.6084 26 13.2762 26C5.94481 26 0 20.1796 0 13C0 5.82111 5.94481 0 13.2762 0C20.6084 0 26.5525 5.82111 26.5525 13Z",
@@ -1984,7 +1984,7 @@ var SvgSentiment2 = function SvgSentiment2(props) {
1984
1984
  }), /*#__PURE__*/React__namespace.createElement("path", {
1985
1985
  d: "M18.7975 21.5782C18.7643 21.4489 17.9361 18.4155 13.2768 18.4155C8.61687 18.4155 7.78932 21.4489 7.75612 21.5782C7.73674 21.6544 7.74333 21.7347 7.77489 21.807C7.80644 21.8792 7.86124 21.9393 7.93093 21.9783C8.001 22.0168 8.08189 22.0322 8.1616 22.0222C8.24131 22.0121 8.3156 21.9773 8.37347 21.9227C8.38748 21.9089 9.81468 20.5822 13.2768 20.5822C16.739 20.5822 18.1669 21.9089 18.1802 21.9219C18.2373 21.9772 18.3112 22.0128 18.3907 22.0233C18.4703 22.0339 18.5512 22.0188 18.6213 21.9804C18.6916 21.9415 18.7469 21.8811 18.7787 21.8084C18.8106 21.7358 18.8172 21.6549 18.7975 21.5782V21.5782ZM11.5856 12.4883C9.18479 10.1374 5.32657 10.11 5.16357 10.11C4.97366 10.1182 4.7943 10.1978 4.66285 10.3323C4.5314 10.4668 4.45798 10.6457 4.45789 10.8319C4.45779 11.018 4.53102 11.197 4.66234 11.3316C4.79365 11.4662 4.97293 11.546 5.16283 11.5544C5.18422 11.5544 6.58265 11.5703 8.10057 12.0867C7.66319 12.5489 7.37628 13.2668 7.37628 14.0822C7.37628 15.479 8.20162 16.61 9.2202 16.61C10.2388 16.61 11.0641 15.479 11.0641 14.0822C11.0641 13.9565 11.0501 13.8367 11.0368 13.716C11.0464 13.716 11.0553 13.7211 11.0641 13.7211C11.2101 13.7214 11.3529 13.6792 11.4744 13.5999C11.5959 13.5206 11.6906 13.4078 11.7465 13.2757C11.8024 13.1436 11.8169 12.9982 11.7883 12.858C11.7596 12.7178 11.6891 12.5891 11.5856 12.4883V12.4883ZM21.3901 10.11C21.2271 10.11 17.3696 10.1374 14.9681 12.4883C14.8646 12.5891 14.794 12.7178 14.7654 12.858C14.7367 12.9982 14.7513 13.1436 14.8072 13.2757C14.863 13.4078 14.9577 13.5206 15.0792 13.5999C15.2007 13.6792 15.3435 13.7214 15.4895 13.7211C15.4991 13.7211 15.5072 13.716 15.5161 13.716C15.5043 13.8367 15.4895 13.9565 15.4895 14.0822C15.4895 15.479 16.3149 16.61 17.3335 16.61C18.352 16.61 19.1774 15.479 19.1774 14.0822C19.1774 13.2668 18.8905 12.5489 18.4531 12.0867C19.4008 11.77 20.3908 11.5907 21.3916 11.5544C21.4884 11.5543 21.5843 11.5356 21.6738 11.4992C21.7632 11.4628 21.8445 11.4095 21.9129 11.3424C21.9813 11.2753 22.0356 11.1956 22.0725 11.1079C22.1095 11.0203 22.1285 10.9263 22.1284 10.8315C22.1283 10.7366 22.1091 10.6427 22.072 10.5552C22.0348 10.4676 21.9804 10.388 21.9118 10.321C21.8433 10.254 21.7619 10.2009 21.6724 10.1647C21.5829 10.1285 21.4869 10.1099 21.3901 10.11V10.11Z",
1986
1986
  fill: "#2F3941"
1987
- }))), _defs$6 || (_defs$6 = /*#__PURE__*/React__namespace.createElement("defs", null, /*#__PURE__*/React__namespace.createElement("clipPath", {
1987
+ }))), _defs$3 || (_defs$3 = /*#__PURE__*/React__namespace.createElement("defs", null, /*#__PURE__*/React__namespace.createElement("clipPath", {
1988
1988
  id: "clip0_21_19130"
1989
1989
  }, /*#__PURE__*/React__namespace.createElement("rect", {
1990
1990
  width: 26.5525,
@@ -1993,16 +1993,16 @@ var SvgSentiment2 = function SvgSentiment2(props) {
1993
1993
  })))));
1994
1994
  };
1995
1995
 
1996
- var _g$8, _defs$5;
1997
- function _extends$D() { _extends$D = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$D.apply(this, arguments); }
1996
+ var _g$7, _defs$2;
1997
+ function _extends$x() { _extends$x = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$x.apply(this, arguments); }
1998
1998
  var SvgSentiment3 = function SvgSentiment3(props) {
1999
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$D({
1999
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$x({
2000
2000
  width: 27,
2001
2001
  height: 26,
2002
2002
  viewBox: "0 0 27 26",
2003
2003
  fill: "none",
2004
2004
  xmlns: "http://www.w3.org/2000/svg"
2005
- }, props), _g$8 || (_g$8 = /*#__PURE__*/React__namespace.createElement("g", {
2005
+ }, props), _g$7 || (_g$7 = /*#__PURE__*/React__namespace.createElement("g", {
2006
2006
  clipPath: "url(#clip0_21_19129)"
2007
2007
  }, /*#__PURE__*/React__namespace.createElement("path", {
2008
2008
  d: "M26.5525 13C26.5525 20.1796 20.6084 26 13.2762 26C5.94481 26 0 20.1796 0 13C0 5.82111 5.94481 0 13.2762 0C20.6084 0 26.5525 5.82111 26.5525 13Z",
@@ -2016,7 +2016,7 @@ var SvgSentiment3 = function SvgSentiment3(props) {
2016
2016
  }), /*#__PURE__*/React__namespace.createElement("path", {
2017
2017
  d: "M18.122 18.0978H7.79604C7.60043 18.0978 7.41282 18.0217 7.2745 17.8862C7.13618 17.7508 7.05847 17.5671 7.05847 17.3755C7.05847 17.184 7.13618 17.0003 7.2745 16.8649C7.41282 16.7294 7.60043 16.6533 7.79604 16.6533H18.122C18.3176 16.6533 18.5052 16.7294 18.6435 16.8649C18.7819 17.0003 18.8596 17.184 18.8596 17.3755C18.8596 17.5671 18.7819 17.7508 18.6435 17.8862C18.5052 18.0217 18.3176 18.0978 18.122 18.0978Z",
2018
2018
  fill: "#2F3941"
2019
- }))), _defs$5 || (_defs$5 = /*#__PURE__*/React__namespace.createElement("defs", null, /*#__PURE__*/React__namespace.createElement("clipPath", {
2019
+ }))), _defs$2 || (_defs$2 = /*#__PURE__*/React__namespace.createElement("defs", null, /*#__PURE__*/React__namespace.createElement("clipPath", {
2020
2020
  id: "clip0_21_19129"
2021
2021
  }, /*#__PURE__*/React__namespace.createElement("rect", {
2022
2022
  width: 26.5525,
@@ -2025,16 +2025,16 @@ var SvgSentiment3 = function SvgSentiment3(props) {
2025
2025
  })))));
2026
2026
  };
2027
2027
 
2028
- var _g$7, _defs$4;
2029
- function _extends$C() { _extends$C = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$C.apply(this, arguments); }
2028
+ var _g$6, _defs$1;
2029
+ function _extends$w() { _extends$w = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$w.apply(this, arguments); }
2030
2030
  var SvgSentiment4 = function SvgSentiment4(props) {
2031
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$C({
2031
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$w({
2032
2032
  width: 27,
2033
2033
  height: 26,
2034
2034
  viewBox: "0 0 27 26",
2035
2035
  fill: "none",
2036
2036
  xmlns: "http://www.w3.org/2000/svg"
2037
- }, props), _g$7 || (_g$7 = /*#__PURE__*/React__namespace.createElement("g", {
2037
+ }, props), _g$6 || (_g$6 = /*#__PURE__*/React__namespace.createElement("g", {
2038
2038
  clipPath: "url(#clip0_21_19127)"
2039
2039
  }, /*#__PURE__*/React__namespace.createElement("path", {
2040
2040
  d: "M26.5525 13C26.5525 20.1796 20.6084 26 13.2762 26C5.94481 26 0 20.1796 0 13C0 5.82111 5.94481 0 13.2762 0C20.6084 0 26.5525 5.82111 26.5525 13Z",
@@ -2048,7 +2048,7 @@ var SvgSentiment4 = function SvgSentiment4(props) {
2048
2048
  }), /*#__PURE__*/React__namespace.createElement("path", {
2049
2049
  d: "M17.7015 12.0267C18.7198 12.0267 19.5454 10.895 19.5454 9.49897C19.5454 8.10292 18.7198 6.97119 17.7015 6.97119C16.6831 6.97119 15.8575 8.10292 15.8575 9.49897C15.8575 10.895 16.6831 12.0267 17.7015 12.0267Z",
2050
2050
  fill: "#2F3941"
2051
- }))), _defs$4 || (_defs$4 = /*#__PURE__*/React__namespace.createElement("defs", null, /*#__PURE__*/React__namespace.createElement("clipPath", {
2051
+ }))), _defs$1 || (_defs$1 = /*#__PURE__*/React__namespace.createElement("defs", null, /*#__PURE__*/React__namespace.createElement("clipPath", {
2052
2052
  id: "clip0_21_19127"
2053
2053
  }, /*#__PURE__*/React__namespace.createElement("rect", {
2054
2054
  width: 26.5525,
@@ -2057,16 +2057,16 @@ var SvgSentiment4 = function SvgSentiment4(props) {
2057
2057
  })))));
2058
2058
  };
2059
2059
 
2060
- var _g$6, _defs$3;
2061
- function _extends$B() { _extends$B = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$B.apply(this, arguments); }
2060
+ var _g$5, _defs;
2061
+ function _extends$v() { _extends$v = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$v.apply(this, arguments); }
2062
2062
  var SvgSentiment5 = function SvgSentiment5(props) {
2063
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$B({
2063
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$v({
2064
2064
  width: 26,
2065
2065
  height: 26,
2066
2066
  viewBox: "0 0 26 26",
2067
2067
  fill: "none",
2068
2068
  xmlns: "http://www.w3.org/2000/svg"
2069
- }, props), _g$6 || (_g$6 = /*#__PURE__*/React__namespace.createElement("g", {
2069
+ }, props), _g$5 || (_g$5 = /*#__PURE__*/React__namespace.createElement("g", {
2070
2070
  clipPath: "url(#clip0_21_19125)"
2071
2071
  }, /*#__PURE__*/React__namespace.createElement("path", {
2072
2072
  d: "M25.2051 13C25.2051 20.1796 19.5626 26 12.6025 26C5.64314 26 0 20.1796 0 13C0 5.82111 5.64314 0 12.6025 0C19.5626 0 25.2051 5.82111 25.2051 13Z",
@@ -2080,7 +2080,7 @@ var SvgSentiment5 = function SvgSentiment5(props) {
2080
2080
  }), /*#__PURE__*/React__namespace.createElement("path", {
2081
2081
  d: "M16.8032 12.0267C17.7699 12.0267 18.5536 10.895 18.5536 9.49897C18.5536 8.10292 17.7699 6.97119 16.8032 6.97119C15.8365 6.97119 15.0529 8.10292 15.0529 9.49897C15.0529 10.895 15.8365 12.0267 16.8032 12.0267Z",
2082
2082
  fill: "#2F3941"
2083
- }))), _defs$3 || (_defs$3 = /*#__PURE__*/React__namespace.createElement("defs", null, /*#__PURE__*/React__namespace.createElement("clipPath", {
2083
+ }))), _defs || (_defs = /*#__PURE__*/React__namespace.createElement("defs", null, /*#__PURE__*/React__namespace.createElement("clipPath", {
2084
2084
  id: "clip0_21_19125"
2085
2085
  }, /*#__PURE__*/React__namespace.createElement("rect", {
2086
2086
  width: 25.2051,
@@ -2092,7 +2092,7 @@ var SvgSentiment5 = function SvgSentiment5(props) {
2092
2092
  const Point = styled__default["default"].g `
2093
2093
  transform: translate(-13px, -13px);
2094
2094
  `;
2095
- const ScrollingContainer$1 = styled__default["default"].div `
2095
+ const ScrollingContainer = styled__default["default"].div `
2096
2096
  width: 100%;
2097
2097
  overflow-x: scroll;
2098
2098
  -webkit-overflow-scrolling: touch;
@@ -2167,7 +2167,7 @@ const formatAxisX = (value) => {
2167
2167
  const SentimentChart = ({ data, width, height, margin, tooltip, i18n, }) => {
2168
2168
  var _a;
2169
2169
  const theme = React.useContext(styled.ThemeContext);
2170
- return (jsxRuntime.jsx(ScrollingContainer$1, { children: jsxRuntime.jsx(SentimentContainer, Object.assign({ width: width, height: height, id: "chart-container", style: { overflow: "hidden" } }, { children: jsxRuntime.jsx(line.ResponsiveLine, { theme: Object.assign(Object.assign({}, DEFAULT_CHARTS_THEME), { fontSize: theme.fontSizes.sm, axis: {
2170
+ return (jsxRuntime.jsx(ScrollingContainer, { children: jsxRuntime.jsx(SentimentContainer, Object.assign({ width: width, height: height, id: "chart-container", style: { overflow: "hidden" } }, { children: jsxRuntime.jsx(line.ResponsiveLine, { theme: Object.assign(Object.assign({}, DEFAULT_CHARTS_THEME), { fontSize: theme.fontSizes.sm, axis: {
2171
2171
  legend: {
2172
2172
  text: {
2173
2173
  fill: getColor(theme.colors.primaryHue, 600),
@@ -2763,31 +2763,31 @@ const editorStyle = styled.css `
2763
2763
  }
2764
2764
  `;
2765
2765
 
2766
- var _path$t;
2767
- function _extends$A() { _extends$A = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$A.apply(this, arguments); }
2766
+ var _path$o;
2767
+ function _extends$u() { _extends$u = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$u.apply(this, arguments); }
2768
2768
  var SvgBoldFill = function SvgBoldFill(props) {
2769
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$A({
2769
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$u({
2770
2770
  xmlns: "http://www.w3.org/2000/svg",
2771
2771
  width: 16,
2772
2772
  height: 16,
2773
2773
  focusable: "false",
2774
2774
  viewBox: "0 0 16 16"
2775
- }, props), _path$t || (_path$t = /*#__PURE__*/React__namespace.createElement("path", {
2775
+ }, props), _path$o || (_path$o = /*#__PURE__*/React__namespace.createElement("path", {
2776
2776
  fill: "currentColor",
2777
2777
  d: "M7.5 0C9.952 0 12 2.048 12 4.5a4.483 4.483 0 01-1.27 3.108C12.078 8.39 13 9.855 13 11.5c0 2.452-2.048 4.5-4.5 4.5H4a1 1 0 01-1-1V1a1 1 0 011-1h3.5zM5 14h3.5c1.348 0 2.5-1.152 2.5-2.5S9.848 9 8.5 9H5v5zM7.5 2H5v5h2.5C8.848 7 10 5.848 10 4.5S8.848 2 7.5 2z"
2778
2778
  })));
2779
2779
  };
2780
2780
 
2781
- var _path$s;
2782
- function _extends$z() { _extends$z = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$z.apply(this, arguments); }
2781
+ var _path$n;
2782
+ function _extends$t() { _extends$t = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$t.apply(this, arguments); }
2783
2783
  var SvgItalicFill = function SvgItalicFill(props) {
2784
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$z({
2784
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$t({
2785
2785
  xmlns: "http://www.w3.org/2000/svg",
2786
2786
  width: 16,
2787
2787
  height: 16,
2788
2788
  focusable: "false",
2789
2789
  viewBox: "0 0 16 16"
2790
- }, props), _path$s || (_path$s = /*#__PURE__*/React__namespace.createElement("path", {
2790
+ }, props), _path$n || (_path$n = /*#__PURE__*/React__namespace.createElement("path", {
2791
2791
  fill: "none",
2792
2792
  stroke: "currentColor",
2793
2793
  strokeLinecap: "round",
@@ -2796,16 +2796,16 @@ var SvgItalicFill = function SvgItalicFill(props) {
2796
2796
  })));
2797
2797
  };
2798
2798
 
2799
- var _path$r, _path2$6;
2800
- function _extends$y() { _extends$y = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$y.apply(this, arguments); }
2799
+ var _path$m, _path2$6;
2800
+ function _extends$s() { _extends$s = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$s.apply(this, arguments); }
2801
2801
  var SvgQuoteFill = function SvgQuoteFill(props) {
2802
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$y({
2802
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$s({
2803
2803
  xmlns: "http://www.w3.org/2000/svg",
2804
2804
  width: 16,
2805
2805
  height: 16,
2806
2806
  focusable: "false",
2807
2807
  viewBox: "0 0 16 16"
2808
- }, props), _path$r || (_path$r = /*#__PURE__*/React__namespace.createElement("path", {
2808
+ }, props), _path$m || (_path$m = /*#__PURE__*/React__namespace.createElement("path", {
2809
2809
  fill: "currentColor",
2810
2810
  d: "M7 8H4c-.55 0-1-.45-1-1V4c0-.55.45-1 1-1h3c.55 0 1 .45 1 1v3c0 .55-.45 1-1 1zm6 0h-3c-.55 0-1-.45-1-1V4c0-.55.45-1 1-1h3c.55 0 1 .45 1 1v3c0 .55-.45 1-1 1z"
2811
2811
  })), _path2$6 || (_path2$6 = /*#__PURE__*/React__namespace.createElement("path", {
@@ -2817,16 +2817,16 @@ var SvgQuoteFill = function SvgQuoteFill(props) {
2817
2817
  })));
2818
2818
  };
2819
2819
 
2820
- var _g$5;
2821
- function _extends$x() { _extends$x = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$x.apply(this, arguments); }
2820
+ var _g$4;
2821
+ function _extends$r() { _extends$r = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$r.apply(this, arguments); }
2822
2822
  var SvgH1Fill = function SvgH1Fill(props) {
2823
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$x({
2823
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$r({
2824
2824
  xmlns: "http://www.w3.org/2000/svg",
2825
2825
  width: 16,
2826
2826
  height: 16,
2827
2827
  focusable: "false",
2828
2828
  viewBox: "0 0 16 16"
2829
- }, props), _g$5 || (_g$5 = /*#__PURE__*/React__namespace.createElement("g", {
2829
+ }, props), _g$4 || (_g$4 = /*#__PURE__*/React__namespace.createElement("g", {
2830
2830
  transform: "translate(-464 -332)"
2831
2831
  }, /*#__PURE__*/React__namespace.createElement("rect", {
2832
2832
  width: 16,
@@ -2847,16 +2847,16 @@ var SvgH1Fill = function SvgH1Fill(props) {
2847
2847
  }))));
2848
2848
  };
2849
2849
 
2850
- var _g$4;
2851
- function _extends$w() { _extends$w = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$w.apply(this, arguments); }
2850
+ var _g$3;
2851
+ function _extends$q() { _extends$q = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$q.apply(this, arguments); }
2852
2852
  var SvgH2Fill = function SvgH2Fill(props) {
2853
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$w({
2853
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$q({
2854
2854
  xmlns: "http://www.w3.org/2000/svg",
2855
2855
  width: 16,
2856
2856
  height: 16,
2857
2857
  focusable: "false",
2858
2858
  viewBox: "0 0 16 16"
2859
- }, props), _g$4 || (_g$4 = /*#__PURE__*/React__namespace.createElement("g", {
2859
+ }, props), _g$3 || (_g$3 = /*#__PURE__*/React__namespace.createElement("g", {
2860
2860
  transform: "translate(-464 -332)"
2861
2861
  }, /*#__PURE__*/React__namespace.createElement("rect", {
2862
2862
  width: 16,
@@ -2877,16 +2877,16 @@ var SvgH2Fill = function SvgH2Fill(props) {
2877
2877
  }))));
2878
2878
  };
2879
2879
 
2880
- var _g$3;
2881
- function _extends$v() { _extends$v = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$v.apply(this, arguments); }
2880
+ var _g$2;
2881
+ function _extends$p() { _extends$p = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$p.apply(this, arguments); }
2882
2882
  var SvgH3Fill = function SvgH3Fill(props) {
2883
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$v({
2883
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$p({
2884
2884
  xmlns: "http://www.w3.org/2000/svg",
2885
2885
  width: 16,
2886
2886
  height: 16,
2887
2887
  focusable: "false",
2888
2888
  viewBox: "0 0 16 16"
2889
- }, props), _g$3 || (_g$3 = /*#__PURE__*/React__namespace.createElement("g", {
2889
+ }, props), _g$2 || (_g$2 = /*#__PURE__*/React__namespace.createElement("g", {
2890
2890
  transform: "translate(-464 -332)"
2891
2891
  }, /*#__PURE__*/React__namespace.createElement("rect", {
2892
2892
  width: 16,
@@ -3091,16 +3091,16 @@ const Hint = styled__default["default"](reactForms.Hint) ``;
3091
3091
  **/
3092
3092
  const Input = React.forwardRef((props, ref) => jsxRuntime.jsx(UgInput, Object.assign({ ref: ref }, props)));
3093
3093
 
3094
- var _g$2;
3095
- function _extends$u() { _extends$u = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$u.apply(this, arguments); }
3094
+ var _g$1;
3095
+ function _extends$o() { _extends$o = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$o.apply(this, arguments); }
3096
3096
  var SvgNotesStroke = function SvgNotesStroke(props) {
3097
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$u({
3097
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$o({
3098
3098
  xmlns: "http://www.w3.org/2000/svg",
3099
3099
  width: 16,
3100
3100
  height: 16,
3101
3101
  focusable: "false",
3102
3102
  viewBox: "0 0 16 16"
3103
- }, props), _g$2 || (_g$2 = /*#__PURE__*/React__namespace.createElement("g", {
3103
+ }, props), _g$1 || (_g$1 = /*#__PURE__*/React__namespace.createElement("g", {
3104
3104
  fill: "none",
3105
3105
  stroke: "currentColor"
3106
3106
  }, /*#__PURE__*/React__namespace.createElement("path", {
@@ -3213,16 +3213,16 @@ const UgRadio = styled__default["default"](reactForms.Radio) ``;
3213
3213
  **/
3214
3214
  const Radio = (props) => jsxRuntime.jsx(UgRadio, Object.assign({}, props));
3215
3215
 
3216
- var _path$q;
3217
- function _extends$t() { _extends$t = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$t.apply(this, arguments); }
3216
+ var _path$l;
3217
+ function _extends$n() { _extends$n = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$n.apply(this, arguments); }
3218
3218
  var SvgCheckLg = function SvgCheckLg(props) {
3219
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$t({
3219
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$n({
3220
3220
  width: 16,
3221
3221
  height: 16,
3222
3222
  viewBox: "0 0 16 16",
3223
3223
  fill: "#68737D",
3224
3224
  xmlns: "http://www.w3.org/2000/svg"
3225
- }, props), _path$q || (_path$q = /*#__PURE__*/React__namespace.createElement("path", {
3225
+ }, props), _path$l || (_path$l = /*#__PURE__*/React__namespace.createElement("path", {
3226
3226
  fillRule: "evenodd",
3227
3227
  clipRule: "evenodd",
3228
3228
  d: "M14.6464 2.64645C14.8417 2.45118 15.1583 2.45118 15.3536 2.64645C15.5488 2.84171 15.5488 3.15829 15.3536 3.35355L5.35355 13.3536C5.15829 13.5488 4.84171 13.5488 4.64645 13.3536L0.646447 9.35355C0.451184 9.15829 0.451184 8.84171 0.646447 8.64645C0.841709 8.45118 1.15829 8.45118 1.35355 8.64645L5 12.2929L14.6464 2.64645Z"
@@ -3410,49 +3410,87 @@ const Spinner = (props) => jsxRuntime.jsx(UgSpinner, Object.assign({}, props));
3410
3410
  */
3411
3411
  const Dots = (props) => jsxRuntime.jsx(reactLoaders.Dots, Object.assign({}, props));
3412
3412
 
3413
- const UgBody = styled__default["default"](reactChrome.Body) `
3414
- background-color: ${({ theme }) => theme.palette.white};
3415
- `;
3416
- /**
3417
- * A Body defines the main content of an HTML document which displays on the browser
3418
- */
3419
- const Body$1 = (props) => jsxRuntime.jsx(UgBody, Object.assign({}, props));
3420
-
3421
3413
  /**
3422
- * A Content defines the main content of an HTML document which displays on the browser
3414
+ * Title is a basic component used to display a title. Often used in card headers.
3423
3415
  */
3424
- const Content$1 = (props) => jsxRuntime.jsx(reactChrome.Content, Object.assign({}, props));
3416
+ const Title = (props) => jsxRuntime.jsx(reactNotifications.Title, Object.assign({}, props));
3425
3417
 
3426
- var _path$p;
3427
- function _extends$s() { _extends$s = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$s.apply(this, arguments); }
3428
- var SvgChevronDownStroke = function SvgChevronDownStroke(props) {
3429
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$s({
3418
+ var _path$k;
3419
+ function _extends$m() { _extends$m = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$m.apply(this, arguments); }
3420
+ var SvgChevronLeftStroke = function SvgChevronLeftStroke(props) {
3421
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$m({
3430
3422
  xmlns: "http://www.w3.org/2000/svg",
3431
3423
  width: 16,
3432
3424
  height: 16,
3433
3425
  focusable: "false",
3434
3426
  viewBox: "0 0 16 16"
3435
- }, props), _path$p || (_path$p = /*#__PURE__*/React__namespace.createElement("path", {
3427
+ }, props), _path$k || (_path$k = /*#__PURE__*/React__namespace.createElement("path", {
3436
3428
  fill: "currentColor",
3437
- d: "M12.688 5.61a.5.5 0 01.69.718l-.066.062-5 4a.5.5 0 01-.542.054l-.082-.054-5-4a.5.5 0 01.55-.83l.074.05L8 9.359l4.688-3.75z"
3429
+ d: "M10.39 12.688a.5.5 0 01-.718.69l-.062-.066-4-5a.5.5 0 01-.054-.542l.054-.082 4-5a.5.5 0 01.83.55l-.05.074L6.641 8l3.75 4.688z"
3438
3430
  })));
3439
3431
  };
3440
3432
 
3441
- const UgHeaderItem = styled__default["default"](reactChrome.HeaderItem) `
3442
- ${(props) => props.hasLogo && `border-right: none`};
3443
- font-family: ${({ theme }) => theme.fonts.system};
3444
- `;
3445
- styled__default["default"](reactChrome.HeaderItemWrapper) `
3446
- font-family: ${({ theme }) => theme.fonts.system};
3447
- `;
3448
- const HeaderItem = (props) => jsxRuntime.jsx(UgHeaderItem, Object.assign({}, props));
3433
+ function debounce(callback, wait) {
3434
+ let timer;
3435
+ return () => {
3436
+ if (typeof timer !== "undefined")
3437
+ clearTimeout(timer);
3438
+ timer = setTimeout(() => {
3439
+ timer = undefined;
3440
+ callback();
3441
+ }, wait);
3442
+ };
3443
+ }
3444
+ function useWindowSize() {
3445
+ const [size, setSize] = React.useState({
3446
+ width: window.innerWidth,
3447
+ height: window.innerHeight,
3448
+ });
3449
+ React.useLayoutEffect(() => {
3450
+ const debounceUpdateSize = debounce(function () {
3451
+ setSize({ width: window.innerWidth, height: window.innerHeight });
3452
+ }, 300);
3453
+ window.addEventListener("resize", debounceUpdateSize);
3454
+ debounceUpdateSize();
3455
+ return () => window.removeEventListener("resize", debounceUpdateSize);
3456
+ }, []);
3457
+ return size;
3458
+ }
3449
3459
 
3450
- const UgHeaderItemText = styled__default["default"](reactChrome.HeaderItemText) `
3451
- font-family: ${({ theme }) => theme.fonts.system};
3460
+ const StyledCard = styled__default["default"](ContainerCard) `
3461
+ @media screen and (max-width: ${theme.breakpoints.sm}) {
3462
+ border: 0;
3463
+ }
3452
3464
  `;
3453
- const HeaderItemText = (props) => jsxRuntime.jsx(UgHeaderItemText, Object.assign({}, props));
3454
-
3455
- const HeaderItemIcon = (props) => (jsxRuntime.jsx(reactChrome.HeaderItemIcon, Object.assign({}, props)));
3465
+ /**
3466
+ * Login Form
3467
+ * <hr>
3468
+ * Used for this:
3469
+ - Login user to the application
3470
+ */
3471
+ const LoginForm = (props) => {
3472
+ const { width } = useWindowSize();
3473
+ const breakpointMd = parseInt(theme.breakpoints.md, 10);
3474
+ return (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsxs(StyledCard, Object.assign({}, (width > breakpointMd && { isFloating: true }), props.card, { children: [jsxRuntime.jsx(Title, Object.assign({ style: {
3475
+ textAlign: "center",
3476
+ marginTop: theme.space.sm,
3477
+ marginBottom: theme.space.lg,
3478
+ } }, { children: jsxRuntime.jsx(XL, Object.assign({ style: { color: theme.palette.blue[600] } }, { children: props.title })) })), jsxRuntime.jsx(formik.Formik, Object.assign({}, props, { initialValues: props.initialValues, onSubmit: props.onSubmit, validate: props.validate }, { children: ({ values, status, errors, touched, handleChange, handleSubmit, isSubmitting, }) => {
3479
+ return (jsxRuntime.jsxs(formik.Form, Object.assign({ onSubmit: handleSubmit }, { children: [jsxRuntime.jsxs(Field, { children: [jsxRuntime.jsx(Input, Object.assign({ type: "email", name: "email", placeholder: props.placeholderEmail, onChange: handleChange, value: values.email }, (errors && errors.email
3480
+ ? { validation: "error" }
3481
+ : touched.email
3482
+ ? { validation: "success" }
3483
+ : ""))), errors.email ? (jsxRuntime.jsx(Message, Object.assign({ validation: "error" }, { children: errors.email }))) : ("")] }), jsxRuntime.jsxs(Field, Object.assign({ style: { marginTop: theme.space.md } }, { children: [jsxRuntime.jsx(Input, Object.assign({ type: "password", name: "password", placeholder: props.placeholderPassword, onChange: handleChange, value: values.password }, (errors && errors.password
3484
+ ? { validation: "error" }
3485
+ : touched.password
3486
+ ? { validation: "success" }
3487
+ : ""))), errors.password && (jsxRuntime.jsx(Message, Object.assign({ validation: "error" }, { children: errors.password }))), props.passwordForgotLink && (jsxRuntime.jsx(reactForms.Hint, Object.assign({ style: { textAlign: "right" } }, { children: jsxRuntime.jsx(Anchor, Object.assign({ href: props.passwordForgotLink, style: { color: theme.palette.grey[500] } }, { children: props.passwordForgotLabel || "Forgot Password?" })) })))] })), jsxRuntime.jsx("br", {}), jsxRuntime.jsx(Button, Object.assign({ type: "submit", isStretched: true, disabled: Object.keys(errors).length
3488
+ ? true
3489
+ : isSubmitting
3490
+ ? true
3491
+ : false, isPrimary: true, isAccent: true, style: { marginBottom: theme.space.md } }, { children: props.buttonText })), status && (jsxRuntime.jsx("div", Object.assign({ style: { textAlign: "center" } }, { children: jsxRuntime.jsx(Message, Object.assign({ validation: "error" }, { children: status.message })) })))] })));
3492
+ } }))] })), props.onBackClick && (jsxRuntime.jsxs(Button, Object.assign({ onClick: props.onBackClick, isBasic: true, style: { marginTop: theme.space.md } }, { children: [jsxRuntime.jsx(Button.StartIcon, { children: jsxRuntime.jsx(SvgChevronLeftStroke, {}) }), props.backToLabel || "Back to UNGUESS"] })))] }));
3493
+ };
3456
3494
 
3457
3495
  var img$2 = "data:image/svg+xml,%3c%3fxml version='1.0' encoding='UTF-8'%3f%3e%3c!DOCTYPE svg PUBLIC '-//W3C//DTD SVG 1.1//EN' 'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd' %5b %3c!ENTITY ns_extend 'http://ns.adobe.com/Extensibility/1.0/'%3e %3c!ENTITY ns_ai 'http://ns.adobe.com/AdobeIllustrator/10.0/'%3e %3c!ENTITY ns_graphs 'http://ns.adobe.com/Graphs/1.0/'%3e %3c!ENTITY ns_vars 'http://ns.adobe.com/Variables/1.0/'%3e %3c!ENTITY ns_imrep 'http://ns.adobe.com/ImageReplacement/1.0/'%3e %3c!ENTITY ns_sfw 'http://ns.adobe.com/SaveForWeb/1.0/'%3e %3c!ENTITY ns_custom 'http://ns.adobe.com/GenericCustomNamespace/1.0/'%3e %3c!ENTITY ns_adobe_xpath 'http://ns.adobe.com/XPath/1.0/'%3e%5d%3e%3csvg enable-background='new 0 0 479.42 154.1' version='1.1' viewBox='0 0 479.42 154.1' xml:space='preserve' xmlns='http://www.w3.org/2000/svg'%3e%3cstyle type='text/css'%3e .st0%7bfill:%23003A57%3b%7d .st1%7bfill:%2354C38A%3b%7d .st2%7bfill:%23B2C4CD%3b%7d .st3%7bfill:%23809CAB%3b%7d .st4%7bfill:%23CCEDDC%3b%7d .st5%7bfill:%23CCD8DD%3b%7d .st6%7bfill:%23E5EBEE%3b%7d .st7%7bfill:%23A9E1C5%3b%7d%3c/style%3e%3cswitch%3e %3cforeignObject width='1' height='1' requiredExtensions='http://ns.adobe.com/AdobeIllustrator/10.0/'%3e %3c/foreignObject%3e %3cg%3e %3cpath class='st0' d='m203.46 43.96c1.66 0 3.06 0.82 3.06 2.56 0 0.83-0.48 1.54-1.36 1.88 1.11 0.31 1.64 1.33 1.64 2.18 0 1.94-1.63 2.52-3.35 2.52h-3.99v-9.13h4zm-2.85 3.93h2.91c1.1 0 1.89-0.4 1.89-1.36 0-1.02-0.82-1.54-1.94-1.54h-2.86v2.9zm0 4.13h2.86c0.95 0 2.22-0.25 2.22-1.49-0.01-1.15-1.17-1.62-2.16-1.62h-2.91v3.11z'/%3e %3cpath class='st0' d='M212.75%2c43.96h6.41V45h-5.29v2.86h5.07v1.06h-5.07v3.09h5.5v1.08h-6.62V43.96z'/%3e %3cpath class='st0' d='m235.85 44.78c-1.16 0-2.4 0.46-2.4 1.56 0 0.99 1.13 1.28 2.48 1.5 1.83 0.29 3.62 0.65 3.62 2.71-0.01 2.05-1.97 2.71-3.72 2.71-1.62 0-3.16-0.59-3.86-2.11l0.94-0.55c0.59 1.08 1.81 1.6 2.93 1.6 1.11 0 2.58-0.35 2.58-1.69 0.01-1.13-1.26-1.46-2.63-1.67-1.76-0.27-3.47-0.68-3.47-2.53-0.03-1.9 1.92-2.55 3.49-2.55 1.36 0 2.65 0.27 3.45 1.66l-0.86 0.53c-0.48-0.79-1.54-1.15-2.55-1.17z'/%3e %3cpath class='st0' d='m250.07 50.22h-0.23l-3.31-4.64v7.51h-1.12v-9.13h1.36l3.21 4.69 3.18-4.69h1.36v9.13h-1.12v-7.49l-3.33 4.62z'/%3e %3cpath class='st0' d='m265.37 43.96 4.09 9.13h-1.23l-0.9-2.01h-5.22l-0.89 2.01h-1.22l4.09-9.13h1.28zm-0.64 1.15-2.16 4.93h4.33l-2.17-4.93z'/%3e %3cpath class='st0' d='m278.31 49.8h-2.22v3.29h-1.13v-9.13h4.15c2.06 0 3.09 1.43 3.09 2.92 0.01 1.38-0.74 2.67-2.62 2.83l3.01 3.38h-1.43l-2.85-3.29zm2.75-2.89c0.01-0.91-0.64-1.93-1.96-1.93h-3.01v3.81h2.96c1.37 0 2.01-0.85 2.01-1.88z'/%3e %3cpath class='st0' d='m287.15 44.98v-1.02h7.35v1.02h-3.12v8.11h-1.12v-8.11h-3.11z'/%3e %3cpath class='st0' d='m313.34 43.96v1.08h-5.2v3.18h4.98v1.06h-4.98v3.82h-1.14v-9.14h6.34z'/%3e %3cpath class='st0' d='m322.57 49.8h-2.22v3.29h-1.13v-9.13h4.15c2.06 0 3.09 1.43 3.09 2.92 0.01 1.38-0.74 2.67-2.62 2.83l3.01 3.38h-1.43l-2.85-3.29zm2.76-2.89c0.01-0.91-0.64-1.93-1.96-1.93h-3.01v3.81h2.96c1.37 0 2.01-0.85 2.01-1.88z'/%3e %3cpath class='st0' d='m341.26 48.55c-0.01 2.39-1.5 4.72-4.63 4.72s-4.64-2.32-4.64-4.72c0-2.65 1.77-4.75 4.65-4.75 3.1 0.02 4.64 2.34 4.62 4.75zm-4.61-3.7c-2.32 0-3.52 1.71-3.52 3.7 0 1.85 1.12 3.65 3.52 3.65s3.48-1.85 3.48-3.65c0.01-1.85-1.1-3.68-3.48-3.7z'/%3e %3cpath class='st0' d='m351.84 50.22h-0.23l-3.31-4.64v7.51h-1.12v-9.13h1.36l3.21 4.69 3.18-4.69h1.36v9.13h-1.12v-7.49l-3.33 4.62z'/%3e %3cpath class='st0' d='m368.77 44.98v-1.02h7.35v1.02h-3.12v8.11h-1.12v-8.11h-3.11z'/%3e %3cpath class='st0' d='m387.97 48.97h-5.22v4.12h-1.13v-9.13h1.13v3.95h5.22v-3.95h1.13v9.13h-1.13v-4.12z'/%3e %3cpath class='st0' d='M395.58%2c43.96H402V45h-5.29v2.86h5.07v1.06h-5.07v3.09h5.5v1.08h-6.62V43.96z'/%3e %3cpath class='st0' d='m418.68 44.78c-1.16 0-2.4 0.46-2.4 1.56 0 0.99 1.13 1.28 2.48 1.5 1.83 0.29 3.62 0.65 3.62 2.71-0.01 2.05-1.97 2.71-3.72 2.71-1.62 0-3.15-0.59-3.86-2.11l0.94-0.55c0.59 1.08 1.81 1.6 2.93 1.6 1.11 0 2.58-0.35 2.58-1.69 0.01-1.13-1.26-1.46-2.63-1.67-1.76-0.27-3.47-0.68-3.47-2.53-0.03-1.9 1.92-2.55 3.49-2.55 1.36 0 2.65 0.27 3.46 1.66l-0.86 0.53c-0.49-0.79-1.54-1.15-2.56-1.17z'/%3e %3cpath class='st0' d='m427.25 44.98v-1.02h7.35v1.02h-3.12v8.11h-1.12v-8.11h-3.11z'/%3e %3cpath class='st0' d='m443.63 43.96 4.09 9.13h-1.23l-0.9-2.01h-5.22l-0.89 2.01h-1.24l4.09-9.13h1.3zm-0.64 1.15-2.16 4.93h4.33l-2.17-4.93z'/%3e %3cpath class='st0' d='m456.57 49.8h-2.22v3.29h-1.13v-9.13h4.15c2.06 0 3.09 1.43 3.09 2.92 0.01 1.38-0.74 2.67-2.62 2.83l3.01 3.38h-1.43l-2.85-3.29zm2.75-2.89c0.01-0.91-0.64-1.93-1.96-1.93h-3.01v3.81h2.96c1.37 0 2.01-0.85 2.01-1.88z'/%3e %3cpath class='st0' d='m465.41 44.98v-1.02h7.35v1.02h-3.12v8.11h-1.12v-8.11h-3.11z'/%3e %3cpath class='st0' d='m157.64 115.24v-24.59c0-6.81-3.65-10.72-10.03-10.72-6 0-9.44 3.91-9.44 10.72v24.59h-8.58v-24.59c0-11.51 6.93-18.66 18.08-18.66 11.26 0 18.54 7.32 18.54 18.66v24.59h-8.57z'/%3e %3cpath class='st0' d='m214.63 116.35c-16.55 0-22.44-11.2-22.44-21.67 0-15.87 11.27-22.98 22.44-22.98 5.93 0 11.53 2.3 15.77 6.49l0.34 0.34-5.54 5.67-0.35-0.33c-2.55-2.44-6.57-4.02-10.23-4.02-8.14 0-13.82 6.1-13.82 14.83 0 6.48 3.63 13.4 13.82 13.4 3.51 0 6.11-0.89 8.89-3.07v-6.64h-10.61v-7.97h19.29v17.55l-0.63 0.76c-4.49 5.14-10.03 7.64-16.93 7.64z'/%3e %3cpath class='st0' d='m277.01 115.24c-11.26 0-18.54-7.32-18.54-18.66v-24.59h8.58v24.59c0 6.81 3.65 10.72 10.02 10.72 6 0 9.44-3.91 9.44-10.72v-24.59h8.58v24.59c0 11.51-6.92 18.66-18.08 18.66z'/%3e %3cpolygon class='st0' points='321.07 115.24 321.07 72.25 354.94 72.25 354.94 80.65 329.64 80.65 329.64 90.13 350.81 90.13 350.81 98.24 329.64 98.24 329.64 106.72 354.94 106.72 354.94 115.24'/%3e %3cpath class='st0' d='m397.19 116.06c-9.41 0-15.35-3.37-18.16-10.29l-0.17-0.41 7.25-3.76 0.2 0.5c1.55 3.85 5.66 6.14 10.99 6.14 2.08 0 8.86-0.4 8.86-5.61 0-3.05-2.94-4.85-8.97-5.5-14.45-1.72-16.4-7.43-16.4-12.79 0-8.43 8.14-12.27 16.22-12.33 8.06 0 13.73 2.88 16.41 8.34l0.21 0.43-6.92 3.56-0.23-0.39c-1.25-2.08-4.91-4.29-9.22-4.29-4.89 0-7.93 1.88-7.93 4.92 0 2.99 3.45 4.01 8.63 4.63 8.73 1.08 16.8 3.45 16.8 13.43-0.02 9.89-9.09 13.42-17.57 13.42z'/%3e %3cpath class='st0' d='m457.03 116.25c-9.4 0-15.33-3.36-18.14-10.28l-0.17-0.41 7.25-3.75 0.2 0.5c1.55 3.84 5.65 6.13 10.98 6.13 2.08 0 8.85-0.4 8.85-5.61 0-3.05-2.93-4.85-8.96-5.49-14.44-1.72-16.38-7.42-16.38-12.78 0-8.42 8.14-12.25 16.2-12.32 8.05 0 13.71 2.88 16.39 8.33l0.21 0.43-6.92 3.56-0.23-0.39c-1.25-2.08-4.9-4.29-9.21-4.29-4.89 0-7.93 1.88-7.93 4.91 0 2.99 3.45 4.01 8.62 4.62 8.72 1.07 16.79 3.44 16.79 13.42-0.01 9.9-9.07 13.42-17.55 13.42z'/%3e %3cpath class='st0' d='m94.63 93.63v4.23h-0.03c-0.36 6.13-3.75 9.62-9.43 9.62-6.03 0-9.62-3.49-10.01-9.62h-0.03v-4.23h-8.58v4.23 0.01 0.05c0.49 10.69 7.66 17.52 18.55 17.52 10.79 0 17.63-6.68 18.09-17.52v-4.29h-8.56z'/%3e %3crect class='st1' x='66.55' y='72.02' width='8.6' height='8.6'/%3e %3crect class='st0' x='94.41' y='72.02' width='8.72' height='8.72'/%3e %3crect class='st2' transform='matrix(-1.837e-16 1 -1 -1.837e-16 103.01 7.8599)' x='43.27' y='51.13' width='8.6' height='8.6'/%3e %3crect class='st3' transform='matrix(-1.837e-16 1 -1 -1.837e-16 126.9 6.4839)' x='55.9' y='62.39' width='8.6' height='8.6'/%3e %3crect class='st4' transform='matrix(-1.837e-16 1 -1 -1.837e-16 94.995 31.397)' x='27.5' y='58.89' width='8.6' height='8.6'/%3e %3crect class='st5' transform='matrix(-1.837e-16 1 -1 -1.837e-16 64.365 27.091)' x='14.34' y='41.43' width='8.6' height='8.6'/%3e %3crect class='st6' transform='matrix(-1.837e-16 1 -1 -1.837e-16 138.08 66.268)' x='31.6' y='97.87' width='8.6' height='8.6'/%3e %3crect class='st7' transform='matrix(-1.837e-16 1 -1 -1.837e-16 137.84 35.856)' x='46.69' y='82.55' width='8.6' height='8.6'/%3e %3c/g%3e%3c/switch%3e%3c/svg%3e";
3458
3496
 
@@ -3480,38 +3518,179 @@ const Logo = (props) => {
3480
3518
  }[props.type] })));
3481
3519
  };
3482
3520
 
3483
- var _path$o;
3484
- function _extends$r() { _extends$r = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$r.apply(this, arguments); }
3485
- var SvgMenuStroke = function SvgMenuStroke(props) {
3486
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$r({
3487
- xmlns: "http://www.w3.org/2000/svg",
3521
+ var _path$j;
3522
+ function _extends$l() { _extends$l = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$l.apply(this, arguments); }
3523
+ var SvgPlus = function SvgPlus(props) {
3524
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$l({
3488
3525
  width: 16,
3489
3526
  height: 16,
3490
- focusable: "false",
3491
- viewBox: "0 0 16 16"
3492
- }, props), _path$o || (_path$o = /*#__PURE__*/React__namespace.createElement("path", {
3527
+ viewBox: "0 0 16 16",
3493
3528
  fill: "none",
3494
- stroke: "currentColor",
3495
- strokeLinecap: "round",
3496
- d: "M1.5 3.5h13m-13 4h13m-13 4h13"
3529
+ xmlns: "http://www.w3.org/2000/svg"
3530
+ }, props), _path$j || (_path$j = /*#__PURE__*/React__namespace.createElement("path", {
3531
+ fillRule: "evenodd",
3532
+ clipRule: "evenodd",
3533
+ d: "M7.5 2C7.22386 2 7 2.22386 7 2.5V8H1.5C1.22386 8 1 8.22386 1 8.5C1 8.77614 1.22386 9 1.5 9H7V14.5C7 14.7761 7.22386 15 7.5 15C7.77614 15 8 14.7761 8 14.5V9H13.5C13.7761 9 14 8.77614 14 8.5C14 8.22386 13.7761 8 13.5 8H8V2.5C8 2.22386 7.77614 2 7.5 2Z",
3534
+ fill: "#68737D"
3497
3535
  })));
3498
3536
  };
3499
3537
 
3500
- const StyledEllipsis = styled__default["default"](Ellipsis) `
3501
- ${({ theme, isCompact }) => isCompact &&
3502
- `
3503
- width: ${theme.components.chrome.nav.workspaceDropdownWidth}px;
3504
- `}
3538
+ const CustomItem$1 = reactDropdowns.Item;
3539
+ const GridAdd = styled__default["default"](SvgPlus) `
3540
+ display: flex;
3541
+ position: absolute;
3542
+ top: 0;
3543
+ left: 12px;
3544
+ align-items: center;
3545
+ justify-content: center;
3546
+ width: 16px;
3547
+ height: calc(20px + 16px);
3505
3548
  `;
3506
- const WorkspacesDropdown = (props) => {
3507
- const [selectedWorkspace, setSelectedWorkspace] = React.useState(props.activeWorkspace);
3508
- return (jsxRuntime.jsxs(Dropdown, Object.assign({ selectedItem: selectedWorkspace, onSelect: (workspace) => {
3509
- setSelectedWorkspace(workspace);
3510
- props.onWorkspaceChange && props.onWorkspaceChange(workspace);
3511
- }, downshiftProps: {
3512
- itemToString: (item) => item && item.company,
3513
- } }, { children: [jsxRuntime.jsx(reactDropdowns.Field, { children: jsxRuntime.jsx(Select, Object.assign({ style: { color: getColor(theme.colors.primaryHue, 600) } }, { children: jsxRuntime.jsx(StyledEllipsis, Object.assign({ isCompact: props.isCompact }, { children: selectedWorkspace
3514
- ? selectedWorkspace.company + "'s workspace"
3549
+ const AddableItem = (props) => {
3550
+ return (jsxRuntime.jsxs(CustomItem$1, Object.assign({ onClick: props.onClick, addable: true, disabled: true }, { children: [jsxRuntime.jsx(GridAdd, {}), props.label] })));
3551
+ };
3552
+
3553
+ const CustomItem = reactDropdowns.Item;
3554
+ const Item = ({ option, checked, }) => {
3555
+ return (jsxRuntime.jsx(CustomItem, Object.assign({ value: option, checked: checked }, { children: jsxRuntime.jsx("span", { children: option.label }) }), `${option.label}-${option.id}`));
3556
+ };
3557
+
3558
+ const DisabledItem = ({ label }) => (jsxRuntime.jsx(Item$1, Object.assign({ disabled: true }, { children: label })));
3559
+ const MultiSelect = ({ options, onChange, creatable, i18n, maxItems, size, menuHeight, }) => {
3560
+ var _a, _b, _c;
3561
+ const [inputValue, setInputValue] = React.useState("");
3562
+ const [matchingOptions, setMatchingOptions] = React.useState(options);
3563
+ const itemToString = (item) => (item ? item.id : "");
3564
+ React.useEffect(() => {
3565
+ const matchedOptions = options.filter((option) => option.label
3566
+ .trim()
3567
+ .toLowerCase()
3568
+ .indexOf(inputValue.trim().toLowerCase()) !== -1);
3569
+ setMatchingOptions(matchedOptions);
3570
+ }, [inputValue, options]);
3571
+ return (jsxRuntime.jsxs(Dropdown, Object.assign({ inputValue: inputValue, selectedItems: options.filter((option) => option.selected), onSelect: (items) => onChange &&
3572
+ onChange(options.map((o) => (Object.assign(Object.assign({}, o), { selected: items.some((i) => i.id === o.id) })))), downshiftProps: { itemToString }, onInputValueChange: (value) => setInputValue(value) }, { children: [jsxRuntime.jsxs(Field$1, { children: [jsxRuntime.jsx(Label, Object.assign({ hidden: true }, { children: (_a = i18n === null || i18n === void 0 ? void 0 : i18n.label) !== null && _a !== void 0 ? _a : "Multiselect" })), jsxRuntime.jsx(reactDropdowns.Multiselect, { placeholder: (_b = i18n === null || i18n === void 0 ? void 0 : i18n.placeholder) !== null && _b !== void 0 ? _b : "Select Items", renderShowMore: i18n === null || i18n === void 0 ? void 0 : i18n.showMore, isCompact: size !== "medium", maxItems: maxItems, renderItem: ({ value }) => (jsxRuntime.jsxs(reactTags.Tag, Object.assign({ isPill: true }, { children: [jsxRuntime.jsx("span", { children: value.label }), jsxRuntime.jsx(reactTags.Tag.Close, { onClick: () => onChange &&
3573
+ onChange(options.map((o) => (Object.assign(Object.assign({}, o), { selected: o.selected && o.id !== value.id })))) })] }))) })] }), jsxRuntime.jsxs(Menu, { children: [jsxRuntime.jsxs("div", Object.assign({ style: { maxHeight: menuHeight !== null && menuHeight !== void 0 ? menuHeight : "200px" } }, { children: [matchingOptions.map((option) => {
3574
+ const items = options
3575
+ .filter((o) => o.selected)
3576
+ .map((item) => itemToString(item));
3577
+ return (jsxRuntime.jsx(Item, { option: option, checked: items.includes(itemToString(option)) }));
3578
+ }), matchingOptions.length === 0 && (jsxRuntime.jsx(DisabledItem, { label: (_c = i18n === null || i18n === void 0 ? void 0 : i18n.noMatches) !== null && _c !== void 0 ? _c : "No matches found" }))] })), creatable &&
3579
+ inputValue.length > 0 &&
3580
+ !matchingOptions.find((item) => item.label.toLowerCase() === inputValue.toLowerCase()) ? (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsx(Separator, {}), jsxRuntime.jsx(AddableItem, { onClick: () => __awaiter(void 0, void 0, void 0, function* () {
3581
+ onChange && (yield onChange(options, inputValue));
3582
+ setInputValue("");
3583
+ }), label: (i18n === null || i18n === void 0 ? void 0 : i18n.addNew)
3584
+ ? i18n.addNew(inputValue)
3585
+ : `Want to add ${inputValue}?` })] })) : null] })] })));
3586
+ };
3587
+
3588
+ const StyledModal$1 = styled__default["default"](Modal) `
3589
+ width: 100%;
3590
+ height: 100%;
3591
+ max-height: 100%;
3592
+ border-radius: 0;
3593
+ left: unset;
3594
+ right: unset;
3595
+ top: unset;
3596
+ bottom: unset;
3597
+ `;
3598
+ const StyledHeader = styled__default["default"](Modal.Header) `
3599
+ display: flex;
3600
+ align-items: center;
3601
+ justify-content: space-between;
3602
+ flex-direction: row;
3603
+ padding: ${({ theme }) => `${theme.space.sm} ${theme.space.base * 6}px`};
3604
+
3605
+ @media (max-width: ${({ theme }) => theme.breakpoints.sm}) {
3606
+ padding: ${({ theme }) => theme.space.md};
3607
+ }
3608
+ `;
3609
+ const StyledBody$4 = styled__default["default"](Modal.Body) `
3610
+ background-color: ${({ theme }) => theme.palette.grey["100"]};
3611
+ padding: ${({ theme }) => `${theme.space.md} ${theme.space.base * 6}px`};
3612
+
3613
+ @media (max-width: ${({ theme }) => theme.breakpoints.sm}) {
3614
+ padding: ${({ theme }) => `${theme.space.lg} ${theme.space.md}`};
3615
+ }
3616
+ `;
3617
+ const StyledFooter$1 = styled__default["default"](Modal.Footer) `
3618
+ padding: ${({ theme }) => theme.space.base * 4}px
3619
+ ${({ theme }) => theme.space.base * 6}px;
3620
+ `;
3621
+ const StyledModalClose = styled__default["default"](reactModals.Close) `
3622
+ position: relative;
3623
+ top: unset;
3624
+ right: unset;
3625
+ `;
3626
+ const ModalFullScreen = (props) => jsxRuntime.jsx(StyledModal$1, Object.assign({}, props));
3627
+ ModalFullScreen.Header = StyledHeader;
3628
+ ModalFullScreen.Body = StyledBody$4;
3629
+ ModalFullScreen.Footer = StyledFooter$1;
3630
+ ModalFullScreen.Close = StyledModalClose;
3631
+ ModalFullScreen.FooterItem = FooterItem;
3632
+
3633
+ const UgBody = styled__default["default"](reactChrome.Body) `
3634
+ background-color: ${({ theme }) => theme.palette.white};
3635
+ `;
3636
+ /**
3637
+ * A Body defines the main content of an HTML document which displays on the browser
3638
+ */
3639
+ const Body$1 = (props) => jsxRuntime.jsx(UgBody, Object.assign({}, props));
3640
+
3641
+ /**
3642
+ * A Content defines the main content of an HTML document which displays on the browser
3643
+ */
3644
+ const Content$1 = (props) => jsxRuntime.jsx(reactChrome.Content, Object.assign({}, props));
3645
+
3646
+ const UgHeaderItem = styled__default["default"](reactChrome.HeaderItem) `
3647
+ ${(props) => props.hasLogo && `border-right: none`};
3648
+ font-family: ${({ theme }) => theme.fonts.system};
3649
+ `;
3650
+ styled__default["default"](reactChrome.HeaderItemWrapper) `
3651
+ font-family: ${({ theme }) => theme.fonts.system};
3652
+ `;
3653
+ const HeaderItem = (props) => jsxRuntime.jsx(UgHeaderItem, Object.assign({}, props));
3654
+
3655
+ const UgHeaderItemText = styled__default["default"](reactChrome.HeaderItemText) `
3656
+ font-family: ${({ theme }) => theme.fonts.system};
3657
+ `;
3658
+ const HeaderItemText = (props) => jsxRuntime.jsx(UgHeaderItemText, Object.assign({}, props));
3659
+
3660
+ const HeaderItemIcon = (props) => (jsxRuntime.jsx(reactChrome.HeaderItemIcon, Object.assign({}, props)));
3661
+
3662
+ var _path$i;
3663
+ function _extends$k() { _extends$k = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$k.apply(this, arguments); }
3664
+ var SvgMenuStroke = function SvgMenuStroke(props) {
3665
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$k({
3666
+ xmlns: "http://www.w3.org/2000/svg",
3667
+ width: 16,
3668
+ height: 16,
3669
+ focusable: "false",
3670
+ viewBox: "0 0 16 16"
3671
+ }, props), _path$i || (_path$i = /*#__PURE__*/React__namespace.createElement("path", {
3672
+ fill: "none",
3673
+ stroke: "currentColor",
3674
+ strokeLinecap: "round",
3675
+ d: "M1.5 3.5h13m-13 4h13m-13 4h13"
3676
+ })));
3677
+ };
3678
+
3679
+ const StyledEllipsis = styled__default["default"](Ellipsis) `
3680
+ ${({ theme, isCompact }) => isCompact &&
3681
+ `
3682
+ width: ${theme.components.chrome.nav.workspaceDropdownWidth}px;
3683
+ `}
3684
+ `;
3685
+ const WorkspacesDropdown = (props) => {
3686
+ const [selectedWorkspace, setSelectedWorkspace] = React.useState(props.activeWorkspace);
3687
+ return (jsxRuntime.jsxs(Dropdown, Object.assign({ selectedItem: selectedWorkspace, onSelect: (workspace) => {
3688
+ setSelectedWorkspace(workspace);
3689
+ props.onWorkspaceChange && props.onWorkspaceChange(workspace);
3690
+ }, downshiftProps: {
3691
+ itemToString: (item) => item && item.company,
3692
+ } }, { children: [jsxRuntime.jsx(reactDropdowns.Field, { children: jsxRuntime.jsx(Select, Object.assign({ style: { color: getColor(theme.colors.primaryHue, 600) } }, { children: jsxRuntime.jsx(StyledEllipsis, Object.assign({ isCompact: props.isCompact }, { children: selectedWorkspace
3693
+ ? selectedWorkspace.company + "'s workspace"
3515
3694
  : "Select workspace" })) })) }), jsxRuntime.jsxs(Menu, { children: [jsxRuntime.jsx(MenuHeaderItem, { children: jsxRuntime.jsx(MD, Object.assign({ isBold: true, style: { color: theme.palette.grey[800] } }, { children: props.workspacesLabel || "Workspaces" })) }), jsxRuntime.jsx(Separator, {}), props.workspaces && props.workspaces.map((item) => (jsxRuntime.jsx(Item$1, Object.assign({ value: item }, { children: item.company }))))] })] })));
3516
3695
  };
3517
3696
 
@@ -3572,6 +3751,21 @@ Header.HeaderItem = HeaderItem;
3572
3751
  Header.HeaderItemText = HeaderItemText;
3573
3752
  Header.HeaderItemIcon = HeaderItemIcon;
3574
3753
 
3754
+ var _path$h;
3755
+ function _extends$j() { _extends$j = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$j.apply(this, arguments); }
3756
+ var SvgChevronDownStroke = function SvgChevronDownStroke(props) {
3757
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$j({
3758
+ xmlns: "http://www.w3.org/2000/svg",
3759
+ width: 16,
3760
+ height: 16,
3761
+ focusable: "false",
3762
+ viewBox: "0 0 16 16"
3763
+ }, props), _path$h || (_path$h = /*#__PURE__*/React__namespace.createElement("path", {
3764
+ fill: "currentColor",
3765
+ d: "M12.688 5.61a.5.5 0 01.69.718l-.066.062-5 4a.5.5 0 01-.542.054l-.082-.054-5-4a.5.5 0 01.55-.83l.074.05L8 9.359l4.688-3.75z"
3766
+ })));
3767
+ };
3768
+
3575
3769
  const HeaderSkeleton = () => {
3576
3770
  return (jsxRuntime.jsxs(Header, Object.assign({ isStandalone: true }, { children: [jsxRuntime.jsx(LogoIconContainer, Object.assign({ hasLogo: true }, { children: jsxRuntime.jsx(HeaderItemIcon, { children: jsxRuntime.jsx(Logo, { type: "icon", size: 150 }) }) })), jsxRuntime.jsx(HeaderItem, Object.assign({ style: { marginRight: "auto", marginLeft: "-4px" } }, { children: window.matchMedia(`only screen and (min-width: 576px)`).matches ? (jsxRuntime.jsx(Skeleton, { width: "200px", height: theme.space.sm })) : (jsxRuntime.jsx(Skeleton, { width: "80px", height: theme.space.sm, style: { marginLeft: theme.space.sm } })) })), jsxRuntime.jsx(HeaderItem, Object.assign({ isRound: true }, { children: jsxRuntime.jsx(HeaderItemIcon, { children: jsxRuntime.jsx(jsxRuntime.Fragment, { children: jsxRuntime.jsx(Skeleton, { width: "32px", height: "32px", style: { borderRadius: "100%" } }) }) }) }))] })));
3577
3771
  };
@@ -3590,6 +3784,24 @@ const AppHeader = (_a) => {
3590
3784
  return isLoading ? (jsxRuntime.jsx(HeaderSkeleton, {})) : (jsxRuntime.jsxs(Header, Object.assign({}, args, { style: Object.assign(Object.assign({}, style), { zIndex: (style === null || style === void 0 ? void 0 : style.zIndex) || theme.levels.front }) }, { children: [jsxRuntime.jsx(BrandItem, Object.assign({}, brand, { toggleMenu: args.onSidebarMenuToggle })), args.hasChangelog && args.changelogItem && (jsxRuntime.jsx(HeaderItem, Object.assign({ style: { marginRight: "-" + theme.space.xs } }, { children: jsxRuntime.jsx(HeaderItemIcon, { children: args.changelogItem }) }))), jsxRuntime.jsx(HeaderItem, Object.assign({ isRound: true, onClick: args.onProfileModalToggle }, { children: jsxRuntime.jsx(HeaderItemIcon, { children: jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsx(Avatar, Object.assign({}, avatar)), jsxRuntime.jsx(ChevronButton, Object.assign({ size: "small", isRotated: args.isProfileModalOpen }, { children: jsxRuntime.jsx(SvgChevronDownStroke, {}) }))] }) }) }))] })));
3591
3785
  };
3592
3786
 
3787
+ const UgMain = styled__default["default"](reactChrome.Main) `
3788
+ @media (min-width: ${({ theme }) => theme.breakpoints.sm}) {
3789
+ margin: ${({ theme }) => theme.space.xxl}
3790
+ }
3791
+
3792
+ /* hide scrollbar for IE, Edge and Firefox */
3793
+ -ms-overflow-style: none;
3794
+ scrollbar-width: none;
3795
+
3796
+ ::-webkit-scrollbar {
3797
+ display: none;
3798
+ }
3799
+ `;
3800
+ /**
3801
+ * A Main defines the main content of an HTML document which displays on the browser
3802
+ */
3803
+ const Main$1 = (props) => jsxRuntime.jsx(UgMain, Object.assign({}, props));
3804
+
3593
3805
  const UgNav = styled__default["default"](reactChrome.Nav) `
3594
3806
  width: ${p => p.isExpanded ? "100%" : "0"};
3595
3807
  padding-top: ${({ theme }) => theme.space.sm};
@@ -3629,36 +3841,21 @@ const NavItemIcon = (props) => jsxRuntime.jsx(UgNavIcon, Object.assign({}, props
3629
3841
 
3630
3842
  const NavItemText = (props) => (jsxRuntime.jsx(reactChrome.NavItemText, Object.assign({}, props, { children: jsxRuntime.jsx(Ellipsis, Object.assign({ style: { width: "158px" } }, { children: props.children })) })));
3631
3843
 
3632
- var _path$n;
3633
- function _extends$q() { _extends$q = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$q.apply(this, arguments); }
3844
+ var _path$g;
3845
+ function _extends$i() { _extends$i = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$i.apply(this, arguments); }
3634
3846
  var SvgChevronRightStroke = function SvgChevronRightStroke(props) {
3635
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$q({
3847
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$i({
3636
3848
  xmlns: "http://www.w3.org/2000/svg",
3637
3849
  width: 16,
3638
3850
  height: 16,
3639
3851
  focusable: "false",
3640
3852
  viewBox: "0 0 16 16"
3641
- }, props), _path$n || (_path$n = /*#__PURE__*/React__namespace.createElement("path", {
3853
+ }, props), _path$g || (_path$g = /*#__PURE__*/React__namespace.createElement("path", {
3642
3854
  fill: "currentColor",
3643
3855
  d: "M5.61 3.312a.5.5 0 01.718-.69l.062.066 4 5a.5.5 0 01.054.542l-.054.082-4 5a.5.5 0 01-.83-.55l.05-.074L9.359 8l-3.75-4.688z"
3644
3856
  })));
3645
3857
  };
3646
3858
 
3647
- var _path$m;
3648
- function _extends$p() { _extends$p = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$p.apply(this, arguments); }
3649
- var SvgChevronLeftStroke = function SvgChevronLeftStroke(props) {
3650
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$p({
3651
- xmlns: "http://www.w3.org/2000/svg",
3652
- width: 16,
3653
- height: 16,
3654
- focusable: "false",
3655
- viewBox: "0 0 16 16"
3656
- }, props), _path$m || (_path$m = /*#__PURE__*/React__namespace.createElement("path", {
3657
- fill: "currentColor",
3658
- d: "M10.39 12.688a.5.5 0 01-.718.69l-.062-.066-4-5a.5.5 0 01-.054-.542l.054-.082 4-5a.5.5 0 01.83.55l-.05.074L6.641 8l3.75 4.688z"
3659
- })));
3660
- };
3661
-
3662
3859
  const StyledToggle = styled__default["default"](IconButton) `
3663
3860
  display: none;
3664
3861
  width: ${({ theme }) => theme.space.base * 6}px;
@@ -3753,479 +3950,39 @@ NavAccordionItem.Panel = AccordionItemPanel;
3753
3950
  NavAccordionItem.Header = AccordionItemHeader;
3754
3951
  NavAccordionItem.Label = AccordionItemLabel;
3755
3952
 
3756
- var _path$l;
3757
- function _extends$o() { _extends$o = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$o.apply(this, arguments); }
3758
- var SvgHomeFill = function SvgHomeFill(props) {
3759
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$o({
3760
- width: 26,
3761
- height: 26,
3762
- viewBox: "0 0 26 26",
3763
- fill: "none",
3764
- xmlns: "http://www.w3.org/2000/svg"
3765
- }, props), _path$l || (_path$l = /*#__PURE__*/React__namespace.createElement("path", {
3766
- fillRule: "evenodd",
3767
- clipRule: "evenodd",
3768
- d: "M11.027 21H5.973C5.436 21 5 20.523 5 19.935V17.065C5 16.475 5.436 16 5.973 16H11.027C11.564 16 12 16.476 12 17.065V19.935C12 20.523 11.564 21 11.027 21ZM11.024 14H5.977C5.437 14 5 13.577 5 13.055V5.945C5 5.425 5.438 5 5.977 5H11.024C11.564 5 12 5.424 12 5.946V13.056C12 13.577 11.563 14 11.024 14ZM14.979 5H20.021C20.561 5 21 5.478 21 6.069V8.932C21 9.522 20.561 10 20.021 10H14.979C14.439 10 14 9.522 14 8.932V6.07C14 5.48 14.439 5.001 14.979 5.001M14.972 12H20.028C20.565 12 21 12.42 21 12.94V20.06C21 20.579 20.565 21 20.028 21H14.972C14.435 21 14 20.579 14 20.06V12.94C14 12.42 14.435 12 14.972 12Z",
3769
- fill: "#336179"
3770
- })));
3771
- };
3772
-
3773
- var _linearGradient, _path$k;
3774
- function _extends$n() { _extends$n = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$n.apply(this, arguments); }
3775
- var SvgHomeFillStyled = function SvgHomeFillStyled(props) {
3776
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$n({
3777
- width: 26,
3778
- height: 26,
3779
- viewBox: "0 0 26 26",
3780
- fill: "none",
3781
- xmlns: "http://www.w3.org/2000/svg"
3782
- }, props), _linearGradient || (_linearGradient = /*#__PURE__*/React__namespace.createElement("linearGradient", {
3783
- id: "unguessIconGradient"
3784
- }, /*#__PURE__*/React__namespace.createElement("stop", {
3785
- className: "stop1",
3786
- offset: "11.98%",
3787
- stopColor: "#70c38a"
3788
- }), /*#__PURE__*/React__namespace.createElement("stop", {
3789
- className: "stop3",
3790
- offset: "100%",
3791
- stopColor: "#001825"
3792
- }))), _path$k || (_path$k = /*#__PURE__*/React__namespace.createElement("path", {
3793
- fill: "url(#unguessIconGradient)",
3794
- fillRule: "evenodd",
3795
- clipRule: "evenodd",
3796
- d: "M11.027 21H5.973C5.436 21 5 20.523 5 19.935V17.065C5 16.475 5.436 16 5.973 16H11.027C11.564 16 12 16.476 12 17.065V19.935C12 20.523 11.564 21 11.027 21ZM11.024 14H5.977C5.437 14 5 13.577 5 13.055V5.945C5 5.425 5.438 5 5.977 5H11.024C11.564 5 12 5.424 12 5.946V13.056C12 13.577 11.563 14 11.024 14ZM14.979 5H20.021C20.561 5 21 5.478 21 6.069V8.932C21 9.522 20.561 10 20.021 10H14.979C14.439 10 14 9.522 14 8.932V6.07C14 5.48 14.439 5.001 14.979 5.001M14.972 12H20.028C20.565 12 21 12.42 21 12.94V20.06C21 20.579 20.565 21 20.028 21H14.972C14.435 21 14 20.579 14 20.06V12.94C14 12.42 14.435 12 14.972 12Z"
3797
- })));
3798
- };
3799
-
3800
- var _g$1, _defs$2;
3801
- function _extends$m() { _extends$m = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$m.apply(this, arguments); }
3802
- var SvgToken = function SvgToken(props) {
3803
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$m({
3804
- fill: "none",
3805
- viewBox: "0 0 32 32",
3806
- xmlns: "http://www.w3.org/2000/svg"
3807
- }, props), _g$1 || (_g$1 = /*#__PURE__*/React__namespace.createElement("g", {
3808
- clipPath: "url(#a)"
3809
- }, /*#__PURE__*/React__namespace.createElement("path", {
3810
- d: "m32 16c0 8.8363-7.1635 16-16 16-8.8369 0-16-7.1635-16-16 0-8.8367 7.1632-16 16-16 8.8364 0 16 7.1632 16 16z",
3811
- clipRule: "evenodd",
3812
- fill: "#9FD7B1",
3813
- fillRule: "evenodd"
3814
- }), /*#__PURE__*/React__namespace.createElement("rect", {
3815
- x: 4.129,
3816
- y: 4.129,
3817
- width: 23.742,
3818
- height: 23.742,
3819
- rx: 11.871,
3820
- fill: "#003A57"
3821
- }), /*#__PURE__*/React__namespace.createElement("path", {
3822
- d: "m18.662 16.433v1.1544h-0.0144c-0.1011 1.6739-1.0246 2.6263-2.5686 2.6263-1.645 0-2.6263-0.9524-2.7273-2.6263h-0.0144v-1.1544h-2.3377v1.1688c0.1299 2.9149 2.0924 4.7764 5.065 4.7764 2.9437 0 4.8052-1.8182 4.9351-4.7764v-1.1688h-2.3377z",
3823
- fill: "#fff"
3824
- }), /*#__PURE__*/React__namespace.createElement("path", {
3825
- d: "m13.367 10.545h-2.3522v2.3521h2.3522v-2.3521z",
3826
- fill: "#54C38A"
3827
- }), /*#__PURE__*/React__namespace.createElement("path", {
3828
- d: "m20.986 10.545h-2.381v2.381h2.381v-2.381z",
3829
- fill: "#fff"
3830
- }))), _defs$2 || (_defs$2 = /*#__PURE__*/React__namespace.createElement("defs", null, /*#__PURE__*/React__namespace.createElement("clipPath", {
3831
- id: "a"
3832
- }, /*#__PURE__*/React__namespace.createElement("rect", {
3833
- width: 32,
3834
- height: 32,
3835
- fill: "#fff"
3836
- })))));
3837
- };
3838
-
3839
- var _path$j;
3840
- function _extends$l() { _extends$l = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$l.apply(this, arguments); }
3841
- var SvgProjectsIcon = function SvgProjectsIcon(props) {
3842
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$l({
3843
- width: 26,
3844
- height: 26,
3845
- viewBox: "0 0 26 26",
3846
- fill: "none",
3847
- xmlns: "http://www.w3.org/2000/svg"
3848
- }, props), _path$j || (_path$j = /*#__PURE__*/React__namespace.createElement("path", {
3849
- fillRule: "evenodd",
3850
- clipRule: "evenodd",
3851
- d: "M20.5 8H14.25V7.375C14.25 6.34232 13.4077 5.5 12.375 5.5H6.125C5.09232 5.5 4.25 6.34232 4.25 7.375V13.005C3.53426 13.0685 3.01354 13.7329 3.1335 14.4527L4.171 20.7027C4.27098 21.3026 4.79293 21.75 5.4 21.75H20.6C21.2071 21.75 21.729 21.3026 21.829 20.7027L22.8666 14.4523C22.9865 13.7329 22.4657 13.0685 21.75 13.005V9.25C21.75 8.55482 21.1952 8 20.5 8ZM21.633 14.25H4.36695L5.404 20.4973C5.40404 20.4974 20.6 20.5 20.6 20.5C20.5929 20.5 21.633 14.25 21.633 14.25ZM5.5 13H20.5V9.25H13V7.375C13 7.03268 12.7173 6.75 12.375 6.75H6.125C5.78268 6.75 5.5 7.03268 5.5 7.375V13Z",
3852
- fill: "#336179",
3853
- stroke: "#336179"
3854
- })));
3855
- };
3856
-
3857
- var _path$i, _defs$1;
3858
- function _extends$k() { _extends$k = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$k.apply(this, arguments); }
3859
- var SvgTemplates = function SvgTemplates(props) {
3860
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$k({
3861
- width: 26,
3862
- height: 26,
3863
- viewBox: "0 0 26 26",
3864
- fill: "none",
3865
- xmlns: "http://www.w3.org/2000/svg"
3866
- }, props), _path$i || (_path$i = /*#__PURE__*/React__namespace.createElement("path", {
3867
- fillRule: "evenodd",
3868
- clipRule: "evenodd",
3869
- d: "M8 5H3.5C3.2 5 3 5.2 3 5.5V18.5C3 18.8 3.2 19 3.5 19H7C10 19 11 21 11 21H12V7C12 6.9 11 5 8 5ZM9 15H6C5.5 15 5 14.5 5 14C5 13.5 5.5 13 6 13H9C9.5 13 10 13.5 10 14C10 14.5 9.5 15 9 15ZM9 11H6C5.5 11 5 10.5 5 10C5 9.5 5.5 9 6 9H9C9.5 9 10 9.5 10 10C10 10.5 9.5 11 9 11ZM14 7V21H15C15 21 16 19 19 19H22.5C22.8 19 23 18.8 23 18.5V5.5C23 5.2 22.8 5 22.5 5H18C15 5 14 6.9 14 7ZM16 14C16 13.5 16.5 13 17 13H20C20.5 13 21 13.5 21 14C21 14.5 20.5 15 20 15H17C16.5 15 16 14.5 16 14ZM16 10C16 9.5 16.5 9 17 9H20C20.5 9 21 9.5 21 10C21 10.5 20.5 11 20 11H17C16.5 11 16 10.5 16 10Z",
3870
- fill: "url(#paint0_linear_342_21583)"
3871
- })), _defs$1 || (_defs$1 = /*#__PURE__*/React__namespace.createElement("defs", null, /*#__PURE__*/React__namespace.createElement("linearGradient", {
3872
- id: "paint0_linear_342_21583",
3873
- x1: 3,
3874
- y1: 5,
3875
- x2: 23.2766,
3876
- y2: 5.35853,
3877
- gradientUnits: "userSpaceOnUse"
3878
- }, /*#__PURE__*/React__namespace.createElement("stop", {
3879
- stopColor: "#001825"
3880
- }), /*#__PURE__*/React__namespace.createElement("stop", {
3881
- offset: 1,
3882
- stopColor: "#003A57"
3883
- })))));
3884
- };
3885
-
3886
- var _path$h, _defs;
3887
- function _extends$j() { _extends$j = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$j.apply(this, arguments); }
3888
- var SvgTemplatesActive = function SvgTemplatesActive(props) {
3889
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$j({
3890
- width: 26,
3891
- height: 26,
3892
- viewBox: "0 0 26 26",
3893
- fill: "none",
3894
- xmlns: "http://www.w3.org/2000/svg"
3895
- }, props), _path$h || (_path$h = /*#__PURE__*/React__namespace.createElement("path", {
3896
- fillRule: "evenodd",
3897
- clipRule: "evenodd",
3898
- d: "M8 5H3.5C3.2 5 3 5.2 3 5.5V18.5C3 18.8 3.2 19 3.5 19H7C10 19 11 21 11 21H12V7C12 6.9 11 5 8 5ZM9 15H6C5.5 15 5 14.5 5 14C5 13.5 5.5 13 6 13H9C9.5 13 10 13.5 10 14C10 14.5 9.5 15 9 15ZM9 11H6C5.5 11 5 10.5 5 10C5 9.5 5.5 9 6 9H9C9.5 9 10 9.5 10 10C10 10.5 9.5 11 9 11ZM14 7V21H15C15 21 16 19 19 19H22.5C22.8 19 23 18.8 23 18.5V5.5C23 5.2 22.8 5 22.5 5H18C15 5 14 6.9 14 7ZM16 14C16 13.5 16.5 13 17 13H20C20.5 13 21 13.5 21 14C21 14.5 20.5 15 20 15H17C16.5 15 16 14.5 16 14ZM16 10C16 9.5 16.5 9 17 9H20C20.5 9 21 9.5 21 10C21 10.5 20.5 11 20 11H17C16.5 11 16 10.5 16 10Z",
3899
- fill: "url(#paint0_linear_342_4104)"
3900
- })), _defs || (_defs = /*#__PURE__*/React__namespace.createElement("defs", null, /*#__PURE__*/React__namespace.createElement("linearGradient", {
3901
- id: "paint0_linear_342_4104",
3902
- x1: 3,
3903
- y1: 5,
3904
- x2: 23.2766,
3905
- y2: 5.35853,
3906
- gradientUnits: "userSpaceOnUse"
3907
- }, /*#__PURE__*/React__namespace.createElement("stop", {
3908
- offset: 0.119792,
3909
- stopColor: "#003A57"
3910
- }), /*#__PURE__*/React__namespace.createElement("stop", {
3911
- offset: 1,
3912
- stopColor: "#70C38A"
3913
- })))));
3914
- };
3915
-
3916
- const StyledNav = styled__default["default"](Nav) `
3917
- ${({ isExpanded, theme }) => isExpanded && `width: ${theme.components.chrome.nav.openWidth}`};
3918
- `;
3919
- const LoadingSidebar = (props) => {
3920
- const isExpanded = props.isExpanded;
3921
- return (jsxRuntime.jsxs(StyledNav, Object.assign({}, props, { isExpanded: isExpanded }, { children: [jsxRuntime.jsx(NavToggle, { isExpanded: isExpanded }), jsxRuntime.jsxs(NavItem, Object.assign({ isExpanded: isExpanded, isCurrent: true }, { children: [jsxRuntime.jsx(NavItemIcon, Object.assign({ isStyled: true }, { children: jsxRuntime.jsx(Skeleton, { width: "32px", height: "32px", style: { borderRadius: "100%" } }) })), jsxRuntime.jsx(Skeleton, { height: "12px", width: "60%" }), jsxRuntime.jsx(NavItemText, {})] })), jsxRuntime.jsx(NavDivider, { isExpanded: isExpanded }), jsxRuntime.jsxs(NavItemProject, Object.assign({ isExpanded: isExpanded, isCurrent: false }, { children: [jsxRuntime.jsx(Skeleton, { width: "60%", style: { marginBottom: "6px" } }), jsxRuntime.jsx(Skeleton, { height: "12px", width: "80%" })] }), 1), jsxRuntime.jsxs(NavItemProject, Object.assign({ isExpanded: isExpanded, isCurrent: false }, { children: [jsxRuntime.jsx(Skeleton, { width: "60%", style: { marginBottom: "6px" } }), jsxRuntime.jsx(Skeleton, { height: "12px", width: "80%" })] }), 2), jsxRuntime.jsxs(NavItemProject, Object.assign({ isExpanded: isExpanded, isCurrent: false }, { children: [jsxRuntime.jsx(Skeleton, { width: "60%", style: { marginBottom: "6px" } }), jsxRuntime.jsx(Skeleton, { height: "12px", width: "80%" })] }), 3), jsxRuntime.jsxs(NavItemProject, Object.assign({ isExpanded: isExpanded, isCurrent: false }, { children: [jsxRuntime.jsx(Skeleton, { width: "60%", style: { marginBottom: "6px" } }), jsxRuntime.jsx(Skeleton, { height: "12px", width: "80%" })] }), 4), jsxRuntime.jsxs(NavItem, Object.assign({ isExpanded: isExpanded, hasBrandmark: true, title: "Be smart from the start", style: { pointerEvents: "none" } }, { children: [jsxRuntime.jsx(NavItemIcon, { children: jsxRuntime.jsx(Skeleton, { width: "32px", height: "32px", style: { borderRadius: "100%" } }) }), jsxRuntime.jsx(NavItemText, { children: "UNGUESS" })] }))] })));
3922
- };
3923
-
3924
- const TokenContainer = styled__default["default"].div `
3925
- display: flex;
3926
- align-items: center;
3927
- justify-content: center;
3928
- `;
3929
- const ScrollingContainer = styled__default["default"].div `
3930
- display: flex;
3931
- flex-direction: column;
3932
- order: 1;
3933
- height: 100%;
3934
- `;
3935
- const StyledNavItem = styled__default["default"](NavItem) `
3936
- ${({ isExpanded }) => isExpanded &&
3937
- `
3938
- display: block;
3939
- padding-right: ${theme.space.md};
3940
- `};
3941
-
3942
- &:hover,
3943
- &:focus {
3944
- background-color: white;
3945
- }
3946
- `;
3947
- const SidebarLabel = styled__default["default"](SM) `
3948
- color: ${({ theme }) => theme.palette.grey["500"]};
3949
- margin: ${({ theme }) => theme.space.xxs} 0 16px;
3950
- padding-left: 16px;
3951
- order: 1;
3952
-
3953
- ${({ isExpanded }) => !isExpanded &&
3954
- `
3955
- display: none; `};
3956
- `;
3957
- /**
3958
- * The UNGUESS Sidebar component provides a high-level layout structure and sets a framework for navigating around projects.
3959
- * <br>
3960
- * Used for this:
3961
- - To give a consistent dashboard and navigation experience
3962
- */
3963
- const Sidebar = (_a) => {
3964
- var { projects, defaultAccordionPanels = [0] } = _a, props = __rest(_a, ["projects", "defaultAccordionPanels"]);
3965
- const [nav, setNav] = React.useState(props.currentRoute || "home");
3966
- const prjRef = React.useRef(null);
3967
- const showWorkspacesDropdown = window.matchMedia(`only screen and (max-width: ${theme.breakpoints.sm})`).matches;
3968
- const toggleNav = () => {
3969
- props.onToggleMenu && props.onToggleMenu();
3970
- };
3971
- const navigate = (route, parameter) => {
3972
- let fullRoute = route + (parameter ? `/${parameter}` : "");
3973
- props.onNavToggle && props.onNavToggle(route, parameter);
3974
- setNav(fullRoute);
3975
- };
3976
- const padding = props.tokens
3977
- ? {
3978
- paddingBottom: 0,
3979
- }
3980
- : {};
3981
- React.useEffect(() => {
3982
- var _a;
3983
- if (prjRef && prjRef.current && props.isExpanded) {
3984
- (_a = prjRef.current) === null || _a === void 0 ? void 0 : _a.scrollIntoView({
3985
- behavior: "smooth",
3986
- block: "end",
3987
- });
3988
- }
3989
- }, [props.isExpanded]);
3990
- return props.isLoading ? (jsxRuntime.jsx(LoadingSidebar, Object.assign({}, props))) : (jsxRuntime.jsxs(Nav, Object.assign({}, props, { children: [jsxRuntime.jsxs(ScrollingContainer, { children: [jsxRuntime.jsx(NavToggle, { onClick: toggleNav, isExpanded: props.isExpanded }), showWorkspacesDropdown &&
3991
- props.workspaces &&
3992
- props.workspaces.length > 1 && (jsxRuntime.jsx(jsxRuntime.Fragment, { children: jsxRuntime.jsx(StyledNavItem, Object.assign({ title: "Workspaces", hasLogo: true, isExpanded: props.isExpanded, style: padding }, { children: jsxRuntime.jsx(WorkspacesDropdown, { workspaces: props.workspaces, workspacesLabel: props.workspacesLabel, activeWorkspace: props.activeWorkspace, onWorkspaceChange: props.onWorkspaceChange, isCompact: true }) })) })), props.tokens && (jsxRuntime.jsx(SidebarLabel, Object.assign({ isExpanded: props.isExpanded }, { children: props.activityLabel || "My activity" }))), jsxRuntime.jsxs(NavItem, Object.assign({ className: "sidebar-first-level-item", title: "Home", isExpanded: props.isExpanded, isCurrent: nav === "home", onClick: () => navigate("home") }, { children: [jsxRuntime.jsx(NavItemIcon, Object.assign({ isStyled: true }, { children: nav === "home" ? jsxRuntime.jsx(SvgHomeFillStyled, {}) : jsxRuntime.jsx(SvgHomeFill, {}) })), jsxRuntime.jsx(NavItemText, { children: props.homeItemLabel || "My Campaigns" })] })), projects && projects.length ? (jsxRuntime.jsx(NavAccordionItem, Object.assign({ className: "sidebar-project-accordion-first-item", level: 4, defaultExpandedSections: defaultAccordionPanels, isExpanded: props.isExpanded, isAnimated: false }, { children: jsxRuntime.jsxs(NavAccordionItem.Section, { children: [jsxRuntime.jsxs(NavAccordionItem.Header, { children: [jsxRuntime.jsx(SvgProjectsIcon, {}), jsxRuntime.jsxs(NavAccordionItem.Label, { children: [props.dividerLabel || "", " "] })] }), jsxRuntime.jsx(NavAccordionItem.Panel, Object.assign({ style: { padding: 0 } }, { children: projects.map((project) => (jsxRuntime.jsxs(NavItemProject, Object.assign({ className: "sidebar-project-item", isExpanded: props.isExpanded, isCurrent: nav === `projects/${project.id}` }, (nav === `projects/${project.id}` && { ref: prjRef }), { onClick: () => navigate("projects", project.id) }, { children: [jsxRuntime.jsx(NavItemProject.Title, { title: project.title, children: project.title }), jsxRuntime.jsx(NavItemProject.SubTitle, { children: project.campaigns })] }), project.id))) }))] }) }))) : null, jsxRuntime.jsx(NavDivider, { isExpanded: props.isExpanded }), jsxRuntime.jsxs(NavItem, Object.assign({ className: "sidebar-first-level-item", title: "Services", isExpanded: props.isExpanded, isCurrent: nav === "services", onClick: () => navigate("services"), style: { marginBottom: "16px" } }, { children: [jsxRuntime.jsx(NavItemIcon, Object.assign({ isStyled: true }, { children: nav === "services" ? jsxRuntime.jsx(SvgTemplatesActive, {}) : jsxRuntime.jsx(SvgTemplates, {}) })), jsxRuntime.jsx(NavItemText, { children: props.servicesItemLabel || "Services" })] })), props.tokens && (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsx(SidebarLabel, Object.assign({ isExpanded: props.isExpanded }, { children: props.walletLabel || "Wallet" })), jsxRuntime.jsx(StyledNavItem, Object.assign({ title: "Tokens", isExpanded: props.isExpanded, style: { pointerEvents: "none", paddingTop: 0 } }, { children: jsxRuntime.jsx(Card, Object.assign({ style: { padding: theme.space.sm } }, { children: jsxRuntime.jsxs(TokenContainer, { children: [jsxRuntime.jsx(SvgToken, { width: 32 }), jsxRuntime.jsx(Span, Object.assign({ isBold: true, style: {
3993
- marginLeft: theme.space.xs,
3994
- color: theme.palette.grey[800],
3995
- } }, { children: props.tokens + " " + (props.tokensLabel || "tokens") }))] }) })) }))] }))] }), jsxRuntime.jsxs(NavItem, Object.assign({ isExpanded: props.isExpanded, hasBrandmark: true, title: "Be smart from the start", style: { pointerEvents: "none", paddingBottom: theme.space.md } }, { children: [jsxRuntime.jsx(NavItemIcon, { children: jsxRuntime.jsx(Logo, { type: "icon", size: 150 }) }), jsxRuntime.jsx(NavItemText, { children: "UNGUESS" })] }))] })));
3996
- };
3997
-
3998
- const UgMain = styled__default["default"](reactChrome.Main) `
3999
- @media (min-width: ${({ theme }) => theme.breakpoints.sm}) {
4000
- margin: ${({ theme }) => theme.space.xxl}
4001
- }
4002
-
4003
- /* hide scrollbar for IE, Edge and Firefox */
4004
- -ms-overflow-style: none;
4005
- scrollbar-width: none;
4006
-
4007
- ::-webkit-scrollbar {
4008
- display: none;
4009
- }
4010
- `;
4011
- /**
4012
- * A Main defines the main content of an HTML document which displays on the browser
4013
- */
4014
- const Main$1 = (props) => jsxRuntime.jsx(UgMain, Object.assign({}, props));
4015
-
4016
- const StyledHr = styled__default["default"].hr `
4017
- margin: ${theme.space.base * 6}px 0 ${theme.space.base * 8}px 0;
4018
- border: none;
4019
- border-top: 1px solid ${theme.palette.grey[300]};
4020
- `;
4021
- const PageLoader = () => {
4022
- const isSidebarOpen = window.matchMedia(`only screen and (min-width: 576px)`).matches;
4023
- return (jsxRuntime.jsx(reactChrome.Chrome, Object.assign({ isFluid: true, hue: theme.palette.white }, { children: jsxRuntime.jsxs(Body$1, { children: [jsxRuntime.jsx(AppHeader, { isLoading: true }), jsxRuntime.jsxs(Content$1, { children: [jsxRuntime.jsx(Sidebar, { isExpanded: isSidebarOpen, isLoading: true }), jsxRuntime.jsxs(Main$1, { children: [jsxRuntime.jsx(Skeleton, { width: "30%", height: "32px", style: { marginTop: theme.space.sm, marginLeft: theme.space.sm } }), jsxRuntime.jsx(StyledHr, { style: { margin: "24px 0" } }), jsxRuntime.jsxs(Row$1, { children: [jsxRuntime.jsx(Col, Object.assign({ xs: 12, md: 6, lg: 3 }, { children: jsxRuntime.jsx(CampaignCard, { isLoading: true, projectTitle: "", campaignTitle: "", date: "" }) })), jsxRuntime.jsx(Col, Object.assign({ xs: 12, md: 6, lg: 3 }, { children: jsxRuntime.jsx(CampaignCard, { isLoading: true, projectTitle: "", campaignTitle: "", date: "" }) })), jsxRuntime.jsx(Col, Object.assign({ xs: 12, md: 6, lg: 3 }, { children: jsxRuntime.jsx(CampaignCard, { isLoading: true, projectTitle: "", campaignTitle: "", date: "" }) })), jsxRuntime.jsx(Col, Object.assign({ xs: 12, md: 6, lg: 3 }, { children: jsxRuntime.jsx(CampaignCard, { isLoading: true, projectTitle: "", campaignTitle: "", date: "" }) }))] })] })] })] }) })));
4024
- };
4025
-
4026
- /**
4027
- * Title is a basic component used to display a title. Often used in card headers.
4028
- */
4029
- const Title = (props) => jsxRuntime.jsx(reactNotifications.Title, Object.assign({}, props));
4030
-
4031
- function debounce(callback, wait) {
4032
- let timer;
4033
- return () => {
4034
- if (typeof timer !== "undefined")
4035
- clearTimeout(timer);
4036
- timer = setTimeout(() => {
4037
- timer = undefined;
4038
- callback();
4039
- }, wait);
4040
- };
4041
- }
4042
- function useWindowSize() {
4043
- const [size, setSize] = React.useState({
4044
- width: window.innerWidth,
4045
- height: window.innerHeight,
4046
- });
4047
- React.useLayoutEffect(() => {
4048
- const debounceUpdateSize = debounce(function () {
4049
- setSize({ width: window.innerWidth, height: window.innerHeight });
4050
- }, 300);
4051
- window.addEventListener("resize", debounceUpdateSize);
4052
- debounceUpdateSize();
4053
- return () => window.removeEventListener("resize", debounceUpdateSize);
4054
- }, []);
4055
- return size;
4056
- }
4057
-
4058
- const StyledCard = styled__default["default"](ContainerCard) `
4059
- @media screen and (max-width: ${theme.breakpoints.sm}) {
4060
- border: 0;
4061
- }
4062
- `;
4063
- /**
4064
- * Login Form
4065
- * <hr>
4066
- * Used for this:
4067
- - Login user to the application
4068
- */
4069
- const LoginForm = (props) => {
4070
- const { width } = useWindowSize();
4071
- const breakpointMd = parseInt(theme.breakpoints.md, 10);
4072
- return (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsxs(StyledCard, Object.assign({}, (width > breakpointMd && { isFloating: true }), props.card, { children: [jsxRuntime.jsx(Title, Object.assign({ style: {
4073
- textAlign: "center",
4074
- marginTop: theme.space.sm,
4075
- marginBottom: theme.space.lg,
4076
- } }, { children: jsxRuntime.jsx(XL, Object.assign({ style: { color: theme.palette.blue[600] } }, { children: props.title })) })), jsxRuntime.jsx(formik.Formik, Object.assign({}, props, { initialValues: props.initialValues, onSubmit: props.onSubmit, validate: props.validate }, { children: ({ values, status, errors, touched, handleChange, handleSubmit, isSubmitting, }) => {
4077
- return (jsxRuntime.jsxs(formik.Form, Object.assign({ onSubmit: handleSubmit }, { children: [jsxRuntime.jsxs(Field, { children: [jsxRuntime.jsx(Input, Object.assign({ type: "email", name: "email", placeholder: props.placeholderEmail, onChange: handleChange, value: values.email }, (errors && errors.email
4078
- ? { validation: "error" }
4079
- : touched.email
4080
- ? { validation: "success" }
4081
- : ""))), errors.email ? (jsxRuntime.jsx(Message, Object.assign({ validation: "error" }, { children: errors.email }))) : ("")] }), jsxRuntime.jsxs(Field, Object.assign({ style: { marginTop: theme.space.md } }, { children: [jsxRuntime.jsx(Input, Object.assign({ type: "password", name: "password", placeholder: props.placeholderPassword, onChange: handleChange, value: values.password }, (errors && errors.password
4082
- ? { validation: "error" }
4083
- : touched.password
4084
- ? { validation: "success" }
4085
- : ""))), errors.password && (jsxRuntime.jsx(Message, Object.assign({ validation: "error" }, { children: errors.password }))), props.passwordForgotLink && (jsxRuntime.jsx(reactForms.Hint, Object.assign({ style: { textAlign: "right" } }, { children: jsxRuntime.jsx(Anchor, Object.assign({ href: props.passwordForgotLink, style: { color: theme.palette.grey[500] } }, { children: props.passwordForgotLabel || "Forgot Password?" })) })))] })), jsxRuntime.jsx("br", {}), jsxRuntime.jsx(Button, Object.assign({ type: "submit", isStretched: true, disabled: Object.keys(errors).length
4086
- ? true
4087
- : isSubmitting
4088
- ? true
4089
- : false, isPrimary: true, isAccent: true, style: { marginBottom: theme.space.md } }, { children: props.buttonText })), status && (jsxRuntime.jsx("div", Object.assign({ style: { textAlign: "center" } }, { children: jsxRuntime.jsx(Message, Object.assign({ validation: "error" }, { children: status.message })) })))] })));
4090
- } }))] })), props.onBackClick && (jsxRuntime.jsxs(Button, Object.assign({ onClick: props.onBackClick, isBasic: true, style: { marginTop: theme.space.md } }, { children: [jsxRuntime.jsx(Button.StartIcon, { children: jsxRuntime.jsx(SvgChevronLeftStroke, {}) }), props.backToLabel || "Back to UNGUESS"] })))] }));
4091
- };
4092
-
4093
- var _path$g;
4094
- function _extends$i() { _extends$i = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$i.apply(this, arguments); }
4095
- var SvgPlus = function SvgPlus(props) {
4096
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$i({
4097
- width: 16,
4098
- height: 16,
4099
- viewBox: "0 0 16 16",
4100
- fill: "none",
4101
- xmlns: "http://www.w3.org/2000/svg"
4102
- }, props), _path$g || (_path$g = /*#__PURE__*/React__namespace.createElement("path", {
4103
- fillRule: "evenodd",
4104
- clipRule: "evenodd",
4105
- d: "M7.5 2C7.22386 2 7 2.22386 7 2.5V8H1.5C1.22386 8 1 8.22386 1 8.5C1 8.77614 1.22386 9 1.5 9H7V14.5C7 14.7761 7.22386 15 7.5 15C7.77614 15 8 14.7761 8 14.5V9H13.5C13.7761 9 14 8.77614 14 8.5C14 8.22386 13.7761 8 13.5 8H8V2.5C8 2.22386 7.77614 2 7.5 2Z",
4106
- fill: "#68737D"
4107
- })));
4108
- };
4109
-
4110
- const CustomItem$1 = reactDropdowns.Item;
4111
- const GridAdd = styled__default["default"](SvgPlus) `
4112
- display: flex;
4113
- position: absolute;
4114
- top: 0;
4115
- left: 12px;
4116
- align-items: center;
4117
- justify-content: center;
4118
- width: 16px;
4119
- height: calc(20px + 16px);
4120
- `;
4121
- const AddableItem = (props) => {
4122
- return (jsxRuntime.jsxs(CustomItem$1, Object.assign({ onClick: props.onClick, addable: true, disabled: true }, { children: [jsxRuntime.jsx(GridAdd, {}), props.label] })));
4123
- };
4124
-
4125
- const CustomItem = reactDropdowns.Item;
4126
- const Item = ({ option, checked, }) => {
4127
- return (jsxRuntime.jsx(CustomItem, Object.assign({ value: option, checked: checked }, { children: jsxRuntime.jsx("span", { children: option.label }) }), `${option.label}-${option.id}`));
4128
- };
4129
-
4130
- const DisabledItem = ({ label }) => (jsxRuntime.jsx(Item$1, Object.assign({ disabled: true }, { children: label })));
4131
- const MultiSelect = ({ options, onChange, creatable, i18n, maxItems, size, menuHeight, }) => {
4132
- var _a, _b, _c;
4133
- const [inputValue, setInputValue] = React.useState("");
4134
- const [matchingOptions, setMatchingOptions] = React.useState(options);
4135
- const itemToString = (item) => (item ? item.id : "");
4136
- React.useEffect(() => {
4137
- const matchedOptions = options.filter((option) => option.label
4138
- .trim()
4139
- .toLowerCase()
4140
- .indexOf(inputValue.trim().toLowerCase()) !== -1);
4141
- setMatchingOptions(matchedOptions);
4142
- }, [inputValue, options]);
4143
- return (jsxRuntime.jsxs(Dropdown, Object.assign({ inputValue: inputValue, selectedItems: options.filter((option) => option.selected), onSelect: (items) => onChange &&
4144
- onChange(options.map((o) => (Object.assign(Object.assign({}, o), { selected: items.some((i) => i.id === o.id) })))), downshiftProps: { itemToString }, onInputValueChange: (value) => setInputValue(value) }, { children: [jsxRuntime.jsxs(Field$1, { children: [jsxRuntime.jsx(Label, Object.assign({ hidden: true }, { children: (_a = i18n === null || i18n === void 0 ? void 0 : i18n.label) !== null && _a !== void 0 ? _a : "Multiselect" })), jsxRuntime.jsx(reactDropdowns.Multiselect, { placeholder: (_b = i18n === null || i18n === void 0 ? void 0 : i18n.placeholder) !== null && _b !== void 0 ? _b : "Select Items", renderShowMore: i18n === null || i18n === void 0 ? void 0 : i18n.showMore, isCompact: size !== "medium", maxItems: maxItems, renderItem: ({ value }) => (jsxRuntime.jsxs(reactTags.Tag, Object.assign({ isPill: true }, { children: [jsxRuntime.jsx("span", { children: value.label }), jsxRuntime.jsx(reactTags.Tag.Close, { onClick: () => onChange &&
4145
- onChange(options.map((o) => (Object.assign(Object.assign({}, o), { selected: o.selected && o.id !== value.id })))) })] }))) })] }), jsxRuntime.jsxs(Menu, { children: [jsxRuntime.jsxs("div", Object.assign({ style: { maxHeight: menuHeight !== null && menuHeight !== void 0 ? menuHeight : "200px" } }, { children: [matchingOptions.map((option) => {
4146
- const items = options
4147
- .filter((o) => o.selected)
4148
- .map((item) => itemToString(item));
4149
- return (jsxRuntime.jsx(Item, { option: option, checked: items.includes(itemToString(option)) }));
4150
- }), matchingOptions.length === 0 && (jsxRuntime.jsx(DisabledItem, { label: (_c = i18n === null || i18n === void 0 ? void 0 : i18n.noMatches) !== null && _c !== void 0 ? _c : "No matches found" }))] })), creatable &&
4151
- inputValue.length > 0 &&
4152
- !matchingOptions.find((item) => item.label.toLowerCase() === inputValue.toLowerCase()) ? (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsx(Separator, {}), jsxRuntime.jsx(AddableItem, { onClick: () => __awaiter(void 0, void 0, void 0, function* () {
4153
- onChange && (yield onChange(options, inputValue));
4154
- setInputValue("");
4155
- }), label: (i18n === null || i18n === void 0 ? void 0 : i18n.addNew)
4156
- ? i18n.addNew(inputValue)
4157
- : `Want to add ${inputValue}?` })] })) : null] })] })));
4158
- };
4159
-
4160
- const StyledModal$1 = styled__default["default"](Modal) `
4161
- width: 100%;
4162
- height: 100%;
4163
- max-height: 100%;
4164
- border-radius: 0;
4165
- left: unset;
4166
- right: unset;
4167
- top: unset;
4168
- bottom: unset;
4169
- `;
4170
- const StyledHeader = styled__default["default"](Modal.Header) `
4171
- display: flex;
4172
- align-items: center;
4173
- justify-content: space-between;
4174
- flex-direction: row;
4175
- padding: ${({ theme }) => `${theme.space.sm} ${theme.space.base * 6}px`};
4176
-
4177
- @media (max-width: ${({ theme }) => theme.breakpoints.sm}) {
4178
- padding: ${({ theme }) => theme.space.md};
4179
- }
4180
- `;
4181
- const StyledBody$4 = styled__default["default"](Modal.Body) `
4182
- background-color: ${({ theme }) => theme.palette.grey["100"]};
4183
- padding: ${({ theme }) => `${theme.space.md} ${theme.space.base * 6}px`};
4184
-
4185
- @media (max-width: ${({ theme }) => theme.breakpoints.sm}) {
4186
- padding: ${({ theme }) => `${theme.space.lg} ${theme.space.md}`};
4187
- }
4188
- `;
4189
- const StyledFooter$1 = styled__default["default"](Modal.Footer) `
4190
- padding: ${({ theme }) => theme.space.base * 4}px
4191
- ${({ theme }) => theme.space.base * 6}px;
4192
- `;
4193
- const StyledModalClose = styled__default["default"](reactModals.Close) `
4194
- position: relative;
4195
- top: unset;
4196
- right: unset;
4197
- `;
4198
- const ModalFullScreen = (props) => jsxRuntime.jsx(StyledModal$1, Object.assign({}, props));
4199
- ModalFullScreen.Header = StyledHeader;
4200
- ModalFullScreen.Body = StyledBody$4;
4201
- ModalFullScreen.Footer = StyledFooter$1;
4202
- ModalFullScreen.Close = StyledModalClose;
4203
- ModalFullScreen.FooterItem = FooterItem;
4204
-
4205
- /**
4206
- * The Chrome component provides a high-level layout structure and sets a framework for navigating around Zendesk products.
4207
- * <br>
4208
- * Used for this:
4209
- - To give a consistent dashboard and navigation experience
4210
- */
4211
- const Chrome = (props) => jsxRuntime.jsx(reactChrome.Chrome, Object.assign({}, props));
3953
+ /**
3954
+ * The Chrome component provides a high-level layout structure and sets a framework for navigating around Zendesk products.
3955
+ * <br>
3956
+ * Used for this:
3957
+ - To give a consistent dashboard and navigation experience
3958
+ */
3959
+ const Chrome = (props) => jsxRuntime.jsx(reactChrome.Chrome, Object.assign({}, props));
4212
3960
 
4213
3961
  const NOTIFICATION_COMPONENT_ID = "notifications.notification";
4214
3962
  const CLOSE_COMPONENT_ID = "notifications.notification.close";
4215
3963
  const CLOSE_ICON_COMPONENT_ID = "notifications.notification.close-icon";
4216
3964
  const TITLE_COMPONENT_ID = "notifications.notification.title";
4217
- const UgClose = styled__default["default"](Close).attrs({
4218
- "data-custom-id": CLOSE_ICON_COMPONENT_ID,
3965
+ const UgClose = styled__default["default"](Close).attrs((props) => {
3966
+ var _a;
3967
+ return ({
3968
+ "data-custom-id": (_a = props["data-custom-id"]) !== null && _a !== void 0 ? _a : CLOSE_ICON_COMPONENT_ID,
3969
+ });
4219
3970
  }) `
4220
3971
  ${(props) => reactTheming.retrieveComponentStyles(CLOSE_ICON_COMPONENT_ID, props)};
4221
3972
  `;
4222
- const UgAnchor = styled__default["default"](reactButtons.Anchor).attrs({
4223
- "data-custom-id": CLOSE_COMPONENT_ID,
3973
+ const UgAnchor = styled__default["default"](reactButtons.Anchor).attrs((props) => {
3974
+ var _a;
3975
+ return ({
3976
+ "data-custom-id": (_a = props["data-custom-id"]) !== null && _a !== void 0 ? _a : CLOSE_COMPONENT_ID,
3977
+ });
4224
3978
  }) `
4225
3979
  ${(props) => reactTheming.retrieveComponentStyles(CLOSE_COMPONENT_ID, props)};
4226
3980
  `;
4227
- const UgTitle = styled__default["default"](Title).attrs({
4228
- "data-custom-id": TITLE_COMPONENT_ID,
3981
+ const UgTitle = styled__default["default"](Title).attrs((props) => {
3982
+ var _a;
3983
+ return ({
3984
+ "data-custom-id": (_a = props["data-custom-id"]) !== null && _a !== void 0 ? _a : TITLE_COMPONENT_ID,
3985
+ });
4229
3986
  }) `
4230
3987
  ${(props) => reactTheming.retrieveComponentStyles(TITLE_COMPONENT_ID, props)};
4231
3988
  `;
@@ -6070,7 +5827,6 @@ exports.NextItem = NextItem;
6070
5827
  exports.Notification = Notification;
6071
5828
  exports.OrderedList = OrderedList;
6072
5829
  exports.PageHeader = PageHeader;
6073
- exports.PageLoader = PageLoader;
6074
5830
  exports.Pagination = Pagination;
6075
5831
  exports.Paragraph = Paragraph;
6076
5832
  exports.PieChart = PieChart;
@@ -6087,7 +5843,6 @@ exports.Select = Select;
6087
5843
  exports.SentimentChart = SentimentChart;
6088
5844
  exports.Separator = Separator;
6089
5845
  exports.ServiceCard = ServiceCard;
6090
- exports.Sidebar = Sidebar;
6091
5846
  exports.Skeleton = Skeleton;
6092
5847
  exports.Slider = Slider;
6093
5848
  exports.Span = Span;