@genai-fi/base 4.0.2 → 4.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,78 +1,83 @@
1
1
  import * as c from "react";
2
- import { i as H, e as W, P as s, d as L, g as A, a as m, b as C } from "./createTheme-a85zdZWm.js";
3
- import { jsx as g, jsxs as G } from "react/jsx-runtime";
4
- import { d as k, T as z, g as U, u as Z, s as D, c as T, a as Y, m as R } from "./DefaultPropsProvider-D2IJ8Qbs.js";
5
- import { Global as q, ThemeContext as J } from "@emotion/react";
6
- import { u as K, B as Q, c as S, C as X, a as F, b as V, d as B } from "./CircularProgress-C6sMwjDC.js";
7
- import * as ee from "react-dom";
2
+ import { i as H, d as L, P as s, b as W, g as A, a as m } from "./createTheme-DV959X3d.js";
3
+ import { jsx as y, jsxs as G } from "react/jsx-runtime";
4
+ import { i as U, d as $, T as k, g as Z, u as Y, s as w, c as N, a as q, m as C } from "./DefaultPropsProvider-BurgXZzw.js";
5
+ import { Global as J, ThemeContext as K } from "@emotion/react";
6
+ import { u as Q, B as X, c as R, C as F, a as ee, b as D, d as B } from "./CircularProgress-DgKnRiq7.js";
7
+ import * as ne from "react-dom";
8
8
  const te = (e) => {
9
9
  var o;
10
- const t = {
10
+ const n = {
11
11
  systemProps: {},
12
12
  otherProps: {}
13
- }, n = ((o = e == null ? void 0 : e.theme) == null ? void 0 : o.unstable_sxConfig) ?? W;
13
+ }, t = ((o = e == null ? void 0 : e.theme) == null ? void 0 : o.unstable_sxConfig) ?? L;
14
14
  return Object.keys(e).forEach((r) => {
15
- n[r] ? t.systemProps[r] = e[r] : t.otherProps[r] = e[r];
16
- }), t;
15
+ t[r] ? n.systemProps[r] = e[r] : n.otherProps[r] = e[r];
16
+ }), n;
17
17
  };
18
- function ne(e) {
18
+ function oe(e) {
19
19
  const {
20
- sx: t,
21
- ...n
20
+ sx: n,
21
+ ...t
22
22
  } = e, {
23
23
  systemProps: o,
24
24
  otherProps: r
25
- } = te(n);
25
+ } = te(t);
26
26
  let a;
27
- return Array.isArray(t) ? a = [o, ...t] : typeof t == "function" ? a = (...i) => {
28
- const u = t(...i);
27
+ return Array.isArray(n) ? a = [o, ...n] : typeof n == "function" ? a = (...i) => {
28
+ const u = n(...i);
29
29
  return H(u) ? {
30
30
  ...o,
31
31
  ...u
32
32
  } : o;
33
33
  } : a = {
34
34
  ...o,
35
- ...t
35
+ ...n
36
36
  }, {
37
37
  ...r,
38
38
  sx: a
39
39
  };
40
40
  }
41
- function oe(e) {
41
+ function se(e) {
42
42
  return e == null || Object.keys(e).length === 0;
43
43
  }
44
- function w(e) {
44
+ function V(e) {
45
45
  const {
46
- styles: t,
47
- defaultTheme: n = {}
46
+ styles: n,
47
+ defaultTheme: t = {}
48
48
  } = e;
49
- return /* @__PURE__ */ g(q, {
50
- styles: typeof t == "function" ? (r) => t(oe(r) ? n : r) : t
49
+ return /* @__PURE__ */ y(J, {
50
+ styles: typeof n == "function" ? (r) => n(se(r) ? t : r) : n
51
51
  });
52
52
  }
53
- process.env.NODE_ENV !== "production" && (w.propTypes = {
53
+ process.env.NODE_ENV !== "production" && (V.propTypes = {
54
54
  defaultTheme: s.object,
55
55
  styles: s.oneOfType([s.array, s.string, s.object, s.func])
56
56
  });
57
- function se(e) {
57
+ function re(e) {
58
58
  return Object.keys(e).length === 0;
59
59
  }
60
- function re(e = null) {
61
- const t = c.useContext(J);
62
- return !t || se(t) ? e : t;
60
+ function ae(e = null) {
61
+ const n = c.useContext(K);
62
+ return !n || re(n) ? e : n;
63
+ }
64
+ const ie = W();
65
+ function P(e = ie) {
66
+ return ae(e);
63
67
  }
64
- const ae = L();
65
- function P(e = ae) {
66
- return re(e);
68
+ function O(e) {
69
+ const n = U(e);
70
+ return e !== n && n.styles ? (n.styles.match(/^@layer\s+[^{]*$/) || (n.styles = `@layer global{${n.styles}}`), n) : e;
67
71
  }
68
72
  function _({
69
73
  styles: e,
70
- themeId: t,
71
- defaultTheme: n = {}
74
+ themeId: n,
75
+ defaultTheme: t = {}
72
76
  }) {
73
- const o = P(n), r = typeof e == "function" ? e(t && o[t] || o) : e;
74
- return /* @__PURE__ */ g(w, {
75
- styles: r
77
+ const o = P(t), r = n && o[n] || o;
78
+ let a = typeof e == "function" ? e(r) : e;
79
+ return r.modularCssLayers && (Array.isArray(a) ? a = a.map((i) => O(typeof i == "function" ? i(r) : i)) : a = O(a)), /* @__PURE__ */ y(V, {
80
+ styles: a
76
81
  });
77
82
  }
78
83
  process.env.NODE_ENV !== "production" && (_.propTypes = {
@@ -93,28 +98,28 @@ process.env.NODE_ENV !== "production" && (_.propTypes = {
93
98
  */
94
99
  themeId: s.string
95
100
  });
96
- const ie = "exact-prop: ​";
97
- function le(e) {
101
+ const le = "exact-prop: ​";
102
+ function ce(e) {
98
103
  return process.env.NODE_ENV === "production" ? e : {
99
104
  ...e,
100
- [ie]: (t) => {
101
- const n = Object.keys(t).filter((o) => !e.hasOwnProperty(o));
102
- return n.length > 0 ? new Error(`The following props are not supported: ${n.map((o) => `\`${o}\``).join(", ")}. Please remove them.`) : null;
105
+ [le]: (n) => {
106
+ const t = Object.keys(n).filter((o) => !e.hasOwnProperty(o));
107
+ return t.length > 0 ? new Error(`The following props are not supported: ${t.map((o) => `\`${o}\``).join(", ")}. Please remove them.`) : null;
103
108
  }
104
109
  };
105
110
  }
106
- const ce = /* @__PURE__ */ c.createContext();
111
+ const ue = /* @__PURE__ */ c.createContext();
107
112
  process.env.NODE_ENV !== "production" && (s.node, s.bool);
108
- const $e = () => c.useContext(ce) ?? !1;
109
- function je() {
110
- const e = P(k);
111
- return process.env.NODE_ENV !== "production" && c.useDebugValue(e), e[z] || e;
113
+ const je = () => c.useContext(ue) ?? !1;
114
+ function xe() {
115
+ const e = P($);
116
+ return process.env.NODE_ENV !== "production" && c.useDebugValue(e), e[k] || e;
112
117
  }
113
118
  function M(e) {
114
- return /* @__PURE__ */ g(_, {
119
+ return /* @__PURE__ */ y(_, {
115
120
  ...e,
116
- defaultTheme: k,
117
- themeId: z
121
+ defaultTheme: $,
122
+ themeId: k
118
123
  });
119
124
  }
120
125
  process.env.NODE_ENV !== "production" && (M.propTypes = {
@@ -127,58 +132,58 @@ process.env.NODE_ENV !== "production" && (M.propTypes = {
127
132
  */
128
133
  styles: s.oneOfType([s.array, s.func, s.number, s.object, s.string, s.bool])
129
134
  });
130
- function xe(e) {
131
- return function(n) {
135
+ function $e(e) {
136
+ return function(t) {
132
137
  return (
133
138
  // Pigment CSS `globalCss` support callback with theme inside an object but `GlobalStyles` support theme as a callback value.
134
- /* @__PURE__ */ g(M, {
139
+ /* @__PURE__ */ y(M, {
135
140
  styles: typeof e == "function" ? (o) => e({
136
141
  theme: o,
137
- ...n
142
+ ...t
138
143
  }) : e
139
144
  })
140
145
  );
141
146
  };
142
147
  }
143
148
  function ke() {
144
- return ne;
149
+ return oe;
145
150
  }
146
- function ue(e) {
151
+ function fe(e) {
147
152
  return e && e.ownerDocument || document;
148
153
  }
149
- function ze(e) {
150
- return ue(e).defaultView || window;
154
+ function we(e) {
155
+ return fe(e).defaultView || window;
151
156
  }
152
- function $(e, t) {
153
- typeof e == "function" ? e(t) : e && (e.current = t);
157
+ function z(e, n) {
158
+ typeof e == "function" ? e(n) : e && (e.current = n);
154
159
  }
155
160
  function de(e) {
156
161
  return A("MuiIconButton", e);
157
162
  }
158
- const j = U("MuiIconButton", ["root", "disabled", "colorInherit", "colorPrimary", "colorSecondary", "colorError", "colorInfo", "colorSuccess", "colorWarning", "edgeStart", "edgeEnd", "sizeSmall", "sizeMedium", "sizeLarge", "loading", "loadingIndicator", "loadingWrapper"]), fe = (e) => {
163
+ const j = Z("MuiIconButton", ["root", "disabled", "colorInherit", "colorPrimary", "colorSecondary", "colorError", "colorInfo", "colorSuccess", "colorWarning", "edgeStart", "edgeEnd", "sizeSmall", "sizeMedium", "sizeLarge", "loading", "loadingIndicator", "loadingWrapper"]), pe = (e) => {
159
164
  const {
160
- classes: t,
161
- disabled: n,
165
+ classes: n,
166
+ disabled: t,
162
167
  color: o,
163
168
  edge: r,
164
169
  size: a,
165
170
  loading: i
166
171
  } = e, u = {
167
- root: ["root", i && "loading", n && "disabled", o !== "default" && `color${m(o)}`, r && `edge${m(r)}`, `size${m(a)}`],
172
+ root: ["root", i && "loading", t && "disabled", o !== "default" && `color${m(o)}`, r && `edge${m(r)}`, `size${m(a)}`],
168
173
  loadingIndicator: ["loadingIndicator"],
169
174
  loadingWrapper: ["loadingWrapper"]
170
175
  };
171
- return Y(u, de, t);
172
- }, pe = D(Q, {
176
+ return q(u, de, n);
177
+ }, ye = w(X, {
173
178
  name: "MuiIconButton",
174
179
  slot: "Root",
175
- overridesResolver: (e, t) => {
180
+ overridesResolver: (e, n) => {
176
181
  const {
177
- ownerState: n
182
+ ownerState: t
178
183
  } = e;
179
- return [t.root, n.loading && t.loading, n.color !== "default" && t[`color${m(n.color)}`], n.edge && t[`edge${m(n.edge)}`], t[`size${m(n.size)}`]];
184
+ return [n.root, t.loading && n.loading, t.color !== "default" && n[`color${m(t.color)}`], t.edge && n[`edge${m(t.edge)}`], n[`size${m(t.size)}`]];
180
185
  }
181
- })(R(({
186
+ })(C(({
182
187
  theme: e
183
188
  }) => ({
184
189
  textAlign: "center",
@@ -191,9 +196,9 @@ const j = U("MuiIconButton", ["root", "disabled", "colorInherit", "colorPrimary"
191
196
  duration: e.transitions.duration.shortest
192
197
  }),
193
198
  variants: [{
194
- props: (t) => !t.disableRipple,
199
+ props: (n) => !n.disableRipple,
195
200
  style: {
196
- "--IconButton-hoverBg": e.vars ? `rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})` : C(e.palette.action.active, e.palette.action.hoverOpacity),
201
+ "--IconButton-hoverBg": e.alpha((e.vars || e).palette.action.active, (e.vars || e).palette.action.hoverOpacity),
197
202
  "&:hover": {
198
203
  backgroundColor: "var(--IconButton-hoverBg)",
199
204
  // Reset on touch devices, it doesn't add specificity
@@ -233,7 +238,7 @@ const j = U("MuiIconButton", ["root", "disabled", "colorInherit", "colorPrimary"
233
238
  marginRight: -3
234
239
  }
235
240
  }]
236
- })), R(({
241
+ })), C(({
237
242
  theme: e
238
243
  }) => ({
239
244
  variants: [{
@@ -243,19 +248,19 @@ const j = U("MuiIconButton", ["root", "disabled", "colorInherit", "colorPrimary"
243
248
  style: {
244
249
  color: "inherit"
245
250
  }
246
- }, ...Object.entries(e.palette).filter(S()).map(([t]) => ({
251
+ }, ...Object.entries(e.palette).filter(R()).map(([n]) => ({
247
252
  props: {
248
- color: t
253
+ color: n
249
254
  },
250
255
  style: {
251
- color: (e.vars || e).palette[t].main
256
+ color: (e.vars || e).palette[n].main
252
257
  }
253
- })), ...Object.entries(e.palette).filter(S()).map(([t]) => ({
258
+ })), ...Object.entries(e.palette).filter(R()).map(([n]) => ({
254
259
  props: {
255
- color: t
260
+ color: n
256
261
  },
257
262
  style: {
258
- "--IconButton-hoverBg": e.vars ? `rgba(${(e.vars || e).palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})` : C((e.vars || e).palette[t].main, e.palette.action.hoverOpacity)
263
+ "--IconButton-hoverBg": e.alpha((e.vars || e).palette[n].main, (e.vars || e).palette.action.hoverOpacity)
259
264
  }
260
265
  })), {
261
266
  props: {
@@ -281,7 +286,7 @@ const j = U("MuiIconButton", ["root", "disabled", "colorInherit", "colorPrimary"
281
286
  [`&.${j.loading}`]: {
282
287
  color: "transparent"
283
288
  }
284
- }))), ge = D("span", {
289
+ }))), ge = w("span", {
285
290
  name: "MuiIconButton",
286
291
  slot: "LoadingIndicator"
287
292
  })(({
@@ -302,60 +307,60 @@ const j = U("MuiIconButton", ["root", "disabled", "colorInherit", "colorPrimary"
302
307
  display: "flex"
303
308
  }
304
309
  }]
305
- })), ye = /* @__PURE__ */ c.forwardRef(function(t, n) {
306
- const o = Z({
307
- props: t,
310
+ })), me = /* @__PURE__ */ c.forwardRef(function(n, t) {
311
+ const o = Y({
312
+ props: n,
308
313
  name: "MuiIconButton"
309
314
  }), {
310
315
  edge: r = !1,
311
316
  children: a,
312
317
  className: i,
313
318
  color: u = "default",
314
- disabled: f = !1,
319
+ disabled: d = !1,
315
320
  disableFocusRipple: l = !1,
316
321
  size: b = "medium",
317
322
  id: p,
318
- loading: d = null,
319
- loadingIndicator: v,
320
- ...h
321
- } = o, y = K(p), I = v ?? /* @__PURE__ */ g(X, {
322
- "aria-labelledby": y,
323
+ loading: f = null,
324
+ loadingIndicator: h,
325
+ ...v
326
+ } = o, g = Q(p), S = h ?? /* @__PURE__ */ y(F, {
327
+ "aria-labelledby": g,
323
328
  color: "inherit",
324
329
  size: 16
325
330
  }), E = {
326
331
  ...o,
327
332
  edge: r,
328
333
  color: u,
329
- disabled: f,
334
+ disabled: d,
330
335
  disableFocusRipple: l,
331
- loading: d,
332
- loadingIndicator: I,
336
+ loading: f,
337
+ loadingIndicator: S,
333
338
  size: b
334
- }, O = fe(E);
335
- return /* @__PURE__ */ G(pe, {
336
- id: d ? y : p,
337
- className: T(O.root, i),
339
+ }, T = pe(E);
340
+ return /* @__PURE__ */ G(ye, {
341
+ id: f ? g : p,
342
+ className: N(T.root, i),
338
343
  centerRipple: !0,
339
344
  focusRipple: !l,
340
- disabled: f || d,
341
- ref: n,
342
- ...h,
345
+ disabled: d || f,
346
+ ref: t,
347
+ ...v,
343
348
  ownerState: E,
344
- children: [typeof d == "boolean" && // use plain HTML span to minimize the runtime overhead
345
- /* @__PURE__ */ g("span", {
346
- className: O.loadingWrapper,
349
+ children: [typeof f == "boolean" && // use plain HTML span to minimize the runtime overhead
350
+ /* @__PURE__ */ y("span", {
351
+ className: T.loadingWrapper,
347
352
  style: {
348
353
  display: "contents"
349
354
  },
350
- children: /* @__PURE__ */ g(ge, {
351
- className: O.loadingIndicator,
355
+ children: /* @__PURE__ */ y(ge, {
356
+ className: T.loadingIndicator,
352
357
  ownerState: E,
353
- children: d && I
358
+ children: f && S
354
359
  })
355
360
  }), a]
356
361
  });
357
362
  });
358
- process.env.NODE_ENV !== "production" && (ye.propTypes = {
363
+ process.env.NODE_ENV !== "production" && (me.propTypes = {
359
364
  // ┌────────────────────────────── Warning ──────────────────────────────┐
360
365
  // │ These PropTypes are generated from the TypeScript type definitions. │
361
366
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -363,7 +368,7 @@ process.env.NODE_ENV !== "production" && (ye.propTypes = {
363
368
  /**
364
369
  * The icon to display.
365
370
  */
366
- children: F(s.node, (e) => c.Children.toArray(e.children).some((n) => /* @__PURE__ */ c.isValidElement(n) && n.props.onClick) ? new Error(["MUI: You are providing an onClick event listener to a child of a button element.", "Prefer applying it to the IconButton directly.", "This guarantees that the whole <button> will be responsive to click events."].join(`
371
+ children: ee(s.node, (e) => c.Children.toArray(e.children).some((t) => /* @__PURE__ */ c.isValidElement(t) && t.props.onClick) ? new Error(["MUI: You are providing an onClick event listener to a child of a button element.", "Prefer applying it to the IconButton directly.", "This guarantees that the whole <button> will be responsive to click events."].join(`
367
372
  `)) : null),
368
373
  /**
369
374
  * Override or extend the styles applied to the component.
@@ -434,137 +439,137 @@ process.env.NODE_ENV !== "production" && (ye.propTypes = {
434
439
  */
435
440
  sx: s.oneOfType([s.arrayOf(s.oneOfType([s.func, s.object, s.bool])), s.func, s.object])
436
441
  });
437
- function me(e) {
442
+ function be(e) {
438
443
  return typeof e == "string";
439
444
  }
440
- function be(e, t, n) {
441
- return e === void 0 || me(e) ? t : {
442
- ...t,
445
+ function he(e, n, t) {
446
+ return e === void 0 || be(e) ? n : {
447
+ ...n,
443
448
  ownerState: {
444
- ...t.ownerState,
445
- ...n
449
+ ...n.ownerState,
450
+ ...t
446
451
  }
447
452
  };
448
453
  }
449
- function ve(e, t, n) {
450
- return typeof e == "function" ? e(t, n) : e;
454
+ function ve(e, n, t) {
455
+ return typeof e == "function" ? e(n, t) : e;
451
456
  }
452
- function he(e, t = []) {
457
+ function Ee(e, n = []) {
453
458
  if (e === void 0)
454
459
  return {};
455
- const n = {};
456
- return Object.keys(e).filter((o) => o.match(/^on[A-Z]/) && typeof e[o] == "function" && !t.includes(o)).forEach((o) => {
457
- n[o] = e[o];
458
- }), n;
460
+ const t = {};
461
+ return Object.keys(e).filter((o) => o.match(/^on[A-Z]/) && typeof e[o] == "function" && !n.includes(o)).forEach((o) => {
462
+ t[o] = e[o];
463
+ }), t;
459
464
  }
460
465
  function x(e) {
461
466
  if (e === void 0)
462
467
  return {};
463
- const t = {};
464
- return Object.keys(e).filter((n) => !(n.match(/^on[A-Z]/) && typeof e[n] == "function")).forEach((n) => {
465
- t[n] = e[n];
466
- }), t;
468
+ const n = {};
469
+ return Object.keys(e).filter((t) => !(t.match(/^on[A-Z]/) && typeof e[t] == "function")).forEach((t) => {
470
+ n[t] = e[t];
471
+ }), n;
467
472
  }
468
- function Ee(e) {
473
+ function Te(e) {
469
474
  const {
470
- getSlotProps: t,
471
- additionalProps: n,
475
+ getSlotProps: n,
476
+ additionalProps: t,
472
477
  externalSlotProps: o,
473
478
  externalForwardedProps: r,
474
479
  className: a
475
480
  } = e;
476
- if (!t) {
477
- const v = T(n == null ? void 0 : n.className, a, r == null ? void 0 : r.className, o == null ? void 0 : o.className), h = {
478
- ...n == null ? void 0 : n.style,
481
+ if (!n) {
482
+ const h = N(t == null ? void 0 : t.className, a, r == null ? void 0 : r.className, o == null ? void 0 : o.className), v = {
483
+ ...t == null ? void 0 : t.style,
479
484
  ...r == null ? void 0 : r.style,
480
485
  ...o == null ? void 0 : o.style
481
- }, y = {
482
- ...n,
486
+ }, g = {
487
+ ...t,
483
488
  ...r,
484
489
  ...o
485
490
  };
486
- return v.length > 0 && (y.className = v), Object.keys(h).length > 0 && (y.style = h), {
487
- props: y,
491
+ return h.length > 0 && (g.className = h), Object.keys(v).length > 0 && (g.style = v), {
492
+ props: g,
488
493
  internalRef: void 0
489
494
  };
490
495
  }
491
- const i = he({
496
+ const i = Ee({
492
497
  ...r,
493
498
  ...o
494
- }), u = x(o), f = x(r), l = t(i), b = T(l == null ? void 0 : l.className, n == null ? void 0 : n.className, a, r == null ? void 0 : r.className, o == null ? void 0 : o.className), p = {
499
+ }), u = x(o), d = x(r), l = n(i), b = N(l == null ? void 0 : l.className, t == null ? void 0 : t.className, a, r == null ? void 0 : r.className, o == null ? void 0 : o.className), p = {
495
500
  ...l == null ? void 0 : l.style,
496
- ...n == null ? void 0 : n.style,
501
+ ...t == null ? void 0 : t.style,
497
502
  ...r == null ? void 0 : r.style,
498
503
  ...o == null ? void 0 : o.style
499
- }, d = {
504
+ }, f = {
500
505
  ...l,
501
- ...n,
502
- ...f,
506
+ ...t,
507
+ ...d,
503
508
  ...u
504
509
  };
505
- return b.length > 0 && (d.className = b), Object.keys(p).length > 0 && (d.style = p), {
506
- props: d,
510
+ return b.length > 0 && (f.className = b), Object.keys(p).length > 0 && (f.style = p), {
511
+ props: f,
507
512
  internalRef: l.ref
508
513
  };
509
514
  }
510
515
  function Oe(e) {
511
- var t;
512
- return parseInt(c.version, 10) >= 19 ? ((t = e == null ? void 0 : e.props) == null ? void 0 : t.ref) || null : (e == null ? void 0 : e.ref) || null;
516
+ var n;
517
+ return parseInt(c.version, 10) >= 19 ? ((n = e == null ? void 0 : e.props) == null ? void 0 : n.ref) || null : (e == null ? void 0 : e.ref) || null;
513
518
  }
514
- function Te(e, t, n, o, r) {
519
+ function Ne(e, n, t, o, r) {
515
520
  if (process.env.NODE_ENV === "production")
516
521
  return null;
517
- const a = e[t], i = r || t;
518
- return a == null ? null : a && a.nodeType !== 1 ? new Error(`Invalid ${o} \`${i}\` supplied to \`${n}\`. Expected an HTMLElement.`) : null;
522
+ const a = e[n], i = r || n;
523
+ return a == null ? null : a && a.nodeType !== 1 ? new Error(`Invalid ${o} \`${i}\` supplied to \`${t}\`. Expected an HTMLElement.`) : null;
519
524
  }
520
525
  function De(e) {
521
526
  var p;
522
527
  const {
523
- elementType: t,
524
- externalSlotProps: n,
528
+ elementType: n,
529
+ externalSlotProps: t,
525
530
  ownerState: o,
526
531
  skipResolvingSlotProps: r = !1,
527
532
  ...a
528
- } = e, i = r ? {} : ve(n, o), {
533
+ } = e, i = r ? {} : ve(t, o), {
529
534
  props: u,
530
- internalRef: f
531
- } = Ee({
535
+ internalRef: d
536
+ } = Te({
532
537
  ...a,
533
538
  externalSlotProps: i
534
- }), l = V(f, i == null ? void 0 : i.ref, (p = e.additionalProps) == null ? void 0 : p.ref);
535
- return be(t, {
539
+ }), l = D(d, i == null ? void 0 : i.ref, (p = e.additionalProps) == null ? void 0 : p.ref);
540
+ return he(n, {
536
541
  ...u,
537
542
  ref: l
538
543
  }, o);
539
544
  }
540
- function Ne(e) {
545
+ function Ie(e) {
541
546
  return typeof e == "function" ? e() : e;
542
547
  }
543
- const N = /* @__PURE__ */ c.forwardRef(function(t, n) {
548
+ const I = /* @__PURE__ */ c.forwardRef(function(n, t) {
544
549
  const {
545
550
  children: o,
546
551
  container: r,
547
552
  disablePortal: a = !1
548
- } = t, [i, u] = c.useState(null), f = V(/* @__PURE__ */ c.isValidElement(o) ? Oe(o) : null, n);
553
+ } = n, [i, u] = c.useState(null), d = D(/* @__PURE__ */ c.isValidElement(o) ? Oe(o) : null, t);
549
554
  if (B(() => {
550
- a || u(Ne(r) || document.body);
555
+ a || u(Ie(r) || document.body);
551
556
  }, [r, a]), B(() => {
552
557
  if (i && !a)
553
- return $(n, i), () => {
554
- $(n, null);
558
+ return z(t, i), () => {
559
+ z(t, null);
555
560
  };
556
- }, [n, i, a]), a) {
561
+ }, [t, i, a]), a) {
557
562
  if (/* @__PURE__ */ c.isValidElement(o)) {
558
563
  const l = {
559
- ref: f
564
+ ref: d
560
565
  };
561
566
  return /* @__PURE__ */ c.cloneElement(o, l);
562
567
  }
563
568
  return o;
564
569
  }
565
- return i && /* @__PURE__ */ ee.createPortal(o, i);
570
+ return i && /* @__PURE__ */ ne.createPortal(o, i);
566
571
  });
567
- process.env.NODE_ENV !== "production" && (N.propTypes = {
572
+ process.env.NODE_ENV !== "production" && (I.propTypes = {
568
573
  // ┌────────────────────────────── Warning ──────────────────────────────┐
569
574
  // │ These PropTypes are generated from the TypeScript type definitions. │
570
575
  // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │
@@ -583,31 +588,31 @@ process.env.NODE_ENV !== "production" && (N.propTypes = {
583
588
  * By default, it uses the body of the top-level document object,
584
589
  * so it's simply `document.body` most of the time.
585
590
  */
586
- container: s.oneOfType([Te, s.func]),
591
+ container: s.oneOfType([Ne, s.func]),
587
592
  /**
588
593
  * The `children` will be under the DOM hierarchy of the parent component.
589
594
  * @default false
590
595
  */
591
596
  disablePortal: s.bool
592
597
  });
593
- process.env.NODE_ENV !== "production" && (N.propTypes = le(N.propTypes));
598
+ process.env.NODE_ENV !== "production" && (I.propTypes = ce(I.propTypes));
594
599
  export {
595
- Te as H,
596
- ye as I,
597
- N as P,
598
- be as a,
599
- ue as b,
600
+ Ne as H,
601
+ me as I,
602
+ I as P,
603
+ he as a,
604
+ fe as b,
600
605
  Oe as c,
601
- he as d,
602
- le as e,
603
- $e as f,
604
- xe as g,
606
+ Ee as d,
607
+ ce as e,
608
+ je as f,
609
+ $e as g,
605
610
  De as h,
606
611
  P as i,
607
- re as j,
612
+ ae as j,
608
613
  ke as k,
609
- Ee as m,
610
- ze as o,
614
+ Te as m,
615
+ we as o,
611
616
  ve as r,
612
- je as u
617
+ xe as u
613
618
  };
@@ -1,5 +1,5 @@
1
1
  import { jsx as t, jsxs as s } from "react/jsx-runtime";
2
- import { c as a } from "../../createSvgIcon-DmrVEdN7.js";
2
+ import { c as a } from "../../createSvgIcon-DQhMxTx4.js";
3
3
  import '../../assets/AlertPara.css';const _ = a(/* @__PURE__ */ t("path", {
4
4
  d: "M11 7h2v2h-2zm0 4h2v6h-2zm1-9C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8"
5
5
  }), "InfoOutlined"), c = "_alert_ur25l_1", i = "_isolated_ur25l_13", f = "_none_ur25l_19 _alert_ur25l_1", u = "_info_ur25l_23 _alert_ur25l_1", n = {