@appquality/unguess-design-system 2.8.3 → 2.8.6

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 (207) hide show
  1. package/.github/workflows/storybook.yml +37 -37
  2. package/.prettierrc +3 -3
  3. package/CHANGELOG.md +586 -550
  4. package/README.md +73 -73
  5. package/generate-story.sh +60 -60
  6. package/package.json +119 -119
  7. package/build/hooks/useWindowSize.d.ts +0 -4
  8. package/build/index.d.ts +0 -63
  9. package/build/index.js +0 -2135
  10. package/build/stories/accordions/_types.d.ts +0 -25
  11. package/build/stories/accordions/index.d.ts +0 -17
  12. package/build/stories/accordions/index.stories.d.ts +0 -21
  13. package/build/stories/avatar/_types.d.ts +0 -19
  14. package/build/stories/avatar/index.d.ts +0 -13
  15. package/build/stories/avatar/index.stories.d.ts +0 -10
  16. package/build/stories/breadcrumbs/_types.d.ts +0 -5
  17. package/build/stories/breadcrumbs/index.d.ts +0 -11
  18. package/build/stories/breadcrumbs/index.stories.d.ts +0 -6
  19. package/build/stories/buttons/anchor/_types.d.ts +0 -11
  20. package/build/stories/buttons/anchor/index.d.ts +0 -12
  21. package/build/stories/buttons/anchor/index.stories.d.ts +0 -8
  22. package/build/stories/buttons/button/_types.d.ts +0 -30
  23. package/build/stories/buttons/button/index.d.ts +0 -22
  24. package/build/stories/buttons/button/index.stories.d.ts +0 -19
  25. package/build/stories/buttons/button-group/_types.d.ts +0 -5
  26. package/build/stories/buttons/button-group/index.d.ts +0 -9
  27. package/build/stories/buttons/button-group/index.stories.d.ts +0 -15
  28. package/build/stories/buttons/icon-button/_types.d.ts +0 -19
  29. package/build/stories/buttons/icon-button/index.d.ts +0 -14
  30. package/build/stories/buttons/icon-button/index.stories.d.ts +0 -9
  31. package/build/stories/buttons/shared/_shared.d.ts +0 -2
  32. package/build/stories/buttons/split-button/_types.d.ts +0 -2
  33. package/build/stories/buttons/split-button/index.d.ts +0 -11
  34. package/build/stories/buttons/split-button/index.stories.d.ts +0 -6
  35. package/build/stories/buttons/utils/useButtonVariant.d.ts +0 -5
  36. package/build/stories/campaignCards/_types.d.ts +0 -43
  37. package/build/stories/campaignCards/index.d.ts +0 -4
  38. package/build/stories/campaignCards/index.stories.d.ts +0 -7
  39. package/build/stories/cards/_types.d.ts +0 -7
  40. package/build/stories/cards/index.d.ts +0 -10
  41. package/build/stories/cards/index.stories.d.ts +0 -11
  42. package/build/stories/close/_types.d.ts +0 -3
  43. package/build/stories/close/index.d.ts +0 -7
  44. package/build/stories/close/index.stories.d.ts +0 -6
  45. package/build/stories/counter/_types.d.ts +0 -5
  46. package/build/stories/counter/index.d.ts +0 -13
  47. package/build/stories/counter/index.stories.d.ts +0 -15
  48. package/build/stories/dropdowns/field/_types.d.ts +0 -2
  49. package/build/stories/dropdowns/field/index.d.ts +0 -4
  50. package/build/stories/dropdowns/item/_types.d.ts +0 -9
  51. package/build/stories/dropdowns/item/index.d.ts +0 -4
  52. package/build/stories/dropdowns/menu/_types.d.ts +0 -47
  53. package/build/stories/dropdowns/menu/index.d.ts +0 -14
  54. package/build/stories/dropdowns/menu/index.stories.d.ts +0 -6
  55. package/build/stories/dropdowns/multiselect/_types.d.ts +0 -17
  56. package/build/stories/dropdowns/multiselect/index.d.ts +0 -11
  57. package/build/stories/dropdowns/multiselect/index.stories.d.ts +0 -21
  58. package/build/stories/dropdowns/select/_types.d.ts +0 -31
  59. package/build/stories/dropdowns/select/index.d.ts +0 -16
  60. package/build/stories/dropdowns/select/index.stories.d.ts +0 -20
  61. package/build/stories/forms/checkbox/_types.d.ts +0 -8
  62. package/build/stories/forms/checkbox/index.d.ts +0 -14
  63. package/build/stories/forms/checkbox/index.stories.d.ts +0 -6
  64. package/build/stories/forms/field/_types.d.ts +0 -3
  65. package/build/stories/forms/field/index.d.ts +0 -8
  66. package/build/stories/forms/field/index.stories.d.ts +0 -6
  67. package/build/stories/forms/input/_types.d.ts +0 -9
  68. package/build/stories/forms/input/index.d.ts +0 -11
  69. package/build/stories/forms/input/index.stories.d.ts +0 -9
  70. package/build/stories/forms/radio/_types.d.ts +0 -3
  71. package/build/stories/forms/radio/index.d.ts +0 -14
  72. package/build/stories/forms/radio/index.stories.d.ts +0 -7
  73. package/build/stories/forms/textarea/_types.d.ts +0 -15
  74. package/build/stories/forms/textarea/index.d.ts +0 -10
  75. package/build/stories/forms/textarea/index.stories.d.ts +0 -8
  76. package/build/stories/forms/toggle/_types.d.ts +0 -3
  77. package/build/stories/forms/toggle/index.d.ts +0 -13
  78. package/build/stories/forms/toggle/index.stories.d.ts +0 -10
  79. package/build/stories/grid/col/_types.d.ts +0 -77
  80. package/build/stories/grid/col/index.d.ts +0 -4
  81. package/build/stories/grid/col/index.stories.d.ts +0 -8
  82. package/build/stories/grid/grid/_types.d.ts +0 -9
  83. package/build/stories/grid/grid/index.d.ts +0 -10
  84. package/build/stories/grid/grid/index.stories.d.ts +0 -12
  85. package/build/stories/grid/row/_types.d.ts +0 -48
  86. package/build/stories/grid/row/index.d.ts +0 -4
  87. package/build/stories/grid/row/index.stories.d.ts +0 -10
  88. package/build/stories/icons/_types.d.ts +0 -7
  89. package/build/stories/icons/index.d.ts +0 -4
  90. package/build/stories/icons/index.stories.d.ts +0 -6
  91. package/build/stories/label/_types.d.ts +0 -5
  92. package/build/stories/label/index.d.ts +0 -8
  93. package/build/stories/label/index.stories.d.ts +0 -7
  94. package/build/stories/loaders/progress/_types.d.ts +0 -12
  95. package/build/stories/loaders/progress/index.d.ts +0 -14
  96. package/build/stories/loaders/progress/index.stories.d.ts +0 -6
  97. package/build/stories/loaders/skeleton/_types.d.ts +0 -9
  98. package/build/stories/loaders/skeleton/index.d.ts +0 -17
  99. package/build/stories/loaders/skeleton/index.stories.d.ts +0 -7
  100. package/build/stories/loaders/spinner/_types.d.ts +0 -19
  101. package/build/stories/loaders/spinner/index.d.ts +0 -11
  102. package/build/stories/loaders/spinner/index.stories.d.ts +0 -6
  103. package/build/stories/login-form/_types.d.ts +0 -29
  104. package/build/stories/login-form/index.d.ts +0 -10
  105. package/build/stories/login-form/index.stories.d.ts +0 -7
  106. package/build/stories/logo/_types.d.ts +0 -9
  107. package/build/stories/logo/index.d.ts +0 -13
  108. package/build/stories/logo/index.stories.d.ts +0 -6
  109. package/build/stories/modals/_types.d.ts +0 -34
  110. package/build/stories/modals/index.d.ts +0 -11
  111. package/build/stories/modals/index.stories.d.ts +0 -19
  112. package/build/stories/navigation/app-header/_types.d.ts +0 -18
  113. package/build/stories/navigation/app-header/index.d.ts +0 -8
  114. package/build/stories/navigation/app-header/index.stories.d.ts +0 -6
  115. package/build/stories/navigation/body/_types.d.ts +0 -5
  116. package/build/stories/navigation/body/index.d.ts +0 -7
  117. package/build/stories/navigation/chrome/_types.d.ts +0 -7
  118. package/build/stories/navigation/chrome/index.d.ts +0 -10
  119. package/build/stories/navigation/content/_types.d.ts +0 -2
  120. package/build/stories/navigation/content/index.d.ts +0 -7
  121. package/build/stories/navigation/header/_types.d.ts +0 -5
  122. package/build/stories/navigation/header/header-item/_types.d.ts +0 -32
  123. package/build/stories/navigation/header/header-item/brandItem.d.ts +0 -4
  124. package/build/stories/navigation/header/header-item/headerItem.d.ts +0 -4
  125. package/build/stories/navigation/header/header-item/headerItemIcon.d.ts +0 -4
  126. package/build/stories/navigation/header/header-item/headerItemText.d.ts +0 -4
  127. package/build/stories/navigation/header/header-item/index.d.ts +0 -5
  128. package/build/stories/navigation/header/header-item/utils.d.ts +0 -13
  129. package/build/stories/navigation/header/index.d.ts +0 -13
  130. package/build/stories/navigation/main/_types.d.ts +0 -2
  131. package/build/stories/navigation/main/index.d.ts +0 -7
  132. package/build/stories/navigation/nav/_types.d.ts +0 -5
  133. package/build/stories/navigation/nav/index.d.ts +0 -10
  134. package/build/stories/navigation/nav/nav-item/_types.d.ts +0 -29
  135. package/build/stories/navigation/nav/nav-item/index.d.ts +0 -7
  136. package/build/stories/navigation/nav/nav-item/navDivider.d.ts +0 -4
  137. package/build/stories/navigation/nav/nav-item/navItem.d.ts +0 -4
  138. package/build/stories/navigation/nav/nav-item/navItemIcon.d.ts +0 -4
  139. package/build/stories/navigation/nav/nav-item/navItemProject.d.ts +0 -8
  140. package/build/stories/navigation/nav/nav-item/navItemText.d.ts +0 -4
  141. package/build/stories/navigation/nav/nav-item/navToggle.d.ts +0 -4
  142. package/build/stories/navigation/sidebar/_types.d.ts +0 -17
  143. package/build/stories/navigation/sidebar/index.d.ts +0 -10
  144. package/build/stories/navigation/sidebar/index.stories.d.ts +0 -9
  145. package/build/stories/notifications/_types.d.ts +0 -9
  146. package/build/stories/notifications/index.d.ts +0 -20
  147. package/build/stories/notifications/index.stories.d.ts +0 -10
  148. package/build/stories/page/index.d.ts +0 -8
  149. package/build/stories/page/index.stories.d.ts +0 -6
  150. package/build/stories/pagination/_types.d.ts +0 -34
  151. package/build/stories/pagination/index.d.ts +0 -17
  152. package/build/stories/pagination/index.stories.d.ts +0 -7
  153. package/build/stories/profile-modal/UserContainer.d.ts +0 -3
  154. package/build/stories/profile-modal/_types.d.ts +0 -41
  155. package/build/stories/profile-modal/helpMenuItem.d.ts +0 -18
  156. package/build/stories/profile-modal/index.d.ts +0 -11
  157. package/build/stories/profile-modal/index.stories.d.ts +0 -6
  158. package/build/stories/profile-modal/languageMenuItem.d.ts +0 -14
  159. package/build/stories/profile-modal/menuItem.d.ts +0 -11
  160. package/build/stories/profile-modal/menuItemIcon.d.ts +0 -9
  161. package/build/stories/profile-modal/previousMenuButton.d.ts +0 -3
  162. package/build/stories/profile-modal/userMenu.d.ts +0 -3
  163. package/build/stories/profile-modal/utils.d.ts +0 -1
  164. package/build/stories/shared/globalStyle.d.ts +0 -2
  165. package/build/stories/table/_types.d.ts +0 -83
  166. package/build/stories/table/grouped.d.ts +0 -5
  167. package/build/stories/table/index.d.ts +0 -21
  168. package/build/stories/table/index.stories.d.ts +0 -18
  169. package/build/stories/tags/_types.d.ts +0 -17
  170. package/build/stories/tags/index.d.ts +0 -22
  171. package/build/stories/tags/index.stories.d.ts +0 -19
  172. package/build/stories/theme/gradients.d.ts +0 -4
  173. package/build/stories/theme/index.d.ts +0 -244
  174. package/build/stories/theme/mixins.d.ts +0 -3
  175. package/build/stories/theme/palette.d.ts +0 -141
  176. package/build/stories/theme/palette.stories.d.ts +0 -15
  177. package/build/stories/theme/utils.d.ts +0 -3
  178. package/build/stories/tiles/_types.d.ts +0 -12
  179. package/build/stories/tiles/index.d.ts +0 -22
  180. package/build/stories/tiles/index.stories.d.ts +0 -25
  181. package/build/stories/title/_types.d.ts +0 -5
  182. package/build/stories/title/index.d.ts +0 -7
  183. package/build/stories/title/index.stories.d.ts +0 -6
  184. package/build/stories/trigger/_types.d.ts +0 -3
  185. package/build/stories/trigger/index.d.ts +0 -7
  186. package/build/stories/typography/block-quote/_types.d.ts +0 -5
  187. package/build/stories/typography/block-quote/index.d.ts +0 -7
  188. package/build/stories/typography/block-quote/index.stories.d.ts +0 -5
  189. package/build/stories/typography/code/_types.d.ts +0 -7
  190. package/build/stories/typography/code/index.d.ts +0 -7
  191. package/build/stories/typography/code/index.stories.d.ts +0 -8
  192. package/build/stories/typography/ellipsis/_types.d.ts +0 -9
  193. package/build/stories/typography/ellipsis/index.d.ts +0 -7
  194. package/build/stories/typography/ellipsis/index.stories.d.ts +0 -5
  195. package/build/stories/typography/lists/_types.d.ts +0 -17
  196. package/build/stories/typography/lists/index.d.ts +0 -16
  197. package/build/stories/typography/lists/ordered.stories.d.ts +0 -9
  198. package/build/stories/typography/lists/unordered.stories.d.ts +0 -9
  199. package/build/stories/typography/paragraph/_types.d.ts +0 -5
  200. package/build/stories/typography/paragraph/index.d.ts +0 -7
  201. package/build/stories/typography/paragraph/index.stories.d.ts +0 -6
  202. package/build/stories/typography/span/_types.d.ts +0 -13
  203. package/build/stories/typography/span/index.d.ts +0 -13
  204. package/build/stories/typography/span/index.stories.d.ts +0 -6
  205. package/build/stories/typography/typescale/_types.d.ts +0 -43
  206. package/build/stories/typography/typescale/index.d.ts +0 -12
  207. package/build/stories/typography/typescale/index.stories.d.ts +0 -5
package/build/index.js DELETED
@@ -1,2135 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- var styled = require('styled-components');
6
- var reactTheming = require('@zendeskgarden/react-theming');
7
- var jsxRuntime = require('react/jsx-runtime');
8
- var reactAccordions = require('@zendeskgarden/react-accordions');
9
- var reactAvatars = require('@zendeskgarden/react-avatars');
10
- var reactBreadcrumbs = require('@zendeskgarden/react-breadcrumbs');
11
- var reactButtons = require('@zendeskgarden/react-buttons');
12
- var reactNotifications = require('@zendeskgarden/react-notifications');
13
- var reactTags = require('@zendeskgarden/react-tags');
14
- var reactForms = require('@zendeskgarden/react-forms');
15
- var React = require('react');
16
- var reactDropdowns = require('@zendeskgarden/react-dropdowns');
17
- var reactGrid = require('@zendeskgarden/react-grid');
18
- var reactLoaders = require('@zendeskgarden/react-loaders');
19
- var formik = require('formik');
20
- var reactTypography = require('@zendeskgarden/react-typography');
21
- var reactModals = require('@zendeskgarden/react-modals');
22
- var reactChrome = require('@zendeskgarden/react-chrome');
23
- var reactPagination = require('@zendeskgarden/react-pagination');
24
- var reactTables = require('@zendeskgarden/react-tables');
25
- var reactSpring = require('react-spring');
26
-
27
- function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
28
-
29
- function _interopNamespace(e) {
30
- if (e && e.__esModule) return e;
31
- var n = Object.create(null);
32
- if (e) {
33
- Object.keys(e).forEach(function (k) {
34
- if (k !== 'default') {
35
- var d = Object.getOwnPropertyDescriptor(e, k);
36
- Object.defineProperty(n, k, d.get ? d : {
37
- enumerable: true,
38
- get: function () { return e[k]; }
39
- });
40
- }
41
- });
42
- }
43
- n["default"] = e;
44
- return Object.freeze(n);
45
- }
46
-
47
- var styled__default = /*#__PURE__*/_interopDefaultLegacy(styled);
48
- var React__namespace = /*#__PURE__*/_interopNamespace(React);
49
-
50
- /*! *****************************************************************************
51
- Copyright (c) Microsoft Corporation.
52
-
53
- Permission to use, copy, modify, and/or distribute this software for any
54
- purpose with or without fee is hereby granted.
55
-
56
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
57
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
58
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
59
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
60
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
61
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
62
- PERFORMANCE OF THIS SOFTWARE.
63
- ***************************************************************************** */
64
-
65
- var __assign = function() {
66
- __assign = Object.assign || function __assign(t) {
67
- for (var s, i = 1, n = arguments.length; i < n; i++) {
68
- s = arguments[i];
69
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
70
- }
71
- return t;
72
- };
73
- return __assign.apply(this, arguments);
74
- };
75
-
76
- function __rest(s, e) {
77
- var t = {};
78
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
79
- t[p] = s[p];
80
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
81
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
82
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
83
- t[p[i]] = s[p[i]];
84
- }
85
- return t;
86
- }
87
-
88
- function __makeTemplateObject(cooked, raw) {
89
- if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
90
- return cooked;
91
- }
92
-
93
- var palette = __assign(__assign({}, reactTheming.DEFAULT_THEME.palette), { black: "#000", white: "#fff", product: {
94
- support: "#00a656",
95
- message: "#37b8af",
96
- explore: "#30aabc",
97
- gather: "#f6c8be",
98
- guide: "#ff6224",
99
- connect: "#ff6224",
100
- chat: "#f79a3e",
101
- talk: "#efc93d",
102
- sell: "#c38f00",
103
- }, grey: {
104
- "100": "#f8f9f9",
105
- "200": "#e9ebed",
106
- "300": "#d8dcde",
107
- "400": "#c2c8cc",
108
- "500": "#87929d",
109
- "600": "#68737d",
110
- "700": "#49545c",
111
- "800": "#2f3941",
112
- }, blue: {
113
- "100": "#E6EBEE",
114
- "200": "#B0C2CB",
115
- "300": "#8AA4B2",
116
- "400": "#547B8E",
117
- "500": "#336179",
118
- "600": "#003A57",
119
- "700": "#00293E",
120
- "800": "#001825",
121
- }, red: {
122
- "100": "#F9E2E1",
123
- "200": "#F3C5C4",
124
- "300": "#EA9B99",
125
- "400": "#E2716F",
126
- "500": "#DB4D50",
127
- "600": "#D53032",
128
- "700": "#A92329",
129
- "800": "#771823",
130
- }, yellow: {
131
- "100": "#FEF6E7",
132
- "200": "#FDEDCE",
133
- "300": "#FBE1AC",
134
- "400": "#F9CF7B",
135
- "500": "#F7BF50",
136
- "600": "#F4AC1A",
137
- "700": "#D1820A",
138
- "800": "#A15908",
139
- }, green: {
140
- "100": "#D7F9E5",
141
- "200": "#ABF2C7",
142
- "300": "#7FEBAA",
143
- "400": "#53E48D",
144
- "500": "#27DD70",
145
- "600": "#1CB559",
146
- "700": "#158944",
147
- "800": "#0E5D2E",
148
- }, kale: {
149
- "100": "#f1f9f3",
150
- "200": "#d3ecdb",
151
- "300": "#9fd7b1",
152
- "400": "#70c38a",
153
- "500": "#66b17e",
154
- "600": "#508a62",
155
- "700": "#3e6b4c",
156
- "800": "#2f523a",
157
- }, fuschia: {
158
- "400": "#d653c2",
159
- "600": "#a81897",
160
- M400: "#cf62a8",
161
- M600: "#a8458c",
162
- }, pink: {
163
- "400": "#ec4d63",
164
- "600": "#d42054",
165
- M400: "#d57287",
166
- M600: "#b23a5d",
167
- }, crimson: {
168
- "400": "#e34f32",
169
- "600": "#c72a1c",
170
- M400: "#cc6c5b",
171
- M600: "#b24a3c",
172
- }, orange: {
173
- "400": "#de701d",
174
- "600": "#bf5000",
175
- M400: "#d4772c",
176
- M600: "#b35827",
177
- }, lemon: {
178
- "400": "#ffd424",
179
- "600": "#ffbb10",
180
- M400: "#e7a500",
181
- M600: "#c38f00",
182
- }, lime: {
183
- "400": "#43b324",
184
- "600": "#2e8200",
185
- M400: "#519e2d",
186
- M600: "#47782c",
187
- }, mint: {
188
- "400": "#00a656",
189
- "600": "#058541",
190
- M400: "#299c66",
191
- M600: "#2e8057",
192
- }, teal: {
193
- "400": "#02a191",
194
- "600": "#028079",
195
- M400: "#2d9e8f",
196
- M600: "#3c7873",
197
- }, azure: {
198
- "400": "#3091ec",
199
- "600": "#1371d6",
200
- M400: "#5f8dcf",
201
- M600: "#3a70b2",
202
- }, royal: {
203
- "400": "#5d7df5",
204
- "600": "#3353e2",
205
- M400: "#7986d8",
206
- M600: "#4b61c3",
207
- }, purple: {
208
- "400": "#b552e2",
209
- "600": "#6a27b8",
210
- M400: "#b072cc",
211
- M600: "#9358b0",
212
- } });
213
-
214
- var hex2rgba = function (hex, alpha) {
215
- if (alpha === void 0) { alpha = 1; }
216
- var rgb = hex.match(/\w\w/g);
217
- var _a = rgb ? rgb.map(function (x) { return parseInt(x, 16); }) : [0, 0, 0], r = _a[0], g = _a[1], b = _a[2];
218
- return "rgba(".concat(r, ",").concat(g, ",").concat(b, ",").concat(alpha, ")");
219
- };
220
- var boxShadow = function (theme) {
221
- var space = theme.space, shadows = theme.shadows, palette = theme.palette;
222
- var offsetY = "".concat(space.base, "px");
223
- var blurRadius = "".concat(space.base * 2, "px");
224
- var shadowColor = reactTheming.getColor(palette.grey, 800, theme, 0.15);
225
- return shadows.lg(offsetY, blurRadius, shadowColor);
226
- };
227
-
228
- var gradients = {
229
- horizontal: "linear-gradient(90.81deg, ".concat(hex2rgba(palette.blue[600]), " 11.98%, ").concat(hex2rgba(palette.kale[400]), " 100%);"),
230
- dark: "linear-gradient(90.81deg, ".concat(hex2rgba(palette.blue[800]), " 0%, ").concat(hex2rgba(palette.blue[600]), " 100%);"),
231
- };
232
-
233
- var theme = __assign(__assign({}, reactTheming.DEFAULT_THEME), { palette: palette, fonts: __assign(__assign({}, reactTheming.DEFAULT_THEME.fonts), { system: '"Poppins",sans-serif,Helvetica,Arial,sans-serif' }), gradients: gradients, borderRadii: __assign(__assign({}, reactTheming.DEFAULT_THEME.borderRadii), { lg: "8px" }), components: __assign(__assign({}, reactTheming.DEFAULT_THEME.components), { Headers: __assign(__assign({}, reactTheming.DEFAULT_THEME.components.Headers), { height: "64px" }) }), shadows: __assign(__assign({}, reactTheming.DEFAULT_THEME.shadows), { boxShadow: boxShadow }) });
234
-
235
- var GlobalStyle = styled.createGlobalStyle(templateObject_1$L || (templateObject_1$L = __makeTemplateObject(["\n body {\n font-family: ", ";\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n }\n \n svg {\n max-height: 100%;\n }\n \n "], ["\n body {\n font-family: ", ";\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n }\n \n svg {\n max-height: 100%;\n }\n \n "])), theme.fonts.system);
236
- var templateObject_1$L;
237
-
238
- /**
239
- * Accordions are headers that can be expanded to reveal content or collapsed to hide it.
240
- * <hr>
241
- * Used for this:
242
- - To organize related information into sections
243
- - To surface information through progressive disclosure
244
- */
245
- var Accordion = function (props) { return jsxRuntime.jsx(reactAccordions.Accordion, __assign({}, props)); };
246
- Accordion.Section = reactAccordions.Accordion.Section;
247
- Accordion.Header = reactAccordions.Accordion.Header;
248
- Accordion.Label = reactAccordions.Accordion.Label;
249
- Accordion.Panel = reactAccordions.Accordion.Panel;
250
-
251
- // import useWindowSize from "../../hooks/useWindowSize";
252
- var UgAvatar = styled__default["default"](reactAvatars.Avatar)(templateObject_1$K || (templateObject_1$K = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), function (props) {
253
- return "\n background: ".concat(props.backgroundColor || theme.gradients.dark, ";\n ");
254
- });
255
- /**
256
- * An Avatar is a visual way to represent a person or brand in the product. They can display text, icons, or images.
257
- * <hr>
258
- * Used for this:
259
- - To visually represent a person, brand, or product
260
- */
261
- var Avatar = function (props) {
262
- var fixedBadge = props.badge && props.badge > 9 ? "9+" : props.badge;
263
- var wrapChildren = function (type) {
264
- if (type === "icon")
265
- return props.children;
266
- if (type === "image")
267
- return jsxRuntime.jsx("img", { alt: "avatar", src: props.children });
268
- if (type === "text")
269
- return jsxRuntime.jsx(Avatar.Text, { children: props.children });
270
- };
271
- // const { width } = useWindowSize();
272
- return (jsxRuntime.jsx(UgAvatar, __assign({}, props, { badge: fixedBadge, children: wrapChildren(props.avatarType || "text"), size: props.size || "small" })));
273
- };
274
- Avatar.Text = UgAvatar.Text;
275
- var templateObject_1$K;
276
-
277
- /**
278
- * Breadcrumbs mark and communicate a user’s location in the product.
279
- * <hr>
280
- * Used for this:
281
- - To show the user where they are in a nested navigation
282
- - To provide a quick way to navigate to ancestor pages
283
- */
284
- var Breadcrumb = function (props) { return jsxRuntime.jsx(reactBreadcrumbs.Breadcrumb, __assign({}, props)); };
285
-
286
- /**
287
- * The Anchor is a link that helps users navigate from one location to another.
288
- * <hr>
289
- * Used for this:
290
- - To navigate from one page to another
291
- - To navigate within a page
292
- - To display links alongside text
293
- */
294
- var Anchor = function (props) { return jsxRuntime.jsx(reactButtons.Anchor, __assign({}, props)); };
295
-
296
- var UgButton = styled__default["default"](reactButtons.Button)(templateObject_1$J || (templateObject_1$J = __makeTemplateObject([""], [""])));
297
- /**
298
- * Buttons let users take action quickly.
299
- * Use a Button to enable actions or decisions that are important to a user’s workflow.
300
- * <hr>
301
- * Used for this:
302
- - To enable user action
303
- - To draw attention to relevant actions in a user's workflow
304
- */
305
- var Button = function (props) { return jsxRuntime.jsx(UgButton, __assign({}, props)); };
306
- Button.StartIcon = UgButton.StartIcon;
307
- Button.EndIcon = UgButton.EndIcon;
308
- var templateObject_1$J;
309
-
310
- /**
311
- A Button group lets users make a selection from a set of options.
312
-
313
- This is a legacy component and may be deprecated in the future. UNGUESS does not presently recommend the use of Button groups.
314
- **/
315
- var ButtonGroup = function (props) { return (jsxRuntime.jsx(reactButtons.ButtonGroup, __assign({}, props))); };
316
-
317
- /**
318
- Icon buttons (like Buttons) let users take action.
319
- They are used for repeated or persistent actions on a page and lack visible labels to simplify the UI.
320
- <br>
321
- Do this: <b>Include a Tooltip to help any users who may be unfamiliar with the icon.</b>
322
- <hr>
323
- Used for this
324
- - To simplify the appearance of repeated or persistent actions on a page
325
- - To enable action in a toolbar
326
- **/
327
- var IconButton = function (props) { return (jsxRuntime.jsx(reactButtons.IconButton, __assign({}, props))); };
328
-
329
- /**
330
- A Split button is a hybrid between a Dropdown Menu and a Button. It lets users choose from parallel actions and take action on their choice.
331
- <hr>
332
- Used for this:
333
- - To let users select from multiple parallel actions. Actions are parallel when each represents a path forward for the user and none cancel the action.
334
- - To reduce visual complexity when there are multiple actions a user can take
335
- **/
336
- var SplitButton = function (props) { return (jsxRuntime.jsx(reactButtons.SplitButton, __assign({}, props))); };
337
-
338
- /**
339
- * A Card is a container that groups related content.
340
- * <hr>
341
- * Used for this:
342
- - To group related content
343
- */
344
- var Card = function (props) { return jsxRuntime.jsx(reactNotifications.Well, __assign({}, props)); };
345
-
346
- /**
347
- * Tags let users categorize content using a keyword.
348
-
349
- * Used for this:
350
- - To add metadata to an element such as category, attribute, or property
351
- - To communicate status
352
- - To represent parameters of a filter
353
-
354
- * Not for this:
355
- - To prompt an action by the user, use a Button instead
356
- */
357
- var Tag = function (props) { return jsxRuntime.jsx(reactTags.Tag, __assign({}, props)); };
358
- Tag.Avatar = reactTags.Tag.Avatar;
359
- Tag.Close = reactTags.Tag.Close;
360
-
361
- var UgLabel = styled__default["default"](reactForms.Label)(templateObject_1$I || (templateObject_1$I = __makeTemplateObject([""], [""])));
362
- /**
363
- * A Label is used to specify a title for an input.
364
- * <hr>
365
- **/
366
- var Label = function (props) { return jsxRuntime.jsx(UgLabel, __assign({}, props)); };
367
- var templateObject_1$I;
368
-
369
- var _g$4, _path$p, _path2$7, _path3$6, _path4$4, _path5$3, _path6$3, _path7$3, _path8$3, _path9$3, _path10$3, _path11$2;
370
-
371
- function _extends$r() { _extends$r = Object.assign || 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); }
372
-
373
- var SvgFunctionalTestRoundIcon = function SvgFunctionalTestRoundIcon(props) {
374
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$r({
375
- width: 24,
376
- height: 24,
377
- viewBox: "0 0 24 24",
378
- fill: "none",
379
- xmlns: "http://www.w3.org/2000/svg"
380
- }, props), _g$4 || (_g$4 = /*#__PURE__*/React__namespace.createElement("g", {
381
- opacity: 0.3
382
- }, /*#__PURE__*/React__namespace.createElement("path", {
383
- opacity: 0.3,
384
- 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",
385
- fill: "#003A57"
386
- }))), _path$p || (_path$p = /*#__PURE__*/React__namespace.createElement("path", {
387
- d: "M12.4871 3.1964C8.68009 3.1964 5.59901 6.27748 5.59901 10.0844C5.59901 10.2596 5.59901 10.4347 5.62445 10.5854C5.29863 11.1861 4.82313 12.0129 4.24684 12.5138C3.82123 12.8896 3.92102 13.2907 3.97091 13.4404C4.09615 13.7662 4.44641 14.0411 5.02271 14.2417C5.22328 14.3171 5.44831 14.367 5.64889 14.4169L5.67433 16.8463C5.67433 17.7983 6.47565 18.625 7.4531 18.625L8.9305 18.1495L9.08117 19.0262C9.18097 19.6025 9.68191 20.0281 10.2837 20.0281C10.359 20.0281 10.4343 20.0281 10.5087 20.0026L15.1425 19.1769C15.8185 19.0516 16.2441 18.4254 16.1444 17.7494L15.8185 16.1213C17.9975 14.9188 19.375 12.5891 19.375 10.0843C19.375 6.30267 16.2696 3.19629 12.487 3.19629L12.4871 3.1964Z",
388
- fill: "#003A57",
389
- stroke: "#003A57"
390
- })), _path2$7 || (_path2$7 = /*#__PURE__*/React__namespace.createElement("path", {
391
- fillRule: "evenodd",
392
- clipRule: "evenodd",
393
- d: "M6.39337 10.7688V10.1221H8.06755V10.7688H6.39337Z",
394
- fill: "#E6EBEE"
395
- })), _path3$6 || (_path3$6 = /*#__PURE__*/React__namespace.createElement("path", {
396
- fillRule: "evenodd",
397
- clipRule: "evenodd",
398
- d: "M7.29937 13.6066L6.98608 13.0474L8.43487 12.1846L8.74815 12.7437L7.29937 13.6066Z",
399
- fill: "#E6EBEE"
400
- })), _path4$4 || (_path4$4 = /*#__PURE__*/React__namespace.createElement("path", {
401
- fillRule: "evenodd",
402
- clipRule: "evenodd",
403
- d: "M8.43603 8.70472L6.98724 7.84334L7.30053 7.28418L8.74931 8.14556L8.43603 8.70472Z",
404
- fill: "#E6EBEE"
405
- })), _path5$3 || (_path5$3 = /*#__PURE__*/React__namespace.createElement("path", {
406
- fillRule: "evenodd",
407
- clipRule: "evenodd",
408
- d: "M16.6807 7.28418L16.994 7.84334L15.5452 8.70472L15.2319 8.14556L16.6807 7.28418Z",
409
- fill: "#E6EBEE"
410
- })), _path6$3 || (_path6$3 = /*#__PURE__*/React__namespace.createElement("path", {
411
- fillRule: "evenodd",
412
- clipRule: "evenodd",
413
- d: "M11.677 4.68066H12.305V6.40488H11.677V4.68066Z",
414
- fill: "#E6EBEE"
415
- })), _path7$3 || (_path7$3 = /*#__PURE__*/React__namespace.createElement("path", {
416
- fillRule: "evenodd",
417
- clipRule: "evenodd",
418
- d: "M9.46389 5.29102L10.3017 6.78309L9.75875 7.10574L8.92236 5.61367L9.46389 5.29102Z",
419
- fill: "#E6EBEE"
420
- })), _path8$3 || (_path8$3 = /*#__PURE__*/React__namespace.createElement("path", {
421
- fillRule: "evenodd",
422
- clipRule: "evenodd",
423
- d: "M13.3026 12.9984V14.6233H12.7313L12.7327 15.2511H11.2485L11.2471 14.6233H10.6786V12.9984C9.80541 12.5064 9.24969 11.553 9.24969 10.5252C9.24969 8.97036 10.4802 7.70312 11.9899 7.70312C13.5025 7.70312 14.7329 8.97036 14.7329 10.5252C14.7315 11.5516 14.1744 12.5049 13.3026 12.9984H13.3026Z",
424
- fill: "#E6EBEE"
425
- })), _path9$3 || (_path9$3 = /*#__PURE__*/React__namespace.createElement("path", {
426
- fillRule: "evenodd",
427
- clipRule: "evenodd",
428
- d: "M14.2242 7.10672L13.6813 6.78407L14.5177 5.29199L15.0606 5.61464L14.2242 7.10672Z",
429
- fill: "#E6EBEE"
430
- })), _path10$3 || (_path10$3 = /*#__PURE__*/React__namespace.createElement("path", {
431
- fillRule: "evenodd",
432
- clipRule: "evenodd",
433
- d: "M16.6807 13.6066L15.2319 12.7437L15.5452 12.1846L16.994 13.0474L16.6807 13.6066Z",
434
- fill: "#E6EBEE"
435
- })), _path11$2 || (_path11$2 = /*#__PURE__*/React__namespace.createElement("path", {
436
- fillRule: "evenodd",
437
- clipRule: "evenodd",
438
- d: "M17.5866 10.7688H15.9124V10.1221H17.5866V10.7688Z",
439
- fill: "#E6EBEE"
440
- })));
441
- };
442
-
443
- var _g$3, _path$o;
444
-
445
- function _extends$q() { _extends$q = Object.assign || 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); }
446
-
447
- var SvgRegressionTestRoundIcon = function SvgRegressionTestRoundIcon(props) {
448
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$q({
449
- width: 24,
450
- height: 24,
451
- viewBox: "0 0 24 24",
452
- fill: "none",
453
- xmlns: "http://www.w3.org/2000/svg"
454
- }, props), _g$3 || (_g$3 = /*#__PURE__*/React__namespace.createElement("g", {
455
- opacity: 0.3
456
- }, /*#__PURE__*/React__namespace.createElement("path", {
457
- opacity: 0.3,
458
- 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",
459
- fill: "#003A57"
460
- }))), _path$o || (_path$o = /*#__PURE__*/React__namespace.createElement("path", {
461
- 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",
462
- fill: "#003A57"
463
- })));
464
- };
465
-
466
- var _circle$2, _path$n, _path2$6, _path3$5;
467
-
468
- function _extends$p() { _extends$p = Object.assign || 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); }
469
-
470
- var SvgCompletedStatusRoundIcon = function SvgCompletedStatusRoundIcon(props) {
471
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$p({
472
- width: 32,
473
- height: 32,
474
- viewBox: "0 0 32 32",
475
- fill: "none",
476
- xmlns: "http://www.w3.org/2000/svg"
477
- }, props), _circle$2 || (_circle$2 = /*#__PURE__*/React__namespace.createElement("circle", {
478
- cx: 16,
479
- cy: 16,
480
- r: 16,
481
- fill: "#F8F9F9"
482
- })), _path$n || (_path$n = /*#__PURE__*/React__namespace.createElement("path", {
483
- d: "M24.6953 9.73905C25.0148 9.41953 25.0148 8.90149 24.6953 8.58197C24.3758 8.26245 23.8577 8.26245 23.5382 8.58197L15.88 16.2402L14.0849 13.9598C13.8054 13.6048 13.291 13.5435 12.9359 13.823C12.5809 14.1025 12.5196 14.6169 12.7991 14.972L15.1642 17.9763C15.3089 18.16 15.5252 18.2731 15.7586 18.2869C15.9921 18.3008 16.2203 18.2141 16.3856 18.0487L24.6953 9.73905Z",
484
- fill: "#27DD70"
485
- })), _path2$6 || (_path2$6 = /*#__PURE__*/React__namespace.createElement("path", {
486
- d: "M7 16C7 11.0294 11.0294 7 16 7C17.3602 7 18.6521 7.3023 19.8102 7.84415C20.2195 8.03565 20.396 8.52268 20.2045 8.93196C20.013 9.34125 19.526 9.5178 19.1167 9.3263C18.1712 8.88391 17.1156 8.63636 16 8.63636C11.9332 8.63636 8.63636 11.9332 8.63636 16C8.63636 20.0668 11.9332 23.3636 16 23.3636C20.0668 23.3636 23.3636 20.0668 23.3636 16C23.3636 15.3631 23.283 14.7462 23.1317 14.1585C23.0191 13.7208 23.2826 13.2748 23.7202 13.1622C24.1578 13.0496 24.6038 13.313 24.7165 13.7506C24.9017 14.4705 25 15.2243 25 16C25 20.9705 20.9705 25 16 25C11.0294 25 7 20.9705 7 16Z",
487
- fill: "#27DD70"
488
- })), _path3$5 || (_path3$5 = /*#__PURE__*/React__namespace.createElement("path", {
489
- d: "M24.6953 9.73905C25.0148 9.41953 25.0148 8.90149 24.6953 8.58197C24.3758 8.26245 23.8577 8.26245 23.5382 8.58197L15.88 16.2402L14.0849 13.9598C13.8054 13.6048 13.291 13.5435 12.9359 13.823C12.5809 14.1025 12.5196 14.6169 12.7991 14.972L15.1642 17.9763C15.3089 18.16 15.5252 18.2731 15.7586 18.2869C15.9921 18.3008 16.2203 18.2141 16.3856 18.0487L24.6953 9.73905Z",
490
- fill: "#158944"
491
- })));
492
- };
493
-
494
- var _circle$1, _path$m, _path2$5, _path3$4, _path4$3, _path5$2, _path6$2, _path7$2, _path8$2, _path9$2, _path10$2;
495
-
496
- function _extends$o() { _extends$o = Object.assign || 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); }
497
-
498
- var SvgOnGoingStatusRoundIcon = function SvgOnGoingStatusRoundIcon(props) {
499
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$o({
500
- width: 32,
501
- height: 32,
502
- viewBox: "0 0 32 32",
503
- fill: "none",
504
- xmlns: "http://www.w3.org/2000/svg"
505
- }, props), _circle$1 || (_circle$1 = /*#__PURE__*/React__namespace.createElement("circle", {
506
- cx: 16,
507
- cy: 16,
508
- r: 16,
509
- fill: "#F8F9F9"
510
- })), _path$m || (_path$m = /*#__PURE__*/React__namespace.createElement("path", {
511
- d: "M17.059 20.7647C17.059 20.1799 16.585 19.7059 16.0002 19.7059C15.4154 19.7059 14.9414 20.1799 14.9414 20.7647V23.9412C14.9414 24.5259 15.4154 25 16.0002 25C16.585 25 17.059 24.5259 17.059 23.9412V20.7647Z",
512
- fill: "#D1820A"
513
- })), _path2$5 || (_path2$5 = /*#__PURE__*/React__namespace.createElement("path", {
514
- d: "M20.1149 18.6183C19.7014 18.2048 19.031 18.2048 18.6175 18.6183C18.204 19.0318 18.204 19.7022 18.6175 20.1157L20.8649 22.3631C21.2783 22.7766 21.9488 22.7766 22.3623 22.3631C22.7757 21.9496 22.7757 21.2792 22.3623 20.8657L20.1149 18.6183Z",
515
- fill: "#D1820A"
516
- })), _path3$4 || (_path3$4 = /*#__PURE__*/React__namespace.createElement("path", {
517
- d: "M20.7649 14.9412C20.1802 14.9412 19.7061 15.4152 19.7061 16C19.7061 16.5848 20.1802 17.0588 20.7649 17.0588H23.9414C24.5262 17.0588 25.0002 16.5848 25.0002 16C25.0002 15.4152 24.5262 14.9412 23.9414 14.9412H20.7649Z",
518
- fill: "#D1820A"
519
- })), _path4$3 || (_path4$3 = /*#__PURE__*/React__namespace.createElement("path", {
520
- d: "M13.3811 18.6183C13.7945 19.0318 13.7945 19.7022 13.3811 20.1157L11.1337 22.3631C10.7202 22.7766 10.0498 22.7766 9.63629 22.3631C9.2228 21.9496 9.2228 21.2792 9.63629 20.8657L11.8836 18.6183C12.2971 18.2048 12.9676 18.2048 13.3811 18.6183Z",
521
- fill: "#D1820A"
522
- })), _path5$2 || (_path5$2 = /*#__PURE__*/React__namespace.createElement("path", {
523
- d: "M20.1149 18.6183C19.7014 18.2048 19.031 18.2048 18.6175 18.6183C18.204 19.0318 18.204 19.7022 18.6175 20.1157L20.8649 22.3631C21.2783 22.7766 21.9488 22.7766 22.3623 22.3631C22.7757 21.9496 22.7757 21.2792 22.3623 20.8657L20.1149 18.6183Z",
524
- fill: "#FBE1AC"
525
- })), _path6$2 || (_path6$2 = /*#__PURE__*/React__namespace.createElement("path", {
526
- d: "M20.7649 14.9412C20.1802 14.9412 19.7061 15.4152 19.7061 16C19.7061 16.5848 20.1802 17.0588 20.7649 17.0588H23.9414C24.5262 17.0588 25.0002 16.5848 25.0002 16C25.0002 15.4152 24.5262 14.9412 23.9414 14.9412H20.7649Z",
527
- fill: "#FBE1AC"
528
- })), _path7$2 || (_path7$2 = /*#__PURE__*/React__namespace.createElement("path", {
529
- d: "M16 7C16.5848 7 17.0588 7.47405 17.0588 8.05882V11.2353C17.0588 11.8201 16.5848 12.2941 16 12.2941C15.4152 12.2941 14.9412 11.8201 14.9412 11.2353V8.05882C14.9412 7.47405 15.4152 7 16 7Z",
530
- fill: "#F7BF50"
531
- })), _path8$2 || (_path8$2 = /*#__PURE__*/React__namespace.createElement("path", {
532
- d: "M9.63607 9.63685C10.0496 9.22335 10.72 9.22335 11.1335 9.63685L13.3808 11.8842C13.7943 12.2977 13.7943 12.9681 13.3808 13.3816C12.9673 13.7951 12.2969 13.7951 11.8834 13.3816L9.63608 11.1343C9.22258 10.7208 9.22258 10.0503 9.63607 9.63685Z",
533
- fill: "#F7BF50"
534
- })), _path9$2 || (_path9$2 = /*#__PURE__*/React__namespace.createElement("path", {
535
- d: "M7 16C7 15.4152 7.47405 14.9412 8.05882 14.9412H11.2353C11.8201 14.9412 12.2941 15.4152 12.2941 16C12.2941 16.5848 11.8201 17.0588 11.2353 17.0588H8.05882C7.47405 17.0588 7 16.5848 7 16Z",
536
- fill: "#F7BF50"
537
- })), _path10$2 || (_path10$2 = /*#__PURE__*/React__namespace.createElement("path", {
538
- d: "M22.362 11.1343C22.7755 10.7208 22.7755 10.0503 22.362 9.63685C21.9485 9.22335 21.2781 9.22335 20.8646 9.63685L18.6173 11.8842C18.2038 12.2977 18.2038 12.9681 18.6173 13.3816C19.0308 13.7951 19.7012 13.7951 20.1147 13.3816L22.362 11.1343Z",
539
- fill: "#F7BF50"
540
- })));
541
- };
542
-
543
- var _circle, _path$l, _path2$4;
544
-
545
- function _extends$n() { _extends$n = Object.assign || 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); }
546
-
547
- var SvgArrivalStatusRoundIcon = function SvgArrivalStatusRoundIcon(props) {
548
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$n({
549
- width: 32,
550
- height: 32,
551
- viewBox: "0 0 32 32",
552
- fill: "none",
553
- xmlns: "http://www.w3.org/2000/svg"
554
- }, props), _circle || (_circle = /*#__PURE__*/React__namespace.createElement("circle", {
555
- cx: 16,
556
- cy: 16,
557
- r: 16,
558
- fill: "#F8F9F9"
559
- })), _path$l || (_path$l = /*#__PURE__*/React__namespace.createElement("path", {
560
- d: "M15.2266 17.0313H18.997M15.2266 13.2607V17.0313V13.2607ZM15.2266 17.0313L24.121 9.03906L15.2266 17.0313Z",
561
- stroke: "#1371D6",
562
- strokeWidth: 1.5,
563
- strokeLinecap: "round",
564
- strokeLinejoin: "round"
565
- })), _path2$4 || (_path2$4 = /*#__PURE__*/React__namespace.createElement("path", {
566
- d: "M19.4918 8.52344C18.4312 8.02722 17.2477 7.75 15.9995 7.75C11.4431 7.75 7.74945 11.4437 7.74945 16C7.74945 20.5563 11.4431 24.25 15.9995 24.25C20.5558 24.25 24.2495 20.5563 24.2495 16C24.2495 15.2878 24.1592 14.5968 23.9896 13.9375",
567
- stroke: "#3091EC",
568
- strokeWidth: 1.5,
569
- strokeLinecap: "round",
570
- strokeLinejoin: "round"
571
- })));
572
- };
573
-
574
- var getStatusIcon = function (status) {
575
- switch (status) {
576
- case "COMPLETED":
577
- return SvgCompletedStatusRoundIcon;
578
- case "PROGRESS":
579
- return SvgOnGoingStatusRoundIcon;
580
- case "INCOMING":
581
- return SvgArrivalStatusRoundIcon;
582
- }
583
- };
584
- var getTypeData = function (type) {
585
- switch (type) {
586
- case "EXPERIENTIAL":
587
- return {
588
- pillIcon: SvgRegressionTestRoundIcon,
589
- };
590
- case "FUNCTIONAL":
591
- return {
592
- pillIcon: SvgFunctionalTestRoundIcon,
593
- };
594
- }
595
- };
596
- var Wrapper = styled__default["default"](Card)(templateObject_1$H || (templateObject_1$H = __makeTemplateObject(["\n border-radius: ", ";\n padding: 1rem;\n border: 1px solid ", ";\n display: flex;\n flex-direction: column;\n height: 100%;\n\n &:hover {\n box-shadow: ", ";\n }\n"], ["\n border-radius: ", ";\n padding: 1rem;\n border: 1px solid ", ";\n display: flex;\n flex-direction: column;\n height: 100%;\n\n &:hover {\n box-shadow: ", ";\n }\n"])), theme.borderRadii.lg, theme.palette.grey["200"], theme.shadows.boxShadow(theme));
597
- var StyledTag$1 = styled__default["default"](Tag)(templateObject_2$b || (templateObject_2$b = __makeTemplateObject(["\n color: ", ";\n"], ["\n color: ", ";\n"])), theme.palette.grey["700"]);
598
- var StyledTagNew = styled__default["default"](Tag)(templateObject_3$6 || (templateObject_3$6 = __makeTemplateObject(["\n height: ", "px;\n padding: ", "px ", "px;\n color: ", ";\n"], ["\n height: ", "px;\n padding: ", "px ", "px;\n color: ", ";\n"])), function (_a) {
599
- var theme = _a.theme;
600
- return theme.space.base * 6;
601
- }, theme.space.base, function (_a) {
602
- var theme = _a.theme;
603
- return theme.space.base * 2;
604
- }, theme.palette.white);
605
- var StyledLabel = styled__default["default"](Label)(templateObject_4$3 || (templateObject_4$3 = __makeTemplateObject(["\n font-size: ", ";\n color: ", "\n"], ["\n font-size: ", ";\n color: ", "\n"])), theme.fontSizes.sm, theme.palette.grey["500"]);
606
- var StyledTitleLabel = styled__default["default"](Label)(templateObject_5$1 || (templateObject_5$1 = __makeTemplateObject(["\n color: ", ";\n font-size: ", ";\n word-wrap: break-word;\n"], ["\n color: ", ";\n font-size: ", ";\n word-wrap: break-word;\n"])), theme.palette.blue["600"], theme.fontSizes.lg);
607
- var Divider = styled__default["default"].div(templateObject_6$1 || (templateObject_6$1 = __makeTemplateObject(["\n width: 100%;\n height: 1px;\n margin: ", " 0;\n background-color: ", ";\n"], ["\n width: 100%;\n height: 1px;\n margin: ", " 0;\n background-color: ", ";\n"])), theme.space.lg, theme.palette.grey["300"]);
608
- var CardHeader = styled__default["default"].div(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n flex-direction: row;\n justify-content: space-between;\n height: ", "px;\n"], ["\n display: flex;\n align-items: center;\n flex-direction: row;\n justify-content: space-between;\n height: ", "px;\n"])), theme.space.base * 6);
609
- var CardBody = styled__default["default"].div(templateObject_8 || (templateObject_8 = __makeTemplateObject(["\n display: flex;\n align-items: flex-start;\n flex-direction: column;\n justify-content: flex-start;\n margin-top: ", ";\n flex: 1;\n"], ["\n display: flex;\n align-items: flex-start;\n flex-direction: column;\n justify-content: flex-start;\n margin-top: ", ";\n flex: 1;\n"])), theme.space.xxl);
610
- var CardFooter = styled__default["default"].div(templateObject_9 || (templateObject_9 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n flex-direction: row;\n justify-content: space-between;\n"], ["\n display: flex;\n align-items: center;\n flex-direction: row;\n justify-content: space-between;\n"])));
611
- var CampaignCard = function (props) {
612
- var isNew = props.isNew, date = props.date, projectTitle = props.projectTitle, campaignTitle = props.campaignTitle, status = props.status, type = props.type, labelNew = props.labelNew;
613
- var StatusIcon = getStatusIcon(status !== null && status !== void 0 ? status : "PROGRESS");
614
- var typeData = getTypeData(type);
615
- var PillIcon = typeData === null || typeData === void 0 ? void 0 : typeData.pillIcon;
616
- var projectTitleCut = projectTitle;
617
- if (projectTitle.length > 42) {
618
- projectTitleCut = "".concat(projectTitle.substring(0, 39), "...");
619
- }
620
- var campaignTitleCut = campaignTitle;
621
- if (campaignTitle.length > 29) {
622
- campaignTitleCut = "".concat(campaignTitle.substring(0, 26), "...");
623
- }
624
- return jsxRuntime.jsxs(Wrapper, __assign({}, props, { children: [jsxRuntime.jsxs(CardHeader, { children: [jsxRuntime.jsx(StyledLabel, __assign({ isRegular: true }, { children: date })), isNew && (jsxRuntime.jsx(StyledTagNew, __assign({ hue: theme.palette.fuschia["600"], isPill: true, size: "medium", title: labelNew ? labelNew : "New!" }, { children: labelNew ? labelNew : "New!" })))] }), jsxRuntime.jsxs(CardBody, { children: [jsxRuntime.jsx(StyledLabel, __assign({ isRegular: true }, { children: projectTitleCut })), jsxRuntime.jsx(StyledTitleLabel, __assign({ isRegular: true }, { children: campaignTitleCut }))] }), jsxRuntime.jsx(Divider, {}), jsxRuntime.jsxs(CardFooter, { children: [typeData &&
625
- jsxRuntime.jsxs(StyledTag$1, __assign({ size: "large", isPill: true, isRegular: true, hue: theme.palette.grey[100] }, { children: [jsxRuntime.jsx(Tag.Avatar, { children: jsxRuntime.jsx(PillIcon, {}) }), props.pillText] })), jsxRuntime.jsx(StatusIcon, {})] })] }));
626
- };
627
- var templateObject_1$H, templateObject_2$b, templateObject_3$6, templateObject_4$3, templateObject_5$1, templateObject_6$1, templateObject_7, templateObject_8, templateObject_9;
628
-
629
- /**
630
- * Title is a basic component used to display a title. Often used in card headers.
631
- */
632
- var Close = function (props) { return jsxRuntime.jsx(reactNotifications.Close, __assign({}, props)); };
633
-
634
- var _path$k, _path2$3, _path3$3, _path4$2;
635
-
636
- function _extends$m() { _extends$m = Object.assign || 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); }
637
-
638
- var SvgCampaignCompleted = function SvgCampaignCompleted(props) {
639
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$m({
640
- width: 24,
641
- height: 24,
642
- viewBox: "0 0 24 24",
643
- fill: "none",
644
- xmlns: "http://www.w3.org/2000/svg"
645
- }, props), _path$k || (_path$k = /*#__PURE__*/React__namespace.createElement("path", {
646
- d: "M0 12C0 5.37258 5.37258 0 12 0C18.6274 0 24 5.37258 24 12C24 18.6274 18.6274 24 12 24C5.37258 24 0 18.6274 0 12Z",
647
- fill: "#F8F9F9"
648
- })), _path2$3 || (_path2$3 = /*#__PURE__*/React__namespace.createElement("path", {
649
- 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",
650
- fill: "#27DD70"
651
- })), _path3$3 || (_path3$3 = /*#__PURE__*/React__namespace.createElement("path", {
652
- d: "M3 12C3 7.02944 7.02944 3 12 3C13.3602 3 14.6521 3.3023 15.8102 3.84415C16.2195 4.03565 16.396 4.52268 16.2045 4.93196C16.013 5.34125 15.526 5.5178 15.1167 5.3263C14.1712 4.88391 13.1156 4.63636 12 4.63636C7.93318 4.63636 4.63636 7.93318 4.63636 12C4.63636 16.0668 7.93318 19.3636 12 19.3636C16.0668 19.3636 19.3636 16.0668 19.3636 12C19.3636 11.3631 19.283 10.7462 19.1317 10.1585C19.0191 9.72084 19.2826 9.27479 19.7202 9.16218C20.1578 9.04957 20.6038 9.31303 20.7165 9.75064C20.9017 10.4705 21 11.2243 21 12C21 16.9705 16.9705 21 12 21C7.02944 21 3 16.9705 3 12Z",
653
- fill: "#27DD70"
654
- })), _path4$2 || (_path4$2 = /*#__PURE__*/React__namespace.createElement("path", {
655
- 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",
656
- fill: "#158944"
657
- })));
658
- };
659
-
660
- var _path$j, _path2$2, _path3$2, _path4$1, _path5$1, _path6$1, _path7$1, _path8$1, _path9$1, _path10$1, _path11$1;
661
-
662
- function _extends$l() { _extends$l = Object.assign || 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); }
663
-
664
- var SvgCampaignProgress = function SvgCampaignProgress(props) {
665
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$l({
666
- width: 24,
667
- height: 24,
668
- viewBox: "0 0 24 24",
669
- fill: "none",
670
- xmlns: "http://www.w3.org/2000/svg"
671
- }, props), _path$j || (_path$j = /*#__PURE__*/React__namespace.createElement("path", {
672
- d: "M0 12C0 5.37258 5.37258 0 12 0C18.6274 0 24 5.37258 24 12C24 18.6274 18.6274 24 12 24C5.37258 24 0 18.6274 0 12Z",
673
- fill: "#F8F9F9"
674
- })), _path2$2 || (_path2$2 = /*#__PURE__*/React__namespace.createElement("path", {
675
- 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",
676
- fill: "#D1820A"
677
- })), _path3$2 || (_path3$2 = /*#__PURE__*/React__namespace.createElement("path", {
678
- d: "M16.1149 14.6183C15.7014 14.2048 15.031 14.2048 14.6175 14.6183C14.204 15.0318 14.204 15.7022 14.6175 16.1157L16.8649 18.3631C17.2783 18.7766 17.9488 18.7766 18.3623 18.3631C18.7757 17.9496 18.7757 17.2792 18.3623 16.8657L16.1149 14.6183Z",
679
- fill: "#D1820A"
680
- })), _path4$1 || (_path4$1 = /*#__PURE__*/React__namespace.createElement("path", {
681
- d: "M16.7649 10.9412C16.1802 10.9412 15.7061 11.4152 15.7061 12C15.7061 12.5848 16.1802 13.0588 16.7649 13.0588H19.9414C20.5262 13.0588 21.0002 12.5848 21.0002 12C21.0002 11.4152 20.5262 10.9412 19.9414 10.9412H16.7649Z",
682
- fill: "#D1820A"
683
- })), _path5$1 || (_path5$1 = /*#__PURE__*/React__namespace.createElement("path", {
684
- d: "M9.38105 14.6183C9.79455 15.0318 9.79455 15.7022 9.38105 16.1157L7.1337 18.3631C6.7202 18.7766 6.04979 18.7766 5.63629 18.3631C5.2228 17.9496 5.2228 17.2792 5.63629 16.8657L7.88365 14.6183C8.29714 14.2048 8.96756 14.2048 9.38105 14.6183Z",
685
- fill: "#D1820A"
686
- })), _path6$1 || (_path6$1 = /*#__PURE__*/React__namespace.createElement("path", {
687
- d: "M16.1149 14.6183C15.7014 14.2048 15.031 14.2048 14.6175 14.6183C14.204 15.0318 14.204 15.7022 14.6175 16.1157L16.8649 18.3631C17.2783 18.7766 17.9488 18.7766 18.3623 18.3631C18.7757 17.9496 18.7757 17.2792 18.3623 16.8657L16.1149 14.6183Z",
688
- fill: "#FBE1AC"
689
- })), _path7$1 || (_path7$1 = /*#__PURE__*/React__namespace.createElement("path", {
690
- d: "M16.7649 10.9412C16.1802 10.9412 15.7061 11.4152 15.7061 12C15.7061 12.5848 16.1802 13.0588 16.7649 13.0588H19.9414C20.5262 13.0588 21.0002 12.5848 21.0002 12C21.0002 11.4152 20.5262 10.9412 19.9414 10.9412H16.7649Z",
691
- fill: "#FBE1AC"
692
- })), _path8$1 || (_path8$1 = /*#__PURE__*/React__namespace.createElement("path", {
693
- d: "M12 3C12.5848 3 13.0588 3.47405 13.0588 4.05882V7.23529C13.0588 7.82007 12.5848 8.29412 12 8.29412C11.4152 8.29412 10.9412 7.82007 10.9412 7.23529V4.05882C10.9412 3.47405 11.4152 3 12 3Z",
694
- fill: "#F7BF50"
695
- })), _path9$1 || (_path9$1 = /*#__PURE__*/React__namespace.createElement("path", {
696
- d: "M5.63607 5.63685C6.04957 5.22335 6.71998 5.22335 7.13348 5.63685L9.38083 7.8842C9.79433 8.2977 9.79433 8.96811 9.38083 9.3816C8.96734 9.7951 8.29693 9.7951 7.88343 9.38161L5.63608 7.13425C5.22258 6.72076 5.22258 6.05035 5.63607 5.63685Z",
697
- fill: "#F7BF50"
698
- })), _path10$1 || (_path10$1 = /*#__PURE__*/React__namespace.createElement("path", {
699
- d: "M3 12C3 11.4152 3.47405 10.9412 4.05882 10.9412H7.23529C7.82007 10.9412 8.29412 11.4152 8.29412 12C8.29412 12.5848 7.82007 13.0588 7.23529 13.0588H4.05882C3.47405 13.0588 3 12.5848 3 12Z",
700
- fill: "#F7BF50"
701
- })), _path11$1 || (_path11$1 = /*#__PURE__*/React__namespace.createElement("path", {
702
- d: "M18.362 7.13425C18.7755 6.72076 18.7755 6.05035 18.362 5.63685C17.9485 5.22335 17.2781 5.22335 16.8646 5.63685L14.6173 7.8842C14.2038 8.2977 14.2038 8.96811 14.6173 9.3816C15.0308 9.7951 15.7012 9.7951 16.1147 9.38161L18.362 7.13425Z",
703
- fill: "#F7BF50"
704
- })));
705
- };
706
-
707
- var _path$i, _path2$1, _path3$1;
708
-
709
- function _extends$k() { _extends$k = Object.assign || 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); }
710
-
711
- var SvgCampaignIncoming = function SvgCampaignIncoming(props) {
712
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$k({
713
- width: 24,
714
- height: 24,
715
- viewBox: "0 0 24 24",
716
- fill: "none",
717
- xmlns: "http://www.w3.org/2000/svg"
718
- }, props), _path$i || (_path$i = /*#__PURE__*/React__namespace.createElement("path", {
719
- d: "M0 12C0 5.37258 5.37258 0 12 0C18.6274 0 24 5.37258 24 12C24 18.6274 18.6274 24 12 24C5.37258 24 0 18.6274 0 12Z",
720
- fill: "#F8F9F9"
721
- })), _path2$1 || (_path2$1 = /*#__PURE__*/React__namespace.createElement("path", {
722
- d: "M11.2266 13.0313H14.997M11.2266 9.26075V13.0313V9.26075ZM11.2266 13.0313L20.121 5.03906L11.2266 13.0313Z",
723
- stroke: "#1371D6",
724
- strokeWidth: 1.5,
725
- strokeLinecap: "round",
726
- strokeLinejoin: "round"
727
- })), _path3$1 || (_path3$1 = /*#__PURE__*/React__namespace.createElement("path", {
728
- d: "M15.4918 4.52344C14.4312 4.02722 13.2477 3.75 11.9995 3.75C7.4431 3.75 3.74945 7.44365 3.74945 12C3.74945 16.5563 7.4431 20.25 11.9995 20.25C16.5558 20.25 20.2495 16.5563 20.2495 12C20.2495 11.2878 20.1592 10.5968 19.9896 9.9375",
729
- stroke: "#3091EC",
730
- strokeWidth: 1.5,
731
- strokeLinecap: "round",
732
- strokeLinejoin: "round"
733
- })));
734
- };
735
-
736
- var _g$2, _path$h;
737
-
738
- function _extends$j() { _extends$j = Object.assign || 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); }
739
-
740
- var SvgCampaignFunctional = function SvgCampaignFunctional(props) {
741
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$j({
742
- width: 24,
743
- height: 24,
744
- viewBox: "0 0 24 24",
745
- fill: "none",
746
- xmlns: "http://www.w3.org/2000/svg"
747
- }, props), _g$2 || (_g$2 = /*#__PURE__*/React__namespace.createElement("g", {
748
- opacity: 0.3
749
- }, /*#__PURE__*/React__namespace.createElement("path", {
750
- opacity: 0.3,
751
- 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",
752
- fill: "#003A57"
753
- }))), _path$h || (_path$h = /*#__PURE__*/React__namespace.createElement("path", {
754
- 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",
755
- fill: "#003A57"
756
- })));
757
- };
758
-
759
- var _g$1, _path$g, _path2, _path3, _path4, _path5, _path6, _path7, _path8, _path9, _path10, _path11;
760
-
761
- function _extends$i() { _extends$i = Object.assign || 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); }
762
-
763
- var SvgCampaignExperiential = function SvgCampaignExperiential(props) {
764
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$i({
765
- width: 24,
766
- height: 24,
767
- viewBox: "0 0 24 24",
768
- fill: "none",
769
- xmlns: "http://www.w3.org/2000/svg"
770
- }, props), _g$1 || (_g$1 = /*#__PURE__*/React__namespace.createElement("g", {
771
- opacity: 0.3
772
- }, /*#__PURE__*/React__namespace.createElement("path", {
773
- opacity: 0.3,
774
- 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",
775
- fill: "#003A57"
776
- }))), _path$g || (_path$g = /*#__PURE__*/React__namespace.createElement("path", {
777
- d: "M12.4871 3.1964C8.68009 3.1964 5.59901 6.27748 5.59901 10.0844C5.59901 10.2596 5.59901 10.4347 5.62445 10.5854C5.29863 11.1861 4.82313 12.0129 4.24684 12.5138C3.82123 12.8896 3.92102 13.2907 3.97091 13.4404C4.09615 13.7662 4.44641 14.0411 5.02271 14.2417C5.22328 14.3171 5.44831 14.367 5.64889 14.4169L5.67433 16.8463C5.67433 17.7983 6.47565 18.625 7.4531 18.625L8.9305 18.1495L9.08117 19.0262C9.18097 19.6025 9.68191 20.0281 10.2837 20.0281C10.359 20.0281 10.4343 20.0281 10.5087 20.0026L15.1425 19.1769C15.8185 19.0516 16.2441 18.4254 16.1444 17.7494L15.8185 16.1213C17.9975 14.9188 19.375 12.5891 19.375 10.0843C19.375 6.30267 16.2696 3.19629 12.487 3.19629L12.4871 3.1964Z",
778
- fill: "#003A57",
779
- stroke: "#003A57"
780
- })), _path2 || (_path2 = /*#__PURE__*/React__namespace.createElement("path", {
781
- fillRule: "evenodd",
782
- clipRule: "evenodd",
783
- d: "M6.39337 10.7688V10.1221H8.06755V10.7688H6.39337Z",
784
- fill: "#E6EBEE"
785
- })), _path3 || (_path3 = /*#__PURE__*/React__namespace.createElement("path", {
786
- fillRule: "evenodd",
787
- clipRule: "evenodd",
788
- d: "M7.2994 13.6066L6.98611 13.0474L8.4349 12.1846L8.74818 12.7437L7.2994 13.6066Z",
789
- fill: "#E6EBEE"
790
- })), _path4 || (_path4 = /*#__PURE__*/React__namespace.createElement("path", {
791
- fillRule: "evenodd",
792
- clipRule: "evenodd",
793
- d: "M8.43603 8.70472L6.98724 7.84335L7.30053 7.28418L8.74931 8.14556L8.43603 8.70472Z",
794
- fill: "#E6EBEE"
795
- })), _path5 || (_path5 = /*#__PURE__*/React__namespace.createElement("path", {
796
- fillRule: "evenodd",
797
- clipRule: "evenodd",
798
- d: "M16.6807 7.28418L16.994 7.84335L15.5453 8.70472L15.232 8.14556L16.6807 7.28418Z",
799
- fill: "#E6EBEE"
800
- })), _path6 || (_path6 = /*#__PURE__*/React__namespace.createElement("path", {
801
- fillRule: "evenodd",
802
- clipRule: "evenodd",
803
- d: "M11.677 4.68066H12.305V6.40488H11.677V4.68066Z",
804
- fill: "#E6EBEE"
805
- })), _path7 || (_path7 = /*#__PURE__*/React__namespace.createElement("path", {
806
- fillRule: "evenodd",
807
- clipRule: "evenodd",
808
- d: "M9.46389 5.29102L10.3017 6.78309L9.75875 7.10574L8.92236 5.61367L9.46389 5.29102Z",
809
- fill: "#E6EBEE"
810
- })), _path8 || (_path8 = /*#__PURE__*/React__namespace.createElement("path", {
811
- fillRule: "evenodd",
812
- clipRule: "evenodd",
813
- d: "M13.3026 12.9984V14.6233H12.7313L12.7327 15.2511H11.2485L11.2471 14.6233H10.6787V12.9984C9.80544 12.5064 9.24973 11.553 9.24973 10.5252C9.24973 8.97036 10.4802 7.70312 11.9899 7.70312C13.5025 7.70312 14.733 8.97036 14.733 10.5252C14.7316 11.5516 14.1744 12.5049 13.3026 12.9984H13.3026Z",
814
- fill: "#E6EBEE"
815
- })), _path9 || (_path9 = /*#__PURE__*/React__namespace.createElement("path", {
816
- fillRule: "evenodd",
817
- clipRule: "evenodd",
818
- d: "M14.2242 7.10672L13.6813 6.78407L14.5177 5.29199L15.0606 5.61464L14.2242 7.10672Z",
819
- fill: "#E6EBEE"
820
- })), _path10 || (_path10 = /*#__PURE__*/React__namespace.createElement("path", {
821
- fillRule: "evenodd",
822
- clipRule: "evenodd",
823
- d: "M16.6807 13.6066L15.232 12.7437L15.5453 12.1846L16.994 13.0474L16.6807 13.6066Z",
824
- fill: "#E6EBEE"
825
- })), _path11 || (_path11 = /*#__PURE__*/React__namespace.createElement("path", {
826
- fillRule: "evenodd",
827
- clipRule: "evenodd",
828
- d: "M17.5866 10.7688H15.9124V10.1221H17.5866V10.7688Z",
829
- fill: "#E6EBEE"
830
- })));
831
- };
832
-
833
- var StyledTag = styled__default["default"](Tag)(templateObject_1$G || (templateObject_1$G = __makeTemplateObject(["\n background-color: transparent;\n pointer-events: none;\n font-weight: ", ";\n ", "\n svg {\n margin-right: ", " !important;\n }\n\n span {\n font-weight: ", ";\n margin-left: ", ";\n color: ", ";\n }\n"], ["\n background-color: transparent;\n pointer-events: none;\n font-weight: ", ";\n ", "\n svg {\n margin-right: ", " !important;\n }\n\n span {\n font-weight: ", ";\n margin-left: ", ";\n color: ", ";\n }\n"])), function (_a) {
834
- var theme = _a.theme;
835
- return theme.fontWeights.regular;
836
- }, function (_a) {
837
- var status = _a.status, theme = _a.theme;
838
- switch (status) {
839
- case "completed":
840
- return "color: ".concat(theme.palette.green[800], ";");
841
- case "progress":
842
- return "color: ".concat(theme.palette.yellow[700], ";");
843
- case "incoming":
844
- return "color: ".concat(theme.palette.azure[600], ";");
845
- default:
846
- return "color: ".concat(theme.palette.grey[800], ";");
847
- }
848
- }, function (_a) {
849
- var theme = _a.theme;
850
- return theme.space.xxs;
851
- }, function (_a) {
852
- var theme = _a.theme;
853
- return theme.fontWeights.bold;
854
- }, function (_a) {
855
- var theme = _a.theme;
856
- return theme.space.xxs;
857
- }, function (_a) {
858
- var theme = _a.theme;
859
- return theme.palette.grey[700];
860
- });
861
- /**
862
- * Counter let users categorize content using a keyword.
863
- */
864
- var Counter = function (props) {
865
- var status = props.status;
866
- return (jsxRuntime.jsxs(StyledTag, __assign({}, props, { size: props.size || "large" }, { children: [jsxRuntime.jsx(StyledTag.Avatar, { children: jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [status === "completed" && jsxRuntime.jsx(SvgCampaignCompleted, {}), status === "progress" && jsxRuntime.jsx(SvgCampaignProgress, {}), status === "incoming" && jsxRuntime.jsx(SvgCampaignIncoming, {}), status === "functional" && jsxRuntime.jsx(SvgCampaignFunctional, {}), status === "experiential" && jsxRuntime.jsx(SvgCampaignExperiential, {})] }) }), props.children, props.counter !== undefined && jsxRuntime.jsx("span", { children: props.counter })] })));
867
- };
868
- Counter.Avatar = StyledTag.Avatar;
869
- var templateObject_1$G;
870
-
871
- var UgField$1 = styled__default["default"](reactDropdowns.Field)(templateObject_1$F || (templateObject_1$F = __makeTemplateObject([""], [""])));
872
- var Field$1 = function (props) { return jsxRuntime.jsx(UgField$1, __assign({}, props)); };
873
- var templateObject_1$F;
874
-
875
- var index$1 = /*#__PURE__*/Object.freeze({
876
- __proto__: null,
877
- Field: Field$1
878
- });
879
-
880
- var UgItem = styled__default["default"](reactDropdowns.Item)(templateObject_1$E || (templateObject_1$E = __makeTemplateObject([""], [""])));
881
- var Item = function (props) { return jsxRuntime.jsx(UgItem, __assign({}, props)); };
882
- var templateObject_1$E;
883
-
884
- var UgMenu = styled__default["default"](reactDropdowns.Menu)(templateObject_1$D || (templateObject_1$D = __makeTemplateObject([""], [""])));
885
- /**
886
- * A Menu is a wrapper for items elements
887
- **/
888
- var Menu = function (props) { return jsxRuntime.jsx(UgMenu, __assign({}, props)); };
889
- // Extras
890
- var PreviousItem = function (props) { return jsxRuntime.jsx(reactDropdowns.PreviousItem, __assign({}, props)); };
891
- var Separator = function (props) { return jsxRuntime.jsx(reactDropdowns.Separator, __assign({}, props)); };
892
- var NextItem = function (props) { return jsxRuntime.jsx(reactDropdowns.NextItem, __assign({}, props)); };
893
- var ItemMeta = function (props) { return jsxRuntime.jsx(reactDropdowns.ItemMeta, __assign({}, props)); };
894
- var MediaBody = function (props) { return jsxRuntime.jsx(reactDropdowns.MediaBody, __assign({}, props)); };
895
- var MediaFigure = function (props) { return jsxRuntime.jsx(reactDropdowns.MediaFigure, __assign({}, props)); };
896
- var MediaItem = function (props) { return jsxRuntime.jsx(reactDropdowns.MediaItem, __assign({}, props)); };
897
- var templateObject_1$D;
898
-
899
- /**
900
- * Multiselect lets users select multiple items from a list. Options are dynamically filtered as a user types in the input field and their selections appear as tags in the input field.
901
- * <hr>
902
- * Used for this:
903
- - To choose multiple items from a list of options
904
- - To filter through a set of data by typing
905
- */
906
- var Multiselect = function (props) { return (jsxRuntime.jsx(reactDropdowns.Multiselect, __assign({}, props))); };
907
-
908
- /**
909
- * Select allows a user to pick one option from a list. This helps simplify the UI when space is limited
910
- * <hr>
911
- * Used for this:
912
- - To make a selection from a list of options
913
- * Not for this:
914
- - To filter a large list of options, use Autocomplete instead
915
- - To make multiple selections from a list, use Multiselect instead
916
- - To select from a list on mobile, use a native Select instead
917
- */
918
- var Select = function (props) { return jsxRuntime.jsx(reactDropdowns.Select, __assign({}, props)); };
919
- var Dropdown = function (props) { return jsxRuntime.jsx(reactDropdowns.Dropdown, __assign({}, props)); };
920
- var Message = function (props) { return jsxRuntime.jsx(reactDropdowns.Message, __assign({}, props)); };
921
-
922
- var UgCheckbox = styled__default["default"](reactForms.Checkbox)(templateObject_1$C || (templateObject_1$C = __makeTemplateObject([""], [""])));
923
- /**
924
- * A Checkbox lets users select and unselect options from a list.
925
- * <hr>
926
- * Used for this:
927
- * - To let users compare options from a list and select all, any, or none of those items
928
- * - To turn a single option on or off
929
- * Not for this:
930
- * - To give the user a mutually exclusive choice, use the Radio component instead
931
- * - To let users activate an option that takes effect immediately, use a Toggle instead
932
- **/
933
- var Checkbox = function (props) { return jsxRuntime.jsx(UgCheckbox, __assign({}, props)); };
934
- var templateObject_1$C;
935
-
936
- var UgField = styled__default["default"](reactForms.Field)(templateObject_1$B || (templateObject_1$B = __makeTemplateObject([""], [""])));
937
- /**
938
- * A Field is a wrapper for input elements
939
- **/
940
- var Field = function (props) { return jsxRuntime.jsx(UgField, __assign({}, props)); };
941
- var templateObject_1$B;
942
-
943
- var index = /*#__PURE__*/Object.freeze({
944
- __proto__: null,
945
- Field: Field,
946
- Hint: reactForms.Hint
947
- });
948
-
949
- var UgInput = styled__default["default"](reactForms.Input)(templateObject_1$A || (templateObject_1$A = __makeTemplateObject([""], [""])));
950
- /**
951
- * An Input lets users enter text into a field.
952
- * <hr>
953
- * Used for this:
954
- * - To let the user enter data into a field
955
- * - To enter multiline text, use a Textarea
956
- **/
957
- var Input = function (props) { return jsxRuntime.jsx(UgInput, __assign({}, props)); };
958
- var templateObject_1$A;
959
-
960
- var UgRadio = styled__default["default"](reactForms.Radio)(templateObject_1$z || (templateObject_1$z = __makeTemplateObject([""], [""])));
961
- /**
962
- * Radio buttons let users choose a single option among two or more mutually exclusive options.
963
- * <hr>
964
- * Used for this:
965
- * - For choices or options that can't occur at the same time
966
- * - To indicate that two or more options are mutually exclusive
967
- * Not for this:
968
- * - If the user can choose more than one option at once, use a Checkbox instead
969
- * - To select from a long list of options, use Select instead
970
- **/
971
- var Radio = function (props) { return jsxRuntime.jsx(UgRadio, __assign({}, props)); };
972
- var templateObject_1$z;
973
-
974
- var UgTextarea = styled__default["default"](reactForms.Textarea)(templateObject_1$y || (templateObject_1$y = __makeTemplateObject([""], [""])));
975
- /**
976
- * A Textarea is a form control for multi-line text.
977
- * <hr>
978
- * Used for this:
979
- * - To enter multi-line text
980
- **/
981
- var Textarea = function (props) { return jsxRuntime.jsx(UgTextarea, __assign({}, props)); };
982
- var templateObject_1$y;
983
-
984
- var UgToggle = styled__default["default"](reactForms.Toggle)(templateObject_1$x || (templateObject_1$x = __makeTemplateObject([""], [""])));
985
- /**
986
- * A Toggle lets users turn something on and off like a light switch. Unlike a Checkbox, which is used for selection, a Toggle is used for activation.
987
- * <hr>
988
- * Used for this:
989
- * - To see or compare the results of a settings change
990
- * - To activate a mode (such as "dark mode") which takes immediate effect
991
- * Not for this:
992
- * - To let users select from a list of settings, use Checkboxes instead
993
- **/
994
- var Toggle = function (props) { return jsxRuntime.jsx(UgToggle, __assign({}, props)); };
995
- var templateObject_1$x;
996
-
997
- var Col = function (props) { return jsxRuntime.jsx(reactGrid.Col, __assign({}, props)); };
998
-
999
- var Row$1 = function (props) { return jsxRuntime.jsx(reactGrid.Row, __assign({}, props)); };
1000
-
1001
- /**
1002
- * The Grid component is a framework for building modular layouts.
1003
- * <hr>
1004
- * Used for this:
1005
- - To structure the layout of a page
1006
- */
1007
- var Grid = function (props) { return jsxRuntime.jsx(reactGrid.Grid, __assign({}, props)); };
1008
-
1009
- var _path$f;
1010
-
1011
- function _extends$h() { _extends$h = Object.assign || 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); }
1012
-
1013
- var SvgUgSquare = function SvgUgSquare(props) {
1014
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$h({
1015
- width: 24,
1016
- height: 24,
1017
- viewBox: "0 0 24 24",
1018
- fill: "none",
1019
- xmlns: "http://www.w3.org/2000/svg"
1020
- }, props), _path$f || (_path$f = /*#__PURE__*/React__namespace.createElement("path", {
1021
- 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",
1022
- fill: "#E80C7A"
1023
- })));
1024
- };
1025
-
1026
- var _path$e;
1027
-
1028
- function _extends$g() { _extends$g = Object.assign || 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); }
1029
-
1030
- var SvgUgCircle = function SvgUgCircle(props) {
1031
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$g({
1032
- width: 24,
1033
- height: 24,
1034
- viewBox: "0 0 24 24",
1035
- fill: "none",
1036
- xmlns: "http://www.w3.org/2000/svg"
1037
- }, props), _path$e || (_path$e = /*#__PURE__*/React__namespace.createElement("path", {
1038
- 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",
1039
- fill: "#FFCD1A"
1040
- })));
1041
- };
1042
-
1043
- var _path$d;
1044
-
1045
- function _extends$f() { _extends$f = Object.assign || 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); }
1046
-
1047
- var SvgUgTriangle = function SvgUgTriangle(props) {
1048
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$f({
1049
- width: 24,
1050
- height: 24,
1051
- viewBox: "0 0 24 24",
1052
- fill: "none",
1053
- xmlns: "http://www.w3.org/2000/svg"
1054
- }, props), _path$d || (_path$d = /*#__PURE__*/React__namespace.createElement("path", {
1055
- 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",
1056
- fill: "#7B0DFF"
1057
- })));
1058
- };
1059
-
1060
- var StyledUgIcon$1 = styled__default["default"].span(templateObject_1$w || (templateObject_1$w = __makeTemplateObject([""], [""])));
1061
- var Icon = function (props) {
1062
- var children = function (type, size) {
1063
- if (size === void 0) { size = 24; }
1064
- if (type === "square")
1065
- return jsxRuntime.jsx(SvgUgSquare, __assign({}, props && !props.size, props && { width: size, height: size }));
1066
- if (type === "triangle")
1067
- return jsxRuntime.jsx(SvgUgTriangle, __assign({}, props && !props.size, props && { width: size, height: size }));
1068
- if (type === "circle")
1069
- return jsxRuntime.jsx(SvgUgCircle, __assign({}, props && !props.size, props && { width: size, height: size }));
1070
- };
1071
- return (jsxRuntime.jsx(StyledUgIcon$1, { children: children(props.type, props.size) }));
1072
- };
1073
- var templateObject_1$w;
1074
-
1075
- var UgProgress = styled__default["default"](reactLoaders.Progress)(templateObject_1$v || (templateObject_1$v = __makeTemplateObject([""], [""])));
1076
- /**
1077
- * A Progress loader communicates progress when downloading or uploading content.
1078
- * <hr>
1079
- * Used for this:
1080
- * - To communicate the amount of time left when downloading or uploading content
1081
- *
1082
- Not for this:
1083
- - When the loading time is unknown, use a Spinner instead
1084
- - When loading page content, use a Skeleton loader instead
1085
- */
1086
- var Progress = function (props) { return jsxRuntime.jsx(UgProgress, __assign({}, props)); };
1087
- var templateObject_1$v;
1088
-
1089
- var UgSkeleton = styled__default["default"](reactLoaders.Skeleton)(templateObject_1$u || (templateObject_1$u = __makeTemplateObject([""], [""])));
1090
- /**
1091
- * A Skeleton loader shows users a blank version of a page or section of a page into which content is gradually loaded. It provides a visual estimate of the space needed.
1092
- * <hr>
1093
- * Used for this:
1094
- - Skeleton is the default loader, used whenever the system can predict the format of the loading content
1095
- - To progressively load different parts of a page
1096
- - To avoid large layout shifts
1097
-
1098
- * Not for this:
1099
- - When the system doesn’t have control over the content that is loading, use a Spinner instead
1100
- - To indicate that a component (like a button or search input) is busy, use Dots instead
1101
- - To communicate a typing status, use Inline instead
1102
- */
1103
- var Skeleton = function (props) { return jsxRuntime.jsx(UgSkeleton, __assign({}, props)); };
1104
- var templateObject_1$u;
1105
-
1106
- var UgSpinner = styled__default["default"](reactLoaders.Spinner)(templateObject_1$t || (templateObject_1$t = __makeTemplateObject([""], [""])));
1107
- /**
1108
- * Breadcrumbs mark and communicate a user’s location in the product.
1109
- * <hr>
1110
- * Used for this:
1111
- - To show the user where they are in a nested navigation
1112
- - To provide a quick way to navigate to ancestor pages
1113
- */
1114
- var Spinner = function (props) { return jsxRuntime.jsx(UgSpinner, __assign({}, props)); };
1115
- var templateObject_1$t;
1116
-
1117
- /**
1118
- * Title is a basic component used to display a title. Often used in card headers.
1119
- */
1120
- var Title = function (props) { return jsxRuntime.jsx(reactNotifications.Title, __assign({}, props)); };
1121
-
1122
- /**
1123
- * Type components come in small, medium, large, extra-large, extra-extra-large, and extra-extra-extra-large.
1124
- */
1125
- var SM = function (props) { return jsxRuntime.jsx(reactTypography.SM, __assign({}, props)); };
1126
- var MD = function (props) { return jsxRuntime.jsx(reactTypography.MD, __assign({}, props)); };
1127
- var LG = function (props) { return jsxRuntime.jsx(reactTypography.LG, __assign({}, props)); };
1128
- var XL = function (props) { return jsxRuntime.jsx(reactTypography.XL, __assign({}, props)); };
1129
- var XXL = function (props) { return jsxRuntime.jsx(reactTypography.XXL, __assign({}, props)); };
1130
- var XXXL = function (props) { return jsxRuntime.jsx(reactTypography.XXXL, __assign({}, props)); };
1131
-
1132
- var _path$c;
1133
-
1134
- function _extends$e() { _extends$e = Object.assign || 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); }
1135
-
1136
- var SvgChevronLeftStroke = function SvgChevronLeftStroke(props) {
1137
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$e({
1138
- xmlns: "http://www.w3.org/2000/svg",
1139
- width: 16,
1140
- height: 16,
1141
- focusable: "false",
1142
- viewBox: "0 0 16 16"
1143
- }, props), _path$c || (_path$c = /*#__PURE__*/React__namespace.createElement("path", {
1144
- fill: "currentColor",
1145
- 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"
1146
- })));
1147
- };
1148
-
1149
- /**
1150
- * Login Form
1151
- * <hr>
1152
- * Used for this:
1153
- - Login user to the application
1154
- */
1155
- var LoginForm = function (props) { return (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsxs(Card, __assign({ isFloating: true }, props.card, { children: [jsxRuntime.jsx(Title, __assign({ style: {
1156
- textAlign: "center",
1157
- marginTop: theme.space.sm,
1158
- marginBottom: theme.space.lg,
1159
- } }, { children: jsxRuntime.jsx(XL, __assign({ style: { color: theme.palette.blue[600] } }, { children: props.title })) })), jsxRuntime.jsx(formik.Formik, __assign({}, props, { initialValues: props.initialValues, onSubmit: props.onSubmit, validate: props.validate }, { children: function (_a) {
1160
- var values = _a.values, status = _a.status, errors = _a.errors, touched = _a.touched, handleChange = _a.handleChange, handleSubmit = _a.handleSubmit, isSubmitting = _a.isSubmitting;
1161
- return (jsxRuntime.jsxs(formik.Form, __assign({ onSubmit: handleSubmit }, { children: [jsxRuntime.jsxs(Field, { children: [jsxRuntime.jsx(Input, __assign({ type: "email", name: "email", placeholder: props.placeholderEmail, onChange: handleChange, value: values.email }, (touched && values.email
1162
- ? (touched.email = true)
1163
- : (touched.email = false)), (errors && errors.email
1164
- ? { validation: "error" }
1165
- : touched.email
1166
- ? { validation: "success" }
1167
- : ""))), errors.email ? (jsxRuntime.jsx(Message, __assign({ validation: "error" }, { children: errors.email }))) : ("")] }), jsxRuntime.jsxs(Field, __assign({ style: { marginTop: theme.space.md } }, { children: [jsxRuntime.jsx(Input, __assign({ type: "password", name: "password", placeholder: props.placeholderPassword, onChange: handleChange, value: values.password }, (touched && values.password
1168
- ? (touched.password = true)
1169
- : (touched.password = false)), (errors && errors.password
1170
- ? { validation: "error" }
1171
- : touched.password
1172
- ? { validation: "success" }
1173
- : ""))), errors.password && (jsxRuntime.jsx(Message, __assign({ validation: "error" }, { children: errors.password }))), props.passwordForgotLink && (jsxRuntime.jsx(reactForms.Hint, __assign({ style: { textAlign: "right" } }, { children: jsxRuntime.jsx(Anchor, __assign({ href: props.passwordForgotLink, style: { color: theme.palette.grey[500] } }, { children: props.passwordForgotLabel || "Forgot Password?" })) })))] })), jsxRuntime.jsx("br", {}), jsxRuntime.jsx(Button, __assign({ type: "submit", isStretched: true, disabled: Object.keys(errors).length
1174
- ? true
1175
- : isSubmitting
1176
- ? true
1177
- : false, isPrimary: true, style: { marginBottom: theme.space.md } }, { children: props.buttonText })), status && (jsxRuntime.jsx("div", __assign({ style: { textAlign: "center" } }, { children: jsxRuntime.jsx(Message, __assign({ validation: "error" }, { children: status.message })) })))] })));
1178
- } }))] })), props.onBackClick && (jsxRuntime.jsxs(Button, __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"] })))] })); };
1179
-
1180
- 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";
1181
-
1182
- var img$1 = "data:image/svg+xml,%3c%3fxml version='1.0' encoding='utf-8'%3f%3e%3c!-- Generator: Adobe Illustrator 26.0.1%2c SVG Export Plug-In . SVG Version: 6.00 Build 0) --%3e%3csvg version='1.1' id='Layer_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 532 311.3' style='enable-background:new 0 0 532 311.3%3b' xml:space='preserve'%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%3cg%3e %3cg%3e %3cpath class='st0' d='M89.4%2c278.2c2.4%2c0%2c4.4%2c1.2%2c4.4%2c3.7c0%2c1.2-0.7%2c2.2-1.9%2c2.7c1.6%2c0.4%2c2.4%2c1.9%2c2.4%2c3.1c0%2c2.8-2.3%2c3.6-4.8%2c3.6 h-5.7v-13.1H89.4z M85.3%2c283.8h4.2c1.6%2c0%2c2.7-0.6%2c2.7-1.9c0-1.5-1.2-2.2-2.8-2.2h-4.1V283.8z M85.3%2c289.8h4.1 c1.4%2c0%2c3.2-0.4%2c3.2-2.1c0-1.6-1.7-2.3-3.1-2.3h-4.2V289.8z'/%3e %3cpath class='st0' d='M101.9%2c278.2h9.2v1.5h-7.6v4.1h7.3v1.5h-7.3v4.4h7.9v1.6h-9.5V278.2z'/%3e %3cpath class='st0' d='M133.5%2c279.4c-1.7%2c0-3.4%2c0.7-3.4%2c2.2c0%2c1.4%2c1.6%2c1.8%2c3.6%2c2.2c2.6%2c0.4%2c5.2%2c0.9%2c5.2%2c3.9c0%2c2.9-2.8%2c3.9-5.3%2c3.9 c-2.3%2c0-4.5-0.8-5.5-3l1.3-0.8c0.8%2c1.6%2c2.6%2c2.3%2c4.2%2c2.3c1.6%2c0%2c3.7-0.5%2c3.7-2.4c0-1.6-1.8-2.1-3.8-2.4c-2.5-0.4-5-1-5-3.6 c0-2.7%2c2.8-3.7%2c5-3.7c1.9%2c0%2c3.8%2c0.4%2c5%2c2.4l-1.2%2c0.8C136.5%2c279.9%2c135%2c279.4%2c133.5%2c279.4z'/%3e %3cpath class='st0' d='M153.1%2c287.2h-0.3l-4.8-6.7v10.8h-1.6v-13.1h1.9l4.6%2c6.7l4.6-6.7h1.9v13.1h-1.6v-10.7L153.1%2c287.2z'/%3e %3cpath class='st0' d='M174.3%2c278.2l5.9%2c13.1h-1.8l-1.3-2.9h-7.5l-1.3%2c2.9h-1.8l5.9-13.1H174.3z M173.4%2c279.8l-3.1%2c7.1h6.2 L173.4%2c279.8z'/%3e %3cpath class='st0' d='M192.1%2c286.6h-3.2v4.7h-1.6v-13.1h5.9c3%2c0%2c4.4%2c2.1%2c4.4%2c4.2c0%2c2-1.1%2c3.8-3.8%2c4.1l4.3%2c4.8h-2.1L192.1%2c286.6z M196%2c282.4c0-1.3-0.9-2.8-2.8-2.8h-4.3v5.5h4.2C195.1%2c285.1%2c196%2c283.9%2c196%2c282.4z'/%3e %3cpath class='st0' d='M204%2c279.7v-1.5h10.6v1.5h-4.5v11.6h-1.6v-11.6H204z'/%3e %3cpath class='st0' d='M240%2c278.2v1.6h-7.5v4.6h7.1v1.5h-7.1v5.5h-1.6v-13.1H240z'/%3e %3cpath class='st0' d='M252.5%2c286.6h-3.2v4.7h-1.6v-13.1h5.9c3%2c0%2c4.4%2c2.1%2c4.4%2c4.2c0%2c2-1.1%2c3.8-3.8%2c4.1l4.3%2c4.8h-2.1L252.5%2c286.6z M256.4%2c282.4c0-1.3-0.9-2.8-2.8-2.8h-4.3v5.5h4.2C255.5%2c285.1%2c256.4%2c283.9%2c256.4%2c282.4z'/%3e %3cpath class='st0' d='M278.5%2c284.8c0%2c3.4-2.2%2c6.8-6.6%2c6.8c-4.5%2c0-6.7-3.3-6.7-6.8c0-3.8%2c2.5-6.8%2c6.7-6.8 C276.3%2c278%2c278.5%2c281.3%2c278.5%2c284.8z M271.9%2c279.5c-3.3%2c0-5.1%2c2.5-5.1%2c5.3c0%2c2.7%2c1.6%2c5.2%2c5.1%2c5.2c3.4%2c0%2c5-2.7%2c5-5.2 C276.9%2c282.1%2c275.3%2c279.5%2c271.9%2c279.5z'/%3e %3cpath class='st0' d='M292.9%2c287.2h-0.3l-4.8-6.7v10.8h-1.6v-13.1h1.9l4.6%2c6.7l4.6-6.7h1.9v13.1h-1.6v-10.7L292.9%2c287.2z'/%3e %3cpath class='st0' d='M315.6%2c279.7v-1.5h10.6v1.5h-4.5v11.6h-1.6v-11.6H315.6z'/%3e %3cpath class='st0' d='M342.4%2c285.4h-7.5v5.9h-1.6v-13.1h1.6v5.7h7.5v-5.7h1.6v13.1h-1.6V285.4z'/%3e %3cpath class='st0' d='M352.6%2c278.2h9.2v1.5h-7.6v4.1h7.3v1.5h-7.3v4.4h7.9v1.6h-9.5V278.2z'/%3e %3cpath class='st0' d='M384.1%2c279.4c-1.7%2c0-3.4%2c0.7-3.4%2c2.2c0%2c1.4%2c1.6%2c1.8%2c3.6%2c2.2c2.6%2c0.4%2c5.2%2c0.9%2c5.2%2c3.9c0%2c2.9-2.8%2c3.9-5.3%2c3.9 c-2.3%2c0-4.5-0.8-5.5-3l1.3-0.8c0.8%2c1.6%2c2.6%2c2.3%2c4.2%2c2.3c1.6%2c0%2c3.7-0.5%2c3.7-2.4c0-1.6-1.8-2.1-3.8-2.4c-2.5-0.4-5-1-5-3.6 c0-2.7%2c2.8-3.7%2c5-3.7c1.9%2c0%2c3.8%2c0.4%2c5%2c2.4l-1.2%2c0.8C387.1%2c279.9%2c385.6%2c279.4%2c384.1%2c279.4z'/%3e %3cpath class='st0' d='M395.7%2c279.7v-1.5h10.6v1.5h-4.5v11.6h-1.6v-11.6H395.7z'/%3e %3cpath class='st0' d='M418.4%2c278.2l5.9%2c13.1h-1.8l-1.3-2.9h-7.5l-1.3%2c2.9h-1.8l5.9-13.1H418.4z M417.5%2c279.8l-3.1%2c7.1h6.2 L417.5%2c279.8z'/%3e %3cpath class='st0' d='M436.2%2c286.6H433v4.7h-1.6v-13.1h5.9c3%2c0%2c4.4%2c2.1%2c4.4%2c4.2c0%2c2-1.1%2c3.8-3.8%2c4.1l4.3%2c4.8h-2.1L436.2%2c286.6z M440.1%2c282.4c0-1.3-0.9-2.8-2.8-2.8H433v5.5h4.2C439.2%2c285.1%2c440.1%2c283.9%2c440.1%2c282.4z'/%3e %3cpath class='st0' d='M448.1%2c279.7v-1.5h10.6v1.5h-4.5v11.6h-1.6v-11.6H448.1z'/%3e %3c/g%3e%3c/g%3e%3cpath class='st0' d='M144.4%2c246.7v-27.4c0-7.6-4.1-11.9-11.2-11.9c-6.7%2c0-10.5%2c4.4-10.5%2c11.9v27.4h-9.6v-27.4 c0-12.8%2c7.7-20.8%2c20.1-20.8c12.5%2c0%2c20.7%2c8.2%2c20.7%2c20.8v27.4H144.4z'/%3e%3cpath class='st0' d='M207.9%2c248c-18.4%2c0-25-12.5-25-24.1c0-17.7%2c12.6-25.6%2c25-25.6c6.6%2c0%2c12.8%2c2.6%2c17.6%2c7.2l0.4%2c0.4l-6.2%2c6.3 l-0.4-0.4c-2.8-2.7-7.3-4.5-11.4-4.5c-9.1%2c0-15.4%2c6.8-15.4%2c16.5c0%2c7.2%2c4%2c14.9%2c15.4%2c14.9c3.9%2c0%2c6.8-1%2c9.9-3.4v-7.4H206v-8.9h21.5 v19.5l-0.7%2c0.9C221.8%2c245.2%2c215.6%2c248%2c207.9%2c248z'/%3e%3cpath class='st0' d='M277.4%2c246.7c-12.5%2c0-20.7-8.2-20.7-20.8v-27.4h9.6V226c0%2c7.6%2c4.1%2c11.9%2c11.2%2c11.9c6.7%2c0%2c10.5-4.4%2c10.5-11.9 v-27.4h9.6V226C297.5%2c238.8%2c289.8%2c246.7%2c277.4%2c246.7z'/%3e%3cpath class='st0' d='M63.4%2c246.7c-12.5%2c0-20.7-8.2-20.7-20.8v-27.4h9.6V226c0%2c7.6%2c4.1%2c11.9%2c11.2%2c11.9c6.7%2c0%2c10.5-4.4%2c10.5-11.9 v-27.4h9.6V226C83.6%2c238.8%2c75.8%2c246.7%2c63.4%2c246.7z'/%3e%3cpolygon class='st0' points='326.4%2c246.7 326.4%2c198.9 364.2%2c198.9 364.2%2c208.2 336%2c208.2 336%2c218.8 359.6%2c218.8 359.6%2c227.8 336%2c227.8 336%2c237.3 364.2%2c237.3 364.2%2c246.7 '/%3e%3cpath class='st0' d='M411.2%2c247.6c-10.5%2c0-17.1-3.7-20.2-11.5l-0.2-0.5l8.1-4.2l0.2%2c0.6c1.7%2c4.3%2c6.3%2c6.8%2c12.2%2c6.8 c2.3%2c0%2c9.9-0.5%2c9.9-6.2c0-3.4-3.3-5.4-10-6.1c-16.1-1.9-18.3-8.3-18.3-14.2c0-9.4%2c9.1-13.7%2c18.1-13.7c9%2c0%2c15.3%2c3.2%2c18.3%2c9.3l0.2%2c0.5 l-7.7%2c4l-0.3-0.4c-1.4-2.3-5.5-4.8-10.3-4.8c-5.4%2c0-8.8%2c2.1-8.8%2c5.5c0%2c3.3%2c3.8%2c4.5%2c9.6%2c5.2c9.7%2c1.2%2c18.7%2c3.8%2c18.7%2c15 C430.7%2c243.7%2c420.7%2c247.6%2c411.2%2c247.6z'/%3e%3cpath class='st0' d='M477.9%2c247.6c-10.5%2c0-17.1-3.7-20.2-11.5l-0.2-0.5l8.1-4.2l0.2%2c0.6c1.7%2c4.3%2c6.3%2c6.8%2c12.2%2c6.8 c2.3%2c0%2c9.9-0.5%2c9.9-6.2c0-3.4-3.3-5.4-10-6.1c-16.1-1.9-18.3-8.3-18.3-14.2c0-9.4%2c9.1-13.7%2c18.1-13.7c9%2c0%2c15.3%2c3.2%2c18.3%2c9.3l0.2%2c0.5 l-7.7%2c4l-0.3-0.4c-1.4-2.3-5.5-4.8-10.3-4.8c-5.4%2c0-8.8%2c2.1-8.8%2c5.5c0%2c3.3%2c3.8%2c4.5%2c9.6%2c5.2c9.7%2c1.2%2c18.7%2c3.8%2c18.7%2c15 C497.4%2c243.7%2c487.3%2c247.6%2c477.9%2c247.6z'/%3e%3cg%3e %3cpath class='st0' d='M296.2%2c105.8v8h-0.1c-0.7%2c11.6-7.1%2c18.2-17.8%2c18.2c-11.4%2c0-18.2-6.6-18.9-18.2h-0.1v-8h-16.2v8h0c0%2c0%2c0%2c0%2c0%2c0 v0.1h0c0.9%2c20.2%2c14.5%2c33.1%2c35.1%2c33.1c20.4%2c0%2c33.3-12.6%2c34.2-33.1h0v-8.1H296.2z'/%3e %3crect x='243.2' y='65' class='st1' width='16.3' height='16.3'/%3e %3crect x='295.8' y='65' class='st0' width='16.5' height='16.5'/%3e %3crect x='199.1' y='25.5' transform='matrix(-1.836970e-16 1 -1 -1.836970e-16 240.8896 -173.6676)' class='st2' width='16.3' height='16.3'/%3e %3crect x='223' y='46.8' transform='matrix(-1.836970e-16 1 -1 -1.836970e-16 286.0495 -176.2692)' class='st3' width='16.3' height='16.3'/%3e %3crect x='169.3' y='40.2' transform='matrix(-1.836970e-16 1 -1 -1.836970e-16 225.7338 -129.1657)' class='st4' width='16.3' height='16.3'/%3e %3crect x='144.4' y='7.1' transform='matrix(-1.836970e-16 1 -1 -1.836970e-16 167.8209 -137.3073)' class='st5' width='16.3' height='16.3'/%3e %3crect x='177.1' y='113.8' transform='matrix(-1.836970e-16 1 -1 -1.836970e-16 307.1887 -63.2329)' class='st6' width='16.3' height='16.3'/%3e %3crect x='205.6' y='84.9' transform='matrix(-1.836970e-16 1 -1 -1.836970e-16 306.7381 -120.7343)' class='st7' width='16.3' height='16.3'/%3e%3c/g%3e%3c/svg%3e";
1183
-
1184
- var img = "data:image/svg+xml,%3csvg width='26' height='26' viewBox='0 0 26 26' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M17.2597 12.9199V14.767H17.2367C17.075 17.4452 15.5974 18.969 13.127 18.969C10.4949 18.969 8.92496 17.4452 8.76335 14.767H8.74026V12.9199H5V14.767V14.7901C5.20779 19.4538 8.34777 22.4322 13.1039 22.4322C17.8139 22.4322 20.7922 19.5231 21 14.7901V12.9199H17.2597Z' fill='%23003A57'/%3e%3cpath d='M8.78629 3.5H5.02295V7.26335H8.78629V3.5Z' fill='%2370C38A'/%3e%3cpath d='M20.9768 3.5H17.1672V7.30952H20.9768V3.5Z' fill='%23003A57'/%3e%3c/svg%3e";
1185
-
1186
- /**
1187
- * A Logo is a visual way to represent a brand logo.
1188
- * <hr>
1189
- * Used for this:
1190
- * - To visually represent a brand or product
1191
- *
1192
- * Not for this:
1193
- * - To visually represent a common image
1194
- */
1195
- var Logo = function (props) {
1196
- var _a;
1197
- return (jsxRuntime.jsx("img", __assign({}, props, ((props === null || props === void 0 ? void 0 : props.type) === "horizontal" && { width: "".concat(props.size) }), ((props === null || props === void 0 ? void 0 : props.type) === "vertical" && { height: "".concat(props.size) }), ((props === null || props === void 0 ? void 0 : props.type) === "icon" && { width: "".concat(props.size) } && {
1198
- height: "".concat(props.size),
1199
- }), { className: props.className, alt: (_a = props.alt) !== null && _a !== void 0 ? _a : "Unguess Logo", src: {
1200
- horizontal: img$2,
1201
- vertical: img$1,
1202
- icon: img,
1203
- }[props.type] })));
1204
- };
1205
-
1206
- var ugModalBody = styled__default["default"](reactModals.Body)(templateObject_1$s || (templateObject_1$s = __makeTemplateObject(["\n color: ", ";\n"], ["\n color: ", ";\n"])), function (_a) {
1207
- var theme = _a.theme;
1208
- return theme.palette.grey["800"];
1209
- });
1210
- var Modal = function (props) { return jsxRuntime.jsx(reactModals.Modal, __assign({}, props)); };
1211
- var FooterItem = reactModals.FooterItem;
1212
- Modal.Header = reactModals.Header;
1213
- Modal.Body = ugModalBody;
1214
- Modal.Footer = reactModals.Footer;
1215
- var templateObject_1$s;
1216
-
1217
- var UgBody = styled__default["default"](reactChrome.Body)(templateObject_1$r || (templateObject_1$r = __makeTemplateObject(["\n background-color: ", ";\n"], ["\n background-color: ", ";\n"])), function (_a) {
1218
- var theme = _a.theme;
1219
- return theme.palette.white;
1220
- });
1221
- /**
1222
- * A Body defines the main content of an HTML document which displays on the browser
1223
- */
1224
- var Body$1 = function (props) { return jsxRuntime.jsx(UgBody, __assign({}, props)); };
1225
- var templateObject_1$r;
1226
-
1227
- /**
1228
- * A Content defines the main content of an HTML document which displays on the browser
1229
- */
1230
- var Content = function (props) { return jsxRuntime.jsx(reactChrome.Content, __assign({}, props)); };
1231
-
1232
- var UgHeaderItem = styled__default["default"](reactChrome.HeaderItem)(templateObject_1$q || (templateObject_1$q = __makeTemplateObject(["\n ", ";\n"], ["\n ", ";\n"])), function (props) { return props.hasLogo && "border-right: none"; });
1233
- var HeaderItem = function (props) { return jsxRuntime.jsx(UgHeaderItem, __assign({}, props)); };
1234
- var templateObject_1$q;
1235
-
1236
- var HeaderItemText = function (props) { return jsxRuntime.jsx(reactChrome.HeaderItemText, __assign({}, props)); };
1237
-
1238
- var HeaderItemIcon = function (props) { return (jsxRuntime.jsx(reactChrome.HeaderItemIcon, __assign({}, props))); };
1239
-
1240
- var _path$b;
1241
-
1242
- function _extends$d() { _extends$d = Object.assign || 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); }
1243
-
1244
- var SvgMenuStroke = function SvgMenuStroke(props) {
1245
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$d({
1246
- xmlns: "http://www.w3.org/2000/svg",
1247
- width: 16,
1248
- height: 16,
1249
- focusable: "false",
1250
- viewBox: "0 0 16 16"
1251
- }, props), _path$b || (_path$b = /*#__PURE__*/React__namespace.createElement("path", {
1252
- fill: "none",
1253
- stroke: "currentColor",
1254
- strokeLinecap: "round",
1255
- d: "M1.5 3.5h13m-13 4h13m-13 4h13"
1256
- })));
1257
- };
1258
-
1259
- var LogoIconContainer = styled__default["default"](reactChrome.HeaderItem)(templateObject_1$p || (templateObject_1$p = __makeTemplateObject(["\n margin-right: 2px;\n border-right: none;\n @media (max-width: ", ") {\n right: 0;\n left: 0;\n margin-right: auto;\n margin-left: auto;\n position: absolute;\n }\n"], ["\n margin-right: 2px;\n border-right: none;\n @media (max-width: ", ") {\n right: 0;\n left: 0;\n margin-right: auto;\n margin-left: auto;\n position: absolute;\n }\n"])), function (_a) {
1260
- var theme = _a.theme;
1261
- return theme.breakpoints.sm;
1262
- });
1263
- var BrandName = styled__default["default"](reactChrome.HeaderItem)(templateObject_2$a || (templateObject_2$a = __makeTemplateObject(["\n margin-right: auto;\n margin-left: -8px;\n color: ", ";\n pointer-events: none;\n @media (max-width: ", ") {\n display: none;\n }\n"], ["\n margin-right: auto;\n margin-left: -8px;\n color: ", ";\n pointer-events: none;\n @media (max-width: ", ") {\n display: none;\n }\n"])), function (_a) {
1264
- var theme = _a.theme;
1265
- return theme.palette.blue["600"];
1266
- }, function (_a) {
1267
- var theme = _a.theme;
1268
- return theme.breakpoints.sm;
1269
- });
1270
- var MenuItem$1 = styled__default["default"](reactChrome.HeaderItem)(templateObject_3$5 || (templateObject_3$5 = __makeTemplateObject(["\n color: ", ";\n position: absolute;\n left: 0;\n @media (min-width: ", ") {\n display: none;\n }\n"], ["\n color: ", ";\n position: absolute;\n left: 0;\n @media (min-width: ", ") {\n display: none;\n }\n"])), function (_a) {
1271
- var theme = _a.theme;
1272
- return theme.palette.blue["600"];
1273
- }, function (_a) {
1274
- var theme = _a.theme;
1275
- return theme.breakpoints.sm;
1276
- });
1277
- var BrandItem = function (props) {
1278
- return (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsxs(MenuItem$1, __assign({}, props, { onClick: props.toggleMenu }, { children: [jsxRuntime.jsx(HeaderItemIcon, { children: jsxRuntime.jsx(SvgMenuStroke, {}) }), props.menuLabel && jsxRuntime.jsx(HeaderItemText, { children: props.menuLabel })] })), jsxRuntime.jsx(LogoIconContainer, __assign({}, props, { hasLogo: true }, { children: jsxRuntime.jsx(HeaderItemIcon, { children: jsxRuntime.jsx(Logo, { type: "icon", size: 150 }) }) })), props.brandName && (jsxRuntime.jsx(BrandName, __assign({}, props, { children: jsxRuntime.jsx(HeaderItemText, { children: props.brandName }) })))] }));
1279
- };
1280
- var templateObject_1$p, templateObject_2$a, templateObject_3$5;
1281
-
1282
- var UgHeader = styled__default["default"](reactChrome.Header)(templateObject_1$o || (templateObject_1$o = __makeTemplateObject(["\n height: ", ";\n"], ["\n height: ", ";\n"])), theme.components.Headers.height);
1283
- /**
1284
- * An Header is a visual way to display general information.
1285
- * This can include navList Items, modal, profile settings.
1286
- */
1287
- var Header = function (props) { return jsxRuntime.jsx(UgHeader, __assign({}, props)); };
1288
- Header.HeaderItem = HeaderItem;
1289
- Header.HeaderItemText = HeaderItemText;
1290
- Header.HeaderItemIcon = HeaderItemIcon;
1291
- var templateObject_1$o;
1292
-
1293
- var _path$a;
1294
-
1295
- function _extends$c() { _extends$c = Object.assign || 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); }
1296
-
1297
- var SvgChevronDownStroke = function SvgChevronDownStroke(props) {
1298
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$c({
1299
- xmlns: "http://www.w3.org/2000/svg",
1300
- width: 16,
1301
- height: 16,
1302
- focusable: "false",
1303
- viewBox: "0 0 16 16"
1304
- }, props), _path$a || (_path$a = /*#__PURE__*/React__namespace.createElement("path", {
1305
- fill: "currentColor",
1306
- 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"
1307
- })));
1308
- };
1309
-
1310
- var ChevronButton = styled__default["default"](IconButton)(templateObject_1$n || (templateObject_1$n = __makeTemplateObject(["\n @media (max-width: ", ") {\n display: none;\n }\n"], ["\n @media (max-width: ", ") {\n display: none;\n }\n"])), function (_a) {
1311
- var theme = _a.theme;
1312
- return theme.breakpoints.sm;
1313
- });
1314
- /**
1315
- * An Header is a visual way to display general information.
1316
- * This can include navList Items, modal, profile settings.
1317
- */
1318
- var AppHeader = function (_a) {
1319
- var brand = _a.brand, avatar = _a.avatar, args = __rest(_a, ["brand", "avatar"]);
1320
- return (jsxRuntime.jsxs(Header, __assign({}, args, { children: [jsxRuntime.jsx(BrandItem, __assign({}, brand, { toggleMenu: args.onSidebarMenuToggle })), args.hasChangelog && args.changelogItem && (jsxRuntime.jsx(HeaderItem, __assign({ style: { marginRight: "-" + theme.space.sm } }, { children: jsxRuntime.jsx(HeaderItemIcon, { children: args.changelogItem }) }))), jsxRuntime.jsx(HeaderItem, __assign({ isRound: true, onClick: args.onProfileModalToggle }, { children: jsxRuntime.jsx(HeaderItemIcon, { children: jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsx(Avatar, __assign({}, avatar)), jsxRuntime.jsx(ChevronButton, __assign({ size: "small", isRotated: args.isProfileModalOpen }, { children: jsxRuntime.jsx(SvgChevronDownStroke, {}) }))] }) }) }))] })));
1321
- };
1322
- var templateObject_1$n;
1323
-
1324
- var UgMain = styled__default["default"](reactChrome.Main)(templateObject_1$m || (templateObject_1$m = __makeTemplateObject(["\n @media (min-width: ", ") {\n margin: ", "\n }\n \n /* hide scrollbar for IE, Edge and Firefox */\n -ms-overflow-style: none;\n scrollbar-width: none;\n\n ::-webkit-scrollbar {\n display: none;\n }\n \n"], ["\n @media (min-width: ", ") {\n margin: ", "\n }\n \n /* hide scrollbar for IE, Edge and Firefox */\n -ms-overflow-style: none;\n scrollbar-width: none;\n\n ::-webkit-scrollbar {\n display: none;\n }\n \n"])), function (_a) {
1325
- var theme = _a.theme;
1326
- return theme.breakpoints.sm;
1327
- }, function (_a) {
1328
- var theme = _a.theme;
1329
- return theme.space.xxl;
1330
- });
1331
- /**
1332
- * A Main defines the main content of an HTML document which displays on the browser
1333
- */
1334
- var Main = function (props) { return jsxRuntime.jsx(UgMain, __assign({}, props)); };
1335
- var templateObject_1$m;
1336
-
1337
- var UgNav = styled__default["default"](reactChrome.Nav)(templateObject_1$l || (templateObject_1$l = __makeTemplateObject(["\n border-right: ", ";\n border-color: ", ";\n ", "\n transition: width 0.25s ease-in-out;\n padding-top: ", ";\n padding-left: ", ";\n"], ["\n border-right: ", ";\n border-color: ", ";\n ", "\n transition: width 0.25s ease-in-out;\n padding-top: ", ";\n padding-left: ", ";\n"])), function (_a) {
1338
- var theme = _a.theme;
1339
- return theme.borders.sm;
1340
- }, function (_a) {
1341
- var theme = _a.theme;
1342
- return reactTheming.getColor(theme.colors.neutralHue, 300);
1343
- }, function (props) {
1344
- return "\n width: ".concat(props.isExpanded ? props.theme.space.base * 60 : props.theme.space.base * 9, "px;\n @media (max-width: ").concat(props.theme.breakpoints.sm, ") {\n width: ").concat(props.isExpanded ? "100%" : "0", ";\n border-right: none;\n }\n ");
1345
- }, function (_a) {
1346
- var theme = _a.theme;
1347
- return theme.space.sm;
1348
- }, function (_a) {
1349
- var theme = _a.theme;
1350
- return theme.space.xs;
1351
- });
1352
- /**
1353
- * The Nav component provides a high-level layout structure and sets a framework for navigating around dashboards.
1354
- * <br>
1355
- * Used for this:
1356
- - To give a consistent dashboard and navigation experience
1357
- */
1358
- var Nav = function (props) { return jsxRuntime.jsx(UgNav, __assign({}, props)); };
1359
- var templateObject_1$l;
1360
-
1361
- var SelectedItemStyle = styled.css(templateObject_1$k || (templateObject_1$k = __makeTemplateObject(["\n background-color: ", ";\n"], ["\n background-color: ", ";\n"])), function (props) { return props.theme.palette.kale["100"]; });
1362
- var UgNavItem$2 = styled__default["default"](reactChrome.NavItem)(templateObject_2$9 || (templateObject_2$9 = __makeTemplateObject(["\n border-top-left-radius: ", "px;\n border-bottom-left-radius: ", "px;\n ", "\n ", "\n &:hover, &:focus {\n ", "\n }\n opacity: 1;\n color: ", ";\n font-weight: ", ";\n ", "\n"], ["\n border-top-left-radius: ", "px;\n border-bottom-left-radius: ", "px;\n ", "\n ", "\n &:hover, &:focus {\n ", "\n }\n opacity: 1;\n color: ", ";\n font-weight: ", ";\n ", "\n"])), function (props) { return props.theme.space.base * 6; }, function (props) { return props.theme.space.base * 6; }, function (props) { return !props.isExpanded && "display: none;"; }, function (props) { return props.isCurrent && SelectedItemStyle; }, SelectedItemStyle, function (props) { return props.theme.palette.blue["600"]; }, function (props) { return props.theme.fontWeights.medium; }, function (props) {
1363
- return props.isCurrent &&
1364
- "\n color: ".concat(props.theme.palette.blue["700"], ";\n font-weight: ").concat(props.theme.fontWeights.semibold, ";\n ");
1365
- });
1366
- var NavItem = function (props) {
1367
- // const { isExpanded } = props;
1368
- return jsxRuntime.jsx(UgNavItem$2, __assign({}, props));
1369
- };
1370
- var templateObject_1$k, templateObject_2$9;
1371
-
1372
- var UgNavIcon = styled__default["default"](reactChrome.NavItemIcon)(templateObject_1$j || (templateObject_1$j = __makeTemplateObject([""], [""])));
1373
- var NavItemIcon = function (props) { return jsxRuntime.jsx(UgNavIcon, __assign({}, props)); };
1374
- var templateObject_1$j;
1375
-
1376
- /**
1377
- * Use Ellipsis to automatically provide text content with a native title attribute and text-overflow styling.
1378
- */
1379
- var Ellipsis = function (props) { return jsxRuntime.jsx(reactTypography.Ellipsis, __assign({}, props)); };
1380
-
1381
- var NavItemText = function (props) { return (jsxRuntime.jsx(reactChrome.NavItemText, __assign({}, props, { children: jsxRuntime.jsx(Ellipsis, __assign({ style: { width: "200px" } }, { children: props.children })) }))); };
1382
-
1383
- var _path$9;
1384
-
1385
- function _extends$b() { _extends$b = Object.assign || 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); }
1386
-
1387
- var SvgChevronRightStroke = function SvgChevronRightStroke(props) {
1388
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$b({
1389
- xmlns: "http://www.w3.org/2000/svg",
1390
- width: 16,
1391
- height: 16,
1392
- focusable: "false",
1393
- viewBox: "0 0 16 16"
1394
- }, props), _path$9 || (_path$9 = /*#__PURE__*/React__namespace.createElement("path", {
1395
- fill: "currentColor",
1396
- 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"
1397
- })));
1398
- };
1399
-
1400
- var StyledToggle = styled__default["default"](IconButton)(templateObject_1$i || (templateObject_1$i = __makeTemplateObject(["\n width: ", "px;\n height: ", "px;\n min-width: ", ";\n position: absolute;\n top: ", "px;\n right: -", "px;\n background: ", "};\n z-index: 1;\n @media (max-width: ", ") {\n display: none;\n }\n"], ["\n width: ", "px;\n height: ", "px;\n min-width: ", ";\n position: absolute;\n top: ", "px;\n right: -", "px;\n background: ", "};\n z-index: 1;\n @media (max-width: ", ") {\n display: none;\n }\n"])), function (_a) {
1401
- var theme = _a.theme;
1402
- return theme.space.base * 6;
1403
- }, function (_a) {
1404
- var theme = _a.theme;
1405
- return theme.space.base * 6;
1406
- }, function (_a) {
1407
- var theme = _a.theme;
1408
- return theme.space.md;
1409
- }, function (_a) {
1410
- var theme = _a.theme;
1411
- return theme.space.base * 3;
1412
- }, function (_a) {
1413
- var theme = _a.theme;
1414
- return theme.space.base * 3;
1415
- }, function (_a) {
1416
- var theme = _a.theme;
1417
- return theme.gradients.dark;
1418
- }, function (_a) {
1419
- var theme = _a.theme;
1420
- return theme.breakpoints.sm;
1421
- });
1422
- var NavToggle = function (props) {
1423
- return (jsxRuntime.jsx(StyledToggle, __assign({}, props, { isPrimary: true, size: "small" }, { children: props.isExpanded ? (jsxRuntime.jsx(SvgChevronLeftStroke, { style: { width: "100%" } })) : (jsxRuntime.jsx(SvgChevronRightStroke, { style: { width: "100%" } })) })));
1424
- };
1425
- var templateObject_1$i;
1426
-
1427
- var UgNavItem$1 = styled__default["default"](reactChrome.NavItem)(templateObject_1$h || (templateObject_1$h = __makeTemplateObject(["\n width: 100%;\n min-height: ", ";\n opacity: 1;\n display: flex;\n align-items: center;\n justify-content: center;\n padding: 0;\n padding-right: ", ";\n pointer-events: none;\n\n &:after {\n background: ", ";\n height: 1px;\n flex: 1;\n content: \"\";\n }\n\n span {\n background: #fff;\n margin: 0;\n margin-right: ", ";\n color: ", ";\n font-size: ", ";\n }\n ", "\n"], ["\n width: 100%;\n min-height: ", ";\n opacity: 1;\n display: flex;\n align-items: center;\n justify-content: center;\n padding: 0;\n padding-right: ", ";\n pointer-events: none;\n\n &:after {\n background: ", ";\n height: 1px;\n flex: 1;\n content: \"\";\n }\n\n span {\n background: #fff;\n margin: 0;\n margin-right: ", ";\n color: ", ";\n font-size: ", ";\n }\n ", "\n"])), function (props) { return props.theme.space.lg; }, function (props) { return props.theme.space.sm; }, function (props) { return props.theme.palette.grey["200"]; }, function (props) { return props.theme.space.sm; }, function (props) { return props.theme.palette.grey["500"]; }, function (props) { return props.theme.fontSizes.sm; }, function (props) { return !props.isExpanded && "display: none;"; });
1428
- var NavDivider = function (props) { return (jsxRuntime.jsx(UgNavItem$1, __assign({}, props, { children: jsxRuntime.jsx("span", { children: props.children }) }))); };
1429
- var templateObject_1$h;
1430
-
1431
- var UgProjectSubtitle = styled__default["default"](NavItemText)(templateObject_1$g || (templateObject_1$g = __makeTemplateObject(["\n color: ", ";\n font-size: ", ";\n"], ["\n color: ", ";\n font-size: ", ";\n"])), function (props) { return props.theme.palette.grey["500"]; }, function (props) { return props.theme.fontSizes.sm; });
1432
- var UgNavItem = styled__default["default"](NavItem)(templateObject_2$8 || (templateObject_2$8 = __makeTemplateObject(["\n flex-flow: column;\n align-items: flex-start;\n"], ["\n flex-flow: column;\n align-items: flex-start;\n"])));
1433
- var NavItemProject = function (props) { return jsxRuntime.jsx(UgNavItem, __assign({}, props)); };
1434
- NavItemProject.Title = NavItemText;
1435
- NavItemProject.SubTitle = UgProjectSubtitle;
1436
- var templateObject_1$g, templateObject_2$8;
1437
-
1438
- var _path$8;
1439
-
1440
- function _extends$a() { _extends$a = Object.assign || 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); }
1441
-
1442
- var SvgHomeFill = function SvgHomeFill(props) {
1443
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$a({
1444
- xmlns: "http://www.w3.org/2000/svg",
1445
- width: 26,
1446
- height: 26,
1447
- focusable: "false",
1448
- viewBox: "0 0 26 26"
1449
- }, props), _path$8 || (_path$8 = /*#__PURE__*/React__namespace.createElement("path", {
1450
- fill: "currentColor",
1451
- d: "M23.885 13.2l-1.328 1.639a.522.522 0 01-.737.084l-1.444-1.155v7.182c0 .577-.474 1.05-1.054 1.05H16.51c-.58 0-1.054-.473-1.054-1.05v-3.182a2.43 2.43 0 00-.716-1.732 2.448 2.448 0 00-1.74-.714 2.45 2.45 0 00-1.739.714 2.43 2.43 0 00-.716 1.732v3.182c0 .577-.474 1.05-1.054 1.05H6.678c-.582 0-1.054-.47-1.054-1.05v-7.182L4.18 14.923a.522.522 0 01-.737-.084L2.115 13.2a.52.52 0 01.084-.735l10.474-8.348a.51.51 0 01.654 0L23.8 12.466a.52.52 0 01.084.735"
1452
- })));
1453
- };
1454
-
1455
- var _linearGradient, _path$7;
1456
-
1457
- function _extends$9() { _extends$9 = Object.assign || 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$9.apply(this, arguments); }
1458
-
1459
- var SvgHomeFillStyled = function SvgHomeFillStyled(props) {
1460
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$9({
1461
- xmlns: "http://www.w3.org/2000/svg",
1462
- width: 26,
1463
- height: 26,
1464
- focusable: "false",
1465
- viewBox: "0 0 26 26"
1466
- }, props), _linearGradient || (_linearGradient = /*#__PURE__*/React__namespace.createElement("linearGradient", {
1467
- id: "unguessIconGradient"
1468
- }, /*#__PURE__*/React__namespace.createElement("stop", {
1469
- className: "stop1",
1470
- offset: "11.98%",
1471
- stopColor: "#70c38a"
1472
- }), /*#__PURE__*/React__namespace.createElement("stop", {
1473
- className: "stop3",
1474
- offset: "100%",
1475
- stopColor: "#001825"
1476
- }))), _path$7 || (_path$7 = /*#__PURE__*/React__namespace.createElement("path", {
1477
- fill: "url(#unguessIconGradient)",
1478
- d: "M23.885 13.2l-1.328 1.639a.522.522 0 01-.737.084l-1.444-1.155v7.182c0 .577-.474 1.05-1.054 1.05H16.51c-.58 0-1.054-.473-1.054-1.05v-3.182a2.43 2.43 0 00-.716-1.732 2.448 2.448 0 00-1.74-.714 2.45 2.45 0 00-1.739.714 2.43 2.43 0 00-.716 1.732v3.182c0 .577-.474 1.05-1.054 1.05H6.678c-.582 0-1.054-.47-1.054-1.05v-7.182L4.18 14.923a.522.522 0 01-.737-.084L2.115 13.2a.52.52 0 01.084-.735l10.474-8.348a.51.51 0 01.654 0L23.8 12.466a.52.52 0 01.084.735"
1479
- })));
1480
- };
1481
-
1482
- var _g, _defs;
1483
-
1484
- function _extends$8() { _extends$8 = Object.assign || 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$8.apply(this, arguments); }
1485
-
1486
- var SvgToken = function SvgToken(props) {
1487
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$8({
1488
- fill: "none",
1489
- viewBox: "0 0 32 32",
1490
- xmlns: "http://www.w3.org/2000/svg"
1491
- }, props), _g || (_g = /*#__PURE__*/React__namespace.createElement("g", {
1492
- clipPath: "url(#a)"
1493
- }, /*#__PURE__*/React__namespace.createElement("path", {
1494
- 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",
1495
- clipRule: "evenodd",
1496
- fill: "#9FD7B1",
1497
- fillRule: "evenodd"
1498
- }), /*#__PURE__*/React__namespace.createElement("rect", {
1499
- x: 4.129,
1500
- y: 4.129,
1501
- width: 23.742,
1502
- height: 23.742,
1503
- rx: 11.871,
1504
- fill: "#003A57"
1505
- }), /*#__PURE__*/React__namespace.createElement("path", {
1506
- 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",
1507
- fill: "#fff"
1508
- }), /*#__PURE__*/React__namespace.createElement("path", {
1509
- d: "m13.367 10.545h-2.3522v2.3521h2.3522v-2.3521z",
1510
- fill: "#54C38A"
1511
- }), /*#__PURE__*/React__namespace.createElement("path", {
1512
- d: "m20.986 10.545h-2.381v2.381h2.381v-2.381z",
1513
- fill: "#fff"
1514
- }))), _defs || (_defs = /*#__PURE__*/React__namespace.createElement("defs", null, /*#__PURE__*/React__namespace.createElement("clipPath", {
1515
- id: "a"
1516
- }, /*#__PURE__*/React__namespace.createElement("rect", {
1517
- width: 32,
1518
- height: 32,
1519
- fill: "#fff"
1520
- })))));
1521
- };
1522
-
1523
- /**
1524
- * Use Span to style and format inline text elements.
1525
- * <hr>
1526
- * Used for this:
1527
- - To apply styles to short strings of text
1528
- - To include icons inline with text
1529
- * Not for this:
1530
- - To style an entire block of text, use Paragraph instead
1531
- */
1532
- var Span = function (props) { return jsxRuntime.jsx(reactTypography.Span, __assign({}, props)); };
1533
-
1534
- var TokenContainer = styled__default["default"].div(templateObject_1$f || (templateObject_1$f = __makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: center;\n"], ["\n display: flex;\n align-items: center;\n justify-content: center;\n"])));
1535
- /**
1536
- * The UNGUESS Sidebar component provides a high-level layout structure and sets a framework for navigating around projects.
1537
- * <br>
1538
- * Used for this:
1539
- - To give a consistent dashboard and navigation experience
1540
- */
1541
- var Sidebar = function (props) {
1542
- var _a = React.useState(props.currentRoute || "home"), nav = _a[0], setNav = _a[1];
1543
- var toggleNav = function () {
1544
- props.onToggleMenu && props.onToggleMenu();
1545
- };
1546
- var navigate = function (route) {
1547
- props.onNavToggle && props.onNavToggle(route);
1548
- setNav(route);
1549
- };
1550
- return (jsxRuntime.jsxs(Nav, __assign({}, props, { children: [jsxRuntime.jsx(NavToggle, { onClick: toggleNav, isExpanded: props.isExpanded }), props.tokens && (jsxRuntime.jsx(NavItem, __assign({ hasLogo: true, isExpanded: props.isExpanded, style: { pointerEvents: "none", paddingTop: 0 } }, { children: jsxRuntime.jsx(Card, __assign({ style: { padding: theme.space.sm, width: "70%" } }, { children: jsxRuntime.jsxs(TokenContainer, { children: [jsxRuntime.jsx(SvgToken, { width: 32 }), jsxRuntime.jsx(Span, __assign({ isBold: true, style: { marginLeft: theme.space.xs } }, { children: props.tokens + " " + (props.tokensLabel || "tokens") }))] }) })) }))), jsxRuntime.jsxs(NavItem, __assign({ isExpanded: props.isExpanded, isCurrent: nav === "home", onClick: function () { return navigate("home"); } }, { children: [jsxRuntime.jsx(NavItemIcon, __assign({ isStyled: true }, { children: nav === "home" ? jsxRuntime.jsx(SvgHomeFillStyled, {}) : jsxRuntime.jsx(SvgHomeFill, {}) })), jsxRuntime.jsx(NavItemText, { children: props.homeItemLabel || "My Campaigns" })] })), jsxRuntime.jsx(NavDivider, __assign({ isExpanded: props.isExpanded }, { children: props.dividerLabel || "" })), props.projects &&
1551
- props.projects.map(function (project) { return (jsxRuntime.jsxs(NavItemProject, __assign({ isExpanded: props.isExpanded, isCurrent: nav === project.id, onClick: function () { return navigate(project.id); } }, { children: [jsxRuntime.jsx(NavItemProject.Title, { title: project.title, children: project.title }), jsxRuntime.jsx(NavItemProject.SubTitle, { children: project.campaigns })] }), project.id)); }), jsxRuntime.jsxs(NavItem, __assign({ isExpanded: props.isExpanded, hasBrandmark: true, title: "Be smart from the start", style: { pointerEvents: "none" } }, { children: [jsxRuntime.jsx(NavItemIcon, { children: jsxRuntime.jsx(Logo, { type: "icon", size: 150 }) }), jsxRuntime.jsx(NavItemText, { children: "UNGUESS" })] }))] })));
1552
- };
1553
- var templateObject_1$f;
1554
-
1555
- /**
1556
- * The Chrome component provides a high-level layout structure and sets a framework for navigating around Zendesk products.
1557
- * <br>
1558
- * Used for this:
1559
- - To give a consistent dashboard and navigation experience
1560
- */
1561
- var Chrome = function (props) { return jsxRuntime.jsx(reactChrome.Chrome, __assign({}, props)); };
1562
-
1563
- /**
1564
- * A Notification is a passive status update that keeps users informed of system progress.
1565
- * <hr>
1566
- * Used for this:
1567
- - For a passive status update about user or system activity
1568
- */
1569
- var Notification = function (props) { return (jsxRuntime.jsx(reactNotifications.Notification, __assign({}, props))); };
1570
- //Extras
1571
- var ToastProvider = function (props) { return jsxRuntime.jsx(reactNotifications.ToastProvider, __assign({}, props)); };
1572
- var useToast = reactNotifications.useToast;
1573
-
1574
- var UgPagination = styled__default["default"](reactPagination.Pagination)(templateObject_1$e || (templateObject_1$e = __makeTemplateObject([""], [""])));
1575
- /**
1576
- * Pagination separates content into pages and allows users to navigate between those pages.
1577
-
1578
- * Used for this:
1579
- - To divide large amounts of data into manageable chunks
1580
-
1581
- */
1582
- var Pagination = function (props) { return jsxRuntime.jsx(UgPagination, __assign({}, props)); };
1583
- var CursorPagination = reactPagination.CursorPagination;
1584
- var templateObject_1$e;
1585
-
1586
- var _path$6;
1587
-
1588
- function _extends$7() { _extends$7 = Object.assign || 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$7.apply(this, arguments); }
1589
-
1590
- var SvgExit = function SvgExit(props) {
1591
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$7({
1592
- width: 12,
1593
- height: 13,
1594
- viewBox: "0 0 12 13",
1595
- fill: "#68737D",
1596
- xmlns: "http://www.w3.org/2000/svg"
1597
- }, props), _path$6 || (_path$6 = /*#__PURE__*/React__namespace.createElement("path", {
1598
- fillRule: "evenodd",
1599
- clipRule: "evenodd",
1600
- d: "M2.5 12.9992C2.37 12.9992 2.25 12.9492 2.15 12.8592L0.15 10.9292C0.0580183 10.8314 0.0047128 10.7034 0 10.5692V3.42923C0 3.29923 0.06 3.16923 0.15 3.06923L2.15 1.13923C2.3 0.999232 2.51 0.959232 2.7 1.03923C2.88 1.11923 3 1.29923 3 1.49923V2.99923H6C6.55614 2.99923 7 3.44309 7 3.99923V4.99923C7 5.27537 6.77614 5.49923 6.5 5.49923C6.22386 5.49923 6 5.27537 6 4.99923V3.99923H3V9.99923H6V8.99923C6 8.72309 6.22386 8.49923 6.5 8.49923C6.77614 8.49923 7 8.72309 7 8.99923V9.99923C7 10.5554 6.55614 10.9992 6 10.9992H3V12.4992C3 12.6992 2.88 12.8792 2.7 12.9592C2.63 12.9892 2.57 12.9992 2.5 12.9992ZM9.5 9.49923C9.44 9.49923 9.37 9.48923 9.31 9.45923C9.12311 9.38275 9.00074 9.20117 9 8.99923L8.99631 7.49923H5C4.72386 7.49923 4.5 7.27537 4.5 6.99923C4.5 6.72309 4.72386 6.49923 5 6.49923H8.99384L8.99 4.93923C8.99 4.73923 9.11 4.54923 9.3 4.47923C9.49 4.39923 9.7 4.44923 9.84 4.58923L11.51 6.28923C11.89 6.67923 11.89 7.30923 11.5 7.69923L9.85 9.34923C9.75972 9.44637 9.6326 9.50085 9.5 9.49923Z"
1601
- })));
1602
- };
1603
-
1604
- var _path$5;
1605
-
1606
- function _extends$6() { _extends$6 = Object.assign || 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$6.apply(this, arguments); }
1607
-
1608
- var SvgThumbsUp = function SvgThumbsUp(props) {
1609
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$6({
1610
- width: 16,
1611
- height: 16,
1612
- viewBox: "0 0 16 16",
1613
- fill: "none",
1614
- xmlns: "http://www.w3.org/2000/svg"
1615
- }, props), _path$5 || (_path$5 = /*#__PURE__*/React__namespace.createElement("path", {
1616
- fillRule: "evenodd",
1617
- clipRule: "evenodd",
1618
- d: "M13.5 15C14.2828 15 14.8192 11.8284 15 7.5C15 7.22386 14.7761 7 14.5 7H9.5C9.22386 7 9 6.77614 9 6.5V2C9 1.44772 8.55229 1 8 1C7.44772 1 7 1.44772 7 2C7 4.97341 6.19918 6.46065 5.02719 6.8454C5.01015 6.85409 4.99957 6.87174 5 6.9L4.99891 15C4.99927 15 13.5 15 13.5 15ZM10 6H14.5C15.3284 6 16 6.67157 15.9996 7.52082C15.7692 13.0486 15.2701 16 13.5 16L5.03301 15.9989C4.75408 16.0174 4.48075 15.9146 4.28308 15.7169C4.08542 15.5193 3.98264 15.2459 4 15L4.00008 6.90914C3.99274 6.50762 4.21507 6.13707 4.64189 5.92566C5.41645 5.66747 6 4.58373 6 2C6 0.89543 6.89543 0 8 0C9.10457 0 10 0.89543 10 2V6ZM1 7V15H2V7H1ZM1 6H2C2.55228 6 3 6.44772 3 7V15C3 15.5523 2.55228 16 2 16H1C0.447715 16 0 15.5523 0 15V7C0 6.44772 0.447715 6 1 6Z",
1619
- fill: "#68737D"
1620
- })));
1621
- };
1622
-
1623
- var StyledMenuItemIcon = styled__default["default"].div(templateObject_1$d || (templateObject_1$d = __makeTemplateObject(["\n display: flex;\n transition: opacity 0.1s ease-in-out;\n opacity: ", ";\n color: ", ";\n margin-left: auto;\n & > * {\n width: ", ";\n height: ", ";\n }\n"], ["\n display: flex;\n transition: opacity 0.1s ease-in-out;\n opacity: ", ";\n color: ", ";\n margin-left: auto;\n & > * {\n width: ", ";\n height: ", ";\n }\n"])), function (props) { return (props.isVisible ? "1" : "0"); }, function (props) { return (props.isDisabled ? "inherit" : theme.palette.grey[600]); }, function (props) { return props.theme.iconSizes.md; }, function (props) { return props.theme.iconSizes.md; });
1624
- var MenuItemIcon = function (props) { return (jsxRuntime.jsx(StyledMenuItemIcon, __assign({ isVisible: true }, props, { children: jsxRuntime.jsx(SvgChevronRightStroke, {}) }))); };
1625
- var templateObject_1$d;
1626
-
1627
- var flexCenter = styled.css(templateObject_1$c || (templateObject_1$c = __makeTemplateObject(["\n display: flex;\n align-items: center;\n"], ["\n display: flex;\n align-items: center;\n"])));
1628
- var flexColumnCenter = styled.css(templateObject_2$7 || (templateObject_2$7 = __makeTemplateObject(["\n ", ";\n flex-direction: column;\n"], ["\n ", ";\n flex-direction: column;\n"])), flexCenter);
1629
- var flexStart = styled.css(templateObject_3$4 || (templateObject_3$4 = __makeTemplateObject(["\n display: flex;\n flex-direction: column;\n align-items: ", ";\n"], ["\n display: flex;\n flex-direction: column;\n align-items: ", ";\n"])), function (_a) {
1630
- var theme = _a.theme;
1631
- return (theme.rtl ? "flex-end" : "flex-start");
1632
- });
1633
- var templateObject_1$c, templateObject_2$7, templateObject_3$4;
1634
-
1635
- /**
1636
- * 1. Allows an item to contain a positioned sub-menu.
1637
- * 2. Reset stacking context for sub-menu css-arrows.
1638
- **/
1639
- var StyledItem = styled__default["default"].li(templateObject_1$b || (templateObject_1$b = __makeTemplateObject(["\n display: block;\n position: relative; /* [1] */\n z-index: 0; /* [2] */\n cursor: ", ";\n text-decoration: none;\n line-height: ", "px;\n word-wrap: break-word;\n user-select: none;\n &:first-child {\n margin-top: ", "px;\n }\n &:last-child {\n margin-bottom: ", "px;\n }\n &:focus {\n outline: none;\n }\n\n width: fill-available;\n ", "\n height: ", ";\n padding: ", " ", ";\n\n ", ";\n\n ", " {\n right: ", ";\n left: ", ";\n }\n\n \n \n"], ["\n display: block;\n position: relative; /* [1] */\n z-index: 0; /* [2] */\n cursor: ", ";\n text-decoration: none;\n line-height: ", "px;\n word-wrap: break-word;\n user-select: none;\n &:first-child {\n margin-top: ", "px;\n }\n &:last-child {\n margin-bottom: ", "px;\n }\n &:focus {\n outline: none;\n }\n\n width: fill-available;\n ", "\n height: ", ";\n padding: ", " ", ";\n\n ", ";\n\n ", " {\n right: ", ";\n left: ", ";\n }\n\n \n \n"])), function (props) { return (props.disabled ? "default" : "pointer"); }, function (props) { return props.theme.space.base * 5; }, function (props) { return props.theme.space.base; }, function (props) { return props.theme.space.base; }, flexCenter, theme.space.xxl, theme.space.xs, theme.space.md, function (props) { return "\n &:hover,\n &:focus,\n &:active {\n background-color: ".concat(theme.palette.kale[100], ";\n color: ").concat(props.isDanger ? theme.palette.red[500] : theme.palette.grey[800], ";\n }"); }, StyledMenuItemIcon, function (props) {
1640
- return props.theme.rtl ? "auto" : "".concat(props.theme.space.base * 3, "px");
1641
- }, function (props) {
1642
- return props.theme.rtl ? "".concat(props.theme.space.base * 3, "px") : "auto";
1643
- });
1644
- var StyledBody$3 = styled__default["default"].li(templateObject_2$6 || (templateObject_2$6 = __makeTemplateObject(["\n display: flex;\n flex-direction: column;\n height: 100%;\n"], ["\n display: flex;\n flex-direction: column;\n height: 100%;\n"])));
1645
- var IconContainer = styled__default["default"].div(templateObject_3$3 || (templateObject_3$3 = __makeTemplateObject(["\n margin-right: ", ";\n margin-top: 3px;\n"], ["\n margin-right: ", ";\n margin-top: 3px;\n"])), function (_a) {
1646
- var theme = _a.theme;
1647
- return theme.space.sm;
1648
- });
1649
- var MenuItemBody = styled__default["default"].div(templateObject_4$2 || (templateObject_4$2 = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), flexStart);
1650
- var MenuItem = function (_a) {
1651
- var children = _a.children, selectedItem = _a.selectedItem, content = _a.content, props = __rest(_a, ["children", "selectedItem", "content"]);
1652
- var isActive = selectedItem && selectedItem === props.value;
1653
- var isVisible = isActive || selectedItem === "";
1654
- if (!isVisible)
1655
- return jsxRuntime.jsx(jsxRuntime.Fragment, {});
1656
- return isActive && content ? (jsxRuntime.jsx(StyledBody$3, { children: content }, props.value)) : (jsxRuntime.jsxs(StyledItem, __assign({}, props, { onClick: function () { return props.setActive(props.value); } }, { children: [props.icon && jsxRuntime.jsx(IconContainer, { children: props.icon }), children, content && jsxRuntime.jsx(MenuItemIcon, {})] }), props.value));
1657
- };
1658
- var templateObject_1$b, templateObject_2$6, templateObject_3$3, templateObject_4$2;
1659
-
1660
- var _path$4;
1661
-
1662
- function _extends$5() { _extends$5 = Object.assign || 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$5.apply(this, arguments); }
1663
-
1664
- var SvgQuestionMark = function SvgQuestionMark(props) {
1665
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$5({
1666
- width: 16,
1667
- height: 16,
1668
- viewBox: "0 0 16 16",
1669
- fill: "#68737D",
1670
- xmlns: "http://www.w3.org/2000/svg"
1671
- }, props), _path$4 || (_path$4 = /*#__PURE__*/React__namespace.createElement("path", {
1672
- fillRule: "evenodd",
1673
- clipRule: "evenodd",
1674
- d: "M7.99997 11.5C8.55226 11.5 8.99997 11.0523 8.99997 10.5V9.4C8.99997 8.83787 9.33361 8.32072 9.92997 7.948C11.3791 7.15957 12.2479 5.53522 11.9883 3.84794C11.7161 2.21413 10.3858 0.883851 8.76437 0.613605C6.74482 0.234732 4.81137 1.36258 4.24419 3.20591C4.08177 3.73378 4.37802 4.29336 4.90589 4.45578C5.43375 4.6182 5.99333 4.32195 6.15575 3.79409C6.41982 2.93586 7.36323 2.38554 8.41568 2.58287C9.2141 2.71615 9.88382 3.38587 10.0136 4.1644C10.139 4.98036 9.70294 5.79565 8.92112 6.2221C7.72579 6.96712 6.99997 8.09213 6.99997 9.4V10.5C6.99997 11.0523 7.44769 11.5 7.99997 11.5ZM7.99997 15.5C8.8284 15.5 9.49997 14.8284 9.49997 14C9.49997 13.1716 8.8284 12.5 7.99997 12.5C7.17155 12.5 6.49997 13.1716 6.49997 14C6.49997 14.8284 7.17155 15.5 7.99997 15.5Z"
1675
- })));
1676
- };
1677
-
1678
- var _path$3;
1679
-
1680
- function _extends$4() { _extends$4 = Object.assign || 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$4.apply(this, arguments); }
1681
-
1682
- var SvgCopy = function SvgCopy(props) {
1683
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$4({
1684
- width: 12,
1685
- height: 16,
1686
- viewBox: "0 0 12 16",
1687
- fill: "none",
1688
- xmlns: "http://www.w3.org/2000/svg"
1689
- }, props), _path$3 || (_path$3 = /*#__PURE__*/React__namespace.createElement("path", {
1690
- fillRule: "evenodd",
1691
- clipRule: "evenodd",
1692
- d: "M2.625 10C2.83211 10 3 10.2239 3 10.5C3 10.7761 2.83211 11 2.625 11H0.75C0.335786 11 0 10.5523 0 10V1C0 0.447715 0.335786 0 0.75 0H7.5C7.91421 0 8.25 0.447715 8.25 1V3.5C8.25 3.77614 8.08211 4 7.875 4C7.66789 4 7.5 3.77614 7.5 3.5V1H0.75V10H2.625ZM4.5 6V15H11.25V6H4.5ZM4.5 5H11.25C11.6642 5 12 5.44772 12 6V15C12 15.5523 11.6642 16 11.25 16H4.5C4.08579 16 3.75 15.5523 3.75 15V6C3.75 5.44772 4.08579 5 4.5 5Z",
1693
- fill: "#003A57"
1694
- })));
1695
- };
1696
-
1697
- var _path$2;
1698
-
1699
- function _extends$3() { _extends$3 = Object.assign || 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$3.apply(this, arguments); }
1700
-
1701
- var SvgInfoFill = function SvgInfoFill(props) {
1702
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$3({
1703
- width: 16,
1704
- height: 16,
1705
- viewBox: "0 0 16 16",
1706
- fill: "#68737D",
1707
- xmlns: "http://www.w3.org/2000/svg"
1708
- }, props), _path$2 || (_path$2 = /*#__PURE__*/React__namespace.createElement("path", {
1709
- fillRule: "evenodd",
1710
- clipRule: "evenodd",
1711
- d: "M7.5 16C3.36 16 0 12.64 0 8.5C0 4.36 3.36 1 7.5 1C11.64 1 15 4.36 15 8.5C15 12.64 11.64 16 7.5 16ZM7 12.5C7 12.78 7.22 13 7.5 13C7.78 13 8 12.78 8 12.5V8C8 7.72 7.78 7.5 7.5 7.5C7.22 7.5 7 7.72 7 8V12.5ZM7.5 4C6.95 4 6.5 4.45 6.5 5C6.5 5.55 6.95 6 7.5 6C8.05 6 8.5 5.55 8.5 5C8.5 4.45 8.05 4 7.5 4Z"
1712
- })));
1713
- };
1714
-
1715
- var StyledButton$1 = styled__default["default"](Button)(templateObject_1$a || (templateObject_1$a = __makeTemplateObject(["\n color: ", ";\n font-weight: ", ";\n padding-left: 0;\n justify-content: flex-start;\n"], ["\n color: ", ";\n font-weight: ", ";\n padding-left: 0;\n justify-content: flex-start;\n"])), function (props) { return props.theme.palette.grey[800]; }, function (props) { return props.theme.fontWeights.bold; });
1716
- var PreviousButton = function (props) { return (jsxRuntime.jsxs(StyledButton$1, __assign({}, props, { isStretched: true }, { children: [jsxRuntime.jsx(StyledButton$1.StartIcon, { children: jsxRuntime.jsx(SvgChevronLeftStroke, {}) }), props.children] }))); };
1717
- var templateObject_1$a;
1718
-
1719
- var UgParagraph = styled__default["default"](reactTypography.Paragraph)(templateObject_1$9 || (templateObject_1$9 = __makeTemplateObject([""], [""])));
1720
- /**
1721
- * Use Paragraph to render blocks of text with Garden styling.
1722
- */
1723
- var Paragraph = function (props) { return jsxRuntime.jsx(UgParagraph, __assign({}, props)); };
1724
- var templateObject_1$9;
1725
-
1726
- var getInitials = function (name) {
1727
- var names = name.split(" ");
1728
- var initials = names.map(function (n) { return n[0]; }).join("");
1729
- return initials;
1730
- };
1731
-
1732
- var StyledButton = styled__default["default"](Button)(templateObject_1$8 || (templateObject_1$8 = __makeTemplateObject(["\n color: ", ";\n padding-left: 0;\n justify-content: flex-start;\n"], ["\n color: ", ";\n padding-left: 0;\n justify-content: flex-start;\n"])), function (props) { return props.theme.palette.grey[800]; });
1733
- var StyledBody$2 = styled__default["default"].div(templateObject_2$5 || (templateObject_2$5 = __makeTemplateObject(["\n margin: ", "px\n ", "px;\n"], ["\n margin: ", "px\n ", "px;\n"])), function (_a) {
1734
- var theme = _a.theme;
1735
- return theme.space.base * 6;
1736
- }, function (_a) {
1737
- var theme = _a.theme;
1738
- return theme.space.base * 4;
1739
- });
1740
- var StyledParagraph = styled__default["default"](Paragraph)(templateObject_3$2 || (templateObject_3$2 = __makeTemplateObject(["\n margin-top: ", "px;\n"], ["\n margin-top: ", "px;\n"])), function (_a) {
1741
- var theme = _a.theme;
1742
- return theme.space.base * 4;
1743
- });
1744
- var Footer = styled__default["default"].div(templateObject_4$1 || (templateObject_4$1 = __makeTemplateObject(["\n margin-top: auto;\n"], ["\n margin-top: auto;\n"])));
1745
- styled__default["default"](MD)(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n text-align: left;\n color: ", ";\n"], ["\n text-align: left;\n color: ", ";\n"])), theme.palette.blue[600]);
1746
- var Description = styled__default["default"].div(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n ", "\n justify-content: space-between;\n text-align: left;\n width: 100%;\n font-weight: ", ";\n font-size: ", ";\n line-height: 140%;\n color: ", ";\n margin: 2px 0px;\n"], ["\n ", "\n justify-content: space-between;\n text-align: left;\n width: 100%;\n font-weight: ", ";\n font-size: ", ";\n line-height: 140%;\n color: ", ";\n margin: 2px 0px;\n"])), flexCenter, theme.fontWeights.regular, theme.fontSizes.sm, theme.palette.grey["600"]);
1747
- var HelpItem = function (props) {
1748
- var _a, _b, _c;
1749
- var csm = props.csm;
1750
- var email = csm.email;
1751
- var copyToClipBoard = function () {
1752
- navigator.clipboard.writeText(props.csm.email);
1753
- };
1754
- var csmEmailCut = email;
1755
- if (email.length > 24) {
1756
- csmEmailCut = "".concat(email.substring(0, 21), "...");
1757
- }
1758
- var content = (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsx(PreviousButton, __assign({ onClick: function () { return props.setActive(""); }, isBasic: true }, { children: props.title })), jsxRuntime.jsx(Separator, {}), jsxRuntime.jsxs(StyledBody$2, { children: [jsxRuntime.jsx(Paragraph, __assign({ style: { color: theme.palette.grey[600] } }, { children: jsxRuntime.jsx(SM, { children: props.contactLabel }) })), jsxRuntime.jsx(StyledParagraph, { children: jsxRuntime.jsx(Avatar, { children: (_a = props.csm.picture) !== null && _a !== void 0 ? _a : getInitials(props.csm.name), avatarType: props.csm.picture ? "image" : "text", size: "large" }) }), jsxRuntime.jsxs(StyledParagraph, { children: [jsxRuntime.jsx(MD, __assign({ isBold: true }, { children: props.csm.name })), jsxRuntime.jsxs(Description, { children: [jsxRuntime.jsx(Anchor, __assign({ href: "mailto:".concat(props.csm.email), style: { color: theme.palette.grey[600] } }, { children: csmEmailCut })), jsxRuntime.jsxs(Button, __assign({ isBasic: true, onClick: copyToClipBoard, size: "small", variant: "isBasic" }, { children: [jsxRuntime.jsx(Button.StartIcon, { children: jsxRuntime.jsx(SvgCopy, {}) }), (_b = props.copyLabel) !== null && _b !== void 0 ? _b : "Copy"] }))] })] })] }), jsxRuntime.jsxs(Footer, { children: [jsxRuntime.jsx(Separator, {}), jsxRuntime.jsxs(StyledButton, __assign({ isStretched: true, isBasic: true, onClick: props.toggleChat, style: { paddingLeft: theme.space.xxs } }, { children: [jsxRuntime.jsx(StyledButton.StartIcon, { children: jsxRuntime.jsx(SvgInfoFill, { fill: theme.palette.blue[600] }) }), (_c = props.chatSupportLabel) !== null && _c !== void 0 ? _c : "Report a technical issue"] }))] })] }));
1759
- return (jsxRuntime.jsx(jsxRuntime.Fragment, { children: jsxRuntime.jsx(MenuItem, __assign({ content: content, value: props.value, selectedItem: props.selectedItem, setActive: props.setActive, icon: jsxRuntime.jsx(SvgQuestionMark, { fill: theme.palette.grey[600] }) }, { children: props.title })) }));
1760
- };
1761
- var templateObject_1$8, templateObject_2$5, templateObject_3$2, templateObject_4$1, templateObject_5, templateObject_6;
1762
-
1763
- var _path$1;
1764
-
1765
- function _extends$2() { _extends$2 = Object.assign || 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$2.apply(this, arguments); }
1766
-
1767
- var SvgCheckLg = function SvgCheckLg(props) {
1768
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$2({
1769
- width: 16,
1770
- height: 16,
1771
- viewBox: "0 0 16 16",
1772
- fill: "#68737D",
1773
- xmlns: "http://www.w3.org/2000/svg"
1774
- }, props), _path$1 || (_path$1 = /*#__PURE__*/React__namespace.createElement("path", {
1775
- fillRule: "evenodd",
1776
- clipRule: "evenodd",
1777
- 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"
1778
- })));
1779
- };
1780
-
1781
- function _extends$1() { _extends$1 = Object.assign || 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$1.apply(this, arguments); }
1782
-
1783
- var SvgEmpty = function SvgEmpty(props) {
1784
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$1({
1785
- width: 16,
1786
- height: 16,
1787
- viewBox: "0 0 16 16",
1788
- fill: "#68737D",
1789
- xmlns: "http://www.w3.org/2000/svg"
1790
- }, props));
1791
- };
1792
-
1793
- var _path;
1794
-
1795
- function _extends() { _extends = Object.assign || 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.apply(this, arguments); }
1796
-
1797
- var SvgTranslationExists = function SvgTranslationExists(props) {
1798
- return /*#__PURE__*/React__namespace.createElement("svg", _extends({
1799
- width: 16,
1800
- height: 16,
1801
- viewBox: "0 0 16 16",
1802
- fill: "#68737D",
1803
- xmlns: "http://www.w3.org/2000/svg"
1804
- }, props), _path || (_path = /*#__PURE__*/React__namespace.createElement("path", {
1805
- fillRule: "evenodd",
1806
- clipRule: "evenodd",
1807
- d: "M6 8.31C6.0087 8.47711 5.93254 8.63735 5.79747 8.73613C5.6624 8.83491 5.48662 8.85893 5.33 8.8C5 8.68 4.71 8.5 4.45 8.31C3.9 8.73 3.26 9 2.5 9C2.22 9 2 8.78 2 8.5C2 8.22 2.22 8 2.5 8C2.94 8 3.34 7.86 3.69 7.63C2.9 6.73 2.55 5.72 2.53 5.66C2.44 5.4 2.58 5.11 2.84 5.03C3.1 4.94 3.39 5.08 3.47 5.34C3.47 5.35 3.78 6.21 4.43 6.95C5.19 6.04 5.64 4.75 5.86 4H2.5C2.22 4 2 3.78 2 3.5C2 3.22 2.22 3 2.5 3H4V2.5C4 2.22 4.22 2 4.5 2C4.78 2 5 2.22 5 2.5V3H6.5C6.65 3 6.79 3.07 6.89 3.18C6.98 3.3 7.02 3.45 6.99 3.6C6.98 3.65 6.91 3.98 6.77 4.43C7.11 4.17 7.53 4 8 4H9V1C9 0.45 8.55 0 8 0H1C0.45 0 0 0.45 0 1V10C0 10.55 0.45 11 1 11H6V8.31ZM5.67 7.86C5.86 7.93 5.99 8.1 6 8.29V6.35C5.77 6.79 5.5 7.22 5.18 7.61C5.33 7.71 5.49 7.79 5.67 7.86ZM15 5H8C7.45 5 7 5.45 7 6V15C7 15.55 7.45 16 8 16H15C15.55 16 16 15.55 16 15V6C16 5.45 15.55 5 15 5ZM13.7 12.96C13.4459 13.0656 13.1538 12.9505 13.04 12.7L12.73 12H10.27L9.96 12.7C9.85 12.95 9.55 13.07 9.3 12.95C9.05 12.83 8.93 12.54 9.05 12.29L11.05 7.79C11.21 7.43 11.8 7.43 11.96 7.79L13.96 12.29C14.07 12.55 13.96 12.84 13.7 12.96ZM10.71 11H12.29L11.5 9.23L10.71 11Z"
1808
- })));
1809
- };
1810
-
1811
- var StyledBody$1 = styled__default["default"].div(templateObject_1$7 || (templateObject_1$7 = __makeTemplateObject(["\n margin: ", "px\n ", "px;\n"], ["\n margin: ", "px\n ", "px;\n"])), function (_a) {
1812
- var theme = _a.theme;
1813
- return theme.space.base * 6;
1814
- }, function (_a) {
1815
- var theme = _a.theme;
1816
- return theme.space.base * 4;
1817
- });
1818
- var StyledButtonContainer = styled__default["default"].div(templateObject_2$4 || (templateObject_2$4 = __makeTemplateObject(["\n ", "\n & button { \n justify-content: flex-start;\n }\n"], ["\n ", "\n & button { \n justify-content: flex-start;\n }\n"])), flexStart);
1819
- var LanguageItem = function (props) {
1820
- var _a;
1821
- var content = (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsx(PreviousButton, __assign({ onClick: function () { return props.setActive(""); }, isBasic: true }, { children: props.title })), jsxRuntime.jsx(Separator, {}), jsxRuntime.jsx(StyledBody$1, { children: jsxRuntime.jsx(StyledButtonContainer, { children: Object.keys(props.languages).map(function (key) { return (jsxRuntime.jsxs(Button, __assign({ isBasic: true, isStretched: true, value: key, onClick: function () { return props.onSelectLanguage(key); } }, { children: [jsxRuntime.jsx(Button.StartIcon, { children: props.currentLanguage === key ? jsxRuntime.jsx(SvgCheckLg, {}) : jsxRuntime.jsx(SvgEmpty, {}) }), jsxRuntime.jsx(Span, __assign({ isBold: props.currentLanguage === key }, { children: props.languages[key].label }))] }))); }) }) })] }));
1822
- return (jsxRuntime.jsx(jsxRuntime.Fragment, { children: jsxRuntime.jsx(MenuItem, __assign({ content: content, value: props.value, selectedItem: props.selectedItem, setActive: props.setActive, icon: jsxRuntime.jsx(SvgTranslationExists, { fill: theme.palette.blue[600] }) }, { children: jsxRuntime.jsxs(MenuItemBody, { children: [props.title, jsxRuntime.jsxs(MD, __assign({ style: { color: theme.palette.grey[600] } }, { children: [(_a = props.currentLanguageLabel) !== null && _a !== void 0 ? _a : "Now:", " " + props.languages[props.currentLanguage].label] }))] }) })) }));
1823
- };
1824
- var templateObject_1$7, templateObject_2$4;
1825
-
1826
- var ProfileContainer = styled__default["default"].div(templateObject_1$6 || (templateObject_1$6 = __makeTemplateObject(["\n ", "\n padding-top: ", "px;\n margin-bottom: ", "px;\n"], ["\n ", "\n padding-top: ", "px;\n margin-bottom: ", "px;\n"])), flexColumnCenter, function (_a) {
1827
- var theme = _a.theme;
1828
- return theme.space.base * 2;
1829
- }, function (_a) {
1830
- var theme = _a.theme;
1831
- return theme.space.base * 6;
1832
- });
1833
- var CompanyHolder = styled__default["default"](SM)(templateObject_2$3 || (templateObject_2$3 = __makeTemplateObject(["\n text-transform: uppercase;\n margin-top: ", "px;\n margin-bottom: ", "px;\n color: ", ";\n"], ["\n text-transform: uppercase;\n margin-top: ", "px;\n margin-bottom: ", "px;\n color: ", ";\n"])), function (_a) {
1834
- var theme = _a.theme;
1835
- return theme.space.base * 2;
1836
- }, function (_a) {
1837
- var theme = _a.theme;
1838
- return theme.space.base * 4;
1839
- }, function (_a) {
1840
- var theme = _a.theme;
1841
- return theme.palette.blue["600"];
1842
- });
1843
- var UserDetails = styled__default["default"].div(templateObject_3$1 || (templateObject_3$1 = __makeTemplateObject(["\n margin-top: ", "px;\n margin-bottom: ", "px;\n text-align: center;\n"], ["\n margin-top: ", "px;\n margin-bottom: ", "px;\n text-align: center;\n"])), function (_a) {
1844
- var theme = _a.theme;
1845
- return theme.space.base * 4;
1846
- }, function (_a) {
1847
- var theme = _a.theme;
1848
- return theme.space.base * 6;
1849
- });
1850
- var UserContainer = function (props) {
1851
- var _a;
1852
- return (jsxRuntime.jsxs(ProfileContainer, { children: [props.company && jsxRuntime.jsx(CompanyHolder, __assign({ isBold: true }, { children: props.company })), jsxRuntime.jsx(Avatar, { children: (_a = props.picture) !== null && _a !== void 0 ? _a : getInitials(props.name), avatarType: props.picture ? "image" : "text", size: "large" }), jsxRuntime.jsxs(UserDetails, { children: [jsxRuntime.jsx(MD, __assign({ isBold: true, style: { color: theme.palette.blue[600] } }, { children: props.name })), jsxRuntime.jsx(SM, __assign({ style: { color: theme.palette.grey[600] } }, { children: props.email }))] })] }));
1853
- };
1854
- var templateObject_1$6, templateObject_2$3, templateObject_3$1;
1855
-
1856
- var StyledList = styled__default["default"].ul(templateObject_1$5 || (templateObject_1$5 = __makeTemplateObject(["\n padding: 0;\n margin: 0;\n"], ["\n padding: 0;\n margin: 0;\n"])));
1857
- var UserMenu = function (props) {
1858
- var _a = React.useState(""), item = _a[0], setActiveItem = _a[1];
1859
- var toggleItem = function (item) {
1860
- setActiveItem(item);
1861
- };
1862
- return (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [item === "" && jsxRuntime.jsx(UserContainer, __assign({}, props.user)), jsxRuntime.jsxs(StyledList, { children: [item === "" && jsxRuntime.jsx(Separator, {}), jsxRuntime.jsx(MenuItem, __assign({ selectedItem: item, icon: jsxRuntime.jsx(SvgThumbsUp, {}), setActive: function () { return props.onFeedbackClick(); } }, { children: jsxRuntime.jsxs(MenuItemBody, { children: [props.feedbackTitle || "Give us your feedback", jsxRuntime.jsx(MD, __assign({ style: { color: theme.palette.grey[600] } }, { children: props.feedbackSubTitle || "Help us improve UNGUESS!" }))] }) })), item === "" && jsxRuntime.jsx(Separator, {}), jsxRuntime.jsx(HelpItem, { value: "csm", selectedItem: item, setActive: function (i) { return toggleItem(i); }, title: props.csmTitle || "Need Help?", contactLabel: props.csmContactLabel || "Contact your CSM", csm: props.csm, toggleChat: props.onToggleChat }), jsxRuntime.jsx(LanguageItem, { title: props.languageTitle || "Change Language", value: "language-selector", selectedItem: item, setActive: function (i) { return toggleItem(i); }, languages: props.languages, currentLanguage: props.currentLanguage, onSelectLanguage: function (lang) { return props.onSelectLanguage(lang); } }), jsxRuntime.jsx(MenuItem, __assign({ selectedItem: item, icon: jsxRuntime.jsx(SvgExit, { fill: theme.palette.red[600] }), setActive: function () { return props.onLogout(); } }, { children: props.logoutTitle || "Log out" }))] })] }));
1863
- };
1864
- var templateObject_1$5;
1865
-
1866
- function debounce(callback, wait) {
1867
- var timer;
1868
- return function () {
1869
- if (typeof timer !== "undefined")
1870
- clearTimeout(timer);
1871
- timer = setTimeout(function () {
1872
- timer = undefined;
1873
- callback();
1874
- }, wait);
1875
- };
1876
- }
1877
- function useWindowSize() {
1878
- var _a = React.useState({
1879
- width: window.innerWidth,
1880
- height: window.innerHeight,
1881
- }), size = _a[0], setSize = _a[1];
1882
- React.useLayoutEffect(function () {
1883
- var debounceUpdateSize = debounce(function () {
1884
- setSize({ width: window.innerWidth, height: window.innerHeight });
1885
- }, 300);
1886
- window.addEventListener("resize", debounceUpdateSize);
1887
- debounceUpdateSize();
1888
- return function () { return window.removeEventListener("resize", debounceUpdateSize); };
1889
- }, []);
1890
- return size;
1891
- }
1892
-
1893
- var StyledModal = styled__default["default"](Modal)(templateObject_1$4 || (templateObject_1$4 = __makeTemplateObject(["\n margin: 0;\n left: auto;\n right: auto;\n top: auto;\n bottom: auto;\n\n max-height: calc(100vh - ", ");\n\n @media (min-width: ", ") {\n margin-top: calc(\n ", "\n );\n margin-right: ", "px;\n }\n"], ["\n margin: 0;\n left: auto;\n right: auto;\n top: auto;\n bottom: auto;\n\n max-height: calc(100vh - ", ");\n\n @media (min-width: ", ") {\n margin-top: calc(\n ", "\n );\n margin-right: ", "px;\n }\n"])), function (_a) {
1894
- var theme = _a.theme;
1895
- return theme.space.xxl;
1896
- }, function (_a) {
1897
- var theme = _a.theme;
1898
- return theme.breakpoints.sm;
1899
- }, function (_a) {
1900
- var theme = _a.theme;
1901
- return "".concat(theme.components.Headers.height, " - ").concat(theme.space.xs);
1902
- }, function (_a) {
1903
- var theme = _a.theme;
1904
- return theme.space.base * 3;
1905
- });
1906
- var StyledBody = styled__default["default"](Modal.Body)(templateObject_2$2 || (templateObject_2$2 = __makeTemplateObject(["\n margin: ", ";\n padding: 0;\n"], ["\n margin: ", ";\n padding: 0;\n"])), function (_a) {
1907
- var theme = _a.theme;
1908
- return theme.space.xxs + " " + theme.space.xs;
1909
- });
1910
- var backDropStyle = {
1911
- backgroundColor: "transparent",
1912
- alignItems: "start",
1913
- justifyContent: "end",
1914
- };
1915
- /**
1916
- * Profile Modal
1917
-
1918
- * Used for this:
1919
- - Show user main infos and actions
1920
-
1921
- */
1922
- var ProfileModal = function (_a) {
1923
- var menuArgs = _a.menuArgs, args = __rest(_a, ["menuArgs"]);
1924
- var width = useWindowSize().width;
1925
- var smBreakpoint = Number(theme.breakpoints.sm.replace("px", ""));
1926
- var backDrop = {
1927
- style: __assign({}, (width > smBreakpoint && __assign({}, backDropStyle))),
1928
- };
1929
- return (jsxRuntime.jsx(StyledModal, __assign({}, args, { style: { width: "300px" }, backdropProps: backDrop }, { children: jsxRuntime.jsx(StyledBody, { children: jsxRuntime.jsx(UserMenu, __assign({}, menuArgs)) }) })));
1930
- };
1931
- var templateObject_1$4, templateObject_2$2;
1932
-
1933
- var UgTable = styled__default["default"](reactTables.Table)(templateObject_1$3 || (templateObject_1$3 = __makeTemplateObject([""], [""])));
1934
- /**
1935
- * A Table organizes data into columns and rows. Tables make it easier for users to compare and analyze information.
1936
-
1937
- * Used for this:
1938
- - To organize and display read-only data with logical relationships
1939
-
1940
- * Not for this:
1941
- - To structure content on a page, use the Grid component instead
1942
- */
1943
- var Table = function (props) { return jsxRuntime.jsx(UgTable, __assign({}, props)); };
1944
- // Extras
1945
- var Head = function (props) { return (jsxRuntime.jsx(reactTables.Head, __assign({}, props))); };
1946
- var HeaderRow = function (props) { return jsxRuntime.jsx(reactTables.HeaderRow, __assign({}, props)); };
1947
- var HeaderCell = function (props) { return jsxRuntime.jsx(reactTables.HeaderCell, __assign({}, props)); };
1948
- var Body = function (props) { return (jsxRuntime.jsx(reactTables.Body, __assign({}, props))); };
1949
- var Row = function (props) { return jsxRuntime.jsx(reactTables.Row, __assign({}, props)); };
1950
- var Cell = function (props) { return jsxRuntime.jsx(reactTables.Cell, __assign({}, props)); };
1951
- var Caption = function (props) { return (jsxRuntime.jsx(reactTables.Caption, __assign({}, props))); };
1952
- var templateObject_1$3;
1953
-
1954
- var StyledAnimatedToggle = styled__default["default"](reactSpring.animated.div)(templateObject_1$2 || (templateObject_1$2 = __makeTemplateObject(["\n display: inline-block;\n float: right;\n"], ["\n display: inline-block;\n float: right;\n"])));
1955
- var StyledUgIcon = styled__default["default"](Icon)(templateObject_2$1 || (templateObject_2$1 = __makeTemplateObject([""], [""])));
1956
- var UgGroupRow = styled__default["default"](reactTables.GroupRow)(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n cursor: pointer;\n\n &.empty {\n cursor: default;\n\n * {\n color: ", " !important;\n cursor: default !important;\n }\n }\n\n svg {\n vertical-align: middle;\n }\n\n .title {\n padding-left: 10px;\n vertical-align: middle;\n font-size: ", ";\n cursor: pointer;\n }\n"], ["\n cursor: pointer;\n\n &.empty {\n cursor: default;\n\n * {\n color: ", " !important;\n cursor: default !important;\n }\n }\n\n svg {\n vertical-align: middle;\n }\n\n .title {\n padding-left: 10px;\n vertical-align: middle;\n font-size: ", ";\n cursor: pointer;\n }\n"])), theme.palette.grey[500], theme.fontSizes.sm);
1957
- var GroupRow = function (props) { return jsxRuntime.jsx(UgGroupRow, __assign({}, props)); };
1958
- var GroupRowComponent = function (props) {
1959
- var toggleIconAnimation = reactSpring.useSpring({
1960
- config: { duration: 120 },
1961
- transform: props.group.items.length > 0
1962
- ? props.open
1963
- ? "rotate(180deg)"
1964
- : "rotate(0deg)"
1965
- : "rotate(0deg)",
1966
- });
1967
- return (jsxRuntime.jsx(GroupRow, __assign({}, (props && props.group.items.length === 0 && { className: "empty" }), (props &&
1968
- props.group.items.length > 0 && { onClick: props.handleToggle }), props, { children: jsxRuntime.jsxs(Cell, __assign({ colSpan: props.colSpan, className: props.open ? "open" : "closed" }, { children: [props.group.groupIcon && (jsxRuntime.jsx(StyledUgIcon, { size: 12, type: props.group.groupIcon })), jsxRuntime.jsxs(Label, __assign({ isRegular: true, className: "title" }, { children: [props.group.groupName, " ", jsxRuntime.jsxs("b", { children: ["(", props.group.items.length, ")"] })] })), jsxRuntime.jsx(StyledAnimatedToggle, __assign({ style: toggleIconAnimation }, { children: jsxRuntime.jsx(SvgChevronDownStroke, {}) }))] })) })));
1969
- };
1970
- var AnimatedRow = styled__default["default"](Row)(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n &.render {\n position: absolute;\n opacity: 0;\n z-index: -1;\n }\n\n &.show {\n position: static;\n opacity: 1;\n transition: all 0.6s ease;\n }\n"], ["\n &.render {\n position: absolute;\n opacity: 0;\n z-index: -1;\n }\n\n &.show {\n position: static;\n opacity: 1;\n transition: all 0.6s ease;\n }\n"])));
1971
- var GroupComponent = function (_a) {
1972
- var group = _a.group, columns = _a.columns;
1973
- var _b = React.useState(true), open = _b[0], setOpen = _b[1];
1974
- var handleToggle = function () {
1975
- setOpen(!open);
1976
- };
1977
- return (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsx(GroupRowComponent, { colSpan: columns.length, handleToggle: handleToggle, open: open, group: group }), group.items.map(function (item, index) { return (jsxRuntime.jsx(AnimatedRow, __assign({ className: open ? "render show" : "render" }, { children: columns.map(function (column) { return (jsxRuntime.jsx(Cell, { children: item[column.field] }, column.field)); }) }), index)); })] }));
1978
- };
1979
- var GroupedTable = function (_a) {
1980
- var columns = _a.columns, groups = _a.groups, args = __rest(_a, ["columns", "groups"]);
1981
- return (jsxRuntime.jsxs(Table, __assign({ style: { minWidth: 500 } }, args, { children: [jsxRuntime.jsx(Head, { children: jsxRuntime.jsx(HeaderRow, { children: columns === null || columns === void 0 ? void 0 : columns.map(function (column) { return (jsxRuntime.jsx(HeaderCell, { children: column.name }, column.field)); }) }) }), jsxRuntime.jsx(Body, { children: groups === null || groups === void 0 ? void 0 : groups.map(function (group, index) {
1982
- return jsxRuntime.jsx(GroupComponent, { columns: columns, group: group }, index);
1983
- }) })] })));
1984
- };
1985
- var templateObject_1$2, templateObject_2$1, templateObject_3, templateObject_4;
1986
-
1987
- /**
1988
- * Tiles are Radio buttons styled with icons or images.
1989
-
1990
- * Used for this:
1991
- - Like Radios, Tiles are for choices that can't occur at the same time
1992
-
1993
- * Not for this:
1994
- - To choose more than one option at once, use a Checkbox instead
1995
- - To select from a long list of options, use a Select
1996
- - To define an action, use a Button instead
1997
- - For navigation, use an Anchor instead
1998
- */
1999
- var Tiles = function (props) { return jsxRuntime.jsx(reactForms.Tiles, __assign({}, props)); };
2000
- Tiles.Description = reactForms.Tiles.Description;
2001
- Tiles.Icon = reactForms.Tiles.Icon;
2002
- Tiles.Label = reactForms.Tiles.Label;
2003
- Tiles.Tile = reactForms.Tiles.Tile;
2004
-
2005
- /**
2006
- * A Trigger is a wrapper for input elements
2007
- **/
2008
- var Trigger = function (props) { return jsxRuntime.jsx(reactDropdowns.Trigger, __assign({}, props)); };
2009
-
2010
- /**
2011
- * Use Blockquote to represent a body of text that is from another source.
2012
- */
2013
- var Blockquote = function (props) { return jsxRuntime.jsx(reactTypography.Blockquote, __assign({}, props)); };
2014
-
2015
- var UgCode = styled__default["default"](reactTypography.Code)(templateObject_1$1 || (templateObject_1$1 = __makeTemplateObject([""], [""])));
2016
- /**
2017
- * Use Code to style and format inline fragments of computer code.
2018
- */
2019
- var Code = function (props) { return jsxRuntime.jsx(UgCode, __assign({}, props)); };
2020
- var templateObject_1$1;
2021
-
2022
- var UgOrderedList = styled__default["default"](reactTypography.OrderedList)(templateObject_1 || (templateObject_1 = __makeTemplateObject([""], [""])));
2023
- var UgUnorderedList = styled__default["default"](reactTypography.UnorderedList)(templateObject_2 || (templateObject_2 = __makeTemplateObject([""], [""])));
2024
- /**
2025
- * Use Lists to style and format ordered and unordered lists.
2026
- * <hr>
2027
- * Use Lists to style and format ordered (`<ol>`) and unordered (`<ul>`) lists.
2028
- */
2029
- var OrderedList = function (props) { return jsxRuntime.jsx(UgOrderedList, __assign({}, props)); };
2030
- OrderedList.Item = UgOrderedList.Item;
2031
- var UnorderedList = function (props) { return jsxRuntime.jsx(UgUnorderedList, __assign({}, props)); };
2032
- UnorderedList.Item = UgUnorderedList.Item;
2033
- var templateObject_1, templateObject_2;
2034
-
2035
- Object.defineProperty(exports, 'ModalClose', {
2036
- enumerable: true,
2037
- get: function () { return reactModals.Close; }
2038
- });
2039
- exports.Accordion = Accordion;
2040
- exports.Anchor = Anchor;
2041
- exports.AppHeader = AppHeader;
2042
- exports.Avatar = Avatar;
2043
- exports.Blockquote = Blockquote;
2044
- exports.Body = Body$1;
2045
- exports.BrandItem = BrandItem;
2046
- exports.Breadcrumb = Breadcrumb;
2047
- exports.Button = Button;
2048
- exports.ButtonGroup = ButtonGroup;
2049
- exports.CampaignCard = CampaignCard;
2050
- exports.Caption = Caption;
2051
- exports.Card = Card;
2052
- exports.Checkbox = Checkbox;
2053
- exports.Chrome = Chrome;
2054
- exports.Close = Close;
2055
- exports.Code = Code;
2056
- exports.Col = Col;
2057
- exports.Content = Content;
2058
- exports.Counter = Counter;
2059
- exports.CursorPagination = CursorPagination;
2060
- exports.Dropdown = Dropdown;
2061
- exports.DropdownField = index$1;
2062
- exports.Ellipsis = Ellipsis;
2063
- exports.FooterItem = FooterItem;
2064
- exports.FormField = index;
2065
- exports.GlobalStyle = GlobalStyle;
2066
- exports.Grid = Grid;
2067
- exports.GroupRow = GroupRow;
2068
- exports.GroupedTable = GroupedTable;
2069
- exports.Header = Header;
2070
- exports.HeaderCell = HeaderCell;
2071
- exports.HeaderItem = HeaderItem;
2072
- exports.HeaderItemIcon = HeaderItemIcon;
2073
- exports.HeaderItemText = HeaderItemText;
2074
- exports.HeaderRow = HeaderRow;
2075
- exports.Icon = Icon;
2076
- exports.IconButton = IconButton;
2077
- exports.Input = Input;
2078
- exports.Item = Item;
2079
- exports.ItemMeta = ItemMeta;
2080
- exports.LG = LG;
2081
- exports.Label = Label;
2082
- exports.LoginForm = LoginForm;
2083
- exports.Logo = Logo;
2084
- exports.MD = MD;
2085
- exports.Main = Main;
2086
- exports.MediaBody = MediaBody;
2087
- exports.MediaFigure = MediaFigure;
2088
- exports.MediaItem = MediaItem;
2089
- exports.Menu = Menu;
2090
- exports.Message = Message;
2091
- exports.Modal = Modal;
2092
- exports.Multiselect = Multiselect;
2093
- exports.Nav = Nav;
2094
- exports.NavDivider = NavDivider;
2095
- exports.NavItem = NavItem;
2096
- exports.NavItemIcon = NavItemIcon;
2097
- exports.NavItemProject = NavItemProject;
2098
- exports.NavItemText = NavItemText;
2099
- exports.NavToggle = NavToggle;
2100
- exports.NextItem = NextItem;
2101
- exports.Notification = Notification;
2102
- exports.OrderedList = OrderedList;
2103
- exports.Pagination = Pagination;
2104
- exports.Paragraph = Paragraph;
2105
- exports.PreviousItem = PreviousItem;
2106
- exports.ProfileModal = ProfileModal;
2107
- exports.Progress = Progress;
2108
- exports.Radio = Radio;
2109
- exports.Row = Row$1;
2110
- exports.SM = SM;
2111
- exports.Select = Select;
2112
- exports.Separator = Separator;
2113
- exports.Sidebar = Sidebar;
2114
- exports.Skeleton = Skeleton;
2115
- exports.Span = Span;
2116
- exports.Spinner = Spinner;
2117
- exports.SplitButton = SplitButton;
2118
- exports.Table = Table;
2119
- exports.TableBody = Body;
2120
- exports.TableCell = Cell;
2121
- exports.TableHead = Head;
2122
- exports.TableRow = Row;
2123
- exports.Tag = Tag;
2124
- exports.Textarea = Textarea;
2125
- exports.Tiles = Tiles;
2126
- exports.Title = Title;
2127
- exports.ToastProvider = ToastProvider;
2128
- exports.Toggle = Toggle;
2129
- exports.Trigger = Trigger;
2130
- exports.UnorderedList = UnorderedList;
2131
- exports.XL = XL;
2132
- exports.XXL = XXL;
2133
- exports.XXXL = XXXL;
2134
- exports.theme = theme;
2135
- exports.useToast = useToast;