@hortiview/shared-components 0.0.4529 → 0.0.4539

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.
@@ -0,0 +1,1067 @@
1
+ import { P as j, d as vt, b as mt, u as gt, c as ht, _ as yt, a as bt } from "./index.es-WZ1mqvGz.js";
2
+ import wt, { forwardRef as xt, useRef as Ee, useImperativeHandle as Ot } from "react";
3
+ var $ = "top", S = "bottom", H = "right", T = "left", De = "auto", fe = [$, S, H, T], Z = "start", se = "end", Pt = "clippingParents", _e = "viewport", ne = "popper", Et = "reference", qe = /* @__PURE__ */ fe.reduce(function(e, t) {
4
+ return e.concat([t + "-" + Z, t + "-" + se]);
5
+ }, []), et = /* @__PURE__ */ [].concat(fe, [De]).reduce(function(e, t) {
6
+ return e.concat([t, t + "-" + Z, t + "-" + se]);
7
+ }, []), At = "beforeRead", Rt = "read", Dt = "afterRead", Bt = "beforeMain", jt = "main", $t = "afterMain", Tt = "beforeWrite", kt = "write", Ct = "afterWrite", Lt = [At, Rt, Dt, Bt, jt, $t, Tt, kt, Ct];
8
+ function N(e) {
9
+ return e ? (e.nodeName || "").toLowerCase() : null;
10
+ }
11
+ function C(e) {
12
+ if (e == null)
13
+ return window;
14
+ if (e.toString() !== "[object Window]") {
15
+ var t = e.ownerDocument;
16
+ return t && t.defaultView || window;
17
+ }
18
+ return e;
19
+ }
20
+ function K(e) {
21
+ var t = C(e).Element;
22
+ return e instanceof t || e instanceof Element;
23
+ }
24
+ function L(e) {
25
+ var t = C(e).HTMLElement;
26
+ return e instanceof t || e instanceof HTMLElement;
27
+ }
28
+ function Be(e) {
29
+ if (typeof ShadowRoot > "u")
30
+ return !1;
31
+ var t = C(e).ShadowRoot;
32
+ return e instanceof t || e instanceof ShadowRoot;
33
+ }
34
+ function St(e) {
35
+ var t = e.state;
36
+ Object.keys(t.elements).forEach(function(r) {
37
+ var a = t.styles[r] || {}, n = t.attributes[r] || {}, i = t.elements[r];
38
+ !L(i) || !N(i) || (Object.assign(i.style, a), Object.keys(n).forEach(function(c) {
39
+ var s = n[c];
40
+ s === !1 ? i.removeAttribute(c) : i.setAttribute(c, s === !0 ? "" : s);
41
+ }));
42
+ });
43
+ }
44
+ function Ht(e) {
45
+ var t = e.state, r = {
46
+ popper: {
47
+ position: t.options.strategy,
48
+ left: "0",
49
+ top: "0",
50
+ margin: "0"
51
+ },
52
+ arrow: {
53
+ position: "absolute"
54
+ },
55
+ reference: {}
56
+ };
57
+ return Object.assign(t.elements.popper.style, r.popper), t.styles = r, t.elements.arrow && Object.assign(t.elements.arrow.style, r.arrow), function() {
58
+ Object.keys(t.elements).forEach(function(a) {
59
+ var n = t.elements[a], i = t.attributes[a] || {}, c = Object.keys(t.styles.hasOwnProperty(a) ? t.styles[a] : r[a]), s = c.reduce(function(o, p) {
60
+ return o[p] = "", o;
61
+ }, {});
62
+ !L(n) || !N(n) || (Object.assign(n.style, s), Object.keys(i).forEach(function(o) {
63
+ n.removeAttribute(o);
64
+ }));
65
+ });
66
+ };
67
+ }
68
+ const Mt = {
69
+ name: "applyStyles",
70
+ enabled: !0,
71
+ phase: "write",
72
+ fn: St,
73
+ effect: Ht,
74
+ requires: ["computeStyles"]
75
+ };
76
+ function I(e) {
77
+ return e.split("-")[0];
78
+ }
79
+ var J = Math.max, ye = Math.min, _ = Math.round;
80
+ function Ae() {
81
+ var e = navigator.userAgentData;
82
+ return e != null && e.brands && Array.isArray(e.brands) ? e.brands.map(function(t) {
83
+ return t.brand + "/" + t.version;
84
+ }).join(" ") : navigator.userAgent;
85
+ }
86
+ function tt() {
87
+ return !/^((?!chrome|android).)*safari/i.test(Ae());
88
+ }
89
+ function ee(e, t, r) {
90
+ t === void 0 && (t = !1), r === void 0 && (r = !1);
91
+ var a = e.getBoundingClientRect(), n = 1, i = 1;
92
+ t && L(e) && (n = e.offsetWidth > 0 && _(a.width) / e.offsetWidth || 1, i = e.offsetHeight > 0 && _(a.height) / e.offsetHeight || 1);
93
+ var c = K(e) ? C(e) : window, s = c.visualViewport, o = !tt() && r, p = (a.left + (o && s ? s.offsetLeft : 0)) / n, f = (a.top + (o && s ? s.offsetTop : 0)) / i, d = a.width / n, g = a.height / i;
94
+ return {
95
+ width: d,
96
+ height: g,
97
+ top: f,
98
+ right: p + d,
99
+ bottom: f + g,
100
+ left: p,
101
+ x: p,
102
+ y: f
103
+ };
104
+ }
105
+ function je(e) {
106
+ var t = ee(e), r = e.offsetWidth, a = e.offsetHeight;
107
+ return Math.abs(t.width - r) <= 1 && (r = t.width), Math.abs(t.height - a) <= 1 && (a = t.height), {
108
+ x: e.offsetLeft,
109
+ y: e.offsetTop,
110
+ width: r,
111
+ height: a
112
+ };
113
+ }
114
+ function rt(e, t) {
115
+ var r = t.getRootNode && t.getRootNode();
116
+ if (e.contains(t))
117
+ return !0;
118
+ if (r && Be(r)) {
119
+ var a = t;
120
+ do {
121
+ if (a && e.isSameNode(a))
122
+ return !0;
123
+ a = a.parentNode || a.host;
124
+ } while (a);
125
+ }
126
+ return !1;
127
+ }
128
+ function V(e) {
129
+ return C(e).getComputedStyle(e);
130
+ }
131
+ function Wt(e) {
132
+ return ["table", "td", "th"].indexOf(N(e)) >= 0;
133
+ }
134
+ function F(e) {
135
+ return ((K(e) ? e.ownerDocument : (
136
+ // $FlowFixMe[prop-missing]
137
+ e.document
138
+ )) || window.document).documentElement;
139
+ }
140
+ function be(e) {
141
+ return N(e) === "html" ? e : (
142
+ // this is a quicker (but less type safe) way to save quite some bytes from the bundle
143
+ // $FlowFixMe[incompatible-return]
144
+ // $FlowFixMe[prop-missing]
145
+ e.assignedSlot || // step into the shadow DOM of the parent of a slotted node
146
+ e.parentNode || // DOM Element detected
147
+ (Be(e) ? e.host : null) || // ShadowRoot detected
148
+ // $FlowFixMe[incompatible-call]: HTMLElement is a Node
149
+ F(e)
150
+ );
151
+ }
152
+ function Xe(e) {
153
+ return !L(e) || // https://github.com/popperjs/popper-core/issues/837
154
+ V(e).position === "fixed" ? null : e.offsetParent;
155
+ }
156
+ function It(e) {
157
+ var t = /firefox/i.test(Ae()), r = /Trident/i.test(Ae());
158
+ if (r && L(e)) {
159
+ var a = V(e);
160
+ if (a.position === "fixed")
161
+ return null;
162
+ }
163
+ var n = be(e);
164
+ for (Be(n) && (n = n.host); L(n) && ["html", "body"].indexOf(N(n)) < 0; ) {
165
+ var i = V(n);
166
+ if (i.transform !== "none" || i.perspective !== "none" || i.contain === "paint" || ["transform", "perspective"].indexOf(i.willChange) !== -1 || t && i.willChange === "filter" || t && i.filter && i.filter !== "none")
167
+ return n;
168
+ n = n.parentNode;
169
+ }
170
+ return null;
171
+ }
172
+ function ce(e) {
173
+ for (var t = C(e), r = Xe(e); r && Wt(r) && V(r).position === "static"; )
174
+ r = Xe(r);
175
+ return r && (N(r) === "html" || N(r) === "body" && V(r).position === "static") ? t : r || It(e) || t;
176
+ }
177
+ function $e(e) {
178
+ return ["top", "bottom"].indexOf(e) >= 0 ? "x" : "y";
179
+ }
180
+ function ie(e, t, r) {
181
+ return J(e, ye(t, r));
182
+ }
183
+ function Nt(e, t, r) {
184
+ var a = ie(e, t, r);
185
+ return a > r ? r : a;
186
+ }
187
+ function at() {
188
+ return {
189
+ top: 0,
190
+ right: 0,
191
+ bottom: 0,
192
+ left: 0
193
+ };
194
+ }
195
+ function nt(e) {
196
+ return Object.assign({}, at(), e);
197
+ }
198
+ function it(e, t) {
199
+ return t.reduce(function(r, a) {
200
+ return r[a] = e, r;
201
+ }, {});
202
+ }
203
+ var Vt = function(t, r) {
204
+ return t = typeof t == "function" ? t(Object.assign({}, r.rects, {
205
+ placement: r.placement
206
+ })) : t, nt(typeof t != "number" ? t : it(t, fe));
207
+ };
208
+ function zt(e) {
209
+ var t, r = e.state, a = e.name, n = e.options, i = r.elements.arrow, c = r.modifiersData.popperOffsets, s = I(r.placement), o = $e(s), p = [T, H].indexOf(s) >= 0, f = p ? "height" : "width";
210
+ if (!(!i || !c)) {
211
+ var d = Vt(n.padding, r), g = je(i), l = o === "y" ? $ : T, x = o === "y" ? S : H, v = r.rects.reference[f] + r.rects.reference[o] - c[o] - r.rects.popper[f], m = c[o] - r.rects.reference[o], h = ce(i), O = h ? o === "y" ? h.clientHeight || 0 : h.clientWidth || 0 : 0, b = v / 2 - m / 2, u = d[l], y = O - g[f] - d[x], w = O / 2 - g[f] / 2 + b, P = ie(u, w, y), R = o;
212
+ r.modifiersData[a] = (t = {}, t[R] = P, t.centerOffset = P - w, t);
213
+ }
214
+ }
215
+ function Ft(e) {
216
+ var t = e.state, r = e.options, a = r.element, n = a === void 0 ? "[data-popper-arrow]" : a;
217
+ n != null && (typeof n == "string" && (n = t.elements.popper.querySelector(n), !n) || rt(t.elements.popper, n) && (t.elements.arrow = n));
218
+ }
219
+ const qt = {
220
+ name: "arrow",
221
+ enabled: !0,
222
+ phase: "main",
223
+ fn: zt,
224
+ effect: Ft,
225
+ requires: ["popperOffsets"],
226
+ requiresIfExists: ["preventOverflow"]
227
+ };
228
+ function te(e) {
229
+ return e.split("-")[1];
230
+ }
231
+ var Xt = {
232
+ top: "auto",
233
+ right: "auto",
234
+ bottom: "auto",
235
+ left: "auto"
236
+ };
237
+ function Yt(e, t) {
238
+ var r = e.x, a = e.y, n = t.devicePixelRatio || 1;
239
+ return {
240
+ x: _(r * n) / n || 0,
241
+ y: _(a * n) / n || 0
242
+ };
243
+ }
244
+ function Ye(e) {
245
+ var t, r = e.popper, a = e.popperRect, n = e.placement, i = e.variation, c = e.offsets, s = e.position, o = e.gpuAcceleration, p = e.adaptive, f = e.roundOffsets, d = e.isFixed, g = c.x, l = g === void 0 ? 0 : g, x = c.y, v = x === void 0 ? 0 : x, m = typeof f == "function" ? f({
246
+ x: l,
247
+ y: v
248
+ }) : {
249
+ x: l,
250
+ y: v
251
+ };
252
+ l = m.x, v = m.y;
253
+ var h = c.hasOwnProperty("x"), O = c.hasOwnProperty("y"), b = T, u = $, y = window;
254
+ if (p) {
255
+ var w = ce(r), P = "clientHeight", R = "clientWidth";
256
+ if (w === C(r) && (w = F(r), V(w).position !== "static" && s === "absolute" && (P = "scrollHeight", R = "scrollWidth")), w = w, n === $ || (n === T || n === H) && i === se) {
257
+ u = S;
258
+ var A = d && w === y && y.visualViewport ? y.visualViewport.height : (
259
+ // $FlowFixMe[prop-missing]
260
+ w[P]
261
+ );
262
+ v -= A - a.height, v *= o ? 1 : -1;
263
+ }
264
+ if (n === T || (n === $ || n === S) && i === se) {
265
+ b = H;
266
+ var E = d && w === y && y.visualViewport ? y.visualViewport.width : (
267
+ // $FlowFixMe[prop-missing]
268
+ w[R]
269
+ );
270
+ l -= E - a.width, l *= o ? 1 : -1;
271
+ }
272
+ }
273
+ var D = Object.assign({
274
+ position: s
275
+ }, p && Xt), M = f === !0 ? Yt({
276
+ x: l,
277
+ y: v
278
+ }, C(r)) : {
279
+ x: l,
280
+ y: v
281
+ };
282
+ if (l = M.x, v = M.y, o) {
283
+ var B;
284
+ return Object.assign({}, D, (B = {}, B[u] = O ? "0" : "", B[b] = h ? "0" : "", B.transform = (y.devicePixelRatio || 1) <= 1 ? "translate(" + l + "px, " + v + "px)" : "translate3d(" + l + "px, " + v + "px, 0)", B));
285
+ }
286
+ return Object.assign({}, D, (t = {}, t[u] = O ? v + "px" : "", t[b] = h ? l + "px" : "", t.transform = "", t));
287
+ }
288
+ function Ut(e) {
289
+ var t = e.state, r = e.options, a = r.gpuAcceleration, n = a === void 0 ? !0 : a, i = r.adaptive, c = i === void 0 ? !0 : i, s = r.roundOffsets, o = s === void 0 ? !0 : s, p = {
290
+ placement: I(t.placement),
291
+ variation: te(t.placement),
292
+ popper: t.elements.popper,
293
+ popperRect: t.rects.popper,
294
+ gpuAcceleration: n,
295
+ isFixed: t.options.strategy === "fixed"
296
+ };
297
+ t.modifiersData.popperOffsets != null && (t.styles.popper = Object.assign({}, t.styles.popper, Ye(Object.assign({}, p, {
298
+ offsets: t.modifiersData.popperOffsets,
299
+ position: t.options.strategy,
300
+ adaptive: c,
301
+ roundOffsets: o
302
+ })))), t.modifiersData.arrow != null && (t.styles.arrow = Object.assign({}, t.styles.arrow, Ye(Object.assign({}, p, {
303
+ offsets: t.modifiersData.arrow,
304
+ position: "absolute",
305
+ adaptive: !1,
306
+ roundOffsets: o
307
+ })))), t.attributes.popper = Object.assign({}, t.attributes.popper, {
308
+ "data-popper-placement": t.placement
309
+ });
310
+ }
311
+ const Gt = {
312
+ name: "computeStyles",
313
+ enabled: !0,
314
+ phase: "beforeWrite",
315
+ fn: Ut,
316
+ data: {}
317
+ };
318
+ var ge = {
319
+ passive: !0
320
+ };
321
+ function Jt(e) {
322
+ var t = e.state, r = e.instance, a = e.options, n = a.scroll, i = n === void 0 ? !0 : n, c = a.resize, s = c === void 0 ? !0 : c, o = C(t.elements.popper), p = [].concat(t.scrollParents.reference, t.scrollParents.popper);
323
+ return i && p.forEach(function(f) {
324
+ f.addEventListener("scroll", r.update, ge);
325
+ }), s && o.addEventListener("resize", r.update, ge), function() {
326
+ i && p.forEach(function(f) {
327
+ f.removeEventListener("scroll", r.update, ge);
328
+ }), s && o.removeEventListener("resize", r.update, ge);
329
+ };
330
+ }
331
+ const Kt = {
332
+ name: "eventListeners",
333
+ enabled: !0,
334
+ phase: "write",
335
+ fn: function() {
336
+ },
337
+ effect: Jt,
338
+ data: {}
339
+ };
340
+ var Qt = {
341
+ left: "right",
342
+ right: "left",
343
+ bottom: "top",
344
+ top: "bottom"
345
+ };
346
+ function he(e) {
347
+ return e.replace(/left|right|bottom|top/g, function(t) {
348
+ return Qt[t];
349
+ });
350
+ }
351
+ var Zt = {
352
+ start: "end",
353
+ end: "start"
354
+ };
355
+ function Ue(e) {
356
+ return e.replace(/start|end/g, function(t) {
357
+ return Zt[t];
358
+ });
359
+ }
360
+ function Te(e) {
361
+ var t = C(e), r = t.pageXOffset, a = t.pageYOffset;
362
+ return {
363
+ scrollLeft: r,
364
+ scrollTop: a
365
+ };
366
+ }
367
+ function ke(e) {
368
+ return ee(F(e)).left + Te(e).scrollLeft;
369
+ }
370
+ function _t(e, t) {
371
+ var r = C(e), a = F(e), n = r.visualViewport, i = a.clientWidth, c = a.clientHeight, s = 0, o = 0;
372
+ if (n) {
373
+ i = n.width, c = n.height;
374
+ var p = tt();
375
+ (p || !p && t === "fixed") && (s = n.offsetLeft, o = n.offsetTop);
376
+ }
377
+ return {
378
+ width: i,
379
+ height: c,
380
+ x: s + ke(e),
381
+ y: o
382
+ };
383
+ }
384
+ function er(e) {
385
+ var t, r = F(e), a = Te(e), n = (t = e.ownerDocument) == null ? void 0 : t.body, i = J(r.scrollWidth, r.clientWidth, n ? n.scrollWidth : 0, n ? n.clientWidth : 0), c = J(r.scrollHeight, r.clientHeight, n ? n.scrollHeight : 0, n ? n.clientHeight : 0), s = -a.scrollLeft + ke(e), o = -a.scrollTop;
386
+ return V(n || r).direction === "rtl" && (s += J(r.clientWidth, n ? n.clientWidth : 0) - i), {
387
+ width: i,
388
+ height: c,
389
+ x: s,
390
+ y: o
391
+ };
392
+ }
393
+ function Ce(e) {
394
+ var t = V(e), r = t.overflow, a = t.overflowX, n = t.overflowY;
395
+ return /auto|scroll|overlay|hidden/.test(r + n + a);
396
+ }
397
+ function ot(e) {
398
+ return ["html", "body", "#document"].indexOf(N(e)) >= 0 ? e.ownerDocument.body : L(e) && Ce(e) ? e : ot(be(e));
399
+ }
400
+ function oe(e, t) {
401
+ var r;
402
+ t === void 0 && (t = []);
403
+ var a = ot(e), n = a === ((r = e.ownerDocument) == null ? void 0 : r.body), i = C(a), c = n ? [i].concat(i.visualViewport || [], Ce(a) ? a : []) : a, s = t.concat(c);
404
+ return n ? s : (
405
+ // $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here
406
+ s.concat(oe(be(c)))
407
+ );
408
+ }
409
+ function Re(e) {
410
+ return Object.assign({}, e, {
411
+ left: e.x,
412
+ top: e.y,
413
+ right: e.x + e.width,
414
+ bottom: e.y + e.height
415
+ });
416
+ }
417
+ function tr(e, t) {
418
+ var r = ee(e, !1, t === "fixed");
419
+ return r.top = r.top + e.clientTop, r.left = r.left + e.clientLeft, r.bottom = r.top + e.clientHeight, r.right = r.left + e.clientWidth, r.width = e.clientWidth, r.height = e.clientHeight, r.x = r.left, r.y = r.top, r;
420
+ }
421
+ function Ge(e, t, r) {
422
+ return t === _e ? Re(_t(e, r)) : K(t) ? tr(t, r) : Re(er(F(e)));
423
+ }
424
+ function rr(e) {
425
+ var t = oe(be(e)), r = ["absolute", "fixed"].indexOf(V(e).position) >= 0, a = r && L(e) ? ce(e) : e;
426
+ return K(a) ? t.filter(function(n) {
427
+ return K(n) && rt(n, a) && N(n) !== "body";
428
+ }) : [];
429
+ }
430
+ function ar(e, t, r, a) {
431
+ var n = t === "clippingParents" ? rr(e) : [].concat(t), i = [].concat(n, [r]), c = i[0], s = i.reduce(function(o, p) {
432
+ var f = Ge(e, p, a);
433
+ return o.top = J(f.top, o.top), o.right = ye(f.right, o.right), o.bottom = ye(f.bottom, o.bottom), o.left = J(f.left, o.left), o;
434
+ }, Ge(e, c, a));
435
+ return s.width = s.right - s.left, s.height = s.bottom - s.top, s.x = s.left, s.y = s.top, s;
436
+ }
437
+ function st(e) {
438
+ var t = e.reference, r = e.element, a = e.placement, n = a ? I(a) : null, i = a ? te(a) : null, c = t.x + t.width / 2 - r.width / 2, s = t.y + t.height / 2 - r.height / 2, o;
439
+ switch (n) {
440
+ case $:
441
+ o = {
442
+ x: c,
443
+ y: t.y - r.height
444
+ };
445
+ break;
446
+ case S:
447
+ o = {
448
+ x: c,
449
+ y: t.y + t.height
450
+ };
451
+ break;
452
+ case H:
453
+ o = {
454
+ x: t.x + t.width,
455
+ y: s
456
+ };
457
+ break;
458
+ case T:
459
+ o = {
460
+ x: t.x - r.width,
461
+ y: s
462
+ };
463
+ break;
464
+ default:
465
+ o = {
466
+ x: t.x,
467
+ y: t.y
468
+ };
469
+ }
470
+ var p = n ? $e(n) : null;
471
+ if (p != null) {
472
+ var f = p === "y" ? "height" : "width";
473
+ switch (i) {
474
+ case Z:
475
+ o[p] = o[p] - (t[f] / 2 - r[f] / 2);
476
+ break;
477
+ case se:
478
+ o[p] = o[p] + (t[f] / 2 - r[f] / 2);
479
+ break;
480
+ }
481
+ }
482
+ return o;
483
+ }
484
+ function le(e, t) {
485
+ t === void 0 && (t = {});
486
+ var r = t, a = r.placement, n = a === void 0 ? e.placement : a, i = r.strategy, c = i === void 0 ? e.strategy : i, s = r.boundary, o = s === void 0 ? Pt : s, p = r.rootBoundary, f = p === void 0 ? _e : p, d = r.elementContext, g = d === void 0 ? ne : d, l = r.altBoundary, x = l === void 0 ? !1 : l, v = r.padding, m = v === void 0 ? 0 : v, h = nt(typeof m != "number" ? m : it(m, fe)), O = g === ne ? Et : ne, b = e.rects.popper, u = e.elements[x ? O : g], y = ar(K(u) ? u : u.contextElement || F(e.elements.popper), o, f, c), w = ee(e.elements.reference), P = st({
487
+ reference: w,
488
+ element: b,
489
+ strategy: "absolute",
490
+ placement: n
491
+ }), R = Re(Object.assign({}, b, P)), A = g === ne ? R : w, E = {
492
+ top: y.top - A.top + h.top,
493
+ bottom: A.bottom - y.bottom + h.bottom,
494
+ left: y.left - A.left + h.left,
495
+ right: A.right - y.right + h.right
496
+ }, D = e.modifiersData.offset;
497
+ if (g === ne && D) {
498
+ var M = D[n];
499
+ Object.keys(E).forEach(function(B) {
500
+ var q = [H, S].indexOf(B) >= 0 ? 1 : -1, X = [$, S].indexOf(B) >= 0 ? "y" : "x";
501
+ E[B] += M[X] * q;
502
+ });
503
+ }
504
+ return E;
505
+ }
506
+ function nr(e, t) {
507
+ t === void 0 && (t = {});
508
+ var r = t, a = r.placement, n = r.boundary, i = r.rootBoundary, c = r.padding, s = r.flipVariations, o = r.allowedAutoPlacements, p = o === void 0 ? et : o, f = te(a), d = f ? s ? qe : qe.filter(function(x) {
509
+ return te(x) === f;
510
+ }) : fe, g = d.filter(function(x) {
511
+ return p.indexOf(x) >= 0;
512
+ });
513
+ g.length === 0 && (g = d);
514
+ var l = g.reduce(function(x, v) {
515
+ return x[v] = le(e, {
516
+ placement: v,
517
+ boundary: n,
518
+ rootBoundary: i,
519
+ padding: c
520
+ })[I(v)], x;
521
+ }, {});
522
+ return Object.keys(l).sort(function(x, v) {
523
+ return l[x] - l[v];
524
+ });
525
+ }
526
+ function ir(e) {
527
+ if (I(e) === De)
528
+ return [];
529
+ var t = he(e);
530
+ return [Ue(e), t, Ue(t)];
531
+ }
532
+ function or(e) {
533
+ var t = e.state, r = e.options, a = e.name;
534
+ if (!t.modifiersData[a]._skip) {
535
+ for (var n = r.mainAxis, i = n === void 0 ? !0 : n, c = r.altAxis, s = c === void 0 ? !0 : c, o = r.fallbackPlacements, p = r.padding, f = r.boundary, d = r.rootBoundary, g = r.altBoundary, l = r.flipVariations, x = l === void 0 ? !0 : l, v = r.allowedAutoPlacements, m = t.options.placement, h = I(m), O = h === m, b = o || (O || !x ? [he(m)] : ir(m)), u = [m].concat(b).reduce(function(Q, z) {
536
+ return Q.concat(I(z) === De ? nr(t, {
537
+ placement: z,
538
+ boundary: f,
539
+ rootBoundary: d,
540
+ padding: p,
541
+ flipVariations: x,
542
+ allowedAutoPlacements: v
543
+ }) : z);
544
+ }, []), y = t.rects.reference, w = t.rects.popper, P = /* @__PURE__ */ new Map(), R = !0, A = u[0], E = 0; E < u.length; E++) {
545
+ var D = u[E], M = I(D), B = te(D) === Z, q = [$, S].indexOf(M) >= 0, X = q ? "width" : "height", k = le(t, {
546
+ placement: D,
547
+ boundary: f,
548
+ rootBoundary: d,
549
+ altBoundary: g,
550
+ padding: p
551
+ }), W = q ? B ? H : T : B ? S : $;
552
+ y[X] > w[X] && (W = he(W));
553
+ var pe = he(W), Y = [];
554
+ if (i && Y.push(k[M] <= 0), s && Y.push(k[W] <= 0, k[pe] <= 0), Y.every(function(Q) {
555
+ return Q;
556
+ })) {
557
+ A = D, R = !1;
558
+ break;
559
+ }
560
+ P.set(D, Y);
561
+ }
562
+ if (R)
563
+ for (var ue = x ? 3 : 1, we = function(z) {
564
+ var ae = u.find(function(ve) {
565
+ var U = P.get(ve);
566
+ if (U)
567
+ return U.slice(0, z).every(function(xe) {
568
+ return xe;
569
+ });
570
+ });
571
+ if (ae)
572
+ return A = ae, "break";
573
+ }, re = ue; re > 0; re--) {
574
+ var de = we(re);
575
+ if (de === "break")
576
+ break;
577
+ }
578
+ t.placement !== A && (t.modifiersData[a]._skip = !0, t.placement = A, t.reset = !0);
579
+ }
580
+ }
581
+ const sr = {
582
+ name: "flip",
583
+ enabled: !0,
584
+ phase: "main",
585
+ fn: or,
586
+ requiresIfExists: ["offset"],
587
+ data: {
588
+ _skip: !1
589
+ }
590
+ };
591
+ function Je(e, t, r) {
592
+ return r === void 0 && (r = {
593
+ x: 0,
594
+ y: 0
595
+ }), {
596
+ top: e.top - t.height - r.y,
597
+ right: e.right - t.width + r.x,
598
+ bottom: e.bottom - t.height + r.y,
599
+ left: e.left - t.width - r.x
600
+ };
601
+ }
602
+ function Ke(e) {
603
+ return [$, H, S, T].some(function(t) {
604
+ return e[t] >= 0;
605
+ });
606
+ }
607
+ function lr(e) {
608
+ var t = e.state, r = e.name, a = t.rects.reference, n = t.rects.popper, i = t.modifiersData.preventOverflow, c = le(t, {
609
+ elementContext: "reference"
610
+ }), s = le(t, {
611
+ altBoundary: !0
612
+ }), o = Je(c, a), p = Je(s, n, i), f = Ke(o), d = Ke(p);
613
+ t.modifiersData[r] = {
614
+ referenceClippingOffsets: o,
615
+ popperEscapeOffsets: p,
616
+ isReferenceHidden: f,
617
+ hasPopperEscaped: d
618
+ }, t.attributes.popper = Object.assign({}, t.attributes.popper, {
619
+ "data-popper-reference-hidden": f,
620
+ "data-popper-escaped": d
621
+ });
622
+ }
623
+ const fr = {
624
+ name: "hide",
625
+ enabled: !0,
626
+ phase: "main",
627
+ requiresIfExists: ["preventOverflow"],
628
+ fn: lr
629
+ };
630
+ function cr(e, t, r) {
631
+ var a = I(e), n = [T, $].indexOf(a) >= 0 ? -1 : 1, i = typeof r == "function" ? r(Object.assign({}, t, {
632
+ placement: e
633
+ })) : r, c = i[0], s = i[1];
634
+ return c = c || 0, s = (s || 0) * n, [T, H].indexOf(a) >= 0 ? {
635
+ x: s,
636
+ y: c
637
+ } : {
638
+ x: c,
639
+ y: s
640
+ };
641
+ }
642
+ function pr(e) {
643
+ var t = e.state, r = e.options, a = e.name, n = r.offset, i = n === void 0 ? [0, 0] : n, c = et.reduce(function(f, d) {
644
+ return f[d] = cr(d, t.rects, i), f;
645
+ }, {}), s = c[t.placement], o = s.x, p = s.y;
646
+ t.modifiersData.popperOffsets != null && (t.modifiersData.popperOffsets.x += o, t.modifiersData.popperOffsets.y += p), t.modifiersData[a] = c;
647
+ }
648
+ const ur = {
649
+ name: "offset",
650
+ enabled: !0,
651
+ phase: "main",
652
+ requires: ["popperOffsets"],
653
+ fn: pr
654
+ };
655
+ function dr(e) {
656
+ var t = e.state, r = e.name;
657
+ t.modifiersData[r] = st({
658
+ reference: t.rects.reference,
659
+ element: t.rects.popper,
660
+ strategy: "absolute",
661
+ placement: t.placement
662
+ });
663
+ }
664
+ const vr = {
665
+ name: "popperOffsets",
666
+ enabled: !0,
667
+ phase: "read",
668
+ fn: dr,
669
+ data: {}
670
+ };
671
+ function mr(e) {
672
+ return e === "x" ? "y" : "x";
673
+ }
674
+ function gr(e) {
675
+ var t = e.state, r = e.options, a = e.name, n = r.mainAxis, i = n === void 0 ? !0 : n, c = r.altAxis, s = c === void 0 ? !1 : c, o = r.boundary, p = r.rootBoundary, f = r.altBoundary, d = r.padding, g = r.tether, l = g === void 0 ? !0 : g, x = r.tetherOffset, v = x === void 0 ? 0 : x, m = le(t, {
676
+ boundary: o,
677
+ rootBoundary: p,
678
+ padding: d,
679
+ altBoundary: f
680
+ }), h = I(t.placement), O = te(t.placement), b = !O, u = $e(h), y = mr(u), w = t.modifiersData.popperOffsets, P = t.rects.reference, R = t.rects.popper, A = typeof v == "function" ? v(Object.assign({}, t.rects, {
681
+ placement: t.placement
682
+ })) : v, E = typeof A == "number" ? {
683
+ mainAxis: A,
684
+ altAxis: A
685
+ } : Object.assign({
686
+ mainAxis: 0,
687
+ altAxis: 0
688
+ }, A), D = t.modifiersData.offset ? t.modifiersData.offset[t.placement] : null, M = {
689
+ x: 0,
690
+ y: 0
691
+ };
692
+ if (w) {
693
+ if (i) {
694
+ var B, q = u === "y" ? $ : T, X = u === "y" ? S : H, k = u === "y" ? "height" : "width", W = w[u], pe = W + m[q], Y = W - m[X], ue = l ? -R[k] / 2 : 0, we = O === Z ? P[k] : R[k], re = O === Z ? -R[k] : -P[k], de = t.elements.arrow, Q = l && de ? je(de) : {
695
+ width: 0,
696
+ height: 0
697
+ }, z = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : at(), ae = z[q], ve = z[X], U = ie(0, P[k], Q[k]), xe = b ? P[k] / 2 - ue - U - ae - E.mainAxis : we - U - ae - E.mainAxis, lt = b ? -P[k] / 2 + ue + U + ve + E.mainAxis : re + U + ve + E.mainAxis, Oe = t.elements.arrow && ce(t.elements.arrow), ft = Oe ? u === "y" ? Oe.clientTop || 0 : Oe.clientLeft || 0 : 0, Se = (B = D?.[u]) != null ? B : 0, ct = W + xe - Se - ft, pt = W + lt - Se, He = ie(l ? ye(pe, ct) : pe, W, l ? J(Y, pt) : Y);
698
+ w[u] = He, M[u] = He - W;
699
+ }
700
+ if (s) {
701
+ var Me, ut = u === "x" ? $ : T, dt = u === "x" ? S : H, G = w[y], me = y === "y" ? "height" : "width", We = G + m[ut], Ie = G - m[dt], Pe = [$, T].indexOf(h) !== -1, Ne = (Me = D?.[y]) != null ? Me : 0, Ve = Pe ? We : G - P[me] - R[me] - Ne + E.altAxis, ze = Pe ? G + P[me] + R[me] - Ne - E.altAxis : Ie, Fe = l && Pe ? Nt(Ve, G, ze) : ie(l ? Ve : We, G, l ? ze : Ie);
702
+ w[y] = Fe, M[y] = Fe - G;
703
+ }
704
+ t.modifiersData[a] = M;
705
+ }
706
+ }
707
+ const hr = {
708
+ name: "preventOverflow",
709
+ enabled: !0,
710
+ phase: "main",
711
+ fn: gr,
712
+ requiresIfExists: ["offset"]
713
+ };
714
+ function yr(e) {
715
+ return {
716
+ scrollLeft: e.scrollLeft,
717
+ scrollTop: e.scrollTop
718
+ };
719
+ }
720
+ function br(e) {
721
+ return e === C(e) || !L(e) ? Te(e) : yr(e);
722
+ }
723
+ function wr(e) {
724
+ var t = e.getBoundingClientRect(), r = _(t.width) / e.offsetWidth || 1, a = _(t.height) / e.offsetHeight || 1;
725
+ return r !== 1 || a !== 1;
726
+ }
727
+ function xr(e, t, r) {
728
+ r === void 0 && (r = !1);
729
+ var a = L(t), n = L(t) && wr(t), i = F(t), c = ee(e, n, r), s = {
730
+ scrollLeft: 0,
731
+ scrollTop: 0
732
+ }, o = {
733
+ x: 0,
734
+ y: 0
735
+ };
736
+ return (a || !a && !r) && ((N(t) !== "body" || // https://github.com/popperjs/popper-core/issues/1078
737
+ Ce(i)) && (s = br(t)), L(t) ? (o = ee(t, !0), o.x += t.clientLeft, o.y += t.clientTop) : i && (o.x = ke(i))), {
738
+ x: c.left + s.scrollLeft - o.x,
739
+ y: c.top + s.scrollTop - o.y,
740
+ width: c.width,
741
+ height: c.height
742
+ };
743
+ }
744
+ function Or(e) {
745
+ var t = /* @__PURE__ */ new Map(), r = /* @__PURE__ */ new Set(), a = [];
746
+ e.forEach(function(i) {
747
+ t.set(i.name, i);
748
+ });
749
+ function n(i) {
750
+ r.add(i.name);
751
+ var c = [].concat(i.requires || [], i.requiresIfExists || []);
752
+ c.forEach(function(s) {
753
+ if (!r.has(s)) {
754
+ var o = t.get(s);
755
+ o && n(o);
756
+ }
757
+ }), a.push(i);
758
+ }
759
+ return e.forEach(function(i) {
760
+ r.has(i.name) || n(i);
761
+ }), a;
762
+ }
763
+ function Pr(e) {
764
+ var t = Or(e);
765
+ return Lt.reduce(function(r, a) {
766
+ return r.concat(t.filter(function(n) {
767
+ return n.phase === a;
768
+ }));
769
+ }, []);
770
+ }
771
+ function Er(e) {
772
+ var t;
773
+ return function() {
774
+ return t || (t = new Promise(function(r) {
775
+ Promise.resolve().then(function() {
776
+ t = void 0, r(e());
777
+ });
778
+ })), t;
779
+ };
780
+ }
781
+ function Ar(e) {
782
+ var t = e.reduce(function(r, a) {
783
+ var n = r[a.name];
784
+ return r[a.name] = n ? Object.assign({}, n, a, {
785
+ options: Object.assign({}, n.options, a.options),
786
+ data: Object.assign({}, n.data, a.data)
787
+ }) : a, r;
788
+ }, {});
789
+ return Object.keys(t).map(function(r) {
790
+ return t[r];
791
+ });
792
+ }
793
+ var Qe = {
794
+ placement: "bottom",
795
+ modifiers: [],
796
+ strategy: "absolute"
797
+ };
798
+ function Ze() {
799
+ for (var e = arguments.length, t = new Array(e), r = 0; r < e; r++)
800
+ t[r] = arguments[r];
801
+ return !t.some(function(a) {
802
+ return !(a && typeof a.getBoundingClientRect == "function");
803
+ });
804
+ }
805
+ function Rr(e) {
806
+ e === void 0 && (e = {});
807
+ var t = e, r = t.defaultModifiers, a = r === void 0 ? [] : r, n = t.defaultOptions, i = n === void 0 ? Qe : n;
808
+ return function(s, o, p) {
809
+ p === void 0 && (p = i);
810
+ var f = {
811
+ placement: "bottom",
812
+ orderedModifiers: [],
813
+ options: Object.assign({}, Qe, i),
814
+ modifiersData: {},
815
+ elements: {
816
+ reference: s,
817
+ popper: o
818
+ },
819
+ attributes: {},
820
+ styles: {}
821
+ }, d = [], g = !1, l = {
822
+ state: f,
823
+ setOptions: function(h) {
824
+ var O = typeof h == "function" ? h(f.options) : h;
825
+ v(), f.options = Object.assign({}, i, f.options, O), f.scrollParents = {
826
+ reference: K(s) ? oe(s) : s.contextElement ? oe(s.contextElement) : [],
827
+ popper: oe(o)
828
+ };
829
+ var b = Pr(Ar([].concat(a, f.options.modifiers)));
830
+ return f.orderedModifiers = b.filter(function(u) {
831
+ return u.enabled;
832
+ }), x(), l.update();
833
+ },
834
+ // Sync update – it will always be executed, even if not necessary. This
835
+ // is useful for low frequency updates where sync behavior simplifies the
836
+ // logic.
837
+ // For high frequency updates (e.g. `resize` and `scroll` events), always
838
+ // prefer the async Popper#update method
839
+ forceUpdate: function() {
840
+ if (!g) {
841
+ var h = f.elements, O = h.reference, b = h.popper;
842
+ if (Ze(O, b)) {
843
+ f.rects = {
844
+ reference: xr(O, ce(b), f.options.strategy === "fixed"),
845
+ popper: je(b)
846
+ }, f.reset = !1, f.placement = f.options.placement, f.orderedModifiers.forEach(function(E) {
847
+ return f.modifiersData[E.name] = Object.assign({}, E.data);
848
+ });
849
+ for (var u = 0; u < f.orderedModifiers.length; u++) {
850
+ if (f.reset === !0) {
851
+ f.reset = !1, u = -1;
852
+ continue;
853
+ }
854
+ var y = f.orderedModifiers[u], w = y.fn, P = y.options, R = P === void 0 ? {} : P, A = y.name;
855
+ typeof w == "function" && (f = w({
856
+ state: f,
857
+ options: R,
858
+ name: A,
859
+ instance: l
860
+ }) || f);
861
+ }
862
+ }
863
+ }
864
+ },
865
+ // Async and optimistically optimized update – it will not be executed if
866
+ // not necessary (debounced to run at most once-per-tick)
867
+ update: Er(function() {
868
+ return new Promise(function(m) {
869
+ l.forceUpdate(), m(f);
870
+ });
871
+ }),
872
+ destroy: function() {
873
+ v(), g = !0;
874
+ }
875
+ };
876
+ if (!Ze(s, o))
877
+ return l;
878
+ l.setOptions(p).then(function(m) {
879
+ !g && p.onFirstUpdate && p.onFirstUpdate(m);
880
+ });
881
+ function x() {
882
+ f.orderedModifiers.forEach(function(m) {
883
+ var h = m.name, O = m.options, b = O === void 0 ? {} : O, u = m.effect;
884
+ if (typeof u == "function") {
885
+ var y = u({
886
+ state: f,
887
+ name: h,
888
+ instance: l,
889
+ options: b
890
+ }), w = function() {
891
+ };
892
+ d.push(y || w);
893
+ }
894
+ });
895
+ }
896
+ function v() {
897
+ d.forEach(function(m) {
898
+ return m();
899
+ }), d = [];
900
+ }
901
+ return l;
902
+ };
903
+ }
904
+ var Dr = [Kt, vr, Gt, Mt, ur, sr, hr, qt, fr], Br = /* @__PURE__ */ Rr({
905
+ defaultModifiers: Dr
906
+ });
907
+ const jr = {
908
+ /**
909
+ * Sets the `aria-hidden` attribute for the icon. If set to true, the icon will not be read by screen readers. Should be used if icon is purely decorative (such as when used in a button or textfield) or labeled by rendered text using `aria-labelledBy` or `aria-label`.
910
+ *
911
+ * Defaults to **null**.
912
+ */
913
+ ariaHidden: j.bool,
914
+ /**
915
+ * Accessibility label for assistive technologies.
916
+ *
917
+ * Defaults to **null**.
918
+ */
919
+ ariaLabel: j.string,
920
+ /**
921
+ * Id of the component being labeled for assistive technologies.
922
+ *
923
+ * Defaults to **null**.
924
+ */
925
+ ariaLabelledBy: j.string,
926
+ /**
927
+ * The custom icon notification badge to be rendered. The icon notification badge component prevents `xsmall` and `small` icon size
928
+ *
929
+ * Defaults to **undefined**.
930
+ */
931
+ badge: j.node,
932
+ /**
933
+ * The placement of the notification badge on the icon to start. It will flip to the opposite side if there is no room.
934
+ *
935
+ * Defaults to **'right-start'**.
936
+ */
937
+ badgePlacement: j.oneOf(["right-start", "left-start"]),
938
+ /**
939
+ * The css class name to be passed through to the component markup.
940
+ *
941
+ * Defaults to **undefined**.
942
+ */
943
+ className: j.string,
944
+ /**
945
+ * Mostly commonly a string but accepts any valid markup or components. If a custom icon is used styles like color and size will need be handled with custom CSS.
946
+ *
947
+ * Defaults to **null**.
948
+ */
949
+ icon: j.oneOfType([j.string, j.node]),
950
+ /**
951
+ * One of 'xsmall', 'small', 'medium', 'large', and 'xlarge' will change the size of the icon. Defaults to medium.
952
+ *
953
+ * Defaults to **'medium'**.
954
+ */
955
+ iconSize: j.oneOf(["xsmall", "small", "medium", "large", "xlarge"]),
956
+ /**
957
+ * The icon type to be rendered. Not all icons have every type. To see which icons are available for different types see [Material Icons docs](https://material.io/tools/icons)
958
+ *
959
+ * Defaults to **'filled'**.
960
+ */
961
+ iconType: j.oneOf(["filled", "outlined", "rounded", "two-tone", "sharp"]),
962
+ /**
963
+ * Add pointer icon style
964
+ *
965
+ * Defaults to **false**.
966
+ */
967
+ pointer: j.bool,
968
+ /**
969
+ * @deprecated _Renamed, see iconSize instead._
970
+ *
971
+ * One of 'xsmall', 'small', 'medium', 'large', and 'xlarge' will change the size of the icon. Defaults to medium.
972
+ *
973
+ * Defaults to **undefined**.
974
+ */
975
+ size: vt(j.oneOf(["xsmall", "small", "medium", "large", "xlarge"]), "Icon", "Renamed, see iconSize instead."),
976
+ /**
977
+ * Color variations. Variants prefixed with `filled-` will add a background color to the icon according to the theme. Variants prefixed with ` color-` will change the color of the icon according to the theme.
978
+ *
979
+ * Defaults to **empty string**.
980
+ */
981
+ variant: mt(j.oneOf(["", "filled-danger-alt", "filled-danger", "filled-muted", "filled-primary", "filled-secondary", "color-primary", "color-secondary", "color-on-dark", "blue", "gray", "green", "orange", "purple", "red", "teal", "yellow"]), ["primary-alt", "secondary-alt", "primary", "danger-alt", "danger", "muted"], "Icon", "Please use one of '','filled-danger-alt','filled-danger','filled-muted','filled-primary','filled-secondary','color-primary','color-secondary','color-on-dark','blue','gray','green','orange','purple','red','teal','yellow'.")
982
+ }, $r = {
983
+ ariaHidden: null,
984
+ ariaLabel: null,
985
+ ariaLabelledBy: null,
986
+ badge: void 0,
987
+ badgePlacement: "right-start",
988
+ className: void 0,
989
+ icon: null,
990
+ iconSize: "medium",
991
+ iconType: "filled",
992
+ pointer: !1,
993
+ size: void 0,
994
+ variant: ""
995
+ }, Le = /* @__PURE__ */ xt((e, t) => {
996
+ const {
997
+ ariaHidden: r,
998
+ ariaLabel: a,
999
+ ariaLabelledBy: n,
1000
+ badge: i,
1001
+ badgePlacement: c,
1002
+ className: s,
1003
+ icon: o,
1004
+ iconType: p,
1005
+ pointer: f,
1006
+ size: d,
1007
+ iconSize: g,
1008
+ variant: l,
1009
+ ...x
1010
+ } = e, v = Ee(), m = Ee(), h = Ee();
1011
+ Ot(t, () => v.current, []), gt(() => {
1012
+ if (i) {
1013
+ let b;
1014
+ i.props.counter != null ? b = [{
1015
+ name: "flip",
1016
+ options: {
1017
+ fallbackPlacements: ["right", "left"]
1018
+ }
1019
+ }, {
1020
+ name: "offset",
1021
+ options: {
1022
+ offset: (u) => {
1023
+ let {
1024
+ placement: y
1025
+ } = u;
1026
+ return y === "right-start" ? [-5, -10] : [-7, -10];
1027
+ }
1028
+ }
1029
+ }] : b = [{
1030
+ name: "flip",
1031
+ options: {
1032
+ fallbackPlacements: ["right-start", "left-start"]
1033
+ }
1034
+ }, {
1035
+ name: "offset",
1036
+ options: {
1037
+ offset: [0, -10]
1038
+ }
1039
+ }], h.current = Br(v.current, m.current, {
1040
+ placement: c,
1041
+ modifiers: b
1042
+ });
1043
+ }
1044
+ return () => {
1045
+ var b;
1046
+ h == null || (b = h.current) === null || b === void 0 || b.destroy();
1047
+ };
1048
+ }, [i, c]);
1049
+ const O = ht("lmnt", "lmnt-icon", p === "filled" && "material-icons", p === "outlined" && "material-icons-outlined", p === "rounded" && "material-icons-round", p === "two-tone" && "material-icons-two-tone", p === "sharp" && "material-icons-sharp", f && "lmnt-icon-pointer", d === "medium" || g === "medium" && "lmnt-icon--medium", d === "large" || g === "large" && "lmnt-icon--large", d === "xlarge" || g === "xlarge" && "lmnt-icon--xlarge", (l === "primary" || l === "primary-alt" || l === "muted" || l === "danger" || l === "danger-alt" || l === "filled-primary" || l === "filled-secondary" || l === "filled-muted" || l === "filled-danger" || l === "filled-danger-alt" || l === "blue" || l === "gray" || l === "green" || l === "orange" || l === "purple" || l === "red" || l === "teal" || l === "yellow") && "lmnt-icon--fill", (l === "danger-alt" || l === "filled-danger-alt") && "lmnt-icon--fill-danger-alt", (l === "danger" || l === "filled-danger") && "lmnt-icon--fill-danger", (l === "primary" || l === "filled-primary") && "lmnt-icon--fill-primary", (l === "primary-alt" || l === "filled-secondary") && "lmnt-icon--fill-secondary", (l === "muted" || l === "filled-muted") && "lmnt-icon--fill-muted", (l === "secondary-alt" || l === "color-on-dark") && "lmnt-icon--color-on-dark", l === "color-primary" && "lmnt-icon--color-primary", l === "color-secondary" && "lmnt-icon--color-secondary", l === "blue" && "lmnt-icon--utility-blue", l === "gray" && "lmnt-icon--utility-gray", l === "green" && "lmnt-icon--utility-green", l === "orange" && "lmnt-icon--utility-orange", l === "purple" && "lmnt-icon--utility-purple", l === "red" && "lmnt-icon--utility-red", l === "teal" && "lmnt-icon--utility-teal", l === "yellow" && "lmnt-icon--utility-yellow", !i && (d === "xsmall" || g === "xsmall" && "lmnt-icon--xsmall"), !i && (d === "small" || g === "small" && "lmnt-icon--small"), s);
1050
+ return /* @__PURE__ */ wt.createElement("i", yt({
1051
+ className: O,
1052
+ "aria-label": a,
1053
+ "aria-labelledby": n,
1054
+ "aria-hidden": a || n ? r : !1
1055
+ }, x, {
1056
+ ref: v
1057
+ }), o, bt(i, {
1058
+ ref: m
1059
+ }));
1060
+ });
1061
+ Le.displayName = "Icon";
1062
+ Le.propTypes = jr;
1063
+ Le.defaultProps = $r;
1064
+ export {
1065
+ Le as I,
1066
+ Br as c
1067
+ };