@suportepos/split-checkout 0.4.4 → 0.4.6

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.es.js CHANGED
@@ -1181,7 +1181,7 @@ function serializeStyles(args, registered, mergedProps) {
1181
1181
  };
1182
1182
  }
1183
1183
  var propTypes = { exports: {} };
1184
- var reactIs$1 = { exports: {} };
1184
+ var reactIs$2 = { exports: {} };
1185
1185
  var reactIs_production_min = {};
1186
1186
  /** @license React v16.13.1
1187
1187
  * react-is.production.min.js
@@ -1285,7 +1285,7 @@ function requireReactIs_production_min() {
1285
1285
  reactIs_production_min.typeOf = z;
1286
1286
  return reactIs_production_min;
1287
1287
  }
1288
- var reactIs_development$1 = {};
1288
+ var reactIs_development$2 = {};
1289
1289
  /** @license React v16.13.1
1290
1290
  * react-is.development.js
1291
1291
  *
@@ -1294,10 +1294,10 @@ var reactIs_development$1 = {};
1294
1294
  * This source code is licensed under the MIT license found in the
1295
1295
  * LICENSE file in the root directory of this source tree.
1296
1296
  */
1297
- var hasRequiredReactIs_development$1;
1298
- function requireReactIs_development$1() {
1299
- if (hasRequiredReactIs_development$1) return reactIs_development$1;
1300
- hasRequiredReactIs_development$1 = 1;
1297
+ var hasRequiredReactIs_development$2;
1298
+ function requireReactIs_development$2() {
1299
+ if (hasRequiredReactIs_development$2) return reactIs_development$2;
1300
+ hasRequiredReactIs_development$2 = 1;
1301
1301
  if (process.env.NODE_ENV !== "production") {
1302
1302
  (function() {
1303
1303
  var hasSymbol2 = typeof Symbol === "function" && Symbol.for;
@@ -1415,48 +1415,48 @@ function requireReactIs_development$1() {
1415
1415
  function isSuspense(object) {
1416
1416
  return typeOf(object) === REACT_SUSPENSE_TYPE;
1417
1417
  }
1418
- reactIs_development$1.AsyncMode = AsyncMode;
1419
- reactIs_development$1.ConcurrentMode = ConcurrentMode;
1420
- reactIs_development$1.ContextConsumer = ContextConsumer;
1421
- reactIs_development$1.ContextProvider = ContextProvider;
1422
- reactIs_development$1.Element = Element2;
1423
- reactIs_development$1.ForwardRef = ForwardRef;
1424
- reactIs_development$1.Fragment = Fragment;
1425
- reactIs_development$1.Lazy = Lazy;
1426
- reactIs_development$1.Memo = Memo;
1427
- reactIs_development$1.Portal = Portal3;
1428
- reactIs_development$1.Profiler = Profiler;
1429
- reactIs_development$1.StrictMode = StrictMode;
1430
- reactIs_development$1.Suspense = Suspense;
1431
- reactIs_development$1.isAsyncMode = isAsyncMode;
1432
- reactIs_development$1.isConcurrentMode = isConcurrentMode;
1433
- reactIs_development$1.isContextConsumer = isContextConsumer;
1434
- reactIs_development$1.isContextProvider = isContextProvider;
1435
- reactIs_development$1.isElement = isElement;
1436
- reactIs_development$1.isForwardRef = isForwardRef;
1437
- reactIs_development$1.isFragment = isFragment;
1438
- reactIs_development$1.isLazy = isLazy;
1439
- reactIs_development$1.isMemo = isMemo;
1440
- reactIs_development$1.isPortal = isPortal;
1441
- reactIs_development$1.isProfiler = isProfiler;
1442
- reactIs_development$1.isStrictMode = isStrictMode;
1443
- reactIs_development$1.isSuspense = isSuspense;
1444
- reactIs_development$1.isValidElementType = isValidElementType;
1445
- reactIs_development$1.typeOf = typeOf;
1418
+ reactIs_development$2.AsyncMode = AsyncMode;
1419
+ reactIs_development$2.ConcurrentMode = ConcurrentMode;
1420
+ reactIs_development$2.ContextConsumer = ContextConsumer;
1421
+ reactIs_development$2.ContextProvider = ContextProvider;
1422
+ reactIs_development$2.Element = Element2;
1423
+ reactIs_development$2.ForwardRef = ForwardRef;
1424
+ reactIs_development$2.Fragment = Fragment;
1425
+ reactIs_development$2.Lazy = Lazy;
1426
+ reactIs_development$2.Memo = Memo;
1427
+ reactIs_development$2.Portal = Portal3;
1428
+ reactIs_development$2.Profiler = Profiler;
1429
+ reactIs_development$2.StrictMode = StrictMode;
1430
+ reactIs_development$2.Suspense = Suspense;
1431
+ reactIs_development$2.isAsyncMode = isAsyncMode;
1432
+ reactIs_development$2.isConcurrentMode = isConcurrentMode;
1433
+ reactIs_development$2.isContextConsumer = isContextConsumer;
1434
+ reactIs_development$2.isContextProvider = isContextProvider;
1435
+ reactIs_development$2.isElement = isElement;
1436
+ reactIs_development$2.isForwardRef = isForwardRef;
1437
+ reactIs_development$2.isFragment = isFragment;
1438
+ reactIs_development$2.isLazy = isLazy;
1439
+ reactIs_development$2.isMemo = isMemo;
1440
+ reactIs_development$2.isPortal = isPortal;
1441
+ reactIs_development$2.isProfiler = isProfiler;
1442
+ reactIs_development$2.isStrictMode = isStrictMode;
1443
+ reactIs_development$2.isSuspense = isSuspense;
1444
+ reactIs_development$2.isValidElementType = isValidElementType;
1445
+ reactIs_development$2.typeOf = typeOf;
1446
1446
  })();
1447
1447
  }
1448
- return reactIs_development$1;
1448
+ return reactIs_development$2;
1449
1449
  }
1450
- var hasRequiredReactIs$1;
1451
- function requireReactIs$1() {
1452
- if (hasRequiredReactIs$1) return reactIs$1.exports;
1453
- hasRequiredReactIs$1 = 1;
1450
+ var hasRequiredReactIs$2;
1451
+ function requireReactIs$2() {
1452
+ if (hasRequiredReactIs$2) return reactIs$2.exports;
1453
+ hasRequiredReactIs$2 = 1;
1454
1454
  if (process.env.NODE_ENV === "production") {
1455
- reactIs$1.exports = requireReactIs_production_min();
1455
+ reactIs$2.exports = requireReactIs_production_min();
1456
1456
  } else {
1457
- reactIs$1.exports = requireReactIs_development$1();
1457
+ reactIs$2.exports = requireReactIs_development$2();
1458
1458
  }
1459
- return reactIs$1.exports;
1459
+ return reactIs$2.exports;
1460
1460
  }
1461
1461
  /*
1462
1462
  object-assign
@@ -1618,7 +1618,7 @@ var hasRequiredFactoryWithTypeCheckers;
1618
1618
  function requireFactoryWithTypeCheckers() {
1619
1619
  if (hasRequiredFactoryWithTypeCheckers) return factoryWithTypeCheckers;
1620
1620
  hasRequiredFactoryWithTypeCheckers = 1;
1621
- var ReactIs = requireReactIs$1();
1621
+ var ReactIs = requireReactIs$2();
1622
1622
  var assign = requireObjectAssign();
1623
1623
  var ReactPropTypesSecret = /* @__PURE__ */ requireReactPropTypesSecret();
1624
1624
  var has2 = /* @__PURE__ */ requireHas();
@@ -2115,7 +2115,7 @@ function requirePropTypes() {
2115
2115
  if (hasRequiredPropTypes) return propTypes.exports;
2116
2116
  hasRequiredPropTypes = 1;
2117
2117
  if (process.env.NODE_ENV !== "production") {
2118
- var ReactIs = requireReactIs$1();
2118
+ var ReactIs = requireReactIs$2();
2119
2119
  var throwOnDirectAccess = true;
2120
2120
  propTypes.exports = /* @__PURE__ */ requireFactoryWithTypeCheckers()(ReactIs.isElement, throwOnDirectAccess);
2121
2121
  } else {
@@ -2143,7 +2143,7 @@ process.env.NODE_ENV !== "production" ? GlobalStyles$2.propTypes = {
2143
2143
  styles: PropTypes.oneOfType([PropTypes.array, PropTypes.string, PropTypes.object, PropTypes.func])
2144
2144
  } : void 0;
2145
2145
  /**
2146
- * @mui/styled-engine v7.3.1
2146
+ * @mui/styled-engine v7.3.2
2147
2147
  *
2148
2148
  * @license MIT
2149
2149
  * This source code is licensed under the MIT license found in the
@@ -2174,8 +2174,8 @@ function internal_serializeStyles(styles2) {
2174
2174
  wrapper[0] = styles2;
2175
2175
  return serializeStyles(wrapper);
2176
2176
  }
2177
- var reactIs = { exports: {} };
2178
- var reactIs_production = {};
2177
+ var reactIs$1 = { exports: {} };
2178
+ var reactIs_production$1 = {};
2179
2179
  /**
2180
2180
  * @license React
2181
2181
  * react-is.production.js
@@ -2185,10 +2185,10 @@ var reactIs_production = {};
2185
2185
  * This source code is licensed under the MIT license found in the
2186
2186
  * LICENSE file in the root directory of this source tree.
2187
2187
  */
2188
- var hasRequiredReactIs_production;
2189
- function requireReactIs_production() {
2190
- if (hasRequiredReactIs_production) return reactIs_production;
2191
- hasRequiredReactIs_production = 1;
2188
+ var hasRequiredReactIs_production$1;
2189
+ function requireReactIs_production$1() {
2190
+ if (hasRequiredReactIs_production$1) return reactIs_production$1;
2191
+ hasRequiredReactIs_production$1 = 1;
2192
2192
  var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"), REACT_PORTAL_TYPE = Symbol.for("react.portal"), REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"), REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"), REACT_PROFILER_TYPE = Symbol.for("react.profiler");
2193
2193
  var REACT_CONSUMER_TYPE = Symbol.for("react.consumer"), REACT_CONTEXT_TYPE = Symbol.for("react.context"), REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"), REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"), REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"), REACT_MEMO_TYPE = Symbol.for("react.memo"), REACT_LAZY_TYPE = Symbol.for("react.lazy"), REACT_VIEW_TRANSITION_TYPE = Symbol.for("react.view_transition"), REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference");
2194
2194
  function typeOf(object) {
@@ -2222,61 +2222,61 @@ function requireReactIs_production() {
2222
2222
  }
2223
2223
  }
2224
2224
  }
2225
- reactIs_production.ContextConsumer = REACT_CONSUMER_TYPE;
2226
- reactIs_production.ContextProvider = REACT_CONTEXT_TYPE;
2227
- reactIs_production.Element = REACT_ELEMENT_TYPE;
2228
- reactIs_production.ForwardRef = REACT_FORWARD_REF_TYPE;
2229
- reactIs_production.Fragment = REACT_FRAGMENT_TYPE;
2230
- reactIs_production.Lazy = REACT_LAZY_TYPE;
2231
- reactIs_production.Memo = REACT_MEMO_TYPE;
2232
- reactIs_production.Portal = REACT_PORTAL_TYPE;
2233
- reactIs_production.Profiler = REACT_PROFILER_TYPE;
2234
- reactIs_production.StrictMode = REACT_STRICT_MODE_TYPE;
2235
- reactIs_production.Suspense = REACT_SUSPENSE_TYPE;
2236
- reactIs_production.SuspenseList = REACT_SUSPENSE_LIST_TYPE;
2237
- reactIs_production.isContextConsumer = function(object) {
2225
+ reactIs_production$1.ContextConsumer = REACT_CONSUMER_TYPE;
2226
+ reactIs_production$1.ContextProvider = REACT_CONTEXT_TYPE;
2227
+ reactIs_production$1.Element = REACT_ELEMENT_TYPE;
2228
+ reactIs_production$1.ForwardRef = REACT_FORWARD_REF_TYPE;
2229
+ reactIs_production$1.Fragment = REACT_FRAGMENT_TYPE;
2230
+ reactIs_production$1.Lazy = REACT_LAZY_TYPE;
2231
+ reactIs_production$1.Memo = REACT_MEMO_TYPE;
2232
+ reactIs_production$1.Portal = REACT_PORTAL_TYPE;
2233
+ reactIs_production$1.Profiler = REACT_PROFILER_TYPE;
2234
+ reactIs_production$1.StrictMode = REACT_STRICT_MODE_TYPE;
2235
+ reactIs_production$1.Suspense = REACT_SUSPENSE_TYPE;
2236
+ reactIs_production$1.SuspenseList = REACT_SUSPENSE_LIST_TYPE;
2237
+ reactIs_production$1.isContextConsumer = function(object) {
2238
2238
  return typeOf(object) === REACT_CONSUMER_TYPE;
2239
2239
  };
2240
- reactIs_production.isContextProvider = function(object) {
2240
+ reactIs_production$1.isContextProvider = function(object) {
2241
2241
  return typeOf(object) === REACT_CONTEXT_TYPE;
2242
2242
  };
2243
- reactIs_production.isElement = function(object) {
2243
+ reactIs_production$1.isElement = function(object) {
2244
2244
  return "object" === typeof object && null !== object && object.$$typeof === REACT_ELEMENT_TYPE;
2245
2245
  };
2246
- reactIs_production.isForwardRef = function(object) {
2246
+ reactIs_production$1.isForwardRef = function(object) {
2247
2247
  return typeOf(object) === REACT_FORWARD_REF_TYPE;
2248
2248
  };
2249
- reactIs_production.isFragment = function(object) {
2249
+ reactIs_production$1.isFragment = function(object) {
2250
2250
  return typeOf(object) === REACT_FRAGMENT_TYPE;
2251
2251
  };
2252
- reactIs_production.isLazy = function(object) {
2252
+ reactIs_production$1.isLazy = function(object) {
2253
2253
  return typeOf(object) === REACT_LAZY_TYPE;
2254
2254
  };
2255
- reactIs_production.isMemo = function(object) {
2255
+ reactIs_production$1.isMemo = function(object) {
2256
2256
  return typeOf(object) === REACT_MEMO_TYPE;
2257
2257
  };
2258
- reactIs_production.isPortal = function(object) {
2258
+ reactIs_production$1.isPortal = function(object) {
2259
2259
  return typeOf(object) === REACT_PORTAL_TYPE;
2260
2260
  };
2261
- reactIs_production.isProfiler = function(object) {
2261
+ reactIs_production$1.isProfiler = function(object) {
2262
2262
  return typeOf(object) === REACT_PROFILER_TYPE;
2263
2263
  };
2264
- reactIs_production.isStrictMode = function(object) {
2264
+ reactIs_production$1.isStrictMode = function(object) {
2265
2265
  return typeOf(object) === REACT_STRICT_MODE_TYPE;
2266
2266
  };
2267
- reactIs_production.isSuspense = function(object) {
2267
+ reactIs_production$1.isSuspense = function(object) {
2268
2268
  return typeOf(object) === REACT_SUSPENSE_TYPE;
2269
2269
  };
2270
- reactIs_production.isSuspenseList = function(object) {
2270
+ reactIs_production$1.isSuspenseList = function(object) {
2271
2271
  return typeOf(object) === REACT_SUSPENSE_LIST_TYPE;
2272
2272
  };
2273
- reactIs_production.isValidElementType = function(type) {
2273
+ reactIs_production$1.isValidElementType = function(type) {
2274
2274
  return "string" === typeof type || "function" === typeof type || type === REACT_FRAGMENT_TYPE || type === REACT_PROFILER_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || "object" === typeof type && null !== type && (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_CONSUMER_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_CLIENT_REFERENCE || void 0 !== type.getModuleId) ? true : false;
2275
2275
  };
2276
- reactIs_production.typeOf = typeOf;
2277
- return reactIs_production;
2276
+ reactIs_production$1.typeOf = typeOf;
2277
+ return reactIs_production$1;
2278
2278
  }
2279
- var reactIs_development = {};
2279
+ var reactIs_development$1 = {};
2280
2280
  /**
2281
2281
  * @license React
2282
2282
  * react-is.development.js
@@ -2286,10 +2286,10 @@ var reactIs_development = {};
2286
2286
  * This source code is licensed under the MIT license found in the
2287
2287
  * LICENSE file in the root directory of this source tree.
2288
2288
  */
2289
- var hasRequiredReactIs_development;
2290
- function requireReactIs_development() {
2291
- if (hasRequiredReactIs_development) return reactIs_development;
2292
- hasRequiredReactIs_development = 1;
2289
+ var hasRequiredReactIs_development$1;
2290
+ function requireReactIs_development$1() {
2291
+ if (hasRequiredReactIs_development$1) return reactIs_development$1;
2292
+ hasRequiredReactIs_development$1 = 1;
2293
2293
  "production" !== process.env.NODE_ENV && (function() {
2294
2294
  function typeOf(object) {
2295
2295
  if ("object" === typeof object && null !== object) {
@@ -2324,73 +2324,73 @@ function requireReactIs_development() {
2324
2324
  }
2325
2325
  var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"), REACT_PORTAL_TYPE = Symbol.for("react.portal"), REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"), REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"), REACT_PROFILER_TYPE = Symbol.for("react.profiler");
2326
2326
  var REACT_CONSUMER_TYPE = Symbol.for("react.consumer"), REACT_CONTEXT_TYPE = Symbol.for("react.context"), REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"), REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"), REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"), REACT_MEMO_TYPE = Symbol.for("react.memo"), REACT_LAZY_TYPE = Symbol.for("react.lazy"), REACT_VIEW_TRANSITION_TYPE = Symbol.for("react.view_transition"), REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference");
2327
- reactIs_development.ContextConsumer = REACT_CONSUMER_TYPE;
2328
- reactIs_development.ContextProvider = REACT_CONTEXT_TYPE;
2329
- reactIs_development.Element = REACT_ELEMENT_TYPE;
2330
- reactIs_development.ForwardRef = REACT_FORWARD_REF_TYPE;
2331
- reactIs_development.Fragment = REACT_FRAGMENT_TYPE;
2332
- reactIs_development.Lazy = REACT_LAZY_TYPE;
2333
- reactIs_development.Memo = REACT_MEMO_TYPE;
2334
- reactIs_development.Portal = REACT_PORTAL_TYPE;
2335
- reactIs_development.Profiler = REACT_PROFILER_TYPE;
2336
- reactIs_development.StrictMode = REACT_STRICT_MODE_TYPE;
2337
- reactIs_development.Suspense = REACT_SUSPENSE_TYPE;
2338
- reactIs_development.SuspenseList = REACT_SUSPENSE_LIST_TYPE;
2339
- reactIs_development.isContextConsumer = function(object) {
2327
+ reactIs_development$1.ContextConsumer = REACT_CONSUMER_TYPE;
2328
+ reactIs_development$1.ContextProvider = REACT_CONTEXT_TYPE;
2329
+ reactIs_development$1.Element = REACT_ELEMENT_TYPE;
2330
+ reactIs_development$1.ForwardRef = REACT_FORWARD_REF_TYPE;
2331
+ reactIs_development$1.Fragment = REACT_FRAGMENT_TYPE;
2332
+ reactIs_development$1.Lazy = REACT_LAZY_TYPE;
2333
+ reactIs_development$1.Memo = REACT_MEMO_TYPE;
2334
+ reactIs_development$1.Portal = REACT_PORTAL_TYPE;
2335
+ reactIs_development$1.Profiler = REACT_PROFILER_TYPE;
2336
+ reactIs_development$1.StrictMode = REACT_STRICT_MODE_TYPE;
2337
+ reactIs_development$1.Suspense = REACT_SUSPENSE_TYPE;
2338
+ reactIs_development$1.SuspenseList = REACT_SUSPENSE_LIST_TYPE;
2339
+ reactIs_development$1.isContextConsumer = function(object) {
2340
2340
  return typeOf(object) === REACT_CONSUMER_TYPE;
2341
2341
  };
2342
- reactIs_development.isContextProvider = function(object) {
2342
+ reactIs_development$1.isContextProvider = function(object) {
2343
2343
  return typeOf(object) === REACT_CONTEXT_TYPE;
2344
2344
  };
2345
- reactIs_development.isElement = function(object) {
2345
+ reactIs_development$1.isElement = function(object) {
2346
2346
  return "object" === typeof object && null !== object && object.$$typeof === REACT_ELEMENT_TYPE;
2347
2347
  };
2348
- reactIs_development.isForwardRef = function(object) {
2348
+ reactIs_development$1.isForwardRef = function(object) {
2349
2349
  return typeOf(object) === REACT_FORWARD_REF_TYPE;
2350
2350
  };
2351
- reactIs_development.isFragment = function(object) {
2351
+ reactIs_development$1.isFragment = function(object) {
2352
2352
  return typeOf(object) === REACT_FRAGMENT_TYPE;
2353
2353
  };
2354
- reactIs_development.isLazy = function(object) {
2354
+ reactIs_development$1.isLazy = function(object) {
2355
2355
  return typeOf(object) === REACT_LAZY_TYPE;
2356
2356
  };
2357
- reactIs_development.isMemo = function(object) {
2357
+ reactIs_development$1.isMemo = function(object) {
2358
2358
  return typeOf(object) === REACT_MEMO_TYPE;
2359
2359
  };
2360
- reactIs_development.isPortal = function(object) {
2360
+ reactIs_development$1.isPortal = function(object) {
2361
2361
  return typeOf(object) === REACT_PORTAL_TYPE;
2362
2362
  };
2363
- reactIs_development.isProfiler = function(object) {
2363
+ reactIs_development$1.isProfiler = function(object) {
2364
2364
  return typeOf(object) === REACT_PROFILER_TYPE;
2365
2365
  };
2366
- reactIs_development.isStrictMode = function(object) {
2366
+ reactIs_development$1.isStrictMode = function(object) {
2367
2367
  return typeOf(object) === REACT_STRICT_MODE_TYPE;
2368
2368
  };
2369
- reactIs_development.isSuspense = function(object) {
2369
+ reactIs_development$1.isSuspense = function(object) {
2370
2370
  return typeOf(object) === REACT_SUSPENSE_TYPE;
2371
2371
  };
2372
- reactIs_development.isSuspenseList = function(object) {
2372
+ reactIs_development$1.isSuspenseList = function(object) {
2373
2373
  return typeOf(object) === REACT_SUSPENSE_LIST_TYPE;
2374
2374
  };
2375
- reactIs_development.isValidElementType = function(type) {
2375
+ reactIs_development$1.isValidElementType = function(type) {
2376
2376
  return "string" === typeof type || "function" === typeof type || type === REACT_FRAGMENT_TYPE || type === REACT_PROFILER_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || "object" === typeof type && null !== type && (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_CONSUMER_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_CLIENT_REFERENCE || void 0 !== type.getModuleId) ? true : false;
2377
2377
  };
2378
- reactIs_development.typeOf = typeOf;
2378
+ reactIs_development$1.typeOf = typeOf;
2379
2379
  })();
2380
- return reactIs_development;
2380
+ return reactIs_development$1;
2381
2381
  }
2382
- var hasRequiredReactIs;
2383
- function requireReactIs() {
2384
- if (hasRequiredReactIs) return reactIs.exports;
2385
- hasRequiredReactIs = 1;
2382
+ var hasRequiredReactIs$1;
2383
+ function requireReactIs$1() {
2384
+ if (hasRequiredReactIs$1) return reactIs$1.exports;
2385
+ hasRequiredReactIs$1 = 1;
2386
2386
  if (process.env.NODE_ENV === "production") {
2387
- reactIs.exports = /* @__PURE__ */ requireReactIs_production();
2387
+ reactIs$1.exports = /* @__PURE__ */ requireReactIs_production$1();
2388
2388
  } else {
2389
- reactIs.exports = /* @__PURE__ */ requireReactIs_development();
2389
+ reactIs$1.exports = /* @__PURE__ */ requireReactIs_development$1();
2390
2390
  }
2391
- return reactIs.exports;
2391
+ return reactIs$1.exports;
2392
2392
  }
2393
- var reactIsExports = /* @__PURE__ */ requireReactIs();
2393
+ var reactIsExports$1 = /* @__PURE__ */ requireReactIs$1();
2394
2394
  function isPlainObject(item) {
2395
2395
  if (typeof item !== "object" || item === null) {
2396
2396
  return false;
@@ -2399,7 +2399,7 @@ function isPlainObject(item) {
2399
2399
  return (prototype === null || prototype === Object.prototype || Object.getPrototypeOf(prototype) === null) && !(Symbol.toStringTag in item) && !(Symbol.iterator in item);
2400
2400
  }
2401
2401
  function deepClone(source) {
2402
- if (/* @__PURE__ */ React.isValidElement(source) || reactIsExports.isValidElementType(source) || !isPlainObject(source)) {
2402
+ if (/* @__PURE__ */ React.isValidElement(source) || reactIsExports$1.isValidElementType(source) || !isPlainObject(source)) {
2403
2403
  return source;
2404
2404
  }
2405
2405
  const output = {};
@@ -2416,7 +2416,7 @@ function deepmerge(target, source, options = {
2416
2416
  } : target;
2417
2417
  if (isPlainObject(target) && isPlainObject(source)) {
2418
2418
  Object.keys(source).forEach((key) => {
2419
- if (/* @__PURE__ */ React.isValidElement(source[key]) || reactIsExports.isValidElementType(source[key])) {
2419
+ if (/* @__PURE__ */ React.isValidElement(source[key]) || reactIsExports$1.isValidElementType(source[key])) {
2420
2420
  output[key] = source[key];
2421
2421
  } else if (isPlainObject(source[key]) && // Avoid prototype pollution
2422
2422
  Object.prototype.hasOwnProperty.call(target, key) && isPlainObject(target[key])) {
@@ -2505,8 +2505,8 @@ function createBreakpoints(breakpoints) {
2505
2505
  ...other
2506
2506
  };
2507
2507
  }
2508
- function sortContainerQueries(theme2, css2) {
2509
- if (!theme2.containerQueries) {
2508
+ function sortContainerQueries(theme, css2) {
2509
+ if (!theme.containerQueries) {
2510
2510
  return css2;
2511
2511
  }
2512
2512
  const sorted = Object.keys(css2).filter((key) => key.startsWith("@container")).sort((a, b) => {
@@ -2528,7 +2528,7 @@ function sortContainerQueries(theme2, css2) {
2528
2528
  function isCqShorthand(breakpointKeys, value) {
2529
2529
  return value === "@" || value.startsWith("@") && (breakpointKeys.some((key) => value.startsWith(`@${key}`)) || !!value.match(/^@\d/));
2530
2530
  }
2531
- function getContainerQuery(theme2, shorthand) {
2531
+ function getContainerQuery(theme, shorthand) {
2532
2532
  const matches = shorthand.match(/^@([^/]+)?\/?(.+)?$/);
2533
2533
  if (!matches) {
2534
2534
  if (process.env.NODE_ENV !== "production") {
@@ -2539,7 +2539,7 @@ For example, \`@sm\` or \`@600\` or \`@40rem/sidebar\`.` : formatMuiErrorMessage
2539
2539
  }
2540
2540
  const [, containerQuery, containerName] = matches;
2541
2541
  const value = Number.isNaN(+containerQuery) ? containerQuery || 0 : +containerQuery;
2542
- return theme2.containerQueries(containerName).up(value);
2542
+ return theme.containerQueries(containerName).up(value);
2543
2543
  }
2544
2544
  function cssContainerQueries(themeInput) {
2545
2545
  const toContainerQuery = (mediaQuery, name) => mediaQuery.replace("@media", name ? `@container ${name}` : "@container");
@@ -2610,19 +2610,19 @@ const defaultContainerQueries = {
2610
2610
  })
2611
2611
  };
2612
2612
  function handleBreakpoints(props, propValue, styleFromPropValue) {
2613
- const theme2 = props.theme || {};
2613
+ const theme = props.theme || {};
2614
2614
  if (Array.isArray(propValue)) {
2615
- const themeBreakpoints = theme2.breakpoints || defaultBreakpoints;
2615
+ const themeBreakpoints = theme.breakpoints || defaultBreakpoints;
2616
2616
  return propValue.reduce((acc, item, index) => {
2617
2617
  acc[themeBreakpoints.up(themeBreakpoints.keys[index])] = styleFromPropValue(propValue[index]);
2618
2618
  return acc;
2619
2619
  }, {});
2620
2620
  }
2621
2621
  if (typeof propValue === "object") {
2622
- const themeBreakpoints = theme2.breakpoints || defaultBreakpoints;
2622
+ const themeBreakpoints = theme.breakpoints || defaultBreakpoints;
2623
2623
  return Object.keys(propValue).reduce((acc, breakpoint) => {
2624
2624
  if (isCqShorthand(themeBreakpoints.keys, breakpoint)) {
2625
- const containerKey = getContainerQuery(theme2.containerQueries ? theme2 : defaultContainerQueries, breakpoint);
2625
+ const containerKey = getContainerQuery(theme.containerQueries ? theme : defaultContainerQueries, breakpoint);
2626
2626
  if (containerKey) {
2627
2627
  acc[containerKey] = styleFromPropValue(propValue[breakpoint], breakpoint);
2628
2628
  }
@@ -2756,8 +2756,8 @@ function style$2(options) {
2756
2756
  return null;
2757
2757
  }
2758
2758
  const propValue = props[prop];
2759
- const theme2 = props.theme;
2760
- const themeMapping = getPath(theme2, themeKey) || {};
2759
+ const theme = props.theme;
2760
+ const themeMapping = getPath(theme, themeKey) || {};
2761
2761
  const styleFromPropValue = (propValueFinal) => {
2762
2762
  let value = getStyleValue$1(themeMapping, transform, propValueFinal);
2763
2763
  if (propValueFinal === value && typeof propValueFinal === "string") {
@@ -2821,8 +2821,8 @@ const getCssProperties = memoize((prop) => {
2821
2821
  const marginKeys = ["m", "mt", "mr", "mb", "ml", "mx", "my", "margin", "marginTop", "marginRight", "marginBottom", "marginLeft", "marginX", "marginY", "marginInline", "marginInlineStart", "marginInlineEnd", "marginBlock", "marginBlockStart", "marginBlockEnd"];
2822
2822
  const paddingKeys = ["p", "pt", "pr", "pb", "pl", "px", "py", "padding", "paddingTop", "paddingRight", "paddingBottom", "paddingLeft", "paddingX", "paddingY", "paddingInline", "paddingInlineStart", "paddingInlineEnd", "paddingBlock", "paddingBlockStart", "paddingBlockEnd"];
2823
2823
  const spacingKeys = [...marginKeys, ...paddingKeys];
2824
- function createUnaryUnit(theme2, themeKey, defaultValue, propName) {
2825
- const themeSpacing = getPath(theme2, themeKey, true) ?? defaultValue;
2824
+ function createUnaryUnit(theme, themeKey, defaultValue, propName) {
2825
+ const themeSpacing = getPath(theme, themeKey, true) ?? defaultValue;
2826
2826
  if (typeof themeSpacing === "number" || typeof themeSpacing === "string") {
2827
2827
  return (val) => {
2828
2828
  if (typeof val === "string") {
@@ -2879,8 +2879,8 @@ function createUnaryUnit(theme2, themeKey, defaultValue, propName) {
2879
2879
  }
2880
2880
  return () => void 0;
2881
2881
  }
2882
- function createUnarySpacing(theme2) {
2883
- return createUnaryUnit(theme2, "spacing", 8, "spacing");
2882
+ function createUnarySpacing(theme) {
2883
+ return createUnaryUnit(theme, "spacing", 8, "spacing");
2884
2884
  }
2885
2885
  function getValue(transformer, propValue) {
2886
2886
  if (typeof propValue === "string" || propValue == null) {
@@ -3457,10 +3457,10 @@ function callIfFn(maybeFn, arg2) {
3457
3457
  return typeof maybeFn === "function" ? maybeFn(arg2) : maybeFn;
3458
3458
  }
3459
3459
  function unstable_createStyleFunctionSx() {
3460
- function getThemeValue(prop, val, theme2, config2) {
3460
+ function getThemeValue(prop, val, theme, config2) {
3461
3461
  const props = {
3462
3462
  [prop]: val,
3463
- theme: theme2
3463
+ theme
3464
3464
  };
3465
3465
  const options = config2[prop];
3466
3466
  if (!options) {
@@ -3482,7 +3482,7 @@ function unstable_createStyleFunctionSx() {
3482
3482
  [prop]: val
3483
3483
  };
3484
3484
  }
3485
- const themeMapping = getPath(theme2, themeKey) || {};
3485
+ const themeMapping = getPath(theme, themeKey) || {};
3486
3486
  if (style2) {
3487
3487
  return style2(props);
3488
3488
  }
@@ -3503,42 +3503,42 @@ function unstable_createStyleFunctionSx() {
3503
3503
  function styleFunctionSx2(props) {
3504
3504
  const {
3505
3505
  sx,
3506
- theme: theme2 = {},
3506
+ theme = {},
3507
3507
  nested: nested2
3508
3508
  } = props || {};
3509
3509
  if (!sx) {
3510
3510
  return null;
3511
3511
  }
3512
- const config2 = theme2.unstable_sxConfig ?? defaultSxConfig;
3512
+ const config2 = theme.unstable_sxConfig ?? defaultSxConfig;
3513
3513
  function traverse(sxInput) {
3514
3514
  let sxObject = sxInput;
3515
3515
  if (typeof sxInput === "function") {
3516
- sxObject = sxInput(theme2);
3516
+ sxObject = sxInput(theme);
3517
3517
  } else if (typeof sxInput !== "object") {
3518
3518
  return sxInput;
3519
3519
  }
3520
3520
  if (!sxObject) {
3521
3521
  return null;
3522
3522
  }
3523
- const emptyBreakpoints = createEmptyBreakpointObject(theme2.breakpoints);
3523
+ const emptyBreakpoints = createEmptyBreakpointObject(theme.breakpoints);
3524
3524
  const breakpointsKeys = Object.keys(emptyBreakpoints);
3525
3525
  let css2 = emptyBreakpoints;
3526
3526
  Object.keys(sxObject).forEach((styleKey) => {
3527
- const value = callIfFn(sxObject[styleKey], theme2);
3527
+ const value = callIfFn(sxObject[styleKey], theme);
3528
3528
  if (value !== null && value !== void 0) {
3529
3529
  if (typeof value === "object") {
3530
3530
  if (config2[styleKey]) {
3531
- css2 = merge(css2, getThemeValue(styleKey, value, theme2, config2));
3531
+ css2 = merge(css2, getThemeValue(styleKey, value, theme, config2));
3532
3532
  } else {
3533
3533
  const breakpointsValues = handleBreakpoints({
3534
- theme: theme2
3534
+ theme
3535
3535
  }, value, (x) => ({
3536
3536
  [styleKey]: x
3537
3537
  }));
3538
3538
  if (objectsHaveSameKeys(breakpointsValues, value)) {
3539
3539
  css2[styleKey] = styleFunctionSx2({
3540
3540
  sx: value,
3541
- theme: theme2,
3541
+ theme,
3542
3542
  nested: true
3543
3543
  });
3544
3544
  } else {
@@ -3546,16 +3546,16 @@ function unstable_createStyleFunctionSx() {
3546
3546
  }
3547
3547
  }
3548
3548
  } else {
3549
- css2 = merge(css2, getThemeValue(styleKey, value, theme2, config2));
3549
+ css2 = merge(css2, getThemeValue(styleKey, value, theme, config2));
3550
3550
  }
3551
3551
  }
3552
3552
  });
3553
- if (!nested2 && theme2.modularCssLayers) {
3553
+ if (!nested2 && theme.modularCssLayers) {
3554
3554
  return {
3555
- "@layer sx": sortContainerQueries(theme2, removeUnusedBreakpoints(breakpointsKeys, css2))
3555
+ "@layer sx": sortContainerQueries(theme, removeUnusedBreakpoints(breakpointsKeys, css2))
3556
3556
  };
3557
3557
  }
3558
- return sortContainerQueries(theme2, removeUnusedBreakpoints(breakpointsKeys, css2));
3558
+ return sortContainerQueries(theme, removeUnusedBreakpoints(breakpointsKeys, css2));
3559
3559
  }
3560
3560
  return Array.isArray(sx) ? sx.map(traverse) : traverse(sx);
3561
3561
  }
@@ -3564,12 +3564,12 @@ function unstable_createStyleFunctionSx() {
3564
3564
  const styleFunctionSx = unstable_createStyleFunctionSx();
3565
3565
  styleFunctionSx.filterProps = ["sx"];
3566
3566
  function applyStyles(key, styles2) {
3567
- const theme2 = this;
3568
- if (theme2.vars) {
3569
- if (!theme2.colorSchemes?.[key] || typeof theme2.getColorSchemeSelector !== "function") {
3567
+ const theme = this;
3568
+ if (theme.vars) {
3569
+ if (!theme.colorSchemes?.[key] || typeof theme.getColorSchemeSelector !== "function") {
3570
3570
  return {};
3571
3571
  }
3572
- let selector = theme2.getColorSchemeSelector(key);
3572
+ let selector = theme.getColorSchemeSelector(key);
3573
3573
  if (selector === "&") {
3574
3574
  return styles2;
3575
3575
  }
@@ -3580,7 +3580,7 @@ function applyStyles(key, styles2) {
3580
3580
  [selector]: styles2
3581
3581
  };
3582
3582
  }
3583
- if (theme2.palette.mode === key) {
3583
+ if (theme.palette.mode === key) {
3584
3584
  return styles2;
3585
3585
  }
3586
3586
  return {};
@@ -3777,7 +3777,7 @@ function createBox(options = {}) {
3777
3777
  shouldForwardProp: (prop) => prop !== "theme" && prop !== "sx" && prop !== "as"
3778
3778
  })(styleFunctionSx);
3779
3779
  const Box2 = /* @__PURE__ */ React.forwardRef(function Box3(inProps, ref) {
3780
- const theme2 = useTheme$2(defaultTheme2);
3780
+ const theme = useTheme$2(defaultTheme2);
3781
3781
  const {
3782
3782
  className,
3783
3783
  component = "div",
@@ -3787,7 +3787,7 @@ function createBox(options = {}) {
3787
3787
  as: component,
3788
3788
  ref,
3789
3789
  className: clsx(className, generateClassName ? generateClassName(defaultClassName) : defaultClassName),
3790
- theme: themeId ? theme2[themeId] || theme2 : theme2,
3790
+ theme: themeId ? theme[themeId] || theme : theme,
3791
3791
  ...other
3792
3792
  });
3793
3793
  });
@@ -3837,9 +3837,9 @@ function getDisplayName(Component) {
3837
3837
  }
3838
3838
  if (typeof Component === "object") {
3839
3839
  switch (Component.$$typeof) {
3840
- case reactIsExports.ForwardRef:
3840
+ case reactIsExports$1.ForwardRef:
3841
3841
  return getWrappedName(Component, Component.render, "ForwardRef");
3842
- case reactIsExports.Memo:
3842
+ case reactIsExports$1.Memo:
3843
3843
  return getWrappedName(Component, Component.type, "memo");
3844
3844
  default:
3845
3845
  return void 0;
@@ -4013,8 +4013,8 @@ function createStyled(input = {}) {
4013
4013
  expressionsHead.push(styleAttachTheme);
4014
4014
  if (componentName && overridesResolver2) {
4015
4015
  expressionsTail.push(function styleThemeOverrides(props) {
4016
- const theme2 = props.theme;
4017
- const styleOverrides = theme2.components?.[componentName]?.styleOverrides;
4016
+ const theme = props.theme;
4017
+ const styleOverrides = theme.components?.[componentName]?.styleOverrides;
4018
4018
  if (!styleOverrides) {
4019
4019
  return null;
4020
4020
  }
@@ -4027,8 +4027,8 @@ function createStyled(input = {}) {
4027
4027
  }
4028
4028
  if (componentName && !skipVariantsResolver) {
4029
4029
  expressionsTail.push(function styleThemeVariants(props) {
4030
- const theme2 = props.theme;
4031
- const themeVariants = theme2?.components?.[componentName]?.variants;
4030
+ const theme = props.theme;
4031
+ const themeVariants = theme?.components?.[componentName]?.variants;
4032
4032
  if (!themeVariants) {
4033
4033
  return null;
4034
4034
  }
@@ -4146,14 +4146,14 @@ function resolveProps(defaultProps2, props, mergeClassNameAndStyle = false) {
4146
4146
  }
4147
4147
  function getThemeProps$1(params) {
4148
4148
  const {
4149
- theme: theme2,
4149
+ theme,
4150
4150
  name,
4151
4151
  props
4152
4152
  } = params;
4153
- if (!theme2 || !theme2.components || !theme2.components[name] || !theme2.components[name].defaultProps) {
4153
+ if (!theme || !theme.components || !theme.components[name] || !theme.components[name].defaultProps) {
4154
4154
  return props;
4155
4155
  }
4156
- return resolveProps(theme2.components[name].defaultProps, props);
4156
+ return resolveProps(theme.components[name].defaultProps, props);
4157
4157
  }
4158
4158
  function useThemeProps({
4159
4159
  props,
@@ -4161,12 +4161,12 @@ function useThemeProps({
4161
4161
  defaultTheme: defaultTheme2,
4162
4162
  themeId
4163
4163
  }) {
4164
- let theme2 = useTheme$2(defaultTheme2);
4164
+ let theme = useTheme$2(defaultTheme2);
4165
4165
  if (themeId) {
4166
- theme2 = theme2[themeId] || theme2;
4166
+ theme = theme[themeId] || theme;
4167
4167
  }
4168
4168
  return getThemeProps$1({
4169
- theme: theme2,
4169
+ theme,
4170
4170
  name,
4171
4171
  props
4172
4172
  });
@@ -4237,9 +4237,9 @@ function unstable_createUseMediaQuery(params = {}) {
4237
4237
  themeId
4238
4238
  } = params;
4239
4239
  return function useMediaQuery2(queryInput, options = {}) {
4240
- let theme2 = useTheme$3();
4241
- if (theme2 && themeId) {
4242
- theme2 = theme2[themeId] || theme2;
4240
+ let theme = useTheme$3();
4241
+ if (theme && themeId) {
4242
+ theme = theme[themeId] || theme;
4243
4243
  }
4244
4244
  const supportMatchMedia = typeof window !== "undefined" && typeof window.matchMedia !== "undefined";
4245
4245
  const {
@@ -4250,14 +4250,14 @@ function unstable_createUseMediaQuery(params = {}) {
4250
4250
  } = getThemeProps$1({
4251
4251
  name: "MuiUseMediaQuery",
4252
4252
  props: options,
4253
- theme: theme2
4253
+ theme
4254
4254
  });
4255
4255
  if (process.env.NODE_ENV !== "production") {
4256
- if (typeof queryInput === "function" && theme2 === null) {
4256
+ if (typeof queryInput === "function" && theme === null) {
4257
4257
  console.error(["MUI: The `query` argument provided is invalid.", "You are providing a function without a theme in the context.", "One of the parent elements needs to use a ThemeProvider."].join("\n"));
4258
4258
  }
4259
4259
  }
4260
- let query = typeof queryInput === "function" ? queryInput(theme2) : queryInput;
4260
+ let query = typeof queryInput === "function" ? queryInput(theme) : queryInput;
4261
4261
  query = query.replace(/^@media( ?)/m, "");
4262
4262
  if (query.includes("print")) {
4263
4263
  console.warn([`MUI: You have provided a \`print\` query to the \`useMediaQuery\` hook.`, "Using the print media query to modify print styles can lead to unexpected results.", "Consider using the `displayPrint` field in the `sx` prop instead.", "More information about `displayPrint` on our docs: https://mui.com/system/display/#display-in-print."].join("\n"));
@@ -4510,11 +4510,11 @@ if (process.env.NODE_ENV !== "production") {
4510
4510
  ThemeContext.displayName = "ThemeContext";
4511
4511
  }
4512
4512
  function useTheme$1() {
4513
- const theme2 = React.useContext(ThemeContext);
4513
+ const theme = React.useContext(ThemeContext);
4514
4514
  if (process.env.NODE_ENV !== "production") {
4515
- React.useDebugValue(theme2);
4515
+ React.useDebugValue(theme);
4516
4516
  }
4517
- return theme2;
4517
+ return theme;
4518
4518
  }
4519
4519
  const hasSymbol = typeof Symbol === "function" && Symbol.for;
4520
4520
  const nested = hasSymbol ? Symbol.for("mui.nested") : "__THEME_NESTED__";
@@ -4544,7 +4544,7 @@ function ThemeProvider$2(props) {
4544
4544
  console.error(["MUI: You are providing a theme function prop to the ThemeProvider component:", "<ThemeProvider theme={outerTheme => outerTheme} />", "", "However, no outer theme is present.", "Make sure a theme is already injected higher in the React tree or provide a theme object."].join("\n"));
4545
4545
  }
4546
4546
  }
4547
- const theme2 = React.useMemo(() => {
4547
+ const theme = React.useMemo(() => {
4548
4548
  const output = outerTheme === null ? {
4549
4549
  ...localTheme
4550
4550
  } : mergeOuterLocalTheme(outerTheme, localTheme);
@@ -4554,7 +4554,7 @@ function ThemeProvider$2(props) {
4554
4554
  return output;
4555
4555
  }, [localTheme, outerTheme]);
4556
4556
  return /* @__PURE__ */ jsxRuntimeExports.jsx(ThemeContext.Provider, {
4557
- value: theme2,
4557
+ value: theme,
4558
4558
  children
4559
4559
  });
4560
4560
  }
@@ -4615,19 +4615,19 @@ process.env.NODE_ENV !== "production" ? DefaultPropsProvider.propTypes = {
4615
4615
  } : void 0;
4616
4616
  function getThemeProps(params) {
4617
4617
  const {
4618
- theme: theme2,
4618
+ theme,
4619
4619
  name,
4620
4620
  props
4621
4621
  } = params;
4622
- if (!theme2 || !theme2.components || !theme2.components[name]) {
4622
+ if (!theme || !theme.components || !theme.components[name]) {
4623
4623
  return props;
4624
4624
  }
4625
- const config2 = theme2.components[name];
4625
+ const config2 = theme.components[name];
4626
4626
  if (config2.defaultProps) {
4627
- return resolveProps(config2.defaultProps, props, theme2.components.mergeClassNameAndStyle);
4627
+ return resolveProps(config2.defaultProps, props, theme.components.mergeClassNameAndStyle);
4628
4628
  }
4629
4629
  if (!config2.styleOverrides && !config2.variants) {
4630
- return resolveProps(config2, props, theme2.components.mergeClassNameAndStyle);
4630
+ return resolveProps(config2, props, theme.components.mergeClassNameAndStyle);
4631
4631
  }
4632
4632
  return props;
4633
4633
  }
@@ -4667,12 +4667,12 @@ function useId(idOverride) {
4667
4667
  }
4668
4668
  return useGlobalId(idOverride);
4669
4669
  }
4670
- function useLayerOrder(theme2) {
4670
+ function useLayerOrder(theme) {
4671
4671
  const upperTheme = useTheme$3();
4672
4672
  const id = useId() || "";
4673
4673
  const {
4674
4674
  modularCssLayers
4675
- } = theme2;
4675
+ } = theme;
4676
4676
  let layerOrder = "mui.global, mui.components, mui.theme, mui.custom, mui.sx";
4677
4677
  if (!modularCssLayers || upperTheme !== null) {
4678
4678
  layerOrder = "";
@@ -4826,7 +4826,7 @@ function InitColorSchemeScript(options) {
4826
4826
  setter += `${colorSchemeNode}.classList.remove('${selector}'.replace('%s', light), '${selector}'.replace('%s', dark));
4827
4827
  ${colorSchemeNode}.classList.add('${selector}'.replace('%s', colorScheme));`;
4828
4828
  }
4829
- const matches = attribute.match(/\[([^\]]+)\]/);
4829
+ const matches = attribute.match(/\[([^[\]]+)\]/);
4830
4830
  if (matches) {
4831
4831
  const [attr, value] = matches[1].split("=");
4832
4832
  if (!value) {
@@ -5243,32 +5243,32 @@ function createCssVarsProvider(options) {
5243
5243
  }
5244
5244
  const memoTheme2 = React.useMemo(() => {
5245
5245
  const themeVars = restThemeProp.generateThemeVars?.() || restThemeProp.vars;
5246
- const theme2 = {
5246
+ const theme = {
5247
5247
  ...restThemeProp,
5248
5248
  components,
5249
5249
  colorSchemes,
5250
5250
  cssVarPrefix,
5251
5251
  vars: themeVars
5252
5252
  };
5253
- if (typeof theme2.generateSpacing === "function") {
5254
- theme2.spacing = theme2.generateSpacing();
5253
+ if (typeof theme.generateSpacing === "function") {
5254
+ theme.spacing = theme.generateSpacing();
5255
5255
  }
5256
5256
  if (calculatedColorScheme) {
5257
5257
  const scheme = colorSchemes[calculatedColorScheme];
5258
5258
  if (scheme && typeof scheme === "object") {
5259
5259
  Object.keys(scheme).forEach((schemeKey) => {
5260
5260
  if (scheme[schemeKey] && typeof scheme[schemeKey] === "object") {
5261
- theme2[schemeKey] = {
5262
- ...theme2[schemeKey],
5261
+ theme[schemeKey] = {
5262
+ ...theme[schemeKey],
5263
5263
  ...scheme[schemeKey]
5264
5264
  };
5265
5265
  } else {
5266
- theme2[schemeKey] = scheme[schemeKey];
5266
+ theme[schemeKey] = scheme[schemeKey];
5267
5267
  }
5268
5268
  });
5269
5269
  }
5270
5270
  }
5271
- return resolveTheme ? resolveTheme(theme2) : theme2;
5271
+ return resolveTheme ? resolveTheme(theme) : theme;
5272
5272
  }, [restThemeProp, calculatedColorScheme, components, colorSchemes, cssVarPrefix]);
5273
5273
  const colorSchemeSelector = restThemeProp.colorSchemeSelector;
5274
5274
  useEnhancedEffect(() => {
@@ -5406,7 +5406,7 @@ function createCssVarsProvider(options) {
5406
5406
  modeStorageKey: PropTypes.string,
5407
5407
  /**
5408
5408
  * If `true`, the mode will be the same value as the storage without an extra rerendering after the hydration.
5409
- * You should use this option in conjuction with `InitColorSchemeScript` component.
5409
+ * You should use this option in conjunction with `InitColorSchemeScript` component.
5410
5410
  */
5411
5411
  noSsr: PropTypes.bool,
5412
5412
  /**
@@ -5501,7 +5501,7 @@ const getCssValue = (keys, value) => {
5501
5501
  }
5502
5502
  return value;
5503
5503
  };
5504
- function cssVarsParser(theme2, options) {
5504
+ function cssVarsParser(theme, options) {
5505
5505
  const {
5506
5506
  prefix,
5507
5507
  shouldSkipGeneratingVar: shouldSkipGeneratingVar2
@@ -5510,7 +5510,7 @@ function cssVarsParser(theme2, options) {
5510
5510
  const vars = {};
5511
5511
  const varsWithDefaults = {};
5512
5512
  walkObjectDeep(
5513
- theme2,
5513
+ theme,
5514
5514
  (keys, value, arrayKeys) => {
5515
5515
  if (typeof value === "string" || typeof value === "number") {
5516
5516
  if (!shouldSkipGeneratingVar2 || !shouldSkipGeneratingVar2(keys, value)) {
@@ -5533,7 +5533,7 @@ function cssVarsParser(theme2, options) {
5533
5533
  varsWithDefaults
5534
5534
  };
5535
5535
  }
5536
- function prepareCssVars(theme2, parserConfig = {}) {
5536
+ function prepareCssVars(theme, parserConfig = {}) {
5537
5537
  const {
5538
5538
  getSelector = defaultGetSelector2,
5539
5539
  disableCssColorScheme,
@@ -5545,7 +5545,7 @@ function prepareCssVars(theme2, parserConfig = {}) {
5545
5545
  components,
5546
5546
  defaultColorScheme = "light",
5547
5547
  ...otherTheme
5548
- } = theme2;
5548
+ } = theme;
5549
5549
  const {
5550
5550
  vars: rootVars,
5551
5551
  css: rootCss,
@@ -5594,7 +5594,7 @@ function prepareCssVars(theme2, parserConfig = {}) {
5594
5594
  }
5595
5595
  if (colorScheme) {
5596
5596
  if (rule === "media") {
5597
- if (theme2.defaultColorScheme === colorScheme) {
5597
+ if (theme.defaultColorScheme === colorScheme) {
5598
5598
  return ":root";
5599
5599
  }
5600
5600
  const mode = colorSchemes[colorScheme]?.palette?.mode || colorScheme;
@@ -5605,7 +5605,7 @@ function prepareCssVars(theme2, parserConfig = {}) {
5605
5605
  };
5606
5606
  }
5607
5607
  if (rule) {
5608
- if (theme2.defaultColorScheme === colorScheme) {
5608
+ if (theme.defaultColorScheme === colorScheme) {
5609
5609
  return `:root, ${rule.replace("%s", String(colorScheme))}`;
5610
5610
  }
5611
5611
  return rule.replace("%s", String(colorScheme));
@@ -5626,7 +5626,7 @@ function prepareCssVars(theme2, parserConfig = {}) {
5626
5626
  };
5627
5627
  const generateStyleSheets = () => {
5628
5628
  const stylesheets = [];
5629
- const colorScheme = theme2.defaultColorScheme || "light";
5629
+ const colorScheme = theme.defaultColorScheme || "light";
5630
5630
  function insertStyleSheet(key, css2) {
5631
5631
  if (Object.keys(css2).length) {
5632
5632
  stylesheets.push(typeof key === "string" ? {
@@ -5775,7 +5775,7 @@ function createContainer(options = {}) {
5775
5775
  componentName = "MuiContainer"
5776
5776
  } = options;
5777
5777
  const ContainerRoot = createStyledComponent(({
5778
- theme: theme2,
5778
+ theme,
5779
5779
  ownerState
5780
5780
  }) => ({
5781
5781
  width: "100%",
@@ -5783,44 +5783,44 @@ function createContainer(options = {}) {
5783
5783
  boxSizing: "border-box",
5784
5784
  marginRight: "auto",
5785
5785
  ...!ownerState.disableGutters && {
5786
- paddingLeft: theme2.spacing(2),
5787
- paddingRight: theme2.spacing(2),
5786
+ paddingLeft: theme.spacing(2),
5787
+ paddingRight: theme.spacing(2),
5788
5788
  // @ts-ignore module augmentation fails if custom breakpoints are used
5789
- [theme2.breakpoints.up("sm")]: {
5790
- paddingLeft: theme2.spacing(3),
5791
- paddingRight: theme2.spacing(3)
5789
+ [theme.breakpoints.up("sm")]: {
5790
+ paddingLeft: theme.spacing(3),
5791
+ paddingRight: theme.spacing(3)
5792
5792
  }
5793
5793
  }
5794
5794
  }), ({
5795
- theme: theme2,
5795
+ theme,
5796
5796
  ownerState
5797
- }) => ownerState.fixed && Object.keys(theme2.breakpoints.values).reduce((acc, breakpointValueKey) => {
5797
+ }) => ownerState.fixed && Object.keys(theme.breakpoints.values).reduce((acc, breakpointValueKey) => {
5798
5798
  const breakpoint = breakpointValueKey;
5799
- const value = theme2.breakpoints.values[breakpoint];
5799
+ const value = theme.breakpoints.values[breakpoint];
5800
5800
  if (value !== 0) {
5801
- acc[theme2.breakpoints.up(breakpoint)] = {
5802
- maxWidth: `${value}${theme2.breakpoints.unit}`
5801
+ acc[theme.breakpoints.up(breakpoint)] = {
5802
+ maxWidth: `${value}${theme.breakpoints.unit}`
5803
5803
  };
5804
5804
  }
5805
5805
  return acc;
5806
5806
  }, {}), ({
5807
- theme: theme2,
5807
+ theme,
5808
5808
  ownerState
5809
5809
  }) => ({
5810
5810
  // @ts-ignore module augmentation fails if custom breakpoints are used
5811
5811
  ...ownerState.maxWidth === "xs" && {
5812
5812
  // @ts-ignore module augmentation fails if custom breakpoints are used
5813
- [theme2.breakpoints.up("xs")]: {
5813
+ [theme.breakpoints.up("xs")]: {
5814
5814
  // @ts-ignore module augmentation fails if custom breakpoints are used
5815
- maxWidth: Math.max(theme2.breakpoints.values.xs, 444)
5815
+ maxWidth: Math.max(theme.breakpoints.values.xs, 444)
5816
5816
  }
5817
5817
  },
5818
5818
  ...ownerState.maxWidth && // @ts-ignore module augmentation fails if custom breakpoints are used
5819
5819
  ownerState.maxWidth !== "xs" && {
5820
5820
  // @ts-ignore module augmentation fails if custom breakpoints are used
5821
- [theme2.breakpoints.up(ownerState.maxWidth)]: {
5821
+ [theme.breakpoints.up(ownerState.maxWidth)]: {
5822
5822
  // @ts-ignore module augmentation fails if custom breakpoints are used
5823
- maxWidth: `${theme2.breakpoints.values[ownerState.maxWidth]}${theme2.breakpoints.unit}`
5823
+ maxWidth: `${theme.breakpoints.values[ownerState.maxWidth]}${theme.breakpoints.unit}`
5824
5824
  }
5825
5825
  }
5826
5826
  }));
@@ -5868,7 +5868,7 @@ function createContainer(options = {}) {
5868
5868
  }
5869
5869
  function isMuiElement(element, muiNames) {
5870
5870
  return /* @__PURE__ */ React.isValidElement(element) && muiNames.indexOf(
5871
- // For server components `muiName` is avaialble in element.type._payload.value.muiName
5871
+ // For server components `muiName` is available in element.type._payload.value.muiName
5872
5872
  // relevant info - https://github.com/facebook/react/blob/2807d781a08db8e9873687fccc25c0f12b4fb3d4/packages/react/src/ReactLazy.js#L45
5873
5873
  // eslint-disable-next-line no-underscore-dangle
5874
5874
  element.type.muiName ?? element.type?._payload?.value?.muiName
@@ -5920,11 +5920,11 @@ function getParentSpacingVar(axis) {
5920
5920
  const selfColumnsVar = "--Grid-columns";
5921
5921
  const parentColumnsVar = "--Grid-parent-columns";
5922
5922
  const generateGridSizeStyles = ({
5923
- theme: theme2,
5923
+ theme,
5924
5924
  ownerState
5925
5925
  }) => {
5926
5926
  const styles2 = {};
5927
- traverseBreakpoints(theme2.breakpoints, ownerState.size, (appendStyle, value) => {
5927
+ traverseBreakpoints(theme.breakpoints, ownerState.size, (appendStyle, value) => {
5928
5928
  let style2 = {};
5929
5929
  if (value === "grow") {
5930
5930
  style2 = {
@@ -5954,11 +5954,11 @@ const generateGridSizeStyles = ({
5954
5954
  return styles2;
5955
5955
  };
5956
5956
  const generateGridOffsetStyles = ({
5957
- theme: theme2,
5957
+ theme,
5958
5958
  ownerState
5959
5959
  }) => {
5960
5960
  const styles2 = {};
5961
- traverseBreakpoints(theme2.breakpoints, ownerState.offset, (appendStyle, value) => {
5961
+ traverseBreakpoints(theme.breakpoints, ownerState.offset, (appendStyle, value) => {
5962
5962
  let style2 = {};
5963
5963
  if (value === "auto") {
5964
5964
  style2 = {
@@ -5975,7 +5975,7 @@ const generateGridOffsetStyles = ({
5975
5975
  return styles2;
5976
5976
  };
5977
5977
  const generateGridColumnsStyles = ({
5978
- theme: theme2,
5978
+ theme,
5979
5979
  ownerState
5980
5980
  }) => {
5981
5981
  if (!ownerState.container) {
@@ -5984,7 +5984,7 @@ const generateGridColumnsStyles = ({
5984
5984
  const styles2 = {
5985
5985
  [selfColumnsVar]: 12
5986
5986
  };
5987
- traverseBreakpoints(theme2.breakpoints, ownerState.columns, (appendStyle, value) => {
5987
+ traverseBreakpoints(theme.breakpoints, ownerState.columns, (appendStyle, value) => {
5988
5988
  const columns = value ?? 12;
5989
5989
  appendStyle(styles2, {
5990
5990
  [selfColumnsVar]: columns,
@@ -5996,15 +5996,15 @@ const generateGridColumnsStyles = ({
5996
5996
  return styles2;
5997
5997
  };
5998
5998
  const generateGridRowSpacingStyles = ({
5999
- theme: theme2,
5999
+ theme,
6000
6000
  ownerState
6001
6001
  }) => {
6002
6002
  if (!ownerState.container) {
6003
6003
  return {};
6004
6004
  }
6005
6005
  const styles2 = {};
6006
- traverseBreakpoints(theme2.breakpoints, ownerState.rowSpacing, (appendStyle, value) => {
6007
- const spacing = typeof value === "string" ? value : theme2.spacing?.(value);
6006
+ traverseBreakpoints(theme.breakpoints, ownerState.rowSpacing, (appendStyle, value) => {
6007
+ const spacing = typeof value === "string" ? value : theme.spacing?.(value);
6008
6008
  appendStyle(styles2, {
6009
6009
  [getSelfSpacingVar("row")]: spacing,
6010
6010
  "> *": {
@@ -6015,15 +6015,15 @@ const generateGridRowSpacingStyles = ({
6015
6015
  return styles2;
6016
6016
  };
6017
6017
  const generateGridColumnSpacingStyles = ({
6018
- theme: theme2,
6018
+ theme,
6019
6019
  ownerState
6020
6020
  }) => {
6021
6021
  if (!ownerState.container) {
6022
6022
  return {};
6023
6023
  }
6024
6024
  const styles2 = {};
6025
- traverseBreakpoints(theme2.breakpoints, ownerState.columnSpacing, (appendStyle, value) => {
6026
- const spacing = typeof value === "string" ? value : theme2.spacing?.(value);
6025
+ traverseBreakpoints(theme.breakpoints, ownerState.columnSpacing, (appendStyle, value) => {
6026
+ const spacing = typeof value === "string" ? value : theme.spacing?.(value);
6027
6027
  appendStyle(styles2, {
6028
6028
  [getSelfSpacingVar("column")]: spacing,
6029
6029
  "> *": {
@@ -6034,14 +6034,14 @@ const generateGridColumnSpacingStyles = ({
6034
6034
  return styles2;
6035
6035
  };
6036
6036
  const generateGridDirectionStyles = ({
6037
- theme: theme2,
6037
+ theme,
6038
6038
  ownerState
6039
6039
  }) => {
6040
6040
  if (!ownerState.container) {
6041
6041
  return {};
6042
6042
  }
6043
6043
  const styles2 = {};
6044
- traverseBreakpoints(theme2.breakpoints, ownerState.direction, (appendStyle, value) => {
6044
+ traverseBreakpoints(theme.breakpoints, ownerState.direction, (appendStyle, value) => {
6045
6045
  appendStyle(styles2, {
6046
6046
  flexDirection: value
6047
6047
  });
@@ -6156,7 +6156,7 @@ function createGrid(options = {}) {
6156
6156
  useTheme: useTheme2 = useTheme$2,
6157
6157
  componentName = "MuiGrid"
6158
6158
  } = options;
6159
- const useUtilityClasses2 = (ownerState, theme2) => {
6159
+ const useUtilityClasses2 = (ownerState, theme) => {
6160
6160
  const {
6161
6161
  container,
6162
6162
  direction,
@@ -6165,7 +6165,7 @@ function createGrid(options = {}) {
6165
6165
  size
6166
6166
  } = ownerState;
6167
6167
  const slots = {
6168
- root: ["root", container && "container", wrap !== "wrap" && `wrap-xs-${String(wrap)}`, ...generateDirectionClasses(direction), ...generateSizeClassNames(size), ...container ? generateSpacingClassNames(spacing, theme2.breakpoints.keys[0]) : []]
6168
+ root: ["root", container && "container", wrap !== "wrap" && `wrap-xs-${String(wrap)}`, ...generateDirectionClasses(direction), ...generateSizeClassNames(size), ...container ? generateSpacingClassNames(spacing, theme.breakpoints.keys[0]) : []]
6169
6169
  };
6170
6170
  return composeClasses(slots, (slot) => generateUtilityClass(componentName, slot), {});
6171
6171
  };
@@ -6194,10 +6194,10 @@ function createGrid(options = {}) {
6194
6194
  }
6195
6195
  const GridRoot = createStyledComponent(generateGridColumnsStyles, generateGridColumnSpacingStyles, generateGridRowSpacingStyles, generateGridSizeStyles, generateGridDirectionStyles, generateGridStyles, generateGridOffsetStyles);
6196
6196
  const Grid2 = /* @__PURE__ */ React.forwardRef(function Grid3(inProps, ref) {
6197
- const theme2 = useTheme2();
6197
+ const theme = useTheme2();
6198
6198
  const themeProps = useThemeProps2(inProps);
6199
6199
  const props = extendSxProp$1(themeProps);
6200
- deleteLegacyGridProps(props, theme2.breakpoints);
6200
+ deleteLegacyGridProps(props, theme.breakpoints);
6201
6201
  const {
6202
6202
  className,
6203
6203
  children,
@@ -6214,8 +6214,8 @@ function createGrid(options = {}) {
6214
6214
  unstable_level: level = 0,
6215
6215
  ...other
6216
6216
  } = props;
6217
- const size = parseResponsiveProp(sizeProp, theme2.breakpoints, (val) => val !== false);
6218
- const offset = parseResponsiveProp(offsetProp, theme2.breakpoints);
6217
+ const size = parseResponsiveProp(sizeProp, theme.breakpoints, (val) => val !== false);
6218
+ const offset = parseResponsiveProp(offsetProp, theme.breakpoints);
6219
6219
  const columns = inProps.columns ?? (level ? void 0 : columnsProp);
6220
6220
  const spacing = inProps.spacing ?? (level ? void 0 : spacingProp);
6221
6221
  const rowSpacing = inProps.rowSpacing ?? inProps.spacing ?? (level ? void 0 : rowSpacingProp);
@@ -6233,7 +6233,7 @@ function createGrid(options = {}) {
6233
6233
  size,
6234
6234
  offset
6235
6235
  };
6236
- const classes = useUtilityClasses2(ownerState, theme2);
6236
+ const classes = useUtilityClasses2(ownerState, theme);
6237
6237
  return /* @__PURE__ */ jsxRuntimeExports.jsx(GridRoot, {
6238
6238
  ref,
6239
6239
  as: component,
@@ -6302,23 +6302,23 @@ const getSideFromDirection = (direction) => {
6302
6302
  };
6303
6303
  const style = ({
6304
6304
  ownerState,
6305
- theme: theme2
6305
+ theme
6306
6306
  }) => {
6307
6307
  let styles2 = {
6308
6308
  display: "flex",
6309
6309
  flexDirection: "column",
6310
6310
  ...handleBreakpoints({
6311
- theme: theme2
6311
+ theme
6312
6312
  }, resolveBreakpointValues({
6313
6313
  values: ownerState.direction,
6314
- breakpoints: theme2.breakpoints.values
6314
+ breakpoints: theme.breakpoints.values
6315
6315
  }), (propValue) => ({
6316
6316
  flexDirection: propValue
6317
6317
  }))
6318
6318
  };
6319
6319
  if (ownerState.spacing) {
6320
- const transformer = createUnarySpacing(theme2);
6321
- const base = Object.keys(theme2.breakpoints.values).reduce((acc, breakpoint) => {
6320
+ const transformer = createUnarySpacing(theme);
6321
+ const base = Object.keys(theme.breakpoints.values).reduce((acc, breakpoint) => {
6322
6322
  if (typeof ownerState.spacing === "object" && ownerState.spacing[breakpoint] != null || typeof ownerState.direction === "object" && ownerState.direction[breakpoint] != null) {
6323
6323
  acc[breakpoint] = true;
6324
6324
  }
@@ -6359,10 +6359,10 @@ const style = ({
6359
6359
  };
6360
6360
  };
6361
6361
  styles2 = deepmerge(styles2, handleBreakpoints({
6362
- theme: theme2
6362
+ theme
6363
6363
  }, spacingValues, styleFromPropValue));
6364
6364
  }
6365
- styles2 = mergeBreakpointsInOrder(theme2.breakpoints, styles2);
6365
+ styles2 = mergeBreakpointsInOrder(theme.breakpoints, styles2);
6366
6366
  return styles2;
6367
6367
  };
6368
6368
  function createStack(options = {}) {
@@ -7071,10 +7071,10 @@ const parseAddition = (str) => {
7071
7071
  }
7072
7072
  return sum;
7073
7073
  };
7074
- function attachColorManipulators(theme2) {
7075
- Object.assign(theme2, {
7074
+ function attachColorManipulators(theme) {
7075
+ Object.assign(theme, {
7076
7076
  alpha(color2, coefficient) {
7077
- const obj = this || theme2;
7077
+ const obj = this || theme;
7078
7078
  if (obj.colorSpace) {
7079
7079
  return `oklch(from ${color2} l c h / ${typeof coefficient === "string" ? `calc(${coefficient})` : coefficient})`;
7080
7080
  }
@@ -7084,14 +7084,14 @@ function attachColorManipulators(theme2) {
7084
7084
  return alpha(color2, parseAddition(coefficient));
7085
7085
  },
7086
7086
  lighten(color2, coefficient) {
7087
- const obj = this || theme2;
7087
+ const obj = this || theme;
7088
7088
  if (obj.colorSpace) {
7089
7089
  return `color-mix(in ${obj.colorSpace}, ${color2}, #fff ${coefficientToPercentage(coefficient)})`;
7090
7090
  }
7091
7091
  return lighten(color2, coefficient);
7092
7092
  },
7093
7093
  darken(color2, coefficient) {
7094
- const obj = this || theme2;
7094
+ const obj = this || theme;
7095
7095
  if (obj.colorSpace) {
7096
7096
  return `color-mix(in ${obj.colorSpace}, ${color2}, #000 ${coefficientToPercentage(coefficient)})`;
7097
7097
  }
@@ -7231,9 +7231,9 @@ function shouldSkipGeneratingVar(keys) {
7231
7231
  keys[0] === "palette" && !!keys[1]?.match(/(mode|contrastThreshold|tonalOffset)/);
7232
7232
  }
7233
7233
  const excludeVariablesFromRoot = (cssVarPrefix) => [...[...Array(25)].map((_, index) => `--${cssVarPrefix ? `${cssVarPrefix}-` : ""}overlays-${index}`), `--${cssVarPrefix ? `${cssVarPrefix}-` : ""}palette-AppBar-darkBg`, `--${cssVarPrefix ? `${cssVarPrefix}-` : ""}palette-AppBar-darkColor`];
7234
- const defaultGetSelector = (theme2) => (colorScheme, css2) => {
7235
- const root = theme2.rootSelector || ":root";
7236
- const selector = theme2.colorSchemeSelector;
7234
+ const defaultGetSelector = (theme) => (colorScheme, css2) => {
7235
+ const root = theme.rootSelector || ":root";
7236
+ const selector = theme.colorSchemeSelector;
7237
7237
  let rule = selector;
7238
7238
  if (selector === "class") {
7239
7239
  rule = ".%s";
@@ -7244,10 +7244,10 @@ const defaultGetSelector = (theme2) => (colorScheme, css2) => {
7244
7244
  if (selector?.startsWith("data-") && !selector.includes("%s")) {
7245
7245
  rule = `[${selector}="%s"]`;
7246
7246
  }
7247
- if (theme2.defaultColorScheme === colorScheme) {
7247
+ if (theme.defaultColorScheme === colorScheme) {
7248
7248
  if (colorScheme === "dark") {
7249
7249
  const excludedVariables = {};
7250
- excludeVariablesFromRoot(theme2.cssVarPrefix).forEach((cssVar) => {
7250
+ excludeVariablesFromRoot(theme.cssVarPrefix).forEach((cssVar) => {
7251
7251
  excludedVariables[cssVar] = css2[cssVar];
7252
7252
  delete css2[cssVar];
7253
7253
  });
@@ -7413,7 +7413,7 @@ function createThemeWithVars(options = {}, ...args) {
7413
7413
  if (builtInDark && !colorSchemes.dark) {
7414
7414
  attachColorScheme$1(colorSpace, colorSchemes, builtInDark, void 0, "dark");
7415
7415
  }
7416
- let theme2 = {
7416
+ let theme = {
7417
7417
  defaultColorScheme,
7418
7418
  ...muiTheme,
7419
7419
  cssVarPrefix,
@@ -7427,8 +7427,8 @@ function createThemeWithVars(options = {}, ...args) {
7427
7427
  },
7428
7428
  spacing: getSpacingVal(input.spacing)
7429
7429
  };
7430
- Object.keys(theme2.colorSchemes).forEach((key) => {
7431
- const palette = theme2.colorSchemes[key].palette;
7430
+ Object.keys(theme.colorSchemes).forEach((key) => {
7431
+ const palette = theme.colorSchemes[key].palette;
7432
7432
  const setCssVarColor = (cssVar) => {
7433
7433
  const tokens = cssVar.split("-");
7434
7434
  const color2 = tokens[1];
@@ -7619,50 +7619,50 @@ function createThemeWithVars(options = {}, ...args) {
7619
7619
  }
7620
7620
  });
7621
7621
  });
7622
- theme2 = args.reduce((acc, argument) => deepmerge(acc, argument), theme2);
7622
+ theme = args.reduce((acc, argument) => deepmerge(acc, argument), theme);
7623
7623
  const parserConfig = {
7624
7624
  prefix: cssVarPrefix,
7625
7625
  disableCssColorScheme,
7626
7626
  shouldSkipGeneratingVar: shouldSkipGeneratingVar$1,
7627
- getSelector: defaultGetSelector(theme2),
7627
+ getSelector: defaultGetSelector(theme),
7628
7628
  enableContrastVars: nativeColor
7629
7629
  };
7630
7630
  const {
7631
7631
  vars,
7632
7632
  generateThemeVars,
7633
7633
  generateStyleSheets
7634
- } = prepareCssVars(theme2, parserConfig);
7635
- theme2.vars = vars;
7636
- Object.entries(theme2.colorSchemes[theme2.defaultColorScheme]).forEach(([key, value]) => {
7637
- theme2[key] = value;
7634
+ } = prepareCssVars(theme, parserConfig);
7635
+ theme.vars = vars;
7636
+ Object.entries(theme.colorSchemes[theme.defaultColorScheme]).forEach(([key, value]) => {
7637
+ theme[key] = value;
7638
7638
  });
7639
- theme2.generateThemeVars = generateThemeVars;
7640
- theme2.generateStyleSheets = generateStyleSheets;
7641
- theme2.generateSpacing = function generateSpacing() {
7639
+ theme.generateThemeVars = generateThemeVars;
7640
+ theme.generateStyleSheets = generateStyleSheets;
7641
+ theme.generateSpacing = function generateSpacing() {
7642
7642
  return createSpacing(input.spacing, createUnarySpacing(this));
7643
7643
  };
7644
- theme2.getColorSchemeSelector = createGetColorSchemeSelector(selector);
7645
- theme2.spacing = theme2.generateSpacing();
7646
- theme2.shouldSkipGeneratingVar = shouldSkipGeneratingVar$1;
7647
- theme2.unstable_sxConfig = {
7644
+ theme.getColorSchemeSelector = createGetColorSchemeSelector(selector);
7645
+ theme.spacing = theme.generateSpacing();
7646
+ theme.shouldSkipGeneratingVar = shouldSkipGeneratingVar$1;
7647
+ theme.unstable_sxConfig = {
7648
7648
  ...defaultSxConfig,
7649
7649
  ...input?.unstable_sxConfig
7650
7650
  };
7651
- theme2.unstable_sx = function sx(props) {
7651
+ theme.unstable_sx = function sx(props) {
7652
7652
  return styleFunctionSx({
7653
7653
  sx: props,
7654
7654
  theme: this
7655
7655
  });
7656
7656
  };
7657
- theme2.toRuntimeSource = stringifyTheme;
7658
- return theme2;
7657
+ theme.toRuntimeSource = stringifyTheme;
7658
+ return theme;
7659
7659
  }
7660
- function attachColorScheme(theme2, scheme, colorScheme) {
7661
- if (!theme2.colorSchemes) {
7660
+ function attachColorScheme(theme, scheme, colorScheme) {
7661
+ if (!theme.colorSchemes) {
7662
7662
  return void 0;
7663
7663
  }
7664
7664
  if (colorScheme) {
7665
- theme2.colorSchemes[scheme] = {
7665
+ theme.colorSchemes[scheme] = {
7666
7666
  ...colorScheme !== true && colorScheme,
7667
7667
  palette: createPalette({
7668
7668
  ...colorScheme === true ? {} : colorScheme.palette,
@@ -7709,27 +7709,27 @@ function createTheme(options = {}, ...args) {
7709
7709
  }
7710
7710
  }
7711
7711
  }
7712
- const theme2 = createThemeNoVars({
7712
+ const theme = createThemeNoVars({
7713
7713
  ...options,
7714
7714
  palette: paletteOptions
7715
7715
  }, ...args);
7716
- theme2.defaultColorScheme = defaultColorSchemeInput;
7717
- theme2.colorSchemes = colorSchemesInput;
7718
- if (theme2.palette.mode === "light") {
7719
- theme2.colorSchemes.light = {
7716
+ theme.defaultColorScheme = defaultColorSchemeInput;
7717
+ theme.colorSchemes = colorSchemesInput;
7718
+ if (theme.palette.mode === "light") {
7719
+ theme.colorSchemes.light = {
7720
7720
  ...colorSchemesInput.light !== true && colorSchemesInput.light,
7721
- palette: theme2.palette
7721
+ palette: theme.palette
7722
7722
  };
7723
- attachColorScheme(theme2, "dark", colorSchemesInput.dark);
7723
+ attachColorScheme(theme, "dark", colorSchemesInput.dark);
7724
7724
  }
7725
- if (theme2.palette.mode === "dark") {
7726
- theme2.colorSchemes.dark = {
7725
+ if (theme.palette.mode === "dark") {
7726
+ theme.colorSchemes.dark = {
7727
7727
  ...colorSchemesInput.dark !== true && colorSchemesInput.dark,
7728
- palette: theme2.palette
7728
+ palette: theme.palette
7729
7729
  };
7730
- attachColorScheme(theme2, "light", colorSchemesInput.light);
7730
+ attachColorScheme(theme, "light", colorSchemesInput.light);
7731
7731
  }
7732
- return theme2;
7732
+ return theme;
7733
7733
  }
7734
7734
  if (!palette && !("light" in colorSchemesInput) && defaultColorSchemeInput === "light") {
7735
7735
  colorSchemesInput.light = true;
@@ -7743,11 +7743,11 @@ function createTheme(options = {}, ...args) {
7743
7743
  }
7744
7744
  const defaultTheme$1 = createTheme();
7745
7745
  function useTheme() {
7746
- const theme2 = useTheme$2(defaultTheme$1);
7746
+ const theme = useTheme$2(defaultTheme$1);
7747
7747
  if (process.env.NODE_ENV !== "production") {
7748
- React.useDebugValue(theme2);
7748
+ React.useDebugValue(theme);
7749
7749
  }
7750
- return theme2[THEME_ID] || theme2;
7750
+ return theme[THEME_ID] || theme;
7751
7751
  }
7752
7752
  function slotShouldForwardProp(prop) {
7753
7753
  return prop !== "ownerState" && prop !== "theme" && prop !== "sx" && prop !== "as";
@@ -7836,10 +7836,10 @@ const {
7836
7836
  light: defaultConfig.defaultLightColorScheme,
7837
7837
  dark: defaultConfig.defaultDarkColorScheme
7838
7838
  },
7839
- resolveTheme: (theme2) => {
7839
+ resolveTheme: (theme) => {
7840
7840
  const newTheme = {
7841
- ...theme2,
7842
- typography: createTypography(theme2.palette, theme2.typography)
7841
+ ...theme,
7842
+ typography: createTypography(theme.palette, theme.typography)
7843
7843
  };
7844
7844
  newTheme.unstable_sx = function sx(props) {
7845
7845
  return styleFunctionSx({
@@ -7852,25 +7852,25 @@ const {
7852
7852
  });
7853
7853
  const CssVarsProvider = InternalCssVarsProvider;
7854
7854
  function ThemeProvider({
7855
- theme: theme2,
7855
+ theme,
7856
7856
  ...props
7857
7857
  }) {
7858
7858
  const noVarsTheme = React.useMemo(() => {
7859
- if (typeof theme2 === "function") {
7860
- return theme2;
7859
+ if (typeof theme === "function") {
7860
+ return theme;
7861
7861
  }
7862
- const muiTheme = THEME_ID in theme2 ? theme2[THEME_ID] : theme2;
7862
+ const muiTheme = THEME_ID in theme ? theme[THEME_ID] : theme;
7863
7863
  if (!("colorSchemes" in muiTheme)) {
7864
7864
  if (!("vars" in muiTheme)) {
7865
7865
  return {
7866
- ...theme2,
7866
+ ...theme,
7867
7867
  vars: null
7868
7868
  };
7869
7869
  }
7870
- return theme2;
7870
+ return theme;
7871
7871
  }
7872
7872
  return null;
7873
- }, [theme2]);
7873
+ }, [theme]);
7874
7874
  if (noVarsTheme) {
7875
7875
  return /* @__PURE__ */ jsxRuntimeExports.jsx(ThemeProviderNoVars, {
7876
7876
  theme: noVarsTheme,
@@ -7878,7 +7878,7 @@ function ThemeProvider({
7878
7878
  });
7879
7879
  }
7880
7880
  return /* @__PURE__ */ jsxRuntimeExports.jsx(CssVarsProvider, {
7881
- theme: theme2,
7881
+ theme,
7882
7882
  ...props
7883
7883
  });
7884
7884
  }
@@ -7939,8 +7939,8 @@ function globalCss(styles2) {
7939
7939
  return (
7940
7940
  // Pigment CSS `globalCss` support callback with theme inside an object but `GlobalStyles` support theme as a callback value.
7941
7941
  /* @__PURE__ */ jsxRuntimeExports.jsx(GlobalStyles, {
7942
- styles: typeof styles2 === "function" ? (theme2) => styles2({
7943
- theme: theme2,
7942
+ styles: typeof styles2 === "function" ? (theme) => styles2({
7943
+ theme,
7944
7944
  ...props
7945
7945
  }) : styles2
7946
7946
  })
@@ -8038,24 +8038,24 @@ const PaperRoot = styled("div", {
8038
8038
  return [styles2.root, styles2[ownerState.variant], !ownerState.square && styles2.rounded, ownerState.variant === "elevation" && styles2[`elevation${ownerState.elevation}`]];
8039
8039
  }
8040
8040
  })(memoTheme(({
8041
- theme: theme2
8041
+ theme
8042
8042
  }) => ({
8043
- backgroundColor: (theme2.vars || theme2).palette.background.paper,
8044
- color: (theme2.vars || theme2).palette.text.primary,
8045
- transition: theme2.transitions.create("box-shadow"),
8043
+ backgroundColor: (theme.vars || theme).palette.background.paper,
8044
+ color: (theme.vars || theme).palette.text.primary,
8045
+ transition: theme.transitions.create("box-shadow"),
8046
8046
  variants: [{
8047
8047
  props: ({
8048
8048
  ownerState
8049
8049
  }) => !ownerState.square,
8050
8050
  style: {
8051
- borderRadius: theme2.shape.borderRadius
8051
+ borderRadius: theme.shape.borderRadius
8052
8052
  }
8053
8053
  }, {
8054
8054
  props: {
8055
8055
  variant: "outlined"
8056
8056
  },
8057
8057
  style: {
8058
- border: `1px solid ${(theme2.vars || theme2).palette.divider}`
8058
+ border: `1px solid ${(theme.vars || theme).palette.divider}`
8059
8059
  }
8060
8060
  }, {
8061
8061
  props: {
@@ -8072,7 +8072,7 @@ const Paper = /* @__PURE__ */ React.forwardRef(function Paper2(inProps, ref) {
8072
8072
  props: inProps,
8073
8073
  name: "MuiPaper"
8074
8074
  });
8075
- const theme2 = useTheme();
8075
+ const theme = useTheme();
8076
8076
  const {
8077
8077
  className,
8078
8078
  component = "div",
@@ -8090,7 +8090,7 @@ const Paper = /* @__PURE__ */ React.forwardRef(function Paper2(inProps, ref) {
8090
8090
  };
8091
8091
  const classes = useUtilityClasses$v(ownerState);
8092
8092
  if (process.env.NODE_ENV !== "production") {
8093
- if (theme2.shadows[elevation] === void 0) {
8093
+ if (theme.shadows[elevation] === void 0) {
8094
8094
  console.error([`MUI: The elevation provided <Paper elevation={${elevation}}> is not available in the theme.`, `Please make sure that \`theme.shadows[${elevation}]\` is defined.`].join("\n"));
8095
8095
  }
8096
8096
  }
@@ -8102,11 +8102,11 @@ const Paper = /* @__PURE__ */ React.forwardRef(function Paper2(inProps, ref) {
8102
8102
  ...other,
8103
8103
  style: {
8104
8104
  ...variant === "elevation" && {
8105
- "--Paper-shadow": (theme2.vars || theme2).shadows[elevation],
8106
- ...theme2.vars && {
8107
- "--Paper-overlay": theme2.vars.overlays?.[elevation]
8105
+ "--Paper-shadow": (theme.vars || theme).shadows[elevation],
8106
+ ...theme.vars && {
8107
+ "--Paper-overlay": theme.vars.overlays?.[elevation]
8108
8108
  },
8109
- ...!theme2.vars && theme2.palette.mode === "dark" && {
8109
+ ...!theme.vars && theme.palette.mode === "dark" && {
8110
8110
  "--Paper-overlay": `linear-gradient(${alpha("#fff", getOverlayAlpha(elevation))}, ${alpha("#fff", getOverlayAlpha(elevation))})`
8111
8111
  }
8112
8112
  },
@@ -8406,14 +8406,14 @@ const DividerRoot = styled("div", {
8406
8406
  return [styles2.root, ownerState.absolute && styles2.absolute, styles2[ownerState.variant], ownerState.light && styles2.light, ownerState.orientation === "vertical" && styles2.vertical, ownerState.flexItem && styles2.flexItem, ownerState.children && styles2.withChildren, ownerState.children && ownerState.orientation === "vertical" && styles2.withChildrenVertical, ownerState.textAlign === "right" && ownerState.orientation !== "vertical" && styles2.textAlignRight, ownerState.textAlign === "left" && ownerState.orientation !== "vertical" && styles2.textAlignLeft];
8407
8407
  }
8408
8408
  })(memoTheme(({
8409
- theme: theme2
8409
+ theme
8410
8410
  }) => ({
8411
8411
  margin: 0,
8412
8412
  // Reset browser default style.
8413
8413
  flexShrink: 0,
8414
8414
  borderWidth: 0,
8415
8415
  borderStyle: "solid",
8416
- borderColor: (theme2.vars || theme2).palette.divider,
8416
+ borderColor: (theme.vars || theme).palette.divider,
8417
8417
  borderBottomWidth: "thin",
8418
8418
  variants: [{
8419
8419
  props: {
@@ -8430,7 +8430,7 @@ const DividerRoot = styled("div", {
8430
8430
  light: true
8431
8431
  },
8432
8432
  style: {
8433
- borderColor: theme2.alpha((theme2.vars || theme2).palette.divider, 0.08)
8433
+ borderColor: theme.alpha((theme.vars || theme).palette.divider, 0.08)
8434
8434
  }
8435
8435
  }, {
8436
8436
  props: {
@@ -8445,8 +8445,8 @@ const DividerRoot = styled("div", {
8445
8445
  orientation: "horizontal"
8446
8446
  },
8447
8447
  style: {
8448
- marginLeft: theme2.spacing(2),
8449
- marginRight: theme2.spacing(2)
8448
+ marginLeft: theme.spacing(2),
8449
+ marginRight: theme.spacing(2)
8450
8450
  }
8451
8451
  }, {
8452
8452
  props: {
@@ -8454,8 +8454,8 @@ const DividerRoot = styled("div", {
8454
8454
  orientation: "vertical"
8455
8455
  },
8456
8456
  style: {
8457
- marginTop: theme2.spacing(1),
8458
- marginBottom: theme2.spacing(1)
8457
+ marginTop: theme.spacing(1),
8458
+ marginBottom: theme.spacing(1)
8459
8459
  }
8460
8460
  }, {
8461
8461
  props: {
@@ -8496,7 +8496,7 @@ const DividerRoot = styled("div", {
8496
8496
  style: {
8497
8497
  "&::before, &::after": {
8498
8498
  width: "100%",
8499
- borderTop: `thin solid ${(theme2.vars || theme2).palette.divider}`,
8499
+ borderTop: `thin solid ${(theme.vars || theme).palette.divider}`,
8500
8500
  borderTopStyle: "inherit"
8501
8501
  }
8502
8502
  }
@@ -8508,7 +8508,7 @@ const DividerRoot = styled("div", {
8508
8508
  flexDirection: "column",
8509
8509
  "&::before, &::after": {
8510
8510
  height: "100%",
8511
- borderLeft: `thin solid ${(theme2.vars || theme2).palette.divider}`,
8511
+ borderLeft: `thin solid ${(theme.vars || theme).palette.divider}`,
8512
8512
  borderLeftStyle: "inherit"
8513
8513
  }
8514
8514
  }
@@ -8548,19 +8548,19 @@ const DividerWrapper = styled("span", {
8548
8548
  return [styles2.wrapper, ownerState.orientation === "vertical" && styles2.wrapperVertical];
8549
8549
  }
8550
8550
  })(memoTheme(({
8551
- theme: theme2
8551
+ theme
8552
8552
  }) => ({
8553
8553
  display: "inline-block",
8554
- paddingLeft: `calc(${theme2.spacing(1)} * 1.2)`,
8555
- paddingRight: `calc(${theme2.spacing(1)} * 1.2)`,
8554
+ paddingLeft: `calc(${theme.spacing(1)} * 1.2)`,
8555
+ paddingRight: `calc(${theme.spacing(1)} * 1.2)`,
8556
8556
  whiteSpace: "nowrap",
8557
8557
  variants: [{
8558
8558
  props: {
8559
8559
  orientation: "vertical"
8560
8560
  },
8561
8561
  style: {
8562
- paddingTop: `calc(${theme2.spacing(1)} * 1.2)`,
8563
- paddingBottom: `calc(${theme2.spacing(1)} * 1.2)`
8562
+ paddingTop: `calc(${theme.spacing(1)} * 1.2)`,
8563
+ paddingBottom: `calc(${theme.spacing(1)} * 1.2)`
8564
8564
  }
8565
8565
  }]
8566
8566
  })));
@@ -9980,14 +9980,14 @@ const TouchRippleRipple = styled(Ripple, {
9980
9980
  animation-name: ${enterKeyframe};
9981
9981
  animation-duration: ${DURATION}ms;
9982
9982
  animation-timing-function: ${({
9983
- theme: theme2
9984
- }) => theme2.transitions.easing.easeInOut};
9983
+ theme
9984
+ }) => theme.transitions.easing.easeInOut};
9985
9985
  }
9986
9986
 
9987
9987
  &.${touchRippleClasses.ripplePulsate} {
9988
9988
  animation-duration: ${({
9989
- theme: theme2
9990
- }) => theme2.transitions.duration.shorter}ms;
9989
+ theme
9990
+ }) => theme.transitions.duration.shorter}ms;
9991
9991
  }
9992
9992
 
9993
9993
  & .${touchRippleClasses.child} {
@@ -10004,8 +10004,8 @@ const TouchRippleRipple = styled(Ripple, {
10004
10004
  animation-name: ${exitKeyframe};
10005
10005
  animation-duration: ${DURATION}ms;
10006
10006
  animation-timing-function: ${({
10007
- theme: theme2
10008
- }) => theme2.transitions.easing.easeInOut};
10007
+ theme
10008
+ }) => theme.transitions.easing.easeInOut};
10009
10009
  }
10010
10010
 
10011
10011
  & .${touchRippleClasses.childPulsate} {
@@ -10016,8 +10016,8 @@ const TouchRippleRipple = styled(Ripple, {
10016
10016
  animation-name: ${pulsateKeyframe};
10017
10017
  animation-duration: 2500ms;
10018
10018
  animation-timing-function: ${({
10019
- theme: theme2
10020
- }) => theme2.transitions.easing.easeInOut};
10019
+ theme
10020
+ }) => theme.transitions.easing.easeInOut};
10021
10021
  animation-iteration-count: infinite;
10022
10022
  animation-delay: 200ms;
10023
10023
  }
@@ -10655,7 +10655,7 @@ const ListItemButtonRoot = styled(ButtonBase, {
10655
10655
  slot: "Root",
10656
10656
  overridesResolver: overridesResolver$1
10657
10657
  })(memoTheme(({
10658
- theme: theme2
10658
+ theme
10659
10659
  }) => ({
10660
10660
  display: "flex",
10661
10661
  flexGrow: 1,
@@ -10668,42 +10668,42 @@ const ListItemButtonRoot = styled(ButtonBase, {
10668
10668
  textAlign: "left",
10669
10669
  paddingTop: 8,
10670
10670
  paddingBottom: 8,
10671
- transition: theme2.transitions.create("background-color", {
10672
- duration: theme2.transitions.duration.shortest
10671
+ transition: theme.transitions.create("background-color", {
10672
+ duration: theme.transitions.duration.shortest
10673
10673
  }),
10674
10674
  "&:hover": {
10675
10675
  textDecoration: "none",
10676
- backgroundColor: (theme2.vars || theme2).palette.action.hover,
10676
+ backgroundColor: (theme.vars || theme).palette.action.hover,
10677
10677
  // Reset on touch devices, it doesn't add specificity
10678
10678
  "@media (hover: none)": {
10679
10679
  backgroundColor: "transparent"
10680
10680
  }
10681
10681
  },
10682
10682
  [`&.${listItemButtonClasses.selected}`]: {
10683
- backgroundColor: theme2.alpha((theme2.vars || theme2).palette.primary.main, (theme2.vars || theme2).palette.action.selectedOpacity),
10683
+ backgroundColor: theme.alpha((theme.vars || theme).palette.primary.main, (theme.vars || theme).palette.action.selectedOpacity),
10684
10684
  [`&.${listItemButtonClasses.focusVisible}`]: {
10685
- backgroundColor: theme2.alpha((theme2.vars || theme2).palette.primary.main, `${(theme2.vars || theme2).palette.action.selectedOpacity} + ${(theme2.vars || theme2).palette.action.focusOpacity}`)
10685
+ backgroundColor: theme.alpha((theme.vars || theme).palette.primary.main, `${(theme.vars || theme).palette.action.selectedOpacity} + ${(theme.vars || theme).palette.action.focusOpacity}`)
10686
10686
  }
10687
10687
  },
10688
10688
  [`&.${listItemButtonClasses.selected}:hover`]: {
10689
- backgroundColor: theme2.alpha((theme2.vars || theme2).palette.primary.main, `${(theme2.vars || theme2).palette.action.selectedOpacity} + ${(theme2.vars || theme2).palette.action.hoverOpacity}`),
10689
+ backgroundColor: theme.alpha((theme.vars || theme).palette.primary.main, `${(theme.vars || theme).palette.action.selectedOpacity} + ${(theme.vars || theme).palette.action.hoverOpacity}`),
10690
10690
  // Reset on touch devices, it doesn't add specificity
10691
10691
  "@media (hover: none)": {
10692
- backgroundColor: theme2.alpha((theme2.vars || theme2).palette.primary.main, (theme2.vars || theme2).palette.action.selectedOpacity)
10692
+ backgroundColor: theme.alpha((theme.vars || theme).palette.primary.main, (theme.vars || theme).palette.action.selectedOpacity)
10693
10693
  }
10694
10694
  },
10695
10695
  [`&.${listItemButtonClasses.focusVisible}`]: {
10696
- backgroundColor: (theme2.vars || theme2).palette.action.focus
10696
+ backgroundColor: (theme.vars || theme).palette.action.focus
10697
10697
  },
10698
10698
  [`&.${listItemButtonClasses.disabled}`]: {
10699
- opacity: (theme2.vars || theme2).palette.action.disabledOpacity
10699
+ opacity: (theme.vars || theme).palette.action.disabledOpacity
10700
10700
  },
10701
10701
  variants: [{
10702
10702
  props: ({
10703
10703
  ownerState
10704
10704
  }) => ownerState.divider,
10705
10705
  style: {
10706
- borderBottom: `1px solid ${(theme2.vars || theme2).palette.divider}`,
10706
+ borderBottom: `1px solid ${(theme.vars || theme).palette.divider}`,
10707
10707
  backgroundClip: "padding-box"
10708
10708
  }
10709
10709
  }, {
@@ -10892,10 +10892,10 @@ const ListItemIconRoot = styled("div", {
10892
10892
  return [styles2.root, ownerState.alignItems === "flex-start" && styles2.alignItemsFlexStart];
10893
10893
  }
10894
10894
  })(memoTheme(({
10895
- theme: theme2
10895
+ theme
10896
10896
  }) => ({
10897
10897
  minWidth: 56,
10898
- color: (theme2.vars || theme2).palette.action.active,
10898
+ color: (theme.vars || theme).palette.action.active,
10899
10899
  flexShrink: 0,
10900
10900
  display: "inline-flex",
10901
10901
  variants: [{
@@ -11009,7 +11009,7 @@ const TypographyRoot = styled("span", {
11009
11009
  return [styles2.root, ownerState.variant && styles2[ownerState.variant], ownerState.align !== "inherit" && styles2[`align${capitalize(ownerState.align)}`], ownerState.noWrap && styles2.noWrap, ownerState.gutterBottom && styles2.gutterBottom, ownerState.paragraph && styles2.paragraph];
11010
11010
  }
11011
11011
  })(memoTheme(({
11012
- theme: theme2
11012
+ theme
11013
11013
  }) => ({
11014
11014
  margin: 0,
11015
11015
  variants: [{
@@ -11022,24 +11022,24 @@ const TypographyRoot = styled("span", {
11022
11022
  lineHeight: "inherit",
11023
11023
  letterSpacing: "inherit"
11024
11024
  }
11025
- }, ...Object.entries(theme2.typography).filter(([variant, value]) => variant !== "inherit" && value && typeof value === "object").map(([variant, value]) => ({
11025
+ }, ...Object.entries(theme.typography).filter(([variant, value]) => variant !== "inherit" && value && typeof value === "object").map(([variant, value]) => ({
11026
11026
  props: {
11027
11027
  variant
11028
11028
  },
11029
11029
  style: value
11030
- })), ...Object.entries(theme2.palette).filter(createSimplePaletteValueFilter()).map(([color2]) => ({
11030
+ })), ...Object.entries(theme.palette).filter(createSimplePaletteValueFilter()).map(([color2]) => ({
11031
11031
  props: {
11032
11032
  color: color2
11033
11033
  },
11034
11034
  style: {
11035
- color: (theme2.vars || theme2).palette[color2].main
11035
+ color: (theme.vars || theme).palette[color2].main
11036
11036
  }
11037
- })), ...Object.entries(theme2.palette?.text || {}).filter(([, value]) => typeof value === "string").map(([color2]) => ({
11037
+ })), ...Object.entries(theme.palette?.text || {}).filter(([, value]) => typeof value === "string").map(([color2]) => ({
11038
11038
  props: {
11039
11039
  color: `text${capitalize(color2)}`
11040
11040
  },
11041
11041
  style: {
11042
- color: (theme2.vars || theme2).palette.text[color2]
11042
+ color: (theme.vars || theme).palette.text[color2]
11043
11043
  }
11044
11044
  })), {
11045
11045
  props: ({
@@ -11694,15 +11694,15 @@ const SvgIconRoot = styled("svg", {
11694
11694
  return [styles2.root, ownerState.color !== "inherit" && styles2[`color${capitalize(ownerState.color)}`], styles2[`fontSize${capitalize(ownerState.fontSize)}`]];
11695
11695
  }
11696
11696
  })(memoTheme(({
11697
- theme: theme2
11697
+ theme
11698
11698
  }) => ({
11699
11699
  userSelect: "none",
11700
11700
  width: "1em",
11701
11701
  height: "1em",
11702
11702
  display: "inline-block",
11703
11703
  flexShrink: 0,
11704
- transition: theme2.transitions?.create?.("fill", {
11705
- duration: (theme2.vars ?? theme2).transitions?.duration?.shorter
11704
+ transition: theme.transitions?.create?.("fill", {
11705
+ duration: (theme.vars ?? theme).transitions?.duration?.shorter
11706
11706
  }),
11707
11707
  variants: [
11708
11708
  {
@@ -11726,7 +11726,7 @@ const SvgIconRoot = styled("svg", {
11726
11726
  fontSize: "small"
11727
11727
  },
11728
11728
  style: {
11729
- fontSize: theme2.typography?.pxToRem?.(20) || "1.25rem"
11729
+ fontSize: theme.typography?.pxToRem?.(20) || "1.25rem"
11730
11730
  }
11731
11731
  },
11732
11732
  {
@@ -11734,7 +11734,7 @@ const SvgIconRoot = styled("svg", {
11734
11734
  fontSize: "medium"
11735
11735
  },
11736
11736
  style: {
11737
- fontSize: theme2.typography?.pxToRem?.(24) || "1.5rem"
11737
+ fontSize: theme.typography?.pxToRem?.(24) || "1.5rem"
11738
11738
  }
11739
11739
  },
11740
11740
  {
@@ -11742,16 +11742,16 @@ const SvgIconRoot = styled("svg", {
11742
11742
  fontSize: "large"
11743
11743
  },
11744
11744
  style: {
11745
- fontSize: theme2.typography?.pxToRem?.(35) || "2.1875rem"
11745
+ fontSize: theme.typography?.pxToRem?.(35) || "2.1875rem"
11746
11746
  }
11747
11747
  },
11748
11748
  // TODO v5 deprecate color prop, v6 remove for sx
11749
- ...Object.entries((theme2.vars ?? theme2).palette).filter(([, value]) => value && value.main).map(([color2]) => ({
11749
+ ...Object.entries((theme.vars ?? theme).palette).filter(([, value]) => value && value.main).map(([color2]) => ({
11750
11750
  props: {
11751
11751
  color: color2
11752
11752
  },
11753
11753
  style: {
11754
- color: (theme2.vars ?? theme2).palette?.[color2]?.main
11754
+ color: (theme.vars ?? theme).palette?.[color2]?.main
11755
11755
  }
11756
11756
  })),
11757
11757
  {
@@ -11759,7 +11759,7 @@ const SvgIconRoot = styled("svg", {
11759
11759
  color: "action"
11760
11760
  },
11761
11761
  style: {
11762
- color: (theme2.vars ?? theme2).palette?.action?.active
11762
+ color: (theme.vars ?? theme).palette?.action?.active
11763
11763
  }
11764
11764
  },
11765
11765
  {
@@ -11767,7 +11767,7 @@ const SvgIconRoot = styled("svg", {
11767
11767
  color: "disabled"
11768
11768
  },
11769
11769
  style: {
11770
- color: (theme2.vars ?? theme2).palette?.action?.disabled
11770
+ color: (theme.vars ?? theme).palette?.action?.disabled
11771
11771
  }
11772
11772
  },
11773
11773
  {
@@ -11968,7 +11968,7 @@ function useControlled(props) {
11968
11968
  current: defaultValue
11969
11969
  } = React.useRef(defaultProp);
11970
11970
  React.useEffect(() => {
11971
- if (!isControlled && !Object.is(defaultValue, defaultProp)) {
11971
+ if (!isControlled && JSON.stringify(defaultProp) !== JSON.stringify(defaultValue)) {
11972
11972
  console.error([`MUI: A component is changing the default ${state} state of an uncontrolled ${name} after being initialized. To suppress this warning opt to use a controlled ${name}.`].join("\n"));
11973
11973
  }
11974
11974
  }, [JSON.stringify(defaultProp)]);
@@ -12109,7 +12109,7 @@ const CircularProgressRoot = styled("span", {
12109
12109
  return [styles2.root, styles2[ownerState.variant], styles2[`color${capitalize(ownerState.color)}`]];
12110
12110
  }
12111
12111
  })(memoTheme(({
12112
- theme: theme2
12112
+ theme
12113
12113
  }) => ({
12114
12114
  display: "inline-block",
12115
12115
  variants: [{
@@ -12117,7 +12117,7 @@ const CircularProgressRoot = styled("span", {
12117
12117
  variant: "determinate"
12118
12118
  },
12119
12119
  style: {
12120
- transition: theme2.transitions.create("transform")
12120
+ transition: theme.transitions.create("transform")
12121
12121
  }
12122
12122
  }, {
12123
12123
  props: {
@@ -12126,12 +12126,12 @@ const CircularProgressRoot = styled("span", {
12126
12126
  style: rotateAnimation || {
12127
12127
  animation: `${circularRotateKeyframe} 1.4s linear infinite`
12128
12128
  }
12129
- }, ...Object.entries(theme2.palette).filter(createSimplePaletteValueFilter()).map(([color2]) => ({
12129
+ }, ...Object.entries(theme.palette).filter(createSimplePaletteValueFilter()).map(([color2]) => ({
12130
12130
  props: {
12131
12131
  color: color2
12132
12132
  },
12133
12133
  style: {
12134
- color: (theme2.vars || theme2).palette[color2].main
12134
+ color: (theme.vars || theme).palette[color2].main
12135
12135
  }
12136
12136
  }))]
12137
12137
  })));
@@ -12152,7 +12152,7 @@ const CircularProgressCircle = styled("circle", {
12152
12152
  return [styles2.circle, styles2[`circle${capitalize(ownerState.variant)}`], ownerState.disableShrink && styles2.circleDisableShrink];
12153
12153
  }
12154
12154
  })(memoTheme(({
12155
- theme: theme2
12155
+ theme
12156
12156
  }) => ({
12157
12157
  stroke: "currentColor",
12158
12158
  variants: [{
@@ -12160,7 +12160,7 @@ const CircularProgressCircle = styled("circle", {
12160
12160
  variant: "determinate"
12161
12161
  },
12162
12162
  style: {
12163
- transition: theme2.transitions.create("stroke-dashoffset")
12163
+ transition: theme.transitions.create("stroke-dashoffset")
12164
12164
  }
12165
12165
  }, {
12166
12166
  props: {
@@ -12342,21 +12342,21 @@ const IconButtonRoot = styled(ButtonBase, {
12342
12342
  return [styles2.root, ownerState.loading && styles2.loading, ownerState.color !== "default" && styles2[`color${capitalize(ownerState.color)}`], ownerState.edge && styles2[`edge${capitalize(ownerState.edge)}`], styles2[`size${capitalize(ownerState.size)}`]];
12343
12343
  }
12344
12344
  })(memoTheme(({
12345
- theme: theme2
12345
+ theme
12346
12346
  }) => ({
12347
12347
  textAlign: "center",
12348
12348
  flex: "0 0 auto",
12349
- fontSize: theme2.typography.pxToRem(24),
12349
+ fontSize: theme.typography.pxToRem(24),
12350
12350
  padding: 8,
12351
12351
  borderRadius: "50%",
12352
- color: (theme2.vars || theme2).palette.action.active,
12353
- transition: theme2.transitions.create("background-color", {
12354
- duration: theme2.transitions.duration.shortest
12352
+ color: (theme.vars || theme).palette.action.active,
12353
+ transition: theme.transitions.create("background-color", {
12354
+ duration: theme.transitions.duration.shortest
12355
12355
  }),
12356
12356
  variants: [{
12357
12357
  props: (props) => !props.disableRipple,
12358
12358
  style: {
12359
- "--IconButton-hoverBg": theme2.alpha((theme2.vars || theme2).palette.action.active, (theme2.vars || theme2).palette.action.hoverOpacity),
12359
+ "--IconButton-hoverBg": theme.alpha((theme.vars || theme).palette.action.active, (theme.vars || theme).palette.action.hoverOpacity),
12360
12360
  "&:hover": {
12361
12361
  backgroundColor: "var(--IconButton-hoverBg)",
12362
12362
  // Reset on touch devices, it doesn't add specificity
@@ -12397,7 +12397,7 @@ const IconButtonRoot = styled(ButtonBase, {
12397
12397
  }
12398
12398
  }]
12399
12399
  })), memoTheme(({
12400
- theme: theme2
12400
+ theme
12401
12401
  }) => ({
12402
12402
  variants: [{
12403
12403
  props: {
@@ -12406,19 +12406,19 @@ const IconButtonRoot = styled(ButtonBase, {
12406
12406
  style: {
12407
12407
  color: "inherit"
12408
12408
  }
12409
- }, ...Object.entries(theme2.palette).filter(createSimplePaletteValueFilter()).map(([color2]) => ({
12409
+ }, ...Object.entries(theme.palette).filter(createSimplePaletteValueFilter()).map(([color2]) => ({
12410
12410
  props: {
12411
12411
  color: color2
12412
12412
  },
12413
12413
  style: {
12414
- color: (theme2.vars || theme2).palette[color2].main
12414
+ color: (theme.vars || theme).palette[color2].main
12415
12415
  }
12416
- })), ...Object.entries(theme2.palette).filter(createSimplePaletteValueFilter()).map(([color2]) => ({
12416
+ })), ...Object.entries(theme.palette).filter(createSimplePaletteValueFilter()).map(([color2]) => ({
12417
12417
  props: {
12418
12418
  color: color2
12419
12419
  },
12420
12420
  style: {
12421
- "--IconButton-hoverBg": theme2.alpha((theme2.vars || theme2).palette[color2].main, (theme2.vars || theme2).palette.action.hoverOpacity)
12421
+ "--IconButton-hoverBg": theme.alpha((theme.vars || theme).palette[color2].main, (theme.vars || theme).palette.action.hoverOpacity)
12422
12422
  }
12423
12423
  })), {
12424
12424
  props: {
@@ -12426,7 +12426,7 @@ const IconButtonRoot = styled(ButtonBase, {
12426
12426
  },
12427
12427
  style: {
12428
12428
  padding: 5,
12429
- fontSize: theme2.typography.pxToRem(18)
12429
+ fontSize: theme.typography.pxToRem(18)
12430
12430
  }
12431
12431
  }, {
12432
12432
  props: {
@@ -12434,12 +12434,12 @@ const IconButtonRoot = styled(ButtonBase, {
12434
12434
  },
12435
12435
  style: {
12436
12436
  padding: 12,
12437
- fontSize: theme2.typography.pxToRem(28)
12437
+ fontSize: theme.typography.pxToRem(28)
12438
12438
  }
12439
12439
  }],
12440
12440
  [`&.${iconButtonClasses.disabled}`]: {
12441
12441
  backgroundColor: "transparent",
12442
- color: (theme2.vars || theme2).palette.action.disabled
12442
+ color: (theme.vars || theme).palette.action.disabled
12443
12443
  },
12444
12444
  [`&.${iconButtonClasses.loading}`]: {
12445
12445
  color: "transparent"
@@ -12449,7 +12449,7 @@ const IconButtonLoadingIndicator = styled("span", {
12449
12449
  name: "MuiIconButton",
12450
12450
  slot: "LoadingIndicator"
12451
12451
  })(({
12452
- theme: theme2
12452
+ theme
12453
12453
  }) => ({
12454
12454
  display: "none",
12455
12455
  position: "absolute",
@@ -12457,7 +12457,7 @@ const IconButtonLoadingIndicator = styled("span", {
12457
12457
  top: "50%",
12458
12458
  left: "50%",
12459
12459
  transform: "translate(-50%, -50%)",
12460
- color: (theme2.vars || theme2).palette.action.disabled,
12460
+ color: (theme.vars || theme).palette.action.disabled,
12461
12461
  variants: [{
12462
12462
  props: {
12463
12463
  loading: true
@@ -12649,56 +12649,56 @@ const AlertRoot = styled(Paper, {
12649
12649
  return [styles2.root, styles2[ownerState.variant], styles2[`${ownerState.variant}${capitalize(ownerState.color || ownerState.severity)}`]];
12650
12650
  }
12651
12651
  })(memoTheme(({
12652
- theme: theme2
12652
+ theme
12653
12653
  }) => {
12654
- const getColor = theme2.palette.mode === "light" ? theme2.darken : theme2.lighten;
12655
- const getBackgroundColor = theme2.palette.mode === "light" ? theme2.lighten : theme2.darken;
12654
+ const getColor = theme.palette.mode === "light" ? theme.darken : theme.lighten;
12655
+ const getBackgroundColor = theme.palette.mode === "light" ? theme.lighten : theme.darken;
12656
12656
  return {
12657
- ...theme2.typography.body2,
12657
+ ...theme.typography.body2,
12658
12658
  backgroundColor: "transparent",
12659
12659
  display: "flex",
12660
12660
  padding: "6px 16px",
12661
- variants: [...Object.entries(theme2.palette).filter(createSimplePaletteValueFilter(["light"])).map(([color2]) => ({
12661
+ variants: [...Object.entries(theme.palette).filter(createSimplePaletteValueFilter(["light"])).map(([color2]) => ({
12662
12662
  props: {
12663
12663
  colorSeverity: color2,
12664
12664
  variant: "standard"
12665
12665
  },
12666
12666
  style: {
12667
- color: theme2.vars ? theme2.vars.palette.Alert[`${color2}Color`] : getColor(theme2.palette[color2].light, 0.6),
12668
- backgroundColor: theme2.vars ? theme2.vars.palette.Alert[`${color2}StandardBg`] : getBackgroundColor(theme2.palette[color2].light, 0.9),
12669
- [`& .${alertClasses.icon}`]: theme2.vars ? {
12670
- color: theme2.vars.palette.Alert[`${color2}IconColor`]
12667
+ color: theme.vars ? theme.vars.palette.Alert[`${color2}Color`] : getColor(theme.palette[color2].light, 0.6),
12668
+ backgroundColor: theme.vars ? theme.vars.palette.Alert[`${color2}StandardBg`] : getBackgroundColor(theme.palette[color2].light, 0.9),
12669
+ [`& .${alertClasses.icon}`]: theme.vars ? {
12670
+ color: theme.vars.palette.Alert[`${color2}IconColor`]
12671
12671
  } : {
12672
- color: theme2.palette[color2].main
12672
+ color: theme.palette[color2].main
12673
12673
  }
12674
12674
  }
12675
- })), ...Object.entries(theme2.palette).filter(createSimplePaletteValueFilter(["light"])).map(([color2]) => ({
12675
+ })), ...Object.entries(theme.palette).filter(createSimplePaletteValueFilter(["light"])).map(([color2]) => ({
12676
12676
  props: {
12677
12677
  colorSeverity: color2,
12678
12678
  variant: "outlined"
12679
12679
  },
12680
12680
  style: {
12681
- color: theme2.vars ? theme2.vars.palette.Alert[`${color2}Color`] : getColor(theme2.palette[color2].light, 0.6),
12682
- border: `1px solid ${(theme2.vars || theme2).palette[color2].light}`,
12683
- [`& .${alertClasses.icon}`]: theme2.vars ? {
12684
- color: theme2.vars.palette.Alert[`${color2}IconColor`]
12681
+ color: theme.vars ? theme.vars.palette.Alert[`${color2}Color`] : getColor(theme.palette[color2].light, 0.6),
12682
+ border: `1px solid ${(theme.vars || theme).palette[color2].light}`,
12683
+ [`& .${alertClasses.icon}`]: theme.vars ? {
12684
+ color: theme.vars.palette.Alert[`${color2}IconColor`]
12685
12685
  } : {
12686
- color: theme2.palette[color2].main
12686
+ color: theme.palette[color2].main
12687
12687
  }
12688
12688
  }
12689
- })), ...Object.entries(theme2.palette).filter(createSimplePaletteValueFilter(["dark"])).map(([color2]) => ({
12689
+ })), ...Object.entries(theme.palette).filter(createSimplePaletteValueFilter(["dark"])).map(([color2]) => ({
12690
12690
  props: {
12691
12691
  colorSeverity: color2,
12692
12692
  variant: "filled"
12693
12693
  },
12694
12694
  style: {
12695
- fontWeight: theme2.typography.fontWeightMedium,
12696
- ...theme2.vars ? {
12697
- color: theme2.vars.palette.Alert[`${color2}FilledColor`],
12698
- backgroundColor: theme2.vars.palette.Alert[`${color2}FilledBg`]
12695
+ fontWeight: theme.typography.fontWeightMedium,
12696
+ ...theme.vars ? {
12697
+ color: theme.vars.palette.Alert[`${color2}FilledColor`],
12698
+ backgroundColor: theme.vars.palette.Alert[`${color2}FilledBg`]
12699
12699
  } : {
12700
- backgroundColor: theme2.palette.mode === "dark" ? theme2.palette[color2].dark : theme2.palette[color2].main,
12701
- color: theme2.palette.getContrastText(theme2.palette[color2].main)
12700
+ backgroundColor: theme.palette.mode === "dark" ? theme.palette[color2].dark : theme.palette[color2].main,
12701
+ color: theme.palette.getContrastText(theme.palette[color2].main)
12702
12702
  }
12703
12703
  }
12704
12704
  }))]
@@ -13066,24 +13066,24 @@ const ButtonRoot = styled(ButtonBase, {
13066
13066
  return [styles2.root, styles2[ownerState.variant], styles2[`${ownerState.variant}${capitalize(ownerState.color)}`], styles2[`size${capitalize(ownerState.size)}`], styles2[`${ownerState.variant}Size${capitalize(ownerState.size)}`], ownerState.color === "inherit" && styles2.colorInherit, ownerState.disableElevation && styles2.disableElevation, ownerState.fullWidth && styles2.fullWidth, ownerState.loading && styles2.loading];
13067
13067
  }
13068
13068
  })(memoTheme(({
13069
- theme: theme2
13069
+ theme
13070
13070
  }) => {
13071
- const inheritContainedBackgroundColor = theme2.palette.mode === "light" ? theme2.palette.grey[300] : theme2.palette.grey[800];
13072
- const inheritContainedHoverBackgroundColor = theme2.palette.mode === "light" ? theme2.palette.grey.A100 : theme2.palette.grey[700];
13071
+ const inheritContainedBackgroundColor = theme.palette.mode === "light" ? theme.palette.grey[300] : theme.palette.grey[800];
13072
+ const inheritContainedHoverBackgroundColor = theme.palette.mode === "light" ? theme.palette.grey.A100 : theme.palette.grey[700];
13073
13073
  return {
13074
- ...theme2.typography.button,
13074
+ ...theme.typography.button,
13075
13075
  minWidth: 64,
13076
13076
  padding: "6px 16px",
13077
13077
  border: 0,
13078
- borderRadius: (theme2.vars || theme2).shape.borderRadius,
13079
- transition: theme2.transitions.create(["background-color", "box-shadow", "border-color", "color"], {
13080
- duration: theme2.transitions.duration.short
13078
+ borderRadius: (theme.vars || theme).shape.borderRadius,
13079
+ transition: theme.transitions.create(["background-color", "box-shadow", "border-color", "color"], {
13080
+ duration: theme.transitions.duration.short
13081
13081
  }),
13082
13082
  "&:hover": {
13083
13083
  textDecoration: "none"
13084
13084
  },
13085
13085
  [`&.${buttonClasses.disabled}`]: {
13086
- color: (theme2.vars || theme2).palette.action.disabled
13086
+ color: (theme.vars || theme).palette.action.disabled
13087
13087
  },
13088
13088
  variants: [{
13089
13089
  props: {
@@ -13092,24 +13092,24 @@ const ButtonRoot = styled(ButtonBase, {
13092
13092
  style: {
13093
13093
  color: `var(--variant-containedColor)`,
13094
13094
  backgroundColor: `var(--variant-containedBg)`,
13095
- boxShadow: (theme2.vars || theme2).shadows[2],
13095
+ boxShadow: (theme.vars || theme).shadows[2],
13096
13096
  "&:hover": {
13097
- boxShadow: (theme2.vars || theme2).shadows[4],
13097
+ boxShadow: (theme.vars || theme).shadows[4],
13098
13098
  // Reset on touch devices, it doesn't add specificity
13099
13099
  "@media (hover: none)": {
13100
- boxShadow: (theme2.vars || theme2).shadows[2]
13100
+ boxShadow: (theme.vars || theme).shadows[2]
13101
13101
  }
13102
13102
  },
13103
13103
  "&:active": {
13104
- boxShadow: (theme2.vars || theme2).shadows[8]
13104
+ boxShadow: (theme.vars || theme).shadows[8]
13105
13105
  },
13106
13106
  [`&.${buttonClasses.focusVisible}`]: {
13107
- boxShadow: (theme2.vars || theme2).shadows[6]
13107
+ boxShadow: (theme.vars || theme).shadows[6]
13108
13108
  },
13109
13109
  [`&.${buttonClasses.disabled}`]: {
13110
- color: (theme2.vars || theme2).palette.action.disabled,
13111
- boxShadow: (theme2.vars || theme2).shadows[0],
13112
- backgroundColor: (theme2.vars || theme2).palette.action.disabledBackground
13110
+ color: (theme.vars || theme).palette.action.disabled,
13111
+ boxShadow: (theme.vars || theme).shadows[0],
13112
+ backgroundColor: (theme.vars || theme).palette.action.disabledBackground
13113
13113
  }
13114
13114
  }
13115
13115
  }, {
@@ -13123,7 +13123,7 @@ const ButtonRoot = styled(ButtonBase, {
13123
13123
  backgroundColor: `var(--variant-outlinedBg)`,
13124
13124
  color: `var(--variant-outlinedColor)`,
13125
13125
  [`&.${buttonClasses.disabled}`]: {
13126
- border: `1px solid ${(theme2.vars || theme2).palette.action.disabledBackground}`
13126
+ border: `1px solid ${(theme.vars || theme).palette.action.disabledBackground}`
13127
13127
  }
13128
13128
  }
13129
13129
  }, {
@@ -13135,22 +13135,22 @@ const ButtonRoot = styled(ButtonBase, {
13135
13135
  color: `var(--variant-textColor)`,
13136
13136
  backgroundColor: `var(--variant-textBg)`
13137
13137
  }
13138
- }, ...Object.entries(theme2.palette).filter(createSimplePaletteValueFilter()).map(([color2]) => ({
13138
+ }, ...Object.entries(theme.palette).filter(createSimplePaletteValueFilter()).map(([color2]) => ({
13139
13139
  props: {
13140
13140
  color: color2
13141
13141
  },
13142
13142
  style: {
13143
- "--variant-textColor": (theme2.vars || theme2).palette[color2].main,
13144
- "--variant-outlinedColor": (theme2.vars || theme2).palette[color2].main,
13145
- "--variant-outlinedBorder": theme2.alpha((theme2.vars || theme2).palette[color2].main, 0.5),
13146
- "--variant-containedColor": (theme2.vars || theme2).palette[color2].contrastText,
13147
- "--variant-containedBg": (theme2.vars || theme2).palette[color2].main,
13143
+ "--variant-textColor": (theme.vars || theme).palette[color2].main,
13144
+ "--variant-outlinedColor": (theme.vars || theme).palette[color2].main,
13145
+ "--variant-outlinedBorder": theme.alpha((theme.vars || theme).palette[color2].main, 0.5),
13146
+ "--variant-containedColor": (theme.vars || theme).palette[color2].contrastText,
13147
+ "--variant-containedBg": (theme.vars || theme).palette[color2].main,
13148
13148
  "@media (hover: hover)": {
13149
13149
  "&:hover": {
13150
- "--variant-containedBg": (theme2.vars || theme2).palette[color2].dark,
13151
- "--variant-textBg": theme2.alpha((theme2.vars || theme2).palette[color2].main, (theme2.vars || theme2).palette.action.hoverOpacity),
13152
- "--variant-outlinedBorder": (theme2.vars || theme2).palette[color2].main,
13153
- "--variant-outlinedBg": theme2.alpha((theme2.vars || theme2).palette[color2].main, (theme2.vars || theme2).palette.action.hoverOpacity)
13150
+ "--variant-containedBg": (theme.vars || theme).palette[color2].dark,
13151
+ "--variant-textBg": theme.alpha((theme.vars || theme).palette[color2].main, (theme.vars || theme).palette.action.hoverOpacity),
13152
+ "--variant-outlinedBorder": (theme.vars || theme).palette[color2].main,
13153
+ "--variant-outlinedBg": theme.alpha((theme.vars || theme).palette[color2].main, (theme.vars || theme).palette.action.hoverOpacity)
13154
13154
  }
13155
13155
  }
13156
13156
  }
@@ -13161,12 +13161,12 @@ const ButtonRoot = styled(ButtonBase, {
13161
13161
  style: {
13162
13162
  color: "inherit",
13163
13163
  borderColor: "currentColor",
13164
- "--variant-containedBg": theme2.vars ? theme2.vars.palette.Button.inheritContainedBg : inheritContainedBackgroundColor,
13164
+ "--variant-containedBg": theme.vars ? theme.vars.palette.Button.inheritContainedBg : inheritContainedBackgroundColor,
13165
13165
  "@media (hover: hover)": {
13166
13166
  "&:hover": {
13167
- "--variant-containedBg": theme2.vars ? theme2.vars.palette.Button.inheritContainedHoverBg : inheritContainedHoverBackgroundColor,
13168
- "--variant-textBg": theme2.alpha((theme2.vars || theme2).palette.text.primary, (theme2.vars || theme2).palette.action.hoverOpacity),
13169
- "--variant-outlinedBg": theme2.alpha((theme2.vars || theme2).palette.text.primary, (theme2.vars || theme2).palette.action.hoverOpacity)
13167
+ "--variant-containedBg": theme.vars ? theme.vars.palette.Button.inheritContainedHoverBg : inheritContainedHoverBackgroundColor,
13168
+ "--variant-textBg": theme.alpha((theme.vars || theme).palette.text.primary, (theme.vars || theme).palette.action.hoverOpacity),
13169
+ "--variant-outlinedBg": theme.alpha((theme.vars || theme).palette.text.primary, (theme.vars || theme).palette.action.hoverOpacity)
13170
13170
  }
13171
13171
  }
13172
13172
  }
@@ -13177,7 +13177,7 @@ const ButtonRoot = styled(ButtonBase, {
13177
13177
  },
13178
13178
  style: {
13179
13179
  padding: "4px 5px",
13180
- fontSize: theme2.typography.pxToRem(13)
13180
+ fontSize: theme.typography.pxToRem(13)
13181
13181
  }
13182
13182
  }, {
13183
13183
  props: {
@@ -13186,7 +13186,7 @@ const ButtonRoot = styled(ButtonBase, {
13186
13186
  },
13187
13187
  style: {
13188
13188
  padding: "8px 11px",
13189
- fontSize: theme2.typography.pxToRem(15)
13189
+ fontSize: theme.typography.pxToRem(15)
13190
13190
  }
13191
13191
  }, {
13192
13192
  props: {
@@ -13195,7 +13195,7 @@ const ButtonRoot = styled(ButtonBase, {
13195
13195
  },
13196
13196
  style: {
13197
13197
  padding: "3px 9px",
13198
- fontSize: theme2.typography.pxToRem(13)
13198
+ fontSize: theme.typography.pxToRem(13)
13199
13199
  }
13200
13200
  }, {
13201
13201
  props: {
@@ -13204,7 +13204,7 @@ const ButtonRoot = styled(ButtonBase, {
13204
13204
  },
13205
13205
  style: {
13206
13206
  padding: "7px 21px",
13207
- fontSize: theme2.typography.pxToRem(15)
13207
+ fontSize: theme.typography.pxToRem(15)
13208
13208
  }
13209
13209
  }, {
13210
13210
  props: {
@@ -13213,7 +13213,7 @@ const ButtonRoot = styled(ButtonBase, {
13213
13213
  },
13214
13214
  style: {
13215
13215
  padding: "4px 10px",
13216
- fontSize: theme2.typography.pxToRem(13)
13216
+ fontSize: theme.typography.pxToRem(13)
13217
13217
  }
13218
13218
  }, {
13219
13219
  props: {
@@ -13222,7 +13222,7 @@ const ButtonRoot = styled(ButtonBase, {
13222
13222
  },
13223
13223
  style: {
13224
13224
  padding: "8px 22px",
13225
- fontSize: theme2.typography.pxToRem(15)
13225
+ fontSize: theme.typography.pxToRem(15)
13226
13226
  }
13227
13227
  }, {
13228
13228
  props: {
@@ -13255,8 +13255,8 @@ const ButtonRoot = styled(ButtonBase, {
13255
13255
  loadingPosition: "center"
13256
13256
  },
13257
13257
  style: {
13258
- transition: theme2.transitions.create(["background-color", "box-shadow", "border-color"], {
13259
- duration: theme2.transitions.duration.short
13258
+ transition: theme.transitions.create(["background-color", "box-shadow", "border-color"], {
13259
+ duration: theme.transitions.duration.short
13260
13260
  }),
13261
13261
  [`&.${buttonClasses.loading}`]: {
13262
13262
  color: "transparent"
@@ -13275,7 +13275,7 @@ const ButtonStartIcon = styled("span", {
13275
13275
  return [styles2.startIcon, ownerState.loading && styles2.startIconLoadingStart, styles2[`iconSize${capitalize(ownerState.size)}`]];
13276
13276
  }
13277
13277
  })(({
13278
- theme: theme2
13278
+ theme
13279
13279
  }) => ({
13280
13280
  display: "inherit",
13281
13281
  marginRight: 8,
@@ -13293,8 +13293,8 @@ const ButtonStartIcon = styled("span", {
13293
13293
  loading: true
13294
13294
  },
13295
13295
  style: {
13296
- transition: theme2.transitions.create(["opacity"], {
13297
- duration: theme2.transitions.duration.short
13296
+ transition: theme.transitions.create(["opacity"], {
13297
+ duration: theme.transitions.duration.short
13298
13298
  }),
13299
13299
  opacity: 0
13300
13300
  }
@@ -13319,7 +13319,7 @@ const ButtonEndIcon = styled("span", {
13319
13319
  return [styles2.endIcon, ownerState.loading && styles2.endIconLoadingEnd, styles2[`iconSize${capitalize(ownerState.size)}`]];
13320
13320
  }
13321
13321
  })(({
13322
- theme: theme2
13322
+ theme
13323
13323
  }) => ({
13324
13324
  display: "inherit",
13325
13325
  marginRight: -4,
@@ -13337,8 +13337,8 @@ const ButtonEndIcon = styled("span", {
13337
13337
  loading: true
13338
13338
  },
13339
13339
  style: {
13340
- transition: theme2.transitions.create(["opacity"], {
13341
- duration: theme2.transitions.duration.short
13340
+ transition: theme.transitions.create(["opacity"], {
13341
+ duration: theme.transitions.duration.short
13342
13342
  }),
13343
13343
  opacity: 0
13344
13344
  }
@@ -13357,7 +13357,7 @@ const ButtonLoadingIndicator = styled("span", {
13357
13357
  name: "MuiButton",
13358
13358
  slot: "LoadingIndicator"
13359
13359
  })(({
13360
- theme: theme2
13360
+ theme
13361
13361
  }) => ({
13362
13362
  display: "none",
13363
13363
  position: "absolute",
@@ -13399,7 +13399,7 @@ const ButtonLoadingIndicator = styled("span", {
13399
13399
  style: {
13400
13400
  left: "50%",
13401
13401
  transform: "translate(-50%)",
13402
- color: (theme2.vars || theme2).palette.action.disabled
13402
+ color: (theme.vars || theme).palette.action.disabled
13403
13403
  }
13404
13404
  }, {
13405
13405
  props: {
@@ -13992,20 +13992,20 @@ const FormHelperTextRoot = styled("p", {
13992
13992
  return [styles2.root, ownerState.size && styles2[`size${capitalize(ownerState.size)}`], ownerState.contained && styles2.contained, ownerState.filled && styles2.filled];
13993
13993
  }
13994
13994
  })(memoTheme(({
13995
- theme: theme2
13995
+ theme
13996
13996
  }) => ({
13997
- color: (theme2.vars || theme2).palette.text.secondary,
13998
- ...theme2.typography.caption,
13997
+ color: (theme.vars || theme).palette.text.secondary,
13998
+ ...theme.typography.caption,
13999
13999
  textAlign: "left",
14000
14000
  marginTop: 3,
14001
14001
  marginRight: 0,
14002
14002
  marginBottom: 0,
14003
14003
  marginLeft: 0,
14004
14004
  [`&.${formHelperTextClasses.disabled}`]: {
14005
- color: (theme2.vars || theme2).palette.text.disabled
14005
+ color: (theme.vars || theme).palette.text.disabled
14006
14006
  },
14007
14007
  [`&.${formHelperTextClasses.error}`]: {
14008
- color: (theme2.vars || theme2).palette.error.main
14008
+ color: (theme.vars || theme).palette.error.main
14009
14009
  },
14010
14010
  variants: [{
14011
14011
  props: {
@@ -14166,30 +14166,30 @@ const FormLabelRoot = styled("label", {
14166
14166
  return [styles2.root, ownerState.color === "secondary" && styles2.colorSecondary, ownerState.filled && styles2.filled];
14167
14167
  }
14168
14168
  })(memoTheme(({
14169
- theme: theme2
14169
+ theme
14170
14170
  }) => ({
14171
- color: (theme2.vars || theme2).palette.text.secondary,
14172
- ...theme2.typography.body1,
14171
+ color: (theme.vars || theme).palette.text.secondary,
14172
+ ...theme.typography.body1,
14173
14173
  lineHeight: "1.4375em",
14174
14174
  padding: 0,
14175
14175
  position: "relative",
14176
- variants: [...Object.entries(theme2.palette).filter(createSimplePaletteValueFilter()).map(([color2]) => ({
14176
+ variants: [...Object.entries(theme.palette).filter(createSimplePaletteValueFilter()).map(([color2]) => ({
14177
14177
  props: {
14178
14178
  color: color2
14179
14179
  },
14180
14180
  style: {
14181
14181
  [`&.${formLabelClasses.focused}`]: {
14182
- color: (theme2.vars || theme2).palette[color2].main
14182
+ color: (theme.vars || theme).palette[color2].main
14183
14183
  }
14184
14184
  }
14185
14185
  })), {
14186
14186
  props: {},
14187
14187
  style: {
14188
14188
  [`&.${formLabelClasses.disabled}`]: {
14189
- color: (theme2.vars || theme2).palette.text.disabled
14189
+ color: (theme.vars || theme).palette.text.disabled
14190
14190
  },
14191
14191
  [`&.${formLabelClasses.error}`]: {
14192
- color: (theme2.vars || theme2).palette.error.main
14192
+ color: (theme.vars || theme).palette.error.main
14193
14193
  }
14194
14194
  }
14195
14195
  }]
@@ -14198,10 +14198,10 @@ const AsteriskComponent = styled("span", {
14198
14198
  name: "MuiFormLabel",
14199
14199
  slot: "Asterisk"
14200
14200
  })(memoTheme(({
14201
- theme: theme2
14201
+ theme
14202
14202
  }) => ({
14203
14203
  [`&.${formLabelClasses.error}`]: {
14204
- color: (theme2.vars || theme2).palette.error.main
14204
+ color: (theme.vars || theme).palette.error.main
14205
14205
  }
14206
14206
  })));
14207
14207
  const FormLabel = /* @__PURE__ */ React.forwardRef(function FormLabel2(inProps, ref) {
@@ -14343,7 +14343,7 @@ const InputLabelRoot = styled(FormLabel, {
14343
14343
  }, styles2.root, ownerState.formControl && styles2.formControl, ownerState.size === "small" && styles2.sizeSmall, ownerState.shrink && styles2.shrink, !ownerState.disableAnimation && styles2.animated, ownerState.focused && styles2.focused, styles2[ownerState.variant]];
14344
14344
  }
14345
14345
  })(memoTheme(({
14346
- theme: theme2
14346
+ theme
14347
14347
  }) => ({
14348
14348
  display: "block",
14349
14349
  transformOrigin: "top left",
@@ -14384,9 +14384,9 @@ const InputLabelRoot = styled(FormLabel, {
14384
14384
  ownerState
14385
14385
  }) => !ownerState.disableAnimation,
14386
14386
  style: {
14387
- transition: theme2.transitions.create(["color", "transform", "max-width"], {
14388
- duration: theme2.transitions.duration.shorter,
14389
- easing: theme2.transitions.easing.easeOut
14387
+ transition: theme.transitions.create(["color", "transform", "max-width"], {
14388
+ duration: theme.transitions.duration.shorter,
14389
+ easing: theme.transitions.easing.easeOut
14390
14390
  })
14391
14391
  }
14392
14392
  }, {
@@ -14609,9 +14609,9 @@ const MenuItemRoot = styled(ButtonBase, {
14609
14609
  slot: "Root",
14610
14610
  overridesResolver
14611
14611
  })(memoTheme(({
14612
- theme: theme2
14612
+ theme
14613
14613
  }) => ({
14614
- ...theme2.typography.body1,
14614
+ ...theme.typography.body1,
14615
14615
  display: "flex",
14616
14616
  justifyContent: "flex-start",
14617
14617
  alignItems: "center",
@@ -14624,34 +14624,34 @@ const MenuItemRoot = styled(ButtonBase, {
14624
14624
  whiteSpace: "nowrap",
14625
14625
  "&:hover": {
14626
14626
  textDecoration: "none",
14627
- backgroundColor: (theme2.vars || theme2).palette.action.hover,
14627
+ backgroundColor: (theme.vars || theme).palette.action.hover,
14628
14628
  // Reset on touch devices, it doesn't add specificity
14629
14629
  "@media (hover: none)": {
14630
14630
  backgroundColor: "transparent"
14631
14631
  }
14632
14632
  },
14633
14633
  [`&.${menuItemClasses.selected}`]: {
14634
- backgroundColor: theme2.alpha((theme2.vars || theme2).palette.primary.main, (theme2.vars || theme2).palette.action.selectedOpacity),
14634
+ backgroundColor: theme.alpha((theme.vars || theme).palette.primary.main, (theme.vars || theme).palette.action.selectedOpacity),
14635
14635
  [`&.${menuItemClasses.focusVisible}`]: {
14636
- backgroundColor: theme2.alpha((theme2.vars || theme2).palette.primary.main, `${(theme2.vars || theme2).palette.action.selectedOpacity} + ${(theme2.vars || theme2).palette.action.focusOpacity}`)
14636
+ backgroundColor: theme.alpha((theme.vars || theme).palette.primary.main, `${(theme.vars || theme).palette.action.selectedOpacity} + ${(theme.vars || theme).palette.action.focusOpacity}`)
14637
14637
  }
14638
14638
  },
14639
14639
  [`&.${menuItemClasses.selected}:hover`]: {
14640
- backgroundColor: theme2.alpha((theme2.vars || theme2).palette.primary.main, `${(theme2.vars || theme2).palette.action.selectedOpacity} + ${(theme2.vars || theme2).palette.action.hoverOpacity}`),
14640
+ backgroundColor: theme.alpha((theme.vars || theme).palette.primary.main, `${(theme.vars || theme).palette.action.selectedOpacity} + ${(theme.vars || theme).palette.action.hoverOpacity}`),
14641
14641
  // Reset on touch devices, it doesn't add specificity
14642
14642
  "@media (hover: none)": {
14643
- backgroundColor: theme2.alpha((theme2.vars || theme2).palette.primary.main, (theme2.vars || theme2).palette.action.selectedOpacity)
14643
+ backgroundColor: theme.alpha((theme.vars || theme).palette.primary.main, (theme.vars || theme).palette.action.selectedOpacity)
14644
14644
  }
14645
14645
  },
14646
14646
  [`&.${menuItemClasses.focusVisible}`]: {
14647
- backgroundColor: (theme2.vars || theme2).palette.action.focus
14647
+ backgroundColor: (theme.vars || theme).palette.action.focus
14648
14648
  },
14649
14649
  [`&.${menuItemClasses.disabled}`]: {
14650
- opacity: (theme2.vars || theme2).palette.action.disabledOpacity
14650
+ opacity: (theme.vars || theme).palette.action.disabledOpacity
14651
14651
  },
14652
14652
  [`& + .${dividerClasses.root}`]: {
14653
- marginTop: theme2.spacing(1),
14654
- marginBottom: theme2.spacing(1)
14653
+ marginTop: theme.spacing(1),
14654
+ marginBottom: theme.spacing(1)
14655
14655
  },
14656
14656
  [`& + .${dividerClasses.inset}`]: {
14657
14657
  marginLeft: 52
@@ -14679,7 +14679,7 @@ const MenuItemRoot = styled(ButtonBase, {
14679
14679
  ownerState
14680
14680
  }) => ownerState.divider,
14681
14681
  style: {
14682
- borderBottom: `1px solid ${(theme2.vars || theme2).palette.divider}`,
14682
+ borderBottom: `1px solid ${(theme.vars || theme).palette.divider}`,
14683
14683
  backgroundClip: "padding-box"
14684
14684
  }
14685
14685
  }, {
@@ -14687,7 +14687,7 @@ const MenuItemRoot = styled(ButtonBase, {
14687
14687
  ownerState
14688
14688
  }) => !ownerState.dense,
14689
14689
  style: {
14690
- [theme2.breakpoints.up("sm")]: {
14690
+ [theme.breakpoints.up("sm")]: {
14691
14691
  minHeight: "auto"
14692
14692
  }
14693
14693
  }
@@ -14700,7 +14700,7 @@ const MenuItemRoot = styled(ButtonBase, {
14700
14700
  // https://m2.material.io/components/menus#specs > Dense
14701
14701
  paddingTop: 4,
14702
14702
  paddingBottom: 4,
14703
- ...theme2.typography.body2,
14703
+ ...theme.typography.body2,
14704
14704
  [`& .${listItemIconClasses.root} svg`]: {
14705
14705
  fontSize: "1.25rem"
14706
14706
  }
@@ -14847,6 +14847,223 @@ function getReactElementRef(element) {
14847
14847
  }
14848
14848
  return element?.ref || null;
14849
14849
  }
14850
+ var reactIs = { exports: {} };
14851
+ var reactIs_production = {};
14852
+ /**
14853
+ * @license React
14854
+ * react-is.production.js
14855
+ *
14856
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
14857
+ *
14858
+ * This source code is licensed under the MIT license found in the
14859
+ * LICENSE file in the root directory of this source tree.
14860
+ */
14861
+ var hasRequiredReactIs_production;
14862
+ function requireReactIs_production() {
14863
+ if (hasRequiredReactIs_production) return reactIs_production;
14864
+ hasRequiredReactIs_production = 1;
14865
+ var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"), REACT_PORTAL_TYPE = Symbol.for("react.portal"), REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"), REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"), REACT_PROFILER_TYPE = Symbol.for("react.profiler");
14866
+ var REACT_CONSUMER_TYPE = Symbol.for("react.consumer"), REACT_CONTEXT_TYPE = Symbol.for("react.context"), REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"), REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"), REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"), REACT_MEMO_TYPE = Symbol.for("react.memo"), REACT_LAZY_TYPE = Symbol.for("react.lazy"), REACT_VIEW_TRANSITION_TYPE = Symbol.for("react.view_transition"), REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference");
14867
+ function typeOf(object) {
14868
+ if ("object" === typeof object && null !== object) {
14869
+ var $$typeof = object.$$typeof;
14870
+ switch ($$typeof) {
14871
+ case REACT_ELEMENT_TYPE:
14872
+ switch (object = object.type, object) {
14873
+ case REACT_FRAGMENT_TYPE:
14874
+ case REACT_PROFILER_TYPE:
14875
+ case REACT_STRICT_MODE_TYPE:
14876
+ case REACT_SUSPENSE_TYPE:
14877
+ case REACT_SUSPENSE_LIST_TYPE:
14878
+ case REACT_VIEW_TRANSITION_TYPE:
14879
+ return object;
14880
+ default:
14881
+ switch (object = object && object.$$typeof, object) {
14882
+ case REACT_CONTEXT_TYPE:
14883
+ case REACT_FORWARD_REF_TYPE:
14884
+ case REACT_LAZY_TYPE:
14885
+ case REACT_MEMO_TYPE:
14886
+ return object;
14887
+ case REACT_CONSUMER_TYPE:
14888
+ return object;
14889
+ default:
14890
+ return $$typeof;
14891
+ }
14892
+ }
14893
+ case REACT_PORTAL_TYPE:
14894
+ return $$typeof;
14895
+ }
14896
+ }
14897
+ }
14898
+ reactIs_production.ContextConsumer = REACT_CONSUMER_TYPE;
14899
+ reactIs_production.ContextProvider = REACT_CONTEXT_TYPE;
14900
+ reactIs_production.Element = REACT_ELEMENT_TYPE;
14901
+ reactIs_production.ForwardRef = REACT_FORWARD_REF_TYPE;
14902
+ reactIs_production.Fragment = REACT_FRAGMENT_TYPE;
14903
+ reactIs_production.Lazy = REACT_LAZY_TYPE;
14904
+ reactIs_production.Memo = REACT_MEMO_TYPE;
14905
+ reactIs_production.Portal = REACT_PORTAL_TYPE;
14906
+ reactIs_production.Profiler = REACT_PROFILER_TYPE;
14907
+ reactIs_production.StrictMode = REACT_STRICT_MODE_TYPE;
14908
+ reactIs_production.Suspense = REACT_SUSPENSE_TYPE;
14909
+ reactIs_production.SuspenseList = REACT_SUSPENSE_LIST_TYPE;
14910
+ reactIs_production.isContextConsumer = function(object) {
14911
+ return typeOf(object) === REACT_CONSUMER_TYPE;
14912
+ };
14913
+ reactIs_production.isContextProvider = function(object) {
14914
+ return typeOf(object) === REACT_CONTEXT_TYPE;
14915
+ };
14916
+ reactIs_production.isElement = function(object) {
14917
+ return "object" === typeof object && null !== object && object.$$typeof === REACT_ELEMENT_TYPE;
14918
+ };
14919
+ reactIs_production.isForwardRef = function(object) {
14920
+ return typeOf(object) === REACT_FORWARD_REF_TYPE;
14921
+ };
14922
+ reactIs_production.isFragment = function(object) {
14923
+ return typeOf(object) === REACT_FRAGMENT_TYPE;
14924
+ };
14925
+ reactIs_production.isLazy = function(object) {
14926
+ return typeOf(object) === REACT_LAZY_TYPE;
14927
+ };
14928
+ reactIs_production.isMemo = function(object) {
14929
+ return typeOf(object) === REACT_MEMO_TYPE;
14930
+ };
14931
+ reactIs_production.isPortal = function(object) {
14932
+ return typeOf(object) === REACT_PORTAL_TYPE;
14933
+ };
14934
+ reactIs_production.isProfiler = function(object) {
14935
+ return typeOf(object) === REACT_PROFILER_TYPE;
14936
+ };
14937
+ reactIs_production.isStrictMode = function(object) {
14938
+ return typeOf(object) === REACT_STRICT_MODE_TYPE;
14939
+ };
14940
+ reactIs_production.isSuspense = function(object) {
14941
+ return typeOf(object) === REACT_SUSPENSE_TYPE;
14942
+ };
14943
+ reactIs_production.isSuspenseList = function(object) {
14944
+ return typeOf(object) === REACT_SUSPENSE_LIST_TYPE;
14945
+ };
14946
+ reactIs_production.isValidElementType = function(type) {
14947
+ return "string" === typeof type || "function" === typeof type || type === REACT_FRAGMENT_TYPE || type === REACT_PROFILER_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || "object" === typeof type && null !== type && (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_CONSUMER_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_CLIENT_REFERENCE || void 0 !== type.getModuleId) ? true : false;
14948
+ };
14949
+ reactIs_production.typeOf = typeOf;
14950
+ return reactIs_production;
14951
+ }
14952
+ var reactIs_development = {};
14953
+ /**
14954
+ * @license React
14955
+ * react-is.development.js
14956
+ *
14957
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
14958
+ *
14959
+ * This source code is licensed under the MIT license found in the
14960
+ * LICENSE file in the root directory of this source tree.
14961
+ */
14962
+ var hasRequiredReactIs_development;
14963
+ function requireReactIs_development() {
14964
+ if (hasRequiredReactIs_development) return reactIs_development;
14965
+ hasRequiredReactIs_development = 1;
14966
+ "production" !== process.env.NODE_ENV && (function() {
14967
+ function typeOf(object) {
14968
+ if ("object" === typeof object && null !== object) {
14969
+ var $$typeof = object.$$typeof;
14970
+ switch ($$typeof) {
14971
+ case REACT_ELEMENT_TYPE:
14972
+ switch (object = object.type, object) {
14973
+ case REACT_FRAGMENT_TYPE:
14974
+ case REACT_PROFILER_TYPE:
14975
+ case REACT_STRICT_MODE_TYPE:
14976
+ case REACT_SUSPENSE_TYPE:
14977
+ case REACT_SUSPENSE_LIST_TYPE:
14978
+ case REACT_VIEW_TRANSITION_TYPE:
14979
+ return object;
14980
+ default:
14981
+ switch (object = object && object.$$typeof, object) {
14982
+ case REACT_CONTEXT_TYPE:
14983
+ case REACT_FORWARD_REF_TYPE:
14984
+ case REACT_LAZY_TYPE:
14985
+ case REACT_MEMO_TYPE:
14986
+ return object;
14987
+ case REACT_CONSUMER_TYPE:
14988
+ return object;
14989
+ default:
14990
+ return $$typeof;
14991
+ }
14992
+ }
14993
+ case REACT_PORTAL_TYPE:
14994
+ return $$typeof;
14995
+ }
14996
+ }
14997
+ }
14998
+ var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"), REACT_PORTAL_TYPE = Symbol.for("react.portal"), REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"), REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"), REACT_PROFILER_TYPE = Symbol.for("react.profiler");
14999
+ var REACT_CONSUMER_TYPE = Symbol.for("react.consumer"), REACT_CONTEXT_TYPE = Symbol.for("react.context"), REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"), REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"), REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"), REACT_MEMO_TYPE = Symbol.for("react.memo"), REACT_LAZY_TYPE = Symbol.for("react.lazy"), REACT_VIEW_TRANSITION_TYPE = Symbol.for("react.view_transition"), REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference");
15000
+ reactIs_development.ContextConsumer = REACT_CONSUMER_TYPE;
15001
+ reactIs_development.ContextProvider = REACT_CONTEXT_TYPE;
15002
+ reactIs_development.Element = REACT_ELEMENT_TYPE;
15003
+ reactIs_development.ForwardRef = REACT_FORWARD_REF_TYPE;
15004
+ reactIs_development.Fragment = REACT_FRAGMENT_TYPE;
15005
+ reactIs_development.Lazy = REACT_LAZY_TYPE;
15006
+ reactIs_development.Memo = REACT_MEMO_TYPE;
15007
+ reactIs_development.Portal = REACT_PORTAL_TYPE;
15008
+ reactIs_development.Profiler = REACT_PROFILER_TYPE;
15009
+ reactIs_development.StrictMode = REACT_STRICT_MODE_TYPE;
15010
+ reactIs_development.Suspense = REACT_SUSPENSE_TYPE;
15011
+ reactIs_development.SuspenseList = REACT_SUSPENSE_LIST_TYPE;
15012
+ reactIs_development.isContextConsumer = function(object) {
15013
+ return typeOf(object) === REACT_CONSUMER_TYPE;
15014
+ };
15015
+ reactIs_development.isContextProvider = function(object) {
15016
+ return typeOf(object) === REACT_CONTEXT_TYPE;
15017
+ };
15018
+ reactIs_development.isElement = function(object) {
15019
+ return "object" === typeof object && null !== object && object.$$typeof === REACT_ELEMENT_TYPE;
15020
+ };
15021
+ reactIs_development.isForwardRef = function(object) {
15022
+ return typeOf(object) === REACT_FORWARD_REF_TYPE;
15023
+ };
15024
+ reactIs_development.isFragment = function(object) {
15025
+ return typeOf(object) === REACT_FRAGMENT_TYPE;
15026
+ };
15027
+ reactIs_development.isLazy = function(object) {
15028
+ return typeOf(object) === REACT_LAZY_TYPE;
15029
+ };
15030
+ reactIs_development.isMemo = function(object) {
15031
+ return typeOf(object) === REACT_MEMO_TYPE;
15032
+ };
15033
+ reactIs_development.isPortal = function(object) {
15034
+ return typeOf(object) === REACT_PORTAL_TYPE;
15035
+ };
15036
+ reactIs_development.isProfiler = function(object) {
15037
+ return typeOf(object) === REACT_PROFILER_TYPE;
15038
+ };
15039
+ reactIs_development.isStrictMode = function(object) {
15040
+ return typeOf(object) === REACT_STRICT_MODE_TYPE;
15041
+ };
15042
+ reactIs_development.isSuspense = function(object) {
15043
+ return typeOf(object) === REACT_SUSPENSE_TYPE;
15044
+ };
15045
+ reactIs_development.isSuspenseList = function(object) {
15046
+ return typeOf(object) === REACT_SUSPENSE_LIST_TYPE;
15047
+ };
15048
+ reactIs_development.isValidElementType = function(type) {
15049
+ return "string" === typeof type || "function" === typeof type || type === REACT_FRAGMENT_TYPE || type === REACT_PROFILER_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || "object" === typeof type && null !== type && (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_CONSUMER_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_CLIENT_REFERENCE || void 0 !== type.getModuleId) ? true : false;
15050
+ };
15051
+ reactIs_development.typeOf = typeOf;
15052
+ })();
15053
+ return reactIs_development;
15054
+ }
15055
+ var hasRequiredReactIs;
15056
+ function requireReactIs() {
15057
+ if (hasRequiredReactIs) return reactIs.exports;
15058
+ hasRequiredReactIs = 1;
15059
+ if (process.env.NODE_ENV === "production") {
15060
+ reactIs.exports = /* @__PURE__ */ requireReactIs_production();
15061
+ } else {
15062
+ reactIs.exports = /* @__PURE__ */ requireReactIs_development();
15063
+ }
15064
+ return reactIs.exports;
15065
+ }
15066
+ var reactIsExports = /* @__PURE__ */ requireReactIs();
14850
15067
  function HTMLElementType(props, propName, componentName, location, propFullName) {
14851
15068
  if (process.env.NODE_ENV === "production") {
14852
15069
  return null;
@@ -15210,7 +15427,7 @@ const Grow = /* @__PURE__ */ React.forwardRef(function Grow2(props, ref) {
15210
15427
  } = props;
15211
15428
  const timer = useTimeout();
15212
15429
  const autoTimeout = React.useRef();
15213
- const theme2 = useTheme();
15430
+ const theme = useTheme();
15214
15431
  const nodeRef = React.useRef(null);
15215
15432
  const handleRef = useForkRef(nodeRef, getReactElementRef(children), ref);
15216
15433
  const normalizedTransitionCallback = (callback) => (maybeIsAppearing) => {
@@ -15239,15 +15456,15 @@ const Grow = /* @__PURE__ */ React.forwardRef(function Grow2(props, ref) {
15239
15456
  });
15240
15457
  let duration2;
15241
15458
  if (timeout2 === "auto") {
15242
- duration2 = theme2.transitions.getAutoHeightDuration(node.clientHeight);
15459
+ duration2 = theme.transitions.getAutoHeightDuration(node.clientHeight);
15243
15460
  autoTimeout.current = duration2;
15244
15461
  } else {
15245
15462
  duration2 = transitionDuration;
15246
15463
  }
15247
- node.style.transition = [theme2.transitions.create("opacity", {
15464
+ node.style.transition = [theme.transitions.create("opacity", {
15248
15465
  duration: duration2,
15249
15466
  delay
15250
- }), theme2.transitions.create("transform", {
15467
+ }), theme.transitions.create("transform", {
15251
15468
  duration: isWebKit154 ? duration2 : duration2 * 0.666,
15252
15469
  delay,
15253
15470
  easing: transitionTimingFunction
@@ -15272,15 +15489,15 @@ const Grow = /* @__PURE__ */ React.forwardRef(function Grow2(props, ref) {
15272
15489
  });
15273
15490
  let duration2;
15274
15491
  if (timeout2 === "auto") {
15275
- duration2 = theme2.transitions.getAutoHeightDuration(node.clientHeight);
15492
+ duration2 = theme.transitions.getAutoHeightDuration(node.clientHeight);
15276
15493
  autoTimeout.current = duration2;
15277
15494
  } else {
15278
15495
  duration2 = transitionDuration;
15279
15496
  }
15280
- node.style.transition = [theme2.transitions.create("opacity", {
15497
+ node.style.transition = [theme.transitions.create("opacity", {
15281
15498
  duration: duration2,
15282
15499
  delay
15283
- }), theme2.transitions.create("transform", {
15500
+ }), theme.transitions.create("transform", {
15284
15501
  duration: isWebKit154 ? duration2 : duration2 * 0.666,
15285
15502
  delay: isWebKit154 ? delay : delay || duration2 * 0.333,
15286
15503
  easing: transitionTimingFunction
@@ -15931,10 +16148,10 @@ const styles$1 = {
15931
16148
  }
15932
16149
  };
15933
16150
  const Fade = /* @__PURE__ */ React.forwardRef(function Fade2(props, ref) {
15934
- const theme2 = useTheme();
16151
+ const theme = useTheme();
15935
16152
  const defaultTimeout = {
15936
- enter: theme2.transitions.duration.enteringScreen,
15937
- exit: theme2.transitions.duration.leavingScreen
16153
+ enter: theme.transitions.duration.enteringScreen,
16154
+ exit: theme.transitions.duration.leavingScreen
15938
16155
  };
15939
16156
  const {
15940
16157
  addEndListener,
@@ -15976,8 +16193,8 @@ const Fade = /* @__PURE__ */ React.forwardRef(function Fade2(props, ref) {
15976
16193
  }, {
15977
16194
  mode: "enter"
15978
16195
  });
15979
- node.style.webkitTransition = theme2.transitions.create("opacity", transitionProps);
15980
- node.style.transition = theme2.transitions.create("opacity", transitionProps);
16196
+ node.style.webkitTransition = theme.transitions.create("opacity", transitionProps);
16197
+ node.style.transition = theme.transitions.create("opacity", transitionProps);
15981
16198
  if (onEnter) {
15982
16199
  onEnter(node, isAppearing);
15983
16200
  }
@@ -15992,8 +16209,8 @@ const Fade = /* @__PURE__ */ React.forwardRef(function Fade2(props, ref) {
15992
16209
  }, {
15993
16210
  mode: "exit"
15994
16211
  });
15995
- node.style.webkitTransition = theme2.transitions.create("opacity", transitionProps);
15996
- node.style.transition = theme2.transitions.create("opacity", transitionProps);
16212
+ node.style.webkitTransition = theme.transitions.create("opacity", transitionProps);
16213
+ node.style.transition = theme.transitions.create("opacity", transitionProps);
15997
16214
  if (onExit) {
15998
16215
  onExit(node);
15999
16216
  }
@@ -16497,10 +16714,10 @@ const ModalRoot = styled("div", {
16497
16714
  return [styles2.root, !ownerState.open && ownerState.exited && styles2.hidden];
16498
16715
  }
16499
16716
  })(memoTheme(({
16500
- theme: theme2
16717
+ theme
16501
16718
  }) => ({
16502
16719
  position: "fixed",
16503
- zIndex: (theme2.vars || theme2).zIndex.modal,
16720
+ zIndex: (theme.vars || theme).zIndex.modal,
16504
16721
  right: 0,
16505
16722
  bottom: 0,
16506
16723
  top: 0,
@@ -16551,7 +16768,7 @@ const Modal = /* @__PURE__ */ React.forwardRef(function Modal2(inProps, ref) {
16551
16768
  slotProps = {},
16552
16769
  slots = {},
16553
16770
  // eslint-disable-next-line react/prop-types
16554
- theme: theme2,
16771
+ theme,
16555
16772
  ...other
16556
16773
  } = props;
16557
16774
  const propsWithDefaults = {
@@ -17701,7 +17918,7 @@ const useUtilityClasses$7 = (ownerState) => {
17701
17918
  const StyledSelectSelect = styled("select", {
17702
17919
  name: "MuiNativeSelect"
17703
17920
  })(({
17704
- theme: theme2
17921
+ theme
17705
17922
  }) => ({
17706
17923
  // Reset
17707
17924
  MozAppearance: "none",
@@ -17724,7 +17941,7 @@ const StyledSelectSelect = styled("select", {
17724
17941
  height: "auto"
17725
17942
  },
17726
17943
  "&:not([multiple]) option, &:not([multiple]) optgroup": {
17727
- backgroundColor: (theme2.vars || theme2).palette.background.paper
17944
+ backgroundColor: (theme.vars || theme).palette.background.paper
17728
17945
  },
17729
17946
  variants: [{
17730
17947
  props: ({
@@ -17752,9 +17969,9 @@ const StyledSelectSelect = styled("select", {
17752
17969
  variant: "outlined"
17753
17970
  },
17754
17971
  style: {
17755
- borderRadius: (theme2.vars || theme2).shape.borderRadius,
17972
+ borderRadius: (theme.vars || theme).shape.borderRadius,
17756
17973
  "&:focus": {
17757
- borderRadius: (theme2.vars || theme2).shape.borderRadius
17974
+ borderRadius: (theme.vars || theme).shape.borderRadius
17758
17975
  // Reset the reset for Chrome style
17759
17976
  },
17760
17977
  "&&&": {
@@ -17779,7 +17996,7 @@ const NativeSelectSelect = styled(StyledSelectSelect, {
17779
17996
  const StyledSelectIcon = styled("svg", {
17780
17997
  name: "MuiNativeSelect"
17781
17998
  })(({
17782
- theme: theme2
17999
+ theme
17783
18000
  }) => ({
17784
18001
  // We use a position absolute over a flexbox in order to forward the pointer events
17785
18002
  // to the input and to support wrapping tags..
@@ -17789,9 +18006,9 @@ const StyledSelectIcon = styled("svg", {
17789
18006
  top: "calc(50% - .5em)",
17790
18007
  // Don't block pointer events on the select under the icon.
17791
18008
  pointerEvents: "none",
17792
- color: (theme2.vars || theme2).palette.action.active,
18009
+ color: (theme.vars || theme).palette.action.active,
17793
18010
  [`&.${nativeSelectClasses.disabled}`]: {
17794
- color: (theme2.vars || theme2).palette.action.disabled
18011
+ color: (theme.vars || theme).palette.action.disabled
17795
18012
  },
17796
18013
  variants: [{
17797
18014
  props: ({
@@ -18807,10 +19024,10 @@ const InputBaseRoot = styled("div", {
18807
19024
  slot: "Root",
18808
19025
  overridesResolver: rootOverridesResolver
18809
19026
  })(memoTheme(({
18810
- theme: theme2
19027
+ theme
18811
19028
  }) => ({
18812
- ...theme2.typography.body1,
18813
- color: (theme2.vars || theme2).palette.text.primary,
19029
+ ...theme.typography.body1,
19030
+ color: (theme.vars || theme).palette.text.primary,
18814
19031
  lineHeight: "1.4375em",
18815
19032
  // 23px
18816
19033
  boxSizing: "border-box",
@@ -18820,7 +19037,7 @@ const InputBaseRoot = styled("div", {
18820
19037
  display: "inline-flex",
18821
19038
  alignItems: "center",
18822
19039
  [`&.${inputBaseClasses.disabled}`]: {
18823
- color: (theme2.vars || theme2).palette.text.disabled,
19040
+ color: (theme.vars || theme).palette.text.disabled,
18824
19041
  cursor: "default"
18825
19042
  },
18826
19043
  variants: [{
@@ -18852,25 +19069,25 @@ const InputBaseInput = styled("input", {
18852
19069
  slot: "Input",
18853
19070
  overridesResolver: inputOverridesResolver
18854
19071
  })(memoTheme(({
18855
- theme: theme2
19072
+ theme
18856
19073
  }) => {
18857
- const light2 = theme2.palette.mode === "light";
19074
+ const light2 = theme.palette.mode === "light";
18858
19075
  const placeholder = {
18859
19076
  color: "currentColor",
18860
- ...theme2.vars ? {
18861
- opacity: theme2.vars.opacity.inputPlaceholder
19077
+ ...theme.vars ? {
19078
+ opacity: theme.vars.opacity.inputPlaceholder
18862
19079
  } : {
18863
19080
  opacity: light2 ? 0.42 : 0.5
18864
19081
  },
18865
- transition: theme2.transitions.create("opacity", {
18866
- duration: theme2.transitions.duration.shorter
19082
+ transition: theme.transitions.create("opacity", {
19083
+ duration: theme.transitions.duration.shorter
18867
19084
  })
18868
19085
  };
18869
19086
  const placeholderHidden = {
18870
19087
  opacity: "0 !important"
18871
19088
  };
18872
- const placeholderVisible = theme2.vars ? {
18873
- opacity: theme2.vars.opacity.inputPlaceholder
19089
+ const placeholderVisible = theme.vars ? {
19090
+ opacity: theme.vars.opacity.inputPlaceholder
18874
19091
  } : {
18875
19092
  opacity: light2 ? 0.42 : 0.5
18876
19093
  };
@@ -18923,7 +19140,7 @@ const InputBaseInput = styled("input", {
18923
19140
  [`&.${inputBaseClasses.disabled}`]: {
18924
19141
  opacity: 1,
18925
19142
  // Reset iOS opacity
18926
- WebkitTextFillColor: (theme2.vars || theme2).palette.text.disabled
19143
+ WebkitTextFillColor: (theme.vars || theme).palette.text.disabled
18927
19144
  // Fix opacity Safari bug
18928
19145
  },
18929
19146
  variants: [{
@@ -19509,12 +19726,12 @@ const InputRoot = styled(InputBaseRoot, {
19509
19726
  return [...rootOverridesResolver(props, styles2), !ownerState.disableUnderline && styles2.underline];
19510
19727
  }
19511
19728
  })(memoTheme(({
19512
- theme: theme2
19729
+ theme
19513
19730
  }) => {
19514
- const light2 = theme2.palette.mode === "light";
19731
+ const light2 = theme.palette.mode === "light";
19515
19732
  let bottomLineColor = light2 ? "rgba(0, 0, 0, 0.42)" : "rgba(255, 255, 255, 0.7)";
19516
- if (theme2.vars) {
19517
- bottomLineColor = theme2.alpha(theme2.vars.palette.common.onBackground, theme2.vars.opacity.inputUnderline);
19733
+ if (theme.vars) {
19734
+ bottomLineColor = theme.alpha(theme.vars.palette.common.onBackground, theme.vars.opacity.inputUnderline);
19518
19735
  }
19519
19736
  return {
19520
19737
  position: "relative",
@@ -19539,9 +19756,9 @@ const InputRoot = styled(InputBaseRoot, {
19539
19756
  position: "absolute",
19540
19757
  right: 0,
19541
19758
  transform: "scaleX(0)",
19542
- transition: theme2.transitions.create("transform", {
19543
- duration: theme2.transitions.duration.shorter,
19544
- easing: theme2.transitions.easing.easeOut
19759
+ transition: theme.transitions.create("transform", {
19760
+ duration: theme.transitions.duration.shorter,
19761
+ easing: theme.transitions.easing.easeOut
19545
19762
  }),
19546
19763
  pointerEvents: "none"
19547
19764
  // Transparent to the hover style.
@@ -19553,7 +19770,7 @@ const InputRoot = styled(InputBaseRoot, {
19553
19770
  },
19554
19771
  [`&.${inputClasses.error}`]: {
19555
19772
  "&::before, &::after": {
19556
- borderBottomColor: (theme2.vars || theme2).palette.error.main
19773
+ borderBottomColor: (theme.vars || theme).palette.error.main
19557
19774
  }
19558
19775
  },
19559
19776
  "&::before": {
@@ -19563,14 +19780,14 @@ const InputRoot = styled(InputBaseRoot, {
19563
19780
  content: '"\\00a0"',
19564
19781
  position: "absolute",
19565
19782
  right: 0,
19566
- transition: theme2.transitions.create("border-bottom-color", {
19567
- duration: theme2.transitions.duration.shorter
19783
+ transition: theme.transitions.create("border-bottom-color", {
19784
+ duration: theme.transitions.duration.shorter
19568
19785
  }),
19569
19786
  pointerEvents: "none"
19570
19787
  // Transparent to the hover style.
19571
19788
  },
19572
19789
  [`&:hover:not(.${inputClasses.disabled}, .${inputClasses.error}):before`]: {
19573
- borderBottom: `2px solid ${(theme2.vars || theme2).palette.text.primary}`,
19790
+ borderBottom: `2px solid ${(theme.vars || theme).palette.text.primary}`,
19574
19791
  // Reset on touch devices, it doesn't add specificity
19575
19792
  "@media (hover: none)": {
19576
19793
  borderBottom: `1px solid ${bottomLineColor}`
@@ -19580,14 +19797,14 @@ const InputRoot = styled(InputBaseRoot, {
19580
19797
  borderBottomStyle: "dotted"
19581
19798
  }
19582
19799
  }
19583
- }, ...Object.entries(theme2.palette).filter(createSimplePaletteValueFilter()).map(([color2]) => ({
19800
+ }, ...Object.entries(theme.palette).filter(createSimplePaletteValueFilter()).map(([color2]) => ({
19584
19801
  props: {
19585
19802
  color: color2,
19586
19803
  disableUnderline: false
19587
19804
  },
19588
19805
  style: {
19589
19806
  "&::after": {
19590
- borderBottom: `2px solid ${(theme2.vars || theme2).palette[color2].main}`
19807
+ borderBottom: `2px solid ${(theme.vars || theme).palette[color2].main}`
19591
19808
  }
19592
19809
  }
19593
19810
  }))]
@@ -19867,34 +20084,34 @@ const FilledInputRoot = styled(InputBaseRoot, {
19867
20084
  return [...rootOverridesResolver(props, styles2), !ownerState.disableUnderline && styles2.underline];
19868
20085
  }
19869
20086
  })(memoTheme(({
19870
- theme: theme2
20087
+ theme
19871
20088
  }) => {
19872
- const light2 = theme2.palette.mode === "light";
20089
+ const light2 = theme.palette.mode === "light";
19873
20090
  const bottomLineColor = light2 ? "rgba(0, 0, 0, 0.42)" : "rgba(255, 255, 255, 0.7)";
19874
20091
  const backgroundColor2 = light2 ? "rgba(0, 0, 0, 0.06)" : "rgba(255, 255, 255, 0.09)";
19875
20092
  const hoverBackground = light2 ? "rgba(0, 0, 0, 0.09)" : "rgba(255, 255, 255, 0.13)";
19876
20093
  const disabledBackground = light2 ? "rgba(0, 0, 0, 0.12)" : "rgba(255, 255, 255, 0.12)";
19877
20094
  return {
19878
20095
  position: "relative",
19879
- backgroundColor: theme2.vars ? theme2.vars.palette.FilledInput.bg : backgroundColor2,
19880
- borderTopLeftRadius: (theme2.vars || theme2).shape.borderRadius,
19881
- borderTopRightRadius: (theme2.vars || theme2).shape.borderRadius,
19882
- transition: theme2.transitions.create("background-color", {
19883
- duration: theme2.transitions.duration.shorter,
19884
- easing: theme2.transitions.easing.easeOut
20096
+ backgroundColor: theme.vars ? theme.vars.palette.FilledInput.bg : backgroundColor2,
20097
+ borderTopLeftRadius: (theme.vars || theme).shape.borderRadius,
20098
+ borderTopRightRadius: (theme.vars || theme).shape.borderRadius,
20099
+ transition: theme.transitions.create("background-color", {
20100
+ duration: theme.transitions.duration.shorter,
20101
+ easing: theme.transitions.easing.easeOut
19885
20102
  }),
19886
20103
  "&:hover": {
19887
- backgroundColor: theme2.vars ? theme2.vars.palette.FilledInput.hoverBg : hoverBackground,
20104
+ backgroundColor: theme.vars ? theme.vars.palette.FilledInput.hoverBg : hoverBackground,
19888
20105
  // Reset on touch devices, it doesn't add specificity
19889
20106
  "@media (hover: none)": {
19890
- backgroundColor: theme2.vars ? theme2.vars.palette.FilledInput.bg : backgroundColor2
20107
+ backgroundColor: theme.vars ? theme.vars.palette.FilledInput.bg : backgroundColor2
19891
20108
  }
19892
20109
  },
19893
20110
  [`&.${filledInputClasses.focused}`]: {
19894
- backgroundColor: theme2.vars ? theme2.vars.palette.FilledInput.bg : backgroundColor2
20111
+ backgroundColor: theme.vars ? theme.vars.palette.FilledInput.bg : backgroundColor2
19895
20112
  },
19896
20113
  [`&.${filledInputClasses.disabled}`]: {
19897
- backgroundColor: theme2.vars ? theme2.vars.palette.FilledInput.disabledBg : disabledBackground
20114
+ backgroundColor: theme.vars ? theme.vars.palette.FilledInput.disabledBg : disabledBackground
19898
20115
  },
19899
20116
  variants: [{
19900
20117
  props: ({
@@ -19908,9 +20125,9 @@ const FilledInputRoot = styled(InputBaseRoot, {
19908
20125
  position: "absolute",
19909
20126
  right: 0,
19910
20127
  transform: "scaleX(0)",
19911
- transition: theme2.transitions.create("transform", {
19912
- duration: theme2.transitions.duration.shorter,
19913
- easing: theme2.transitions.easing.easeOut
20128
+ transition: theme.transitions.create("transform", {
20129
+ duration: theme.transitions.duration.shorter,
20130
+ easing: theme.transitions.easing.easeOut
19914
20131
  }),
19915
20132
  pointerEvents: "none"
19916
20133
  // Transparent to the hover style.
@@ -19922,37 +20139,37 @@ const FilledInputRoot = styled(InputBaseRoot, {
19922
20139
  },
19923
20140
  [`&.${filledInputClasses.error}`]: {
19924
20141
  "&::before, &::after": {
19925
- borderBottomColor: (theme2.vars || theme2).palette.error.main
20142
+ borderBottomColor: (theme.vars || theme).palette.error.main
19926
20143
  }
19927
20144
  },
19928
20145
  "&::before": {
19929
- borderBottom: `1px solid ${theme2.vars ? theme2.alpha(theme2.vars.palette.common.onBackground, theme2.vars.opacity.inputUnderline) : bottomLineColor}`,
20146
+ borderBottom: `1px solid ${theme.vars ? theme.alpha(theme.vars.palette.common.onBackground, theme.vars.opacity.inputUnderline) : bottomLineColor}`,
19930
20147
  left: 0,
19931
20148
  bottom: 0,
19932
20149
  content: '"\\00a0"',
19933
20150
  position: "absolute",
19934
20151
  right: 0,
19935
- transition: theme2.transitions.create("border-bottom-color", {
19936
- duration: theme2.transitions.duration.shorter
20152
+ transition: theme.transitions.create("border-bottom-color", {
20153
+ duration: theme.transitions.duration.shorter
19937
20154
  }),
19938
20155
  pointerEvents: "none"
19939
20156
  // Transparent to the hover style.
19940
20157
  },
19941
20158
  [`&:hover:not(.${filledInputClasses.disabled}, .${filledInputClasses.error}):before`]: {
19942
- borderBottom: `1px solid ${(theme2.vars || theme2).palette.text.primary}`
20159
+ borderBottom: `1px solid ${(theme.vars || theme).palette.text.primary}`
19943
20160
  },
19944
20161
  [`&.${filledInputClasses.disabled}:before`]: {
19945
20162
  borderBottomStyle: "dotted"
19946
20163
  }
19947
20164
  }
19948
- }, ...Object.entries(theme2.palette).filter(createSimplePaletteValueFilter()).map(([color2]) => ({
20165
+ }, ...Object.entries(theme.palette).filter(createSimplePaletteValueFilter()).map(([color2]) => ({
19949
20166
  props: {
19950
20167
  disableUnderline: false,
19951
20168
  color: color2
19952
20169
  },
19953
20170
  style: {
19954
20171
  "&::after": {
19955
- borderBottom: `2px solid ${(theme2.vars || theme2).palette[color2]?.main}`
20172
+ borderBottom: `2px solid ${(theme.vars || theme).palette[color2]?.main}`
19956
20173
  }
19957
20174
  }
19958
20175
  })), {
@@ -20009,27 +20226,27 @@ const FilledInputInput = styled(InputBaseInput, {
20009
20226
  slot: "Input",
20010
20227
  overridesResolver: inputOverridesResolver
20011
20228
  })(memoTheme(({
20012
- theme: theme2
20229
+ theme
20013
20230
  }) => ({
20014
20231
  paddingTop: 25,
20015
20232
  paddingRight: 12,
20016
20233
  paddingBottom: 8,
20017
20234
  paddingLeft: 12,
20018
- ...!theme2.vars && {
20235
+ ...!theme.vars && {
20019
20236
  "&:-webkit-autofill": {
20020
- WebkitBoxShadow: theme2.palette.mode === "light" ? null : "0 0 0 100px #266798 inset",
20021
- WebkitTextFillColor: theme2.palette.mode === "light" ? null : "#fff",
20022
- caretColor: theme2.palette.mode === "light" ? null : "#fff",
20237
+ WebkitBoxShadow: theme.palette.mode === "light" ? null : "0 0 0 100px #266798 inset",
20238
+ WebkitTextFillColor: theme.palette.mode === "light" ? null : "#fff",
20239
+ caretColor: theme.palette.mode === "light" ? null : "#fff",
20023
20240
  borderTopLeftRadius: "inherit",
20024
20241
  borderTopRightRadius: "inherit"
20025
20242
  }
20026
20243
  },
20027
- ...theme2.vars && {
20244
+ ...theme.vars && {
20028
20245
  "&:-webkit-autofill": {
20029
20246
  borderTopLeftRadius: "inherit",
20030
20247
  borderTopRightRadius: "inherit"
20031
20248
  },
20032
- [theme2.getColorSchemeSelector("dark")]: {
20249
+ [theme.getColorSchemeSelector("dark")]: {
20033
20250
  "&:-webkit-autofill": {
20034
20251
  WebkitBoxShadow: "0 0 0 100px #266798 inset",
20035
20252
  WebkitTextFillColor: "#fff",
@@ -20358,7 +20575,7 @@ const NotchedOutlineLegend = styled("legend", {
20358
20575
  name: "MuiNotchedOutlined",
20359
20576
  shouldForwardProp: rootShouldForwardProp
20360
20577
  })(memoTheme(({
20361
- theme: theme2
20578
+ theme
20362
20579
  }) => ({
20363
20580
  float: "unset",
20364
20581
  // Fix conflict with bootstrap
@@ -20374,9 +20591,9 @@ const NotchedOutlineLegend = styled("legend", {
20374
20591
  padding: 0,
20375
20592
  lineHeight: "11px",
20376
20593
  // sync with `height` in `legend` styles
20377
- transition: theme2.transitions.create("width", {
20594
+ transition: theme.transitions.create("width", {
20378
20595
  duration: 150,
20379
- easing: theme2.transitions.easing.easeOut
20596
+ easing: theme.transitions.easing.easeOut
20380
20597
  })
20381
20598
  }
20382
20599
  }, {
@@ -20392,9 +20609,9 @@ const NotchedOutlineLegend = styled("legend", {
20392
20609
  fontSize: "0.75em",
20393
20610
  visibility: "hidden",
20394
20611
  maxWidth: 0.01,
20395
- transition: theme2.transitions.create("max-width", {
20612
+ transition: theme.transitions.create("max-width", {
20396
20613
  duration: 50,
20397
- easing: theme2.transitions.easing.easeOut
20614
+ easing: theme.transitions.easing.easeOut
20398
20615
  }),
20399
20616
  whiteSpace: "nowrap",
20400
20617
  "& > span": {
@@ -20411,9 +20628,9 @@ const NotchedOutlineLegend = styled("legend", {
20411
20628
  }) => ownerState.withLabel && ownerState.notched,
20412
20629
  style: {
20413
20630
  maxWidth: "100%",
20414
- transition: theme2.transitions.create("max-width", {
20631
+ transition: theme.transitions.create("max-width", {
20415
20632
  duration: 100,
20416
- easing: theme2.transitions.easing.easeOut,
20633
+ easing: theme.transitions.easing.easeOut,
20417
20634
  delay: 50
20418
20635
  })
20419
20636
  }
@@ -20509,31 +20726,31 @@ const OutlinedInputRoot = styled(InputBaseRoot, {
20509
20726
  slot: "Root",
20510
20727
  overridesResolver: rootOverridesResolver
20511
20728
  })(memoTheme(({
20512
- theme: theme2
20729
+ theme
20513
20730
  }) => {
20514
- const borderColor2 = theme2.palette.mode === "light" ? "rgba(0, 0, 0, 0.23)" : "rgba(255, 255, 255, 0.23)";
20731
+ const borderColor2 = theme.palette.mode === "light" ? "rgba(0, 0, 0, 0.23)" : "rgba(255, 255, 255, 0.23)";
20515
20732
  return {
20516
20733
  position: "relative",
20517
- borderRadius: (theme2.vars || theme2).shape.borderRadius,
20734
+ borderRadius: (theme.vars || theme).shape.borderRadius,
20518
20735
  [`&:hover .${outlinedInputClasses.notchedOutline}`]: {
20519
- borderColor: (theme2.vars || theme2).palette.text.primary
20736
+ borderColor: (theme.vars || theme).palette.text.primary
20520
20737
  },
20521
20738
  // Reset on touch devices, it doesn't add specificity
20522
20739
  "@media (hover: none)": {
20523
20740
  [`&:hover .${outlinedInputClasses.notchedOutline}`]: {
20524
- borderColor: theme2.vars ? theme2.alpha(theme2.vars.palette.common.onBackground, 0.23) : borderColor2
20741
+ borderColor: theme.vars ? theme.alpha(theme.vars.palette.common.onBackground, 0.23) : borderColor2
20525
20742
  }
20526
20743
  },
20527
20744
  [`&.${outlinedInputClasses.focused} .${outlinedInputClasses.notchedOutline}`]: {
20528
20745
  borderWidth: 2
20529
20746
  },
20530
- variants: [...Object.entries(theme2.palette).filter(createSimplePaletteValueFilter()).map(([color2]) => ({
20747
+ variants: [...Object.entries(theme.palette).filter(createSimplePaletteValueFilter()).map(([color2]) => ({
20531
20748
  props: {
20532
20749
  color: color2
20533
20750
  },
20534
20751
  style: {
20535
20752
  [`&.${outlinedInputClasses.focused} .${outlinedInputClasses.notchedOutline}`]: {
20536
- borderColor: (theme2.vars || theme2).palette[color2].main
20753
+ borderColor: (theme.vars || theme).palette[color2].main
20537
20754
  }
20538
20755
  }
20539
20756
  })), {
@@ -20541,10 +20758,10 @@ const OutlinedInputRoot = styled(InputBaseRoot, {
20541
20758
  // to overide the above style
20542
20759
  style: {
20543
20760
  [`&.${outlinedInputClasses.error} .${outlinedInputClasses.notchedOutline}`]: {
20544
- borderColor: (theme2.vars || theme2).palette.error.main
20761
+ borderColor: (theme.vars || theme).palette.error.main
20545
20762
  },
20546
20763
  [`&.${outlinedInputClasses.disabled} .${outlinedInputClasses.notchedOutline}`]: {
20547
- borderColor: (theme2.vars || theme2).palette.action.disabled
20764
+ borderColor: (theme.vars || theme).palette.action.disabled
20548
20765
  }
20549
20766
  }
20550
20767
  }, {
@@ -20583,11 +20800,11 @@ const NotchedOutlineRoot = styled(NotchedOutline, {
20583
20800
  name: "MuiOutlinedInput",
20584
20801
  slot: "NotchedOutline"
20585
20802
  })(memoTheme(({
20586
- theme: theme2
20803
+ theme
20587
20804
  }) => {
20588
- const borderColor2 = theme2.palette.mode === "light" ? "rgba(0, 0, 0, 0.23)" : "rgba(255, 255, 255, 0.23)";
20805
+ const borderColor2 = theme.palette.mode === "light" ? "rgba(0, 0, 0, 0.23)" : "rgba(255, 255, 255, 0.23)";
20589
20806
  return {
20590
- borderColor: theme2.vars ? theme2.alpha(theme2.vars.palette.common.onBackground, 0.23) : borderColor2
20807
+ borderColor: theme.vars ? theme.alpha(theme.vars.palette.common.onBackground, 0.23) : borderColor2
20591
20808
  };
20592
20809
  }));
20593
20810
  const OutlinedInputInput = styled(InputBaseInput, {
@@ -20595,22 +20812,22 @@ const OutlinedInputInput = styled(InputBaseInput, {
20595
20812
  slot: "Input",
20596
20813
  overridesResolver: inputOverridesResolver
20597
20814
  })(memoTheme(({
20598
- theme: theme2
20815
+ theme
20599
20816
  }) => ({
20600
20817
  padding: "16.5px 14px",
20601
- ...!theme2.vars && {
20818
+ ...!theme.vars && {
20602
20819
  "&:-webkit-autofill": {
20603
- WebkitBoxShadow: theme2.palette.mode === "light" ? null : "0 0 0 100px #266798 inset",
20604
- WebkitTextFillColor: theme2.palette.mode === "light" ? null : "#fff",
20605
- caretColor: theme2.palette.mode === "light" ? null : "#fff",
20820
+ WebkitBoxShadow: theme.palette.mode === "light" ? null : "0 0 0 100px #266798 inset",
20821
+ WebkitTextFillColor: theme.palette.mode === "light" ? null : "#fff",
20822
+ caretColor: theme.palette.mode === "light" ? null : "#fff",
20606
20823
  borderRadius: "inherit"
20607
20824
  }
20608
20825
  },
20609
- ...theme2.vars && {
20826
+ ...theme.vars && {
20610
20827
  "&:-webkit-autofill": {
20611
20828
  borderRadius: "inherit"
20612
20829
  },
20613
- [theme2.getColorSchemeSelector("dark")]: {
20830
+ [theme.getColorSchemeSelector("dark")]: {
20614
20831
  "&:-webkit-autofill": {
20615
20832
  WebkitBoxShadow: "0 0 0 100px #266798 inset",
20616
20833
  WebkitTextFillColor: "#fff",
@@ -21697,7 +21914,7 @@ function SplitCheckoutForm({
21697
21914
  onResponse,
21698
21915
  uuid
21699
21916
  }) {
21700
- const apiUrl = producao ? "https://api-conciliapos-stag.suportepos.com.br" : "https://api-conciliapos-stag.suportepos.com.br";
21917
+ const apiUrl = producao ? "https://api-conciliapos.suportepos.com.br" : "https://api-conciliapos-stag.suportepos.com.br";
21701
21918
  useMediaQuery("(max-width:900px)");
21702
21919
  const [step, setStep] = useState("card");
21703
21920
  const maskCard = (v) => v.replace(/\D/g, "").trim();
@@ -22173,7 +22390,7 @@ function SplitPixForm({
22173
22390
  onResponse,
22174
22391
  uuid
22175
22392
  }) {
22176
- const apiUrl = producao ? "https://api-conciliapos-stag.suportepos.com.br" : "https://api-conciliapos-stag.suportepos.com.br";
22393
+ const apiUrl = producao ? "https://api-conciliapos.suportepos.com.br" : "https://api-conciliapos-stag.suportepos.com.br";
22177
22394
  useMediaQuery("(max-width:900px)");
22178
22395
  const [copied, setCopied] = useState(false);
22179
22396
  const [buyerName, setBuyerName] = useState(cliente?.nomeComprador ?? "");
@@ -22426,66 +22643,6 @@ function SplitPixForm({
22426
22643
  ) })
22427
22644
  ] }) });
22428
22645
  }
22429
- const brand = {
22430
- primary: "#6C4CE7",
22431
- // roxo da plataforma
22432
- primaryHover: "#5a3ed4",
22433
- ink: "#111827",
22434
- muted: "#6b7280",
22435
- bg: "#f6f7fb",
22436
- surface: "#ffffff",
22437
- border: "#e5e7eb",
22438
- ring: "rgba(108,76,231,.25)"
22439
- };
22440
- const theme = createTheme({
22441
- palette: {
22442
- mode: "light",
22443
- primary: { main: brand.primary },
22444
- text: { primary: brand.ink, secondary: brand.muted },
22445
- background: { default: brand.bg, paper: brand.surface }
22446
- },
22447
- shape: { borderRadius: 10 },
22448
- typography: {
22449
- fontFamily: `"Inter","Segoe UI",Roboto,Ubuntu,Helvetica,Arial,sans-serif`,
22450
- h6: { fontWeight: 700 },
22451
- button: { textTransform: "none", fontWeight: 700 }
22452
- },
22453
- components: {
22454
- MuiCard: {
22455
- styleOverrides: {
22456
- root: {
22457
- border: `1px solid ${brand.border}`,
22458
- boxShadow: "0 10px 30px rgba(2,6,23,.06)"
22459
- }
22460
- }
22461
- },
22462
- MuiTextField: {
22463
- defaultProps: { size: "medium" }
22464
- },
22465
- MuiOutlinedInput: {
22466
- styleOverrides: {
22467
- root: {
22468
- background: "#fff",
22469
- "& fieldset": { borderColor: brand.border },
22470
- "&:hover fieldset": { borderColor: brand.primary },
22471
- "&.Mui-focused fieldset": { borderColor: brand.primary, boxShadow: `0 0 0 3px ${brand.ring}` }
22472
- },
22473
- input: { paddingTop: 14, paddingBottom: 14 }
22474
- }
22475
- },
22476
- MuiButton: {
22477
- styleOverrides: {
22478
- root: { borderRadius: 12, paddingBlock: 14 },
22479
- containedPrimary: { boxShadow: "0 10px 24px rgba(108,76,231,.22)" }
22480
- }
22481
- },
22482
- MuiDivider: {
22483
- styleOverrides: {
22484
- root: { borderColor: brand.border }
22485
- }
22486
- }
22487
- }
22488
- });
22489
22646
  function CheckoutFlowContent({
22490
22647
  step,
22491
22648
  setStep,
@@ -22499,14 +22656,24 @@ function CheckoutFlowContent({
22499
22656
  uuid,
22500
22657
  producao,
22501
22658
  onResponse,
22502
- paymentEnabled
22659
+ paymentEnabled,
22660
+ cor
22503
22661
  }) {
22504
22662
  useMediaQuery("(max-width:900px)");
22663
+ useTheme();
22505
22664
  const primaryButtons = [];
22506
22665
  const listItems = [];
22507
22666
  if (paymentEnabled?.creditCard) {
22508
22667
  listItems.push(
22509
- /* @__PURE__ */ jsxRuntimeExports.jsxs(ListItemButton, { onClick: () => setStep("card"), sx: itemStyle, children: [
22668
+ /* @__PURE__ */ jsxRuntimeExports.jsxs(ListItemButton, { onClick: () => setStep("card"), sx: {
22669
+ border: `1px solid #ced2da`,
22670
+ borderRadius: 14,
22671
+ mb: 1.5,
22672
+ paddingBlock: 1.2,
22673
+ boxShadow: "0 6px 18px rgba(2,6,23,.04)",
22674
+ "& .MuiListItemIcon-root": { minWidth: 44, "& svg": { opacity: 0.9 } },
22675
+ "&:hover": { backgroundColor: "#f8fafc", boxShadow: "0 12px 24px rgba(2,6,23,.06)" }
22676
+ }, children: [
22510
22677
  /* @__PURE__ */ jsxRuntimeExports.jsx(ListItemIcon, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(CreditCardIcon, {}) }),
22511
22678
  /* @__PURE__ */ jsxRuntimeExports.jsx(
22512
22679
  ListItemText,
@@ -22521,7 +22688,15 @@ function CheckoutFlowContent({
22521
22688
  }
22522
22689
  if (paymentEnabled?.pix) {
22523
22690
  listItems.push(
22524
- /* @__PURE__ */ jsxRuntimeExports.jsxs(ListItemButton, { onClick: () => setStep("pix"), sx: itemStyle, children: [
22691
+ /* @__PURE__ */ jsxRuntimeExports.jsxs(ListItemButton, { onClick: () => setStep("pix"), sx: {
22692
+ border: `1px solid #ced2da`,
22693
+ borderRadius: 14,
22694
+ mb: 1.5,
22695
+ paddingBlock: 1.2,
22696
+ boxShadow: "0 6px 18px rgba(2,6,23,.04)",
22697
+ "& .MuiListItemIcon-root": { minWidth: 44, "& svg": { opacity: 0.9 } },
22698
+ "&:hover": { backgroundColor: "#f8fafc", boxShadow: "0 12px 24px rgba(2,6,23,.06)" }
22699
+ }, children: [
22525
22700
  /* @__PURE__ */ jsxRuntimeExports.jsx(ListItemIcon, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(QrCode2Icon, {}) }),
22526
22701
  /* @__PURE__ */ jsxRuntimeExports.jsx(
22527
22702
  ListItemText,
@@ -22589,14 +22764,87 @@ function CheckoutFlowContent({
22589
22764
  ) })
22590
22765
  ] }) });
22591
22766
  }
22592
- const itemStyle = {
22593
- border: `1px solid ${brand.border}`,
22594
- borderRadius: 14,
22595
- mb: 1.5,
22596
- paddingBlock: 1.2,
22597
- boxShadow: "0 6px 18px rgba(2,6,23,.04)",
22598
- "& .MuiListItemIcon-root": { minWidth: 44, "& svg": { opacity: 0.9 } },
22599
- "&:hover": { backgroundColor: "#f8fafc", boxShadow: "0 12px 24px rgba(2,6,23,.06)" }
22767
+ const createBrandTheme = (color2) => {
22768
+ const primary = color2?.startsWith("#") ? color2 : color2 ? `#${color2}` : "#6C4CE7";
22769
+ const brand = {
22770
+ primary,
22771
+ primaryHover: `${primary}cc`,
22772
+ // 80% opacidade
22773
+ ink: "#111827",
22774
+ muted: "#6b7280",
22775
+ bg: "#f6f7fb",
22776
+ surface: "#ffffff",
22777
+ border: "#e5e7eb",
22778
+ ring: `${primary}40`
22779
+ // 25% opacidade para foco
22780
+ };
22781
+ return createTheme({
22782
+ palette: {
22783
+ mode: "light",
22784
+ primary: { main: brand.primary },
22785
+ text: { primary: brand.ink, secondary: brand.muted },
22786
+ background: { default: brand.bg, paper: brand.surface }
22787
+ },
22788
+ shape: { borderRadius: 10 },
22789
+ typography: {
22790
+ fontFamily: `"Inter","Segoe UI",Roboto,Ubuntu,Helvetica,Arial,sans-serif`,
22791
+ h6: { fontWeight: 700 },
22792
+ button: { textTransform: "none", fontWeight: 700 }
22793
+ },
22794
+ components: {
22795
+ MuiCard: {
22796
+ styleOverrides: {
22797
+ root: {
22798
+ border: `1px solid ${brand.border}`,
22799
+ boxShadow: "0 10px 30px rgba(2,6,23,.06)"
22800
+ }
22801
+ }
22802
+ },
22803
+ MuiTextField: {
22804
+ defaultProps: { size: "medium" }
22805
+ },
22806
+ MuiOutlinedInput: {
22807
+ styleOverrides: {
22808
+ root: {
22809
+ background: brand.surface,
22810
+ "& fieldset": { borderColor: brand.border },
22811
+ "&:hover fieldset": { borderColor: brand.primary },
22812
+ "&.Mui-focused fieldset": {
22813
+ borderColor: brand.primary,
22814
+ boxShadow: `0 0 0 3px ${brand.ring}`
22815
+ }
22816
+ },
22817
+ input: { paddingTop: 14, paddingBottom: 14 }
22818
+ }
22819
+ },
22820
+ MuiButton: {
22821
+ styleOverrides: {
22822
+ root: {
22823
+ borderRadius: 12,
22824
+ paddingBlock: 14
22825
+ },
22826
+ containedPrimary: {
22827
+ backgroundColor: brand.primary,
22828
+ boxShadow: `0 10px 24px ${brand.ring}`,
22829
+ "&:hover": { backgroundColor: brand.primaryHover }
22830
+ },
22831
+ outlinedPrimary: {
22832
+ borderColor: brand.primary,
22833
+ color: brand.primary,
22834
+ "&:hover": {
22835
+ borderColor: brand.primaryHover,
22836
+ backgroundColor: `${brand.primary}15`
22837
+ }
22838
+ }
22839
+ }
22840
+ },
22841
+ MuiDivider: {
22842
+ styleOverrides: {
22843
+ root: { borderColor: brand.border }
22844
+ }
22845
+ }
22846
+ }
22847
+ });
22600
22848
  };
22601
22849
  function CheckoutFlow(props) {
22602
22850
  const [step, setStep] = useState("select");
@@ -22605,6 +22853,7 @@ function CheckoutFlow(props) {
22605
22853
  [props.produtos]
22606
22854
  );
22607
22855
  const valor = props.valorTotal ?? amountFromItems;
22856
+ const theme = useMemo(() => createBrandTheme(props?.cor), [props?.cor]);
22608
22857
  return /* @__PURE__ */ jsxRuntimeExports.jsx(ThemeProvider, { theme, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
22609
22858
  Box,
22610
22859
  {
@@ -22638,7 +22887,6 @@ export {
22638
22887
  OrderSummary,
22639
22888
  SplitCheckoutForm as SplitCardForm,
22640
22889
  SplitPixForm,
22641
- brand,
22642
22890
  isValidCNPJ,
22643
22891
  isValidCPF,
22644
22892
  isValidPassport