chop-logic-components 3.7.2 → 4.0.0

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 (238) hide show
  1. package/README.md +4 -4
  2. package/dist/components/atoms/button/Button.css +1 -0
  3. package/dist/components/atoms/button/Button.js +66 -0
  4. package/dist/components/atoms/button/icon-button/IconButton.css +1 -0
  5. package/dist/components/atoms/button/icon-button/IconButton.js +15 -0
  6. package/dist/components/atoms/button/icon-button/index.js +3 -0
  7. package/dist/components/atoms/button/index.js +3 -0
  8. package/dist/components/atoms/button/inner-button/InnerButton.css +1 -0
  9. package/dist/components/atoms/button/inner-button/InnerButton.js +28 -0
  10. package/dist/components/atoms/button/inner-button/index.js +3 -0
  11. package/dist/components/atoms/button/primary-button/PrimaryButton.css +1 -0
  12. package/dist/components/atoms/button/primary-button/PrimaryButton.js +18 -0
  13. package/dist/components/atoms/button/primary-button/index.js +3 -0
  14. package/dist/components/atoms/button/secondary-button/SecondaryButton.css +1 -0
  15. package/dist/components/atoms/button/secondary-button/SecondaryButton.js +18 -0
  16. package/dist/components/atoms/button/secondary-button/index.js +3 -0
  17. package/dist/components/atoms/editable-text/EditView.js +37 -0
  18. package/dist/components/atoms/editable-text/EditableText.css +1 -0
  19. package/dist/components/atoms/editable-text/EditableText.js +71 -0
  20. package/dist/components/atoms/editable-text/ReadView.js +25 -0
  21. package/dist/components/atoms/editable-text/index.js +3 -0
  22. package/dist/components/atoms/editable-text/useEditModeState.js +17 -0
  23. package/dist/components/atoms/editable-text/useInputFocus.js +9 -0
  24. package/dist/components/atoms/editable-text/useValueState.js +21 -0
  25. package/dist/components/atoms/error-message/ErrorMessage.css +1 -0
  26. package/dist/components/atoms/error-message/ErrorMessage.js +30 -0
  27. package/dist/components/atoms/error-message/index.js +3 -0
  28. package/dist/components/atoms/header/Header.css +1 -0
  29. package/dist/components/atoms/header/Header.js +22 -0
  30. package/dist/components/atoms/header/index.js +3 -0
  31. package/dist/components/atoms/icon/Icon.css +1 -0
  32. package/dist/components/atoms/icon/Icon.js +31 -0
  33. package/dist/components/atoms/icon/index.js +3 -0
  34. package/dist/components/atoms/image/BasicImage.js +27 -0
  35. package/dist/components/atoms/image/FallBackImage.js +10 -0
  36. package/dist/components/atoms/image/Image.css +1 -0
  37. package/dist/components/atoms/image/Image.js +24 -0
  38. package/dist/components/atoms/image/ResponsivePicture.js +17 -0
  39. package/dist/components/atoms/image/index.js +3 -0
  40. package/dist/components/atoms/input/Input.css +1 -0
  41. package/dist/components/atoms/input/Input.js +10 -0
  42. package/dist/components/atoms/input/index.js +3 -0
  43. package/dist/components/atoms/label/Label.css +1 -0
  44. package/dist/components/atoms/label/Label.js +30 -0
  45. package/dist/components/atoms/label/index.js +3 -0
  46. package/dist/components/atoms/link/Link.css +1 -0
  47. package/dist/components/atoms/link/Link.js +39 -0
  48. package/dist/components/atoms/link/index.js +3 -0
  49. package/dist/components/atoms/portal/Portal.js +11 -0
  50. package/dist/components/atoms/portal/index.js +2 -0
  51. package/dist/components/atoms/tooltip/Tooltip.controller.js +35 -0
  52. package/dist/components/atoms/tooltip/Tooltip.css +1 -0
  53. package/dist/components/atoms/tooltip/Tooltip.js +70 -0
  54. package/dist/components/atoms/tooltip/index.js +3 -0
  55. package/dist/components/contexts/form/FormContext.js +5 -0
  56. package/dist/components/contexts/theme/ThemeContext.js +11 -0
  57. package/dist/components/contexts/theme/ThemeProvider.js +21 -0
  58. package/dist/components/hocs/with-figure-caption/Figure.css +1 -0
  59. package/dist/components/hocs/with-figure-caption/index.js +2 -0
  60. package/dist/components/hocs/with-figure-caption/with-figure-caption.js +11 -0
  61. package/dist/components/hocs/with-tooltip/index.js +2 -0
  62. package/dist/components/hocs/with-tooltip/with-tooltip.js +8 -0
  63. package/dist/components/molecules/accordion/Accordion.css +1 -0
  64. package/dist/components/molecules/accordion/Accordion.js +11 -0
  65. package/dist/components/molecules/accordion/AccordionItem.css +1 -0
  66. package/dist/components/molecules/accordion/AccordionItem.js +24 -0
  67. package/dist/components/molecules/accordion/index.js +3 -0
  68. package/dist/components/molecules/alert/Alert.css +1 -0
  69. package/dist/components/molecules/alert/Alert.helpers.js +41 -0
  70. package/dist/components/molecules/alert/Alert.js +59 -0
  71. package/dist/components/molecules/alert/AlertProgressBar.js +13 -0
  72. package/dist/components/molecules/alert/index.js +3 -0
  73. package/dist/components/molecules/breadcrumbs/BreadcrumbItem.js +27 -0
  74. package/dist/components/molecules/breadcrumbs/BreadcrumbList.js +6 -0
  75. package/dist/components/molecules/breadcrumbs/Breadcrumbs.css +1 -0
  76. package/dist/components/molecules/breadcrumbs/Breadcrumbs.js +31 -0
  77. package/dist/components/molecules/breadcrumbs/index.js +3 -0
  78. package/dist/components/molecules/checkbox/Checkbox.controller.js +25 -0
  79. package/dist/components/molecules/checkbox/Checkbox.css +1 -0
  80. package/dist/components/molecules/checkbox/Checkbox.helpers.js +10 -0
  81. package/dist/components/molecules/checkbox/Checkbox.js +7 -0
  82. package/dist/components/molecules/checkbox/CheckboxStateful.js +61 -0
  83. package/dist/components/molecules/checkbox/CheckboxStateless.js +59 -0
  84. package/dist/components/molecules/checkbox/index.js +3 -0
  85. package/dist/components/molecules/multi-select/MultiSelect.Combobox.js +47 -0
  86. package/dist/components/molecules/multi-select/MultiSelect.Dropdown.js +31 -0
  87. package/dist/components/molecules/multi-select/MultiSelect.controller.js +37 -0
  88. package/dist/components/molecules/multi-select/MultiSelect.helpers.js +22 -0
  89. package/dist/components/molecules/multi-select/MultiSelect.js +61 -0
  90. package/dist/components/molecules/multi-select/MultiSelectComboboxSelectedValues.js +8 -0
  91. package/dist/components/molecules/multi-select/Option.js +40 -0
  92. package/dist/components/molecules/multi-select/index.js +2 -0
  93. package/dist/components/molecules/numeric-input/NumericInput.controller.js +45 -0
  94. package/dist/components/molecules/numeric-input/NumericInput.css +1 -0
  95. package/dist/components/molecules/numeric-input/NumericInput.helpers.js +20 -0
  96. package/dist/components/molecules/numeric-input/NumericInput.js +7 -0
  97. package/dist/components/molecules/numeric-input/NumericInputStateful.js +108 -0
  98. package/dist/components/molecules/numeric-input/NumericInputStateless.js +96 -0
  99. package/dist/components/molecules/numeric-input/index.js +3 -0
  100. package/dist/components/molecules/search/Search.controller.js +42 -0
  101. package/dist/components/molecules/search/Search.css +1 -0
  102. package/dist/components/molecules/search/Search.js +112 -0
  103. package/dist/components/molecules/search/index.js +3 -0
  104. package/dist/components/molecules/select/Select.controller.js +32 -0
  105. package/dist/components/molecules/select/Select.css +1 -0
  106. package/dist/components/molecules/select/Select.helpers.js +16 -0
  107. package/dist/components/molecules/select/Select.js +64 -0
  108. package/dist/components/molecules/select/combobox/Combobox.css +1 -0
  109. package/dist/components/molecules/select/combobox/Combobox.js +46 -0
  110. package/dist/components/molecules/select/combobox/index.js +3 -0
  111. package/dist/components/molecules/select/dropdown/Dropdown.css +1 -0
  112. package/dist/components/molecules/select/dropdown/Dropdown.js +46 -0
  113. package/dist/components/molecules/select/dropdown/index.js +3 -0
  114. package/dist/components/molecules/select/index.js +3 -0
  115. package/dist/components/molecules/select/option/Option.css +1 -0
  116. package/dist/components/molecules/select/option/Option.js +38 -0
  117. package/dist/components/molecules/select/option/index.js +3 -0
  118. package/dist/components/molecules/switch/Switch.controller.js +33 -0
  119. package/dist/components/molecules/switch/Switch.css +1 -0
  120. package/dist/components/molecules/switch/Switch.helpers.js +10 -0
  121. package/dist/components/molecules/switch/Switch.js +68 -0
  122. package/dist/components/molecules/switch/index.js +3 -0
  123. package/dist/components/molecules/text-input/TextInput.controller.js +36 -0
  124. package/dist/components/molecules/text-input/TextInput.css +1 -0
  125. package/dist/components/molecules/text-input/TextInput.helpers.js +18 -0
  126. package/dist/components/molecules/text-input/TextInput.js +7 -0
  127. package/dist/components/molecules/text-input/TextInputButtons.js +37 -0
  128. package/dist/components/molecules/text-input/TextInputStateful.js +92 -0
  129. package/dist/components/molecules/text-input/TextInputStateless.js +89 -0
  130. package/dist/components/molecules/text-input/index.js +3 -0
  131. package/dist/components/organisms/dialog/Dialog.css +1 -0
  132. package/dist/components/organisms/dialog/Dialog.js +32 -0
  133. package/dist/components/organisms/dialog/index.js +3 -0
  134. package/dist/components/organisms/form/Form.controller.js +29 -0
  135. package/dist/components/organisms/form/Form.css +1 -0
  136. package/dist/components/organisms/form/Form.helpers.js +14 -0
  137. package/dist/components/organisms/form/Form.js +48 -0
  138. package/dist/components/organisms/form/index.js +3 -0
  139. package/dist/components/organisms/grid/Grid.controller.js +34 -0
  140. package/dist/components/organisms/grid/Grid.css +1 -0
  141. package/dist/components/organisms/grid/Grid.helpers.js +15 -0
  142. package/dist/components/organisms/grid/Grid.js +60 -0
  143. package/dist/components/organisms/grid/body/GridBody.css +1 -0
  144. package/dist/components/organisms/grid/body/GridBody.js +31 -0
  145. package/dist/components/organisms/grid/checkbox/GridCheckbox.css +1 -0
  146. package/dist/components/organisms/grid/checkbox/GridCheckbox.js +52 -0
  147. package/dist/components/organisms/grid/column-group/GridColumnGroup.css +1 -0
  148. package/dist/components/organisms/grid/column-group/GridColumnGroup.js +26 -0
  149. package/dist/components/organisms/grid/data-cell/GridDataCell.js +5 -0
  150. package/dist/components/organisms/grid/grid-row/GridRow.css +1 -0
  151. package/dist/components/organisms/grid/grid-row/GridRow.js +35 -0
  152. package/dist/components/organisms/grid/grid-row/index.js +3 -0
  153. package/dist/components/organisms/grid/head/GridHead.css +1 -0
  154. package/dist/components/organisms/grid/head/GridHead.js +35 -0
  155. package/dist/components/organisms/grid/header-cell/HeaderCell.js +8 -0
  156. package/dist/components/organisms/grid/header-cell/index.js +2 -0
  157. package/dist/components/organisms/grid/index.js +3 -0
  158. package/dist/components/organisms/grid/select-all-grid-rows-cell/SelectAllGridRowsCell.js +24 -0
  159. package/dist/components/organisms/grid/select-all-grid-rows-cell/index.js +2 -0
  160. package/dist/components/organisms/grid/select-grid-row-cell/SelectGridRowCell.js +24 -0
  161. package/dist/components/organisms/grid/select-grid-row-cell/index.js +2 -0
  162. package/dist/components/organisms/menu/Menu.css +1 -0
  163. package/dist/components/organisms/menu/Menu.js +22 -0
  164. package/dist/components/organisms/menu/index.js +3 -0
  165. package/dist/components/organisms/menu/leaf/MenuLeaf.css +1 -0
  166. package/dist/components/organisms/menu/leaf/MenuLeaf.js +28 -0
  167. package/dist/components/organisms/menu/list-item/MenuListItem.css +1 -0
  168. package/dist/components/organisms/menu/list-item/MenuListItem.js +35 -0
  169. package/dist/components/organisms/menu/sub-menu/SubMenu.css +1 -0
  170. package/dist/components/organisms/menu/sub-menu/SubMenu.js +67 -0
  171. package/dist/components/organisms/menu/sub-menu/index.js +3 -0
  172. package/dist/components/organisms/tabs/Tabs.css +1 -0
  173. package/dist/components/organisms/tabs/Tabs.js +80 -0
  174. package/dist/components/organisms/tabs/button/TabButton.css +1 -0
  175. package/dist/components/organisms/tabs/button/TabButton.js +111 -0
  176. package/dist/components/organisms/tabs/content/TabContent.css +1 -0
  177. package/dist/components/organisms/tabs/content/TabContent.js +19 -0
  178. package/dist/components/organisms/tabs/edit-input/TabEditInput.css +1 -0
  179. package/dist/components/organisms/tabs/edit-input/TabEditInput.js +64 -0
  180. package/dist/components/organisms/tabs/index.js +3 -0
  181. package/dist/components/organisms/tabs/list/TabList.css +1 -0
  182. package/dist/components/organisms/tabs/list/TabList.js +67 -0
  183. package/dist/enums/alert-mode.js +4 -0
  184. package/dist/enums/button-view.js +4 -0
  185. package/dist/enums/element-size.js +4 -0
  186. package/dist/enums/icon-name.js +4 -0
  187. package/dist/enums/index.js +8 -0
  188. package/dist/enums/loader-view.js +4 -0
  189. package/dist/enums/orientation-mode.js +4 -0
  190. package/dist/enums/semantic-color.js +4 -0
  191. package/dist/enums/tooltip-container.js +4 -0
  192. package/dist/hooks/index.js +15 -0
  193. package/dist/hooks/use-auto-close/index.js +2 -0
  194. package/dist/hooks/use-auto-close/use-auto-close.js +18 -0
  195. package/dist/hooks/use-click-outside/index.js +2 -0
  196. package/dist/hooks/use-click-outside/use-click-outside.js +19 -0
  197. package/dist/hooks/use-container-dimensions/index.js +2 -0
  198. package/dist/hooks/use-container-dimensions/use-container-dimensions.js +16 -0
  199. package/dist/hooks/use-debounce/index.js +2 -0
  200. package/dist/hooks/use-debounce/use-debounce.js +15 -0
  201. package/dist/hooks/use-element-ids/index.js +2 -0
  202. package/dist/hooks/use-element-ids/use-element-ids.js +12 -0
  203. package/dist/hooks/use-is-hovered/index.js +2 -0
  204. package/dist/hooks/use-is-hovered/use-is-hovered.js +15 -0
  205. package/dist/hooks/use-is-mounted/index.js +2 -0
  206. package/dist/hooks/use-is-mounted/use-is-mounted.js +15 -0
  207. package/dist/hooks/use-is-overflow/index.js +2 -0
  208. package/dist/hooks/use-is-overflow/use-is-overflow.js +27 -0
  209. package/dist/hooks/use-key-press/index.js +2 -0
  210. package/dist/hooks/use-key-press/use-key-press.js +14 -0
  211. package/dist/hooks/use-modal-focus-trap/index.js +2 -0
  212. package/dist/hooks/use-modal-focus-trap/use-modal-focus-trap.js +20 -0
  213. package/dist/hooks/use-remaining-timer/index.js +2 -0
  214. package/dist/hooks/use-remaining-timer/use-remaining-timer.js +38 -0
  215. package/dist/hooks/use-reset-form-input/index.js +2 -0
  216. package/dist/hooks/use-reset-form-input/use-reset-form-input.js +11 -0
  217. package/dist/hooks/use-theme/index.js +2 -0
  218. package/dist/hooks/use-theme/use-theme.js +6 -0
  219. package/dist/hooks/use-tooltip-position/index.js +2 -0
  220. package/dist/hooks/use-tooltip-position/use-tooltip-position.js +31 -0
  221. package/dist/hooks/use-window-dimensions/index.js +2 -0
  222. package/dist/hooks/use-window-dimensions/use-window-dimensions.js +17 -0
  223. package/dist/index.d.ts +329 -71
  224. package/dist/index.es.js +109 -4667
  225. package/dist/styles/icons.css +1 -0
  226. package/dist/styles/main.css +1 -0
  227. package/dist/utils/get-class-name.js +16 -0
  228. package/dist/utils/handle-dropdown-list-key-press.js +32 -0
  229. package/dist/utils/index.js +3 -0
  230. package/dist/utils/move-focus-on-element-by-id.js +7 -0
  231. package/package.json +80 -23
  232. package/dist/favicon.ico +0 -0
  233. package/dist/index.cjs.js +0 -7
  234. package/dist/index.cjs.js.map +0 -1
  235. package/dist/index.css +0 -1
  236. package/dist/index.es.js.map +0 -1
  237. package/dist/logo.jpeg +0 -0
  238. package/dist/logo.png +0 -0
package/dist/index.es.js CHANGED
@@ -1,4670 +1,112 @@
1
- import './index.css';var S1 = Object.defineProperty, L1 = Object.defineProperties;
2
- var A1 = Object.getOwnPropertyDescriptors;
3
- var be = Object.getOwnPropertySymbols;
4
- var Ge = Object.prototype.hasOwnProperty, Ye = Object.prototype.propertyIsEnumerable;
5
- var Ue = (e, t, r) => t in e ? S1(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, p = (e, t) => {
6
- for (var r in t || (t = {}))
7
- Ge.call(t, r) && Ue(e, r, t[r]);
8
- if (be)
9
- for (var r of be(t))
10
- Ye.call(t, r) && Ue(e, r, t[r]);
11
- return e;
12
- }, v = (e, t) => L1(e, A1(t));
13
- var b = (e, t) => {
14
- var r = {};
15
- for (var n in e)
16
- Ge.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
17
- if (e != null && be)
18
- for (var n of be(e))
19
- t.indexOf(n) < 0 && Ye.call(e, n) && (r[n] = e[n]);
20
- return r;
21
- };
22
- import R1, { useCallback as Y, useState as L, useEffect as V, useRef as B, forwardRef as B1, useId as u1, createContext as h1, useMemo as _1, useContext as le } from "react";
23
- import $1 from "react-dom";
24
- var ge = { exports: {} }, xe = {};
25
- var Ze;
26
- function T1() {
27
- if (Ze) return xe;
28
- Ze = 1;
29
- var e = /* @__PURE__ */ Symbol.for("react.transitional.element"), t = /* @__PURE__ */ Symbol.for("react.fragment");
30
- function r(n, o, l) {
31
- var c = null;
32
- if (l !== void 0 && (c = "" + l), o.key !== void 0 && (c = "" + o.key), "key" in o) {
33
- l = {};
34
- for (var a in o)
35
- a !== "key" && (l[a] = o[a]);
36
- } else l = o;
37
- return o = l.ref, {
38
- $$typeof: e,
39
- type: n,
40
- key: c,
41
- ref: o !== void 0 ? o : null,
42
- props: l
43
- };
44
- }
45
- return xe.Fragment = t, xe.jsx = r, xe.jsxs = r, xe;
46
- }
47
- var fe = {};
48
- var Je;
49
- function N1() {
50
- return Je || (Je = 1, process.env.NODE_ENV !== "production" && (function() {
51
- function e(x) {
52
- if (x == null) return null;
53
- if (typeof x == "function")
54
- return x.$$typeof === z ? null : x.displayName || x.name || null;
55
- if (typeof x == "string") return x;
56
- switch (x) {
57
- case m:
58
- return "Fragment";
59
- case k:
60
- return "Profiler";
61
- case j:
62
- return "StrictMode";
63
- case A:
64
- return "Suspense";
65
- case $:
66
- return "SuspenseList";
67
- case N:
68
- return "Activity";
69
- }
70
- if (typeof x == "object")
71
- switch (typeof x.tag == "number" && console.error(
72
- "Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
73
- ), x.$$typeof) {
74
- case g:
75
- return "Portal";
76
- case I:
77
- return x.displayName || "Context";
78
- case y:
79
- return (x._context.displayName || "Context") + ".Consumer";
80
- case M:
81
- var S = x.render;
82
- return x = x.displayName, x || (x = S.displayName || S.name || "", x = x !== "" ? "ForwardRef(" + x + ")" : "ForwardRef"), x;
83
- case R:
84
- return S = x.displayName || null, S !== null ? S : e(x.type) || "Memo";
85
- case O:
86
- S = x._payload, x = x._init;
87
- try {
88
- return e(x(S));
89
- } catch (H) {
90
- }
91
- }
92
- return null;
93
- }
94
- function t(x) {
95
- return "" + x;
96
- }
97
- function r(x) {
98
- try {
99
- t(x);
100
- var S = !1;
101
- } catch (ve) {
102
- S = !0;
103
- }
104
- if (S) {
105
- S = console;
106
- var H = S.error, q = typeof Symbol == "function" && Symbol.toStringTag && x[Symbol.toStringTag] || x.constructor.name || "Object";
107
- return H.call(
108
- S,
109
- "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
110
- q
111
- ), t(x);
112
- }
113
- }
114
- function n(x) {
115
- if (x === m) return "<>";
116
- if (typeof x == "object" && x !== null && x.$$typeof === O)
117
- return "<...>";
118
- try {
119
- var S = e(x);
120
- return S ? "<" + S + ">" : "<...>";
121
- } catch (H) {
122
- return "<...>";
123
- }
124
- }
125
- function o() {
126
- var x = U.A;
127
- return x === null ? null : x.getOwner();
128
- }
129
- function l() {
130
- return Error("react-stack-top-frame");
131
- }
132
- function c(x) {
133
- if (D.call(x, "key")) {
134
- var S = Object.getOwnPropertyDescriptor(x, "key").get;
135
- if (S && S.isReactWarning) return !1;
136
- }
137
- return x.key !== void 0;
138
- }
139
- function a(x, S) {
140
- function H() {
141
- F || (F = !0, console.error(
142
- "%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
143
- S
144
- ));
145
- }
146
- H.isReactWarning = !0, Object.defineProperty(x, "key", {
147
- get: H,
148
- configurable: !0
149
- });
150
- }
151
- function i() {
152
- var x = e(this.type);
153
- return G[x] || (G[x] = !0, console.error(
154
- "Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
155
- )), x = this.props.ref, x !== void 0 ? x : null;
156
- }
157
- function u(x, S, H, q, ve, ze) {
158
- var W = H.ref;
159
- return x = {
160
- $$typeof: f,
161
- type: x,
162
- key: S,
163
- props: H,
164
- _owner: q
165
- }, (W !== void 0 ? W : null) !== null ? Object.defineProperty(x, "ref", {
166
- enumerable: !1,
167
- get: i
168
- }) : Object.defineProperty(x, "ref", { enumerable: !1, value: null }), x._store = {}, Object.defineProperty(x._store, "validated", {
169
- configurable: !1,
170
- enumerable: !1,
171
- writable: !0,
172
- value: 0
173
- }), Object.defineProperty(x, "_debugInfo", {
174
- configurable: !1,
175
- enumerable: !1,
176
- writable: !0,
177
- value: null
178
- }), Object.defineProperty(x, "_debugStack", {
179
- configurable: !1,
180
- enumerable: !1,
181
- writable: !0,
182
- value: ve
183
- }), Object.defineProperty(x, "_debugTask", {
184
- configurable: !1,
185
- enumerable: !1,
186
- writable: !0,
187
- value: ze
188
- }), Object.freeze && (Object.freeze(x.props), Object.freeze(x)), x;
189
- }
190
- function d(x, S, H, q, ve, ze) {
191
- var W = S.children;
192
- if (W !== void 0)
193
- if (q)
194
- if (J(W)) {
195
- for (q = 0; q < W.length; q++)
196
- w(W[q]);
197
- Object.freeze && Object.freeze(W);
198
- } else
199
- console.error(
200
- "React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
201
- );
202
- else w(W);
203
- if (D.call(S, "key")) {
204
- W = e(x);
205
- var de = Object.keys(S).filter(function(E1) {
206
- return E1 !== "key";
207
- });
208
- q = 0 < de.length ? "{key: someKey, " + de.join(": ..., ") + ": ...}" : "{key: someKey}", Ke[W + q] || (de = 0 < de.length ? "{" + de.join(": ..., ") + ": ...}" : "{}", console.error(
209
- `A props object containing a "key" prop is being spread into JSX:
210
- let props = %s;
211
- <%s {...props} />
212
- React keys must be passed directly to JSX without using spread:
213
- let props = %s;
214
- <%s key={someKey} {...props} />`,
215
- q,
216
- W,
217
- de,
218
- W
219
- ), Ke[W + q] = !0);
220
- }
221
- if (W = null, H !== void 0 && (r(H), W = "" + H), c(S) && (r(S.key), W = "" + S.key), "key" in S) {
222
- H = {};
223
- for (var De in S)
224
- De !== "key" && (H[De] = S[De]);
225
- } else H = S;
226
- return W && a(
227
- H,
228
- typeof x == "function" ? x.displayName || x.name || "Unknown" : x
229
- ), u(
230
- x,
231
- W,
232
- H,
233
- o(),
234
- ve,
235
- ze
236
- );
237
- }
238
- function w(x) {
239
- _(x) ? x._store && (x._store.validated = 1) : typeof x == "object" && x !== null && x.$$typeof === O && (x._payload.status === "fulfilled" ? _(x._payload.value) && x._payload.value._store && (x._payload.value._store.validated = 1) : x._store && (x._store.validated = 1));
240
- }
241
- function _(x) {
242
- return typeof x == "object" && x !== null && x.$$typeof === f;
243
- }
244
- var h = R1, f = /* @__PURE__ */ Symbol.for("react.transitional.element"), g = /* @__PURE__ */ Symbol.for("react.portal"), m = /* @__PURE__ */ Symbol.for("react.fragment"), j = /* @__PURE__ */ Symbol.for("react.strict_mode"), k = /* @__PURE__ */ Symbol.for("react.profiler"), y = /* @__PURE__ */ Symbol.for("react.consumer"), I = /* @__PURE__ */ Symbol.for("react.context"), M = /* @__PURE__ */ Symbol.for("react.forward_ref"), A = /* @__PURE__ */ Symbol.for("react.suspense"), $ = /* @__PURE__ */ Symbol.for("react.suspense_list"), R = /* @__PURE__ */ Symbol.for("react.memo"), O = /* @__PURE__ */ Symbol.for("react.lazy"), N = /* @__PURE__ */ Symbol.for("react.activity"), z = /* @__PURE__ */ Symbol.for("react.client.reference"), U = h.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, D = Object.prototype.hasOwnProperty, J = Array.isArray, T = console.createTask ? console.createTask : function() {
245
- return null;
246
- };
247
- h = {
248
- react_stack_bottom_frame: function(x) {
249
- return x();
250
- }
251
- };
252
- var F, G = {}, X = h.react_stack_bottom_frame.bind(
253
- h,
254
- l
255
- )(), Fe = T(n(l)), Ke = {};
256
- fe.Fragment = m, fe.jsx = function(x, S, H) {
257
- var q = 1e4 > U.recentlyCreatedOwnerStacks++;
258
- return d(
259
- x,
260
- S,
261
- H,
262
- !1,
263
- q ? Error("react-stack-top-frame") : X,
264
- q ? T(n(x)) : Fe
265
- );
266
- }, fe.jsxs = function(x, S, H) {
267
- var q = 1e4 > U.recentlyCreatedOwnerStacks++;
268
- return d(
269
- x,
270
- S,
271
- H,
272
- !0,
273
- q ? Error("react-stack-top-frame") : X,
274
- q ? T(n(x)) : Fe
275
- );
276
- };
277
- })()), fe;
278
- }
279
- var Xe;
280
- function z1() {
281
- return Xe || (Xe = 1, process.env.NODE_ENV === "production" ? ge.exports = T1() : ge.exports = N1()), ge.exports;
282
- }
283
- var s = z1(), Q = /* @__PURE__ */ ((e) => (e.Success = "success", e.Error = "error", e.Warning = "warning", e.Info = "info", e.Help = "help", e))(Q || {}), P = /* @__PURE__ */ ((e) => (e.Primary = "primary", e.Secondary = "secondary", e.Icon = "icon", e.Inner = "inner", e))(P || {}), C = /* @__PURE__ */ ((e) => (e.ArrowDown = "arrow-down", e.ArrowUp = "arrow-up", e.Back = "back", e.Cancel = "cancel", e.CheckboxChecked = "checkbox-checked", e.CheckboxUnchecked = "checkbox-unchecked", e.CheckMark = "check-mark", e.ChevronDown = "chevron-down", e.ChevronLeft = "chevron-left", e.ChevronRight = "chevron-right", e.ChevronUp = "chevron-up", e.ChopLogic = "chop-logic", e.Clear = "clear", e.Copy = "copy", e.Cut = "cut", e.Delete = "delete", e.Documents = "documents", e.Download = "download", e.Edit = "edit", e.Email = "email", e.Error = "error", e.Forward = "forward", e.Graduate = "graduate", e.Help = "help", e.Hide = "hide", e.Home = "home", e.Image = "image", e.Info = "info", e.Login = "login", e.Paste = "paste", e.Phone = "phone", e.PlusCircle = "plus-circle", e.Projects = "projects", e.Question = "question", e.Save = "save", e.Search = "search", e.Settings = "settings", e.Show = "show", e.Upload = "upload", e.Warning = "warning", e.Remove = "remove", e))(C || {}), ee = /* @__PURE__ */ ((e) => (e.Dots = "dots", e.Brackets = "brackets", e.Linear = "linear", e.Square = "square", e.Circle = "circle", e.Pulse = "pulse", e.Arrow = "arrow", e.Filler = "filler", e.Rotation = "rotation", e))(ee || {}), te = /* @__PURE__ */ ((e) => (e.Vertical = "vertical", e.Horizontal = "horizontal", e))(te || {}), ie = /* @__PURE__ */ ((e) => (e.Light = "cl-components-light-theme", e.Dark = "cl-components-dark-theme", e))(ie || {}), x1 = /* @__PURE__ */ ((e) => (e.Span = "span", e.Div = "div", e.P = "p", e.Strong = "strong", e.Em = "em", e))(x1 || {});
284
- function E(e) {
285
- return e.map((r) => {
286
- if (typeof r == "string")
287
- return r.trim();
288
- if (typeof r == "object") {
289
- const n = [];
290
- for (const o in r)
291
- r[o] && n.push(o.trim());
292
- return n.join(" ");
293
- }
294
- return "";
295
- }).filter((r) => !!r).join(" ");
296
- }
297
- function Se(e) {
298
- const t = document.getElementById(e);
299
- t && t.focus();
300
- }
301
- function f1({
302
- e,
303
- options: t,
304
- onClose: r
305
- }) {
306
- let n = "";
307
- for (const l of t)
308
- document.getElementById(l.id) === document.activeElement && (n = l.id);
309
- const o = t.findIndex((l) => l.id === n);
310
- switch (e.key) {
311
- case "Escape":
312
- e.preventDefault(), r();
313
- break;
314
- case "ArrowUp": {
315
- e.preventDefault();
316
- const l = o - 1 >= 0 ? o - 1 : t.length - 1, c = t[l];
317
- c && Se(c.id);
318
- break;
319
- }
320
- case "ArrowDown":
321
- case "Tab": {
322
- e.preventDefault();
323
- const l = o === t.length - 1 ? 0 : o + 1, c = t[l];
324
- c && Se(c.id);
325
- break;
326
- }
327
- }
328
- }
329
- const D1 = "_figure_6etdm_2", H1 = "_figure_caption_6etdm_6", Qe = {
330
- figure: D1,
331
- figure_caption: H1
332
- };
333
- function P1(e) {
334
- return (n) => {
335
- var o = n, { caption: t } = o, r = b(o, ["caption"]);
336
- var l;
337
- return (l = t == null ? void 0 : t.trim()) != null && l.length ? /* @__PURE__ */ s.jsxs("figure", { className: Qe.figure, children: [
338
- /* @__PURE__ */ s.jsx(e, p({}, r)),
339
- /* @__PURE__ */ s.jsx("figcaption", { className: Qe.figure_caption, children: t })
340
- ] }) : /* @__PURE__ */ s.jsx(e, p({}, r));
341
- };
342
- }
343
- function V1(e) {
344
- return (o) => {
345
- var l = o, { tooltip: t, visibleOn: r } = l, n = b(l, ["tooltip", "visibleOn"]);
346
- return t != null && t.length ? /* @__PURE__ */ s.jsx(rr, { tooltipContent: t, visibleOn: r, children: /* @__PURE__ */ s.jsx(e, p({}, n)) }) : /* @__PURE__ */ s.jsx(e, p({}, n));
347
- };
348
- }
349
- const O1 = "_extended_1i1tp_1", q1 = {
350
- extended: O1
351
- }, W1 = "_button_5g8op_3", F1 = {
352
- button: W1
353
- }, K1 = (n) => {
354
- var o = n, { children: e, className: t } = o, r = b(o, ["children", "className"]);
355
- return /* @__PURE__ */ s.jsx("button", v(p({}, r), { className: E([F1.button, t]), children: e }));
356
- }, U1 = "_button_1hyki_51", G1 = {
357
- button: U1
358
- }, Y1 = (c) => {
359
- var a = c, { onClick: e, label: t, icon: r, disabled: n, className: o } = a, l = b(a, ["onClick", "label", "icon", "disabled", "className"]);
360
- return /* @__PURE__ */ s.jsx(
361
- "button",
362
- v(p({
363
- className: E([G1.button, o]),
364
- onClick: e,
365
- "aria-label": t,
366
- type: "button",
367
- disabled: n
368
- }, l), {
369
- children: /* @__PURE__ */ s.jsx(Z, { name: r })
370
- })
371
- );
372
- }, Z1 = "_button_f0p0n_3", J1 = "_button_shadow_f0p0n_17", X1 = "_button_edge_f0p0n_29", Q1 = "_button_front_f0p0n_38", je = {
373
- button: Z1,
374
- button_shadow: J1,
375
- button_edge: X1,
376
- button_front: Q1
377
- }, et = (n) => {
378
- var o = n, { children: e, className: t } = o, r = b(o, ["children", "className"]);
379
- return /* @__PURE__ */ s.jsxs("button", v(p({}, r), { className: E([je.button, t]), children: [
380
- /* @__PURE__ */ s.jsx("span", { className: je.button_shadow }),
381
- /* @__PURE__ */ s.jsx("span", { className: je.button_edge }),
382
- /* @__PURE__ */ s.jsx("span", { className: je.button_front, children: e })
383
- ] }));
384
- }, tt = "_button_65c4f_3", nt = {
385
- button: tt
386
- }, rt = (n) => {
387
- var o = n, { children: e, className: t } = o, r = b(o, ["children", "className"]);
388
- return /* @__PURE__ */ s.jsx("button", v(p({}, r), { className: E([nt.button, t]), children: e }));
389
- }, st = (d) => {
390
- var w = d, {
391
- onClick: e,
392
- text: t,
393
- icon: r,
394
- label: n,
395
- disabled: o = !1,
396
- extended: l = !1,
397
- type: c = "button",
398
- view: a = P.Primary,
399
- className: i
400
- } = w, u = b(w, [
401
- "onClick",
402
- "text",
403
- "icon",
404
- "label",
405
- "disabled",
406
- "extended",
407
- "type",
408
- "view",
409
- "className"
410
- ]);
411
- const _ = E([i, { [q1.extended]: l }]);
412
- switch (a) {
413
- case P.Primary:
414
- return /* @__PURE__ */ s.jsxs(
415
- et,
416
- v(p({
417
- "aria-label": n,
418
- type: c,
419
- onClick: e,
420
- disabled: o,
421
- className: _
422
- }, u), {
423
- children: [
424
- /* @__PURE__ */ s.jsx(Z, { name: r }),
425
- t
426
- ]
427
- })
428
- );
429
- case P.Secondary:
430
- return /* @__PURE__ */ s.jsxs(
431
- rt,
432
- v(p({
433
- "aria-label": n,
434
- type: c,
435
- onClick: e,
436
- disabled: o,
437
- className: _
438
- }, u), {
439
- children: [
440
- /* @__PURE__ */ s.jsx(Z, { name: r }),
441
- t
442
- ]
443
- })
444
- );
445
- case P.Icon:
446
- return /* @__PURE__ */ s.jsx(
447
- K1,
448
- v(p({
449
- "aria-label": n,
450
- type: c,
451
- onClick: e,
452
- disabled: o
453
- }, u), {
454
- className: i,
455
- children: /* @__PURE__ */ s.jsx(Z, { name: r })
456
- })
457
- );
458
- case P.Inner:
459
- return /* @__PURE__ */ s.jsx(
460
- Y1,
461
- v(p({
462
- label: n,
463
- icon: r,
464
- onClick: e,
465
- disabled: o
466
- }, u), {
467
- className: i
468
- })
469
- );
470
- default:
471
- return null;
472
- }
473
- }, K = V1(st), ot = "_editableText_1l2ot_2", ct = "_editableText__editMode_1l2ot_28", lt = "_editableText__readOnly_1l2ot_34", at = "_editableText__empty_1l2ot_37", ke = {
474
- editableText: ot,
475
- editableText__editMode: ct,
476
- editableText__readOnly: lt,
477
- editableText__empty: at
478
- }, it = (u) => {
479
- var d = u, {
480
- multiline: e,
481
- value: t,
482
- placeholder: r,
483
- onChange: n,
484
- onBlur: o,
485
- onKeyDown: l,
486
- className: c,
487
- inputRef: a
488
- } = d, i = b(d, [
489
- "multiline",
490
- "value",
491
- "placeholder",
492
- "onChange",
493
- "onBlur",
494
- "onKeyDown",
495
- "className",
496
- "inputRef"
497
- ]);
498
- const w = e ? "textarea" : "input", _ = Y(
499
- (h) => {
500
- n(h.target.value);
501
- },
502
- [n]
503
- );
504
- return /* @__PURE__ */ s.jsx(
505
- w,
506
- p({
507
- ref: a,
508
- value: t,
509
- onChange: _,
510
- onBlur: o,
511
- onKeyDown: l,
512
- placeholder: r,
513
- className: c,
514
- rows: e ? 3 : void 0
515
- }, i)
516
- );
517
- }, dt = (l) => {
518
- var c = l, {
519
- value: e,
520
- placeholder: t,
521
- onClick: r,
522
- className: n
523
- } = c, o = b(c, [
524
- "value",
525
- "placeholder",
526
- "onClick",
527
- "className"
528
- ]);
529
- const a = (i) => {
530
- (i.key === "Enter" || i.key === " ") && (i.preventDefault(), r(i));
531
- };
532
- return /* @__PURE__ */ s.jsx(
533
- "span",
534
- v(p({
535
- onClick: r,
536
- className: n,
537
- role: "button",
538
- tabIndex: 0,
539
- onKeyDown: a,
540
- "aria-label": "Editable text"
541
- }, o), {
542
- children: e || t
543
- })
544
- );
545
- }, ut = (e, t) => {
546
- const [r, n] = L(!1), [o] = L(e !== void 0);
547
- return {
548
- editMode: o ? !!e : r,
549
- enterEditMode: () => {
550
- !o && !t && n(!0);
551
- },
552
- exitEditMode: () => {
553
- o || n(!1);
554
- },
555
- isControlled: o
556
- };
557
- }, ht = (e, t, r, n) => {
558
- V(() => {
559
- t && e.current && !n && (e.current.focus(), r && e.current.select());
560
- }, [t, r, n, e]);
561
- }, _t = (e, t) => {
562
- const [r, n] = L(e);
563
- return V(() => {
564
- n(e);
565
- }, [e]), {
566
- internalValue: r,
567
- updateValue: (a) => {
568
- n(a);
569
- },
570
- commitValue: () => {
571
- r !== e && (t == null || t(r));
572
- },
573
- resetValue: () => {
574
- n(e);
575
- }
576
- };
577
- }, K0 = (d) => {
578
- var w = d, {
579
- value: e,
580
- isEditMode: t,
581
- onChange: r,
582
- onClick: n,
583
- className: o,
584
- autoSelectTextOnEditMode: l = !1,
585
- multiline: c = !1,
586
- placeholder: a = "Click to edit...",
587
- readOnly: i = !1
588
- } = w, u = b(w, [
589
- "value",
590
- "isEditMode",
591
- "onChange",
592
- "onClick",
593
- "className",
594
- "autoSelectTextOnEditMode",
595
- "multiline",
596
- "placeholder",
597
- "readOnly"
598
- ]);
599
- const _ = B(null), { editMode: h, enterEditMode: f, exitEditMode: g } = ut(t, i), { internalValue: m, updateValue: j, commitValue: k, resetValue: y } = _t(e, r);
600
- ht(_, h, l, i);
601
- const I = Y(
602
- (R) => {
603
- n == null || n(R), f();
604
- },
605
- [n, f]
606
- ), M = Y(() => {
607
- g(), k();
608
- }, [g, k]), A = Y(
609
- (R) => {
610
- R.key === "Enter" && !c && (R.preventDefault(), M()), R.key === "Escape" && (y(), g());
611
- },
612
- [c, M, y, g]
613
- ), $ = E([
614
- ke.editableText,
615
- o,
616
- {
617
- [ke.editableText__editMode]: h,
618
- [ke.editableText__readOnly]: i,
619
- [ke.editableText__empty]: !m
620
- }
621
- ]);
622
- return h && !i ? /* @__PURE__ */ s.jsx(
623
- it,
624
- p({
625
- multiline: c,
626
- value: m,
627
- placeholder: a,
628
- onChange: j,
629
- onBlur: M,
630
- onKeyDown: A,
631
- className: $,
632
- inputRef: _
633
- }, u)
634
- ) : /* @__PURE__ */ s.jsx(
635
- dt,
636
- p({
637
- value: m,
638
- placeholder: a,
639
- onClick: I,
640
- className: $
641
- }, u)
642
- );
643
- }, xt = "_errorMessage_ubp7o_50", ft = "_errorMessage__visible_ubp7o_82", e1 = {
644
- errorMessage: xt,
645
- errorMessage__visible: ft
646
- }, $e = ({
647
- errorId: e,
648
- testId: t,
649
- message: r = "Error!",
650
- visible: n = !1,
651
- className: o
652
- }) => {
653
- const l = E([
654
- e1.errorMessage,
655
- o,
656
- { [e1.errorMessage__visible]: n }
657
- ]);
658
- return /* @__PURE__ */ s.jsx("span", { id: e, className: l, "data-testid": t, "aria-hidden": !n, children: r });
659
- }, pt = "_header_148qy_2", wt = "_header_icon_148qy_6", mt = "_header__h1_148qy_10", Ct = "_header__h2_148qy_30", vt = "_header__h3_148qy_50", bt = "_header__h4_148qy_70", gt = "_header__h5_148qy_89", jt = "_header__h6_148qy_108", oe = {
660
- header: pt,
661
- header_icon: wt,
662
- header__h1: mt,
663
- header__h2: Ct,
664
- header__h3: vt,
665
- header__h4: bt,
666
- header__h5: gt,
667
- header__h6: jt
668
- }, p1 = (l) => {
669
- var c = l, { as: e = "h1", icon: t, children: r, className: n } = c, o = b(c, ["as", "icon", "children", "className"]);
670
- const a = e, i = E([
671
- n,
672
- oe.header,
673
- {
674
- [oe.header__h1]: e === "h1",
675
- [oe.header__h2]: e === "h2",
676
- [oe.header__h3]: e === "h3",
677
- [oe.header__h4]: e === "h4",
678
- [oe.header__h5]: e === "h5",
679
- [oe.header__h6]: e === "h6"
680
- }
681
- ]);
682
- return /* @__PURE__ */ s.jsxs(a, v(p({ className: i }, o), { children: [
683
- t && /* @__PURE__ */ s.jsx(Z, { name: t, className: oe.header_icon }),
684
- " ",
685
- r
686
- ] }));
687
- };
688
- function Oe(r) {
689
- var n = r, { title: e } = n, t = b(n, ["title"]);
690
- return /* @__PURE__ */ s.jsxs(
691
- "svg",
692
- v(p({
693
- xmlns: "http://www.w3.org/2000/svg",
694
- viewBox: "0 0 24 24",
695
- fill: "currentColor",
696
- height: "1em",
697
- width: "1em",
698
- "aria-hidden": "true"
699
- }, t), {
700
- children: [
701
- e && /* @__PURE__ */ s.jsx("title", { children: e }),
702
- /* @__PURE__ */ s.jsx("path", { d: "M21.886 5.536A1.002 1.002 0 0021 5H3a1.002 1.002 0 00-.822 1.569l9 13a.998.998 0 001.644 0l9-13a.998.998 0 00.064-1.033zM12 17.243L4.908 7h14.184L12 17.243z" })
703
- ]
704
- })
705
- );
706
- }
707
- function qe(r) {
708
- var n = r, { title: e } = n, t = b(n, ["title"]);
709
- return /* @__PURE__ */ s.jsxs(
710
- "svg",
711
- v(p({
712
- xmlns: "http://www.w3.org/2000/svg",
713
- viewBox: "0 0 24 24",
714
- fill: "currentColor",
715
- height: "1em",
716
- width: "1em",
717
- "aria-hidden": "true"
718
- }, t), {
719
- children: [
720
- e && /* @__PURE__ */ s.jsx("title", { children: e }),
721
- /* @__PURE__ */ s.jsx("path", { d: "M3 19h18a1.002 1.002 0 00.823-1.569l-9-13c-.373-.539-1.271-.539-1.645 0l-9 13A.999.999 0 003 19zm9-12.243L19.092 17H4.908L12 6.757z" })
722
- ]
723
- })
724
- );
725
- }
726
- function kt(r) {
727
- var n = r, { title: e } = n, t = b(n, ["title"]);
728
- return /* @__PURE__ */ s.jsxs(
729
- "svg",
730
- v(p({
731
- xmlns: "http://www.w3.org/2000/svg",
732
- viewBox: "0 0 512 512",
733
- fill: "currentColor",
734
- height: "1em",
735
- width: "1em",
736
- "aria-hidden": "true"
737
- }, t), {
738
- children: [
739
- e && /* @__PURE__ */ s.jsx("title", { children: e }),
740
- /* @__PURE__ */ s.jsx(
741
- "path",
742
- {
743
- fill: "none",
744
- stroke: "currentColor",
745
- strokeLinecap: "round",
746
- strokeLinejoin: "round",
747
- strokeWidth: 48,
748
- d: "M328 112L184 256l144 144"
749
- }
750
- )
751
- ]
752
- })
753
- );
754
- }
755
- function yt(r) {
756
- var n = r, { title: e } = n, t = b(n, ["title"]);
757
- return /* @__PURE__ */ s.jsxs(
758
- "svg",
759
- v(p({
760
- xmlns: "http://www.w3.org/2000/svg",
761
- viewBox: "0 0 470 1000",
762
- fill: "currentColor",
763
- height: "1em",
764
- width: "1em",
765
- "aria-hidden": "true"
766
- }, t), {
767
- children: [
768
- e && /* @__PURE__ */ s.jsx("title", { children: e }),
769
- /* @__PURE__ */ s.jsx("path", { d: "M452 656c12 12 18 26.333 18 43s-6 31-18 43c-12 10.667-26.333 16-43 16s-31-5.333-43-16L234 590 102 742c-12 10.667-26.333 16-43 16s-31-5.333-43-16C5.333 730 0 715.667 0 699s5.333-31 16-43l138-156L16 342C5.333 330 0 315.667 0 299s5.333-31 16-43c12-10.667 26.333-16 43-16s31 5.333 43 16l132 152 132-152c12-10.667 26.333-16 43-16s31 5.333 43 16c12 12 18 26.333 18 43s-6 31-18 43L314 500l138 156" })
770
- ]
771
- })
772
- );
773
- }
774
- function w1(r) {
775
- var n = r, { title: e } = n, t = b(n, ["title"]);
776
- return /* @__PURE__ */ s.jsxs(
777
- "svg",
778
- v(p({
779
- xmlns: "http://www.w3.org/2000/svg",
780
- viewBox: "0 0 16 16",
781
- fill: "currentColor",
782
- height: "1em",
783
- width: "1em",
784
- "aria-hidden": "true"
785
- }, t), {
786
- children: [
787
- e && /* @__PURE__ */ s.jsx("title", { children: e }),
788
- /* @__PURE__ */ s.jsx(
789
- "path",
790
- {
791
- fill: "currentColor",
792
- d: "M14 0H2C.9 0 0 .9 0 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V2c0-1.1-.9-2-2-2zM7 12.414L3.293 8.707l1.414-1.414L7 9.586l4.793-4.793 1.414 1.414L7 12.414z"
793
- }
794
- )
795
- ]
796
- })
797
- );
798
- }
799
- function m1(r) {
800
- var n = r, { title: e } = n, t = b(n, ["title"]);
801
- return /* @__PURE__ */ s.jsxs(
802
- "svg",
803
- v(p({
804
- xmlns: "http://www.w3.org/2000/svg",
805
- viewBox: "0 0 16 16",
806
- fill: "currentColor",
807
- height: "1em",
808
- width: "1em",
809
- "aria-hidden": "true"
810
- }, t), {
811
- children: [
812
- e && /* @__PURE__ */ s.jsx("title", { children: e }),
813
- /* @__PURE__ */ s.jsx(
814
- "path",
815
- {
816
- fill: "currentColor",
817
- d: "M14 0H2C.9 0 0 .9 0 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V2c0-1.1-.9-2-2-2zm0 14H2V2h12v12z"
818
- }
819
- )
820
- ]
821
- })
822
- );
823
- }
824
- function C1(r) {
825
- var n = r, { title: e } = n, t = b(n, ["title"]);
826
- return /* @__PURE__ */ s.jsxs(
827
- "svg",
828
- v(p({
829
- xmlns: "http://www.w3.org/2000/svg",
830
- viewBox: "0 0 512 512",
831
- fill: "currentColor",
832
- height: "1em",
833
- width: "1em",
834
- "aria-hidden": "true"
835
- }, t), {
836
- children: [
837
- e && /* @__PURE__ */ s.jsx("title", { children: e }),
838
- /* @__PURE__ */ s.jsx("path", { d: "M470.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L192 338.7l233.4-233.3c12.5-12.5 32.8-12.5 45.3 0z" })
839
- ]
840
- })
841
- );
842
- }
843
- function It(r) {
844
- var n = r, { title: e } = n, t = b(n, ["title"]);
845
- return /* @__PURE__ */ s.jsxs(
846
- "svg",
847
- v(p({
848
- xmlns: "http://www.w3.org/2000/svg",
849
- fill: "currentColor",
850
- viewBox: "0 0 16 16",
851
- height: "1em",
852
- width: "1em",
853
- "aria-hidden": "true"
854
- }, t), {
855
- children: [
856
- e && /* @__PURE__ */ s.jsx("title", { children: e }),
857
- /* @__PURE__ */ s.jsx(
858
- "path",
859
- {
860
- fillRule: "evenodd",
861
- d: "M1.553 6.776a.5.5 0 01.67-.223L8 9.44l5.776-2.888a.5.5 0 11.448.894l-6 3a.5.5 0 01-.448 0l-6-3a.5.5 0 01-.223-.67z"
862
- }
863
- )
864
- ]
865
- })
866
- );
867
- }
868
- function Mt(r) {
869
- var n = r, { title: e } = n, t = b(n, ["title"]);
870
- return /* @__PURE__ */ s.jsxs(
871
- "svg",
872
- v(p({
873
- xmlns: "http://www.w3.org/2000/svg",
874
- fill: "currentColor",
875
- viewBox: "0 0 16 16",
876
- height: "1em",
877
- width: "1em",
878
- "aria-hidden": "true"
879
- }, t), {
880
- children: [
881
- e && /* @__PURE__ */ s.jsx("title", { children: e }),
882
- /* @__PURE__ */ s.jsx(
883
- "path",
884
- {
885
- fillRule: "evenodd",
886
- d: "M9.224 1.553a.5.5 0 01.223.67L6.56 8l2.888 5.776a.5.5 0 11-.894.448l-3-6a.5.5 0 010-.448l3-6a.5.5 0 01.67-.223z"
887
- }
888
- )
889
- ]
890
- })
891
- );
892
- }
893
- function Et(r) {
894
- var n = r, { title: e } = n, t = b(n, ["title"]);
895
- return /* @__PURE__ */ s.jsxs(
896
- "svg",
897
- v(p({
898
- xmlns: "http://www.w3.org/2000/svg",
899
- fill: "currentColor",
900
- viewBox: "0 0 16 16",
901
- height: "1em",
902
- width: "1em",
903
- "aria-hidden": "true"
904
- }, t), {
905
- children: [
906
- e && /* @__PURE__ */ s.jsx("title", { children: e }),
907
- /* @__PURE__ */ s.jsx(
908
- "path",
909
- {
910
- fillRule: "evenodd",
911
- d: "M6.776 1.553a.5.5 0 01.671.223l3 6a.5.5 0 010 .448l-3 6a.5.5 0 11-.894-.448L9.44 8 6.553 2.224a.5.5 0 01.223-.671z"
912
- }
913
- )
914
- ]
915
- })
916
- );
917
- }
918
- function St(r) {
919
- var n = r, { title: e } = n, t = b(n, ["title"]);
920
- return /* @__PURE__ */ s.jsxs(
921
- "svg",
922
- v(p({
923
- xmlns: "http://www.w3.org/2000/svg",
924
- fill: "currentColor",
925
- viewBox: "0 0 16 16",
926
- height: "1em",
927
- width: "1em",
928
- "aria-hidden": "true"
929
- }, t), {
930
- children: [
931
- e && /* @__PURE__ */ s.jsx("title", { children: e }),
932
- /* @__PURE__ */ s.jsx(
933
- "path",
934
- {
935
- fillRule: "evenodd",
936
- d: "M7.776 5.553a.5.5 0 01.448 0l6 3a.5.5 0 11-.448.894L8 6.56 2.224 9.447a.5.5 0 11-.448-.894l6-3z"
937
- }
938
- )
939
- ]
940
- })
941
- );
942
- }
943
- function Lt(r) {
944
- var n = r, { title: e } = n, t = b(n, ["title"]);
945
- return /* @__PURE__ */ s.jsxs(
946
- "svg",
947
- v(p({
948
- version: "1.1",
949
- xmlns: "http://www.w3.org/2000/svg",
950
- viewBox: "0 0 280 256",
951
- height: "1em",
952
- width: "1em",
953
- fill: "currentColor",
954
- "aria-hidden": "true"
955
- }, t), {
956
- children: [
957
- e && /* @__PURE__ */ s.jsx("title", { children: e }),
958
- /* @__PURE__ */ s.jsx(
959
- "path",
960
- {
961
- d: "M0 0 C4.76230855 3.36266518 7.81320428 7.46188181 11.1875 12.125 C12.24216337 13.5660757 13.29809698 15.00622287 14.35546875 16.4453125 C14.81590576 17.07969238 15.27634277 17.71407227 15.75073242 18.36767578 C17.04425721 20.13210596 17.04425721 20.13210596 19 22 C21.45691736 22.27137994 23.80831694 22.41876229 26.27270508 22.48095703 C27.39761856 22.51994614 27.39761856 22.51994614 28.54525757 22.5597229 C36.42406694 22.81416493 44.30721179 22.92686954 52.18920898 23.02978516 C55.92081633 23.08308458 59.64724321 23.1801945 63.37670898 23.31689453 C84.35655583 25.26105467 84.35655583 25.26105467 103.23583984 18.56933594 C106.18414756 15.35782641 108.22633024 11.93677559 110.01620483 7.97698975 C111.55419162 4.88632188 113.69974387 2.55774185 116 0 C128.83036971 4.78249141 141.56100107 9.79362247 154.25 14.9375 C154.97388916 15.22998627 155.69777832 15.52247253 156.44360352 15.82382202 C158.51045901 16.65962063 160.57579006 17.49906768 162.640625 18.33984375 C163.84235352 18.82831787 165.04408203 19.31679199 166.28222656 19.82006836 C169 21 169 21 170 22 C170.09558036 23.44213999 170.12188394 24.88894079 170.12025452 26.33424377 C170.12231651 27.73726242 170.12231651 27.73726242 170.12442017 29.16862488 C170.12082489 30.20296158 170.11722961 31.23729828 170.11352539 32.30297852 C170.11367142 33.38577087 170.11381744 34.46856323 170.1139679 35.58416748 C170.11326823 39.18243374 170.10547333 42.78064897 170.09765625 46.37890625 C170.09579226 48.86612418 170.09436827 51.35334248 170.09336853 53.84056091 C170.0899335 59.73021191 170.08204277 65.6198439 170.07201904 71.50948709 C170.05976246 78.87025374 170.05437791 86.23102264 170.04882812 93.59179688 C170.03808815 106.72787398 170.02120089 119.86393583 170 133 C151.06967744 140.89236866 132.13863614 148.78270747 113.1875 156.625 C103.33382546 160.7031227 93.48307564 164.78720661 83.65625 168.9296875 C82.56465324 169.38947495 82.56465324 169.38947495 81.45100403 169.85855103 C78.06157766 171.28664398 74.67354342 172.71788404 71.2878418 174.15478516 C70.11390869 174.65026855 68.93997559 175.14575195 67.73046875 175.65625 C66.71364014 176.08744141 65.69681152 176.51863281 64.64916992 176.96289062 C59.63254723 178.92682143 57.51480259 179.10005466 52.39282227 176.90434265 C51.65604248 176.57497208 50.9192627 176.2456015 50.16015625 175.90625 C49.37882324 175.56837967 48.59749023 175.23050934 47.79248047 174.88240051 C46.09962676 174.14923864 44.40895601 173.41102041 42.72024536 172.66836548 C38.18822062 170.67605224 33.64005534 168.72116956 29.09375 166.76171875 C27.69915306 166.15894356 27.69915306 166.15894356 26.27638245 165.54399109 C16.58944702 161.36752317 6.81871302 157.40760927 -2.97848511 153.49804688 C-19.43689165 146.93011567 -35.67735138 139.92476002 -52 133 C-52 96.37 -52 59.74 -52 22 C-42.9998755 17.49993775 -42.9998755 17.49993775 -39.59106445 16.10888672 C-38.82699783 15.79531219 -38.06293121 15.48173767 -37.27571106 15.15866089 C-36.47960922 14.83559967 -35.68350739 14.51253845 -34.86328125 14.1796875 C-34.02081345 13.83495392 -33.17834564 13.49022034 -32.31034851 13.13504028 C-29.64557853 12.04544558 -26.97907277 10.96017414 -24.3125 9.875 C-22.51225488 9.13960416 -20.71212362 8.40392953 -18.91210938 7.66796875 C-5.6596176 2.2530978 -5.6596176 2.2530978 0 0 Z M-11.94140625 21.80859375 C-12.62428207 22.09477066 -13.3071579 22.38094757 -14.01072693 22.67579651 C-15.4547304 23.28190678 -16.89799559 23.88977849 -18.34057617 24.49926758 C-20.5552334 25.4344316 -22.77251816 26.36313281 -24.99023438 27.29101562 C-26.39078607 27.87982536 -27.79118209 28.46900555 -29.19140625 29.05859375 C-29.85805801 29.3377916 -30.52470978 29.61698944 -31.21156311 29.90464783 C-34.33446734 31.08413857 -34.33446734 31.08413857 -37 33 C-37.09517803 35.76938966 -37.12554265 38.51377159 -37.11352539 41.28344727 C-37.11367142 42.15166107 -37.11381744 43.01987488 -37.1139679 43.91439819 C-37.11326846 46.79842586 -37.10547463 49.6823898 -37.09765625 52.56640625 C-37.09579218 54.56037867 -37.09436823 56.55435155 -37.09336853 58.54832458 C-37.08954248 63.80745702 -37.07971145 69.06656203 -37.06866455 74.32568359 C-37.0584523 79.68782175 -37.05387131 85.04996431 -37.04882812 90.41210938 C-37.03808926 100.94141833 -37.0210118 111.47070689 -37 122 C-30.10706527 125.17474994 -23.18230671 128.23050018 -16.1640625 131.1171875 C-15.25796234 131.49173065 -14.35186218 131.8662738 -13.41830444 132.25216675 C-5.33942155 135.5889415 2.74673128 138.90819752 10.83319092 142.2265625 C16.69302415 144.63296073 22.54439783 147.05816673 28.3866272 149.50698853 C31.78903654 150.93109541 35.19613923 152.34371057 38.60430908 153.75396729 C40.19171829 154.41394871 41.7770079 155.07905331 43.36004639 155.74945068 C45.54712904 156.67477955 47.74104616 157.58156378 49.9375 158.484375 C50.88600327 158.89379837 50.88600327 158.89379837 51.85366821 159.31149292 C58.87051259 162.14601756 64.04211534 159.78832833 70.67578125 157 C71.42210312 156.69226151 72.16842499 156.38452301 72.93736267 156.06745911 C75.39827919 155.05098432 77.8553738 154.02559934 80.3125 153 C82.03656097 152.28551337 83.76084883 151.57157402 85.48535156 150.8581543 C89.11681978 149.35463918 92.74669848 147.84737004 96.37548828 146.33740234 C102.01544909 143.99156272 107.66164636 141.66099081 113.30859375 139.33203125 C116.06455595 138.1941379 118.82034641 137.05583016 121.57601929 135.91723633 C123.34102778 135.18803548 125.10618192 134.45918704 126.87149048 133.73071289 C129.35786966 132.70398863 131.8431374 131.67461825 134.328125 130.64453125 C135.04443588 130.34924026 135.76074677 130.05394928 136.49876404 129.74971008 C142.4035322 127.29711676 148.16835556 124.65074747 154 122 C154 92.63 154 63.26 154 33 C146.86813137 29.43406569 139.90410754 26.1471377 132.5625 23.125 C131.58345703 22.70992187 130.60441406 22.29484375 129.59570312 21.8671875 C128.65791016 21.48046875 127.72011719 21.09375 126.75390625 20.6953125 C125.91158447 20.34484863 125.0692627 19.99438477 124.20141602 19.63330078 C121.85568739 18.7335591 121.85568739 18.7335591 119 20 C117.73316561 21.76857094 117.73316561 21.76857094 116.61845398 23.95852661 C109.35331607 36.44201687 109.35331607 36.44201687 103.70349503 39.06697845 C97.40299026 40.67302839 90.96927829 40.37348111 84.51953125 40.1796875 C82.45456456 40.1765686 80.38957996 40.17970302 78.32463074 40.18875122 C74.01617145 40.1882156 69.71451501 40.12628301 65.4074707 40.01708984 C59.90742961 39.88065187 54.4172597 39.87775323 48.91598988 39.91819572 C44.65900498 39.93831649 40.4042422 39.89831762 36.14768028 39.83942032 C34.1213617 39.81646278 32.09479489 39.80935492 30.06836891 39.81893539 C13.53070111 39.8320163 13.53070111 39.8320163 8.57943726 35.35797119 C5.9608611 32.49535312 3.95664251 29.34854046 2 26 C0.36731927 23.6394595 -1.31177381 21.32131102 -3 19 C-6.22619879 19 -9.00894647 20.56778986 -11.94140625 21.80859375 Z ",
962
- transform: "translate(81,71)"
963
- }
964
- ),
965
- /* @__PURE__ */ s.jsx(
966
- "path",
967
- {
968
- d: "M0 0 C6.66413509 4.53970493 11.15858821 11.11190897 13.74609375 18.71484375 C15.37449208 27.9465155 15.20981593 36.68733928 10.453125 44.96484375 C4.96449589 52.73427048 -1.87012365 58.49368244 -11.25390625 60.71484375 C-21.57017363 61.80427716 -30.10474226 60.99853102 -38.6875 55.01953125 C-45.22231262 49.71871444 -48.62063638 43.61465336 -51.25390625 35.71484375 C-52.05352095 24.16631015 -51.55581187 14.79022661 -44.06640625 5.40234375 C-40.3282064 1.43150914 -36.18304357 -1.03053233 -31.25390625 -3.28515625 C-30.32578125 -3.71828125 -29.39765625 -4.15140625 -28.44140625 -4.59765625 C-18.1791078 -6.81109317 -9.06907914 -5.17110405 0 0 Z M-34.25390625 11.71484375 C-34.25390625 14.02484375 -34.25390625 16.33484375 -34.25390625 18.71484375 C-30.62390625 18.71484375 -26.99390625 18.71484375 -23.25390625 18.71484375 C-23.25390625 27.62484375 -23.25390625 36.53484375 -23.25390625 45.71484375 C-20.61390625 45.71484375 -17.97390625 45.71484375 -15.25390625 45.71484375 C-15.25390625 36.80484375 -15.25390625 27.89484375 -15.25390625 18.71484375 C-11.62390625 18.71484375 -7.99390625 18.71484375 -4.25390625 18.71484375 C-4.25390625 16.40484375 -4.25390625 14.09484375 -4.25390625 11.71484375 C-14.15390625 11.71484375 -24.05390625 11.71484375 -34.25390625 11.71484375 Z ",
969
- transform: "translate(108.25390625,124.28515625)"
970
- }
971
- ),
972
- /* @__PURE__ */ s.jsx(
973
- "path",
974
- {
975
- d: "M0 0 C7.28899191 5.85069584 12.11411313 14.09184168 13.5234375 23.375 C14.17280025 32.95310053 11.58701319 41.84832271 5.5234375 49.375 C-0.91929658 56.33164866 -6.57686846 59.86226531 -16.02734375 60.68359375 C-26.61118107 61.03461549 -34.03011216 59.44937844 -42.2890625 52.75 C-49.52351892 45.91247836 -52.56537761 37.64931478 -52.8515625 27.875 C-52.75423034 18.51164591 -50.1863564 10.87979663 -43.7890625 3.9375 C-31.41135254 -7.33631553 -14.14669134 -9.28237161 0 0 Z M-29.4765625 11.375 C-29.4765625 22.595 -29.4765625 33.815 -29.4765625 45.375 C-27.1665625 45.375 -24.8565625 45.375 -22.4765625 45.375 C-21.19043574 44.31521067 -21.19043574 44.31521067 -21.37890625 41.87109375 C-21.39050781 40.86175781 -21.40210938 39.85242188 -21.4140625 38.8125 C-21.4346875 37.018125 -21.4553125 35.22375 -21.4765625 33.375 C-16.1965625 33.375 -10.9165625 33.375 -5.4765625 33.375 C-5.4765625 31.065 -5.4765625 28.755 -5.4765625 26.375 C-10.7565625 26.375 -16.0365625 26.375 -21.4765625 26.375 C-21.4765625 23.405 -21.4765625 20.435 -21.4765625 17.375 C-15.8665625 17.375 -10.2565625 17.375 -4.4765625 17.375 C-4.1465625 15.395 -3.8165625 13.415 -3.4765625 11.375 C-12.0565625 11.375 -20.6365625 11.375 -29.4765625 11.375 Z ",
976
- transform: "translate(209.4765625,124.625)"
977
- }
978
- ),
979
- /* @__PURE__ */ s.jsx(
980
- "path",
981
- {
982
- d: "M0 0 C1.91997055 -0.00539545 3.83993576 -0.01316497 5.7598877 -0.02319336 C9.77486435 -0.03495827 13.7884127 -0.0179448 17.80322266 0.01953125 C22.93531222 0.06511636 28.06405513 0.03885564 33.19602203 -0.00904846 C37.15807048 -0.0380368 41.11933277 -0.02872102 45.08140564 -0.00802612 C46.97273663 -0.00271115 48.86414034 -0.00916239 50.75538635 -0.02786255 C65.52784388 -0.14189377 65.52784388 -0.14189377 70.45336914 2.91455078 C72.4251995 4.86722043 74.00815204 6.7100503 75.46875 9.0625 C75.1749646 9.63486389 74.8811792 10.20722778 74.57849121 10.79693604 C73.88126797 12.22033442 73.22408479 13.6647897 72.62756348 15.13323975 C69.89839905 21.63271587 66.47455294 27.17838591 60.46875 31.0625 C50.3378657 34.13473359 39.49797675 33.66866543 29.01318359 33.40917969 C24.807035 33.30646394 20.62133496 33.36718056 16.41589355 33.47126007 C-8.01514819 33.98318435 -8.01514819 33.98318435 -15.34326172 29.24389648 C-20.17939244 24.59052352 -23.03088459 19.21762243 -25.53125 13.0625 C-26.18700248 11.72376519 -26.85052634 10.38871172 -27.53125 9.0625 C-20.96578654 -1.51188323 -11.08200882 -0.10957611 0 0 Z ",
983
- transform: "translate(115.53125,56.9375)"
984
- }
985
- ),
986
- /* @__PURE__ */ s.jsx(
987
- "path",
988
- {
989
- d: "M0 0 C5.57894737 3.15789474 5.57894737 3.15789474 7 6 C7.42038217 14.68789809 7.42038217 14.68789809 5 18 C4.01 18.66 3.02 19.32 2 20 C1.55305285 22.23452637 1.55305285 22.23452637 1.63923645 24.87210083 C1.63305046 26.41601501 1.63305046 26.41601501 1.6267395 27.99111938 C1.63752533 29.12471893 1.64831116 30.25831848 1.65942383 31.42626953 C1.65898575 32.61649719 1.65854767 33.80672485 1.65809631 35.03302002 C1.65983133 38.30154545 1.67490236 41.56968823 1.69581819 44.83813715 C1.71454041 48.25209047 1.7163319 51.66605087 1.71989441 55.08004761 C1.72922803 61.54700949 1.75385947 68.01381967 1.78394288 74.48071468 C1.81744606 81.84214735 1.83396259 89.20358717 1.84902918 96.56507707 C1.880408 111.71013598 1.93319392 126.85505284 2 142 C0.4042311 141.88029377 -1.19068411 141.74917295 -2.78515625 141.61328125 C-4.11752319 141.50560425 -4.11752319 141.50560425 -5.47680664 141.39575195 C-10.02082425 140.68304247 -12.84941699 138.30928411 -15.8125 134.9375 C-17.78350736 131.72164588 -18.13303222 129.04889908 -18.17700195 125.36425781 C-18.18983719 124.42608215 -18.20267242 123.48790649 -18.21589661 122.52130127 C-18.22328354 121.5088031 -18.23067047 120.49630493 -18.23828125 119.453125 C-18.246353 118.4085614 -18.25442474 117.3639978 -18.26274109 116.28778076 C-18.27657636 114.07533424 -18.287301 111.86286642 -18.29516602 109.65039062 C-18.31236273 106.27692898 -18.35625297 102.90445148 -18.40039062 99.53125 C-18.41051925 97.38021553 -18.41903482 95.22917274 -18.42578125 93.078125 C-18.44328934 92.07372375 -18.46079742 91.06932251 -18.47883606 90.03448486 C-18.4596453 83.79765276 -17.8402306 80.00000499 -14 75 C-12.41481567 74.14414307 -12.41481567 74.14414307 -10.79760742 73.27099609 C-7.84048174 71.33801424 -7.84048174 71.33801424 -7.44497681 68.73126221 C-7.21974518 65.69296018 -7.19501625 62.71051727 -7.23828125 59.6640625 C-7.23322823 57.99589981 -7.23322823 57.99589981 -7.22807312 56.29403687 C-7.22837206 53.94207129 -7.24362904 51.59006711 -7.27270508 49.23828125 C-7.31228395 45.64461704 -7.29344465 42.05466005 -7.26757812 38.4609375 C-7.27513968 36.17446488 -7.28609558 33.88800046 -7.30078125 31.6015625 C-7.29379715 30.52951569 -7.28681305 29.45746887 -7.27961731 28.35293579 C-7.40487217 21.70582531 -8.19326878 18.64167911 -13 14 C-13.89117557 10.93900566 -13.47019022 9.29133151 -13 6 C-9.63548925 0.54717224 -6.28548686 -0.6162242 0 0 Z ",
990
- transform: "translate(19,46)"
991
- }
992
- ),
993
- /* @__PURE__ */ s.jsx(
994
- "path",
995
- {
996
- d: "M0 0 C2.80703896 1.34040619 3.86054551 2.54745461 6 5 C7.28998174 9.17347032 7.29348391 11.22226764 5.75 15.3125 C4 18 4 18 1 20 C0.52850692 22.13856067 0.52850692 22.13856067 0.58007812 24.64575195 C0.56416626 25.61047928 0.54825439 26.5752066 0.53186035 27.56916809 C0.53165894 28.61497543 0.53145752 29.66078278 0.53125 30.73828125 C0.52363647 31.81119919 0.51602295 32.88411713 0.50817871 33.98954773 C0.49735683 36.26343455 0.49453303 38.53737116 0.49902344 40.8112793 C0.49999329 44.28844557 0.45844462 47.76338844 0.4140625 51.24023438 C0.40885389 53.44791206 0.40616733 55.65559742 0.40625 57.86328125 C0.38985474 58.9030159 0.37345947 59.94275055 0.35656738 61.01399231 C0.35637177 66.87403859 0.35637177 66.87403859 3.22460938 71.82104492 C4.14048828 72.5401001 5.05636719 73.25915527 6 74 C10.68564469 78.47439303 11.59366408 81.34706517 11.79589844 87.79293823 C11.80137695 88.78681549 11.80685547 89.78069275 11.8125 90.8046875 C11.83473633 91.84263458 11.85697266 92.88058167 11.87988281 93.94998169 C11.92135268 96.14012976 11.95088514 98.33053234 11.96923828 100.52099609 C11.99984142 103.85771015 12.07309395 107.19146843 12.15234375 110.52734375 C12.18743858 112.66141803 12.22007163 114.79553451 12.25 116.9296875 C12.27167236 117.9195163 12.29334473 118.90934509 12.31567383 119.9291687 C12.34219703 126.00356707 11.61891432 130.48923818 9 136 C4.7301903 140.0615263 2.17235676 141.12991113 -3.625 141.0625 C-4.62789063 141.05347656 -5.63078125 141.04445312 -6.6640625 141.03515625 C-7.82035156 141.01775391 -7.82035156 141.01775391 -9 141 C-9.02318444 131.82910742 -9.04094622 122.65822496 -9.05181217 113.48730946 C-9.05702764 109.2287524 -9.06410104 104.97021542 -9.07543945 100.71166992 C-9.0863158 96.60088084 -9.09228691 92.49011106 -9.09487724 88.3793087 C-9.09672293 86.81205631 -9.10032707 85.24480497 -9.10573006 83.67756081 C-9.11300348 81.4800858 -9.11398828 79.28269021 -9.11352539 77.08520508 C-9.115746 75.83500076 -9.11796661 74.58479645 -9.12025452 73.29670715 C-9.01388081 70.3805343 -8.61123855 67.83960969 -8 65 C-7.89603332 63.46245586 -7.83275609 61.92170145 -7.80712891 60.38085938 C-7.79106598 59.49644165 -7.77500305 58.61202393 -7.75845337 57.70080566 C-7.71369546 53.69101093 -7.67299487 49.6813727 -7.64990234 45.67138672 C-7.6332999 43.55701728 -7.60595404 41.44270492 -7.56787109 39.32861328 C-7.51314096 36.27086462 -7.49124047 33.21442221 -7.4765625 30.15625 C-7.45389313 29.21342163 -7.43122375 28.27059326 -7.40786743 27.29919434 C-7.42598698 21.67120672 -7.42598698 21.67120672 -10.47021484 16.99023438 C-11.30504395 16.33345703 -12.13987305 15.67667969 -13 15 C-14.43304064 12.13391871 -14.30644155 10.18699217 -14 7 C-10.39201991 0.62590184 -7.36619305 -1.18897736 0 0 Z ",
997
- transform: "translate(267,46)"
998
- }
999
- ),
1000
- /* @__PURE__ */ s.jsx(
1001
- "path",
1002
- {
1003
- d: "M0 0 C1.68647082 -0.04657255 3.37393806 -0.06316166 5.06103516 -0.05566406 C6.4019371 -0.06995453 6.4019371 -0.06995453 7.76992798 -0.08453369 C9.66119547 -0.09670016 11.55258467 -0.09585607 13.44384766 -0.08300781 C16.33404026 -0.07135381 19.21835942 -0.12348428 22.10791016 -0.18066406 C23.94644772 -0.18455023 25.78499786 -0.18467369 27.62353516 -0.18066406 C28.48514252 -0.20110779 29.34674988 -0.22155151 30.23446655 -0.24261475 C36.06705214 -0.13032286 36.06705214 -0.13032286 38.68292236 2.20031738 C40.04072076 3.99811851 41.12728332 5.59102188 41.97509766 7.67871094 C41.47509766 10.36621094 41.47509766 10.36621094 39.97509766 12.67871094 C39.46837524 13.72164307 39.46837524 13.72164307 38.95141602 14.78564453 C35.73917522 17.86257043 32.14010974 17.28926612 27.85400391 17.28027344 C26.9576976 17.28884369 26.0613913 17.29741394 25.13792419 17.3062439 C23.24245584 17.31772877 21.34689932 17.3187321 19.45141602 17.31005859 C16.55087864 17.30373987 13.65442658 17.35063202 10.75439453 17.40136719 C8.91260281 17.40591356 7.0708001 17.40731998 5.22900391 17.40527344 C3.92885094 17.43290268 3.92885094 17.43290268 2.60243225 17.46109009 C0.24298836 17.42484122 -1.75627718 17.33006886 -4.02490234 16.67871094 C-6.6553077 13.73967998 -8.0597361 12.10689478 -7.96240234 8.11621094 C-7.65302734 7.31183594 -7.34365234 6.50746094 -7.02490234 5.67871094 C-6.69796387 4.81858398 -6.37102539 3.95845703 -6.03417969 3.07226562 C-3.7470591 0.34772975 -3.36586368 0.29521357 0 0 Z ",
1004
- transform: "translate(123.02490234375,191.3212890625)"
1005
- }
1006
- )
1007
- ]
1008
- })
1009
- );
1010
- }
1011
- function At(r) {
1012
- var n = r, { title: e } = n, t = b(n, ["title"]);
1013
- return /* @__PURE__ */ s.jsxs(
1014
- "svg",
1015
- v(p({
1016
- xmlns: "http://www.w3.org/2000/svg",
1017
- viewBox: "0 0 1024 1024",
1018
- fill: "currentColor",
1019
- height: "1em",
1020
- width: "1em",
1021
- "aria-hidden": "true"
1022
- }, t), {
1023
- children: [
1024
- e && /* @__PURE__ */ s.jsx("title", { children: e }),
1025
- /* @__PURE__ */ s.jsx("defs", { children: /* @__PURE__ */ s.jsx("style", {}) }),
1026
- /* @__PURE__ */ s.jsx("path", { d: "M899.1 869.6l-53-305.6H864c14.4 0 26-11.6 26-26V346c0-14.4-11.6-26-26-26H618V138c0-14.4-11.6-26-26-26H432c-14.4 0-26 11.6-26 26v182H160c-14.4 0-26 11.6-26 26v192c0 14.4 11.6 26 26 26h17.9l-53 305.6c-.3 1.5-.4 3-.4 4.4 0 14.4 11.6 26 26 26h723c1.5 0 3-.1 4.4-.4 14.2-2.4 23.7-15.9 21.2-30zM204 390h272V182h72v208h272v104H204V390zm468 440V674c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v156H416V674c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v156H202.8l45.1-260H776l45.1 260H672z" })
1027
- ]
1028
- })
1029
- );
1030
- }
1031
- function Rt(r) {
1032
- var n = r, { title: e } = n, t = b(n, ["title"]);
1033
- return /* @__PURE__ */ s.jsxs(
1034
- "svg",
1035
- v(p({
1036
- xmlns: "http://www.w3.org/2000/svg",
1037
- fill: "none",
1038
- stroke: "currentColor",
1039
- strokeLinecap: "round",
1040
- strokeLinejoin: "round",
1041
- strokeWidth: 2,
1042
- viewBox: "0 0 24 24",
1043
- height: "1em",
1044
- width: "1em",
1045
- "aria-hidden": "true"
1046
- }, t), {
1047
- children: [
1048
- e && /* @__PURE__ */ s.jsx("title", { children: e }),
1049
- /* @__PURE__ */ s.jsx("path", { d: "M11 9 H20 A2 2 0 0 1 22 11 V20 A2 2 0 0 1 20 22 H11 A2 2 0 0 1 9 20 V11 A2 2 0 0 1 11 9 z" }),
1050
- /* @__PURE__ */ s.jsx("path", { d: "M5 15H4a2 2 0 01-2-2V4a2 2 0 012-2h9a2 2 0 012 2v1" })
1051
- ]
1052
- })
1053
- );
1054
- }
1055
- function Bt(r) {
1056
- var n = r, { title: e } = n, t = b(n, ["title"]);
1057
- return /* @__PURE__ */ s.jsxs(
1058
- "svg",
1059
- v(p({
1060
- xmlns: "http://www.w3.org/2000/svg",
1061
- fill: "none",
1062
- stroke: "currentColor",
1063
- strokeLinecap: "round",
1064
- strokeLinejoin: "round",
1065
- strokeWidth: 2,
1066
- viewBox: "0 0 24 24",
1067
- height: "1em",
1068
- width: "1em",
1069
- "aria-hidden": "true"
1070
- }, t), {
1071
- children: [
1072
- e && /* @__PURE__ */ s.jsx("title", { children: e }),
1073
- /* @__PURE__ */ s.jsx("path", { stroke: "none", d: "M0 0h24v24H0z" }),
1074
- /* @__PURE__ */ s.jsx("path", { d: "M10 17 A3 3 0 0 1 7 20 A3 3 0 0 1 4 17 A3 3 0 0 1 10 17 z" }),
1075
- /* @__PURE__ */ s.jsx("path", { d: "M20 17 A3 3 0 0 1 17 20 A3 3 0 0 1 14 17 A3 3 0 0 1 20 17 z" }),
1076
- /* @__PURE__ */ s.jsx("path", { d: "M9.15 14.85L18 4M6 4l8.85 10.85" })
1077
- ]
1078
- })
1079
- );
1080
- }
1081
- function $t(r) {
1082
- var n = r, { title: e } = n, t = b(n, ["title"]);
1083
- return /* @__PURE__ */ s.jsxs(
1084
- "svg",
1085
- v(p({
1086
- xmlns: "http://www.w3.org/2000/svg",
1087
- viewBox: "0 0 1024 1024",
1088
- fill: "currentColor",
1089
- height: "1em",
1090
- width: "1em",
1091
- "aria-hidden": "true"
1092
- }, t), {
1093
- children: [
1094
- e && /* @__PURE__ */ s.jsx("title", { children: e }),
1095
- /* @__PURE__ */ s.jsx("path", { d: "M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z" })
1096
- ]
1097
- })
1098
- );
1099
- }
1100
- function Tt(r) {
1101
- var n = r, { title: e } = n, t = b(n, ["title"]);
1102
- return /* @__PURE__ */ s.jsxs(
1103
- "svg",
1104
- v(p({
1105
- xmlns: "http://www.w3.org/2000/svg",
1106
- viewBox: "0 0 24 24",
1107
- width: "1em",
1108
- height: "1em",
1109
- "aria-hidden": "true"
1110
- }, t), {
1111
- children: [
1112
- e && /* @__PURE__ */ s.jsx("title", { children: e }),
1113
- /* @__PURE__ */ s.jsx(
1114
- "path",
1115
- {
1116
- fill: "currentColor",
1117
- fillRule: "evenodd",
1118
- d: "M10.945 1.25h2.11c1.367 0 2.47 0 3.337.117c.9.12 1.658.38 2.26.981c.298.299.512.636.667 1.01c.932.116 1.715.372 2.333.99c.602.602.86 1.36.982 2.26c.116.867.116 1.97.116 3.337v4.11c0 1.367 0 2.47-.116 3.337c-.122.9-.38 1.658-.982 2.26c-.618.618-1.4.874-2.333.991c-.155.373-.369.71-.667 1.009c-.602.602-1.36.86-2.26.982c-.867.116-1.97.116-3.337.116h-2.11c-1.367 0-2.47 0-3.337-.116c-.9-.122-1.658-.38-2.26-.982a3.1 3.1 0 0 1-.667-1.009c-.932-.117-1.715-.373-2.333-.991c-.602-.602-.86-1.36-.981-2.26c-.117-.867-.117-1.97-.117-3.337v-4.11c0-1.367 0-2.47.117-3.337c.12-.9.38-1.658.981-2.26c.618-.618 1.4-.874 2.333-.99a3.1 3.1 0 0 1 .667-1.01c.602-.602 1.36-.86 2.26-.981c.867-.117 1.97-.117 3.337-.117M4.328 4.94c-.437.106-.71.26-.919.47c-.277.276-.457.664-.556 1.398c-.101.756-.103 1.757-.103 3.192v4c0 1.435.002 2.437.103 3.192c.099.734.28 1.122.556 1.399c.209.209.482.363.92.469c-.079-.812-.079-1.806-.079-3.005v-8.11c0-1.198 0-2.193.078-3.005m15.344 14.12c.437-.106.71-.26.919-.469c.277-.277.457-.665.556-1.4c.101-.754.103-1.755.103-3.19v-4c0-1.436-.002-2.437-.103-3.193c-.099-.734-.28-1.122-.556-1.399c-.209-.209-.482-.363-.92-.469c.079.812.079 1.807.079 3.005v8.11c0 1.198 0 2.193-.078 3.005M7.808 2.853c-.734.099-1.122.28-1.399.556c-.277.277-.457.665-.556 1.4C5.752 5.562 5.75 6.564 5.75 8v8c0 1.435.002 2.436.103 3.192c.099.734.28 1.122.556 1.399c.277.277.665.457 1.4.556c.754.101 1.756.103 3.191.103h2c1.435 0 2.437-.002 3.192-.103c.734-.099 1.122-.28 1.399-.556c.277-.277.457-.665.556-1.4c.101-.755.103-1.756.103-3.191V8c0-1.435-.002-2.437-.103-3.192c-.099-.734-.28-1.122-.556-1.399c-.277-.277-.665-.457-1.4-.556c-.754-.101-1.756-.103-3.191-.103h-2c-1.435 0-2.437.002-3.192.103M8.25 9A.75.75 0 0 1 9 8.25h6a.75.75 0 0 1 0 1.5H9A.75.75 0 0 1 8.25 9m0 4a.75.75 0 0 1 .75-.75h6a.75.75 0 0 1 0 1.5H9a.75.75 0 0 1-.75-.75m0 4a.75.75 0 0 1 .75-.75h3a.75.75 0 0 1 0 1.5H9a.75.75 0 0 1-.75-.75",
1119
- clipRule: "evenodd"
1120
- }
1121
- )
1122
- ]
1123
- })
1124
- );
1125
- }
1126
- function Nt(r) {
1127
- var n = r, { title: e } = n, t = b(n, ["title"]);
1128
- return /* @__PURE__ */ s.jsxs(
1129
- "svg",
1130
- v(p({
1131
- xmlns: "http://www.w3.org/2000/svg",
1132
- viewBox: "0 0 1024 1024",
1133
- fill: "currentColor",
1134
- height: "1em",
1135
- width: "1em",
1136
- "aria-hidden": "true"
1137
- }, t), {
1138
- children: [
1139
- e && /* @__PURE__ */ s.jsx("title", { children: e }),
1140
- /* @__PURE__ */ s.jsx("path", { d: "M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z" })
1141
- ]
1142
- })
1143
- );
1144
- }
1145
- function zt(r) {
1146
- var n = r, { title: e } = n, t = b(n, ["title"]);
1147
- return /* @__PURE__ */ s.jsxs(
1148
- "svg",
1149
- v(p({
1150
- xmlns: "http://www.w3.org/2000/svg",
1151
- viewBox: "0 0 24 24",
1152
- width: "1em",
1153
- height: "1em",
1154
- "aria-hidden": "true"
1155
- }, t), {
1156
- children: [
1157
- e && /* @__PURE__ */ s.jsx("title", { children: e }),
1158
- /* @__PURE__ */ s.jsx(
1159
- "path",
1160
- {
1161
- fill: "none",
1162
- stroke: "currentColor",
1163
- strokeLinecap: "round",
1164
- strokeLinejoin: "round",
1165
- strokeWidth: "1.5",
1166
- d: "M3 21h18M12.222 5.828L15.05 3L20 7.95l-2.828 2.828m-4.95-4.95l-5.607 5.607a1 1 0 0 0-.293.707v4.536h4.536a1 1 0 0 0 .707-.293l5.607-5.607m-4.95-4.95l4.95 4.95"
1167
- }
1168
- )
1169
- ]
1170
- })
1171
- );
1172
- }
1173
- function Dt(r) {
1174
- var n = r, { title: e } = n, t = b(n, ["title"]);
1175
- return /* @__PURE__ */ s.jsxs(
1176
- "svg",
1177
- v(p({
1178
- xmlns: "http://www.w3.org/2000/svg",
1179
- viewBox: "0 0 24 24",
1180
- width: "1em",
1181
- height: "1em",
1182
- "aria-hidden": "true"
1183
- }, t), {
1184
- children: [
1185
- e && /* @__PURE__ */ s.jsx("title", { children: e }),
1186
- /* @__PURE__ */ s.jsx(
1187
- "path",
1188
- {
1189
- fill: "currentColor",
1190
- d: "m16.484 11.976l6.151-5.344v10.627zm-7.926.905l2.16 1.875c.339.288.781.462 1.264.462h.017h-.001h.014c.484 0 .926-.175 1.269-.465l-.003.002l2.16-1.875l6.566 5.639H1.995zM1.986 5.365h20.03l-9.621 8.356a.6.6 0 0 1-.38.132h-.014h.001h-.014a.6.6 0 0 1-.381-.133l.001.001zm-.621 1.266l6.15 5.344l-6.15 5.28zm21.6-2.441c-.24-.12-.522-.19-.821-.19H1.859a1.9 1.9 0 0 0-.835.197l.011-.005A1.86 1.86 0 0 0 0 5.855v12.172a1.86 1.86 0 0 0 1.858 1.858h20.283a1.86 1.86 0 0 0 1.858-1.858V5.855c0-.727-.419-1.357-1.029-1.66l-.011-.005z"
1191
- }
1192
- )
1193
- ]
1194
- })
1195
- );
1196
- }
1197
- function Ht(r) {
1198
- var n = r, { title: e } = n, t = b(n, ["title"]);
1199
- return /* @__PURE__ */ s.jsxs(
1200
- "svg",
1201
- v(p({
1202
- xmlns: "http://www.w3.org/2000/svg",
1203
- viewBox: "0 0 24 24",
1204
- fill: "currentColor",
1205
- height: "1em",
1206
- width: "1em",
1207
- "aria-hidden": "true"
1208
- }, t), {
1209
- children: [
1210
- e && /* @__PURE__ */ s.jsx("title", { children: e }),
1211
- /* @__PURE__ */ s.jsx("path", { d: "M11 7h2v7h-2zm0 8h2v2h-2z" }),
1212
- /* @__PURE__ */ s.jsx("path", { d: "M21.707 7.293l-5-5A.996.996 0 0016 2H8a.996.996 0 00-.707.293l-5 5A.996.996 0 002 8v8c0 .266.105.52.293.707l5 5A.996.996 0 008 22h8c.266 0 .52-.105.707-.293l5-5A.996.996 0 0022 16V8a.996.996 0 00-.293-.707zM20 15.586L15.586 20H8.414L4 15.586V8.414L8.414 4h7.172L20 8.414v7.172z" })
1213
- ]
1214
- })
1215
- );
1216
- }
1217
- function Pt(r) {
1218
- var n = r, { title: e } = n, t = b(n, ["title"]);
1219
- return /* @__PURE__ */ s.jsxs(
1220
- "svg",
1221
- v(p({
1222
- xmlns: "http://www.w3.org/2000/svg",
1223
- viewBox: "0 0 512 512",
1224
- fill: "currentColor",
1225
- height: "1em",
1226
- width: "1em",
1227
- "aria-hidden": "true"
1228
- }, t), {
1229
- children: [
1230
- e && /* @__PURE__ */ s.jsx("title", { children: e }),
1231
- /* @__PURE__ */ s.jsx(
1232
- "path",
1233
- {
1234
- fill: "none",
1235
- stroke: "currentColor",
1236
- strokeLinecap: "round",
1237
- strokeLinejoin: "round",
1238
- strokeWidth: 48,
1239
- d: "M184 112l144 144-144 144"
1240
- }
1241
- )
1242
- ]
1243
- })
1244
- );
1245
- }
1246
- const Vt = (r) => {
1247
- var n = r, { title: e } = n, t = b(n, ["title"]);
1248
- return /* @__PURE__ */ s.jsxs(
1249
- "svg",
1250
- v(p({
1251
- xmlns: "http://www.w3.org/2000/svg",
1252
- width: "1em",
1253
- height: "1em",
1254
- fill: "currentColor",
1255
- viewBox: "0 0 448 512",
1256
- "aria-hidden": "true"
1257
- }, t), {
1258
- children: [
1259
- e && /* @__PURE__ */ s.jsx("title", { children: e }),
1260
- /* @__PURE__ */ s.jsx("path", { d: "M219.3.5c3.1-.6 6.3-.6 9.4 0l200 40C439.9 42.7 448 52.6 448 64s-8.1 21.3-19.3 23.5L352 102.9V160c0 70.7-57.3 128-128 128S96 230.7 96 160v-57.1l-48-9.6v65.1l15.7 78.4c.9 4.7-.3 9.6-3.3 13.3S52.8 256 48 256H16c-4.8 0-9.3-2.1-12.4-5.9s-4.3-8.6-3.3-13.3L16 158.4V86.6C6.5 83.3 0 74.3 0 64c0-11.4 8.1-21.3 19.3-23.5l200-40zM111.9 327.7c10.5-3.4 21.8.4 29.4 8.5l71 75.5c6.3 6.7 17 6.7 23.3 0l71-75.5c7.6-8.1 18.9-11.9 29.4-8.5 65 20.9 112 81.7 112 153.6 0 17-13.8 30.7-30.7 30.7H30.7C13.8 512 0 498.2 0 481.3c0-71.9 47-132.7 111.9-153.6z" })
1261
- ]
1262
- })
1263
- );
1264
- };
1265
- function Ot(r) {
1266
- var n = r, { title: e } = n, t = b(n, ["title"]);
1267
- return /* @__PURE__ */ s.jsxs(
1268
- "svg",
1269
- v(p({
1270
- xmlns: "http://www.w3.org/2000/svg",
1271
- viewBox: "0 0 512 512",
1272
- fill: "currentColor",
1273
- height: "1em",
1274
- width: "1em",
1275
- "aria-hidden": "true"
1276
- }, t), {
1277
- children: [
1278
- e && /* @__PURE__ */ s.jsx("title", { children: e }),
1279
- /* @__PURE__ */ s.jsx("path", { d: "M414.39 97.61A224 224 0 1097.61 414.39 224 224 0 10414.39 97.61zM192.13 260.18a64 64 0 1159.69 59.69 64.07 64.07 0 01-59.69-59.69zm240-66.64l-96.37 5.84a4.06 4.06 0 01-3.44-1.59 96 96 0 00-18.07-18.07 4.06 4.06 0 01-1.59-3.44l5.84-96.37a4 4 0 015.42-3.51A193 193 0 01435.6 188.12a4 4 0 01-3.51 5.42zM193.54 79.91l5.84 96.37a4.06 4.06 0 01-1.59 3.44 96 96 0 00-18.07 18.07 4.06 4.06 0 01-3.44 1.59l-96.37-5.84a4 4 0 01-3.51-5.42A193 193 0 01188.12 76.4a4 4 0 015.42 3.51zM79.91 318.46l96.37-5.84a4.06 4.06 0 013.44 1.59 96 96 0 0018.07 18.07 4.06 4.06 0 011.59 3.44l-5.84 96.37a4 4 0 01-5.42 3.51A193 193 0 0176.4 323.88a4 4 0 013.51-5.42zm238.55 113.63l-5.84-96.37a4.06 4.06 0 011.59-3.44 96 96 0 0018.07-18.07 4.06 4.06 0 013.44-1.59l96.37 5.84a4 4 0 013.51 5.42A193 193 0 01323.88 435.6a4 4 0 01-5.42-3.51z" })
1280
- ]
1281
- })
1282
- );
1283
- }
1284
- function qt(r) {
1285
- var n = r, { title: e } = n, t = b(n, ["title"]);
1286
- return /* @__PURE__ */ s.jsxs(
1287
- "svg",
1288
- v(p({
1289
- xmlns: "http://www.w3.org/2000/svg",
1290
- viewBox: "0 0 24 24",
1291
- fill: "currentColor",
1292
- height: "1em",
1293
- width: "1em",
1294
- "aria-hidden": "true"
1295
- }, t), {
1296
- children: [
1297
- e && /* @__PURE__ */ s.jsx("title", { children: e }),
1298
- /* @__PURE__ */ s.jsx("path", { d: "M12 19c.946 0 1.81-.103 2.598-.281l-1.757-1.757c-.273.021-.55.038-.841.038-5.351 0-7.424-3.846-7.926-5a8.642 8.642 0 011.508-2.297L4.184 8.305c-1.538 1.667-2.121 3.346-2.132 3.379a.994.994 0 000 .633C2.073 12.383 4.367 19 12 19zm0-14c-1.837 0-3.346.396-4.604.981L3.707 2.293 2.293 3.707l18 18 1.414-1.414-3.319-3.319c2.614-1.951 3.547-4.615 3.561-4.657a.994.994 0 000-.633C21.927 11.617 19.633 5 12 5zm4.972 10.558l-2.28-2.28c.19-.39.308-.819.308-1.278 0-1.641-1.359-3-3-3-.459 0-.888.118-1.277.309L8.915 7.501A9.26 9.26 0 0112 7c5.351 0 7.424 3.846 7.926 5-.302.692-1.166 2.342-2.954 3.558z" })
1299
- ]
1300
- })
1301
- );
1302
- }
1303
- const Wt = (r) => {
1304
- var n = r, { title: e } = n, t = b(n, ["title"]);
1305
- return /* @__PURE__ */ s.jsxs(
1306
- "svg",
1307
- v(p({
1308
- xmlns: "http://www.w3.org/2000/svg",
1309
- width: "1em",
1310
- height: "1em",
1311
- fill: "currentColor",
1312
- viewBox: "0 0 1024 1024",
1313
- "aria-hidden": "true"
1314
- }, t), {
1315
- children: [
1316
- e && /* @__PURE__ */ s.jsx("title", { children: e }),
1317
- /* @__PURE__ */ s.jsx("path", { d: "M946.5 505 560.1 118.8l-25.9-25.9a31.5 31.5 0 0 0-44.4 0L77.5 505a63.9 63.9 0 0 0-18.8 46c.4 35.2 29.7 63.3 64.9 63.3h42.5V940h691.8V614.3h43.4c17.1 0 33.2-6.7 45.3-18.8a63.6 63.6 0 0 0 18.7-45.3c0-17-6.7-33.1-18.8-45.2zM568 868H456V664h112v204zm217.9-325.7V868H632V640c0-22.1-17.9-40-40-40H432c-22.1 0-40 17.9-40 40v228H238.1V542.3h-96l370-369.7 23.1 23.1L882 542.3h-96.1z" })
1318
- ]
1319
- })
1320
- );
1321
- };
1322
- function Ft(r) {
1323
- var n = r, { title: e } = n, t = b(n, ["title"]);
1324
- return /* @__PURE__ */ s.jsxs(
1325
- "svg",
1326
- v(p({
1327
- xmlns: "http://www.w3.org/2000/svg",
1328
- viewBox: "0 0 24 24",
1329
- width: "1em",
1330
- height: "1em",
1331
- "aria-hidden": "true"
1332
- }, t), {
1333
- children: [
1334
- e && /* @__PURE__ */ s.jsx("title", { children: e }),
1335
- /* @__PURE__ */ s.jsx(
1336
- "path",
1337
- {
1338
- fill: "currentColor",
1339
- d: "M18.435 3.06H5.565a2.5 2.5 0 0 0-2.5 2.5v12.88a2.507 2.507 0 0 0 2.5 2.5h12.87a2.507 2.507 0 0 0 2.5-2.5V5.56a2.5 2.5 0 0 0-2.5-2.5m-14.37 2.5a1.5 1.5 0 0 1 1.5-1.5h12.87a1.5 1.5 0 0 1 1.5 1.5v8.66l-3.88-3.88a1.51 1.51 0 0 0-2.12 0l-4.56 4.57a.513.513 0 0 1-.71 0l-.56-.56a1.52 1.52 0 0 0-2.12 0l-1.92 1.92Zm15.87 12.88a1.5 1.5 0 0 1-1.5 1.5H5.565a1.5 1.5 0 0 1-1.5-1.5v-.75L6.7 15.06a.5.5 0 0 1 .35-.14a.52.52 0 0 1 .36.14l.55.56a1.51 1.51 0 0 0 2.12 0l4.57-4.57a.5.5 0 0 1 .71 0l4.58 4.58Z"
1340
- }
1341
- ),
1342
- /* @__PURE__ */ s.jsx(
1343
- "path",
1344
- {
1345
- fill: "currentColor",
1346
- d: "M8.062 10.565a2.5 2.5 0 1 1 2.5-2.5a2.5 2.5 0 0 1-2.5 2.5m0-4a1.5 1.5 0 1 0 1.5 1.5a1.5 1.5 0 0 0-1.5-1.5"
1347
- }
1348
- )
1349
- ]
1350
- })
1351
- );
1352
- }
1353
- function Kt(r) {
1354
- var n = r, { title: e } = n, t = b(n, ["title"]);
1355
- return /* @__PURE__ */ s.jsxs(
1356
- "svg",
1357
- v(p({
1358
- xmlns: "http://www.w3.org/2000/svg",
1359
- viewBox: "0 0 1024 1024",
1360
- fill: "currentColor",
1361
- height: "1em",
1362
- width: "1em",
1363
- "aria-hidden": "true"
1364
- }, t), {
1365
- children: [
1366
- e && /* @__PURE__ */ s.jsx("title", { children: e }),
1367
- /* @__PURE__ */ s.jsx("path", { d: "M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" }),
1368
- /* @__PURE__ */ s.jsx("path", { d: "M464 336a48 48 0 1096 0 48 48 0 10-96 0zm72 112h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V456c0-4.4-3.6-8-8-8z" })
1369
- ]
1370
- })
1371
- );
1372
- }
1373
- const Ut = (r) => {
1374
- var n = r, { title: e } = n, t = b(n, ["title"]);
1375
- return /* @__PURE__ */ s.jsxs(
1376
- "svg",
1377
- v(p({
1378
- xmlns: "http://www.w3.org/2000/svg",
1379
- width: "1em",
1380
- height: "1em",
1381
- fill: "currentColor",
1382
- viewBox: "0 0 1024 1024",
1383
- "aria-hidden": "true"
1384
- }, t), {
1385
- children: [
1386
- e && /* @__PURE__ */ s.jsx("title", { children: e }),
1387
- /* @__PURE__ */ s.jsx("path", { d: "M521.7 82c-152.5-.4-286.7 78.5-363.4 197.7-3.4 5.3.4 12.3 6.7 12.3h70.3c4.8 0 9.3-2.1 12.3-5.8 7-8.5 14.5-16.7 22.4-24.5 32.6-32.5 70.5-58.1 112.7-75.9 43.6-18.4 90-27.8 137.9-27.8 47.9 0 94.3 9.3 137.9 27.8 42.2 17.8 80.1 43.4 112.7 75.9 32.6 32.5 58.1 70.4 76 112.5C865.7 417.8 875 464.1 875 512c0 47.9-9.4 94.2-27.8 137.8-17.8 42.1-43.4 80-76 112.5s-70.5 58.1-112.7 75.9A352.8 352.8 0 0 1 520.6 866c-47.9 0-94.3-9.4-137.9-27.8A353.84 353.84 0 0 1 270 762.3c-7.9-7.9-15.3-16.1-22.4-24.5-3-3.7-7.6-5.8-12.3-5.8H165c-6.3 0-10.2 7-6.7 12.3C234.9 863.2 368.5 942 520.6 942c236.2 0 428-190.1 430.4-425.6C953.4 277.1 761.3 82.6 521.7 82zM395.02 624v-76h-314c-4.4 0-8-3.6-8-8v-56c0-4.4 3.6-8 8-8h314v-76c0-6.7 7.8-10.5 13-6.3l141.9 112a8 8 0 0 1 0 12.6l-141.9 112c-5.2 4.1-13 .4-13-6.3z" })
1388
- ]
1389
- })
1390
- );
1391
- };
1392
- function Gt(r) {
1393
- var n = r, { title: e } = n, t = b(n, ["title"]);
1394
- return /* @__PURE__ */ s.jsxs(
1395
- "svg",
1396
- v(p({
1397
- xmlns: "http://www.w3.org/2000/svg",
1398
- viewBox: "0 0 24 24",
1399
- fill: "currentColor",
1400
- height: "1em",
1401
- width: "1em",
1402
- "aria-hidden": "true"
1403
- }, t), {
1404
- children: [
1405
- e && /* @__PURE__ */ s.jsx("title", { children: e }),
1406
- /* @__PURE__ */ s.jsx("path", { d: "M20 11V5c0-1.103-.897-2-2-2h-3a1 1 0 00-1-1H8a1 1 0 00-1 1H4c-1.103 0-2 .897-2 2v13c0 1.103.897 2 2 2h7c0 1.103.897 2 2 2h7c1.103 0 2-.897 2-2v-7c0-1.103-.897-2-2-2zm-9 2v5H4V5h3v2h8V5h3v6h-5c-1.103 0-2 .897-2 2zm2 7v-7h7l.001 7H13z" })
1407
- ]
1408
- })
1409
- );
1410
- }
1411
- function Yt(r) {
1412
- var n = r, { title: e } = n, t = b(n, ["title"]);
1413
- return /* @__PURE__ */ s.jsxs(
1414
- "svg",
1415
- v(p({
1416
- xmlns: "http://www.w3.org/2000/svg",
1417
- viewBox: "0 0 24 24",
1418
- width: "1em",
1419
- height: "1em",
1420
- "aria-hidden": "true"
1421
- }, t), {
1422
- children: [
1423
- e && /* @__PURE__ */ s.jsx("title", { children: e }),
1424
- /* @__PURE__ */ s.jsx(
1425
- "path",
1426
- {
1427
- fill: "none",
1428
- stroke: "currentColor",
1429
- strokeLinecap: "round",
1430
- strokeMiterlimit: "10",
1431
- strokeWidth: "1.5",
1432
- d: "M12.735 20.191a15 15 0 0 1-.92-.447a19 19 0 0 1-4.1-3.12A18 18 0 0 1 3.88 11.42a11.3 11.3 0 0 1-1.022-3.325a5.93 5.93 0 0 1 .37-3.465c.289-.47.637-.9 1.035-1.279a1.8 1.8 0 0 1 1.278-.601c.505.076.962.34 1.278.742c.69.767 1.43 1.457 2.159 2.186c.287.246.466.595.498.972c-.012.317-.134.62-.345.857c-.242.307-.536.588-.817.882a1.54 1.54 0 0 0-.46 1.279a3.7 3.7 0 0 0 .881 1.457c.486.665.971 1.28 1.52 1.931a13.6 13.6 0 0 0 3.463 2.865a1.28 1.28 0 0 0 1.278.153a4 4 0 0 0 1.137-.946c.275-.335.669-.55 1.099-.601c.383.02.744.184 1.01.46c.344.294.638.64.958.959c.319.32.575.55.843.844q.482.425.907.908c.22.284.324.64.294.997a2.1 2.1 0 0 1-.703 1.087a4.78 4.78 0 0 1-3.756 1.458a10.7 10.7 0 0 1-4.05-1.049Z"
1433
- }
1434
- )
1435
- ]
1436
- })
1437
- );
1438
- }
1439
- function Zt(r) {
1440
- var n = r, { title: e } = n, t = b(n, ["title"]);
1441
- return /* @__PURE__ */ s.jsxs(
1442
- "svg",
1443
- v(p({
1444
- xmlns: "http://www.w3.org/2000/svg",
1445
- viewBox: "0 0 24 24",
1446
- width: "1em",
1447
- height: "1em",
1448
- "aria-hidden": "true"
1449
- }, t), {
1450
- children: [
1451
- e && /* @__PURE__ */ s.jsx("title", { children: e }),
1452
- /* @__PURE__ */ s.jsx(
1453
- "path",
1454
- {
1455
- fill: "none",
1456
- stroke: "currentColor",
1457
- strokeLinecap: "round",
1458
- strokeLinejoin: "round",
1459
- strokeWidth: "1.5",
1460
- d: "M12 6.722v10.556M17.278 12H6.722M12 21.5a9.5 9.5 0 1 0 0-19a9.5 9.5 0 0 0 0 19"
1461
- }
1462
- )
1463
- ]
1464
- })
1465
- );
1466
- }
1467
- function Jt(r) {
1468
- var n = r, { title: e } = n, t = b(n, ["title"]);
1469
- return /* @__PURE__ */ s.jsxs(
1470
- "svg",
1471
- v(p({
1472
- xmlns: "http://www.w3.org/2000/svg",
1473
- viewBox: "0 0 24 24",
1474
- width: "1em",
1475
- height: "1em",
1476
- "aria-hidden": "true"
1477
- }, t), {
1478
- children: [
1479
- e && /* @__PURE__ */ s.jsx("title", { children: e }),
1480
- /* @__PURE__ */ s.jsx(
1481
- "path",
1482
- {
1483
- fill: "none",
1484
- stroke: "currentColor",
1485
- strokeLinecap: "round",
1486
- strokeLinejoin: "round",
1487
- strokeMiterlimit: "10",
1488
- strokeWidth: "1.5",
1489
- d: "M10 21V3m-7 7h18M5.4 3h13.2A2.4 2.4 0 0 1 21 5.4v13.2a2.4 2.4 0 0 1-2.4 2.4H5.4A2.4 2.4 0 0 1 3 18.6V5.4A2.4 2.4 0 0 1 5.4 3"
1490
- }
1491
- )
1492
- ]
1493
- })
1494
- );
1495
- }
1496
- function Xt(r) {
1497
- var n = r, { title: e } = n, t = b(n, ["title"]);
1498
- return /* @__PURE__ */ s.jsxs(
1499
- "svg",
1500
- v(p({
1501
- xmlns: "http://www.w3.org/2000/svg",
1502
- viewBox: "0 0 512 512",
1503
- fill: "currentColor",
1504
- height: "1em",
1505
- width: "1em",
1506
- "aria-hidden": "true"
1507
- }, t), {
1508
- children: [
1509
- e && /* @__PURE__ */ s.jsx("title", { children: e }),
1510
- /* @__PURE__ */ s.jsx(
1511
- "path",
1512
- {
1513
- fill: "none",
1514
- stroke: "currentColor",
1515
- strokeMiterlimit: 10,
1516
- strokeWidth: 32,
1517
- d: "M256 80a176 176 0 10176 176A176 176 0 00256 80z"
1518
- }
1519
- ),
1520
- /* @__PURE__ */ s.jsx(
1521
- "path",
1522
- {
1523
- fill: "none",
1524
- stroke: "currentColor",
1525
- strokeLinecap: "round",
1526
- strokeMiterlimit: 10,
1527
- strokeWidth: 28,
1528
- d: "M200 202.29s.84-17.5 19.57-32.57C230.68 160.77 244 158.18 256 158c10.93-.14 20.69 1.67 26.53 4.45 10 4.76 29.47 16.38 29.47 41.09 0 26-17 37.81-36.37 50.8S251 281.43 251 296"
1529
- }
1530
- ),
1531
- /* @__PURE__ */ s.jsx("path", { d: "M270 348 A20 20 0 0 1 250 368 A20 20 0 0 1 230 348 A20 20 0 0 1 270 348 z" })
1532
- ]
1533
- })
1534
- );
1535
- }
1536
- function Qt(r) {
1537
- var n = r, { title: e } = n, t = b(n, ["title"]);
1538
- return /* @__PURE__ */ s.jsxs(
1539
- "svg",
1540
- v(p({
1541
- xmlns: "http://www.w3.org/2000/svg",
1542
- viewBox: "0 0 512 512",
1543
- fill: "currentColor",
1544
- height: "1em",
1545
- width: "1em",
1546
- "aria-hidden": "true"
1547
- }, t), {
1548
- children: [
1549
- e && /* @__PURE__ */ s.jsx("title", { children: e }),
1550
- /* @__PURE__ */ s.jsx(
1551
- "path",
1552
- {
1553
- fill: "none",
1554
- stroke: "currentColor",
1555
- strokeLinejoin: "round",
1556
- strokeWidth: 32,
1557
- d: "M135.19 390.14a28.79 28.79 0 0021.68 9.86h246.26A29 29 0 00432 371.13V140.87A29 29 0 00403.13 112H156.87a28.84 28.84 0 00-21.67 9.84v0L46.33 256l88.86 134.11z"
1558
- }
1559
- ),
1560
- /* @__PURE__ */ s.jsx(
1561
- "path",
1562
- {
1563
- fill: "none",
1564
- stroke: "currentColor",
1565
- strokeLinecap: "round",
1566
- strokeLinejoin: "round",
1567
- strokeWidth: 32,
1568
- d: "M336.67 192.33L206.66 322.34M336.67 322.34L206.66 192.33M336.67 192.33L206.66 322.34M336.67 322.34L206.66 192.33"
1569
- }
1570
- )
1571
- ]
1572
- })
1573
- );
1574
- }
1575
- function en(r) {
1576
- var n = r, { title: e } = n, t = b(n, ["title"]);
1577
- return /* @__PURE__ */ s.jsxs(
1578
- "svg",
1579
- v(p({
1580
- xmlns: "http://www.w3.org/2000/svg",
1581
- viewBox: "0 0 1024 1024",
1582
- fill: "currentColor",
1583
- height: "1em",
1584
- width: "1em",
1585
- "aria-hidden": "true"
1586
- }, t), {
1587
- children: [
1588
- e && /* @__PURE__ */ s.jsx("title", { children: e }),
1589
- /* @__PURE__ */ s.jsx("path", { d: "M893.3 293.3L730.7 130.7c-7.5-7.5-16.7-13-26.7-16V112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V338.5c0-17-6.7-33.2-18.7-45.2zM384 184h256v104H384V184zm456 656H184V184h136v136c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V205.8l136 136V840zM512 442c-79.5 0-144 64.5-144 144s64.5 144 144 144 144-64.5 144-144-64.5-144-144-144zm0 224c-44.2 0-80-35.8-80-80s35.8-80 80-80 80 35.8 80 80-35.8 80-80 80z" })
1590
- ]
1591
- })
1592
- );
1593
- }
1594
- function tn(r) {
1595
- var n = r, { title: e } = n, t = b(n, ["title"]);
1596
- return /* @__PURE__ */ s.jsxs(
1597
- "svg",
1598
- v(p({
1599
- xmlns: "http://www.w3.org/2000/svg",
1600
- viewBox: "0 0 24 24",
1601
- width: "1em",
1602
- height: "1em",
1603
- "aria-hidden": "true"
1604
- }, t), {
1605
- children: [
1606
- e && /* @__PURE__ */ s.jsx("title", { children: e }),
1607
- /* @__PURE__ */ s.jsx(
1608
- "path",
1609
- {
1610
- fill: "none",
1611
- stroke: "currentColor",
1612
- strokeLinecap: "round",
1613
- strokeLinejoin: "round",
1614
- strokeWidth: "1.5",
1615
- d: "M15.553 15.553a7.06 7.06 0 1 0-9.985-9.985a7.06 7.06 0 0 0 9.985 9.985m0 0L20 20"
1616
- }
1617
- )
1618
- ]
1619
- })
1620
- );
1621
- }
1622
- function nn(r) {
1623
- var n = r, { title: e } = n, t = b(n, ["title"]);
1624
- return /* @__PURE__ */ s.jsxs(
1625
- "svg",
1626
- v(p({
1627
- xmlns: "http://www.w3.org/2000/svg",
1628
- viewBox: "0 0 14 14",
1629
- width: "1em",
1630
- height: "1em",
1631
- "aria-hidden": "true"
1632
- }, t), {
1633
- children: [
1634
- e && /* @__PURE__ */ s.jsx("title", { children: e }),
1635
- /* @__PURE__ */ s.jsx(
1636
- "path",
1637
- {
1638
- fill: "none",
1639
- stroke: "currentColor",
1640
- strokeLinecap: "round",
1641
- strokeLinejoin: "round",
1642
- d: "m5.23 2.25l.43-1.11A1 1 0 0 1 6.59.5h.82a1 1 0 0 1 .93.64l.43 1.11l1.46.84l1.18-.18a1 1 0 0 1 1 .49l.4.7a1 1 0 0 1-.08 1.13l-.73.93v1.68l.75.93a1 1 0 0 1 .08 1.13l-.4.7a1 1 0 0 1-1 .49l-1.18-.18l-1.46.84l-.43 1.11a1 1 0 0 1-.93.64h-.84a1 1 0 0 1-.93-.64l-.43-1.11l-1.46-.84l-1.18.18a1 1 0 0 1-1-.49l-.4-.7a1 1 0 0 1 .08-1.13L2 7.84V6.16l-.75-.93a1 1 0 0 1-.08-1.13l.4-.7a1 1 0 0 1 1-.49l1.18.18ZM5 7a2 2 0 1 0 2-2a2 2 0 0 0-2 2Z"
1643
- }
1644
- )
1645
- ]
1646
- })
1647
- );
1648
- }
1649
- function rn(r) {
1650
- var n = r, { title: e } = n, t = b(n, ["title"]);
1651
- return /* @__PURE__ */ s.jsxs(
1652
- "svg",
1653
- v(p({
1654
- xmlns: "http://www.w3.org/2000/svg",
1655
- viewBox: "0 0 24 24",
1656
- fill: "currentColor",
1657
- height: "1em",
1658
- width: "1em",
1659
- "aria-hidden": "true"
1660
- }, t), {
1661
- children: [
1662
- e && /* @__PURE__ */ s.jsx("title", { children: e }),
1663
- /* @__PURE__ */ s.jsx("path", { d: "M12 9a3.02 3.02 0 00-3 3c0 1.642 1.358 3 3 3 1.641 0 3-1.358 3-3 0-1.641-1.359-3-3-3z" }),
1664
- /* @__PURE__ */ s.jsx("path", { d: "M12 5c-7.633 0-9.927 6.617-9.948 6.684L1.946 12l.105.316C2.073 12.383 4.367 19 12 19s9.927-6.617 9.948-6.684l.106-.316-.105-.316C21.927 11.617 19.633 5 12 5zm0 12c-5.351 0-7.424-3.846-7.926-5C4.578 10.842 6.652 7 12 7c5.351 0 7.424 3.846 7.926 5-.504 1.158-2.578 5-7.926 5z" })
1665
- ]
1666
- })
1667
- );
1668
- }
1669
- function sn(r) {
1670
- var n = r, { title: e } = n, t = b(n, ["title"]);
1671
- return /* @__PURE__ */ s.jsxs(
1672
- "svg",
1673
- v(p({
1674
- xmlns: "http://www.w3.org/2000/svg",
1675
- fill: "currentColor",
1676
- viewBox: "0 0 16 16",
1677
- height: "1em",
1678
- width: "1em",
1679
- "aria-hidden": "true"
1680
- }, t), {
1681
- children: [
1682
- e && /* @__PURE__ */ s.jsx("title", { children: e }),
1683
- /* @__PURE__ */ s.jsx("path", { d: "M.5 9.9a.5.5 0 01.5.5v2.5a1 1 0 001 1h12a1 1 0 001-1v-2.5a.5.5 0 011 0v2.5a2 2 0 01-2 2H2a2 2 0 01-2-2v-2.5a.5.5 0 01.5-.5z" }),
1684
- /* @__PURE__ */ s.jsx("path", { d: "M7.646 1.146a.5.5 0 01.708 0l3 3a.5.5 0 01-.708.708L8.5 2.707V11.5a.5.5 0 01-1 0V2.707L5.354 4.854a.5.5 0 11-.708-.708l3-3z" })
1685
- ]
1686
- })
1687
- );
1688
- }
1689
- function on(r) {
1690
- var n = r, { title: e } = n, t = b(n, ["title"]);
1691
- return /* @__PURE__ */ s.jsxs(
1692
- "svg",
1693
- v(p({
1694
- xmlns: "http://www.w3.org/2000/svg",
1695
- viewBox: "0 0 24 24",
1696
- fill: "currentColor",
1697
- height: "1em",
1698
- width: "1em",
1699
- "aria-hidden": "true"
1700
- }, t), {
1701
- children: [
1702
- e && /* @__PURE__ */ s.jsx("title", { children: e }),
1703
- /* @__PURE__ */ s.jsx("path", { fill: "none", d: "M0 0h24v24H0z" }),
1704
- /* @__PURE__ */ s.jsx("path", { d: "M4 20v-6a8 8 0 1116 0v6h1v2H3v-2h1zm2 0h12v-6a6 6 0 10-12 0v6zm5-18h2v3h-2V2zm8.778 2.808l1.414 1.414-2.12 2.121-1.415-1.414 2.121-2.121zM2.808 6.222l1.414-1.414 2.121 2.12L4.93 8.344 2.808 6.222zM7 14a5 5 0 015-5v2a3 3 0 00-3 3H7z" })
1705
- ]
1706
- })
1707
- );
1708
- }
1709
- const cn = {
1710
- [C.ArrowDown]: Oe,
1711
- [C.ArrowUp]: qe,
1712
- [C.Back]: kt,
1713
- [C.Cancel]: yt,
1714
- [C.CheckboxChecked]: w1,
1715
- [C.CheckboxUnchecked]: m1,
1716
- [C.CheckMark]: C1,
1717
- [C.ChevronDown]: It,
1718
- [C.ChevronUp]: St,
1719
- [C.ChevronLeft]: Mt,
1720
- [C.ChevronRight]: Et,
1721
- [C.ChopLogic]: Lt,
1722
- [C.Clear]: At,
1723
- [C.Copy]: Rt,
1724
- [C.Cut]: Bt,
1725
- [C.Delete]: $t,
1726
- [C.Documents]: Tt,
1727
- [C.Download]: Nt,
1728
- [C.Edit]: zt,
1729
- [C.Email]: Dt,
1730
- [C.Error]: Ht,
1731
- [C.Forward]: Pt,
1732
- [C.Graduate]: Vt,
1733
- [C.Help]: Ot,
1734
- [C.Hide]: qt,
1735
- [C.Home]: Wt,
1736
- [C.Image]: Ft,
1737
- [C.Info]: Kt,
1738
- [C.Login]: Ut,
1739
- [C.Paste]: Gt,
1740
- [C.Phone]: Yt,
1741
- [C.PlusCircle]: Zt,
1742
- [C.Projects]: Jt,
1743
- [C.Question]: Xt,
1744
- [C.Save]: en,
1745
- [C.Search]: tn,
1746
- [C.Settings]: nn,
1747
- [C.Show]: rn,
1748
- [C.Upload]: sn,
1749
- [C.Warning]: on,
1750
- [C.Remove]: Qt
1751
- }, ln = "_icon_1a3u5_1", an = {
1752
- icon: ln
1753
- }, Z = (l) => {
1754
- var c = l, { name: e, testId: t, className: r, hidden: n } = c, o = b(c, ["name", "testId", "className", "hidden"]);
1755
- if (!e) return null;
1756
- const a = cn[e], i = E([r, an.icon]);
1757
- return /* @__PURE__ */ s.jsx(a, p({ "data-testid": t, className: i, "aria-hidden": n }, o));
1758
- }, dn = "_image_gxqs2_2", un = "_img_gxqs2_7", hn = "_picture_gxqs2_13", _n = "_fallback_gxqs2_19", xn = "_fallback_icon_gxqs2_25", fn = "_fallback_text_gxqs2_29", ue = {
1759
- image: dn,
1760
- img: un,
1761
- picture: hn,
1762
- fallback: _n,
1763
- fallback_icon: xn,
1764
- fallback_text: fn
1765
- }, v1 = ({
1766
- src: e,
1767
- alt: t,
1768
- width: r,
1769
- height: n,
1770
- sizes: o,
1771
- loading: l = "lazy",
1772
- decoding: c = "async",
1773
- onError: a
1774
- }) => /* @__PURE__ */ s.jsx(
1775
- "img",
1776
- {
1777
- src: e,
1778
- alt: t,
1779
- width: r,
1780
- height: n,
1781
- loading: l,
1782
- decoding: c,
1783
- sizes: o,
1784
- className: ue.img,
1785
- onError: a
1786
- }
1787
- ), pn = () => /* @__PURE__ */ s.jsxs("div", { className: ue.fallback, children: [
1788
- /* @__PURE__ */ s.jsx(Z, { name: C.Image, className: ue.fallback_icon }),
1789
- /* @__PURE__ */ s.jsx("span", { className: ue.fallback_text, children: "Image not available" })
1790
- ] }), wn = (r) => {
1791
- var n = r, { sources: e = [] } = n, t = b(n, ["sources"]);
1792
- return /* @__PURE__ */ s.jsxs("picture", { className: ue.picture, children: [
1793
- e.map((o, l) => /* @__PURE__ */ s.jsx(
1794
- "source",
1795
- {
1796
- srcSet: o.descriptor ? `${o.src} ${o.descriptor}` : o.src,
1797
- media: o.media,
1798
- type: o.type
1799
- },
1800
- `${o.src}-${l}`
1801
- )),
1802
- /* @__PURE__ */ s.jsx(v1, p({}, t))
1803
- ] });
1804
- }, mn = (c) => {
1805
- var a = c, {
1806
- alt: e,
1807
- sources: t = [],
1808
- className: r,
1809
- decorative: n = !1,
1810
- onError: o
1811
- } = a, l = b(a, [
1812
- "alt",
1813
- "sources",
1814
- "className",
1815
- "decorative",
1816
- "onError"
1817
- ]);
1818
- const [i, u] = L(!1), d = E([ue.image, r]), w = t.length > 0, _ = n ? "" : e, h = (f) => {
1819
- u(!0), o == null || o(f);
1820
- };
1821
- return i ? /* @__PURE__ */ s.jsx(pn, {}) : w ? /* @__PURE__ */ s.jsx(wn, p({ alt: _, sources: t, onError: h }, l)) : /* @__PURE__ */ s.jsx("div", { className: d, children: /* @__PURE__ */ s.jsx(v1, p({ alt: _, onError: h }, l)) });
1822
- }, U0 = P1(mn), Cn = "_wrapper_ay8ic_3", vn = "_input_ay8ic_29", t1 = {
1823
- wrapper: Cn,
1824
- input: vn
1825
- }, bn = (n, r) => {
1826
- var o = n, { children: e } = o, t = b(o, ["children"]);
1827
- return /* @__PURE__ */ s.jsxs("div", { className: t1.wrapper, children: [
1828
- /* @__PURE__ */ s.jsx("input", v(p({}, t), { className: t1.input, ref: r })),
1829
- e
1830
- ] });
1831
- }, Ce = B1(bn), gn = "_label_1x8vn_2", jn = {
1832
- label: gn
1833
- }, ne = ({
1834
- label: e,
1835
- required: t,
1836
- inputId: r,
1837
- icon: n,
1838
- iconPosition: o,
1839
- isTextHidden: l = !1
1840
- }) => {
1841
- const c = !!n && o === "left", a = !!n && o === "right";
1842
- return /* @__PURE__ */ s.jsxs("label", { className: jn.label, htmlFor: r, children: [
1843
- c && /* @__PURE__ */ s.jsx(Z, { name: n }),
1844
- !l && /* @__PURE__ */ s.jsxs("span", { children: [
1845
- e,
1846
- t && /* @__PURE__ */ s.jsx("abbr", { title: "required", children: "*" })
1847
- ] }),
1848
- a && /* @__PURE__ */ s.jsx(Z, { name: n })
1849
- ] });
1850
- }, kn = "_link_15o0l_3", yn = "_link__disabled_15o0l_23", In = "_link_text_15o0l_27", Mn = "_link_icon_15o0l_46", ye = {
1851
- link: kn,
1852
- link__disabled: yn,
1853
- link_text: In,
1854
- link_icon: Mn
1855
- }, En = (u) => {
1856
- var d = u, {
1857
- href: e,
1858
- children: t,
1859
- icon: r,
1860
- iconPosition: n = "left",
1861
- external: o = !1,
1862
- disabled: l = !1,
1863
- className: c,
1864
- target: a
1865
- } = d, i = b(d, [
1866
- "href",
1867
- "children",
1868
- "icon",
1869
- "iconPosition",
1870
- "external",
1871
- "disabled",
1872
- "className",
1873
- "target"
1874
- ]);
1875
- const w = E([ye.link, c, { [ye.link__disabled]: l }]), _ = o || e.startsWith("http") || e.startsWith("//"), h = _ ? a || "_blank" : a, f = r ? /* @__PURE__ */ s.jsx(Z, { name: r, className: ye.link_icon, "aria-hidden": "true" }) : null, g = r && n === "left", m = r && n === "right";
1876
- return /* @__PURE__ */ s.jsxs(
1877
- "a",
1878
- v(p(v(p({
1879
- href: e,
1880
- className: w,
1881
- target: h
1882
- }, _ && {
1883
- "aria-label": typeof t == "string" ? `${t} (opens in new window)` : "Opens in new window"
1884
- }), {
1885
- "aria-disabled": l
1886
- }), i), {
1887
- children: [
1888
- g && f,
1889
- /* @__PURE__ */ s.jsx("span", { className: ye.link_text, children: t }),
1890
- m && f
1891
- ]
1892
- })
1893
- );
1894
- }, Sn = "_loader_1dxge_1", Ln = {
1895
- loader: Sn
1896
- }, An = "_loader_3e90z_1", Rn = {
1897
- loader: An
1898
- }, Bn = "_loader_151n3_1", $n = {
1899
- loader: Bn
1900
- }, Tn = "_loader_noiz1_1", Nn = {
1901
- loader: Tn
1902
- }, zn = "_loader_1hqei_1", Dn = {
1903
- loader: zn
1904
- }, Hn = "_loader_o5l8l_1", Pn = {
1905
- loader: Hn
1906
- }, Vn = "_loader_pukbl_1", On = {
1907
- loader: Vn
1908
- }, qn = "_loader_zl0tq_1", Wn = {
1909
- loader: qn
1910
- }, Fn = "_loader_1alvx_1", Kn = {
1911
- loader: Fn
1912
- }, G0 = (r) => {
1913
- var n = r, { view: e = ee.Circle } = n, t = b(n, ["view"]);
1914
- const o = E([
1915
- {
1916
- [Ln.loader]: e === ee.Arrow,
1917
- [Rn.loader]: e === ee.Brackets,
1918
- [$n.loader]: e === ee.Circle,
1919
- [Nn.loader]: e === ee.Dots,
1920
- [Dn.loader]: e === ee.Filler,
1921
- [On.loader]: e === ee.Pulse,
1922
- [Pn.loader]: e === ee.Linear,
1923
- [Wn.loader]: e === ee.Rotation,
1924
- [Kn.loader]: e === ee.Square
1925
- }
1926
- ]);
1927
- return /* @__PURE__ */ s.jsx("span", p({ className: o }, t));
1928
- }, We = ({ children: e }) => {
1929
- const [t] = L(() => document.createElement("div"));
1930
- return V(() => (document.body.appendChild(t), () => {
1931
- t.remove();
1932
- }), [t]), $1.createPortal(e, t);
1933
- }, Un = ({
1934
- isOpened: e,
1935
- onClose: t,
1936
- autoClose: r = !0,
1937
- autoCloseDelay: n = 3e3
1938
- }) => {
1939
- V(() => {
1940
- if (!e || !r) return;
1941
- const o = setTimeout(() => {
1942
- t();
1943
- }, n);
1944
- return () => clearTimeout(o);
1945
- }, [e, r, n, t]);
1946
- }, Te = ({
1947
- ref: e,
1948
- onClickOutsideHandler: t,
1949
- dependentRef: r
1950
- }) => {
1951
- V(() => {
1952
- const n = (o) => {
1953
- var i;
1954
- const l = (e == null ? void 0 : e.current) && !e.current.contains(o.target), a = !(r != null && r.current) ? !0 : !((i = r == null ? void 0 : r.current) != null && i.contains(o.target));
1955
- l && a && t();
1956
- };
1957
- return document.addEventListener("mousedown", n), () => {
1958
- document.removeEventListener("mousedown", n);
1959
- };
1960
- }, [e, r, t]);
1961
- }, Gn = ({
1962
- ref: e,
1963
- isVisible: t
1964
- }) => {
1965
- const [r, n] = L({ width: 0, height: 0 });
1966
- return V(() => {
1967
- e != null && e.current && t && n({
1968
- width: e.current.offsetWidth,
1969
- height: e.current.offsetHeight
1970
- });
1971
- }, [e, t]), r;
1972
- }, Yn = (e, t) => {
1973
- const [r, n] = L(e);
1974
- return V(() => {
1975
- const o = setTimeout(() => {
1976
- n(e);
1977
- }, t);
1978
- return () => {
1979
- clearTimeout(o);
1980
- };
1981
- }, [e, t]), r;
1982
- };
1983
- function se(e) {
1984
- const t = u1(), r = e != null ? e : t, n = `${r}_error`, o = `${r}_dropdown`;
1985
- return {
1986
- elementId: r,
1987
- errorId: n,
1988
- dropdownId: o
1989
- };
1990
- }
1991
- function Zn(e, t = !0) {
1992
- const [r, n] = L(!1);
1993
- return V(() => {
1994
- const o = e.current;
1995
- if (!o || !t) return;
1996
- const l = () => n(!0), c = () => n(!1);
1997
- return o.addEventListener("mouseenter", l), o.addEventListener("mouseleave", c), () => {
1998
- o.removeEventListener("mouseenter", l), o.removeEventListener("mouseleave", c);
1999
- };
2000
- }, [e, t]), r;
2001
- }
2002
- const b1 = (e, t = 300) => {
2003
- const [r, n] = L(!1);
2004
- return V(() => {
2005
- let o;
2006
- return e ? n(!0) : o = setTimeout(() => {
2007
- n(!1);
2008
- }, t), () => {
2009
- o && clearTimeout(o);
2010
- };
2011
- }, [e, t]), r;
2012
- }, Y0 = ({
2013
- ref: e,
2014
- dimension: t,
2015
- isMounted: r
2016
- }) => {
2017
- const [n, o] = L(!1);
2018
- return V(() => {
2019
- const l = () => {
2020
- const { current: c } = e;
2021
- if (c) {
2022
- if (t === "width") {
2023
- const { scrollWidth: a = 0, clientWidth: i = 0 } = c;
2024
- o(a > i);
2025
- }
2026
- if (t === "height") {
2027
- const { scrollHeight: a = 0, clientHeight: i = 0 } = c;
2028
- o(a > i);
2029
- }
2030
- }
2031
- };
2032
- return r && l(), window.addEventListener("resize", l), () => window.removeEventListener("resize", l);
2033
- }, [e, t, r]), n;
2034
- }, Ne = ({ ref: e, keyCode: t, onKeyPress: r }) => {
2035
- V(() => {
2036
- const n = (o) => {
2037
- (o == null ? void 0 : o.code) === t && (e != null && e.current) && r();
2038
- };
2039
- return document.addEventListener("keydown", n, !1), () => {
2040
- document.removeEventListener("keydown", n, !1);
2041
- };
2042
- }, [e, t, r]);
2043
- }, Jn = ({ modalRef: e, isOpened: t }) => {
2044
- V(() => {
2045
- const r = e.current;
2046
- if (!t || !r) return;
2047
- const n = Array.from(
2048
- r.querySelectorAll(
2049
- 'button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])'
2050
- )
2051
- ), o = n[0], l = n.at(-1), c = (a) => {
2052
- a.key === "Tab" && (a.shiftKey && document.activeElement === o ? (a.preventDefault(), l.focus()) : !a.shiftKey && document.activeElement === l && (a.preventDefault(), o.focus()));
2053
- };
2054
- return r.addEventListener("keydown", c), () => {
2055
- r.removeEventListener("keydown", c);
2056
- };
2057
- }, [e, t]);
2058
- };
2059
- function Xn({
2060
- isOpened: e,
2061
- isHovered: t,
2062
- onClose: r,
2063
- autoCloseDelay: n = 3e3
2064
- }) {
2065
- const [o, l] = L(100), c = B(0), a = B(0), i = B(0);
2066
- return V(() => {
2067
- if (!e) {
2068
- l(100), a.current = 0, i.current && cancelAnimationFrame(i.current);
2069
- return;
2070
- }
2071
- if (t) {
2072
- i.current && cancelAnimationFrame(i.current);
2073
- return;
2074
- }
2075
- c.current = Date.now() - a.current;
2076
- const u = () => {
2077
- const d = Date.now() - c.current;
2078
- a.current = d;
2079
- const w = Math.max(0, 100 - d / n * 100);
2080
- if (l(w), d >= n) {
2081
- r();
2082
- return;
2083
- }
2084
- i.current = requestAnimationFrame(u);
2085
- };
2086
- return i.current = requestAnimationFrame(u), () => {
2087
- i.current && cancelAnimationFrame(i.current);
2088
- };
2089
- }, [e, t, r, n]), o;
2090
- }
2091
- const ae = h1({}), g1 = h1({
2092
- mode: ie.Light,
2093
- setMode: () => {
2094
- }
2095
- }), Z0 = ({
2096
- children: e,
2097
- injectedMode: t
2098
- }) => {
2099
- const [r, n] = L(ie.Light);
2100
- V(() => {
2101
- r && typeof r == "string" && (document.body.classList.remove(ie.Light, ie.Dark), document.body.classList.add(r));
2102
- }, [r]), V(() => {
2103
- t && typeof t == "string" && (document.body.classList.remove(ie.Light, ie.Dark), document.body.classList.add(t));
2104
- }, [t]);
2105
- const o = _1(() => ({ mode: r, setMode: n }), [r]);
2106
- return /* @__PURE__ */ s.jsx(g1.Provider, { value: o, children: e });
2107
- }, _e = (e) => {
2108
- const { resetSignal: t } = le(ae);
2109
- V(() => {
2110
- t && e();
2111
- }, [t, e]);
2112
- }, J0 = () => le(g1), Qn = ({
2113
- wrapperRef: e,
2114
- tooltipRef: t,
2115
- isOpened: r,
2116
- spacing: n = 4
2117
- }) => {
2118
- const [o, l] = L({ top: 0, left: 0 }), { width: c, height: a } = Gn({
2119
- ref: t,
2120
- isVisible: r
2121
- });
2122
- return V(() => {
2123
- if (!r || !(e != null && e.current))
2124
- return;
2125
- const i = () => {
2126
- var h;
2127
- const d = (h = e.current) == null ? void 0 : h.getBoundingClientRect();
2128
- if (!d) return;
2129
- let w = Math.round(d.bottom + n), _ = Math.round(d.left);
2130
- w + a > window.innerHeight && (w = Math.round(d.top - a - n)), _ + c > window.innerWidth && (_ = Math.round(window.innerWidth - c - n)), _ < 0 && (_ = n), l({ top: w, left: _ });
2131
- };
2132
- i();
2133
- const u = new ResizeObserver(i);
2134
- return u.observe(document.documentElement), () => {
2135
- u.disconnect();
2136
- };
2137
- }, [r, e, a, c, n]), o;
2138
- };
2139
- function n1() {
2140
- const { innerWidth: e, innerHeight: t } = globalThis;
2141
- return { width: e, height: t };
2142
- }
2143
- function X0() {
2144
- const [e, t] = L(n1());
2145
- return V(() => {
2146
- function r() {
2147
- t(n1());
2148
- }
2149
- return window.addEventListener("resize", r), () => window.removeEventListener("resize", r);
2150
- }, []), e;
2151
- }
2152
- const er = ({ id: e, autoClose: t, autoCloseDelay: r }) => {
2153
- const [n, o] = L(!1), l = B(null), c = B(null), { top: a, left: i } = Qn({ wrapperRef: l, tooltipRef: c, isOpened: n }), { elementId: u } = se(e), d = () => o(!1), w = () => o(!0), _ = () => o(!n), h = (f) => {
2154
- f.preventDefault(), _();
2155
- };
2156
- return Ne({ keyCode: "Escape", ref: c, onKeyPress: d }), Te({
2157
- ref: c,
2158
- onClickOutsideHandler: d,
2159
- dependentRef: l
2160
- }), Un({
2161
- isOpened: n,
2162
- onClose: d,
2163
- autoClose: t,
2164
- autoCloseDelay: r
2165
- }), {
2166
- elementId: u,
2167
- openTooltip: w,
2168
- closeTooltip: d,
2169
- toggleTooltip: _,
2170
- handleContextMenu: h,
2171
- top: a,
2172
- left: i,
2173
- isOpened: n,
2174
- wrapperRef: l,
2175
- tooltipRef: c
2176
- };
2177
- }, tr = "_tooltip_xbsir_50", nr = {
2178
- tooltip: tr
2179
- }, rr = (d) => {
2180
- var w = d, {
2181
- children: e,
2182
- tooltipContent: t,
2183
- id: r,
2184
- style: n,
2185
- className: o,
2186
- containerTag: l = x1.Span,
2187
- visibleOn: c = "hover",
2188
- autoClose: a = !1,
2189
- autoCloseDelay: i = 3e3
2190
- } = w, u = b(w, [
2191
- "children",
2192
- "tooltipContent",
2193
- "id",
2194
- "style",
2195
- "className",
2196
- "containerTag",
2197
- "visibleOn",
2198
- "autoClose",
2199
- "autoCloseDelay"
2200
- ]);
2201
- const _ = l, {
2202
- openTooltip: h,
2203
- closeTooltip: f,
2204
- toggleTooltip: g,
2205
- handleContextMenu: m,
2206
- elementId: j,
2207
- top: k,
2208
- left: y,
2209
- isOpened: I,
2210
- wrapperRef: M,
2211
- tooltipRef: A
2212
- } = er({ id: r, autoClose: a, autoCloseDelay: i }), $ = E([nr.tooltip, o]);
2213
- return /* @__PURE__ */ s.jsxs(
2214
- _,
2215
- {
2216
- style: { position: "relative", cursor: "pointer" },
2217
- onClick: c === "click" ? g : void 0,
2218
- onMouseOver: c === "hover" ? h : void 0,
2219
- onMouseLeave: c === "hover" ? f : void 0,
2220
- onFocus: c === "focus" ? h : void 0,
2221
- onBlur: c === "focus" ? f : void 0,
2222
- onContextMenu: c === "contextmenu" ? (R) => m(R) : void 0,
2223
- tabIndex: -1,
2224
- ref: M,
2225
- "aria-describedby": j,
2226
- children: [
2227
- e,
2228
- I && /* @__PURE__ */ s.jsx(We, { children: /* @__PURE__ */ s.jsx(
2229
- "div",
2230
- v(p({
2231
- style: v(p({}, n), { top: k, left: y }),
2232
- ref: A,
2233
- role: "tooltip",
2234
- id: j
2235
- }, u), {
2236
- className: $,
2237
- children: t
2238
- })
2239
- ) })
2240
- ]
2241
- }
2242
- );
2243
- }, sr = "_accordion_b776v_1", or = {
2244
- accordion: sr
2245
- }, cr = "_details_6n14v_2", lr = "_details_summary_6n14v_6", ar = "_details_content_6n14v_44", ir = "_details_icon_6n14v_67", Ie = {
2246
- details: cr,
2247
- details_summary: lr,
2248
- details_content: ar,
2249
- details_icon: ir
2250
- }, dr = ({ summary: e, children: t }) => /* @__PURE__ */ s.jsxs("details", { className: Ie.details, children: [
2251
- /* @__PURE__ */ s.jsxs("summary", { className: Ie.details_summary, children: [
2252
- e,
2253
- /* @__PURE__ */ s.jsx(
2254
- Z,
2255
- {
2256
- name: C.ChevronDown,
2257
- className: Ie.details_icon,
2258
- "aria-label": "Toggle Details",
2259
- testId: "accordion-icon"
2260
- }
2261
- )
2262
- ] }),
2263
- /* @__PURE__ */ s.jsx("div", { className: Ie.details_content, children: t })
2264
- ] }), Q0 = ({ items: e, className: t }) => {
2265
- const r = E([or.accordion, t]);
2266
- return /* @__PURE__ */ s.jsx("div", { className: r, children: e.map((n) => /* @__PURE__ */ s.jsx(dr, p({}, n), n.summary)) });
2267
- };
2268
- function ur(e, t) {
2269
- if (t) return t;
2270
- switch (e) {
2271
- case Q.Info:
2272
- return "For your information";
2273
- case Q.Warning:
2274
- return "Please pay attention";
2275
- case Q.Error:
2276
- return "Something went wrong";
2277
- case Q.Success:
2278
- return "Everything is okay";
2279
- case Q.Help:
2280
- return "Useful tip";
2281
- default:
2282
- return "Alert";
2283
- }
2284
- }
2285
- function hr(e, t) {
2286
- if (t)
2287
- return t;
2288
- switch (e) {
2289
- case Q.Info:
2290
- return C.Info;
2291
- case Q.Warning:
2292
- return C.Warning;
2293
- case Q.Error:
2294
- return C.Error;
2295
- case Q.Success:
2296
- return C.CheckboxChecked;
2297
- case Q.Help:
2298
- return C.Help;
2299
- default:
2300
- return;
2301
- }
2302
- }
2303
- const _r = "_wrapper_1umrr_50", xr = "_wrapper__closing_1umrr_74", fr = "_content_1umrr_80", pr = "_content_button_1umrr_109", wr = "_progress_1umrr_115", we = {
2304
- wrapper: _r,
2305
- wrapper__closing: xr,
2306
- content: fr,
2307
- content_button: pr,
2308
- progress: wr
2309
- }, mr = ({ remainingPercentage: e }) => /* @__PURE__ */ s.jsx(
2310
- "progress",
2311
- {
2312
- className: we.progress,
2313
- value: e,
2314
- max: 100,
2315
- style: { width: "100%" }
2316
- }
2317
- ), e2 = (u) => {
2318
- var d = u, {
2319
- isOpened: e,
2320
- onClose: t,
2321
- title: r,
2322
- message: n,
2323
- mode: o = Q.Info,
2324
- icon: l,
2325
- autoClose: c = !1,
2326
- autoCloseDelay: a = 3e3
2327
- } = d, i = b(d, [
2328
- "isOpened",
2329
- "onClose",
2330
- "title",
2331
- "message",
2332
- "mode",
2333
- "icon",
2334
- "autoClose",
2335
- "autoCloseDelay"
2336
- ]);
2337
- const w = b1(e), _ = w && !e, h = B(null), f = Zn(h, w), g = Xn({
2338
- isOpened: w,
2339
- isHovered: f,
2340
- onClose: t,
2341
- autoCloseDelay: a
2342
- });
2343
- if (!w) return null;
2344
- const m = ur(o, r), j = hr(o, l);
2345
- return /* @__PURE__ */ s.jsx(We, { children: /* @__PURE__ */ s.jsx(
2346
- "div",
2347
- {
2348
- ref: h,
2349
- className: E([we.wrapper, { [we.wrapper__closing]: _ }]),
2350
- children: /* @__PURE__ */ s.jsxs("div", v(p({}, i), { className: we.content, children: [
2351
- /* @__PURE__ */ s.jsx(
2352
- K,
2353
- {
2354
- icon: C.Cancel,
2355
- view: P.Icon,
2356
- label: "Close alert popup",
2357
- onClick: t,
2358
- className: we.content_button
2359
- }
2360
- ),
2361
- /* @__PURE__ */ s.jsx("header", { children: /* @__PURE__ */ s.jsx(p1, { icon: j, as: "h3", children: m }) }),
2362
- /* @__PURE__ */ s.jsx("p", { children: n }),
2363
- c && /* @__PURE__ */ s.jsx(mr, { remainingPercentage: g })
2364
- ] }))
2365
- }
2366
- ) });
2367
- }, Cr = "_breadcrumbs_list_9goww_2", vr = "_breadcrumbs_item_9goww_11", br = "_breadcrumbs_text_9goww_15", Le = {
2368
- breadcrumbs_list: Cr,
2369
- breadcrumbs_item: vr,
2370
- breadcrumbs_text: br
2371
- }, gr = ({ item: e, isLastItem: t }) => {
2372
- var n;
2373
- const r = !!e.link && !t;
2374
- return /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
2375
- /* @__PURE__ */ s.jsx("li", { className: Le.breadcrumbs_item, children: r ? /* @__PURE__ */ s.jsx(En, { href: (n = e == null ? void 0 : e.link) != null ? n : "", icon: e.icon, iconPosition: "left", children: e.label }) : /* @__PURE__ */ s.jsxs("span", { "aria-current": t ? "page" : void 0, className: Le.breadcrumbs_text, children: [
2376
- e.icon && /* @__PURE__ */ s.jsx(Z, { name: e.icon, hidden: !0 }),
2377
- e.label
2378
- ] }) }),
2379
- !t && /* @__PURE__ */ s.jsx(Z, { name: C.ChevronRight, hidden: !0 })
2380
- ] });
2381
- }, jr = ({ items: e }) => /* @__PURE__ */ s.jsx("ol", { className: Le.breadcrumbs_list, children: e.map((t, r) => /* @__PURE__ */ s.jsx(gr, { item: t, isLastItem: r === e.length - 1 }, t.label)) }), t2 = (a) => {
2382
- var i = a, {
2383
- items: e,
2384
- className: t,
2385
- id: r,
2386
- style: n,
2387
- tabIndex: o,
2388
- title: l
2389
- } = i, c = b(i, [
2390
- "items",
2391
- "className",
2392
- "id",
2393
- "style",
2394
- "tabIndex",
2395
- "title"
2396
- ]);
2397
- const u = E([Le.breadcrumbs, t]);
2398
- return !e || e.length === 0 ? null : /* @__PURE__ */ s.jsx(
2399
- "nav",
2400
- v(p({
2401
- "aria-label": "Breadcrumb",
2402
- className: u,
2403
- id: r,
2404
- style: n,
2405
- tabIndex: o,
2406
- title: l
2407
- }, c), {
2408
- children: /* @__PURE__ */ s.jsx(jr, { items: e })
2409
- })
2410
- );
2411
- };
2412
- function kr({
2413
- defaultChecked: e,
2414
- initialValues: t,
2415
- name: r
2416
- }) {
2417
- return (t == null ? void 0 : t[r]) !== void 0 ? !!(t != null && t[r]) : !!e;
2418
- }
2419
- function yr({
2420
- name: e,
2421
- defaultChecked: t,
2422
- onChange: r
2423
- }) {
2424
- const { onChangeFormInput: n, initialValues: o } = le(ae), l = kr({ initialValues: o, name: e, defaultChecked: t }), [c, a] = L(l), i = B(n), u = B(l);
2425
- i.current = n, u.current = l;
2426
- const d = (_) => {
2427
- const h = _.target.checked;
2428
- a(h), r == null || r(_), n == null || n({ name: e, value: h });
2429
- }, w = Y(() => {
2430
- var _;
2431
- a(u.current), (_ = i.current) == null || _.call(i, { name: e, value: u.current });
2432
- }, [e]);
2433
- return _e(w), {
2434
- handleChange: d,
2435
- checked: c
2436
- };
2437
- }
2438
- const Ir = "_checkbox_k4fcu_3", Mr = "_checkbox__checked_k4fcu_22", Er = "_checkbox__disabled_k4fcu_25", he = {
2439
- checkbox: Ir,
2440
- checkbox__checked: Mr,
2441
- checkbox__disabled: Er
2442
- }, Sr = ({
2443
- name: e,
2444
- label: t,
2445
- disabled: r,
2446
- noLabel: n,
2447
- required: o = !1,
2448
- iconPosition: l = "left",
2449
- defaultChecked: c,
2450
- onChange: a,
2451
- id: i,
2452
- className: u,
2453
- style: d,
2454
- tabIndex: w
2455
- }) => {
2456
- const { handleChange: _, checked: h } = yr({ name: e, defaultChecked: c, onChange: a }), { elementId: f } = se(i), g = E([
2457
- he.checkbox,
2458
- u,
2459
- {
2460
- [he.checkbox__disabled]: !!r,
2461
- [he.checkbox__checked]: h
2462
- }
2463
- ]);
2464
- return /* @__PURE__ */ s.jsxs("div", { style: d, tabIndex: w, className: g, children: [
2465
- /* @__PURE__ */ s.jsx(
2466
- "input",
2467
- {
2468
- id: f,
2469
- name: e,
2470
- type: "checkbox",
2471
- disabled: r,
2472
- required: o,
2473
- checked: h,
2474
- onChange: _,
2475
- "aria-label": n ? t : void 0
2476
- }
2477
- ),
2478
- /* @__PURE__ */ s.jsx(
2479
- ne,
2480
- {
2481
- label: t,
2482
- required: o,
2483
- inputId: f,
2484
- isTextHidden: n,
2485
- icon: h ? C.CheckboxChecked : C.CheckboxUnchecked,
2486
- iconPosition: l
2487
- }
2488
- )
2489
- ] });
2490
- }, Lr = ({
2491
- name: e,
2492
- label: t,
2493
- disabled: r,
2494
- noLabel: n,
2495
- required: o = !1,
2496
- iconPosition: l = "left",
2497
- checked: c,
2498
- onChange: a,
2499
- id: i,
2500
- className: u,
2501
- style: d,
2502
- tabIndex: w
2503
- }) => {
2504
- const _ = i != null ? i : `checkbox-${e}`, h = E([
2505
- he.checkbox,
2506
- u,
2507
- {
2508
- [he.checkbox__disabled]: !!r,
2509
- [he.checkbox__checked]: c
2510
- }
2511
- ]);
2512
- return /* @__PURE__ */ s.jsxs("div", { style: d, tabIndex: w, className: h, children: [
2513
- /* @__PURE__ */ s.jsx(
2514
- "input",
2515
- {
2516
- id: _,
2517
- name: e,
2518
- type: "checkbox",
2519
- disabled: r,
2520
- required: o,
2521
- checked: c != null ? c : !1,
2522
- onChange: a,
2523
- "aria-label": n ? t : void 0
2524
- }
2525
- ),
2526
- /* @__PURE__ */ s.jsx(
2527
- ne,
2528
- {
2529
- label: t,
2530
- required: o,
2531
- inputId: _,
2532
- isTextHidden: n,
2533
- icon: c ? C.CheckboxChecked : C.CheckboxUnchecked,
2534
- iconPosition: l
2535
- }
2536
- )
2537
- ] });
2538
- }, n2 = (e) => e.stateless ? /* @__PURE__ */ s.jsx(Lr, p({}, e)) : /* @__PURE__ */ s.jsx(Sr, p({}, e)), Ar = "_wrapper_z3grr_1", j1 = {
2539
- wrapper: Ar
2540
- }, Rr = "_combobox_7bfwf_3", k1 = {
2541
- combobox: Rr
2542
- }, Br = ({ values: e, placeholder: t }) => {
2543
- const r = e ? e.filter((c) => c.selected).map((c) => c.label) : [], n = r.length !== 0 && r.length === (e == null ? void 0 : e.length), o = r.length === 1, l = r.length > 1;
2544
- return n ? /* @__PURE__ */ s.jsx("span", { children: "All items selected" }) : o ? /* @__PURE__ */ s.jsx("span", { children: r[0] }) : l ? /* @__PURE__ */ s.jsx("span", { children: `${r.length} items selected` }) : /* @__PURE__ */ s.jsx("span", { children: t });
2545
- }, $r = ({
2546
- opened: e,
2547
- onClick: t,
2548
- comboboxId: r,
2549
- dropdownId: n,
2550
- name: o,
2551
- placeholder: l,
2552
- disabled: c,
2553
- required: a,
2554
- values: i
2555
- }) => {
2556
- const u = i == null ? void 0 : i.filter((d) => d.selected).map((d) => d.id);
2557
- return /* @__PURE__ */ s.jsxs(
2558
- "button",
2559
- {
2560
- type: "button",
2561
- name: o,
2562
- value: u,
2563
- role: "combobox",
2564
- "aria-haspopup": "listbox",
2565
- "aria-expanded": e,
2566
- "aria-controls": n,
2567
- id: r,
2568
- onClick: t,
2569
- disabled: c,
2570
- "aria-required": a,
2571
- className: k1.combobox,
2572
- children: [
2573
- /* @__PURE__ */ s.jsx(Br, { values: i, placeholder: l }),
2574
- e ? /* @__PURE__ */ s.jsx(qe, {}) : /* @__PURE__ */ s.jsx(Oe, {})
2575
- ]
2576
- }
2577
- );
2578
- };
2579
- function Tr({
2580
- name: e,
2581
- options: t,
2582
- initialValues: r,
2583
- defaultValue: n
2584
- }) {
2585
- return t.map((o) => {
2586
- let l = !1;
2587
- return r != null && r[e] && Array.isArray(r[e]) && r[e].find(
2588
- (a) => a === o.id || (a == null ? void 0 : a.id) === o.id
2589
- ) && (l = !0), !(r != null && r[e]) && Array.isArray(n) && n.find((a) => a === o.id) && (l = !0), v(p({}, o), { selected: l });
2590
- });
2591
- }
2592
- const r1 = (e) => e.filter((t) => t.selected).map((t) => t.id), Nr = (e, t) => {
2593
- const r = e.find((n) => n.id === t);
2594
- return e.map((n) => n.id === t ? v(p({}, n), { selected: !(r != null && r.selected) }) : n);
2595
- };
2596
- function zr({
2597
- name: e,
2598
- defaultValue: t,
2599
- onChange: r,
2600
- options: n
2601
- }) {
2602
- const [o, l] = L(!1), { onChangeFormInput: c, initialValues: a } = le(ae), i = Tr({
2603
- name: e,
2604
- options: n,
2605
- initialValues: a,
2606
- defaultValue: t
2607
- }), [u, d] = L(i), w = B(c), _ = B(i);
2608
- w.current = c, _.current = i;
2609
- const h = () => l(!1), f = () => l(!o), g = (j) => {
2610
- const k = Nr(u, j);
2611
- d(k), r == null || r(k), c == null || c({ name: e, value: r1(k) });
2612
- }, m = Y(() => {
2613
- var j;
2614
- l(!1), d(_.current), (j = w.current) == null || j.call(w, {
2615
- name: e,
2616
- value: r1(_.current)
2617
- });
2618
- }, [e]);
2619
- return _e(m), {
2620
- handleClose: h,
2621
- handleToggle: f,
2622
- handleSelect: g,
2623
- opened: o,
2624
- values: u
2625
- };
2626
- }
2627
- const Dr = "_dropdown_jmnrj_2", Hr = "_dropdown__opened_jmnrj_33", Ae = {
2628
- dropdown: Dr,
2629
- dropdown__opened: Hr
2630
- }, Pr = "_option_1b164_2", Vr = "_option__selected_1b164_40", Or = "_option__multi_1b164_43", me = {
2631
- option: Pr,
2632
- option__selected: Vr,
2633
- option__multi: Or
2634
- }, qr = ({ value: e, onSelect: t }) => {
2635
- const { id: r, label: n, selected: o } = e, l = E([
2636
- me.option,
2637
- me.option__multi,
2638
- { [me.option__selected]: o }
2639
- ]), c = (a) => (i) => {
2640
- switch (i.key) {
2641
- case " ":
2642
- case "SpaceBar":
2643
- case "Enter":
2644
- i.preventDefault(), t(a);
2645
- break;
2646
- }
2647
- };
2648
- return /* @__PURE__ */ s.jsxs(
2649
- "li",
2650
- {
2651
- id: r,
2652
- role: "option",
2653
- "aria-selected": o,
2654
- tabIndex: 0,
2655
- onKeyDown: c(r),
2656
- onClick: () => t(r),
2657
- className: l,
2658
- children: [
2659
- o ? /* @__PURE__ */ s.jsx(w1, {}) : /* @__PURE__ */ s.jsx(m1, {}),
2660
- /* @__PURE__ */ s.jsx("span", { children: n })
2661
- ]
2662
- }
2663
- );
2664
- }, Wr = ({
2665
- options: e,
2666
- opened: t,
2667
- onClose: r,
2668
- onSelect: n,
2669
- dropdownId: o
2670
- }) => {
2671
- const l = E([Ae.dropdown, { [Ae.dropdown__opened]: t }]);
2672
- return /* @__PURE__ */ s.jsx(
2673
- "ul",
2674
- {
2675
- role: "listbox",
2676
- id: o,
2677
- tabIndex: -1,
2678
- onKeyDown: (c) => f1({ e: c, options: e, onClose: r }),
2679
- className: l,
2680
- children: e.map((c) => /* @__PURE__ */ s.jsx(qr, { value: c, onSelect: () => n(c.id) }, c.id))
2681
- }
2682
- );
2683
- }, r2 = (w) => {
2684
- var _ = w, {
2685
- options: e,
2686
- name: t,
2687
- label: r,
2688
- required: n = !1,
2689
- placeholder: o = "Not selected",
2690
- disabled: l = !1,
2691
- onChange: c,
2692
- defaultValue: a,
2693
- id: i,
2694
- className: u
2695
- } = _, d = b(_, [
2696
- "options",
2697
- "name",
2698
- "label",
2699
- "required",
2700
- "placeholder",
2701
- "disabled",
2702
- "onChange",
2703
- "defaultValue",
2704
- "id",
2705
- "className"
2706
- ]);
2707
- const h = B(null), { elementId: f, dropdownId: g } = se(i), { handleClose: m, handleSelect: j, handleToggle: k, opened: y, values: I } = zr({
2708
- name: t,
2709
- options: e,
2710
- defaultValue: a,
2711
- onChange: c
2712
- }), M = E([j1.wrapper, u]);
2713
- return Te({ ref: h, onClickOutsideHandler: m }), Ne({ keyCode: "Escape", ref: h, onKeyPress: m }), /* @__PURE__ */ s.jsxs("div", v(p({ ref: h }, d), { className: M, children: [
2714
- /* @__PURE__ */ s.jsx(ne, { label: r, required: n, inputId: f }),
2715
- /* @__PURE__ */ s.jsx(
2716
- $r,
2717
- {
2718
- name: t,
2719
- opened: y,
2720
- comboboxId: f,
2721
- dropdownId: g,
2722
- onClick: k,
2723
- values: I,
2724
- placeholder: o,
2725
- disabled: l,
2726
- required: n
2727
- }
2728
- ),
2729
- /* @__PURE__ */ s.jsx(
2730
- Wr,
2731
- {
2732
- options: I,
2733
- opened: y,
2734
- onClose: m,
2735
- dropdownId: g,
2736
- onSelect: j
2737
- }
2738
- )
2739
- ] }));
2740
- };
2741
- function Fr({
2742
- name: e,
2743
- initialValues: t,
2744
- defaultValue: r
2745
- }) {
2746
- return t != null && t[e] ? Number(t[e]) : r && typeof r == "number" ? r : 0;
2747
- }
2748
- function Kr({
2749
- value: e,
2750
- required: t,
2751
- validator: r,
2752
- maxValue: n,
2753
- minValue: o
2754
- }) {
2755
- return t && !r && e === void 0 ? !1 : r && typeof r == "function" ? r(e) : n && o && e && !r ? e <= n && e >= o : !0;
2756
- }
2757
- function Ur({
2758
- name: e,
2759
- defaultValue: t,
2760
- onChange: r,
2761
- onDecrement: n,
2762
- onIncrement: o,
2763
- min: l,
2764
- max: c,
2765
- step: a,
2766
- required: i,
2767
- validator: u
2768
- }) {
2769
- const { onChangeFormInput: d, initialValues: w } = le(ae), _ = Fr({ initialValues: w, defaultValue: t, name: e }), h = c ? Number(c) : Number.MAX_SAFE_INTEGER, f = l ? Number(l) : Number.MIN_SAFE_INTEGER, [g, m] = L(_), [j, k] = L(!0), y = B(d), I = B(_);
2770
- y.current = d, I.current = _;
2771
- const M = (N) => {
2772
- m(N);
2773
- const z = Kr({ value: N, required: i, validator: u, maxValue: h, minValue: f });
2774
- k(z), d == null || d({ name: e, value: N, valid: z });
2775
- }, A = (N) => {
2776
- const z = Number(N.target.value);
2777
- M(z), r == null || r(N);
2778
- }, $ = () => {
2779
- M(g + a), o == null || o();
2780
- }, R = () => {
2781
- M(g - a), n == null || n();
2782
- }, O = Y(() => {
2783
- var N;
2784
- m(I.current), k(!0), (N = y.current) == null || N.call(y, { name: e, value: I.current, valid: !0 });
2785
- }, [e]);
2786
- return _e(O), {
2787
- handleChange: A,
2788
- value: g,
2789
- valid: j,
2790
- minValue: f,
2791
- maxValue: h,
2792
- handleIncrement: $,
2793
- handleDecrement: R
2794
- };
2795
- }
2796
- const Gr = "_numeric_7tim7_3", Yr = "_errorMessage_7tim7_10", Re = {
2797
- numeric: Gr,
2798
- errorMessage: Yr
2799
- }, Zr = (M) => {
2800
- var A = M, {
2801
- name: e,
2802
- label: t,
2803
- errorMessage: r,
2804
- onChange: n,
2805
- onBlur: o,
2806
- onFocus: l,
2807
- onIncrement: c,
2808
- onDecrement: a,
2809
- validator: i,
2810
- min: u,
2811
- max: d,
2812
- id: w,
2813
- tabIndex: _,
2814
- disabled: h = !1,
2815
- required: f = !1,
2816
- readOnly: g = !1,
2817
- hasSpinButtons: m = !0,
2818
- defaultValue: j = 0,
2819
- step: k = 1,
2820
- className: y
2821
- } = A, I = b(A, [
2822
- "name",
2823
- "label",
2824
- "errorMessage",
2825
- "onChange",
2826
- "onBlur",
2827
- "onFocus",
2828
- "onIncrement",
2829
- "onDecrement",
2830
- "validator",
2831
- "min",
2832
- "max",
2833
- "id",
2834
- "tabIndex",
2835
- "disabled",
2836
- "required",
2837
- "readOnly",
2838
- "hasSpinButtons",
2839
- "defaultValue",
2840
- "step",
2841
- "className"
2842
- ]);
2843
- const { elementId: $, errorId: R } = se(w), { value: O, valid: N, handleChange: z, handleDecrement: U, handleIncrement: D, minValue: J, maxValue: T } = Ur({
2844
- name: e,
2845
- defaultValue: j,
2846
- min: u,
2847
- max: d,
2848
- onChange: n,
2849
- required: f,
2850
- validator: i,
2851
- step: k,
2852
- onDecrement: a,
2853
- onIncrement: c
2854
- }), F = E([Re.numeric, y]);
2855
- return /* @__PURE__ */ s.jsxs("div", v(p({}, I), { className: F, children: [
2856
- /* @__PURE__ */ s.jsx(ne, { label: t, required: f, inputId: $ }),
2857
- /* @__PURE__ */ s.jsxs(
2858
- Ce,
2859
- {
2860
- id: $,
2861
- name: e,
2862
- type: "number",
2863
- disabled: h,
2864
- required: f,
2865
- readOnly: g,
2866
- placeholder: "0",
2867
- "aria-invalid": !N,
2868
- "aria-errormessage": R,
2869
- value: O.toString(),
2870
- onChange: z,
2871
- min: J,
2872
- max: T,
2873
- step: k,
2874
- onBlur: o,
2875
- onFocus: l,
2876
- tabIndex: _,
2877
- children: [
2878
- m && /* @__PURE__ */ s.jsxs("span", { children: [
2879
- /* @__PURE__ */ s.jsx(
2880
- K,
2881
- {
2882
- onClick: U,
2883
- view: P.Inner,
2884
- label: `Decrement value for ${t}`,
2885
- icon: C.ChevronLeft,
2886
- disabled: h
2887
- }
2888
- ),
2889
- /* @__PURE__ */ s.jsx(
2890
- K,
2891
- {
2892
- onClick: D,
2893
- view: P.Inner,
2894
- label: `Increment value for ${t}`,
2895
- icon: C.ChevronRight,
2896
- disabled: h
2897
- }
2898
- )
2899
- ] }),
2900
- /* @__PURE__ */ s.jsx(
2901
- $e,
2902
- {
2903
- errorId: R,
2904
- message: r,
2905
- visible: !N,
2906
- className: Re.errorMessage
2907
- }
2908
- )
2909
- ]
2910
- }
2911
- )
2912
- ] }));
2913
- }, Jr = (I) => {
2914
- var M = I, {
2915
- name: e,
2916
- label: t,
2917
- errorMessage: r,
2918
- onChange: n,
2919
- onBlur: o,
2920
- onFocus: l,
2921
- onIncrement: c,
2922
- onDecrement: a,
2923
- min: i,
2924
- max: u,
2925
- id: d,
2926
- tabIndex: w,
2927
- disabled: _ = !1,
2928
- required: h = !1,
2929
- readOnly: f = !1,
2930
- hasSpinButtons: g = !0,
2931
- step: m = 1,
2932
- className: j,
2933
- value: k
2934
- } = M, y = b(M, [
2935
- "name",
2936
- "label",
2937
- "errorMessage",
2938
- "onChange",
2939
- "onBlur",
2940
- "onFocus",
2941
- "onIncrement",
2942
- "onDecrement",
2943
- "min",
2944
- "max",
2945
- "id",
2946
- "tabIndex",
2947
- "disabled",
2948
- "required",
2949
- "readOnly",
2950
- "hasSpinButtons",
2951
- "step",
2952
- "className",
2953
- "value"
2954
- ]);
2955
- var O;
2956
- const A = d != null ? d : `numeric-input-${e}`, $ = `${e}-error`, R = E([Re.numeric, j]);
2957
- return /* @__PURE__ */ s.jsxs("div", v(p({}, y), { className: R, children: [
2958
- /* @__PURE__ */ s.jsx(ne, { label: t, required: h, inputId: A }),
2959
- /* @__PURE__ */ s.jsxs(
2960
- Ce,
2961
- {
2962
- id: A,
2963
- name: e,
2964
- type: "number",
2965
- disabled: _,
2966
- required: h,
2967
- readOnly: f,
2968
- placeholder: "0",
2969
- "aria-invalid": !!r,
2970
- "aria-errormessage": $,
2971
- value: (O = k == null ? void 0 : k.toString()) != null ? O : "",
2972
- onChange: n,
2973
- min: i,
2974
- max: u,
2975
- step: m,
2976
- onBlur: o,
2977
- onFocus: l,
2978
- tabIndex: w,
2979
- children: [
2980
- g && /* @__PURE__ */ s.jsxs("span", { children: [
2981
- /* @__PURE__ */ s.jsx(
2982
- K,
2983
- {
2984
- onClick: a,
2985
- view: P.Inner,
2986
- label: `Decrement value for ${t}`,
2987
- icon: C.ChevronLeft,
2988
- disabled: _
2989
- }
2990
- ),
2991
- /* @__PURE__ */ s.jsx(
2992
- K,
2993
- {
2994
- onClick: c,
2995
- view: P.Inner,
2996
- label: `Increment value for ${t}`,
2997
- icon: C.ChevronRight,
2998
- disabled: _
2999
- }
3000
- )
3001
- ] }),
3002
- /* @__PURE__ */ s.jsx(
3003
- $e,
3004
- {
3005
- errorId: $,
3006
- message: r,
3007
- visible: !!r,
3008
- className: Re.errorMessage
3009
- }
3010
- )
3011
- ]
3012
- }
3013
- )
3014
- ] }));
3015
- }, s2 = (e) => e.stateless ? /* @__PURE__ */ s.jsx(Jr, p({}, e)) : /* @__PURE__ */ s.jsx(Zr, p({}, e));
3016
- function Xr({
3017
- onSearch: e,
3018
- onClear: t,
3019
- maxLength: r = 50,
3020
- minLength: n = 1,
3021
- searchMode: o = "automatic",
3022
- debounceDelay: l = 500
3023
- }) {
3024
- const [c, a] = L(""), i = o === "manual", u = !i, d = c.length > 0, w = c.length >= n && c.trim().length > 0 && c.length <= r, _ = Yn(c, l), h = B(e), f = B(o), g = B(w);
3025
- h.current = e, f.current = o, g.current = w, V(() => {
3026
- var I;
3027
- _.trim().length > 0 && f.current === "automatic" && g.current && ((I = h.current) == null || I.call(h, _));
3028
- }, [_]);
3029
- const m = Y((I) => {
3030
- const M = I.target.value;
3031
- a(M);
3032
- }, []), j = Y(() => {
3033
- a(""), t == null || t();
3034
- }, [t]), k = Y(() => {
3035
- var I;
3036
- (I = h.current) == null || I.call(h, c);
3037
- }, [c]), y = Y(
3038
- (I) => {
3039
- I.key === "Enter" ? (I.preventDefault(), h.current && h.current(c)) : I.key === "Escape" && (I.preventDefault(), j());
3040
- },
3041
- [j, c]
3042
- );
3043
- return {
3044
- searchValue: c,
3045
- isSearchButtonVisible: i,
3046
- isLabelIconVisible: u,
3047
- isClearButtonVisible: d,
3048
- isSearchValueValid: w,
3049
- handleChange: m,
3050
- handleClear: j,
3051
- handleSearchClick: k,
3052
- handleKeyDown: y
3053
- };
3054
- }
3055
- const Qr = "_wrapper_os981_1", es = {
3056
- wrapper: Qr
3057
- }, o2 = (I) => {
3058
- var M = I, {
3059
- label: e,
3060
- onSearch: t,
3061
- onBlur: r,
3062
- onFocus: n,
3063
- onClear: o,
3064
- id: l,
3065
- tabIndex: c,
3066
- className: a,
3067
- maxLength: i = 50,
3068
- minLength: u = 1,
3069
- searchMode: d = "automatic",
3070
- name: w = "q",
3071
- placeholder: _ = "Type to search...",
3072
- disabled: h = !1,
3073
- clearable: f = !0,
3074
- spellCheck: g = !1,
3075
- autoComplete: m = "off",
3076
- debounceDelay: j = 500,
3077
- required: k
3078
- } = M, y = b(M, [
3079
- "label",
3080
- "onSearch",
3081
- "onBlur",
3082
- "onFocus",
3083
- "onClear",
3084
- "id",
3085
- "tabIndex",
3086
- "className",
3087
- "maxLength",
3088
- "minLength",
3089
- "searchMode",
3090
- "name",
3091
- "placeholder",
3092
- "disabled",
3093
- "clearable",
3094
- "spellCheck",
3095
- "autoComplete",
3096
- "debounceDelay",
3097
- "required"
3098
- ]);
3099
- const { elementId: A } = se(l), $ = B(null), R = E([es.wrapper, a]), {
3100
- searchValue: O,
3101
- isSearchButtonVisible: N,
3102
- isLabelIconVisible: z,
3103
- isClearButtonVisible: U,
3104
- isSearchValueValid: D,
3105
- handleChange: J,
3106
- handleClear: T,
3107
- handleSearchClick: F,
3108
- handleKeyDown: G
3109
- } = Xr({
3110
- onSearch: t,
3111
- onClear: o,
3112
- maxLength: i,
3113
- minLength: u,
3114
- searchMode: d,
3115
- debounceDelay: j
3116
- }), X = () => {
3117
- T(), $.current && $.current.focus();
3118
- };
3119
- return /* @__PURE__ */ s.jsxs("div", v(p({}, y), { className: R, children: [
3120
- /* @__PURE__ */ s.jsx(
3121
- ne,
3122
- {
3123
- label: e,
3124
- required: !!k,
3125
- inputId: A,
3126
- icon: z ? C.Search : void 0,
3127
- iconPosition: z ? "left" : void 0
3128
- }
3129
- ),
3130
- /* @__PURE__ */ s.jsx(
3131
- Ce,
3132
- {
3133
- ref: $,
3134
- id: A,
3135
- name: w,
3136
- type: "search",
3137
- value: O,
3138
- onChange: J,
3139
- onKeyDown: G,
3140
- onBlur: r,
3141
- onFocus: n,
3142
- disabled: h,
3143
- placeholder: _,
3144
- autoComplete: m,
3145
- maxLength: i,
3146
- minLength: u,
3147
- spellCheck: g,
3148
- tabIndex: c,
3149
- required: k,
3150
- children: /* @__PURE__ */ s.jsxs("span", { children: [
3151
- f && U && /* @__PURE__ */ s.jsx(
3152
- K,
3153
- {
3154
- view: P.Inner,
3155
- onClick: X,
3156
- label: `Clear search input for ${e}`,
3157
- icon: C.Remove
3158
- }
3159
- ),
3160
- N && /* @__PURE__ */ s.jsx(
3161
- K,
3162
- {
3163
- view: P.Inner,
3164
- onClick: F,
3165
- label: "Perform search",
3166
- icon: C.Search,
3167
- disabled: h || !D
3168
- }
3169
- )
3170
- ] })
3171
- }
3172
- )
3173
- ] }));
3174
- }, ts = ({
3175
- opened: e,
3176
- onClick: t,
3177
- comboboxId: r,
3178
- dropdownId: n,
3179
- selected: o,
3180
- name: l,
3181
- placeholder: c,
3182
- disabled: a,
3183
- required: i
3184
- }) => /* @__PURE__ */ s.jsxs(
3185
- "button",
3186
- {
3187
- type: "button",
3188
- name: l,
3189
- value: o == null ? void 0 : o.id,
3190
- role: "combobox",
3191
- "aria-haspopup": "listbox",
3192
- "aria-expanded": e,
3193
- "aria-controls": n,
3194
- id: r,
3195
- onClick: t,
3196
- disabled: a,
3197
- "aria-required": i,
3198
- className: k1.combobox,
3199
- children: [
3200
- o != null && o.label ? /* @__PURE__ */ s.jsx("span", { children: o == null ? void 0 : o.label }) : /* @__PURE__ */ s.jsx("span", { children: c }),
3201
- e ? /* @__PURE__ */ s.jsx(qe, {}) : /* @__PURE__ */ s.jsx(Oe, {})
3202
- ]
3203
- }
3204
- ), ns = ({ value: e, selected: t, onSelect: r, onClear: n }) => {
3205
- const { id: o, label: l } = e, c = E([me.option, { [me.option__selected]: t }]), a = (u) => {
3206
- t ? n() : r(u);
3207
- }, i = (u) => (d) => {
3208
- switch (d.key) {
3209
- case " ":
3210
- case "SpaceBar":
3211
- case "Enter":
3212
- d.preventDefault(), a(u);
3213
- break;
3214
- }
3215
- };
3216
- return /* @__PURE__ */ s.jsxs(
3217
- "li",
3218
- {
3219
- id: o,
3220
- role: "option",
3221
- "aria-selected": t,
3222
- tabIndex: 0,
3223
- onKeyDown: i(o),
3224
- onClick: () => a(o),
3225
- className: c,
3226
- children: [
3227
- /* @__PURE__ */ s.jsx("span", { children: l }),
3228
- t && /* @__PURE__ */ s.jsx(C1, {})
3229
- ]
3230
- }
3231
- );
3232
- }, rs = ({
3233
- options: e,
3234
- opened: t,
3235
- onClose: r,
3236
- onSelect: n,
3237
- dropdownId: o,
3238
- comboboxId: l,
3239
- selected: c,
3240
- onClear: a
3241
- }) => {
3242
- const i = (d) => {
3243
- n(d), r(), Se(l);
3244
- }, u = E([Ae.dropdown, { [Ae.dropdown__opened]: t }]);
3245
- return /* @__PURE__ */ s.jsx(
3246
- "ul",
3247
- {
3248
- role: "listbox",
3249
- id: o,
3250
- tabIndex: -1,
3251
- onKeyDown: (d) => f1({ e: d, options: e, onClose: r }),
3252
- className: u,
3253
- children: e.map((d) => /* @__PURE__ */ s.jsx(
3254
- ns,
3255
- {
3256
- value: d,
3257
- onSelect: () => i(d.id),
3258
- onClear: a,
3259
- selected: d.id === (c == null ? void 0 : c.id)
3260
- },
3261
- d.id
3262
- ))
3263
- }
3264
- );
3265
- };
3266
- function ss({
3267
- name: e,
3268
- options: t,
3269
- initialValues: r,
3270
- defaultValue: n
3271
- }) {
3272
- var l;
3273
- let o;
3274
- if (r && Object.hasOwn(r, e)) {
3275
- const c = r[e];
3276
- o = (l = c == null ? void 0 : c.id) != null ? l : c;
3277
- }
3278
- return !(r != null && r[e]) && n && typeof n == "string" && (o = n), t.find((c) => c.id === o);
3279
- }
3280
- function os({
3281
- name: e,
3282
- defaultValue: t,
3283
- onChange: r,
3284
- options: n
3285
- }) {
3286
- const { onChangeFormInput: o, initialValues: l } = le(ae), c = ss({ name: e, options: n, defaultValue: t, initialValues: l }), [a, i] = L(!1), [u, d] = L(c), w = B(o), _ = B(c);
3287
- w.current = o, _.current = c;
3288
- const h = () => i(!1), f = () => i(!a), g = (k) => {
3289
- const y = n.find((I) => I.id === k);
3290
- d(y), r == null || r(y), o == null || o({ name: e, value: y == null ? void 0 : y.id });
3291
- }, m = () => {
3292
- d(void 0), r == null || r(void 0);
3293
- }, j = Y(() => {
3294
- var k, y;
3295
- i(!1), d(_.current), (y = w.current) == null || y.call(w, { name: e, value: (k = _.current) == null ? void 0 : k.id });
3296
- }, [e]);
3297
- return _e(j), {
3298
- selected: u,
3299
- opened: a,
3300
- handleClear: m,
3301
- handleClose: h,
3302
- handleToggle: f,
3303
- handleSelect: g
3304
- };
3305
- }
3306
- const c2 = (w) => {
3307
- var _ = w, {
3308
- options: e,
3309
- onChange: t,
3310
- name: r,
3311
- label: n,
3312
- defaultValue: o,
3313
- id: l,
3314
- placeholder: c = "Not selected",
3315
- required: a = !1,
3316
- disabled: i = !1,
3317
- className: u
3318
- } = _, d = b(_, [
3319
- "options",
3320
- "onChange",
3321
- "name",
3322
- "label",
3323
- "defaultValue",
3324
- "id",
3325
- "placeholder",
3326
- "required",
3327
- "disabled",
3328
- "className"
3329
- ]);
3330
- const h = B(null), { elementId: f, dropdownId: g } = se(l), { handleClear: m, handleClose: j, handleSelect: k, handleToggle: y, selected: I, opened: M } = os({
3331
- options: e,
3332
- onChange: t,
3333
- defaultValue: o,
3334
- name: r
3335
- }), A = E([j1.wrapper, u]);
3336
- return Te({ ref: h, onClickOutsideHandler: j }), Ne({ keyCode: "Escape", ref: h, onKeyPress: j }), /* @__PURE__ */ s.jsxs("div", v(p({ ref: h }, d), { className: A, children: [
3337
- /* @__PURE__ */ s.jsx(ne, { label: n, required: a, inputId: f }),
3338
- /* @__PURE__ */ s.jsx(
3339
- ts,
3340
- {
3341
- name: r,
3342
- opened: M,
3343
- comboboxId: f,
3344
- dropdownId: g,
3345
- onClick: y,
3346
- selected: I,
3347
- placeholder: c,
3348
- disabled: i,
3349
- required: a
3350
- }
3351
- ),
3352
- /* @__PURE__ */ s.jsx(
3353
- rs,
3354
- {
3355
- options: e,
3356
- selected: I,
3357
- opened: M,
3358
- onClose: j,
3359
- dropdownId: g,
3360
- comboboxId: f,
3361
- onSelect: k,
3362
- onClear: m
3363
- }
3364
- )
3365
- ] }));
3366
- };
3367
- function cs({
3368
- defaultChecked: e,
3369
- initialValues: t,
3370
- name: r
3371
- }) {
3372
- return (t == null ? void 0 : t[r]) !== void 0 ? !!(t != null && t[r]) : !!e;
3373
- }
3374
- function ls({
3375
- name: e,
3376
- defaultChecked: t,
3377
- onChange: r
3378
- }) {
3379
- const { onChangeFormInput: n, initialValues: o } = le(ae), l = cs({ initialValues: o, name: e, defaultChecked: t }), [c, a] = L(l), i = B(n), u = B(l), d = B(r);
3380
- i.current = n, u.current = l, d.current = r;
3381
- const w = Y(
3382
- (f) => {
3383
- var g, m;
3384
- a(f), (g = d.current) == null || g.call(d, f), (m = i.current) == null || m.call(i, { name: e, value: f });
3385
- },
3386
- [e]
3387
- ), _ = Y(
3388
- (f) => {
3389
- (f.key === " " || f.key === "Enter") && (f.preventDefault(), w(!c));
3390
- },
3391
- [c, w]
3392
- ), h = Y(() => {
3393
- var f;
3394
- a(u.current), (f = i.current) == null || f.call(i, { name: e, value: u.current });
3395
- }, [e]);
3396
- return _e(h), {
3397
- checked: c,
3398
- handleChange: w,
3399
- handleKeyDown: _
3400
- };
3401
- }
3402
- const as = "_switch_input_gjpho_31", is = "_switch_label_gjpho_36", ds = "_switch_track_gjpho_56", us = "_switch__checked_gjpho_66", hs = "_switch_thumb_gjpho_69", _s = "_switch_indicator_gjpho_83", xs = "_switch__disabled_gjpho_107", ce = {
3403
- switch: "_switch_gjpho_3",
3404
- switch_input: as,
3405
- switch_label: is,
3406
- switch_track: ds,
3407
- switch__checked: us,
3408
- switch_thumb: hs,
3409
- switch_indicator: _s,
3410
- switch__disabled: xs
3411
- }, l2 = ({
3412
- checked: e,
3413
- onChange: t,
3414
- label: r,
3415
- disabled: n = !1,
3416
- className: o,
3417
- id: l,
3418
- name: c,
3419
- value: a = "on",
3420
- hasIndicator: i
3421
- }) => {
3422
- const {
3423
- checked: u,
3424
- handleChange: d,
3425
- handleKeyDown: w
3426
- } = ls({
3427
- name: c,
3428
- defaultChecked: e,
3429
- onChange: t
3430
- }), _ = E([
3431
- ce.switch,
3432
- o,
3433
- {
3434
- [ce.switch__checked]: u,
3435
- [ce.switch__disabled]: n
3436
- }
3437
- ]), h = () => {
3438
- n || d(!u);
3439
- };
3440
- return /* @__PURE__ */ s.jsxs(
3441
- "div",
3442
- {
3443
- role: "switch",
3444
- "aria-checked": u,
3445
- "aria-label": r,
3446
- tabIndex: n ? -1 : 0,
3447
- className: _,
3448
- onClick: h,
3449
- onKeyDown: w,
3450
- id: l,
3451
- children: [
3452
- /* @__PURE__ */ s.jsx(
3453
- "input",
3454
- {
3455
- type: "checkbox",
3456
- name: c,
3457
- value: a,
3458
- checked: u,
3459
- disabled: n,
3460
- className: ce.switch_input,
3461
- readOnly: !0,
3462
- "data-testid": "switch-input"
3463
- }
3464
- ),
3465
- /* @__PURE__ */ s.jsx("span", { className: ce.switch_label, children: r }),
3466
- i && /* @__PURE__ */ s.jsx("span", { className: ce.switch_indicator, "aria-hidden": "true", children: u ? "On" : "Off" }),
3467
- /* @__PURE__ */ s.jsx("span", { className: ce.switch_track, children: /* @__PURE__ */ s.jsx("span", { className: ce.switch_thumb }) })
3468
- ]
3469
- }
3470
- );
3471
- };
3472
- function fs({
3473
- value: e,
3474
- required: t,
3475
- validator: r
3476
- }) {
3477
- return t && !r && !e.length ? !1 : r && typeof r == "function" ? r(e) : r && typeof r == "object" ? new RegExp(r.regexp, r == null ? void 0 : r.flags).test(e) : !0;
3478
- }
3479
- function ps({
3480
- name: e,
3481
- initialValues: t,
3482
- defaultValue: r
3483
- }) {
3484
- return t != null && t[e] ? t[e].toString() : r && typeof r == "string" ? r : "";
3485
- }
3486
- function ws({
3487
- name: e,
3488
- defaultValue: t,
3489
- onChange: r,
3490
- onClear: n,
3491
- required: o,
3492
- validator: l
3493
- }) {
3494
- const { onChangeFormInput: c, initialValues: a } = le(ae), i = ps({ initialValues: a, defaultValue: t, name: e }), [u, d] = L(i), [w, _] = L(!0), [h, f] = L(!1), g = B(c), m = B(i);
3495
- g.current = c, m.current = i;
3496
- const j = (M) => {
3497
- const A = M.target.value, $ = fs({ value: A, required: o, validator: l });
3498
- d(A), _($), c == null || c({ name: e, value: A, valid: $ }), r == null || r(M);
3499
- }, k = () => {
3500
- d(""), _(!0), c == null || c({ name: e, value: "", valid: !0 }), n == null || n();
3501
- }, y = Y(() => {
3502
- var M;
3503
- d(m.current), _(!0), (M = g.current) == null || M.call(g, { name: e, value: m.current, valid: !0 });
3504
- }, [e]), I = () => {
3505
- f(!h);
3506
- };
3507
- return _e(y), {
3508
- value: u,
3509
- valid: w,
3510
- passwordShown: h,
3511
- handleChange: j,
3512
- handleClear: k,
3513
- togglePassword: I
3514
- };
3515
- }
3516
- const ms = "_wrapper_pivdt_3", Cs = "_errorMessage_pivdt_10", Be = {
3517
- wrapper: ms,
3518
- errorMessage: Cs
3519
- }, y1 = ({
3520
- clearable: e,
3521
- isPasswordButtonVisible: t,
3522
- handleClear: r,
3523
- togglePassword: n,
3524
- passwordShown: o,
3525
- label: l,
3526
- disabled: c
3527
- }) => /* @__PURE__ */ s.jsxs("span", { children: [
3528
- e && /* @__PURE__ */ s.jsx(
3529
- K,
3530
- {
3531
- view: P.Inner,
3532
- onClick: r,
3533
- label: `Clear input for ${l}`,
3534
- icon: C.Remove,
3535
- disabled: c
3536
- }
3537
- ),
3538
- t && /* @__PURE__ */ s.jsx(
3539
- K,
3540
- {
3541
- onClick: n,
3542
- view: P.Inner,
3543
- label: "Toggle password visibility",
3544
- icon: o ? C.Hide : C.Show,
3545
- disabled: c
3546
- }
3547
- )
3548
- ] }), vs = (M) => {
3549
- var A = M, {
3550
- name: e,
3551
- label: t,
3552
- errorMessage: r,
3553
- defaultValue: n,
3554
- onChange: o,
3555
- onBlur: l,
3556
- onFocus: c,
3557
- onClear: a,
3558
- validator: i,
3559
- maxLength: u,
3560
- id: d,
3561
- tabIndex: w,
3562
- placeholder: _ = "Type here...",
3563
- disabled: h = !1,
3564
- required: f = !1,
3565
- clearable: g = !0,
3566
- readOnly: m = !1,
3567
- autoComplete: j = "off",
3568
- type: k = "text",
3569
- className: y
3570
- } = A, I = b(A, [
3571
- "name",
3572
- "label",
3573
- "errorMessage",
3574
- "defaultValue",
3575
- "onChange",
3576
- "onBlur",
3577
- "onFocus",
3578
- "onClear",
3579
- "validator",
3580
- "maxLength",
3581
- "id",
3582
- "tabIndex",
3583
- "placeholder",
3584
- "disabled",
3585
- "required",
3586
- "clearable",
3587
- "readOnly",
3588
- "autoComplete",
3589
- "type",
3590
- "className"
3591
- ]);
3592
- const { value: $, valid: R, handleChange: O, handleClear: N, passwordShown: z, togglePassword: U } = ws({
3593
- defaultValue: n,
3594
- name: e,
3595
- onChange: o,
3596
- onClear: a,
3597
- required: f,
3598
- validator: i
3599
- }), { elementId: D, errorId: J } = se(d), T = k === "password", F = E([Be.wrapper, y]);
3600
- return /* @__PURE__ */ s.jsxs("div", v(p({}, I), { className: F, children: [
3601
- /* @__PURE__ */ s.jsx(ne, { label: t, required: f, inputId: D }),
3602
- /* @__PURE__ */ s.jsxs(
3603
- Ce,
3604
- {
3605
- id: D,
3606
- name: e,
3607
- type: z ? "text" : k,
3608
- disabled: h,
3609
- placeholder: _,
3610
- required: f,
3611
- readOnly: m,
3612
- autoComplete: j,
3613
- "aria-invalid": !R,
3614
- "aria-errormessage": J,
3615
- "aria-readonly": m,
3616
- value: $,
3617
- onChange: O,
3618
- maxLength: u,
3619
- onBlur: l,
3620
- onFocus: c,
3621
- tabIndex: w,
3622
- children: [
3623
- /* @__PURE__ */ s.jsx(
3624
- y1,
3625
- {
3626
- clearable: g,
3627
- isPasswordButtonVisible: T,
3628
- handleClear: N,
3629
- togglePassword: U,
3630
- passwordShown: z,
3631
- label: t,
3632
- disabled: h
3633
- }
3634
- ),
3635
- /* @__PURE__ */ s.jsx(
3636
- $e,
3637
- {
3638
- errorId: J,
3639
- message: r,
3640
- visible: !R,
3641
- className: Be.errorMessage
3642
- }
3643
- )
3644
- ]
3645
- }
3646
- )
3647
- ] }));
3648
- }, bs = (I) => {
3649
- var M = I, {
3650
- name: e,
3651
- label: t,
3652
- errorMessage: r,
3653
- value: n,
3654
- onChange: o,
3655
- onBlur: l,
3656
- onFocus: c,
3657
- onClear: a,
3658
- maxLength: i,
3659
- id: u,
3660
- tabIndex: d,
3661
- placeholder: w = "Type here...",
3662
- disabled: _ = !1,
3663
- required: h = !1,
3664
- clearable: f = !0,
3665
- readOnly: g = !1,
3666
- autoComplete: m = "off",
3667
- type: j = "text",
3668
- className: k
3669
- } = M, y = b(M, [
3670
- "name",
3671
- "label",
3672
- "errorMessage",
3673
- "value",
3674
- "onChange",
3675
- "onBlur",
3676
- "onFocus",
3677
- "onClear",
3678
- "maxLength",
3679
- "id",
3680
- "tabIndex",
3681
- "placeholder",
3682
- "disabled",
3683
- "required",
3684
- "clearable",
3685
- "readOnly",
3686
- "autoComplete",
3687
- "type",
3688
- "className"
3689
- ]);
3690
- const A = u != null ? u : `text-input-${e}`, $ = `${e}-error`, [R, O] = L(!1), N = j === "password", z = E([Be.wrapper, k]), U = () => {
3691
- O(!R);
3692
- }, D = () => {
3693
- o && o({ target: { value: "" } }), a == null || a();
3694
- };
3695
- return /* @__PURE__ */ s.jsxs("div", v(p({}, y), { className: z, children: [
3696
- /* @__PURE__ */ s.jsx(ne, { label: t, required: h, inputId: A }),
3697
- /* @__PURE__ */ s.jsxs(
3698
- Ce,
3699
- {
3700
- id: A,
3701
- name: e,
3702
- type: R ? "text" : j,
3703
- disabled: _,
3704
- placeholder: w,
3705
- required: h,
3706
- readOnly: g,
3707
- autoComplete: m,
3708
- "aria-invalid": !!r,
3709
- "aria-errormessage": $,
3710
- "aria-readonly": g,
3711
- value: n != null ? n : "",
3712
- onChange: o,
3713
- maxLength: i,
3714
- onBlur: l,
3715
- onFocus: c,
3716
- tabIndex: d,
3717
- children: [
3718
- /* @__PURE__ */ s.jsx(
3719
- y1,
3720
- {
3721
- clearable: f,
3722
- isPasswordButtonVisible: N,
3723
- handleClear: D,
3724
- togglePassword: U,
3725
- passwordShown: R,
3726
- label: t,
3727
- disabled: _
3728
- }
3729
- ),
3730
- /* @__PURE__ */ s.jsx(
3731
- $e,
3732
- {
3733
- errorId: $,
3734
- message: r,
3735
- visible: !!r,
3736
- className: Be.errorMessage
3737
- }
3738
- )
3739
- ]
3740
- }
3741
- )
3742
- ] }));
3743
- }, a2 = (e) => e.stateless ? /* @__PURE__ */ s.jsx(bs, p({}, e)) : /* @__PURE__ */ s.jsx(vs, p({}, e)), gs = "_dialog_1fjwk_50", js = "_dialog__closing_1fjwk_65", ks = "_layout_1fjwk_71", ys = "_layout_button_1fjwk_101", Me = {
3744
- dialog: gs,
3745
- dialog__closing: js,
3746
- layout: ks,
3747
- layout_button: ys
3748
- }, i2 = (c) => {
3749
- var a = c, { isOpened: e, onClose: t, title: r, children: n, icon: o } = a, l = b(a, ["isOpened", "onClose", "title", "children", "icon"]);
3750
- const i = b1(e), u = i && !e, d = B(null);
3751
- return Jn({ modalRef: d, isOpened: e }), Ne({ keyCode: "Escape", ref: d, onKeyPress: t }), i ? /* @__PURE__ */ s.jsx(We, { children: /* @__PURE__ */ s.jsx("div", { className: E([Me.dialog, { [Me.dialog__closing]: u }]), children: /* @__PURE__ */ s.jsxs("div", v(p({ ref: d, role: "dialog", "aria-modal": "true" }, l), { className: Me.layout, children: [
3752
- /* @__PURE__ */ s.jsx(
3753
- K,
3754
- {
3755
- icon: C.Cancel,
3756
- view: P.Icon,
3757
- label: "Close modal window",
3758
- onClick: t,
3759
- className: Me.layout_button
3760
- }
3761
- ),
3762
- /* @__PURE__ */ s.jsx("header", { children: /* @__PURE__ */ s.jsx(p1, { as: "h3", icon: o, children: r }) }),
3763
- /* @__PURE__ */ s.jsx("div", { children: n })
3764
- ] })) }) }) : null;
3765
- };
3766
- function Is(e) {
3767
- return e ? Object.keys(e).map((t) => [t, !0]) : [];
3768
- }
3769
- function Ms(e, t) {
3770
- return (t == null ? void 0 : t.valid) === void 0 ? e : e.map((r) => r[0] !== t.name ? r : [r[0], !!(t != null && t.valid)]);
3771
- }
3772
- function Es(e) {
3773
- return e.every((t) => t[1]);
3774
- }
3775
- function Ss({
3776
- initialValues: e,
3777
- onReset: t,
3778
- onSubmit: r,
3779
- onClickSubmit: n
3780
- }) {
3781
- const [o, l] = L(e), [c, a] = L(Is(e)), [i, u] = L(0);
3782
- return {
3783
- handleInputChange: (h) => {
3784
- const f = v(p({}, o), { [h.name]: h.value });
3785
- l(f), a(Ms(c, h));
3786
- },
3787
- handleSubmit: (h) => {
3788
- h.preventDefault();
3789
- const f = Object.fromEntries(new FormData(h.target)), g = p(p({}, f), o);
3790
- r == null || r(h), n == null || n(g);
3791
- },
3792
- handleReset: (h) => {
3793
- t == null || t(h), l(e), u(i + 1);
3794
- },
3795
- resetSignal: i,
3796
- valid: Es(c)
3797
- };
3798
- }
3799
- const Ls = "_form_1lesb_2", As = "_form_buttons_1lesb_24", s1 = {
3800
- form: Ls,
3801
- form_buttons: As
3802
- }, d2 = (i) => {
3803
- var u = i, {
3804
- children: e,
3805
- initialValues: t,
3806
- onReset: r,
3807
- onSubmit: n,
3808
- onClickSubmit: o,
3809
- hasReset: l = !0,
3810
- className: c
3811
- } = u, a = b(u, [
3812
- "children",
3813
- "initialValues",
3814
- "onReset",
3815
- "onSubmit",
3816
- "onClickSubmit",
3817
- "hasReset",
3818
- "className"
3819
- ]);
3820
- const { handleInputChange: d, handleSubmit: w, handleReset: _, resetSignal: h, valid: f } = Ss({
3821
- initialValues: t,
3822
- onReset: r,
3823
- onSubmit: n,
3824
- onClickSubmit: o
3825
- }), g = E([s1.form, c]), m = _1(
3826
- () => ({ onChangeFormInput: d, initialValues: t, resetSignal: h }),
3827
- [d, t, h]
3828
- );
3829
- return /* @__PURE__ */ s.jsx("form", v(p({ onSubmit: w, onReset: _ }, a), { className: g, children: /* @__PURE__ */ s.jsxs(ae.Provider, { value: m, children: [
3830
- e,
3831
- /* @__PURE__ */ s.jsxs("div", { className: s1.form_buttons, children: [
3832
- l && /* @__PURE__ */ s.jsx(K, { type: "reset", text: "Reset", icon: C.Clear, view: P.Secondary }),
3833
- /* @__PURE__ */ s.jsx(
3834
- K,
3835
- {
3836
- type: "submit",
3837
- text: "Submit",
3838
- icon: C.Forward,
3839
- extended: !l,
3840
- disabled: !f
3841
- }
3842
- )
3843
- ] })
3844
- ] }) }));
3845
- };
3846
- function Rs({
3847
- item: e,
3848
- columns: t,
3849
- renderDataItem: r
3850
- }) {
3851
- const n = [];
3852
- for (const o of t) {
3853
- let l;
3854
- r && e[o.field] ? l = r(e, o.field) : e[o.field] ? l = e[o.field].toString() : l = "", n.push({ field: o.field, value: l });
3855
- }
3856
- return n;
3857
- }
3858
- const Bs = "_cell_veiud_1", $s = {
3859
- cell: Bs
3860
- }, Ts = ({ value: e }) => /* @__PURE__ */ s.jsx("td", { className: $s.cell, children: e }), Ns = "_checkbox_1814z_3", zs = "_checkbox__disabled_1814z_15", Ds = "_checkbox_input_1814z_27", Ee = {
3861
- checkbox: Ns,
3862
- checkbox__disabled: zs,
3863
- checkbox_input: Ds
3864
- }, I1 = (a) => {
3865
- var i = a, {
3866
- name: e,
3867
- label: t,
3868
- disabled: r,
3869
- required: n = !1,
3870
- onChange: o,
3871
- checked: l = !1
3872
- } = i, c = b(i, [
3873
- "name",
3874
- "label",
3875
- "disabled",
3876
- "required",
3877
- "onChange",
3878
- "checked"
3879
- ]);
3880
- const { elementId: u } = se(c == null ? void 0 : c.id), d = E([
3881
- Ee.checkbox,
3882
- {
3883
- [Ee.checkbox__disabled]: !!r,
3884
- [Ee.checkbox__checked]: l
3885
- }
3886
- ]);
3887
- return /* @__PURE__ */ s.jsxs("div", { className: d, children: [
3888
- /* @__PURE__ */ s.jsx(
3889
- "input",
3890
- {
3891
- id: u,
3892
- name: e,
3893
- type: "checkbox",
3894
- disabled: r,
3895
- required: n,
3896
- checked: l,
3897
- onChange: o,
3898
- className: Ee.checkbox_input
3899
- }
3900
- ),
3901
- /* @__PURE__ */ s.jsx(
3902
- ne,
3903
- {
3904
- label: t,
3905
- required: n,
3906
- inputId: u,
3907
- isTextHidden: !0,
3908
- iconPosition: "left",
3909
- icon: l ? C.CheckboxChecked : C.CheckboxUnchecked
3910
- }
3911
- )
3912
- ] });
3913
- }, Hs = "_cell_veiud_1", Ps = {
3914
- cell: Hs
3915
- }, Vs = ({
3916
- rowId: e,
3917
- isRowSelected: t,
3918
- selectRowById: r,
3919
- deselectRowById: n,
3920
- disabled: o
3921
- }) => {
3922
- const l = (c) => {
3923
- const { checked: a } = c.target;
3924
- a ? r(e) : n(e);
3925
- };
3926
- return /* @__PURE__ */ s.jsx("td", { className: Ps.cell, children: /* @__PURE__ */ s.jsx(
3927
- I1,
3928
- {
3929
- label: "Select row",
3930
- onChange: l,
3931
- id: `select_row_${e}`,
3932
- checked: t,
3933
- disabled: o
3934
- }
3935
- ) });
3936
- }, Os = "_row_nfmhf_1", qs = "_row__selected_nfmhf_5", o1 = {
3937
- row: Os,
3938
- row__selected: qs
3939
- }, Ws = ({
3940
- rowId: e,
3941
- selectRowById: t,
3942
- deselectRowById: r,
3943
- selectable: n,
3944
- values: o,
3945
- selectedIds: l,
3946
- disabled: c
3947
- }) => {
3948
- const a = l.includes(e);
3949
- return /* @__PURE__ */ s.jsxs("tr", { className: E([o1.row, { [o1.row__selected]: a }]), children: [
3950
- n && /* @__PURE__ */ s.jsx(
3951
- Vs,
3952
- {
3953
- rowId: e,
3954
- selectRowById: t,
3955
- deselectRowById: r,
3956
- isRowSelected: a,
3957
- disabled: c
3958
- }
3959
- ),
3960
- o.map((i) => {
3961
- const u = `cell-${e}-${i.field}`;
3962
- return /* @__PURE__ */ s.jsx(Ts, { value: i.value }, u);
3963
- })
3964
- ] });
3965
- }, Fs = "_body_iae6m_2", Ks = {
3966
- body: Fs
3967
- }, Us = ({
3968
- selectRowById: e,
3969
- deselectRowById: t,
3970
- renderDataItem: r,
3971
- selectedIds: n,
3972
- selectable: o,
3973
- data: l,
3974
- columns: c
3975
- }) => /* @__PURE__ */ s.jsx("tbody", { className: Ks.body, children: l.map((a) => {
3976
- const i = Rs({ item: a, columns: c, renderDataItem: r });
3977
- return /* @__PURE__ */ s.jsx(
3978
- Ws,
3979
- {
3980
- rowId: a.id,
3981
- disabled: a == null ? void 0 : a.disabled,
3982
- selectRowById: e,
3983
- deselectRowById: t,
3984
- selectable: o,
3985
- values: i,
3986
- selectedIds: n
3987
- },
3988
- a.id
3989
- );
3990
- }) }), Gs = "_column_s4wq6_1", Ys = "_column__first_s4wq6_4", Zs = "_column__highlighted_s4wq6_7", pe = {
3991
- column: Gs,
3992
- column__first: Ys,
3993
- column__highlighted: Zs
3994
- }, Js = ({
3995
- columns: e,
3996
- selectable: t
3997
- }) => /* @__PURE__ */ s.jsxs("colgroup", { children: [
3998
- t && /* @__PURE__ */ s.jsx("col", { className: E([pe.column, pe.column__first]) }),
3999
- e.map((r, n) => /* @__PURE__ */ s.jsx(
4000
- "col",
4001
- {
4002
- className: E([
4003
- pe.column,
4004
- r == null ? void 0 : r.className,
4005
- {
4006
- [pe.column__first]: n === 0 && !t,
4007
- [pe.column__highlighted]: !!(r != null && r.highlighted)
4008
- }
4009
- ])
4010
- },
4011
- r == null ? void 0 : r.title
4012
- ))
4013
- ] }), Xs = ({
4014
- data: e,
4015
- id: t,
4016
- onSelect: r
4017
- }) => {
4018
- const { elementId: n } = se(t), [o, l] = L([]), c = e.map((f) => f.id), a = c.length === o.length, i = e.some((f) => f == null ? void 0 : f.disabled), u = (f) => {
4019
- l(f), r == null || r(f);
4020
- };
4021
- return {
4022
- elementId: n,
4023
- isAllSelected: a,
4024
- isAllCheckboxDisabled: i,
4025
- selectedIds: o,
4026
- handleSelectAll: () => {
4027
- u(c);
4028
- },
4029
- handleDeselectAll: () => {
4030
- u([]);
4031
- },
4032
- handleSelectRowById: (f) => {
4033
- const g = [...o, f];
4034
- u(g);
4035
- },
4036
- handleDeselectRowById: (f) => {
4037
- const g = o.filter((m) => m !== f);
4038
- u(g);
4039
- }
4040
- };
4041
- }, Qs = "_grid_9nwvq_2", e0 = "_grid_caption_9nwvq_5", t0 = "_grid_wrapper_9nwvq_26", He = {
4042
- grid: Qs,
4043
- grid_caption: e0,
4044
- grid_wrapper: t0
4045
- }, n0 = "_headerCell_wd2ft_1", r0 = {
4046
- headerCell: n0
4047
- }, s0 = ({
4048
- title: e,
4049
- component: t
4050
- }) => {
4051
- var r;
4052
- return /* @__PURE__ */ s.jsx("th", { className: r0.headerCell, children: (r = t != null ? t : e) != null ? r : "" });
4053
- }, o0 = "_headerCell_wd2ft_1", c0 = {
4054
- headerCell: o0
4055
- }, l0 = ({
4056
- gridId: e,
4057
- isAllSelected: t,
4058
- selectAll: r,
4059
- deselectAll: n,
4060
- disabled: o
4061
- }) => {
4062
- const l = (c) => {
4063
- const { checked: a } = c.target;
4064
- a ? r() : n();
4065
- };
4066
- return /* @__PURE__ */ s.jsx("th", { className: c0.headerCell, children: /* @__PURE__ */ s.jsx(
4067
- I1,
4068
- {
4069
- label: "Select all rows",
4070
- onChange: l,
4071
- id: `select_all_${e}`,
4072
- checked: t,
4073
- disabled: o
4074
- }
4075
- ) });
4076
- }, a0 = "_head_8bsdh_2", i0 = "_head_row_8bsdh_22", c1 = {
4077
- head: a0,
4078
- head_row: i0
4079
- }, d0 = ({
4080
- columns: e,
4081
- gridId: t,
4082
- selectAll: r,
4083
- deselectAll: n,
4084
- selectable: o,
4085
- isAllSelected: l,
4086
- isAllCheckboxDisabled: c = !1
4087
- }) => /* @__PURE__ */ s.jsx("thead", { className: c1.head, children: /* @__PURE__ */ s.jsxs("tr", { className: c1.head_row, children: [
4088
- o && /* @__PURE__ */ s.jsx(
4089
- l0,
4090
- {
4091
- isAllSelected: l,
4092
- disabled: c,
4093
- gridId: t,
4094
- selectAll: r,
4095
- deselectAll: n
4096
- }
4097
- ),
4098
- e.map((a) => /* @__PURE__ */ s.jsx(
4099
- s0,
4100
- {
4101
- title: a.title,
4102
- component: a.component
4103
- },
4104
- `${a.title}_${t}`
4105
- ))
4106
- ] }) }), u2 = (u) => {
4107
- var d = u, {
4108
- columns: e,
4109
- data: t,
4110
- id: r,
4111
- onSelect: n,
4112
- renderDataItem: o,
4113
- caption: l,
4114
- selectable: c = !1,
4115
- className: a
4116
- } = d, i = b(d, [
4117
- "columns",
4118
- "data",
4119
- "id",
4120
- "onSelect",
4121
- "renderDataItem",
4122
- "caption",
4123
- "selectable",
4124
- "className"
4125
- ]);
4126
- const {
4127
- elementId: w,
4128
- handleSelectAll: _,
4129
- handleDeselectAll: h,
4130
- isAllCheckboxDisabled: f,
4131
- isAllSelected: g,
4132
- handleDeselectRowById: m,
4133
- handleSelectRowById: j,
4134
- selectedIds: k
4135
- } = Xs({ id: r, data: t, onSelect: n });
4136
- return /* @__PURE__ */ s.jsx("div", { className: He.grid_wrapper, children: /* @__PURE__ */ s.jsxs("table", v(p({}, i), { className: E([He.grid, a]), children: [
4137
- l && /* @__PURE__ */ s.jsx("caption", { className: He.grid_caption, children: l }),
4138
- /* @__PURE__ */ s.jsx(Js, { columns: e, selectable: c }),
4139
- /* @__PURE__ */ s.jsx(
4140
- d0,
4141
- {
4142
- gridId: w,
4143
- columns: e,
4144
- selectable: c,
4145
- selectAll: _,
4146
- deselectAll: h,
4147
- isAllSelected: g,
4148
- isAllCheckboxDisabled: f
4149
- }
4150
- ),
4151
- /* @__PURE__ */ s.jsx(
4152
- Us,
4153
- {
4154
- columns: e,
4155
- data: t,
4156
- selectable: c,
4157
- selectRowById: j,
4158
- deselectRowById: m,
4159
- selectedIds: k,
4160
- renderDataItem: o
4161
- }
4162
- )
4163
- ] })) });
4164
- }, u0 = "_menuLeaf_45vkr_3", h0 = {
4165
- menuLeaf: u0
4166
- }, _0 = ({ item: e }) => {
4167
- const { icon: t, link: r, label: n, onFocus: o, onClick: l, onHover: c } = e, a = r ? /* @__PURE__ */ s.jsx("a", { href: r, target: "_blank", rel: "noreferrer", children: n }) : /* @__PURE__ */ s.jsx("span", { children: n }), i = (u) => {
4168
- u.stopPropagation(), u.key === "Enter" && (l == null || l());
4169
- };
4170
- return /* @__PURE__ */ s.jsxs(
4171
- "li",
4172
- {
4173
- className: h0.menuLeaf,
4174
- tabIndex: 0,
4175
- role: "menuitem",
4176
- onFocus: o,
4177
- onClick: l,
4178
- onKeyDown: i,
4179
- onMouseOver: c,
4180
- children: [
4181
- /* @__PURE__ */ s.jsx(Z, { name: t, hidden: !0 }),
4182
- a
4183
- ]
4184
- }
4185
- );
4186
- }, x0 = "_subMenu_x1z3n_3", f0 = "_text_x1z3n_20", l1 = {
4187
- subMenu: x0,
4188
- text: f0
4189
- }, p0 = ({
4190
- item: e,
4191
- isSubMenuOpened: t,
4192
- toggleSubMenu: r,
4193
- closeSubMenu: n,
4194
- openSubMenu: o,
4195
- openedOn: l,
4196
- mode: c,
4197
- children: a
4198
- }) => {
4199
- const { icon: i, link: u, label: d } = e, w = B(null), _ = B(null), h = u ? /* @__PURE__ */ s.jsxs("a", { href: u, target: "_blank", rel: "noreferrer", children: [
4200
- /* @__PURE__ */ s.jsx(Z, { name: i }),
4201
- d
4202
- ] }) : /* @__PURE__ */ s.jsxs("span", { children: [
4203
- /* @__PURE__ */ s.jsx(Z, { name: i }),
4204
- d
4205
- ] }), f = (m) => {
4206
- m.stopPropagation(), m.key === " " && r();
4207
- };
4208
- return Te({ ref: w, dependentRef: _, onClickOutsideHandler: () => {
4209
- c !== te.Vertical && n();
4210
- } }), /* @__PURE__ */ s.jsxs(
4211
- "li",
4212
- {
4213
- className: l1.subMenu,
4214
- tabIndex: 0,
4215
- role: "menuitem",
4216
- "aria-haspopup": "true",
4217
- "aria-expanded": t,
4218
- onKeyDown: f,
4219
- onMouseEnter: l === "hover" ? o : void 0,
4220
- onMouseLeave: l === "hover" ? n : void 0,
4221
- ref: w,
4222
- children: [
4223
- /* @__PURE__ */ s.jsxs(
4224
- "span",
4225
- {
4226
- className: l1.text,
4227
- ref: _,
4228
- onClick: r,
4229
- onKeyDown: f,
4230
- children: [
4231
- h,
4232
- /* @__PURE__ */ s.jsx(Z, { name: t ? C.ArrowUp : C.ArrowDown })
4233
- ]
4234
- }
4235
- ),
4236
- t && a
4237
- ]
4238
- }
4239
- );
4240
- }, w0 = "_subMenuBar_1g74y_51", m0 = "_subMenuBar__horizontal_1g74y_71", a1 = {
4241
- subMenuBar: w0,
4242
- subMenuBar__horizontal: m0
4243
- }, M1 = ({ item: e, mode: t, openedOn: r }) => {
4244
- var d, w;
4245
- const n = !((d = e == null ? void 0 : e.nestedItems) != null && d.length), [o, l] = L(!1), c = E([
4246
- a1.subMenuBar,
4247
- { [a1.subMenuBar__horizontal]: t === te.Horizontal }
4248
- ]);
4249
- if (n)
4250
- return /* @__PURE__ */ s.jsx(_0, { item: e });
4251
- const a = () => {
4252
- l(!o);
4253
- }, i = () => {
4254
- l(!1);
4255
- }, u = () => {
4256
- l(!0);
4257
- };
4258
- return /* @__PURE__ */ s.jsx(
4259
- p0,
4260
- {
4261
- item: e,
4262
- isSubMenuOpened: o,
4263
- toggleSubMenu: a,
4264
- closeSubMenu: i,
4265
- openSubMenu: u,
4266
- mode: t,
4267
- openedOn: r,
4268
- children: /* @__PURE__ */ s.jsx("ul", { className: c, role: "menu", "aria-label": e.label, children: (w = e == null ? void 0 : e.nestedItems) == null ? void 0 : w.map((_) => /* @__PURE__ */ s.jsx(M1, { item: _, mode: t, openedOn: r }, _.id)) })
4269
- }
4270
- );
4271
- }, C0 = "_menuBar_u3exe_3", v0 = "_menuBar__vertical_u3exe_14", i1 = {
4272
- menuBar: C0,
4273
- menuBar__vertical: v0
4274
- }, h2 = (l) => {
4275
- var c = l, {
4276
- items: e = [],
4277
- mode: t = te.Vertical,
4278
- openedOn: r = "click",
4279
- className: n
4280
- } = c, o = b(c, [
4281
- "items",
4282
- "mode",
4283
- "openedOn",
4284
- "className"
4285
- ]);
4286
- const a = E([
4287
- i1.menuBar,
4288
- n,
4289
- { [i1.menuBar__vertical]: t === te.Vertical }
4290
- ]);
4291
- return /* @__PURE__ */ s.jsx("menu", v(p({}, o), { className: a, children: e.map((i) => /* @__PURE__ */ s.jsx(M1, { item: i, mode: t, openedOn: r }, i.id)) }));
4292
- }, b0 = "_tabContent_xjwqr_2", g0 = {
4293
- tabContent: b0
4294
- }, j0 = ({ tabs: e, selectedTabId: t, extendable: r, extendedTabContent: n }) => {
4295
- var a;
4296
- const o = (a = e.find((i) => i.id === t)) == null ? void 0 : a.content, l = `tabpanel_${t}`, c = r && !o;
4297
- return /* @__PURE__ */ s.jsx(
4298
- "div",
4299
- {
4300
- role: "tabpanel",
4301
- "data-testid": "tab-content",
4302
- "aria-labelledby": t,
4303
- id: l,
4304
- className: g0.tabContent,
4305
- children: c ? n : o
4306
- }
4307
- );
4308
- }, k0 = "_editContainer_9g3vc_2", y0 = "_editContainer_input_9g3vc_10", I0 = "_editContainer_buttons_9g3vc_39", Pe = {
4309
- editContainer: k0,
4310
- editContainer_input: y0,
4311
- editContainer_buttons: I0
4312
- }, M0 = ({
4313
- tabId: e,
4314
- isEditMode: t,
4315
- editValue: r,
4316
- onInputChange: n,
4317
- onInputBlur: o,
4318
- onInputKeyDown: l,
4319
- onSave: c,
4320
- onCancel: a,
4321
- cancelButtonId: i
4322
- }) => {
4323
- const u = B(null);
4324
- return V(() => {
4325
- t && u.current && (u.current.focus(), u.current.select());
4326
- }, [t]), /* @__PURE__ */ s.jsxs("div", { className: Pe.editContainer, children: [
4327
- /* @__PURE__ */ s.jsx(
4328
- "input",
4329
- {
4330
- ref: u,
4331
- id: `${e}-input`,
4332
- type: "text",
4333
- value: r,
4334
- onChange: n,
4335
- onBlur: o,
4336
- onKeyDown: l,
4337
- className: Pe.editContainer_input,
4338
- maxLength: 50
4339
- }
4340
- ),
4341
- /* @__PURE__ */ s.jsxs("span", { className: Pe.editContainer_buttons, children: [
4342
- /* @__PURE__ */ s.jsx(
4343
- K,
4344
- {
4345
- view: P.Icon,
4346
- icon: C.CheckMark,
4347
- onClick: c,
4348
- label: "Save tab title"
4349
- }
4350
- ),
4351
- /* @__PURE__ */ s.jsx(
4352
- K,
4353
- {
4354
- view: P.Icon,
4355
- icon: C.Cancel,
4356
- onClick: a,
4357
- label: "Cancel tab title change",
4358
- id: i
4359
- }
4360
- )
4361
- ] })
4362
- ] });
4363
- }, E0 = "_tab_5lfqw_3", S0 = "_tab_wrapper_5lfqw_37", L0 = "_tab_wrapper__selected_5lfqw_47", A0 = "_tab_wrapper__vertical_5lfqw_52", R0 = "_tab_wrapper__stretched_5lfqw_56", B0 = "_tab_wrapper__disabled_5lfqw_59", $0 = "_tab_wrapper__inactive_5lfqw_63", T0 = "_tab_buttons_5lfqw_69", re = {
4364
- tab: E0,
4365
- tab_wrapper: S0,
4366
- tab_wrapper__selected: L0,
4367
- tab_wrapper__vertical: A0,
4368
- tab_wrapper__stretched: R0,
4369
- tab_wrapper__disabled: B0,
4370
- tab_wrapper__inactive: $0,
4371
- tab_buttons: T0
4372
- }, N0 = ({
4373
- title: e,
4374
- onTabSelect: t,
4375
- onTabTitleChange: r,
4376
- onTabDelete: n,
4377
- tabId: o,
4378
- isSelected: l,
4379
- isDisabled: c = !1,
4380
- stretched: a = !1,
4381
- editable: i = !1,
4382
- extendable: u = !1,
4383
- tabPanelId: d,
4384
- mode: w
4385
- }) => {
4386
- const [_, h] = L(!1), [f, g] = L(e), m = B(null), j = u1(), k = i && !c && l, y = u && !c && !!n && l, I = k || y, M = E([
4387
- re.tab_wrapper,
4388
- {
4389
- [re.tab_wrapper__disabled]: c,
4390
- [re.tab_wrapper__vertical]: w === te.Vertical,
4391
- [re.tab_wrapper__selected]: l,
4392
- [re.tab_wrapper__stretched]: a,
4393
- [re.tab_wrapper__editable]: i,
4394
- [re.tab_wrapper__inactive]: !l
4395
- }
4396
- ]);
4397
- V(() => {
4398
- _ && m.current && (m.current.focus(), m.current.select());
4399
- }, [_]), V(() => {
4400
- g(e);
4401
- }, [e]);
4402
- const A = () => {
4403
- c || h(!_);
4404
- }, $ = () => {
4405
- _ || t(o);
4406
- }, R = (D) => {
4407
- g(D.target.value);
4408
- }, O = (D) => {
4409
- const J = D.relatedTarget;
4410
- (J == null ? void 0 : J.id) === j || z();
4411
- }, N = (D) => {
4412
- D.key === "Enter" ? (D.preventDefault(), z()) : D.key === "Escape" && (D.preventDefault(), U());
4413
- }, z = () => {
4414
- f.trim() && f !== e ? r == null || r(f.trim()) : g(e), h(!1);
4415
- }, U = () => {
4416
- g(e), h(!1);
4417
- };
4418
- return /* @__PURE__ */ s.jsx("span", { className: M, children: _ ? /* @__PURE__ */ s.jsx(
4419
- M0,
4420
- {
4421
- tabId: o,
4422
- editValue: f,
4423
- isEditMode: _,
4424
- onInputChange: R,
4425
- onInputBlur: O,
4426
- onInputKeyDown: N,
4427
- onSave: z,
4428
- onCancel: U,
4429
- cancelButtonId: j
4430
- }
4431
- ) : /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
4432
- /* @__PURE__ */ s.jsx(
4433
- "button",
4434
- {
4435
- role: "tab",
4436
- id: o,
4437
- onClick: $,
4438
- "aria-selected": l,
4439
- "aria-controls": d,
4440
- className: re.tab,
4441
- disabled: c,
4442
- children: f
4443
- }
4444
- ),
4445
- I && /* @__PURE__ */ s.jsxs("span", { className: re.tab_buttons, children: [
4446
- k && /* @__PURE__ */ s.jsx(
4447
- K,
4448
- {
4449
- view: P.Icon,
4450
- icon: C.Edit,
4451
- onClick: A,
4452
- label: "Edit tab",
4453
- tooltip: "Edit tab"
4454
- }
4455
- ),
4456
- y && /* @__PURE__ */ s.jsx(
4457
- K,
4458
- {
4459
- view: P.Icon,
4460
- icon: C.Delete,
4461
- onClick: () => n == null ? void 0 : n(o),
4462
- label: "Delete tab",
4463
- tooltip: "Delete tab"
4464
- }
4465
- )
4466
- ] })
4467
- ] }) });
4468
- }, z0 = "_tabList_tq8bk_1", D0 = "_tabList__vertical_tq8bk_13", H0 = "_tabList_addButton_tq8bk_23", Ve = {
4469
- tabList: z0,
4470
- tabList__vertical: D0,
4471
- tabList_addButton: H0
4472
- }, P0 = ({
4473
- tabs: e,
4474
- onTabSelect: t,
4475
- onTabTitleChange: r,
4476
- selectedTabId: n,
4477
- tabPanelIds: o,
4478
- mode: l,
4479
- tabIds: c,
4480
- stretched: a,
4481
- editable: i = !1,
4482
- extendable: u = !1,
4483
- onTabAdd: d,
4484
- onTabDelete: w
4485
- }) => {
4486
- const _ = E([
4487
- Ve.tabList,
4488
- { [Ve.tabList__vertical]: l === te.Vertical }
4489
- ]), h = (m) => {
4490
- const j = c.indexOf(n);
4491
- if (!["ArrowLeft", "ArrowUp", "ArrowRight", "ArrowDown"].includes(m.key) || (m.preventDefault(), m.key === "ArrowUp" && l === te.Horizontal || m.key === "ArrowLeft" && l === te.Vertical))
4492
- return;
4493
- const y = m.key === "ArrowLeft" || m.key === "ArrowUp" ? f(j, c.length) : g(j, c.length), I = c[y];
4494
- I && (Se(I), t(I));
4495
- }, f = (m, j) => m - 1 >= 0 ? m - 1 : j - 1, g = (m, j) => m === j - 1 ? 0 : m + 1;
4496
- return /* @__PURE__ */ s.jsxs("div", { role: "tablist", "data-testid": "tab-list", onKeyDown: h, className: _, children: [
4497
- e.map(({ id: m, title: j, disabled: k }, y) => /* @__PURE__ */ s.jsx(
4498
- N0,
4499
- {
4500
- title: j,
4501
- onTabSelect: t,
4502
- onTabTitleChange: r ? (I) => r(m, I) : void 0,
4503
- tabId: m,
4504
- isSelected: m === n,
4505
- isDisabled: k,
4506
- tabPanelId: o[y],
4507
- mode: l,
4508
- stretched: a,
4509
- editable: i,
4510
- extendable: u,
4511
- onTabDelete: w
4512
- },
4513
- m
4514
- )),
4515
- u && /* @__PURE__ */ s.jsx(
4516
- K,
4517
- {
4518
- label: "Add Tab",
4519
- tooltip: "Add Tab",
4520
- view: P.Icon,
4521
- icon: C.PlusCircle,
4522
- onClick: d,
4523
- className: Ve.tabList_addButton
4524
- }
4525
- )
4526
- ] });
4527
- }, V0 = "_tabs_16koz_3", O0 = "_tabs__vertical_16koz_8", d1 = {
4528
- tabs: V0,
4529
- tabs__vertical: O0
4530
- }, _2 = (f) => {
4531
- var g = f, {
4532
- tabs: e,
4533
- defaultTabId: t,
4534
- className: r,
4535
- mode: n = te.Horizontal,
4536
- stretched: o = !1,
4537
- editable: l = !1,
4538
- extendable: c = !1,
4539
- extendedTabLabel: a = "New Tab",
4540
- extendedTabContent: i,
4541
- onTabTitleChange: u,
4542
- onTabAdd: d,
4543
- onTabSelect: w,
4544
- onTabDelete: _
4545
- } = g, h = b(g, [
4546
- "tabs",
4547
- "defaultTabId",
4548
- "className",
4549
- "mode",
4550
- "stretched",
4551
- "editable",
4552
- "extendable",
4553
- "extendedTabLabel",
4554
- "extendedTabContent",
4555
- "onTabTitleChange",
4556
- "onTabAdd",
4557
- "onTabSelect",
4558
- "onTabDelete"
4559
- ]);
4560
- const [m, j] = L(e), k = e.length, [y, I] = L(k + 1), M = m.map((T) => T.id), A = M.map((T) => `tabpanel_${T}`), $ = t && M.includes(t) ? t : M[0], [R, O] = L($), N = E([
4561
- d1.tabs,
4562
- r,
4563
- { [d1.tabs__vertical]: n === te.Vertical }
4564
- ]), z = (T) => {
4565
- O(T), w == null || w(T);
4566
- }, U = (T, F) => {
4567
- j(
4568
- (G) => G.map((X) => X.id === T ? v(p({}, X), { title: F }) : X)
4569
- ), u == null || u(T, F);
4570
- }, D = () => {
4571
- const T = `added-tab-${y}`, F = a || `Tab ${y}`, G = {
4572
- id: T,
4573
- title: F,
4574
- content: i || /* @__PURE__ */ s.jsx("div", {})
4575
- };
4576
- j((X) => [...X, G]), I((X) => X + 1), d == null || d(), z(T);
4577
- }, J = (T) => {
4578
- if (j((F) => F.filter((G) => G.id !== T)), R === T) {
4579
- const F = M.indexOf(T);
4580
- let G;
4581
- F > 0 ? G = M[F - 1] : M.length > 1 ? G = M[1] : G = void 0, G && z(G);
4582
- }
4583
- _ == null || _(T);
4584
- };
4585
- return /* @__PURE__ */ s.jsxs("div", v(p({}, h), { className: N, children: [
4586
- /* @__PURE__ */ s.jsx(
4587
- P0,
4588
- {
4589
- tabs: m,
4590
- selectedTabId: R,
4591
- tabPanelIds: A,
4592
- onTabSelect: z,
4593
- onTabTitleChange: U,
4594
- mode: n,
4595
- tabIds: M,
4596
- stretched: o,
4597
- editable: l,
4598
- extendable: c,
4599
- onTabAdd: D,
4600
- onTabDelete: J
4601
- }
4602
- ),
4603
- /* @__PURE__ */ s.jsx(
4604
- j0,
4605
- {
4606
- tabs: m,
4607
- selectedTabId: R,
4608
- extendedTabContent: i,
4609
- extendable: c
4610
- }
4611
- )
4612
- ] }));
4613
- };
1
+ import { default as r } from "./components/molecules/accordion/Accordion.js";
2
+ import { default as f } from "./components/molecules/alert/Alert.js";
3
+ import { default as m } from "./components/molecules/breadcrumbs/Breadcrumbs.js";
4
+ import { default as s } from "./components/atoms/button/Button.js";
5
+ import { default as u } from "./components/molecules/checkbox/Checkbox.js";
6
+ import { default as d } from "./components/organisms/dialog/Dialog.js";
7
+ import { default as n } from "./components/atoms/editable-text/EditableText.js";
8
+ import { default as T } from "./components/atoms/error-message/ErrorMessage.js";
9
+ import { default as I } from "./components/organisms/form/Form.js";
10
+ import { default as M } from "./components/organisms/grid/Grid.js";
11
+ import { default as E } from "./components/atoms/header/Header.js";
12
+ import { default as w } from "./components/atoms/icon/Icon.js";
13
+ import { default as b } from "./components/atoms/image/Image.js";
14
+ import { default as g } from "./components/atoms/label/Label.js";
15
+ import { default as F } from "./components/atoms/link/Link.js";
16
+ import { default as P } from "./components/organisms/menu/Menu.js";
17
+ import { default as v } from "./components/molecules/multi-select/MultiSelect.js";
18
+ import { default as O } from "./components/molecules/numeric-input/NumericInput.js";
19
+ import { default as G } from "./components/atoms/portal/Portal.js";
20
+ import { default as N } from "./components/molecules/search/Search.js";
21
+ import { default as y } from "./components/molecules/select/Select.js";
22
+ import { default as W } from "./components/molecules/switch/Switch.js";
23
+ import { default as q } from "./components/organisms/tabs/Tabs.js";
24
+ import { default as Q } from "./components/molecules/text-input/TextInput.js";
25
+ import { default as X } from "./components/atoms/tooltip/Tooltip.js";
26
+ import { AlertMode as Z } from "./enums/alert-mode.js";
27
+ import { ButtonView as ee } from "./enums/button-view.js";
28
+ import { CL_DARK_THEME_CLASS as re, CL_LIGHT_THEME_CLASS as te, ThemeContext as fe } from "./components/contexts/theme/ThemeContext.js";
29
+ import { ElementSize as me } from "./enums/element-size.js";
30
+ import { FormContext as se } from "./components/contexts/form/FormContext.js";
31
+ import { IconName as ue } from "./enums/icon-name.js";
32
+ import { default as de } from "./components/atoms/input/Input.js";
33
+ import { LoaderView as ne } from "./enums/loader-view.js";
34
+ import { OrientationMode as Te } from "./enums/orientation-mode.js";
35
+ import { SemanticColor as Ie } from "./enums/semantic-color.js";
36
+ import { ThemeProvider as Me } from "./components/contexts/theme/ThemeProvider.js";
37
+ import { TooltipContainer as Ee } from "./enums/tooltip-container.js";
38
+ import { useAutoClose as we } from "./hooks/use-auto-close/use-auto-close.js";
39
+ import { useClickOutside as be } from "./hooks/use-click-outside/use-click-outside.js";
40
+ import { useContainerDimensions as ge } from "./hooks/use-container-dimensions/use-container-dimensions.js";
41
+ import { useDebounce as Fe } from "./hooks/use-debounce/use-debounce.js";
42
+ import { useElementIds as Pe } from "./hooks/use-element-ids/use-element-ids.js";
43
+ import { useIsHovered as ve } from "./hooks/use-is-hovered/use-is-hovered.js";
44
+ import { useIsMounted as Oe } from "./hooks/use-is-mounted/use-is-mounted.js";
45
+ import { useIsOverflow as Ge } from "./hooks/use-is-overflow/use-is-overflow.js";
46
+ import { useKeyPress as Ne } from "./hooks/use-key-press/use-key-press.js";
47
+ import { useModalFocusTrap as ye } from "./hooks/use-modal-focus-trap/use-modal-focus-trap.js";
48
+ import { useRemainingTimer as We } from "./hooks/use-remaining-timer/use-remaining-timer.js";
49
+ import { useResetFormInput as qe } from "./hooks/use-reset-form-input/use-reset-form-input.js";
50
+ import { useTheme as Qe } from "./hooks/use-theme/use-theme.js";
51
+ import { useTooltipPosition as Xe } from "./hooks/use-tooltip-position/use-tooltip-position.js";
52
+ import { useWindowDimensions as Ze } from "./hooks/use-window-dimensions/use-window-dimensions.js";
53
+ import { withFigureCaption as eo } from "./components/hocs/with-figure-caption/with-figure-caption.js";
54
+ import { withTooltip as ro } from "./components/hocs/with-tooltip/with-tooltip.js";
4614
55
  export {
4615
- Q0 as Accordion,
4616
- e2 as Alert,
4617
- Q as AlertMode,
4618
- t2 as Breadcrumbs,
4619
- K as Button,
4620
- P as ButtonView,
4621
- n2 as Checkbox,
4622
- i2 as Dialog,
4623
- K0 as EditableText,
4624
- $e as ErrorMessage,
4625
- d2 as Form,
4626
- ae as FormContext,
4627
- u2 as Grid,
4628
- p1 as Header,
4629
- Z as Icon,
4630
- C as IconName,
4631
- U0 as Image,
4632
- Ce as Input,
4633
- ne as Label,
4634
- En as Link,
4635
- G0 as Loader,
4636
- ee as LoaderView,
4637
- h2 as Menu,
4638
- r2 as MultiSelect,
4639
- s2 as NumericInput,
4640
- te as OrientationMode,
4641
- We as Portal,
4642
- o2 as Search,
4643
- c2 as Select,
4644
- l2 as Switch,
4645
- _2 as Tabs,
4646
- a2 as TextInput,
4647
- g1 as ThemeContext,
4648
- ie as ThemeMode,
4649
- Z0 as ThemeProvider,
4650
- rr as Tooltip,
4651
- x1 as TooltipContainer,
4652
- Un as useAutoClose,
4653
- Te as useClickOutside,
4654
- Gn as useContainerDimensions,
4655
- Yn as useDebounce,
4656
- se as useElementIds,
4657
- Zn as useIsHovered,
4658
- b1 as useIsMounted,
4659
- Y0 as useIsOverflow,
56
+ r as Accordion,
57
+ f as Alert,
58
+ Z as AlertMode,
59
+ m as Breadcrumbs,
60
+ s as Button,
61
+ ee as ButtonView,
62
+ re as CL_DARK_THEME_CLASS,
63
+ te as CL_LIGHT_THEME_CLASS,
64
+ u as Checkbox,
65
+ d as Dialog,
66
+ n as EditableText,
67
+ me as ElementSize,
68
+ T as ErrorMessage,
69
+ I as Form,
70
+ se as FormContext,
71
+ M as Grid,
72
+ E as Header,
73
+ w as Icon,
74
+ ue as IconName,
75
+ b as Image,
76
+ de as Input,
77
+ g as Label,
78
+ F as Link,
79
+ ne as LoaderView,
80
+ P as Menu,
81
+ v as MultiSelect,
82
+ O as NumericInput,
83
+ Te as OrientationMode,
84
+ G as Portal,
85
+ N as Search,
86
+ y as Select,
87
+ Ie as SemanticColor,
88
+ W as Switch,
89
+ q as Tabs,
90
+ Q as TextInput,
91
+ fe as ThemeContext,
92
+ Me as ThemeProvider,
93
+ X as Tooltip,
94
+ Ee as TooltipContainer,
95
+ we as useAutoClose,
96
+ be as useClickOutside,
97
+ ge as useContainerDimensions,
98
+ Fe as useDebounce,
99
+ Pe as useElementIds,
100
+ ve as useIsHovered,
101
+ Oe as useIsMounted,
102
+ Ge as useIsOverflow,
4660
103
  Ne as useKeyPress,
4661
- Jn as useModalFocusTrap,
4662
- Xn as useRemainingTimer,
4663
- _e as useResetFormInput,
4664
- J0 as useTheme,
4665
- Qn as useTooltipPosition,
4666
- X0 as useWindowDimensions,
4667
- P1 as withFigureCaption,
4668
- V1 as withTooltip
104
+ ye as useModalFocusTrap,
105
+ We as useRemainingTimer,
106
+ qe as useResetFormInput,
107
+ Qe as useTheme,
108
+ Xe as useTooltipPosition,
109
+ Ze as useWindowDimensions,
110
+ eo as withFigureCaption,
111
+ ro as withTooltip
4669
112
  };
4670
- //# sourceMappingURL=index.es.js.map