@hortiview/shared-components 0.0.4723 → 0.0.4724

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (58) hide show
  1. package/dist/_getTag-DyrzUAbj.js +494 -0
  2. package/dist/components/BaseView/BaseView.js +43 -297
  3. package/dist/components/BasicHeading/BasicHeading.js +24 -25
  4. package/dist/components/BasicHeading/BasicHeading.test.js +4 -4
  5. package/dist/components/BlockView/BlockView.js +14 -14
  6. package/dist/components/DeleteModal/DeleteModal.js +49 -4687
  7. package/dist/components/Disclaimer/Disclaimer.js +8 -10
  8. package/dist/components/EmptyView/EmptyView.js +8 -247
  9. package/dist/components/HashTabView/HashTabView.js +52 -1838
  10. package/dist/components/HeaderFilter/HeaderFilter.js +18 -7595
  11. package/dist/components/Iconify/Iconify.js +1 -1
  12. package/dist/components/ListArea/ListArea.js +316 -261
  13. package/dist/components/ListArea/ListArea.test.js +1 -1
  14. package/dist/components/ListArea/ListAreaService.js +34 -35
  15. package/dist/components/SearchBar/SearchBar.js +21 -2043
  16. package/package.json +1 -1
  17. package/dist/BlockView.module-ypKp14Lt.cjs +0 -1
  18. package/dist/HashTabView.module-B20c3S70.cjs +0 -1
  19. package/dist/HeaderFilter.module-DSCJz6-s.cjs +0 -1
  20. package/dist/_commonjsHelpers-DwTZ_eVU.cjs +0 -1
  21. package/dist/_getTag-DNUtgXkb.js +0 -136
  22. package/dist/_getTag-DSIzMwlx.cjs +0 -1
  23. package/dist/_stringToPath-B-GSTJ2e.cjs +0 -1
  24. package/dist/_stringToPath-BfzwTbL6.js +0 -54
  25. package/dist/baseView.module--VUY4h_X.cjs +0 -1
  26. package/dist/basicHeading.module-BbcVMp42.cjs +0 -1
  27. package/dist/component-DJvMx3oL.cjs +0 -148
  28. package/dist/component-Rx4bNsGO.js +0 -680
  29. package/dist/disclaimer.module-BfrBh-Rf.cjs +0 -1
  30. package/dist/index.es-80RhGkCD.cjs +0 -1
  31. package/dist/index.es-Ba9oZK_n.js +0 -769
  32. package/dist/index.es-C1ojb4Lq.js +0 -106
  33. package/dist/index.es-CEydmFbW.cjs +0 -23
  34. package/dist/index.es-CKdjg72r.cjs +0 -64
  35. package/dist/index.es-CNBieliG.js +0 -151
  36. package/dist/index.es-CPRODq-I.cjs +0 -127
  37. package/dist/index.es-CQ3ep412.js +0 -305
  38. package/dist/index.es-CSD_u-fK.cjs +0 -1
  39. package/dist/index.es-CVCp4d0C.js +0 -45
  40. package/dist/index.es-Cct4Uapb.js +0 -1776
  41. package/dist/index.es-Cj9DW-2T.js +0 -430
  42. package/dist/index.es-Cm4X20_S.js +0 -673
  43. package/dist/index.es-Cqx46S1V.cjs +0 -540
  44. package/dist/index.es-DiO-sp-V.cjs +0 -1
  45. package/dist/index.es-DyXn5zZ8.cjs +0 -1
  46. package/dist/index.es-InSNsV4f.js +0 -1067
  47. package/dist/index.es-J3ub0jmR.cjs +0 -1
  48. package/dist/index.es-L0ZCcbUf.js +0 -4939
  49. package/dist/index.es-gvcK6-6t.cjs +0 -1
  50. package/dist/listArea.module-CMO-yRdf.cjs +0 -1
  51. package/dist/magic-string.es-EQkD18No.cjs +0 -10
  52. package/dist/react.esm-CMNZXU0t.cjs +0 -93
  53. package/dist/searchBar.module-CFi8D8zn.cjs +0 -1
  54. package/dist/tslib.es6-CIXEwqhg.js +0 -72
  55. package/dist/tslib.es6-D1TYK0An.cjs +0 -1
  56. package/dist/useBreakpoint-PUopk3AO.cjs +0 -1
  57. package/dist/verticalDivider.module-Ciw9Fnt1.cjs +0 -1
  58. package/dist/vi.JYQecGiw-M1q0RI3O.cjs +0 -512
@@ -1,305 +0,0 @@
1
- import { d as r, P as n, a as on, b as T, _ as S, c as W } from "./index.es-Cct4Uapb.js";
2
- import i, { forwardRef as D, useRef as ln, useImperativeHandle as an, useCallback as R } from "react";
3
- import { R as dn } from "./index.es-CVCp4d0C.js";
4
- import { I as E } from "./index.es-InSNsV4f.js";
5
- const rn = {
6
- /**
7
- * @deprecated _Use `themeColor='secondary'` instead._
8
- *
9
- * Preview feature, this may change. Apply alternative button color scheme (defined by the individual theme).
10
- *
11
- * Defaults to **undefined**.
12
- */
13
- altColor: r(n.bool, "Button", 'Use `themeColor="secondary"` instead.'),
14
- /**
15
- * One of 'xsmall', 'small', 'medium', 'large' and 'xlarge' will change the size of the button. Defaults according to your theme.
16
- *
17
- * Defaults to **'themeDefault'**.
18
- */
19
- buttonSize: n.oneOf(["xsmall", "small", "medium", "large", "xlarge", "themeDefault"]),
20
- /**
21
- * Content to be rendered inside the button. Can be used instead `label` of to provide more flexibility. Accepts any valid markup. _Warning, if Label is set, it will be used instead of child content._
22
- *
23
- * Defaults to **null**.
24
- */
25
- children: n.node,
26
- /**
27
- * The css class name to be passed through to the component markup.
28
- *
29
- * Defaults to **undefined**.
30
- */
31
- className: n.string,
32
- /**
33
- * @deprecated _forwardRef has been implemented for Button._
34
- *
35
- * Reference to the DOM button. This enables a greater level of integration.
36
- *
37
- * Defaults to **undefined**.
38
- */
39
- customRef: r(n.oneOfType([
40
- n.func,
41
- // eslint-disable-next-line react/forbid-prop-types
42
- n.shape({
43
- current: n.any
44
- })
45
- ]), "Button", "forwardRef has been implemented for Button."),
46
- /**
47
- * @deprecated _Use `variant='danger'` instead._
48
- *
49
- * Apply danger style to the button.
50
- *
51
- * Defaults to **undefined**.
52
- */
53
- danger: r(n.bool, "Button", 'Use `variant="danger"` instead.'),
54
- /**
55
- * Prevent the user from interacting with the component.
56
- *
57
- * Defaults to **false**.
58
- */
59
- disabled: n.bool,
60
- /**
61
- * Sets elevation of the button. Default will be the theme default.
62
- *
63
- * Defaults to **'default'**.
64
- */
65
- elevation: n.oneOf(["default", "elevated", "flat"]),
66
- /**
67
- * @deprecated _Use `variant='filled'` instead._
68
- *
69
- * Apply a filled-in style. Previously called `primary`.
70
- *
71
- * Defaults to **undefined**.
72
- */
73
- filled: r(n.bool, "Button", 'Use `variant="filled"` instead.'),
74
- /**
75
- * Applies a full-width style where the textfield will fill it's container.
76
- *
77
- * Defaults to **false**.
78
- */
79
- fullWidth: n.bool,
80
- /**
81
- * The button will render as an anchor tag. If the tag prop is set, that prop will take precedence.
82
- *
83
- * Defaults to **null**.
84
- */
85
- href: n.string,
86
- /**
87
- * The displayed text. Expects a valid string. If label and children are both set, label will take priority.
88
- *
89
- * Defaults to **null**.
90
- */
91
- label: n.string,
92
- /**
93
- * Adds the given Icon to the left of the button text. May not be used with `trailingIcon` - if `leadingIcon` and `trailingIcon` are both set, `leadingIcon` will take priority. Expects the name of a valid Material.io icon, however an icon component may be passed in instead for more control,
94
- *
95
- * Defaults to **undefined**.
96
- */
97
- leadingIcon: n.oneOfType([n.string, n.func, n.node]),
98
- /**
99
- * The primary interaction event for button.
100
- *
101
- * Defaults to **null**.
102
- */
103
- onClick: n.func,
104
- /**
105
- * @deprecated _Use `variant='outlined'`._
106
- *
107
- * Apply outlined style to the button. Previously called `secondary`.
108
- *
109
- * Defaults to **undefined**.
110
- */
111
- outlined: r(n.bool, "Button", 'Use `variant="outlined"`.'),
112
- /**
113
- * @deprecated _Use `variant='filled'` instead._
114
- *
115
- * Apply primary style to the Button.
116
- *
117
- * Defaults to **undefined**.
118
- */
119
- primary: r(n.bool, "Button", 'Use `variant="filled"` instead.'),
120
- /**
121
- * @deprecated _Use `'variant=outlined'` instead._
122
- *
123
- * Apply secondary style to the Button.
124
- *
125
- * Defaults to **undefined**.
126
- */
127
- secondary: r(n.bool, "Button", 'Use `"variant=outlined"` instead.'),
128
- /**
129
- * By default a button or anchor tag will be rendered, this allows another tag/component to be used instead. A block type element/component is suggested.
130
- *
131
- * Defaults to **null**.
132
- */
133
- tag: n.oneOfType([n.string, n.elementType, n.instanceOf(i.Component)]),
134
- /**
135
- * @deprecated _Use `variant='embedded'` instead._
136
- *
137
- * Apply tertiary style to the Button.
138
- *
139
- * Defaults to **undefined**.
140
- */
141
- tertiary: r(n.bool, "Button", 'Use `variant="embedded"` instead.'),
142
- /**
143
- * @deprecated _Use `variant='text'` instead._
144
- *
145
- * Apply unfilled, un-outlined style to the Button. Previously called `tertiary`.
146
- *
147
- * Defaults to **undefined**.
148
- */
149
- text: r(n.bool, "Button", 'Use `variant="text"` instead.'),
150
- /**
151
- * Sets the theme color for the button. Most commonly used when the control is placed on a darker surface.
152
- *
153
- * Defaults to **'primary'**.
154
- */
155
- themeColor: on(n.oneOf(["primary", "secondary", "danger", "success", "on-unknown-black", "on-unknown-white", "on-primary", "on-secondary", "on-success", "on-danger"]), ["onUnknownBlack", "onUnknownWhite"], "Button", "Please use one of 'primary','secondary','danger','success','on-unknown-black','on-unknown-white','on-primary','on-secondary','on-success','on-danger'."),
156
- /**
157
- * Adds the given Icon to the right of the button text. May not be used with `leadingIcon` - if `leadingIcon` and `trailingIcon` are both set, `leadingIcon` will take priority. Expects the name of a valid Material.io icon, however an icon component may be passed in instead for more control.
158
- *
159
- * Defaults to **undefined**.
160
- */
161
- trailingIcon: n.oneOfType([n.string, n.func, n.node]),
162
- /**
163
- * This applies the html button type (button, submit, reset) or the anchor media type when used with the href property.
164
- *
165
- * Defaults to **'button'**.
166
- */
167
- type: n.oneOf(["button", "submit", "reset"]),
168
- /**
169
- * @deprecated _Use `elevation='flat' instead._
170
- *
171
- * Remove elevation.
172
- *
173
- * Defaults to **undefined**.
174
- */
175
- unelevated: r(n.bool, "Button", 'Use `elevation="flat" instead.'),
176
- /**
177
- * Applies the selected style to the button. `rounded-small` and `rounded-micro` are only available on select themes.
178
- *
179
- * Defaults to **'filled'**.
180
- */
181
- variant: n.oneOf(["filled", "outlined", "danger", "text", "success", "rounded-small", "rounded-micro"])
182
- }, un = {
183
- altColor: void 0,
184
- buttonSize: "themeDefault",
185
- children: null,
186
- className: void 0,
187
- customRef: void 0,
188
- danger: void 0,
189
- disabled: !1,
190
- elevation: "default",
191
- filled: void 0,
192
- fullWidth: !1,
193
- href: null,
194
- label: null,
195
- leadingIcon: void 0,
196
- outlined: void 0,
197
- primary: void 0,
198
- secondary: void 0,
199
- tag: null,
200
- tertiary: void 0,
201
- text: void 0,
202
- themeColor: "primary",
203
- trailingIcon: void 0,
204
- type: "button",
205
- unelevated: void 0,
206
- variant: "filled"
207
- }, sn = {
208
- /**
209
- * Children to be rendered. Expects multiple Element Buttons
210
- *
211
- * Defaults to **null**.
212
- */
213
- children: n.node,
214
- /**
215
- * How much spacing between buttons. Dense is 8p, standard is 16px and airy is 24px.
216
- *
217
- * Defaults to **'standard'**.
218
- */
219
- variant: n.oneOf(["dense", "standard", "airy"])
220
- }, cn = {
221
- children: null,
222
- variant: "standard"
223
- }, O = /* @__PURE__ */ D((_, h) => {
224
- const {
225
- altColor: k,
226
- buttonSize: x,
227
- children: p,
228
- className: w,
229
- customRef: G,
230
- disabled: z,
231
- elevation: N,
232
- primary: F,
233
- secondary: H,
234
- tertiary: L,
235
- text: $,
236
- danger: j,
237
- filled: q,
238
- fullWidth: A,
239
- href: P,
240
- label: J,
241
- leadingIcon: l,
242
- onClick: K,
243
- outlined: M,
244
- tag: Q,
245
- themeColor: e,
246
- trailingIcon: m,
247
- type: V,
248
- unelevated: t,
249
- variant: u,
250
- ...X
251
- } = _, v = ln(G || null);
252
- an(h, () => v.current, []);
253
- const Y = J || p, Z = Q || (P ? "a" : "button"), a = u === "outlined" || M || H, U = u === "rounded-small" || u === "rounded-micro", d = u === "text" || $ || L, c = u === "danger" || j || e === "danger", b = u === "success" || e === "success", o = !a && !d && (u === "filled" || q || F), f = k || e === "secondary", s = e === "primary", nn = m && !l, y = e === "onUnknownBlack" || e === "on-unknown-black", g = e === "onUnknownWhite" || e === "on-unknown-white", B = e === "onPrimary" || e === "on-primary", I = e === "onSecondary" || e === "on-secondary", tn = R(() => typeof l == "string" ? /* @__PURE__ */ i.createElement(E, {
254
- tabIndex: 0,
255
- role: "button",
256
- className: "mdc-button__icon lmnt-button__icon--leading",
257
- icon: l
258
- }) : typeof l == "function" ? l({
259
- className: "mdc-button__icon lmnt-button__icon--leading"
260
- }) : T(l, "mdc-button__icon lmnt-button__icon--leading"), [l]), en = R(() => typeof m == "string" ? /* @__PURE__ */ i.createElement(E, {
261
- tabIndex: 0,
262
- role: "button",
263
- className: "mdc-button__icon lmnt-button__icon--trailing",
264
- icon: m
265
- }) : typeof l == "function" ? m({
266
- className: "mdc-button__icon lmnt-button__icon--trailing"
267
- }) : T(m, "mdc-button__icon lmnt-button__icon--trailing"), [l, m]);
268
- return /* @__PURE__ */ i.createElement(dn, {
269
- componentRef: v
270
- }, /* @__PURE__ */ i.createElement(Z, S({
271
- ref: v,
272
- href: P,
273
- onClick: K,
274
- type: V,
275
- disabled: z,
276
- className: W("lmnt", "mdc-button", "lmnt-button", o && t && s && "lmnt-button--filled-primary", o && c && "lmnt-button--filled-danger", o && b && "lmnt-button--filled-success", o && t && f && "lmnt-button--filled-secondary", o && !t && s && ["lmnt-button--filled-primary", "mdc-button--raised"], o && !t && f && ["lmnt-button--filled-secondary", "mdc-button--raised"], o && !t && e === "on-primary" && ["lmnt-button--filled-on-primary", "mdc-button--raised"], o && !t && e === "on-secondary" && ["lmnt-button--filled-on-secondary", "mdc-button--raised"], o && !t && e === "on-success" && ["lmnt-button--filled-on-success", "mdc-button--raised"], o && !t && e === "on-danger" && ["lmnt-button--filled-on-danger", "mdc-button--raised"], o && !t && y && ["lmnt-button--filled-on-unknown-black", "mdc-button--raised"], o && !t && g && ["lmnt-button--filled-on-unknown-white", "mdc-button--raised"], a && s && ["lmnt-button--outlined-primary", "mdc-button--outlined"], o && !t && B && ["lmnt-button--filled-on-primary", "mdc-button--raised"], a && f && ["lmnt-button--outlined-secondary", "mdc-button--outlined"], a && B && "lmnt-button--outlined-on-primary mdc-button--outlined", a && I && "lmnt-button--outlined-on-secondary mdc-button--outlined", a && g && "lmnt-button--outlined-on-unknown-white mdc-button--outlined", a && y && "lmnt-button--outlined-on-unknown-black mdc-button--outlined", d && B && "lmnt-button--text-on-primary mdc-button__text", d && I && "lmnt-button--text-on-secondary mdc-button__text", d && g && "lmnt-button--text-on-unknown-white mdc-button__text", d && y && "lmnt-button--text-on-unknown-black mdc-button__text", U && g && "lmnt-button--text-on-unknown-white mdc-button__text", U && y && "lmnt-button--text-on-unknown-black mdc-button__text", d && s && "lmnt-button--text-primary", d && f && "lmnt-button--text-secondary", d && c && "lmnt-button--text-danger", d && b && "lmnt-button--text-success", c && t && f && "lmnt-button--danger-secondary", c && !t && f && ["lmnt-button--danger-secondary", "mdc-button--raised"], c && t && s && "lmnt-button--danger-primary", c && !t && s && ["lmnt-button--danger-primary", "mdc-button--raised"], c && a && ["lmnt-button--danger-primary", "mdc-button--outlined"], b && t && s && "lmnt-button--success-primary", b && !t && s && ["lmnt-button--success-primary", "mdc-button--raised"], b && a && ["lmnt-button--success-primary", "mdc-button--outlined"], b && a && ["lmnt-button--success-primary", "mdc-button--outlined"], A && "lmnt-button--full-width", t && !d && "mdc-button--unelevated", N === "flat" && "lmnt-button--flat", N === "elevated" && "lmnt-button--elevated", `lmnt-button--${x}`, u === "rounded-small" && "lmnt-button--rounded lmnt-button--rounded-small mdc-button__text lmnt-button--text-primary", u === "rounded-micro" && "lmnt-button--rounded lmnt-button--rounded-micro mdc-button__text lmnt-button--text-primary", w, "mdc-touch-target-wrapper")
277
- }, X), /* @__PURE__ */ i.createElement("span", {
278
- className: "mdc-button__ripple"
279
- }), l && tn(), /* @__PURE__ */ i.createElement("span", {
280
- className: "mdc-button__label"
281
- }, Y), nn && en(), /* @__PURE__ */ i.createElement("span", {
282
- className: "mdc-button__touch"
283
- })));
284
- });
285
- O.displayName = "Button";
286
- O.propTypes = rn;
287
- O.defaultProps = un;
288
- const C = /* @__PURE__ */ D((_, h) => {
289
- const {
290
- children: k,
291
- className: x,
292
- variant: p,
293
- ...w
294
- } = _;
295
- return /* @__PURE__ */ i.createElement("div", S({
296
- ref: h,
297
- className: W("lmnt", "lmnt-button-group", p === "dense" && "lmnt-button-group--dense", p === "standard" && "lmnt-button-group--standard", p === "airy" && "lmnt-button-group--airy", x)
298
- }, w), k);
299
- });
300
- C.displayName = "ButtonGroup";
301
- C.propTypes = sn;
302
- C.defaultProps = cn;
303
- export {
304
- O as B
305
- };
@@ -1 +0,0 @@
1
- "use strict";const E=require("./index.es-CEydmFbW.cjs"),Z=require("react");var j="top",S="bottom",H="right",$="left",De="auto",ce=[j,S,H,$],_="start",le="end",mt="clippingParents",_e="viewport",oe="popper",gt="reference",Fe=ce.reduce(function(e,t){return e.concat([t+"-"+_,t+"-"+le])},[]),et=[].concat(ce,[De]).reduce(function(e,t){return e.concat([t,t+"-"+_,t+"-"+le])},[]),yt="beforeRead",ht="read",bt="afterRead",wt="beforeMain",xt="main",Ot="afterMain",Pt="beforeWrite",Et="write",At="afterWrite",Tt=[yt,ht,bt,wt,xt,Ot,Pt,Et,At];function N(e){return e?(e.nodeName||"").toLowerCase():null}function C(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function K(e){var t=C(e).Element;return e instanceof t||e instanceof Element}function L(e){var t=C(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function Be(e){if(typeof ShadowRoot>"u")return!1;var t=C(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function Rt(e){var t=e.state;Object.keys(t.elements).forEach(function(r){var n=t.styles[r]||{},a=t.attributes[r]||{},o=t.elements[r];!L(o)||!N(o)||(Object.assign(o.style,n),Object.keys(a).forEach(function(c){var s=a[c];s===!1?o.removeAttribute(c):o.setAttribute(c,s===!0?"":s)}))})}function Dt(e){var t=e.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow),function(){Object.keys(t.elements).forEach(function(n){var a=t.elements[n],o=t.attributes[n]||{},c=Object.keys(t.styles.hasOwnProperty(n)?t.styles[n]:r[n]),s=c.reduce(function(i,p){return i[p]="",i},{});!L(a)||!N(a)||(Object.assign(a.style,s),Object.keys(o).forEach(function(i){a.removeAttribute(i)}))})}}const Bt={name:"applyStyles",enabled:!0,phase:"write",fn:Rt,effect:Dt,requires:["computeStyles"]};function I(e){return e.split("-")[0]}var J=Math.max,be=Math.min,ee=Math.round;function Te(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function tt(){return!/^((?!chrome|android).)*safari/i.test(Te())}function te(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!1);var n=e.getBoundingClientRect(),a=1,o=1;t&&L(e)&&(a=e.offsetWidth>0&&ee(n.width)/e.offsetWidth||1,o=e.offsetHeight>0&&ee(n.height)/e.offsetHeight||1);var c=K(e)?C(e):window,s=c.visualViewport,i=!tt()&&r,p=(n.left+(i&&s?s.offsetLeft:0))/a,f=(n.top+(i&&s?s.offsetTop:0))/o,d=n.width/a,g=n.height/o;return{width:d,height:g,top:f,right:p+d,bottom:f+g,left:p,x:p,y:f}}function je(e){var t=te(e),r=e.offsetWidth,n=e.offsetHeight;return Math.abs(t.width-r)<=1&&(r=t.width),Math.abs(t.height-n)<=1&&(n=t.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:n}}function rt(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&Be(r)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function V(e){return C(e).getComputedStyle(e)}function jt(e){return["table","td","th"].indexOf(N(e))>=0}function q(e){return((K(e)?e.ownerDocument:e.document)||window.document).documentElement}function we(e){return N(e)==="html"?e:e.assignedSlot||e.parentNode||(Be(e)?e.host:null)||q(e)}function Xe(e){return!L(e)||V(e).position==="fixed"?null:e.offsetParent}function $t(e){var t=/firefox/i.test(Te()),r=/Trident/i.test(Te());if(r&&L(e)){var n=V(e);if(n.position==="fixed")return null}var a=we(e);for(Be(a)&&(a=a.host);L(a)&&["html","body"].indexOf(N(a))<0;){var o=V(a);if(o.transform!=="none"||o.perspective!=="none"||o.contain==="paint"||["transform","perspective"].indexOf(o.willChange)!==-1||t&&o.willChange==="filter"||t&&o.filter&&o.filter!=="none")return a;a=a.parentNode}return null}function pe(e){for(var t=C(e),r=Xe(e);r&&jt(r)&&V(r).position==="static";)r=Xe(r);return r&&(N(r)==="html"||N(r)==="body"&&V(r).position==="static")?t:r||$t(e)||t}function $e(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function ie(e,t,r){return J(e,be(t,r))}function kt(e,t,r){var n=ie(e,t,r);return n>r?r:n}function nt(){return{top:0,right:0,bottom:0,left:0}}function at(e){return Object.assign({},nt(),e)}function ot(e,t){return t.reduce(function(r,n){return r[n]=e,r},{})}var Ct=function(t,r){return t=typeof t=="function"?t(Object.assign({},r.rects,{placement:r.placement})):t,at(typeof t!="number"?t:ot(t,ce))};function Lt(e){var t,r=e.state,n=e.name,a=e.options,o=r.elements.arrow,c=r.modifiersData.popperOffsets,s=I(r.placement),i=$e(s),p=[$,H].indexOf(s)>=0,f=p?"height":"width";if(!(!o||!c)){var d=Ct(a.padding,r),g=je(o),l=i==="y"?j:$,x=i==="y"?S:H,v=r.rects.reference[f]+r.rects.reference[i]-c[i]-r.rects.popper[f],m=c[i]-r.rects.reference[i],y=pe(o),O=y?i==="y"?y.clientHeight||0:y.clientWidth||0:0,b=v/2-m/2,u=d[l],h=O-g[f]-d[x],w=O/2-g[f]/2+b,P=ie(u,w,h),R=i;r.modifiersData[n]=(t={},t[R]=P,t.centerOffset=P-w,t)}}function St(e){var t=e.state,r=e.options,n=r.element,a=n===void 0?"[data-popper-arrow]":n;a!=null&&(typeof a=="string"&&(a=t.elements.popper.querySelector(a),!a)||rt(t.elements.popper,a)&&(t.elements.arrow=a))}const Ht={name:"arrow",enabled:!0,phase:"main",fn:Lt,effect:St,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function re(e){return e.split("-")[1]}var Mt={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Wt(e,t){var r=e.x,n=e.y,a=t.devicePixelRatio||1;return{x:ee(r*a)/a||0,y:ee(n*a)/a||0}}function Ye(e){var t,r=e.popper,n=e.popperRect,a=e.placement,o=e.variation,c=e.offsets,s=e.position,i=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({x:l,y:v}):{x:l,y:v};l=m.x,v=m.y;var y=c.hasOwnProperty("x"),O=c.hasOwnProperty("y"),b=$,u=j,h=window;if(p){var w=pe(r),P="clientHeight",R="clientWidth";if(w===C(r)&&(w=q(r),V(w).position!=="static"&&s==="absolute"&&(P="scrollHeight",R="scrollWidth")),w=w,a===j||(a===$||a===H)&&o===le){u=S;var T=d&&w===h&&h.visualViewport?h.visualViewport.height:w[P];v-=T-n.height,v*=i?1:-1}if(a===$||(a===j||a===S)&&o===le){b=H;var A=d&&w===h&&h.visualViewport?h.visualViewport.width:w[R];l-=A-n.width,l*=i?1:-1}}var D=Object.assign({position:s},p&&Mt),M=f===!0?Wt({x:l,y:v},C(r)):{x:l,y:v};if(l=M.x,v=M.y,i){var B;return Object.assign({},D,(B={},B[u]=O?"0":"",B[b]=y?"0":"",B.transform=(h.devicePixelRatio||1)<=1?"translate("+l+"px, "+v+"px)":"translate3d("+l+"px, "+v+"px, 0)",B))}return Object.assign({},D,(t={},t[u]=O?v+"px":"",t[b]=y?l+"px":"",t.transform="",t))}function It(e){var t=e.state,r=e.options,n=r.gpuAcceleration,a=n===void 0?!0:n,o=r.adaptive,c=o===void 0?!0:o,s=r.roundOffsets,i=s===void 0?!0:s,p={placement:I(t.placement),variation:re(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:a,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,Ye(Object.assign({},p,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:c,roundOffsets:i})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,Ye(Object.assign({},p,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:i})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const Nt={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:It,data:{}};var ye={passive:!0};function Vt(e){var t=e.state,r=e.instance,n=e.options,a=n.scroll,o=a===void 0?!0:a,c=n.resize,s=c===void 0?!0:c,i=C(t.elements.popper),p=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&p.forEach(function(f){f.addEventListener("scroll",r.update,ye)}),s&&i.addEventListener("resize",r.update,ye),function(){o&&p.forEach(function(f){f.removeEventListener("scroll",r.update,ye)}),s&&i.removeEventListener("resize",r.update,ye)}}const zt={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Vt,data:{}};var qt={left:"right",right:"left",bottom:"top",top:"bottom"};function he(e){return e.replace(/left|right|bottom|top/g,function(t){return qt[t]})}var Ft={start:"end",end:"start"};function Ue(e){return e.replace(/start|end/g,function(t){return Ft[t]})}function ke(e){var t=C(e),r=t.pageXOffset,n=t.pageYOffset;return{scrollLeft:r,scrollTop:n}}function Ce(e){return te(q(e)).left+ke(e).scrollLeft}function Xt(e,t){var r=C(e),n=q(e),a=r.visualViewport,o=n.clientWidth,c=n.clientHeight,s=0,i=0;if(a){o=a.width,c=a.height;var p=tt();(p||!p&&t==="fixed")&&(s=a.offsetLeft,i=a.offsetTop)}return{width:o,height:c,x:s+Ce(e),y:i}}function Yt(e){var t,r=q(e),n=ke(e),a=(t=e.ownerDocument)==null?void 0:t.body,o=J(r.scrollWidth,r.clientWidth,a?a.scrollWidth:0,a?a.clientWidth:0),c=J(r.scrollHeight,r.clientHeight,a?a.scrollHeight:0,a?a.clientHeight:0),s=-n.scrollLeft+Ce(e),i=-n.scrollTop;return V(a||r).direction==="rtl"&&(s+=J(r.clientWidth,a?a.clientWidth:0)-o),{width:o,height:c,x:s,y:i}}function Le(e){var t=V(e),r=t.overflow,n=t.overflowX,a=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+a+n)}function it(e){return["html","body","#document"].indexOf(N(e))>=0?e.ownerDocument.body:L(e)&&Le(e)?e:it(we(e))}function se(e,t){var r;t===void 0&&(t=[]);var n=it(e),a=n===((r=e.ownerDocument)==null?void 0:r.body),o=C(n),c=a?[o].concat(o.visualViewport||[],Le(n)?n:[]):n,s=t.concat(c);return a?s:s.concat(se(we(c)))}function Re(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Ut(e,t){var r=te(e,!1,t==="fixed");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}function Ge(e,t,r){return t===_e?Re(Xt(e,r)):K(t)?Ut(t,r):Re(Yt(q(e)))}function Gt(e){var t=se(we(e)),r=["absolute","fixed"].indexOf(V(e).position)>=0,n=r&&L(e)?pe(e):e;return K(n)?t.filter(function(a){return K(a)&&rt(a,n)&&N(a)!=="body"}):[]}function Jt(e,t,r,n){var a=t==="clippingParents"?Gt(e):[].concat(t),o=[].concat(a,[r]),c=o[0],s=o.reduce(function(i,p){var f=Ge(e,p,n);return i.top=J(f.top,i.top),i.right=be(f.right,i.right),i.bottom=be(f.bottom,i.bottom),i.left=J(f.left,i.left),i},Ge(e,c,n));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function st(e){var t=e.reference,r=e.element,n=e.placement,a=n?I(n):null,o=n?re(n):null,c=t.x+t.width/2-r.width/2,s=t.y+t.height/2-r.height/2,i;switch(a){case j:i={x:c,y:t.y-r.height};break;case S:i={x:c,y:t.y+t.height};break;case H:i={x:t.x+t.width,y:s};break;case $:i={x:t.x-r.width,y:s};break;default:i={x:t.x,y:t.y}}var p=a?$e(a):null;if(p!=null){var f=p==="y"?"height":"width";switch(o){case _:i[p]=i[p]-(t[f]/2-r[f]/2);break;case le:i[p]=i[p]+(t[f]/2-r[f]/2);break}}return i}function fe(e,t){t===void 0&&(t={});var r=t,n=r.placement,a=n===void 0?e.placement:n,o=r.strategy,c=o===void 0?e.strategy:o,s=r.boundary,i=s===void 0?mt:s,p=r.rootBoundary,f=p===void 0?_e:p,d=r.elementContext,g=d===void 0?oe:d,l=r.altBoundary,x=l===void 0?!1:l,v=r.padding,m=v===void 0?0:v,y=at(typeof m!="number"?m:ot(m,ce)),O=g===oe?gt:oe,b=e.rects.popper,u=e.elements[x?O:g],h=Jt(K(u)?u:u.contextElement||q(e.elements.popper),i,f,c),w=te(e.elements.reference),P=st({reference:w,element:b,strategy:"absolute",placement:a}),R=Re(Object.assign({},b,P)),T=g===oe?R:w,A={top:h.top-T.top+y.top,bottom:T.bottom-h.bottom+y.bottom,left:h.left-T.left+y.left,right:T.right-h.right+y.right},D=e.modifiersData.offset;if(g===oe&&D){var M=D[a];Object.keys(A).forEach(function(B){var F=[H,S].indexOf(B)>=0?1:-1,X=[j,S].indexOf(B)>=0?"y":"x";A[B]+=M[X]*F})}return A}function Kt(e,t){t===void 0&&(t={});var r=t,n=r.placement,a=r.boundary,o=r.rootBoundary,c=r.padding,s=r.flipVariations,i=r.allowedAutoPlacements,p=i===void 0?et:i,f=re(n),d=f?s?Fe:Fe.filter(function(x){return re(x)===f}):ce,g=d.filter(function(x){return p.indexOf(x)>=0});g.length===0&&(g=d);var l=g.reduce(function(x,v){return x[v]=fe(e,{placement:v,boundary:a,rootBoundary:o,padding:c})[I(v)],x},{});return Object.keys(l).sort(function(x,v){return l[x]-l[v]})}function Qt(e){if(I(e)===De)return[];var t=he(e);return[Ue(e),t,Ue(t)]}function Zt(e){var t=e.state,r=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var a=r.mainAxis,o=a===void 0?!0:a,c=r.altAxis,s=c===void 0?!0:c,i=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,y=I(m),O=y===m,b=i||(O||!x?[he(m)]:Qt(m)),u=[m].concat(b).reduce(function(Q,z){return Q.concat(I(z)===De?Kt(t,{placement:z,boundary:f,rootBoundary:d,padding:p,flipVariations:x,allowedAutoPlacements:v}):z)},[]),h=t.rects.reference,w=t.rects.popper,P=new Map,R=!0,T=u[0],A=0;A<u.length;A++){var D=u[A],M=I(D),B=re(D)===_,F=[j,S].indexOf(M)>=0,X=F?"width":"height",k=fe(t,{placement:D,boundary:f,rootBoundary:d,altBoundary:g,padding:p}),W=F?B?H:$:B?S:j;h[X]>w[X]&&(W=he(W));var ue=he(W),Y=[];if(o&&Y.push(k[M]<=0),s&&Y.push(k[W]<=0,k[ue]<=0),Y.every(function(Q){return Q})){T=D,R=!1;break}P.set(D,Y)}if(R)for(var de=x?3:1,Oe=function(z){var ae=u.find(function(me){var U=P.get(me);if(U)return U.slice(0,z).every(function(Pe){return Pe})});if(ae)return T=ae,"break"},ne=de;ne>0;ne--){var ve=Oe(ne);if(ve==="break")break}t.placement!==T&&(t.modifiersData[n]._skip=!0,t.placement=T,t.reset=!0)}}const _t={name:"flip",enabled:!0,phase:"main",fn:Zt,requiresIfExists:["offset"],data:{_skip:!1}};function Je(e,t,r){return r===void 0&&(r={x:0,y:0}),{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function Ke(e){return[j,H,S,$].some(function(t){return e[t]>=0})}function er(e){var t=e.state,r=e.name,n=t.rects.reference,a=t.rects.popper,o=t.modifiersData.preventOverflow,c=fe(t,{elementContext:"reference"}),s=fe(t,{altBoundary:!0}),i=Je(c,n),p=Je(s,a,o),f=Ke(i),d=Ke(p);t.modifiersData[r]={referenceClippingOffsets:i,popperEscapeOffsets:p,isReferenceHidden:f,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":f,"data-popper-escaped":d})}const tr={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:er};function rr(e,t,r){var n=I(e),a=[$,j].indexOf(n)>=0?-1:1,o=typeof r=="function"?r(Object.assign({},t,{placement:e})):r,c=o[0],s=o[1];return c=c||0,s=(s||0)*a,[$,H].indexOf(n)>=0?{x:s,y:c}:{x:c,y:s}}function nr(e){var t=e.state,r=e.options,n=e.name,a=r.offset,o=a===void 0?[0,0]:a,c=et.reduce(function(f,d){return f[d]=rr(d,t.rects,o),f},{}),s=c[t.placement],i=s.x,p=s.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=i,t.modifiersData.popperOffsets.y+=p),t.modifiersData[n]=c}const ar={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:nr};function or(e){var t=e.state,r=e.name;t.modifiersData[r]=st({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const ir={name:"popperOffsets",enabled:!0,phase:"read",fn:or,data:{}};function sr(e){return e==="x"?"y":"x"}function lr(e){var t=e.state,r=e.options,n=e.name,a=r.mainAxis,o=a===void 0?!0:a,c=r.altAxis,s=c===void 0?!1:c,i=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=fe(t,{boundary:i,rootBoundary:p,padding:d,altBoundary:f}),y=I(t.placement),O=re(t.placement),b=!O,u=$e(y),h=sr(u),w=t.modifiersData.popperOffsets,P=t.rects.reference,R=t.rects.popper,T=typeof v=="function"?v(Object.assign({},t.rects,{placement:t.placement})):v,A=typeof T=="number"?{mainAxis:T,altAxis:T}:Object.assign({mainAxis:0,altAxis:0},T),D=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,M={x:0,y:0};if(w){if(o){var B,F=u==="y"?j:$,X=u==="y"?S:H,k=u==="y"?"height":"width",W=w[u],ue=W+m[F],Y=W-m[X],de=l?-R[k]/2:0,Oe=O===_?P[k]:R[k],ne=O===_?-R[k]:-P[k],ve=t.elements.arrow,Q=l&&ve?je(ve):{width:0,height:0},z=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:nt(),ae=z[F],me=z[X],U=ie(0,P[k],Q[k]),Pe=b?P[k]/2-de-U-ae-A.mainAxis:Oe-U-ae-A.mainAxis,ft=b?-P[k]/2+de+U+me+A.mainAxis:ne+U+me+A.mainAxis,Ee=t.elements.arrow&&pe(t.elements.arrow),ct=Ee?u==="y"?Ee.clientTop||0:Ee.clientLeft||0:0,Se=(B=D?.[u])!=null?B:0,pt=W+Pe-Se-ct,ut=W+ft-Se,He=ie(l?be(ue,pt):ue,W,l?J(Y,ut):Y);w[u]=He,M[u]=He-W}if(s){var Me,dt=u==="x"?j:$,vt=u==="x"?S:H,G=w[h],ge=h==="y"?"height":"width",We=G+m[dt],Ie=G-m[vt],Ae=[j,$].indexOf(y)!==-1,Ne=(Me=D?.[h])!=null?Me:0,Ve=Ae?We:G-P[ge]-R[ge]-Ne+A.altAxis,ze=Ae?G+P[ge]+R[ge]-Ne-A.altAxis:Ie,qe=l&&Ae?kt(Ve,G,ze):ie(l?Ve:We,G,l?ze:Ie);w[h]=qe,M[h]=qe-G}t.modifiersData[n]=M}}const fr={name:"preventOverflow",enabled:!0,phase:"main",fn:lr,requiresIfExists:["offset"]};function cr(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function pr(e){return e===C(e)||!L(e)?ke(e):cr(e)}function ur(e){var t=e.getBoundingClientRect(),r=ee(t.width)/e.offsetWidth||1,n=ee(t.height)/e.offsetHeight||1;return r!==1||n!==1}function dr(e,t,r){r===void 0&&(r=!1);var n=L(t),a=L(t)&&ur(t),o=q(t),c=te(e,a,r),s={scrollLeft:0,scrollTop:0},i={x:0,y:0};return(n||!n&&!r)&&((N(t)!=="body"||Le(o))&&(s=pr(t)),L(t)?(i=te(t,!0),i.x+=t.clientLeft,i.y+=t.clientTop):o&&(i.x=Ce(o))),{x:c.left+s.scrollLeft-i.x,y:c.top+s.scrollTop-i.y,width:c.width,height:c.height}}function vr(e){var t=new Map,r=new Set,n=[];e.forEach(function(o){t.set(o.name,o)});function a(o){r.add(o.name);var c=[].concat(o.requires||[],o.requiresIfExists||[]);c.forEach(function(s){if(!r.has(s)){var i=t.get(s);i&&a(i)}}),n.push(o)}return e.forEach(function(o){r.has(o.name)||a(o)}),n}function mr(e){var t=vr(e);return Tt.reduce(function(r,n){return r.concat(t.filter(function(a){return a.phase===n}))},[])}function gr(e){var t;return function(){return t||(t=new Promise(function(r){Promise.resolve().then(function(){t=void 0,r(e())})})),t}}function yr(e){var t=e.reduce(function(r,n){var a=r[n.name];return r[n.name]=a?Object.assign({},a,n,{options:Object.assign({},a.options,n.options),data:Object.assign({},a.data,n.data)}):n,r},{});return Object.keys(t).map(function(r){return t[r]})}var Qe={placement:"bottom",modifiers:[],strategy:"absolute"};function Ze(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return!t.some(function(n){return!(n&&typeof n.getBoundingClientRect=="function")})}function hr(e){e===void 0&&(e={});var t=e,r=t.defaultModifiers,n=r===void 0?[]:r,a=t.defaultOptions,o=a===void 0?Qe:a;return function(s,i,p){p===void 0&&(p=o);var f={placement:"bottom",orderedModifiers:[],options:Object.assign({},Qe,o),modifiersData:{},elements:{reference:s,popper:i},attributes:{},styles:{}},d=[],g=!1,l={state:f,setOptions:function(y){var O=typeof y=="function"?y(f.options):y;v(),f.options=Object.assign({},o,f.options,O),f.scrollParents={reference:K(s)?se(s):s.contextElement?se(s.contextElement):[],popper:se(i)};var b=mr(yr([].concat(n,f.options.modifiers)));return f.orderedModifiers=b.filter(function(u){return u.enabled}),x(),l.update()},forceUpdate:function(){if(!g){var y=f.elements,O=y.reference,b=y.popper;if(Ze(O,b)){f.rects={reference:dr(O,pe(b),f.options.strategy==="fixed"),popper:je(b)},f.reset=!1,f.placement=f.options.placement,f.orderedModifiers.forEach(function(A){return f.modifiersData[A.name]=Object.assign({},A.data)});for(var u=0;u<f.orderedModifiers.length;u++){if(f.reset===!0){f.reset=!1,u=-1;continue}var h=f.orderedModifiers[u],w=h.fn,P=h.options,R=P===void 0?{}:P,T=h.name;typeof w=="function"&&(f=w({state:f,options:R,name:T,instance:l})||f)}}}},update:gr(function(){return new Promise(function(m){l.forceUpdate(),m(f)})}),destroy:function(){v(),g=!0}};if(!Ze(s,i))return l;l.setOptions(p).then(function(m){!g&&p.onFirstUpdate&&p.onFirstUpdate(m)});function x(){f.orderedModifiers.forEach(function(m){var y=m.name,O=m.options,b=O===void 0?{}:O,u=m.effect;if(typeof u=="function"){var h=u({state:f,name:y,instance:l,options:b}),w=function(){};d.push(h||w)}})}function v(){d.forEach(function(m){return m()}),d=[]}return l}}var br=[zt,ir,Nt,Bt,ar,_t,fr,Ht,tr],lt=hr({defaultModifiers:br});const wr={ariaHidden:E.PropTypes.bool,ariaLabel:E.PropTypes.string,ariaLabelledBy:E.PropTypes.string,badge:E.PropTypes.node,badgePlacement:E.PropTypes.oneOf(["right-start","left-start"]),className:E.PropTypes.string,icon:E.PropTypes.oneOfType([E.PropTypes.string,E.PropTypes.node]),iconSize:E.PropTypes.oneOf(["xsmall","small","medium","large","xlarge"]),iconType:E.PropTypes.oneOf(["filled","outlined","rounded","two-tone","sharp"]),pointer:E.PropTypes.bool,size:E.deprecatedProp(E.PropTypes.oneOf(["xsmall","small","medium","large","xlarge"]),"Icon","Renamed, see iconSize instead."),variant:E.deprecatedOneOf(E.PropTypes.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'.")},xr={ariaHidden:null,ariaLabel:null,ariaLabelledBy:null,badge:void 0,badgePlacement:"right-start",className:void 0,icon:null,iconSize:"medium",iconType:"filled",pointer:!1,size:void 0,variant:""},xe=Z.forwardRef((e,t)=>{const{ariaHidden:r,ariaLabel:n,ariaLabelledBy:a,badge:o,badgePlacement:c,className:s,icon:i,iconType:p,pointer:f,size:d,iconSize:g,variant:l,...x}=e,v=Z.useRef(),m=Z.useRef(),y=Z.useRef();Z.useImperativeHandle(t,()=>v.current,[]),E.useIsomorphicLayoutEffect(()=>{if(o){let b;o.props.counter!=null?b=[{name:"flip",options:{fallbackPlacements:["right","left"]}},{name:"offset",options:{offset:u=>{let{placement:h}=u;return h==="right-start"?[-5,-10]:[-7,-10]}}}]:b=[{name:"flip",options:{fallbackPlacements:["right-start","left-start"]}},{name:"offset",options:{offset:[0,-10]}}],y.current=lt(v.current,m.current,{placement:c,modifiers:b})}return()=>{var b;y==null||(b=y.current)===null||b===void 0||b.destroy()}},[o,c]);const O=E.clsx("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",!o&&(d==="xsmall"||g==="xsmall"&&"lmnt-icon--xsmall"),!o&&(d==="small"||g==="small"&&"lmnt-icon--small"),s);return Z.createElement("i",E._extends({className:O,"aria-label":n,"aria-labelledby":a,"aria-hidden":n||a?r:!1},x,{ref:v}),i,E.addProps(o,{ref:m}))});xe.displayName="Icon";xe.propTypes=wr;xe.defaultProps=xr;exports.Icon=xe;exports.createPopper=lt;
@@ -1,45 +0,0 @@
1
- import { forwardRef as f, useRef as i, useImperativeHandle as s, useEffect as l } from "react";
2
- import { P as r } from "./index.es-Cct4Uapb.js";
3
- import { M as R } from "./component-Rx4bNsGO.js";
4
- const a = {
5
- /**
6
- * Content to be rendered inside the component.
7
- *
8
- * Defaults to **null**.
9
- */
10
- children: r.node,
11
- /**
12
- * A reference to the component to apply the ripple to.
13
- *
14
- * Defaults to **undefined**.
15
- */
16
- componentRef: r.object,
17
- /**
18
- * Allows the ripple to extend beyond the component boundaries.
19
- *
20
- * Defaults to **undefined**.
21
- */
22
- unbounded: r.bool
23
- }, m = {
24
- children: null,
25
- componentRef: void 0,
26
- unbounded: void 0
27
- }, o = /* @__PURE__ */ f((u, c) => {
28
- const {
29
- componentRef: n,
30
- unbounded: p,
31
- children: d
32
- } = u, e = i();
33
- return s(c, () => e.current, []), l(() => {
34
- const t = n.current;
35
- return t && (e.current = R.attachTo(n.current), p && (e.current.unbounded = !0)), () => {
36
- t && e.current.destroy();
37
- };
38
- }, [n, p]), d;
39
- });
40
- o.displayName = "Ripple";
41
- o.propTypes = a;
42
- o.defaultProps = m;
43
- export {
44
- o as R
45
- };