@process.co/ui 0.0.21 → 0.0.23

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,11 +1,8 @@
1
1
  'use strict';
2
2
 
3
- var React3 = require('react');
3
+ var React4 = require('react');
4
4
  var jsxRuntime = require('react/jsx-runtime');
5
5
  require('react-dom');
6
- var PropTypes = require('prop-types');
7
-
8
- function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
9
6
 
10
7
  function _interopNamespace(e) {
11
8
  if (e && e.__esModule) return e;
@@ -25,13 +22,968 @@ function _interopNamespace(e) {
25
22
  return Object.freeze(n);
26
23
  }
27
24
 
28
- var React3__namespace = /*#__PURE__*/_interopNamespace(React3);
29
- var PropTypes__default = /*#__PURE__*/_interopDefault(PropTypes);
25
+ var React4__namespace = /*#__PURE__*/_interopNamespace(React4);
30
26
 
27
+ var __create = Object.create;
28
+ var __defProp = Object.defineProperty;
29
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
31
30
  var __getOwnPropNames = Object.getOwnPropertyNames;
31
+ var __getProtoOf = Object.getPrototypeOf;
32
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
32
33
  var __commonJS = (cb, mod) => function __require() {
33
34
  return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
34
35
  };
36
+ var __copyProps = (to, from, except, desc) => {
37
+ if (from && typeof from === "object" || typeof from === "function") {
38
+ for (let key of __getOwnPropNames(from))
39
+ if (!__hasOwnProp.call(to, key) && key !== except)
40
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
41
+ }
42
+ return to;
43
+ };
44
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
45
+ // If the importer is in node compatibility mode or this is not an ESM
46
+ // file that has been converted to a CommonJS file using a Babel-
47
+ // compatible transform (i.e. "__esModule" has not been set), then set
48
+ // "default" to the CommonJS "module.exports" for node compatibility.
49
+ !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
50
+ mod
51
+ ));
52
+
53
+ // ../../node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/cjs/react-is.production.min.js
54
+ var require_react_is_production_min = __commonJS({
55
+ "../../node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/cjs/react-is.production.min.js"(exports$1) {
56
+ var b = "function" === typeof Symbol && Symbol.for;
57
+ var c = b ? Symbol.for("react.element") : 60103;
58
+ var d = b ? Symbol.for("react.portal") : 60106;
59
+ var e = b ? Symbol.for("react.fragment") : 60107;
60
+ var f = b ? Symbol.for("react.strict_mode") : 60108;
61
+ var g2 = b ? Symbol.for("react.profiler") : 60114;
62
+ var h = b ? Symbol.for("react.provider") : 60109;
63
+ var k = b ? Symbol.for("react.context") : 60110;
64
+ var l = b ? Symbol.for("react.async_mode") : 60111;
65
+ var m = b ? Symbol.for("react.concurrent_mode") : 60111;
66
+ var n = b ? Symbol.for("react.forward_ref") : 60112;
67
+ var p2 = b ? Symbol.for("react.suspense") : 60113;
68
+ var q = b ? Symbol.for("react.suspense_list") : 60120;
69
+ var r3 = b ? Symbol.for("react.memo") : 60115;
70
+ var t2 = b ? Symbol.for("react.lazy") : 60116;
71
+ var v = b ? Symbol.for("react.block") : 60121;
72
+ var w2 = b ? Symbol.for("react.fundamental") : 60117;
73
+ var x2 = b ? Symbol.for("react.responder") : 60118;
74
+ var y = b ? Symbol.for("react.scope") : 60119;
75
+ function z(a) {
76
+ if ("object" === typeof a && null !== a) {
77
+ var u = a.$$typeof;
78
+ switch (u) {
79
+ case c:
80
+ switch (a = a.type, a) {
81
+ case l:
82
+ case m:
83
+ case e:
84
+ case g2:
85
+ case f:
86
+ case p2:
87
+ return a;
88
+ default:
89
+ switch (a = a && a.$$typeof, a) {
90
+ case k:
91
+ case n:
92
+ case t2:
93
+ case r3:
94
+ case h:
95
+ return a;
96
+ default:
97
+ return u;
98
+ }
99
+ }
100
+ case d:
101
+ return u;
102
+ }
103
+ }
104
+ }
105
+ function A2(a) {
106
+ return z(a) === m;
107
+ }
108
+ exports$1.AsyncMode = l;
109
+ exports$1.ConcurrentMode = m;
110
+ exports$1.ContextConsumer = k;
111
+ exports$1.ContextProvider = h;
112
+ exports$1.Element = c;
113
+ exports$1.ForwardRef = n;
114
+ exports$1.Fragment = e;
115
+ exports$1.Lazy = t2;
116
+ exports$1.Memo = r3;
117
+ exports$1.Portal = d;
118
+ exports$1.Profiler = g2;
119
+ exports$1.StrictMode = f;
120
+ exports$1.Suspense = p2;
121
+ exports$1.isAsyncMode = function(a) {
122
+ return A2(a) || z(a) === l;
123
+ };
124
+ exports$1.isConcurrentMode = A2;
125
+ exports$1.isContextConsumer = function(a) {
126
+ return z(a) === k;
127
+ };
128
+ exports$1.isContextProvider = function(a) {
129
+ return z(a) === h;
130
+ };
131
+ exports$1.isElement = function(a) {
132
+ return "object" === typeof a && null !== a && a.$$typeof === c;
133
+ };
134
+ exports$1.isForwardRef = function(a) {
135
+ return z(a) === n;
136
+ };
137
+ exports$1.isFragment = function(a) {
138
+ return z(a) === e;
139
+ };
140
+ exports$1.isLazy = function(a) {
141
+ return z(a) === t2;
142
+ };
143
+ exports$1.isMemo = function(a) {
144
+ return z(a) === r3;
145
+ };
146
+ exports$1.isPortal = function(a) {
147
+ return z(a) === d;
148
+ };
149
+ exports$1.isProfiler = function(a) {
150
+ return z(a) === g2;
151
+ };
152
+ exports$1.isStrictMode = function(a) {
153
+ return z(a) === f;
154
+ };
155
+ exports$1.isSuspense = function(a) {
156
+ return z(a) === p2;
157
+ };
158
+ exports$1.isValidElementType = function(a) {
159
+ return "string" === typeof a || "function" === typeof a || a === e || a === m || a === g2 || a === f || a === p2 || a === q || "object" === typeof a && null !== a && (a.$$typeof === t2 || a.$$typeof === r3 || a.$$typeof === h || a.$$typeof === k || a.$$typeof === n || a.$$typeof === w2 || a.$$typeof === x2 || a.$$typeof === y || a.$$typeof === v);
160
+ };
161
+ exports$1.typeOf = z;
162
+ }
163
+ });
164
+
165
+ // ../../node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/cjs/react-is.development.js
166
+ var require_react_is_development = __commonJS({
167
+ "../../node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/cjs/react-is.development.js"(exports$1) {
168
+ if (process.env.NODE_ENV !== "production") {
169
+ (function() {
170
+ var hasSymbol = typeof Symbol === "function" && Symbol.for;
171
+ var REACT_ELEMENT_TYPE = hasSymbol ? Symbol.for("react.element") : 60103;
172
+ var REACT_PORTAL_TYPE = hasSymbol ? Symbol.for("react.portal") : 60106;
173
+ var REACT_FRAGMENT_TYPE = hasSymbol ? Symbol.for("react.fragment") : 60107;
174
+ var REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for("react.strict_mode") : 60108;
175
+ var REACT_PROFILER_TYPE = hasSymbol ? Symbol.for("react.profiler") : 60114;
176
+ var REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for("react.provider") : 60109;
177
+ var REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for("react.context") : 60110;
178
+ var REACT_ASYNC_MODE_TYPE = hasSymbol ? Symbol.for("react.async_mode") : 60111;
179
+ var REACT_CONCURRENT_MODE_TYPE = hasSymbol ? Symbol.for("react.concurrent_mode") : 60111;
180
+ var REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for("react.forward_ref") : 60112;
181
+ var REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for("react.suspense") : 60113;
182
+ var REACT_SUSPENSE_LIST_TYPE = hasSymbol ? Symbol.for("react.suspense_list") : 60120;
183
+ var REACT_MEMO_TYPE = hasSymbol ? Symbol.for("react.memo") : 60115;
184
+ var REACT_LAZY_TYPE2 = hasSymbol ? Symbol.for("react.lazy") : 60116;
185
+ var REACT_BLOCK_TYPE = hasSymbol ? Symbol.for("react.block") : 60121;
186
+ var REACT_FUNDAMENTAL_TYPE = hasSymbol ? Symbol.for("react.fundamental") : 60117;
187
+ var REACT_RESPONDER_TYPE = hasSymbol ? Symbol.for("react.responder") : 60118;
188
+ var REACT_SCOPE_TYPE = hasSymbol ? Symbol.for("react.scope") : 60119;
189
+ function isValidElementType(type) {
190
+ return typeof type === "string" || typeof type === "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
191
+ type === REACT_FRAGMENT_TYPE || type === REACT_CONCURRENT_MODE_TYPE || type === REACT_PROFILER_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || typeof type === "object" && type !== null && (type.$$typeof === REACT_LAZY_TYPE2 || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_FUNDAMENTAL_TYPE || type.$$typeof === REACT_RESPONDER_TYPE || type.$$typeof === REACT_SCOPE_TYPE || type.$$typeof === REACT_BLOCK_TYPE);
192
+ }
193
+ function typeOf(object) {
194
+ if (typeof object === "object" && object !== null) {
195
+ var $$typeof = object.$$typeof;
196
+ switch ($$typeof) {
197
+ case REACT_ELEMENT_TYPE:
198
+ var type = object.type;
199
+ switch (type) {
200
+ case REACT_ASYNC_MODE_TYPE:
201
+ case REACT_CONCURRENT_MODE_TYPE:
202
+ case REACT_FRAGMENT_TYPE:
203
+ case REACT_PROFILER_TYPE:
204
+ case REACT_STRICT_MODE_TYPE:
205
+ case REACT_SUSPENSE_TYPE:
206
+ return type;
207
+ default:
208
+ var $$typeofType = type && type.$$typeof;
209
+ switch ($$typeofType) {
210
+ case REACT_CONTEXT_TYPE:
211
+ case REACT_FORWARD_REF_TYPE:
212
+ case REACT_LAZY_TYPE2:
213
+ case REACT_MEMO_TYPE:
214
+ case REACT_PROVIDER_TYPE:
215
+ return $$typeofType;
216
+ default:
217
+ return $$typeof;
218
+ }
219
+ }
220
+ case REACT_PORTAL_TYPE:
221
+ return $$typeof;
222
+ }
223
+ }
224
+ return void 0;
225
+ }
226
+ var AsyncMode = REACT_ASYNC_MODE_TYPE;
227
+ var ConcurrentMode = REACT_CONCURRENT_MODE_TYPE;
228
+ var ContextConsumer = REACT_CONTEXT_TYPE;
229
+ var ContextProvider = REACT_PROVIDER_TYPE;
230
+ var Element = REACT_ELEMENT_TYPE;
231
+ var ForwardRef = REACT_FORWARD_REF_TYPE;
232
+ var Fragment4 = REACT_FRAGMENT_TYPE;
233
+ var Lazy = REACT_LAZY_TYPE2;
234
+ var Memo = REACT_MEMO_TYPE;
235
+ var Portal = REACT_PORTAL_TYPE;
236
+ var Profiler = REACT_PROFILER_TYPE;
237
+ var StrictMode = REACT_STRICT_MODE_TYPE;
238
+ var Suspense = REACT_SUSPENSE_TYPE;
239
+ var hasWarnedAboutDeprecatedIsAsyncMode = false;
240
+ function isAsyncMode(object) {
241
+ {
242
+ if (!hasWarnedAboutDeprecatedIsAsyncMode) {
243
+ hasWarnedAboutDeprecatedIsAsyncMode = true;
244
+ console["warn"]("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.");
245
+ }
246
+ }
247
+ return isConcurrentMode(object) || typeOf(object) === REACT_ASYNC_MODE_TYPE;
248
+ }
249
+ function isConcurrentMode(object) {
250
+ return typeOf(object) === REACT_CONCURRENT_MODE_TYPE;
251
+ }
252
+ function isContextConsumer(object) {
253
+ return typeOf(object) === REACT_CONTEXT_TYPE;
254
+ }
255
+ function isContextProvider(object) {
256
+ return typeOf(object) === REACT_PROVIDER_TYPE;
257
+ }
258
+ function isElement(object) {
259
+ return typeof object === "object" && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
260
+ }
261
+ function isForwardRef(object) {
262
+ return typeOf(object) === REACT_FORWARD_REF_TYPE;
263
+ }
264
+ function isFragment(object) {
265
+ return typeOf(object) === REACT_FRAGMENT_TYPE;
266
+ }
267
+ function isLazy(object) {
268
+ return typeOf(object) === REACT_LAZY_TYPE2;
269
+ }
270
+ function isMemo(object) {
271
+ return typeOf(object) === REACT_MEMO_TYPE;
272
+ }
273
+ function isPortal(object) {
274
+ return typeOf(object) === REACT_PORTAL_TYPE;
275
+ }
276
+ function isProfiler(object) {
277
+ return typeOf(object) === REACT_PROFILER_TYPE;
278
+ }
279
+ function isStrictMode(object) {
280
+ return typeOf(object) === REACT_STRICT_MODE_TYPE;
281
+ }
282
+ function isSuspense(object) {
283
+ return typeOf(object) === REACT_SUSPENSE_TYPE;
284
+ }
285
+ exports$1.AsyncMode = AsyncMode;
286
+ exports$1.ConcurrentMode = ConcurrentMode;
287
+ exports$1.ContextConsumer = ContextConsumer;
288
+ exports$1.ContextProvider = ContextProvider;
289
+ exports$1.Element = Element;
290
+ exports$1.ForwardRef = ForwardRef;
291
+ exports$1.Fragment = Fragment4;
292
+ exports$1.Lazy = Lazy;
293
+ exports$1.Memo = Memo;
294
+ exports$1.Portal = Portal;
295
+ exports$1.Profiler = Profiler;
296
+ exports$1.StrictMode = StrictMode;
297
+ exports$1.Suspense = Suspense;
298
+ exports$1.isAsyncMode = isAsyncMode;
299
+ exports$1.isConcurrentMode = isConcurrentMode;
300
+ exports$1.isContextConsumer = isContextConsumer;
301
+ exports$1.isContextProvider = isContextProvider;
302
+ exports$1.isElement = isElement;
303
+ exports$1.isForwardRef = isForwardRef;
304
+ exports$1.isFragment = isFragment;
305
+ exports$1.isLazy = isLazy;
306
+ exports$1.isMemo = isMemo;
307
+ exports$1.isPortal = isPortal;
308
+ exports$1.isProfiler = isProfiler;
309
+ exports$1.isStrictMode = isStrictMode;
310
+ exports$1.isSuspense = isSuspense;
311
+ exports$1.isValidElementType = isValidElementType;
312
+ exports$1.typeOf = typeOf;
313
+ })();
314
+ }
315
+ }
316
+ });
317
+
318
+ // ../../node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/index.js
319
+ var require_react_is = __commonJS({
320
+ "../../node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/index.js"(exports$1, module) {
321
+ if (process.env.NODE_ENV === "production") {
322
+ module.exports = require_react_is_production_min();
323
+ } else {
324
+ module.exports = require_react_is_development();
325
+ }
326
+ }
327
+ });
328
+
329
+ // ../../node_modules/.pnpm/object-assign@4.1.1/node_modules/object-assign/index.js
330
+ var require_object_assign = __commonJS({
331
+ "../../node_modules/.pnpm/object-assign@4.1.1/node_modules/object-assign/index.js"(exports$1, module) {
332
+ var getOwnPropertySymbols = Object.getOwnPropertySymbols;
333
+ var hasOwnProperty = Object.prototype.hasOwnProperty;
334
+ var propIsEnumerable = Object.prototype.propertyIsEnumerable;
335
+ function toObject(val) {
336
+ if (val === null || val === void 0) {
337
+ throw new TypeError("Object.assign cannot be called with null or undefined");
338
+ }
339
+ return Object(val);
340
+ }
341
+ function shouldUseNative() {
342
+ try {
343
+ if (!Object.assign) {
344
+ return false;
345
+ }
346
+ var test1 = new String("abc");
347
+ test1[5] = "de";
348
+ if (Object.getOwnPropertyNames(test1)[0] === "5") {
349
+ return false;
350
+ }
351
+ var test2 = {};
352
+ for (var i = 0; i < 10; i++) {
353
+ test2["_" + String.fromCharCode(i)] = i;
354
+ }
355
+ var order2 = Object.getOwnPropertyNames(test2).map(function(n) {
356
+ return test2[n];
357
+ });
358
+ if (order2.join("") !== "0123456789") {
359
+ return false;
360
+ }
361
+ var test3 = {};
362
+ "abcdefghijklmnopqrst".split("").forEach(function(letter) {
363
+ test3[letter] = letter;
364
+ });
365
+ if (Object.keys(Object.assign({}, test3)).join("") !== "abcdefghijklmnopqrst") {
366
+ return false;
367
+ }
368
+ return true;
369
+ } catch (err) {
370
+ return false;
371
+ }
372
+ }
373
+ module.exports = shouldUseNative() ? Object.assign : function(target, source) {
374
+ var from;
375
+ var to = toObject(target);
376
+ var symbols;
377
+ for (var s2 = 1; s2 < arguments.length; s2++) {
378
+ from = Object(arguments[s2]);
379
+ for (var key in from) {
380
+ if (hasOwnProperty.call(from, key)) {
381
+ to[key] = from[key];
382
+ }
383
+ }
384
+ if (getOwnPropertySymbols) {
385
+ symbols = getOwnPropertySymbols(from);
386
+ for (var i = 0; i < symbols.length; i++) {
387
+ if (propIsEnumerable.call(from, symbols[i])) {
388
+ to[symbols[i]] = from[symbols[i]];
389
+ }
390
+ }
391
+ }
392
+ }
393
+ return to;
394
+ };
395
+ }
396
+ });
397
+
398
+ // ../../node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/lib/ReactPropTypesSecret.js
399
+ var require_ReactPropTypesSecret = __commonJS({
400
+ "../../node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/lib/ReactPropTypesSecret.js"(exports$1, module) {
401
+ var ReactPropTypesSecret = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
402
+ module.exports = ReactPropTypesSecret;
403
+ }
404
+ });
405
+
406
+ // ../../node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/lib/has.js
407
+ var require_has = __commonJS({
408
+ "../../node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/lib/has.js"(exports$1, module) {
409
+ module.exports = Function.call.bind(Object.prototype.hasOwnProperty);
410
+ }
411
+ });
412
+
413
+ // ../../node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/checkPropTypes.js
414
+ var require_checkPropTypes = __commonJS({
415
+ "../../node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/checkPropTypes.js"(exports$1, module) {
416
+ var printWarning = function() {
417
+ };
418
+ if (process.env.NODE_ENV !== "production") {
419
+ ReactPropTypesSecret = require_ReactPropTypesSecret();
420
+ loggedTypeFailures = {};
421
+ has = require_has();
422
+ printWarning = function(text2) {
423
+ var message = "Warning: " + text2;
424
+ if (typeof console !== "undefined") {
425
+ console.error(message);
426
+ }
427
+ try {
428
+ throw new Error(message);
429
+ } catch (x2) {
430
+ }
431
+ };
432
+ }
433
+ var ReactPropTypesSecret;
434
+ var loggedTypeFailures;
435
+ var has;
436
+ function checkPropTypes(typeSpecs, values, location, componentName, getStack) {
437
+ if (process.env.NODE_ENV !== "production") {
438
+ for (var typeSpecName in typeSpecs) {
439
+ if (has(typeSpecs, typeSpecName)) {
440
+ var error;
441
+ try {
442
+ if (typeof typeSpecs[typeSpecName] !== "function") {
443
+ var err = Error(
444
+ (componentName || "React class") + ": " + location + " type `" + typeSpecName + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof typeSpecs[typeSpecName] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
445
+ );
446
+ err.name = "Invariant Violation";
447
+ throw err;
448
+ }
449
+ error = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, ReactPropTypesSecret);
450
+ } catch (ex) {
451
+ error = ex;
452
+ }
453
+ if (error && !(error instanceof Error)) {
454
+ printWarning(
455
+ (componentName || "React class") + ": type specification of " + location + " `" + typeSpecName + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof error + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
456
+ );
457
+ }
458
+ if (error instanceof Error && !(error.message in loggedTypeFailures)) {
459
+ loggedTypeFailures[error.message] = true;
460
+ var stack = getStack ? getStack() : "";
461
+ printWarning(
462
+ "Failed " + location + " type: " + error.message + (stack != null ? stack : "")
463
+ );
464
+ }
465
+ }
466
+ }
467
+ }
468
+ }
469
+ checkPropTypes.resetWarningCache = function() {
470
+ if (process.env.NODE_ENV !== "production") {
471
+ loggedTypeFailures = {};
472
+ }
473
+ };
474
+ module.exports = checkPropTypes;
475
+ }
476
+ });
477
+
478
+ // ../../node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/factoryWithTypeCheckers.js
479
+ var require_factoryWithTypeCheckers = __commonJS({
480
+ "../../node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/factoryWithTypeCheckers.js"(exports$1, module) {
481
+ var ReactIs = require_react_is();
482
+ var assign = require_object_assign();
483
+ var ReactPropTypesSecret = require_ReactPropTypesSecret();
484
+ var has = require_has();
485
+ var checkPropTypes = require_checkPropTypes();
486
+ var printWarning = function() {
487
+ };
488
+ if (process.env.NODE_ENV !== "production") {
489
+ printWarning = function(text2) {
490
+ var message = "Warning: " + text2;
491
+ if (typeof console !== "undefined") {
492
+ console.error(message);
493
+ }
494
+ try {
495
+ throw new Error(message);
496
+ } catch (x2) {
497
+ }
498
+ };
499
+ }
500
+ function emptyFunctionThatReturnsNull() {
501
+ return null;
502
+ }
503
+ module.exports = function(isValidElement3, throwOnDirectAccess) {
504
+ var ITERATOR_SYMBOL = typeof Symbol === "function" && Symbol.iterator;
505
+ var FAUX_ITERATOR_SYMBOL = "@@iterator";
506
+ function getIteratorFn(maybeIterable) {
507
+ var iteratorFn = maybeIterable && (ITERATOR_SYMBOL && maybeIterable[ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL]);
508
+ if (typeof iteratorFn === "function") {
509
+ return iteratorFn;
510
+ }
511
+ }
512
+ var ANONYMOUS = "<<anonymous>>";
513
+ var ReactPropTypes = {
514
+ array: createPrimitiveTypeChecker("array"),
515
+ bigint: createPrimitiveTypeChecker("bigint"),
516
+ bool: createPrimitiveTypeChecker("boolean"),
517
+ func: createPrimitiveTypeChecker("function"),
518
+ number: createPrimitiveTypeChecker("number"),
519
+ object: createPrimitiveTypeChecker("object"),
520
+ string: createPrimitiveTypeChecker("string"),
521
+ symbol: createPrimitiveTypeChecker("symbol"),
522
+ any: createAnyTypeChecker(),
523
+ arrayOf: createArrayOfTypeChecker,
524
+ element: createElementTypeChecker(),
525
+ elementType: createElementTypeTypeChecker(),
526
+ instanceOf: createInstanceTypeChecker,
527
+ node: createNodeChecker(),
528
+ objectOf: createObjectOfTypeChecker,
529
+ oneOf: createEnumTypeChecker,
530
+ oneOfType: createUnionTypeChecker,
531
+ shape: createShapeTypeChecker,
532
+ exact: createStrictShapeTypeChecker
533
+ };
534
+ function is(x2, y) {
535
+ if (x2 === y) {
536
+ return x2 !== 0 || 1 / x2 === 1 / y;
537
+ } else {
538
+ return x2 !== x2 && y !== y;
539
+ }
540
+ }
541
+ function PropTypeError(message, data) {
542
+ this.message = message;
543
+ this.data = data && typeof data === "object" ? data : {};
544
+ this.stack = "";
545
+ }
546
+ PropTypeError.prototype = Error.prototype;
547
+ function createChainableTypeChecker(validate) {
548
+ if (process.env.NODE_ENV !== "production") {
549
+ var manualPropTypeCallCache = {};
550
+ var manualPropTypeWarningCount = 0;
551
+ }
552
+ function checkType(isRequired, props, propName, componentName, location, propFullName, secret) {
553
+ componentName = componentName || ANONYMOUS;
554
+ propFullName = propFullName || propName;
555
+ if (secret !== ReactPropTypesSecret) {
556
+ if (throwOnDirectAccess) {
557
+ var err = new Error(
558
+ "Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
559
+ );
560
+ err.name = "Invariant Violation";
561
+ throw err;
562
+ } else if (process.env.NODE_ENV !== "production" && typeof console !== "undefined") {
563
+ var cacheKey = componentName + ":" + propName;
564
+ if (!manualPropTypeCallCache[cacheKey] && // Avoid spamming the console because they are often not actionable except for lib authors
565
+ manualPropTypeWarningCount < 3) {
566
+ printWarning(
567
+ "You are manually calling a React.PropTypes validation function for the `" + propFullName + "` prop on `" + componentName + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
568
+ );
569
+ manualPropTypeCallCache[cacheKey] = true;
570
+ manualPropTypeWarningCount++;
571
+ }
572
+ }
573
+ }
574
+ if (props[propName] == null) {
575
+ if (isRequired) {
576
+ if (props[propName] === null) {
577
+ return new PropTypeError("The " + location + " `" + propFullName + "` is marked as required " + ("in `" + componentName + "`, but its value is `null`."));
578
+ }
579
+ return new PropTypeError("The " + location + " `" + propFullName + "` is marked as required in " + ("`" + componentName + "`, but its value is `undefined`."));
580
+ }
581
+ return null;
582
+ } else {
583
+ return validate(props, propName, componentName, location, propFullName);
584
+ }
585
+ }
586
+ var chainedCheckType = checkType.bind(null, false);
587
+ chainedCheckType.isRequired = checkType.bind(null, true);
588
+ return chainedCheckType;
589
+ }
590
+ function createPrimitiveTypeChecker(expectedType) {
591
+ function validate(props, propName, componentName, location, propFullName, secret) {
592
+ var propValue = props[propName];
593
+ var propType = getPropType(propValue);
594
+ if (propType !== expectedType) {
595
+ var preciseType = getPreciseType(propValue);
596
+ return new PropTypeError(
597
+ "Invalid " + location + " `" + propFullName + "` of type " + ("`" + preciseType + "` supplied to `" + componentName + "`, expected ") + ("`" + expectedType + "`."),
598
+ { expectedType }
599
+ );
600
+ }
601
+ return null;
602
+ }
603
+ return createChainableTypeChecker(validate);
604
+ }
605
+ function createAnyTypeChecker() {
606
+ return createChainableTypeChecker(emptyFunctionThatReturnsNull);
607
+ }
608
+ function createArrayOfTypeChecker(typeChecker) {
609
+ function validate(props, propName, componentName, location, propFullName) {
610
+ if (typeof typeChecker !== "function") {
611
+ return new PropTypeError("Property `" + propFullName + "` of component `" + componentName + "` has invalid PropType notation inside arrayOf.");
612
+ }
613
+ var propValue = props[propName];
614
+ if (!Array.isArray(propValue)) {
615
+ var propType = getPropType(propValue);
616
+ return new PropTypeError("Invalid " + location + " `" + propFullName + "` of type " + ("`" + propType + "` supplied to `" + componentName + "`, expected an array."));
617
+ }
618
+ for (var i = 0; i < propValue.length; i++) {
619
+ var error = typeChecker(propValue, i, componentName, location, propFullName + "[" + i + "]", ReactPropTypesSecret);
620
+ if (error instanceof Error) {
621
+ return error;
622
+ }
623
+ }
624
+ return null;
625
+ }
626
+ return createChainableTypeChecker(validate);
627
+ }
628
+ function createElementTypeChecker() {
629
+ function validate(props, propName, componentName, location, propFullName) {
630
+ var propValue = props[propName];
631
+ if (!isValidElement3(propValue)) {
632
+ var propType = getPropType(propValue);
633
+ return new PropTypeError("Invalid " + location + " `" + propFullName + "` of type " + ("`" + propType + "` supplied to `" + componentName + "`, expected a single ReactElement."));
634
+ }
635
+ return null;
636
+ }
637
+ return createChainableTypeChecker(validate);
638
+ }
639
+ function createElementTypeTypeChecker() {
640
+ function validate(props, propName, componentName, location, propFullName) {
641
+ var propValue = props[propName];
642
+ if (!ReactIs.isValidElementType(propValue)) {
643
+ var propType = getPropType(propValue);
644
+ return new PropTypeError("Invalid " + location + " `" + propFullName + "` of type " + ("`" + propType + "` supplied to `" + componentName + "`, expected a single ReactElement type."));
645
+ }
646
+ return null;
647
+ }
648
+ return createChainableTypeChecker(validate);
649
+ }
650
+ function createInstanceTypeChecker(expectedClass) {
651
+ function validate(props, propName, componentName, location, propFullName) {
652
+ if (!(props[propName] instanceof expectedClass)) {
653
+ var expectedClassName = expectedClass.name || ANONYMOUS;
654
+ var actualClassName = getClassName(props[propName]);
655
+ return new PropTypeError("Invalid " + location + " `" + propFullName + "` of type " + ("`" + actualClassName + "` supplied to `" + componentName + "`, expected ") + ("instance of `" + expectedClassName + "`."));
656
+ }
657
+ return null;
658
+ }
659
+ return createChainableTypeChecker(validate);
660
+ }
661
+ function createEnumTypeChecker(expectedValues) {
662
+ if (!Array.isArray(expectedValues)) {
663
+ if (process.env.NODE_ENV !== "production") {
664
+ if (arguments.length > 1) {
665
+ printWarning(
666
+ "Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
667
+ );
668
+ } else {
669
+ printWarning("Invalid argument supplied to oneOf, expected an array.");
670
+ }
671
+ }
672
+ return emptyFunctionThatReturnsNull;
673
+ }
674
+ function validate(props, propName, componentName, location, propFullName) {
675
+ var propValue = props[propName];
676
+ for (var i = 0; i < expectedValues.length; i++) {
677
+ if (is(propValue, expectedValues[i])) {
678
+ return null;
679
+ }
680
+ }
681
+ var valuesString = JSON.stringify(expectedValues, function replacer(key, value) {
682
+ var type = getPreciseType(value);
683
+ if (type === "symbol") {
684
+ return String(value);
685
+ }
686
+ return value;
687
+ });
688
+ return new PropTypeError("Invalid " + location + " `" + propFullName + "` of value `" + String(propValue) + "` " + ("supplied to `" + componentName + "`, expected one of " + valuesString + "."));
689
+ }
690
+ return createChainableTypeChecker(validate);
691
+ }
692
+ function createObjectOfTypeChecker(typeChecker) {
693
+ function validate(props, propName, componentName, location, propFullName) {
694
+ if (typeof typeChecker !== "function") {
695
+ return new PropTypeError("Property `" + propFullName + "` of component `" + componentName + "` has invalid PropType notation inside objectOf.");
696
+ }
697
+ var propValue = props[propName];
698
+ var propType = getPropType(propValue);
699
+ if (propType !== "object") {
700
+ return new PropTypeError("Invalid " + location + " `" + propFullName + "` of type " + ("`" + propType + "` supplied to `" + componentName + "`, expected an object."));
701
+ }
702
+ for (var key in propValue) {
703
+ if (has(propValue, key)) {
704
+ var error = typeChecker(propValue, key, componentName, location, propFullName + "." + key, ReactPropTypesSecret);
705
+ if (error instanceof Error) {
706
+ return error;
707
+ }
708
+ }
709
+ }
710
+ return null;
711
+ }
712
+ return createChainableTypeChecker(validate);
713
+ }
714
+ function createUnionTypeChecker(arrayOfTypeCheckers) {
715
+ if (!Array.isArray(arrayOfTypeCheckers)) {
716
+ process.env.NODE_ENV !== "production" ? printWarning("Invalid argument supplied to oneOfType, expected an instance of array.") : void 0;
717
+ return emptyFunctionThatReturnsNull;
718
+ }
719
+ for (var i = 0; i < arrayOfTypeCheckers.length; i++) {
720
+ var checker = arrayOfTypeCheckers[i];
721
+ if (typeof checker !== "function") {
722
+ printWarning(
723
+ "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + getPostfixForTypeWarning(checker) + " at index " + i + "."
724
+ );
725
+ return emptyFunctionThatReturnsNull;
726
+ }
727
+ }
728
+ function validate(props, propName, componentName, location, propFullName) {
729
+ var expectedTypes = [];
730
+ for (var i2 = 0; i2 < arrayOfTypeCheckers.length; i2++) {
731
+ var checker2 = arrayOfTypeCheckers[i2];
732
+ var checkerResult = checker2(props, propName, componentName, location, propFullName, ReactPropTypesSecret);
733
+ if (checkerResult == null) {
734
+ return null;
735
+ }
736
+ if (checkerResult.data && has(checkerResult.data, "expectedType")) {
737
+ expectedTypes.push(checkerResult.data.expectedType);
738
+ }
739
+ }
740
+ var expectedTypesMessage = expectedTypes.length > 0 ? ", expected one of type [" + expectedTypes.join(", ") + "]" : "";
741
+ return new PropTypeError("Invalid " + location + " `" + propFullName + "` supplied to " + ("`" + componentName + "`" + expectedTypesMessage + "."));
742
+ }
743
+ return createChainableTypeChecker(validate);
744
+ }
745
+ function createNodeChecker() {
746
+ function validate(props, propName, componentName, location, propFullName) {
747
+ if (!isNode(props[propName])) {
748
+ return new PropTypeError("Invalid " + location + " `" + propFullName + "` supplied to " + ("`" + componentName + "`, expected a ReactNode."));
749
+ }
750
+ return null;
751
+ }
752
+ return createChainableTypeChecker(validate);
753
+ }
754
+ function invalidValidatorError(componentName, location, propFullName, key, type) {
755
+ return new PropTypeError(
756
+ (componentName || "React class") + ": " + location + " type `" + propFullName + "." + key + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + type + "`."
757
+ );
758
+ }
759
+ function createShapeTypeChecker(shapeTypes) {
760
+ function validate(props, propName, componentName, location, propFullName) {
761
+ var propValue = props[propName];
762
+ var propType = getPropType(propValue);
763
+ if (propType !== "object") {
764
+ return new PropTypeError("Invalid " + location + " `" + propFullName + "` of type `" + propType + "` " + ("supplied to `" + componentName + "`, expected `object`."));
765
+ }
766
+ for (var key in shapeTypes) {
767
+ var checker = shapeTypes[key];
768
+ if (typeof checker !== "function") {
769
+ return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));
770
+ }
771
+ var error = checker(propValue, key, componentName, location, propFullName + "." + key, ReactPropTypesSecret);
772
+ if (error) {
773
+ return error;
774
+ }
775
+ }
776
+ return null;
777
+ }
778
+ return createChainableTypeChecker(validate);
779
+ }
780
+ function createStrictShapeTypeChecker(shapeTypes) {
781
+ function validate(props, propName, componentName, location, propFullName) {
782
+ var propValue = props[propName];
783
+ var propType = getPropType(propValue);
784
+ if (propType !== "object") {
785
+ return new PropTypeError("Invalid " + location + " `" + propFullName + "` of type `" + propType + "` " + ("supplied to `" + componentName + "`, expected `object`."));
786
+ }
787
+ var allKeys = assign({}, props[propName], shapeTypes);
788
+ for (var key in allKeys) {
789
+ var checker = shapeTypes[key];
790
+ if (has(shapeTypes, key) && typeof checker !== "function") {
791
+ return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));
792
+ }
793
+ if (!checker) {
794
+ return new PropTypeError(
795
+ "Invalid " + location + " `" + propFullName + "` key `" + key + "` supplied to `" + componentName + "`.\nBad object: " + JSON.stringify(props[propName], null, " ") + "\nValid keys: " + JSON.stringify(Object.keys(shapeTypes), null, " ")
796
+ );
797
+ }
798
+ var error = checker(propValue, key, componentName, location, propFullName + "." + key, ReactPropTypesSecret);
799
+ if (error) {
800
+ return error;
801
+ }
802
+ }
803
+ return null;
804
+ }
805
+ return createChainableTypeChecker(validate);
806
+ }
807
+ function isNode(propValue) {
808
+ switch (typeof propValue) {
809
+ case "number":
810
+ case "string":
811
+ case "undefined":
812
+ return true;
813
+ case "boolean":
814
+ return !propValue;
815
+ case "object":
816
+ if (Array.isArray(propValue)) {
817
+ return propValue.every(isNode);
818
+ }
819
+ if (propValue === null || isValidElement3(propValue)) {
820
+ return true;
821
+ }
822
+ var iteratorFn = getIteratorFn(propValue);
823
+ if (iteratorFn) {
824
+ var iterator = iteratorFn.call(propValue);
825
+ var step;
826
+ if (iteratorFn !== propValue.entries) {
827
+ while (!(step = iterator.next()).done) {
828
+ if (!isNode(step.value)) {
829
+ return false;
830
+ }
831
+ }
832
+ } else {
833
+ while (!(step = iterator.next()).done) {
834
+ var entry = step.value;
835
+ if (entry) {
836
+ if (!isNode(entry[1])) {
837
+ return false;
838
+ }
839
+ }
840
+ }
841
+ }
842
+ } else {
843
+ return false;
844
+ }
845
+ return true;
846
+ default:
847
+ return false;
848
+ }
849
+ }
850
+ function isSymbol(propType, propValue) {
851
+ if (propType === "symbol") {
852
+ return true;
853
+ }
854
+ if (!propValue) {
855
+ return false;
856
+ }
857
+ if (propValue["@@toStringTag"] === "Symbol") {
858
+ return true;
859
+ }
860
+ if (typeof Symbol === "function" && propValue instanceof Symbol) {
861
+ return true;
862
+ }
863
+ return false;
864
+ }
865
+ function getPropType(propValue) {
866
+ var propType = typeof propValue;
867
+ if (Array.isArray(propValue)) {
868
+ return "array";
869
+ }
870
+ if (propValue instanceof RegExp) {
871
+ return "object";
872
+ }
873
+ if (isSymbol(propType, propValue)) {
874
+ return "symbol";
875
+ }
876
+ return propType;
877
+ }
878
+ function getPreciseType(propValue) {
879
+ if (typeof propValue === "undefined" || propValue === null) {
880
+ return "" + propValue;
881
+ }
882
+ var propType = getPropType(propValue);
883
+ if (propType === "object") {
884
+ if (propValue instanceof Date) {
885
+ return "date";
886
+ } else if (propValue instanceof RegExp) {
887
+ return "regexp";
888
+ }
889
+ }
890
+ return propType;
891
+ }
892
+ function getPostfixForTypeWarning(value) {
893
+ var type = getPreciseType(value);
894
+ switch (type) {
895
+ case "array":
896
+ case "object":
897
+ return "an " + type;
898
+ case "boolean":
899
+ case "date":
900
+ case "regexp":
901
+ return "a " + type;
902
+ default:
903
+ return type;
904
+ }
905
+ }
906
+ function getClassName(propValue) {
907
+ if (!propValue.constructor || !propValue.constructor.name) {
908
+ return ANONYMOUS;
909
+ }
910
+ return propValue.constructor.name;
911
+ }
912
+ ReactPropTypes.checkPropTypes = checkPropTypes;
913
+ ReactPropTypes.resetWarningCache = checkPropTypes.resetWarningCache;
914
+ ReactPropTypes.PropTypes = ReactPropTypes;
915
+ return ReactPropTypes;
916
+ };
917
+ }
918
+ });
919
+
920
+ // ../../node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/factoryWithThrowingShims.js
921
+ var require_factoryWithThrowingShims = __commonJS({
922
+ "../../node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/factoryWithThrowingShims.js"(exports$1, module) {
923
+ var ReactPropTypesSecret = require_ReactPropTypesSecret();
924
+ function emptyFunction() {
925
+ }
926
+ function emptyFunctionWithReset() {
927
+ }
928
+ emptyFunctionWithReset.resetWarningCache = emptyFunction;
929
+ module.exports = function() {
930
+ function shim(props, propName, componentName, location, propFullName, secret) {
931
+ if (secret === ReactPropTypesSecret) {
932
+ return;
933
+ }
934
+ var err = new Error(
935
+ "Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types"
936
+ );
937
+ err.name = "Invariant Violation";
938
+ throw err;
939
+ }
940
+ shim.isRequired = shim;
941
+ function getShim() {
942
+ return shim;
943
+ }
944
+ var ReactPropTypes = {
945
+ array: shim,
946
+ bigint: shim,
947
+ bool: shim,
948
+ func: shim,
949
+ number: shim,
950
+ object: shim,
951
+ string: shim,
952
+ symbol: shim,
953
+ any: shim,
954
+ arrayOf: getShim,
955
+ element: shim,
956
+ elementType: shim,
957
+ instanceOf: getShim,
958
+ node: shim,
959
+ objectOf: getShim,
960
+ oneOf: getShim,
961
+ oneOfType: getShim,
962
+ shape: getShim,
963
+ exact: getShim,
964
+ checkPropTypes: emptyFunctionWithReset,
965
+ resetWarningCache: emptyFunction
966
+ };
967
+ ReactPropTypes.PropTypes = ReactPropTypes;
968
+ return ReactPropTypes;
969
+ };
970
+ }
971
+ });
972
+
973
+ // ../../node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js
974
+ var require_prop_types = __commonJS({
975
+ "../../node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js"(exports$1, module) {
976
+ if (process.env.NODE_ENV !== "production") {
977
+ ReactIs = require_react_is();
978
+ throwOnDirectAccess = true;
979
+ module.exports = require_factoryWithTypeCheckers()(ReactIs.isElement, throwOnDirectAccess);
980
+ } else {
981
+ module.exports = require_factoryWithThrowingShims()();
982
+ }
983
+ var ReactIs;
984
+ var throwOnDirectAccess;
985
+ }
986
+ });
35
987
 
36
988
  // ../../node_modules/.pnpm/@fortawesome+fontawesome-svg-core@6.7.2/node_modules/@fortawesome/fontawesome-svg-core/package.json
37
989
  var require_package = __commonJS({
@@ -112,6 +1064,7 @@ var require_package = __commonJS({
112
1064
  };
113
1065
  }
114
1066
  });
1067
+ var DevContext = React4.createContext(null);
115
1068
 
116
1069
  // src/components/slots/SlotElements.tsx
117
1070
  var SlotElements = (props) => {
@@ -150,10 +1103,10 @@ function composeRefs(...refs) {
150
1103
  };
151
1104
  }
152
1105
  function useComposedRefs(...refs) {
153
- return React3__namespace.useCallback(composeRefs(...refs), refs);
1106
+ return React4__namespace.useCallback(composeRefs(...refs), refs);
154
1107
  }
155
1108
  var REACT_LAZY_TYPE = Symbol.for("react.lazy");
156
- var use = React3__namespace[" use ".trim().toString()];
1109
+ var use = React4__namespace[" use ".trim().toString()];
157
1110
  function isPromiseLike(value) {
158
1111
  return typeof value === "object" && value !== null && "then" in value;
159
1112
  }
@@ -163,24 +1116,24 @@ function isLazyComponent(element) {
163
1116
  // @__NO_SIDE_EFFECTS__
164
1117
  function createSlot(ownerName) {
165
1118
  const SlotClone = /* @__PURE__ */ createSlotClone(ownerName);
166
- const Slot2 = React3__namespace.forwardRef((props, forwardedRef) => {
1119
+ const Slot2 = React4__namespace.forwardRef((props, forwardedRef) => {
167
1120
  let { children, ...slotProps } = props;
168
1121
  if (isLazyComponent(children) && typeof use === "function") {
169
1122
  children = use(children._payload);
170
1123
  }
171
- const childrenArray = React3__namespace.Children.toArray(children);
1124
+ const childrenArray = React4__namespace.Children.toArray(children);
172
1125
  const slottable = childrenArray.find(isSlottable);
173
1126
  if (slottable) {
174
1127
  const newElement = slottable.props.children;
175
1128
  const newChildren = childrenArray.map((child) => {
176
1129
  if (child === slottable) {
177
- if (React3__namespace.Children.count(newElement) > 1) return React3__namespace.Children.only(null);
178
- return React3__namespace.isValidElement(newElement) ? newElement.props.children : null;
1130
+ if (React4__namespace.Children.count(newElement) > 1) return React4__namespace.Children.only(null);
1131
+ return React4__namespace.isValidElement(newElement) ? newElement.props.children : null;
179
1132
  } else {
180
1133
  return child;
181
1134
  }
182
1135
  });
183
- return /* @__PURE__ */ jsxRuntime.jsx(SlotClone, { ...slotProps, ref: forwardedRef, children: React3__namespace.isValidElement(newElement) ? React3__namespace.cloneElement(newElement, void 0, newChildren) : null });
1136
+ return /* @__PURE__ */ jsxRuntime.jsx(SlotClone, { ...slotProps, ref: forwardedRef, children: React4__namespace.isValidElement(newElement) ? React4__namespace.cloneElement(newElement, void 0, newChildren) : null });
184
1137
  }
185
1138
  return /* @__PURE__ */ jsxRuntime.jsx(SlotClone, { ...slotProps, ref: forwardedRef, children });
186
1139
  });
@@ -190,27 +1143,27 @@ function createSlot(ownerName) {
190
1143
  var Slot = /* @__PURE__ */ createSlot("Slot");
191
1144
  // @__NO_SIDE_EFFECTS__
192
1145
  function createSlotClone(ownerName) {
193
- const SlotClone = React3__namespace.forwardRef((props, forwardedRef) => {
1146
+ const SlotClone = React4__namespace.forwardRef((props, forwardedRef) => {
194
1147
  let { children, ...slotProps } = props;
195
1148
  if (isLazyComponent(children) && typeof use === "function") {
196
1149
  children = use(children._payload);
197
1150
  }
198
- if (React3__namespace.isValidElement(children)) {
1151
+ if (React4__namespace.isValidElement(children)) {
199
1152
  const childrenRef = getElementRef(children);
200
1153
  const props2 = mergeProps(slotProps, children.props);
201
- if (children.type !== React3__namespace.Fragment) {
1154
+ if (children.type !== React4__namespace.Fragment) {
202
1155
  props2.ref = forwardedRef ? composeRefs(forwardedRef, childrenRef) : childrenRef;
203
1156
  }
204
- return React3__namespace.cloneElement(children, props2);
1157
+ return React4__namespace.cloneElement(children, props2);
205
1158
  }
206
- return React3__namespace.Children.count(children) > 1 ? React3__namespace.Children.only(null) : null;
1159
+ return React4__namespace.Children.count(children) > 1 ? React4__namespace.Children.only(null) : null;
207
1160
  });
208
1161
  SlotClone.displayName = `${ownerName}.SlotClone`;
209
1162
  return SlotClone;
210
1163
  }
211
1164
  var SLOTTABLE_IDENTIFIER = Symbol("radix.slottable");
212
1165
  function isSlottable(child) {
213
- return React3__namespace.isValidElement(child) && typeof child.type === "function" && "__radixId" in child.type && child.type.__radixId === SLOTTABLE_IDENTIFIER;
1166
+ return React4__namespace.isValidElement(child) && typeof child.type === "function" && "__radixId" in child.type && child.type.__radixId === SLOTTABLE_IDENTIFIER;
214
1167
  }
215
1168
  function mergeProps(slotProps, childProps) {
216
1169
  const overrideProps = { ...childProps };
@@ -3357,7 +4310,7 @@ function Button({
3357
4310
  ...props
3358
4311
  }) {
3359
4312
  const Comp = asChild ? Slot : "button";
3360
- return /* @__PURE__ */ React3__namespace.createElement(
4313
+ return /* @__PURE__ */ React4__namespace.createElement(
3361
4314
  Comp,
3362
4315
  {
3363
4316
  "data-slot": "button",
@@ -3383,32 +4336,32 @@ function composeEventHandlers(originalEventHandler, ourEventHandler, { checkForD
3383
4336
  function createContextScope(scopeName, createContextScopeDeps = []) {
3384
4337
  let defaultContexts = [];
3385
4338
  function createContext3(rootComponentName, defaultContext) {
3386
- const BaseContext = React3__namespace.createContext(defaultContext);
4339
+ const BaseContext = React4__namespace.createContext(defaultContext);
3387
4340
  const index = defaultContexts.length;
3388
4341
  defaultContexts = [...defaultContexts, defaultContext];
3389
4342
  const Provider = (props) => {
3390
4343
  const { scope, children, ...context } = props;
3391
4344
  const Context = scope?.[scopeName]?.[index] || BaseContext;
3392
- const value = React3__namespace.useMemo(() => context, Object.values(context));
4345
+ const value = React4__namespace.useMemo(() => context, Object.values(context));
3393
4346
  return /* @__PURE__ */ jsxRuntime.jsx(Context.Provider, { value, children });
3394
4347
  };
3395
4348
  Provider.displayName = rootComponentName + "Provider";
3396
- function useContext2(consumerName, scope) {
4349
+ function useContext22(consumerName, scope) {
3397
4350
  const Context = scope?.[scopeName]?.[index] || BaseContext;
3398
- const context = React3__namespace.useContext(Context);
4351
+ const context = React4__namespace.useContext(Context);
3399
4352
  if (context) return context;
3400
4353
  if (defaultContext !== void 0) return defaultContext;
3401
4354
  throw new Error(`\`${consumerName}\` must be used within \`${rootComponentName}\``);
3402
4355
  }
3403
- return [Provider, useContext2];
4356
+ return [Provider, useContext22];
3404
4357
  }
3405
4358
  const createScope = () => {
3406
4359
  const scopeContexts = defaultContexts.map((defaultContext) => {
3407
- return React3__namespace.createContext(defaultContext);
4360
+ return React4__namespace.createContext(defaultContext);
3408
4361
  });
3409
4362
  return function useScope(scope) {
3410
4363
  const contexts = scope?.[scopeName] || scopeContexts;
3411
- return React3__namespace.useMemo(
4364
+ return React4__namespace.useMemo(
3412
4365
  () => ({ [`__scope${scopeName}`]: { ...scope, [scopeName]: contexts } }),
3413
4366
  [scope, contexts]
3414
4367
  );
@@ -3431,15 +4384,15 @@ function composeContextScopes(...scopes) {
3431
4384
  const currentScope = scopeProps[`__scope${scopeName}`];
3432
4385
  return { ...nextScopes2, ...currentScope };
3433
4386
  }, {});
3434
- return React3__namespace.useMemo(() => ({ [`__scope${baseScope.scopeName}`]: nextScopes }), [nextScopes]);
4387
+ return React4__namespace.useMemo(() => ({ [`__scope${baseScope.scopeName}`]: nextScopes }), [nextScopes]);
3435
4388
  };
3436
4389
  };
3437
4390
  createScope.scopeName = baseScope.scopeName;
3438
4391
  return createScope;
3439
4392
  }
3440
- var useLayoutEffect2 = globalThis?.document ? React3__namespace.useLayoutEffect : () => {
4393
+ var useLayoutEffect2 = globalThis?.document ? React4__namespace.useLayoutEffect : () => {
3441
4394
  };
3442
- var useInsertionEffect = React3__namespace[" useInsertionEffect ".trim().toString()] || useLayoutEffect2;
4395
+ var useInsertionEffect = React4__namespace[" useInsertionEffect ".trim().toString()] || useLayoutEffect2;
3443
4396
  function useControllableState({
3444
4397
  prop,
3445
4398
  defaultProp,
@@ -3454,8 +4407,8 @@ function useControllableState({
3454
4407
  const isControlled = prop !== void 0;
3455
4408
  const value = isControlled ? prop : uncontrolledProp;
3456
4409
  {
3457
- const isControlledRef = React3__namespace.useRef(prop !== void 0);
3458
- React3__namespace.useEffect(() => {
4410
+ const isControlledRef = React4__namespace.useRef(prop !== void 0);
4411
+ React4__namespace.useEffect(() => {
3459
4412
  const wasControlled = isControlledRef.current;
3460
4413
  if (wasControlled !== isControlled) {
3461
4414
  const from = wasControlled ? "controlled" : "uncontrolled";
@@ -3467,7 +4420,7 @@ function useControllableState({
3467
4420
  isControlledRef.current = isControlled;
3468
4421
  }, [isControlled, caller]);
3469
4422
  }
3470
- const setValue = React3__namespace.useCallback(
4423
+ const setValue = React4__namespace.useCallback(
3471
4424
  (nextValue) => {
3472
4425
  if (isControlled) {
3473
4426
  const value2 = isFunction(nextValue) ? nextValue(prop) : nextValue;
@@ -3486,13 +4439,13 @@ function useUncontrolledState({
3486
4439
  defaultProp,
3487
4440
  onChange: onChange2
3488
4441
  }) {
3489
- const [value, setValue] = React3__namespace.useState(defaultProp);
3490
- const prevValueRef = React3__namespace.useRef(value);
3491
- const onChangeRef = React3__namespace.useRef(onChange2);
4442
+ const [value, setValue] = React4__namespace.useState(defaultProp);
4443
+ const prevValueRef = React4__namespace.useRef(value);
4444
+ const onChangeRef = React4__namespace.useRef(onChange2);
3492
4445
  useInsertionEffect(() => {
3493
4446
  onChangeRef.current = onChange2;
3494
4447
  }, [onChange2]);
3495
- React3__namespace.useEffect(() => {
4448
+ React4__namespace.useEffect(() => {
3496
4449
  if (prevValueRef.current !== value) {
3497
4450
  onChangeRef.current?.(value);
3498
4451
  prevValueRef.current = value;
@@ -3504,8 +4457,8 @@ function isFunction(value) {
3504
4457
  return typeof value === "function";
3505
4458
  }
3506
4459
  function usePrevious(value) {
3507
- const ref = React3__namespace.useRef({ value, previous: value });
3508
- return React3__namespace.useMemo(() => {
4460
+ const ref = React4__namespace.useRef({ value, previous: value });
4461
+ return React4__namespace.useMemo(() => {
3509
4462
  if (ref.current.value !== value) {
3510
4463
  ref.current.previous = ref.current.value;
3511
4464
  ref.current.value = value;
@@ -3514,7 +4467,7 @@ function usePrevious(value) {
3514
4467
  }, [value]);
3515
4468
  }
3516
4469
  function useSize(element) {
3517
- const [size, setSize] = React3__namespace.useState(void 0);
4470
+ const [size, setSize] = React4__namespace.useState(void 0);
3518
4471
  useLayoutEffect2(() => {
3519
4472
  if (element) {
3520
4473
  setSize({ width: element.offsetWidth, height: element.offsetHeight });
@@ -3550,21 +4503,21 @@ function useSize(element) {
3550
4503
  // @__NO_SIDE_EFFECTS__
3551
4504
  function createSlot2(ownerName) {
3552
4505
  const SlotClone = /* @__PURE__ */ createSlotClone2(ownerName);
3553
- const Slot2 = React3__namespace.forwardRef((props, forwardedRef) => {
4506
+ const Slot2 = React4__namespace.forwardRef((props, forwardedRef) => {
3554
4507
  const { children, ...slotProps } = props;
3555
- const childrenArray = React3__namespace.Children.toArray(children);
4508
+ const childrenArray = React4__namespace.Children.toArray(children);
3556
4509
  const slottable = childrenArray.find(isSlottable2);
3557
4510
  if (slottable) {
3558
4511
  const newElement = slottable.props.children;
3559
4512
  const newChildren = childrenArray.map((child) => {
3560
4513
  if (child === slottable) {
3561
- if (React3__namespace.Children.count(newElement) > 1) return React3__namespace.Children.only(null);
3562
- return React3__namespace.isValidElement(newElement) ? newElement.props.children : null;
4514
+ if (React4__namespace.Children.count(newElement) > 1) return React4__namespace.Children.only(null);
4515
+ return React4__namespace.isValidElement(newElement) ? newElement.props.children : null;
3563
4516
  } else {
3564
4517
  return child;
3565
4518
  }
3566
4519
  });
3567
- return /* @__PURE__ */ jsxRuntime.jsx(SlotClone, { ...slotProps, ref: forwardedRef, children: React3__namespace.isValidElement(newElement) ? React3__namespace.cloneElement(newElement, void 0, newChildren) : null });
4520
+ return /* @__PURE__ */ jsxRuntime.jsx(SlotClone, { ...slotProps, ref: forwardedRef, children: React4__namespace.isValidElement(newElement) ? React4__namespace.cloneElement(newElement, void 0, newChildren) : null });
3568
4521
  }
3569
4522
  return /* @__PURE__ */ jsxRuntime.jsx(SlotClone, { ...slotProps, ref: forwardedRef, children });
3570
4523
  });
@@ -3573,24 +4526,24 @@ function createSlot2(ownerName) {
3573
4526
  }
3574
4527
  // @__NO_SIDE_EFFECTS__
3575
4528
  function createSlotClone2(ownerName) {
3576
- const SlotClone = React3__namespace.forwardRef((props, forwardedRef) => {
4529
+ const SlotClone = React4__namespace.forwardRef((props, forwardedRef) => {
3577
4530
  const { children, ...slotProps } = props;
3578
- if (React3__namespace.isValidElement(children)) {
4531
+ if (React4__namespace.isValidElement(children)) {
3579
4532
  const childrenRef = getElementRef2(children);
3580
4533
  const props2 = mergeProps2(slotProps, children.props);
3581
- if (children.type !== React3__namespace.Fragment) {
4534
+ if (children.type !== React4__namespace.Fragment) {
3582
4535
  props2.ref = forwardedRef ? composeRefs(forwardedRef, childrenRef) : childrenRef;
3583
4536
  }
3584
- return React3__namespace.cloneElement(children, props2);
4537
+ return React4__namespace.cloneElement(children, props2);
3585
4538
  }
3586
- return React3__namespace.Children.count(children) > 1 ? React3__namespace.Children.only(null) : null;
4539
+ return React4__namespace.Children.count(children) > 1 ? React4__namespace.Children.only(null) : null;
3587
4540
  });
3588
4541
  SlotClone.displayName = `${ownerName}.SlotClone`;
3589
4542
  return SlotClone;
3590
4543
  }
3591
4544
  var SLOTTABLE_IDENTIFIER2 = Symbol("radix.slottable");
3592
4545
  function isSlottable2(child) {
3593
- return React3__namespace.isValidElement(child) && typeof child.type === "function" && "__radixId" in child.type && child.type.__radixId === SLOTTABLE_IDENTIFIER2;
4546
+ return React4__namespace.isValidElement(child) && typeof child.type === "function" && "__radixId" in child.type && child.type.__radixId === SLOTTABLE_IDENTIFIER2;
3594
4547
  }
3595
4548
  function mergeProps2(slotProps, childProps) {
3596
4549
  const overrideProps = { ...childProps };
@@ -3650,7 +4603,7 @@ var NODES = [
3650
4603
  ];
3651
4604
  var Primitive = NODES.reduce((primitive, node) => {
3652
4605
  const Slot2 = createSlot2(`Primitive.${node}`);
3653
- const Node2 = React3__namespace.forwardRef((props, forwardedRef) => {
4606
+ const Node2 = React4__namespace.forwardRef((props, forwardedRef) => {
3654
4607
  const { asChild, ...primitiveProps } = props;
3655
4608
  const Comp = asChild ? Slot2 : node;
3656
4609
  if (typeof window !== "undefined") {
@@ -3664,7 +4617,7 @@ var Primitive = NODES.reduce((primitive, node) => {
3664
4617
  var SWITCH_NAME = "Switch";
3665
4618
  var [createSwitchContext] = createContextScope(SWITCH_NAME);
3666
4619
  var [SwitchProvider, useSwitchContext] = createSwitchContext(SWITCH_NAME);
3667
- var Switch = React3__namespace.forwardRef(
4620
+ var Switch = React4__namespace.forwardRef(
3668
4621
  (props, forwardedRef) => {
3669
4622
  const {
3670
4623
  __scopeSwitch,
@@ -3678,9 +4631,9 @@ var Switch = React3__namespace.forwardRef(
3678
4631
  form,
3679
4632
  ...switchProps
3680
4633
  } = props;
3681
- const [button, setButton] = React3__namespace.useState(null);
4634
+ const [button, setButton] = React4__namespace.useState(null);
3682
4635
  const composedRefs = useComposedRefs(forwardedRef, (node) => setButton(node));
3683
- const hasConsumerStoppedPropagationRef = React3__namespace.useRef(false);
4636
+ const hasConsumerStoppedPropagationRef = React4__namespace.useRef(false);
3684
4637
  const isFormControl = button ? form || !!button.closest("form") : true;
3685
4638
  const [checked, setChecked] = useControllableState({
3686
4639
  prop: checkedProp,
@@ -3730,7 +4683,7 @@ var Switch = React3__namespace.forwardRef(
3730
4683
  );
3731
4684
  Switch.displayName = SWITCH_NAME;
3732
4685
  var THUMB_NAME = "SwitchThumb";
3733
- var SwitchThumb = React3__namespace.forwardRef(
4686
+ var SwitchThumb = React4__namespace.forwardRef(
3734
4687
  (props, forwardedRef) => {
3735
4688
  const { __scopeSwitch, ...thumbProps } = props;
3736
4689
  const context = useSwitchContext(THUMB_NAME, __scopeSwitch);
@@ -3747,7 +4700,7 @@ var SwitchThumb = React3__namespace.forwardRef(
3747
4700
  );
3748
4701
  SwitchThumb.displayName = THUMB_NAME;
3749
4702
  var BUBBLE_INPUT_NAME = "SwitchBubbleInput";
3750
- var SwitchBubbleInput = React3__namespace.forwardRef(
4703
+ var SwitchBubbleInput = React4__namespace.forwardRef(
3751
4704
  ({
3752
4705
  __scopeSwitch,
3753
4706
  control,
@@ -3755,11 +4708,11 @@ var SwitchBubbleInput = React3__namespace.forwardRef(
3755
4708
  bubbles = true,
3756
4709
  ...props
3757
4710
  }, forwardedRef) => {
3758
- const ref = React3__namespace.useRef(null);
4711
+ const ref = React4__namespace.useRef(null);
3759
4712
  const composedRefs = useComposedRefs(ref, forwardedRef);
3760
4713
  const prevChecked = usePrevious(checked);
3761
4714
  const controlSize = useSize(control);
3762
- React3__namespace.useEffect(() => {
4715
+ React4__namespace.useEffect(() => {
3763
4716
  const input = ref.current;
3764
4717
  if (!input) return;
3765
4718
  const inputProto = window.HTMLInputElement.prototype;
@@ -3840,14 +4793,14 @@ var switchThumbVariants = cva(
3840
4793
  }
3841
4794
  );
3842
4795
  function Switch2({ className, size, ...props }) {
3843
- return /* @__PURE__ */ React3__namespace.createElement(
4796
+ return /* @__PURE__ */ React4__namespace.createElement(
3844
4797
  Root,
3845
4798
  {
3846
4799
  "data-slot": "switch",
3847
4800
  className: cn(switchRootVariants({ size }), className),
3848
4801
  ...props
3849
4802
  },
3850
- /* @__PURE__ */ React3__namespace.createElement(
4803
+ /* @__PURE__ */ React4__namespace.createElement(
3851
4804
  Thumb,
3852
4805
  {
3853
4806
  "data-slot": "switch-thumb",
@@ -6651,6 +7604,9 @@ var icon = api.icon;
6651
7604
  api.layer;
6652
7605
  api.text;
6653
7606
  api.counter;
7607
+
7608
+ // ../../node_modules/.pnpm/@fortawesome+react-fontawesome@0.2.6_@fortawesome+fontawesome-svg-core@6.7.2_react@19.2.2/node_modules/@fortawesome/react-fontawesome/index.es.js
7609
+ var import_prop_types = __toESM(require_prop_types());
6654
7610
  function _arrayLikeToArray(r3, a) {
6655
7611
  (null == a || a > r3.length) && (a = r3.length);
6656
7612
  for (var e = 0, n = Array(a); e < a; e++) n[e] = r3[e];
@@ -6969,7 +7925,7 @@ var defaultProps = {
6969
7925
  swapOpacity: false,
6970
7926
  widthAuto: false
6971
7927
  };
6972
- var FontAwesomeIcon = /* @__PURE__ */ React3__namespace.default.forwardRef(function(props, ref) {
7928
+ var FontAwesomeIcon = /* @__PURE__ */ React4__namespace.default.forwardRef(function(props, ref) {
6973
7929
  var allProps = _objectSpread22(_objectSpread22({}, defaultProps), props);
6974
7930
  var iconArgs = allProps.icon, maskArgs = allProps.mask, symbol = allProps.symbol, className = allProps.className, title = allProps.title, titleId = allProps.titleId, maskId = allProps.maskId;
6975
7931
  var iconLookup = normalizeIconArgs(iconArgs);
@@ -6999,38 +7955,38 @@ var FontAwesomeIcon = /* @__PURE__ */ React3__namespace.default.forwardRef(funct
6999
7955
  });
7000
7956
  FontAwesomeIcon.displayName = "FontAwesomeIcon";
7001
7957
  FontAwesomeIcon.propTypes = {
7002
- beat: PropTypes__default.default.bool,
7003
- border: PropTypes__default.default.bool,
7004
- beatFade: PropTypes__default.default.bool,
7005
- bounce: PropTypes__default.default.bool,
7006
- className: PropTypes__default.default.string,
7007
- fade: PropTypes__default.default.bool,
7008
- flash: PropTypes__default.default.bool,
7009
- mask: PropTypes__default.default.oneOfType([PropTypes__default.default.object, PropTypes__default.default.array, PropTypes__default.default.string]),
7010
- maskId: PropTypes__default.default.string,
7958
+ beat: import_prop_types.default.bool,
7959
+ border: import_prop_types.default.bool,
7960
+ beatFade: import_prop_types.default.bool,
7961
+ bounce: import_prop_types.default.bool,
7962
+ className: import_prop_types.default.string,
7963
+ fade: import_prop_types.default.bool,
7964
+ flash: import_prop_types.default.bool,
7965
+ mask: import_prop_types.default.oneOfType([import_prop_types.default.object, import_prop_types.default.array, import_prop_types.default.string]),
7966
+ maskId: import_prop_types.default.string,
7011
7967
  // the fixedWidth property has been deprecated as of version 7
7012
- fixedWidth: PropTypes__default.default.bool,
7013
- inverse: PropTypes__default.default.bool,
7014
- flip: PropTypes__default.default.oneOf([true, false, "horizontal", "vertical", "both"]),
7015
- icon: PropTypes__default.default.oneOfType([PropTypes__default.default.object, PropTypes__default.default.array, PropTypes__default.default.string]),
7016
- listItem: PropTypes__default.default.bool,
7017
- pull: PropTypes__default.default.oneOf(["right", "left"]),
7018
- pulse: PropTypes__default.default.bool,
7019
- rotation: PropTypes__default.default.oneOf([0, 90, 180, 270]),
7020
- rotateBy: PropTypes__default.default.bool,
7021
- shake: PropTypes__default.default.bool,
7022
- size: PropTypes__default.default.oneOf(["2xs", "xs", "sm", "lg", "xl", "2xl", "1x", "2x", "3x", "4x", "5x", "6x", "7x", "8x", "9x", "10x"]),
7023
- spin: PropTypes__default.default.bool,
7024
- spinPulse: PropTypes__default.default.bool,
7025
- spinReverse: PropTypes__default.default.bool,
7026
- symbol: PropTypes__default.default.oneOfType([PropTypes__default.default.bool, PropTypes__default.default.string]),
7027
- title: PropTypes__default.default.string,
7028
- titleId: PropTypes__default.default.string,
7029
- transform: PropTypes__default.default.oneOfType([PropTypes__default.default.string, PropTypes__default.default.object]),
7030
- swapOpacity: PropTypes__default.default.bool,
7031
- widthAuto: PropTypes__default.default.bool
7968
+ fixedWidth: import_prop_types.default.bool,
7969
+ inverse: import_prop_types.default.bool,
7970
+ flip: import_prop_types.default.oneOf([true, false, "horizontal", "vertical", "both"]),
7971
+ icon: import_prop_types.default.oneOfType([import_prop_types.default.object, import_prop_types.default.array, import_prop_types.default.string]),
7972
+ listItem: import_prop_types.default.bool,
7973
+ pull: import_prop_types.default.oneOf(["right", "left"]),
7974
+ pulse: import_prop_types.default.bool,
7975
+ rotation: import_prop_types.default.oneOf([0, 90, 180, 270]),
7976
+ rotateBy: import_prop_types.default.bool,
7977
+ shake: import_prop_types.default.bool,
7978
+ size: import_prop_types.default.oneOf(["2xs", "xs", "sm", "lg", "xl", "2xl", "1x", "2x", "3x", "4x", "5x", "6x", "7x", "8x", "9x", "10x"]),
7979
+ spin: import_prop_types.default.bool,
7980
+ spinPulse: import_prop_types.default.bool,
7981
+ spinReverse: import_prop_types.default.bool,
7982
+ symbol: import_prop_types.default.oneOfType([import_prop_types.default.bool, import_prop_types.default.string]),
7983
+ title: import_prop_types.default.string,
7984
+ titleId: import_prop_types.default.string,
7985
+ transform: import_prop_types.default.oneOfType([import_prop_types.default.string, import_prop_types.default.object]),
7986
+ swapOpacity: import_prop_types.default.bool,
7987
+ widthAuto: import_prop_types.default.bool
7032
7988
  };
7033
- var convertCurry = convert.bind(null, React3__namespace.default.createElement);
7989
+ var convertCurry = convert.bind(null, React4__namespace.default.createElement);
7034
7990
 
7035
7991
  // ../../node_modules/.pnpm/@fortawesome+pro-solid-svg-icons@6.7.2/node_modules/@fortawesome/pro-solid-svg-icons/index.mjs
7036
7992
  var faGripVertical = {
@@ -7055,8 +8011,47 @@ var SlotDragHandle = (props) => {
7055
8011
  const { slotId } = props;
7056
8012
  return /* @__PURE__ */ React.createElement("div", { className: "uii:cursor-grab" }, /* @__PURE__ */ React.createElement(FontAwesomeIcon, { icon: faGripVertical }));
7057
8013
  };
8014
+
8015
+ // src/components/slots/index.tsx
8016
+ function useSlotContext(slotId) {
8017
+ const devContext = React4.useContext(DevContext);
8018
+ const [activeSlotId, setActiveSlotId] = React4.useState(void 0);
8019
+ React4.useEffect(() => {
8020
+ if (devContext) {
8021
+ setActiveSlotId(devContext.activeSlotId ?? void 0);
8022
+ }
8023
+ }, [devContext, slotId]);
8024
+ return { active: (activeSlotId ?? "") === slotId, enabled: true };
8025
+ }
7058
8026
  /*! Bundled license information:
7059
8027
 
8028
+ react-is/cjs/react-is.production.min.js:
8029
+ (** @license React v16.13.1
8030
+ * react-is.production.min.js
8031
+ *
8032
+ * Copyright (c) Facebook, Inc. and its affiliates.
8033
+ *
8034
+ * This source code is licensed under the MIT license found in the
8035
+ * LICENSE file in the root directory of this source tree.
8036
+ *)
8037
+
8038
+ react-is/cjs/react-is.development.js:
8039
+ (** @license React v16.13.1
8040
+ * react-is.development.js
8041
+ *
8042
+ * Copyright (c) Facebook, Inc. and its affiliates.
8043
+ *
8044
+ * This source code is licensed under the MIT license found in the
8045
+ * LICENSE file in the root directory of this source tree.
8046
+ *)
8047
+
8048
+ object-assign/index.js:
8049
+ (*
8050
+ object-assign
8051
+ (c) Sindre Sorhus
8052
+ @license MIT
8053
+ *)
8054
+
7060
8055
  @fortawesome/fontawesome-svg-core/index.mjs:
7061
8056
  (*!
7062
8057
  * Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com
@@ -7077,5 +8072,6 @@ exports.SlotDelete = SlotDelete;
7077
8072
  exports.SlotDragHandle = SlotDragHandle;
7078
8073
  exports.SlotElements = SlotElements;
7079
8074
  exports.SlotEnable = SlotEnable;
8075
+ exports.useSlotContext = useSlotContext;
7080
8076
  //# sourceMappingURL=index.cjs.map
7081
8077
  //# sourceMappingURL=index.cjs.map