@5ive-souls/controls 0.0.1 → 0.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.
Files changed (59) hide show
  1. package/dist/5ive-souls-controls-0.0.3.tgz +0 -0
  2. package/dist/Section-Bw_kuHpK.js +754 -0
  3. package/dist/components/ClassNames.js +7 -0
  4. package/dist/components/DynamicForm/Builder/DynamicFormBuilder.js +64 -0
  5. package/dist/components/DynamicForm/Builder/Field/FieldBuilder.js +53 -0
  6. package/dist/components/DynamicForm/Builder/Section/SectionBuilder.js +16 -0
  7. package/dist/components/DynamicForm/Builder/index.js +8 -0
  8. package/dist/components/DynamicForm/DynamicForm.js +197 -0
  9. package/dist/components/DynamicForm/Interfaces/IField.js +0 -0
  10. package/dist/components/DynamicForm/Interfaces/IFieldGroup.js +0 -0
  11. package/dist/components/DynamicForm/Interfaces/IFormMetaData.js +0 -0
  12. package/dist/components/DynamicForm/Interfaces/IFormSection.js +0 -0
  13. package/dist/components/DynamicForm/Interfaces/index.js +0 -0
  14. package/dist/components/DynamicForm/index.js +10 -0
  15. package/dist/components/FiveSoulsProvider/FiveSouls.Types.js +4 -0
  16. package/dist/components/FiveSoulsProvider/FiveSoulsProvider.js +20 -0
  17. package/dist/components/FiveSoulsProvider/deviceContext.js +5 -0
  18. package/dist/components/FiveSoulsProvider/index.js +10 -0
  19. package/dist/components/FiveSoulsProvider/useDevice.js +10 -0
  20. package/dist/components/FlexBox/FlexBox.js +75 -0
  21. package/dist/components/FlexBox/FlexBoxItem/FlexBoxItem.js +15 -0
  22. package/dist/components/FlexBox/FlexBoxItem/index.js +4 -0
  23. package/dist/components/FlexBox/FlexBoxItemResizer/FlexBoxItemResizer.js +80 -0
  24. package/dist/components/FlexBox/FlexBoxItemResizer/index.js +4 -0
  25. package/dist/components/FlexBox/FlexBoxUtils.js +13 -0
  26. package/dist/components/FlexBox/ResizeUtils.js +31 -0
  27. package/dist/components/FlexBox/index.js +8 -0
  28. package/dist/components/Grid/Grid.js +97 -0
  29. package/dist/components/Grid/GridCell/GridCell.js +16 -0
  30. package/dist/components/Grid/GridCell/index.js +4 -0
  31. package/dist/components/Grid/GridContext.js +5 -0
  32. package/dist/components/Grid/GridUtils.js +10 -0
  33. package/dist/components/Grid/ResizableGridCell/ResizableGridCell.js +72 -0
  34. package/dist/components/Grid/ResizableGridCell/index.js +4 -0
  35. package/dist/components/Grid/index.js +12 -0
  36. package/dist/components/IComponentProps.js +0 -0
  37. package/dist/components/JumpList/JumpList.js +178 -0
  38. package/dist/components/JumpList/index.js +4 -0
  39. package/dist/components/RichText/RichText.js +32 -0
  40. package/dist/components/RichText/index.js +4 -0
  41. package/dist/components/Section/Section.js +12 -0
  42. package/dist/components/Section/SectionUtils.js +15 -0
  43. package/dist/components/Section/index.js +4 -0
  44. package/dist/components/ThemePicker/ThemePicker.js +92 -0
  45. package/dist/components/ThemePicker/Themes/Cornflower/Cornflower.js +32 -0
  46. package/dist/components/ThemePicker/Themes/Crimson/Crimson.js +32 -0
  47. package/dist/components/ThemePicker/Themes/Forest/Forest.js +32 -0
  48. package/dist/components/ThemePicker/Themes/Royal/Royal.js +32 -0
  49. package/dist/components/ThemePicker/Themes/index.js +18 -0
  50. package/dist/components/ThemePicker/index.js +20 -0
  51. package/dist/components/Wizard/Wizard.js +99 -0
  52. package/dist/components/Wizard/WizardPanel/WizardPanel.js +14 -0
  53. package/dist/components/Wizard/WizardPanel/index.js +4 -0
  54. package/dist/components/Wizard/index.js +6 -0
  55. package/dist/components/index.js +61 -0
  56. package/dist/createFluentIcon-CwLxkjIW.js +503 -0
  57. package/dist/main.d.ts +637 -0
  58. package/dist/main.js +61 -0
  59. package/package.json +75 -64
@@ -0,0 +1,503 @@
1
+ import * as S from "react";
2
+ const w = S.createContext(void 0), K = {};
3
+ w.Provider;
4
+ const G = () => S.useContext(w) ? S.useContext(w) : K, b = typeof window > "u" ? global : window, x = "@griffel/";
5
+ function B(e, t) {
6
+ return b[Symbol.for(x + e)] || (b[Symbol.for(x + e)] = t), b[Symbol.for(x + e)];
7
+ }
8
+ const D = /* @__PURE__ */ B("DEBUG_RESET_CLASSES", {}), R = /* @__PURE__ */ B("DEFINITION_LOOKUP_TABLE", {}), p = "data-make-styles-bucket", X = "data-priority", Q = "r", _ = 7, C = "___", j = "_", k = process.env.NODE_ENV === "production" ? C.length + _ : C.length + _ + j.length + _, W = 0, A = 1;
9
+ function y(e) {
10
+ for (var t = 0, n, s = 0, r = e.length; r >= 4; ++s, r -= 4)
11
+ n = e.charCodeAt(s) & 255 | (e.charCodeAt(++s) & 255) << 8 | (e.charCodeAt(++s) & 255) << 16 | (e.charCodeAt(++s) & 255) << 24, n = /* Math.imul(k, m): */
12
+ (n & 65535) * 1540483477 + ((n >>> 16) * 59797 << 16), n ^= /* k >>> r: */
13
+ n >>> 24, t = /* Math.imul(k, m): */
14
+ (n & 65535) * 1540483477 + ((n >>> 16) * 59797 << 16) ^ /* Math.imul(h, m): */
15
+ (t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16);
16
+ switch (r) {
17
+ case 3:
18
+ t ^= (e.charCodeAt(s + 2) & 255) << 16;
19
+ case 2:
20
+ t ^= (e.charCodeAt(s + 1) & 255) << 8;
21
+ case 1:
22
+ t ^= e.charCodeAt(s) & 255, t = /* Math.imul(h, m): */
23
+ (t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16);
24
+ }
25
+ return t ^= t >>> 13, t = /* Math.imul(h, m): */
26
+ (t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16), ((t ^ t >>> 15) >>> 0).toString(36);
27
+ }
28
+ function O(e) {
29
+ const t = e.length;
30
+ if (t === _)
31
+ return e;
32
+ for (let n = t; n < _; n++)
33
+ e += "0";
34
+ return e;
35
+ }
36
+ function H(e, t, n = []) {
37
+ return process.env.NODE_ENV === "production" ? C + O(y(e + t)) : C + O(y(e + t)) + j + O(y(n.join("")));
38
+ }
39
+ function P(e, t) {
40
+ let n = "", s = "";
41
+ for (const r in e) {
42
+ const o = e[r];
43
+ if (o === 0) {
44
+ s += r + " ";
45
+ continue;
46
+ }
47
+ const i = Array.isArray(o), c = t === "rtl" ? (i ? o[1] : o) + " " : (i ? o[0] : o) + " ";
48
+ n += c, s += c;
49
+ }
50
+ return [n.slice(0, -1), s.slice(0, -1)];
51
+ }
52
+ function T(e, t) {
53
+ const n = {};
54
+ for (const s in e) {
55
+ const [r, o] = P(e[s], t);
56
+ if (o === "") {
57
+ n[s] = "";
58
+ continue;
59
+ }
60
+ const i = H(o, t), c = i + (r === "" ? "" : " " + r);
61
+ R[i] = [e[s], t], n[s] = c;
62
+ }
63
+ return n;
64
+ }
65
+ const v = {};
66
+ function J() {
67
+ let e = null, t = "", n = "";
68
+ const s = new Array(arguments.length);
69
+ let r = "";
70
+ for (let h = 0; h < arguments.length; h++) {
71
+ const l = arguments[h];
72
+ if (typeof l == "string" && l !== "") {
73
+ const g = l.indexOf(C);
74
+ if (g === -1)
75
+ process.env.NODE_ENV !== "production" && l.split(" ").forEach((m) => {
76
+ m.startsWith(Q) && D[m] && (r ? console.error(`mergeClasses(): a passed string contains multiple classes produced by makeResetStyles (${l} & ${t}, this will lead to non-deterministic behavior. Learn more:https://griffel.js.org/react/api/make-reset-styles#limitations
77
+ Source string: ${l}`) : r = m);
78
+ }), t += l + " ";
79
+ else {
80
+ const m = l.substr(g, k);
81
+ g > 0 && (t += l.slice(0, g)), n += m, s[h] = m;
82
+ }
83
+ process.env.NODE_ENV !== "production" && l.indexOf(C, g + 1) !== -1 && console.error(`mergeClasses(): a passed string contains multiple identifiers of atomic classes (classes that start with "${C}"), it's possible that passed classes were concatenated in a wrong way. Source string: ${l}`);
84
+ }
85
+ }
86
+ if (n === "")
87
+ return t.slice(0, -1);
88
+ const o = v[n];
89
+ if (o !== void 0)
90
+ return t + o;
91
+ const i = [];
92
+ for (let h = 0; h < arguments.length; h++) {
93
+ const l = s[h];
94
+ if (l) {
95
+ const g = R[l];
96
+ g ? (i.push(g[W]), process.env.NODE_ENV !== "production" && e !== null && e !== g[A] && console.error(`mergeClasses(): a passed string contains an identifier (${l}) that has different direction (dir="${g[1] ? "rtl" : "ltr"}") setting than other classes. This is not supported. Source string: ${arguments[h]}`), e = g[A]) : process.env.NODE_ENV !== "production" && console.error(`mergeClasses(): a passed string contains an identifier (${l}) that does not match any entry in cache. Source string: ${arguments[h]}`);
97
+ }
98
+ }
99
+ const c = Object.assign.apply(
100
+ Object,
101
+ // .assign() mutates the first object, we can't mutate mappings as it will produce invalid results later
102
+ [{}].concat(i)
103
+ ), [a, u] = P(c, e), f = H(u, e, s), d = f + " " + a;
104
+ return v[n] = d, R[f] = [c, e], t + d;
105
+ }
106
+ const q = {}, F = /* @__PURE__ */ new Set(), E = {
107
+ getChildrenSequences: (e) => {
108
+ const t = Object.keys(v).find((n) => v[n].startsWith(e));
109
+ return t ? t.split(C).filter((n) => n.length).map((n) => C + n) : [];
110
+ },
111
+ addCSSRule: (e) => {
112
+ F.add(e);
113
+ },
114
+ addSequenceDetails: (e, t) => {
115
+ Object.entries(e).forEach(([n, s]) => {
116
+ q[s.substring(0, k)] = {
117
+ slotName: n,
118
+ sourceURL: t
119
+ };
120
+ });
121
+ },
122
+ getCSSRules: () => Array.from(F),
123
+ getSequenceDetails: (e) => q[e]
124
+ };
125
+ function $(e, t) {
126
+ return Array.isArray(e) ? t === "rtl" ? e[1] : e[0] : e || "";
127
+ }
128
+ function Y(e, t, n, s) {
129
+ const r = e[0], o = e[1];
130
+ return Object.entries(r).map(([i, c]) => {
131
+ const a = $(c, o);
132
+ let u;
133
+ if (n && t) {
134
+ const f = n.find(({
135
+ className: d
136
+ }) => d === a);
137
+ !f && t[0][i] ? u = $(t[0][i], t[1]) : f && t[0][i] ? u = (s ? s.filter(({
138
+ debugClassNames: h
139
+ }) => h.filter(({
140
+ className: l
141
+ }) => l === a).length > 0).length > 0 : !1) ? f.className : f.overriddenBy : (!f && !t[0][i] || f && !t[0][i]) && (u = void 0);
142
+ }
143
+ return {
144
+ className: a,
145
+ overriddenBy: u
146
+ };
147
+ });
148
+ }
149
+ function z(e, t) {
150
+ const n = R[e];
151
+ if (n === void 0)
152
+ return;
153
+ const s = t ? R[t.sequenceHash] : void 0, r = Y(n, s, t == null ? void 0 : t.debugClassNames, t == null ? void 0 : t.children), o = {
154
+ sequenceHash: e,
155
+ direction: n[1],
156
+ children: [],
157
+ debugClassNames: r
158
+ };
159
+ return E.getChildrenSequences(o.sequenceHash).reverse().forEach((c) => {
160
+ const a = z(c, o);
161
+ a && o.children.push(a);
162
+ }), o.children.length || (o.rules = {}, o.debugClassNames.forEach(({
163
+ className: c
164
+ }) => {
165
+ const a = E.getSequenceDetails(e);
166
+ a && (o.slot = a.slotName, o.sourceURL = a.sourceURL);
167
+ const u = E.getCSSRules().find((f) => f.includes(c));
168
+ o.rules[c] = u;
169
+ })), o;
170
+ }
171
+ function Z(e) {
172
+ if (D[e] === void 0)
173
+ return;
174
+ const s = {
175
+ sequenceHash: e,
176
+ direction: "ltr",
177
+ children: [],
178
+ debugClassNames: [{
179
+ className: e
180
+ }]
181
+ };
182
+ s.rules = {}, s.slot = "makeResetStyles()";
183
+ const [{
184
+ className: r
185
+ }] = s.debugClassNames, o = E.getCSSRules().filter((i) => i.includes(`.${r}`));
186
+ return s.rules[r] = o.join(""), s;
187
+ }
188
+ function ee(e, t) {
189
+ const n = e ? z(e) : void 0, s = t ? Z(t) : void 0;
190
+ return !n && !s ? void 0 : n ? s ? {
191
+ sequenceHash: n.sequenceHash + s.sequenceHash,
192
+ direction: n.direction,
193
+ children: [n, s],
194
+ debugClassNames: [...n.debugClassNames, ...s.debugClassNames]
195
+ } : n : s;
196
+ }
197
+ function te(e) {
198
+ const t = e.defaultView;
199
+ if (!t || t.__GRIFFEL_DEVTOOLS__)
200
+ return;
201
+ const n = {
202
+ getInfo: (s) => {
203
+ let r, o;
204
+ for (const i of s.classList)
205
+ i.startsWith(C) && (r = i), D[i] && (o = i);
206
+ return ee(r, o);
207
+ }
208
+ };
209
+ Object.defineProperty(t, "__GRIFFEL_DEVTOOLS__", {
210
+ configurable: !1,
211
+ enumerable: !1,
212
+ get() {
213
+ return n;
214
+ }
215
+ });
216
+ }
217
+ const N = /* @__PURE__ */ (() => {
218
+ var e;
219
+ try {
220
+ return !!(typeof window < "u" && (!((e = window.sessionStorage) === null || e === void 0) && e.getItem("__GRIFFEL_DEVTOOLS__")));
221
+ } catch {
222
+ return !1;
223
+ }
224
+ })();
225
+ function ne(e) {
226
+ if (!Array.isArray(e))
227
+ return [e];
228
+ if (process.env.NODE_ENV !== "production" && e.length > 2)
229
+ throw new Error("CSS Bucket contains an entry with greater than 2 items, please report this to https://github.com/microsoft/griffel/issues");
230
+ return e;
231
+ }
232
+ function se(e, t, n, s) {
233
+ const r = [];
234
+ if (s[p] = t, s[X] = String(n), e)
235
+ for (const i in s)
236
+ e.setAttribute(i, s[i]);
237
+ function o(i) {
238
+ return e != null && e.sheet ? e.sheet.insertRule(i, e.sheet.cssRules.length) : r.push(i);
239
+ }
240
+ return {
241
+ elementAttributes: s,
242
+ insertRule: o,
243
+ element: e,
244
+ bucketName: t,
245
+ cssRules() {
246
+ return e != null && e.sheet ? Array.from(e.sheet.cssRules).map((i) => i.cssText) : r;
247
+ }
248
+ };
249
+ }
250
+ const oe = [
251
+ // reset styles
252
+ "r",
253
+ // catch-all
254
+ "d",
255
+ // link
256
+ "l",
257
+ // visited
258
+ "v",
259
+ // focus-within
260
+ "w",
261
+ // focus
262
+ "f",
263
+ // focus-visible
264
+ "i",
265
+ // hover
266
+ "h",
267
+ // active
268
+ "a",
269
+ // at rules for reset styles
270
+ "s",
271
+ // keyframes
272
+ "k",
273
+ // at-rules
274
+ "t",
275
+ // @media rules
276
+ "m",
277
+ // @container rules
278
+ "c"
279
+ ], L = /* @__PURE__ */ oe.reduce((e, t, n) => (e[t] = n, e), {});
280
+ function re(e, t, n) {
281
+ return (e === "m" ? e + t : e) + n;
282
+ }
283
+ function ie(e, t, n, s, r = {}) {
284
+ var o, i;
285
+ const c = e === "m", a = (o = r.m) !== null && o !== void 0 ? o : "0", u = (i = r.p) !== null && i !== void 0 ? i : 0, f = re(e, a, u);
286
+ if (!s.stylesheets[f]) {
287
+ const d = t && t.createElement("style"), h = se(d, e, u, Object.assign({}, s.styleElementAttributes, c && {
288
+ media: a
289
+ }));
290
+ s.stylesheets[f] = h, t && d && t.head.insertBefore(d, le(t, n, e, s, r));
291
+ }
292
+ return s.stylesheets[f];
293
+ }
294
+ function ce(e, t, n) {
295
+ var s, r;
296
+ const o = t + ((s = n.m) !== null && s !== void 0 ? s : ""), i = e.getAttribute(p) + ((r = e.media) !== null && r !== void 0 ? r : "");
297
+ return o === i;
298
+ }
299
+ function le(e, t, n, s, r = {}) {
300
+ var o, i;
301
+ const c = L[n], a = (o = r.m) !== null && o !== void 0 ? o : "", u = (i = r.p) !== null && i !== void 0 ? i : 0;
302
+ let f = (m) => c - L[m.getAttribute(p)], d = e.head.querySelectorAll(`[${p}]`);
303
+ if (n === "m") {
304
+ const m = e.head.querySelectorAll(`[${p}="${n}"]`);
305
+ m.length && (d = m, f = (M) => s.compareMediaQueries(a, M.media));
306
+ }
307
+ const h = (m) => ce(m, n, r) ? u - Number(m.getAttribute("data-priority")) : f(m), l = d.length;
308
+ let g = l - 1;
309
+ for (; g >= 0; ) {
310
+ const m = d.item(g);
311
+ if (h(m) > 0)
312
+ return m.nextSibling;
313
+ g--;
314
+ }
315
+ return l > 0 ? d.item(0) : t ? t.nextSibling : null;
316
+ }
317
+ const ae = /* @__PURE__ */ ["-moz-placeholder", "-moz-focus-inner", "-moz-focusring", "-ms-input-placeholder", "-moz-read-write", "-moz-read-only"].join("|"), ue = /* @__PURE__ */ new RegExp(`:(${ae})`);
318
+ function U(e, t) {
319
+ try {
320
+ e.insertRule(t);
321
+ } catch (n) {
322
+ process.env.NODE_ENV !== "production" && !ue.test(t) && console.error(`There was a problem inserting the following rule: "${t}"`, n);
323
+ }
324
+ }
325
+ let fe = 0;
326
+ const de = (e, t) => e < t ? -1 : e > t ? 1 : 0;
327
+ function he(e = typeof document > "u" ? void 0 : document, t = {}) {
328
+ const {
329
+ classNameHashSalt: n,
330
+ unstable_filterCSSRule: s,
331
+ insertionPoint: r,
332
+ styleElementAttributes: o,
333
+ compareMediaQueries: i = de
334
+ } = t, c = {
335
+ classNameHashSalt: n,
336
+ insertionCache: {},
337
+ stylesheets: {},
338
+ styleElementAttributes: Object.freeze(o),
339
+ compareMediaQueries: i,
340
+ id: `d${fe++}`,
341
+ insertCSSRules(a) {
342
+ for (const u in a) {
343
+ const f = a[u];
344
+ for (let d = 0, h = f.length; d < h; d++) {
345
+ const [l, g] = ne(f[d]), m = ie(u, e, r || null, c, g);
346
+ c.insertionCache[l] || (c.insertionCache[l] = u, process.env.NODE_ENV !== "production" && N && E.addCSSRule(l), s ? s(l) && U(m, l) : U(m, l));
347
+ }
348
+ }
349
+ }
350
+ };
351
+ return e && process.env.NODE_ENV !== "production" && N && te(e), c;
352
+ }
353
+ const I = "<unknown>";
354
+ function me(e) {
355
+ return Ee(e) || Re(e) || Ne(e);
356
+ }
357
+ const ge = /^\s*at (.*?) ?\(((?:file|https?|blob|chrome-extension|native|eval|webpack|<anonymous>|\/|[a-z]:\\|\\\\).*?)?\)?\s*$/i, Se = /^\s*at ()((?:file|https?|blob|chrome-extension|native|eval|webpack|<anonymous>|\/|[a-z]:\\|\\\\).*?)\s*$/i, Ce = /\((\S*)\)/;
358
+ function Ee(e) {
359
+ const t = ge.exec(e) || Se.exec(e);
360
+ if (!t)
361
+ return null;
362
+ let n = t[2];
363
+ const s = n && n.indexOf("native") === 0, r = n && n.indexOf("eval") === 0, o = Ce.exec(n);
364
+ return r && o != null && (n = o[1]), {
365
+ loc: s ? null : t[2],
366
+ name: t[1] || I
367
+ };
368
+ }
369
+ const pe = /^\s*(.*?)(?:\((.*?)\))?(?:^|@)((?:file|https?|blob|chrome|webpack|resource|\[native).*?|[^@]*bundle)\s*$/i, _e = /(\S+) line (\d+)(?: > eval line \d+)* > eval/i;
370
+ function Re(e) {
371
+ const t = pe.exec(e);
372
+ if (!t)
373
+ return null;
374
+ let n = t[3];
375
+ const s = n && n.indexOf(" > eval") > -1, r = _e.exec(n);
376
+ return s && r != null && (n = r[1]), {
377
+ loc: t[3],
378
+ name: t[1] || I
379
+ };
380
+ }
381
+ const ve = /^\s*(?:([^@]*)(?:\((.*?)\))?@)?(\S.*?)\s*$/i;
382
+ function Ne(e) {
383
+ const t = ve.exec(e);
384
+ return t ? {
385
+ loc: t[3],
386
+ name: t[1] || I
387
+ } : null;
388
+ }
389
+ function be() {
390
+ const e = String(new Error().stack).split(`
391
+ `), t = xe(e);
392
+ if (t === void 0)
393
+ return;
394
+ const n = me(t);
395
+ return n == null ? void 0 : n.loc;
396
+ }
397
+ function xe(e) {
398
+ for (let t = e.length - 1; t >= 0; --t)
399
+ if (e[t].includes("at getSourceURLfromError"))
400
+ return e[t + 3];
401
+ }
402
+ const ye = () => {
403
+ const e = {};
404
+ return function(n, s) {
405
+ e[n.id] === void 0 && (n.insertCSSRules(s), e[n.id] = !0);
406
+ };
407
+ };
408
+ function Oe(e, t, n = ye) {
409
+ const s = n();
410
+ let r = null, o = null, i;
411
+ process.env.NODE_ENV !== "production" && N && (i = be());
412
+ function c(a) {
413
+ const {
414
+ dir: u,
415
+ renderer: f
416
+ } = a, d = u === "ltr";
417
+ d ? r === null && (r = T(e, u)) : o === null && (o = T(e, u)), s(f, t);
418
+ const h = d ? r : o;
419
+ return process.env.NODE_ENV !== "production" && N && E.addSequenceDetails(h, i), h;
420
+ }
421
+ return c;
422
+ }
423
+ function we() {
424
+ return typeof window < "u" && !!(window.document && window.document.createElement);
425
+ }
426
+ const V = (
427
+ // @ts-expect-error Hack to make sure that `useInsertionEffect` will not cause bundling issues in older React versions
428
+ // eslint-disable-next-line no-useless-concat
429
+ S.useInsertionEffect ? S.useInsertionEffect : void 0
430
+ ), De = () => {
431
+ const e = {};
432
+ return function(n, s) {
433
+ if (V && we()) {
434
+ V(() => {
435
+ n.insertCSSRules(s);
436
+ }, [n, s]);
437
+ return;
438
+ }
439
+ e[n.id] === void 0 && (n.insertCSSRules(s), e[n.id] = !0);
440
+ };
441
+ }, Ie = /* @__PURE__ */ S.createContext(/* @__PURE__ */ he());
442
+ function Ae() {
443
+ return S.useContext(Ie);
444
+ }
445
+ const Te = /* @__PURE__ */ S.createContext("ltr");
446
+ function qe() {
447
+ return S.useContext(Te);
448
+ }
449
+ function Fe(e, t) {
450
+ const n = Oe(e, t, De);
451
+ return function() {
452
+ const r = qe(), o = Ae();
453
+ return n({
454
+ dir: r,
455
+ renderer: o
456
+ });
457
+ };
458
+ }
459
+ const $e = Fe({
460
+ root: {
461
+ mc9l5x: "f1w7gpdv",
462
+ Bg96gwp: "fez10in",
463
+ ycbfsm: "fg4l7m0"
464
+ },
465
+ rtl: {
466
+ Bz10aip: "f13rod7r"
467
+ }
468
+ }, {
469
+ d: [".f1w7gpdv{display:inline;}", ".fez10in{line-height:0;}", ".f13rod7r{-webkit-transform:scaleX(-1);-moz-transform:scaleX(-1);-ms-transform:scaleX(-1);transform:scaleX(-1);}"],
470
+ t: ["@media (forced-colors: active){.fg4l7m0{forced-color-adjust:auto;}}"]
471
+ }), Le = (e, t) => {
472
+ const {
473
+ title: n,
474
+ primaryFill: s = "currentColor",
475
+ ...r
476
+ } = e, o = {
477
+ ...r,
478
+ title: void 0,
479
+ fill: s
480
+ }, i = $e(), c = G();
481
+ return o.className = J(i.root, (t == null ? void 0 : t.flipInRtl) && (c == null ? void 0 : c.textDirection) === "rtl" && i.rtl, o.className), n && (o["aria-label"] = n), !o["aria-label"] && !o["aria-labelledby"] ? o["aria-hidden"] = !0 : o.role = "img", o;
482
+ }, Ue = (e, t, n, s) => {
483
+ const r = t === "1em" ? "20" : t, o = S.forwardRef((i, c) => {
484
+ const a = {
485
+ ...Le(i, {
486
+ flipInRtl: s == null ? void 0 : s.flipInRtl
487
+ }),
488
+ ref: c,
489
+ width: t,
490
+ height: t,
491
+ viewBox: `0 0 ${r} ${r}`,
492
+ xmlns: "http://www.w3.org/2000/svg"
493
+ };
494
+ return S.createElement("svg", a, ...n.map((u) => S.createElement("path", {
495
+ d: u,
496
+ fill: a.fill
497
+ })));
498
+ });
499
+ return o.displayName = e, o;
500
+ };
501
+ export {
502
+ Ue as c
503
+ };