@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.
package/dist/index.js CHANGED
@@ -1,12 +1,15 @@
1
1
  import * as React45 from 'react';
2
- import React45__default, { forwardRef, createElement, createContext, useLayoutEffect, useState, useContext, useCallback } from 'react';
2
+ import React45__default, { forwardRef, createElement, createContext, useLayoutEffect, useState, useContext, useCallback, useEffect } from 'react';
3
3
  import { jsx, Fragment, jsxs } from 'react/jsx-runtime';
4
4
  import * as ReactDOM4 from 'react-dom';
5
5
  import ReactDOM4__default from 'react-dom';
6
- import PropTypes from 'prop-types';
7
6
 
7
+ var __create = Object.create;
8
8
  var __defProp = Object.defineProperty;
9
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
9
10
  var __getOwnPropNames = Object.getOwnPropertyNames;
11
+ var __getProtoOf = Object.getPrototypeOf;
12
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
10
13
  var __commonJS = (cb, mod) => function __require() {
11
14
  return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
12
15
  };
@@ -14,6 +17,957 @@ var __export = (target, all) => {
14
17
  for (var name in all)
15
18
  __defProp(target, name, { get: all[name], enumerable: true });
16
19
  };
20
+ var __copyProps = (to, from, except, desc) => {
21
+ if (from && typeof from === "object" || typeof from === "function") {
22
+ for (let key of __getOwnPropNames(from))
23
+ if (!__hasOwnProp.call(to, key) && key !== except)
24
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
25
+ }
26
+ return to;
27
+ };
28
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
29
+ // If the importer is in node compatibility mode or this is not an ESM
30
+ // file that has been converted to a CommonJS file using a Babel-
31
+ // compatible transform (i.e. "__esModule" has not been set), then set
32
+ // "default" to the CommonJS "module.exports" for node compatibility.
33
+ !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
34
+ mod
35
+ ));
36
+
37
+ // ../../node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/cjs/react-is.production.min.js
38
+ var require_react_is_production_min = __commonJS({
39
+ "../../node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/cjs/react-is.production.min.js"(exports$1) {
40
+ var b = "function" === typeof Symbol && Symbol.for;
41
+ var c = b ? Symbol.for("react.element") : 60103;
42
+ var d = b ? Symbol.for("react.portal") : 60106;
43
+ var e = b ? Symbol.for("react.fragment") : 60107;
44
+ var f = b ? Symbol.for("react.strict_mode") : 60108;
45
+ var g2 = b ? Symbol.for("react.profiler") : 60114;
46
+ var h = b ? Symbol.for("react.provider") : 60109;
47
+ var k = b ? Symbol.for("react.context") : 60110;
48
+ var l = b ? Symbol.for("react.async_mode") : 60111;
49
+ var m = b ? Symbol.for("react.concurrent_mode") : 60111;
50
+ var n = b ? Symbol.for("react.forward_ref") : 60112;
51
+ var p2 = b ? Symbol.for("react.suspense") : 60113;
52
+ var q = b ? Symbol.for("react.suspense_list") : 60120;
53
+ var r3 = b ? Symbol.for("react.memo") : 60115;
54
+ var t2 = b ? Symbol.for("react.lazy") : 60116;
55
+ var v = b ? Symbol.for("react.block") : 60121;
56
+ var w2 = b ? Symbol.for("react.fundamental") : 60117;
57
+ var x2 = b ? Symbol.for("react.responder") : 60118;
58
+ var y = b ? Symbol.for("react.scope") : 60119;
59
+ function z(a) {
60
+ if ("object" === typeof a && null !== a) {
61
+ var u = a.$$typeof;
62
+ switch (u) {
63
+ case c:
64
+ switch (a = a.type, a) {
65
+ case l:
66
+ case m:
67
+ case e:
68
+ case g2:
69
+ case f:
70
+ case p2:
71
+ return a;
72
+ default:
73
+ switch (a = a && a.$$typeof, a) {
74
+ case k:
75
+ case n:
76
+ case t2:
77
+ case r3:
78
+ case h:
79
+ return a;
80
+ default:
81
+ return u;
82
+ }
83
+ }
84
+ case d:
85
+ return u;
86
+ }
87
+ }
88
+ }
89
+ function A2(a) {
90
+ return z(a) === m;
91
+ }
92
+ exports$1.AsyncMode = l;
93
+ exports$1.ConcurrentMode = m;
94
+ exports$1.ContextConsumer = k;
95
+ exports$1.ContextProvider = h;
96
+ exports$1.Element = c;
97
+ exports$1.ForwardRef = n;
98
+ exports$1.Fragment = e;
99
+ exports$1.Lazy = t2;
100
+ exports$1.Memo = r3;
101
+ exports$1.Portal = d;
102
+ exports$1.Profiler = g2;
103
+ exports$1.StrictMode = f;
104
+ exports$1.Suspense = p2;
105
+ exports$1.isAsyncMode = function(a) {
106
+ return A2(a) || z(a) === l;
107
+ };
108
+ exports$1.isConcurrentMode = A2;
109
+ exports$1.isContextConsumer = function(a) {
110
+ return z(a) === k;
111
+ };
112
+ exports$1.isContextProvider = function(a) {
113
+ return z(a) === h;
114
+ };
115
+ exports$1.isElement = function(a) {
116
+ return "object" === typeof a && null !== a && a.$$typeof === c;
117
+ };
118
+ exports$1.isForwardRef = function(a) {
119
+ return z(a) === n;
120
+ };
121
+ exports$1.isFragment = function(a) {
122
+ return z(a) === e;
123
+ };
124
+ exports$1.isLazy = function(a) {
125
+ return z(a) === t2;
126
+ };
127
+ exports$1.isMemo = function(a) {
128
+ return z(a) === r3;
129
+ };
130
+ exports$1.isPortal = function(a) {
131
+ return z(a) === d;
132
+ };
133
+ exports$1.isProfiler = function(a) {
134
+ return z(a) === g2;
135
+ };
136
+ exports$1.isStrictMode = function(a) {
137
+ return z(a) === f;
138
+ };
139
+ exports$1.isSuspense = function(a) {
140
+ return z(a) === p2;
141
+ };
142
+ exports$1.isValidElementType = function(a) {
143
+ 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);
144
+ };
145
+ exports$1.typeOf = z;
146
+ }
147
+ });
148
+
149
+ // ../../node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/cjs/react-is.development.js
150
+ var require_react_is_development = __commonJS({
151
+ "../../node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/cjs/react-is.development.js"(exports$1) {
152
+ if (process.env.NODE_ENV !== "production") {
153
+ (function() {
154
+ var hasSymbol = typeof Symbol === "function" && Symbol.for;
155
+ var REACT_ELEMENT_TYPE = hasSymbol ? Symbol.for("react.element") : 60103;
156
+ var REACT_PORTAL_TYPE = hasSymbol ? Symbol.for("react.portal") : 60106;
157
+ var REACT_FRAGMENT_TYPE = hasSymbol ? Symbol.for("react.fragment") : 60107;
158
+ var REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for("react.strict_mode") : 60108;
159
+ var REACT_PROFILER_TYPE = hasSymbol ? Symbol.for("react.profiler") : 60114;
160
+ var REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for("react.provider") : 60109;
161
+ var REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for("react.context") : 60110;
162
+ var REACT_ASYNC_MODE_TYPE = hasSymbol ? Symbol.for("react.async_mode") : 60111;
163
+ var REACT_CONCURRENT_MODE_TYPE = hasSymbol ? Symbol.for("react.concurrent_mode") : 60111;
164
+ var REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for("react.forward_ref") : 60112;
165
+ var REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for("react.suspense") : 60113;
166
+ var REACT_SUSPENSE_LIST_TYPE = hasSymbol ? Symbol.for("react.suspense_list") : 60120;
167
+ var REACT_MEMO_TYPE = hasSymbol ? Symbol.for("react.memo") : 60115;
168
+ var REACT_LAZY_TYPE2 = hasSymbol ? Symbol.for("react.lazy") : 60116;
169
+ var REACT_BLOCK_TYPE = hasSymbol ? Symbol.for("react.block") : 60121;
170
+ var REACT_FUNDAMENTAL_TYPE = hasSymbol ? Symbol.for("react.fundamental") : 60117;
171
+ var REACT_RESPONDER_TYPE = hasSymbol ? Symbol.for("react.responder") : 60118;
172
+ var REACT_SCOPE_TYPE = hasSymbol ? Symbol.for("react.scope") : 60119;
173
+ function isValidElementType(type) {
174
+ return typeof type === "string" || typeof type === "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
175
+ 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);
176
+ }
177
+ function typeOf(object) {
178
+ if (typeof object === "object" && object !== null) {
179
+ var $$typeof = object.$$typeof;
180
+ switch ($$typeof) {
181
+ case REACT_ELEMENT_TYPE:
182
+ var type = object.type;
183
+ switch (type) {
184
+ case REACT_ASYNC_MODE_TYPE:
185
+ case REACT_CONCURRENT_MODE_TYPE:
186
+ case REACT_FRAGMENT_TYPE:
187
+ case REACT_PROFILER_TYPE:
188
+ case REACT_STRICT_MODE_TYPE:
189
+ case REACT_SUSPENSE_TYPE:
190
+ return type;
191
+ default:
192
+ var $$typeofType = type && type.$$typeof;
193
+ switch ($$typeofType) {
194
+ case REACT_CONTEXT_TYPE:
195
+ case REACT_FORWARD_REF_TYPE:
196
+ case REACT_LAZY_TYPE2:
197
+ case REACT_MEMO_TYPE:
198
+ case REACT_PROVIDER_TYPE:
199
+ return $$typeofType;
200
+ default:
201
+ return $$typeof;
202
+ }
203
+ }
204
+ case REACT_PORTAL_TYPE:
205
+ return $$typeof;
206
+ }
207
+ }
208
+ return void 0;
209
+ }
210
+ var AsyncMode = REACT_ASYNC_MODE_TYPE;
211
+ var ConcurrentMode = REACT_CONCURRENT_MODE_TYPE;
212
+ var ContextConsumer = REACT_CONTEXT_TYPE;
213
+ var ContextProvider = REACT_PROVIDER_TYPE;
214
+ var Element2 = REACT_ELEMENT_TYPE;
215
+ var ForwardRef = REACT_FORWARD_REF_TYPE;
216
+ var Fragment9 = REACT_FRAGMENT_TYPE;
217
+ var Lazy = REACT_LAZY_TYPE2;
218
+ var Memo = REACT_MEMO_TYPE;
219
+ var Portal4 = REACT_PORTAL_TYPE;
220
+ var Profiler = REACT_PROFILER_TYPE;
221
+ var StrictMode = REACT_STRICT_MODE_TYPE;
222
+ var Suspense = REACT_SUSPENSE_TYPE;
223
+ var hasWarnedAboutDeprecatedIsAsyncMode = false;
224
+ function isAsyncMode(object) {
225
+ {
226
+ if (!hasWarnedAboutDeprecatedIsAsyncMode) {
227
+ hasWarnedAboutDeprecatedIsAsyncMode = true;
228
+ 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.");
229
+ }
230
+ }
231
+ return isConcurrentMode(object) || typeOf(object) === REACT_ASYNC_MODE_TYPE;
232
+ }
233
+ function isConcurrentMode(object) {
234
+ return typeOf(object) === REACT_CONCURRENT_MODE_TYPE;
235
+ }
236
+ function isContextConsumer(object) {
237
+ return typeOf(object) === REACT_CONTEXT_TYPE;
238
+ }
239
+ function isContextProvider(object) {
240
+ return typeOf(object) === REACT_PROVIDER_TYPE;
241
+ }
242
+ function isElement2(object) {
243
+ return typeof object === "object" && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
244
+ }
245
+ function isForwardRef(object) {
246
+ return typeOf(object) === REACT_FORWARD_REF_TYPE;
247
+ }
248
+ function isFragment(object) {
249
+ return typeOf(object) === REACT_FRAGMENT_TYPE;
250
+ }
251
+ function isLazy(object) {
252
+ return typeOf(object) === REACT_LAZY_TYPE2;
253
+ }
254
+ function isMemo(object) {
255
+ return typeOf(object) === REACT_MEMO_TYPE;
256
+ }
257
+ function isPortal(object) {
258
+ return typeOf(object) === REACT_PORTAL_TYPE;
259
+ }
260
+ function isProfiler(object) {
261
+ return typeOf(object) === REACT_PROFILER_TYPE;
262
+ }
263
+ function isStrictMode(object) {
264
+ return typeOf(object) === REACT_STRICT_MODE_TYPE;
265
+ }
266
+ function isSuspense(object) {
267
+ return typeOf(object) === REACT_SUSPENSE_TYPE;
268
+ }
269
+ exports$1.AsyncMode = AsyncMode;
270
+ exports$1.ConcurrentMode = ConcurrentMode;
271
+ exports$1.ContextConsumer = ContextConsumer;
272
+ exports$1.ContextProvider = ContextProvider;
273
+ exports$1.Element = Element2;
274
+ exports$1.ForwardRef = ForwardRef;
275
+ exports$1.Fragment = Fragment9;
276
+ exports$1.Lazy = Lazy;
277
+ exports$1.Memo = Memo;
278
+ exports$1.Portal = Portal4;
279
+ exports$1.Profiler = Profiler;
280
+ exports$1.StrictMode = StrictMode;
281
+ exports$1.Suspense = Suspense;
282
+ exports$1.isAsyncMode = isAsyncMode;
283
+ exports$1.isConcurrentMode = isConcurrentMode;
284
+ exports$1.isContextConsumer = isContextConsumer;
285
+ exports$1.isContextProvider = isContextProvider;
286
+ exports$1.isElement = isElement2;
287
+ exports$1.isForwardRef = isForwardRef;
288
+ exports$1.isFragment = isFragment;
289
+ exports$1.isLazy = isLazy;
290
+ exports$1.isMemo = isMemo;
291
+ exports$1.isPortal = isPortal;
292
+ exports$1.isProfiler = isProfiler;
293
+ exports$1.isStrictMode = isStrictMode;
294
+ exports$1.isSuspense = isSuspense;
295
+ exports$1.isValidElementType = isValidElementType;
296
+ exports$1.typeOf = typeOf;
297
+ })();
298
+ }
299
+ }
300
+ });
301
+
302
+ // ../../node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/index.js
303
+ var require_react_is = __commonJS({
304
+ "../../node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/index.js"(exports$1, module) {
305
+ if (process.env.NODE_ENV === "production") {
306
+ module.exports = require_react_is_production_min();
307
+ } else {
308
+ module.exports = require_react_is_development();
309
+ }
310
+ }
311
+ });
312
+
313
+ // ../../node_modules/.pnpm/object-assign@4.1.1/node_modules/object-assign/index.js
314
+ var require_object_assign = __commonJS({
315
+ "../../node_modules/.pnpm/object-assign@4.1.1/node_modules/object-assign/index.js"(exports$1, module) {
316
+ var getOwnPropertySymbols = Object.getOwnPropertySymbols;
317
+ var hasOwnProperty = Object.prototype.hasOwnProperty;
318
+ var propIsEnumerable = Object.prototype.propertyIsEnumerable;
319
+ function toObject(val) {
320
+ if (val === null || val === void 0) {
321
+ throw new TypeError("Object.assign cannot be called with null or undefined");
322
+ }
323
+ return Object(val);
324
+ }
325
+ function shouldUseNative() {
326
+ try {
327
+ if (!Object.assign) {
328
+ return false;
329
+ }
330
+ var test1 = new String("abc");
331
+ test1[5] = "de";
332
+ if (Object.getOwnPropertyNames(test1)[0] === "5") {
333
+ return false;
334
+ }
335
+ var test2 = {};
336
+ for (var i = 0; i < 10; i++) {
337
+ test2["_" + String.fromCharCode(i)] = i;
338
+ }
339
+ var order2 = Object.getOwnPropertyNames(test2).map(function(n) {
340
+ return test2[n];
341
+ });
342
+ if (order2.join("") !== "0123456789") {
343
+ return false;
344
+ }
345
+ var test3 = {};
346
+ "abcdefghijklmnopqrst".split("").forEach(function(letter) {
347
+ test3[letter] = letter;
348
+ });
349
+ if (Object.keys(Object.assign({}, test3)).join("") !== "abcdefghijklmnopqrst") {
350
+ return false;
351
+ }
352
+ return true;
353
+ } catch (err) {
354
+ return false;
355
+ }
356
+ }
357
+ module.exports = shouldUseNative() ? Object.assign : function(target, source) {
358
+ var from;
359
+ var to = toObject(target);
360
+ var symbols;
361
+ for (var s2 = 1; s2 < arguments.length; s2++) {
362
+ from = Object(arguments[s2]);
363
+ for (var key in from) {
364
+ if (hasOwnProperty.call(from, key)) {
365
+ to[key] = from[key];
366
+ }
367
+ }
368
+ if (getOwnPropertySymbols) {
369
+ symbols = getOwnPropertySymbols(from);
370
+ for (var i = 0; i < symbols.length; i++) {
371
+ if (propIsEnumerable.call(from, symbols[i])) {
372
+ to[symbols[i]] = from[symbols[i]];
373
+ }
374
+ }
375
+ }
376
+ }
377
+ return to;
378
+ };
379
+ }
380
+ });
381
+
382
+ // ../../node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/lib/ReactPropTypesSecret.js
383
+ var require_ReactPropTypesSecret = __commonJS({
384
+ "../../node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/lib/ReactPropTypesSecret.js"(exports$1, module) {
385
+ var ReactPropTypesSecret = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
386
+ module.exports = ReactPropTypesSecret;
387
+ }
388
+ });
389
+
390
+ // ../../node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/lib/has.js
391
+ var require_has = __commonJS({
392
+ "../../node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/lib/has.js"(exports$1, module) {
393
+ module.exports = Function.call.bind(Object.prototype.hasOwnProperty);
394
+ }
395
+ });
396
+
397
+ // ../../node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/checkPropTypes.js
398
+ var require_checkPropTypes = __commonJS({
399
+ "../../node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/checkPropTypes.js"(exports$1, module) {
400
+ var printWarning = function() {
401
+ };
402
+ if (process.env.NODE_ENV !== "production") {
403
+ ReactPropTypesSecret = require_ReactPropTypesSecret();
404
+ loggedTypeFailures = {};
405
+ has = require_has();
406
+ printWarning = function(text2) {
407
+ var message = "Warning: " + text2;
408
+ if (typeof console !== "undefined") {
409
+ console.error(message);
410
+ }
411
+ try {
412
+ throw new Error(message);
413
+ } catch (x2) {
414
+ }
415
+ };
416
+ }
417
+ var ReactPropTypesSecret;
418
+ var loggedTypeFailures;
419
+ var has;
420
+ function checkPropTypes(typeSpecs, values, location, componentName, getStack) {
421
+ if (process.env.NODE_ENV !== "production") {
422
+ for (var typeSpecName in typeSpecs) {
423
+ if (has(typeSpecs, typeSpecName)) {
424
+ var error;
425
+ try {
426
+ if (typeof typeSpecs[typeSpecName] !== "function") {
427
+ var err = Error(
428
+ (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`."
429
+ );
430
+ err.name = "Invariant Violation";
431
+ throw err;
432
+ }
433
+ error = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, ReactPropTypesSecret);
434
+ } catch (ex) {
435
+ error = ex;
436
+ }
437
+ if (error && !(error instanceof Error)) {
438
+ printWarning(
439
+ (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)."
440
+ );
441
+ }
442
+ if (error instanceof Error && !(error.message in loggedTypeFailures)) {
443
+ loggedTypeFailures[error.message] = true;
444
+ var stack = getStack ? getStack() : "";
445
+ printWarning(
446
+ "Failed " + location + " type: " + error.message + (stack != null ? stack : "")
447
+ );
448
+ }
449
+ }
450
+ }
451
+ }
452
+ }
453
+ checkPropTypes.resetWarningCache = function() {
454
+ if (process.env.NODE_ENV !== "production") {
455
+ loggedTypeFailures = {};
456
+ }
457
+ };
458
+ module.exports = checkPropTypes;
459
+ }
460
+ });
461
+
462
+ // ../../node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/factoryWithTypeCheckers.js
463
+ var require_factoryWithTypeCheckers = __commonJS({
464
+ "../../node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/factoryWithTypeCheckers.js"(exports$1, module) {
465
+ var ReactIs = require_react_is();
466
+ var assign = require_object_assign();
467
+ var ReactPropTypesSecret = require_ReactPropTypesSecret();
468
+ var has = require_has();
469
+ var checkPropTypes = require_checkPropTypes();
470
+ var printWarning = function() {
471
+ };
472
+ if (process.env.NODE_ENV !== "production") {
473
+ printWarning = function(text2) {
474
+ var message = "Warning: " + text2;
475
+ if (typeof console !== "undefined") {
476
+ console.error(message);
477
+ }
478
+ try {
479
+ throw new Error(message);
480
+ } catch (x2) {
481
+ }
482
+ };
483
+ }
484
+ function emptyFunctionThatReturnsNull() {
485
+ return null;
486
+ }
487
+ module.exports = function(isValidElement3, throwOnDirectAccess) {
488
+ var ITERATOR_SYMBOL = typeof Symbol === "function" && Symbol.iterator;
489
+ var FAUX_ITERATOR_SYMBOL = "@@iterator";
490
+ function getIteratorFn(maybeIterable) {
491
+ var iteratorFn = maybeIterable && (ITERATOR_SYMBOL && maybeIterable[ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL]);
492
+ if (typeof iteratorFn === "function") {
493
+ return iteratorFn;
494
+ }
495
+ }
496
+ var ANONYMOUS = "<<anonymous>>";
497
+ var ReactPropTypes = {
498
+ array: createPrimitiveTypeChecker("array"),
499
+ bigint: createPrimitiveTypeChecker("bigint"),
500
+ bool: createPrimitiveTypeChecker("boolean"),
501
+ func: createPrimitiveTypeChecker("function"),
502
+ number: createPrimitiveTypeChecker("number"),
503
+ object: createPrimitiveTypeChecker("object"),
504
+ string: createPrimitiveTypeChecker("string"),
505
+ symbol: createPrimitiveTypeChecker("symbol"),
506
+ any: createAnyTypeChecker(),
507
+ arrayOf: createArrayOfTypeChecker,
508
+ element: createElementTypeChecker(),
509
+ elementType: createElementTypeTypeChecker(),
510
+ instanceOf: createInstanceTypeChecker,
511
+ node: createNodeChecker(),
512
+ objectOf: createObjectOfTypeChecker,
513
+ oneOf: createEnumTypeChecker,
514
+ oneOfType: createUnionTypeChecker,
515
+ shape: createShapeTypeChecker,
516
+ exact: createStrictShapeTypeChecker
517
+ };
518
+ function is(x2, y) {
519
+ if (x2 === y) {
520
+ return x2 !== 0 || 1 / x2 === 1 / y;
521
+ } else {
522
+ return x2 !== x2 && y !== y;
523
+ }
524
+ }
525
+ function PropTypeError(message, data) {
526
+ this.message = message;
527
+ this.data = data && typeof data === "object" ? data : {};
528
+ this.stack = "";
529
+ }
530
+ PropTypeError.prototype = Error.prototype;
531
+ function createChainableTypeChecker(validate) {
532
+ if (process.env.NODE_ENV !== "production") {
533
+ var manualPropTypeCallCache = {};
534
+ var manualPropTypeWarningCount = 0;
535
+ }
536
+ function checkType(isRequired, props, propName, componentName, location, propFullName, secret) {
537
+ componentName = componentName || ANONYMOUS;
538
+ propFullName = propFullName || propName;
539
+ if (secret !== ReactPropTypesSecret) {
540
+ if (throwOnDirectAccess) {
541
+ var err = new Error(
542
+ "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"
543
+ );
544
+ err.name = "Invariant Violation";
545
+ throw err;
546
+ } else if (process.env.NODE_ENV !== "production" && typeof console !== "undefined") {
547
+ var cacheKey = componentName + ":" + propName;
548
+ if (!manualPropTypeCallCache[cacheKey] && // Avoid spamming the console because they are often not actionable except for lib authors
549
+ manualPropTypeWarningCount < 3) {
550
+ printWarning(
551
+ "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."
552
+ );
553
+ manualPropTypeCallCache[cacheKey] = true;
554
+ manualPropTypeWarningCount++;
555
+ }
556
+ }
557
+ }
558
+ if (props[propName] == null) {
559
+ if (isRequired) {
560
+ if (props[propName] === null) {
561
+ return new PropTypeError("The " + location + " `" + propFullName + "` is marked as required " + ("in `" + componentName + "`, but its value is `null`."));
562
+ }
563
+ return new PropTypeError("The " + location + " `" + propFullName + "` is marked as required in " + ("`" + componentName + "`, but its value is `undefined`."));
564
+ }
565
+ return null;
566
+ } else {
567
+ return validate(props, propName, componentName, location, propFullName);
568
+ }
569
+ }
570
+ var chainedCheckType = checkType.bind(null, false);
571
+ chainedCheckType.isRequired = checkType.bind(null, true);
572
+ return chainedCheckType;
573
+ }
574
+ function createPrimitiveTypeChecker(expectedType) {
575
+ function validate(props, propName, componentName, location, propFullName, secret) {
576
+ var propValue = props[propName];
577
+ var propType = getPropType(propValue);
578
+ if (propType !== expectedType) {
579
+ var preciseType = getPreciseType(propValue);
580
+ return new PropTypeError(
581
+ "Invalid " + location + " `" + propFullName + "` of type " + ("`" + preciseType + "` supplied to `" + componentName + "`, expected ") + ("`" + expectedType + "`."),
582
+ { expectedType }
583
+ );
584
+ }
585
+ return null;
586
+ }
587
+ return createChainableTypeChecker(validate);
588
+ }
589
+ function createAnyTypeChecker() {
590
+ return createChainableTypeChecker(emptyFunctionThatReturnsNull);
591
+ }
592
+ function createArrayOfTypeChecker(typeChecker) {
593
+ function validate(props, propName, componentName, location, propFullName) {
594
+ if (typeof typeChecker !== "function") {
595
+ return new PropTypeError("Property `" + propFullName + "` of component `" + componentName + "` has invalid PropType notation inside arrayOf.");
596
+ }
597
+ var propValue = props[propName];
598
+ if (!Array.isArray(propValue)) {
599
+ var propType = getPropType(propValue);
600
+ return new PropTypeError("Invalid " + location + " `" + propFullName + "` of type " + ("`" + propType + "` supplied to `" + componentName + "`, expected an array."));
601
+ }
602
+ for (var i = 0; i < propValue.length; i++) {
603
+ var error = typeChecker(propValue, i, componentName, location, propFullName + "[" + i + "]", ReactPropTypesSecret);
604
+ if (error instanceof Error) {
605
+ return error;
606
+ }
607
+ }
608
+ return null;
609
+ }
610
+ return createChainableTypeChecker(validate);
611
+ }
612
+ function createElementTypeChecker() {
613
+ function validate(props, propName, componentName, location, propFullName) {
614
+ var propValue = props[propName];
615
+ if (!isValidElement3(propValue)) {
616
+ var propType = getPropType(propValue);
617
+ return new PropTypeError("Invalid " + location + " `" + propFullName + "` of type " + ("`" + propType + "` supplied to `" + componentName + "`, expected a single ReactElement."));
618
+ }
619
+ return null;
620
+ }
621
+ return createChainableTypeChecker(validate);
622
+ }
623
+ function createElementTypeTypeChecker() {
624
+ function validate(props, propName, componentName, location, propFullName) {
625
+ var propValue = props[propName];
626
+ if (!ReactIs.isValidElementType(propValue)) {
627
+ var propType = getPropType(propValue);
628
+ return new PropTypeError("Invalid " + location + " `" + propFullName + "` of type " + ("`" + propType + "` supplied to `" + componentName + "`, expected a single ReactElement type."));
629
+ }
630
+ return null;
631
+ }
632
+ return createChainableTypeChecker(validate);
633
+ }
634
+ function createInstanceTypeChecker(expectedClass) {
635
+ function validate(props, propName, componentName, location, propFullName) {
636
+ if (!(props[propName] instanceof expectedClass)) {
637
+ var expectedClassName = expectedClass.name || ANONYMOUS;
638
+ var actualClassName = getClassName(props[propName]);
639
+ return new PropTypeError("Invalid " + location + " `" + propFullName + "` of type " + ("`" + actualClassName + "` supplied to `" + componentName + "`, expected ") + ("instance of `" + expectedClassName + "`."));
640
+ }
641
+ return null;
642
+ }
643
+ return createChainableTypeChecker(validate);
644
+ }
645
+ function createEnumTypeChecker(expectedValues) {
646
+ if (!Array.isArray(expectedValues)) {
647
+ if (process.env.NODE_ENV !== "production") {
648
+ if (arguments.length > 1) {
649
+ printWarning(
650
+ "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])."
651
+ );
652
+ } else {
653
+ printWarning("Invalid argument supplied to oneOf, expected an array.");
654
+ }
655
+ }
656
+ return emptyFunctionThatReturnsNull;
657
+ }
658
+ function validate(props, propName, componentName, location, propFullName) {
659
+ var propValue = props[propName];
660
+ for (var i = 0; i < expectedValues.length; i++) {
661
+ if (is(propValue, expectedValues[i])) {
662
+ return null;
663
+ }
664
+ }
665
+ var valuesString = JSON.stringify(expectedValues, function replacer(key, value) {
666
+ var type = getPreciseType(value);
667
+ if (type === "symbol") {
668
+ return String(value);
669
+ }
670
+ return value;
671
+ });
672
+ return new PropTypeError("Invalid " + location + " `" + propFullName + "` of value `" + String(propValue) + "` " + ("supplied to `" + componentName + "`, expected one of " + valuesString + "."));
673
+ }
674
+ return createChainableTypeChecker(validate);
675
+ }
676
+ function createObjectOfTypeChecker(typeChecker) {
677
+ function validate(props, propName, componentName, location, propFullName) {
678
+ if (typeof typeChecker !== "function") {
679
+ return new PropTypeError("Property `" + propFullName + "` of component `" + componentName + "` has invalid PropType notation inside objectOf.");
680
+ }
681
+ var propValue = props[propName];
682
+ var propType = getPropType(propValue);
683
+ if (propType !== "object") {
684
+ return new PropTypeError("Invalid " + location + " `" + propFullName + "` of type " + ("`" + propType + "` supplied to `" + componentName + "`, expected an object."));
685
+ }
686
+ for (var key in propValue) {
687
+ if (has(propValue, key)) {
688
+ var error = typeChecker(propValue, key, componentName, location, propFullName + "." + key, ReactPropTypesSecret);
689
+ if (error instanceof Error) {
690
+ return error;
691
+ }
692
+ }
693
+ }
694
+ return null;
695
+ }
696
+ return createChainableTypeChecker(validate);
697
+ }
698
+ function createUnionTypeChecker(arrayOfTypeCheckers) {
699
+ if (!Array.isArray(arrayOfTypeCheckers)) {
700
+ process.env.NODE_ENV !== "production" ? printWarning("Invalid argument supplied to oneOfType, expected an instance of array.") : void 0;
701
+ return emptyFunctionThatReturnsNull;
702
+ }
703
+ for (var i = 0; i < arrayOfTypeCheckers.length; i++) {
704
+ var checker = arrayOfTypeCheckers[i];
705
+ if (typeof checker !== "function") {
706
+ printWarning(
707
+ "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + getPostfixForTypeWarning(checker) + " at index " + i + "."
708
+ );
709
+ return emptyFunctionThatReturnsNull;
710
+ }
711
+ }
712
+ function validate(props, propName, componentName, location, propFullName) {
713
+ var expectedTypes = [];
714
+ for (var i2 = 0; i2 < arrayOfTypeCheckers.length; i2++) {
715
+ var checker2 = arrayOfTypeCheckers[i2];
716
+ var checkerResult = checker2(props, propName, componentName, location, propFullName, ReactPropTypesSecret);
717
+ if (checkerResult == null) {
718
+ return null;
719
+ }
720
+ if (checkerResult.data && has(checkerResult.data, "expectedType")) {
721
+ expectedTypes.push(checkerResult.data.expectedType);
722
+ }
723
+ }
724
+ var expectedTypesMessage = expectedTypes.length > 0 ? ", expected one of type [" + expectedTypes.join(", ") + "]" : "";
725
+ return new PropTypeError("Invalid " + location + " `" + propFullName + "` supplied to " + ("`" + componentName + "`" + expectedTypesMessage + "."));
726
+ }
727
+ return createChainableTypeChecker(validate);
728
+ }
729
+ function createNodeChecker() {
730
+ function validate(props, propName, componentName, location, propFullName) {
731
+ if (!isNode2(props[propName])) {
732
+ return new PropTypeError("Invalid " + location + " `" + propFullName + "` supplied to " + ("`" + componentName + "`, expected a ReactNode."));
733
+ }
734
+ return null;
735
+ }
736
+ return createChainableTypeChecker(validate);
737
+ }
738
+ function invalidValidatorError(componentName, location, propFullName, key, type) {
739
+ return new PropTypeError(
740
+ (componentName || "React class") + ": " + location + " type `" + propFullName + "." + key + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + type + "`."
741
+ );
742
+ }
743
+ function createShapeTypeChecker(shapeTypes) {
744
+ function validate(props, propName, componentName, location, propFullName) {
745
+ var propValue = props[propName];
746
+ var propType = getPropType(propValue);
747
+ if (propType !== "object") {
748
+ return new PropTypeError("Invalid " + location + " `" + propFullName + "` of type `" + propType + "` " + ("supplied to `" + componentName + "`, expected `object`."));
749
+ }
750
+ for (var key in shapeTypes) {
751
+ var checker = shapeTypes[key];
752
+ if (typeof checker !== "function") {
753
+ return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));
754
+ }
755
+ var error = checker(propValue, key, componentName, location, propFullName + "." + key, ReactPropTypesSecret);
756
+ if (error) {
757
+ return error;
758
+ }
759
+ }
760
+ return null;
761
+ }
762
+ return createChainableTypeChecker(validate);
763
+ }
764
+ function createStrictShapeTypeChecker(shapeTypes) {
765
+ function validate(props, propName, componentName, location, propFullName) {
766
+ var propValue = props[propName];
767
+ var propType = getPropType(propValue);
768
+ if (propType !== "object") {
769
+ return new PropTypeError("Invalid " + location + " `" + propFullName + "` of type `" + propType + "` " + ("supplied to `" + componentName + "`, expected `object`."));
770
+ }
771
+ var allKeys = assign({}, props[propName], shapeTypes);
772
+ for (var key in allKeys) {
773
+ var checker = shapeTypes[key];
774
+ if (has(shapeTypes, key) && typeof checker !== "function") {
775
+ return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));
776
+ }
777
+ if (!checker) {
778
+ return new PropTypeError(
779
+ "Invalid " + location + " `" + propFullName + "` key `" + key + "` supplied to `" + componentName + "`.\nBad object: " + JSON.stringify(props[propName], null, " ") + "\nValid keys: " + JSON.stringify(Object.keys(shapeTypes), null, " ")
780
+ );
781
+ }
782
+ var error = checker(propValue, key, componentName, location, propFullName + "." + key, ReactPropTypesSecret);
783
+ if (error) {
784
+ return error;
785
+ }
786
+ }
787
+ return null;
788
+ }
789
+ return createChainableTypeChecker(validate);
790
+ }
791
+ function isNode2(propValue) {
792
+ switch (typeof propValue) {
793
+ case "number":
794
+ case "string":
795
+ case "undefined":
796
+ return true;
797
+ case "boolean":
798
+ return !propValue;
799
+ case "object":
800
+ if (Array.isArray(propValue)) {
801
+ return propValue.every(isNode2);
802
+ }
803
+ if (propValue === null || isValidElement3(propValue)) {
804
+ return true;
805
+ }
806
+ var iteratorFn = getIteratorFn(propValue);
807
+ if (iteratorFn) {
808
+ var iterator = iteratorFn.call(propValue);
809
+ var step;
810
+ if (iteratorFn !== propValue.entries) {
811
+ while (!(step = iterator.next()).done) {
812
+ if (!isNode2(step.value)) {
813
+ return false;
814
+ }
815
+ }
816
+ } else {
817
+ while (!(step = iterator.next()).done) {
818
+ var entry = step.value;
819
+ if (entry) {
820
+ if (!isNode2(entry[1])) {
821
+ return false;
822
+ }
823
+ }
824
+ }
825
+ }
826
+ } else {
827
+ return false;
828
+ }
829
+ return true;
830
+ default:
831
+ return false;
832
+ }
833
+ }
834
+ function isSymbol(propType, propValue) {
835
+ if (propType === "symbol") {
836
+ return true;
837
+ }
838
+ if (!propValue) {
839
+ return false;
840
+ }
841
+ if (propValue["@@toStringTag"] === "Symbol") {
842
+ return true;
843
+ }
844
+ if (typeof Symbol === "function" && propValue instanceof Symbol) {
845
+ return true;
846
+ }
847
+ return false;
848
+ }
849
+ function getPropType(propValue) {
850
+ var propType = typeof propValue;
851
+ if (Array.isArray(propValue)) {
852
+ return "array";
853
+ }
854
+ if (propValue instanceof RegExp) {
855
+ return "object";
856
+ }
857
+ if (isSymbol(propType, propValue)) {
858
+ return "symbol";
859
+ }
860
+ return propType;
861
+ }
862
+ function getPreciseType(propValue) {
863
+ if (typeof propValue === "undefined" || propValue === null) {
864
+ return "" + propValue;
865
+ }
866
+ var propType = getPropType(propValue);
867
+ if (propType === "object") {
868
+ if (propValue instanceof Date) {
869
+ return "date";
870
+ } else if (propValue instanceof RegExp) {
871
+ return "regexp";
872
+ }
873
+ }
874
+ return propType;
875
+ }
876
+ function getPostfixForTypeWarning(value) {
877
+ var type = getPreciseType(value);
878
+ switch (type) {
879
+ case "array":
880
+ case "object":
881
+ return "an " + type;
882
+ case "boolean":
883
+ case "date":
884
+ case "regexp":
885
+ return "a " + type;
886
+ default:
887
+ return type;
888
+ }
889
+ }
890
+ function getClassName(propValue) {
891
+ if (!propValue.constructor || !propValue.constructor.name) {
892
+ return ANONYMOUS;
893
+ }
894
+ return propValue.constructor.name;
895
+ }
896
+ ReactPropTypes.checkPropTypes = checkPropTypes;
897
+ ReactPropTypes.resetWarningCache = checkPropTypes.resetWarningCache;
898
+ ReactPropTypes.PropTypes = ReactPropTypes;
899
+ return ReactPropTypes;
900
+ };
901
+ }
902
+ });
903
+
904
+ // ../../node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/factoryWithThrowingShims.js
905
+ var require_factoryWithThrowingShims = __commonJS({
906
+ "../../node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/factoryWithThrowingShims.js"(exports$1, module) {
907
+ var ReactPropTypesSecret = require_ReactPropTypesSecret();
908
+ function emptyFunction() {
909
+ }
910
+ function emptyFunctionWithReset() {
911
+ }
912
+ emptyFunctionWithReset.resetWarningCache = emptyFunction;
913
+ module.exports = function() {
914
+ function shim(props, propName, componentName, location, propFullName, secret) {
915
+ if (secret === ReactPropTypesSecret) {
916
+ return;
917
+ }
918
+ var err = new Error(
919
+ "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"
920
+ );
921
+ err.name = "Invariant Violation";
922
+ throw err;
923
+ }
924
+ shim.isRequired = shim;
925
+ function getShim() {
926
+ return shim;
927
+ }
928
+ var ReactPropTypes = {
929
+ array: shim,
930
+ bigint: shim,
931
+ bool: shim,
932
+ func: shim,
933
+ number: shim,
934
+ object: shim,
935
+ string: shim,
936
+ symbol: shim,
937
+ any: shim,
938
+ arrayOf: getShim,
939
+ element: shim,
940
+ elementType: shim,
941
+ instanceOf: getShim,
942
+ node: shim,
943
+ objectOf: getShim,
944
+ oneOf: getShim,
945
+ oneOfType: getShim,
946
+ shape: getShim,
947
+ exact: getShim,
948
+ checkPropTypes: emptyFunctionWithReset,
949
+ resetWarningCache: emptyFunction
950
+ };
951
+ ReactPropTypes.PropTypes = ReactPropTypes;
952
+ return ReactPropTypes;
953
+ };
954
+ }
955
+ });
956
+
957
+ // ../../node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js
958
+ var require_prop_types = __commonJS({
959
+ "../../node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js"(exports$1, module) {
960
+ if (process.env.NODE_ENV !== "production") {
961
+ ReactIs = require_react_is();
962
+ throwOnDirectAccess = true;
963
+ module.exports = require_factoryWithTypeCheckers()(ReactIs.isElement, throwOnDirectAccess);
964
+ } else {
965
+ module.exports = require_factoryWithThrowingShims()();
966
+ }
967
+ var ReactIs;
968
+ var throwOnDirectAccess;
969
+ }
970
+ });
17
971
 
18
972
  // ../../node_modules/.pnpm/@fortawesome+fontawesome-svg-core@6.7.2/node_modules/@fortawesome/fontawesome-svg-core/package.json
19
973
  var require_package = __commonJS({
@@ -11002,7 +11956,8 @@ __export(slots_exports, {
11002
11956
  SlotDelete: () => SlotDelete,
11003
11957
  SlotDragHandle: () => SlotDragHandle,
11004
11958
  SlotElements: () => SlotElements,
11005
- SlotEnable: () => SlotEnable
11959
+ SlotEnable: () => SlotEnable,
11960
+ useSlotContext: () => useSlotContext
11006
11961
  });
11007
11962
 
11008
11963
  // src/components/slots/SlotElements.tsx
@@ -14006,6 +14961,9 @@ var icon = api.icon;
14006
14961
  api.layer;
14007
14962
  api.text;
14008
14963
  api.counter;
14964
+
14965
+ // ../../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
14966
+ var import_prop_types = __toESM(require_prop_types());
14009
14967
  function _arrayLikeToArray(r3, a) {
14010
14968
  (null == a || a > r3.length) && (a = r3.length);
14011
14969
  for (var e = 0, n = Array(a); e < a; e++) n[e] = r3[e];
@@ -14354,36 +15312,36 @@ var FontAwesomeIcon = /* @__PURE__ */ React45__default.forwardRef(function(props
14354
15312
  });
14355
15313
  FontAwesomeIcon.displayName = "FontAwesomeIcon";
14356
15314
  FontAwesomeIcon.propTypes = {
14357
- beat: PropTypes.bool,
14358
- border: PropTypes.bool,
14359
- beatFade: PropTypes.bool,
14360
- bounce: PropTypes.bool,
14361
- className: PropTypes.string,
14362
- fade: PropTypes.bool,
14363
- flash: PropTypes.bool,
14364
- mask: PropTypes.oneOfType([PropTypes.object, PropTypes.array, PropTypes.string]),
14365
- maskId: PropTypes.string,
15315
+ beat: import_prop_types.default.bool,
15316
+ border: import_prop_types.default.bool,
15317
+ beatFade: import_prop_types.default.bool,
15318
+ bounce: import_prop_types.default.bool,
15319
+ className: import_prop_types.default.string,
15320
+ fade: import_prop_types.default.bool,
15321
+ flash: import_prop_types.default.bool,
15322
+ mask: import_prop_types.default.oneOfType([import_prop_types.default.object, import_prop_types.default.array, import_prop_types.default.string]),
15323
+ maskId: import_prop_types.default.string,
14366
15324
  // the fixedWidth property has been deprecated as of version 7
14367
- fixedWidth: PropTypes.bool,
14368
- inverse: PropTypes.bool,
14369
- flip: PropTypes.oneOf([true, false, "horizontal", "vertical", "both"]),
14370
- icon: PropTypes.oneOfType([PropTypes.object, PropTypes.array, PropTypes.string]),
14371
- listItem: PropTypes.bool,
14372
- pull: PropTypes.oneOf(["right", "left"]),
14373
- pulse: PropTypes.bool,
14374
- rotation: PropTypes.oneOf([0, 90, 180, 270]),
14375
- rotateBy: PropTypes.bool,
14376
- shake: PropTypes.bool,
14377
- size: PropTypes.oneOf(["2xs", "xs", "sm", "lg", "xl", "2xl", "1x", "2x", "3x", "4x", "5x", "6x", "7x", "8x", "9x", "10x"]),
14378
- spin: PropTypes.bool,
14379
- spinPulse: PropTypes.bool,
14380
- spinReverse: PropTypes.bool,
14381
- symbol: PropTypes.oneOfType([PropTypes.bool, PropTypes.string]),
14382
- title: PropTypes.string,
14383
- titleId: PropTypes.string,
14384
- transform: PropTypes.oneOfType([PropTypes.string, PropTypes.object]),
14385
- swapOpacity: PropTypes.bool,
14386
- widthAuto: PropTypes.bool
15325
+ fixedWidth: import_prop_types.default.bool,
15326
+ inverse: import_prop_types.default.bool,
15327
+ flip: import_prop_types.default.oneOf([true, false, "horizontal", "vertical", "both"]),
15328
+ icon: import_prop_types.default.oneOfType([import_prop_types.default.object, import_prop_types.default.array, import_prop_types.default.string]),
15329
+ listItem: import_prop_types.default.bool,
15330
+ pull: import_prop_types.default.oneOf(["right", "left"]),
15331
+ pulse: import_prop_types.default.bool,
15332
+ rotation: import_prop_types.default.oneOf([0, 90, 180, 270]),
15333
+ rotateBy: import_prop_types.default.bool,
15334
+ shake: import_prop_types.default.bool,
15335
+ size: import_prop_types.default.oneOf(["2xs", "xs", "sm", "lg", "xl", "2xl", "1x", "2x", "3x", "4x", "5x", "6x", "7x", "8x", "9x", "10x"]),
15336
+ spin: import_prop_types.default.bool,
15337
+ spinPulse: import_prop_types.default.bool,
15338
+ spinReverse: import_prop_types.default.bool,
15339
+ symbol: import_prop_types.default.oneOfType([import_prop_types.default.bool, import_prop_types.default.string]),
15340
+ title: import_prop_types.default.string,
15341
+ titleId: import_prop_types.default.string,
15342
+ transform: import_prop_types.default.oneOfType([import_prop_types.default.string, import_prop_types.default.object]),
15343
+ swapOpacity: import_prop_types.default.bool,
15344
+ widthAuto: import_prop_types.default.bool
14387
15345
  };
14388
15346
  var convertCurry = convert.bind(null, React45__default.createElement);
14389
15347
 
@@ -14410,8 +15368,47 @@ var SlotDragHandle = (props) => {
14410
15368
  const { slotId } = props;
14411
15369
  return /* @__PURE__ */ React.createElement("div", { className: "uii:cursor-grab" }, /* @__PURE__ */ React.createElement(FontAwesomeIcon, { icon: faGripVertical }));
14412
15370
  };
15371
+
15372
+ // src/components/slots/index.tsx
15373
+ function useSlotContext(slotId) {
15374
+ const devContext = useContext(DevContext);
15375
+ const [activeSlotId, setActiveSlotId] = useState(void 0);
15376
+ useEffect(() => {
15377
+ if (devContext) {
15378
+ setActiveSlotId(devContext.activeSlotId ?? void 0);
15379
+ }
15380
+ }, [devContext, slotId]);
15381
+ return { active: (activeSlotId ?? "") === slotId, enabled: true };
15382
+ }
14413
15383
  /*! Bundled license information:
14414
15384
 
15385
+ react-is/cjs/react-is.production.min.js:
15386
+ (** @license React v16.13.1
15387
+ * react-is.production.min.js
15388
+ *
15389
+ * Copyright (c) Facebook, Inc. and its affiliates.
15390
+ *
15391
+ * This source code is licensed under the MIT license found in the
15392
+ * LICENSE file in the root directory of this source tree.
15393
+ *)
15394
+
15395
+ react-is/cjs/react-is.development.js:
15396
+ (** @license React v16.13.1
15397
+ * react-is.development.js
15398
+ *
15399
+ * Copyright (c) Facebook, Inc. and its affiliates.
15400
+ *
15401
+ * This source code is licensed under the MIT license found in the
15402
+ * LICENSE file in the root directory of this source tree.
15403
+ *)
15404
+
15405
+ object-assign/index.js:
15406
+ (*
15407
+ object-assign
15408
+ (c) Sindre Sorhus
15409
+ @license MIT
15410
+ *)
15411
+
14415
15412
  lucide-react/dist/esm/shared/src/utils.js:
14416
15413
  lucide-react/dist/esm/defaultAttributes.js:
14417
15414
  lucide-react/dist/esm/Icon.js: