@cm-sigoo-temp/ui 0.2.35 → 0.2.37

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.
@@ -85,8 +85,8 @@ function hn(e) {
85
85
  interval: 5
86
86
  };
87
87
  r.didInitialize = !1;
88
- var l = !0, u = ue(console.info), f = ue(console.warn);
89
- globalThis.isSecureContext || f(
88
+ var l = !0, u = ue(console.info), p = ue(console.warn);
89
+ globalThis.isSecureContext || p(
90
90
  `[KEYCLOAK] Keycloak JS must be used in a 'secure context' to function properly as it relies on browser APIs that are otherwise not available.
91
91
  Continuing to run your application insecurely will lead to unexpected behavior and breakage.
92
92
 
@@ -124,40 +124,40 @@ For more information see: https://developer.mozilla.org/en-US/docs/Web/Security/
124
124
  } else
125
125
  r.pkceMethod = "S256";
126
126
  typeof i.enableLogging == "boolean" ? r.enableLogging = i.enableLogging : r.enableLogging = !1, i.logoutMethod === "POST" ? r.logoutMethod = "POST" : r.logoutMethod = "GET", typeof i.scope == "string" && (r.scope = i.scope), typeof i.acrValues == "string" && (r.acrValues = i.acrValues), typeof i.messageReceiveTimeout == "number" && i.messageReceiveTimeout > 0 ? r.messageReceiveTimeout = i.messageReceiveTimeout : r.messageReceiveTimeout = 1e4, r.responseMode || (r.responseMode = "fragment"), r.responseType || (r.responseType = "code", r.flow = "standard");
127
- var y = F(), A = F();
127
+ var h = F(), A = F();
128
128
  A.promise.then(function() {
129
- r.onReady && r.onReady(r.authenticated), y.setSuccess(r.authenticated);
129
+ r.onReady && r.onReady(r.authenticated), h.setSuccess(r.authenticated);
130
130
  }).catch(function(m) {
131
- y.setError(m);
131
+ h.setError(m);
132
132
  });
133
133
  var b = U();
134
134
  function k() {
135
135
  var m = function(P) {
136
- P || ($.prompt = "none"), i.locale && ($.locale = i.locale), r.login($).then(function() {
136
+ P || (j.prompt = "none"), i.locale && (j.locale = i.locale), r.login(j).then(function() {
137
137
  A.setSuccess();
138
138
  }).catch(function(z) {
139
139
  A.setError(z);
140
140
  });
141
- }, T = async function() {
141
+ }, R = async function() {
142
142
  var P = document.createElement("iframe"), z = await r.createLoginUrl({ prompt: "none", redirectUri: r.silentCheckSsoRedirectUri });
143
143
  P.setAttribute("src", z), P.setAttribute("sandbox", "allow-storage-access-by-user-activation allow-scripts allow-same-origin"), P.setAttribute("title", "keycloak-silent-check-sso"), P.style.display = "none", document.body.appendChild(P);
144
144
  var I = function(se) {
145
145
  if (!(se.origin !== window.location.origin || P.contentWindow !== se.source)) {
146
- var de = R(se.data);
146
+ var de = T(se.data);
147
147
  _(de, A), document.body.removeChild(P), window.removeEventListener("message", I);
148
148
  }
149
149
  };
150
150
  window.addEventListener("message", I);
151
- }, $ = {};
151
+ }, j = {};
152
152
  switch (i.onLoad) {
153
153
  case "check-sso":
154
154
  a.enable ? le().then(function() {
155
155
  c().then(function(P) {
156
- P ? A.setSuccess() : r.silentCheckSsoRedirectUri ? T() : m(!1);
156
+ P ? A.setSuccess() : r.silentCheckSsoRedirectUri ? R() : m(!1);
157
157
  }).catch(function(P) {
158
158
  A.setError(P);
159
159
  });
160
- }) : r.silentCheckSsoRedirectUri ? T() : m(!1);
160
+ }) : r.silentCheckSsoRedirectUri ? R() : m(!1);
161
161
  break;
162
162
  case "login-required":
163
163
  m(!0);
@@ -166,54 +166,54 @@ For more information see: https://developer.mozilla.org/en-US/docs/Web/Security/
166
166
  throw "Invalid value for onLoad";
167
167
  }
168
168
  }
169
- function g() {
170
- var m = R(window.location.href);
169
+ function y() {
170
+ var m = T(window.location.href);
171
171
  if (m && window.history.replaceState(window.history.state, null, m.newUrl), m && m.valid)
172
172
  return le().then(function() {
173
173
  _(m, A);
174
- }).catch(function(T) {
175
- A.setError(T);
174
+ }).catch(function(R) {
175
+ A.setError(R);
176
176
  });
177
- i.token && i.refreshToken ? (V(i.token, i.refreshToken, i.idToken), a.enable ? le().then(function() {
178
- c().then(function(T) {
179
- T ? (r.onAuthSuccess && r.onAuthSuccess(), A.setSuccess(), W()) : A.setSuccess();
180
- }).catch(function(T) {
181
- A.setError(T);
177
+ i.token && i.refreshToken ? (B(i.token, i.refreshToken, i.idToken), a.enable ? le().then(function() {
178
+ c().then(function(R) {
179
+ R ? (r.onAuthSuccess && r.onAuthSuccess(), A.setSuccess(), H()) : A.setSuccess();
180
+ }).catch(function(R) {
181
+ A.setError(R);
182
182
  });
183
183
  }) : r.updateToken(-1).then(function() {
184
184
  r.onAuthSuccess && r.onAuthSuccess(), A.setSuccess();
185
- }).catch(function(T) {
186
- r.onAuthError && r.onAuthError(), i.onLoad ? k() : A.setError(T);
185
+ }).catch(function(R) {
186
+ r.onAuthError && r.onAuthError(), i.onLoad ? k() : A.setError(R);
187
187
  })) : i.onLoad ? k() : A.setSuccess();
188
188
  }
189
189
  return b.then(function() {
190
- M().then(g).catch(function(m) {
191
- y.setError(m);
190
+ $().then(y).catch(function(m) {
191
+ h.setError(m);
192
192
  });
193
193
  }), b.catch(function(m) {
194
- y.setError(m);
195
- }), y.promise;
194
+ h.setError(m);
195
+ }), h.promise;
196
196
  }, r.login = function(i) {
197
197
  return t.login(i);
198
198
  };
199
- function h(i) {
199
+ function g(i) {
200
200
  if (typeof crypto > "u" || typeof crypto.getRandomValues > "u")
201
201
  throw new Error("Web Crypto API is not available.");
202
202
  return crypto.getRandomValues(new Uint8Array(i));
203
203
  }
204
- function w(i) {
205
- return C(i, "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789");
204
+ function x(i) {
205
+ return w(i, "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789");
206
206
  }
207
- function C(i, s) {
208
- for (var y = h(i), A = new Array(i), b = 0; b < i; b++)
209
- A[b] = s.charCodeAt(y[b] % s.length);
207
+ function w(i, s) {
208
+ for (var h = g(i), A = new Array(i), b = 0; b < i; b++)
209
+ A[b] = s.charCodeAt(h[b] % s.length);
210
210
  return String.fromCharCode.apply(null, A);
211
211
  }
212
- async function x(i, s) {
212
+ async function S(i, s) {
213
213
  if (i !== "S256")
214
214
  throw new TypeError(`Invalid value for 'pkceMethod', expected 'S256' but got '${i}'.`);
215
- const y = new Uint8Array(await bo(s));
216
- return yo(y).replace(/\+/g, "-").replace(/\//g, "_").replace(/\=/g, "");
215
+ const h = new Uint8Array(await bo(s));
216
+ return yo(h).replace(/\+/g, "-").replace(/\//g, "_").replace(/\=/g, "");
217
217
  }
218
218
  function E(i) {
219
219
  var s = {
@@ -224,28 +224,28 @@ For more information see: https://developer.mozilla.org/en-US/docs/Web/Security/
224
224
  return JSON.stringify(s);
225
225
  }
226
226
  r.createLoginUrl = async function(i) {
227
- var s = j(), y = j(), A = t.redirectUri(i), b = {
227
+ var s = M(), h = M(), A = t.redirectUri(i), b = {
228
228
  state: s,
229
- nonce: y,
229
+ nonce: h,
230
230
  redirectUri: encodeURIComponent(A),
231
231
  loginOptions: i
232
232
  };
233
233
  i && i.prompt && (b.prompt = i.prompt);
234
234
  var k;
235
235
  i && i.action == "register" ? k = r.endpoints.register() : k = r.endpoints.authorize();
236
- var g = i && i.scope || r.scope;
237
- g ? g.indexOf("openid") === -1 && (g = "openid " + g) : g = "openid";
238
- var m = k + "?client_id=" + encodeURIComponent(r.clientId) + "&redirect_uri=" + encodeURIComponent(A) + "&state=" + encodeURIComponent(s) + "&response_mode=" + encodeURIComponent(r.responseMode) + "&response_type=" + encodeURIComponent(r.responseType) + "&scope=" + encodeURIComponent(g);
239
- if (l && (m = m + "&nonce=" + encodeURIComponent(y)), i && i.prompt && (m += "&prompt=" + encodeURIComponent(i.prompt)), i && typeof i.maxAge == "number" && (m += "&max_age=" + encodeURIComponent(i.maxAge)), i && i.loginHint && (m += "&login_hint=" + encodeURIComponent(i.loginHint)), i && i.idpHint && (m += "&kc_idp_hint=" + encodeURIComponent(i.idpHint)), i && i.action && i.action != "register" && (m += "&kc_action=" + encodeURIComponent(i.action)), i && i.locale && (m += "&ui_locales=" + encodeURIComponent(i.locale)), i && i.acr) {
240
- var T = E(i.acr);
241
- m += "&claims=" + encodeURIComponent(T);
236
+ var y = i && i.scope || r.scope;
237
+ y ? y.indexOf("openid") === -1 && (y = "openid " + y) : y = "openid";
238
+ var m = k + "?client_id=" + encodeURIComponent(r.clientId) + "&redirect_uri=" + encodeURIComponent(A) + "&state=" + encodeURIComponent(s) + "&response_mode=" + encodeURIComponent(r.responseMode) + "&response_type=" + encodeURIComponent(r.responseType) + "&scope=" + encodeURIComponent(y);
239
+ if (l && (m = m + "&nonce=" + encodeURIComponent(h)), i && i.prompt && (m += "&prompt=" + encodeURIComponent(i.prompt)), i && typeof i.maxAge == "number" && (m += "&max_age=" + encodeURIComponent(i.maxAge)), i && i.loginHint && (m += "&login_hint=" + encodeURIComponent(i.loginHint)), i && i.idpHint && (m += "&kc_idp_hint=" + encodeURIComponent(i.idpHint)), i && i.action && i.action != "register" && (m += "&kc_action=" + encodeURIComponent(i.action)), i && i.locale && (m += "&ui_locales=" + encodeURIComponent(i.locale)), i && i.acr) {
240
+ var R = E(i.acr);
241
+ m += "&claims=" + encodeURIComponent(R);
242
242
  }
243
243
  if ((i && i.acrValues || r.acrValues) && (m += "&acr_values=" + encodeURIComponent(i.acrValues || r.acrValues)), r.pkceMethod)
244
244
  try {
245
- const $ = w(96), P = await x(r.pkceMethod, $);
246
- b.pkceCodeVerifier = $, m += "&code_challenge=" + P, m += "&code_challenge_method=" + r.pkceMethod;
247
- } catch ($) {
248
- throw new Error("Failed to generate PKCE challenge.", { cause: $ });
245
+ const j = x(96), P = await S(r.pkceMethod, j);
246
+ b.pkceCodeVerifier = j, m += "&code_challenge=" + P, m += "&code_challenge_method=" + r.pkceMethod;
247
+ } catch (j) {
248
+ throw new Error("Failed to generate PKCE challenge.", { cause: j });
249
249
  }
250
250
  return o.add(b), m;
251
251
  }, r.logout = function(i) {
@@ -253,15 +253,15 @@ For more information see: https://developer.mozilla.org/en-US/docs/Web/Security/
253
253
  }, r.createLogoutUrl = function(i) {
254
254
  if (((i == null ? void 0 : i.logoutMethod) ?? r.logoutMethod) === "POST")
255
255
  return r.endpoints.logout();
256
- var y = r.endpoints.logout() + "?client_id=" + encodeURIComponent(r.clientId) + "&post_logout_redirect_uri=" + encodeURIComponent(t.redirectUri(i, !1));
257
- return r.idToken && (y += "&id_token_hint=" + encodeURIComponent(r.idToken)), y;
256
+ var h = r.endpoints.logout() + "?client_id=" + encodeURIComponent(r.clientId) + "&post_logout_redirect_uri=" + encodeURIComponent(t.redirectUri(i, !1));
257
+ return r.idToken && (h += "&id_token_hint=" + encodeURIComponent(r.idToken)), h;
258
258
  }, r.register = function(i) {
259
259
  return t.register(i);
260
260
  }, r.createRegisterUrl = async function(i) {
261
261
  return i || (i = {}), i.action = "register", await r.createLoginUrl(i);
262
262
  }, r.createAccountUrl = function(i) {
263
- var s = v(), y = void 0;
264
- return typeof s < "u" && (y = s + "/account?referrer=" + encodeURIComponent(r.clientId) + "&referrer_uri=" + encodeURIComponent(t.redirectUri(i))), y;
263
+ var s = C(), h = void 0;
264
+ return typeof s < "u" && (h = s + "/account?referrer=" + encodeURIComponent(r.clientId) + "&referrer_uri=" + encodeURIComponent(t.redirectUri(i))), h;
265
265
  }, r.accountManagement = function() {
266
266
  return t.accountManagement();
267
267
  }, r.hasRealmRole = function(i) {
@@ -270,22 +270,22 @@ For more information see: https://developer.mozilla.org/en-US/docs/Web/Security/
270
270
  }, r.hasResourceRole = function(i, s) {
271
271
  if (!r.resourceAccess)
272
272
  return !1;
273
- var y = r.resourceAccess[s || r.clientId];
274
- return !!y && y.roles.indexOf(i) >= 0;
273
+ var h = r.resourceAccess[s || r.clientId];
274
+ return !!h && h.roles.indexOf(i) >= 0;
275
275
  }, r.loadUserProfile = function() {
276
- var i = v() + "/account", s = new XMLHttpRequest();
276
+ var i = C() + "/account", s = new XMLHttpRequest();
277
277
  s.open("GET", i, !0), s.setRequestHeader("Accept", "application/json"), s.setRequestHeader("Authorization", "bearer " + r.token);
278
- var y = F();
278
+ var h = F();
279
279
  return s.onreadystatechange = function() {
280
- s.readyState == 4 && (s.status == 200 ? (r.profile = JSON.parse(s.responseText), y.setSuccess(r.profile)) : y.setError());
281
- }, s.send(), y.promise;
280
+ s.readyState == 4 && (s.status == 200 ? (r.profile = JSON.parse(s.responseText), h.setSuccess(r.profile)) : h.setError());
281
+ }, s.send(), h.promise;
282
282
  }, r.loadUserInfo = function() {
283
283
  var i = r.endpoints.userinfo(), s = new XMLHttpRequest();
284
284
  s.open("GET", i, !0), s.setRequestHeader("Accept", "application/json"), s.setRequestHeader("Authorization", "bearer " + r.token);
285
- var y = F();
285
+ var h = F();
286
286
  return s.onreadystatechange = function() {
287
- s.readyState == 4 && (s.status == 200 ? (r.userInfo = JSON.parse(s.responseText), y.setSuccess(r.userInfo)) : y.setError());
288
- }, s.send(), y.promise;
287
+ s.readyState == 4 && (s.status == 200 ? (r.userInfo = JSON.parse(s.responseText), h.setSuccess(r.userInfo)) : h.setError());
288
+ }, s.send(), h.promise;
289
289
  }, r.isTokenExpired = function(i) {
290
290
  if (!r.tokenParsed || !r.refreshToken && r.flow != "implicit")
291
291
  throw "Not authenticated";
@@ -303,26 +303,26 @@ For more information see: https://developer.mozilla.org/en-US/docs/Web/Security/
303
303
  if (!r.refreshToken)
304
304
  return s.setError(), s.promise;
305
305
  i = i || 5;
306
- var y = function() {
306
+ var h = function() {
307
307
  var b = !1;
308
308
  if (i == -1 ? (b = !0, u("[KEYCLOAK] Refreshing token: forced refresh")) : (!r.tokenParsed || r.isTokenExpired(i)) && (b = !0, u("[KEYCLOAK] Refreshing token: token expired")), !b)
309
309
  s.setSuccess(!1);
310
310
  else {
311
- var k = "grant_type=refresh_token&refresh_token=" + r.refreshToken, g = r.endpoints.token();
311
+ var k = "grant_type=refresh_token&refresh_token=" + r.refreshToken, y = r.endpoints.token();
312
312
  if (n.push(s), n.length == 1) {
313
313
  var m = new XMLHttpRequest();
314
- m.open("POST", g, !0), m.setRequestHeader("Content-type", "application/x-www-form-urlencoded"), m.withCredentials = !0, k += "&client_id=" + encodeURIComponent(r.clientId);
315
- var T = (/* @__PURE__ */ new Date()).getTime();
314
+ m.open("POST", y, !0), m.setRequestHeader("Content-type", "application/x-www-form-urlencoded"), m.withCredentials = !0, k += "&client_id=" + encodeURIComponent(r.clientId);
315
+ var R = (/* @__PURE__ */ new Date()).getTime();
316
316
  m.onreadystatechange = function() {
317
317
  if (m.readyState == 4)
318
318
  if (m.status == 200) {
319
- u("[KEYCLOAK] Token refreshed"), T = (T + (/* @__PURE__ */ new Date()).getTime()) / 2;
320
- var $ = JSON.parse(m.responseText);
321
- V($.access_token, $.refresh_token, $.id_token, T), r.onAuthRefreshSuccess && r.onAuthRefreshSuccess();
319
+ u("[KEYCLOAK] Token refreshed"), R = (R + (/* @__PURE__ */ new Date()).getTime()) / 2;
320
+ var j = JSON.parse(m.responseText);
321
+ B(j.access_token, j.refresh_token, j.id_token, R), r.onAuthRefreshSuccess && r.onAuthRefreshSuccess();
322
322
  for (var P = n.pop(); P != null; P = n.pop())
323
323
  P.setSuccess(!0);
324
324
  } else {
325
- f("[KEYCLOAK] Failed to refresh token"), m.status == 400 && r.clearToken(), r.onAuthRefreshError && r.onAuthRefreshError();
325
+ p("[KEYCLOAK] Failed to refresh token"), m.status == 400 && r.clearToken(), r.onAuthRefreshError && r.onAuthRefreshError();
326
326
  for (var P = n.pop(); P != null; P = n.pop())
327
327
  P.setError("Failed to refresh token: An unexpected HTTP error occurred while attempting to refresh the token.");
328
328
  }
@@ -333,102 +333,102 @@ For more information see: https://developer.mozilla.org/en-US/docs/Web/Security/
333
333
  if (a.enable) {
334
334
  var A = c();
335
335
  A.then(function() {
336
- y();
336
+ h();
337
337
  }).catch(function(b) {
338
338
  s.setError(b);
339
339
  });
340
340
  } else
341
- y();
341
+ h();
342
342
  return s.promise;
343
343
  }, r.clearToken = function() {
344
- r.token && (V(null, null, null), r.onAuthLogout && r.onAuthLogout(), r.loginRequired && r.login());
344
+ r.token && (B(null, null, null), r.onAuthLogout && r.onAuthLogout(), r.loginRequired && r.login());
345
345
  };
346
- function v() {
346
+ function C() {
347
347
  if (typeof r.authServerUrl < "u")
348
348
  return r.authServerUrl.charAt(r.authServerUrl.length - 1) == "/" ? r.authServerUrl + "realms/" + encodeURIComponent(r.realm) : r.authServerUrl + "/realms/" + encodeURIComponent(r.realm);
349
349
  }
350
- function p() {
350
+ function d() {
351
351
  return window.location.origin ? window.location.origin : window.location.protocol + "//" + window.location.hostname + (window.location.port ? ":" + window.location.port : "");
352
352
  }
353
353
  function _(i, s) {
354
- var y = i.code, A = i.error, b = i.prompt, k = (/* @__PURE__ */ new Date()).getTime();
354
+ var h = i.code, A = i.error, b = i.prompt, k = (/* @__PURE__ */ new Date()).getTime();
355
355
  if (i.kc_action_status && r.onActionUpdate && r.onActionUpdate(i.kc_action_status, i.kc_action), A) {
356
356
  if (b != "none")
357
357
  if (i.error_description && i.error_description === "authentication_expired")
358
358
  r.login(i.loginOptions);
359
359
  else {
360
- var g = { error: A, error_description: i.error_description };
361
- r.onAuthError && r.onAuthError(g), s && s.setError(g);
360
+ var y = { error: A, error_description: i.error_description };
361
+ r.onAuthError && r.onAuthError(y), s && s.setError(y);
362
362
  }
363
363
  else
364
364
  s && s.setSuccess();
365
365
  return;
366
366
  } else r.flow != "standard" && (i.access_token || i.id_token) && P(i.access_token, null, i.id_token, !0);
367
- if (r.flow != "implicit" && y) {
368
- var m = "code=" + y + "&grant_type=authorization_code", T = r.endpoints.token(), $ = new XMLHttpRequest();
369
- $.open("POST", T, !0), $.setRequestHeader("Content-type", "application/x-www-form-urlencoded"), m += "&client_id=" + encodeURIComponent(r.clientId), m += "&redirect_uri=" + i.redirectUri, i.pkceCodeVerifier && (m += "&code_verifier=" + i.pkceCodeVerifier), $.withCredentials = !0, $.onreadystatechange = function() {
370
- if ($.readyState == 4)
371
- if ($.status == 200) {
372
- var z = JSON.parse($.responseText);
373
- P(z.access_token, z.refresh_token, z.id_token, r.flow === "standard"), W();
367
+ if (r.flow != "implicit" && h) {
368
+ var m = "code=" + h + "&grant_type=authorization_code", R = r.endpoints.token(), j = new XMLHttpRequest();
369
+ j.open("POST", R, !0), j.setRequestHeader("Content-type", "application/x-www-form-urlencoded"), m += "&client_id=" + encodeURIComponent(r.clientId), m += "&redirect_uri=" + i.redirectUri, i.pkceCodeVerifier && (m += "&code_verifier=" + i.pkceCodeVerifier), j.withCredentials = !0, j.onreadystatechange = function() {
370
+ if (j.readyState == 4)
371
+ if (j.status == 200) {
372
+ var z = JSON.parse(j.responseText);
373
+ P(z.access_token, z.refresh_token, z.id_token, r.flow === "standard"), H();
374
374
  } else
375
375
  r.onAuthError && r.onAuthError(), s && s.setError();
376
- }, $.send(m);
376
+ }, j.send(m);
377
377
  }
378
378
  function P(z, I, se, de) {
379
- k = (k + (/* @__PURE__ */ new Date()).getTime()) / 2, V(z, I, se, k), l && r.idTokenParsed && r.idTokenParsed.nonce != i.storedNonce ? (u("[KEYCLOAK] Invalid nonce, clearing token"), r.clearToken(), s && s.setError()) : de && (r.onAuthSuccess && r.onAuthSuccess(), s && s.setSuccess());
379
+ k = (k + (/* @__PURE__ */ new Date()).getTime()) / 2, B(z, I, se, k), l && r.idTokenParsed && r.idTokenParsed.nonce != i.storedNonce ? (u("[KEYCLOAK] Invalid nonce, clearing token"), r.clearToken(), s && s.setError()) : de && (r.onAuthSuccess && r.onAuthSuccess(), s && s.setSuccess());
380
380
  }
381
381
  }
382
382
  function U() {
383
383
  var i = F(), s;
384
384
  typeof e == "string" && (s = e);
385
- function y(g) {
386
- g ? r.endpoints = {
385
+ function h(y) {
386
+ y ? r.endpoints = {
387
387
  authorize: function() {
388
- return g.authorization_endpoint;
388
+ return y.authorization_endpoint;
389
389
  },
390
390
  token: function() {
391
- return g.token_endpoint;
391
+ return y.token_endpoint;
392
392
  },
393
393
  logout: function() {
394
- if (!g.end_session_endpoint)
394
+ if (!y.end_session_endpoint)
395
395
  throw "Not supported by the OIDC server";
396
- return g.end_session_endpoint;
396
+ return y.end_session_endpoint;
397
397
  },
398
398
  checkSessionIframe: function() {
399
- if (!g.check_session_iframe)
399
+ if (!y.check_session_iframe)
400
400
  throw "Not supported by the OIDC server";
401
- return g.check_session_iframe;
401
+ return y.check_session_iframe;
402
402
  },
403
403
  register: function() {
404
404
  throw 'Redirection to "Register user" page not supported in standard OIDC mode';
405
405
  },
406
406
  userinfo: function() {
407
- if (!g.userinfo_endpoint)
407
+ if (!y.userinfo_endpoint)
408
408
  throw "Not supported by the OIDC server";
409
- return g.userinfo_endpoint;
409
+ return y.userinfo_endpoint;
410
410
  }
411
411
  } : r.endpoints = {
412
412
  authorize: function() {
413
- return v() + "/protocol/openid-connect/auth";
413
+ return C() + "/protocol/openid-connect/auth";
414
414
  },
415
415
  token: function() {
416
- return v() + "/protocol/openid-connect/token";
416
+ return C() + "/protocol/openid-connect/token";
417
417
  },
418
418
  logout: function() {
419
- return v() + "/protocol/openid-connect/logout";
419
+ return C() + "/protocol/openid-connect/logout";
420
420
  },
421
421
  checkSessionIframe: function() {
422
- return v() + "/protocol/openid-connect/login-status-iframe.html";
422
+ return C() + "/protocol/openid-connect/login-status-iframe.html";
423
423
  },
424
424
  thirdPartyCookiesIframe: function() {
425
- return v() + "/protocol/openid-connect/3p-cookies/step1.html";
425
+ return C() + "/protocol/openid-connect/3p-cookies/step1.html";
426
426
  },
427
427
  register: function() {
428
- return v() + "/protocol/openid-connect/registrations";
428
+ return C() + "/protocol/openid-connect/registrations";
429
429
  },
430
430
  userinfo: function() {
431
- return v() + "/protocol/openid-connect/userinfo";
431
+ return C() + "/protocol/openid-connect/userinfo";
432
432
  }
433
433
  };
434
434
  }
@@ -436,9 +436,9 @@ For more information see: https://developer.mozilla.org/en-US/docs/Web/Security/
436
436
  var A = new XMLHttpRequest();
437
437
  A.open("GET", s, !0), A.setRequestHeader("Accept", "application/json"), A.onreadystatechange = function() {
438
438
  if (A.readyState == 4)
439
- if (A.status == 200 || B(A)) {
440
- var g = JSON.parse(A.responseText);
441
- r.authServerUrl = g["auth-server-url"], r.realm = g.realm, r.clientId = g.resource, y(null), i.setSuccess();
439
+ if (A.status == 200 || V(A)) {
440
+ var y = JSON.parse(A.responseText);
441
+ r.authServerUrl = y["auth-server-url"], r.realm = y.realm, r.clientId = y.resource, h(null), i.setSuccess();
442
442
  } else
443
443
  i.setError();
444
444
  }, A.send();
@@ -446,29 +446,29 @@ For more information see: https://developer.mozilla.org/en-US/docs/Web/Security/
446
446
  r.clientId = e.clientId;
447
447
  var b = e.oidcProvider;
448
448
  if (!b)
449
- r.authServerUrl = e.url, r.realm = e.realm, y(null), i.setSuccess();
449
+ r.authServerUrl = e.url, r.realm = e.realm, h(null), i.setSuccess();
450
450
  else if (typeof b == "string") {
451
451
  var k;
452
452
  b.charAt(b.length - 1) == "/" ? k = b + ".well-known/openid-configuration" : k = b + "/.well-known/openid-configuration";
453
453
  var A = new XMLHttpRequest();
454
454
  A.open("GET", k, !0), A.setRequestHeader("Accept", "application/json"), A.onreadystatechange = function() {
455
455
  if (A.readyState == 4)
456
- if (A.status == 200 || B(A)) {
456
+ if (A.status == 200 || V(A)) {
457
457
  var m = JSON.parse(A.responseText);
458
- y(m), i.setSuccess();
458
+ h(m), i.setSuccess();
459
459
  } else
460
460
  i.setError();
461
461
  }, A.send();
462
462
  } else
463
- y(b), i.setSuccess();
463
+ h(b), i.setSuccess();
464
464
  }
465
465
  return i.promise;
466
466
  }
467
- function B(i) {
467
+ function V(i) {
468
468
  return i.status == 0 && i.responseText && i.responseURL.startsWith("file:");
469
469
  }
470
- function V(i, s, y, A) {
471
- if (r.tokenTimeoutHandle && (clearTimeout(r.tokenTimeoutHandle), r.tokenTimeoutHandle = null), s ? (r.refreshToken = s, r.refreshTokenParsed = Fr(s)) : (delete r.refreshToken, delete r.refreshTokenParsed), y ? (r.idToken = y, r.idTokenParsed = Fr(y)) : (delete r.idToken, delete r.idTokenParsed), i) {
470
+ function B(i, s, h, A) {
471
+ if (r.tokenTimeoutHandle && (clearTimeout(r.tokenTimeoutHandle), r.tokenTimeoutHandle = null), s ? (r.refreshToken = s, r.refreshTokenParsed = Fr(s)) : (delete r.refreshToken, delete r.refreshTokenParsed), h ? (r.idToken = h, r.idTokenParsed = Fr(h)) : (delete r.idToken, delete r.idTokenParsed), i) {
472
472
  if (r.token = i, r.tokenParsed = Fr(i), r.sessionId = r.tokenParsed.sid, r.authenticated = !0, r.subject = r.tokenParsed.sub, r.realmAccess = r.tokenParsed.realm_access, r.resourceAccess = r.tokenParsed.resource_access, A && (r.timeSkew = Math.floor(A / 1e3) - r.tokenParsed.iat), r.timeSkew != null && (u("[KEYCLOAK] Estimated time difference between browser and server is " + r.timeSkew + " seconds"), r.onTokenExpired)) {
473
473
  var b = (r.tokenParsed.exp - (/* @__PURE__ */ new Date()).getTime() / 1e3 + r.timeSkew) * 1e3;
474
474
  u("[KEYCLOAK] Token expires in " + Math.round(b / 1e3) + " s"), b <= 0 ? r.onTokenExpired() : r.tokenTimeoutHandle = setTimeout(r.onTokenExpired, b);
@@ -476,16 +476,16 @@ For more information see: https://developer.mozilla.org/en-US/docs/Web/Security/
476
476
  } else
477
477
  delete r.token, delete r.tokenParsed, delete r.subject, delete r.realmAccess, delete r.resourceAccess, r.authenticated = !1;
478
478
  }
479
- function j() {
479
+ function M() {
480
480
  if (typeof crypto > "u" || typeof crypto.randomUUID > "u")
481
481
  throw new Error("Web Crypto API is not available.");
482
482
  return crypto.randomUUID();
483
483
  }
484
- function R(i) {
484
+ function T(i) {
485
485
  var s = L(i);
486
486
  if (s) {
487
- var y = o.get(s.state);
488
- return y && (s.valid = !0, s.redirectUri = y.redirectUri, s.storedNonce = y.nonce, s.prompt = y.prompt, s.pkceCodeVerifier = y.pkceCodeVerifier, s.loginOptions = y.loginOptions), s;
487
+ var h = o.get(s.state);
488
+ return h && (s.valid = !0, s.redirectUri = h.redirectUri, s.storedNonce = h.nonce, s.prompt = h.prompt, s.pkceCodeVerifier = h.pkceCodeVerifier, s.loginOptions = h.loginOptions), s;
489
489
  }
490
490
  }
491
491
  function L(i) {
@@ -502,8 +502,8 @@ For more information see: https://developer.mozilla.org/en-US/docs/Web/Security/
502
502
  break;
503
503
  }
504
504
  s.push("error"), s.push("error_description"), s.push("error_uri");
505
- var y = i.indexOf("?"), A = i.indexOf("#"), b, k;
506
- if (r.responseMode === "query" && y !== -1 ? (b = i.substring(0, y), k = H(i.substring(y + 1, A !== -1 ? A : i.length), s), k.paramsString !== "" && (b += "?" + k.paramsString), A !== -1 && (b += i.substring(A))) : r.responseMode === "fragment" && A !== -1 && (b = i.substring(0, A), k = H(i.substring(A + 1), s), k.paramsString !== "" && (b += "#" + k.paramsString)), k && k.oauthParams) {
505
+ var h = i.indexOf("?"), A = i.indexOf("#"), b, k;
506
+ if (r.responseMode === "query" && h !== -1 ? (b = i.substring(0, h), k = W(i.substring(h + 1, A !== -1 ? A : i.length), s), k.paramsString !== "" && (b += "?" + k.paramsString), A !== -1 && (b += i.substring(A))) : r.responseMode === "fragment" && A !== -1 && (b = i.substring(0, A), k = W(i.substring(A + 1), s), k.paramsString !== "" && (b += "#" + k.paramsString)), k && k.oauthParams) {
507
507
  if (r.flow === "standard" || r.flow === "hybrid") {
508
508
  if ((k.oauthParams.code || k.oauthParams.error) && k.oauthParams.state)
509
509
  return k.oauthParams.newUrl = b, k.oauthParams;
@@ -511,13 +511,13 @@ For more information see: https://developer.mozilla.org/en-US/docs/Web/Security/
511
511
  return k.oauthParams.newUrl = b, k.oauthParams;
512
512
  }
513
513
  }
514
- function H(i, s) {
515
- for (var y = i.split("&"), A = {
514
+ function W(i, s) {
515
+ for (var h = i.split("&"), A = {
516
516
  paramsString: "",
517
517
  oauthParams: {}
518
- }, b = 0; b < y.length; b++) {
519
- var k = y[b].indexOf("="), g = y[b].slice(0, k);
520
- s.indexOf(g) !== -1 ? A.oauthParams[g] = y[b].slice(k + 1) : (A.paramsString !== "" && (A.paramsString += "&"), A.paramsString += y[b]);
518
+ }, b = 0; b < h.length; b++) {
519
+ var k = h[b].indexOf("="), y = h[b].slice(0, k);
520
+ s.indexOf(y) !== -1 ? A.oauthParams[y] = h[b].slice(k + 1) : (A.paramsString !== "" && (A.paramsString += "&"), A.paramsString += h[b]);
521
521
  }
522
522
  return A;
523
523
  }
@@ -530,14 +530,14 @@ For more information see: https://developer.mozilla.org/en-US/docs/Web/Security/
530
530
  i.reject(s);
531
531
  }
532
532
  };
533
- return i.promise = new Promise(function(s, y) {
534
- i.resolve = s, i.reject = y;
533
+ return i.promise = new Promise(function(s, h) {
534
+ i.resolve = s, i.reject = h;
535
535
  }), i;
536
536
  }
537
- function re(i, s, y) {
538
- var A = null, b = new Promise(function(k, g) {
537
+ function q(i, s, h) {
538
+ var A = null, b = new Promise(function(k, y) {
539
539
  A = setTimeout(function() {
540
- g({ error: y });
540
+ y({ error: h });
541
541
  }, s);
542
542
  });
543
543
  return Promise.race([i, b]).finally(function() {
@@ -551,25 +551,25 @@ For more information see: https://developer.mozilla.org/en-US/docs/Web/Security/
551
551
  var s = document.createElement("iframe");
552
552
  a.iframe = s, s.onload = function() {
553
553
  var b = r.endpoints.authorize();
554
- b.charAt(0) === "/" ? a.iframeOrigin = p() : a.iframeOrigin = b.substring(0, b.indexOf("/", 8)), i.setSuccess();
554
+ b.charAt(0) === "/" ? a.iframeOrigin = d() : a.iframeOrigin = b.substring(0, b.indexOf("/", 8)), i.setSuccess();
555
555
  };
556
- var y = r.endpoints.checkSessionIframe();
557
- s.setAttribute("src", y), s.setAttribute("sandbox", "allow-storage-access-by-user-activation allow-scripts allow-same-origin"), s.setAttribute("title", "keycloak-session-iframe"), s.style.display = "none", document.body.appendChild(s);
556
+ var h = r.endpoints.checkSessionIframe();
557
+ s.setAttribute("src", h), s.setAttribute("sandbox", "allow-storage-access-by-user-activation allow-scripts allow-same-origin"), s.setAttribute("title", "keycloak-session-iframe"), s.style.display = "none", document.body.appendChild(s);
558
558
  var A = function(b) {
559
559
  if (!(b.origin !== a.iframeOrigin || a.iframe.contentWindow !== b.source) && (b.data == "unchanged" || b.data == "changed" || b.data == "error")) {
560
560
  b.data != "unchanged" && r.clearToken();
561
- for (var k = a.callbackList.splice(0, a.callbackList.length), g = k.length - 1; g >= 0; --g) {
562
- var m = k[g];
561
+ for (var k = a.callbackList.splice(0, a.callbackList.length), y = k.length - 1; y >= 0; --y) {
562
+ var m = k[y];
563
563
  b.data == "error" ? m.setError() : m.setSuccess(b.data == "unchanged");
564
564
  }
565
565
  }
566
566
  };
567
567
  return window.addEventListener("message", A, !1), i.promise;
568
568
  }
569
- function W() {
569
+ function H() {
570
570
  a.enable && r.token && setTimeout(function() {
571
571
  c().then(function(i) {
572
- i && W();
572
+ i && H();
573
573
  });
574
574
  }, a.interval * 1e3);
575
575
  }
@@ -578,103 +578,103 @@ For more information see: https://developer.mozilla.org/en-US/docs/Web/Security/
578
578
  if (a.iframe && a.iframeOrigin) {
579
579
  var s = r.clientId + " " + (r.sessionId ? r.sessionId : "");
580
580
  a.callbackList.push(i);
581
- var y = a.iframeOrigin;
582
- a.callbackList.length == 1 && a.iframe.contentWindow.postMessage(s, y);
581
+ var h = a.iframeOrigin;
582
+ a.callbackList.length == 1 && a.iframe.contentWindow.postMessage(s, h);
583
583
  } else
584
584
  i.setSuccess();
585
585
  return i.promise;
586
586
  }
587
- function M() {
587
+ function $() {
588
588
  var i = F();
589
589
  if ((a.enable || r.silentCheckSsoRedirectUri) && typeof r.endpoints.thirdPartyCookiesIframe == "function") {
590
590
  var s = document.createElement("iframe");
591
591
  s.setAttribute("src", r.endpoints.thirdPartyCookiesIframe()), s.setAttribute("sandbox", "allow-storage-access-by-user-activation allow-scripts allow-same-origin"), s.setAttribute("title", "keycloak-3p-check-iframe"), s.style.display = "none", document.body.appendChild(s);
592
- var y = function(A) {
593
- s.contentWindow === A.source && (A.data !== "supported" && A.data !== "unsupported" || (A.data === "unsupported" && (f(
592
+ var h = function(A) {
593
+ s.contentWindow === A.source && (A.data !== "supported" && A.data !== "unsupported" || (A.data === "unsupported" && (p(
594
594
  `[KEYCLOAK] Your browser is blocking access to 3rd-party cookies, this means:
595
595
 
596
596
  - It is not possible to retrieve tokens without redirecting to the Keycloak server (a.k.a. no support for silent authentication).
597
597
  - It is not possible to automatically detect changes to the session status (such as the user logging out in another tab).
598
598
 
599
599
  For more information see: https://www.keycloak.org/securing-apps/javascript-adapter#_modern_browsers`
600
- ), a.enable = !1, r.silentCheckSsoFallback && (r.silentCheckSsoRedirectUri = !1)), document.body.removeChild(s), window.removeEventListener("message", y), i.setSuccess()));
600
+ ), a.enable = !1, r.silentCheckSsoFallback && (r.silentCheckSsoRedirectUri = !1)), document.body.removeChild(s), window.removeEventListener("message", h), i.setSuccess()));
601
601
  };
602
- window.addEventListener("message", y, !1);
602
+ window.addEventListener("message", h, !1);
603
603
  } else
604
604
  i.setSuccess();
605
- return re(i.promise, r.messageReceiveTimeout, "Timeout when waiting for 3rd party check iframe message.");
605
+ return q(i.promise, r.messageReceiveTimeout, "Timeout when waiting for 3rd party check iframe message.");
606
606
  }
607
607
  function O(i) {
608
608
  if (!i || i == "default")
609
609
  return {
610
- login: async function(g) {
611
- return window.location.assign(await r.createLoginUrl(g)), F().promise;
610
+ login: async function(y) {
611
+ return window.location.assign(await r.createLoginUrl(y)), F().promise;
612
612
  },
613
- logout: async function(g) {
614
- if (((g == null ? void 0 : g.logoutMethod) ?? r.logoutMethod) === "GET") {
615
- window.location.replace(r.createLogoutUrl(g));
613
+ logout: async function(y) {
614
+ if (((y == null ? void 0 : y.logoutMethod) ?? r.logoutMethod) === "GET") {
615
+ window.location.replace(r.createLogoutUrl(y));
616
616
  return;
617
617
  }
618
- const T = document.createElement("form");
619
- T.setAttribute("method", "POST"), T.setAttribute("action", r.createLogoutUrl(g)), T.style.display = "none";
620
- const $ = {
618
+ const R = document.createElement("form");
619
+ R.setAttribute("method", "POST"), R.setAttribute("action", r.createLogoutUrl(y)), R.style.display = "none";
620
+ const j = {
621
621
  id_token_hint: r.idToken,
622
622
  client_id: r.clientId,
623
- post_logout_redirect_uri: t.redirectUri(g, !1)
623
+ post_logout_redirect_uri: t.redirectUri(y, !1)
624
624
  };
625
- for (const [P, z] of Object.entries($)) {
625
+ for (const [P, z] of Object.entries(j)) {
626
626
  const I = document.createElement("input");
627
- I.setAttribute("type", "hidden"), I.setAttribute("name", P), I.setAttribute("value", z), T.appendChild(I);
627
+ I.setAttribute("type", "hidden"), I.setAttribute("name", P), I.setAttribute("value", z), R.appendChild(I);
628
628
  }
629
- document.body.appendChild(T), T.submit();
629
+ document.body.appendChild(R), R.submit();
630
630
  },
631
- register: async function(g) {
632
- return window.location.assign(await r.createRegisterUrl(g)), F().promise;
631
+ register: async function(y) {
632
+ return window.location.assign(await r.createRegisterUrl(y)), F().promise;
633
633
  },
634
634
  accountManagement: function() {
635
- var g = r.createAccountUrl();
636
- if (typeof g < "u")
637
- window.location.href = g;
635
+ var y = r.createAccountUrl();
636
+ if (typeof y < "u")
637
+ window.location.href = y;
638
638
  else
639
639
  throw "Not supported by the OIDC server";
640
640
  return F().promise;
641
641
  },
642
- redirectUri: function(g, m) {
643
- return g && g.redirectUri ? g.redirectUri : r.redirectUri ? r.redirectUri : location.href;
642
+ redirectUri: function(y, m) {
643
+ return y && y.redirectUri ? y.redirectUri : r.redirectUri ? r.redirectUri : location.href;
644
644
  }
645
645
  };
646
646
  if (i == "cordova") {
647
647
  a.enable = !1;
648
- var s = function(g, m, T) {
649
- return window.cordova && window.cordova.InAppBrowser ? window.cordova.InAppBrowser.open(g, m, T) : window.open(g, m, T);
650
- }, y = function(g) {
651
- return g && g.cordovaOptions ? Object.keys(g.cordovaOptions).reduce(function(m, T) {
652
- return m[T] = g.cordovaOptions[T], m;
648
+ var s = function(y, m, R) {
649
+ return window.cordova && window.cordova.InAppBrowser ? window.cordova.InAppBrowser.open(y, m, R) : window.open(y, m, R);
650
+ }, h = function(y) {
651
+ return y && y.cordovaOptions ? Object.keys(y.cordovaOptions).reduce(function(m, R) {
652
+ return m[R] = y.cordovaOptions[R], m;
653
653
  }, {}) : {};
654
- }, A = function(g) {
655
- return Object.keys(g).reduce(function(m, T) {
656
- return m.push(T + "=" + g[T]), m;
654
+ }, A = function(y) {
655
+ return Object.keys(y).reduce(function(m, R) {
656
+ return m.push(R + "=" + y[R]), m;
657
657
  }, []).join(",");
658
- }, b = function(g) {
659
- var m = y(g);
660
- return m.location = "no", g && g.prompt == "none" && (m.hidden = "yes"), A(m);
658
+ }, b = function(y) {
659
+ var m = h(y);
660
+ return m.location = "no", y && y.prompt == "none" && (m.hidden = "yes"), A(m);
661
661
  }, k = function() {
662
662
  return r.redirectUri || "http://localhost";
663
663
  };
664
664
  return {
665
- login: async function(g) {
666
- var m = F(), T = b(g), $ = await r.createLoginUrl(g), P = s($, "_blank", T), z = !1, I = !1, se = function() {
665
+ login: async function(y) {
666
+ var m = F(), R = b(y), j = await r.createLoginUrl(y), P = s(j, "_blank", R), z = !1, I = !1, se = function() {
667
667
  I = !0, P.close();
668
668
  };
669
669
  return P.addEventListener("loadstart", function(de) {
670
670
  if (de.url.indexOf(k()) == 0) {
671
- var He = R(de.url);
671
+ var He = T(de.url);
672
672
  _(He, m), se(), z = !0;
673
673
  }
674
674
  }), P.addEventListener("loaderror", function(de) {
675
675
  if (!z)
676
676
  if (de.url.indexOf(k()) == 0) {
677
- var He = R(de.url);
677
+ var He = T(de.url);
678
678
  _(He, m), se(), z = !0;
679
679
  } else
680
680
  m.setError(), se();
@@ -684,74 +684,74 @@ For more information see: https://www.keycloak.org/securing-apps/javascript-adap
684
684
  });
685
685
  }), m.promise;
686
686
  },
687
- logout: function(g) {
688
- var m = F(), T = r.createLogoutUrl(g), $ = s(T, "_blank", "location=no,hidden=yes,clearcache=yes"), P;
689
- return $.addEventListener("loadstart", function(z) {
690
- z.url.indexOf(k()) == 0 && $.close();
691
- }), $.addEventListener("loaderror", function(z) {
692
- z.url.indexOf(k()) == 0 || (P = !0), $.close();
693
- }), $.addEventListener("exit", function(z) {
687
+ logout: function(y) {
688
+ var m = F(), R = r.createLogoutUrl(y), j = s(R, "_blank", "location=no,hidden=yes,clearcache=yes"), P;
689
+ return j.addEventListener("loadstart", function(z) {
690
+ z.url.indexOf(k()) == 0 && j.close();
691
+ }), j.addEventListener("loaderror", function(z) {
692
+ z.url.indexOf(k()) == 0 || (P = !0), j.close();
693
+ }), j.addEventListener("exit", function(z) {
694
694
  P ? m.setError() : (r.clearToken(), m.setSuccess());
695
695
  }), m.promise;
696
696
  },
697
- register: async function(g) {
698
- var m = F(), T = await r.createRegisterUrl(), $ = b(g), P = s(T, "_blank", $);
697
+ register: async function(y) {
698
+ var m = F(), R = await r.createRegisterUrl(), j = b(y), P = s(R, "_blank", j);
699
699
  return P.addEventListener("loadstart", function(z) {
700
700
  if (z.url.indexOf(k()) == 0) {
701
701
  P.close();
702
- var I = R(z.url);
702
+ var I = T(z.url);
703
703
  _(I, m);
704
704
  }
705
705
  }), m.promise;
706
706
  },
707
707
  accountManagement: function() {
708
- var g = r.createAccountUrl();
709
- if (typeof g < "u") {
710
- var m = s(g, "_blank", "location=no");
711
- m.addEventListener("loadstart", function(T) {
712
- T.url.indexOf(k()) == 0 && m.close();
708
+ var y = r.createAccountUrl();
709
+ if (typeof y < "u") {
710
+ var m = s(y, "_blank", "location=no");
711
+ m.addEventListener("loadstart", function(R) {
712
+ R.url.indexOf(k()) == 0 && m.close();
713
713
  });
714
714
  } else
715
715
  throw "Not supported by the OIDC server";
716
716
  },
717
- redirectUri: function(g) {
717
+ redirectUri: function(y) {
718
718
  return k();
719
719
  }
720
720
  };
721
721
  }
722
722
  if (i == "cordova-native")
723
723
  return a.enable = !1, {
724
- login: async function(g) {
725
- var m = F(), T = await r.createLoginUrl(g);
726
- return universalLinks.subscribe("keycloak", function($) {
724
+ login: async function(y) {
725
+ var m = F(), R = await r.createLoginUrl(y);
726
+ return universalLinks.subscribe("keycloak", function(j) {
727
727
  universalLinks.unsubscribe("keycloak"), window.cordova.plugins.browsertab.close();
728
- var P = R($.url);
728
+ var P = T(j.url);
729
729
  _(P, m);
730
- }), window.cordova.plugins.browsertab.openUrl(T), m.promise;
730
+ }), window.cordova.plugins.browsertab.openUrl(R), m.promise;
731
731
  },
732
- logout: function(g) {
733
- var m = F(), T = r.createLogoutUrl(g);
734
- return universalLinks.subscribe("keycloak", function($) {
732
+ logout: function(y) {
733
+ var m = F(), R = r.createLogoutUrl(y);
734
+ return universalLinks.subscribe("keycloak", function(j) {
735
735
  universalLinks.unsubscribe("keycloak"), window.cordova.plugins.browsertab.close(), r.clearToken(), m.setSuccess();
736
- }), window.cordova.plugins.browsertab.openUrl(T), m.promise;
736
+ }), window.cordova.plugins.browsertab.openUrl(R), m.promise;
737
737
  },
738
- register: async function(g) {
739
- var m = F(), T = await r.createRegisterUrl(g);
740
- return universalLinks.subscribe("keycloak", function($) {
738
+ register: async function(y) {
739
+ var m = F(), R = await r.createRegisterUrl(y);
740
+ return universalLinks.subscribe("keycloak", function(j) {
741
741
  universalLinks.unsubscribe("keycloak"), window.cordova.plugins.browsertab.close();
742
- var P = R($.url);
742
+ var P = T(j.url);
743
743
  _(P, m);
744
- }), window.cordova.plugins.browsertab.openUrl(T), m.promise;
744
+ }), window.cordova.plugins.browsertab.openUrl(R), m.promise;
745
745
  },
746
746
  accountManagement: function() {
747
- var g = r.createAccountUrl();
748
- if (typeof g < "u")
749
- window.cordova.plugins.browsertab.openUrl(g);
747
+ var y = r.createAccountUrl();
748
+ if (typeof y < "u")
749
+ window.cordova.plugins.browsertab.openUrl(y);
750
750
  else
751
751
  throw "Not supported by the OIDC server";
752
752
  },
753
- redirectUri: function(g) {
754
- return g && g.redirectUri ? g.redirectUri : r.redirectUri ? r.redirectUri : "http://localhost";
753
+ redirectUri: function(y) {
754
+ return y && y.redirectUri ? y.redirectUri : r.redirectUri ? r.redirectUri : "http://localhost";
755
755
  }
756
756
  };
757
757
  throw "invalid adapter type: " + i;
@@ -764,12 +764,12 @@ For more information see: https://www.keycloak.org/securing-apps/javascript-adap
764
764
  var i = this;
765
765
  function s() {
766
766
  const k = Date.now();
767
- for (const [g, m] of A()) {
768
- const T = b(m);
769
- (T === null || T < k) && localStorage.removeItem(g);
767
+ for (const [y, m] of A()) {
768
+ const R = b(m);
769
+ (R === null || R < k) && localStorage.removeItem(y);
770
770
  }
771
771
  }
772
- function y() {
772
+ function h() {
773
773
  for (const [k] of A())
774
774
  localStorage.removeItem(k);
775
775
  }
@@ -777,30 +777,30 @@ For more information see: https://www.keycloak.org/securing-apps/javascript-adap
777
777
  return Object.entries(localStorage).filter(([k]) => k.startsWith(N));
778
778
  }
779
779
  function b(k) {
780
- let g;
780
+ let y;
781
781
  try {
782
- g = JSON.parse(k);
782
+ y = JSON.parse(k);
783
783
  } catch {
784
784
  return null;
785
785
  }
786
- return zr(g) && "expires" in g && typeof g.expires == "number" ? g.expires : null;
786
+ return zr(y) && "expires" in y && typeof y.expires == "number" ? y.expires : null;
787
787
  }
788
788
  i.get = function(k) {
789
789
  if (k) {
790
- var g = N + k, m = localStorage.getItem(g);
791
- return m && (localStorage.removeItem(g), m = JSON.parse(m)), s(), m;
790
+ var y = N + k, m = localStorage.getItem(y);
791
+ return m && (localStorage.removeItem(y), m = JSON.parse(m)), s(), m;
792
792
  }
793
793
  }, i.add = function(k) {
794
794
  s();
795
- const g = N + k.state, m = JSON.stringify({
795
+ const y = N + k.state, m = JSON.stringify({
796
796
  ...k,
797
797
  // Set the expiry time to 1 hour from now.
798
798
  expires: Date.now() + 60 * 60 * 1e3
799
799
  });
800
800
  try {
801
- localStorage.setItem(g, m);
801
+ localStorage.setItem(y, m);
802
802
  } catch {
803
- y(), localStorage.setItem(g, m);
803
+ h(), localStorage.setItem(y, m);
804
804
  }
805
805
  };
806
806
  }, J = function() {
@@ -809,7 +809,7 @@ For more information see: https://www.keycloak.org/securing-apps/javascript-adap
809
809
  var i = this;
810
810
  i.get = function(b) {
811
811
  if (b) {
812
- var k = y(N + b);
812
+ var k = h(N + b);
813
813
  if (A(N + b, "", s(-100)), k)
814
814
  return JSON.parse(k);
815
815
  }
@@ -821,16 +821,16 @@ For more information see: https://www.keycloak.org/securing-apps/javascript-adap
821
821
  var s = function(b) {
822
822
  var k = /* @__PURE__ */ new Date();
823
823
  return k.setTime(k.getTime() + b * 60 * 1e3), k;
824
- }, y = function(b) {
825
- for (var k = b + "=", g = document.cookie.split(";"), m = 0; m < g.length; m++) {
826
- for (var T = g[m]; T.charAt(0) == " "; )
827
- T = T.substring(1);
828
- if (T.indexOf(k) == 0)
829
- return T.substring(k.length, T.length);
824
+ }, h = function(b) {
825
+ for (var k = b + "=", y = document.cookie.split(";"), m = 0; m < y.length; m++) {
826
+ for (var R = y[m]; R.charAt(0) == " "; )
827
+ R = R.substring(1);
828
+ if (R.indexOf(k) == 0)
829
+ return R.substring(k.length, R.length);
830
830
  }
831
831
  return "";
832
- }, A = function(b, k, g) {
833
- var m = b + "=" + k + "; expires=" + g.toUTCString() + "; ";
832
+ }, A = function(b, k, y) {
833
+ var m = b + "=" + k + "; expires=" + y.toUTCString() + "; ";
834
834
  document.cookie = m;
835
835
  };
836
836
  };
@@ -1108,18 +1108,18 @@ function Oo() {
1108
1108
  function e(s) {
1109
1109
  if (s == null) return null;
1110
1110
  if (typeof s == "function")
1111
- return s.$$typeof === W ? null : s.displayName || s.name || null;
1111
+ return s.$$typeof === H ? null : s.displayName || s.name || null;
1112
1112
  if (typeof s == "string") return s;
1113
1113
  switch (s) {
1114
1114
  case _:
1115
1115
  return "Fragment";
1116
- case B:
1116
+ case V:
1117
1117
  return "Profiler";
1118
1118
  case U:
1119
1119
  return "StrictMode";
1120
1120
  case L:
1121
1121
  return "Suspense";
1122
- case H:
1122
+ case W:
1123
1123
  return "SuspenseList";
1124
1124
  case le:
1125
1125
  return "Activity";
@@ -1128,21 +1128,21 @@ function Oo() {
1128
1128
  switch (typeof s.tag == "number" && console.error(
1129
1129
  "Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
1130
1130
  ), s.$$typeof) {
1131
- case p:
1131
+ case d:
1132
1132
  return "Portal";
1133
- case j:
1133
+ case M:
1134
1134
  return s.displayName || "Context";
1135
- case V:
1135
+ case B:
1136
1136
  return (s._context.displayName || "Context") + ".Consumer";
1137
- case R:
1138
- var y = s.render;
1139
- return s = s.displayName, s || (s = y.displayName || y.name || "", s = s !== "" ? "ForwardRef(" + s + ")" : "ForwardRef"), s;
1137
+ case T:
1138
+ var h = s.render;
1139
+ return s = s.displayName, s || (s = h.displayName || h.name || "", s = s !== "" ? "ForwardRef(" + s + ")" : "ForwardRef"), s;
1140
1140
  case F:
1141
- return y = s.displayName || null, y !== null ? y : e(s.type) || "Memo";
1142
- case re:
1143
- y = s._payload, s = s._init;
1141
+ return h = s.displayName || null, h !== null ? h : e(s.type) || "Memo";
1142
+ case q:
1143
+ h = s._payload, s = s._init;
1144
1144
  try {
1145
- return e(s(y));
1145
+ return e(s(h));
1146
1146
  } catch {
1147
1147
  }
1148
1148
  }
@@ -1154,15 +1154,15 @@ function Oo() {
1154
1154
  function t(s) {
1155
1155
  try {
1156
1156
  r(s);
1157
- var y = !1;
1157
+ var h = !1;
1158
1158
  } catch {
1159
- y = !0;
1159
+ h = !0;
1160
1160
  }
1161
- if (y) {
1162
- y = console;
1163
- var A = y.error, b = typeof Symbol == "function" && Symbol.toStringTag && s[Symbol.toStringTag] || s.constructor.name || "Object";
1161
+ if (h) {
1162
+ h = console;
1163
+ var A = h.error, b = typeof Symbol == "function" && Symbol.toStringTag && s[Symbol.toStringTag] || s.constructor.name || "Object";
1164
1164
  return A.call(
1165
- y,
1165
+ h,
1166
1166
  "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
1167
1167
  b
1168
1168
  ), r(s);
@@ -1170,11 +1170,11 @@ function Oo() {
1170
1170
  }
1171
1171
  function n(s) {
1172
1172
  if (s === _) return "<>";
1173
- if (typeof s == "object" && s !== null && s.$$typeof === re)
1173
+ if (typeof s == "object" && s !== null && s.$$typeof === q)
1174
1174
  return "<...>";
1175
1175
  try {
1176
- var y = e(s);
1177
- return y ? "<" + y + ">" : "<...>";
1176
+ var h = e(s);
1177
+ return h ? "<" + h + ">" : "<...>";
1178
1178
  } catch {
1179
1179
  return "<...>";
1180
1180
  }
@@ -1187,17 +1187,17 @@ function Oo() {
1187
1187
  return Error("react-stack-top-frame");
1188
1188
  }
1189
1189
  function l(s) {
1190
- if (M.call(s, "key")) {
1191
- var y = Object.getOwnPropertyDescriptor(s, "key").get;
1192
- if (y && y.isReactWarning) return !1;
1190
+ if ($.call(s, "key")) {
1191
+ var h = Object.getOwnPropertyDescriptor(s, "key").get;
1192
+ if (h && h.isReactWarning) return !1;
1193
1193
  }
1194
1194
  return s.key !== void 0;
1195
1195
  }
1196
- function u(s, y) {
1196
+ function u(s, h) {
1197
1197
  function A() {
1198
1198
  D || (D = !0, console.error(
1199
1199
  "%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
1200
- y
1200
+ h
1201
1201
  ));
1202
1202
  }
1203
1203
  A.isReactWarning = !0, Object.defineProperty(s, "key", {
@@ -1205,23 +1205,23 @@ function Oo() {
1205
1205
  configurable: !0
1206
1206
  });
1207
1207
  }
1208
- function f() {
1208
+ function p() {
1209
1209
  var s = e(this.type);
1210
1210
  return J[s] || (J[s] = !0, console.error(
1211
1211
  "Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
1212
1212
  )), s = this.props.ref, s !== void 0 ? s : null;
1213
1213
  }
1214
- function h(s, y, A, b, k, g) {
1214
+ function g(s, h, A, b, k, y) {
1215
1215
  var m = A.ref;
1216
1216
  return s = {
1217
- $$typeof: v,
1217
+ $$typeof: C,
1218
1218
  type: s,
1219
- key: y,
1219
+ key: h,
1220
1220
  props: A,
1221
1221
  _owner: b
1222
1222
  }, (m !== void 0 ? m : null) !== null ? Object.defineProperty(s, "ref", {
1223
1223
  enumerable: !1,
1224
- get: f
1224
+ get: p
1225
1225
  }) : Object.defineProperty(s, "ref", { enumerable: !1, value: null }), s._store = {}, Object.defineProperty(s._store, "validated", {
1226
1226
  configurable: !1,
1227
1227
  enumerable: !1,
@@ -1241,28 +1241,28 @@ function Oo() {
1241
1241
  configurable: !1,
1242
1242
  enumerable: !1,
1243
1243
  writable: !0,
1244
- value: g
1244
+ value: y
1245
1245
  }), Object.freeze && (Object.freeze(s.props), Object.freeze(s)), s;
1246
1246
  }
1247
- function w(s, y, A, b, k, g) {
1248
- var m = y.children;
1247
+ function x(s, h, A, b, k, y) {
1248
+ var m = h.children;
1249
1249
  if (m !== void 0)
1250
1250
  if (b)
1251
1251
  if (O(m)) {
1252
1252
  for (b = 0; b < m.length; b++)
1253
- C(m[b]);
1253
+ w(m[b]);
1254
1254
  Object.freeze && Object.freeze(m);
1255
1255
  } else
1256
1256
  console.error(
1257
1257
  "React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
1258
1258
  );
1259
- else C(m);
1260
- if (M.call(y, "key")) {
1259
+ else w(m);
1260
+ if ($.call(h, "key")) {
1261
1261
  m = e(s);
1262
- var T = Object.keys(y).filter(function(P) {
1262
+ var R = Object.keys(h).filter(function(P) {
1263
1263
  return P !== "key";
1264
1264
  });
1265
- b = 0 < T.length ? "{key: someKey, " + T.join(": ..., ") + ": ...}" : "{key: someKey}", i[m + b] || (T = 0 < T.length ? "{" + T.join(": ..., ") + ": ...}" : "{}", console.error(
1265
+ b = 0 < R.length ? "{key: someKey, " + R.join(": ..., ") + ": ...}" : "{key: someKey}", i[m + b] || (R = 0 < R.length ? "{" + R.join(": ..., ") + ": ...}" : "{}", console.error(
1266
1266
  `A props object containing a "key" prop is being spread into JSX:
1267
1267
  let props = %s;
1268
1268
  <%s {...props} />
@@ -1271,34 +1271,34 @@ React keys must be passed directly to JSX without using spread:
1271
1271
  <%s key={someKey} {...props} />`,
1272
1272
  b,
1273
1273
  m,
1274
- T,
1274
+ R,
1275
1275
  m
1276
1276
  ), i[m + b] = !0);
1277
1277
  }
1278
- if (m = null, A !== void 0 && (t(A), m = "" + A), l(y) && (t(y.key), m = "" + y.key), "key" in y) {
1278
+ if (m = null, A !== void 0 && (t(A), m = "" + A), l(h) && (t(h.key), m = "" + h.key), "key" in h) {
1279
1279
  A = {};
1280
- for (var $ in y)
1281
- $ !== "key" && (A[$] = y[$]);
1282
- } else A = y;
1280
+ for (var j in h)
1281
+ j !== "key" && (A[j] = h[j]);
1282
+ } else A = h;
1283
1283
  return m && u(
1284
1284
  A,
1285
1285
  typeof s == "function" ? s.displayName || s.name || "Unknown" : s
1286
- ), h(
1286
+ ), g(
1287
1287
  s,
1288
1288
  m,
1289
1289
  A,
1290
1290
  o(),
1291
1291
  k,
1292
- g
1292
+ y
1293
1293
  );
1294
1294
  }
1295
- function C(s) {
1296
- x(s) ? s._store && (s._store.validated = 1) : typeof s == "object" && s !== null && s.$$typeof === re && (s._payload.status === "fulfilled" ? x(s._payload.value) && s._payload.value._store && (s._payload.value._store.validated = 1) : s._store && (s._store.validated = 1));
1295
+ function w(s) {
1296
+ S(s) ? s._store && (s._store.validated = 1) : typeof s == "object" && s !== null && s.$$typeof === q && (s._payload.status === "fulfilled" ? S(s._payload.value) && s._payload.value._store && (s._payload.value._store.validated = 1) : s._store && (s._store.validated = 1));
1297
1297
  }
1298
- function x(s) {
1299
- return typeof s == "object" && s !== null && s.$$typeof === v;
1298
+ function S(s) {
1299
+ return typeof s == "object" && s !== null && s.$$typeof === C;
1300
1300
  }
1301
- var E = tt, v = Symbol.for("react.transitional.element"), p = Symbol.for("react.portal"), _ = Symbol.for("react.fragment"), U = Symbol.for("react.strict_mode"), B = Symbol.for("react.profiler"), V = Symbol.for("react.consumer"), j = Symbol.for("react.context"), R = Symbol.for("react.forward_ref"), L = Symbol.for("react.suspense"), H = Symbol.for("react.suspense_list"), F = Symbol.for("react.memo"), re = Symbol.for("react.lazy"), le = Symbol.for("react.activity"), W = Symbol.for("react.client.reference"), c = E.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, M = Object.prototype.hasOwnProperty, O = Array.isArray, N = console.createTask ? console.createTask : function() {
1301
+ var E = tt, C = Symbol.for("react.transitional.element"), d = Symbol.for("react.portal"), _ = Symbol.for("react.fragment"), U = Symbol.for("react.strict_mode"), V = Symbol.for("react.profiler"), B = Symbol.for("react.consumer"), M = Symbol.for("react.context"), T = Symbol.for("react.forward_ref"), L = Symbol.for("react.suspense"), W = Symbol.for("react.suspense_list"), F = Symbol.for("react.memo"), q = Symbol.for("react.lazy"), le = Symbol.for("react.activity"), H = Symbol.for("react.client.reference"), c = E.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, $ = Object.prototype.hasOwnProperty, O = Array.isArray, N = console.createTask ? console.createTask : function() {
1302
1302
  return null;
1303
1303
  };
1304
1304
  E = {
@@ -1310,21 +1310,21 @@ React keys must be passed directly to JSX without using spread:
1310
1310
  E,
1311
1311
  a
1312
1312
  )(), ue = N(n(a)), i = {};
1313
- nr.Fragment = _, nr.jsx = function(s, y, A) {
1313
+ nr.Fragment = _, nr.jsx = function(s, h, A) {
1314
1314
  var b = 1e4 > c.recentlyCreatedOwnerStacks++;
1315
- return w(
1315
+ return x(
1316
1316
  s,
1317
- y,
1317
+ h,
1318
1318
  A,
1319
1319
  !1,
1320
1320
  b ? Error("react-stack-top-frame") : ne,
1321
1321
  b ? N(n(s)) : ue
1322
1322
  );
1323
- }, nr.jsxs = function(s, y, A) {
1323
+ }, nr.jsxs = function(s, h, A) {
1324
1324
  var b = 1e4 > c.recentlyCreatedOwnerStacks++;
1325
- return w(
1325
+ return x(
1326
1326
  s,
1327
- y,
1327
+ h,
1328
1328
  A,
1329
1329
  !0,
1330
1330
  b ? Error("react-stack-top-frame") : ne,
@@ -1337,8 +1337,8 @@ var Et;
1337
1337
  function Io() {
1338
1338
  return Et || (Et = 1, process.env.NODE_ENV === "production" ? fr.exports = _o() : fr.exports = Oo()), fr.exports;
1339
1339
  }
1340
- var d = Io();
1341
- const Po = (e) => /* @__PURE__ */ d.jsxs(
1340
+ var f = Io();
1341
+ const Po = (e) => /* @__PURE__ */ f.jsxs(
1342
1342
  "svg",
1343
1343
  {
1344
1344
  ...e,
@@ -1346,29 +1346,29 @@ const Po = (e) => /* @__PURE__ */ d.jsxs(
1346
1346
  fill: "none",
1347
1347
  xmlns: "http://www.w3.org/2000/svg",
1348
1348
  children: [
1349
- /* @__PURE__ */ d.jsxs("g", { clipPath: "url(#clip0_776_7558)", children: [
1350
- /* @__PURE__ */ d.jsx(
1349
+ /* @__PURE__ */ f.jsxs("g", { clipPath: "url(#clip0_776_7558)", children: [
1350
+ /* @__PURE__ */ f.jsx(
1351
1351
  "path",
1352
1352
  {
1353
1353
  d: "M9.49996 4.18115C10.8275 4.18115 12.0162 4.63865 12.9537 5.53115L15.5225 2.9624C13.9625 1.51115 11.9262 0.618652 9.49996 0.618652C5.98246 0.618652 2.94121 2.63615 1.45996 5.57615L4.45246 7.8974C5.16121 5.76365 7.15246 4.18115 9.49996 4.18115Z",
1354
1354
  fill: "#EA4335"
1355
1355
  }
1356
1356
  ),
1357
- /* @__PURE__ */ d.jsx(
1357
+ /* @__PURE__ */ f.jsx(
1358
1358
  "path",
1359
1359
  {
1360
1360
  d: "M18.1175 9.8249C18.1175 9.23615 18.0612 8.66615 17.975 8.11865H9.5V11.5012H14.3525C14.135 12.6112 13.505 13.5562 12.56 14.1937L15.4587 16.4437C17.15 14.8762 18.1175 12.5587 18.1175 9.8249Z",
1361
1361
  fill: "#4285F4"
1362
1362
  }
1363
1363
  ),
1364
- /* @__PURE__ */ d.jsx(
1364
+ /* @__PURE__ */ f.jsx(
1365
1365
  "path",
1366
1366
  {
1367
1367
  d: "M4.44875 11.3399C4.26875 10.7962 4.16375 10.2187 4.16375 9.61867C4.16375 9.01867 4.265 8.44117 4.44875 7.89742L1.45625 5.57617C0.845 6.79117 0.5 8.16367 0.5 9.61867C0.5 11.0737 0.845 12.4462 1.46 13.6612L4.44875 11.3399Z",
1368
1368
  fill: "#FBBC05"
1369
1369
  }
1370
1370
  ),
1371
- /* @__PURE__ */ d.jsx(
1371
+ /* @__PURE__ */ f.jsx(
1372
1372
  "path",
1373
1373
  {
1374
1374
  d: "M9.50005 18.6186C11.93 18.6186 13.9738 17.8199 15.4588 16.4399L12.56 14.1899C11.7538 14.7336 10.715 15.0524 9.50005 15.0524C7.15255 15.0524 5.1613 13.4699 4.4488 11.3361L1.4563 13.6574C2.9413 16.6011 5.98255 18.6186 9.50005 18.6186Z",
@@ -1376,7 +1376,7 @@ const Po = (e) => /* @__PURE__ */ d.jsxs(
1376
1376
  }
1377
1377
  )
1378
1378
  ] }),
1379
- /* @__PURE__ */ d.jsx("defs", { children: /* @__PURE__ */ d.jsx("clipPath", { id: "clip0_776_7558", children: /* @__PURE__ */ d.jsx(
1379
+ /* @__PURE__ */ f.jsx("defs", { children: /* @__PURE__ */ f.jsx("clipPath", { id: "clip0_776_7558", children: /* @__PURE__ */ f.jsx(
1380
1380
  "rect",
1381
1381
  {
1382
1382
  width: "18",
@@ -1387,7 +1387,7 @@ const Po = (e) => /* @__PURE__ */ d.jsxs(
1387
1387
  ) }) })
1388
1388
  ]
1389
1389
  }
1390
- ), jo = (e) => /* @__PURE__ */ d.jsxs(
1390
+ ), jo = (e) => /* @__PURE__ */ f.jsxs(
1391
1391
  "svg",
1392
1392
  {
1393
1393
  ...e,
@@ -1395,8 +1395,8 @@ const Po = (e) => /* @__PURE__ */ d.jsxs(
1395
1395
  fill: "none",
1396
1396
  xmlns: "http://www.w3.org/2000/svg",
1397
1397
  children: [
1398
- /* @__PURE__ */ d.jsxs("g", { clipPath: "url(#clip0_776_7541)", children: [
1399
- /* @__PURE__ */ d.jsx(
1398
+ /* @__PURE__ */ f.jsxs("g", { clipPath: "url(#clip0_776_7541)", children: [
1399
+ /* @__PURE__ */ f.jsx(
1400
1400
  "path",
1401
1401
  {
1402
1402
  fillRule: "evenodd",
@@ -1405,7 +1405,7 @@ const Po = (e) => /* @__PURE__ */ d.jsxs(
1405
1405
  fill: "#086BB5"
1406
1406
  }
1407
1407
  ),
1408
- /* @__PURE__ */ d.jsx(
1408
+ /* @__PURE__ */ f.jsx(
1409
1409
  "path",
1410
1410
  {
1411
1411
  d: "M5.72812 24.4711L6.32561 25.0065C8.41811 26.8559 11.051 28.3647 14.1173 28.3647C15.4316 28.3647 17.6098 27.8299 17.8704 26.1745C18.131 24.519 16.4039 24.374 15.2246 24.1311L12.6256 23.6441C7.56311 22.7195 3.66937 19.6528 4.57645 13.9097C5.95603 5.19764 14.6598 0.330566 22.6412 0.330566C26.826 0.330566 30.5099 1.35306 33.7645 3.54306L28.677 12.9359C26.6354 11.3785 24.2489 10.162 21.377 10.162C20.2093 10.162 18.4373 10.5995 18.1981 12.1091C17.9823 13.4716 19.6062 13.6664 20.5895 13.9095L23.4999 14.5914C28.9449 15.8568 32.5566 18.8741 31.5708 25.1038C30.1833 33.8649 21.5172 38.1963 13.5833 38.1963C8.95977 38.1963 3.80541 36.9305 0 34.8382L5.72812 24.4711Z",
@@ -1413,7 +1413,7 @@ const Po = (e) => /* @__PURE__ */ d.jsxs(
1413
1413
  fillOpacity: "0.87"
1414
1414
  }
1415
1415
  ),
1416
- /* @__PURE__ */ d.jsx(
1416
+ /* @__PURE__ */ f.jsx(
1417
1417
  "path",
1418
1418
  {
1419
1419
  d: "M37.1949 0.914734H50.5318L44.7228 37.6121H31.3895L37.1949 0.914734Z",
@@ -1421,7 +1421,7 @@ const Po = (e) => /* @__PURE__ */ d.jsxs(
1421
1421
  fillOpacity: "0.87"
1422
1422
  }
1423
1423
  ),
1424
- /* @__PURE__ */ d.jsx(
1424
+ /* @__PURE__ */ f.jsx(
1425
1425
  "path",
1426
1426
  {
1427
1427
  fillRule: "evenodd",
@@ -1430,7 +1430,7 @@ const Po = (e) => /* @__PURE__ */ d.jsxs(
1430
1430
  fill: "#086BB5"
1431
1431
  }
1432
1432
  ),
1433
- /* @__PURE__ */ d.jsx(
1433
+ /* @__PURE__ */ f.jsx(
1434
1434
  "path",
1435
1435
  {
1436
1436
  d: "M90.6794 16.0026C89.6352 21.9888 88.8421 27.0026 83.7704 31.6742C79.2071 35.9088 72.8578 38.1955 67.1636 38.1955C55.9695 38.1955 48.0109 31.2844 49.8741 19.5057C51.7682 7.53305 61.7169 0.329529 73.2536 0.329529C79.6286 0.329529 87.8886 3.49327 89.7665 9.77201L76.583 14.3466C75.8538 12.4972 74.109 11.5237 71.9678 11.5237C67.1969 11.5237 63.9224 15.612 63.2215 20.0414C62.5836 24.0809 64.5132 27.8774 68.8444 27.8774C70.9367 27.8774 73.7694 26.9038 74.7551 24.6649H68.7217L70.0917 16.0016L90.6794 16.0026Z",
@@ -1439,7 +1439,7 @@ const Po = (e) => /* @__PURE__ */ d.jsxs(
1439
1439
  }
1440
1440
  )
1441
1441
  ] }),
1442
- /* @__PURE__ */ d.jsx("defs", { children: /* @__PURE__ */ d.jsx("clipPath", { id: "clip0_776_7541", children: /* @__PURE__ */ d.jsx(
1442
+ /* @__PURE__ */ f.jsx("defs", { children: /* @__PURE__ */ f.jsx("clipPath", { id: "clip0_776_7541", children: /* @__PURE__ */ f.jsx(
1443
1443
  "rect",
1444
1444
  {
1445
1445
  width: "150",
@@ -1896,13 +1896,13 @@ let lt = Jn(
1896
1896
  lt = Gn(lt);
1897
1897
  const Rt = (e) => {
1898
1898
  let r;
1899
- const t = /* @__PURE__ */ new Set(), n = (h, w) => {
1900
- const C = typeof h == "function" ? h(r) : h;
1901
- if (!Object.is(C, r)) {
1902
- const x = r;
1903
- r = w ?? (typeof C != "object" || C === null) ? C : Object.assign({}, r, C), t.forEach((E) => E(r, x));
1899
+ const t = /* @__PURE__ */ new Set(), n = (g, x) => {
1900
+ const w = typeof g == "function" ? g(r) : g;
1901
+ if (!Object.is(w, r)) {
1902
+ const S = r;
1903
+ r = x ?? (typeof w != "object" || w === null) ? w : Object.assign({}, r, w), t.forEach((E) => E(r, S));
1904
1904
  }
1905
- }, o = () => r, u = { setState: n, getState: o, getInitialState: () => f, subscribe: (h) => (t.add(h), () => t.delete(h)) }, f = r = e(n, o, u);
1905
+ }, o = () => r, u = { setState: n, getState: o, getInitialState: () => p, subscribe: (g) => (t.add(g), () => t.delete(g)) }, p = r = e(n, o, u);
1906
1906
  return u;
1907
1907
  }, Bo = (e) => e ? Rt(e) : Rt, Vo = (e) => e;
1908
1908
  function Fo(e, r = Vo) {
@@ -1962,21 +1962,21 @@ const _t = (e) => {
1962
1962
  LinkComponent: t
1963
1963
  }) => {
1964
1964
  const [n, o] = Er(!1), a = Ve(
1965
- ({ seleccion: f }) => r === (f == null ? void 0 : f.menu) && (f == null ? void 0 : f.submenu) === e.id
1965
+ ({ seleccion: p }) => r === (p == null ? void 0 : p.menu) && (p == null ? void 0 : p.submenu) === e.id
1966
1966
  ), l = ye(
1967
- (f) => {
1968
- o(((f == null ? void 0 : f.offsetWidth) ?? 0) < ((f == null ? void 0 : f.scrollWidth) ?? 0));
1967
+ (p) => {
1968
+ o(((p == null ? void 0 : p.offsetWidth) ?? 0) < ((p == null ? void 0 : p.scrollWidth) ?? 0));
1969
1969
  },
1970
1970
  // eslint-disable-next-line react-hooks/exhaustive-deps
1971
1971
  [e.nombre]
1972
1972
  ), u = Ze(() => {
1973
1973
  if (!e.icono) return null;
1974
1974
  if (typeof e.icono == "string")
1975
- return /* @__PURE__ */ d.jsx(Xe, { children: /* @__PURE__ */ d.jsx(Tr, { color: a ? "primary" : "inherit", children: e.icono }) });
1976
- const f = e.icono;
1977
- return /* @__PURE__ */ d.jsx(Xe, { children: /* @__PURE__ */ d.jsx(f, { color: a ? "primary" : "inherit" }) });
1975
+ return /* @__PURE__ */ f.jsx(Xe, { children: /* @__PURE__ */ f.jsx(Tr, { color: a ? "primary" : "inherit", children: e.icono }) });
1976
+ const p = e.icono;
1977
+ return /* @__PURE__ */ f.jsx(Xe, { children: /* @__PURE__ */ f.jsx(p, { color: a ? "primary" : "inherit" }) });
1978
1978
  }, [a, e.icono]);
1979
- return /* @__PURE__ */ d.jsx(br, { title: n ? e.nombre : "", placement: "right", arrow: !0, children: /* @__PURE__ */ d.jsx(xe, { disablePadding: !0, children: /* @__PURE__ */ d.jsxs(
1979
+ return /* @__PURE__ */ f.jsx(br, { title: n ? e.nombre : "", placement: "right", arrow: !0, children: /* @__PURE__ */ f.jsx(xe, { disablePadding: !0, children: /* @__PURE__ */ f.jsxs(
1980
1980
  Se,
1981
1981
  {
1982
1982
  sx: [{ px: 3 }],
@@ -1985,7 +1985,7 @@ const _t = (e) => {
1985
1985
  onClick: () => _e.setState({ seleccion: { menu: r, submenu: e.id } }),
1986
1986
  children: [
1987
1987
  u,
1988
- /* @__PURE__ */ d.jsx(
1988
+ /* @__PURE__ */ f.jsx(
1989
1989
  he,
1990
1990
  {
1991
1991
  primary: e.nombre,
@@ -2014,33 +2014,33 @@ const _t = (e) => {
2014
2014
  LinkComponent: t
2015
2015
  }) => {
2016
2016
  const [n, o] = Er(!1), a = Ve(
2017
- ({ seleccion: f }) => (f == null ? void 0 : f.menu) === e.id
2017
+ ({ seleccion: p }) => (p == null ? void 0 : p.menu) === e.id
2018
2018
  ), l = ye(
2019
- (f) => {
2020
- o(((f == null ? void 0 : f.offsetWidth) ?? 0) < ((f == null ? void 0 : f.scrollWidth) ?? 0));
2019
+ (p) => {
2020
+ o(((p == null ? void 0 : p.offsetWidth) ?? 0) < ((p == null ? void 0 : p.scrollWidth) ?? 0));
2021
2021
  },
2022
2022
  // eslint-disable-next-line react-hooks/exhaustive-deps
2023
2023
  [e.nombre]
2024
2024
  ), u = Ze(() => {
2025
2025
  if (!e.icono) return null;
2026
2026
  if (typeof e.icono == "string")
2027
- return /* @__PURE__ */ d.jsx(Xe, { children: /* @__PURE__ */ d.jsx(Tr, { color: a ? "primary" : "inherit", children: e.icono }) });
2028
- const f = e.icono;
2029
- return /* @__PURE__ */ d.jsx(Xe, { children: /* @__PURE__ */ d.jsx(f, { color: a ? "primary" : "inherit" }) });
2027
+ return /* @__PURE__ */ f.jsx(Xe, { children: /* @__PURE__ */ f.jsx(Tr, { color: a ? "primary" : "inherit", children: e.icono }) });
2028
+ const p = e.icono;
2029
+ return /* @__PURE__ */ f.jsx(Xe, { children: /* @__PURE__ */ f.jsx(p, { color: a ? "primary" : "inherit" }) });
2030
2030
  }, [e.icono, a]);
2031
- return /* @__PURE__ */ d.jsxs(d.Fragment, { children: [
2032
- e.subMenus ? /* @__PURE__ */ d.jsx("li", { children: /* @__PURE__ */ d.jsxs("ul", { children: [
2033
- /* @__PURE__ */ d.jsx(nt, { children: e.nombre }),
2034
- e.subMenus.map((f) => /* @__PURE__ */ d.jsx(
2031
+ return /* @__PURE__ */ f.jsxs(f.Fragment, { children: [
2032
+ e.subMenus ? /* @__PURE__ */ f.jsx("li", { children: /* @__PURE__ */ f.jsxs("ul", { children: [
2033
+ /* @__PURE__ */ f.jsx(nt, { children: e.nombre }),
2034
+ e.subMenus.map((p) => /* @__PURE__ */ f.jsx(
2035
2035
  zo,
2036
2036
  {
2037
- subMenu: f,
2037
+ subMenu: p,
2038
2038
  menu: e.id,
2039
2039
  LinkComponent: t
2040
2040
  },
2041
- `MENU_ITEM_DRAWER__${e.id}__SUBMENU__${f.id}`
2041
+ `MENU_ITEM_DRAWER__${e.id}__SUBMENU__${p.id}`
2042
2042
  ))
2043
- ] }) }) : /* @__PURE__ */ d.jsx(br, { title: n ? e.nombre : "", placement: "right", arrow: !0, children: /* @__PURE__ */ d.jsx(xe, { disablePadding: !0, children: /* @__PURE__ */ d.jsxs(
2043
+ ] }) }) : /* @__PURE__ */ f.jsx(br, { title: n ? e.nombre : "", placement: "right", arrow: !0, children: /* @__PURE__ */ f.jsx(xe, { disablePadding: !0, children: /* @__PURE__ */ f.jsxs(
2044
2044
  Se,
2045
2045
  {
2046
2046
  ...Pe,
@@ -2053,7 +2053,7 @@ const _t = (e) => {
2053
2053
  ],
2054
2054
  children: [
2055
2055
  u,
2056
- /* @__PURE__ */ d.jsx(
2056
+ /* @__PURE__ */ f.jsx(
2057
2057
  he,
2058
2058
  {
2059
2059
  primary: e.nombre,
@@ -2071,7 +2071,7 @@ const _t = (e) => {
2071
2071
  ]
2072
2072
  }
2073
2073
  ) }) }),
2074
- r && /* @__PURE__ */ d.jsx(Ar, { sx: { my: 1 } })
2074
+ r && /* @__PURE__ */ f.jsx(Ar, { sx: { my: 1 } })
2075
2075
  ] });
2076
2076
  }, Ho = ({
2077
2077
  menus: e,
@@ -2080,7 +2080,7 @@ const _t = (e) => {
2080
2080
  const t = Ve(
2081
2081
  (a) => a.abierto && !a.inhabilitado
2082
2082
  ), n = Ve((a) => a.cargando), o = Ve((a) => a.toolbar);
2083
- return /* @__PURE__ */ d.jsxs(
2083
+ return /* @__PURE__ */ f.jsxs(
2084
2084
  Yn,
2085
2085
  {
2086
2086
  sx: {
@@ -2096,8 +2096,8 @@ const _t = (e) => {
2096
2096
  anchor: "left",
2097
2097
  open: t,
2098
2098
  children: [
2099
- o && /* @__PURE__ */ d.jsx(mt, {}),
2100
- /* @__PURE__ */ d.jsx(
2099
+ o && /* @__PURE__ */ f.jsx(mt, {}),
2100
+ /* @__PURE__ */ f.jsx(
2101
2101
  qn,
2102
2102
  {
2103
2103
  sx: {
@@ -2108,12 +2108,12 @@ const _t = (e) => {
2108
2108
  overflow: "auto",
2109
2109
  "& ul": { padding: 0 }
2110
2110
  },
2111
- subheader: /* @__PURE__ */ d.jsx("li", {}),
2112
- children: n ? /* @__PURE__ */ d.jsxs(d.Fragment, { children: [
2113
- /* @__PURE__ */ d.jsx(xe, { disablePadding: !0, children: /* @__PURE__ */ d.jsx(Se, { sx: { px: 3 }, disabled: !0, children: /* @__PURE__ */ d.jsx(
2111
+ subheader: /* @__PURE__ */ f.jsx("li", {}),
2112
+ children: n ? /* @__PURE__ */ f.jsxs(f.Fragment, { children: [
2113
+ /* @__PURE__ */ f.jsx(xe, { disablePadding: !0, children: /* @__PURE__ */ f.jsx(Se, { sx: { px: 3 }, disabled: !0, children: /* @__PURE__ */ f.jsx(
2114
2114
  he,
2115
2115
  {
2116
- primary: /* @__PURE__ */ d.jsx(fe, { variant: "text", width: "100%" }),
2116
+ primary: /* @__PURE__ */ f.jsx(fe, { variant: "text", width: "100%" }),
2117
2117
  slotProps: {
2118
2118
  primary: {
2119
2119
  fontWeight: 500,
@@ -2122,10 +2122,10 @@ const _t = (e) => {
2122
2122
  }
2123
2123
  }
2124
2124
  ) }) }),
2125
- /* @__PURE__ */ d.jsx(xe, { disablePadding: !0, children: /* @__PURE__ */ d.jsx(Se, { sx: { px: 3 }, disabled: !0, children: /* @__PURE__ */ d.jsx(
2125
+ /* @__PURE__ */ f.jsx(xe, { disablePadding: !0, children: /* @__PURE__ */ f.jsx(Se, { sx: { px: 3 }, disabled: !0, children: /* @__PURE__ */ f.jsx(
2126
2126
  he,
2127
2127
  {
2128
- primary: /* @__PURE__ */ d.jsx(fe, { variant: "text", width: "100%" }),
2128
+ primary: /* @__PURE__ */ f.jsx(fe, { variant: "text", width: "100%" }),
2129
2129
  slotProps: {
2130
2130
  primary: {
2131
2131
  fontWeight: 500,
@@ -2134,13 +2134,13 @@ const _t = (e) => {
2134
2134
  }
2135
2135
  }
2136
2136
  ) }) }),
2137
- /* @__PURE__ */ d.jsx(Ar, { sx: { my: 1 } }),
2138
- /* @__PURE__ */ d.jsx("li", { children: /* @__PURE__ */ d.jsxs("ul", { children: [
2139
- /* @__PURE__ */ d.jsx(nt, { component: "div", children: /* @__PURE__ */ d.jsx(we, { py: 1.5, children: /* @__PURE__ */ d.jsx(fe, { variant: "text", width: 50 }) }) }),
2140
- /* @__PURE__ */ d.jsx(xe, { disablePadding: !0, children: /* @__PURE__ */ d.jsx(Se, { sx: { px: 3 }, disabled: !0, children: /* @__PURE__ */ d.jsx(
2137
+ /* @__PURE__ */ f.jsx(Ar, { sx: { my: 1 } }),
2138
+ /* @__PURE__ */ f.jsx("li", { children: /* @__PURE__ */ f.jsxs("ul", { children: [
2139
+ /* @__PURE__ */ f.jsx(nt, { component: "div", children: /* @__PURE__ */ f.jsx(we, { py: 1.5, children: /* @__PURE__ */ f.jsx(fe, { variant: "text", width: 50 }) }) }),
2140
+ /* @__PURE__ */ f.jsx(xe, { disablePadding: !0, children: /* @__PURE__ */ f.jsx(Se, { sx: { px: 3 }, disabled: !0, children: /* @__PURE__ */ f.jsx(
2141
2141
  he,
2142
2142
  {
2143
- primary: /* @__PURE__ */ d.jsx(fe, { variant: "text", width: "100%" }),
2143
+ primary: /* @__PURE__ */ f.jsx(fe, { variant: "text", width: "100%" }),
2144
2144
  slotProps: {
2145
2145
  primary: {
2146
2146
  fontWeight: 500,
@@ -2149,10 +2149,10 @@ const _t = (e) => {
2149
2149
  }
2150
2150
  }
2151
2151
  ) }) }),
2152
- /* @__PURE__ */ d.jsx(xe, { disablePadding: !0, children: /* @__PURE__ */ d.jsx(Se, { sx: { px: 3 }, disabled: !0, children: /* @__PURE__ */ d.jsx(
2152
+ /* @__PURE__ */ f.jsx(xe, { disablePadding: !0, children: /* @__PURE__ */ f.jsx(Se, { sx: { px: 3 }, disabled: !0, children: /* @__PURE__ */ f.jsx(
2153
2153
  he,
2154
2154
  {
2155
- primary: /* @__PURE__ */ d.jsx(fe, { variant: "text", width: "100%" }),
2155
+ primary: /* @__PURE__ */ f.jsx(fe, { variant: "text", width: "100%" }),
2156
2156
  slotProps: {
2157
2157
  primary: {
2158
2158
  fontWeight: 500,
@@ -2161,10 +2161,10 @@ const _t = (e) => {
2161
2161
  }
2162
2162
  }
2163
2163
  ) }) }),
2164
- /* @__PURE__ */ d.jsx(xe, { disablePadding: !0, children: /* @__PURE__ */ d.jsx(Se, { sx: { px: 3 }, disabled: !0, children: /* @__PURE__ */ d.jsx(
2164
+ /* @__PURE__ */ f.jsx(xe, { disablePadding: !0, children: /* @__PURE__ */ f.jsx(Se, { sx: { px: 3 }, disabled: !0, children: /* @__PURE__ */ f.jsx(
2165
2165
  he,
2166
2166
  {
2167
- primary: /* @__PURE__ */ d.jsx(fe, { variant: "text", width: "100%" }),
2167
+ primary: /* @__PURE__ */ f.jsx(fe, { variant: "text", width: "100%" }),
2168
2168
  slotProps: {
2169
2169
  primary: {
2170
2170
  fontWeight: 500,
@@ -2174,13 +2174,13 @@ const _t = (e) => {
2174
2174
  }
2175
2175
  ) }) })
2176
2176
  ] }) }),
2177
- /* @__PURE__ */ d.jsx(Ar, { sx: { my: 1 } }),
2178
- /* @__PURE__ */ d.jsx("li", { children: /* @__PURE__ */ d.jsxs("ul", { children: [
2179
- /* @__PURE__ */ d.jsx(nt, { children: /* @__PURE__ */ d.jsx(we, { py: 1.5, children: /* @__PURE__ */ d.jsx(fe, { variant: "text", width: 50 }) }) }),
2180
- /* @__PURE__ */ d.jsx(xe, { disablePadding: !0, children: /* @__PURE__ */ d.jsx(Se, { sx: { px: 3 }, disabled: !0, children: /* @__PURE__ */ d.jsx(
2177
+ /* @__PURE__ */ f.jsx(Ar, { sx: { my: 1 } }),
2178
+ /* @__PURE__ */ f.jsx("li", { children: /* @__PURE__ */ f.jsxs("ul", { children: [
2179
+ /* @__PURE__ */ f.jsx(nt, { children: /* @__PURE__ */ f.jsx(we, { py: 1.5, children: /* @__PURE__ */ f.jsx(fe, { variant: "text", width: 50 }) }) }),
2180
+ /* @__PURE__ */ f.jsx(xe, { disablePadding: !0, children: /* @__PURE__ */ f.jsx(Se, { sx: { px: 3 }, disabled: !0, children: /* @__PURE__ */ f.jsx(
2181
2181
  he,
2182
2182
  {
2183
- primary: /* @__PURE__ */ d.jsx(fe, { variant: "text", width: "100%" }),
2183
+ primary: /* @__PURE__ */ f.jsx(fe, { variant: "text", width: "100%" }),
2184
2184
  slotProps: {
2185
2185
  primary: {
2186
2186
  fontWeight: 500,
@@ -2189,10 +2189,10 @@ const _t = (e) => {
2189
2189
  }
2190
2190
  }
2191
2191
  ) }) }),
2192
- /* @__PURE__ */ d.jsx(xe, { disablePadding: !0, children: /* @__PURE__ */ d.jsx(Se, { sx: { px: 3 }, disabled: !0, children: /* @__PURE__ */ d.jsx(
2192
+ /* @__PURE__ */ f.jsx(xe, { disablePadding: !0, children: /* @__PURE__ */ f.jsx(Se, { sx: { px: 3 }, disabled: !0, children: /* @__PURE__ */ f.jsx(
2193
2193
  he,
2194
2194
  {
2195
- primary: /* @__PURE__ */ d.jsx(fe, { variant: "text", width: "100%" }),
2195
+ primary: /* @__PURE__ */ f.jsx(fe, { variant: "text", width: "100%" }),
2196
2196
  slotProps: {
2197
2197
  primary: {
2198
2198
  fontWeight: 500,
@@ -2201,10 +2201,10 @@ const _t = (e) => {
2201
2201
  }
2202
2202
  }
2203
2203
  ) }) }),
2204
- /* @__PURE__ */ d.jsx(xe, { disablePadding: !0, children: /* @__PURE__ */ d.jsx(Se, { sx: { px: 3 }, disabled: !0, children: /* @__PURE__ */ d.jsx(
2204
+ /* @__PURE__ */ f.jsx(xe, { disablePadding: !0, children: /* @__PURE__ */ f.jsx(Se, { sx: { px: 3 }, disabled: !0, children: /* @__PURE__ */ f.jsx(
2205
2205
  he,
2206
2206
  {
2207
- primary: /* @__PURE__ */ d.jsx(fe, { variant: "text", width: "100%" }),
2207
+ primary: /* @__PURE__ */ f.jsx(fe, { variant: "text", width: "100%" }),
2208
2208
  slotProps: {
2209
2209
  primary: {
2210
2210
  fontWeight: 500,
@@ -2215,7 +2215,7 @@ const _t = (e) => {
2215
2215
  ) }) })
2216
2216
  ] }) })
2217
2217
  ] }) : e.map((a, l) => {
2218
- var u, f, h;
2218
+ var u, p, g;
2219
2219
  return /* @__PURE__ */ Hn(
2220
2220
  Wo,
2221
2221
  {
@@ -2223,7 +2223,7 @@ const _t = (e) => {
2223
2223
  key: `MENU_ITEM_DRAWER_${a.id}`,
2224
2224
  menu: a,
2225
2225
  LinkComponent: r,
2226
- separar: !!((f = (u = e[l + 1]) == null ? void 0 : u.subMenus) != null && f.length || (h = a.subMenus) != null && h.length && l !== e.length - 1)
2226
+ separar: !!((p = (u = e[l + 1]) == null ? void 0 : u.subMenus) != null && p.length || (g = a.subMenus) != null && g.length && l !== e.length - 1)
2227
2227
  }
2228
2228
  );
2229
2229
  })
@@ -2234,7 +2234,7 @@ const _t = (e) => {
2234
2234
  );
2235
2235
  }, Qo = () => {
2236
2236
  const e = Ve((r) => r.abierto);
2237
- return /* @__PURE__ */ d.jsx(
2237
+ return /* @__PURE__ */ f.jsx(
2238
2238
  ce,
2239
2239
  {
2240
2240
  sx: {
@@ -2254,7 +2254,7 @@ const _t = (e) => {
2254
2254
  }
2255
2255
  }
2256
2256
  );
2257
- }, Ko = ({ link: e, nombre: r, icono: t }) => /* @__PURE__ */ d.jsxs(
2257
+ }, Ko = ({ link: e, nombre: r, icono: t }) => /* @__PURE__ */ f.jsxs(
2258
2258
  sr,
2259
2259
  {
2260
2260
  component: dn,
@@ -2277,11 +2277,11 @@ const _t = (e) => {
2277
2277
  }
2278
2278
  },
2279
2279
  children: [
2280
- /* @__PURE__ */ d.jsx(sr, { children: /* @__PURE__ */ d.jsx(Zs, { children: t }) }),
2281
- /* @__PURE__ */ d.jsx(sr, { children: /* @__PURE__ */ d.jsx(we, { fontSize: 12, fontWeight: 500, align: "center", color: "inherit", children: r }) })
2280
+ /* @__PURE__ */ f.jsx(sr, { children: /* @__PURE__ */ f.jsx(Zs, { children: t }) }),
2281
+ /* @__PURE__ */ f.jsx(sr, { children: /* @__PURE__ */ f.jsx(we, { fontSize: 12, fontWeight: 500, align: "center", color: "inherit", children: r }) })
2282
2282
  ]
2283
2283
  }
2284
- ), Jo = ({ apps: e }) => /* @__PURE__ */ d.jsx(
2284
+ ), Jo = ({ apps: e }) => /* @__PURE__ */ f.jsx(
2285
2285
  Zn,
2286
2286
  {
2287
2287
  elevation: 0,
@@ -2292,14 +2292,14 @@ const _t = (e) => {
2292
2292
  px: 3,
2293
2293
  py: 5
2294
2294
  },
2295
- children: /* @__PURE__ */ d.jsx(sr, { container: !0, children: e.map(({ id: r, ...t }) => /* @__PURE__ */ d.jsx(
2295
+ children: /* @__PURE__ */ f.jsx(sr, { container: !0, children: e.map(({ id: r, ...t }) => /* @__PURE__ */ f.jsx(
2296
2296
  sr,
2297
2297
  {
2298
2298
  size: 4,
2299
2299
  alignItems: "center",
2300
2300
  justifyContent: "center",
2301
2301
  display: "flex",
2302
- children: /* @__PURE__ */ d.jsx(Ko, { ...t })
2302
+ children: /* @__PURE__ */ f.jsx(Ko, { ...t })
2303
2303
  },
2304
2304
  `CARD_APPS_TOOLBAR__APP__${r}`
2305
2305
  )) })
@@ -2340,28 +2340,28 @@ var It;
2340
2340
  function qo() {
2341
2341
  if (It) return G;
2342
2342
  It = 1;
2343
- var e = typeof Symbol == "function" && Symbol.for, r = e ? Symbol.for("react.element") : 60103, t = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, a = e ? Symbol.for("react.profiler") : 60114, l = e ? Symbol.for("react.provider") : 60109, u = e ? Symbol.for("react.context") : 60110, f = e ? Symbol.for("react.async_mode") : 60111, h = e ? Symbol.for("react.concurrent_mode") : 60111, w = e ? Symbol.for("react.forward_ref") : 60112, C = e ? Symbol.for("react.suspense") : 60113, x = e ? Symbol.for("react.suspense_list") : 60120, E = e ? Symbol.for("react.memo") : 60115, v = e ? Symbol.for("react.lazy") : 60116, p = e ? Symbol.for("react.block") : 60121, _ = e ? Symbol.for("react.fundamental") : 60117, U = e ? Symbol.for("react.responder") : 60118, B = e ? Symbol.for("react.scope") : 60119;
2344
- function V(R) {
2345
- if (typeof R == "object" && R !== null) {
2346
- var L = R.$$typeof;
2343
+ var e = typeof Symbol == "function" && Symbol.for, r = e ? Symbol.for("react.element") : 60103, t = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, a = e ? Symbol.for("react.profiler") : 60114, l = e ? Symbol.for("react.provider") : 60109, u = e ? Symbol.for("react.context") : 60110, p = e ? Symbol.for("react.async_mode") : 60111, g = e ? Symbol.for("react.concurrent_mode") : 60111, x = e ? Symbol.for("react.forward_ref") : 60112, w = e ? Symbol.for("react.suspense") : 60113, S = e ? Symbol.for("react.suspense_list") : 60120, E = e ? Symbol.for("react.memo") : 60115, C = e ? Symbol.for("react.lazy") : 60116, d = e ? Symbol.for("react.block") : 60121, _ = e ? Symbol.for("react.fundamental") : 60117, U = e ? Symbol.for("react.responder") : 60118, V = e ? Symbol.for("react.scope") : 60119;
2344
+ function B(T) {
2345
+ if (typeof T == "object" && T !== null) {
2346
+ var L = T.$$typeof;
2347
2347
  switch (L) {
2348
2348
  case r:
2349
- switch (R = R.type, R) {
2350
- case f:
2351
- case h:
2349
+ switch (T = T.type, T) {
2350
+ case p:
2351
+ case g:
2352
2352
  case n:
2353
2353
  case a:
2354
2354
  case o:
2355
- case C:
2356
- return R;
2355
+ case w:
2356
+ return T;
2357
2357
  default:
2358
- switch (R = R && R.$$typeof, R) {
2358
+ switch (T = T && T.$$typeof, T) {
2359
2359
  case u:
2360
- case w:
2361
- case v:
2360
+ case x:
2361
+ case C:
2362
2362
  case E:
2363
2363
  case l:
2364
- return R;
2364
+ return T;
2365
2365
  default:
2366
2366
  return L;
2367
2367
  }
@@ -2371,36 +2371,36 @@ function qo() {
2371
2371
  }
2372
2372
  }
2373
2373
  }
2374
- function j(R) {
2375
- return V(R) === h;
2374
+ function M(T) {
2375
+ return B(T) === g;
2376
2376
  }
2377
- return G.AsyncMode = f, G.ConcurrentMode = h, G.ContextConsumer = u, G.ContextProvider = l, G.Element = r, G.ForwardRef = w, G.Fragment = n, G.Lazy = v, G.Memo = E, G.Portal = t, G.Profiler = a, G.StrictMode = o, G.Suspense = C, G.isAsyncMode = function(R) {
2378
- return j(R) || V(R) === f;
2379
- }, G.isConcurrentMode = j, G.isContextConsumer = function(R) {
2380
- return V(R) === u;
2381
- }, G.isContextProvider = function(R) {
2382
- return V(R) === l;
2383
- }, G.isElement = function(R) {
2384
- return typeof R == "object" && R !== null && R.$$typeof === r;
2385
- }, G.isForwardRef = function(R) {
2386
- return V(R) === w;
2387
- }, G.isFragment = function(R) {
2388
- return V(R) === n;
2389
- }, G.isLazy = function(R) {
2390
- return V(R) === v;
2391
- }, G.isMemo = function(R) {
2392
- return V(R) === E;
2393
- }, G.isPortal = function(R) {
2394
- return V(R) === t;
2395
- }, G.isProfiler = function(R) {
2396
- return V(R) === a;
2397
- }, G.isStrictMode = function(R) {
2398
- return V(R) === o;
2399
- }, G.isSuspense = function(R) {
2400
- return V(R) === C;
2401
- }, G.isValidElementType = function(R) {
2402
- return typeof R == "string" || typeof R == "function" || R === n || R === h || R === a || R === o || R === C || R === x || typeof R == "object" && R !== null && (R.$$typeof === v || R.$$typeof === E || R.$$typeof === l || R.$$typeof === u || R.$$typeof === w || R.$$typeof === _ || R.$$typeof === U || R.$$typeof === B || R.$$typeof === p);
2403
- }, G.typeOf = V, G;
2377
+ return G.AsyncMode = p, G.ConcurrentMode = g, G.ContextConsumer = u, G.ContextProvider = l, G.Element = r, G.ForwardRef = x, G.Fragment = n, G.Lazy = C, G.Memo = E, G.Portal = t, G.Profiler = a, G.StrictMode = o, G.Suspense = w, G.isAsyncMode = function(T) {
2378
+ return M(T) || B(T) === p;
2379
+ }, G.isConcurrentMode = M, G.isContextConsumer = function(T) {
2380
+ return B(T) === u;
2381
+ }, G.isContextProvider = function(T) {
2382
+ return B(T) === l;
2383
+ }, G.isElement = function(T) {
2384
+ return typeof T == "object" && T !== null && T.$$typeof === r;
2385
+ }, G.isForwardRef = function(T) {
2386
+ return B(T) === x;
2387
+ }, G.isFragment = function(T) {
2388
+ return B(T) === n;
2389
+ }, G.isLazy = function(T) {
2390
+ return B(T) === C;
2391
+ }, G.isMemo = function(T) {
2392
+ return B(T) === E;
2393
+ }, G.isPortal = function(T) {
2394
+ return B(T) === t;
2395
+ }, G.isProfiler = function(T) {
2396
+ return B(T) === a;
2397
+ }, G.isStrictMode = function(T) {
2398
+ return B(T) === o;
2399
+ }, G.isSuspense = function(T) {
2400
+ return B(T) === w;
2401
+ }, G.isValidElementType = function(T) {
2402
+ return typeof T == "string" || typeof T == "function" || T === n || T === g || T === a || T === o || T === w || T === S || typeof T == "object" && T !== null && (T.$$typeof === C || T.$$typeof === E || T.$$typeof === l || T.$$typeof === u || T.$$typeof === x || T.$$typeof === _ || T.$$typeof === U || T.$$typeof === V || T.$$typeof === d);
2403
+ }, G.typeOf = B, G;
2404
2404
  }
2405
2405
  var Y = {};
2406
2406
  /** @license React v16.13.1
@@ -2414,31 +2414,31 @@ var Y = {};
2414
2414
  var Pt;
2415
2415
  function Zo() {
2416
2416
  return Pt || (Pt = 1, process.env.NODE_ENV !== "production" && function() {
2417
- var e = typeof Symbol == "function" && Symbol.for, r = e ? Symbol.for("react.element") : 60103, t = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, a = e ? Symbol.for("react.profiler") : 60114, l = e ? Symbol.for("react.provider") : 60109, u = e ? Symbol.for("react.context") : 60110, f = e ? Symbol.for("react.async_mode") : 60111, h = e ? Symbol.for("react.concurrent_mode") : 60111, w = e ? Symbol.for("react.forward_ref") : 60112, C = e ? Symbol.for("react.suspense") : 60113, x = e ? Symbol.for("react.suspense_list") : 60120, E = e ? Symbol.for("react.memo") : 60115, v = e ? Symbol.for("react.lazy") : 60116, p = e ? Symbol.for("react.block") : 60121, _ = e ? Symbol.for("react.fundamental") : 60117, U = e ? Symbol.for("react.responder") : 60118, B = e ? Symbol.for("react.scope") : 60119;
2418
- function V(I) {
2417
+ var e = typeof Symbol == "function" && Symbol.for, r = e ? Symbol.for("react.element") : 60103, t = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, a = e ? Symbol.for("react.profiler") : 60114, l = e ? Symbol.for("react.provider") : 60109, u = e ? Symbol.for("react.context") : 60110, p = e ? Symbol.for("react.async_mode") : 60111, g = e ? Symbol.for("react.concurrent_mode") : 60111, x = e ? Symbol.for("react.forward_ref") : 60112, w = e ? Symbol.for("react.suspense") : 60113, S = e ? Symbol.for("react.suspense_list") : 60120, E = e ? Symbol.for("react.memo") : 60115, C = e ? Symbol.for("react.lazy") : 60116, d = e ? Symbol.for("react.block") : 60121, _ = e ? Symbol.for("react.fundamental") : 60117, U = e ? Symbol.for("react.responder") : 60118, V = e ? Symbol.for("react.scope") : 60119;
2418
+ function B(I) {
2419
2419
  return typeof I == "string" || typeof I == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
2420
- I === n || I === h || I === a || I === o || I === C || I === x || typeof I == "object" && I !== null && (I.$$typeof === v || I.$$typeof === E || I.$$typeof === l || I.$$typeof === u || I.$$typeof === w || I.$$typeof === _ || I.$$typeof === U || I.$$typeof === B || I.$$typeof === p);
2420
+ I === n || I === g || I === a || I === o || I === w || I === S || typeof I == "object" && I !== null && (I.$$typeof === C || I.$$typeof === E || I.$$typeof === l || I.$$typeof === u || I.$$typeof === x || I.$$typeof === _ || I.$$typeof === U || I.$$typeof === V || I.$$typeof === d);
2421
2421
  }
2422
- function j(I) {
2422
+ function M(I) {
2423
2423
  if (typeof I == "object" && I !== null) {
2424
2424
  var se = I.$$typeof;
2425
2425
  switch (se) {
2426
2426
  case r:
2427
2427
  var de = I.type;
2428
2428
  switch (de) {
2429
- case f:
2430
- case h:
2429
+ case p:
2430
+ case g:
2431
2431
  case n:
2432
2432
  case a:
2433
2433
  case o:
2434
- case C:
2434
+ case w:
2435
2435
  return de;
2436
2436
  default:
2437
2437
  var He = de && de.$$typeof;
2438
2438
  switch (He) {
2439
2439
  case u:
2440
- case w:
2441
- case v:
2440
+ case x:
2441
+ case C:
2442
2442
  case E:
2443
2443
  case l:
2444
2444
  return He;
@@ -2451,47 +2451,47 @@ function Zo() {
2451
2451
  }
2452
2452
  }
2453
2453
  }
2454
- var R = f, L = h, H = u, F = l, re = r, le = w, W = n, c = v, M = E, O = t, N = a, D = o, J = C, ne = !1;
2454
+ var T = p, L = g, W = u, F = l, q = r, le = x, H = n, c = C, $ = E, O = t, N = a, D = o, J = w, ne = !1;
2455
2455
  function ue(I) {
2456
- return ne || (ne = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), i(I) || j(I) === f;
2456
+ return ne || (ne = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), i(I) || M(I) === p;
2457
2457
  }
2458
2458
  function i(I) {
2459
- return j(I) === h;
2459
+ return M(I) === g;
2460
2460
  }
2461
2461
  function s(I) {
2462
- return j(I) === u;
2462
+ return M(I) === u;
2463
2463
  }
2464
- function y(I) {
2465
- return j(I) === l;
2464
+ function h(I) {
2465
+ return M(I) === l;
2466
2466
  }
2467
2467
  function A(I) {
2468
2468
  return typeof I == "object" && I !== null && I.$$typeof === r;
2469
2469
  }
2470
2470
  function b(I) {
2471
- return j(I) === w;
2471
+ return M(I) === x;
2472
2472
  }
2473
2473
  function k(I) {
2474
- return j(I) === n;
2474
+ return M(I) === n;
2475
2475
  }
2476
- function g(I) {
2477
- return j(I) === v;
2476
+ function y(I) {
2477
+ return M(I) === C;
2478
2478
  }
2479
2479
  function m(I) {
2480
- return j(I) === E;
2480
+ return M(I) === E;
2481
2481
  }
2482
- function T(I) {
2483
- return j(I) === t;
2482
+ function R(I) {
2483
+ return M(I) === t;
2484
2484
  }
2485
- function $(I) {
2486
- return j(I) === a;
2485
+ function j(I) {
2486
+ return M(I) === a;
2487
2487
  }
2488
2488
  function P(I) {
2489
- return j(I) === o;
2489
+ return M(I) === o;
2490
2490
  }
2491
2491
  function z(I) {
2492
- return j(I) === C;
2492
+ return M(I) === w;
2493
2493
  }
2494
- Y.AsyncMode = R, Y.ConcurrentMode = L, Y.ContextConsumer = H, Y.ContextProvider = F, Y.Element = re, Y.ForwardRef = le, Y.Fragment = W, Y.Lazy = c, Y.Memo = M, Y.Portal = O, Y.Profiler = N, Y.StrictMode = D, Y.Suspense = J, Y.isAsyncMode = ue, Y.isConcurrentMode = i, Y.isContextConsumer = s, Y.isContextProvider = y, Y.isElement = A, Y.isForwardRef = b, Y.isFragment = k, Y.isLazy = g, Y.isMemo = m, Y.isPortal = T, Y.isProfiler = $, Y.isStrictMode = P, Y.isSuspense = z, Y.isValidElementType = V, Y.typeOf = j;
2494
+ Y.AsyncMode = T, Y.ConcurrentMode = L, Y.ContextConsumer = W, Y.ContextProvider = F, Y.Element = q, Y.ForwardRef = le, Y.Fragment = H, Y.Lazy = c, Y.Memo = $, Y.Portal = O, Y.Profiler = N, Y.StrictMode = D, Y.Suspense = J, Y.isAsyncMode = ue, Y.isConcurrentMode = i, Y.isContextConsumer = s, Y.isContextProvider = h, Y.isElement = A, Y.isForwardRef = b, Y.isFragment = k, Y.isLazy = y, Y.isMemo = m, Y.isPortal = R, Y.isProfiler = j, Y.isStrictMode = P, Y.isSuspense = z, Y.isValidElementType = B, Y.typeOf = M;
2495
2495
  }()), Y;
2496
2496
  }
2497
2497
  var jt;
@@ -2522,31 +2522,31 @@ function Xo() {
2522
2522
  return !1;
2523
2523
  for (var l = {}, u = 0; u < 10; u++)
2524
2524
  l["_" + String.fromCharCode(u)] = u;
2525
- var f = Object.getOwnPropertyNames(l).map(function(w) {
2526
- return l[w];
2525
+ var p = Object.getOwnPropertyNames(l).map(function(x) {
2526
+ return l[x];
2527
2527
  });
2528
- if (f.join("") !== "0123456789")
2528
+ if (p.join("") !== "0123456789")
2529
2529
  return !1;
2530
- var h = {};
2531
- return "abcdefghijklmnopqrst".split("").forEach(function(w) {
2532
- h[w] = w;
2533
- }), Object.keys(Object.assign({}, h)).join("") === "abcdefghijklmnopqrst";
2530
+ var g = {};
2531
+ return "abcdefghijklmnopqrst".split("").forEach(function(x) {
2532
+ g[x] = x;
2533
+ }), Object.keys(Object.assign({}, g)).join("") === "abcdefghijklmnopqrst";
2534
2534
  } catch {
2535
2535
  return !1;
2536
2536
  }
2537
2537
  }
2538
2538
  return Wr = o() ? Object.assign : function(a, l) {
2539
- for (var u, f = n(a), h, w = 1; w < arguments.length; w++) {
2540
- u = Object(arguments[w]);
2541
- for (var C in u)
2542
- r.call(u, C) && (f[C] = u[C]);
2539
+ for (var u, p = n(a), g, x = 1; x < arguments.length; x++) {
2540
+ u = Object(arguments[x]);
2541
+ for (var w in u)
2542
+ r.call(u, w) && (p[w] = u[w]);
2543
2543
  if (e) {
2544
- h = e(u);
2545
- for (var x = 0; x < h.length; x++)
2546
- t.call(u, h[x]) && (f[h[x]] = u[h[x]]);
2544
+ g = e(u);
2545
+ for (var S = 0; S < g.length; S++)
2546
+ t.call(u, g[S]) && (p[g[S]] = u[g[S]]);
2547
2547
  }
2548
2548
  }
2549
- return f;
2549
+ return p;
2550
2550
  }, Wr;
2551
2551
  }
2552
2552
  var Hr, Mt;
@@ -2577,29 +2577,29 @@ function ea() {
2577
2577
  }
2578
2578
  };
2579
2579
  }
2580
- function o(a, l, u, f, h) {
2580
+ function o(a, l, u, p, g) {
2581
2581
  if (process.env.NODE_ENV !== "production") {
2582
- for (var w in a)
2583
- if (n(a, w)) {
2584
- var C;
2582
+ for (var x in a)
2583
+ if (n(a, x)) {
2584
+ var w;
2585
2585
  try {
2586
- if (typeof a[w] != "function") {
2587
- var x = Error(
2588
- (f || "React class") + ": " + u + " type `" + w + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof a[w] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
2586
+ if (typeof a[x] != "function") {
2587
+ var S = Error(
2588
+ (p || "React class") + ": " + u + " type `" + x + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof a[x] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
2589
2589
  );
2590
- throw x.name = "Invariant Violation", x;
2590
+ throw S.name = "Invariant Violation", S;
2591
2591
  }
2592
- C = a[w](l, w, f, u, null, r);
2593
- } catch (v) {
2594
- C = v;
2592
+ w = a[x](l, x, p, u, null, r);
2593
+ } catch (C) {
2594
+ w = C;
2595
2595
  }
2596
- if (C && !(C instanceof Error) && e(
2597
- (f || "React class") + ": type specification of " + u + " `" + w + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof C + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
2598
- ), C instanceof Error && !(C.message in t)) {
2599
- t[C.message] = !0;
2600
- var E = h ? h() : "";
2596
+ if (w && !(w instanceof Error) && e(
2597
+ (p || "React class") + ": type specification of " + u + " `" + x + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof w + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
2598
+ ), w instanceof Error && !(w.message in t)) {
2599
+ t[w.message] = !0;
2600
+ var E = g ? g() : "";
2601
2601
  e(
2602
- "Failed " + u + " type: " + C.message + (E ?? "")
2602
+ "Failed " + u + " type: " + w.message + (E ?? "")
2603
2603
  );
2604
2604
  }
2605
2605
  }
@@ -2616,24 +2616,24 @@ function ra() {
2616
2616
  var e = vn(), r = Xo(), t = /* @__PURE__ */ yt(), n = /* @__PURE__ */ xn(), o = /* @__PURE__ */ ea(), a = function() {
2617
2617
  };
2618
2618
  process.env.NODE_ENV !== "production" && (a = function(u) {
2619
- var f = "Warning: " + u;
2620
- typeof console < "u" && console.error(f);
2619
+ var p = "Warning: " + u;
2620
+ typeof console < "u" && console.error(p);
2621
2621
  try {
2622
- throw new Error(f);
2622
+ throw new Error(p);
2623
2623
  } catch {
2624
2624
  }
2625
2625
  });
2626
2626
  function l() {
2627
2627
  return null;
2628
2628
  }
2629
- return Jr = function(u, f) {
2630
- var h = typeof Symbol == "function" && Symbol.iterator, w = "@@iterator";
2631
- function C(i) {
2632
- var s = i && (h && i[h] || i[w]);
2629
+ return Jr = function(u, p) {
2630
+ var g = typeof Symbol == "function" && Symbol.iterator, x = "@@iterator";
2631
+ function w(i) {
2632
+ var s = i && (g && i[g] || i[x]);
2633
2633
  if (typeof s == "function")
2634
2634
  return s;
2635
2635
  }
2636
- var x = "<<anonymous>>", E = {
2636
+ var S = "<<anonymous>>", E = {
2637
2637
  array: U("array"),
2638
2638
  bigint: U("bigint"),
2639
2639
  bool: U("boolean"),
@@ -2642,55 +2642,55 @@ function ra() {
2642
2642
  object: U("object"),
2643
2643
  string: U("string"),
2644
2644
  symbol: U("symbol"),
2645
- any: B(),
2646
- arrayOf: V,
2647
- element: j(),
2648
- elementType: R(),
2645
+ any: V(),
2646
+ arrayOf: B,
2647
+ element: M(),
2648
+ elementType: T(),
2649
2649
  instanceOf: L,
2650
2650
  node: le(),
2651
2651
  objectOf: F,
2652
- oneOf: H,
2653
- oneOfType: re,
2652
+ oneOf: W,
2653
+ oneOfType: q,
2654
2654
  shape: c,
2655
- exact: M
2655
+ exact: $
2656
2656
  };
2657
- function v(i, s) {
2657
+ function C(i, s) {
2658
2658
  return i === s ? i !== 0 || 1 / i === 1 / s : i !== i && s !== s;
2659
2659
  }
2660
- function p(i, s) {
2660
+ function d(i, s) {
2661
2661
  this.message = i, this.data = s && typeof s == "object" ? s : {}, this.stack = "";
2662
2662
  }
2663
- p.prototype = Error.prototype;
2663
+ d.prototype = Error.prototype;
2664
2664
  function _(i) {
2665
2665
  if (process.env.NODE_ENV !== "production")
2666
- var s = {}, y = 0;
2667
- function A(k, g, m, T, $, P, z) {
2668
- if (T = T || x, P = P || m, z !== t) {
2669
- if (f) {
2666
+ var s = {}, h = 0;
2667
+ function A(k, y, m, R, j, P, z) {
2668
+ if (R = R || S, P = P || m, z !== t) {
2669
+ if (p) {
2670
2670
  var I = new Error(
2671
2671
  "Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
2672
2672
  );
2673
2673
  throw I.name = "Invariant Violation", I;
2674
2674
  } else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
2675
- var se = T + ":" + m;
2675
+ var se = R + ":" + m;
2676
2676
  !s[se] && // Avoid spamming the console because they are often not actionable except for lib authors
2677
- y < 3 && (a(
2678
- "You are manually calling a React.PropTypes validation function for the `" + P + "` prop on `" + T + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
2679
- ), s[se] = !0, y++);
2677
+ h < 3 && (a(
2678
+ "You are manually calling a React.PropTypes validation function for the `" + P + "` prop on `" + R + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
2679
+ ), s[se] = !0, h++);
2680
2680
  }
2681
2681
  }
2682
- return g[m] == null ? k ? g[m] === null ? new p("The " + $ + " `" + P + "` is marked as required " + ("in `" + T + "`, but its value is `null`.")) : new p("The " + $ + " `" + P + "` is marked as required in " + ("`" + T + "`, but its value is `undefined`.")) : null : i(g, m, T, $, P);
2682
+ return y[m] == null ? k ? y[m] === null ? new d("The " + j + " `" + P + "` is marked as required " + ("in `" + R + "`, but its value is `null`.")) : new d("The " + j + " `" + P + "` is marked as required in " + ("`" + R + "`, but its value is `undefined`.")) : null : i(y, m, R, j, P);
2683
2683
  }
2684
2684
  var b = A.bind(null, !1);
2685
2685
  return b.isRequired = A.bind(null, !0), b;
2686
2686
  }
2687
2687
  function U(i) {
2688
- function s(y, A, b, k, g, m) {
2689
- var T = y[A], $ = D(T);
2690
- if ($ !== i) {
2691
- var P = J(T);
2692
- return new p(
2693
- "Invalid " + k + " `" + g + "` of type " + ("`" + P + "` supplied to `" + b + "`, expected ") + ("`" + i + "`."),
2688
+ function s(h, A, b, k, y, m) {
2689
+ var R = h[A], j = D(R);
2690
+ if (j !== i) {
2691
+ var P = J(R);
2692
+ return new d(
2693
+ "Invalid " + k + " `" + y + "` of type " + ("`" + P + "` supplied to `" + b + "`, expected ") + ("`" + i + "`."),
2694
2694
  { expectedType: i }
2695
2695
  );
2696
2696
  }
@@ -2698,20 +2698,20 @@ function ra() {
2698
2698
  }
2699
2699
  return _(s);
2700
2700
  }
2701
- function B() {
2701
+ function V() {
2702
2702
  return _(l);
2703
2703
  }
2704
- function V(i) {
2705
- function s(y, A, b, k, g) {
2704
+ function B(i) {
2705
+ function s(h, A, b, k, y) {
2706
2706
  if (typeof i != "function")
2707
- return new p("Property `" + g + "` of component `" + b + "` has invalid PropType notation inside arrayOf.");
2708
- var m = y[A];
2707
+ return new d("Property `" + y + "` of component `" + b + "` has invalid PropType notation inside arrayOf.");
2708
+ var m = h[A];
2709
2709
  if (!Array.isArray(m)) {
2710
- var T = D(m);
2711
- return new p("Invalid " + k + " `" + g + "` of type " + ("`" + T + "` supplied to `" + b + "`, expected an array."));
2710
+ var R = D(m);
2711
+ return new d("Invalid " + k + " `" + y + "` of type " + ("`" + R + "` supplied to `" + b + "`, expected an array."));
2712
2712
  }
2713
- for (var $ = 0; $ < m.length; $++) {
2714
- var P = i(m, $, b, k, g + "[" + $ + "]", t);
2713
+ for (var j = 0; j < m.length; j++) {
2714
+ var P = i(m, j, b, k, y + "[" + j + "]", t);
2715
2715
  if (P instanceof Error)
2716
2716
  return P;
2717
2717
  }
@@ -2719,65 +2719,65 @@ function ra() {
2719
2719
  }
2720
2720
  return _(s);
2721
2721
  }
2722
- function j() {
2723
- function i(s, y, A, b, k) {
2724
- var g = s[y];
2725
- if (!u(g)) {
2726
- var m = D(g);
2727
- return new p("Invalid " + b + " `" + k + "` of type " + ("`" + m + "` supplied to `" + A + "`, expected a single ReactElement."));
2722
+ function M() {
2723
+ function i(s, h, A, b, k) {
2724
+ var y = s[h];
2725
+ if (!u(y)) {
2726
+ var m = D(y);
2727
+ return new d("Invalid " + b + " `" + k + "` of type " + ("`" + m + "` supplied to `" + A + "`, expected a single ReactElement."));
2728
2728
  }
2729
2729
  return null;
2730
2730
  }
2731
2731
  return _(i);
2732
2732
  }
2733
- function R() {
2734
- function i(s, y, A, b, k) {
2735
- var g = s[y];
2736
- if (!e.isValidElementType(g)) {
2737
- var m = D(g);
2738
- return new p("Invalid " + b + " `" + k + "` of type " + ("`" + m + "` supplied to `" + A + "`, expected a single ReactElement type."));
2733
+ function T() {
2734
+ function i(s, h, A, b, k) {
2735
+ var y = s[h];
2736
+ if (!e.isValidElementType(y)) {
2737
+ var m = D(y);
2738
+ return new d("Invalid " + b + " `" + k + "` of type " + ("`" + m + "` supplied to `" + A + "`, expected a single ReactElement type."));
2739
2739
  }
2740
2740
  return null;
2741
2741
  }
2742
2742
  return _(i);
2743
2743
  }
2744
2744
  function L(i) {
2745
- function s(y, A, b, k, g) {
2746
- if (!(y[A] instanceof i)) {
2747
- var m = i.name || x, T = ue(y[A]);
2748
- return new p("Invalid " + k + " `" + g + "` of type " + ("`" + T + "` supplied to `" + b + "`, expected ") + ("instance of `" + m + "`."));
2745
+ function s(h, A, b, k, y) {
2746
+ if (!(h[A] instanceof i)) {
2747
+ var m = i.name || S, R = ue(h[A]);
2748
+ return new d("Invalid " + k + " `" + y + "` of type " + ("`" + R + "` supplied to `" + b + "`, expected ") + ("instance of `" + m + "`."));
2749
2749
  }
2750
2750
  return null;
2751
2751
  }
2752
2752
  return _(s);
2753
2753
  }
2754
- function H(i) {
2754
+ function W(i) {
2755
2755
  if (!Array.isArray(i))
2756
2756
  return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? a(
2757
2757
  "Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
2758
2758
  ) : a("Invalid argument supplied to oneOf, expected an array.")), l;
2759
- function s(y, A, b, k, g) {
2760
- for (var m = y[A], T = 0; T < i.length; T++)
2761
- if (v(m, i[T]))
2759
+ function s(h, A, b, k, y) {
2760
+ for (var m = h[A], R = 0; R < i.length; R++)
2761
+ if (C(m, i[R]))
2762
2762
  return null;
2763
- var $ = JSON.stringify(i, function(z, I) {
2763
+ var j = JSON.stringify(i, function(z, I) {
2764
2764
  var se = J(I);
2765
2765
  return se === "symbol" ? String(I) : I;
2766
2766
  });
2767
- return new p("Invalid " + k + " `" + g + "` of value `" + String(m) + "` " + ("supplied to `" + b + "`, expected one of " + $ + "."));
2767
+ return new d("Invalid " + k + " `" + y + "` of value `" + String(m) + "` " + ("supplied to `" + b + "`, expected one of " + j + "."));
2768
2768
  }
2769
2769
  return _(s);
2770
2770
  }
2771
2771
  function F(i) {
2772
- function s(y, A, b, k, g) {
2772
+ function s(h, A, b, k, y) {
2773
2773
  if (typeof i != "function")
2774
- return new p("Property `" + g + "` of component `" + b + "` has invalid PropType notation inside objectOf.");
2775
- var m = y[A], T = D(m);
2776
- if (T !== "object")
2777
- return new p("Invalid " + k + " `" + g + "` of type " + ("`" + T + "` supplied to `" + b + "`, expected an object."));
2778
- for (var $ in m)
2779
- if (n(m, $)) {
2780
- var P = i(m, $, b, k, g + "." + $, t);
2774
+ return new d("Property `" + y + "` of component `" + b + "` has invalid PropType notation inside objectOf.");
2775
+ var m = h[A], R = D(m);
2776
+ if (R !== "object")
2777
+ return new d("Invalid " + k + " `" + y + "` of type " + ("`" + R + "` supplied to `" + b + "`, expected an object."));
2778
+ for (var j in m)
2779
+ if (n(m, j)) {
2780
+ var P = i(m, j, b, k, y + "." + j, t);
2781
2781
  if (P instanceof Error)
2782
2782
  return P;
2783
2783
  }
@@ -2785,49 +2785,49 @@ function ra() {
2785
2785
  }
2786
2786
  return _(s);
2787
2787
  }
2788
- function re(i) {
2788
+ function q(i) {
2789
2789
  if (!Array.isArray(i))
2790
2790
  return process.env.NODE_ENV !== "production" && a("Invalid argument supplied to oneOfType, expected an instance of array."), l;
2791
2791
  for (var s = 0; s < i.length; s++) {
2792
- var y = i[s];
2793
- if (typeof y != "function")
2792
+ var h = i[s];
2793
+ if (typeof h != "function")
2794
2794
  return a(
2795
- "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + ne(y) + " at index " + s + "."
2795
+ "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + ne(h) + " at index " + s + "."
2796
2796
  ), l;
2797
2797
  }
2798
- function A(b, k, g, m, T) {
2799
- for (var $ = [], P = 0; P < i.length; P++) {
2800
- var z = i[P], I = z(b, k, g, m, T, t);
2798
+ function A(b, k, y, m, R) {
2799
+ for (var j = [], P = 0; P < i.length; P++) {
2800
+ var z = i[P], I = z(b, k, y, m, R, t);
2801
2801
  if (I == null)
2802
2802
  return null;
2803
- I.data && n(I.data, "expectedType") && $.push(I.data.expectedType);
2803
+ I.data && n(I.data, "expectedType") && j.push(I.data.expectedType);
2804
2804
  }
2805
- var se = $.length > 0 ? ", expected one of type [" + $.join(", ") + "]" : "";
2806
- return new p("Invalid " + m + " `" + T + "` supplied to " + ("`" + g + "`" + se + "."));
2805
+ var se = j.length > 0 ? ", expected one of type [" + j.join(", ") + "]" : "";
2806
+ return new d("Invalid " + m + " `" + R + "` supplied to " + ("`" + y + "`" + se + "."));
2807
2807
  }
2808
2808
  return _(A);
2809
2809
  }
2810
2810
  function le() {
2811
- function i(s, y, A, b, k) {
2812
- return O(s[y]) ? null : new p("Invalid " + b + " `" + k + "` supplied to " + ("`" + A + "`, expected a ReactNode."));
2811
+ function i(s, h, A, b, k) {
2812
+ return O(s[h]) ? null : new d("Invalid " + b + " `" + k + "` supplied to " + ("`" + A + "`, expected a ReactNode."));
2813
2813
  }
2814
2814
  return _(i);
2815
2815
  }
2816
- function W(i, s, y, A, b) {
2817
- return new p(
2818
- (i || "React class") + ": " + s + " type `" + y + "." + A + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + b + "`."
2816
+ function H(i, s, h, A, b) {
2817
+ return new d(
2818
+ (i || "React class") + ": " + s + " type `" + h + "." + A + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + b + "`."
2819
2819
  );
2820
2820
  }
2821
2821
  function c(i) {
2822
- function s(y, A, b, k, g) {
2823
- var m = y[A], T = D(m);
2824
- if (T !== "object")
2825
- return new p("Invalid " + k + " `" + g + "` of type `" + T + "` " + ("supplied to `" + b + "`, expected `object`."));
2826
- for (var $ in i) {
2827
- var P = i[$];
2822
+ function s(h, A, b, k, y) {
2823
+ var m = h[A], R = D(m);
2824
+ if (R !== "object")
2825
+ return new d("Invalid " + k + " `" + y + "` of type `" + R + "` " + ("supplied to `" + b + "`, expected `object`."));
2826
+ for (var j in i) {
2827
+ var P = i[j];
2828
2828
  if (typeof P != "function")
2829
- return W(b, k, g, $, J(P));
2830
- var z = P(m, $, b, k, g + "." + $, t);
2829
+ return H(b, k, y, j, J(P));
2830
+ var z = P(m, j, b, k, y + "." + j, t);
2831
2831
  if (z)
2832
2832
  return z;
2833
2833
  }
@@ -2835,22 +2835,22 @@ function ra() {
2835
2835
  }
2836
2836
  return _(s);
2837
2837
  }
2838
- function M(i) {
2839
- function s(y, A, b, k, g) {
2840
- var m = y[A], T = D(m);
2841
- if (T !== "object")
2842
- return new p("Invalid " + k + " `" + g + "` of type `" + T + "` " + ("supplied to `" + b + "`, expected `object`."));
2843
- var $ = r({}, y[A], i);
2844
- for (var P in $) {
2838
+ function $(i) {
2839
+ function s(h, A, b, k, y) {
2840
+ var m = h[A], R = D(m);
2841
+ if (R !== "object")
2842
+ return new d("Invalid " + k + " `" + y + "` of type `" + R + "` " + ("supplied to `" + b + "`, expected `object`."));
2843
+ var j = r({}, h[A], i);
2844
+ for (var P in j) {
2845
2845
  var z = i[P];
2846
2846
  if (n(i, P) && typeof z != "function")
2847
- return W(b, k, g, P, J(z));
2847
+ return H(b, k, y, P, J(z));
2848
2848
  if (!z)
2849
- return new p(
2850
- "Invalid " + k + " `" + g + "` key `" + P + "` supplied to `" + b + "`.\nBad object: " + JSON.stringify(y[A], null, " ") + `
2849
+ return new d(
2850
+ "Invalid " + k + " `" + y + "` key `" + P + "` supplied to `" + b + "`.\nBad object: " + JSON.stringify(h[A], null, " ") + `
2851
2851
  Valid keys: ` + JSON.stringify(Object.keys(i), null, " ")
2852
2852
  );
2853
- var I = z(m, P, b, k, g + "." + P, t);
2853
+ var I = z(m, P, b, k, y + "." + P, t);
2854
2854
  if (I)
2855
2855
  return I;
2856
2856
  }
@@ -2871,15 +2871,15 @@ Valid keys: ` + JSON.stringify(Object.keys(i), null, " ")
2871
2871
  return i.every(O);
2872
2872
  if (i === null || u(i))
2873
2873
  return !0;
2874
- var s = C(i);
2874
+ var s = w(i);
2875
2875
  if (s) {
2876
- var y = s.call(i), A;
2876
+ var h = s.call(i), A;
2877
2877
  if (s !== i.entries) {
2878
- for (; !(A = y.next()).done; )
2878
+ for (; !(A = h.next()).done; )
2879
2879
  if (!O(A.value))
2880
2880
  return !1;
2881
2881
  } else
2882
- for (; !(A = y.next()).done; ) {
2882
+ for (; !(A = h.next()).done; ) {
2883
2883
  var b = A.value;
2884
2884
  if (b && !O(b[1]))
2885
2885
  return !1;
@@ -2925,7 +2925,7 @@ Valid keys: ` + JSON.stringify(Object.keys(i), null, " ")
2925
2925
  }
2926
2926
  }
2927
2927
  function ue(i) {
2928
- return !i.constructor || !i.constructor.name ? x : i.constructor.name;
2928
+ return !i.constructor || !i.constructor.name ? S : i.constructor.name;
2929
2929
  }
2930
2930
  return E.checkPropTypes = o, E.resetWarningCache = o.resetWarningCache, E.PropTypes = E, E;
2931
2931
  }, Jr;
@@ -2940,12 +2940,12 @@ function ta() {
2940
2940
  function t() {
2941
2941
  }
2942
2942
  return t.resetWarningCache = r, Gr = function() {
2943
- function n(l, u, f, h, w, C) {
2944
- if (C !== e) {
2945
- var x = new Error(
2943
+ function n(l, u, p, g, x, w) {
2944
+ if (w !== e) {
2945
+ var S = new Error(
2946
2946
  "Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types"
2947
2947
  );
2948
- throw x.name = "Invariant Violation", x;
2948
+ throw S.name = "Invariant Violation", S;
2949
2949
  }
2950
2950
  }
2951
2951
  n.isRequired = n;
@@ -3008,15 +3008,15 @@ function aa(e, r, t = void 0) {
3008
3008
  for (const o in e) {
3009
3009
  const a = e[o];
3010
3010
  let l = "", u = !0;
3011
- for (let f = 0; f < a.length; f += 1) {
3012
- const h = a[f];
3013
- h && (l += (u === !0 ? "" : " ") + r(h), u = !1, t && t[h] && (l += " " + t[h]));
3011
+ for (let p = 0; p < a.length; p += 1) {
3012
+ const g = a[p];
3013
+ g && (l += (u === !0 ? "" : " ") + r(g), u = !1, t && t[g] && (l += " " + t[g]));
3014
3014
  }
3015
3015
  n[o] = l;
3016
3016
  }
3017
3017
  return n;
3018
3018
  }
3019
- var hr = { exports: {} }, X = {};
3019
+ var hr = { exports: {} }, ee = {};
3020
3020
  /**
3021
3021
  * @license React
3022
3022
  * react-is.production.js
@@ -3028,31 +3028,31 @@ var hr = { exports: {} }, X = {};
3028
3028
  */
3029
3029
  var Vt;
3030
3030
  function ia() {
3031
- if (Vt) return X;
3031
+ if (Vt) return ee;
3032
3032
  Vt = 1;
3033
- var e = Symbol.for("react.transitional.element"), r = Symbol.for("react.portal"), t = Symbol.for("react.fragment"), n = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), a = Symbol.for("react.consumer"), l = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), f = Symbol.for("react.suspense"), h = Symbol.for("react.suspense_list"), w = Symbol.for("react.memo"), C = Symbol.for("react.lazy"), x = Symbol.for("react.view_transition"), E = Symbol.for("react.client.reference");
3034
- function v(p) {
3035
- if (typeof p == "object" && p !== null) {
3036
- var _ = p.$$typeof;
3033
+ var e = Symbol.for("react.transitional.element"), r = Symbol.for("react.portal"), t = Symbol.for("react.fragment"), n = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), a = Symbol.for("react.consumer"), l = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), p = Symbol.for("react.suspense"), g = Symbol.for("react.suspense_list"), x = Symbol.for("react.memo"), w = Symbol.for("react.lazy"), S = Symbol.for("react.view_transition"), E = Symbol.for("react.client.reference");
3034
+ function C(d) {
3035
+ if (typeof d == "object" && d !== null) {
3036
+ var _ = d.$$typeof;
3037
3037
  switch (_) {
3038
3038
  case e:
3039
- switch (p = p.type, p) {
3039
+ switch (d = d.type, d) {
3040
3040
  case t:
3041
3041
  case o:
3042
3042
  case n:
3043
- case f:
3044
- case h:
3045
- case x:
3046
- return p;
3043
+ case p:
3044
+ case g:
3045
+ case S:
3046
+ return d;
3047
3047
  default:
3048
- switch (p = p && p.$$typeof, p) {
3048
+ switch (d = d && d.$$typeof, d) {
3049
3049
  case l:
3050
3050
  case u:
3051
- case C:
3052
3051
  case w:
3053
- return p;
3052
+ case x:
3053
+ return d;
3054
3054
  case a:
3055
- return p;
3055
+ return d;
3056
3056
  default:
3057
3057
  return _;
3058
3058
  }
@@ -3062,35 +3062,35 @@ function ia() {
3062
3062
  }
3063
3063
  }
3064
3064
  }
3065
- return X.ContextConsumer = a, X.ContextProvider = l, X.Element = e, X.ForwardRef = u, X.Fragment = t, X.Lazy = C, X.Memo = w, X.Portal = r, X.Profiler = o, X.StrictMode = n, X.Suspense = f, X.SuspenseList = h, X.isContextConsumer = function(p) {
3066
- return v(p) === a;
3067
- }, X.isContextProvider = function(p) {
3068
- return v(p) === l;
3069
- }, X.isElement = function(p) {
3070
- return typeof p == "object" && p !== null && p.$$typeof === e;
3071
- }, X.isForwardRef = function(p) {
3072
- return v(p) === u;
3073
- }, X.isFragment = function(p) {
3074
- return v(p) === t;
3075
- }, X.isLazy = function(p) {
3076
- return v(p) === C;
3077
- }, X.isMemo = function(p) {
3078
- return v(p) === w;
3079
- }, X.isPortal = function(p) {
3080
- return v(p) === r;
3081
- }, X.isProfiler = function(p) {
3082
- return v(p) === o;
3083
- }, X.isStrictMode = function(p) {
3084
- return v(p) === n;
3085
- }, X.isSuspense = function(p) {
3086
- return v(p) === f;
3087
- }, X.isSuspenseList = function(p) {
3088
- return v(p) === h;
3089
- }, X.isValidElementType = function(p) {
3090
- return typeof p == "string" || typeof p == "function" || p === t || p === o || p === n || p === f || p === h || typeof p == "object" && p !== null && (p.$$typeof === C || p.$$typeof === w || p.$$typeof === l || p.$$typeof === a || p.$$typeof === u || p.$$typeof === E || p.getModuleId !== void 0);
3091
- }, X.typeOf = v, X;
3092
- }
3093
- var ee = {};
3065
+ return ee.ContextConsumer = a, ee.ContextProvider = l, ee.Element = e, ee.ForwardRef = u, ee.Fragment = t, ee.Lazy = w, ee.Memo = x, ee.Portal = r, ee.Profiler = o, ee.StrictMode = n, ee.Suspense = p, ee.SuspenseList = g, ee.isContextConsumer = function(d) {
3066
+ return C(d) === a;
3067
+ }, ee.isContextProvider = function(d) {
3068
+ return C(d) === l;
3069
+ }, ee.isElement = function(d) {
3070
+ return typeof d == "object" && d !== null && d.$$typeof === e;
3071
+ }, ee.isForwardRef = function(d) {
3072
+ return C(d) === u;
3073
+ }, ee.isFragment = function(d) {
3074
+ return C(d) === t;
3075
+ }, ee.isLazy = function(d) {
3076
+ return C(d) === w;
3077
+ }, ee.isMemo = function(d) {
3078
+ return C(d) === x;
3079
+ }, ee.isPortal = function(d) {
3080
+ return C(d) === r;
3081
+ }, ee.isProfiler = function(d) {
3082
+ return C(d) === o;
3083
+ }, ee.isStrictMode = function(d) {
3084
+ return C(d) === n;
3085
+ }, ee.isSuspense = function(d) {
3086
+ return C(d) === p;
3087
+ }, ee.isSuspenseList = function(d) {
3088
+ return C(d) === g;
3089
+ }, ee.isValidElementType = function(d) {
3090
+ return typeof d == "string" || typeof d == "function" || d === t || d === o || d === n || d === p || d === g || typeof d == "object" && d !== null && (d.$$typeof === w || d.$$typeof === x || d.$$typeof === l || d.$$typeof === a || d.$$typeof === u || d.$$typeof === E || d.getModuleId !== void 0);
3091
+ }, ee.typeOf = C, ee;
3092
+ }
3093
+ var re = {};
3094
3094
  /**
3095
3095
  * @license React
3096
3096
  * react-is.development.js
@@ -3103,28 +3103,28 @@ var ee = {};
3103
3103
  var Ft;
3104
3104
  function sa() {
3105
3105
  return Ft || (Ft = 1, process.env.NODE_ENV !== "production" && function() {
3106
- function e(p) {
3107
- if (typeof p == "object" && p !== null) {
3108
- var _ = p.$$typeof;
3106
+ function e(d) {
3107
+ if (typeof d == "object" && d !== null) {
3108
+ var _ = d.$$typeof;
3109
3109
  switch (_) {
3110
3110
  case r:
3111
- switch (p = p.type, p) {
3111
+ switch (d = d.type, d) {
3112
3112
  case n:
3113
3113
  case a:
3114
3114
  case o:
3115
- case h:
3116
- case w:
3115
+ case g:
3116
+ case x:
3117
3117
  case E:
3118
- return p;
3118
+ return d;
3119
3119
  default:
3120
- switch (p = p && p.$$typeof, p) {
3120
+ switch (d = d && d.$$typeof, d) {
3121
3121
  case u:
3122
- case f:
3123
- case x:
3124
- case C:
3125
- return p;
3122
+ case p:
3123
+ case S:
3124
+ case w:
3125
+ return d;
3126
3126
  case l:
3127
- return p;
3127
+ return d;
3128
3128
  default:
3129
3129
  return _;
3130
3130
  }
@@ -3134,35 +3134,35 @@ function sa() {
3134
3134
  }
3135
3135
  }
3136
3136
  }
3137
- var r = Symbol.for("react.transitional.element"), t = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), a = Symbol.for("react.profiler"), l = Symbol.for("react.consumer"), u = Symbol.for("react.context"), f = Symbol.for("react.forward_ref"), h = Symbol.for("react.suspense"), w = Symbol.for("react.suspense_list"), C = Symbol.for("react.memo"), x = Symbol.for("react.lazy"), E = Symbol.for("react.view_transition"), v = Symbol.for("react.client.reference");
3138
- ee.ContextConsumer = l, ee.ContextProvider = u, ee.Element = r, ee.ForwardRef = f, ee.Fragment = n, ee.Lazy = x, ee.Memo = C, ee.Portal = t, ee.Profiler = a, ee.StrictMode = o, ee.Suspense = h, ee.SuspenseList = w, ee.isContextConsumer = function(p) {
3139
- return e(p) === l;
3140
- }, ee.isContextProvider = function(p) {
3141
- return e(p) === u;
3142
- }, ee.isElement = function(p) {
3143
- return typeof p == "object" && p !== null && p.$$typeof === r;
3144
- }, ee.isForwardRef = function(p) {
3145
- return e(p) === f;
3146
- }, ee.isFragment = function(p) {
3147
- return e(p) === n;
3148
- }, ee.isLazy = function(p) {
3149
- return e(p) === x;
3150
- }, ee.isMemo = function(p) {
3151
- return e(p) === C;
3152
- }, ee.isPortal = function(p) {
3153
- return e(p) === t;
3154
- }, ee.isProfiler = function(p) {
3155
- return e(p) === a;
3156
- }, ee.isStrictMode = function(p) {
3157
- return e(p) === o;
3158
- }, ee.isSuspense = function(p) {
3159
- return e(p) === h;
3160
- }, ee.isSuspenseList = function(p) {
3161
- return e(p) === w;
3162
- }, ee.isValidElementType = function(p) {
3163
- return typeof p == "string" || typeof p == "function" || p === n || p === a || p === o || p === h || p === w || typeof p == "object" && p !== null && (p.$$typeof === x || p.$$typeof === C || p.$$typeof === u || p.$$typeof === l || p.$$typeof === f || p.$$typeof === v || p.getModuleId !== void 0);
3164
- }, ee.typeOf = e;
3165
- }()), ee;
3137
+ var r = Symbol.for("react.transitional.element"), t = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), a = Symbol.for("react.profiler"), l = Symbol.for("react.consumer"), u = Symbol.for("react.context"), p = Symbol.for("react.forward_ref"), g = Symbol.for("react.suspense"), x = Symbol.for("react.suspense_list"), w = Symbol.for("react.memo"), S = Symbol.for("react.lazy"), E = Symbol.for("react.view_transition"), C = Symbol.for("react.client.reference");
3138
+ re.ContextConsumer = l, re.ContextProvider = u, re.Element = r, re.ForwardRef = p, re.Fragment = n, re.Lazy = S, re.Memo = w, re.Portal = t, re.Profiler = a, re.StrictMode = o, re.Suspense = g, re.SuspenseList = x, re.isContextConsumer = function(d) {
3139
+ return e(d) === l;
3140
+ }, re.isContextProvider = function(d) {
3141
+ return e(d) === u;
3142
+ }, re.isElement = function(d) {
3143
+ return typeof d == "object" && d !== null && d.$$typeof === r;
3144
+ }, re.isForwardRef = function(d) {
3145
+ return e(d) === p;
3146
+ }, re.isFragment = function(d) {
3147
+ return e(d) === n;
3148
+ }, re.isLazy = function(d) {
3149
+ return e(d) === S;
3150
+ }, re.isMemo = function(d) {
3151
+ return e(d) === w;
3152
+ }, re.isPortal = function(d) {
3153
+ return e(d) === t;
3154
+ }, re.isProfiler = function(d) {
3155
+ return e(d) === a;
3156
+ }, re.isStrictMode = function(d) {
3157
+ return e(d) === o;
3158
+ }, re.isSuspense = function(d) {
3159
+ return e(d) === g;
3160
+ }, re.isSuspenseList = function(d) {
3161
+ return e(d) === x;
3162
+ }, re.isValidElementType = function(d) {
3163
+ return typeof d == "string" || typeof d == "function" || d === n || d === a || d === o || d === g || d === x || typeof d == "object" && d !== null && (d.$$typeof === S || d.$$typeof === w || d.$$typeof === u || d.$$typeof === l || d.$$typeof === p || d.$$typeof === C || d.getModuleId !== void 0);
3164
+ }, re.typeOf = e;
3165
+ }()), re;
3166
3166
  }
3167
3167
  var zt;
3168
3168
  function ca() {
@@ -3237,8 +3237,8 @@ function da(e) {
3237
3237
  const r = (a, l) => a.replace("@media", l ? `@container ${l}` : "@container");
3238
3238
  function t(a, l) {
3239
3239
  a.up = (...u) => r(e.breakpoints.up(...u), l), a.down = (...u) => r(e.breakpoints.down(...u), l), a.between = (...u) => r(e.breakpoints.between(...u), l), a.only = (...u) => r(e.breakpoints.only(...u), l), a.not = (...u) => {
3240
- const f = r(e.breakpoints.not(...u), l);
3241
- return f.includes("not all and") ? f.replace("not all and ", "").replace("min-width:", "width<").replace("max-width:", "width>").replace("and", "or") : f;
3240
+ const p = r(e.breakpoints.not(...u), l);
3241
+ return p.includes("not all and") ? p.replace("not all and ", "").replace("min-width:", "width<").replace("max-width:", "width>").replace("and", "or") : p;
3242
3242
  };
3243
3243
  }
3244
3244
  const n = {}, o = (a) => (t(n, a), n);
@@ -3275,20 +3275,20 @@ function Oe(e, r, t) {
3275
3275
  const n = e.theme || {};
3276
3276
  if (Array.isArray(r)) {
3277
3277
  const a = n.breakpoints || Ht;
3278
- return r.reduce((l, u, f) => (l[a.up(a.keys[f])] = t(r[f]), l), {});
3278
+ return r.reduce((l, u, p) => (l[a.up(a.keys[p])] = t(r[p]), l), {});
3279
3279
  }
3280
3280
  if (typeof r == "object") {
3281
3281
  const a = n.breakpoints || Ht;
3282
3282
  return Object.keys(r).reduce((l, u) => {
3283
3283
  if (la(a.keys, u)) {
3284
- const f = ua(n.containerQueries ? n : fa, u);
3285
- f && (l[f] = t(r[u], u));
3284
+ const p = ua(n.containerQueries ? n : fa, u);
3285
+ p && (l[p] = t(r[u], u));
3286
3286
  } else if (Object.keys(a.values || _r).includes(u)) {
3287
- const f = a.up(u);
3288
- l[f] = t(r[u], u);
3287
+ const p = a.up(u);
3288
+ l[p] = t(r[u], u);
3289
3289
  } else {
3290
- const f = u;
3291
- l[f] = r[f];
3290
+ const p = u;
3291
+ l[p] = r[p];
3292
3292
  }
3293
3293
  return l;
3294
3294
  }, {});
@@ -3331,11 +3331,11 @@ function ie(e) {
3331
3331
  } = e, a = (l) => {
3332
3332
  if (l[r] == null)
3333
3333
  return null;
3334
- const u = l[r], f = l.theme, h = Or(f, n) || {};
3335
- return Oe(l, u, (C) => {
3336
- let x = wr(h, o, C);
3337
- return C === x && typeof C == "string" && (x = wr(h, o, `${r}${C === "default" ? "" : We(C)}`, C)), t === !1 ? x : {
3338
- [t]: x
3334
+ const u = l[r], p = l.theme, g = Or(p, n) || {};
3335
+ return Oe(l, u, (w) => {
3336
+ let S = wr(g, o, w);
3337
+ return w === S && typeof w == "string" && (S = wr(g, o, `${r}${w === "default" ? "" : We(w)}`, w)), t === !1 ? S : {
3338
+ [t]: S
3339
3339
  };
3340
3340
  });
3341
3341
  };
@@ -3532,9 +3532,9 @@ const Ha = ie({
3532
3532
  }), At = (e) => {
3533
3533
  if (e.maxWidth !== void 0 && e.maxWidth !== null) {
3534
3534
  const r = (t) => {
3535
- var o, a, l, u, f;
3535
+ var o, a, l, u, p;
3536
3536
  const n = ((l = (a = (o = e.theme) == null ? void 0 : o.breakpoints) == null ? void 0 : a.values) == null ? void 0 : l[t]) || _r[t];
3537
- return n ? ((f = (u = e.theme) == null ? void 0 : u.breakpoints) == null ? void 0 : f.unit) !== "px" ? {
3537
+ return n ? ((p = (u = e.theme) == null ? void 0 : u.breakpoints) == null ? void 0 : p.unit) !== "px" ? {
3538
3538
  maxWidth: `${n}${e.theme.breakpoints.unit}`
3539
3539
  } : {
3540
3540
  maxWidth: n
@@ -3880,22 +3880,22 @@ function Xa() {
3880
3880
  [t]: n
3881
3881
  };
3882
3882
  const {
3883
- cssProperty: f = t,
3884
- themeKey: h,
3885
- transform: w,
3886
- style: C
3883
+ cssProperty: p = t,
3884
+ themeKey: g,
3885
+ transform: x,
3886
+ style: w
3887
3887
  } = u;
3888
3888
  if (n == null)
3889
3889
  return null;
3890
- if (h === "typography" && n === "inherit")
3890
+ if (g === "typography" && n === "inherit")
3891
3891
  return {
3892
3892
  [t]: n
3893
3893
  };
3894
- const x = Or(o, h) || {};
3895
- return C ? C(l) : Oe(l, n, (v) => {
3896
- let p = wr(x, w, v);
3897
- return v === p && typeof v == "string" && (p = wr(x, w, `${t}${v === "default" ? "" : We(v)}`, v)), f === !1 ? p : {
3898
- [f]: p
3894
+ const S = Or(o, g) || {};
3895
+ return w ? w(l) : Oe(l, n, (C) => {
3896
+ let d = wr(S, x, C);
3897
+ return C === d && typeof C == "string" && (d = wr(S, x, `${t}${C === "default" ? "" : We(C)}`, C)), p === !1 ? d : {
3898
+ [p]: d
3899
3899
  };
3900
3900
  });
3901
3901
  }
@@ -3908,39 +3908,39 @@ function Xa() {
3908
3908
  if (!n)
3909
3909
  return null;
3910
3910
  const l = o.unstable_sxConfig ?? Nr;
3911
- function u(f) {
3912
- let h = f;
3913
- if (typeof f == "function")
3914
- h = f(o);
3915
- else if (typeof f != "object")
3916
- return f;
3917
- if (!h)
3911
+ function u(p) {
3912
+ let g = p;
3913
+ if (typeof p == "function")
3914
+ g = p(o);
3915
+ else if (typeof p != "object")
3916
+ return p;
3917
+ if (!g)
3918
3918
  return null;
3919
- const w = pa(o.breakpoints), C = Object.keys(w);
3920
- let x = w;
3921
- return Object.keys(h).forEach((E) => {
3922
- const v = Za(h[E], o);
3923
- if (v != null)
3924
- if (typeof v == "object")
3919
+ const x = pa(o.breakpoints), w = Object.keys(x);
3920
+ let S = x;
3921
+ return Object.keys(g).forEach((E) => {
3922
+ const C = Za(g[E], o);
3923
+ if (C != null)
3924
+ if (typeof C == "object")
3925
3925
  if (l[E])
3926
- x = cr(x, e(E, v, o, l));
3926
+ S = cr(S, e(E, C, o, l));
3927
3927
  else {
3928
- const p = Oe({
3928
+ const d = Oe({
3929
3929
  theme: o
3930
- }, v, (_) => ({
3930
+ }, C, (_) => ({
3931
3931
  [E]: _
3932
3932
  }));
3933
- qa(p, v) ? x[E] = r({
3934
- sx: v,
3933
+ qa(d, C) ? S[E] = r({
3934
+ sx: C,
3935
3935
  theme: o,
3936
3936
  nested: !0
3937
- }) : x = cr(x, p);
3937
+ }) : S = cr(S, d);
3938
3938
  }
3939
3939
  else
3940
- x = cr(x, e(E, v, o, l));
3940
+ S = cr(S, e(E, C, o, l));
3941
3941
  }), !a && o.modularCssLayers ? {
3942
- "@layer sx": Wt(o, Qt(C, x))
3943
- } : Wt(o, Qt(C, x));
3942
+ "@layer sx": Wt(o, Qt(w, S))
3943
+ } : Wt(o, Qt(w, S));
3944
3944
  }
3945
3945
  return Array.isArray(n) ? n.map(u) : u(n);
3946
3946
  }
@@ -4077,8 +4077,8 @@ function Cr(e, r, t) {
4077
4077
  return ai(e, r, t);
4078
4078
  }
4079
4079
  }
4080
- var f = t;
4081
- return f;
4080
+ var p = t;
4081
+ return p;
4082
4082
  }
4083
4083
  function ai(e, r, t) {
4084
4084
  var n = "";
@@ -4092,18 +4092,18 @@ function ai(e, r, t) {
4092
4092
  var u = l;
4093
4093
  Jt(u) && (n += Yr(a) + ":" + Gt(a, u) + ";");
4094
4094
  } else if (Array.isArray(l) && typeof l[0] == "string" && r == null)
4095
- for (var f = 0; f < l.length; f++)
4096
- Jt(l[f]) && (n += Yr(a) + ":" + Gt(a, l[f]) + ";");
4095
+ for (var p = 0; p < l.length; p++)
4096
+ Jt(l[p]) && (n += Yr(a) + ":" + Gt(a, l[p]) + ";");
4097
4097
  else {
4098
- var h = Cr(e, r, l);
4098
+ var g = Cr(e, r, l);
4099
4099
  switch (a) {
4100
4100
  case "animation":
4101
4101
  case "animationName": {
4102
- n += Yr(a) + ":" + h + ";";
4102
+ n += Yr(a) + ":" + g + ";";
4103
4103
  break;
4104
4104
  }
4105
4105
  default:
4106
- n += a + "{" + h + "}";
4106
+ n += a + "{" + g + "}";
4107
4107
  }
4108
4108
  }
4109
4109
  }
@@ -4124,15 +4124,15 @@ function ii(e, r, t) {
4124
4124
  }
4125
4125
  for (var u = 1; u < e.length; u++)
4126
4126
  if (o += Cr(t, r, e[u]), n) {
4127
- var f = a;
4128
- o += f[u];
4127
+ var p = a;
4128
+ o += p[u];
4129
4129
  }
4130
4130
  Yt.lastIndex = 0;
4131
- for (var h = "", w; (w = Yt.exec(o)) !== null; )
4132
- h += "-" + w[1];
4133
- var C = ei(o) + h;
4131
+ for (var g = "", x; (x = Yt.exec(o)) !== null; )
4132
+ g += "-" + x[1];
4133
+ var w = ei(o) + g;
4134
4134
  return {
4135
- name: C,
4135
+ name: w,
4136
4136
  styles: o,
4137
4137
  next: $e
4138
4138
  };
@@ -4189,31 +4189,31 @@ function ui(e) {
4189
4189
  step: n = 5,
4190
4190
  ...o
4191
4191
  } = e, a = li(r), l = Object.keys(a);
4192
- function u(x) {
4193
- return `@media (min-width:${typeof r[x] == "number" ? r[x] : x}${t})`;
4192
+ function u(S) {
4193
+ return `@media (min-width:${typeof r[S] == "number" ? r[S] : S}${t})`;
4194
4194
  }
4195
- function f(x) {
4196
- return `@media (max-width:${(typeof r[x] == "number" ? r[x] : x) - n / 100}${t})`;
4195
+ function p(S) {
4196
+ return `@media (max-width:${(typeof r[S] == "number" ? r[S] : S) - n / 100}${t})`;
4197
4197
  }
4198
- function h(x, E) {
4199
- const v = l.indexOf(E);
4200
- return `@media (min-width:${typeof r[x] == "number" ? r[x] : x}${t}) and (max-width:${(v !== -1 && typeof r[l[v]] == "number" ? r[l[v]] : E) - n / 100}${t})`;
4198
+ function g(S, E) {
4199
+ const C = l.indexOf(E);
4200
+ return `@media (min-width:${typeof r[S] == "number" ? r[S] : S}${t}) and (max-width:${(C !== -1 && typeof r[l[C]] == "number" ? r[l[C]] : E) - n / 100}${t})`;
4201
4201
  }
4202
- function w(x) {
4203
- return l.indexOf(x) + 1 < l.length ? h(x, l[l.indexOf(x) + 1]) : u(x);
4202
+ function x(S) {
4203
+ return l.indexOf(S) + 1 < l.length ? g(S, l[l.indexOf(S) + 1]) : u(S);
4204
4204
  }
4205
- function C(x) {
4206
- const E = l.indexOf(x);
4207
- return E === 0 ? u(l[1]) : E === l.length - 1 ? f(l[E]) : h(x, l[l.indexOf(x) + 1]).replace("@media", "@media not all and");
4205
+ function w(S) {
4206
+ const E = l.indexOf(S);
4207
+ return E === 0 ? u(l[1]) : E === l.length - 1 ? p(l[E]) : g(S, l[l.indexOf(S) + 1]).replace("@media", "@media not all and");
4208
4208
  }
4209
4209
  return {
4210
4210
  keys: l,
4211
4211
  values: a,
4212
4212
  up: u,
4213
- down: f,
4214
- between: h,
4215
- only: w,
4216
- not: C,
4213
+ down: p,
4214
+ between: g,
4215
+ only: x,
4216
+ not: w,
4217
4217
  unit: t,
4218
4218
  ...o
4219
4219
  };
@@ -4252,8 +4252,8 @@ function Rn(e = {}, ...r) {
4252
4252
  spacing: o,
4253
4253
  shape: a = {},
4254
4254
  ...l
4255
- } = e, u = ui(t), f = Tn(o);
4256
- let h = me({
4255
+ } = e, u = ui(t), p = Tn(o);
4256
+ let g = me({
4257
4257
  breakpoints: u,
4258
4258
  direction: "ltr",
4259
4259
  components: {},
@@ -4262,21 +4262,21 @@ function Rn(e = {}, ...r) {
4262
4262
  mode: "light",
4263
4263
  ...n
4264
4264
  },
4265
- spacing: f,
4265
+ spacing: p,
4266
4266
  shape: {
4267
4267
  ...di,
4268
4268
  ...a
4269
4269
  }
4270
4270
  }, l);
4271
- return h = da(h), h.applyStyles = fi, h = r.reduce((w, C) => me(w, C), h), h.unstable_sxConfig = {
4271
+ return g = da(g), g.applyStyles = fi, g = r.reduce((x, w) => me(x, w), g), g.unstable_sxConfig = {
4272
4272
  ...Nr,
4273
4273
  ...l == null ? void 0 : l.unstable_sxConfig
4274
- }, h.unstable_sx = function(C) {
4274
+ }, g.unstable_sx = function(w) {
4275
4275
  return er({
4276
- sx: C,
4276
+ sx: w,
4277
4277
  theme: this
4278
4278
  });
4279
- }, h;
4279
+ }, g;
4280
4280
  }
4281
4281
  const pi = {
4282
4282
  active: "active",
@@ -4384,8 +4384,8 @@ function In(e, r, t = [], n = void 0) {
4384
4384
  }), !u.props(o))
4385
4385
  continue;
4386
4386
  } else
4387
- for (const f in u.props)
4388
- if (e[f] !== u.props[f] && ((a = e.ownerState) == null ? void 0 : a[f]) !== u.props[f])
4387
+ for (const p in u.props)
4388
+ if (e[p] !== u.props[p] && ((a = e.ownerState) == null ? void 0 : a[p]) !== u.props[p])
4389
4389
  continue e;
4390
4390
  typeof u.style == "function" ? (o ?? (o = {
4391
4391
  ...e,
@@ -4405,66 +4405,66 @@ function Ai(e = {}) {
4405
4405
  function a(u) {
4406
4406
  bi(u, r, t);
4407
4407
  }
4408
- return (u, f = {}) => {
4409
- ci(u, (L) => L.filter((H) => H !== er));
4408
+ return (u, p = {}) => {
4409
+ ci(u, (L) => L.filter((W) => W !== er));
4410
4410
  const {
4411
- name: h,
4412
- slot: w,
4413
- skipVariantsResolver: C,
4414
- skipSx: x,
4411
+ name: g,
4412
+ slot: x,
4413
+ skipVariantsResolver: w,
4414
+ skipSx: S,
4415
4415
  // TODO v6: remove `lowercaseFirstLetter()` in the next major release
4416
4416
  // For more details: https://github.com/mui/material-ui/pull/37908
4417
- overridesResolver: E = yi(Pn(w)),
4418
- ...v
4419
- } = f, p = h && h.startsWith("Mui") || w ? "components" : "custom", _ = C !== void 0 ? C : (
4417
+ overridesResolver: E = yi(Pn(x)),
4418
+ ...C
4419
+ } = p, d = g && g.startsWith("Mui") || x ? "components" : "custom", _ = w !== void 0 ? w : (
4420
4420
  // TODO v6: remove `Root` in the next major release
4421
4421
  // For more details: https://github.com/mui/material-ui/pull/37908
4422
- w && w !== "Root" && w !== "root" || !1
4423
- ), U = x || !1;
4424
- let B = qr;
4425
- w === "Root" || w === "root" ? B = n : w ? B = o : wi(u) && (B = void 0);
4426
- const V = si(u, {
4427
- shouldForwardProp: B,
4428
- label: xi(h, w),
4429
- ...v
4430
- }), j = (L) => {
4422
+ x && x !== "Root" && x !== "root" || !1
4423
+ ), U = S || !1;
4424
+ let V = qr;
4425
+ x === "Root" || x === "root" ? V = n : x ? V = o : wi(u) && (V = void 0);
4426
+ const B = si(u, {
4427
+ shouldForwardProp: V,
4428
+ label: xi(g, x),
4429
+ ...C
4430
+ }), M = (L) => {
4431
4431
  if (L.__emotion_real === L)
4432
4432
  return L;
4433
4433
  if (typeof L == "function")
4434
4434
  return function(F) {
4435
- return yr(F, L, F.theme.modularCssLayers ? p : void 0);
4435
+ return yr(F, L, F.theme.modularCssLayers ? d : void 0);
4436
4436
  };
4437
4437
  if (Te(L)) {
4438
- const H = On(L);
4439
- return function(re) {
4440
- return H.variants ? yr(re, H, re.theme.modularCssLayers ? p : void 0) : re.theme.modularCssLayers ? Be(H.style, p) : H.style;
4438
+ const W = On(L);
4439
+ return function(q) {
4440
+ return W.variants ? yr(q, W, q.theme.modularCssLayers ? d : void 0) : q.theme.modularCssLayers ? Be(W.style, d) : W.style;
4441
4441
  };
4442
4442
  }
4443
4443
  return L;
4444
- }, R = (...L) => {
4445
- const H = [], F = L.map(j), re = [];
4446
- if (H.push(a), h && E && re.push(function(M) {
4444
+ }, T = (...L) => {
4445
+ const W = [], F = L.map(M), q = [];
4446
+ if (W.push(a), g && E && q.push(function($) {
4447
4447
  var J, ne;
4448
- const N = (ne = (J = M.theme.components) == null ? void 0 : J[h]) == null ? void 0 : ne.styleOverrides;
4448
+ const N = (ne = (J = $.theme.components) == null ? void 0 : J[g]) == null ? void 0 : ne.styleOverrides;
4449
4449
  if (!N)
4450
4450
  return null;
4451
4451
  const D = {};
4452
4452
  for (const ue in N)
4453
- D[ue] = yr(M, N[ue], M.theme.modularCssLayers ? "theme" : void 0);
4454
- return E(M, D);
4455
- }), h && !_ && re.push(function(M) {
4453
+ D[ue] = yr($, N[ue], $.theme.modularCssLayers ? "theme" : void 0);
4454
+ return E($, D);
4455
+ }), g && !_ && q.push(function($) {
4456
4456
  var D, J;
4457
- const O = M.theme, N = (J = (D = O == null ? void 0 : O.components) == null ? void 0 : D[h]) == null ? void 0 : J.variants;
4458
- return N ? In(M, N, [], M.theme.modularCssLayers ? "theme" : void 0) : null;
4459
- }), U || re.push(er), Array.isArray(F[0])) {
4460
- const c = F.shift(), M = new Array(H.length).fill(""), O = new Array(re.length).fill("");
4457
+ const O = $.theme, N = (J = (D = O == null ? void 0 : O.components) == null ? void 0 : D[g]) == null ? void 0 : J.variants;
4458
+ return N ? In($, N, [], $.theme.modularCssLayers ? "theme" : void 0) : null;
4459
+ }), U || q.push(er), Array.isArray(F[0])) {
4460
+ const c = F.shift(), $ = new Array(W.length).fill(""), O = new Array(q.length).fill("");
4461
4461
  let N;
4462
- N = [...M, ...c, ...O], N.raw = [...M, ...c.raw, ...O], H.unshift(N);
4462
+ N = [...$, ...c, ...O], N.raw = [...$, ...c.raw, ...O], W.unshift(N);
4463
4463
  }
4464
- const le = [...H, ...F, ...re], W = V(...le);
4465
- return u.muiName && (W.muiName = u.muiName), process.env.NODE_ENV !== "production" && (W.displayName = vi(h, w, u)), W;
4464
+ const le = [...W, ...F, ...q], H = B(...le);
4465
+ return u.muiName && (H.muiName = u.muiName), process.env.NODE_ENV !== "production" && (H.displayName = vi(g, x, u)), H;
4466
4466
  };
4467
- return V.withConfig && (R.withConfig = V.withConfig), R;
4467
+ return B.withConfig && (T.withConfig = B.withConfig), T;
4468
4468
  };
4469
4469
  }
4470
4470
  function vi(e, r, t) {
@@ -4510,10 +4510,10 @@ function ut(e, r, t = !1) {
4510
4510
  n[a] = {
4511
4511
  ...u
4512
4512
  };
4513
- for (const f in l)
4514
- if (Object.prototype.hasOwnProperty.call(l, f)) {
4515
- const h = f;
4516
- n[a][h] = ut(l[h], u[h], t);
4513
+ for (const p in l)
4514
+ if (Object.prototype.hasOwnProperty.call(l, p)) {
4515
+ const g = p;
4516
+ n[a][g] = ut(l[g], u[g], t);
4517
4517
  }
4518
4518
  }
4519
4519
  } else a === "className" && t && r.className ? n.className = wn(e == null ? void 0 : e.className, r == null ? void 0 : r.className) : a === "style" && t && r.style ? n.style = {
@@ -4581,12 +4581,12 @@ function jn(e) {
4581
4581
  e = Le(e);
4582
4582
  const {
4583
4583
  values: r
4584
- } = e, t = r[0], n = r[1] / 100, o = r[2] / 100, a = n * Math.min(o, 1 - o), l = (h, w = (h + t / 30) % 12) => o - a * Math.max(Math.min(w - 3, 9 - w, 1), -1);
4584
+ } = e, t = r[0], n = r[1] / 100, o = r[2] / 100, a = n * Math.min(o, 1 - o), l = (g, x = (g + t / 30) % 12) => o - a * Math.max(Math.min(x - 3, 9 - x, 1), -1);
4585
4585
  let u = "rgb";
4586
- const f = [Math.round(l(0) * 255), Math.round(l(8) * 255), Math.round(l(4) * 255)];
4587
- return e.type === "hsla" && (u += "a", f.push(r[3])), Dr({
4586
+ const p = [Math.round(l(0) * 255), Math.round(l(8) * 255), Math.round(l(4) * 255)];
4587
+ return e.type === "hsla" && (u += "a", p.push(r[3])), Dr({
4588
4588
  type: u,
4589
- values: f
4589
+ values: p
4590
4590
  });
4591
4591
  }
4592
4592
  function dt(e) {
@@ -4616,7 +4616,7 @@ function Br(e, r) {
4616
4616
  e.values[t] *= 1 - r;
4617
4617
  return Dr(e);
4618
4618
  }
4619
- function q(e, r, t) {
4619
+ function Z(e, r, t) {
4620
4620
  try {
4621
4621
  return Br(e, r);
4622
4622
  } catch {
@@ -4634,7 +4634,7 @@ function Vr(e, r) {
4634
4634
  e.values[t] += (1 - e.values[t]) * r;
4635
4635
  return Dr(e);
4636
4636
  }
4637
- function Z(e, r, t) {
4637
+ function X(e, r, t) {
4638
4638
  try {
4639
4639
  return Vr(e, r);
4640
4640
  } catch {
@@ -4703,8 +4703,8 @@ const rn = (e, r, t, n = []) => {
4703
4703
  });
4704
4704
  }, ji = (e, r, t) => {
4705
4705
  function n(o, a = [], l = []) {
4706
- Object.entries(o).forEach(([u, f]) => {
4707
- (!t || t && !t([...a, u])) && f != null && (typeof f == "object" && Object.keys(f).length > 0 ? n(f, [...a, u], Array.isArray(f) ? [...l, u] : l) : r([...a, u], f, l));
4706
+ Object.entries(o).forEach(([u, p]) => {
4707
+ (!t || t && !t([...a, u])) && p != null && (typeof p == "object" && Object.keys(p).length > 0 ? n(p, [...a, u], Array.isArray(p) ? [...l, u] : l) : r([...a, u], p, l));
4708
4708
  });
4709
4709
  }
4710
4710
  n(e);
@@ -4716,12 +4716,12 @@ function Zr(e, r) {
4716
4716
  } = r || {}, o = {}, a = {}, l = {};
4717
4717
  return ji(
4718
4718
  e,
4719
- (u, f, h) => {
4720
- if ((typeof f == "string" || typeof f == "number") && (!n || !n(u, f))) {
4721
- const w = `--${t ? `${t}-` : ""}${u.join("-")}`, C = $i(u, f);
4719
+ (u, p, g) => {
4720
+ if ((typeof p == "string" || typeof p == "number") && (!n || !n(u, p))) {
4721
+ const x = `--${t ? `${t}-` : ""}${u.join("-")}`, w = $i(u, p);
4722
4722
  Object.assign(o, {
4723
- [w]: C
4724
- }), rn(a, u, `var(${w})`, h), rn(l, u, `var(${w}, ${C})`, h);
4723
+ [x]: w
4724
+ }), rn(a, u, `var(${x})`, g), rn(l, u, `var(${x}, ${w})`, g);
4725
4725
  }
4726
4726
  },
4727
4727
  (u) => u[0] === "vars"
@@ -4741,110 +4741,110 @@ function Mi(e, r = {}) {
4741
4741
  } = r, {
4742
4742
  colorSchemes: l = {},
4743
4743
  components: u,
4744
- defaultColorScheme: f = "light",
4745
- ...h
4744
+ defaultColorScheme: p = "light",
4745
+ ...g
4746
4746
  } = e, {
4747
- vars: w,
4748
- css: C,
4749
- varsWithDefaults: x
4750
- } = Zr(h, r);
4751
- let E = x;
4752
- const v = {}, {
4753
- [f]: p,
4747
+ vars: x,
4748
+ css: w,
4749
+ varsWithDefaults: S
4750
+ } = Zr(g, r);
4751
+ let E = S;
4752
+ const C = {}, {
4753
+ [p]: d,
4754
4754
  ..._
4755
4755
  } = l;
4756
- if (Object.entries(_ || {}).forEach(([j, R]) => {
4756
+ if (Object.entries(_ || {}).forEach(([M, T]) => {
4757
4757
  const {
4758
4758
  vars: L,
4759
- css: H,
4759
+ css: W,
4760
4760
  varsWithDefaults: F
4761
- } = Zr(R, r);
4762
- E = me(E, F), v[j] = {
4763
- css: H,
4761
+ } = Zr(T, r);
4762
+ E = me(E, F), C[M] = {
4763
+ css: W,
4764
4764
  vars: L
4765
4765
  };
4766
- }), p) {
4766
+ }), d) {
4767
4767
  const {
4768
- css: j,
4769
- vars: R,
4768
+ css: M,
4769
+ vars: T,
4770
4770
  varsWithDefaults: L
4771
- } = Zr(p, r);
4772
- E = me(E, L), v[f] = {
4773
- css: j,
4774
- vars: R
4771
+ } = Zr(d, r);
4772
+ E = me(E, L), C[p] = {
4773
+ css: M,
4774
+ vars: T
4775
4775
  };
4776
4776
  }
4777
- function U(j, R) {
4778
- var H, F;
4777
+ function U(M, T) {
4778
+ var W, F;
4779
4779
  let L = o;
4780
- if (o === "class" && (L = ".%s"), o === "data" && (L = "[data-%s]"), o != null && o.startsWith("data-") && !o.includes("%s") && (L = `[${o}="%s"]`), j) {
4780
+ if (o === "class" && (L = ".%s"), o === "data" && (L = "[data-%s]"), o != null && o.startsWith("data-") && !o.includes("%s") && (L = `[${o}="%s"]`), M) {
4781
4781
  if (L === "media")
4782
- return e.defaultColorScheme === j ? ":root" : {
4783
- [`@media (prefers-color-scheme: ${((F = (H = l[j]) == null ? void 0 : H.palette) == null ? void 0 : F.mode) || j})`]: {
4784
- ":root": R
4782
+ return e.defaultColorScheme === M ? ":root" : {
4783
+ [`@media (prefers-color-scheme: ${((F = (W = l[M]) == null ? void 0 : W.palette) == null ? void 0 : F.mode) || M})`]: {
4784
+ ":root": T
4785
4785
  }
4786
4786
  };
4787
4787
  if (L)
4788
- return e.defaultColorScheme === j ? `:root, ${L.replace("%s", String(j))}` : L.replace("%s", String(j));
4788
+ return e.defaultColorScheme === M ? `:root, ${L.replace("%s", String(M))}` : L.replace("%s", String(M));
4789
4789
  }
4790
4790
  return ":root";
4791
4791
  }
4792
4792
  return {
4793
4793
  vars: E,
4794
4794
  generateThemeVars: () => {
4795
- let j = {
4796
- ...w
4795
+ let M = {
4796
+ ...x
4797
4797
  };
4798
- return Object.entries(v).forEach(([, {
4799
- vars: R
4798
+ return Object.entries(C).forEach(([, {
4799
+ vars: T
4800
4800
  }]) => {
4801
- j = me(j, R);
4802
- }), j;
4801
+ M = me(M, T);
4802
+ }), M;
4803
4803
  },
4804
4804
  generateStyleSheets: () => {
4805
- var re, le;
4806
- const j = [], R = e.defaultColorScheme || "light";
4807
- function L(W, c) {
4808
- Object.keys(c).length && j.push(typeof W == "string" ? {
4809
- [W]: {
4805
+ var q, le;
4806
+ const M = [], T = e.defaultColorScheme || "light";
4807
+ function L(H, c) {
4808
+ Object.keys(c).length && M.push(typeof H == "string" ? {
4809
+ [H]: {
4810
4810
  ...c
4811
4811
  }
4812
- } : W);
4812
+ } : H);
4813
4813
  }
4814
4814
  L(t(void 0, {
4815
- ...C
4816
- }), C);
4815
+ ...w
4816
+ }), w);
4817
4817
  const {
4818
- [R]: H,
4818
+ [T]: W,
4819
4819
  ...F
4820
- } = v;
4821
- if (H) {
4820
+ } = C;
4821
+ if (W) {
4822
4822
  const {
4823
- css: W
4824
- } = H, c = (le = (re = l[R]) == null ? void 0 : re.palette) == null ? void 0 : le.mode, M = !n && c ? {
4823
+ css: H
4824
+ } = W, c = (le = (q = l[T]) == null ? void 0 : q.palette) == null ? void 0 : le.mode, $ = !n && c ? {
4825
4825
  colorScheme: c,
4826
- ...W
4826
+ ...H
4827
4827
  } : {
4828
- ...W
4828
+ ...H
4829
4829
  };
4830
- L(t(R, {
4831
- ...M
4832
- }), M);
4830
+ L(t(T, {
4831
+ ...$
4832
+ }), $);
4833
4833
  }
4834
- return Object.entries(F).forEach(([W, {
4834
+ return Object.entries(F).forEach(([H, {
4835
4835
  css: c
4836
4836
  }]) => {
4837
4837
  var N, D;
4838
- const M = (D = (N = l[W]) == null ? void 0 : N.palette) == null ? void 0 : D.mode, O = !n && M ? {
4839
- colorScheme: M,
4838
+ const $ = (D = (N = l[H]) == null ? void 0 : N.palette) == null ? void 0 : D.mode, O = !n && $ ? {
4839
+ colorScheme: $,
4840
4840
  ...c
4841
4841
  } : {
4842
4842
  ...c
4843
4843
  };
4844
- L(t(W, {
4844
+ L(t(H, {
4845
4845
  ...O
4846
4846
  }), O);
4847
- }), a && j.push({
4847
+ }), a && M.push({
4848
4848
  ":root": {
4849
4849
  // use double underscore to indicate that these are private variables
4850
4850
  "--__l-threshold": "0.7",
@@ -4852,7 +4852,7 @@ function Mi(e, r = {}) {
4852
4852
  "--__a": "clamp(0.87, (l / var(--__l-threshold) - 1) * -infinity, 1)"
4853
4853
  // 0.87 is the default alpha value for black text.
4854
4854
  }
4855
- }), j;
4855
+ }), M;
4856
4856
  }
4857
4857
  };
4858
4858
  }
@@ -5073,14 +5073,14 @@ function St(e) {
5073
5073
  tonalOffset: n = 0.2,
5074
5074
  colorSpace: o,
5075
5075
  ...a
5076
- } = e, l = e.primary || Ni(r), u = e.secondary || Di(r), f = e.error || Bi(r), h = e.info || Vi(r), w = e.success || Fi(r), C = e.warning || zi(r);
5077
- function x(_) {
5076
+ } = e, l = e.primary || Ni(r), u = e.secondary || Di(r), p = e.error || Bi(r), g = e.info || Vi(r), x = e.success || Fi(r), w = e.warning || zi(r);
5077
+ function S(_) {
5078
5078
  if (o)
5079
5079
  return Wi(_);
5080
5080
  const U = Xt(_, ft.text.primary) >= t ? ft.text.primary : Un.text.primary;
5081
5081
  if (process.env.NODE_ENV !== "production") {
5082
- const B = Xt(_, U);
5083
- B < 3 && console.error([`MUI: The contrast ratio of ${B}:1 for ${U} on ${_}`, "falls below the WCAG recommended absolute minimum contrast ratio of 3:1.", "https://www.w3.org/TR/2008/REC-WCAG20-20081211/#visual-audio-contrast-contrast"].join(`
5082
+ const V = Xt(_, U);
5083
+ V < 3 && console.error([`MUI: The contrast ratio of ${V}:1 for ${U} on ${_}`, "falls below the WCAG recommended absolute minimum contrast ratio of 3:1.", "https://www.w3.org/TR/2008/REC-WCAG20-20081211/#visual-audio-contrast-contrast"].join(`
5084
5084
  `));
5085
5085
  }
5086
5086
  return U;
@@ -5088,15 +5088,15 @@ function St(e) {
5088
5088
  const E = ({
5089
5089
  color: _,
5090
5090
  name: U,
5091
- mainShade: B = 500,
5092
- lightShade: V = 300,
5093
- darkShade: j = 700
5091
+ mainShade: V = 500,
5092
+ lightShade: B = 300,
5093
+ darkShade: M = 700
5094
5094
  }) => {
5095
5095
  if (_ = {
5096
5096
  ..._
5097
- }, !_.main && _[B] && (_.main = _[B]), !_.hasOwnProperty("main"))
5097
+ }, !_.main && _[V] && (_.main = _[V]), !_.hasOwnProperty("main"))
5098
5098
  throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${U ? ` (${U})` : ""} provided to augmentColor(color) is invalid.
5099
- The color object needs to have a \`main\` property or a \`${B}\` property.` : ze(11, U ? ` (${U})` : "", B));
5099
+ The color object needs to have a \`main\` property or a \`${V}\` property.` : ze(11, U ? ` (${U})` : "", V));
5100
5100
  if (typeof _.main != "string")
5101
5101
  throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${U ? ` (${U})` : ""} provided to augmentColor(color) is invalid.
5102
5102
  \`color.main\` should be a string, but \`${JSON.stringify(_.main)}\` was provided instead.
@@ -5112,10 +5112,10 @@ const theme1 = createTheme({ palette: {
5112
5112
  const theme2 = createTheme({ palette: {
5113
5113
  primary: { main: green[500] },
5114
5114
  } });` : ze(12, U ? ` (${U})` : "", JSON.stringify(_.main)));
5115
- return o ? (nn(o, _, "light", V, n), nn(o, _, "dark", j, n)) : (tn(_, "light", V, n), tn(_, "dark", j, n)), _.contrastText || (_.contrastText = x(_.main)), _;
5115
+ return o ? (nn(o, _, "light", B, n), nn(o, _, "dark", M, n)) : (tn(_, "light", B, n), tn(_, "dark", M, n)), _.contrastText || (_.contrastText = S(_.main)), _;
5116
5116
  };
5117
- let v;
5118
- return r === "light" ? v = Mn() : r === "dark" && (v = Ln()), process.env.NODE_ENV !== "production" && (v || console.error(`MUI: The palette mode \`${r}\` is not supported.`)), me({
5117
+ let C;
5118
+ return r === "light" ? C = Mn() : r === "dark" && (C = Ln()), process.env.NODE_ENV !== "production" && (C || console.error(`MUI: The palette mode \`${r}\` is not supported.`)), me({
5119
5119
  // A collection of common colors.
5120
5120
  common: {
5121
5121
  ...lr
@@ -5138,22 +5138,22 @@ const theme2 = createTheme({ palette: {
5138
5138
  }),
5139
5139
  // The colors used to represent interface elements that the user should be made aware of.
5140
5140
  error: E({
5141
- color: f,
5141
+ color: p,
5142
5142
  name: "error"
5143
5143
  }),
5144
5144
  // The colors used to represent potentially dangerous actions or important messages.
5145
5145
  warning: E({
5146
- color: C,
5146
+ color: w,
5147
5147
  name: "warning"
5148
5148
  }),
5149
5149
  // The colors used to present information to the user that is neutral and not necessarily important.
5150
5150
  info: E({
5151
- color: h,
5151
+ color: g,
5152
5152
  name: "info"
5153
5153
  }),
5154
5154
  // The colors used to indicate the successful completion of an action that user triggered.
5155
5155
  success: E({
5156
- color: w,
5156
+ color: x,
5157
5157
  name: "success"
5158
5158
  }),
5159
5159
  // The grey colors.
@@ -5162,7 +5162,7 @@ const theme2 = createTheme({ palette: {
5162
5162
  // the background and the text.
5163
5163
  contrastThreshold: t,
5164
5164
  // Takes a background color and returns the text color that maximizes the contrast.
5165
- getContrastText: x,
5165
+ getContrastText: S,
5166
5166
  // Generate a rich color object.
5167
5167
  augmentColor: E,
5168
5168
  // Used by the functions below to shift a color's luminance by approximately
@@ -5170,7 +5170,7 @@ const theme2 = createTheme({ palette: {
5170
5170
  // E.g., shift from Red 500 to Red 300 or Red 700.
5171
5171
  tonalOffset: n,
5172
5172
  // The light and dark mode object.
5173
- ...v
5173
+ ...C
5174
5174
  }, a);
5175
5175
  }
5176
5176
  function Hi(e) {
@@ -5214,40 +5214,40 @@ function Ji(e, r) {
5214
5214
  fontWeightBold: u = 700,
5215
5215
  // Tell MUI what's the font-size on the html element.
5216
5216
  // 16px is the default font-size used by browsers.
5217
- htmlFontSize: f = 16,
5217
+ htmlFontSize: p = 16,
5218
5218
  // Apply the CSS properties to all the variants.
5219
- allVariants: h,
5220
- pxToRem: w,
5221
- ...C
5219
+ allVariants: g,
5220
+ pxToRem: x,
5221
+ ...w
5222
5222
  } = typeof r == "function" ? r(e) : r;
5223
- process.env.NODE_ENV !== "production" && (typeof n != "number" && console.error("MUI: `fontSize` is required to be a number."), typeof f != "number" && console.error("MUI: `htmlFontSize` is required to be a number."));
5224
- const x = n / 14, E = w || ((_) => `${_ / f * x}rem`), v = (_, U, B, V, j) => ({
5223
+ process.env.NODE_ENV !== "production" && (typeof n != "number" && console.error("MUI: `fontSize` is required to be a number."), typeof p != "number" && console.error("MUI: `htmlFontSize` is required to be a number."));
5224
+ const S = n / 14, E = x || ((_) => `${_ / p * S}rem`), C = (_, U, V, B, M) => ({
5225
5225
  fontFamily: t,
5226
5226
  fontWeight: _,
5227
5227
  fontSize: E(U),
5228
5228
  // Unitless following https://meyerweb.com/eric/thoughts/2006/02/08/unitless-line-heights/
5229
- lineHeight: B,
5229
+ lineHeight: V,
5230
5230
  // The letter spacing was designed for the Roboto font-family. Using the same letter-spacing
5231
5231
  // across font-families can cause issues with the kerning.
5232
5232
  ...t === an ? {
5233
- letterSpacing: `${Ki(V / U)}em`
5233
+ letterSpacing: `${Ki(B / U)}em`
5234
5234
  } : {},
5235
- ...j,
5236
- ...h
5237
- }), p = {
5238
- h1: v(o, 96, 1.167, -1.5),
5239
- h2: v(o, 60, 1.2, -0.5),
5240
- h3: v(a, 48, 1.167, 0),
5241
- h4: v(a, 34, 1.235, 0.25),
5242
- h5: v(a, 24, 1.334, 0),
5243
- h6: v(l, 20, 1.6, 0.15),
5244
- subtitle1: v(a, 16, 1.75, 0.15),
5245
- subtitle2: v(l, 14, 1.57, 0.1),
5246
- body1: v(a, 16, 1.5, 0.15),
5247
- body2: v(a, 14, 1.43, 0.15),
5248
- button: v(l, 14, 1.75, 0.4, on),
5249
- caption: v(a, 12, 1.66, 0.4),
5250
- overline: v(a, 12, 2.66, 1, on),
5235
+ ...M,
5236
+ ...g
5237
+ }), d = {
5238
+ h1: C(o, 96, 1.167, -1.5),
5239
+ h2: C(o, 60, 1.2, -0.5),
5240
+ h3: C(a, 48, 1.167, 0),
5241
+ h4: C(a, 34, 1.235, 0.25),
5242
+ h5: C(a, 24, 1.334, 0),
5243
+ h6: C(l, 20, 1.6, 0.15),
5244
+ subtitle1: C(a, 16, 1.75, 0.15),
5245
+ subtitle2: C(l, 14, 1.57, 0.1),
5246
+ body1: C(a, 16, 1.5, 0.15),
5247
+ body2: C(a, 14, 1.43, 0.15),
5248
+ button: C(l, 14, 1.75, 0.4, on),
5249
+ caption: C(a, 12, 1.66, 0.4),
5250
+ overline: C(a, 12, 2.66, 1, on),
5251
5251
  // TODO v6: Remove handling of 'inherit' variant from the theme as it is already handled in Material UI's Typography component. Also, remember to remove the associated types.
5252
5252
  inherit: {
5253
5253
  fontFamily: "inherit",
@@ -5258,7 +5258,7 @@ function Ji(e, r) {
5258
5258
  }
5259
5259
  };
5260
5260
  return me({
5261
- htmlFontSize: f,
5261
+ htmlFontSize: p,
5262
5262
  pxToRem: E,
5263
5263
  fontFamily: t,
5264
5264
  fontSize: n,
@@ -5266,8 +5266,8 @@ function Ji(e, r) {
5266
5266
  fontWeightRegular: a,
5267
5267
  fontWeightMedium: l,
5268
5268
  fontWeightBold: u,
5269
- ...p
5270
- }, C, {
5269
+ ...d
5270
+ }, w, {
5271
5271
  clone: !1
5272
5272
  // No need to clone deep
5273
5273
  });
@@ -5322,15 +5322,15 @@ function ts(e) {
5322
5322
  const {
5323
5323
  duration: l = t.standard,
5324
5324
  easing: u = r.easeInOut,
5325
- delay: f = 0,
5326
- ...h
5325
+ delay: p = 0,
5326
+ ...g
5327
5327
  } = a;
5328
5328
  if (process.env.NODE_ENV !== "production") {
5329
- const w = (x) => typeof x == "string", C = (x) => !Number.isNaN(parseFloat(x));
5330
- !w(o) && !Array.isArray(o) && console.error('MUI: Argument "props" must be a string or Array.'), !C(l) && !w(l) && console.error(`MUI: Argument "duration" must be a number or a string but found ${l}.`), w(u) || console.error('MUI: Argument "easing" must be a string.'), !C(f) && !w(f) && console.error('MUI: Argument "delay" must be a number or a string.'), typeof a != "object" && console.error(["MUI: Secong argument of transition.create must be an object.", "Arguments should be either `create('prop1', options)` or `create(['prop1', 'prop2'], options)`"].join(`
5331
- `)), Object.keys(h).length !== 0 && console.error(`MUI: Unrecognized argument(s) [${Object.keys(h).join(",")}].`);
5329
+ const x = (S) => typeof S == "string", w = (S) => !Number.isNaN(parseFloat(S));
5330
+ !x(o) && !Array.isArray(o) && console.error('MUI: Argument "props" must be a string or Array.'), !w(l) && !x(l) && console.error(`MUI: Argument "duration" must be a number or a string but found ${l}.`), x(u) || console.error('MUI: Argument "easing" must be a string.'), !w(p) && !x(p) && console.error('MUI: Argument "delay" must be a number or a string.'), typeof a != "object" && console.error(["MUI: Secong argument of transition.create must be an object.", "Arguments should be either `create('prop1', options)` or `create(['prop1', 'prop2'], options)`"].join(`
5331
+ `)), Object.keys(g).length !== 0 && console.error(`MUI: Unrecognized argument(s) [${Object.keys(g).join(",")}].`);
5332
5332
  }
5333
- return (Array.isArray(o) ? o : [o]).map((w) => `${w} ${typeof l == "string" ? l : sn(l)} ${u} ${typeof f == "string" ? f : sn(f)}`).join(",");
5333
+ return (Array.isArray(o) ? o : [o]).map((x) => `${x} ${typeof l == "string" ? l : sn(l)} ${u} ${typeof p == "string" ? p : sn(p)}`).join(",");
5334
5334
  },
5335
5335
  ...e,
5336
5336
  easing: r,
@@ -5410,59 +5410,59 @@ function pt(e = {}, ...r) {
5410
5410
  palette: a = {},
5411
5411
  transitions: l = {},
5412
5412
  typography: u = {},
5413
- shape: f,
5414
- colorSpace: h,
5415
- ...w
5413
+ shape: p,
5414
+ colorSpace: g,
5415
+ ...x
5416
5416
  } = e;
5417
5417
  if (e.vars && // The error should throw only for the root theme creation because user is not allowed to use a custom node `vars`.
5418
5418
  // `generateThemeVars` is the closest identifier for checking that the `options` is a result of `createTheme` with CSS variables so that user can create new theme for nested ThemeProvider.
5419
5419
  e.generateThemeVars === void 0)
5420
5420
  throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `vars` is a private field used for CSS variables support.\nPlease use another name or follow the [docs](https://mui.com/material-ui/customization/css-theme-variables/usage/) to enable the feature." : ze(20));
5421
- const C = St({
5421
+ const w = St({
5422
5422
  ...a,
5423
- colorSpace: h
5424
- }), x = Rn(e);
5425
- let E = me(x, {
5426
- mixins: Qi(x.breakpoints, n),
5427
- palette: C,
5423
+ colorSpace: g
5424
+ }), S = Rn(e);
5425
+ let E = me(S, {
5426
+ mixins: Qi(S.breakpoints, n),
5427
+ palette: w,
5428
5428
  // Don't use [...shadows] until you've verified its transpiled code is not invoking the iterator protocol.
5429
5429
  shadows: Zi.slice(),
5430
- typography: Ji(C, u),
5430
+ typography: Ji(w, u),
5431
5431
  transitions: ts(l),
5432
5432
  zIndex: {
5433
5433
  ...ns
5434
5434
  }
5435
5435
  });
5436
- if (E = me(E, w), E = r.reduce((v, p) => me(v, p), E), process.env.NODE_ENV !== "production") {
5437
- const v = ["active", "checked", "completed", "disabled", "error", "expanded", "focused", "focusVisible", "required", "selected"], p = (_, U) => {
5438
- let B;
5439
- for (B in _) {
5440
- const V = _[B];
5441
- if (v.includes(B) && Object.keys(V).length > 0) {
5436
+ if (E = me(E, x), E = r.reduce((C, d) => me(C, d), E), process.env.NODE_ENV !== "production") {
5437
+ const C = ["active", "checked", "completed", "disabled", "error", "expanded", "focused", "focusVisible", "required", "selected"], d = (_, U) => {
5438
+ let V;
5439
+ for (V in _) {
5440
+ const B = _[V];
5441
+ if (C.includes(V) && Object.keys(B).length > 0) {
5442
5442
  if (process.env.NODE_ENV !== "production") {
5443
- const j = vt("", B);
5444
- console.error([`MUI: The \`${U}\` component increases the CSS specificity of the \`${B}\` internal state.`, "You can not override it like this: ", JSON.stringify(_, null, 2), "", `Instead, you need to use the '&.${j}' syntax:`, JSON.stringify({
5443
+ const M = vt("", V);
5444
+ console.error([`MUI: The \`${U}\` component increases the CSS specificity of the \`${V}\` internal state.`, "You can not override it like this: ", JSON.stringify(_, null, 2), "", `Instead, you need to use the '&.${M}' syntax:`, JSON.stringify({
5445
5445
  root: {
5446
- [`&.${j}`]: V
5446
+ [`&.${M}`]: B
5447
5447
  }
5448
5448
  }, null, 2), "", "https://mui.com/r/state-classes-guide"].join(`
5449
5449
  `));
5450
5450
  }
5451
- _[B] = {};
5451
+ _[V] = {};
5452
5452
  }
5453
5453
  }
5454
5454
  };
5455
5455
  Object.keys(E.components).forEach((_) => {
5456
5456
  const U = E.components[_].styleOverrides;
5457
- U && _.startsWith("Mui") && p(U, _);
5457
+ U && _.startsWith("Mui") && d(U, _);
5458
5458
  });
5459
5459
  }
5460
5460
  return E.unstable_sxConfig = {
5461
5461
  ...Nr,
5462
- ...w == null ? void 0 : w.unstable_sxConfig
5463
- }, E.unstable_sx = function(p) {
5462
+ ...x == null ? void 0 : x.unstable_sxConfig
5463
+ }, E.unstable_sx = function(d) {
5464
5464
  return er({
5465
- sx: p,
5465
+ sx: d,
5466
5466
  theme: this
5467
5467
  });
5468
5468
  }, E.toRuntimeSource = Nn, is(E), E;
@@ -5559,7 +5559,7 @@ function ps(e, r) {
5559
5559
  e[t] || (e[t] = {});
5560
5560
  });
5561
5561
  }
5562
- function S(e, r, t) {
5562
+ function v(e, r, t) {
5563
5563
  !e[r] && t && (e[r] = t);
5564
5564
  }
5565
5565
  function ir(e) {
@@ -5625,67 +5625,67 @@ function gs(e = {}, ...r) {
5625
5625
  cssVarPrefix: a = "mui",
5626
5626
  nativeColor: l = !1,
5627
5627
  shouldSkipGeneratingVar: u = us,
5628
- colorSchemeSelector: f = t.light && t.dark ? "media" : void 0,
5629
- rootSelector: h = ":root",
5630
- ...w
5631
- } = e, C = Object.keys(t)[0], x = n || (t.light && C !== "light" ? "light" : C), E = hs(a), {
5632
- [x]: v,
5633
- light: p,
5628
+ colorSchemeSelector: p = t.light && t.dark ? "media" : void 0,
5629
+ rootSelector: g = ":root",
5630
+ ...x
5631
+ } = e, w = Object.keys(t)[0], S = n || (t.light && w !== "light" ? "light" : w), E = hs(a), {
5632
+ [S]: C,
5633
+ light: d,
5634
5634
  dark: _,
5635
5635
  ...U
5636
- } = t, B = {
5636
+ } = t, V = {
5637
5637
  ...U
5638
5638
  };
5639
- let V = v;
5640
- if ((x === "dark" && !("dark" in t) || x === "light" && !("light" in t)) && (V = !0), !V)
5641
- throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The \`colorSchemes.${x}\` option is either missing or invalid.` : ze(21, x));
5642
- let j;
5643
- l && (j = "oklch");
5644
- const R = Xr(j, B, V, w, x);
5645
- p && !B.light && Xr(j, B, p, void 0, "light"), _ && !B.dark && Xr(j, B, _, void 0, "dark");
5639
+ let B = C;
5640
+ if ((S === "dark" && !("dark" in t) || S === "light" && !("light" in t)) && (B = !0), !B)
5641
+ throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The \`colorSchemes.${S}\` option is either missing or invalid.` : ze(21, S));
5642
+ let M;
5643
+ l && (M = "oklch");
5644
+ const T = Xr(M, V, B, x, S);
5645
+ d && !V.light && Xr(M, V, d, void 0, "light"), _ && !V.dark && Xr(M, V, _, void 0, "dark");
5646
5646
  let L = {
5647
- defaultColorScheme: x,
5648
- ...R,
5647
+ defaultColorScheme: S,
5648
+ ...T,
5649
5649
  cssVarPrefix: a,
5650
- colorSchemeSelector: f,
5651
- rootSelector: h,
5650
+ colorSchemeSelector: p,
5651
+ rootSelector: g,
5652
5652
  getCssVar: E,
5653
- colorSchemes: B,
5653
+ colorSchemes: V,
5654
5654
  font: {
5655
- ...Hi(R.typography),
5656
- ...R.font
5655
+ ...Hi(T.typography),
5656
+ ...T.font
5657
5657
  },
5658
- spacing: ms(w.spacing)
5658
+ spacing: ms(x.spacing)
5659
5659
  };
5660
- Object.keys(L.colorSchemes).forEach((W) => {
5661
- const c = L.colorSchemes[W].palette, M = (N) => {
5660
+ Object.keys(L.colorSchemes).forEach((H) => {
5661
+ const c = L.colorSchemes[H].palette, $ = (N) => {
5662
5662
  const D = N.split("-"), J = D[1], ne = D[2];
5663
5663
  return E(N, c[J][ne]);
5664
5664
  };
5665
- c.mode === "light" && (S(c.common, "background", "#fff"), S(c.common, "onBackground", "#000")), c.mode === "dark" && (S(c.common, "background", "#000"), S(c.common, "onBackground", "#fff"));
5665
+ c.mode === "light" && (v(c.common, "background", "#fff"), v(c.common, "onBackground", "#000")), c.mode === "dark" && (v(c.common, "background", "#000"), v(c.common, "onBackground", "#fff"));
5666
5666
  function O(N, D, J) {
5667
- if (j) {
5667
+ if (M) {
5668
5668
  let ne;
5669
- return N === De && (ne = `transparent ${((1 - J) * 100).toFixed(0)}%`), N === q && (ne = `#000 ${(J * 100).toFixed(0)}%`), N === Z && (ne = `#fff ${(J * 100).toFixed(0)}%`), `color-mix(in ${j}, ${D}, ${ne})`;
5669
+ return N === De && (ne = `transparent ${((1 - J) * 100).toFixed(0)}%`), N === Z && (ne = `#000 ${(J * 100).toFixed(0)}%`), N === X && (ne = `#fff ${(J * 100).toFixed(0)}%`), `color-mix(in ${M}, ${D}, ${ne})`;
5670
5670
  }
5671
5671
  return N(D, J);
5672
5672
  }
5673
5673
  if (ps(c, ["Alert", "AppBar", "Avatar", "Button", "Chip", "FilledInput", "LinearProgress", "Skeleton", "Slider", "SnackbarContent", "SpeedDialAction", "StepConnector", "StepContent", "Switch", "TableCell", "Tooltip"]), c.mode === "light") {
5674
- S(c.Alert, "errorColor", O(q, c.error.light, 0.6)), S(c.Alert, "infoColor", O(q, c.info.light, 0.6)), S(c.Alert, "successColor", O(q, c.success.light, 0.6)), S(c.Alert, "warningColor", O(q, c.warning.light, 0.6)), S(c.Alert, "errorFilledBg", M("palette-error-main")), S(c.Alert, "infoFilledBg", M("palette-info-main")), S(c.Alert, "successFilledBg", M("palette-success-main")), S(c.Alert, "warningFilledBg", M("palette-warning-main")), S(c.Alert, "errorFilledColor", ve(() => c.getContrastText(c.error.main))), S(c.Alert, "infoFilledColor", ve(() => c.getContrastText(c.info.main))), S(c.Alert, "successFilledColor", ve(() => c.getContrastText(c.success.main))), S(c.Alert, "warningFilledColor", ve(() => c.getContrastText(c.warning.main))), S(c.Alert, "errorStandardBg", O(Z, c.error.light, 0.9)), S(c.Alert, "infoStandardBg", O(Z, c.info.light, 0.9)), S(c.Alert, "successStandardBg", O(Z, c.success.light, 0.9)), S(c.Alert, "warningStandardBg", O(Z, c.warning.light, 0.9)), S(c.Alert, "errorIconColor", M("palette-error-main")), S(c.Alert, "infoIconColor", M("palette-info-main")), S(c.Alert, "successIconColor", M("palette-success-main")), S(c.Alert, "warningIconColor", M("palette-warning-main")), S(c.AppBar, "defaultBg", M("palette-grey-100")), S(c.Avatar, "defaultBg", M("palette-grey-400")), S(c.Button, "inheritContainedBg", M("palette-grey-300")), S(c.Button, "inheritContainedHoverBg", M("palette-grey-A100")), S(c.Chip, "defaultBorder", M("palette-grey-400")), S(c.Chip, "defaultAvatarColor", M("palette-grey-700")), S(c.Chip, "defaultIconColor", M("palette-grey-700")), S(c.FilledInput, "bg", "rgba(0, 0, 0, 0.06)"), S(c.FilledInput, "hoverBg", "rgba(0, 0, 0, 0.09)"), S(c.FilledInput, "disabledBg", "rgba(0, 0, 0, 0.12)"), S(c.LinearProgress, "primaryBg", O(Z, c.primary.main, 0.62)), S(c.LinearProgress, "secondaryBg", O(Z, c.secondary.main, 0.62)), S(c.LinearProgress, "errorBg", O(Z, c.error.main, 0.62)), S(c.LinearProgress, "infoBg", O(Z, c.info.main, 0.62)), S(c.LinearProgress, "successBg", O(Z, c.success.main, 0.62)), S(c.LinearProgress, "warningBg", O(Z, c.warning.main, 0.62)), S(c.Skeleton, "bg", j ? O(De, c.text.primary, 0.11) : `rgba(${M("palette-text-primaryChannel")} / 0.11)`), S(c.Slider, "primaryTrack", O(Z, c.primary.main, 0.62)), S(c.Slider, "secondaryTrack", O(Z, c.secondary.main, 0.62)), S(c.Slider, "errorTrack", O(Z, c.error.main, 0.62)), S(c.Slider, "infoTrack", O(Z, c.info.main, 0.62)), S(c.Slider, "successTrack", O(Z, c.success.main, 0.62)), S(c.Slider, "warningTrack", O(Z, c.warning.main, 0.62));
5675
- const N = j ? O(q, c.background.default, 0.6825) : gr(c.background.default, 0.8);
5676
- S(c.SnackbarContent, "bg", N), S(c.SnackbarContent, "color", ve(() => j ? ft.text.primary : c.getContrastText(N))), S(c.SpeedDialAction, "fabHoverBg", gr(c.background.paper, 0.15)), S(c.StepConnector, "border", M("palette-grey-400")), S(c.StepContent, "border", M("palette-grey-400")), S(c.Switch, "defaultColor", M("palette-common-white")), S(c.Switch, "defaultDisabledColor", M("palette-grey-100")), S(c.Switch, "primaryDisabledColor", O(Z, c.primary.main, 0.62)), S(c.Switch, "secondaryDisabledColor", O(Z, c.secondary.main, 0.62)), S(c.Switch, "errorDisabledColor", O(Z, c.error.main, 0.62)), S(c.Switch, "infoDisabledColor", O(Z, c.info.main, 0.62)), S(c.Switch, "successDisabledColor", O(Z, c.success.main, 0.62)), S(c.Switch, "warningDisabledColor", O(Z, c.warning.main, 0.62)), S(c.TableCell, "border", O(Z, O(De, c.divider, 1), 0.88)), S(c.Tooltip, "bg", O(De, c.grey[700], 0.92));
5674
+ v(c.Alert, "errorColor", O(Z, c.error.light, 0.6)), v(c.Alert, "infoColor", O(Z, c.info.light, 0.6)), v(c.Alert, "successColor", O(Z, c.success.light, 0.6)), v(c.Alert, "warningColor", O(Z, c.warning.light, 0.6)), v(c.Alert, "errorFilledBg", $("palette-error-main")), v(c.Alert, "infoFilledBg", $("palette-info-main")), v(c.Alert, "successFilledBg", $("palette-success-main")), v(c.Alert, "warningFilledBg", $("palette-warning-main")), v(c.Alert, "errorFilledColor", ve(() => c.getContrastText(c.error.main))), v(c.Alert, "infoFilledColor", ve(() => c.getContrastText(c.info.main))), v(c.Alert, "successFilledColor", ve(() => c.getContrastText(c.success.main))), v(c.Alert, "warningFilledColor", ve(() => c.getContrastText(c.warning.main))), v(c.Alert, "errorStandardBg", O(X, c.error.light, 0.9)), v(c.Alert, "infoStandardBg", O(X, c.info.light, 0.9)), v(c.Alert, "successStandardBg", O(X, c.success.light, 0.9)), v(c.Alert, "warningStandardBg", O(X, c.warning.light, 0.9)), v(c.Alert, "errorIconColor", $("palette-error-main")), v(c.Alert, "infoIconColor", $("palette-info-main")), v(c.Alert, "successIconColor", $("palette-success-main")), v(c.Alert, "warningIconColor", $("palette-warning-main")), v(c.AppBar, "defaultBg", $("palette-grey-100")), v(c.Avatar, "defaultBg", $("palette-grey-400")), v(c.Button, "inheritContainedBg", $("palette-grey-300")), v(c.Button, "inheritContainedHoverBg", $("palette-grey-A100")), v(c.Chip, "defaultBorder", $("palette-grey-400")), v(c.Chip, "defaultAvatarColor", $("palette-grey-700")), v(c.Chip, "defaultIconColor", $("palette-grey-700")), v(c.FilledInput, "bg", "rgba(0, 0, 0, 0.06)"), v(c.FilledInput, "hoverBg", "rgba(0, 0, 0, 0.09)"), v(c.FilledInput, "disabledBg", "rgba(0, 0, 0, 0.12)"), v(c.LinearProgress, "primaryBg", O(X, c.primary.main, 0.62)), v(c.LinearProgress, "secondaryBg", O(X, c.secondary.main, 0.62)), v(c.LinearProgress, "errorBg", O(X, c.error.main, 0.62)), v(c.LinearProgress, "infoBg", O(X, c.info.main, 0.62)), v(c.LinearProgress, "successBg", O(X, c.success.main, 0.62)), v(c.LinearProgress, "warningBg", O(X, c.warning.main, 0.62)), v(c.Skeleton, "bg", M ? O(De, c.text.primary, 0.11) : `rgba(${$("palette-text-primaryChannel")} / 0.11)`), v(c.Slider, "primaryTrack", O(X, c.primary.main, 0.62)), v(c.Slider, "secondaryTrack", O(X, c.secondary.main, 0.62)), v(c.Slider, "errorTrack", O(X, c.error.main, 0.62)), v(c.Slider, "infoTrack", O(X, c.info.main, 0.62)), v(c.Slider, "successTrack", O(X, c.success.main, 0.62)), v(c.Slider, "warningTrack", O(X, c.warning.main, 0.62));
5675
+ const N = M ? O(Z, c.background.default, 0.6825) : gr(c.background.default, 0.8);
5676
+ v(c.SnackbarContent, "bg", N), v(c.SnackbarContent, "color", ve(() => M ? ft.text.primary : c.getContrastText(N))), v(c.SpeedDialAction, "fabHoverBg", gr(c.background.paper, 0.15)), v(c.StepConnector, "border", $("palette-grey-400")), v(c.StepContent, "border", $("palette-grey-400")), v(c.Switch, "defaultColor", $("palette-common-white")), v(c.Switch, "defaultDisabledColor", $("palette-grey-100")), v(c.Switch, "primaryDisabledColor", O(X, c.primary.main, 0.62)), v(c.Switch, "secondaryDisabledColor", O(X, c.secondary.main, 0.62)), v(c.Switch, "errorDisabledColor", O(X, c.error.main, 0.62)), v(c.Switch, "infoDisabledColor", O(X, c.info.main, 0.62)), v(c.Switch, "successDisabledColor", O(X, c.success.main, 0.62)), v(c.Switch, "warningDisabledColor", O(X, c.warning.main, 0.62)), v(c.TableCell, "border", O(X, O(De, c.divider, 1), 0.88)), v(c.Tooltip, "bg", O(De, c.grey[700], 0.92));
5677
5677
  }
5678
5678
  if (c.mode === "dark") {
5679
- S(c.Alert, "errorColor", O(Z, c.error.light, 0.6)), S(c.Alert, "infoColor", O(Z, c.info.light, 0.6)), S(c.Alert, "successColor", O(Z, c.success.light, 0.6)), S(c.Alert, "warningColor", O(Z, c.warning.light, 0.6)), S(c.Alert, "errorFilledBg", M("palette-error-dark")), S(c.Alert, "infoFilledBg", M("palette-info-dark")), S(c.Alert, "successFilledBg", M("palette-success-dark")), S(c.Alert, "warningFilledBg", M("palette-warning-dark")), S(c.Alert, "errorFilledColor", ve(() => c.getContrastText(c.error.dark))), S(c.Alert, "infoFilledColor", ve(() => c.getContrastText(c.info.dark))), S(c.Alert, "successFilledColor", ve(() => c.getContrastText(c.success.dark))), S(c.Alert, "warningFilledColor", ve(() => c.getContrastText(c.warning.dark))), S(c.Alert, "errorStandardBg", O(q, c.error.light, 0.9)), S(c.Alert, "infoStandardBg", O(q, c.info.light, 0.9)), S(c.Alert, "successStandardBg", O(q, c.success.light, 0.9)), S(c.Alert, "warningStandardBg", O(q, c.warning.light, 0.9)), S(c.Alert, "errorIconColor", M("palette-error-main")), S(c.Alert, "infoIconColor", M("palette-info-main")), S(c.Alert, "successIconColor", M("palette-success-main")), S(c.Alert, "warningIconColor", M("palette-warning-main")), S(c.AppBar, "defaultBg", M("palette-grey-900")), S(c.AppBar, "darkBg", M("palette-background-paper")), S(c.AppBar, "darkColor", M("palette-text-primary")), S(c.Avatar, "defaultBg", M("palette-grey-600")), S(c.Button, "inheritContainedBg", M("palette-grey-800")), S(c.Button, "inheritContainedHoverBg", M("palette-grey-700")), S(c.Chip, "defaultBorder", M("palette-grey-700")), S(c.Chip, "defaultAvatarColor", M("palette-grey-300")), S(c.Chip, "defaultIconColor", M("palette-grey-300")), S(c.FilledInput, "bg", "rgba(255, 255, 255, 0.09)"), S(c.FilledInput, "hoverBg", "rgba(255, 255, 255, 0.13)"), S(c.FilledInput, "disabledBg", "rgba(255, 255, 255, 0.12)"), S(c.LinearProgress, "primaryBg", O(q, c.primary.main, 0.5)), S(c.LinearProgress, "secondaryBg", O(q, c.secondary.main, 0.5)), S(c.LinearProgress, "errorBg", O(q, c.error.main, 0.5)), S(c.LinearProgress, "infoBg", O(q, c.info.main, 0.5)), S(c.LinearProgress, "successBg", O(q, c.success.main, 0.5)), S(c.LinearProgress, "warningBg", O(q, c.warning.main, 0.5)), S(c.Skeleton, "bg", j ? O(De, c.text.primary, 0.13) : `rgba(${M("palette-text-primaryChannel")} / 0.13)`), S(c.Slider, "primaryTrack", O(q, c.primary.main, 0.5)), S(c.Slider, "secondaryTrack", O(q, c.secondary.main, 0.5)), S(c.Slider, "errorTrack", O(q, c.error.main, 0.5)), S(c.Slider, "infoTrack", O(q, c.info.main, 0.5)), S(c.Slider, "successTrack", O(q, c.success.main, 0.5)), S(c.Slider, "warningTrack", O(q, c.warning.main, 0.5));
5680
- const N = j ? O(Z, c.background.default, 0.985) : gr(c.background.default, 0.98);
5681
- S(c.SnackbarContent, "bg", N), S(c.SnackbarContent, "color", ve(() => j ? Un.text.primary : c.getContrastText(N))), S(c.SpeedDialAction, "fabHoverBg", gr(c.background.paper, 0.15)), S(c.StepConnector, "border", M("palette-grey-600")), S(c.StepContent, "border", M("palette-grey-600")), S(c.Switch, "defaultColor", M("palette-grey-300")), S(c.Switch, "defaultDisabledColor", M("palette-grey-600")), S(c.Switch, "primaryDisabledColor", O(q, c.primary.main, 0.55)), S(c.Switch, "secondaryDisabledColor", O(q, c.secondary.main, 0.55)), S(c.Switch, "errorDisabledColor", O(q, c.error.main, 0.55)), S(c.Switch, "infoDisabledColor", O(q, c.info.main, 0.55)), S(c.Switch, "successDisabledColor", O(q, c.success.main, 0.55)), S(c.Switch, "warningDisabledColor", O(q, c.warning.main, 0.55)), S(c.TableCell, "border", O(q, O(De, c.divider, 1), 0.68)), S(c.Tooltip, "bg", O(De, c.grey[700], 0.92));
5679
+ v(c.Alert, "errorColor", O(X, c.error.light, 0.6)), v(c.Alert, "infoColor", O(X, c.info.light, 0.6)), v(c.Alert, "successColor", O(X, c.success.light, 0.6)), v(c.Alert, "warningColor", O(X, c.warning.light, 0.6)), v(c.Alert, "errorFilledBg", $("palette-error-dark")), v(c.Alert, "infoFilledBg", $("palette-info-dark")), v(c.Alert, "successFilledBg", $("palette-success-dark")), v(c.Alert, "warningFilledBg", $("palette-warning-dark")), v(c.Alert, "errorFilledColor", ve(() => c.getContrastText(c.error.dark))), v(c.Alert, "infoFilledColor", ve(() => c.getContrastText(c.info.dark))), v(c.Alert, "successFilledColor", ve(() => c.getContrastText(c.success.dark))), v(c.Alert, "warningFilledColor", ve(() => c.getContrastText(c.warning.dark))), v(c.Alert, "errorStandardBg", O(Z, c.error.light, 0.9)), v(c.Alert, "infoStandardBg", O(Z, c.info.light, 0.9)), v(c.Alert, "successStandardBg", O(Z, c.success.light, 0.9)), v(c.Alert, "warningStandardBg", O(Z, c.warning.light, 0.9)), v(c.Alert, "errorIconColor", $("palette-error-main")), v(c.Alert, "infoIconColor", $("palette-info-main")), v(c.Alert, "successIconColor", $("palette-success-main")), v(c.Alert, "warningIconColor", $("palette-warning-main")), v(c.AppBar, "defaultBg", $("palette-grey-900")), v(c.AppBar, "darkBg", $("palette-background-paper")), v(c.AppBar, "darkColor", $("palette-text-primary")), v(c.Avatar, "defaultBg", $("palette-grey-600")), v(c.Button, "inheritContainedBg", $("palette-grey-800")), v(c.Button, "inheritContainedHoverBg", $("palette-grey-700")), v(c.Chip, "defaultBorder", $("palette-grey-700")), v(c.Chip, "defaultAvatarColor", $("palette-grey-300")), v(c.Chip, "defaultIconColor", $("palette-grey-300")), v(c.FilledInput, "bg", "rgba(255, 255, 255, 0.09)"), v(c.FilledInput, "hoverBg", "rgba(255, 255, 255, 0.13)"), v(c.FilledInput, "disabledBg", "rgba(255, 255, 255, 0.12)"), v(c.LinearProgress, "primaryBg", O(Z, c.primary.main, 0.5)), v(c.LinearProgress, "secondaryBg", O(Z, c.secondary.main, 0.5)), v(c.LinearProgress, "errorBg", O(Z, c.error.main, 0.5)), v(c.LinearProgress, "infoBg", O(Z, c.info.main, 0.5)), v(c.LinearProgress, "successBg", O(Z, c.success.main, 0.5)), v(c.LinearProgress, "warningBg", O(Z, c.warning.main, 0.5)), v(c.Skeleton, "bg", M ? O(De, c.text.primary, 0.13) : `rgba(${$("palette-text-primaryChannel")} / 0.13)`), v(c.Slider, "primaryTrack", O(Z, c.primary.main, 0.5)), v(c.Slider, "secondaryTrack", O(Z, c.secondary.main, 0.5)), v(c.Slider, "errorTrack", O(Z, c.error.main, 0.5)), v(c.Slider, "infoTrack", O(Z, c.info.main, 0.5)), v(c.Slider, "successTrack", O(Z, c.success.main, 0.5)), v(c.Slider, "warningTrack", O(Z, c.warning.main, 0.5));
5680
+ const N = M ? O(X, c.background.default, 0.985) : gr(c.background.default, 0.98);
5681
+ v(c.SnackbarContent, "bg", N), v(c.SnackbarContent, "color", ve(() => M ? Un.text.primary : c.getContrastText(N))), v(c.SpeedDialAction, "fabHoverBg", gr(c.background.paper, 0.15)), v(c.StepConnector, "border", $("palette-grey-600")), v(c.StepContent, "border", $("palette-grey-600")), v(c.Switch, "defaultColor", $("palette-grey-300")), v(c.Switch, "defaultDisabledColor", $("palette-grey-600")), v(c.Switch, "primaryDisabledColor", O(Z, c.primary.main, 0.55)), v(c.Switch, "secondaryDisabledColor", O(Z, c.secondary.main, 0.55)), v(c.Switch, "errorDisabledColor", O(Z, c.error.main, 0.55)), v(c.Switch, "infoDisabledColor", O(Z, c.info.main, 0.55)), v(c.Switch, "successDisabledColor", O(Z, c.success.main, 0.55)), v(c.Switch, "warningDisabledColor", O(Z, c.warning.main, 0.55)), v(c.TableCell, "border", O(Z, O(De, c.divider, 1), 0.68)), v(c.Tooltip, "bg", O(De, c.grey[700], 0.92));
5682
5682
  }
5683
5683
  ke(c.background, "default"), ke(c.background, "paper"), ke(c.common, "background"), ke(c.common, "onBackground"), ke(c, "divider"), Object.keys(c).forEach((N) => {
5684
5684
  const D = c[N];
5685
- N !== "tonalOffset" && D && typeof D == "object" && (D.main && S(c[N], "mainChannel", ar(ir(D.main))), D.light && S(c[N], "lightChannel", ar(ir(D.light))), D.dark && S(c[N], "darkChannel", ar(ir(D.dark))), D.contrastText && S(c[N], "contrastTextChannel", ar(ir(D.contrastText))), N === "text" && (ke(c[N], "primary"), ke(c[N], "secondary")), N === "action" && (D.active && ke(c[N], "active"), D.selected && ke(c[N], "selected")));
5685
+ N !== "tonalOffset" && D && typeof D == "object" && (D.main && v(c[N], "mainChannel", ar(ir(D.main))), D.light && v(c[N], "lightChannel", ar(ir(D.light))), D.dark && v(c[N], "darkChannel", ar(ir(D.dark))), D.contrastText && v(c[N], "contrastTextChannel", ar(ir(D.contrastText))), N === "text" && (ke(c[N], "primary"), ke(c[N], "secondary")), N === "action" && (D.active && ke(c[N], "active"), D.selected && ke(c[N], "selected")));
5686
5686
  });
5687
- }), L = r.reduce((W, c) => me(W, c), L);
5688
- const H = {
5687
+ }), L = r.reduce((H, c) => me(H, c), L);
5688
+ const W = {
5689
5689
  prefix: a,
5690
5690
  disableCssColorScheme: o,
5691
5691
  shouldSkipGeneratingVar: u,
@@ -5693,16 +5693,16 @@ function gs(e = {}, ...r) {
5693
5693
  enableContrastVars: l
5694
5694
  }, {
5695
5695
  vars: F,
5696
- generateThemeVars: re,
5696
+ generateThemeVars: q,
5697
5697
  generateStyleSheets: le
5698
- } = Mi(L, H);
5699
- return L.vars = F, Object.entries(L.colorSchemes[L.defaultColorScheme]).forEach(([W, c]) => {
5700
- L[W] = c;
5701
- }), L.generateThemeVars = re, L.generateStyleSheets = le, L.generateSpacing = function() {
5702
- return Tn(w.spacing, bt(this));
5703
- }, L.getColorSchemeSelector = Ui(f), L.spacing = L.generateSpacing(), L.shouldSkipGeneratingVar = u, L.unstable_sxConfig = {
5698
+ } = Mi(L, W);
5699
+ return L.vars = F, Object.entries(L.colorSchemes[L.defaultColorScheme]).forEach(([H, c]) => {
5700
+ L[H] = c;
5701
+ }), L.generateThemeVars = q, L.generateStyleSheets = le, L.generateSpacing = function() {
5702
+ return Tn(x.spacing, bt(this));
5703
+ }, L.getColorSchemeSelector = Ui(p), L.spacing = L.generateSpacing(), L.shouldSkipGeneratingVar = u, L.unstable_sxConfig = {
5704
5704
  ...Nr,
5705
- ...w == null ? void 0 : w.unstable_sxConfig
5705
+ ...x == null ? void 0 : x.unstable_sxConfig
5706
5706
  }, L.unstable_sx = function(c) {
5707
5707
  return er({
5708
5708
  sx: c,
@@ -5729,11 +5729,11 @@ function ys(e = {}, ...r) {
5729
5729
  },
5730
5730
  defaultColorScheme: a = t == null ? void 0 : t.mode,
5731
5731
  ...l
5732
- } = e, u = a || "light", f = o == null ? void 0 : o[u], h = {
5732
+ } = e, u = a || "light", p = o == null ? void 0 : o[u], g = {
5733
5733
  ...o,
5734
5734
  ...t ? {
5735
5735
  [u]: {
5736
- ...typeof f != "boolean" && f,
5736
+ ...typeof p != "boolean" && p,
5737
5737
  palette: t
5738
5738
  }
5739
5739
  } : void 0
@@ -5741,25 +5741,25 @@ function ys(e = {}, ...r) {
5741
5741
  if (n === !1) {
5742
5742
  if (!("colorSchemes" in e))
5743
5743
  return pt(e, ...r);
5744
- let w = t;
5745
- "palette" in e || h[u] && (h[u] !== !0 ? w = h[u].palette : u === "dark" && (w = {
5744
+ let x = t;
5745
+ "palette" in e || g[u] && (g[u] !== !0 ? x = g[u].palette : u === "dark" && (x = {
5746
5746
  mode: "dark"
5747
5747
  }));
5748
- const C = pt({
5748
+ const w = pt({
5749
5749
  ...e,
5750
- palette: w
5750
+ palette: x
5751
5751
  }, ...r);
5752
- return C.defaultColorScheme = u, C.colorSchemes = h, C.palette.mode === "light" && (C.colorSchemes.light = {
5753
- ...h.light !== !0 && h.light,
5754
- palette: C.palette
5755
- }, ln(C, "dark", h.dark)), C.palette.mode === "dark" && (C.colorSchemes.dark = {
5756
- ...h.dark !== !0 && h.dark,
5757
- palette: C.palette
5758
- }, ln(C, "light", h.light)), C;
5752
+ return w.defaultColorScheme = u, w.colorSchemes = g, w.palette.mode === "light" && (w.colorSchemes.light = {
5753
+ ...g.light !== !0 && g.light,
5754
+ palette: w.palette
5755
+ }, ln(w, "dark", g.dark)), w.palette.mode === "dark" && (w.colorSchemes.dark = {
5756
+ ...g.dark !== !0 && g.dark,
5757
+ palette: w.palette
5758
+ }, ln(w, "light", g.light)), w;
5759
5759
  }
5760
- return !t && !("light" in h) && u === "light" && (h.light = !0), gs({
5760
+ return !t && !("light" in g) && u === "light" && (g.light = !0), gs({
5761
5761
  ...l,
5762
- colorSchemes: h,
5762
+ colorSchemes: g,
5763
5763
  defaultColorScheme: u,
5764
5764
  ...typeof n != "boolean" && n
5765
5765
  }, ...r);
@@ -5802,7 +5802,7 @@ const Es = (e) => {
5802
5802
  })(ws(({
5803
5803
  theme: e
5804
5804
  }) => {
5805
- var r, t, n, o, a, l, u, f, h, w, C, x, E, v;
5805
+ var r, t, n, o, a, l, u, p, g, x, w, S, E, C;
5806
5806
  return {
5807
5807
  userSelect: "none",
5808
5808
  width: "1em",
@@ -5814,7 +5814,7 @@ const Es = (e) => {
5814
5814
  }),
5815
5815
  variants: [
5816
5816
  {
5817
- props: (p) => !p.hasSvgAsChild,
5817
+ props: (d) => !d.hasSvgAsChild,
5818
5818
  style: {
5819
5819
  // the <svg> will define the property that has `currentColor`
5820
5820
  // for example heroicons uses fill="none" and stroke="currentColor"
@@ -5842,7 +5842,7 @@ const Es = (e) => {
5842
5842
  fontSize: "medium"
5843
5843
  },
5844
5844
  style: {
5845
- fontSize: ((f = (u = e.typography) == null ? void 0 : u.pxToRem) == null ? void 0 : f.call(u, 24)) || "1.5rem"
5845
+ fontSize: ((p = (u = e.typography) == null ? void 0 : u.pxToRem) == null ? void 0 : p.call(u, 24)) || "1.5rem"
5846
5846
  }
5847
5847
  },
5848
5848
  {
@@ -5850,18 +5850,18 @@ const Es = (e) => {
5850
5850
  fontSize: "large"
5851
5851
  },
5852
5852
  style: {
5853
- fontSize: ((w = (h = e.typography) == null ? void 0 : h.pxToRem) == null ? void 0 : w.call(h, 35)) || "2.1875rem"
5853
+ fontSize: ((x = (g = e.typography) == null ? void 0 : g.pxToRem) == null ? void 0 : x.call(g, 35)) || "2.1875rem"
5854
5854
  }
5855
5855
  },
5856
5856
  // TODO v5 deprecate color prop, v6 remove for sx
5857
- ...Object.entries((e.vars ?? e).palette).filter(([, p]) => p && p.main).map(([p]) => {
5857
+ ...Object.entries((e.vars ?? e).palette).filter(([, d]) => d && d.main).map(([d]) => {
5858
5858
  var _, U;
5859
5859
  return {
5860
5860
  props: {
5861
- color: p
5861
+ color: d
5862
5862
  },
5863
5863
  style: {
5864
- color: (U = (_ = (e.vars ?? e).palette) == null ? void 0 : _[p]) == null ? void 0 : U.main
5864
+ color: (U = (_ = (e.vars ?? e).palette) == null ? void 0 : _[d]) == null ? void 0 : U.main
5865
5865
  }
5866
5866
  };
5867
5867
  }),
@@ -5870,7 +5870,7 @@ const Es = (e) => {
5870
5870
  color: "action"
5871
5871
  },
5872
5872
  style: {
5873
- color: (x = (C = (e.vars ?? e).palette) == null ? void 0 : C.action) == null ? void 0 : x.active
5873
+ color: (S = (w = (e.vars ?? e).palette) == null ? void 0 : w.action) == null ? void 0 : S.active
5874
5874
  }
5875
5875
  },
5876
5876
  {
@@ -5878,7 +5878,7 @@ const Es = (e) => {
5878
5878
  color: "disabled"
5879
5879
  },
5880
5880
  style: {
5881
- color: (v = (E = (e.vars ?? e).palette) == null ? void 0 : E.action) == null ? void 0 : v.disabled
5881
+ color: (C = (E = (e.vars ?? e).palette) == null ? void 0 : E.action) == null ? void 0 : C.disabled
5882
5882
  }
5883
5883
  },
5884
5884
  {
@@ -5900,38 +5900,38 @@ const Es = (e) => {
5900
5900
  className: a,
5901
5901
  color: l = "inherit",
5902
5902
  component: u = "svg",
5903
- fontSize: f = "medium",
5904
- htmlColor: h,
5905
- inheritViewBox: w = !1,
5906
- titleAccess: C,
5907
- viewBox: x = "0 0 24 24",
5903
+ fontSize: p = "medium",
5904
+ htmlColor: g,
5905
+ inheritViewBox: x = !1,
5906
+ titleAccess: w,
5907
+ viewBox: S = "0 0 24 24",
5908
5908
  ...E
5909
- } = n, v = /* @__PURE__ */ Ue.isValidElement(o) && o.type === "svg", p = {
5909
+ } = n, C = /* @__PURE__ */ Ue.isValidElement(o) && o.type === "svg", d = {
5910
5910
  ...n,
5911
5911
  color: l,
5912
5912
  component: u,
5913
- fontSize: f,
5913
+ fontSize: p,
5914
5914
  instanceFontSize: r.fontSize,
5915
- inheritViewBox: w,
5916
- viewBox: x,
5917
- hasSvgAsChild: v
5915
+ inheritViewBox: x,
5916
+ viewBox: S,
5917
+ hasSvgAsChild: C
5918
5918
  }, _ = {};
5919
- w || (_.viewBox = x);
5920
- const U = Es(p);
5921
- return /* @__PURE__ */ d.jsxs(Ts, {
5919
+ x || (_.viewBox = S);
5920
+ const U = Es(d);
5921
+ return /* @__PURE__ */ f.jsxs(Ts, {
5922
5922
  as: u,
5923
5923
  className: wn(U.root, a),
5924
5924
  focusable: "false",
5925
- color: h,
5926
- "aria-hidden": C ? void 0 : !0,
5927
- role: C ? "img" : void 0,
5925
+ color: g,
5926
+ "aria-hidden": w ? void 0 : !0,
5927
+ role: w ? "img" : void 0,
5928
5928
  ref: t,
5929
5929
  ..._,
5930
5930
  ...E,
5931
- ...v && o.props,
5932
- ownerState: p,
5933
- children: [v ? o.props.children : o, C ? /* @__PURE__ */ d.jsx("title", {
5934
- children: C
5931
+ ...C && o.props,
5932
+ ownerState: d,
5933
+ children: [C ? o.props.children : o, w ? /* @__PURE__ */ f.jsx("title", {
5934
+ children: w
5935
5935
  }) : null]
5936
5936
  });
5937
5937
  });
@@ -6010,7 +6010,7 @@ process.env.NODE_ENV !== "production" && (kr.propTypes = {
6010
6010
  kr.muiName = "SvgIcon";
6011
6011
  function Ce(e, r) {
6012
6012
  function t(n, o) {
6013
- return /* @__PURE__ */ d.jsx(kr, {
6013
+ return /* @__PURE__ */ f.jsx(kr, {
6014
6014
  "data-testid": process.env.NODE_ENV !== "production" ? `${r}Icon` : void 0,
6015
6015
  ref: o,
6016
6016
  ...n,
@@ -6019,22 +6019,22 @@ function Ce(e, r) {
6019
6019
  }
6020
6020
  return process.env.NODE_ENV !== "production" && (t.displayName = `${r}Icon`), t.muiName = kr.muiName, /* @__PURE__ */ Ue.memo(/* @__PURE__ */ Ue.forwardRef(t));
6021
6021
  }
6022
- const Rs = Ce(/* @__PURE__ */ d.jsx("path", {
6022
+ const Rs = Ce(/* @__PURE__ */ f.jsx("path", {
6023
6023
  d: "M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2m-2 16H7v-.24C8.42 17.62 10.16 17 12 17s3.58.62 5 1.76zm2-1.14C17.2 16.09 14.73 15 12 15s-5.2 1.09-7 2.86V5h14zM12 13c1.93 0 3.5-1.57 3.5-3.5S13.93 6 12 6 8.5 7.57 8.5 9.5 10.07 13 12 13m0-5c.83 0 1.5.67 1.5 1.5S12.83 11 12 11s-1.5-.67-1.5-1.5S11.17 8 12 8"
6024
- }), "AccountBoxOutlined"), _s = Ce(/* @__PURE__ */ d.jsx("path", {
6024
+ }), "AccountBoxOutlined"), _s = Ce(/* @__PURE__ */ f.jsx("path", {
6025
6025
  d: "m17 16-4-4V8.82C14.16 8.4 15 7.3 15 6c0-1.66-1.34-3-3-3S9 4.34 9 6c0 1.3.84 2.4 2 2.82V12l-4 4H3v5h5v-3.05l4-4.2 4 4.2V21h5v-5z"
6026
- }), "DeviceHubOutlined"), Os = Ce(/* @__PURE__ */ d.jsx("path", {
6026
+ }), "DeviceHubOutlined"), Os = Ce(/* @__PURE__ */ f.jsx("path", {
6027
6027
  d: "M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8zM6 4h7l5 5v8.58l-1.84-1.84c1.28-1.94 1.07-4.57-.64-6.28C14.55 8.49 13.28 8 12 8s-2.55.49-3.53 1.46c-1.95 1.95-1.95 5.11 0 7.05.97.97 2.25 1.46 3.53 1.46.96 0 1.92-.28 2.75-.83L17.6 20H6zm8.11 11.1c-.56.56-1.31.88-2.11.88s-1.55-.31-2.11-.88c-.56-.56-.88-1.31-.88-2.11s.31-1.55.88-2.11c.56-.57 1.31-.88 2.11-.88s1.55.31 2.11.88c.56.56.88 1.31.88 2.11s-.31 1.55-.88 2.11"
6028
- }), "FindInPageOutlined"), Is = Ce(/* @__PURE__ */ d.jsx("path", {
6028
+ }), "FindInPageOutlined"), Is = Ce(/* @__PURE__ */ f.jsx("path", {
6029
6029
  d: "M12.22 19.85c-.18.18-.5.21-.71 0-.18-.18-.21-.5 0-.71l3.39-3.39-1.41-1.41-3.39 3.39c-.19.2-.51.19-.71 0-.21-.21-.18-.53 0-.71l3.39-3.39-1.41-1.41-3.39 3.39c-.18.18-.5.21-.71 0-.19-.19-.19-.51 0-.71l3.39-3.39-1.42-1.41-3.39 3.39c-.18.18-.5.21-.71 0-.19-.2-.19-.51 0-.71L9.52 8.4l1.87 1.86c.95.95 2.59.94 3.54 0 .98-.98.98-2.56 0-3.54l-1.86-1.86.28-.28c.78-.78 2.05-.78 2.83 0l4.24 4.24c.78.78.78 2.05 0 2.83zm9.61-6.78c1.56-1.56 1.56-4.09 0-5.66l-4.24-4.24c-1.56-1.56-4.09-1.56-5.66 0l-.28.28-.28-.28c-1.56-1.56-4.09-1.56-5.66 0L2.17 6.71C.75 8.13.62 10.34 1.77 11.9l1.45-1.45c-.39-.75-.26-1.7.37-2.33l3.54-3.54c.78-.78 2.05-.78 2.83 0l3.56 3.56c.18.18.21.5 0 .71s-.53.18-.71 0L9.52 5.57l-5.8 5.79c-.98.97-.98 2.56 0 3.54.39.39.89.63 1.42.7.07.52.3 1.02.7 1.42s.9.63 1.42.7c.07.52.3 1.02.7 1.42s.9.63 1.42.7c.07.54.31 1.03.7 1.42.47.47 1.1.73 1.77.73s1.3-.26 1.77-.73z"
6030
- }), "HandshakeOutlined"), un = Ce(/* @__PURE__ */ d.jsx("path", {
6030
+ }), "HandshakeOutlined"), un = Ce(/* @__PURE__ */ f.jsx("path", {
6031
6031
  d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8m.89-8.9c-1.78-.59-2.64-.96-2.64-1.9 0-1.02 1.11-1.39 1.81-1.39 1.31 0 1.79.99 1.9 1.34l1.58-.67c-.15-.44-.82-1.91-2.66-2.23V5h-1.75v1.26c-2.6.56-2.62 2.85-2.62 2.96 0 2.27 2.25 2.91 3.35 3.31 1.58.56 2.28 1.07 2.28 2.03 0 1.13-1.05 1.61-1.98 1.61-1.82 0-2.34-1.87-2.4-2.09l-1.66.67c.63 2.19 2.28 2.78 3.02 2.96V19h1.75v-1.24c.52-.09 3.02-.59 3.02-3.22.01-1.39-.6-2.61-3-3.44"
6032
- }), "PaidOutlined"), Ps = Ce(/* @__PURE__ */ d.jsx("path", {
6032
+ }), "PaidOutlined"), Ps = Ce(/* @__PURE__ */ f.jsx("path", {
6033
6033
  d: "M14 2H6c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V8zM6 20V4h7v4h5v12zm5-1h2v-1h1c.55 0 1-.45 1-1v-3c0-.55-.45-1-1-1h-3v-1h4v-2h-2V9h-2v1h-1c-.55 0-1 .45-1 1v3c0 .55.45 1 1 1h3v1H9v2h2z"
6034
- }), "RequestQuoteOutlined"), js = Ce(/* @__PURE__ */ d.jsx("path", {
6034
+ }), "RequestQuoteOutlined"), js = Ce(/* @__PURE__ */ f.jsx("path", {
6035
6035
  d: "M19.43 12.98c.04-.32.07-.64.07-.98s-.03-.66-.07-.98l2.11-1.65c.19-.15.24-.42.12-.64l-2-3.46c-.09-.16-.26-.25-.44-.25-.06 0-.12.01-.17.03l-2.49 1c-.52-.4-1.08-.73-1.69-.98l-.38-2.65C14.46 2.18 14.25 2 14 2h-4c-.25 0-.46.18-.49.42l-.38 2.65c-.61.25-1.17.59-1.69.98l-2.49-1q-.09-.03-.18-.03c-.17 0-.34.09-.43.25l-2 3.46c-.13.22-.07.49.12.64l2.11 1.65c-.04.32-.07.65-.07.98s.03.66.07.98l-2.11 1.65c-.19.15-.24.42-.12.64l2 3.46c.09.16.26.25.44.25.06 0 .12-.01.17-.03l2.49-1c.52.4 1.08.73 1.69.98l.38 2.65c.03.24.24.42.49.42h4c.25 0 .46-.18.49-.42l.38-2.65c.61-.25 1.17-.59 1.69-.98l2.49 1q.09.03.18.03c.17 0 .34-.09.43-.25l2-3.46c.12-.22.07-.49-.12-.64zm-1.98-1.71c.04.31.05.52.05.73s-.02.43-.05.73l-.14 1.13.89.7 1.08.84-.7 1.21-1.27-.51-1.04-.42-.9.68c-.43.32-.84.56-1.25.73l-1.06.43-.16 1.13-.2 1.35h-1.4l-.19-1.35-.16-1.13-1.06-.43c-.43-.18-.83-.41-1.23-.71l-.91-.7-1.06.43-1.27.51-.7-1.21 1.08-.84.89-.7-.14-1.13c-.03-.31-.05-.54-.05-.74s.02-.43.05-.73l.14-1.13-.89-.7-1.08-.84.7-1.21 1.27.51 1.04.42.9-.68c.43-.32.84-.56 1.25-.73l1.06-.43.16-1.13.2-1.35h1.39l.19 1.35.16 1.13 1.06.43c.43.18.83.41 1.23.71l.91.7 1.06-.43 1.27-.51.7 1.21-1.07.85-.89.7zM12 8c-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4m0 6c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2"
6036
6036
  }), "SettingsOutlined"), $s = ht(
6037
- /* @__PURE__ */ d.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", children: /* @__PURE__ */ d.jsx(
6037
+ /* @__PURE__ */ f.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", children: /* @__PURE__ */ f.jsx(
6038
6038
  "path",
6039
6039
  {
6040
6040
  d: "M4 21V5C4 4.45 4.19583 3.97917 4.5875 3.5875C4.97917 3.19583 5.45 3 6 3H18C18.55 3 19.0208 3.19583 19.4125 3.5875C19.8042 3.97917 20 4.45 20 5V21H18V19H6V21H4ZM6 11H11V5H6V11ZM13 7H18V5H13V7ZM13 11H18V9H13V11ZM10 16H14V14H10V16ZM6 13V17H18V13H6Z",
@@ -6043,7 +6043,7 @@ const Rs = Ce(/* @__PURE__ */ d.jsx("path", {
6043
6043
  ) }),
6044
6044
  "DresserIcono"
6045
6045
  ), Ms = ht(
6046
- /* @__PURE__ */ d.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", children: /* @__PURE__ */ d.jsx(
6046
+ /* @__PURE__ */ f.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", children: /* @__PURE__ */ f.jsx(
6047
6047
  "path",
6048
6048
  {
6049
6049
  d: "M15 17H9C9 17.7956 8.68393 18.5587 8.12132 19.1213C7.55871 19.6839 6.79565 20 6 20C5.20435 20 4.44129 19.6839 3.87868 19.1213C3.31607 18.5587 3 17.7956 3 17H1V12.921H3V15H3.78C4.05821 14.6856 4.40003 14.4338 4.78282 14.2614C5.16562 14.089 5.58067 13.9998 6.0005 13.9998C6.42033 13.9998 6.83538 14.089 7.21818 14.2614C7.60097 14.4338 7.94279 14.6856 8.221 15H15V6H3V7H1V4H17V8H20L23 12V17H21C21 17.7956 20.6839 18.5587 20.1213 19.1213C19.5587 19.6839 18.7956 20 18 20C17.2044 20 16.4413 19.6839 15.8787 19.1213C15.3161 18.5587 15 17.7956 15 17ZM17 17C17 17.1978 17.0586 17.3911 17.1685 17.5556C17.2784 17.72 17.4346 17.8482 17.6173 17.9239C17.8 17.9996 18.0011 18.0194 18.1951 17.9808C18.3891 17.9422 18.5673 17.847 18.7071 17.7071C18.847 17.5673 18.9422 17.3891 18.9808 17.1951C19.0194 17.0011 18.9996 16.8 18.9239 16.6173C18.8482 16.4346 18.72 16.2784 18.5556 16.1685C18.3911 16.0586 18.1978 16 18 16C17.7348 16 17.4804 16.1054 17.2929 16.2929C17.1054 16.4804 17 16.7348 17 17ZM5 17C5 17.1978 5.05865 17.3911 5.16853 17.5556C5.27841 17.72 5.43459 17.8482 5.61732 17.9239C5.80004 17.9996 6.00111 18.0194 6.19509 17.9808C6.38907 17.9422 6.56725 17.847 6.70711 17.7071C6.84696 17.5673 6.9422 17.3891 6.98079 17.1951C7.01937 17.0011 6.99957 16.8 6.92388 16.6173C6.84819 16.4346 6.72002 16.2784 6.55557 16.1685C6.39112 16.0586 6.19778 16 6 16C5.73478 16 5.48043 16.1054 5.29289 16.2929C5.10536 16.4804 5 16.7348 5 17ZM17 12H21.46L19.5 9.5H17V12ZM10 11H3V9H10V7L13 10L10 13V11Z",
@@ -6052,7 +6052,7 @@ const Rs = Ce(/* @__PURE__ */ d.jsx("path", {
6052
6052
  ) }),
6053
6053
  "LoadIcono"
6054
6054
  ), Us = ht(
6055
- /* @__PURE__ */ d.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", children: /* @__PURE__ */ d.jsx(
6055
+ /* @__PURE__ */ f.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", children: /* @__PURE__ */ f.jsx(
6056
6056
  "path",
6057
6057
  {
6058
6058
  d: "M15 17H9C9 17.7956 8.68393 18.5587 8.12132 19.1213C7.55871 19.6839 6.79565 20 6 20C5.20435 20 4.44129 19.6839 3.87868 19.1213C3.31607 18.5587 3 17.7956 3 17H1V12.921H3V15H3.78C4.05821 14.6856 4.40003 14.4338 4.78282 14.2614C5.16562 14.089 5.58067 13.9998 6.0005 13.9998C6.42033 13.9998 6.83538 14.089 7.21818 14.2614C7.60097 14.4338 7.94279 14.6856 8.221 15H15V6H3V7H1V4H17V8H20L23 12V17H21C21 17.7956 20.6839 18.5587 20.1213 19.1213C19.5587 19.6839 18.7956 20 18 20C17.2044 20 16.4413 19.6839 15.8787 19.1213C15.3161 18.5587 15 17.7956 15 17ZM17 17C17 17.1978 17.0586 17.3911 17.1685 17.5556C17.2784 17.72 17.4346 17.8482 17.6173 17.9239C17.8 17.9996 18.0011 18.0194 18.1951 17.9808C18.3891 17.9422 18.5673 17.847 18.7071 17.7071C18.847 17.5673 18.9422 17.3891 18.9808 17.1951C19.0194 17.0011 18.9996 16.8 18.9239 16.6173C18.8482 16.4346 18.72 16.2784 18.5556 16.1685C18.3911 16.0586 18.1978 16 18 16C17.7348 16 17.4804 16.1054 17.2929 16.2929C17.1054 16.4804 17 16.7348 17 17ZM5 17C5 17.1978 5.05865 17.3911 5.16853 17.5556C5.27841 17.72 5.43459 17.8482 5.61732 17.9239C5.80004 17.9996 6.00111 18.0194 6.19509 17.9808C6.38907 17.9422 6.56725 17.847 6.70711 17.7071C6.84696 17.5673 6.9422 17.3891 6.98079 17.1951C7.01937 17.0011 6.99957 16.8 6.92388 16.6173C6.84819 16.4346 6.72002 16.2784 6.55557 16.1685C6.39112 16.0586 6.19778 16 6 16C5.73478 16 5.48043 16.1054 5.29289 16.2929C5.10536 16.4804 5 16.7348 5 17ZM17 12H21.46L19.5 9.5H17V12ZM3 10L6 7V9H13V11H6V13L3 10Z",
@@ -6153,7 +6153,7 @@ const Rs = Ce(/* @__PURE__ */ d.jsx("path", {
6153
6153
  nombre: "Recolecciones y entregas",
6154
6154
  icono: un
6155
6155
  }
6156
- ], Ns = Ce(/* @__PURE__ */ d.jsx("path", {
6156
+ ], Ns = Ce(/* @__PURE__ */ f.jsx("path", {
6157
6157
  d: "M10.09 15.59 11.5 17l5-5-5-5-1.41 1.41L12.67 11H3v2h9.67zM19 3H5c-1.11 0-2 .9-2 2v4h2V5h14v14H5v-4H3v4c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2"
6158
6158
  }), "ExitToAppOutlined"), Re = Rr(
6159
6159
  () => ({
@@ -6169,52 +6169,52 @@ const Rs = Ce(/* @__PURE__ */ d.jsx("path", {
6169
6169
  const [t, n] = Er(null), [o] = Me(Ae.general), [a] = Me(Ae.avatar), l = Ze(
6170
6170
  () => o || a,
6171
6171
  [o, a]
6172
- ), u = Ie((x) => x.avatar), f = Ie((x) => x.nombre), h = Ze(() => {
6173
- var E, v;
6174
- const x = f == null ? void 0 : f.split(" ");
6175
- return `${((E = x == null ? void 0 : x[0]) == null ? void 0 : E.charAt(0)) ?? ""}${((v = x == null ? void 0 : x[1]) == null ? void 0 : v.charAt(0)) ?? ""}`;
6176
- }, [f]), w = ye(
6177
- (x) => {
6178
- n(x.currentTarget);
6172
+ ), u = Ie((S) => S.avatar), p = Ie((S) => S.nombre), g = Ze(() => {
6173
+ var E, C;
6174
+ const S = p == null ? void 0 : p.split(" ");
6175
+ return `${((E = S == null ? void 0 : S[0]) == null ? void 0 : E.charAt(0)) ?? ""}${((C = S == null ? void 0 : S[1]) == null ? void 0 : C.charAt(0)) ?? ""}`;
6176
+ }, [p]), x = ye(
6177
+ (S) => {
6178
+ n(S.currentTarget);
6179
6179
  },
6180
6180
  []
6181
- ), C = ye(() => {
6181
+ ), w = ye(() => {
6182
6182
  n(null);
6183
6183
  }, []);
6184
- return /* @__PURE__ */ d.jsxs(d.Fragment, { children: [
6185
- /* @__PURE__ */ d.jsx(
6184
+ return /* @__PURE__ */ f.jsxs(f.Fragment, { children: [
6185
+ /* @__PURE__ */ f.jsx(
6186
6186
  dn,
6187
6187
  {
6188
6188
  sx: { borderRadius: 100 },
6189
- onClick: w,
6189
+ onClick: x,
6190
6190
  disabled: l,
6191
- children: /* @__PURE__ */ d.jsx(
6191
+ children: /* @__PURE__ */ f.jsx(
6192
6192
  Xn,
6193
6193
  {
6194
6194
  sx: {
6195
- bgcolor: l || !h ? "black12.main" : "primary.main"
6195
+ bgcolor: l || !g ? "black12.main" : "primary.main"
6196
6196
  },
6197
6197
  src: l ? "" : u,
6198
- children: l ? /* @__PURE__ */ d.jsx(fn, { size: 18 }) : h
6198
+ children: l ? /* @__PURE__ */ f.jsx(fn, { size: 18 }) : g
6199
6199
  }
6200
6200
  )
6201
6201
  }
6202
6202
  ),
6203
- /* @__PURE__ */ d.jsxs(
6203
+ /* @__PURE__ */ f.jsxs(
6204
6204
  eo,
6205
6205
  {
6206
6206
  open: !!t,
6207
6207
  anchorEl: t,
6208
- onClose: C,
6208
+ onClose: w,
6209
6209
  children: [
6210
- r == null ? void 0 : r.map(({ nombre: x, icono: E, slotProps: v }) => {
6211
- const p = typeof E == "string" ? /* @__PURE__ */ d.jsx(Tr, { children: E }) : E ? /* @__PURE__ */ d.jsx(E, {}) : null;
6212
- return /* @__PURE__ */ d.jsxs(ot, { ...v == null ? void 0 : v.MenuItem, children: [
6213
- p && /* @__PURE__ */ d.jsx(Xe, { children: p }),
6214
- /* @__PURE__ */ d.jsx(
6210
+ r == null ? void 0 : r.map(({ nombre: S, icono: E, slotProps: C }) => {
6211
+ const d = typeof E == "string" ? /* @__PURE__ */ f.jsx(Tr, { children: E }) : E ? /* @__PURE__ */ f.jsx(E, {}) : null;
6212
+ return /* @__PURE__ */ f.jsxs(ot, { ...C == null ? void 0 : C.MenuItem, children: [
6213
+ d && /* @__PURE__ */ f.jsx(Xe, { children: d }),
6214
+ /* @__PURE__ */ f.jsx(
6215
6215
  he,
6216
6216
  {
6217
- primary: x,
6217
+ primary: S,
6218
6218
  slotProps: {
6219
6219
  primary: {
6220
6220
  fontWeight: 500
@@ -6224,9 +6224,9 @@ const Rs = Ce(/* @__PURE__ */ d.jsx("path", {
6224
6224
  )
6225
6225
  ] });
6226
6226
  }),
6227
- /* @__PURE__ */ d.jsxs(ot, { onClick: () => e == null ? void 0 : e(), children: [
6228
- /* @__PURE__ */ d.jsx(Xe, { children: /* @__PURE__ */ d.jsx(Ns, { sx: { transform: "rotate(180deg)" } }) }),
6229
- /* @__PURE__ */ d.jsx(
6227
+ /* @__PURE__ */ f.jsxs(ot, { onClick: () => e == null ? void 0 : e(), children: [
6228
+ /* @__PURE__ */ f.jsx(Xe, { children: /* @__PURE__ */ f.jsx(Ns, { sx: { transform: "rotate(180deg)" } }) }),
6229
+ /* @__PURE__ */ f.jsx(
6230
6230
  he,
6231
6231
  {
6232
6232
  primary: "Cerrar sesión",
@@ -6260,13 +6260,13 @@ const Rs = Ce(/* @__PURE__ */ d.jsx("path", {
6260
6260
  },
6261
6261
  [r]
6262
6262
  );
6263
- return /* @__PURE__ */ d.jsx(
6263
+ return /* @__PURE__ */ f.jsx(
6264
6264
  br,
6265
6265
  {
6266
6266
  title: t.length && e ? "" : "Selecciona una terminal",
6267
6267
  placement: "top",
6268
6268
  arrow: !0,
6269
- children: /* @__PURE__ */ d.jsx(
6269
+ children: /* @__PURE__ */ f.jsx(
6270
6270
  ro,
6271
6271
  {
6272
6272
  select: !0,
@@ -6295,11 +6295,11 @@ const Rs = Ce(/* @__PURE__ */ d.jsx("path", {
6295
6295
  displayEmpty: !0
6296
6296
  }
6297
6297
  },
6298
- children: t.map(({ codigo: o, abreviado: a, nombre: l }) => /* @__PURE__ */ d.jsx(
6298
+ children: t.map(({ codigo: o, abreviado: a, nombre: l }) => /* @__PURE__ */ f.jsx(
6299
6299
  ot,
6300
6300
  {
6301
6301
  value: o,
6302
- children: /* @__PURE__ */ d.jsx(
6302
+ children: /* @__PURE__ */ f.jsx(
6303
6303
  br,
6304
6304
  {
6305
6305
  title: l,
@@ -6317,7 +6317,7 @@ const Rs = Ce(/* @__PURE__ */ d.jsx("path", {
6317
6317
  ]
6318
6318
  }
6319
6319
  },
6320
- children: /* @__PURE__ */ d.jsxs("span", { children: [
6320
+ children: /* @__PURE__ */ f.jsxs("span", { children: [
6321
6321
  String(o).padStart(2, "0"),
6322
6322
  " - ",
6323
6323
  a
@@ -6340,9 +6340,9 @@ const Rs = Ce(/* @__PURE__ */ d.jsx("path", {
6340
6340
  ), [o] = Me(Ae.general), [a] = Me(
6341
6341
  Ae.nombreUsuario
6342
6342
  ), [l] = Me(Ae.terminales);
6343
- return /* @__PURE__ */ d.jsxs(d.Fragment, { children: [
6344
- /* @__PURE__ */ d.jsxs(ce, { mr: 2, display: "flex", flexDirection: "column", alignItems: "flex-end", children: [
6345
- /* @__PURE__ */ d.jsx(
6343
+ return /* @__PURE__ */ f.jsxs(f.Fragment, { children: [
6344
+ /* @__PURE__ */ f.jsxs(ce, { mr: 2, display: "flex", flexDirection: "column", alignItems: "flex-end", children: [
6345
+ /* @__PURE__ */ f.jsx(
6346
6346
  we,
6347
6347
  {
6348
6348
  variant: "body2",
@@ -6350,11 +6350,11 @@ const Rs = Ce(/* @__PURE__ */ d.jsx("path", {
6350
6350
  textTransform: "capitalize",
6351
6351
  mr: a || o ? 0 : 1,
6352
6352
  noWrap: !0,
6353
- children: a || o ? /* @__PURE__ */ d.jsx(fe, { variant: "text", width: 250 }) : t
6353
+ children: a || o ? /* @__PURE__ */ f.jsx(fe, { variant: "text", width: 250 }) : t
6354
6354
  }
6355
6355
  ),
6356
- /* @__PURE__ */ d.jsx(ce, { display: "flex", alignItems: "center", children: l || o ? /* @__PURE__ */ d.jsx(fe, { width: 180, height: 22 }) : n ? /* @__PURE__ */ d.jsxs(d.Fragment, { children: [
6357
- /* @__PURE__ */ d.jsxs(
6356
+ /* @__PURE__ */ f.jsx(ce, { display: "flex", alignItems: "center", children: l || o ? /* @__PURE__ */ f.jsx(fe, { width: 180, height: 22 }) : n ? /* @__PURE__ */ f.jsxs(f.Fragment, { children: [
6357
+ /* @__PURE__ */ f.jsxs(
6358
6358
  we,
6359
6359
  {
6360
6360
  variant: "body2",
@@ -6367,14 +6367,14 @@ const Rs = Ce(/* @__PURE__ */ d.jsx("path", {
6367
6367
  ]
6368
6368
  }
6369
6369
  ),
6370
- /* @__PURE__ */ d.jsx(ce, { width: 90, mb: -0.5, children: /* @__PURE__ */ d.jsx(Vs, {}) })
6371
- ] }) : /* @__PURE__ */ d.jsx(we, { variant: "caption", children: "No se encontraron terminales" }) })
6370
+ /* @__PURE__ */ f.jsx(ce, { width: 90, mb: -0.5, children: /* @__PURE__ */ f.jsx(Vs, {}) })
6371
+ ] }) : /* @__PURE__ */ f.jsx(we, { variant: "caption", children: "No se encontraron terminales" }) })
6372
6372
  ] }),
6373
- /* @__PURE__ */ d.jsx(Ds, { acciones: e, onCerrarSesion: r })
6373
+ /* @__PURE__ */ f.jsx(Ds, { acciones: e, onCerrarSesion: r })
6374
6374
  ] });
6375
- }, zs = Ce(/* @__PURE__ */ d.jsx("path", {
6375
+ }, zs = Ce(/* @__PURE__ */ f.jsx("path", {
6376
6376
  d: "M4 8h4V4H4zm6 12h4v-4h-4zm-6 0h4v-4H4zm0-6h4v-4H4zm6 0h4v-4h-4zm6-10v4h4V4zm-6 4h4V4h-4zm6 6h4v-4h-4zm0 6h4v-4h-4z"
6377
- }), "Apps"), Ws = Ce(/* @__PURE__ */ d.jsx("path", {
6377
+ }), "Apps"), Ws = Ce(/* @__PURE__ */ f.jsx("path", {
6378
6378
  d: "M3 18h18v-2H3zm0-5h18v-2H3zm0-7v2h18V6z"
6379
6379
  }), "Menu"), Hs = ({
6380
6380
  apps: e = [],
@@ -6386,23 +6386,23 @@ const Rs = Ce(/* @__PURE__ */ d.jsx("path", {
6386
6386
  }) => {
6387
6387
  const l = An(
6388
6388
  (U) => !!U.toolbar.length
6389
- ), [u] = Me(Ae.apps), [f] = Me(Ae.general), [h] = Me(Ae.nombreApp), w = Ve((U) => U.inhabilitado), C = Ie((U) => U.abrirApps), x = Ie(
6389
+ ), [u] = Me(Ae.apps), [p] = Me(Ae.general), [g] = Me(Ae.nombreApp), x = Ve((U) => U.inhabilitado), w = Ie((U) => U.abrirApps), S = Ie(
6390
6390
  (U) => U.mostrarBotonDrawer
6391
- ), E = Qn(null), v = ye(() => {
6391
+ ), E = Qn(null), C = ye(() => {
6392
6392
  Re.setState({ abrirApps: !0 });
6393
- }, []), p = ye(() => {
6393
+ }, []), d = ye(() => {
6394
6394
  Re.setState({ abrirApps: !1 });
6395
6395
  }, []), _ = ye(() => {
6396
6396
  _e.setState({ abierto: !_e.getState().abierto });
6397
6397
  }, []);
6398
- return /* @__PURE__ */ d.jsxs(d.Fragment, { children: [
6399
- /* @__PURE__ */ d.jsxs(
6398
+ return /* @__PURE__ */ f.jsxs(f.Fragment, { children: [
6399
+ /* @__PURE__ */ f.jsxs(
6400
6400
  to,
6401
6401
  {
6402
6402
  position: "fixed",
6403
6403
  sx: { zIndex: (U) => U.zIndex.drawer + 1 },
6404
6404
  children: [
6405
- /* @__PURE__ */ d.jsx(mt, { children: /* @__PURE__ */ d.jsxs(
6405
+ /* @__PURE__ */ f.jsx(mt, { children: /* @__PURE__ */ f.jsxs(
6406
6406
  ce,
6407
6407
  {
6408
6408
  width: "100%",
@@ -6410,57 +6410,57 @@ const Rs = Ce(/* @__PURE__ */ d.jsx("path", {
6410
6410
  alignItems: "center",
6411
6411
  justifyContent: "space-between",
6412
6412
  children: [
6413
- /* @__PURE__ */ d.jsxs(ce, { display: "flex", alignItems: "center", children: [
6414
- /* @__PURE__ */ d.jsx(no, { in: x, children: /* @__PURE__ */ d.jsx(
6413
+ /* @__PURE__ */ f.jsxs(ce, { display: "flex", alignItems: "center", children: [
6414
+ /* @__PURE__ */ f.jsx(no, { in: S, children: /* @__PURE__ */ f.jsx(
6415
6415
  wt,
6416
6416
  {
6417
6417
  onClick: _,
6418
- disabled: w,
6419
- children: /* @__PURE__ */ d.jsx(Ws, {})
6418
+ disabled: x,
6419
+ children: /* @__PURE__ */ f.jsx(Ws, {})
6420
6420
  }
6421
6421
  ) }),
6422
- /* @__PURE__ */ d.jsxs(ce, { display: "flex", alignItems: "center", ml: 3, children: [
6423
- /* @__PURE__ */ d.jsx("a", { href: "/", children: /* @__PURE__ */ d.jsx(jo, { width: 88 }) }),
6424
- h || f ? /* @__PURE__ */ d.jsx(fe, { variant: "text", width: 150, sx: { ml: 0.5 } }) : typeof r == "string" ? /* @__PURE__ */ d.jsx(we, { variant: "body2", noWrap: !0, ml: 0.5, children: r }) : r
6422
+ /* @__PURE__ */ f.jsxs(ce, { display: "flex", alignItems: "center", ml: 3, children: [
6423
+ /* @__PURE__ */ f.jsx("a", { href: "/", children: /* @__PURE__ */ f.jsx(jo, { width: 88 }) }),
6424
+ g || p ? /* @__PURE__ */ f.jsx(fe, { variant: "text", width: 150, sx: { ml: 0.5 } }) : typeof r == "string" ? /* @__PURE__ */ f.jsx(we, { variant: "body2", noWrap: !0, ml: 0.5, children: r }) : r
6425
6425
  ] })
6426
6426
  ] }),
6427
- /* @__PURE__ */ d.jsxs(ce, { display: "flex", alignItems: "center", children: [
6428
- /* @__PURE__ */ d.jsx(
6427
+ /* @__PURE__ */ f.jsxs(ce, { display: "flex", alignItems: "center", children: [
6428
+ /* @__PURE__ */ f.jsx(
6429
6429
  Fs,
6430
6430
  {
6431
6431
  acciones: t,
6432
6432
  onCerrarSesion: n
6433
6433
  }
6434
6434
  ),
6435
- /* @__PURE__ */ d.jsx(
6435
+ /* @__PURE__ */ f.jsx(
6436
6436
  wt,
6437
6437
  {
6438
6438
  disabled: u || !e.length,
6439
6439
  ref: E,
6440
6440
  sx: { ml: 2 },
6441
- onClick: v,
6442
- children: u || f ? /* @__PURE__ */ d.jsx(fn, { size: 18 }) : /* @__PURE__ */ d.jsx(zs, {})
6441
+ onClick: C,
6442
+ children: u || p ? /* @__PURE__ */ f.jsx(fn, { size: 18 }) : /* @__PURE__ */ f.jsx(zs, {})
6443
6443
  }
6444
6444
  )
6445
6445
  ] })
6446
6446
  ]
6447
6447
  }
6448
6448
  ) }),
6449
- /* @__PURE__ */ d.jsx(oo, { in: l, children: /* @__PURE__ */ d.jsx(ao, {}) })
6449
+ /* @__PURE__ */ f.jsx(oo, { in: l, children: /* @__PURE__ */ f.jsx(ao, {}) })
6450
6450
  ]
6451
6451
  }
6452
6452
  ),
6453
- /* @__PURE__ */ d.jsx(
6453
+ /* @__PURE__ */ f.jsx(
6454
6454
  io,
6455
6455
  {
6456
- open: C,
6456
+ open: w,
6457
6457
  anchorEl: E.current,
6458
- onClose: p,
6458
+ onClose: d,
6459
6459
  anchorOrigin: {
6460
6460
  vertical: "bottom",
6461
6461
  horizontal: "left"
6462
6462
  },
6463
- children: /* @__PURE__ */ d.jsx(
6463
+ children: /* @__PURE__ */ f.jsx(
6464
6464
  Jo,
6465
6465
  {
6466
6466
  apps: e.map(
@@ -6485,13 +6485,13 @@ const Rs = Ce(/* @__PURE__ */ d.jsx("path", {
6485
6485
  iconoApp: a,
6486
6486
  idApp: l,
6487
6487
  menus: u,
6488
- LinkComponent: f
6488
+ LinkComponent: p
6489
6489
  }) => {
6490
- const h = Ie(
6491
- (w) => typeof w.terminal == "number"
6490
+ const g = Ie(
6491
+ (x) => typeof x.terminal == "number"
6492
6492
  );
6493
- return /* @__PURE__ */ d.jsxs(d.Fragment, { children: [
6494
- /* @__PURE__ */ d.jsx(
6493
+ return /* @__PURE__ */ f.jsxs(f.Fragment, { children: [
6494
+ /* @__PURE__ */ f.jsx(
6495
6495
  Hs,
6496
6496
  {
6497
6497
  apps: e,
@@ -6502,11 +6502,11 @@ const Rs = Ce(/* @__PURE__ */ d.jsx("path", {
6502
6502
  idApp: l
6503
6503
  }
6504
6504
  ),
6505
- /* @__PURE__ */ d.jsx(Ho, { menus: u, LinkComponent: f }),
6506
- /* @__PURE__ */ d.jsx(mt, {}),
6507
- /* @__PURE__ */ d.jsxs(ce, { display: "flex", children: [
6508
- /* @__PURE__ */ d.jsx(Qo, {}),
6509
- /* @__PURE__ */ d.jsx("main", { style: { flexGrow: 1, display: "flex" }, children: h ? t : "Selecciona una terminal para comenzar" })
6505
+ /* @__PURE__ */ f.jsx(Ho, { menus: u, LinkComponent: p }),
6506
+ /* @__PURE__ */ f.jsx(mt, {}),
6507
+ /* @__PURE__ */ f.jsxs(ce, { display: "flex", children: [
6508
+ /* @__PURE__ */ f.jsx(Qo, {}),
6509
+ /* @__PURE__ */ f.jsx("main", { style: { flexGrow: 1, display: "flex" }, children: g ? t : "Selecciona una terminal para comenzar" })
6510
6510
  ] })
6511
6511
  ] });
6512
6512
  }, Fn = Rr(() => ({
@@ -6518,7 +6518,7 @@ const Rs = Ce(/* @__PURE__ */ d.jsx("path", {
6518
6518
  const n = r.reduce(
6519
6519
  (o, a) => {
6520
6520
  const l = e.some(
6521
- ({ id: f }) => Number(f) === a.codigo_terminal
6521
+ ({ id: p }) => Number(p) === a.codigo_terminal
6522
6522
  ), u = typeof t == "number" && a.codigo_terminal === t;
6523
6523
  return l || u ? [
6524
6524
  ...o,
@@ -6553,29 +6553,30 @@ function Gs({
6553
6553
  plataforma: n,
6554
6554
  menus: o,
6555
6555
  LinkComponent: a,
6556
- tema: l
6556
+ tema: l,
6557
+ onCerrarSesion: u
6557
6558
  }) {
6558
- const u = Ks((x) => x.permisos), [f, h] = Er([]), w = () => {
6559
- Ee.logout();
6560
- }, C = o.reduce((x, E) => {
6561
- var p, _;
6562
- const v = (p = u == null ? void 0 : u.menus) == null ? void 0 : p.find(({ id: U }) => E.id === U);
6563
- return v ? [
6564
- ...x,
6559
+ const p = Ks((E) => E.permisos), [g, x] = Er([]), w = () => {
6560
+ u ? u() : Ee.logout();
6561
+ }, S = o.reduce((E, C) => {
6562
+ var _, U;
6563
+ const d = (_ = p == null ? void 0 : p.menus) == null ? void 0 : _.find(({ id: V }) => C.id === V);
6564
+ return d ? [
6565
+ ...E,
6565
6566
  {
6566
- ...E,
6567
- subMenus: (_ = E.subMenus) == null ? void 0 : _.filter(
6568
- ({ id: U }) => {
6567
+ ...C,
6568
+ subMenus: (U = C.subMenus) == null ? void 0 : U.filter(
6569
+ ({ id: V }) => {
6569
6570
  var B;
6570
- return (B = v == null ? void 0 : v.sub_menu) == null ? void 0 : B.some(({ id: V }) => U === V);
6571
+ return (B = d == null ? void 0 : d.sub_menu) == null ? void 0 : B.some(({ id: M }) => V === M);
6571
6572
  }
6572
6573
  )
6573
6574
  }
6574
- ] : x;
6575
+ ] : E;
6575
6576
  }, []);
6576
6577
  return Kn(() => {
6577
6578
  if (Ee.didInitialize) return;
6578
- const x = new URL(
6579
+ const E = new URL(
6579
6580
  "/silent-check-sso.html",
6580
6581
  window.location.href
6581
6582
  ).toString();
@@ -6583,12 +6584,12 @@ function Gs({
6583
6584
  onLoad: "check-sso",
6584
6585
  pkceMethod: "S256",
6585
6586
  flow: "standard",
6586
- silentCheckSsoRedirectUri: x,
6587
+ silentCheckSsoRedirectUri: E,
6587
6588
  // Evitar iframe: el servidor Keycloak suele enviar X-Frame-Options: sameorigin
6588
6589
  // y el navegador bloquea "Refused to display in a frame", rompiendo token/permisos/logout.
6589
6590
  checkLoginIframe: !1
6590
- }).then((E) => {
6591
- if (!E) {
6591
+ }).then((C) => {
6592
+ if (!C) {
6592
6593
  Ee.login({
6593
6594
  // select_account fuerza pantalla de selección de cuenta en el IdP (ej. Google).
6594
6595
  // Tipos de keycloak-js no incluyen select_account; es válido en OIDC.
@@ -6596,68 +6597,68 @@ function Gs({
6596
6597
  }), rt(Ae.general, !1, !0);
6597
6598
  return;
6598
6599
  }
6599
- const v = Ee.idTokenParsed, { terminal: p, setTerminal: _ } = Re.getState(), U = `${(v == null ? void 0 : v.given_name) ?? ""}${v != null && v.given_name && (v != null && v.family_name) ? " " : ""}${v == null ? void 0 : v.family_name}`;
6600
+ const d = Ee.idTokenParsed, { terminal: _, setTerminal: U } = Re.getState(), V = `${(d == null ? void 0 : d.given_name) ?? ""}${d != null && d.given_name && (d != null && d.family_name) ? " " : ""}${d == null ? void 0 : d.family_name}`;
6600
6601
  Re.setState({
6601
- nombre: U
6602
+ nombre: V
6602
6603
  });
6603
- const B = v.terminal;
6604
- typeof p != "number" && typeof B == "number" && _(Number(B));
6605
- const V = v == null ? void 0 : v.email;
6606
- if (!V) {
6604
+ const B = d.terminal;
6605
+ typeof _ != "number" && typeof B == "number" && U(Number(B));
6606
+ const M = d == null ? void 0 : d.email;
6607
+ if (!M) {
6607
6608
  rt(Ae.general, !1, !0);
6608
6609
  return;
6609
6610
  }
6610
6611
  Ee.updateToken(30).then(() => {
6611
- const j = Ee.token ?? Ee.idToken ?? void 0;
6612
- return lo(V, n, j);
6613
- }).then(async (j) => {
6614
- var c, M, O, N, D;
6615
- const R = (N = (O = (M = (c = j.response) == null ? void 0 : c[0]) == null ? void 0 : M.permisos) == null ? void 0 : O.aplicaciones) == null ? void 0 : N.find(
6616
- ({ id: J }) => J === r
6612
+ const T = Ee.token ?? Ee.idToken ?? void 0;
6613
+ return lo(M, n, T);
6614
+ }).then(async (T) => {
6615
+ var $, O, N, D, J;
6616
+ const L = (D = (N = (O = ($ = T.response) == null ? void 0 : $[0]) == null ? void 0 : O.permisos) == null ? void 0 : N.aplicaciones) == null ? void 0 : D.find(
6617
+ ({ id: ne }) => ne === r
6617
6618
  );
6618
- if (!((D = j.response) != null && D[0]) || !R)
6619
+ if (!((J = T.response) != null && J[0]) || !L)
6619
6620
  throw new Error("No se han encontrado permisos");
6620
- h(
6621
+ x(
6621
6622
  Vn.filter(
6622
- ({ id: J }) => {
6623
- var ne, ue, i;
6624
- return (i = (ue = (ne = j.response) == null ? void 0 : ne[0]) == null ? void 0 : ue.permisos) == null ? void 0 : i.aplicaciones.some(
6625
- ({ id: s }) => J === s
6623
+ ({ id: ne }) => {
6624
+ var ue, i, s;
6625
+ return (s = (i = (ue = T.response) == null ? void 0 : ue[0]) == null ? void 0 : i.permisos) == null ? void 0 : s.aplicaciones.some(
6626
+ ({ id: h }) => ne === h
6626
6627
  );
6627
6628
  }
6628
6629
  )
6629
6630
  ), Fn.setState({
6630
- permisos: R
6631
+ permisos: L
6631
6632
  });
6632
- const L = await uo();
6633
- if (L.isError || !L.data.length)
6633
+ const W = await uo();
6634
+ if (W.isError || !W.data.length)
6634
6635
  throw new Error("No se han encontrado terminales");
6635
- const H = typeof (v == null ? void 0 : v.terminal) == "number" ? v.terminal : void 0, F = Js(
6636
- j.response[0].terminales ?? [],
6637
- L.data,
6638
- H
6636
+ const F = typeof (d == null ? void 0 : d.terminal) == "number" ? d.terminal : void 0, q = Js(
6637
+ T.response[0].terminales ?? [],
6638
+ W.data,
6639
+ F
6639
6640
  );
6640
- if (!F.length)
6641
+ if (!q.length)
6641
6642
  throw new Error("No tienes acceso a ninguna terminal");
6642
6643
  Re.setState({
6643
- terminales: F,
6644
+ terminales: q,
6644
6645
  mostrarBotonDrawer: !0,
6645
- terminalDeNomina: H
6646
+ terminalDeNomina: F
6646
6647
  }), _e.setState({ cargando: !1 });
6647
- const { terminal: re, setTerminal: le } = Re.getState(), W = Number(v == null ? void 0 : v.terminal);
6648
- re || le(
6649
- Number.isNaN(W) ? F[0].codigo : W
6648
+ const { terminal: le, setTerminal: H } = Re.getState(), c = Number(d == null ? void 0 : d.terminal);
6649
+ le || H(
6650
+ Number.isNaN(c) ? q[0].codigo : c
6650
6651
  );
6651
- }).catch((j) => {
6652
- console.error("Error al obtener permisos", j);
6652
+ }).catch((T) => {
6653
+ console.error("Error al obtener permisos", T);
6653
6654
  }).finally(() => rt(Ae.general, !1, !0));
6654
6655
  });
6655
- }, [r]), /* @__PURE__ */ d.jsx(so, { theme: l ?? lt, children: /* @__PURE__ */ d.jsx(
6656
+ }, [r]), /* @__PURE__ */ f.jsx(so, { theme: l ?? lt, children: /* @__PURE__ */ f.jsx(
6656
6657
  Qs,
6657
6658
  {
6658
- apps: f,
6659
- menus: C,
6660
- nombreApp: t ?? (u == null ? void 0 : u.nombre),
6659
+ apps: g,
6660
+ menus: S,
6661
+ nombreApp: t ?? (p == null ? void 0 : p.nombre),
6661
6662
  onCerrarSesion: w,
6662
6663
  LinkComponent: a,
6663
6664
  children: e
@@ -6676,7 +6677,7 @@ const fc = {
6676
6677
  const o = ye(() => {
6677
6678
  Ee.login({ idpHint: "google" });
6678
6679
  }, []);
6679
- return /* @__PURE__ */ d.jsx(
6680
+ return /* @__PURE__ */ f.jsx(
6680
6681
  ce,
6681
6682
  {
6682
6683
  sx: {
@@ -6692,7 +6693,7 @@ const fc = {
6692
6693
  alignItems: "center",
6693
6694
  justifyContent: "center"
6694
6695
  },
6695
- children: /* @__PURE__ */ d.jsxs(
6696
+ children: /* @__PURE__ */ f.jsxs(
6696
6697
  ce,
6697
6698
  {
6698
6699
  sx: {
@@ -6706,7 +6707,7 @@ const fc = {
6706
6707
  padding: "36px 32px"
6707
6708
  },
6708
6709
  children: [
6709
- /* @__PURE__ */ d.jsx(ce, { sx: { display: "flex", justifyContent: "center", mb: 2 }, children: /* @__PURE__ */ d.jsx(
6710
+ /* @__PURE__ */ f.jsx(ce, { sx: { display: "flex", justifyContent: "center", mb: 2 }, children: /* @__PURE__ */ f.jsx(
6710
6711
  ce,
6711
6712
  {
6712
6713
  component: "img",
@@ -6715,8 +6716,8 @@ const fc = {
6715
6716
  sx: { maxWidth: 300, height: "auto", display: "block" }
6716
6717
  }
6717
6718
  ) }),
6718
- /* @__PURE__ */ d.jsx(Ar, { sx: { mb: 3 } }),
6719
- /* @__PURE__ */ d.jsx(
6719
+ /* @__PURE__ */ f.jsx(Ar, { sx: { mb: 3 } }),
6720
+ /* @__PURE__ */ f.jsx(
6720
6721
  we,
6721
6722
  {
6722
6723
  component: "span",
@@ -6733,7 +6734,7 @@ const fc = {
6733
6734
  children: "Bienvenido"
6734
6735
  }
6735
6736
  ),
6736
- /* @__PURE__ */ d.jsx(
6737
+ /* @__PURE__ */ f.jsx(
6737
6738
  we,
6738
6739
  {
6739
6740
  variant: "body2",
@@ -6746,14 +6747,14 @@ const fc = {
6746
6747
  children: t
6747
6748
  }
6748
6749
  ),
6749
- /* @__PURE__ */ d.jsx(
6750
+ /* @__PURE__ */ f.jsx(
6750
6751
  pn,
6751
6752
  {
6752
6753
  fullWidth: !0,
6753
6754
  variant: "outlined",
6754
6755
  size: "large",
6755
6756
  onClick: o,
6756
- startIcon: /* @__PURE__ */ d.jsx(Po, { width: 22, height: 22 }),
6757
+ startIcon: /* @__PURE__ */ f.jsx(Po, { width: 22, height: 22 }),
6757
6758
  sx: {
6758
6759
  height: 44,
6759
6760
  borderRadius: "8px",
@@ -6772,7 +6773,7 @@ const fc = {
6772
6773
  children: "Iniciar sesión con Google"
6773
6774
  }
6774
6775
  ),
6775
- /* @__PURE__ */ d.jsxs(
6776
+ /* @__PURE__ */ f.jsxs(
6776
6777
  ce,
6777
6778
  {
6778
6779
  sx: {
@@ -6784,7 +6785,7 @@ const fc = {
6784
6785
  margin: "24px 0"
6785
6786
  },
6786
6787
  children: [
6787
- /* @__PURE__ */ d.jsx(
6788
+ /* @__PURE__ */ f.jsx(
6788
6789
  ce,
6789
6790
  {
6790
6791
  sx: {
@@ -6794,7 +6795,7 @@ const fc = {
6794
6795
  }
6795
6796
  }
6796
6797
  ),
6797
- /* @__PURE__ */ d.jsx(
6798
+ /* @__PURE__ */ f.jsx(
6798
6799
  we,
6799
6800
  {
6800
6801
  component: "span",
@@ -6809,7 +6810,7 @@ const fc = {
6809
6810
  children: "Acceso corporativo"
6810
6811
  }
6811
6812
  ),
6812
- /* @__PURE__ */ d.jsx(
6813
+ /* @__PURE__ */ f.jsx(
6813
6814
  ce,
6814
6815
  {
6815
6816
  sx: {
@@ -6822,7 +6823,7 @@ const fc = {
6822
6823
  ]
6823
6824
  }
6824
6825
  ),
6825
- /* @__PURE__ */ d.jsx(
6826
+ /* @__PURE__ */ f.jsx(
6826
6827
  ce,
6827
6828
  {
6828
6829
  sx: {
@@ -6853,8 +6854,8 @@ const fc = {
6853
6854
  toolbar: a
6854
6855
  }) => {
6855
6856
  var l, u;
6856
- return `import { ${e}, estado${e}${((l = t == null ? void 0 : t.lib) == null ? void 0 : l.reduce((f, h) => ` ${f}, ${h}`, "")) ?? ""}, useEstado${e} } from "laLibXd";
6857
- import { ${a ? "Toolbar as MuiToolbar, " : ""}Box, Button${((u = t == null ? void 0 : t.mui) == null ? void 0 : u.reduce((f, h) => ` ${f}, ${h}`, "")) ?? ""} } from "@mui/material";
6857
+ return `import { ${e}, estado${e}${((l = t == null ? void 0 : t.lib) == null ? void 0 : l.reduce((p, g) => ` ${p}, ${g}`, "")) ?? ""}, useEstado${e} } from "laLibXd";
6858
+ import { ${a ? "Toolbar as MuiToolbar, " : ""}Box, Button${((u = t == null ? void 0 : t.mui) == null ? void 0 : u.reduce((p, g) => ` ${p}, ${g}`, "")) ?? ""} } from "@mui/material";
6858
6859
 
6859
6860
  const ${e}Story = () => {
6860
6861
  const estado = useEstado${e}((est) => est);
@@ -6863,8 +6864,8 @@ const ${e}Story = () => {
6863
6864
  <MuiToolbar />` : ""}
6864
6865
  ${o ? '<Box display="flex">' : "<>"}
6865
6866
  <${e}${n != null && n.length ? n.map(
6866
- ({ fun: f, nombre: h }) => `
6867
- ${h}={${f.toString().split(`
6867
+ ({ fun: p, nombre: g }) => `
6868
+ ${g}={${p.toString().split(`
6868
6869
  `).join(`
6869
6870
  `).replace("action(", "console.log(")}}`
6870
6871
  ).join("") : ""}${n != null && n.length ? `
@@ -6877,13 +6878,13 @@ const ${e}Story = () => {
6877
6878
  alignItems="flex-end"
6878
6879
  flexDirection="column"
6879
6880
  >` : ""}${r != null && r.length ? r.map(
6880
- ({ nombre: f, onClick: h }) => `
6881
+ ({ nombre: p, onClick: g }) => `
6881
6882
  <Button
6882
- onClick={${h.toString().split(`
6883
+ onClick={${g.toString().split(`
6883
6884
  `).join(`
6884
6885
  `)}}
6885
6886
  >
6886
- ${f}
6887
+ ${p}
6887
6888
  </Button>`
6888
6889
  ).join("") : ""}${r != null && r.length ? `
6889
6890
  <pre
@@ -6910,10 +6911,10 @@ const ${e}Story = () => {
6910
6911
  }) => {
6911
6912
  var o;
6912
6913
  const n = r((a) => a);
6913
- return /* @__PURE__ */ d.jsxs(d.Fragment, { children: [
6914
+ return /* @__PURE__ */ f.jsxs(f.Fragment, { children: [
6914
6915
  e,
6915
- /* @__PURE__ */ d.jsx("pre", { children: qs(t) }),
6916
- t.botones && /* @__PURE__ */ d.jsxs(
6916
+ /* @__PURE__ */ f.jsx("pre", { children: qs(t) }),
6917
+ t.botones && /* @__PURE__ */ f.jsxs(
6917
6918
  ce,
6918
6919
  {
6919
6920
  position: "fixed",
@@ -6923,8 +6924,8 @@ const ${e}Story = () => {
6923
6924
  alignItems: "flex-end",
6924
6925
  flexDirection: "column",
6925
6926
  children: [
6926
- /* @__PURE__ */ d.jsx(ce, { display: "flex", alignItems: "center", children: (o = t.botones) == null ? void 0 : o.map(({ nombre: a, onClick: l }) => /* @__PURE__ */ d.jsx(pn, { onClick: l, children: a })) }),
6927
- /* @__PURE__ */ d.jsxs(
6927
+ /* @__PURE__ */ f.jsx(ce, { display: "flex", alignItems: "center", children: (o = t.botones) == null ? void 0 : o.map(({ nombre: a, onClick: l }) => /* @__PURE__ */ f.jsx(pn, { onClick: l, children: a })) }),
6928
+ /* @__PURE__ */ f.jsxs(
6928
6929
  "pre",
6929
6930
  {
6930
6931
  style: {
@@ -6949,9 +6950,9 @@ const ${e}Story = () => {
6949
6950
  ...r
6950
6951
  }) => {
6951
6952
  if (!e) return null;
6952
- if (typeof e == "string") return /* @__PURE__ */ d.jsx(Tr, { ...r, children: e });
6953
+ if (typeof e == "string") return /* @__PURE__ */ f.jsx(Tr, { ...r, children: e });
6953
6954
  const t = e;
6954
- return /* @__PURE__ */ d.jsx(t, { ...r });
6955
+ return /* @__PURE__ */ f.jsx(t, { ...r });
6955
6956
  };
6956
6957
  export {
6957
6958
  Ko as AppToolbar,