kdpa-components 1.35.2 → 1.35.3

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 (234) hide show
  1. package/dist/Accordion/index.d.ts +3 -0
  2. package/dist/Accordion/index.d.ts.map +1 -0
  3. package/dist/Accordion/index.js +481 -0
  4. package/dist/AdvancedList/index.d.ts +2 -0
  5. package/dist/AdvancedList/index.d.ts.map +1 -0
  6. package/dist/AdvancedList/index.js +16751 -0
  7. package/dist/Alert/index.d.ts +5 -0
  8. package/dist/Alert/index.d.ts.map +1 -0
  9. package/dist/Alert/index.js +407 -0
  10. package/dist/ArrowDropDown-76613637.js +35 -0
  11. package/dist/Autocomplete-45ae6737.js +1670 -0
  12. package/dist/Avatar/index.d.ts +3 -0
  13. package/dist/Avatar/index.d.ts.map +1 -0
  14. package/dist/Avatar/index.js +210 -0
  15. package/dist/Badge/index.d.ts +6 -0
  16. package/dist/Badge/index.d.ts.map +1 -0
  17. package/dist/Badge/index.js +69 -0
  18. package/dist/Badge-26e8a2aa.js +392 -0
  19. package/dist/Box-a827334a.js +58 -0
  20. package/dist/Button-b93e890d.js +355 -0
  21. package/dist/ButtonBase-0f9f324d.js +655 -0
  22. package/dist/Buttons/index.d.ts +9 -0
  23. package/dist/Buttons/index.d.ts.map +1 -0
  24. package/dist/Buttons/index.js +83 -0
  25. package/dist/CSSTransition-d0281d1f.js +215 -0
  26. package/dist/Cards/index.d.ts +3 -0
  27. package/dist/Cards/index.d.ts.map +1 -0
  28. package/dist/Cards/index.js +144 -0
  29. package/dist/CheckBox/index.d.ts +3 -0
  30. package/dist/CheckBox/index.d.ts.map +1 -0
  31. package/dist/CheckBox/index.js +32 -0
  32. package/dist/Checkbox-2cb33932.js +199 -0
  33. package/dist/Chip/index.d.ts +3 -0
  34. package/dist/Chip/index.d.ts.map +1 -0
  35. package/dist/Chip/index.js +61 -0
  36. package/dist/Chip-7b1a25ce.js +444 -0
  37. package/dist/CircularProgress-2c55d9ef.js +217 -0
  38. package/dist/Close-ef7a3b6b.js +9 -0
  39. package/dist/CodeEditor/index.d.ts +2 -0
  40. package/dist/CodeEditor/index.d.ts.map +1 -0
  41. package/dist/CodeEditor/index.js +559 -0
  42. package/dist/Collapse/index.d.ts +3 -0
  43. package/dist/Collapse/index.d.ts.map +1 -0
  44. package/dist/Collapse/index.js +23 -0
  45. package/dist/Collapse-4b8b3146.js +299 -0
  46. package/dist/CopyToClipboard/index.d.ts +3 -0
  47. package/dist/CopyToClipboard/index.d.ts.map +1 -0
  48. package/dist/CopyToClipboard/index.js +591 -0
  49. package/dist/Dialog-25ebaee6.js +356 -0
  50. package/dist/Divider/index.d.ts +4 -0
  51. package/dist/Divider/index.d.ts.map +1 -0
  52. package/dist/Divider/index.js +31 -0
  53. package/dist/Divider-cadf67a7.js +231 -0
  54. package/dist/DropZone/index.d.ts +2 -0
  55. package/dist/DropZone/index.d.ts.map +1 -0
  56. package/dist/DropZone/index.js +1348 -0
  57. package/dist/Fade-aabbd0cb.js +163 -0
  58. package/dist/FormControl/index.d.ts +5 -0
  59. package/dist/FormControl/index.d.ts.map +1 -0
  60. package/dist/FormControl/index.js +24 -0
  61. package/dist/FormControl-e7294bde.js +232 -0
  62. package/dist/FormControlLabel-276f1b1e.js +214 -0
  63. package/dist/FullScreenDialog/index.d.ts +3 -0
  64. package/dist/FullScreenDialog/index.d.ts.map +1 -0
  65. package/dist/FullScreenDialog/index.js +42 -0
  66. package/dist/Grid/index.d.ts +3 -0
  67. package/dist/Grid/index.d.ts.map +1 -0
  68. package/dist/Grid/index.js +17 -0
  69. package/dist/Grid-c1f5fe6b.js +486 -0
  70. package/dist/Grow-151a20f6.js +193 -0
  71. package/dist/HTMLElementType-ff213f3c.js +9 -0
  72. package/dist/IconButton-fdbca6d2.js +184 -0
  73. package/dist/Input/index.d.ts +7 -0
  74. package/dist/Input/index.d.ts.map +1 -0
  75. package/dist/Input/index.js +88 -0
  76. package/dist/InputAdornment-3334ace2.js +155 -0
  77. package/dist/KdpaAutoComplete-40e0949e.js +8 -0
  78. package/dist/KdpaCollapse-d9e37824.js +11 -0
  79. package/dist/KdpaFormControl-2d7c1db8.js +6 -0
  80. package/dist/KdpaIconButton-514e0d96.js +23 -0
  81. package/dist/KdpaMenuItem-085f686f.js +36 -0
  82. package/dist/KdpaSecondaryButton-14992523.js +25 -0
  83. package/dist/KeyboardArrowRight-14dbe7d6.js +12 -0
  84. package/dist/LazyDrop/index.d.ts +3 -0
  85. package/dist/LazyDrop/index.d.ts.map +1 -0
  86. package/dist/LazyDrop/index.js +839 -0
  87. package/dist/ListContext-de5072f9.js +7 -0
  88. package/dist/ListItem-2b5c2e20.js +426 -0
  89. package/dist/ListItemText-fcd66149.js +150 -0
  90. package/dist/Loading/KdpaProgress/index.d.ts +3 -0
  91. package/dist/Loading/KdpaProgress/index.d.ts.map +1 -0
  92. package/dist/Loading/KdpaProgress/index.js +56 -0
  93. package/dist/Loading/index.d.ts +6 -0
  94. package/dist/Loading/index.d.ts.map +1 -0
  95. package/dist/Loading/index.js +348 -0
  96. package/dist/MenuItem-cc037c5b.js +240 -0
  97. package/dist/Modal/index.d.ts +2 -0
  98. package/dist/Modal/index.d.ts.map +1 -0
  99. package/dist/Modal/index.js +751 -0
  100. package/dist/Modal-5f23fcfd.js +984 -0
  101. package/dist/PaginationGrid/index.d.ts +3 -0
  102. package/dist/PaginationGrid/index.d.ts.map +1 -0
  103. package/dist/PaginationGrid/index.js +60 -0
  104. package/dist/Paper-aaec61a3.js +163 -0
  105. package/dist/Pickers/index.d.ts +7 -0
  106. package/dist/Pickers/index.d.ts.map +1 -0
  107. package/dist/Pickers/index.js +14408 -0
  108. package/dist/Popper-490e6477.js +490 -0
  109. package/dist/Portal-b4f8657f.js +77 -0
  110. package/dist/Radio/index.d.ts +5 -0
  111. package/dist/Radio/index.d.ts.map +1 -0
  112. package/dist/Radio/index.js +431 -0
  113. package/dist/Segment/index.d.ts +3 -0
  114. package/dist/Segment/index.d.ts.map +1 -0
  115. package/dist/Segment/index.js +84 -0
  116. package/dist/Selects/index.d.ts +7 -0
  117. package/dist/Selects/index.d.ts.map +1 -0
  118. package/dist/Selects/index.js +66 -0
  119. package/dist/SimpleList/index.d.ts +2 -0
  120. package/dist/SimpleList/index.d.ts.map +1 -0
  121. package/dist/SimpleList/index.js +1913 -0
  122. package/dist/Skeleton-263b2beb.js +213 -0
  123. package/dist/Slide-3bc7a346.js +227 -0
  124. package/dist/Slider/index.d.ts +3 -0
  125. package/dist/Slider/index.d.ts.map +1 -0
  126. package/dist/Slider/index.js +1322 -0
  127. package/dist/SweetAlerts/index.d.ts +6 -0
  128. package/dist/SweetAlerts/index.d.ts.map +1 -0
  129. package/dist/SweetAlerts/index.js +1540 -0
  130. package/dist/Switch/index.d.ts +3 -0
  131. package/dist/Switch/index.d.ts.map +1 -0
  132. package/dist/Switch/index.js +39 -0
  133. package/dist/Switch-ef584fc0.js +302 -0
  134. package/dist/SwitchBase-c367ca3c.js +231 -0
  135. package/dist/Tabs/index.d.ts +5 -0
  136. package/dist/Tabs/index.d.ts.map +1 -0
  137. package/dist/Tabs/index.js +63 -0
  138. package/dist/Tabs-9775b0bb.js +1084 -0
  139. package/dist/TextField-b8c731e8.js +4439 -0
  140. package/dist/ThemeProvider/index.d.ts +4 -0
  141. package/dist/ThemeProvider/index.d.ts.map +1 -0
  142. package/dist/ThemeProvider/index.js +294 -0
  143. package/dist/Tooltip-4b1baf1b.js +584 -0
  144. package/dist/Tooltips/index.d.ts +3 -0
  145. package/dist/Tooltips/index.d.ts.map +1 -0
  146. package/dist/Tooltips/index.js +46 -0
  147. package/dist/TransitionGroup-196acb6a.js +185 -0
  148. package/dist/TransitionGroupContext-7435e195.js +10 -0
  149. package/dist/Transitions/index.d.ts +11 -0
  150. package/dist/Transitions/index.d.ts.map +1 -0
  151. package/dist/Transitions/index.js +34 -0
  152. package/dist/Tree/index.d.ts +3 -0
  153. package/dist/Tree/index.d.ts.map +1 -0
  154. package/dist/Tree/index.js +1447 -0
  155. package/dist/TreeSelect/index.d.ts +3 -0
  156. package/dist/TreeSelect/index.d.ts.map +1 -0
  157. package/dist/TreeSelect/index.js +6888 -0
  158. package/dist/Typography/index.d.ts +3 -0
  159. package/dist/Typography/index.d.ts.map +1 -0
  160. package/dist/Typography/index.js +14 -0
  161. package/dist/Typography-dfa51fea.js +176 -0
  162. package/dist/Uploader/index.d.ts +3 -0
  163. package/dist/Uploader/index.d.ts.map +1 -0
  164. package/dist/Uploader/index.js +81 -0
  165. package/dist/Zoom-b84bdc2b.js +163 -0
  166. package/dist/_commonjsHelpers-92157f1b.js +36 -0
  167. package/dist/assertThisInitialized-05701a63.js +8 -0
  168. package/dist/chainPropTypes-004bf492.js +8 -0
  169. package/dist/createChainedFunction-68e2a88d.js +9 -0
  170. package/dist/createSvgIcon-b80a8a41.js +182 -0
  171. package/dist/dividerClasses-99758da7.js +10 -0
  172. package/dist/elementAcceptingRef-803dfd80.js +26 -0
  173. package/dist/elementTypeAcceptingRef-6c34f16b.js +23 -0
  174. package/dist/emotion-is-prop-valid.esm-b7f48706.js +191 -0
  175. package/dist/emotion-memoize.esm-021d0d4e.js +9 -0
  176. package/dist/emotion-react.browser.esm-d563ed65.js +255 -0
  177. package/dist/exactProp-3aaa3ecc.js +13 -0
  178. package/dist/extendSxProp-f7714a31.js +30 -0
  179. package/dist/extends-393586f3.js +22 -0
  180. package/dist/formControlState-9148c46f.js +10 -0
  181. package/dist/hoist-non-react-statics.cjs-ce2f2873.js +236 -0
  182. package/dist/iconBase-800b43ff.js +63 -0
  183. package/dist/identifier-9dfe30d8.js +3320 -0
  184. package/dist/index-116f732f.js +749 -0
  185. package/dist/index-7e2d793d.js +12011 -0
  186. package/dist/index-fa965a10.js +43 -0
  187. package/dist/index.css +1 -1
  188. package/dist/index.d.ts +36 -0
  189. package/dist/index.d.ts.map +1 -0
  190. package/dist/index.esm-b78383d3.js +35 -0
  191. package/dist/isMuiElement-b88a921a.js +7 -0
  192. package/dist/jsx-runtime-944c88e2.js +631 -0
  193. package/dist/kdpaSelect-4ed993c7.js +1 -0
  194. package/dist/listItemTextClasses-d6839c02.js +10 -0
  195. package/dist/ownerDocument-5430cd5b.js +6 -0
  196. package/dist/ownerWindow-e6cc3097.js +20 -0
  197. package/dist/popper-78c6b162.js +1006 -0
  198. package/dist/refType-af1a9f54.js +5 -0
  199. package/dist/setPrototypeOf-98a00546.js +8 -0
  200. package/dist/style.css +1 -0
  201. package/dist/toPropertyKey-e295cd73.js +27 -0
  202. package/dist/types/designerKit/components/GridPanel/PanelWrapper.d.ts +1 -1
  203. package/dist/types/designerKit/components/GridPanel/PanelWrapper.d.ts.map +1 -1
  204. package/dist/types/designerKit/components/Uploader/KdAdvanceFileUploader/DroppedFiles.d.ts.map +1 -1
  205. package/dist/types/designerKit/components/Uploader/KdFileUploader/UploadedItems.d.ts.map +1 -1
  206. package/dist/types/designerKit/utils/typographyHelper.d.ts +1 -2
  207. package/dist/types/designerKit/utils/typographyHelper.d.ts.map +1 -1
  208. package/dist/unsupportedProp-3dbf01f6.js +9 -0
  209. package/dist/useControlled-cc2d41cb.js +31 -0
  210. package/dist/useEventCallback-fe4fd69c.js +16 -0
  211. package/dist/useForkRef-0781dda0.js +15 -0
  212. package/dist/useFormControl-af690c26.js +11 -0
  213. package/dist/useId-e7dff7be.js +19 -0
  214. package/dist/useIsFocusVisible-4693b580.js +68 -0
  215. package/dist/usePreviousProps-c1ae4548.js +10 -0
  216. package/dist/useSlotProps-f238319f.js +74 -0
  217. package/dist/useTheme-014a54ad.js +10 -0
  218. package/dist/useThemeProps-7d04a175.js +513 -0
  219. package/dist/utils-129661c6.js +370 -0
  220. package/package.json +1 -1
  221. package/dist/types/designerKit/components/Alert/Temp.d.ts +0 -3
  222. package/dist/types/designerKit/components/Alert/Temp.d.ts.map +0 -1
  223. package/dist/types/designerKit/components/Form/KdFormField/KdpaFormField.d.ts +0 -12
  224. package/dist/types/designerKit/components/Form/KdFormField/KdpaFormField.d.ts.map +0 -1
  225. package/dist/types/designerKit/components/Tree/useKdTreeHelper.d.ts +0 -5
  226. package/dist/types/designerKit/components/Tree/useKdTreeHelper.d.ts.map +0 -1
  227. package/dist/types/designerKit/components/Uploader/KdAdvanceFileUploader/DroppingFiles.d.ts +0 -9
  228. package/dist/types/designerKit/components/Uploader/KdAdvanceFileUploader/DroppingFiles.d.ts.map +0 -1
  229. package/dist/types/designerKit/components/Uploader/KdUseFileUpload/KdUseFileUpload.d.ts +0 -53
  230. package/dist/types/designerKit/components/Uploader/KdUseFileUpload/KdUseFileUpload.d.ts.map +0 -1
  231. package/dist/types/designerKit/utils/fileUtils.d.ts +0 -19
  232. package/dist/types/designerKit/utils/fileUtils.d.ts.map +0 -1
  233. package/dist/types/designerKit/utils/useTreeHelper.d.ts +0 -17
  234. package/dist/types/designerKit/utils/useTreeHelper.d.ts.map +0 -1
@@ -0,0 +1,1447 @@
1
+ import { j as H } from "../jsx-runtime-944c88e2.js";
2
+ import ct, { useState as Ue } from "react";
3
+ import { g as st } from "../_commonjsHelpers-92157f1b.js";
4
+ import { c as lt, d as ut, e as pt, f as ft, g as dt } from "../index.esm-b78383d3.js";
5
+ import "../iconBase-800b43ff.js";
6
+ var Ke = { exports: {} };
7
+ /*! react-checkbox-tree - v1.8.0 | 2022 */
8
+ (function(de, he) {
9
+ /*! For license information please see index.browser.js.LICENSE.txt */
10
+ (function(te, ne) {
11
+ de.exports = ne(ct);
12
+ })(self, (te) => (() => {
13
+ var ne = { 4184: (t, c) => {
14
+ var e;
15
+ (function() {
16
+ var o = {}.hasOwnProperty;
17
+ function l() {
18
+ for (var p = [], r = 0; r < arguments.length; r++) {
19
+ var h = arguments[r];
20
+ if (h) {
21
+ var a = typeof h;
22
+ if (a === "string" || a === "number")
23
+ p.push(h);
24
+ else if (Array.isArray(h)) {
25
+ if (h.length) {
26
+ var g = l.apply(null, h);
27
+ g && p.push(g);
28
+ }
29
+ } else if (a === "object")
30
+ if (h.toString === Object.prototype.toString)
31
+ for (var v in h)
32
+ o.call(h, v) && h[v] && p.push(v);
33
+ else
34
+ p.push(h.toString());
35
+ }
36
+ }
37
+ return p.join(" ");
38
+ }
39
+ t.exports ? (l.default = l, t.exports = l) : (e = function() {
40
+ return l;
41
+ }.apply(c, [])) === void 0 || (t.exports = e);
42
+ })();
43
+ }, 8552: (t, c, e) => {
44
+ var o = e(852)(e(5639), "DataView");
45
+ t.exports = o;
46
+ }, 1989: (t, c, e) => {
47
+ var o = e(1789), l = e(401), p = e(7667), r = e(1327), h = e(1866);
48
+ function a(g) {
49
+ var v = -1, x = g == null ? 0 : g.length;
50
+ for (this.clear(); ++v < x; ) {
51
+ var O = g[v];
52
+ this.set(O[0], O[1]);
53
+ }
54
+ }
55
+ a.prototype.clear = o, a.prototype.delete = l, a.prototype.get = p, a.prototype.has = r, a.prototype.set = h, t.exports = a;
56
+ }, 8407: (t, c, e) => {
57
+ var o = e(7040), l = e(4125), p = e(2117), r = e(7518), h = e(4705);
58
+ function a(g) {
59
+ var v = -1, x = g == null ? 0 : g.length;
60
+ for (this.clear(); ++v < x; ) {
61
+ var O = g[v];
62
+ this.set(O[0], O[1]);
63
+ }
64
+ }
65
+ a.prototype.clear = o, a.prototype.delete = l, a.prototype.get = p, a.prototype.has = r, a.prototype.set = h, t.exports = a;
66
+ }, 7071: (t, c, e) => {
67
+ var o = e(852)(e(5639), "Map");
68
+ t.exports = o;
69
+ }, 3369: (t, c, e) => {
70
+ var o = e(4785), l = e(1285), p = e(6e3), r = e(9916), h = e(5265);
71
+ function a(g) {
72
+ var v = -1, x = g == null ? 0 : g.length;
73
+ for (this.clear(); ++v < x; ) {
74
+ var O = g[v];
75
+ this.set(O[0], O[1]);
76
+ }
77
+ }
78
+ a.prototype.clear = o, a.prototype.delete = l, a.prototype.get = p, a.prototype.has = r, a.prototype.set = h, t.exports = a;
79
+ }, 3818: (t, c, e) => {
80
+ var o = e(852)(e(5639), "Promise");
81
+ t.exports = o;
82
+ }, 8525: (t, c, e) => {
83
+ var o = e(852)(e(5639), "Set");
84
+ t.exports = o;
85
+ }, 8668: (t, c, e) => {
86
+ var o = e(3369), l = e(619), p = e(2385);
87
+ function r(h) {
88
+ var a = -1, g = h == null ? 0 : h.length;
89
+ for (this.__data__ = new o(); ++a < g; )
90
+ this.add(h[a]);
91
+ }
92
+ r.prototype.add = r.prototype.push = l, r.prototype.has = p, t.exports = r;
93
+ }, 6384: (t, c, e) => {
94
+ var o = e(8407), l = e(7465), p = e(3779), r = e(7599), h = e(4758), a = e(4309);
95
+ function g(v) {
96
+ var x = this.__data__ = new o(v);
97
+ this.size = x.size;
98
+ }
99
+ g.prototype.clear = l, g.prototype.delete = p, g.prototype.get = r, g.prototype.has = h, g.prototype.set = a, t.exports = g;
100
+ }, 2705: (t, c, e) => {
101
+ var o = e(5639).Symbol;
102
+ t.exports = o;
103
+ }, 1149: (t, c, e) => {
104
+ var o = e(5639).Uint8Array;
105
+ t.exports = o;
106
+ }, 577: (t, c, e) => {
107
+ var o = e(852)(e(5639), "WeakMap");
108
+ t.exports = o;
109
+ }, 4963: (t) => {
110
+ t.exports = function(c, e) {
111
+ for (var o = -1, l = c == null ? 0 : c.length, p = 0, r = []; ++o < l; ) {
112
+ var h = c[o];
113
+ e(h, o, c) && (r[p++] = h);
114
+ }
115
+ return r;
116
+ };
117
+ }, 4636: (t, c, e) => {
118
+ var o = e(2545), l = e(5694), p = e(1469), r = e(4144), h = e(5776), a = e(6719), g = Object.prototype.hasOwnProperty;
119
+ t.exports = function(v, x) {
120
+ var O = p(v), E = !O && l(v), R = !O && !E && r(v), P = !O && !E && !R && a(v), S = O || E || R || P, T = S ? o(v.length, String) : [], A = T.length;
121
+ for (var N in v)
122
+ !x && !g.call(v, N) || S && (N == "length" || R && (N == "offset" || N == "parent") || P && (N == "buffer" || N == "byteLength" || N == "byteOffset") || h(N, A)) || T.push(N);
123
+ return T;
124
+ };
125
+ }, 2488: (t) => {
126
+ t.exports = function(c, e) {
127
+ for (var o = -1, l = e.length, p = c.length; ++o < l; )
128
+ c[p + o] = e[o];
129
+ return c;
130
+ };
131
+ }, 2908: (t) => {
132
+ t.exports = function(c, e) {
133
+ for (var o = -1, l = c == null ? 0 : c.length; ++o < l; )
134
+ if (e(c[o], o, c))
135
+ return !0;
136
+ return !1;
137
+ };
138
+ }, 8470: (t, c, e) => {
139
+ var o = e(7813);
140
+ t.exports = function(l, p) {
141
+ for (var r = l.length; r--; )
142
+ if (o(l[r][0], p))
143
+ return r;
144
+ return -1;
145
+ };
146
+ }, 8866: (t, c, e) => {
147
+ var o = e(2488), l = e(1469);
148
+ t.exports = function(p, r, h) {
149
+ var a = r(p);
150
+ return l(p) ? a : o(a, h(p));
151
+ };
152
+ }, 4239: (t, c, e) => {
153
+ var o = e(2705), l = e(9607), p = e(2333), r = o ? o.toStringTag : void 0;
154
+ t.exports = function(h) {
155
+ return h == null ? h === void 0 ? "[object Undefined]" : "[object Null]" : r && r in Object(h) ? l(h) : p(h);
156
+ };
157
+ }, 9454: (t, c, e) => {
158
+ var o = e(4239), l = e(7005);
159
+ t.exports = function(p) {
160
+ return l(p) && o(p) == "[object Arguments]";
161
+ };
162
+ }, 939: (t, c, e) => {
163
+ var o = e(2492), l = e(7005);
164
+ t.exports = function p(r, h, a, g, v) {
165
+ return r === h || (r == null || h == null || !l(r) && !l(h) ? r != r && h != h : o(r, h, a, g, p, v));
166
+ };
167
+ }, 2492: (t, c, e) => {
168
+ var o = e(6384), l = e(7114), p = e(8351), r = e(6096), h = e(4160), a = e(1469), g = e(4144), v = e(6719), x = "[object Arguments]", O = "[object Array]", E = "[object Object]", R = Object.prototype.hasOwnProperty;
169
+ t.exports = function(P, S, T, A, N, C) {
170
+ var D = a(P), M = a(S), I = D ? O : h(P), B = M ? O : h(S), Y = (I = I == x ? E : I) == E, ye = (B = B == x ? E : B) == E, oe = I == B;
171
+ if (oe && g(P)) {
172
+ if (!g(S))
173
+ return !1;
174
+ D = !0, Y = !1;
175
+ }
176
+ if (oe && !Y)
177
+ return C || (C = new o()), D || v(P) ? l(P, S, T, A, N, C) : p(P, S, I, T, A, N, C);
178
+ if (!(1 & T)) {
179
+ var se = Y && R.call(P, "__wrapped__"), W = ye && R.call(S, "__wrapped__");
180
+ if (se || W) {
181
+ var be = se ? P.value() : P, ae = W ? S.value() : S;
182
+ return C || (C = new o()), N(be, ae, T, A, C);
183
+ }
184
+ }
185
+ return !!oe && (C || (C = new o()), r(P, S, T, A, N, C));
186
+ };
187
+ }, 8458: (t, c, e) => {
188
+ var o = e(3560), l = e(5346), p = e(3218), r = e(346), h = /^\[object .+?Constructor\]$/, a = Function.prototype, g = Object.prototype, v = a.toString, x = g.hasOwnProperty, O = RegExp("^" + v.call(x).replace(/[\\^$.*+?()[\]{}|]/g, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$");
189
+ t.exports = function(E) {
190
+ return !(!p(E) || l(E)) && (o(E) ? O : h).test(r(E));
191
+ };
192
+ }, 8749: (t, c, e) => {
193
+ var o = e(4239), l = e(1780), p = e(7005), r = {};
194
+ r["[object Float32Array]"] = r["[object Float64Array]"] = r["[object Int8Array]"] = r["[object Int16Array]"] = r["[object Int32Array]"] = r["[object Uint8Array]"] = r["[object Uint8ClampedArray]"] = r["[object Uint16Array]"] = r["[object Uint32Array]"] = !0, r["[object Arguments]"] = r["[object Array]"] = r["[object ArrayBuffer]"] = r["[object Boolean]"] = r["[object DataView]"] = r["[object Date]"] = r["[object Error]"] = r["[object Function]"] = r["[object Map]"] = r["[object Number]"] = r["[object Object]"] = r["[object RegExp]"] = r["[object Set]"] = r["[object String]"] = r["[object WeakMap]"] = !1, t.exports = function(h) {
195
+ return p(h) && l(h.length) && !!r[o(h)];
196
+ };
197
+ }, 280: (t, c, e) => {
198
+ var o = e(5726), l = e(6916), p = Object.prototype.hasOwnProperty;
199
+ t.exports = function(r) {
200
+ if (!o(r))
201
+ return l(r);
202
+ var h = [];
203
+ for (var a in Object(r))
204
+ p.call(r, a) && a != "constructor" && h.push(a);
205
+ return h;
206
+ };
207
+ }, 2545: (t) => {
208
+ t.exports = function(c, e) {
209
+ for (var o = -1, l = Array(c); ++o < c; )
210
+ l[o] = e(o);
211
+ return l;
212
+ };
213
+ }, 1717: (t) => {
214
+ t.exports = function(c) {
215
+ return function(e) {
216
+ return c(e);
217
+ };
218
+ };
219
+ }, 4757: (t) => {
220
+ t.exports = function(c, e) {
221
+ return c.has(e);
222
+ };
223
+ }, 4429: (t, c, e) => {
224
+ var o = e(5639)["__core-js_shared__"];
225
+ t.exports = o;
226
+ }, 7114: (t, c, e) => {
227
+ var o = e(8668), l = e(2908), p = e(4757);
228
+ t.exports = function(r, h, a, g, v, x) {
229
+ var O = 1 & a, E = r.length, R = h.length;
230
+ if (E != R && !(O && R > E))
231
+ return !1;
232
+ var P = x.get(r), S = x.get(h);
233
+ if (P && S)
234
+ return P == h && S == r;
235
+ var T = -1, A = !0, N = 2 & a ? new o() : void 0;
236
+ for (x.set(r, h), x.set(h, r); ++T < E; ) {
237
+ var C = r[T], D = h[T];
238
+ if (g)
239
+ var M = O ? g(D, C, T, h, r, x) : g(C, D, T, r, h, x);
240
+ if (M !== void 0) {
241
+ if (M)
242
+ continue;
243
+ A = !1;
244
+ break;
245
+ }
246
+ if (N) {
247
+ if (!l(h, function(I, B) {
248
+ if (!p(N, B) && (C === I || v(C, I, a, g, x)))
249
+ return N.push(B);
250
+ })) {
251
+ A = !1;
252
+ break;
253
+ }
254
+ } else if (C !== D && !v(C, D, a, g, x)) {
255
+ A = !1;
256
+ break;
257
+ }
258
+ }
259
+ return x.delete(r), x.delete(h), A;
260
+ };
261
+ }, 8351: (t, c, e) => {
262
+ var o = e(2705), l = e(1149), p = e(7813), r = e(7114), h = e(8776), a = e(1814), g = o ? o.prototype : void 0, v = g ? g.valueOf : void 0;
263
+ t.exports = function(x, O, E, R, P, S, T) {
264
+ switch (E) {
265
+ case "[object DataView]":
266
+ if (x.byteLength != O.byteLength || x.byteOffset != O.byteOffset)
267
+ return !1;
268
+ x = x.buffer, O = O.buffer;
269
+ case "[object ArrayBuffer]":
270
+ return !(x.byteLength != O.byteLength || !S(new l(x), new l(O)));
271
+ case "[object Boolean]":
272
+ case "[object Date]":
273
+ case "[object Number]":
274
+ return p(+x, +O);
275
+ case "[object Error]":
276
+ return x.name == O.name && x.message == O.message;
277
+ case "[object RegExp]":
278
+ case "[object String]":
279
+ return x == O + "";
280
+ case "[object Map]":
281
+ var A = h;
282
+ case "[object Set]":
283
+ var N = 1 & R;
284
+ if (A || (A = a), x.size != O.size && !N)
285
+ return !1;
286
+ var C = T.get(x);
287
+ if (C)
288
+ return C == O;
289
+ R |= 2, T.set(x, O);
290
+ var D = r(A(x), A(O), R, P, S, T);
291
+ return T.delete(x), D;
292
+ case "[object Symbol]":
293
+ if (v)
294
+ return v.call(x) == v.call(O);
295
+ }
296
+ return !1;
297
+ };
298
+ }, 6096: (t, c, e) => {
299
+ var o = e(8234), l = Object.prototype.hasOwnProperty;
300
+ t.exports = function(p, r, h, a, g, v) {
301
+ var x = 1 & h, O = o(p), E = O.length;
302
+ if (E != o(r).length && !x)
303
+ return !1;
304
+ for (var R = E; R--; ) {
305
+ var P = O[R];
306
+ if (!(x ? P in r : l.call(r, P)))
307
+ return !1;
308
+ }
309
+ var S = v.get(p), T = v.get(r);
310
+ if (S && T)
311
+ return S == r && T == p;
312
+ var A = !0;
313
+ v.set(p, r), v.set(r, p);
314
+ for (var N = x; ++R < E; ) {
315
+ var C = p[P = O[R]], D = r[P];
316
+ if (a)
317
+ var M = x ? a(D, C, P, r, p, v) : a(C, D, P, p, r, v);
318
+ if (!(M === void 0 ? C === D || g(C, D, h, a, v) : M)) {
319
+ A = !1;
320
+ break;
321
+ }
322
+ N || (N = P == "constructor");
323
+ }
324
+ if (A && !N) {
325
+ var I = p.constructor, B = r.constructor;
326
+ I == B || !("constructor" in p) || !("constructor" in r) || typeof I == "function" && I instanceof I && typeof B == "function" && B instanceof B || (A = !1);
327
+ }
328
+ return v.delete(p), v.delete(r), A;
329
+ };
330
+ }, 1957: (t, c, e) => {
331
+ var o = typeof e.g == "object" && e.g && e.g.Object === Object && e.g;
332
+ t.exports = o;
333
+ }, 8234: (t, c, e) => {
334
+ var o = e(8866), l = e(9551), p = e(3674);
335
+ t.exports = function(r) {
336
+ return o(r, p, l);
337
+ };
338
+ }, 5050: (t, c, e) => {
339
+ var o = e(7019);
340
+ t.exports = function(l, p) {
341
+ var r = l.__data__;
342
+ return o(p) ? r[typeof p == "string" ? "string" : "hash"] : r.map;
343
+ };
344
+ }, 852: (t, c, e) => {
345
+ var o = e(8458), l = e(7801);
346
+ t.exports = function(p, r) {
347
+ var h = l(p, r);
348
+ return o(h) ? h : void 0;
349
+ };
350
+ }, 9607: (t, c, e) => {
351
+ var o = e(2705), l = Object.prototype, p = l.hasOwnProperty, r = l.toString, h = o ? o.toStringTag : void 0;
352
+ t.exports = function(a) {
353
+ var g = p.call(a, h), v = a[h];
354
+ try {
355
+ a[h] = void 0;
356
+ var x = !0;
357
+ } catch {
358
+ }
359
+ var O = r.call(a);
360
+ return x && (g ? a[h] = v : delete a[h]), O;
361
+ };
362
+ }, 9551: (t, c, e) => {
363
+ var o = e(4963), l = e(479), p = Object.prototype.propertyIsEnumerable, r = Object.getOwnPropertySymbols, h = r ? function(a) {
364
+ return a == null ? [] : (a = Object(a), o(r(a), function(g) {
365
+ return p.call(a, g);
366
+ }));
367
+ } : l;
368
+ t.exports = h;
369
+ }, 4160: (t, c, e) => {
370
+ var o = e(8552), l = e(7071), p = e(3818), r = e(8525), h = e(577), a = e(4239), g = e(346), v = "[object Map]", x = "[object Promise]", O = "[object Set]", E = "[object WeakMap]", R = "[object DataView]", P = g(o), S = g(l), T = g(p), A = g(r), N = g(h), C = a;
371
+ (o && C(new o(new ArrayBuffer(1))) != R || l && C(new l()) != v || p && C(p.resolve()) != x || r && C(new r()) != O || h && C(new h()) != E) && (C = function(D) {
372
+ var M = a(D), I = M == "[object Object]" ? D.constructor : void 0, B = I ? g(I) : "";
373
+ if (B)
374
+ switch (B) {
375
+ case P:
376
+ return R;
377
+ case S:
378
+ return v;
379
+ case T:
380
+ return x;
381
+ case A:
382
+ return O;
383
+ case N:
384
+ return E;
385
+ }
386
+ return M;
387
+ }), t.exports = C;
388
+ }, 7801: (t) => {
389
+ t.exports = function(c, e) {
390
+ return c == null ? void 0 : c[e];
391
+ };
392
+ }, 1789: (t, c, e) => {
393
+ var o = e(4536);
394
+ t.exports = function() {
395
+ this.__data__ = o ? o(null) : {}, this.size = 0;
396
+ };
397
+ }, 401: (t) => {
398
+ t.exports = function(c) {
399
+ var e = this.has(c) && delete this.__data__[c];
400
+ return this.size -= e ? 1 : 0, e;
401
+ };
402
+ }, 7667: (t, c, e) => {
403
+ var o = e(4536), l = Object.prototype.hasOwnProperty;
404
+ t.exports = function(p) {
405
+ var r = this.__data__;
406
+ if (o) {
407
+ var h = r[p];
408
+ return h === "__lodash_hash_undefined__" ? void 0 : h;
409
+ }
410
+ return l.call(r, p) ? r[p] : void 0;
411
+ };
412
+ }, 1327: (t, c, e) => {
413
+ var o = e(4536), l = Object.prototype.hasOwnProperty;
414
+ t.exports = function(p) {
415
+ var r = this.__data__;
416
+ return o ? r[p] !== void 0 : l.call(r, p);
417
+ };
418
+ }, 1866: (t, c, e) => {
419
+ var o = e(4536);
420
+ t.exports = function(l, p) {
421
+ var r = this.__data__;
422
+ return this.size += this.has(l) ? 0 : 1, r[l] = o && p === void 0 ? "__lodash_hash_undefined__" : p, this;
423
+ };
424
+ }, 5776: (t) => {
425
+ var c = /^(?:0|[1-9]\d*)$/;
426
+ t.exports = function(e, o) {
427
+ var l = typeof e;
428
+ return !!(o = o ?? 9007199254740991) && (l == "number" || l != "symbol" && c.test(e)) && e > -1 && e % 1 == 0 && e < o;
429
+ };
430
+ }, 7019: (t) => {
431
+ t.exports = function(c) {
432
+ var e = typeof c;
433
+ return e == "string" || e == "number" || e == "symbol" || e == "boolean" ? c !== "__proto__" : c === null;
434
+ };
435
+ }, 5346: (t, c, e) => {
436
+ var o, l = e(4429), p = (o = /[^.]+$/.exec(l && l.keys && l.keys.IE_PROTO || "")) ? "Symbol(src)_1." + o : "";
437
+ t.exports = function(r) {
438
+ return !!p && p in r;
439
+ };
440
+ }, 5726: (t) => {
441
+ var c = Object.prototype;
442
+ t.exports = function(e) {
443
+ var o = e && e.constructor;
444
+ return e === (typeof o == "function" && o.prototype || c);
445
+ };
446
+ }, 7040: (t) => {
447
+ t.exports = function() {
448
+ this.__data__ = [], this.size = 0;
449
+ };
450
+ }, 4125: (t, c, e) => {
451
+ var o = e(8470), l = Array.prototype.splice;
452
+ t.exports = function(p) {
453
+ var r = this.__data__, h = o(r, p);
454
+ return !(h < 0 || (h == r.length - 1 ? r.pop() : l.call(r, h, 1), --this.size, 0));
455
+ };
456
+ }, 2117: (t, c, e) => {
457
+ var o = e(8470);
458
+ t.exports = function(l) {
459
+ var p = this.__data__, r = o(p, l);
460
+ return r < 0 ? void 0 : p[r][1];
461
+ };
462
+ }, 7518: (t, c, e) => {
463
+ var o = e(8470);
464
+ t.exports = function(l) {
465
+ return o(this.__data__, l) > -1;
466
+ };
467
+ }, 4705: (t, c, e) => {
468
+ var o = e(8470);
469
+ t.exports = function(l, p) {
470
+ var r = this.__data__, h = o(r, l);
471
+ return h < 0 ? (++this.size, r.push([l, p])) : r[h][1] = p, this;
472
+ };
473
+ }, 4785: (t, c, e) => {
474
+ var o = e(1989), l = e(8407), p = e(7071);
475
+ t.exports = function() {
476
+ this.size = 0, this.__data__ = { hash: new o(), map: new (p || l)(), string: new o() };
477
+ };
478
+ }, 1285: (t, c, e) => {
479
+ var o = e(5050);
480
+ t.exports = function(l) {
481
+ var p = o(this, l).delete(l);
482
+ return this.size -= p ? 1 : 0, p;
483
+ };
484
+ }, 6e3: (t, c, e) => {
485
+ var o = e(5050);
486
+ t.exports = function(l) {
487
+ return o(this, l).get(l);
488
+ };
489
+ }, 9916: (t, c, e) => {
490
+ var o = e(5050);
491
+ t.exports = function(l) {
492
+ return o(this, l).has(l);
493
+ };
494
+ }, 5265: (t, c, e) => {
495
+ var o = e(5050);
496
+ t.exports = function(l, p) {
497
+ var r = o(this, l), h = r.size;
498
+ return r.set(l, p), this.size += r.size == h ? 0 : 1, this;
499
+ };
500
+ }, 8776: (t) => {
501
+ t.exports = function(c) {
502
+ var e = -1, o = Array(c.size);
503
+ return c.forEach(function(l, p) {
504
+ o[++e] = [p, l];
505
+ }), o;
506
+ };
507
+ }, 4536: (t, c, e) => {
508
+ var o = e(852)(Object, "create");
509
+ t.exports = o;
510
+ }, 6916: (t, c, e) => {
511
+ var o = e(5569)(Object.keys, Object);
512
+ t.exports = o;
513
+ }, 1167: (t, c, e) => {
514
+ t = e.nmd(t);
515
+ var o = e(1957), l = c && !c.nodeType && c, p = l && t && !t.nodeType && t, r = p && p.exports === l && o.process, h = function() {
516
+ try {
517
+ return p && p.require && p.require("util").types || r && r.binding && r.binding("util");
518
+ } catch {
519
+ }
520
+ }();
521
+ t.exports = h;
522
+ }, 2333: (t) => {
523
+ var c = Object.prototype.toString;
524
+ t.exports = function(e) {
525
+ return c.call(e);
526
+ };
527
+ }, 5569: (t) => {
528
+ t.exports = function(c, e) {
529
+ return function(o) {
530
+ return c(e(o));
531
+ };
532
+ };
533
+ }, 5639: (t, c, e) => {
534
+ var o = e(1957), l = typeof self == "object" && self && self.Object === Object && self, p = o || l || Function("return this")();
535
+ t.exports = p;
536
+ }, 619: (t) => {
537
+ t.exports = function(c) {
538
+ return this.__data__.set(c, "__lodash_hash_undefined__"), this;
539
+ };
540
+ }, 2385: (t) => {
541
+ t.exports = function(c) {
542
+ return this.__data__.has(c);
543
+ };
544
+ }, 1814: (t) => {
545
+ t.exports = function(c) {
546
+ var e = -1, o = Array(c.size);
547
+ return c.forEach(function(l) {
548
+ o[++e] = l;
549
+ }), o;
550
+ };
551
+ }, 7465: (t, c, e) => {
552
+ var o = e(8407);
553
+ t.exports = function() {
554
+ this.__data__ = new o(), this.size = 0;
555
+ };
556
+ }, 3779: (t) => {
557
+ t.exports = function(c) {
558
+ var e = this.__data__, o = e.delete(c);
559
+ return this.size = e.size, o;
560
+ };
561
+ }, 7599: (t) => {
562
+ t.exports = function(c) {
563
+ return this.__data__.get(c);
564
+ };
565
+ }, 4758: (t) => {
566
+ t.exports = function(c) {
567
+ return this.__data__.has(c);
568
+ };
569
+ }, 4309: (t, c, e) => {
570
+ var o = e(8407), l = e(7071), p = e(3369);
571
+ t.exports = function(r, h) {
572
+ var a = this.__data__;
573
+ if (a instanceof o) {
574
+ var g = a.__data__;
575
+ if (!l || g.length < 199)
576
+ return g.push([r, h]), this.size = ++a.size, this;
577
+ a = this.__data__ = new p(g);
578
+ }
579
+ return a.set(r, h), this.size = a.size, this;
580
+ };
581
+ }, 346: (t) => {
582
+ var c = Function.prototype.toString;
583
+ t.exports = function(e) {
584
+ if (e != null) {
585
+ try {
586
+ return c.call(e);
587
+ } catch {
588
+ }
589
+ try {
590
+ return e + "";
591
+ } catch {
592
+ }
593
+ }
594
+ return "";
595
+ };
596
+ }, 7813: (t) => {
597
+ t.exports = function(c, e) {
598
+ return c === e || c != c && e != e;
599
+ };
600
+ }, 5694: (t, c, e) => {
601
+ var o = e(9454), l = e(7005), p = Object.prototype, r = p.hasOwnProperty, h = p.propertyIsEnumerable, a = o(function() {
602
+ return arguments;
603
+ }()) ? o : function(g) {
604
+ return l(g) && r.call(g, "callee") && !h.call(g, "callee");
605
+ };
606
+ t.exports = a;
607
+ }, 1469: (t) => {
608
+ var c = Array.isArray;
609
+ t.exports = c;
610
+ }, 8612: (t, c, e) => {
611
+ var o = e(3560), l = e(1780);
612
+ t.exports = function(p) {
613
+ return p != null && l(p.length) && !o(p);
614
+ };
615
+ }, 4144: (t, c, e) => {
616
+ t = e.nmd(t);
617
+ var o = e(5639), l = e(5062), p = c && !c.nodeType && c, r = p && t && !t.nodeType && t, h = r && r.exports === p ? o.Buffer : void 0, a = (h ? h.isBuffer : void 0) || l;
618
+ t.exports = a;
619
+ }, 8446: (t, c, e) => {
620
+ var o = e(939);
621
+ t.exports = function(l, p) {
622
+ return o(l, p);
623
+ };
624
+ }, 3560: (t, c, e) => {
625
+ var o = e(4239), l = e(3218);
626
+ t.exports = function(p) {
627
+ if (!l(p))
628
+ return !1;
629
+ var r = o(p);
630
+ return r == "[object Function]" || r == "[object GeneratorFunction]" || r == "[object AsyncFunction]" || r == "[object Proxy]";
631
+ };
632
+ }, 1780: (t) => {
633
+ t.exports = function(c) {
634
+ return typeof c == "number" && c > -1 && c % 1 == 0 && c <= 9007199254740991;
635
+ };
636
+ }, 3218: (t) => {
637
+ t.exports = function(c) {
638
+ var e = typeof c;
639
+ return c != null && (e == "object" || e == "function");
640
+ };
641
+ }, 7005: (t) => {
642
+ t.exports = function(c) {
643
+ return c != null && typeof c == "object";
644
+ };
645
+ }, 6719: (t, c, e) => {
646
+ var o = e(8749), l = e(1717), p = e(1167), r = p && p.isTypedArray, h = r ? l(r) : o;
647
+ t.exports = h;
648
+ }, 3674: (t, c, e) => {
649
+ var o = e(4636), l = e(280), p = e(8612);
650
+ t.exports = function(r) {
651
+ return p(r) ? o(r) : l(r);
652
+ };
653
+ }, 8306: (t, c, e) => {
654
+ var o = e(3369);
655
+ function l(p, r) {
656
+ if (typeof p != "function" || r != null && typeof r != "function")
657
+ throw new TypeError("Expected a function");
658
+ var h = function() {
659
+ var a = arguments, g = r ? r.apply(this, a) : a[0], v = h.cache;
660
+ if (v.has(g))
661
+ return v.get(g);
662
+ var x = p.apply(this, a);
663
+ return h.cache = v.set(g, x) || v, x;
664
+ };
665
+ return h.cache = new (l.Cache || o)(), h;
666
+ }
667
+ l.Cache = o, t.exports = l;
668
+ }, 479: (t) => {
669
+ t.exports = function() {
670
+ return [];
671
+ };
672
+ }, 5062: (t) => {
673
+ t.exports = function() {
674
+ return !1;
675
+ };
676
+ }, 2703: (t, c, e) => {
677
+ var o = e(414);
678
+ function l() {
679
+ }
680
+ function p() {
681
+ }
682
+ p.resetWarningCache = l, t.exports = function() {
683
+ function r(g, v, x, O, E, R) {
684
+ if (R !== o) {
685
+ var P = new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");
686
+ throw P.name = "Invariant Violation", P;
687
+ }
688
+ }
689
+ function h() {
690
+ return r;
691
+ }
692
+ r.isRequired = r;
693
+ var a = { array: r, bigint: r, bool: r, func: r, number: r, object: r, string: r, symbol: r, any: r, arrayOf: h, element: r, elementType: r, instanceOf: h, node: r, objectOf: h, oneOf: h, oneOfType: h, shape: h, exact: h, checkPropTypes: p, resetWarningCache: l };
694
+ return a.PropTypes = a, a;
695
+ };
696
+ }, 5697: (t, c, e) => {
697
+ t.exports = e(2703)();
698
+ }, 414: (t) => {
699
+ t.exports = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
700
+ }, 9787: (t) => {
701
+ t.exports = te;
702
+ } }, ce = {};
703
+ function L(t) {
704
+ var c = ce[t];
705
+ if (c !== void 0)
706
+ return c.exports;
707
+ var e = ce[t] = { id: t, loaded: !1, exports: {} };
708
+ return ne[t](e, e.exports, L), e.loaded = !0, e.exports;
709
+ }
710
+ L.n = (t) => {
711
+ var c = t && t.__esModule ? () => t.default : () => t;
712
+ return L.d(c, { a: c }), c;
713
+ }, L.d = (t, c) => {
714
+ for (var e in c)
715
+ L.o(c, e) && !L.o(t, e) && Object.defineProperty(t, e, { enumerable: !0, get: c[e] });
716
+ }, L.g = function() {
717
+ if (typeof globalThis == "object")
718
+ return globalThis;
719
+ try {
720
+ return this || new Function("return this")();
721
+ } catch {
722
+ if (typeof window == "object")
723
+ return window;
724
+ }
725
+ }(), L.o = (t, c) => Object.prototype.hasOwnProperty.call(t, c), L.r = (t) => {
726
+ typeof Symbol < "u" && Symbol.toStringTag && Object.defineProperty(t, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(t, "__esModule", { value: !0 });
727
+ }, L.nmd = (t) => (t.paths = [], t.children || (t.children = []), t);
728
+ var re = {};
729
+ return (() => {
730
+ L.r(re), L.d(re, { default: () => et, expandNodesToLevel: () => Me });
731
+ var t = L(4184), c = L.n(t), e = L(8446), o = L.n(e), l = L(8306), p = L.n(l);
732
+ let r = (u = 21) => crypto.getRandomValues(new Uint8Array(u)).reduce((n, d) => n + ((d &= 63) < 36 ? d.toString(36) : d < 62 ? (d - 26).toString(36).toUpperCase() : d > 62 ? "-" : "_"), "");
733
+ var h = L(5697), a = L.n(h), g = L(9787), v = L.n(g);
734
+ function x(u) {
735
+ return x = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(n) {
736
+ return typeof n;
737
+ } : function(n) {
738
+ return n && typeof Symbol == "function" && n.constructor === Symbol && n !== Symbol.prototype ? "symbol" : typeof n;
739
+ }, x(u);
740
+ }
741
+ var O = ["children", "title"];
742
+ function E() {
743
+ return E = Object.assign ? Object.assign.bind() : function(u) {
744
+ for (var n = 1; n < arguments.length; n++) {
745
+ var d = arguments[n];
746
+ for (var s in d)
747
+ Object.prototype.hasOwnProperty.call(d, s) && (u[s] = d[s]);
748
+ }
749
+ return u;
750
+ }, E.apply(this, arguments);
751
+ }
752
+ function R(u, n) {
753
+ if (!(u instanceof n))
754
+ throw new TypeError("Cannot call a class as a function");
755
+ }
756
+ function P(u, n) {
757
+ for (var d = 0; d < n.length; d++) {
758
+ var s = n[d];
759
+ s.enumerable = s.enumerable || !1, s.configurable = !0, "value" in s && (s.writable = !0), Object.defineProperty(u, s.key, s);
760
+ }
761
+ }
762
+ function S(u, n) {
763
+ return S = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(d, s) {
764
+ return d.__proto__ = s, d;
765
+ }, S(u, n);
766
+ }
767
+ function T(u, n) {
768
+ if (n && (x(n) === "object" || typeof n == "function"))
769
+ return n;
770
+ if (n !== void 0)
771
+ throw new TypeError("Derived constructors may only return object or undefined");
772
+ return function(d) {
773
+ if (d === void 0)
774
+ throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
775
+ return d;
776
+ }(u);
777
+ }
778
+ function A(u) {
779
+ return A = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(n) {
780
+ return n.__proto__ || Object.getPrototypeOf(n);
781
+ }, A(u);
782
+ }
783
+ function N(u, n, d) {
784
+ return n in u ? Object.defineProperty(u, n, { value: d, enumerable: !0, configurable: !0, writable: !0 }) : u[n] = d, u;
785
+ }
786
+ var C = function(u) {
787
+ (function(y, i) {
788
+ if (typeof i != "function" && i !== null)
789
+ throw new TypeError("Super expression must either be null or a function");
790
+ y.prototype = Object.create(i && i.prototype, { constructor: { value: y, writable: !0, configurable: !0 } }), Object.defineProperty(y, "prototype", { writable: !1 }), i && S(y, i);
791
+ })(_, u);
792
+ var n, d, s, k, j = (s = _, k = function() {
793
+ if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham)
794
+ return !1;
795
+ if (typeof Proxy == "function")
796
+ return !0;
797
+ try {
798
+ return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
799
+ })), !0;
800
+ } catch {
801
+ return !1;
802
+ }
803
+ }(), function() {
804
+ var y, i = A(s);
805
+ if (k) {
806
+ var f = A(this).constructor;
807
+ y = Reflect.construct(i, arguments, f);
808
+ } else
809
+ y = i.apply(this, arguments);
810
+ return T(this, y);
811
+ });
812
+ function _() {
813
+ return R(this, _), j.apply(this, arguments);
814
+ }
815
+ return n = _, (d = [{ key: "render", value: function() {
816
+ var y = this.props, i = y.children, f = y.title, b = function(m, w) {
817
+ if (m == null)
818
+ return {};
819
+ var z, q, F = function(G, Ne) {
820
+ if (G == null)
821
+ return {};
822
+ var Z, ee, fe = {}, ie = Object.keys(G);
823
+ for (ee = 0; ee < ie.length; ee++)
824
+ Z = ie[ee], Ne.indexOf(Z) >= 0 || (fe[Z] = G[Z]);
825
+ return fe;
826
+ }(m, w);
827
+ if (Object.getOwnPropertySymbols) {
828
+ var $ = Object.getOwnPropertySymbols(m);
829
+ for (q = 0; q < $.length; q++)
830
+ z = $[q], w.indexOf(z) >= 0 || Object.prototype.propertyIsEnumerable.call(m, z) && (F[z] = m[z]);
831
+ }
832
+ return F;
833
+ }(y, O);
834
+ return v().createElement("button", E({ "aria-label": f, title: f, type: "button" }, b), i);
835
+ } }]) && P(n.prototype, d), Object.defineProperty(n, "prototype", { writable: !1 }), _;
836
+ }(v().PureComponent);
837
+ N(C, "propTypes", { children: a().node.isRequired, title: a().string }), N(C, "defaultProps", { title: null });
838
+ const D = C, M = { ALL: "all", PARENT: "parent", LEAF: "leaf" };
839
+ function I(u) {
840
+ this.message = u, this.stack = Error().stack;
841
+ }
842
+ I.prototype = Object.create(Error.prototype), I.prototype.name = "CheckboxTreeError";
843
+ const B = I;
844
+ function Y(u, n) {
845
+ var d = Object.keys(u);
846
+ if (Object.getOwnPropertySymbols) {
847
+ var s = Object.getOwnPropertySymbols(u);
848
+ n && (s = s.filter(function(k) {
849
+ return Object.getOwnPropertyDescriptor(u, k).enumerable;
850
+ })), d.push.apply(d, s);
851
+ }
852
+ return d;
853
+ }
854
+ function ye(u, n, d) {
855
+ return n in u ? Object.defineProperty(u, n, { value: d, enumerable: !0, configurable: !0, writable: !0 }) : u[n] = d, u;
856
+ }
857
+ function oe(u, n) {
858
+ if (!(u instanceof n))
859
+ throw new TypeError("Cannot call a class as a function");
860
+ }
861
+ function se(u, n) {
862
+ for (var d = 0; d < n.length; d++) {
863
+ var s = n[d];
864
+ s.enumerable = s.enumerable || !1, s.configurable = !0, "value" in s && (s.writable = !0), Object.defineProperty(u, s.key, s);
865
+ }
866
+ }
867
+ var W = M;
868
+ const be = function() {
869
+ function u(s) {
870
+ var k = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
871
+ oe(this, u), this.props = s, this.flatNodes = k;
872
+ }
873
+ var n, d;
874
+ return n = u, d = [{ key: "setProps", value: function(s) {
875
+ this.props = s;
876
+ } }, { key: "clone", value: function() {
877
+ var s = this, k = {};
878
+ return Object.keys(this.flatNodes).forEach(function(j) {
879
+ var _ = s.flatNodes[j];
880
+ k[j] = function(y) {
881
+ for (var i = 1; i < arguments.length; i++) {
882
+ var f = arguments[i] != null ? arguments[i] : {};
883
+ i % 2 ? Y(Object(f), !0).forEach(function(b) {
884
+ ye(y, b, f[b]);
885
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(y, Object.getOwnPropertyDescriptors(f)) : Y(Object(f)).forEach(function(b) {
886
+ Object.defineProperty(y, b, Object.getOwnPropertyDescriptor(f, b));
887
+ });
888
+ }
889
+ return y;
890
+ }({}, _);
891
+ }), new u(this.props, k);
892
+ } }, { key: "getNode", value: function(s) {
893
+ return this.flatNodes[s];
894
+ } }, { key: "reset", value: function() {
895
+ this.flatNodes = {};
896
+ } }, { key: "flattenNodes", value: function(s) {
897
+ var k = this, j = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, _ = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : 0;
898
+ if (Array.isArray(s) && s.length !== 0) {
899
+ var y = this.props, i = y.disabled, f = y.noCascade;
900
+ s.forEach(function(b, m) {
901
+ var w = k.nodeHasChildren(b);
902
+ if (k.flatNodes[b.value] !== void 0)
903
+ throw new B("Duplicate value '".concat(b.value, "' detected. All node values must be unique."));
904
+ k.flatNodes[b.value] = { label: b.label, value: b.value, children: b.children, parent: j, isChild: j.value !== void 0, isParent: w, isLeaf: !w, showCheckbox: b.showCheckbox === void 0 || b.showCheckbox, disabled: k.getDisabledState(b, j, i, f), treeDepth: _, index: m }, k.flattenNodes(b.children, b, _ + 1);
905
+ });
906
+ }
907
+ } }, { key: "nodeHasChildren", value: function(s) {
908
+ return Array.isArray(s.children);
909
+ } }, { key: "getDisabledState", value: function(s, k, j, _) {
910
+ return !!j || !(_ || !k.disabled) || !!s.disabled;
911
+ } }, { key: "deserializeLists", value: function(s) {
912
+ var k = this, j = ["checked", "expanded"];
913
+ Object.keys(this.flatNodes).forEach(function(_) {
914
+ j.forEach(function(y) {
915
+ k.flatNodes[_][y] = !1;
916
+ });
917
+ }), j.forEach(function(_) {
918
+ s[_].forEach(function(y) {
919
+ k.flatNodes[y] !== void 0 && (k.flatNodes[y][_] = !0);
920
+ });
921
+ });
922
+ } }, { key: "serializeList", value: function(s) {
923
+ var k = this, j = [];
924
+ return Object.keys(this.flatNodes).forEach(function(_) {
925
+ k.flatNodes[_][s] && j.push(_);
926
+ }), j;
927
+ } }, { key: "expandAllNodes", value: function(s) {
928
+ var k = this;
929
+ return Object.keys(this.flatNodes).forEach(function(j) {
930
+ k.flatNodes[j].isParent && (k.flatNodes[j].expanded = s);
931
+ }), this;
932
+ } }, { key: "toggleChecked", value: function(s, k, j, _) {
933
+ var y = this, i = !(arguments.length > 4 && arguments[4] !== void 0) || arguments[4], f = this.flatNodes[s.value], b = [W.PARENT, W.ALL].indexOf(j) > -1, m = [W.LEAF, W.ALL].indexOf(j) > -1;
934
+ if (f.isLeaf || _) {
935
+ if (s.disabled)
936
+ return this;
937
+ this.toggleNode(s.value, "checked", k);
938
+ } else
939
+ (b || f.children.length === 0) && this.toggleNode(s.value, "checked", k), m && f.children.forEach(function(w) {
940
+ y.toggleChecked(w, k, j, _, !1);
941
+ });
942
+ return i && !_ && f.isChild && b && this.toggleParentStatus(f.parent, j), this;
943
+ } }, { key: "toggleParentStatus", value: function(s, k) {
944
+ var j = this.flatNodes[s.value];
945
+ j.isChild ? (k === W.ALL && this.toggleNode(s.value, "checked", this.isEveryChildChecked(j)), this.toggleParentStatus(j.parent, k)) : this.toggleNode(s.value, "checked", this.isEveryChildChecked(j));
946
+ } }, { key: "isEveryChildChecked", value: function(s) {
947
+ var k = this;
948
+ return s.children.every(function(j) {
949
+ return k.getNode(j.value).checked;
950
+ });
951
+ } }, { key: "toggleNode", value: function(s, k, j) {
952
+ return this.flatNodes[s][k] = j, this;
953
+ } }], d && se(n.prototype, d), Object.defineProperty(n, "prototype", { writable: !1 }), u;
954
+ }();
955
+ function ae(u) {
956
+ return ae = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(n) {
957
+ return typeof n;
958
+ } : function(n) {
959
+ return n && typeof Symbol == "function" && n.constructor === Symbol && n !== Symbol.prototype ? "symbol" : typeof n;
960
+ }, ae(u);
961
+ }
962
+ function ve() {
963
+ return ve = Object.assign ? Object.assign.bind() : function(u) {
964
+ for (var n = 1; n < arguments.length; n++) {
965
+ var d = arguments[n];
966
+ for (var s in d)
967
+ Object.prototype.hasOwnProperty.call(d, s) && (u[s] = d[s]);
968
+ }
969
+ return u;
970
+ }, ve.apply(this, arguments);
971
+ }
972
+ function Ae(u, n) {
973
+ var d = Object.keys(u);
974
+ if (Object.getOwnPropertySymbols) {
975
+ var s = Object.getOwnPropertySymbols(u);
976
+ n && (s = s.filter(function(k) {
977
+ return Object.getOwnPropertyDescriptor(u, k).enumerable;
978
+ })), d.push.apply(d, s);
979
+ }
980
+ return d;
981
+ }
982
+ function He(u, n) {
983
+ if (!(u instanceof n))
984
+ throw new TypeError("Cannot call a class as a function");
985
+ }
986
+ function $e(u, n) {
987
+ for (var d = 0; d < n.length; d++) {
988
+ var s = n[d];
989
+ s.enumerable = s.enumerable || !1, s.configurable = !0, "value" in s && (s.writable = !0), Object.defineProperty(u, s.key, s);
990
+ }
991
+ }
992
+ function ge(u, n) {
993
+ return ge = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(d, s) {
994
+ return d.__proto__ = s, d;
995
+ }, ge(u, n);
996
+ }
997
+ function Ve(u, n) {
998
+ if (n && (ae(n) === "object" || typeof n == "function"))
999
+ return n;
1000
+ if (n !== void 0)
1001
+ throw new TypeError("Derived constructors may only return object or undefined");
1002
+ return function(d) {
1003
+ if (d === void 0)
1004
+ throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
1005
+ return d;
1006
+ }(u);
1007
+ }
1008
+ function le(u) {
1009
+ return le = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(n) {
1010
+ return n.__proto__ || Object.getPrototypeOf(n);
1011
+ }, le(u);
1012
+ }
1013
+ function me(u, n, d) {
1014
+ return n in u ? Object.defineProperty(u, n, { value: d, enumerable: !0, configurable: !0, writable: !0 }) : u[n] = d, u;
1015
+ }
1016
+ var xe = function(u) {
1017
+ (function(y, i) {
1018
+ if (typeof i != "function" && i !== null)
1019
+ throw new TypeError("Super expression must either be null or a function");
1020
+ y.prototype = Object.create(i && i.prototype, { constructor: { value: y, writable: !0, configurable: !0 } }), Object.defineProperty(y, "prototype", { writable: !1 }), i && ge(y, i);
1021
+ })(_, u);
1022
+ var n, d, s, k, j = (s = _, k = function() {
1023
+ if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham)
1024
+ return !1;
1025
+ if (typeof Proxy == "function")
1026
+ return !0;
1027
+ try {
1028
+ return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
1029
+ })), !0;
1030
+ } catch {
1031
+ return !1;
1032
+ }
1033
+ }(), function() {
1034
+ var y, i = le(s);
1035
+ if (k) {
1036
+ var f = le(this).constructor;
1037
+ y = Reflect.construct(i, arguments, f);
1038
+ } else
1039
+ y = i.apply(this, arguments);
1040
+ return Ve(this, y);
1041
+ });
1042
+ function _() {
1043
+ return He(this, _), j.apply(this, arguments);
1044
+ }
1045
+ return n = _, d = [{ key: "componentDidMount", value: function() {
1046
+ this.updateDeterminateProperty();
1047
+ } }, { key: "componentDidUpdate", value: function() {
1048
+ this.updateDeterminateProperty();
1049
+ } }, { key: "updateDeterminateProperty", value: function() {
1050
+ var y = this.props.indeterminate;
1051
+ this.checkbox.indeterminate = y;
1052
+ } }, { key: "render", value: function() {
1053
+ var y = this, i = function(f) {
1054
+ for (var b = 1; b < arguments.length; b++) {
1055
+ var m = arguments[b] != null ? arguments[b] : {};
1056
+ b % 2 ? Ae(Object(m), !0).forEach(function(w) {
1057
+ me(f, w, m[w]);
1058
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(f, Object.getOwnPropertyDescriptors(m)) : Ae(Object(m)).forEach(function(w) {
1059
+ Object.defineProperty(f, w, Object.getOwnPropertyDescriptor(m, w));
1060
+ });
1061
+ }
1062
+ return f;
1063
+ }({}, this.props);
1064
+ return delete i.indeterminate, v().createElement("input", ve({}, i, { ref: function(f) {
1065
+ y.checkbox = f;
1066
+ }, type: "checkbox" }));
1067
+ } }], d && $e(n.prototype, d), Object.defineProperty(n, "prototype", { writable: !1 }), _;
1068
+ }(v().PureComponent);
1069
+ me(xe, "propTypes", { indeterminate: a().bool }), me(xe, "defaultProps", { indeterminate: !1 });
1070
+ const We = xe, Se = a().shape({ check: a().node, uncheck: a().node, halfCheck: a().node, expandClose: a().node, expandOpen: a().node, expandAll: a().node, collapseAll: a().node, parentClose: a().node, parentOpen: a().node, leaf: a().node }), Te = a().shape({ collapseAll: a().string.isRequired, expandAll: a().string.isRequired, toggle: a().string.isRequired });
1071
+ function ke(u) {
1072
+ return ke = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(n) {
1073
+ return typeof n;
1074
+ } : function(n) {
1075
+ return n && typeof Symbol == "function" && n.constructor === Symbol && n !== Symbol.prototype ? "symbol" : typeof n;
1076
+ }, ke(u);
1077
+ }
1078
+ function Je(u, n) {
1079
+ for (var d = 0; d < n.length; d++) {
1080
+ var s = n[d];
1081
+ s.enumerable = s.enumerable || !1, s.configurable = !0, "value" in s && (s.writable = !0), Object.defineProperty(u, s.key, s);
1082
+ }
1083
+ }
1084
+ function Oe(u, n) {
1085
+ return Oe = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(d, s) {
1086
+ return d.__proto__ = s, d;
1087
+ }, Oe(u, n);
1088
+ }
1089
+ function Ge(u, n) {
1090
+ if (n && (ke(n) === "object" || typeof n == "function"))
1091
+ return n;
1092
+ if (n !== void 0)
1093
+ throw new TypeError("Derived constructors may only return object or undefined");
1094
+ return Q(u);
1095
+ }
1096
+ function Q(u) {
1097
+ if (u === void 0)
1098
+ throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
1099
+ return u;
1100
+ }
1101
+ function ue(u) {
1102
+ return ue = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(n) {
1103
+ return n.__proto__ || Object.getPrototypeOf(n);
1104
+ }, ue(u);
1105
+ }
1106
+ function Re(u, n, d) {
1107
+ return n in u ? Object.defineProperty(u, n, { value: d, enumerable: !0, configurable: !0, writable: !0 }) : u[n] = d, u;
1108
+ }
1109
+ var je = function(u) {
1110
+ (function(y, i) {
1111
+ if (typeof i != "function" && i !== null)
1112
+ throw new TypeError("Super expression must either be null or a function");
1113
+ y.prototype = Object.create(i && i.prototype, { constructor: { value: y, writable: !0, configurable: !0 } }), Object.defineProperty(y, "prototype", { writable: !1 }), i && Oe(y, i);
1114
+ })(_, u);
1115
+ var n, d, s, k, j = (s = _, k = function() {
1116
+ if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham)
1117
+ return !1;
1118
+ if (typeof Proxy == "function")
1119
+ return !0;
1120
+ try {
1121
+ return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
1122
+ })), !0;
1123
+ } catch {
1124
+ return !1;
1125
+ }
1126
+ }(), function() {
1127
+ var y, i = ue(s);
1128
+ if (k) {
1129
+ var f = ue(this).constructor;
1130
+ y = Reflect.construct(i, arguments, f);
1131
+ } else
1132
+ y = i.apply(this, arguments);
1133
+ return Ge(this, y);
1134
+ });
1135
+ function _(y) {
1136
+ var i;
1137
+ return function(f, b) {
1138
+ if (!(f instanceof b))
1139
+ throw new TypeError("Cannot call a class as a function");
1140
+ }(this, _), (i = j.call(this, y)).onCheck = i.onCheck.bind(Q(i)), i.onCheckboxKeyPress = i.onCheckboxKeyPress.bind(Q(i)), i.onCheckboxKeyUp = i.onCheckboxKeyUp.bind(Q(i)), i.onClick = i.onClick.bind(Q(i)), i.onExpand = i.onExpand.bind(Q(i)), i;
1141
+ }
1142
+ return n = _, (d = [{ key: "onCheck", value: function() {
1143
+ var y = this.props, i = y.value;
1144
+ (0, y.onCheck)({ value: i, checked: this.getCheckState({ toggle: !0 }) });
1145
+ } }, { key: "onCheckboxKeyPress", value: function(y) {
1146
+ y.which === 32 && y.preventDefault();
1147
+ } }, { key: "onCheckboxKeyUp", value: function(y) {
1148
+ var i = y.keyCode;
1149
+ [13, 32].includes(i) && this.onCheck();
1150
+ } }, { key: "onClick", value: function() {
1151
+ var y = this.props, i = y.expandOnClick, f = y.isParent, b = y.value, m = y.onClick;
1152
+ f && i && this.onExpand(), m({ value: b, checked: this.getCheckState({ toggle: !1 }) });
1153
+ } }, { key: "onExpand", value: function() {
1154
+ var y = this.props, i = y.expanded, f = y.value;
1155
+ (0, y.onExpand)({ value: f, expanded: !i });
1156
+ } }, { key: "getCheckState", value: function(y) {
1157
+ var i = y.toggle, f = this.props, b = f.checked, m = f.optimisticToggle;
1158
+ return !(b !== 0 || !i) || b === 1 && !i || b === 2 && m;
1159
+ } }, { key: "renderCollapseButton", value: function() {
1160
+ var y = this.props, i = y.expandDisabled, f = y.isLeaf, b = y.lang;
1161
+ return f ? v().createElement("span", { className: "rct-collapse" }, v().createElement("span", { className: "rct-icon" })) : v().createElement(D, { className: "rct-collapse rct-collapse-btn", disabled: i, title: b.toggle, onClick: this.onExpand }, this.renderCollapseIcon());
1162
+ } }, { key: "renderCollapseIcon", value: function() {
1163
+ var y = this.props, i = y.expanded, f = y.icons, b = f.expandClose, m = f.expandOpen;
1164
+ return i ? m : b;
1165
+ } }, { key: "renderCheckboxIcon", value: function() {
1166
+ var y = this.props, i = y.checked, f = y.icons, b = f.uncheck, m = f.check, w = f.halfCheck;
1167
+ return i === 0 ? b : i === 1 ? m : w;
1168
+ } }, { key: "renderNodeIcon", value: function() {
1169
+ var y = this.props, i = y.expanded, f = y.icon, b = y.icons, m = b.leaf, w = b.parentClose, z = b.parentOpen, q = y.isLeaf;
1170
+ return f !== null ? f : q ? m : i ? z : w;
1171
+ } }, { key: "renderBareLabel", value: function(y) {
1172
+ var i = this.props, f = i.onClick, b = i.title, m = f !== null;
1173
+ return v().createElement("span", { className: "rct-bare-label", title: b }, m ? v().createElement("span", { className: "rct-node-clickable", onClick: this.onClick, onKeyPress: this.onClick, role: "button", tabIndex: 0 }, y) : y);
1174
+ } }, { key: "renderCheckboxLabel", value: function(y) {
1175
+ var i = this.props, f = i.checked, b = i.disabled, m = i.title, w = i.treeId, z = i.value, q = i.onClick !== null, F = "".concat(w, "-").concat(String(z).split(" ").join("_")), $ = [v().createElement("label", { key: 0, htmlFor: F, title: m }, v().createElement(We, { checked: f === 1, disabled: b, id: F, indeterminate: f === 2, onClick: this.onCheck, onChange: function() {
1176
+ } }), v().createElement("span", { "aria-checked": f === 1, "aria-disabled": b, className: "rct-checkbox", role: "checkbox", tabIndex: 0, onKeyPress: this.onCheckboxKeyPress, onKeyUp: this.onCheckboxKeyUp }, this.renderCheckboxIcon()), q ? null : y)];
1177
+ return q && $.push(v().createElement("span", { key: 1, className: "rct-node-clickable", onClick: this.onClick, onKeyPress: this.onClick, role: "link", tabIndex: 0 }, y)), $;
1178
+ } }, { key: "renderLabel", value: function() {
1179
+ var y = this.props, i = y.label, f = y.showCheckbox, b = [y.showNodeIcon ? v().createElement("span", { key: 0, className: "rct-node-icon" }, this.renderNodeIcon()) : null, v().createElement("span", { key: 1, className: "rct-title" }, i)];
1180
+ return f ? this.renderCheckboxLabel(b) : this.renderBareLabel(b);
1181
+ } }, { key: "renderChildren", value: function() {
1182
+ return this.props.expanded ? this.props.children : null;
1183
+ } }, { key: "render", value: function() {
1184
+ var y = this.props, i = y.className, f = y.disabled, b = y.expanded, m = y.isLeaf, w = c()({ "rct-node": !0, "rct-node-leaf": m, "rct-node-parent": !m, "rct-node-expanded": !m && b, "rct-node-collapsed": !m && !b, "rct-disabled": f }, i);
1185
+ return v().createElement("li", { className: w }, v().createElement("span", { className: "rct-text" }, this.renderCollapseButton(), this.renderLabel()), this.renderChildren());
1186
+ } }]) && Je(n.prototype, d), Object.defineProperty(n, "prototype", { writable: !1 }), _;
1187
+ }(v().PureComponent);
1188
+ Re(je, "propTypes", { checked: a().number.isRequired, disabled: a().bool.isRequired, expandDisabled: a().bool.isRequired, expanded: a().bool.isRequired, icons: Se.isRequired, isLeaf: a().bool.isRequired, isParent: a().bool.isRequired, label: a().node.isRequired, lang: Te.isRequired, optimisticToggle: a().bool.isRequired, showNodeIcon: a().bool.isRequired, treeId: a().string.isRequired, value: a().oneOfType([a().string, a().number]).isRequired, onCheck: a().func.isRequired, onExpand: a().func.isRequired, children: a().node, className: a().string, expandOnClick: a().bool, icon: a().node, showCheckbox: a().bool, title: a().string, onClick: a().func }), Re(je, "defaultProps", { children: null, className: null, expandOnClick: !1, icon: null, showCheckbox: !0, title: null, onClick: function() {
1189
+ } });
1190
+ const Ye = je, Le = a().oneOfType([a().arrayOf(a().string), a().arrayOf(a().number)]);
1191
+ function De(u, n) {
1192
+ var d = Object.keys(u);
1193
+ if (Object.getOwnPropertySymbols) {
1194
+ var s = Object.getOwnPropertySymbols(u);
1195
+ n && (s = s.filter(function(k) {
1196
+ return Object.getOwnPropertyDescriptor(u, k).enumerable;
1197
+ })), d.push.apply(d, s);
1198
+ }
1199
+ return d;
1200
+ }
1201
+ function Ie(u) {
1202
+ for (var n = 1; n < arguments.length; n++) {
1203
+ var d = arguments[n] != null ? arguments[n] : {};
1204
+ n % 2 ? De(Object(d), !0).forEach(function(s) {
1205
+ Qe(u, s, d[s]);
1206
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(u, Object.getOwnPropertyDescriptors(d)) : De(Object(d)).forEach(function(s) {
1207
+ Object.defineProperty(u, s, Object.getOwnPropertyDescriptor(d, s));
1208
+ });
1209
+ }
1210
+ return u;
1211
+ }
1212
+ function Qe(u, n, d) {
1213
+ return n in u ? Object.defineProperty(u, n, { value: d, enumerable: !0, configurable: !0, writable: !0 }) : u[n] = d, u;
1214
+ }
1215
+ var _e = { label: a().node.isRequired, value: a().oneOfType([a().string, a().number]).isRequired, disabled: a().bool, icon: a().node, showCheckbox: a().bool, title: a().string };
1216
+ const Xe = a().oneOfType([a().shape(_e), a().shape(Ie(Ie({}, _e), {}, { children: a().arrayOf(_e).isRequired }))]);
1217
+ function we(u) {
1218
+ return we = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(n) {
1219
+ return typeof n;
1220
+ } : function(n) {
1221
+ return n && typeof Symbol == "function" && n.constructor === Symbol && n !== Symbol.prototype ? "symbol" : typeof n;
1222
+ }, we(u);
1223
+ }
1224
+ function ze(u, n) {
1225
+ var d = Object.keys(u);
1226
+ if (Object.getOwnPropertySymbols) {
1227
+ var s = Object.getOwnPropertySymbols(u);
1228
+ n && (s = s.filter(function(k) {
1229
+ return Object.getOwnPropertyDescriptor(u, k).enumerable;
1230
+ })), d.push.apply(d, s);
1231
+ }
1232
+ return d;
1233
+ }
1234
+ function U(u) {
1235
+ for (var n = 1; n < arguments.length; n++) {
1236
+ var d = arguments[n] != null ? arguments[n] : {};
1237
+ n % 2 ? ze(Object(d), !0).forEach(function(s) {
1238
+ X(u, s, d[s]);
1239
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(u, Object.getOwnPropertyDescriptors(d)) : ze(Object(d)).forEach(function(s) {
1240
+ Object.defineProperty(u, s, Object.getOwnPropertyDescriptor(d, s));
1241
+ });
1242
+ }
1243
+ return u;
1244
+ }
1245
+ function qe(u, n) {
1246
+ for (var d = 0; d < n.length; d++) {
1247
+ var s = n[d];
1248
+ s.enumerable = s.enumerable || !1, s.configurable = !0, "value" in s && (s.writable = !0), Object.defineProperty(u, s.key, s);
1249
+ }
1250
+ }
1251
+ function Ce(u, n) {
1252
+ return Ce = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(d, s) {
1253
+ return d.__proto__ = s, d;
1254
+ }, Ce(u, n);
1255
+ }
1256
+ function Ze(u, n) {
1257
+ if (n && (we(n) === "object" || typeof n == "function"))
1258
+ return n;
1259
+ if (n !== void 0)
1260
+ throw new TypeError("Derived constructors may only return object or undefined");
1261
+ return J(u);
1262
+ }
1263
+ function J(u) {
1264
+ if (u === void 0)
1265
+ throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
1266
+ return u;
1267
+ }
1268
+ function pe(u) {
1269
+ return pe = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(n) {
1270
+ return n.__proto__ || Object.getPrototypeOf(n);
1271
+ }, pe(u);
1272
+ }
1273
+ function X(u, n, d) {
1274
+ return n in u ? Object.defineProperty(u, n, { value: d, enumerable: !0, configurable: !0, writable: !0 }) : u[n] = d, u;
1275
+ }
1276
+ var Pe = function(u) {
1277
+ (function(i, f) {
1278
+ if (typeof f != "function" && f !== null)
1279
+ throw new TypeError("Super expression must either be null or a function");
1280
+ i.prototype = Object.create(f && f.prototype, { constructor: { value: i, writable: !0, configurable: !0 } }), Object.defineProperty(i, "prototype", { writable: !1 }), f && Ce(i, f);
1281
+ })(y, u);
1282
+ var n, d, s, k, j, _ = (k = y, j = function() {
1283
+ if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham)
1284
+ return !1;
1285
+ if (typeof Proxy == "function")
1286
+ return !0;
1287
+ try {
1288
+ return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
1289
+ })), !0;
1290
+ } catch {
1291
+ return !1;
1292
+ }
1293
+ }(), function() {
1294
+ var i, f = pe(k);
1295
+ if (j) {
1296
+ var b = pe(this).constructor;
1297
+ i = Reflect.construct(f, arguments, b);
1298
+ } else
1299
+ i = f.apply(this, arguments);
1300
+ return Ze(this, i);
1301
+ });
1302
+ function y(i) {
1303
+ var f;
1304
+ (function(m, w) {
1305
+ if (!(m instanceof w))
1306
+ throw new TypeError("Cannot call a class as a function");
1307
+ })(this, y), f = _.call(this, i);
1308
+ var b = new be(i);
1309
+ return b.flattenNodes(i.nodes), b.deserializeLists({ checked: i.checked, expanded: i.expanded }), f.state = { id: i.id || "rct-".concat(r()), model: b, prevProps: i }, f.onCheck = f.onCheck.bind(J(f)), f.onExpand = f.onExpand.bind(J(f)), f.onNodeClick = f.onNodeClick.bind(J(f)), f.onExpandAll = f.onExpandAll.bind(J(f)), f.onCollapseAll = f.onCollapseAll.bind(J(f)), f.combineMemorized = p()(function(m, w) {
1310
+ return U(U({}, m), w);
1311
+ }).bind(J(f)), f;
1312
+ }
1313
+ return n = y, d = [{ key: "onCheck", value: function(i) {
1314
+ var f = this.props, b = f.checkModel, m = f.noCascade, w = f.onCheck, z = this.state.model.clone(), q = z.getNode(i.value);
1315
+ z.toggleChecked(i, i.checked, b, m), w(z.serializeList("checked"), U(U({}, q), i));
1316
+ } }, { key: "onExpand", value: function(i) {
1317
+ var f = this.props.onExpand, b = this.state.model.clone(), m = b.getNode(i.value);
1318
+ b.toggleNode(i.value, "expanded", i.expanded), f(b.serializeList("expanded"), U(U({}, m), i));
1319
+ } }, { key: "onNodeClick", value: function(i) {
1320
+ (0, this.props.onClick)(U(U({}, this.state.model.getNode(i.value)), i));
1321
+ } }, { key: "onExpandAll", value: function() {
1322
+ this.expandAllNodes();
1323
+ } }, { key: "onCollapseAll", value: function() {
1324
+ this.expandAllNodes(!1);
1325
+ } }, { key: "expandAllNodes", value: function() {
1326
+ var i = !(arguments.length > 0 && arguments[0] !== void 0) || arguments[0], f = this.props.onExpand;
1327
+ f(this.state.model.clone().expandAllNodes(i).serializeList("expanded"));
1328
+ } }, { key: "determineShallowCheckState", value: function(i, f) {
1329
+ var b = this.state.model.getNode(i.value);
1330
+ return b.isLeaf || f || i.children.length === 0 ? b.checked ? 1 : 0 : this.isEveryChildChecked(i) ? 1 : this.isSomeChildChecked(i) ? 2 : 0;
1331
+ } }, { key: "isEveryChildChecked", value: function(i) {
1332
+ var f = this;
1333
+ return i.children.every(function(b) {
1334
+ return f.state.model.getNode(b.value).checkState === 1;
1335
+ });
1336
+ } }, { key: "isSomeChildChecked", value: function(i) {
1337
+ var f = this;
1338
+ return i.children.some(function(b) {
1339
+ return f.state.model.getNode(b.value).checkState > 0;
1340
+ });
1341
+ } }, { key: "renderTreeNodes", value: function(i) {
1342
+ var f = this, b = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, m = this.props, w = m.expandDisabled, z = m.expandOnClick, q = m.icons, F = m.lang, $ = m.noCascade, G = m.onClick, Ne = m.onlyLeafCheckboxes, Z = m.optimisticToggle, ee = m.showNodeTitle, fe = m.showNodeIcon, ie = this.state, tt = ie.id, Fe = ie.model, nt = y.defaultProps.icons, rt = i.map(function(K) {
1343
+ var ot = K.value, V = Fe.getNode(K.value), at = V.isParent ? f.renderTreeNodes(K.children, K) : null;
1344
+ V.checkState = f.determineShallowCheckState(K, $);
1345
+ var it = Ne ? V.isLeaf : V.showCheckbox;
1346
+ return !b.value || Fe.getNode(b.value).expanded ? v().createElement(Ye, { key: ot, checked: V.checkState, className: K.className, disabled: V.disabled, expandDisabled: w, expandOnClick: z, expanded: V.expanded, icon: K.icon, icons: f.combineMemorized(nt, q), label: K.label, lang: F, optimisticToggle: Z, isLeaf: V.isLeaf, isParent: V.isParent, showCheckbox: it, showNodeIcon: fe, title: ee ? K.title || K.label : K.title, treeId: tt, value: K.value, onCheck: f.onCheck, onClick: G && f.onNodeClick, onExpand: f.onExpand }, at) : null;
1347
+ });
1348
+ return v().createElement("ol", null, rt);
1349
+ } }, { key: "renderExpandAll", value: function() {
1350
+ var i = this.props, f = i.icons, b = f.expandAll, m = f.collapseAll, w = i.lang;
1351
+ return i.showExpandAll ? v().createElement("div", { className: "rct-options" }, v().createElement(D, { className: "rct-option rct-option-expand-all", title: w.expandAll, onClick: this.onExpandAll }, b), v().createElement(D, { className: "rct-option rct-option-collapse-all", title: w.collapseAll, onClick: this.onCollapseAll }, m)) : null;
1352
+ } }, { key: "renderHiddenInput", value: function() {
1353
+ var i = this.props, f = i.name, b = i.nameAsArray;
1354
+ return f === void 0 ? null : b ? this.renderArrayHiddenInput() : this.renderJoinedHiddenInput();
1355
+ } }, { key: "renderArrayHiddenInput", value: function() {
1356
+ var i = this.props, f = i.checked, b = i.name;
1357
+ return f.map(function(m) {
1358
+ var w = "".concat(b, "[]");
1359
+ return v().createElement("input", { key: m, name: w, type: "hidden", value: m });
1360
+ });
1361
+ } }, { key: "renderJoinedHiddenInput", value: function() {
1362
+ var i = this.props, f = i.checked, b = i.name, m = f.join(",");
1363
+ return v().createElement("input", { name: b, type: "hidden", value: m });
1364
+ } }, { key: "render", value: function() {
1365
+ var i, f = this.props, b = f.direction, m = f.disabled, w = f.iconsClass, z = f.nodes, q = f.nativeCheckboxes, F = this.state.id, $ = this.renderTreeNodes(z), G = c()((X(i = { "react-checkbox-tree": !0, "rct-disabled": m }, "rct-icons-".concat(w), !0), X(i, "rct-native-display", q), X(i, "rct-direction-rtl", b === "rtl"), i));
1366
+ return v().createElement("div", { className: G, id: F }, this.renderExpandAll(), this.renderHiddenInput(), $);
1367
+ } }], s = [{ key: "getDerivedStateFromProps", value: function(i, f) {
1368
+ var b = f.model, m = f.prevProps, w = i.disabled, z = i.id, q = i.nodes, F = U(U({}, f), {}, { prevProps: i });
1369
+ return b.setProps(i), o()(m.nodes, q) && m.disabled === w || (b.reset(), b.flattenNodes(q)), z !== null && (F = U(U({}, F), {}, { id: z })), b.deserializeLists({ checked: i.checked, expanded: i.expanded }), F;
1370
+ } }], d && qe(n.prototype, d), s && qe(n, s), Object.defineProperty(n, "prototype", { writable: !1 }), y;
1371
+ }(v().Component);
1372
+ function Be(u) {
1373
+ return function(n) {
1374
+ if (Array.isArray(n))
1375
+ return Ee(n);
1376
+ }(u) || function(n) {
1377
+ if (typeof Symbol < "u" && n[Symbol.iterator] != null || n["@@iterator"] != null)
1378
+ return Array.from(n);
1379
+ }(u) || function(n, d) {
1380
+ if (n) {
1381
+ if (typeof n == "string")
1382
+ return Ee(n, d);
1383
+ var s = Object.prototype.toString.call(n).slice(8, -1);
1384
+ return s === "Object" && n.constructor && (s = n.constructor.name), s === "Map" || s === "Set" ? Array.from(n) : s === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s) ? Ee(n, d) : void 0;
1385
+ }
1386
+ }(u) || function() {
1387
+ throw new TypeError(`Invalid attempt to spread non-iterable instance.
1388
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
1389
+ }();
1390
+ }
1391
+ function Ee(u, n) {
1392
+ (n == null || n > u.length) && (n = u.length);
1393
+ for (var d = 0, s = new Array(n); d < n; d++)
1394
+ s[d] = u[d];
1395
+ return s;
1396
+ }
1397
+ function Me(u, n) {
1398
+ var d = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : 0;
1399
+ if (d > n)
1400
+ return [];
1401
+ var s = [];
1402
+ return u.forEach(function(k) {
1403
+ k.children && (s = [].concat(Be(s), [k.value], Be(Me(k.children, n, d + 1))));
1404
+ }), s;
1405
+ }
1406
+ X(Pe, "propTypes", { nodes: a().arrayOf(Xe).isRequired, checkModel: a().oneOf([M.LEAF, M.ALL]), checked: Le, direction: a().string, disabled: a().bool, expandDisabled: a().bool, expandOnClick: a().bool, expanded: Le, icons: Se, iconsClass: a().string, id: a().string, lang: Te, name: a().string, nameAsArray: a().bool, nativeCheckboxes: a().bool, noCascade: a().bool, onlyLeafCheckboxes: a().bool, optimisticToggle: a().bool, showExpandAll: a().bool, showNodeIcon: a().bool, showNodeTitle: a().bool, onCheck: a().func, onClick: a().func, onExpand: a().func }), X(Pe, "defaultProps", { checkModel: M.LEAF, checked: [], direction: "ltr", disabled: !1, expandDisabled: !1, expandOnClick: !1, expanded: [], icons: { check: v().createElement("span", { className: "rct-icon rct-icon-check" }), uncheck: v().createElement("span", { className: "rct-icon rct-icon-uncheck" }), halfCheck: v().createElement("span", { className: "rct-icon rct-icon-half-check" }), expandClose: v().createElement("span", { className: "rct-icon rct-icon-expand-close" }), expandOpen: v().createElement("span", { className: "rct-icon rct-icon-expand-open" }), expandAll: v().createElement("span", { className: "rct-icon rct-icon-expand-all" }), collapseAll: v().createElement("span", { className: "rct-icon rct-icon-collapse-all" }), parentClose: v().createElement("span", { className: "rct-icon rct-icon-parent-close" }), parentOpen: v().createElement("span", { className: "rct-icon rct-icon-parent-open" }), leaf: v().createElement("span", { className: "rct-icon rct-icon-leaf" }) }, iconsClass: "fa4", id: null, lang: { collapseAll: "Collapse all", expandAll: "Expand all", toggle: "Toggle" }, name: void 0, nameAsArray: !1, nativeCheckboxes: !1, noCascade: !1, onlyLeafCheckboxes: !1, optimisticToggle: !0, showExpandAll: !1, showNodeIcon: !0, showNodeTitle: !1, onCheck: function() {
1407
+ }, onClick: null, onExpand: function() {
1408
+ } });
1409
+ const et = Pe;
1410
+ })(), re;
1411
+ })());
1412
+ })(Ke);
1413
+ var ht = Ke.exports;
1414
+ const yt = /* @__PURE__ */ st(ht);
1415
+ function kt({ nodes: de, onCheck: he, onExpand: te, ...ne }) {
1416
+ const [ce, L] = Ue([]), [re, t] = Ue([]);
1417
+ function c(o, l) {
1418
+ he && he(o, l), L(o);
1419
+ }
1420
+ function e(o, l) {
1421
+ te && te(o, l), t(o);
1422
+ }
1423
+ return /* @__PURE__ */ H.jsx("div", { children: /* @__PURE__ */ H.jsx(
1424
+ yt,
1425
+ {
1426
+ icons: {
1427
+ leaf: /* @__PURE__ */ H.jsx("span", {}),
1428
+ parentOpen: /* @__PURE__ */ H.jsx("span", {}),
1429
+ parentClose: /* @__PURE__ */ H.jsx("span", {}),
1430
+ check: /* @__PURE__ */ H.jsx(lt, { color: "primary" }),
1431
+ expandOpen: /* @__PURE__ */ H.jsx(ut, {}),
1432
+ uncheck: /* @__PURE__ */ H.jsx(pt, {}),
1433
+ expandClose: /* @__PURE__ */ H.jsx(ft, {}),
1434
+ halfCheck: /* @__PURE__ */ H.jsx(dt, { color: "primary" })
1435
+ },
1436
+ nodes: de,
1437
+ onCheck: c,
1438
+ checked: ce,
1439
+ expanded: re,
1440
+ onExpand: e,
1441
+ ...ne
1442
+ }
1443
+ ) });
1444
+ }
1445
+ export {
1446
+ kt as KdpaTree
1447
+ };