@contentmunch/contentmunch-ui 1.1.4 → 1.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/index.es.js CHANGED
@@ -1,4 +1,4 @@
1
- import o1, { useState as S, Fragment as s, useRef as d1, useCallback as G, useEffect as Q, useMemo as l1 } from "react";
1
+ import o1, { useState as H, Fragment as s, useRef as h1, useCallback as q, useEffect as Z, useMemo as x1 } from "react";
2
2
  var K = { exports: {} }, B = {};
3
3
  /**
4
4
  * @license React
@@ -14,19 +14,19 @@ function y1() {
14
14
  if (t1) return B;
15
15
  t1 = 1;
16
16
  var n = Symbol.for("react.transitional.element"), l = Symbol.for("react.fragment");
17
- function r(i, c, x) {
17
+ function r(c, t, i) {
18
18
  var o = null;
19
- if (x !== void 0 && (o = "" + x), c.key !== void 0 && (o = "" + c.key), "key" in c) {
20
- x = {};
21
- for (var a in c)
22
- a !== "key" && (x[a] = c[a]);
23
- } else x = c;
24
- return c = x.ref, {
19
+ if (i !== void 0 && (o = "" + i), t.key !== void 0 && (o = "" + t.key), "key" in t) {
20
+ i = {};
21
+ for (var a in t)
22
+ a !== "key" && (i[a] = t[a]);
23
+ } else i = t;
24
+ return t = i.ref, {
25
25
  $$typeof: n,
26
- type: i,
26
+ type: c,
27
27
  key: o,
28
- ref: c !== void 0 ? c : null,
29
- props: x
28
+ ref: t !== void 0 ? t : null,
29
+ props: i
30
30
  };
31
31
  }
32
32
  return B.Fragment = l, B.jsx = r, B.jsxs = r, B;
@@ -41,166 +41,166 @@ var J = {};
41
41
  * This source code is licensed under the MIT license found in the
42
42
  * LICENSE file in the root directory of this source tree.
43
43
  */
44
- var c1;
45
- function u1() {
46
- return c1 || (c1 = 1, process.env.NODE_ENV !== "production" && function() {
47
- function n(t) {
48
- if (t == null) return null;
49
- if (typeof t == "function")
50
- return t.$$typeof === z ? null : t.displayName || t.name || null;
51
- if (typeof t == "string") return t;
52
- switch (t) {
44
+ var i1;
45
+ function p1() {
46
+ return i1 || (i1 = 1, process.env.NODE_ENV !== "production" && function() {
47
+ function n(x) {
48
+ if (x == null) return null;
49
+ if (typeof x == "function")
50
+ return x.$$typeof === A ? null : x.displayName || x.name || null;
51
+ if (typeof x == "string") return x;
52
+ switch (x) {
53
53
  case g:
54
54
  return "Fragment";
55
55
  case f:
56
56
  return "Profiler";
57
57
  case _:
58
58
  return "StrictMode";
59
- case b:
59
+ case M:
60
60
  return "Suspense";
61
- case H:
61
+ case S:
62
62
  return "SuspenseList";
63
63
  case k:
64
64
  return "Activity";
65
65
  }
66
- if (typeof t == "object")
67
- switch (typeof t.tag == "number" && console.error(
66
+ if (typeof x == "object")
67
+ switch (typeof x.tag == "number" && console.error(
68
68
  "Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
69
- ), t.$$typeof) {
69
+ ), x.$$typeof) {
70
70
  case N:
71
71
  return "Portal";
72
72
  case C:
73
- return (t.displayName || "Context") + ".Provider";
73
+ return (x.displayName || "Context") + ".Provider";
74
74
  case E:
75
- return (t._context.displayName || "Context") + ".Consumer";
76
- case A:
77
- var u = t.render;
78
- return t = t.displayName, t || (t = u.displayName || u.name || "", t = t !== "" ? "ForwardRef(" + t + ")" : "ForwardRef"), t;
75
+ return (x._context.displayName || "Context") + ".Consumer";
76
+ case z:
77
+ var p = x.render;
78
+ return x = x.displayName, x || (x = p.displayName || p.name || "", x = x !== "" ? "ForwardRef(" + x + ")" : "ForwardRef"), x;
79
79
  case P:
80
- return u = t.displayName || null, u !== null ? u : n(t.type) || "Memo";
80
+ return p = x.displayName || null, p !== null ? p : n(x.type) || "Memo";
81
81
  case m:
82
- u = t._payload, t = t._init;
82
+ p = x._payload, x = x._init;
83
83
  try {
84
- return n(t(u));
84
+ return n(x(p));
85
85
  } catch {
86
86
  }
87
87
  }
88
88
  return null;
89
89
  }
90
- function l(t) {
91
- return "" + t;
90
+ function l(x) {
91
+ return "" + x;
92
92
  }
93
- function r(t) {
93
+ function r(x) {
94
94
  try {
95
- l(t);
96
- var u = !1;
95
+ l(x);
96
+ var p = !1;
97
97
  } catch {
98
- u = !0;
98
+ p = !0;
99
99
  }
100
- if (u) {
101
- u = console;
102
- var M = u.error, R = typeof Symbol == "function" && Symbol.toStringTag && t[Symbol.toStringTag] || t.constructor.name || "Object";
103
- return M.call(
104
- u,
100
+ if (p) {
101
+ p = console;
102
+ var b = p.error, R = typeof Symbol == "function" && Symbol.toStringTag && x[Symbol.toStringTag] || x.constructor.name || "Object";
103
+ return b.call(
104
+ p,
105
105
  "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
106
106
  R
107
- ), l(t);
107
+ ), l(x);
108
108
  }
109
109
  }
110
- function i(t) {
111
- if (t === g) return "<>";
112
- if (typeof t == "object" && t !== null && t.$$typeof === m)
110
+ function c(x) {
111
+ if (x === g) return "<>";
112
+ if (typeof x == "object" && x !== null && x.$$typeof === m)
113
113
  return "<...>";
114
114
  try {
115
- var u = n(t);
116
- return u ? "<" + u + ">" : "<...>";
115
+ var p = n(x);
116
+ return p ? "<" + p + ">" : "<...>";
117
117
  } catch {
118
118
  return "<...>";
119
119
  }
120
120
  }
121
- function c() {
122
- var t = O.A;
123
- return t === null ? null : t.getOwner();
121
+ function t() {
122
+ var x = O.A;
123
+ return x === null ? null : x.getOwner();
124
124
  }
125
- function x() {
125
+ function i() {
126
126
  return Error("react-stack-top-frame");
127
127
  }
128
- function o(t) {
129
- if (X.call(t, "key")) {
130
- var u = Object.getOwnPropertyDescriptor(t, "key").get;
131
- if (u && u.isReactWarning) return !1;
128
+ function o(x) {
129
+ if (X.call(x, "key")) {
130
+ var p = Object.getOwnPropertyDescriptor(x, "key").get;
131
+ if (p && p.isReactWarning) return !1;
132
132
  }
133
- return t.key !== void 0;
133
+ return x.key !== void 0;
134
134
  }
135
- function a(t, u) {
136
- function M() {
135
+ function a(x, p) {
136
+ function b() {
137
137
  $ || ($ = !0, console.error(
138
138
  "%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)",
139
- u
139
+ p
140
140
  ));
141
141
  }
142
- M.isReactWarning = !0, Object.defineProperty(t, "key", {
143
- get: M,
142
+ b.isReactWarning = !0, Object.defineProperty(x, "key", {
143
+ get: b,
144
144
  configurable: !0
145
145
  });
146
146
  }
147
- function j() {
148
- var t = n(this.type);
149
- return Y[t] || (Y[t] = !0, console.error(
147
+ function d() {
148
+ var x = n(this.type);
149
+ return Y[x] || (Y[x] = !0, console.error(
150
150
  "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."
151
- )), t = this.props.ref, t !== void 0 ? t : null;
151
+ )), x = this.props.ref, x !== void 0 ? x : null;
152
152
  }
153
- function y(t, u, M, R, D, L, e1, s1) {
154
- return M = L.ref, t = {
153
+ function y(x, p, b, R, D, L, s1, n1) {
154
+ return b = L.ref, x = {
155
155
  $$typeof: v,
156
- type: t,
157
- key: u,
156
+ type: x,
157
+ key: p,
158
158
  props: L,
159
159
  _owner: D
160
- }, (M !== void 0 ? M : null) !== null ? Object.defineProperty(t, "ref", {
160
+ }, (b !== void 0 ? b : null) !== null ? Object.defineProperty(x, "ref", {
161
161
  enumerable: !1,
162
- get: j
163
- }) : Object.defineProperty(t, "ref", { enumerable: !1, value: null }), t._store = {}, Object.defineProperty(t._store, "validated", {
162
+ get: d
163
+ }) : Object.defineProperty(x, "ref", { enumerable: !1, value: null }), x._store = {}, Object.defineProperty(x._store, "validated", {
164
164
  configurable: !1,
165
165
  enumerable: !1,
166
166
  writable: !0,
167
167
  value: 0
168
- }), Object.defineProperty(t, "_debugInfo", {
168
+ }), Object.defineProperty(x, "_debugInfo", {
169
169
  configurable: !1,
170
170
  enumerable: !1,
171
171
  writable: !0,
172
172
  value: null
173
- }), Object.defineProperty(t, "_debugStack", {
173
+ }), Object.defineProperty(x, "_debugStack", {
174
174
  configurable: !1,
175
175
  enumerable: !1,
176
176
  writable: !0,
177
- value: e1
178
- }), Object.defineProperty(t, "_debugTask", {
177
+ value: s1
178
+ }), Object.defineProperty(x, "_debugTask", {
179
179
  configurable: !1,
180
180
  enumerable: !1,
181
181
  writable: !0,
182
- value: s1
183
- }), Object.freeze && (Object.freeze(t.props), Object.freeze(t)), t;
182
+ value: n1
183
+ }), Object.freeze && (Object.freeze(x.props), Object.freeze(x)), x;
184
184
  }
185
- function d(t, u, M, R, D, L, e1, s1) {
186
- var T = u.children;
185
+ function h(x, p, b, R, D, L, s1, n1) {
186
+ var T = p.children;
187
187
  if (T !== void 0)
188
188
  if (R)
189
- if (Z(T)) {
189
+ if (e1(T)) {
190
190
  for (R = 0; R < T.length; R++)
191
- h(T[R]);
191
+ j(T[R]);
192
192
  Object.freeze && Object.freeze(T);
193
193
  } else
194
194
  console.error(
195
195
  "React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
196
196
  );
197
- else h(T);
198
- if (X.call(u, "key")) {
199
- T = n(t);
200
- var F = Object.keys(u).filter(function(j1) {
201
- return j1 !== "key";
197
+ else j(T);
198
+ if (X.call(p, "key")) {
199
+ T = n(x);
200
+ var F = Object.keys(p).filter(function(d1) {
201
+ return d1 !== "key";
202
202
  });
203
- R = 0 < F.length ? "{key: someKey, " + F.join(": ..., ") + ": ...}" : "{key: someKey}", r1[T + R] || (F = 0 < F.length ? "{" + F.join(": ..., ") + ": ...}" : "{}", console.error(
203
+ R = 0 < F.length ? "{key: someKey, " + F.join(": ..., ") + ": ...}" : "{key: someKey}", l1[T + R] || (F = 0 < F.length ? "{" + F.join(": ..., ") + ": ...}" : "{}", console.error(
204
204
  `A props object containing a "key" prop is being spread into JSX:
205
205
  let props = %s;
206
206
  <%s {...props} />
@@ -211,116 +211,119 @@ React keys must be passed directly to JSX without using spread:
211
211
  T,
212
212
  F,
213
213
  T
214
- ), r1[T + R] = !0);
214
+ ), l1[T + R] = !0);
215
215
  }
216
- if (T = null, M !== void 0 && (r(M), T = "" + M), o(u) && (r(u.key), T = "" + u.key), "key" in u) {
217
- M = {};
218
- for (var n1 in u)
219
- n1 !== "key" && (M[n1] = u[n1]);
220
- } else M = u;
216
+ if (T = null, b !== void 0 && (r(b), T = "" + b), o(p) && (r(p.key), T = "" + p.key), "key" in p) {
217
+ b = {};
218
+ for (var r1 in p)
219
+ r1 !== "key" && (b[r1] = p[r1]);
220
+ } else b = p;
221
221
  return T && a(
222
- M,
223
- typeof t == "function" ? t.displayName || t.name || "Unknown" : t
222
+ b,
223
+ typeof x == "function" ? x.displayName || x.name || "Unknown" : x
224
224
  ), y(
225
- t,
225
+ x,
226
226
  T,
227
227
  L,
228
228
  D,
229
- c(),
230
- M,
231
- e1,
232
- s1
229
+ t(),
230
+ b,
231
+ s1,
232
+ n1
233
233
  );
234
234
  }
235
- function h(t) {
236
- typeof t == "object" && t !== null && t.$$typeof === v && t._store && (t._store.validated = 1);
235
+ function j(x) {
236
+ typeof x == "object" && x !== null && x.$$typeof === v && x._store && (x._store.validated = 1);
237
237
  }
238
- var p = o1, v = Symbol.for("react.transitional.element"), N = Symbol.for("react.portal"), g = Symbol.for("react.fragment"), _ = Symbol.for("react.strict_mode"), f = Symbol.for("react.profiler"), E = Symbol.for("react.consumer"), C = Symbol.for("react.context"), A = Symbol.for("react.forward_ref"), b = Symbol.for("react.suspense"), H = Symbol.for("react.suspense_list"), P = Symbol.for("react.memo"), m = Symbol.for("react.lazy"), k = Symbol.for("react.activity"), z = Symbol.for("react.client.reference"), O = p.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, X = Object.prototype.hasOwnProperty, Z = Array.isArray, I = console.createTask ? console.createTask : function() {
238
+ var u = o1, v = Symbol.for("react.transitional.element"), N = Symbol.for("react.portal"), g = Symbol.for("react.fragment"), _ = Symbol.for("react.strict_mode"), f = Symbol.for("react.profiler"), E = Symbol.for("react.consumer"), C = Symbol.for("react.context"), z = Symbol.for("react.forward_ref"), M = Symbol.for("react.suspense"), S = Symbol.for("react.suspense_list"), P = Symbol.for("react.memo"), m = Symbol.for("react.lazy"), k = Symbol.for("react.activity"), A = Symbol.for("react.client.reference"), O = u.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, X = Object.prototype.hasOwnProperty, e1 = Array.isArray, I = console.createTask ? console.createTask : function() {
239
239
  return null;
240
240
  };
241
- p = {
242
- "react-stack-bottom-frame": function(t) {
243
- return t();
241
+ u = {
242
+ "react-stack-bottom-frame": function(x) {
243
+ return x();
244
244
  }
245
245
  };
246
- var $, Y = {}, U = p["react-stack-bottom-frame"].bind(
247
- p,
248
- x
249
- )(), W = I(i(x)), r1 = {};
250
- J.Fragment = g, J.jsx = function(t, u, M, R, D) {
246
+ var $, Y = {}, U = u["react-stack-bottom-frame"].bind(
247
+ u,
248
+ i
249
+ )(), W = I(c(i)), l1 = {};
250
+ J.Fragment = g, J.jsx = function(x, p, b, R, D) {
251
251
  var L = 1e4 > O.recentlyCreatedOwnerStacks++;
252
- return d(
253
- t,
254
- u,
255
- M,
252
+ return h(
253
+ x,
254
+ p,
255
+ b,
256
256
  !1,
257
257
  R,
258
258
  D,
259
259
  L ? Error("react-stack-top-frame") : U,
260
- L ? I(i(t)) : W
260
+ L ? I(c(x)) : W
261
261
  );
262
- }, J.jsxs = function(t, u, M, R, D) {
262
+ }, J.jsxs = function(x, p, b, R, D) {
263
263
  var L = 1e4 > O.recentlyCreatedOwnerStacks++;
264
- return d(
265
- t,
266
- u,
267
- M,
264
+ return h(
265
+ x,
266
+ p,
267
+ b,
268
268
  !0,
269
269
  R,
270
270
  D,
271
271
  L ? Error("react-stack-top-frame") : U,
272
- L ? I(i(t)) : W
272
+ L ? I(c(x)) : W
273
273
  );
274
274
  };
275
275
  }()), J;
276
276
  }
277
- var i1;
278
- function p1() {
279
- return i1 || (i1 = 1, process.env.NODE_ENV === "production" ? K.exports = y1() : K.exports = u1()), K.exports;
277
+ var c1;
278
+ function u1() {
279
+ return c1 || (c1 = 1, process.env.NODE_ENV === "production" ? K.exports = y1() : K.exports = p1()), K.exports;
280
280
  }
281
- var e = p1();
282
- const A1 = ({ variant: n, collapsed: l, children: r }) => {
283
- const { folds: i } = r, [c, x] = S(l ? -1 : 0), o = (d) => d === c ? "fold active" : "fold", a = (d) => "fold-button" + (n ? " fold-button--" + n : "") + (i[d].foldColor ? " fold-button--primary fold-button--" + i[d].foldColor : ""), j = (d) => {
284
- const h = d.which.toString(), p = d.ctrlKey && h.match(/33|34/);
285
- if (h.match(/38|40/) || p) {
286
- const v = h.match(/34|40/) ? 1 : -1, N = i.length, g = (c + N + v) % N;
287
- x(g);
281
+ var e = u1();
282
+ const z1 = ({ variant: n, collapsed: l, children: r }) => {
283
+ const { folds: c } = r, [t, i] = H(l ? -1 : 0), o = (h) => h === t ? "fold active" : "fold", a = (h) => "fold-button" + (n ? " fold-button--" + n : "") + (c[h].foldColor ? " fold-button--primary fold-button--" + c[h].foldColor : ""), d = (h) => {
284
+ const j = h.which.toString(), u = h.ctrlKey && j.match(/33|34/);
285
+ if (j.match(/38|40/) || u) {
286
+ const v = j.match(/34|40/) ? 1 : -1, N = c.length, g = (t + N + v) % N;
287
+ i(g);
288
288
  } else
289
- h === "36" && x(0), h === "35" && x(i.length - 1);
290
- d.preventDefault();
291
- }, y = (d) => {
292
- x(c === d ? -1 : d);
289
+ j === "36" && i(0), j === "35" && i(c.length - 1);
290
+ h.preventDefault();
291
+ }, y = (h) => {
292
+ i(t === h ? -1 : h);
293
293
  };
294
- return /* @__PURE__ */ e.jsx("div", { className: "muncher-accordion", children: i.map(
295
- (d, h) => /* @__PURE__ */ e.jsxs(
294
+ return /* @__PURE__ */ e.jsx("div", { className: "muncher-accordion", children: c.map(
295
+ (h, j) => /* @__PURE__ */ e.jsxs(
296
296
  "div",
297
297
  {
298
- className: o(h),
299
- "aria-expanded": c === h,
298
+ className: o(j),
299
+ "aria-expanded": t === j,
300
300
  children: [
301
301
  /* @__PURE__ */ e.jsx(
302
302
  "button",
303
303
  {
304
- className: a(h),
305
- onKeyDown: j,
306
- onClick: () => y(h),
307
- children: /* @__PURE__ */ e.jsx("span", { children: d.heading })
304
+ className: a(j),
305
+ onKeyDown: d,
306
+ onClick: () => y(j),
307
+ children: /* @__PURE__ */ e.jsx("span", { children: h.heading })
308
308
  }
309
309
  ),
310
- /* @__PURE__ */ e.jsx("section", { className: "fold-content", children: d.body })
310
+ /* @__PURE__ */ e.jsx("section", { className: "fold-content", children: h.body })
311
311
  ]
312
312
  },
313
- "muncher-accordion-fold-" + h
313
+ "muncher-accordion-fold-" + j
314
314
  )
315
315
  ) });
316
316
  }, m1 = ({
317
317
  show: n = !1,
318
318
  backdropClickHandler: l,
319
319
  ...r
320
- }) => n ? /* @__PURE__ */ e.jsx("div", { className: "muncher-backdrop", onClick: l, ...r }) : null, f1 = ({ variant: n, rounded: l, border: r, children: i, ...c }) => {
321
- const x = "muncher-badge" + (n ? " muncher-badge--" + n : "") + (l ? " muncher-badge--rounded" : "") + (r ? " muncher-badge--border" : "");
322
- return /* @__PURE__ */ e.jsx("div", { className: x, ...c, children: i });
323
- }, x1 = {
320
+ }) => n ? /* @__PURE__ */ e.jsx("div", { className: "muncher-backdrop", onClick: l, ...r }) : null, f1 = ({ variant: n, rounded: l, border: r, children: c, ...t }) => {
321
+ const i = "muncher-badge" + (n ? " muncher-badge--" + n : "") + (l ? " muncher-badge--rounded" : "") + (r ? " muncher-badge--border" : "");
322
+ return /* @__PURE__ */ e.jsx("div", { className: i, ...t, children: c });
323
+ }, Q = {
324
+ // Navigation & Movement (Anything related to direction, traversal, layout movement)
325
+ // Actions & Controls (Generic system actions and state changes)
326
+ // Content & Creation
324
327
  "align-center": /* @__PURE__ */ e.jsxs(s, { children: [
325
328
  /* @__PURE__ */ e.jsx("line", { x1: "18", y1: "10", x2: "6", y2: "10" }),
326
329
  /* @__PURE__ */ e.jsx("line", { x1: "21", y1: "6", x2: "3", y2: "6" }),
@@ -350,6 +353,19 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
350
353
  /* @__PURE__ */ e.jsx("line", { x1: "9", y1: "20", x2: "15", y2: "20" }),
351
354
  /* @__PURE__ */ e.jsx("line", { x1: "12", y1: "4", x2: "12", y2: "20" })
352
355
  ] }),
356
+ italic: /* @__PURE__ */ e.jsxs(s, { children: [
357
+ /* @__PURE__ */ e.jsx("line", { x1: "19", y1: "4", x2: "10", y2: "4" }),
358
+ /* @__PURE__ */ e.jsx("line", { x1: "14", y1: "20", x2: "5", y2: "20" }),
359
+ /* @__PURE__ */ e.jsx("line", { x1: "15", y1: "4", x2: "9", y2: "20" })
360
+ ] }),
361
+ bold: /* @__PURE__ */ e.jsxs(s, { children: [
362
+ /* @__PURE__ */ e.jsx("path", { d: "M6 4h8a4 4 0 0 1 4 4 4 4 0 0 1-4 4H6z" }),
363
+ /* @__PURE__ */ e.jsx("path", { d: "M6 12h9a4 4 0 0 1 4 4 4 4 0 0 1-4 4H6z" })
364
+ ] }),
365
+ underline: /* @__PURE__ */ e.jsxs(s, { children: [
366
+ /* @__PURE__ */ e.jsx("path", { d: "M6 3v7a6 6 0 0 0 6 6 6 6 0 0 0 6-6V3" }),
367
+ /* @__PURE__ */ e.jsx("line", { x1: "4", y1: "21", x2: "20", y2: "21" })
368
+ ] }),
353
369
  "ordered-list": /* @__PURE__ */ e.jsxs(s, { children: [
354
370
  /* @__PURE__ */ e.jsx("line", { x1: "9", y1: "5", x2: "21", y2: "5" }),
355
371
  /* @__PURE__ */ e.jsx("line", { x1: "9", y1: "12", x2: "21", y2: "12" }),
@@ -366,12 +382,6 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
366
382
  /* @__PURE__ */ e.jsx("circle", { cx: "4", cy: "5", r: "1" }),
367
383
  /* @__PURE__ */ e.jsx("circle", { cx: "4", cy: "19", r: "1" })
368
384
  ] }),
369
- table: /* @__PURE__ */ e.jsxs(s, { children: [
370
- /* @__PURE__ */ e.jsx("rect", { x: "3", y: "3", width: "18", height: "18", rx: "2", ry: "2" }),
371
- /* @__PURE__ */ e.jsx("line", { x1: "3", y1: "9", x2: "21", y2: "9" }),
372
- /* @__PURE__ */ e.jsx("line", { x1: "3", y1: "15", x2: "21", y2: "15" }),
373
- /* @__PURE__ */ e.jsx("line", { x1: "12", y1: "3", x2: "12", y2: "21" })
374
- ] }),
375
385
  undo: /* @__PURE__ */ e.jsxs(s, { children: [
376
386
  /* @__PURE__ */ e.jsx("polyline", { points: "2 10 2 16 8 16" }),
377
387
  /* @__PURE__ */ e.jsx("path", { d: "m22 16c-1.8136-6.5424-9.5593-9.4823-15.36-4.36l-4.64 4.36" })
@@ -392,31 +402,6 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
392
402
  /* @__PURE__ */ e.jsx("line", { x1: "16", y1: "19", x2: "16", y2: "22" }),
393
403
  /* @__PURE__ */ e.jsx("line", { x1: "19", y1: "16", x2: "22", y2: "16" })
394
404
  ] }),
395
- "arrow-left": /* @__PURE__ */ e.jsxs(s, { children: [
396
- /* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "12", r: "10" }),
397
- /* @__PURE__ */ e.jsx("polyline", { points: "12 8 8 12 12 16" }),
398
- /* @__PURE__ */ e.jsx("line", { x1: "16", y1: "12", x2: "8", y2: "12" })
399
- ] }),
400
- "arrow-right": /* @__PURE__ */ e.jsxs(s, { children: [
401
- /* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "12", r: "10" }),
402
- /* @__PURE__ */ e.jsx("polyline", { points: "12 16 16 12 12 8" }),
403
- /* @__PURE__ */ e.jsx("line", { x1: "8", y1: "12", x2: "16", y2: "12" })
404
- ] }),
405
- "arrow-down": /* @__PURE__ */ e.jsxs(s, { children: [
406
- /* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "12", r: "10" }),
407
- /* @__PURE__ */ e.jsx("polyline", { points: "8 12 12 16 16 12" }),
408
- /* @__PURE__ */ e.jsx("line", { x1: "12", y1: "8", x2: "12", y2: "16" })
409
- ] }),
410
- "arrow-up": /* @__PURE__ */ e.jsxs(s, { children: [
411
- /* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "12", r: "10" }),
412
- /* @__PURE__ */ e.jsx("polyline", { points: "16 12 12 8 8 12" }),
413
- /* @__PURE__ */ e.jsx("line", { x1: "12", y1: "16", x2: "12", y2: "8" })
414
- ] }),
415
- anchor: /* @__PURE__ */ e.jsxs(s, { children: [
416
- /* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "5", r: "3" }),
417
- /* @__PURE__ */ e.jsx("line", { x1: "12", y1: "22", x2: "12", y2: "8" }),
418
- /* @__PURE__ */ e.jsx("path", { d: "M5 12H2a10 10 0 0 0 20 0h-3" })
419
- ] }),
420
405
  hamburger: /* @__PURE__ */ e.jsxs(s, { children: [
421
406
  /* @__PURE__ */ e.jsx("line", { x1: "3", y1: "12", x2: "21", y2: "12" }),
422
407
  /* @__PURE__ */ e.jsx("line", { x1: "3", y1: "6", x2: "21", y2: "6" }),
@@ -471,10 +456,7 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
471
456
  ),
472
457
  /* @__PURE__ */ e.jsx("polygon", { points: "9.75 15.02 15.5 11.75 9.75 8.48 9.75 15.02" })
473
458
  ] }),
474
- clock: /* @__PURE__ */ e.jsxs(s, { children: [
475
- /* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "12", r: "10" }),
476
- /* @__PURE__ */ e.jsx("polyline", { points: "12 6 12 12 16 14" })
477
- ] }),
459
+ moon: /* @__PURE__ */ e.jsx(s, { children: /* @__PURE__ */ e.jsx("path", { d: "M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z" }) }),
478
460
  cloud: /* @__PURE__ */ e.jsx(s, { children: /* @__PURE__ */ e.jsx("path", { d: "M18 10h-1.26A8 8 0 1 0 9 20h9a5 5 0 0 0 0-10z" }) }),
479
461
  "cloud-drizzle": /* @__PURE__ */ e.jsxs(s, { children: [
480
462
  /* @__PURE__ */ e.jsx("line", { x1: "8", y1: "19", x2: "8", y2: "21" }),
@@ -489,6 +471,12 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
489
471
  /* @__PURE__ */ e.jsx("path", { d: "M19 16.9A5 5 0 0 0 18 7h-1.26a8 8 0 1 0-11.62 9" }),
490
472
  /* @__PURE__ */ e.jsx("polyline", { points: "13 11 9 17 15 17 11 23" })
491
473
  ] }),
474
+ server: /* @__PURE__ */ e.jsxs(s, { children: [
475
+ /* @__PURE__ */ e.jsx("rect", { x: "2", y: "2", width: "20", height: "8", rx: "2", ry: "2" }),
476
+ /* @__PURE__ */ e.jsx("rect", { x: "2", y: "14", width: "20", height: "8", rx: "2", ry: "2" }),
477
+ /* @__PURE__ */ e.jsx("line", { x1: "6", y1: "6", x2: "6.01", y2: "6" }),
478
+ /* @__PURE__ */ e.jsx("line", { x1: "6", y1: "18", x2: "6.01", y2: "18" })
479
+ ] }),
492
480
  camera: /* @__PURE__ */ e.jsxs(s, { children: [
493
481
  /* @__PURE__ */ e.jsx("path", { d: "M23 19a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h4l2-3h6l2 3h4a2 2 0 0 1 2 2z" }),
494
482
  /* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "13", r: "4" })
@@ -509,24 +497,16 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
509
497
  /* @__PURE__ */ e.jsx("line", { x1: "10", y1: "1", x2: "10", y2: "4" }),
510
498
  /* @__PURE__ */ e.jsx("line", { x1: "14", y1: "1", x2: "14", y2: "4" })
511
499
  ] }),
512
- compass: /* @__PURE__ */ e.jsxs(s, { children: [
513
- /* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "12", r: "10" }),
514
- /* @__PURE__ */ e.jsx("polygon", { points: "16.24 7.76 14.12 14.12 7.76 16.24 9.88 9.88 16.24 7.76" })
515
- ] }),
516
500
  eye: /* @__PURE__ */ e.jsxs(s, { children: [
517
501
  /* @__PURE__ */ e.jsx("path", { d: "M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z" }),
518
502
  /* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "12", r: "3" })
519
503
  ] }),
504
+ droplet: /* @__PURE__ */ e.jsx(s, { children: /* @__PURE__ */ e.jsx("path", { d: "M12 2.69l5.66 5.66a8 8 0 1 1-11.31 0z" }) }),
520
505
  feather: /* @__PURE__ */ e.jsxs(s, { children: [
521
506
  /* @__PURE__ */ e.jsx("path", { d: "M20.24 12.24a6 6 0 0 0-8.49-8.49L5 10.5V19h8.5z" }),
522
507
  /* @__PURE__ */ e.jsx("line", { x1: "16", y1: "8", x2: "2", y2: "22" }),
523
508
  /* @__PURE__ */ e.jsx("line", { x1: "17.5", y1: "15", x2: "9", y2: "15" })
524
509
  ] }),
525
- globe: /* @__PURE__ */ e.jsxs(s, { children: [
526
- /* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "12", r: "10" }),
527
- /* @__PURE__ */ e.jsx("line", { x1: "2", y1: "12", x2: "22", y2: "12" }),
528
- /* @__PURE__ */ e.jsx("path", { d: "M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z" })
529
- ] }),
530
510
  headphone: /* @__PURE__ */ e.jsxs(s, { children: [
531
511
  /* @__PURE__ */ e.jsx("path", { d: "M3 18v-6a9 9 0 0 1 18 0v6" }),
532
512
  /* @__PURE__ */ e.jsx(
@@ -536,12 +516,20 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
536
516
  }
537
517
  )
538
518
  ] }),
519
+ slash: /* @__PURE__ */ e.jsxs(s, { children: [
520
+ /* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "12", r: "10" }),
521
+ /* @__PURE__ */ e.jsx("line", { x1: "4.93", y1: "4.93", x2: "19.07", y2: "19.07" })
522
+ ] }),
523
+ circle: /* @__PURE__ */ e.jsx(s, { children: /* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "12", r: "10" }) }),
524
+ triangle: /* @__PURE__ */ e.jsx(s, { children: /* @__PURE__ */ e.jsx("path", { d: "M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z" }) }),
525
+ square: /* @__PURE__ */ e.jsx(s, { children: /* @__PURE__ */ e.jsx("rect", { x: "3", y: "3", width: "18", height: "18", rx: "2", ry: "2" }) }),
539
526
  hexagon: /* @__PURE__ */ e.jsx(s, { children: /* @__PURE__ */ e.jsx(
540
527
  "path",
541
528
  {
542
529
  d: "M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z"
543
530
  }
544
531
  ) }),
532
+ octagon: /* @__PURE__ */ e.jsx(s, { children: /* @__PURE__ */ e.jsx("polygon", { points: "7.86 2 16.14 2 22 7.86 22 16.14 16.14 22 7.86 22 2 16.14 2 7.86 7.86 2" }) }),
545
533
  package: /* @__PURE__ */ e.jsxs(s, { children: [
546
534
  /* @__PURE__ */ e.jsx("line", { x1: "16.5", y1: "9.4", x2: "7.5", y2: "4.21" }),
547
535
  /* @__PURE__ */ e.jsx(
@@ -595,10 +583,35 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
595
583
  ),
596
584
  /* @__PURE__ */ e.jsx("line", { x1: "1", y1: "1", x2: "23", y2: "23" })
597
585
  ] }),
586
+ speaker: /* @__PURE__ */ e.jsxs(s, { children: [
587
+ /* @__PURE__ */ e.jsx("rect", { x: "4", y: "2", width: "16", height: "20", rx: "2", ry: "2" }),
588
+ /* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "14", r: "4" }),
589
+ /* @__PURE__ */ e.jsx("line", { x1: "12", y1: "6", x2: "12.01", y2: "6" })
590
+ ] }),
598
591
  tv: /* @__PURE__ */ e.jsxs(s, { children: [
599
592
  /* @__PURE__ */ e.jsx("rect", { x: "2", y: "7", width: "20", height: "15", rx: "2", ry: "2" }),
600
593
  /* @__PURE__ */ e.jsx("polyline", { points: "17 2 12 7 7 2" })
601
594
  ] }),
595
+ film: /* @__PURE__ */ e.jsxs(s, { children: [
596
+ /* @__PURE__ */ e.jsx("rect", { x: "2", y: "2", width: "20", height: "20", rx: "2.18", ry: "2.18" }),
597
+ /* @__PURE__ */ e.jsx("line", { x1: "7", y1: "2", x2: "7", y2: "22" }),
598
+ /* @__PURE__ */ e.jsx("line", { x1: "17", y1: "2", x2: "17", y2: "22" }),
599
+ /* @__PURE__ */ e.jsx("line", { x1: "2", y1: "12", x2: "22", y2: "12" }),
600
+ /* @__PURE__ */ e.jsx("line", { x1: "2", y1: "7", x2: "7", y2: "7" }),
601
+ /* @__PURE__ */ e.jsx("line", { x1: "2", y1: "17", x2: "7", y2: "17" }),
602
+ /* @__PURE__ */ e.jsx("line", { x1: "17", y1: "17", x2: "22", y2: "17" }),
603
+ /* @__PURE__ */ e.jsx("line", { x1: "17", y1: "7", x2: "22", y2: "7" })
604
+ ] }),
605
+ monitor: /* @__PURE__ */ e.jsxs(s, { children: [
606
+ /* @__PURE__ */ e.jsx("rect", { x: "2", y: "3", width: "20", height: "14", rx: "2", ry: "2" }),
607
+ /* @__PURE__ */ e.jsx("line", { x1: "8", y1: "21", x2: "16", y2: "21" }),
608
+ /* @__PURE__ */ e.jsx("line", { x1: "12", y1: "17", x2: "12", y2: "21" })
609
+ ] }),
610
+ music: /* @__PURE__ */ e.jsxs(s, { children: [
611
+ /* @__PURE__ */ e.jsx("path", { d: "M9 18V5l12-2v13" }),
612
+ /* @__PURE__ */ e.jsx("circle", { cx: "6", cy: "18", r: "3" }),
613
+ /* @__PURE__ */ e.jsx("circle", { cx: "18", cy: "16", r: "3" })
614
+ ] }),
602
615
  truck: /* @__PURE__ */ e.jsxs(s, { children: [
603
616
  /* @__PURE__ */ e.jsx("rect", { x: "1", y: "3", width: "15", height: "13" }),
604
617
  /* @__PURE__ */ e.jsx("polygon", { points: "16 8 20 8 23 11 23 16 16 16 16 8" }),
@@ -654,12 +667,44 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
654
667
  /* @__PURE__ */ e.jsx("line", { x1: "23", y1: "9", x2: "17", y2: "15" }),
655
668
  /* @__PURE__ */ e.jsx("line", { x1: "17", y1: "9", x2: "23", y2: "15" })
656
669
  ] }),
670
+ mic: /* @__PURE__ */ e.jsxs(s, { children: [
671
+ /* @__PURE__ */ e.jsx("path", { d: "M12 1a3 3 0 0 0-3 3v8a3 3 0 0 0 6 0V4a3 3 0 0 0-3-3z" }),
672
+ /* @__PURE__ */ e.jsx("path", { d: "M19 10v2a7 7 0 0 1-14 0v-2" }),
673
+ /* @__PURE__ */ e.jsx("line", { x1: "12", y1: "19", x2: "12", y2: "23" }),
674
+ /* @__PURE__ */ e.jsx("line", { x1: "8", y1: "23", x2: "16", y2: "23" })
675
+ ] }),
676
+ "mic-off": /* @__PURE__ */ e.jsxs(s, { children: [
677
+ /* @__PURE__ */ e.jsx("line", { x1: "1", y1: "1", x2: "23", y2: "23" }),
678
+ /* @__PURE__ */ e.jsx("path", { d: "M9 9v3a3 3 0 0 0 5.12 2.12M15 9.34V4a3 3 0 0 0-5.94-.6" }),
679
+ /* @__PURE__ */ e.jsx("path", { d: "M17 16.95A7 7 0 0 1 5 12v-2m14 0v2a7 7 0 0 1-.11 1.23" }),
680
+ /* @__PURE__ */ e.jsx("line", { x1: "12", y1: "19", x2: "12", y2: "23" }),
681
+ /* @__PURE__ */ e.jsx("line", { x1: "8", y1: "23", x2: "16", y2: "23" })
682
+ ] }),
683
+ "arrow-left": /* @__PURE__ */ e.jsxs(s, { children: [
684
+ /* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "12", r: "10" }),
685
+ /* @__PURE__ */ e.jsx("polyline", { points: "12 8 8 12 12 16" }),
686
+ /* @__PURE__ */ e.jsx("line", { x1: "16", y1: "12", x2: "8", y2: "12" })
687
+ ] }),
688
+ "arrow-right": /* @__PURE__ */ e.jsxs(s, { children: [
689
+ /* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "12", r: "10" }),
690
+ /* @__PURE__ */ e.jsx("polyline", { points: "12 16 16 12 12 8" }),
691
+ /* @__PURE__ */ e.jsx("line", { x1: "8", y1: "12", x2: "16", y2: "12" })
692
+ ] }),
693
+ "arrow-down": /* @__PURE__ */ e.jsxs(s, { children: [
694
+ /* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "12", r: "10" }),
695
+ /* @__PURE__ */ e.jsx("polyline", { points: "8 12 12 16 16 12" }),
696
+ /* @__PURE__ */ e.jsx("line", { x1: "12", y1: "8", x2: "12", y2: "16" })
697
+ ] }),
698
+ "arrow-up": /* @__PURE__ */ e.jsxs(s, { children: [
699
+ /* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "12", r: "10" }),
700
+ /* @__PURE__ */ e.jsx("polyline", { points: "16 12 12 8 8 12" }),
701
+ /* @__PURE__ */ e.jsx("line", { x1: "12", y1: "16", x2: "12", y2: "8" })
702
+ ] }),
657
703
  alert: /* @__PURE__ */ e.jsxs(s, { children: [
658
704
  /* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "12", r: "10" }),
659
705
  /* @__PURE__ */ e.jsx("line", { x1: "12", y1: "8", x2: "12", y2: "12" }),
660
706
  /* @__PURE__ */ e.jsx("line", { x1: "12", y1: "16", x2: "12.01", y2: "16" })
661
707
  ] }),
662
- "simple-check": /* @__PURE__ */ e.jsx(s, { children: /* @__PURE__ */ e.jsx("polyline", { points: "20 6 9 17 4 12" }) }),
663
708
  check: /* @__PURE__ */ e.jsxs(s, { children: [
664
709
  /* @__PURE__ */ e.jsx("path", { d: "M22 11.08V12a10 10 0 1 1-5.93-9.14" }),
665
710
  /* @__PURE__ */ e.jsx("polyline", { points: "22 4 12 14.01 9 11.01" })
@@ -679,6 +724,71 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
679
724
  /* @__PURE__ */ e.jsx("line", { x1: "15", y1: "9", x2: "9", y2: "15" }),
680
725
  /* @__PURE__ */ e.jsx("line", { x1: "9", y1: "9", x2: "15", y2: "15" })
681
726
  ] }),
727
+ plus: /* @__PURE__ */ e.jsxs(s, { children: [
728
+ /* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "12", r: "10" }),
729
+ /* @__PURE__ */ e.jsx("line", { x1: "12", y1: "8", x2: "12", y2: "16" }),
730
+ /* @__PURE__ */ e.jsx("line", { x1: "8", y1: "12", x2: "16", y2: "12" })
731
+ ] }),
732
+ minus: /* @__PURE__ */ e.jsxs(s, { children: [
733
+ /* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "12", r: "10" }),
734
+ /* @__PURE__ */ e.jsx("line", { x1: "8", y1: "12", x2: "16", y2: "12" })
735
+ ] }),
736
+ divide: /* @__PURE__ */ e.jsxs(s, { children: [
737
+ /* @__PURE__ */ e.jsx("line", { x1: "8", y1: "12", x2: "16", y2: "12" }),
738
+ /* @__PURE__ */ e.jsx("line", { x1: "12", y1: "16", x2: "12", y2: "16" }),
739
+ /* @__PURE__ */ e.jsx("line", { x1: "12", y1: "8", x2: "12", y2: "8" }),
740
+ /* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "12", r: "10" })
741
+ ] }),
742
+ disc: /* @__PURE__ */ e.jsxs(s, { children: [
743
+ /* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "12", r: "10" }),
744
+ /* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "12", r: "3" })
745
+ ] }),
746
+ target: /* @__PURE__ */ e.jsxs(s, { children: [
747
+ /* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "12", r: "10" }),
748
+ /* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "12", r: "6" }),
749
+ /* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "12", r: "2" })
750
+ ] }),
751
+ clock: /* @__PURE__ */ e.jsxs(s, { children: [
752
+ /* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "12", r: "10" }),
753
+ /* @__PURE__ */ e.jsx("polyline", { points: "12 6 12 12 16 14" })
754
+ ] }),
755
+ compass: /* @__PURE__ */ e.jsxs(s, { children: [
756
+ /* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "12", r: "10" }),
757
+ /* @__PURE__ */ e.jsx("polygon", { points: "16.24 7.76 14.12 14.12 7.76 16.24 9.88 9.88 16.24 7.76" })
758
+ ] }),
759
+ globe: /* @__PURE__ */ e.jsxs(s, { children: [
760
+ /* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "12", r: "10" }),
761
+ /* @__PURE__ */ e.jsx("line", { x1: "2", y1: "12", x2: "22", y2: "12" }),
762
+ /* @__PURE__ */ e.jsx("path", { d: "M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z" })
763
+ ] }),
764
+ dribble: /* @__PURE__ */ e.jsxs(s, { children: [
765
+ /* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "12", r: "10" }),
766
+ /* @__PURE__ */ e.jsx(
767
+ "path",
768
+ {
769
+ d: "M8.56 2.75c4.37 6.03 6.02 9.42 8.03 17.72m2.54-15.38c-3.72 4.35-8.94 5.66-16.88 5.85m19.5 1.9c-3.5-.93-6.63-.82-8.94 0-2.58.92-5.01 2.86-7.44 6.32"
770
+ }
771
+ )
772
+ ] }),
773
+ smile: /* @__PURE__ */ e.jsxs(s, { children: [
774
+ /* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "12", r: "10" }),
775
+ /* @__PURE__ */ e.jsx("path", { d: "M8 14s1.5 2 4 2 4-2 4-2" }),
776
+ /* @__PURE__ */ e.jsx("line", { x1: "9", y1: "9", x2: "9.01", y2: "9" }),
777
+ /* @__PURE__ */ e.jsx("line", { x1: "15", y1: "9", x2: "15.01", y2: "9" })
778
+ ] }),
779
+ frown: /* @__PURE__ */ e.jsxs(s, { children: [
780
+ /* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "12", r: "10" }),
781
+ /* @__PURE__ */ e.jsx("path", { d: "M16 16s-1.5-2-4-2-4 2-4 2" }),
782
+ /* @__PURE__ */ e.jsx("line", { x1: "9", y1: "9", x2: "9.01", y2: "9" }),
783
+ /* @__PURE__ */ e.jsx("line", { x1: "15", y1: "9", x2: "15.01", y2: "9" })
784
+ ] }),
785
+ meh: /* @__PURE__ */ e.jsxs(s, { children: [
786
+ /* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "12", r: "10" }),
787
+ /* @__PURE__ */ e.jsx("line", { x1: "8", y1: "15", x2: "16", y2: "15" }),
788
+ /* @__PURE__ */ e.jsx("line", { x1: "9", y1: "9", x2: "9.01", y2: "9" }),
789
+ /* @__PURE__ */ e.jsx("line", { x1: "15", y1: "9", x2: "15.01", y2: "9" })
790
+ ] }),
791
+ "simple-check": /* @__PURE__ */ e.jsx(s, { children: /* @__PURE__ */ e.jsx("polyline", { points: "20 6 9 17 4 12" }) }),
682
792
  code: /* @__PURE__ */ e.jsxs(s, { children: [
683
793
  /* @__PURE__ */ e.jsx("polyline", { points: "16 18 22 12 16 6" }),
684
794
  /* @__PURE__ */ e.jsx("polyline", { points: "8 6 2 12 8 18" })
@@ -736,15 +846,6 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
736
846
  /* @__PURE__ */ e.jsx("line", { x1: "4.22", y1: "19.78", x2: "5.64", y2: "18.36" }),
737
847
  /* @__PURE__ */ e.jsx("line", { x1: "18.36", y1: "5.64", x2: "19.78", y2: "4.22" })
738
848
  ] }),
739
- plus: /* @__PURE__ */ e.jsxs(s, { children: [
740
- /* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "12", r: "10" }),
741
- /* @__PURE__ */ e.jsx("line", { x1: "12", y1: "8", x2: "12", y2: "16" }),
742
- /* @__PURE__ */ e.jsx("line", { x1: "8", y1: "12", x2: "16", y2: "12" })
743
- ] }),
744
- minus: /* @__PURE__ */ e.jsxs(s, { children: [
745
- /* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "12", r: "10" }),
746
- /* @__PURE__ */ e.jsx("line", { x1: "8", y1: "12", x2: "16", y2: "12" })
747
- ] }),
748
849
  "external-link": /* @__PURE__ */ e.jsxs(s, { children: [
749
850
  /* @__PURE__ */ e.jsx("path", { d: "M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6" }),
750
851
  /* @__PURE__ */ e.jsx("polyline", { points: "15 3 21 3 21 9" }),
@@ -789,18 +890,39 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
789
890
  /* @__PURE__ */ e.jsx("line", { x1: "14.47", y1: "14.48", x2: "20", y2: "20" }),
790
891
  /* @__PURE__ */ e.jsx("line", { x1: "8.12", y1: "8.12", x2: "12", y2: "12" })
791
892
  ] }),
792
- slash: /* @__PURE__ */ e.jsxs(s, { children: [
793
- /* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "12", r: "10" }),
794
- /* @__PURE__ */ e.jsx("line", { x1: "4.93", y1: "4.93", x2: "19.07", y2: "19.07" })
893
+ table: /* @__PURE__ */ e.jsxs(s, { children: [
894
+ /* @__PURE__ */ e.jsx("rect", { x: "3", y: "3", width: "18", height: "18", rx: "2", ry: "2" }),
895
+ /* @__PURE__ */ e.jsx("line", { x1: "3", y1: "9", x2: "21", y2: "9" }),
896
+ /* @__PURE__ */ e.jsx("line", { x1: "3", y1: "15", x2: "21", y2: "15" }),
897
+ /* @__PURE__ */ e.jsx("line", { x1: "12", y1: "3", x2: "12", y2: "21" })
898
+ ] }),
899
+ layout: /* @__PURE__ */ e.jsxs(s, { children: [
900
+ /* @__PURE__ */ e.jsx("rect", { x: "3", y: "3", width: "18", height: "18", rx: "2", ry: "2" }),
901
+ /* @__PURE__ */ e.jsx("line", { x1: "3", y1: "9", x2: "21", y2: "9" }),
902
+ /* @__PURE__ */ e.jsx("line", { x1: "9", y1: "21", x2: "9", y2: "9" })
795
903
  ] }),
796
904
  sidebar: /* @__PURE__ */ e.jsxs(s, { children: [
797
905
  /* @__PURE__ */ e.jsx("rect", { x: "3", y: "3", width: "18", height: "18", rx: "2", ry: "2" }),
798
906
  /* @__PURE__ */ e.jsx("line", { x1: "9", y1: "3", x2: "9", y2: "21" })
799
907
  ] }),
908
+ "split-view": /* @__PURE__ */ e.jsxs(s, { children: [
909
+ /* @__PURE__ */ e.jsx("rect", { x: "3", y: "3", width: "18", height: "18", rx: "2", ry: "2" }),
910
+ /* @__PURE__ */ e.jsx("line", { x1: "12", y1: "3", x2: "12", y2: "21" })
911
+ ] }),
912
+ hash: /* @__PURE__ */ e.jsxs(s, { children: [
913
+ /* @__PURE__ */ e.jsx("line", { x1: "4", y1: "9", x2: "20", y2: "9" }),
914
+ /* @__PURE__ */ e.jsx("line", { x1: "4", y1: "15", x2: "20", y2: "15" }),
915
+ /* @__PURE__ */ e.jsx("line", { x1: "10", y1: "3", x2: "8", y2: "21" }),
916
+ /* @__PURE__ */ e.jsx("line", { x1: "16", y1: "3", x2: "14", y2: "21" })
917
+ ] }),
800
918
  dollar: /* @__PURE__ */ e.jsxs(s, { children: [
801
919
  /* @__PURE__ */ e.jsx("line", { x1: "12", y1: "1", x2: "12", y2: "23" }),
802
920
  /* @__PURE__ */ e.jsx("path", { d: "M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6" })
803
921
  ] }),
922
+ "credit-card": /* @__PURE__ */ e.jsxs(s, { children: [
923
+ /* @__PURE__ */ e.jsx("rect", { x: "1", y: "4", width: "22", height: "16", rx: "2", ry: "2" }),
924
+ /* @__PURE__ */ e.jsx("line", { x1: "1", y1: "10", x2: "23", y2: "10" })
925
+ ] }),
804
926
  box: /* @__PURE__ */ e.jsxs(s, { children: [
805
927
  /* @__PURE__ */ e.jsx(
806
928
  "path",
@@ -970,6 +1092,19 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
970
1092
  /* @__PURE__ */ e.jsx("circle", { cx: "6.5", cy: "16.5", r: "2.5" }),
971
1093
  /* @__PURE__ */ e.jsx("circle", { cx: "16.5", cy: "16.5", r: "2.5" })
972
1094
  ] }),
1095
+ anchor: /* @__PURE__ */ e.jsxs(s, { children: [
1096
+ /* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "5", r: "3" }),
1097
+ /* @__PURE__ */ e.jsx("line", { x1: "12", y1: "22", x2: "12", y2: "8" }),
1098
+ /* @__PURE__ */ e.jsx("path", { d: "M5 12H2a10 10 0 0 0 20 0h-3" })
1099
+ ] }),
1100
+ book: /* @__PURE__ */ e.jsxs(s, { children: [
1101
+ /* @__PURE__ */ e.jsx("path", { d: "M2 3h6a4 4 0 0 1 4 4v14a3 3 0 0 0-3-3H2z" }),
1102
+ /* @__PURE__ */ e.jsx("path", { d: "M22 3h-6a4 4 0 0 0-4 4v14a3 3 0 0 1 3-3h7z" })
1103
+ ] }),
1104
+ briefcase: /* @__PURE__ */ e.jsxs(s, { children: [
1105
+ /* @__PURE__ */ e.jsx("rect", { x: "2", y: "7", width: "20", height: "14", rx: "2", ry: "2" }),
1106
+ /* @__PURE__ */ e.jsx("path", { d: "M16 21V5a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16" })
1107
+ ] }),
973
1108
  more: /* @__PURE__ */ e.jsxs(s, { children: [
974
1109
  /* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "12", r: "1" }),
975
1110
  /* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "5", r: "1" }),
@@ -1004,6 +1139,10 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
1004
1139
  /* @__PURE__ */ e.jsx("rect", { x: "9", y: "9", width: "13", height: "13", rx: "2", ry: "2" }),
1005
1140
  /* @__PURE__ */ e.jsx("path", { d: "M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1" })
1006
1141
  ] }),
1142
+ crop: /* @__PURE__ */ e.jsxs(s, { children: [
1143
+ /* @__PURE__ */ e.jsx("path", { d: "M6.13 1L6 16a2 2 0 0 0 2 2h15" }),
1144
+ /* @__PURE__ */ e.jsx("path", { d: "M1 6.13L16 6a2 2 0 0 1 2 2v15" })
1145
+ ] }),
1007
1146
  clipboard: /* @__PURE__ */ e.jsxs(s, { children: [
1008
1147
  /* @__PURE__ */ e.jsx("path", { d: "M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2" }),
1009
1148
  /* @__PURE__ */ e.jsx("rect", { x: "8", y: "2", width: "8", height: "4", rx: "1", ry: "1" })
@@ -1024,10 +1163,21 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
1024
1163
  /* @__PURE__ */ e.jsx("path", { d: "M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z" }),
1025
1164
  /* @__PURE__ */ e.jsx("polyline", { points: "22,6 12,13 2,6" })
1026
1165
  ] }),
1166
+ message: /* @__PURE__ */ e.jsx(s, { children: /* @__PURE__ */ e.jsx(
1167
+ "path",
1168
+ {
1169
+ d: "M21 11.5a8.38 8.38 0 0 1-.9 3.8 8.5 8.5 0 0 1-7.6 4.7 8.38 8.38 0 0 1-3.8-.9L3 21l1.9-5.7a8.38 8.38 0 0 1-.9-3.8 8.5 8.5 0 0 1 4.7-7.6 8.38 8.38 0 0 1 3.8-.9h.5a8.48 8.48 0 0 1 8 8v.5z"
1170
+ }
1171
+ ) }),
1027
1172
  phone: /* @__PURE__ */ e.jsxs(s, { children: [
1028
1173
  /* @__PURE__ */ e.jsx("rect", { x: "5", y: "2", width: "14", height: "20", rx: "2", ry: "2" }),
1029
1174
  /* @__PURE__ */ e.jsx("line", { x1: "12", y1: "18", x2: "12.01", y2: "18" })
1030
1175
  ] }),
1176
+ voicemail: /* @__PURE__ */ e.jsxs(s, { children: [
1177
+ /* @__PURE__ */ e.jsx("circle", { cx: "5.5", cy: "11.5", r: "4.5" }),
1178
+ /* @__PURE__ */ e.jsx("circle", { cx: "18.5", cy: "11.5", r: "4.5" }),
1179
+ /* @__PURE__ */ e.jsx("line", { x1: "5.5", y1: "16", x2: "18.5", y2: "16" })
1180
+ ] }),
1031
1181
  inbox: /* @__PURE__ */ e.jsxs(s, { children: [
1032
1182
  /* @__PURE__ */ e.jsx("polyline", { points: "22 12 16 12 14 15 10 15 8 12 2 12" }),
1033
1183
  /* @__PURE__ */ e.jsx(
@@ -1134,24 +1284,6 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
1134
1284
  /* @__PURE__ */ e.jsx("rect", { x: "1", y: "5", width: "22", height: "14", rx: "7", ry: "7" }),
1135
1285
  /* @__PURE__ */ e.jsx("circle", { cx: "16", cy: "12", r: "3", color: "green" })
1136
1286
  ] }),
1137
- smile: /* @__PURE__ */ e.jsxs(s, { children: [
1138
- /* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "12", r: "10" }),
1139
- /* @__PURE__ */ e.jsx("path", { d: "M8 14s1.5 2 4 2 4-2 4-2" }),
1140
- /* @__PURE__ */ e.jsx("line", { x1: "9", y1: "9", x2: "9.01", y2: "9" }),
1141
- /* @__PURE__ */ e.jsx("line", { x1: "15", y1: "9", x2: "15.01", y2: "9" })
1142
- ] }),
1143
- frown: /* @__PURE__ */ e.jsxs(s, { children: [
1144
- /* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "12", r: "10" }),
1145
- /* @__PURE__ */ e.jsx("path", { d: "M16 16s-1.5-2-4-2-4 2-4 2" }),
1146
- /* @__PURE__ */ e.jsx("line", { x1: "9", y1: "9", x2: "9.01", y2: "9" }),
1147
- /* @__PURE__ */ e.jsx("line", { x1: "15", y1: "9", x2: "15.01", y2: "9" })
1148
- ] }),
1149
- meh: /* @__PURE__ */ e.jsxs(s, { children: [
1150
- /* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "12", r: "10" }),
1151
- /* @__PURE__ */ e.jsx("line", { x1: "8", y1: "15", x2: "16", y2: "15" }),
1152
- /* @__PURE__ */ e.jsx("line", { x1: "9", y1: "9", x2: "9.01", y2: "9" }),
1153
- /* @__PURE__ */ e.jsx("line", { x1: "15", y1: "9", x2: "15.01", y2: "9" })
1154
- ] }),
1155
1287
  at: /* @__PURE__ */ e.jsxs(s, { children: [
1156
1288
  /* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "12", r: "4" }),
1157
1289
  /* @__PURE__ */ e.jsx("path", { d: "M16 8v5a3 3 0 0 0 6 0v-1a10 10 0 1 0-3.92 7.94" })
@@ -1174,6 +1306,14 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
1174
1306
  /* @__PURE__ */ e.jsx("path", { d: "M21.21 15.89A10 10 0 1 1 8 2.83" }),
1175
1307
  /* @__PURE__ */ e.jsx("path", { d: "M22 12A10 10 0 0 0 12 2v10z" })
1176
1308
  ] }),
1309
+ "trending-up": /* @__PURE__ */ e.jsxs(s, { children: [
1310
+ /* @__PURE__ */ e.jsx("polyline", { points: "23 6 13.5 15.5 8.5 10.5 1 18" }),
1311
+ /* @__PURE__ */ e.jsx("polyline", { points: "17 6 23 6 23 12" })
1312
+ ] }),
1313
+ "trending-down": /* @__PURE__ */ e.jsxs(s, { children: [
1314
+ /* @__PURE__ */ e.jsx("polyline", { points: "23 18 13.5 8.5 8.5 13.5 1 6" }),
1315
+ /* @__PURE__ */ e.jsx("polyline", { points: "17 18 23 18 23 12" })
1316
+ ] }),
1177
1317
  gift: /* @__PURE__ */ e.jsxs(s, { children: [
1178
1318
  /* @__PURE__ */ e.jsx("polyline", { points: "20 12 20 22 4 22 4 12" }),
1179
1319
  /* @__PURE__ */ e.jsx("rect", { x: "2", y: "7", width: "20", height: "5" }),
@@ -1196,39 +1336,39 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
1196
1336
  /* @__PURE__ */ e.jsx("path", { d: "M20.49 15a9 9 0 1 1-2.12-9.36L23 10" }),
1197
1337
  /* @__PURE__ */ e.jsx("text", { x: "6", y: "14", fontSize: "6", fontFamily: "'Lucida Grande', sans-serif", children: "360" })
1198
1338
  ] })
1199
- }, w = ({ color: n, name: l, size: r = "small", weight: i = 2, onClick: c, iconString: x, orientation: o, children: a }) => {
1200
- const j = r ? "muncher-icon--" + r : "muncher-icon--small";
1339
+ }, w = ({ color: n, name: l, size: r = "small", weight: c = 2, onClick: t, iconString: i, orientation: o, children: a }) => {
1340
+ const d = `muncher-icon--${r}`, y = l ? Q[l] : i && i in Q ? Q[i] : (process.env.NODE_ENV === "development" && console.warn("Unknown icon:", i), Q.muncher);
1201
1341
  return /* @__PURE__ */ e.jsxs("span", { className: "muncher-icon", children: [
1202
1342
  a && o && o === "right" ? /* @__PURE__ */ e.jsx("span", { className: "content-left", children: a }) : "",
1203
1343
  /* @__PURE__ */ e.jsx(
1204
1344
  "svg",
1205
1345
  {
1206
- className: j,
1346
+ className: d,
1207
1347
  stroke: n || "currentColor",
1208
1348
  xmlns: "http://www.w3.org/2000/svg",
1209
1349
  viewBox: "0 0 24 24",
1210
1350
  fill: "none",
1211
- strokeWidth: i || 2,
1351
+ strokeWidth: c || 2,
1212
1352
  strokeLinecap: "round",
1213
1353
  strokeLinejoin: "round",
1214
- onClick: c,
1215
- children: l ? x1[l] : x ? Object(x1)[x] : ""
1354
+ onClick: t,
1355
+ children: y
1216
1356
  }
1217
1357
  ),
1218
- a && (!o || o === "left") ? /* @__PURE__ */ e.jsx("span", { className: "content-right", children: a }) : ""
1358
+ a && o === "right" && /* @__PURE__ */ e.jsx("span", { className: "content-left", children: a })
1219
1359
  ] });
1220
- }, z1 = ({
1360
+ }, A1 = ({
1221
1361
  variant: n = "primary",
1222
1362
  icon: l = "bell",
1223
1363
  text: r,
1224
- onClick: i,
1225
- ...c
1364
+ onClick: c,
1365
+ ...t
1226
1366
  }) => /* @__PURE__ */ e.jsxs(
1227
1367
  "div",
1228
1368
  {
1229
1369
  className: "muncher-icon-badge",
1230
- onClick: i,
1231
- ...c,
1370
+ onClick: c,
1371
+ ...t,
1232
1372
  children: [
1233
1373
  /* @__PURE__ */ e.jsx(w, { name: l }),
1234
1374
  r === "" ? "" : /* @__PURE__ */ e.jsx(f1, { variant: n, children: r })
@@ -1238,78 +1378,78 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
1238
1378
  type: n = "button",
1239
1379
  variant: l,
1240
1380
  size: r = "medium",
1241
- title: i,
1242
- active: c,
1243
- disabled: x,
1381
+ title: c,
1382
+ active: t,
1383
+ disabled: i,
1244
1384
  rounded: o,
1245
1385
  onClick: a,
1246
- onMouseDown: j,
1386
+ onMouseDown: d,
1247
1387
  onMouseEnter: y,
1248
- onMouseLeave: d,
1249
- children: h,
1250
- ...p
1388
+ onMouseLeave: h,
1389
+ children: j,
1390
+ ...u
1251
1391
  }) => {
1252
- const v = "muncher-button" + (n && n === "nav" ? " muncher-button--nav" : "") + (l ? " muncher-button--" + l : "") + (r ? " muncher-button--" + r : "") + (c ? " muncher-button--active" : "") + (o ? " muncher-button--rounded" : "");
1392
+ const v = "muncher-button" + (n && n === "nav" ? " muncher-button--nav" : "") + (l ? " muncher-button--" + l : "") + (r ? " muncher-button--" + r : "") + (t ? " muncher-button--active" : "") + (o ? " muncher-button--rounded" : "");
1253
1393
  return /* @__PURE__ */ e.jsx(
1254
1394
  "button",
1255
1395
  {
1256
1396
  type: n && n !== "nav" ? n : "button",
1257
1397
  className: v,
1258
- disabled: !!x,
1259
- title: i,
1398
+ disabled: !!i,
1399
+ title: c,
1260
1400
  onClick: a,
1261
- onMouseDown: j,
1401
+ onMouseDown: d,
1262
1402
  onMouseEnter: y,
1263
- onMouseLeave: d,
1264
- ...p,
1265
- children: h
1403
+ onMouseLeave: h,
1404
+ ...u,
1405
+ children: j
1266
1406
  }
1267
1407
  );
1268
1408
  }, v1 = ({
1269
1409
  variant: n,
1270
1410
  size: l = "medium",
1271
1411
  title: r,
1272
- active: i,
1273
- disabled: c,
1274
- element: x,
1412
+ active: c,
1413
+ disabled: t,
1414
+ element: i,
1275
1415
  onMouseDown: o,
1276
1416
  rounded: a,
1277
- drop: j,
1417
+ drop: d,
1278
1418
  onClick: y,
1279
- onClose: d,
1280
- showContent: h,
1281
- setShowContent: p,
1419
+ onClose: h,
1420
+ showContent: j,
1421
+ setShowContent: u,
1282
1422
  withDropIcon: v,
1283
1423
  children: N,
1284
1424
  ...g
1285
1425
  }) => {
1286
- const _ = d1(null), f = (b) => {
1287
- b.preventDefault(), y && y(b), p && p(!0);
1288
- }, E = G(() => {
1289
- p(!1), d && d();
1290
- }, [d, p]), C = G((b) => {
1291
- b.keyCode === 27 && E();
1426
+ const _ = h1(null), f = (M) => {
1427
+ M.preventDefault(), y && y(M), u && u(!0);
1428
+ }, E = q(() => {
1429
+ u(!1), h && h();
1430
+ }, [h, u]), C = q((M) => {
1431
+ M.keyCode === 27 && E();
1292
1432
  }, [E]);
1293
- Q(() => {
1294
- const b = (H) => {
1295
- _ && _.current && H.target instanceof HTMLElement && !_.current.contains(H.target) && E();
1433
+ Z(() => {
1434
+ const M = (S) => {
1435
+ _ && _.current && S.target instanceof HTMLElement && !_.current.contains(S.target) && E();
1296
1436
  };
1297
- return document.addEventListener("keydown", C, !1), document.addEventListener("mousedown", b), () => {
1437
+ return document.addEventListener("keydown", C, !1), document.addEventListener("mousedown", M), () => {
1298
1438
  document.removeEventListener("keydown", C, !1);
1299
1439
  };
1300
1440
  }, [C, E]);
1301
- const A = () => {
1441
+ const z = () => {
1302
1442
  var P;
1303
- const b = (P = _.current) == null ? void 0 : P.offsetLeft, H = window.innerWidth;
1304
- if (b) {
1305
- if (b < 100) return "muncher-dropdown--content";
1306
- if (H - b < 150) return "muncher-dropdown--content drop-left";
1307
- if (H - b < 250) {
1308
- const m = Math.round((H - b) / H * 100);
1443
+ const M = (P = _.current) == null ? void 0 : P.offsetLeft, S = window.innerWidth;
1444
+ if (M) {
1445
+ if (M < 100) return "muncher-dropdown--content";
1446
+ if (S - M < 150) return "muncher-dropdown--content drop-left";
1447
+ if (S - M < 250) {
1448
+ const m = Math.round((S - M) / S * 100);
1309
1449
  if (m > 40 || m < 60) return "muncher-dropdown--content drop-middle";
1310
1450
  }
1311
1451
  }
1312
- switch (j) {
1452
+ switch (d) {
1313
1453
  case "left":
1314
1454
  return "muncher-dropdown--content drop-left";
1315
1455
  case "middle":
@@ -1324,14 +1464,14 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
1324
1464
  {
1325
1465
  onMouseDown: f,
1326
1466
  title: r,
1327
- disabled: c,
1467
+ disabled: t,
1328
1468
  rounded: a,
1329
- active: i,
1469
+ active: c,
1330
1470
  variant: n,
1331
1471
  size: l,
1332
1472
  ...g,
1333
1473
  children: [
1334
- x,
1474
+ i,
1335
1475
  v ? /* @__PURE__ */ e.jsx(
1336
1476
  "span",
1337
1477
  {
@@ -1342,41 +1482,41 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
1342
1482
  ]
1343
1483
  }
1344
1484
  ),
1345
- h ? /* @__PURE__ */ e.jsx("div", { className: A(), children: N }) : ""
1485
+ j ? /* @__PURE__ */ e.jsx("div", { className: z(), children: N }) : ""
1346
1486
  ] });
1347
1487
  }, R1 = ({
1348
1488
  title: n,
1349
1489
  active: l,
1350
1490
  disabled: r,
1351
- element: i,
1352
- rounded: c,
1353
- dropLeft: x,
1491
+ element: c,
1492
+ rounded: t,
1493
+ dropLeft: i,
1354
1494
  children: o,
1355
1495
  ...a
1356
- }) => /* @__PURE__ */ e.jsxs("div", { className: `muncher-dropdown-nav ${x ? "drop-left" : ""}`, children: [
1496
+ }) => /* @__PURE__ */ e.jsxs("div", { className: `muncher-dropdown-nav ${i ? "drop-left" : ""}`, children: [
1357
1497
  /* @__PURE__ */ e.jsx(
1358
1498
  V,
1359
1499
  {
1360
1500
  type: "nav",
1361
1501
  title: n,
1362
1502
  disabled: r,
1363
- rounded: c,
1503
+ rounded: t,
1364
1504
  active: l,
1365
1505
  ...a,
1366
- children: i
1506
+ children: c
1367
1507
  }
1368
1508
  ),
1369
1509
  /* @__PURE__ */ e.jsx("div", { className: "muncher-dropdown-nav--content", children: o })
1370
1510
  ] }), g1 = (n) => {
1371
1511
  navigator.clipboard.writeText(n);
1372
- }, b1 = ({
1512
+ }, M1 = ({
1373
1513
  text: n,
1374
1514
  variant: l = "secondary",
1375
1515
  size: r = "small"
1376
1516
  }) => {
1377
- const [i, c] = S(), [x, o] = S("copy"), [a, j] = S("copy link"), y = () => {
1378
- g1(n), c("green"), o("check"), j("copied!"), setTimeout(function() {
1379
- c(""), o("copy");
1517
+ const [c, t] = H(), [i, o] = H("copy"), [a, d] = H("copy link"), y = () => {
1518
+ g1(n), t("green"), o("check"), d("copied!"), setTimeout(function() {
1519
+ t(""), o("copy");
1380
1520
  }, 2e3);
1381
1521
  };
1382
1522
  return /* @__PURE__ */ e.jsx(
@@ -1386,7 +1526,7 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
1386
1526
  variant: l,
1387
1527
  title: a,
1388
1528
  onClick: y,
1389
- children: /* @__PURE__ */ e.jsx(w, { name: x, color: i })
1529
+ children: /* @__PURE__ */ e.jsx(w, { name: i, color: c })
1390
1530
  }
1391
1531
  );
1392
1532
  }, T1 = ({
@@ -1394,13 +1534,13 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
1394
1534
  size: l = "medium",
1395
1535
  title: r
1396
1536
  }) => {
1397
- const [i, c] = S(!1);
1537
+ const [c, t] = H(!1);
1398
1538
  return /* @__PURE__ */ e.jsx("div", { className: "muncher-share", children: /* @__PURE__ */ e.jsxs(
1399
1539
  v1,
1400
1540
  {
1401
1541
  title: "Share to Social Media",
1402
- showContent: i,
1403
- setShowContent: c,
1542
+ showContent: c,
1543
+ setShowContent: t,
1404
1544
  variant: n,
1405
1545
  size: l,
1406
1546
  element: /* @__PURE__ */ e.jsx(w, { name: "share", orientation: "right", children: "Share" }),
@@ -1432,43 +1572,43 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
1432
1572
  children: /* @__PURE__ */ e.jsx(w, { name: "mail" })
1433
1573
  }
1434
1574
  ) }),
1435
- /* @__PURE__ */ e.jsx(b1, { text: window.location.href })
1575
+ /* @__PURE__ */ e.jsx(M1, { text: window.location.href })
1436
1576
  ]
1437
1577
  }
1438
1578
  ) });
1439
- }, M1 = ({
1579
+ }, b1 = ({
1440
1580
  header: n,
1441
1581
  data: l,
1442
1582
  filename: r,
1443
- variant: i,
1444
- size: c,
1445
- title: x,
1583
+ variant: c,
1584
+ size: t,
1585
+ title: i,
1446
1586
  active: o,
1447
1587
  disabled: a,
1448
- rounded: j
1588
+ rounded: d
1449
1589
  }) => {
1450
1590
  const y = encodeURI("data:text/csv;charset=utf-8," + n.join(",") + `
1451
- ` + l.map((d) => d.join(",")).join(`
1591
+ ` + l.map((h) => h.join(",")).join(`
1452
1592
  `));
1453
- return /* @__PURE__ */ e.jsx("div", { className: "muncher-csv", children: /* @__PURE__ */ e.jsx(V, { variant: i, size: c, active: o, disabled: a, rounded: j, children: /* @__PURE__ */ e.jsx("a", { href: y, download: r + ".csv", children: /* @__PURE__ */ e.jsx(w, { name: "download", children: x || "Download" }) }) }) });
1593
+ return /* @__PURE__ */ e.jsx("div", { className: "muncher-csv", children: /* @__PURE__ */ e.jsx(V, { variant: c, size: t, active: o, disabled: a, rounded: d, children: /* @__PURE__ */ e.jsx("a", { href: y, download: r + ".csv", children: /* @__PURE__ */ e.jsx(w, { name: "download", children: i || "Download" }) }) }) });
1454
1594
  }, w1 = ({
1455
1595
  variant: n = "transparent",
1456
1596
  size: l = "small",
1457
1597
  title: r,
1458
- sortAsc: i = "true",
1459
- active: c,
1460
- rounded: x,
1598
+ sortAsc: c = "true",
1599
+ active: t,
1600
+ rounded: i,
1461
1601
  onClick: o,
1462
1602
  children: a
1463
1603
  }) => {
1464
- const [j, y] = S(!1), d = () => !c || c && !j ? i ? /* @__PURE__ */ e.jsx(w, { name: "sort-asc" }) : /* @__PURE__ */ e.jsx(w, { name: "sort-desc" }) : i ? /* @__PURE__ */ e.jsx(w, { name: "sort-desc" }) : /* @__PURE__ */ e.jsx(w, { name: "sort-asc" });
1604
+ const [d, y] = H(!1), h = () => !t || t && !d ? c ? /* @__PURE__ */ e.jsx(w, { name: "sort-asc" }) : /* @__PURE__ */ e.jsx(w, { name: "sort-desc" }) : c ? /* @__PURE__ */ e.jsx(w, { name: "sort-desc" }) : /* @__PURE__ */ e.jsx(w, { name: "sort-asc" });
1465
1605
  return /* @__PURE__ */ e.jsxs(
1466
1606
  V,
1467
1607
  {
1468
1608
  variant: n,
1469
1609
  size: l,
1470
1610
  title: r,
1471
- rounded: x,
1611
+ rounded: i,
1472
1612
  onMouseEnter: () => {
1473
1613
  y(!0);
1474
1614
  },
@@ -1478,7 +1618,7 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
1478
1618
  onClick: o,
1479
1619
  children: [
1480
1620
  a,
1481
- c || j ? /* @__PURE__ */ e.jsx(d, {}) : ""
1621
+ t || d ? /* @__PURE__ */ e.jsx(h, {}) : ""
1482
1622
  ]
1483
1623
  }
1484
1624
  );
@@ -1486,13 +1626,13 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
1486
1626
  direction: n,
1487
1627
  size: l = "small",
1488
1628
  weight: r,
1489
- isDisabled: i,
1490
- variant: c = "primary",
1491
- navIcon: x = "chevron",
1629
+ isDisabled: c,
1630
+ variant: t = "primary",
1631
+ navIcon: i = "chevron",
1492
1632
  onClick: o
1493
1633
  }) => {
1494
1634
  const a = () => {
1495
- switch (x) {
1635
+ switch (i) {
1496
1636
  case "arrow":
1497
1637
  return n === "left" ? "arrow-left" : "arrow-right";
1498
1638
  case "skip":
@@ -1511,27 +1651,27 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
1511
1651
  V,
1512
1652
  {
1513
1653
  onClick: o,
1514
- disabled: i,
1654
+ disabled: c,
1515
1655
  size: "small",
1516
- variant: c,
1656
+ variant: t,
1517
1657
  title: n === "left" ? "Navigate Left" : "Navigate Right",
1518
1658
  children: /* @__PURE__ */ e.jsx(w, { name: a(), size: l, weight: r })
1519
1659
  }
1520
1660
  )
1521
1661
  }
1522
1662
  );
1523
- }, q = ({ label: n, onClick: l, id: r, required: i = !1 }) => /* @__PURE__ */ e.jsxs("label", { htmlFor: r, onClick: l, children: [
1663
+ }, G = ({ label: n, onClick: l, id: r, required: c = !1 }) => /* @__PURE__ */ e.jsxs("label", { htmlFor: r, onClick: l, children: [
1524
1664
  n,
1525
- i ? /* @__PURE__ */ e.jsx("span", { className: "required", children: "*" }) : ""
1665
+ c ? /* @__PURE__ */ e.jsx("span", { className: "required", children: "*" }) : ""
1526
1666
  ] }), _1 = ({
1527
1667
  name: n,
1528
1668
  required: l = !1,
1529
1669
  onChange: r,
1530
- checked: i = !1,
1531
- label: c,
1532
- ...x
1670
+ checked: c = !1,
1671
+ label: t,
1672
+ ...i
1533
1673
  }) => {
1534
- const [o, a] = S(i || !1);
1674
+ const [o, a] = H(c || !1);
1535
1675
  return /* @__PURE__ */ e.jsx("div", { className: "muncher-input--div", children: /* @__PURE__ */ e.jsxs("div", { className: "muncher-checkbox", children: [
1536
1676
  /* @__PURE__ */ e.jsx(
1537
1677
  "input",
@@ -1539,27 +1679,27 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
1539
1679
  type: "checkbox",
1540
1680
  id: n,
1541
1681
  name: n,
1542
- onChange: (j) => {
1543
- a(j.target.checked), r && r();
1682
+ onChange: (d) => {
1683
+ a(d.target.checked), r && r();
1544
1684
  },
1545
1685
  checked: o,
1546
1686
  required: l,
1547
- ...x
1687
+ ...i
1548
1688
  }
1549
1689
  ),
1550
- c ? /* @__PURE__ */ e.jsx(
1551
- q,
1690
+ t ? /* @__PURE__ */ e.jsx(
1691
+ G,
1552
1692
  {
1553
- label: c,
1693
+ label: t,
1554
1694
  required: l,
1555
1695
  id: n,
1556
- onClick: (j) => {
1557
- j.preventDefault(), a(!o), r && r();
1696
+ onClick: (d) => {
1697
+ d.preventDefault(), a(!o), r && r();
1558
1698
  }
1559
1699
  }
1560
1700
  ) : ""
1561
1701
  ] }) });
1562
- }, h1 = ({ size: n, ...l }) => /* @__PURE__ */ e.jsx(
1702
+ }, j1 = ({ size: n, ...l }) => /* @__PURE__ */ e.jsx(
1563
1703
  "div",
1564
1704
  {
1565
1705
  className: n ? "muncher-spinner muncher-spinner-" + n : "muncher-spinner",
@@ -1569,25 +1709,25 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
1569
1709
  name: n,
1570
1710
  label: l,
1571
1711
  variant: r = "secondary",
1572
- size: i = "medium",
1573
- required: c,
1574
- active: x,
1712
+ size: c = "medium",
1713
+ required: t,
1714
+ active: i,
1575
1715
  isUploading: o,
1576
1716
  handleOnChange: a,
1577
- warningMessage: j,
1717
+ warningMessage: d,
1578
1718
  successMessage: y,
1579
- ...d
1719
+ ...h
1580
1720
  }) => {
1581
- const h = "muncher-button" + (r ? " muncher-button--" + r : "") + (i ? " muncher-button--" + i : "") + (x ? " muncher-button--active" : ""), p = (v) => {
1721
+ const j = "muncher-button" + (r ? " muncher-button--" + r : "") + (c ? " muncher-button--" + c : "") + (i ? " muncher-button--active" : ""), u = (v) => {
1582
1722
  a && a(v.currentTarget.files[0]);
1583
1723
  };
1584
1724
  return /* @__PURE__ */ e.jsx("div", { className: "muncher-file-input--div", children: /* @__PURE__ */ e.jsxs("div", { className: "file-input-element", children: [
1585
- /* @__PURE__ */ e.jsxs("label", { htmlFor: n, className: h, children: [
1725
+ /* @__PURE__ */ e.jsxs("label", { htmlFor: n, className: j, children: [
1586
1726
  /* @__PURE__ */ e.jsx(w, { name: "upload" }),
1587
1727
  " ",
1588
1728
  l || "Upload CSV",
1589
- c ? /* @__PURE__ */ e.jsx("span", { className: "required", children: " *" }) : "",
1590
- o ? /* @__PURE__ */ e.jsx(h1, { size: "tiny" }) : ""
1729
+ t ? /* @__PURE__ */ e.jsx("span", { className: "required", children: " *" }) : "",
1730
+ o ? /* @__PURE__ */ e.jsx(j1, { size: "tiny" }) : ""
1591
1731
  ] }),
1592
1732
  /* @__PURE__ */ e.jsx(
1593
1733
  "input",
@@ -1595,34 +1735,34 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
1595
1735
  id: n,
1596
1736
  type: "file",
1597
1737
  className: "muncher-file-input",
1598
- required: c,
1599
- onChange: p,
1738
+ required: t,
1739
+ onChange: u,
1600
1740
  accept: "text/csv",
1601
- ...d
1741
+ ...h
1602
1742
  }
1603
1743
  ),
1604
- j && j !== "" ? /* @__PURE__ */ e.jsx("p", { className: "text-danger", children: j }) : "",
1744
+ d && d !== "" ? /* @__PURE__ */ e.jsx("p", { className: "text-danger", children: d }) : "",
1605
1745
  y && y !== "" ? /* @__PURE__ */ e.jsx("p", { className: "text-success", children: y }) : ""
1606
1746
  ] }) });
1607
- }, S1 = ({
1747
+ }, H1 = ({
1608
1748
  name: n,
1609
1749
  label: l,
1610
1750
  variant: r = "secondary",
1611
- size: i = "large",
1612
- required: c,
1613
- active: x,
1751
+ size: c = "large",
1752
+ required: t,
1753
+ active: i,
1614
1754
  setFiles: o,
1615
1755
  error: a,
1616
- multiple: j = !1,
1756
+ multiple: d = !1,
1617
1757
  maxFiles: y,
1618
- ...d
1758
+ ...h
1619
1759
  }) => {
1620
- const [h, p] = S(""), [v, N] = S(""), g = y || 3, _ = "muncher-button" + (r ? " muncher-button--" + r : "") + (i ? " muncher-button--" + i : "") + (x ? " muncher-button--active" : ""), f = (C) => {
1621
- if (j) {
1622
- let A = Array.from(C.currentTarget.files);
1623
- A.length > g && (A = A.slice(0, g), N("Only first " + g + " files included")), o(A), p(A.map((b) => b.name).join(", "));
1760
+ const [j, u] = H(""), [v, N] = H(""), g = y || 3, _ = "muncher-button" + (r ? " muncher-button--" + r : "") + (c ? " muncher-button--" + c : "") + (i ? " muncher-button--active" : ""), f = (C) => {
1761
+ if (d) {
1762
+ let z = Array.from(C.currentTarget.files);
1763
+ z.length > g && (z = z.slice(0, g), N("Only first " + g + " files included")), o(z), u(z.map((M) => M.name).join(", "));
1624
1764
  } else
1625
- o(Array.from(C.currentTarget.files[0])), p(C.currentTarget.files[0].name);
1765
+ o(Array.from(C.currentTarget.files[0])), u(C.currentTarget.files[0].name);
1626
1766
  }, E = () => a && a !== "";
1627
1767
  return /* @__PURE__ */ e.jsxs("div", { className: "muncher-file-input--div", children: [
1628
1768
  /* @__PURE__ */ e.jsxs("div", { className: "file-input-element", children: [
@@ -1630,9 +1770,9 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
1630
1770
  /* @__PURE__ */ e.jsx(w, { name: "image" }),
1631
1771
  " ",
1632
1772
  l,
1633
- c ? /* @__PURE__ */ e.jsx("span", { className: "required", children: " *" }) : ""
1773
+ t ? /* @__PURE__ */ e.jsx("span", { className: "required", children: " *" }) : ""
1634
1774
  ] }),
1635
- /* @__PURE__ */ e.jsx("span", { className: "span-file-name", children: h }),
1775
+ /* @__PURE__ */ e.jsx("span", { className: "span-file-name", children: j }),
1636
1776
  /* @__PURE__ */ e.jsx(
1637
1777
  "input",
1638
1778
  {
@@ -1641,9 +1781,9 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
1641
1781
  className: "muncher-file-input",
1642
1782
  name: n,
1643
1783
  onChange: f,
1644
- multiple: j,
1784
+ multiple: d,
1645
1785
  accept: "image/*",
1646
- ...d
1786
+ ...h
1647
1787
  }
1648
1788
  )
1649
1789
  ] }),
@@ -1654,16 +1794,16 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
1654
1794
  name: n,
1655
1795
  label: l,
1656
1796
  required: r,
1657
- readOnly: i,
1658
- icon: c,
1659
- hoverIcon: x,
1797
+ readOnly: c,
1798
+ icon: t,
1799
+ hoverIcon: i,
1660
1800
  onHoverIconClick: o,
1661
1801
  type: a = "text",
1662
- list: j,
1802
+ list: d,
1663
1803
  onBlur: y,
1664
- labelPosition: d = "top",
1665
- onKeyDown: h,
1666
- error: p,
1804
+ labelPosition: h = "top",
1805
+ onKeyDown: j,
1806
+ error: u,
1667
1807
  focus: v = !1,
1668
1808
  placeholder: N,
1669
1809
  onChange: g,
@@ -1671,22 +1811,22 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
1671
1811
  value: f,
1672
1812
  maxLength: E,
1673
1813
  onEnterPress: C,
1674
- displayLoader: A,
1675
- ...b
1814
+ displayLoader: z,
1815
+ ...M
1676
1816
  }) => {
1677
- const H = () => p && p !== "", P = () => {
1678
- let z = "muncher-input";
1679
- return (c || x) && (z += " muncher-input-icon"), H() && (z += " muncher-input-error"), d === "side" && (z += " muncher-label-side"), z;
1680
- }, m = () => l ? /* @__PURE__ */ e.jsx(q, { label: l, required: r, id: n }) : "", k = (z) => {
1681
- z.key === "Enter" && C && C(), h && h(z);
1817
+ const S = () => u && u !== "", P = () => {
1818
+ let A = "muncher-input";
1819
+ return (t || i) && (A += " muncher-input-icon"), S() && (A += " muncher-input-error"), h === "side" && (A += " muncher-label-side"), A;
1820
+ }, m = () => l ? /* @__PURE__ */ e.jsx(G, { label: l, required: r, id: n }) : "", k = (A) => {
1821
+ A.key === "Enter" && C && C(), j && j(A);
1682
1822
  };
1683
1823
  return /* @__PURE__ */ e.jsxs("div", { className: "muncher-input--div", children: [
1684
- d !== "side" ? m() : "",
1824
+ h !== "side" ? m() : "",
1685
1825
  /* @__PURE__ */ e.jsxs("div", { className: "muncher-input-element", children: [
1686
- d === "side" ? m() : "",
1687
- c ? /* @__PURE__ */ e.jsx(w, { name: c }) : "",
1688
- x ? /* @__PURE__ */ e.jsxs("span", { className: "muncher-icon-hover", children: [
1689
- /* @__PURE__ */ e.jsx(w, { name: x, onClick: o }),
1826
+ h === "side" ? m() : "",
1827
+ t ? /* @__PURE__ */ e.jsx(w, { name: t }) : "",
1828
+ i ? /* @__PURE__ */ e.jsxs("span", { className: "muncher-icon-hover", children: [
1829
+ /* @__PURE__ */ e.jsx(w, { name: i, onClick: o }),
1690
1830
  " "
1691
1831
  ] }) : "",
1692
1832
  /* @__PURE__ */ e.jsxs("div", { className: "muncher-input-wrapper", children: [
@@ -1703,35 +1843,35 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
1703
1843
  placeholder: N,
1704
1844
  onChange: g,
1705
1845
  required: r,
1706
- readOnly: i,
1707
- list: j,
1846
+ readOnly: c,
1847
+ list: d,
1708
1848
  onKeyDown: k,
1709
1849
  onBlur: y,
1710
1850
  step: _,
1711
1851
  maxLength: E,
1712
- ...b
1852
+ ...M
1713
1853
  }
1714
1854
  ),
1715
- A ? /* @__PURE__ */ e.jsx(h1, { size: "tiny" }) : ""
1855
+ z ? /* @__PURE__ */ e.jsx(j1, { size: "tiny" }) : ""
1716
1856
  ] })
1717
1857
  ] }),
1718
- H() ? /* @__PURE__ */ e.jsx("div", { className: "muncher-input-error-message", children: /* @__PURE__ */ e.jsx(w, { name: "alert", children: p }) }) : ""
1858
+ S() ? /* @__PURE__ */ e.jsx("div", { className: "muncher-input-error-message", children: /* @__PURE__ */ e.jsx(w, { name: "alert", children: u }) }) : ""
1719
1859
  ] });
1720
- }, H1 = ({ name: n, required: l = !1, onChange: r, checked: i = !1, label: c, ...x }) => /* @__PURE__ */ e.jsx("div", { className: "muncher-input--div", children: /* @__PURE__ */ e.jsxs("div", { className: "muncher-radio", children: [
1860
+ }, S1 = ({ name: n, required: l = !1, onChange: r, checked: c = !1, label: t, ...i }) => /* @__PURE__ */ e.jsx("div", { className: "muncher-input--div", children: /* @__PURE__ */ e.jsxs("div", { className: "muncher-radio", children: [
1721
1861
  /* @__PURE__ */ e.jsx(
1722
1862
  "input",
1723
1863
  {
1724
1864
  type: "radio",
1725
1865
  name: n,
1726
1866
  onChange: r,
1727
- checked: i,
1728
- ...x
1867
+ checked: c,
1868
+ ...i
1729
1869
  }
1730
1870
  ),
1731
- c ? /* @__PURE__ */ e.jsx(
1732
- q,
1871
+ t ? /* @__PURE__ */ e.jsx(
1872
+ G,
1733
1873
  {
1734
- label: c,
1874
+ label: t,
1735
1875
  required: l,
1736
1876
  onClick: () => {
1737
1877
  r && r();
@@ -1742,77 +1882,77 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
1742
1882
  name: n,
1743
1883
  options: l,
1744
1884
  label: r,
1745
- required: i,
1746
- multiple: c,
1747
- error: x,
1885
+ required: c,
1886
+ multiple: t,
1887
+ error: i,
1748
1888
  onChange: o,
1749
1889
  value: a,
1750
- ...j
1890
+ ...d
1751
1891
  }) => {
1752
- const y = () => x && x !== "", d = () => {
1753
- let h = "muncher-input";
1754
- return y() && (h += " muncher-input-error"), h;
1892
+ const y = () => i && i !== "", h = () => {
1893
+ let j = "muncher-input";
1894
+ return y() && (j += " muncher-input-error"), j;
1755
1895
  };
1756
1896
  return /* @__PURE__ */ e.jsxs("div", { className: "muncher-input--div", children: [
1757
- r ? /* @__PURE__ */ e.jsx(q, { label: r, required: i, id: n }) : "",
1897
+ r ? /* @__PURE__ */ e.jsx(G, { label: r, required: c, id: n }) : "",
1758
1898
  /* @__PURE__ */ e.jsx("div", { className: "muncher-input-element", children: /* @__PURE__ */ e.jsxs(
1759
1899
  "select",
1760
1900
  {
1761
1901
  id: n,
1762
- className: d(),
1902
+ className: h(),
1763
1903
  name: n,
1764
1904
  value: a,
1765
1905
  onChange: o,
1766
- required: i,
1767
- multiple: c,
1768
- ...j,
1906
+ required: c,
1907
+ multiple: t,
1908
+ ...d,
1769
1909
  children: [
1770
- i ? /* @__PURE__ */ e.jsx("option", { value: "", children: "-- Select --" }) : "",
1910
+ c ? /* @__PURE__ */ e.jsx("option", { value: "", children: "-- Select --" }) : "",
1771
1911
  l.map(
1772
- (h, p) => /* @__PURE__ */ e.jsx("option", { value: h.value, children: h.label }, `select-option-${p}`)
1912
+ (j, u) => /* @__PURE__ */ e.jsx("option", { value: j.value, children: j.label }, `select-option-${u}`)
1773
1913
  )
1774
1914
  ]
1775
1915
  }
1776
1916
  ) }),
1777
- y() ? /* @__PURE__ */ e.jsx("div", { className: "muncher-input-error-message", children: /* @__PURE__ */ e.jsx(w, { name: "alert", children: x }) }) : ""
1917
+ y() ? /* @__PURE__ */ e.jsx("div", { className: "muncher-input-error-message", children: /* @__PURE__ */ e.jsx(w, { name: "alert", children: i }) }) : ""
1778
1918
  ] });
1779
1919
  }, V1 = ({
1780
1920
  name: n,
1781
1921
  label: l,
1782
1922
  required: r,
1783
- readOnly: i = !1,
1784
- rows: c = 6,
1785
- maxLength: x = 1e3,
1923
+ readOnly: c = !1,
1924
+ rows: t = 6,
1925
+ maxLength: i = 1e3,
1786
1926
  focus: o = !1,
1787
1927
  placeholder: a,
1788
- onChange: j,
1928
+ onChange: d,
1789
1929
  value: y,
1790
- ...d
1930
+ ...h
1791
1931
  }) => {
1792
- const [h, p] = S(y), v = (N) => {
1793
- p(N.target.value), j && j(N);
1932
+ const [j, u] = H(y), v = (N) => {
1933
+ u(N.target.value), d && d(N);
1794
1934
  };
1795
1935
  return /* @__PURE__ */ e.jsxs("div", { className: "muncher-input--div", children: [
1796
- l ? /* @__PURE__ */ e.jsx(q, { label: l, required: r, id: n }) : "",
1936
+ l ? /* @__PURE__ */ e.jsx(G, { label: l, required: r, id: n }) : "",
1797
1937
  /* @__PURE__ */ e.jsx(
1798
1938
  "textarea",
1799
1939
  {
1800
1940
  id: n,
1801
1941
  className: "muncher-textarea",
1802
- rows: c,
1803
- maxLength: x,
1942
+ rows: t,
1943
+ maxLength: i,
1804
1944
  name: n,
1805
1945
  autoFocus: o,
1806
1946
  value: y,
1807
1947
  placeholder: a,
1808
1948
  onChange: v,
1809
1949
  required: r,
1810
- readOnly: i,
1811
- ...d
1950
+ readOnly: c,
1951
+ ...h
1812
1952
  }
1813
1953
  ),
1814
1954
  /* @__PURE__ */ e.jsxs("p", { children: [
1815
- h ? x ? x - h.length : 1e3 : x,
1955
+ j ? i ? i - j.length : 1e3 : i,
1816
1956
  " characters left"
1817
1957
  ] })
1818
1958
  ] });
@@ -1820,31 +1960,31 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
1820
1960
  name: n = "query",
1821
1961
  focus: l = !1,
1822
1962
  inputPlaceHolder: r,
1823
- handleInputChange: i,
1824
- showContent: c = !1,
1825
- setShowContent: x,
1963
+ handleInputChange: c,
1964
+ showContent: t = !1,
1965
+ setShowContent: i,
1826
1966
  readOnly: o,
1827
1967
  value: a,
1828
- label: j,
1968
+ label: d,
1829
1969
  error: y,
1830
- required: d,
1831
- onEnterPress: h,
1832
- list: p,
1970
+ required: h,
1971
+ onEnterPress: j,
1972
+ list: u,
1833
1973
  displayLoader: v,
1834
1974
  children: N
1835
1975
  }) => {
1836
- const g = d1(null), _ = (C) => {
1837
- x(!0), i(C.target.value);
1838
- }, f = G(() => {
1839
- x(!1);
1840
- }, [x]), E = G((C) => {
1976
+ const g = h1(null), _ = (C) => {
1977
+ i(!0), c(C.target.value);
1978
+ }, f = q(() => {
1979
+ i(!1);
1980
+ }, [i]), E = q((C) => {
1841
1981
  C.keyCode === 27 && f();
1842
1982
  }, [f]);
1843
- return Q(() => {
1844
- const C = (A) => {
1983
+ return Z(() => {
1984
+ const C = (z) => {
1845
1985
  if (g && g !== null) {
1846
- const b = g.current;
1847
- b && !b.contains(A.target) && f();
1986
+ const M = g.current;
1987
+ M && !M.contains(z.target) && f();
1848
1988
  }
1849
1989
  };
1850
1990
  return document.addEventListener("keydown", E, !1), document.addEventListener("mousedown", C), () => {
@@ -1858,34 +1998,34 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
1858
1998
  placeholder: r,
1859
1999
  name: n,
1860
2000
  onChange: _,
1861
- onEnterPress: h,
1862
- list: p,
2001
+ onEnterPress: j,
2002
+ list: u,
1863
2003
  displayLoader: v,
1864
2004
  readOnly: o,
1865
2005
  value: a,
1866
- label: j,
1867
- required: d,
2006
+ label: d,
2007
+ required: h,
1868
2008
  error: y
1869
2009
  }
1870
2010
  ),
1871
- c ? /* @__PURE__ */ e.jsx("div", { className: "muncher-input-drop-down--content", children: N }) : ""
2011
+ t ? /* @__PURE__ */ e.jsx("div", { className: "muncher-input-drop-down--content", children: N }) : ""
1872
2012
  ] });
1873
- }, O1 = ({ children: n }) => /* @__PURE__ */ e.jsx("ul", { className: "muncher-ul", children: n }), P1 = ({ isFeatured: n, bulletIcon: l = "arrow-right", bulletWeight: r = 2, bulletSize: i = "small", bulletColor: c, children: x }) => /* @__PURE__ */ e.jsx("li", { className: n ? "muncher-li featured" : "muncher-li", children: /* @__PURE__ */ e.jsx(
2013
+ }, O1 = ({ children: n }) => /* @__PURE__ */ e.jsx("ul", { className: "muncher-ul", children: n }), P1 = ({ isFeatured: n, bulletIcon: l = "arrow-right", bulletWeight: r = 2, bulletSize: c = "small", bulletColor: t, children: i }) => /* @__PURE__ */ e.jsx("li", { className: n ? "muncher-li featured" : "muncher-li", children: /* @__PURE__ */ e.jsx(
1874
2014
  w,
1875
2015
  {
1876
2016
  name: l,
1877
2017
  weight: r,
1878
- size: i,
1879
- color: c,
1880
- children: x
2018
+ size: c,
2019
+ color: t,
2020
+ children: i
1881
2021
  }
1882
- ) }), D1 = ({ show: n = !1, setShow: l, children: r, ...i }) => {
1883
- const c = G((x) => {
1884
- x.keyCode === 27 && l(!1);
2022
+ ) }), D1 = ({ show: n = !1, setShow: l, children: r, ...c }) => {
2023
+ const t = q((i) => {
2024
+ i.keyCode === 27 && l(!1);
1885
2025
  }, [l]);
1886
- return Q(() => (document.addEventListener("keydown", c, !1), () => {
1887
- document.removeEventListener("keydown", c, !1);
1888
- }), [c]), Q(() => {
2026
+ return Z(() => (document.addEventListener("keydown", t, !1), () => {
2027
+ document.removeEventListener("keydown", t, !1);
2028
+ }), [t]), Z(() => {
1889
2029
  n ? document.body.style.overflow = "hidden" : document.body.style.overflow = "unset";
1890
2030
  }, [n]), /* @__PURE__ */ e.jsxs(o1.Fragment, { children: [
1891
2031
  /* @__PURE__ */ e.jsx(m1, { show: n, backdropClickHandler: () => l(!1) }),
@@ -1897,14 +2037,14 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
1897
2037
  transform: n ? "translateY(0)" : "translateY(-100vh)",
1898
2038
  opacity: n ? "1" : "0"
1899
2039
  },
1900
- ...i,
2040
+ ...c,
1901
2041
  children: r
1902
2042
  }
1903
2043
  )
1904
2044
  ] });
1905
2045
  }, F1 = ({ showHoverEffect: n, onClick: l, children: r }) => {
1906
- const i = () => n ? "muncher-paper muncher-paper-hover" : "muncher-paper";
1907
- return /* @__PURE__ */ e.jsx("section", { className: i(), onClick: l, children: r });
2046
+ const c = () => n ? "muncher-paper muncher-paper-hover" : "muncher-paper";
2047
+ return /* @__PURE__ */ e.jsx("section", { className: c(), onClick: l, children: r });
1908
2048
  }, I1 = ({ pillCloseHandler: n, children: l, ...r }) => /* @__PURE__ */ e.jsxs("div", { className: "muncher-pill", ...r, children: [
1909
2049
  /* @__PURE__ */ e.jsx("div", { className: "close", onClick: n, children: /* @__PURE__ */ e.jsx(w, { name: "close" }) }),
1910
2050
  /* @__PURE__ */ e.jsxs("div", { className: "content", children: [
@@ -1912,83 +2052,83 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
1912
2052
  l
1913
2053
  ] })
1914
2054
  ] }), $1 = ({ value: n, max: l, label: r }) => {
1915
- const i = () => {
1916
- const c = Math.round(n / l * 100) + "%";
1917
- return r ? r + " " + c : c;
2055
+ const c = () => {
2056
+ const t = Math.round(n / l * 100) + "%";
2057
+ return r ? r + " " + t : t;
1918
2058
  };
1919
2059
  return /* @__PURE__ */ e.jsxs("div", { className: "muncher-progress", children: [
1920
- /* @__PURE__ */ e.jsx("label", { htmlFor: "progress", children: i() }),
1921
- /* @__PURE__ */ e.jsx("progress", { id: "progress", value: n, max: l, children: i() })
2060
+ /* @__PURE__ */ e.jsx("label", { htmlFor: "progress", children: c() }),
2061
+ /* @__PURE__ */ e.jsx("progress", { id: "progress", value: n, max: l, children: c() })
1922
2062
  ] });
1923
2063
  }, Y1 = ({ variant: n, size: l, style: r }) => {
1924
- const i = "muncher-hr" + (n ? " muncher-hr--" + n : "") + (l ? " muncher-hr--" + l : "") + (r ? " muncher-hr--" + r : "");
1925
- return /* @__PURE__ */ e.jsx("hr", { className: i });
1926
- }, U1 = ({ sliderItems: n, navButtonSize: l = "large", navButtonWeight: r = 2, variant: i, navIcon: c, navButtonPlacement: x = "inside" }) => {
1927
- const [o, a] = S(0), [j, y] = S(0), d = () => n.length > 1 && o > 0 ? /* @__PURE__ */ e.jsx(
2064
+ const c = "muncher-hr" + (n ? " muncher-hr--" + n : "") + (l ? " muncher-hr--" + l : "") + (r ? " muncher-hr--" + r : "");
2065
+ return /* @__PURE__ */ e.jsx("hr", { className: c });
2066
+ }, U1 = ({ sliderItems: n, navButtonSize: l = "large", navButtonWeight: r = 2, variant: c, navIcon: t, navButtonPlacement: i = "inside" }) => {
2067
+ const [o, a] = H(0), [d, y] = H(0), h = () => n.length > 1 && o > 0 ? /* @__PURE__ */ e.jsx(
1928
2068
  a1,
1929
2069
  {
1930
2070
  direction: "left",
1931
2071
  size: l,
1932
- variant: i,
1933
- navIcon: c,
2072
+ variant: c,
2073
+ navIcon: t,
1934
2074
  weight: r,
1935
2075
  onClick: () => {
1936
- o === 0 ? (y(-(n.length - 1) * 100), a(n.length - 1)) : (y(j + 100), a(o - 1));
2076
+ o === 0 ? (y(-(n.length - 1) * 100), a(n.length - 1)) : (y(d + 100), a(o - 1));
1937
2077
  }
1938
2078
  }
1939
- ) : "", h = () => n.length > 1 && o < n.length - 1 ? /* @__PURE__ */ e.jsx(
2079
+ ) : "", j = () => n.length > 1 && o < n.length - 1 ? /* @__PURE__ */ e.jsx(
1940
2080
  a1,
1941
2081
  {
1942
2082
  direction: "right",
1943
2083
  size: l,
1944
2084
  weight: r,
1945
- navIcon: c,
1946
- variant: i,
2085
+ navIcon: t,
2086
+ variant: c,
1947
2087
  onClick: () => {
1948
- o === n.length - 1 ? (a(0), y(0)) : (y(j - 100), a(o + 1));
2088
+ o === n.length - 1 ? (a(0), y(0)) : (y(d - 100), a(o + 1));
1949
2089
  }
1950
2090
  }
1951
2091
  ) : "";
1952
- return /* @__PURE__ */ e.jsxs("div", { className: "muncher-item-slider-wrapper--" + x, children: [
1953
- x === "outside" ? d() : "",
2092
+ return /* @__PURE__ */ e.jsxs("div", { className: "muncher-item-slider-wrapper--" + i, children: [
2093
+ i === "outside" ? h() : "",
1954
2094
  /* @__PURE__ */ e.jsxs("div", { className: "muncher-item-slider", children: [
1955
- x === "inside" ? d() : "",
2095
+ i === "inside" ? h() : "",
1956
2096
  /* @__PURE__ */ e.jsx("div", { className: "slider-container", style: { width: `${100 * n.length}%` }, children: n.map(
1957
- (p, v) => /* @__PURE__ */ e.jsx(
2097
+ (u, v) => /* @__PURE__ */ e.jsx(
1958
2098
  "div",
1959
2099
  {
1960
2100
  className: "slider-item",
1961
- style: { transform: `translateX(${j}%)` },
1962
- children: p
2101
+ style: { transform: `translateX(${d}%)` },
2102
+ children: u
1963
2103
  },
1964
2104
  "slider-item" + v
1965
2105
  )
1966
2106
  ) }),
1967
- x === "inside" ? h() : ""
2107
+ i === "inside" ? j() : ""
1968
2108
  ] }),
1969
- x === "outside" ? h() : ""
2109
+ i === "outside" ? j() : ""
1970
2110
  ] });
1971
2111
  }, W1 = ({
1972
2112
  min: n,
1973
2113
  max: l,
1974
2114
  minValue: r,
1975
- maxValue: i,
1976
- setMinValue: c,
1977
- setMaxValue: x,
2115
+ maxValue: c,
2116
+ setMinValue: t,
2117
+ setMaxValue: i,
1978
2118
  numberFormatter: o = (a) => new Intl.NumberFormat("en-US", {
1979
2119
  style: "currency",
1980
2120
  currency: "USD"
1981
2121
  }).format(a)
1982
2122
  }) => {
1983
- const a = (d) => {
1984
- const h = +d.target.value, p = h < i - 1 ? h : r;
1985
- c(p);
1986
- }, j = (d) => {
1987
- const h = +d.target.value, p = h > r + 1 ? h : i;
1988
- x(p);
1989
- }, y = (d) => o && d ? o(d) : d;
2123
+ const a = (h) => {
2124
+ const j = +h.target.value, u = j < c - 1 ? j : r;
2125
+ t(u);
2126
+ }, d = (h) => {
2127
+ const j = +h.target.value, u = j > r + 1 ? j : c;
2128
+ i(u);
2129
+ }, y = (h) => o && h ? o(h) : h;
1990
2130
  return /* @__PURE__ */ e.jsxs("div", { className: "muncher-slider", children: [
1991
- /* @__PURE__ */ e.jsx("div", { className: "slider-header", children: /* @__PURE__ */ e.jsx("p", { children: y(r) + " - " + y(i) }) }),
2131
+ /* @__PURE__ */ e.jsx("div", { className: "slider-header", children: /* @__PURE__ */ e.jsx("p", { children: y(r) + " - " + y(c) }) }),
1992
2132
  /* @__PURE__ */ e.jsx(
1993
2133
  "input",
1994
2134
  {
@@ -2007,8 +2147,8 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
2007
2147
  type: "range",
2008
2148
  min: n,
2009
2149
  max: l,
2010
- value: i,
2011
- onChange: j
2150
+ value: c,
2151
+ onChange: d
2012
2152
  }
2013
2153
  ),
2014
2154
  /* @__PURE__ */ e.jsxs("div", { className: "slider-values", children: [
@@ -2020,18 +2160,18 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
2020
2160
  min: n,
2021
2161
  max: l,
2022
2162
  value: r,
2023
- setValue: i,
2024
- numberFormatter: c = (x) => new Intl.NumberFormat("en-US", {
2163
+ setValue: c,
2164
+ numberFormatter: t = (i) => new Intl.NumberFormat("en-US", {
2025
2165
  style: "currency",
2026
2166
  currency: "USD"
2027
- }).format(x)
2167
+ }).format(i)
2028
2168
  }) => {
2029
- const x = (a) => c ? c(a) : a, o = (a) => {
2030
- const j = +a.target.value;
2031
- i(j);
2169
+ const i = (a) => t ? t(a) : a, o = (a) => {
2170
+ const d = +a.target.value;
2171
+ c(d);
2032
2172
  };
2033
2173
  return /* @__PURE__ */ e.jsxs("div", { className: "muncher-slider", children: [
2034
- /* @__PURE__ */ e.jsx("div", { className: "slider-header", children: /* @__PURE__ */ e.jsx("p", { children: x(r) }) }),
2174
+ /* @__PURE__ */ e.jsx("div", { className: "slider-header", children: /* @__PURE__ */ e.jsx("p", { children: i(r) }) }),
2035
2175
  /* @__PURE__ */ e.jsx(
2036
2176
  "input",
2037
2177
  {
@@ -2044,24 +2184,24 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
2044
2184
  }
2045
2185
  ),
2046
2186
  /* @__PURE__ */ e.jsxs("div", { className: "slider-values", children: [
2047
- /* @__PURE__ */ e.jsx("div", { className: "slider-min", children: x(n) }),
2048
- /* @__PURE__ */ e.jsx("div", { className: "slider-max", children: x(l) })
2187
+ /* @__PURE__ */ e.jsx("div", { className: "slider-min", children: i(n) }),
2188
+ /* @__PURE__ */ e.jsx("div", { className: "slider-max", children: i(l) })
2049
2189
  ] })
2050
2190
  ] });
2051
- }, J1 = ({ isFeatured: n, onClick: l }) => /* @__PURE__ */ e.jsx("span", { className: "span-featured", children: /* @__PURE__ */ e.jsx("span", { className: n ? "featured-star" : "un-featured-star", onClick: l }) }), G1 = ({ rating: n, color: l, size: r, ...i }) => {
2052
- const c = {
2191
+ }, J1 = ({ isFeatured: n, onClick: l }) => /* @__PURE__ */ e.jsx("span", { className: "span-featured", children: /* @__PURE__ */ e.jsx("span", { className: n ? "featured-star" : "un-featured-star", onClick: l }) }), q1 = ({ rating: n, color: l, size: r, ...c }) => {
2192
+ const t = {
2053
2193
  "--r": n
2054
- }, x = () => {
2194
+ }, i = () => {
2055
2195
  let o = "muncher-star";
2056
2196
  return l && (o += " star-" + l), r && (o += " star-" + r), o;
2057
2197
  };
2058
- return /* @__PURE__ */ e.jsx("span", { className: x(), style: c, ...i });
2059
- }, q1 = ({ handleTabSelected: n, children: l }) => {
2060
- const [r, i] = S(0), { tabs: c } = l, x = (o) => {
2061
- i(o), n && n(o);
2198
+ return /* @__PURE__ */ e.jsx("span", { className: i(), style: t, ...c });
2199
+ }, G1 = ({ handleTabSelected: n, children: l }) => {
2200
+ const [r, c] = H(0), { tabs: t } = l, i = (o) => {
2201
+ c(o), n && n(o);
2062
2202
  };
2063
2203
  return /* @__PURE__ */ e.jsxs("section", { className: "muncher-tabs", children: [
2064
- /* @__PURE__ */ e.jsx("header", { children: c.map(
2204
+ /* @__PURE__ */ e.jsx("header", { children: t.map(
2065
2205
  (o, a) => /* @__PURE__ */ e.jsxs("div", { className: "muncher-tab-header--item", children: [
2066
2206
  /* @__PURE__ */ e.jsx(
2067
2207
  V,
@@ -2071,15 +2211,15 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
2071
2211
  size: "small",
2072
2212
  title: o.headerTitle,
2073
2213
  onClick: () => {
2074
- x(a);
2214
+ i(a);
2075
2215
  },
2076
2216
  children: o.header
2077
2217
  }
2078
2218
  ),
2079
- a !== c.length - 1 ? /* @__PURE__ */ e.jsx("span", { className: "spacer", children: "|" }) : ""
2219
+ a !== t.length - 1 ? /* @__PURE__ */ e.jsx("span", { className: "spacer", children: "|" }) : ""
2080
2220
  ] }, "muncher-tab-header" + a)
2081
2221
  ) }),
2082
- c.map(
2222
+ t.map(
2083
2223
  (o, a) => /* @__PURE__ */ e.jsx(
2084
2224
  "section",
2085
2225
  {
@@ -2094,34 +2234,34 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
2094
2234
  fileName: n,
2095
2235
  defaultPageSize: l = 50,
2096
2236
  skeleton: r,
2097
- handleOnUpload: i,
2098
- sortBy: c,
2099
- excludeDownload: x,
2237
+ handleOnUpload: c,
2238
+ sortBy: t,
2239
+ excludeDownload: i,
2100
2240
  includeUpload: o,
2101
2241
  isUploading: a,
2102
- uploadWarningMessage: j,
2242
+ uploadWarningMessage: d,
2103
2243
  uploadSuccessMessage: y,
2104
- excludePagination: d,
2105
- footer: h,
2106
- children: p
2244
+ excludePagination: h,
2245
+ footer: j,
2246
+ children: u
2107
2247
  }) => {
2108
- const { header: v, rows: N } = p, [g, _] = S(c ?? { index: 0 }), [f, E] = S({ num: 0, size: l }), C = (m) => {
2248
+ const { header: v, rows: N } = u, [g, _] = H(t ?? { index: 0 }), [f, E] = H({ num: 0, size: l }), C = (m) => {
2109
2249
  _(
2110
2250
  (k) => k.index === m ? { ...k, desc: !k.desc } : { index: m }
2111
2251
  );
2112
- }, A = l1(() => {
2113
- var z;
2114
- const m = [...N], k = (z = v[g.index]) == null ? void 0 : z.sort;
2252
+ }, z = x1(() => {
2253
+ var A;
2254
+ const m = [...N], k = (A = v[g.index]) == null ? void 0 : A.sort;
2115
2255
  return k ? m.sort(k) : m.sort((O, X) => {
2116
2256
  var $, Y, U, W;
2117
- const Z = ((Y = ($ = O[g.index]) == null ? void 0 : $.value) == null ? void 0 : Y.toString().toLowerCase()) ?? "", I = ((W = (U = X[g.index]) == null ? void 0 : U.value) == null ? void 0 : W.toString().toLowerCase()) ?? "";
2118
- return Z.localeCompare(I);
2257
+ const e1 = ((Y = ($ = O[g.index]) == null ? void 0 : $.value) == null ? void 0 : Y.toString().toLowerCase()) ?? "", I = ((W = (U = X[g.index]) == null ? void 0 : U.value) == null ? void 0 : W.toString().toLowerCase()) ?? "";
2258
+ return e1.localeCompare(I);
2119
2259
  }), g.desc ? m.reverse() : m;
2120
- }, [N, g, v]), b = l1(
2121
- () => A.slice(f.num * f.size, (f.num + 1) * f.size),
2122
- [A, f]
2123
- ), H = v.filter((m) => !m.csvExclude).map((m) => typeof m.name == "string" ? m.name : ""), P = N.map(
2124
- (m) => m.filter((k, z) => !v[z].csvExclude).map((k) => k.csv ?? k.value ?? "")
2260
+ }, [N, g, v]), M = x1(
2261
+ () => z.slice(f.num * f.size, (f.num + 1) * f.size),
2262
+ [z, f]
2263
+ ), S = v.filter((m) => !m.csvExclude).map((m) => typeof m.name == "string" ? m.name : ""), P = N.map(
2264
+ (m) => m.filter((k, A) => !v[A].csvExclude).map((k) => k.csv ?? k.value ?? "")
2125
2265
  );
2126
2266
  return /* @__PURE__ */ e.jsxs("section", { className: "muncher-table", children: [
2127
2267
  /* @__PURE__ */ e.jsx("div", { className: "row head", children: v.map(
@@ -2143,26 +2283,26 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
2143
2283
  `row-head-${k}`
2144
2284
  )
2145
2285
  ) }),
2146
- r || b.map((m, k) => /* @__PURE__ */ e.jsx("div", { className: "row", children: m.map(
2147
- (z, O) => v[O].visibility === "hidden" ? null : /* @__PURE__ */ e.jsx(
2286
+ r || M.map((m, k) => /* @__PURE__ */ e.jsx("div", { className: "row", children: m.map(
2287
+ (A, O) => v[O].visibility === "hidden" ? null : /* @__PURE__ */ e.jsx(
2148
2288
  "div",
2149
2289
  {
2150
2290
  className: v[O].visibility ? "col main" : "col",
2151
- children: z.content
2291
+ children: A.content
2152
2292
  },
2153
2293
  `row-col-${k}-${O}`
2154
2294
  )
2155
2295
  ) }, `row-${k}`)),
2156
- h ?? null,
2296
+ j ?? null,
2157
2297
  /* @__PURE__ */ e.jsxs("div", { className: "row-footer", children: [
2158
2298
  /* @__PURE__ */ e.jsxs("div", { className: "row-footer-buttons", children: [
2159
- !x && /* @__PURE__ */ e.jsx(
2160
- M1,
2299
+ !i && /* @__PURE__ */ e.jsx(
2300
+ b1,
2161
2301
  {
2162
2302
  filename: n ?? "download",
2163
2303
  variant: "secondary",
2164
2304
  title: "Download",
2165
- header: H,
2305
+ header: S,
2166
2306
  data: P
2167
2307
  }
2168
2308
  ),
@@ -2170,14 +2310,14 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
2170
2310
  N1,
2171
2311
  {
2172
2312
  name: "csv-input-file",
2173
- handleOnChange: i,
2313
+ handleOnChange: c,
2174
2314
  isUploading: a,
2175
- warningMessage: j,
2315
+ warningMessage: d,
2176
2316
  successMessage: y
2177
2317
  }
2178
2318
  )
2179
2319
  ] }),
2180
- !d && /* @__PURE__ */ e.jsxs("div", { className: "pagination", children: [
2320
+ !h && /* @__PURE__ */ e.jsxs("div", { className: "pagination", children: [
2181
2321
  /* @__PURE__ */ e.jsxs("div", { className: "left", children: [
2182
2322
  "Rows:",
2183
2323
  /* @__PURE__ */ e.jsx(
@@ -2228,40 +2368,40 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
2228
2368
  ] });
2229
2369
  };
2230
2370
  export {
2231
- A1 as Accordion,
2371
+ z1 as Accordion,
2232
2372
  m1 as Backdrop,
2233
2373
  f1 as Badge,
2234
2374
  V as Button,
2235
2375
  _1 as Checkbox,
2236
- b1 as CopyButton,
2237
- M1 as CsvButton,
2376
+ M1 as CopyButton,
2377
+ b1 as CsvButton,
2238
2378
  N1 as CsvInput,
2239
2379
  v1 as DropdownButton,
2240
2380
  R1 as DropdownNavButton,
2241
2381
  J1 as Featured,
2242
2382
  Y1 as Hr,
2243
2383
  w as Icon,
2244
- z1 as IconBadge,
2245
- S1 as ImageInput,
2384
+ A1 as IconBadge,
2385
+ H1 as ImageInput,
2246
2386
  k1 as Input,
2247
2387
  U1 as ItemSlider,
2248
- q as Label,
2388
+ G as Label,
2249
2389
  P1 as Li,
2250
2390
  D1 as Modal,
2251
2391
  a1 as NavigateButton,
2252
2392
  F1 as Paper,
2253
2393
  I1 as Pill,
2254
2394
  $1 as Progress,
2255
- H1 as Radio,
2395
+ S1 as Radio,
2256
2396
  W1 as RangeSlider,
2257
2397
  C1 as Select,
2258
2398
  T1 as ShareButton,
2259
2399
  B1 as Slider,
2260
2400
  w1 as SortButton,
2261
- h1 as Spinner,
2262
- G1 as Star,
2401
+ j1 as Spinner,
2402
+ q1 as Star,
2263
2403
  X1 as Table,
2264
- q1 as Tabs,
2404
+ G1 as Tabs,
2265
2405
  L1 as TextInputDropdown,
2266
2406
  V1 as Textarea,
2267
2407
  O1 as Ul,