storybook 9.1.14 → 9.1.16

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.
@@ -19,7 +19,7 @@ var we = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports),
19
19
  !bf.call(e, r) && r !== o && Go(e, r, { get: () => t[r], enumerable: !(i = hf(t, r)) || i.enumerable });
20
20
  return e;
21
21
  };
22
- var Ve = (e, t, o) => (o = e != null ? mf(yf(e)) : {}, xf(
22
+ var je = (e, t, o) => (o = e != null ? mf(yf(e)) : {}, xf(
23
23
  // If the importer is in node compatibility mode or this is not an ESM
24
24
  // file that has been converted to a CommonJS file using a Babel-
25
25
  // compatible transform (i.e. "__esModule" has not been set), then set
@@ -29,14 +29,14 @@ var Ve = (e, t, o) => (o = e != null ? mf(yf(e)) : {}, xf(
29
29
  ));
30
30
 
31
31
  // ../node_modules/prop-types/lib/ReactPropTypesSecret.js
32
- var Qa = we((T_, Ya) => {
32
+ var Qa = we((C_, Ya) => {
33
33
  "use strict";
34
34
  var py = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
35
35
  Ya.exports = py;
36
36
  });
37
37
 
38
38
  // ../node_modules/prop-types/factoryWithThrowingShims.js
39
- var el = we((C_, Ja) => {
39
+ var el = we((__, Ja) => {
40
40
  "use strict";
41
41
  var dy = Qa();
42
42
  function Xa() {
@@ -89,13 +89,13 @@ Read more at http://fb.me/use-check-prop-types"
89
89
  });
90
90
 
91
91
  // ../node_modules/prop-types/index.js
92
- var si = we((P_, tl) => {
92
+ var si = we((A_, tl) => {
93
93
  tl.exports = el()();
94
- var k_, O_;
94
+ var O_, P_;
95
95
  });
96
96
 
97
97
  // ../node_modules/react-fast-compare/index.js
98
- var rl = we((A_, ol) => {
98
+ var rl = we((D_, ol) => {
99
99
  var fy = typeof Element < "u", my = typeof Map == "function", hy = typeof Set == "function", gy = typeof ArrayBuffer == "function" && !!ArrayBuffer.
100
100
  isView;
101
101
  function fr(e, t) {
@@ -159,7 +159,7 @@ var rl = we((A_, ol) => {
159
159
  });
160
160
 
161
161
  // ../node_modules/invariant/browser.js
162
- var il = we((M_, nl) => {
162
+ var il = we((L_, nl) => {
163
163
  "use strict";
164
164
  var yy = /* @__PURE__ */ a(function(e, t, o, i, r, n, l, u) {
165
165
  if (!e) {
@@ -183,7 +183,7 @@ var il = we((M_, nl) => {
183
183
  });
184
184
 
185
185
  // ../node_modules/shallowequal/index.js
186
- var al = we((N_, sl) => {
186
+ var al = we((F_, sl) => {
187
187
  sl.exports = /* @__PURE__ */ a(function(t, o, i, r) {
188
188
  var n = i ? i.call(r, t, o) : void 0;
189
189
  if (n !== void 0)
@@ -581,7 +581,7 @@ var Fi = we((kr) => {
581
581
  });
582
582
 
583
583
  // ../node_modules/fast-decode-uri-component/index.js
584
- var su = we((_A, iu) => {
584
+ var su = we((OA, iu) => {
585
585
  "use strict";
586
586
  var ru = 12, fv = 0, Ri = [
587
587
  // The first part of the table maps bytes to character to a transition.
@@ -1053,7 +1053,7 @@ var cu = we((mt) => {
1053
1053
  if (typeof e != "string")
1054
1054
  return f;
1055
1055
  let h = e.length, y = "", m = -1, b = -1, x = -1, E = f, g, v = "", S = "", w = !1, k = !1, _ = !1, C = !1, T = !1, O = !1, P = !1, D = 0,
1056
- M = -1, F = -1, Z = -1;
1056
+ M = -1, N = -1, Z = -1;
1057
1057
  for (let V = 0; V < h + 1; V++) {
1058
1058
  if (D = V !== h ? e.charCodeAt(V) : d, D === d) {
1059
1059
  if (P = b > m, P || (b = V), x !== b - 1 && (S = Pr(e, x + 1, M > -1 ? M : b, _, w), v = i(S), g !== void 0 && (E = (0, Or.getDeepObject)(
@@ -1061,19 +1061,19 @@ var cu = we((mt) => {
1061
1061
  P && (y = e.slice(b + 1, V), C && (y = y.replace(lu, " ")), k && (y = (0, au.default)(y) || y));
1062
1062
  let Q = o(y, v);
1063
1063
  if (l) {
1064
- let z = E[v];
1065
- z === void 0 ? M > -1 ? E[v] = [Q] : E[v] = Q : z.pop ? z.push(Q) : E[v] = [z, Q];
1064
+ let H = E[v];
1065
+ H === void 0 ? M > -1 ? E[v] = [Q] : E[v] = Q : H.pop ? H.push(Q) : E[v] = [H, Q];
1066
1066
  } else
1067
1067
  E[v] = Q;
1068
1068
  }
1069
1069
  y = "", m = V, b = V, w = !1, k = !1, _ = !1, C = !1, T = !1, O = !1, M = -1, x = V, E = f, g = void 0, v = "";
1070
- } else D === 93 ? (l && r === "bracket" && Z === 91 && (M = F), n && (u === "index" || p) && b <= m && (x !== F && (S = Pr(e, x + 1, V,
1070
+ } else D === 93 ? (l && r === "bracket" && Z === 91 && (M = N), n && (u === "index" || p) && b <= m && (x !== N && (S = Pr(e, x + 1, V,
1071
1071
  _, w), v = i(S), g !== void 0 && (E = (0, Or.getDeepObject)(E, g, v, void 0, p)), g = v, _ = !1, w = !1), x = V, O = !0, T = !1)) : D ===
1072
- 46 ? n && (u === "dot" || p) && b <= m && (x !== F && (S = Pr(e, x + 1, V, _, w), v = i(S), g !== void 0 && (E = (0, Or.getDeepObject)(
1073
- E, g, v, p)), g = v, _ = !1, w = !1), T = !0, O = !1, x = V) : D === 91 ? n && (u === "index" || p) && b <= m && (x !== F && (S = Pr(e,
1072
+ 46 ? n && (u === "dot" || p) && b <= m && (x !== N && (S = Pr(e, x + 1, V, _, w), v = i(S), g !== void 0 && (E = (0, Or.getDeepObject)(
1073
+ E, g, v, p)), g = v, _ = !1, w = !1), T = !0, O = !1, x = V) : D === 91 ? n && (u === "index" || p) && b <= m && (x !== N && (S = Pr(e,
1074
1074
  x + 1, V, _, w), v = i(S), p && g !== void 0 && (E = (0, Or.getDeepObject)(E, g, v, p)), g = v, _ = !1, w = !1, T = !1, O = !0), x = V) :
1075
1075
  D === 61 ? b <= m ? b = V : k = !0 : D === 43 ? b > m ? C = !0 : _ = !0 : D === 37 && (b > m ? k = !0 : w = !0);
1076
- F = V, Z = D;
1076
+ N = V, Z = D;
1077
1077
  }
1078
1078
  return f;
1079
1079
  }
@@ -1123,7 +1123,7 @@ var du = we((Xe) => {
1123
1123
  });
1124
1124
 
1125
1125
  // ../node_modules/toggle-selection/index.js
1126
- var bu = we((XA, yu) => {
1126
+ var bu = we((JA, yu) => {
1127
1127
  yu.exports = function() {
1128
1128
  var e = document.getSelection();
1129
1129
  if (!e.rangeCount)
@@ -1150,7 +1150,7 @@ var bu = we((XA, yu) => {
1150
1150
  });
1151
1151
 
1152
1152
  // ../node_modules/copy-to-clipboard/index.js
1153
- var Iu = we((ZA, xu) => {
1153
+ var Iu = we((eD, xu) => {
1154
1154
  "use strict";
1155
1155
  var Av = bu(), vu = {
1156
1156
  "text/plain": "Text",
@@ -1208,7 +1208,7 @@ de"), Ur = Symbol.for("react.profiler"), Gr = Symbol.for("react.provider"), qr =
1208
1208
  context"), Yr = Symbol.for("react.forward_ref"), Qr = Symbol.for("react.suspense"), Xr = Symbol.for("react.suspense_list"), Zr = Symbol.for(
1209
1209
  "react.memo"), Jr = Symbol.for("react.lazy"), Mx = Symbol.for("react.offscreen"), wp;
1210
1210
  wp = Symbol.for("react.module.reference");
1211
- function Ue(e) {
1211
+ function Ge(e) {
1212
1212
  if (typeof e == "object" && e !== null) {
1213
1213
  var t = e.$$typeof;
1214
1214
  switch (t) {
@@ -1238,7 +1238,7 @@ context"), Yr = Symbol.for("react.forward_ref"), Qr = Symbol.for("react.suspense
1238
1238
  }
1239
1239
  }
1240
1240
  }
1241
- a(Ue, "v");
1241
+ a(Ge, "v");
1242
1242
  pe.ContextConsumer = qr;
1243
1243
  pe.ContextProvider = Gr;
1244
1244
  pe.Element = Zi;
@@ -1258,51 +1258,51 @@ context"), Yr = Symbol.for("react.forward_ref"), Qr = Symbol.for("react.suspense
1258
1258
  return !1;
1259
1259
  };
1260
1260
  pe.isContextConsumer = function(e) {
1261
- return Ue(e) === qr;
1261
+ return Ge(e) === qr;
1262
1262
  };
1263
1263
  pe.isContextProvider = function(e) {
1264
- return Ue(e) === Gr;
1264
+ return Ge(e) === Gr;
1265
1265
  };
1266
1266
  pe.isElement = function(e) {
1267
1267
  return typeof e == "object" && e !== null && e.$$typeof === Zi;
1268
1268
  };
1269
1269
  pe.isForwardRef = function(e) {
1270
- return Ue(e) === Yr;
1270
+ return Ge(e) === Yr;
1271
1271
  };
1272
1272
  pe.isFragment = function(e) {
1273
- return Ue(e) === Kr;
1273
+ return Ge(e) === Kr;
1274
1274
  };
1275
1275
  pe.isLazy = function(e) {
1276
- return Ue(e) === Jr;
1276
+ return Ge(e) === Jr;
1277
1277
  };
1278
1278
  pe.isMemo = function(e) {
1279
- return Ue(e) === Zr;
1279
+ return Ge(e) === Zr;
1280
1280
  };
1281
1281
  pe.isPortal = function(e) {
1282
- return Ue(e) === Ji;
1282
+ return Ge(e) === Ji;
1283
1283
  };
1284
1284
  pe.isProfiler = function(e) {
1285
- return Ue(e) === Ur;
1285
+ return Ge(e) === Ur;
1286
1286
  };
1287
1287
  pe.isStrictMode = function(e) {
1288
- return Ue(e) === $r;
1288
+ return Ge(e) === $r;
1289
1289
  };
1290
1290
  pe.isSuspense = function(e) {
1291
- return Ue(e) === Qr;
1291
+ return Ge(e) === Qr;
1292
1292
  };
1293
1293
  pe.isSuspenseList = function(e) {
1294
- return Ue(e) === Xr;
1294
+ return Ge(e) === Xr;
1295
1295
  };
1296
1296
  pe.isValidElementType = function(e) {
1297
1297
  return typeof e == "string" || typeof e == "function" || e === Kr || e === Ur || e === $r || e === Qr || e === Xr || e === Mx || typeof e ==
1298
1298
  "object" && e !== null && (e.$$typeof === Jr || e.$$typeof === Zr || e.$$typeof === Gr || e.$$typeof === qr || e.$$typeof === Yr || e.$$typeof ===
1299
1299
  wp || e.getModuleId !== void 0);
1300
1300
  };
1301
- pe.typeOf = Ue;
1301
+ pe.typeOf = Ge;
1302
1302
  });
1303
1303
 
1304
1304
  // ../node_modules/downshift/node_modules/react-is/index.js
1305
- var Cp = we((AR, Tp) => {
1305
+ var Cp = we((MR, Tp) => {
1306
1306
  "use strict";
1307
1307
  Tp.exports = Ep();
1308
1308
  });
@@ -1363,8 +1363,8 @@ var Ld = we((jo, js) => {
1363
1363
  function p(m, b) {
1364
1364
  var x = b.location, E = x === void 0 ? 0 : x, g = b.distance, v = g === void 0 ? 100 : g, S = b.threshold, w = S === void 0 ? 0.6 :
1365
1365
  S, k = b.maxPatternLength, _ = k === void 0 ? 32 : k, C = b.caseSensitive, T = C !== void 0 && C, O = b.tokenSeparator, P = O === void 0 ?
1366
- / +/g : O, D = b.findAllMatches, M = D !== void 0 && D, F = b.minMatchCharLength, Z = F === void 0 ? 1 : F, V = b.id, Q = V === void 0 ?
1367
- null : V, z = b.keys, q = z === void 0 ? [] : z, W = b.shouldSort, re = W === void 0 || W, R = b.getFn, B = R === void 0 ? u : R, L = b.
1366
+ / +/g : O, D = b.findAllMatches, M = D !== void 0 && D, N = b.minMatchCharLength, Z = N === void 0 ? 1 : N, V = b.id, Q = V === void 0 ?
1367
+ null : V, H = b.keys, q = H === void 0 ? [] : H, W = b.shouldSort, re = W === void 0 || W, F = b.getFn, R = F === void 0 ? u : F, L = b.
1368
1368
  sortFn, $ = L === void 0 ? function(fe, Se) {
1369
1369
  return fe.score - Se.score;
1370
1370
  } : L, J = b.tokenize, ie = J !== void 0 && J, te = b.matchAllTokens, de = te !== void 0 && te, ae = b.includeMatches, ce = ae !==
@@ -1372,7 +1372,7 @@ var Ld = we((jo, js) => {
1372
1372
  (function(fe, Se) {
1373
1373
  if (!(fe instanceof Se)) throw new TypeError("Cannot call a class as a function");
1374
1374
  })(this, p), this.options = { location: E, distance: v, threshold: w, maxPatternLength: _, isCaseSensitive: T, tokenSeparator: P, findAllMatches: M,
1375
- minMatchCharLength: Z, id: Q, keys: q, includeMatches: ce, includeScore: Ie, shouldSort: re, getFn: B, sortFn: $, verbose: Oe, tokenize: ie,
1375
+ minMatchCharLength: Z, id: Q, keys: q, includeMatches: ce, includeScore: Ie, shouldSort: re, getFn: R, sortFn: $, verbose: Oe, tokenize: ie,
1376
1376
  matchAllTokens: de }, this.setCollection(m), this._processKeys(q);
1377
1377
  }
1378
1378
  a(p, "e");
@@ -1424,20 +1424,20 @@ Search pattern: "`.concat(m, '"'));
1424
1424
  }, "value") }, { key: "_analyze", value: /* @__PURE__ */ a(function(m, b) {
1425
1425
  var x = this, E = m.key, g = m.arrayIndex, v = g === void 0 ? -1 : g, S = m.value, w = m.record, k = m.index, _ = b.tokenSearchers,
1426
1426
  C = _ === void 0 ? [] : _, T = b.fullSearcher, O = b.resultMap, P = O === void 0 ? {} : O, D = b.results, M = D === void 0 ? [] : D;
1427
- (/* @__PURE__ */ a(function F(Z, V, Q, z) {
1427
+ (/* @__PURE__ */ a(function N(Z, V, Q, H) {
1428
1428
  if (V != null) {
1429
1429
  if (typeof V == "string") {
1430
1430
  var q = !1, W = -1, re = 0;
1431
1431
  x._log(`
1432
1432
  Key: `.concat(E === "" ? "--" : E));
1433
- var R = T.search(V);
1434
- if (x._log('Full text: "'.concat(V, '", score: ').concat(R.score)), x.options.tokenize) {
1435
- for (var B = V.split(x.options.tokenSeparator), L = B.length, $ = [], J = 0, ie = C.length; J < ie; J += 1) {
1433
+ var F = T.search(V);
1434
+ if (x._log('Full text: "'.concat(V, '", score: ').concat(F.score)), x.options.tokenize) {
1435
+ for (var R = V.split(x.options.tokenSeparator), L = R.length, $ = [], J = 0, ie = C.length; J < ie; J += 1) {
1436
1436
  var te = C[J];
1437
1437
  x._log(`
1438
1438
  Pattern: "`.concat(te.pattern, '"'));
1439
1439
  for (var de = !1, ae = 0; ae < L; ae += 1) {
1440
- var ce = B[ae], ue = te.search(ce), Ie = {};
1440
+ var ce = R[ae], ue = te.search(ce), Ie = {};
1441
1441
  ue.isMatch ? (Ie[ce] = ue.score, q = !0, de = !0, $.push(ue.score)) : (Ie[ce] = 1, x.options.matchAllTokens || $.push(
1442
1442
  1)), x._log('Token: "'.concat(ce, '", score: ').concat(Ie[ce]));
1443
1443
  }
@@ -1447,17 +1447,17 @@ Pattern: "`.concat(te.pattern, '"'));
1447
1447
  for (var ye = $.length, Oe = 1; Oe < ye; Oe += 1) W += $[Oe];
1448
1448
  W /= ye, x._log("Token score average:", W);
1449
1449
  }
1450
- var fe = R.score;
1450
+ var fe = F.score;
1451
1451
  W > -1 && (fe = (fe + W) / 2), x._log("Score average:", fe);
1452
1452
  var Se = !x.options.tokenize || !x.options.matchAllTokens || re >= C.length;
1453
1453
  if (x._log(`
1454
- Check Matches: `.concat(Se)), (q || R.isMatch) && Se) {
1454
+ Check Matches: `.concat(Se)), (q || F.isMatch) && Se) {
1455
1455
  var _e = { key: E, arrayIndex: Z, value: V, score: fe };
1456
- x.options.includeMatches && (_e.matchedIndices = R.matchedIndices);
1457
- var Ae = P[z];
1458
- Ae ? Ae.output.push(_e) : (P[z] = { item: Q, output: [_e] }, M.push(P[z]));
1456
+ x.options.includeMatches && (_e.matchedIndices = F.matchedIndices);
1457
+ var De = P[H];
1458
+ De ? De.output.push(_e) : (P[H] = { item: Q, output: [_e] }, M.push(P[H]));
1459
1459
  }
1460
- } else if (c(V)) for (var et = 0, N = V.length; et < N; et += 1) F(et, V[et], Q, z);
1460
+ } else if (c(V)) for (var et = 0, Pe = V.length; et < Pe; et += 1) N(et, V[et], Q, H);
1461
1461
  }
1462
1462
  }, "e"))(v, S, w, k);
1463
1463
  }, "value") }, { key: "_computeScore", value: /* @__PURE__ */ a(function(m) {
@@ -1499,9 +1499,9 @@ Output:
1499
1499
  for (var P = 0, D = O.length; P < D; P += 1) {
1500
1500
  var M = O[P];
1501
1501
  if (M.matchedIndices.length !== 0) {
1502
- var F = { indices: M.matchedIndices, value: M.value };
1503
- M.key && (F.key = M.key), M.hasOwnProperty("arrayIndex") && M.arrayIndex > -1 && (F.arrayIndex = M.arrayIndex), T.matches.push(
1504
- F);
1502
+ var N = { indices: M.matchedIndices, value: M.value };
1503
+ M.key && (N.key = M.key), M.hasOwnProperty("arrayIndex") && M.arrayIndex > -1 && (N.arrayIndex = M.arrayIndex), T.matches.push(
1504
+ N);
1505
1505
  }
1506
1506
  }
1507
1507
  }), this.options.includeScore && E.push(function(C, T) {
@@ -1533,8 +1533,8 @@ Output:
1533
1533
  function c(h, y) {
1534
1534
  var m = y.location, b = m === void 0 ? 0 : m, x = y.distance, E = x === void 0 ? 100 : x, g = y.threshold, v = g === void 0 ? 0.6 :
1535
1535
  g, S = y.maxPatternLength, w = S === void 0 ? 32 : S, k = y.isCaseSensitive, _ = k !== void 0 && k, C = y.tokenSeparator, T = C ===
1536
- void 0 ? / +/g : C, O = y.findAllMatches, P = O !== void 0 && O, D = y.minMatchCharLength, M = D === void 0 ? 1 : D, F = y.includeMatches,
1537
- Z = F !== void 0 && F;
1536
+ void 0 ? / +/g : C, O = y.findAllMatches, P = O !== void 0 && O, D = y.minMatchCharLength, M = D === void 0 ? 1 : D, N = y.includeMatches,
1537
+ Z = N !== void 0 && N;
1538
1538
  (function(V, Q) {
1539
1539
  if (!(V instanceof Q)) throw new TypeError("Cannot call a class as a function");
1540
1540
  })(this, c), this.options = { location: b, distance: E, threshold: v, maxPatternLength: w, isCaseSensitive: _, tokenSeparator: T, findAllMatches: P,
@@ -1582,23 +1582,23 @@ Output:
1582
1582
  }
1583
1583
  }
1584
1584
  C = -1;
1585
- for (var F = [], Z = 1, V = T + k, Q = 1 << (T <= 31 ? T - 1 : 30), z = 0; z < T; z += 1) {
1585
+ for (var N = [], Z = 1, V = T + k, Q = 1 << (T <= 31 ? T - 1 : 30), H = 0; H < T; H += 1) {
1586
1586
  for (var q = 0, W = V; q < W; )
1587
- i(l, { errors: z, currentLocation: w + W, expectedLocation: w, distance: h }) <= _ ? q = W : V = W, W = Math.floor((V - q) / 2 +
1587
+ i(l, { errors: H, currentLocation: w + W, expectedLocation: w, distance: h }) <= _ ? q = W : V = W, W = Math.floor((V - q) / 2 +
1588
1588
  q);
1589
1589
  V = W;
1590
- var re = Math.max(1, w - W + 1), R = x ? k : Math.min(w + W, k) + T, B = Array(R + 2);
1591
- B[R + 1] = (1 << z) - 1;
1592
- for (var L = R; L >= re; L -= 1) {
1590
+ var re = Math.max(1, w - W + 1), F = x ? k : Math.min(w + W, k) + T, R = Array(F + 2);
1591
+ R[F + 1] = (1 << H) - 1;
1592
+ for (var L = F; L >= re; L -= 1) {
1593
1593
  var $ = L - 1, J = u[n.charAt($)];
1594
- if (J && (O[$] = 1), B[L] = (B[L + 1] << 1 | 1) & J, z !== 0 && (B[L] |= (F[L + 1] | F[L]) << 1 | 1 | F[L + 1]), B[L] & Q && (Z =
1595
- i(l, { errors: z, currentLocation: $, expectedLocation: w, distance: h })) <= _) {
1594
+ if (J && (O[$] = 1), R[L] = (R[L + 1] << 1 | 1) & J, H !== 0 && (R[L] |= (N[L + 1] | N[L]) << 1 | 1 | N[L + 1]), R[L] & Q && (Z =
1595
+ i(l, { errors: H, currentLocation: $, expectedLocation: w, distance: h })) <= _) {
1596
1596
  if (_ = Z, (C = $) <= w) break;
1597
1597
  re = Math.max(1, 2 * w - C);
1598
1598
  }
1599
1599
  }
1600
- if (i(l, { errors: z + 1, currentLocation: w, expectedLocation: w, distance: h }) > _) break;
1601
- F = B;
1600
+ if (i(l, { errors: H + 1, currentLocation: w, expectedLocation: w, distance: h }) > _) break;
1601
+ N = R;
1602
1602
  }
1603
1603
  var ie = { isMatch: C >= 0, score: Z === 0 ? 1e-3 : Z };
1604
1604
  return S && (ie.matchedIndices = r(O, g)), ie;
@@ -1877,9 +1877,9 @@ var Ud = we((bn, vn) => {
1877
1877
  });
1878
1878
 
1879
1879
  // global-externals:react
1880
- var s = __REACT__, { Children: gw, Component: Le, Fragment: Ee, Profiler: yw, PureComponent: bw, StrictMode: vw, Suspense: xw, __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: Iw,
1880
+ var s = __REACT__, { Children: gw, Component: Ne, Fragment: Ee, Profiler: yw, PureComponent: bw, StrictMode: vw, Suspense: xw, __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: Iw,
1881
1881
  act: Sw, cloneElement: ta, createContext: Qt, createElement: ww, createFactory: Ew, createRef: Tw, forwardRef: oa, isValidElement: Cw, lazy: _w,
1882
- memo: _t, startTransition: kw, unstable_act: Ow, useCallback: A, useContext: qo, useDebugValue: Pw, useDeferredValue: ra, useEffect: H, useId: na,
1882
+ memo: _t, startTransition: kw, unstable_act: Ow, useCallback: A, useContext: qo, useDebugValue: Pw, useDeferredValue: ra, useEffect: B, useId: na,
1883
1883
  useImperativeHandle: Aw, useInsertionEffect: Dw, useLayoutEffect: Xt, useMemo: G, useReducer: Zt, useRef: U, useState: K, useSyncExternalStore: Mw,
1884
1884
  useTransition: ia, version: Lw } = __REACT__;
1885
1885
 
@@ -1891,12 +1891,13 @@ createBrowserChannel: sa } = __STORYBOOK_CHANNELS__;
1891
1891
  var Vw = __STORYBOOK_CORE_EVENTS__, { ARGTYPES_INFO_REQUEST: aa, ARGTYPES_INFO_RESPONSE: la, CHANNEL_CREATED: ua, CHANNEL_WS_DISCONNECT: ca,
1892
1892
  CONFIG_ERROR: jw, CREATE_NEW_STORYFILE_REQUEST: pa, CREATE_NEW_STORYFILE_RESPONSE: da, CURRENT_STORY_WAS_SET: Kw, DOCS_PREPARED: $w, DOCS_RENDERED: Uw,
1893
1893
  FILE_COMPONENT_SEARCH_REQUEST: fa, FILE_COMPONENT_SEARCH_RESPONSE: Yo, FORCE_REMOUNT: Sn, FORCE_RE_RENDER: Gw, GLOBALS_UPDATED: qw, NAVIGATE_URL: Yw,
1894
- PLAY_FUNCTION_THREW_EXCEPTION: Qw, PRELOAD_ENTRIES: kt, PREVIEW_BUILDER_PROGRESS: ma, PREVIEW_KEYDOWN: Xw, REGISTER_SUBSCRIPTION: Zw, REQUEST_WHATS_NEW_DATA: Jw,
1895
- RESET_STORY_ARGS: eE, RESULT_WHATS_NEW_DATA: tE, SAVE_STORY_REQUEST: ha, SAVE_STORY_RESPONSE: ga, SELECT_STORY: oE, SET_CONFIG: rE, SET_CURRENT_STORY: ya,
1896
- SET_FILTER: nE, SET_GLOBALS: iE, SET_INDEX: sE, SET_STORIES: aE, SET_WHATS_NEW_CACHE: lE, SHARED_STATE_CHANGED: uE, SHARED_STATE_SET: cE, STORIES_COLLAPSE_ALL: ho,
1897
- STORIES_EXPAND_ALL: wn, STORY_ARGS_UPDATED: pE, STORY_CHANGED: dE, STORY_ERRORED: fE, STORY_FINISHED: mE, STORY_HOT_UPDATED: hE, STORY_INDEX_INVALIDATED: gE,
1898
- STORY_MISSING: yE, STORY_PREPARED: bE, STORY_RENDERED: vE, STORY_RENDER_PHASE_CHANGED: xE, STORY_SPECIFIED: IE, STORY_THREW_EXCEPTION: SE, STORY_UNCHANGED: wE,
1899
- TELEMETRY_ERROR: EE, TOGGLE_WHATS_NEW_NOTIFICATIONS: TE, UNHANDLED_ERRORS_WHILE_PLAYING: CE, UPDATE_GLOBALS: _E, UPDATE_QUERY_PARAMS: kE, UPDATE_STORY_ARGS: OE } = __STORYBOOK_CORE_EVENTS__;
1894
+ PLAY_FUNCTION_THREW_EXCEPTION: Qw, PRELOAD_ENTRIES: kt, PREVIEW_BUILDER_PROGRESS: ma, PREVIEW_INITIALIZED: Xw, PREVIEW_KEYDOWN: Zw, REGISTER_SUBSCRIPTION: Jw,
1895
+ REQUEST_WHATS_NEW_DATA: eE, RESET_STORY_ARGS: tE, RESULT_WHATS_NEW_DATA: oE, SAVE_STORY_REQUEST: ha, SAVE_STORY_RESPONSE: ga, SELECT_STORY: rE,
1896
+ SET_CONFIG: nE, SET_CURRENT_STORY: ya, SET_FILTER: iE, SET_GLOBALS: sE, SET_INDEX: aE, SET_STORIES: lE, SET_WHATS_NEW_CACHE: uE, SHARED_STATE_CHANGED: cE,
1897
+ SHARED_STATE_SET: pE, STORIES_COLLAPSE_ALL: ho, STORIES_EXPAND_ALL: wn, STORY_ARGS_UPDATED: dE, STORY_CHANGED: fE, STORY_ERRORED: mE, STORY_FINISHED: hE,
1898
+ STORY_HOT_UPDATED: gE, STORY_INDEX_INVALIDATED: yE, STORY_MISSING: bE, STORY_PREPARED: vE, STORY_RENDERED: xE, STORY_RENDER_PHASE_CHANGED: IE,
1899
+ STORY_SPECIFIED: SE, STORY_THREW_EXCEPTION: wE, STORY_UNCHANGED: EE, TELEMETRY_ERROR: TE, TOGGLE_WHATS_NEW_NOTIFICATIONS: CE, UNHANDLED_ERRORS_WHILE_PLAYING: _E,
1900
+ UPDATE_GLOBALS: kE, UPDATE_QUERY_PARAMS: OE, UPDATE_STORY_ARGS: PE } = __STORYBOOK_CORE_EVENTS__;
1900
1901
 
1901
1902
  // ../node_modules/@storybook/global/dist/index.mjs
1902
1903
  var se = (() => {
@@ -1956,7 +1957,7 @@ vf(oi, {
1956
1957
  CertificateIcon: () => cm,
1957
1958
  ChangedIcon: () => pm,
1958
1959
  ChatIcon: () => dm,
1959
- CheckIcon: () => Be,
1960
+ CheckIcon: () => He,
1960
1961
  ChevronDownIcon: () => Ot,
1961
1962
  ChevronLeftIcon: () => fm,
1962
1963
  ChevronRightIcon: () => Cn,
@@ -1971,7 +1972,7 @@ vf(oi, {
1971
1972
  CircleIcon: () => kn,
1972
1973
  ClearIcon: () => Im,
1973
1974
  CloseAltIcon: () => bo,
1974
- CloseIcon: () => je,
1975
+ CloseIcon: () => Ke,
1975
1976
  CloudHollowIcon: () => Sm,
1976
1977
  CloudIcon: () => wm,
1977
1978
  CogIcon: () => Qo,
@@ -2162,9 +2163,9 @@ ArrowRightIcon: Nf, ArrowSolidDownIcon: Ff, ArrowSolidLeftIcon: Rf, ArrowSolidRi
2162
2163
  ArrowUpIcon: Vf, AzureDevOpsIcon: jf, BackIcon: Kf, BasketIcon: $f, BatchAcceptIcon: Uf, BatchDenyIcon: Gf, BeakerIcon: qf, BellIcon: Yf, BitbucketIcon: Qf,
2163
2164
  BoldIcon: Xf, BookIcon: Zf, BookmarkHollowIcon: Jf, BookmarkIcon: em, BottomBarIcon: yo, BottomBarToggleIcon: Tn, BoxIcon: tm, BranchIcon: om,
2164
2165
  BrowserIcon: rm, ButtonIcon: nm, CPUIcon: im, CalendarIcon: sm, CameraIcon: am, CameraStabilizeIcon: lm, CategoryIcon: um, CertificateIcon: cm,
2165
- ChangedIcon: pm, ChatIcon: dm, CheckIcon: Be, ChevronDownIcon: Ot, ChevronLeftIcon: fm, ChevronRightIcon: Cn, ChevronSmallDownIcon: mm, ChevronSmallLeftIcon: hm,
2166
+ ChangedIcon: pm, ChatIcon: dm, CheckIcon: He, ChevronDownIcon: Ot, ChevronLeftIcon: fm, ChevronRightIcon: Cn, ChevronSmallDownIcon: mm, ChevronSmallLeftIcon: hm,
2166
2167
  ChevronSmallRightIcon: gm, ChevronSmallUpIcon: _n, ChevronUpIcon: ym, ChromaticIcon: bm, ChromeIcon: vm, CircleHollowIcon: xm, CircleIcon: kn,
2167
- ClearIcon: Im, CloseAltIcon: bo, CloseIcon: je, CloudHollowIcon: Sm, CloudIcon: wm, CogIcon: Qo, CollapseIcon: On, CommandIcon: Pn, CommentAddIcon: Em,
2168
+ ClearIcon: Im, CloseAltIcon: bo, CloseIcon: Ke, CloudHollowIcon: Sm, CloudIcon: wm, CogIcon: Qo, CollapseIcon: On, CommandIcon: Pn, CommentAddIcon: Em,
2168
2169
  CommentIcon: Tm, CommentsIcon: Cm, CommitIcon: _m, CompassIcon: km, ComponentDrivenIcon: Om, ComponentIcon: Xo, ContrastIcon: Pm, ContrastIgnoredIcon: Am,
2169
2170
  ControlsIcon: Dm, CopyIcon: Mm, CreditIcon: Lm, CrossIcon: Nm, DashboardIcon: Fm, DatabaseIcon: Rm, DeleteIcon: Bm, DiamondIcon: Hm, DirectionIcon: zm,
2170
2171
  DiscordIcon: Wm, DocChartIcon: Vm, DocListIcon: jm, DocumentIcon: Pt, DownloadIcon: Km, DragIcon: $m, EditIcon: Um, EllipsisIcon: An, EmailIcon: Gm,
@@ -2187,27 +2188,27 @@ UnpinIcon: jg, UploadIcon: Kg, UserAddIcon: $g, UserAltIcon: Ug, UserIcon: Gg, U
2187
2188
  WandIcon: Zn, WatchIcon: Zg, WindowsIcon: Jg, WrenchIcon: ey, XIcon: ty, YoutubeIcon: oy, ZoomIcon: Jn, ZoomOutIcon: ei, ZoomResetIcon: ti, iconList: ry } = __STORYBOOK_ICONS__;
2188
2189
 
2189
2190
  // global-externals:storybook/manager-api
2190
- var DE = __STORYBOOK_API__, { ActiveTabs: ME, Consumer: me, ManagerContext: LE, Provider: ba, RequestResponseError: NE, addons: He, combineParameters: FE,
2191
- controlOrMetaKey: RE, controlOrMetaSymbol: BE, eventMatchesShortcut: HE, eventToShortcut: va, experimental_MockUniversalStore: zE, experimental_UniversalStore: WE,
2191
+ var ME = __STORYBOOK_API__, { ActiveTabs: LE, Consumer: me, ManagerContext: NE, Provider: ba, RequestResponseError: FE, addons: ze, combineParameters: RE,
2192
+ controlOrMetaKey: BE, controlOrMetaSymbol: HE, eventMatchesShortcut: zE, eventToShortcut: va, experimental_MockUniversalStore: WE, experimental_UniversalStore: VE,
2192
2193
  experimental_getStatusStore: ny, experimental_getTestProviderStore: iy, experimental_requestResponse: Jo, experimental_useStatusStore: Eo, experimental_useTestProviderStore: ri,
2193
- experimental_useUniversalStore: VE, internal_fullStatusStore: At, internal_fullTestProviderStore: Jt, internal_universalStatusStore: jE, internal_universalTestProviderStore: KE,
2194
- isMacLike: $E, isShortcutTaken: UE, keyToSymbol: GE, merge: er, mockChannel: qE, optionOrAltSymbol: YE, shortcutMatchesShortcut: xa, shortcutToHumanString: Ye,
2195
- types: be, useAddonState: QE, useArgTypes: XE, useArgs: ZE, useChannel: Ia, useGlobalTypes: Sa, useGlobals: tr, useParameter: JE, useSharedState: eT,
2196
- useStoryPrepared: tT, useStorybookApi: oe, useStorybookState: Ne } = __STORYBOOK_API__;
2194
+ experimental_useUniversalStore: jE, internal_fullStatusStore: At, internal_fullTestProviderStore: Jt, internal_universalStatusStore: KE, internal_universalTestProviderStore: $E,
2195
+ isMacLike: UE, isShortcutTaken: GE, keyToSymbol: qE, merge: er, mockChannel: YE, optionOrAltSymbol: QE, shortcutMatchesShortcut: xa, shortcutToHumanString: Ye,
2196
+ types: be, useAddonState: XE, useArgTypes: ZE, useArgs: JE, useChannel: Ia, useGlobalTypes: Sa, useGlobals: tr, useParameter: eT, useSharedState: tT,
2197
+ useStoryPrepared: oT, useStorybookApi: oe, useStorybookState: Fe } = __STORYBOOK_API__;
2197
2198
 
2198
2199
  // global-externals:storybook/theming
2199
- var rT = __STORYBOOK_THEMING__, { CacheProvider: nT, ClassNames: iT, Global: eo, ThemeProvider: ni, background: sT, color: wa, convert: aT, create: lT,
2200
- createCache: uT, createGlobal: Ea, createReset: cT, css: pT, darken: dT, ensure: Ta, ignoreSsrWarning: fT, isPropValid: mT, jsx: hT, keyframes: Dt,
2201
- lighten: gT, styled: I, themes: yT, typography: bT, useTheme: De, withTheme: Ca } = __STORYBOOK_THEMING__;
2200
+ var nT = __STORYBOOK_THEMING__, { CacheProvider: iT, ClassNames: sT, Global: eo, ThemeProvider: ni, background: aT, color: wa, convert: lT, create: uT,
2201
+ createCache: cT, createGlobal: Ea, createReset: pT, css: dT, darken: fT, ensure: Ta, ignoreSsrWarning: mT, isPropValid: hT, jsx: gT, keyframes: Dt,
2202
+ lighten: yT, styled: I, themes: bT, typography: vT, useTheme: Me, withTheme: Ca } = __STORYBOOK_THEMING__;
2202
2203
 
2203
2204
  // global-externals:storybook/internal/components
2204
- var xT = __STORYBOOK_COMPONENTS__, { A: IT, ActionBar: ST, AddonPanel: wT, Badge: or, Bar: ET, Blockquote: TT, Button: he, ClipboardCode: CT,
2205
- Code: _T, DL: kT, Div: OT, DocumentWrapper: PT, EmptyTabContent: _a, ErrorFormatter: ka, FlexBar: AT, Form: rr, H1: DT, H2: MT, H3: LT, H4: NT,
2206
- H5: FT, H6: RT, HR: BT, IconButton: ee, Img: HT, LI: zT, Link: Pe, ListItem: sy, Loader: nr, Modal: Mt, OL: WT, P: VT, Placeholder: jT, Pre: KT,
2207
- ProgressSpinner: $T, ResetWrapper: UT, ScrollArea: ir, Separator: yt, Spaced: pt, Span: GT, StorybookIcon: qT, StorybookLogo: sr, SyntaxHighlighter: YT,
2208
- TT: QT, TabBar: ar, TabButton: lr, TabWrapper: XT, Table: ZT, Tabs: Oa, TabsState: JT, TooltipLinkList: ot, TooltipMessage: eC, TooltipNote: rt,
2209
- UL: tC, WithTooltip: ve, WithTooltipPure: oC, Zoom: Pa, codeCommon: rC, components: nC, createCopyToClipboardFunction: iC, getStoryHref: to,
2210
- interleaveSeparators: sC, nameSpaceClassNames: aC, resetComponents: lC, withReset: uC } = __STORYBOOK_COMPONENTS__;
2205
+ var IT = __STORYBOOK_COMPONENTS__, { A: ST, ActionBar: wT, AddonPanel: ET, Badge: or, Bar: TT, Blockquote: CT, Button: he, ClipboardCode: _T,
2206
+ Code: kT, DL: OT, Div: PT, DocumentWrapper: AT, EmptyTabContent: _a, ErrorFormatter: ka, FlexBar: DT, Form: rr, H1: MT, H2: LT, H3: NT, H4: FT,
2207
+ H5: RT, H6: BT, HR: HT, IconButton: ee, Img: zT, LI: WT, Link: Ae, ListItem: sy, Loader: nr, Modal: Mt, OL: VT, P: jT, Placeholder: KT, Pre: $T,
2208
+ ProgressSpinner: UT, ResetWrapper: GT, ScrollArea: ir, Separator: yt, Spaced: pt, Span: qT, StorybookIcon: YT, StorybookLogo: sr, SyntaxHighlighter: QT,
2209
+ TT: XT, TabBar: ar, TabButton: lr, TabWrapper: ZT, Table: JT, Tabs: Oa, TabsState: eC, TooltipLinkList: ot, TooltipMessage: tC, TooltipNote: rt,
2210
+ UL: oC, WithTooltip: ve, WithTooltipPure: rC, Zoom: Pa, codeCommon: nC, components: iC, createCopyToClipboardFunction: sC, getStoryHref: to,
2211
+ interleaveSeparators: aC, nameSpaceClassNames: lC, resetComponents: uC, withReset: cC } = __STORYBOOK_COMPONENTS__;
2211
2212
 
2212
2213
  // src/toolbar/utils/normalize-toolbar-arg-type.ts
2213
2214
  var ay = {
@@ -2266,13 +2267,13 @@ var La = /* @__PURE__ */ a((e) => /* @__PURE__ */ a((o) => {
2266
2267
  let m = d.current, b = m.indexOf(p), x = b > -1 ? b : 0, g = x === 0 ? m.length - 1 : x - 1, v = d.current[g];
2267
2268
  c({ [i]: v });
2268
2269
  }, [d, p, c]);
2269
- return H(() => {
2270
+ return B(() => {
2270
2271
  n && Ma(l, i, {
2271
2272
  next: { ...n.next, action: h },
2272
2273
  previous: { ...n.previous, action: y },
2273
2274
  reset: { ...n.reset, action: f }
2274
2275
  });
2275
- }, [l, i, n, h, y, f]), H(() => {
2276
+ }, [l, i, n, h, y, f]), B(() => {
2276
2277
  d.current = Da(r);
2277
2278
  }, []), /* @__PURE__ */ s.createElement(e, { cycleValues: d.current, ...o });
2278
2279
  }, "WithKeyboardCycle"), "withKeyboardCycle");
@@ -2290,7 +2291,7 @@ tem"), Fa = /* @__PURE__ */ a(({ currentValue: e, items: t }) => {
2290
2291
  }, "getSelectedTitle");
2291
2292
 
2292
2293
  // global-externals:storybook/internal/client-logger
2293
- var _C = __STORYBOOK_CLIENT_LOGGER__, { deprecate: Ba, logger: ur, once: Ha, pretty: kC } = __STORYBOOK_CLIENT_LOGGER__;
2294
+ var kC = __STORYBOOK_CLIENT_LOGGER__, { deprecate: Ba, logger: ur, once: Ha, pretty: OC } = __STORYBOOK_CLIENT_LOGGER__;
2294
2295
 
2295
2296
  // src/components/components/icon/icon.tsx
2296
2297
  var uy = oi, cy = I.svg`
@@ -2320,7 +2321,7 @@ s-deprecated`
2320
2321
  ), null;
2321
2322
  let n = uy[r];
2322
2323
  return /* @__PURE__ */ s.createElement(n, { ...i });
2323
- }, "Icons"), MC = _t(/* @__PURE__ */ a(function({ icons: t = Object.keys(ii) }) {
2324
+ }, "Icons"), LC = _t(/* @__PURE__ */ a(function({ icons: t = Object.keys(ii) }) {
2324
2325
  return /* @__PURE__ */ s.createElement(
2325
2326
  cy,
2326
2327
  {
@@ -2643,18 +2644,18 @@ var ja = /* @__PURE__ */ a(() => {
2643
2644
  }, "ToolbarManager");
2644
2645
 
2645
2646
  // global-externals:react-dom/client
2646
- var a_ = __REACT_DOM_CLIENT__, { createRoot: Ka, hydrateRoot: l_ } = __REACT_DOM_CLIENT__;
2647
+ var l_ = __REACT_DOM_CLIENT__, { createRoot: Ka, hydrateRoot: u_ } = __REACT_DOM_CLIENT__;
2647
2648
 
2648
2649
  // global-externals:storybook/internal/manager-errors
2649
- var c_ = __STORYBOOK_CORE_EVENTS_MANAGER_ERRORS__, { Category: p_, ProviderDoesNotExtendBaseProviderError: $a, StatusTypeIdMismatchError: d_,
2650
- UncaughtManagerError: f_ } = __STORYBOOK_CORE_EVENTS_MANAGER_ERRORS__;
2650
+ var p_ = __STORYBOOK_CORE_EVENTS_MANAGER_ERRORS__, { Category: d_, ProviderDoesNotExtendBaseProviderError: $a, StatusTypeIdMismatchError: f_,
2651
+ UncaughtManagerError: m_ } = __STORYBOOK_CORE_EVENTS_MANAGER_ERRORS__;
2651
2652
 
2652
2653
  // global-externals:storybook/internal/router
2653
- var h_ = __STORYBOOK_ROUTER__, { BaseLocationProvider: g_, DEEPLY_EQUAL: y_, Link: pr, Location: dr, LocationProvider: Ua, Match: Ga, Route: To,
2654
- buildArgsParam: b_, deepDiff: v_, getMatch: x_, parsePath: I_, queryFromLocation: S_, stringifyQuery: w_, useNavigate: qa } = __STORYBOOK_ROUTER__;
2654
+ var g_ = __STORYBOOK_ROUTER__, { BaseLocationProvider: y_, DEEPLY_EQUAL: b_, Link: pr, Location: dr, LocationProvider: Ua, Match: Ga, Route: To,
2655
+ buildArgsParam: v_, deepDiff: x_, getMatch: I_, parsePath: S_, queryFromLocation: w_, stringifyQuery: E_, useNavigate: qa } = __STORYBOOK_ROUTER__;
2655
2656
 
2656
2657
  // ../node_modules/react-helmet-async/lib/index.module.js
2657
- var ne = Ve(si()), ml = Ve(rl()), pi = Ve(il()), hl = Ve(al());
2658
+ var ne = je(si()), ml = je(rl()), pi = je(il()), hl = je(al());
2658
2659
  function xe() {
2659
2660
  return xe = Object.assign || function(e) {
2660
2661
  for (var t = 1; t < arguments.length; t++) {
@@ -2791,7 +2792,7 @@ ld be of type "Array". Instead found type "' + typeof r[e] + '"'), !1);
2791
2792
  u === "innerHTML" || u === "cssText" ? n.dangerouslySetInnerHTML = { __html: o.innerHTML || o.cssText } : n[u] = o[l];
2792
2793
  }), s.createElement(e, n);
2793
2794
  });
2794
- }, "j"), Ke = /* @__PURE__ */ a(function(e, t, o) {
2795
+ }, "j"), $e = /* @__PURE__ */ a(function(e, t, o) {
2795
2796
  switch (e) {
2796
2797
  case X.TITLE:
2797
2798
  return { toComponent: /* @__PURE__ */ a(function() {
@@ -2840,13 +2841,13 @@ ld be of type "Array". Instead found type "' + typeof r[e] + '"'), !1);
2840
2841
  return { priorityMethods: { toComponent: /* @__PURE__ */ a(function() {
2841
2842
  return [].concat(hr(X.META, v.priority), hr(X.LINK, S.priority), hr(X.SCRIPT, w.priority));
2842
2843
  }, "toComponent"), toString: /* @__PURE__ */ a(function() {
2843
- return Ke(X.META, v.priority, g) + " " + Ke(X.LINK, S.priority, g) + " " + Ke(X.SCRIPT, w.priority, g);
2844
+ return $e(X.META, v.priority, g) + " " + $e(X.LINK, S.priority, g) + " " + $e(X.SCRIPT, w.priority, g);
2844
2845
  }, "toString") }, metaTags: v.default, linkTags: S.default, scriptTags: w.default };
2845
2846
  }(e);
2846
2847
  y = m.priorityMethods, p = m.linkTags, f = m.metaTags, h = m.scriptTags;
2847
2848
  }
2848
- return { priority: y, base: Ke(X.BASE, t, i), bodyAttributes: Ke("bodyAttributes", o, i), htmlAttributes: Ke("htmlAttributes", r, i), link: Ke(
2849
- X.LINK, p, i), meta: Ke(X.META, f, i), noscript: Ke(X.NOSCRIPT, n, i), script: Ke(X.SCRIPT, h, i), style: Ke(X.STYLE, l, i), title: Ke(X.TITLE,
2849
+ return { priority: y, base: $e(X.BASE, t, i), bodyAttributes: $e("bodyAttributes", o, i), htmlAttributes: $e("htmlAttributes", r, i), link: $e(
2850
+ X.LINK, p, i), meta: $e(X.META, f, i), noscript: $e(X.NOSCRIPT, n, i), script: $e(X.SCRIPT, h, i), style: $e(X.STYLE, l, i), title: $e(X.TITLE,
2850
2851
  { title: c, titleAttributes: d }, i) };
2851
2852
  }, "k"), mr = [], mi = /* @__PURE__ */ a(function(e, t) {
2852
2853
  var o = this;
@@ -2870,7 +2871,7 @@ add: ne.default.func, remove: ne.default.func }) }), ky = typeof document < "u",
2870
2871
  return a(t, "r"), hi(t, e), t.prototype.render = function() {
2871
2872
  return s.createElement(yl.Provider, { value: this.helmetData.value }, this.props.children);
2872
2873
  }, t;
2873
- }(Le);
2874
+ }(Ne);
2874
2875
  vt.canUseDOM = ky, vt.propTypes = { context: ne.default.shape({ helmet: ne.default.shape() }), children: ne.default.node.isRequired }, vt.defaultProps =
2875
2876
  { context: {} }, vt.displayName = "HelmetProvider";
2876
2877
  var oo = /* @__PURE__ */ a(function(e, t) {
@@ -2943,7 +2944,7 @@ var oo = /* @__PURE__ */ a(function(e, t) {
2943
2944
  }, o.render = function() {
2944
2945
  return this.init(), null;
2945
2946
  }, t;
2946
- }(Le);
2947
+ }(Ne);
2947
2948
  yr.propTypes = { context: _y.isRequired }, yr.displayName = "HelmetDispatcher";
2948
2949
  var Oy = ["children"], Py = ["children"], ko = /* @__PURE__ */ function(e) {
2949
2950
  function t() {
@@ -3025,7 +3026,7 @@ lements. Refer to our API for more information."), (0, pi.default)(!r || typeof
3025
3026
  return s.createElement(yr, xe({}, l, { context: c }));
3026
3027
  });
3027
3028
  }, t;
3028
- }(Le);
3029
+ }(Ne);
3029
3030
  ko.propTypes = { base: ne.default.object, bodyAttributes: ne.default.object, children: ne.default.oneOfType([ne.default.arrayOf(ne.default.node),
3030
3031
  ne.default.node]), defaultTitle: ne.default.string, defer: ne.default.bool, encodeSpecialCharacters: ne.default.bool, htmlAttributes: ne.default.
3031
3032
  object, link: ne.default.arrayOf(ne.default.object), meta: ne.default.arrayOf(ne.default.object), noscript: ne.default.arrayOf(ne.default.object),
@@ -3042,7 +3043,7 @@ function bl(e) {
3042
3043
  function r() {
3043
3044
  i(t(e));
3044
3045
  }
3045
- return a(r, "handleChange"), H(() => {
3046
+ return a(r, "handleChange"), B(() => {
3046
3047
  let n = window.matchMedia(e);
3047
3048
  return r(), n.addEventListener("change", r), () => {
3048
3049
  n.removeEventListener("change", r);
@@ -3190,7 +3191,7 @@ function vr(e) {
3190
3191
  a(vr, "_wrapNativeSuper");
3191
3192
 
3192
3193
  // ../node_modules/polished/dist/polished.esm.js
3193
- var Fe = /* @__PURE__ */ function(e) {
3194
+ var Re = /* @__PURE__ */ function(e) {
3194
3195
  no(t, e);
3195
3196
  function t(o) {
3196
3197
  var i;
@@ -3221,22 +3222,22 @@ var Dy = /* @__PURE__ */ a(function(t) {
3221
3222
  var r = o, n = i;
3222
3223
  if (typeof o == "string") {
3223
3224
  if (!El(o, "px"))
3224
- throw new Fe(69, t, o);
3225
+ throw new Re(69, t, o);
3225
3226
  r = Tl(o);
3226
3227
  }
3227
3228
  if (typeof i == "string") {
3228
3229
  if (!El(i, "px"))
3229
- throw new Fe(70, t, i);
3230
+ throw new Re(70, t, i);
3230
3231
  n = Tl(i);
3231
3232
  }
3232
3233
  if (typeof r == "string")
3233
- throw new Fe(71, o, t);
3234
+ throw new Re(71, o, t);
3234
3235
  if (typeof n == "string")
3235
- throw new Fe(72, i, t);
3236
+ throw new Re(72, i, t);
3236
3237
  return "" + r / n + t;
3237
3238
  };
3238
- }, "pxtoFactory"), _l = Dy, k1 = _l("em");
3239
- var O1 = _l("rem");
3239
+ }, "pxtoFactory"), _l = Dy, O1 = _l("em");
3240
+ var P1 = _l("rem");
3240
3241
  function yi(e) {
3241
3242
  return Math.round(e * 255);
3242
3243
  }
@@ -3416,7 +3417,7 @@ Hy = /^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|
3416
3417
  Wy = /^hsl(?:a)?\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i;
3417
3418
  function io(e) {
3418
3419
  if (typeof e != "string")
3419
- throw new Fe(3);
3420
+ throw new Re(3);
3420
3421
  var t = Ly(e);
3421
3422
  if (t.match(Ny))
3422
3423
  return {
@@ -3468,7 +3469,7 @@ function io(e) {
3468
3469
  var u = parseInt("" + l[1], 10), c = parseInt("" + l[2], 10) / 100, d = parseInt("" + l[3], 10) / 100, p = "rgb(" + Oo(u, c, d) + ")", f = bi.
3469
3470
  exec(p);
3470
3471
  if (!f)
3471
- throw new Fe(4, t, p);
3472
+ throw new Re(4, t, p);
3472
3473
  return {
3473
3474
  red: parseInt("" + f[1], 10),
3474
3475
  green: parseInt("" + f[2], 10),
@@ -3480,7 +3481,7 @@ function io(e) {
3480
3481
  var y = parseInt("" + h[1], 10), m = parseInt("" + h[2], 10) / 100, b = parseInt("" + h[3], 10) / 100, x = "rgb(" + Oo(y, m, b) + ")", E = bi.
3481
3482
  exec(x);
3482
3483
  if (!E)
3483
- throw new Fe(4, t, x);
3484
+ throw new Re(4, t, x);
3484
3485
  return {
3485
3486
  red: parseInt("" + E[1], 10),
3486
3487
  green: parseInt("" + E[2], 10),
@@ -3488,7 +3489,7 @@ function io(e) {
3488
3489
  alpha: parseFloat("" + h[4]) > 1 ? parseFloat("" + h[4]) / 100 : parseFloat("" + h[4])
3489
3490
  };
3490
3491
  }
3491
- throw new Fe(5);
3492
+ throw new Re(5);
3492
3493
  }
3493
3494
  a(io, "parseToRgb");
3494
3495
  function Vy(e) {
@@ -3557,7 +3558,7 @@ function $y(e, t, o) {
3557
3558
  return xr(e, t, o);
3558
3559
  if (typeof e == "object" && t === void 0 && o === void 0)
3559
3560
  return xr(e.hue, e.saturation, e.lightness);
3560
- throw new Fe(1);
3561
+ throw new Re(1);
3561
3562
  }
3562
3563
  a($y, "hsl");
3563
3564
  function Uy(e, t, o, i) {
@@ -3565,7 +3566,7 @@ function Uy(e, t, o, i) {
3565
3566
  return i >= 1 ? xr(e, t, o) : "rgba(" + Oo(e, t, o) + "," + i + ")";
3566
3567
  if (typeof e == "object" && t === void 0 && o === void 0 && i === void 0)
3567
3568
  return e.alpha >= 1 ? xr(e.hue, e.saturation, e.lightness) : "rgba(" + Oo(e.hue, e.saturation, e.lightness) + "," + e.alpha + ")";
3568
- throw new Fe(2);
3569
+ throw new Re(2);
3569
3570
  }
3570
3571
  a(Uy, "hsla");
3571
3572
  function Ii(e, t, o) {
@@ -3573,7 +3574,7 @@ function Ii(e, t, o) {
3573
3574
  return xi("#" + Lt(e) + Lt(t) + Lt(o));
3574
3575
  if (typeof e == "object" && t === void 0 && o === void 0)
3575
3576
  return xi("#" + Lt(e.red) + Lt(e.green) + Lt(e.blue));
3576
- throw new Fe(6);
3577
+ throw new Re(6);
3577
3578
  }
3578
3579
  a(Ii, "rgb");
3579
3580
  function so(e, t, o, i) {
@@ -3586,7 +3587,7 @@ function so(e, t, o, i) {
3586
3587
  if (typeof e == "object" && t === void 0 && o === void 0 && i === void 0)
3587
3588
  return e.alpha >= 1 ? Ii(e.red, e.green, e.blue) : "rgba(" + e.red + "," + e.green + "," + e.blue + "," + e.alpha + ")";
3588
3589
  }
3589
- throw new Fe(7);
3590
+ throw new Re(7);
3590
3591
  }
3591
3592
  a(so, "rgba");
3592
3593
  var Gy = /* @__PURE__ */ a(function(t) {
@@ -3601,12 +3602,12 @@ var Gy = /* @__PURE__ */ a(function(t) {
3601
3602
  return typeof t.hue == "number" && typeof t.saturation == "number" && typeof t.lightness == "number" && typeof t.alpha == "number";
3602
3603
  }, "isHsla");
3603
3604
  function St(e) {
3604
- if (typeof e != "object") throw new Fe(8);
3605
+ if (typeof e != "object") throw new Re(8);
3605
3606
  if (qy(e)) return so(e);
3606
3607
  if (Gy(e)) return Ii(e);
3607
3608
  if (Qy(e)) return Uy(e);
3608
3609
  if (Yy(e)) return $y(e);
3609
- throw new Fe(8);
3610
+ throw new Re(8);
3610
3611
  }
3611
3612
  a(St, "toColorString");
3612
3613
  function kl(e, t, o) {
@@ -3616,10 +3617,10 @@ function kl(e, t, o) {
3616
3617
  }, "fn");
3617
3618
  }
3618
3619
  a(kl, "curried");
3619
- function ze(e) {
3620
+ function We(e) {
3620
3621
  return kl(e, e.length, []);
3621
3622
  }
3622
- a(ze, "curry");
3623
+ a(We, "curry");
3623
3624
  function Xy(e, t) {
3624
3625
  if (t === "transparent") return t;
3625
3626
  var o = It(t);
@@ -3628,7 +3629,7 @@ function Xy(e, t) {
3628
3629
  }));
3629
3630
  }
3630
3631
  a(Xy, "adjustHue");
3631
- var P1 = ze(Xy);
3632
+ var A1 = We(Xy);
3632
3633
  function ao(e, t, o) {
3633
3634
  return Math.max(e, Math.min(t, o));
3634
3635
  }
@@ -3641,7 +3642,7 @@ function Zy(e, t) {
3641
3642
  }));
3642
3643
  }
3643
3644
  a(Zy, "darken");
3644
- var Jy = ze(Zy), Ir = Jy;
3645
+ var Jy = We(Zy), Ir = Jy;
3645
3646
  function eb(e, t) {
3646
3647
  if (t === "transparent") return t;
3647
3648
  var o = It(t);
@@ -3650,7 +3651,7 @@ function eb(e, t) {
3650
3651
  }));
3651
3652
  }
3652
3653
  a(eb, "desaturate");
3653
- var A1 = ze(eb);
3654
+ var D1 = We(eb);
3654
3655
  function tb(e, t) {
3655
3656
  if (t === "transparent") return t;
3656
3657
  var o = It(t);
@@ -3659,7 +3660,7 @@ function tb(e, t) {
3659
3660
  }));
3660
3661
  }
3661
3662
  a(tb, "lighten");
3662
- var ob = ze(tb), Po = ob;
3663
+ var ob = We(tb), Po = ob;
3663
3664
  function rb(e, t, o) {
3664
3665
  if (t === "transparent") return o;
3665
3666
  if (o === "transparent") return t;
@@ -3677,7 +3678,7 @@ function rb(e, t, o) {
3677
3678
  return so(y);
3678
3679
  }
3679
3680
  a(rb, "mix");
3680
- var nb = ze(rb), Ol = nb;
3681
+ var nb = We(rb), Ol = nb;
3681
3682
  function ib(e, t) {
3682
3683
  if (t === "transparent") return t;
3683
3684
  var o = io(t), i = typeof o.alpha == "number" ? o.alpha : 1, r = j({}, o, {
@@ -3686,7 +3687,7 @@ function ib(e, t) {
3686
3687
  return so(r);
3687
3688
  }
3688
3689
  a(ib, "opacify");
3689
- var D1 = ze(ib);
3690
+ var M1 = We(ib);
3690
3691
  function sb(e, t) {
3691
3692
  if (t === "transparent") return t;
3692
3693
  var o = It(t);
@@ -3695,38 +3696,38 @@ function sb(e, t) {
3695
3696
  }));
3696
3697
  }
3697
3698
  a(sb, "saturate");
3698
- var M1 = ze(sb);
3699
+ var L1 = We(sb);
3699
3700
  function ab(e, t) {
3700
3701
  return t === "transparent" ? t : St(j({}, It(t), {
3701
3702
  hue: parseFloat(e)
3702
3703
  }));
3703
3704
  }
3704
3705
  a(ab, "setHue");
3705
- var L1 = ze(ab);
3706
+ var N1 = We(ab);
3706
3707
  function lb(e, t) {
3707
3708
  return t === "transparent" ? t : St(j({}, It(t), {
3708
3709
  lightness: parseFloat(e)
3709
3710
  }));
3710
3711
  }
3711
3712
  a(lb, "setLightness");
3712
- var N1 = ze(lb);
3713
+ var F1 = We(lb);
3713
3714
  function ub(e, t) {
3714
3715
  return t === "transparent" ? t : St(j({}, It(t), {
3715
3716
  saturation: parseFloat(e)
3716
3717
  }));
3717
3718
  }
3718
3719
  a(ub, "setSaturation");
3719
- var F1 = ze(ub);
3720
+ var R1 = We(ub);
3720
3721
  function cb(e, t) {
3721
3722
  return t === "transparent" ? t : Ol(parseFloat(e), "rgb(0, 0, 0)", t);
3722
3723
  }
3723
3724
  a(cb, "shade");
3724
- var R1 = ze(cb);
3725
+ var B1 = We(cb);
3725
3726
  function pb(e, t) {
3726
3727
  return t === "transparent" ? t : Ol(parseFloat(e), "rgb(255, 255, 255)", t);
3727
3728
  }
3728
3729
  a(pb, "tint");
3729
- var B1 = ze(pb);
3730
+ var H1 = We(pb);
3730
3731
  function db(e, t) {
3731
3732
  if (t === "transparent") return t;
3732
3733
  var o = io(t), i = typeof o.alpha == "number" ? o.alpha : 1, r = j({}, o, {
@@ -3735,7 +3736,7 @@ function db(e, t) {
3735
3736
  return so(r);
3736
3737
  }
3737
3738
  a(db, "transparentize");
3738
- var fb = ze(db), Te = fb;
3739
+ var fb = We(db), Te = fb;
3739
3740
 
3740
3741
  // src/manager/components/notifications/NotificationItem.tsx
3741
3742
  var mb = Dt({
@@ -3850,7 +3851,7 @@ ent"), Sb = I(ee)(({ theme: e }) => ({
3850
3851
  }
3851
3852
  },
3852
3853
  /* @__PURE__ */ s.createElement(bo, { size: 12 })
3853
- ), "DismissNotificationItem"), q1 = I.div({
3854
+ ), "DismissNotificationItem"), Y1 = I.div({
3854
3855
  height: 48
3855
3856
  }), wb = /* @__PURE__ */ a(({
3856
3857
  notification: { content: e, duration: t, link: o, onClear: i, onClick: r, id: n, icon: l },
@@ -3860,7 +3861,7 @@ ent"), Sb = I(ee)(({ theme: e }) => ({
3860
3861
  let d = A(() => {
3861
3862
  u(n), i && i({ dismissed: !1, timeout: !0 });
3862
3863
  }, [n, u, i]), p = U(null);
3863
- H(() => {
3864
+ B(() => {
3864
3865
  if (t)
3865
3866
  return p.current = setTimeout(d, t), () => clearTimeout(p.current);
3866
3867
  }, [t, d]);
@@ -3933,8 +3934,8 @@ function ke(e, t) {
3933
3934
  a(ke, "_objectWithoutPropertiesLoose");
3934
3935
 
3935
3936
  // global-externals:react-dom
3936
- var Ao = __REACT_DOM__, { __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: ck, createPortal: pk, createRoot: dk, findDOMNode: fk, flushSync: Do,
3937
- hydrate: mk, hydrateRoot: hk, render: gk, unmountComponentAtNode: yk, unstable_batchedUpdates: bk, unstable_renderSubtreeIntoContainer: vk, version: xk } = __REACT_DOM__;
3937
+ var Ao = __REACT_DOM__, { __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: pk, createPortal: dk, createRoot: fk, findDOMNode: mk, flushSync: Do,
3938
+ hydrate: hk, hydrateRoot: gk, render: yk, unmountComponentAtNode: bk, unstable_batchedUpdates: vk, unstable_renderSubtreeIntoContainer: xk, version: Ik } = __REACT_DOM__;
3938
3939
 
3939
3940
  // ../node_modules/react-transition-group/esm/config.js
3940
3941
  var Ei = {
@@ -4110,10 +4111,10 @@ var ft = dt;
4110
4111
  // src/manager/hooks/useModalDialog.ts
4111
4112
  function wr({ isOpen: e, onClose: t }) {
4112
4113
  let o = U(null);
4113
- return H(() => {
4114
+ return B(() => {
4114
4115
  let i = o.current;
4115
4116
  i && e && (i.hasAttribute("open") || i.showModal());
4116
- }, [e]), H(() => {
4117
+ }, [e]), B(() => {
4117
4118
  let i = o.current;
4118
4119
  if (i) {
4119
4120
  let r = /* @__PURE__ */ a((l) => {
@@ -4197,7 +4198,7 @@ var Er = /* @__PURE__ */ a(({ onNavigateToWhatsNew: e }) => {
4197
4198
  createElement(Ob, null, /* @__PURE__ */ s.createElement(_i, { active: o === "npm", onClick: () => i("npm") }, "npm"), /* @__PURE__ */ s.createElement(
4198
4199
  _i, { active: o === "yarn", onClick: () => i("yarn") }, "yarn"), /* @__PURE__ */ s.createElement(_i, { active: o === "pnpm", onClick: () => i(
4199
4200
  "pnpm") }, "pnpm")), /* @__PURE__ */ s.createElement(Pb, null, o === "npm" ? "npx storybook@latest upgrade" : `${o} dlx storybook@latest u\
4200
- pgrade`), e && /* @__PURE__ */ s.createElement(Pe, { onClick: e }, "See what's new in Storybook"));
4201
+ pgrade`), e && /* @__PURE__ */ s.createElement(Ae, { onClick: e }, "See what's new in Storybook"));
4201
4202
  }, "UpgradeBlock"), kb = I.div(({ theme: e }) => ({
4202
4203
  border: "1px solid",
4203
4204
  borderRadius: 5,
@@ -4256,8 +4257,8 @@ var Bl = /* @__PURE__ */ a(() => {
4256
4257
  cumentation")),
4257
4258
  /* @__PURE__ */ s.createElement(tt, { width: 12 })
4258
4259
  )), /* @__PURE__ */ s.createElement(Er, null), /* @__PURE__ */ s.createElement(Mb, null, "Open source software maintained by", " ", /* @__PURE__ */ s.
4259
- createElement(Pe, { href: "https://chromatic.com", target: "_blank" }, "Chromatic"), " ", "and the", " ", /* @__PURE__ */ s.createElement(
4260
- Pe, { href: "https://github.com/storybookjs/storybook/graphs/contributors" }, "Storybook Community")))
4260
+ createElement(Ae, { href: "https://chromatic.com", target: "_blank" }, "Chromatic"), " ", "and the", " ", /* @__PURE__ */ s.createElement(
4261
+ Ae, { href: "https://github.com/storybookjs/storybook/graphs/contributors" }, "Storybook Community")))
4261
4262
  );
4262
4263
  }, "MobileAbout"), Ab = I.div(
4263
4264
  ({ theme: e, state: t, transitionDuration: o }) => ({
@@ -4471,7 +4472,7 @@ function Bb(e, t) {
4471
4472
  }
4472
4473
  a(Bb, "combineIndexes");
4473
4474
  var Hb = /* @__PURE__ */ a(() => {
4474
- let { index: e, refs: t } = Ne(), o = oe(), i = o.getCurrentStoryData();
4475
+ let { index: e, refs: t } = Fe(), o = oe(), i = o.getCurrentStoryData();
4475
4476
  if (!i)
4476
4477
  return "";
4477
4478
  let r = Bb(e, t || {}), n = i.renderLabel?.(i, o) || i.name, l = r[i.id];
@@ -4573,7 +4574,7 @@ function $l({
4573
4574
  isDesktop: o
4574
4575
  }) {
4575
4576
  let i = U(null), r = U(null);
4576
- return H(() => {
4577
+ return B(() => {
4577
4578
  let n = i.current, l = r.current, u = document.querySelector("#storybook-preview-wrapper"), c = null, d = /* @__PURE__ */ a((h) => {
4578
4579
  h.preventDefault(), e((y) => ({
4579
4580
  ...y,
@@ -4674,7 +4675,7 @@ t.rightPanelWidth && e.panelPosition === t.panelPosition, "layoutStateIsEqual"),
4674
4675
  ...t,
4675
4676
  isDragging: !1
4676
4677
  });
4677
- H(() => {
4678
+ B(() => {
4678
4679
  l.isDragging || // don't interrupt user's drag
4679
4680
  Ul(t, n.current) || (n.current = t, u((x) => ({ ...x, ...t })));
4680
4681
  }, [l.isDragging, t, u]), Xt(() => {
@@ -4851,88 +4852,90 @@ startsWith: !1 }, ({ match: t }) => /* @__PURE__ */ s.createElement(Yb, { shown:
4851
4852
  );
4852
4853
 
4853
4854
  // global-externals:storybook/internal/types
4854
- var VO = __STORYBOOK_TYPES__, { Addon_TypesEnum: Ce } = __STORYBOOK_TYPES__;
4855
+ var jO = __STORYBOOK_TYPES__, { Addon_TypesEnum: Ce } = __STORYBOOK_TYPES__;
4855
4856
 
4856
4857
  // src/core-events/index.ts
4857
- var Ql = /* @__PURE__ */ ((N) => (N.CHANNEL_WS_DISCONNECT = "channelWSDisconnect", N.CHANNEL_CREATED = "channelCreated", N.CONFIG_ERROR = "c\
4858
- onfigError", N.STORY_INDEX_INVALIDATED = "storyIndexInvalidated", N.STORY_SPECIFIED = "storySpecified", N.SET_CONFIG = "setConfig", N.SET_STORIES =
4859
- "setStories", N.SET_INDEX = "setIndex", N.SET_CURRENT_STORY = "setCurrentStory", N.CURRENT_STORY_WAS_SET = "currentStoryWasSet", N.FORCE_RE_RENDER =
4860
- "forceReRender", N.FORCE_REMOUNT = "forceRemount", N.PRELOAD_ENTRIES = "preloadStories", N.STORY_PREPARED = "storyPrepared", N.DOCS_PREPARED =
4861
- "docsPrepared", N.STORY_CHANGED = "storyChanged", N.STORY_UNCHANGED = "storyUnchanged", N.STORY_RENDERED = "storyRendered", N.STORY_FINISHED =
4862
- "storyFinished", N.STORY_MISSING = "storyMissing", N.STORY_ERRORED = "storyErrored", N.STORY_THREW_EXCEPTION = "storyThrewException", N.STORY_RENDER_PHASE_CHANGED =
4863
- "storyRenderPhaseChanged", N.STORY_HOT_UPDATED = "storyHotUpdated", N.PLAY_FUNCTION_THREW_EXCEPTION = "playFunctionThrewException", N.UNHANDLED_ERRORS_WHILE_PLAYING =
4864
- "unhandledErrorsWhilePlaying", N.UPDATE_STORY_ARGS = "updateStoryArgs", N.STORY_ARGS_UPDATED = "storyArgsUpdated", N.RESET_STORY_ARGS = "res\
4865
- etStoryArgs", N.SET_FILTER = "setFilter", N.SET_GLOBALS = "setGlobals", N.UPDATE_GLOBALS = "updateGlobals", N.GLOBALS_UPDATED = "globalsUpda\
4866
- ted", N.REGISTER_SUBSCRIPTION = "registerSubscription", N.PREVIEW_KEYDOWN = "previewKeydown", N.PREVIEW_BUILDER_PROGRESS = "preview_builder_\
4867
- progress", N.SELECT_STORY = "selectStory", N.STORIES_COLLAPSE_ALL = "storiesCollapseAll", N.STORIES_EXPAND_ALL = "storiesExpandAll", N.DOCS_RENDERED =
4868
- "docsRendered", N.SHARED_STATE_CHANGED = "sharedStateChanged", N.SHARED_STATE_SET = "sharedStateSet", N.NAVIGATE_URL = "navigateUrl", N.UPDATE_QUERY_PARAMS =
4869
- "updateQueryParams", N.REQUEST_WHATS_NEW_DATA = "requestWhatsNewData", N.RESULT_WHATS_NEW_DATA = "resultWhatsNewData", N.SET_WHATS_NEW_CACHE =
4870
- "setWhatsNewCache", N.TOGGLE_WHATS_NEW_NOTIFICATIONS = "toggleWhatsNewNotifications", N.TELEMETRY_ERROR = "telemetryError", N.FILE_COMPONENT_SEARCH_REQUEST =
4871
- "fileComponentSearchRequest", N.FILE_COMPONENT_SEARCH_RESPONSE = "fileComponentSearchResponse", N.SAVE_STORY_REQUEST = "saveStoryRequest", N.
4872
- SAVE_STORY_RESPONSE = "saveStoryResponse", N.ARGTYPES_INFO_REQUEST = "argtypesInfoRequest", N.ARGTYPES_INFO_RESPONSE = "argtypesInfoResponse",
4873
- N.CREATE_NEW_STORYFILE_REQUEST = "createNewStoryfileRequest", N.CREATE_NEW_STORYFILE_RESPONSE = "createNewStoryfileResponse", N))(Ql || {});
4858
+ var Ql = /* @__PURE__ */ ((z) => (z.CHANNEL_WS_DISCONNECT = "channelWSDisconnect", z.CHANNEL_CREATED = "channelCreated", z.CONFIG_ERROR = "c\
4859
+ onfigError", z.STORY_INDEX_INVALIDATED = "storyIndexInvalidated", z.STORY_SPECIFIED = "storySpecified", z.SET_CONFIG = "setConfig", z.SET_STORIES =
4860
+ "setStories", z.SET_INDEX = "setIndex", z.SET_CURRENT_STORY = "setCurrentStory", z.CURRENT_STORY_WAS_SET = "currentStoryWasSet", z.FORCE_RE_RENDER =
4861
+ "forceReRender", z.FORCE_REMOUNT = "forceRemount", z.PRELOAD_ENTRIES = "preloadStories", z.STORY_PREPARED = "storyPrepared", z.DOCS_PREPARED =
4862
+ "docsPrepared", z.STORY_CHANGED = "storyChanged", z.STORY_UNCHANGED = "storyUnchanged", z.STORY_RENDERED = "storyRendered", z.STORY_FINISHED =
4863
+ "storyFinished", z.STORY_MISSING = "storyMissing", z.STORY_ERRORED = "storyErrored", z.STORY_THREW_EXCEPTION = "storyThrewException", z.STORY_RENDER_PHASE_CHANGED =
4864
+ "storyRenderPhaseChanged", z.STORY_HOT_UPDATED = "storyHotUpdated", z.PLAY_FUNCTION_THREW_EXCEPTION = "playFunctionThrewException", z.UNHANDLED_ERRORS_WHILE_PLAYING =
4865
+ "unhandledErrorsWhilePlaying", z.UPDATE_STORY_ARGS = "updateStoryArgs", z.STORY_ARGS_UPDATED = "storyArgsUpdated", z.RESET_STORY_ARGS = "res\
4866
+ etStoryArgs", z.SET_FILTER = "setFilter", z.SET_GLOBALS = "setGlobals", z.UPDATE_GLOBALS = "updateGlobals", z.GLOBALS_UPDATED = "globalsUpda\
4867
+ ted", z.REGISTER_SUBSCRIPTION = "registerSubscription", z.PREVIEW_INITIALIZED = "previewInitialized", z.PREVIEW_KEYDOWN = "previewKeydown", z.
4868
+ PREVIEW_BUILDER_PROGRESS = "preview_builder_progress", z.SELECT_STORY = "selectStory", z.STORIES_COLLAPSE_ALL = "storiesCollapseAll", z.STORIES_EXPAND_ALL =
4869
+ "storiesExpandAll", z.DOCS_RENDERED = "docsRendered", z.SHARED_STATE_CHANGED = "sharedStateChanged", z.SHARED_STATE_SET = "sharedStateSet", z.
4870
+ NAVIGATE_URL = "navigateUrl", z.UPDATE_QUERY_PARAMS = "updateQueryParams", z.REQUEST_WHATS_NEW_DATA = "requestWhatsNewData", z.RESULT_WHATS_NEW_DATA =
4871
+ "resultWhatsNewData", z.SET_WHATS_NEW_CACHE = "setWhatsNewCache", z.TOGGLE_WHATS_NEW_NOTIFICATIONS = "toggleWhatsNewNotifications", z.TELEMETRY_ERROR =
4872
+ "telemetryError", z.FILE_COMPONENT_SEARCH_REQUEST = "fileComponentSearchRequest", z.FILE_COMPONENT_SEARCH_RESPONSE = "fileComponentSearchRes\
4873
+ ponse", z.SAVE_STORY_REQUEST = "saveStoryRequest", z.SAVE_STORY_RESPONSE = "saveStoryResponse", z.ARGTYPES_INFO_REQUEST = "argtypesInfoReque\
4874
+ st", z.ARGTYPES_INFO_RESPONSE = "argtypesInfoResponse", z.CREATE_NEW_STORYFILE_REQUEST = "createNewStoryfileRequest", z.CREATE_NEW_STORYFILE_RESPONSE =
4875
+ "createNewStoryfileResponse", z))(Ql || {});
4874
4876
  var {
4875
- CHANNEL_WS_DISCONNECT: KO,
4876
- CHANNEL_CREATED: $O,
4877
- CONFIG_ERROR: UO,
4878
- CREATE_NEW_STORYFILE_REQUEST: GO,
4879
- CREATE_NEW_STORYFILE_RESPONSE: qO,
4880
- CURRENT_STORY_WAS_SET: YO,
4881
- DOCS_PREPARED: QO,
4882
- DOCS_RENDERED: XO,
4883
- FILE_COMPONENT_SEARCH_REQUEST: ZO,
4884
- FILE_COMPONENT_SEARCH_RESPONSE: JO,
4885
- FORCE_RE_RENDER: eP,
4886
- FORCE_REMOUNT: tP,
4887
- GLOBALS_UPDATED: oP,
4888
- NAVIGATE_URL: rP,
4889
- PLAY_FUNCTION_THREW_EXCEPTION: nP,
4890
- UNHANDLED_ERRORS_WHILE_PLAYING: iP,
4891
- PRELOAD_ENTRIES: sP,
4892
- PREVIEW_BUILDER_PROGRESS: aP,
4893
- PREVIEW_KEYDOWN: lP,
4894
- REGISTER_SUBSCRIPTION: uP,
4895
- RESET_STORY_ARGS: cP,
4896
- SELECT_STORY: pP,
4897
- SET_CONFIG: dP,
4898
- SET_CURRENT_STORY: fP,
4899
- SET_FILTER: mP,
4900
- SET_GLOBALS: hP,
4901
- SET_INDEX: gP,
4902
- SET_STORIES: yP,
4903
- SHARED_STATE_CHANGED: bP,
4904
- SHARED_STATE_SET: vP,
4905
- STORIES_COLLAPSE_ALL: xP,
4906
- STORIES_EXPAND_ALL: IP,
4907
- STORY_ARGS_UPDATED: SP,
4908
- STORY_CHANGED: wP,
4909
- STORY_ERRORED: EP,
4910
- STORY_INDEX_INVALIDATED: TP,
4911
- STORY_MISSING: CP,
4877
+ CHANNEL_WS_DISCONNECT: $O,
4878
+ CHANNEL_CREATED: UO,
4879
+ CONFIG_ERROR: GO,
4880
+ CREATE_NEW_STORYFILE_REQUEST: qO,
4881
+ CREATE_NEW_STORYFILE_RESPONSE: YO,
4882
+ CURRENT_STORY_WAS_SET: QO,
4883
+ DOCS_PREPARED: XO,
4884
+ DOCS_RENDERED: ZO,
4885
+ FILE_COMPONENT_SEARCH_REQUEST: JO,
4886
+ FILE_COMPONENT_SEARCH_RESPONSE: eP,
4887
+ FORCE_RE_RENDER: tP,
4888
+ FORCE_REMOUNT: oP,
4889
+ GLOBALS_UPDATED: rP,
4890
+ NAVIGATE_URL: nP,
4891
+ PLAY_FUNCTION_THREW_EXCEPTION: iP,
4892
+ UNHANDLED_ERRORS_WHILE_PLAYING: sP,
4893
+ PRELOAD_ENTRIES: aP,
4894
+ PREVIEW_INITIALIZED: lP,
4895
+ PREVIEW_BUILDER_PROGRESS: uP,
4896
+ PREVIEW_KEYDOWN: cP,
4897
+ REGISTER_SUBSCRIPTION: pP,
4898
+ RESET_STORY_ARGS: dP,
4899
+ SELECT_STORY: fP,
4900
+ SET_CONFIG: mP,
4901
+ SET_CURRENT_STORY: hP,
4902
+ SET_FILTER: gP,
4903
+ SET_GLOBALS: yP,
4904
+ SET_INDEX: bP,
4905
+ SET_STORIES: vP,
4906
+ SHARED_STATE_CHANGED: xP,
4907
+ SHARED_STATE_SET: IP,
4908
+ STORIES_COLLAPSE_ALL: SP,
4909
+ STORIES_EXPAND_ALL: wP,
4910
+ STORY_ARGS_UPDATED: EP,
4911
+ STORY_CHANGED: TP,
4912
+ STORY_ERRORED: CP,
4913
+ STORY_INDEX_INVALIDATED: _P,
4914
+ STORY_MISSING: kP,
4912
4915
  STORY_PREPARED: Xl,
4913
- STORY_RENDER_PHASE_CHANGED: _P,
4914
- STORY_RENDERED: kP,
4915
- STORY_FINISHED: OP,
4916
- STORY_SPECIFIED: PP,
4917
- STORY_THREW_EXCEPTION: AP,
4918
- STORY_UNCHANGED: DP,
4919
- STORY_HOT_UPDATED: MP,
4920
- UPDATE_GLOBALS: LP,
4921
- UPDATE_QUERY_PARAMS: NP,
4922
- UPDATE_STORY_ARGS: FP,
4923
- REQUEST_WHATS_NEW_DATA: RP,
4924
- RESULT_WHATS_NEW_DATA: BP,
4925
- SET_WHATS_NEW_CACHE: HP,
4926
- TOGGLE_WHATS_NEW_NOTIFICATIONS: zP,
4927
- TELEMETRY_ERROR: WP,
4928
- SAVE_STORY_REQUEST: VP,
4929
- SAVE_STORY_RESPONSE: jP,
4930
- ARGTYPES_INFO_REQUEST: KP,
4931
- ARGTYPES_INFO_RESPONSE: $P
4916
+ STORY_RENDER_PHASE_CHANGED: OP,
4917
+ STORY_RENDERED: PP,
4918
+ STORY_FINISHED: AP,
4919
+ STORY_SPECIFIED: DP,
4920
+ STORY_THREW_EXCEPTION: MP,
4921
+ STORY_UNCHANGED: LP,
4922
+ STORY_HOT_UPDATED: NP,
4923
+ UPDATE_GLOBALS: FP,
4924
+ UPDATE_QUERY_PARAMS: RP,
4925
+ UPDATE_STORY_ARGS: BP,
4926
+ REQUEST_WHATS_NEW_DATA: HP,
4927
+ RESULT_WHATS_NEW_DATA: zP,
4928
+ SET_WHATS_NEW_CACHE: WP,
4929
+ TOGGLE_WHATS_NEW_NOTIFICATIONS: VP,
4930
+ TELEMETRY_ERROR: jP,
4931
+ SAVE_STORY_REQUEST: KP,
4932
+ SAVE_STORY_RESPONSE: $P,
4933
+ ARGTYPES_INFO_REQUEST: UP,
4934
+ ARGTYPES_INFO_RESPONSE: GP
4932
4935
  } = Ql;
4933
4936
 
4934
4937
  // src/manager/components/panel/Panel.tsx
4935
- var Pi = class Pi extends Le {
4938
+ var Pi = class Pi extends Ne {
4936
4939
  constructor(t) {
4937
4940
  super(t), this.state = { hasError: !1 };
4938
4941
  }
@@ -4970,7 +4973,7 @@ var ki = Pi, Oi = s.memo(
4970
4973
  title: "Storybook add-ons",
4971
4974
  description: /* @__PURE__ */ s.createElement(s.Fragment, null, "Integrate your tools with Storybook to connect workflows and unl\
4972
4975
  ock advanced features."),
4973
- footer: /* @__PURE__ */ s.createElement(Pe, { href: "https://storybook.js.org/addons?ref=ui", target: "_blank", withArrow: !0 },
4976
+ footer: /* @__PURE__ */ s.createElement(Ae, { href: "https://storybook.js.org/addons?ref=ui", target: "_blank", withArrow: !0 },
4974
4977
  /* @__PURE__ */ s.createElement(Pt, null), " Explore integrations catalog")
4975
4978
  }
4976
4979
  ),
@@ -4991,9 +4994,9 @@ ock advanced features."),
4991
4994
  onClick: o.toggleVisibility,
4992
4995
  title: `Hide addons [${Ye(t.togglePanel)}]`
4993
4996
  },
4994
- /* @__PURE__ */ s.createElement(je, null)
4997
+ /* @__PURE__ */ s.createElement(Ke, null)
4995
4998
  )) : /* @__PURE__ */ s.createElement(ee, { onClick: () => u(!1), "aria-label": "Close addon panel" }, /* @__PURE__ */ s.createElement(
4996
- je, null))),
4999
+ Ke, null))),
4997
5000
  id: "storybook-panel-root"
4998
5001
  },
4999
5002
  Object.entries(e).map(([c, d]) => (
@@ -5013,7 +5016,7 @@ var Zb = I.div({
5013
5016
 
5014
5017
  // src/manager/container/Panel.tsx
5015
5018
  var Jb = /* @__PURE__ */ a((e) => {
5016
- let t = oe(), o = Ne(), [i, r] = K(t.getCurrentStoryData());
5019
+ let t = oe(), o = Fe(), [i, r] = K(t.getCurrentStoryData());
5017
5020
  Ia(
5018
5021
  {
5019
5022
  [Xl]: () => {
@@ -5053,7 +5056,7 @@ var Jb = /* @__PURE__ */ a((e) => {
5053
5056
  }, "Panel"), Zl = Jb;
5054
5057
 
5055
5058
  // src/manager/container/Preview.tsx
5056
- var No = Ve(Di(), 1);
5059
+ var No = je(Di(), 1);
5057
5060
 
5058
5061
  // src/manager/components/preview/Iframe.tsx
5059
5062
  var ev = I.iframe(({ theme: e }) => ({
@@ -5088,7 +5091,7 @@ function eu(e) {
5088
5091
  a(eu, "IFrame");
5089
5092
 
5090
5093
  // src/manager/components/preview/utils/stringifyQueryParams.tsx
5091
- var fu = Ve(du(), 1);
5094
+ var fu = je(du(), 1);
5092
5095
  var mu = /* @__PURE__ */ a((e) => {
5093
5096
  let t = (0, fu.stringify)(e);
5094
5097
  return t === "" ? "" : `&${t}`;
@@ -5178,7 +5181,7 @@ var Pv = /* @__PURE__ */ a(({ api: e, state: t }) => ({
5178
5181
  };
5179
5182
 
5180
5183
  // src/manager/components/preview/tools/copy.tsx
5181
- var Su = Ve(Iu(), 1);
5184
+ var Su = je(Iu(), 1);
5182
5185
  var { PREVIEW_URL: Nv, document: Fv } = se, Rv = /* @__PURE__ */ a(({ state: e }) => {
5183
5186
  let { storyId: t, refId: o, refs: i } = e, { location: r } = Fv, n = i[o], l = `${r.origin}${r.pathname}`;
5184
5187
  return l.endsWith("/") || (l += "/"), {
@@ -5272,7 +5275,7 @@ var zv = I(ee)(({ theme: e, animating: t, disabled: o }) => ({
5272
5275
 
5273
5276
  // src/manager/components/preview/tools/zoom.tsx
5274
5277
  var Lo = 1, Cu = Qt({ value: Lo, set: /* @__PURE__ */ a((e) => {
5275
- }, "set") }), zi = class zi extends Le {
5278
+ }, "set") }), zi = class zi extends Ne {
5276
5279
  constructor() {
5277
5280
  super(...arguments);
5278
5281
  this.state = {
@@ -5351,7 +5354,7 @@ var $v = /* @__PURE__ */ a(({ api: e, state: t }) => ({
5351
5354
  title: `${o ? "Exit full screen" : "Go full screen"} [${i}]`,
5352
5355
  "aria-label": o ? "Exit full screen" : "Go full screen"
5353
5356
  },
5354
- o ? /* @__PURE__ */ s.createElement(je, null) : /* @__PURE__ */ s.createElement(Mn, null)
5357
+ o ? /* @__PURE__ */ s.createElement(Ke, null) : /* @__PURE__ */ s.createElement(Mn, null)
5355
5358
  ));
5356
5359
  }, "render")
5357
5360
  };
@@ -5396,7 +5399,7 @@ var Pu = s.memo(/* @__PURE__ */ a(function({
5396
5399
  )));
5397
5400
  }, "Tools"));
5398
5401
  function Uv(e, t) {
5399
- let o = t?.type === "story" && t?.prepared ? t?.parameters : {}, i = "toolbar" in o ? o.toolbar : void 0, { toolbar: r } = He.getConfig(),
5402
+ let o = t?.type === "story" && t?.prepared ? t?.parameters : {}, i = "toolbar" in o ? o.toolbar : void 0, { toolbar: r } = ze.getConfig(),
5400
5403
  n = er(
5401
5404
  r || {},
5402
5405
  i || {}
@@ -5475,11 +5478,11 @@ var Du = I.main({
5475
5478
  height: "100%"
5476
5479
  },
5477
5480
  ({ show: e }) => ({ display: e ? "grid" : "none" })
5478
- ), HD = I(pr)({
5481
+ ), WD = I(pr)({
5479
5482
  color: "inherit",
5480
5483
  textDecoration: "inherit",
5481
5484
  display: "inline-block"
5482
- }), zD = I.span({
5485
+ }), VD = I.span({
5483
5486
  // Hides full screen icon at mobile breakpoint defined in app.js
5484
5487
  "@media (max-width: 599px)": {
5485
5488
  display: "none"
@@ -5559,7 +5562,7 @@ var Xv = /* @__PURE__ */ a(({ state: e, api: t }) => ({
5559
5562
  tabId: b
5560
5563
  } = t, x = y.find((w) => w.id === b)?.render, E = n === "story", { showToolbar: g } = r, v = o.getShowToolbarWithCustomisations(g), S = U(
5561
5564
  l);
5562
- return H(() => {
5565
+ return B(() => {
5563
5566
  if (u && n) {
5564
5567
  if (l === S.current)
5565
5568
  return;
@@ -5599,10 +5602,10 @@ var Zv = /* @__PURE__ */ a(({ baseUrl: e, withLoader: t, wrappers: o }) => /* @_
5599
5602
  previewInitialized: p
5600
5603
  }) => {
5601
5604
  let f = "canvas", [h, y] = K(void 0);
5602
- H(() => {
5605
+ B(() => {
5603
5606
  if (se.CONFIG_TYPE === "DEVELOPMENT")
5604
5607
  try {
5605
- He.getChannel().on(ma, (v) => {
5608
+ ze.getChannel().on(ma, (v) => {
5606
5609
  y(v);
5607
5610
  });
5608
5611
  } catch {
@@ -5626,7 +5629,7 @@ var Zv = /* @__PURE__ */ a(({ baseUrl: e, withLoader: t, wrappers: o }) => /* @_
5626
5629
  ))));
5627
5630
  }), "Canvas");
5628
5631
  function zu(e, t) {
5629
- let { previewTabs: o } = He.getConfig(), i = t ? t.previewTabs : void 0;
5632
+ let { previewTabs: o } = ze.getConfig(), i = t ? t.previewTabs : void 0;
5630
5633
  if (o || i) {
5631
5634
  let r = er(o || {}, i || {}), n = Object.keys(r).map((l, u) => ({
5632
5635
  index: u,
@@ -5738,7 +5741,7 @@ var e0 = [Bu()], t0 = [Wu, Tu, _u], o0 = [gu, Ou, Eu, wu], r0 = [], n0 = (0, No.
5738
5741
  // src/manager/hooks/useDebounce.ts
5739
5742
  function ju(e, t) {
5740
5743
  let [o, i] = K(e);
5741
- return H(() => {
5744
+ return B(() => {
5742
5745
  let r = setTimeout(() => {
5743
5746
  i(e);
5744
5747
  }, t);
@@ -6313,7 +6316,7 @@ function g0({
6313
6316
  a(g0, "calculateRange");
6314
6317
 
6315
6318
  // ../node_modules/@tanstack/react-virtual/dist/esm/index.js
6316
- var Ju = typeof document < "u" ? Xt : H;
6319
+ var Ju = typeof document < "u" ? Xt : B;
6317
6320
  function y0(e) {
6318
6321
  let t = Zt(() => ({}), {})[1], o = {
6319
6322
  ...e,
@@ -6343,7 +6346,7 @@ var tc = /* @__PURE__ */ a(({
6343
6346
  rowVirtualizer: t,
6344
6347
  selectedItem: o
6345
6348
  }) => {
6346
- H(() => {
6349
+ B(() => {
6347
6350
  let i = /* @__PURE__ */ a((r) => {
6348
6351
  if (!e.current)
6349
6352
  return;
@@ -6884,7 +6887,7 @@ var S0 = 418, w0 = I(Mt)(() => ({
6884
6887
  container: d
6885
6888
  }) => {
6886
6889
  let [p, f] = Ku(), [h, y] = K(f.height), [, m] = ia(), [b, x] = K(o);
6887
- return H(() => {
6890
+ return B(() => {
6888
6891
  h < f.height && y(f.height);
6889
6892
  }, [f.height, h]), /* @__PURE__ */ s.createElement(
6890
6893
  w0,
@@ -7039,7 +7042,7 @@ var D0 = /* @__PURE__ */ a((e) => JSON.stringify(e, (t, o) => typeof o == "funct
7039
7042
  subHeadline: `${g} was created`
7040
7043
  },
7041
7044
  duration: 8e3,
7042
- icon: /* @__PURE__ */ s.createElement(Be, null)
7045
+ icon: /* @__PURE__ */ s.createElement(He, null)
7043
7046
  }), t(!1);
7044
7047
  },
7045
7048
  [f, t]
@@ -7051,11 +7054,11 @@ var D0 = /* @__PURE__ */ a((e) => JSON.stringify(e, (t, o) => typeof o == "funct
7051
7054
  subHeadline: "Successfully navigated to existing story"
7052
7055
  },
7053
7056
  duration: 8e3,
7054
- icon: /* @__PURE__ */ s.createElement(Be, null)
7057
+ icon: /* @__PURE__ */ s.createElement(He, null)
7055
7058
  }), t(!1);
7056
7059
  }, [f, t]), x = A(() => {
7057
7060
  i(!0);
7058
- let g = He.getChannel(), v = /* @__PURE__ */ a((S) => {
7061
+ let g = ze.getChannel(), v = /* @__PURE__ */ a((S) => {
7059
7062
  S.id === u && (S.success ? y(S.payload.files) : p({ error: S.error }), g.off(Yo, v), i(!1), c.current = null);
7060
7063
  }, "set");
7061
7064
  return g.on(Yo, v), u !== "" && c.current !== u ? (c.current = u, g.emit(fa, {
@@ -7073,7 +7076,7 @@ var D0 = /* @__PURE__ */ a((e) => JSON.stringify(e, (t, o) => typeof o == "funct
7073
7076
  selectedItemId: k
7074
7077
  }) => {
7075
7078
  try {
7076
- let _ = He.getChannel(), C = await Jo(_, pa, da, {
7079
+ let _ = ze.getChannel(), C = await Jo(_, pa, da, {
7077
7080
  componentExportName: g,
7078
7081
  componentFilePath: v,
7079
7082
  componentIsDefaultExport: S,
@@ -7113,9 +7116,9 @@ var D0 = /* @__PURE__ */ a((e) => JSON.stringify(e, (t, o) => typeof o == "funct
7113
7116
  },
7114
7117
  [f?.selectStory, m, x, b]
7115
7118
  );
7116
- return H(() => {
7119
+ return B(() => {
7117
7120
  p(null);
7118
- }, [u]), H(() => x(), [x]), /* @__PURE__ */ s.createElement(
7121
+ }, [u]), B(() => x(), [x]), /* @__PURE__ */ s.createElement(
7119
7122
  Ic,
7120
7123
  {
7121
7124
  error: d,
@@ -7156,7 +7159,7 @@ var Ec = /* @__PURE__ */ a(({ refId: e, itemId: t }) => /* @__PURE__ */ s.create
7156
7159
  ), "HighlightStyles");
7157
7160
 
7158
7161
  // src/manager/utils/tree.ts
7159
- var co = Ve(Di(), 1);
7162
+ var co = je(Di(), 1);
7160
7163
  var { document: ji, window: M0 } = se, Hr = /* @__PURE__ */ a((e, t) => !t || t === lt ? e : `${t}_${e}`, "createId"), _c = /* @__PURE__ */ a(
7161
7164
  (e, t) => `${ji.location.pathname}?path=/${e.type}/${Hr(e.id, t)}`, "getLink");
7162
7165
  var Tc = (0, co.default)(1e3)((e, t) => t[e]), L0 = (0, co.default)(1e3)((e, t) => {
@@ -7288,8 +7291,8 @@ l", variant: "outline", onClick: n }, /* @__PURE__ */ s.createElement(xo, null),
7288
7291
  {
7289
7292
  tooltip: /* @__PURE__ */ s.createElement(R0, null, /* @__PURE__ */ s.createElement(ka, { error: e }))
7290
7293
  },
7291
- /* @__PURE__ */ s.createElement(Pe, { isButton: !0 }, "View error ", /* @__PURE__ */ s.createElement(Ot, null))
7292
- ), " ", /* @__PURE__ */ s.createElement(Pe, { withArrow: !0, href: "https://storybook.js.org/docs?ref=ui", cancel: !1, target: "_blank" }, "\
7294
+ /* @__PURE__ */ s.createElement(Ae, { isButton: !0 }, "View error ", /* @__PURE__ */ s.createElement(Ot, null))
7295
+ ), " ", /* @__PURE__ */ s.createElement(Ae, { withArrow: !0, href: "https://storybook.js.org/docs?ref=ui", cancel: !1, target: "_blank" }, "\
7293
7296
  View docs")))), "ErrorBlock"), B0 = I(pt)({
7294
7297
  display: "flex"
7295
7298
  }), H0 = I(pt)({
@@ -7433,7 +7436,7 @@ ready" && /* @__PURE__ */ s.createElement(s.Fragment, null, /* @__PURE__ */ s.cr
7433
7436
  ot,
7434
7437
  {
7435
7438
  links: Object.entries(t.versions).map(([c, d]) => ({
7436
- icon: d === t.url ? /* @__PURE__ */ s.createElement(Be, null) : void 0,
7439
+ icon: d === t.url ? /* @__PURE__ */ s.createElement(He, null) : void 0,
7437
7440
  id: c,
7438
7441
  title: c,
7439
7442
  href: d,
@@ -7449,16 +7452,16 @@ ready" && /* @__PURE__ */ s.createElement(s.Fragment, null, /* @__PURE__ */ s.cr
7449
7452
  }
7450
7453
  )
7451
7454
  ), G0 = /* @__PURE__ */ a(({ url: e, componentCount: t, leafCount: o }) => {
7452
- let i = De();
7455
+ let i = Me();
7453
7456
  return /* @__PURE__ */ s.createElement(jt, { href: e.replace(/\/?$/, "/index.html"), target: "_blank" }, /* @__PURE__ */ s.createElement(Zo,
7454
7457
  { color: i.color.secondary }), /* @__PURE__ */ s.createElement("div", null, /* @__PURE__ */ s.createElement(Vt, null, "View external Story\
7455
7458
  book"), /* @__PURE__ */ s.createElement("div", null, "Explore ", t, " components and ", o, " stories in a new browser tab.")));
7456
7459
  }, "ReadyMessage"), q0 = /* @__PURE__ */ a(({ url: e }) => {
7457
- let t = De();
7460
+ let t = Me();
7458
7461
  return /* @__PURE__ */ s.createElement(jt, { href: e, target: "_blank" }, /* @__PURE__ */ s.createElement(Vn, { color: t.color.secondary }),
7459
7462
  /* @__PURE__ */ s.createElement("div", null, /* @__PURE__ */ s.createElement(Vt, null, "View source code")));
7460
7463
  }, "SourceCodeMessage"), Y0 = /* @__PURE__ */ a(({ loginUrl: e, id: t }) => {
7461
- let o = De(), i = A((r) => {
7464
+ let o = Me(), i = A((r) => {
7462
7465
  r.preventDefault();
7463
7466
  let n = W0.open(e, `storybook_auth_${t}`, "resizable,scrollbars"), l = setInterval(() => {
7464
7467
  n ? n.closed && (clearInterval(l), z0.location.reload()) : clearInterval(l);
@@ -7468,7 +7471,7 @@ book"), /* @__PURE__ */ s.createElement("div", null, "Explore ", t, " components
7468
7471
  createElement("div", null, /* @__PURE__ */ s.createElement(Vt, null, "Log in required"), /* @__PURE__ */ s.createElement("div", null, "You\
7469
7472
  need to authenticate to view this Storybook's components.")));
7470
7473
  }, "LoginRequiredMessage"), Q0 = /* @__PURE__ */ a(() => {
7471
- let e = De();
7474
+ let e = Me();
7472
7475
  return /* @__PURE__ */ s.createElement(
7473
7476
  jt,
7474
7477
  {
@@ -7480,17 +7483,17 @@ book"), /* @__PURE__ */ s.createElement("div", null, "Explore ", t, " components
7480
7483
  "div", null, "Learn how to combine multiple Storybooks into one."))
7481
7484
  );
7482
7485
  }, "ReadDocsMessage"), X0 = /* @__PURE__ */ a(({ url: e }) => {
7483
- let t = De();
7486
+ let t = Me();
7484
7487
  return /* @__PURE__ */ s.createElement(jt, { href: e.replace(/\/?$/, "/index.html"), target: "_blank" }, /* @__PURE__ */ s.createElement(go,
7485
7488
  { color: t.color.negative }), /* @__PURE__ */ s.createElement("div", null, /* @__PURE__ */ s.createElement(Vt, null, "Something went wrong"),
7486
7489
  /* @__PURE__ */ s.createElement("div", null, "This external Storybook didn't load. Debug it in a new tab now.")));
7487
7490
  }, "ErrorOccurredMessage"), Z0 = /* @__PURE__ */ a(({ url: e }) => {
7488
- let t = De();
7491
+ let t = Me();
7489
7492
  return /* @__PURE__ */ s.createElement(jt, { href: e.replace(/\/?$/, "/index.html"), target: "_blank" }, /* @__PURE__ */ s.createElement(Qn,
7490
7493
  { color: t.color.secondary }), /* @__PURE__ */ s.createElement("div", null, /* @__PURE__ */ s.createElement(Vt, null, "Please wait"), /* @__PURE__ */ s.
7491
7494
  createElement("div", null, "This Storybook is loading.")));
7492
7495
  }, "LoadingMessage"), J0 = /* @__PURE__ */ a(() => {
7493
- let e = De();
7496
+ let e = Me();
7494
7497
  return /* @__PURE__ */ s.createElement(
7495
7498
  jt,
7496
7499
  {
@@ -7582,7 +7585,7 @@ createElement("symbol", { id: Wc }, /* @__PURE__ */ s.createElement(
7582
7585
  fill: "currentColor"
7583
7586
  }
7584
7587
  )), /* @__PURE__ */ s.createElement("symbol", { id: qc }, /* @__PURE__ */ s.createElement("circle", { cx: "3", cy: "3", r: "3", fill: "curre\
7585
- ntColor" }))), "IconSymbols"), Me = /* @__PURE__ */ a(({ type: e }) => e === "group" ? /* @__PURE__ */ s.createElement("use", { xlinkHref: `\
7588
+ ntColor" }))), "IconSymbols"), Le = /* @__PURE__ */ a(({ type: e }) => e === "group" ? /* @__PURE__ */ s.createElement("use", { xlinkHref: `\
7586
7589
  #${Wc}` }) : e === "component" ? /* @__PURE__ */ s.createElement("use", { xlinkHref: `#${Vc}` }) : e === "document" ? /* @__PURE__ */ s.createElement(
7587
7590
  "use", { xlinkHref: `#${jc}` }) : e === "story" ? /* @__PURE__ */ s.createElement("use", { xlinkHref: `#${Kc}` }) : e === "success" ? /* @__PURE__ */ s.
7588
7591
  createElement("use", { xlinkHref: `#${$c}` }) : e === "error" ? /* @__PURE__ */ s.createElement("use", { xlinkHref: `#${Uc}` }) : e === "war\
@@ -7611,17 +7614,17 @@ var tx = I(kn)({
7611
7614
  "status-value:pending": [/* @__PURE__ */ s.createElement(ox, { key: "icon" }), "currentColor"],
7612
7615
  "status-value:success": [
7613
7616
  /* @__PURE__ */ s.createElement("svg", { key: "icon", viewBox: "0 0 14 14", width: "14", height: "14" }, /* @__PURE__ */ s.createElement(
7614
- Me, { type: "success" })),
7617
+ Le, { type: "success" })),
7615
7618
  "currentColor"
7616
7619
  ],
7617
7620
  "status-value:warning": [
7618
7621
  /* @__PURE__ */ s.createElement("svg", { key: "icon", viewBox: "0 0 14 14", width: "14", height: "14" }, /* @__PURE__ */ s.createElement(
7619
- Me, { type: "warning" })),
7622
+ Le, { type: "warning" })),
7620
7623
  "#A15C20"
7621
7624
  ],
7622
7625
  "status-value:error": [
7623
7626
  /* @__PURE__ */ s.createElement("svg", { key: "icon", viewBox: "0 0 14 14", width: "14", height: "14" }, /* @__PURE__ */ s.createElement(
7624
- Me, { type: "error" })),
7627
+ Le, { type: "error" })),
7625
7628
  "#D43900"
7626
7629
  ]
7627
7630
  }, Ho = /* @__PURE__ */ a((e) => rx.reduce(
@@ -7874,17 +7877,17 @@ nt" ? e.base === "dark" ? e.color.gold : "#ff8300" : t === "story" ? e.color.sea
7874
7877
  }) {
7875
7878
  return /* @__PURE__ */ s.createElement(tp, { isExpandable: i, tabIndex: -1, ...r }, /* @__PURE__ */ s.createElement(Wr, null, i && /* @__PURE__ */ s.
7876
7879
  createElement(Kt, { isExpanded: o }), /* @__PURE__ */ s.createElement(wt, { viewBox: "0 0 14 14", width: "14", height: "14", type: "group" },
7877
- /* @__PURE__ */ s.createElement(Me, { type: "group" }))), t);
7880
+ /* @__PURE__ */ s.createElement(Le, { type: "group" }))), t);
7878
7881
  }, "GroupNode")), ip = s.memo(
7879
7882
  /* @__PURE__ */ a(function({ theme: t, children: o, isExpanded: i, isExpandable: r, isSelected: n, ...l }) {
7880
7883
  return /* @__PURE__ */ s.createElement(tp, { isExpandable: r, tabIndex: -1, ...l }, /* @__PURE__ */ s.createElement(Wr, null, r && /* @__PURE__ */ s.
7881
7884
  createElement(Kt, { isExpanded: i }), /* @__PURE__ */ s.createElement(wt, { viewBox: "0 0 14 14", width: "12", height: "12", type: "comp\
7882
- onent" }, /* @__PURE__ */ s.createElement(Me, { type: "component" }))), o);
7885
+ onent" }, /* @__PURE__ */ s.createElement(Le, { type: "component" }))), o);
7883
7886
  }, "ComponentNode")
7884
7887
  ), sp = s.memo(
7885
7888
  /* @__PURE__ */ a(function({ theme: t, children: o, docsMode: i, ...r }) {
7886
7889
  return /* @__PURE__ */ s.createElement(op, { tabIndex: -1, ...r }, /* @__PURE__ */ s.createElement(Wr, null, /* @__PURE__ */ s.createElement(
7887
- wt, { viewBox: "0 0 14 14", width: "12", height: "12", type: "document" }, /* @__PURE__ */ s.createElement(Me, { type: "document" }))), o);
7890
+ wt, { viewBox: "0 0 14 14", width: "12", height: "12", type: "document" }, /* @__PURE__ */ s.createElement(Le, { type: "document" }))), o);
7888
7891
  }, "DocumentNode")
7889
7892
  ), ap = s.memo(/* @__PURE__ */ a(function({
7890
7893
  theme: t,
@@ -7892,7 +7895,7 @@ onent" }, /* @__PURE__ */ s.createElement(Me, { type: "component" }))), o);
7892
7895
  ...i
7893
7896
  }) {
7894
7897
  return /* @__PURE__ */ s.createElement(op, { tabIndex: -1, ...i }, /* @__PURE__ */ s.createElement(Wr, null, /* @__PURE__ */ s.createElement(
7895
- wt, { viewBox: "0 0 14 14", width: "12", height: "12", type: "story" }, /* @__PURE__ */ s.createElement(Me, { type: "story" }))), o);
7898
+ wt, { viewBox: "0 0 14 14", width: "12", height: "12", type: "story" }, /* @__PURE__ */ s.createElement(Le, { type: "story" }))), o);
7896
7899
  }, "StoryNode"));
7897
7900
 
7898
7901
  // ../node_modules/es-toolkit/dist/function/debounce.mjs
@@ -7966,7 +7969,7 @@ var ux = {
7966
7969
  let { alt: o, ctrl: i, meta: r, shift: n } = e === !1 ? cx : e;
7967
7970
  return !(typeof o == "boolean" && o !== t.altKey || typeof i == "boolean" && i !== t.ctrlKey || typeof r == "boolean" && r !== t.metaKey ||
7968
7971
  typeof n == "boolean" && n !== t.shiftKey);
7969
- }, "matchesModifiers"), $e = /* @__PURE__ */ a((e, t) => t.code ? t.code === e : t.key === ux[e], "matchesKeyCode");
7972
+ }, "matchesModifiers"), Ue = /* @__PURE__ */ a((e, t) => t.code ? t.code === e : t.key === ux[e], "matchesKeyCode");
7970
7973
 
7971
7974
  // src/manager/components/sidebar/useExpanded.ts
7972
7975
  var { document: Yi } = se, px = /* @__PURE__ */ a(({
@@ -8019,7 +8022,7 @@ var { document: Yi } = se, px = /* @__PURE__ */ a(({
8019
8022
  },
8020
8023
  [e, m, o]
8021
8024
  );
8022
- H(() => {
8025
+ B(() => {
8023
8026
  h({ ids: Fo(i, c), value: !0 });
8024
8027
  }, [i, c]);
8025
8028
  let x = A(() => {
@@ -8028,14 +8031,14 @@ var { document: Yi } = se, px = /* @__PURE__ */ a(({
8028
8031
  }, [i, n]), E = A(() => {
8029
8032
  h({ ids: Object.keys(i), value: !0 });
8030
8033
  }, [i]);
8031
- return H(() => p ? (p.on(ho, x), p.on(wn, E), () => {
8034
+ return B(() => p ? (p.on(ho, x), p.on(wn, E), () => {
8032
8035
  p.off(ho, x), p.off(wn, E);
8033
- }) : dx, [p, x, E]), H(() => {
8036
+ }) : dx, [p, x, E]), B(() => {
8034
8037
  let g = Yi.getElementById("storybook-explorer-menu"), v = Gi((S) => {
8035
8038
  let w = l.current?.refId === o && l.current?.itemId;
8036
8039
  if (!t || !e.current || !w || S.repeat || !Et(!1, S))
8037
8040
  return;
8038
- let k = $e("Enter", S), _ = $e("Space", S), C = $e("ArrowLeft", S), T = $e("ArrowRight", S);
8041
+ let k = Ue("Enter", S), _ = Ue("Space", S), C = Ue("ArrowLeft", S), T = Ue("ArrowRight", S);
8039
8042
  if (!(k || _ || C || T))
8040
8043
  return;
8041
8044
  let O = y(w);
@@ -8057,7 +8060,7 @@ var { document: Yi } = se, px = /* @__PURE__ */ a(({
8057
8060
  h({ ids: [w], value: !1 });
8058
8061
  return;
8059
8062
  }
8060
- let F = O.getAttribute("data-parent-id"), Z = F && y(F);
8063
+ let N = O.getAttribute("data-parent-id"), Z = N && y(N);
8061
8064
  if (Z && Z.getAttribute("data-highlightable") === "true") {
8062
8065
  m(Z);
8063
8066
  return;
@@ -8159,16 +8162,16 @@ var fx = I.div((e) => ({
8159
8162
  }
8160
8163
  }
8161
8164
  })), gx = /* @__PURE__ */ a((e) => {
8162
- let t = De();
8165
+ let t = Me();
8163
8166
  return /* @__PURE__ */ s.createElement(Un, { ...e, color: t.color.positive });
8164
8167
  }, "SuccessStatusIcon"), yx = /* @__PURE__ */ a((e) => {
8165
- let t = De();
8168
+ let t = Me();
8166
8169
  return /* @__PURE__ */ s.createElement($n, { ...e, color: t.color.negative });
8167
8170
  }, "ErrorStatusIcon"), bx = /* @__PURE__ */ a((e) => {
8168
- let t = De();
8171
+ let t = Me();
8169
8172
  return /* @__PURE__ */ s.createElement(Gn, { ...e, color: t.color.warning });
8170
8173
  }, "WarnStatusIcon"), vx = /* @__PURE__ */ a((e) => {
8171
- let t = De();
8174
+ let t = Me();
8172
8175
  return /* @__PURE__ */ s.createElement(ct, { ...e, size: 12, color: t.color.defaultText });
8173
8176
  }, "PendingStatusIcon"), Qi = {
8174
8177
  "status-value:success": /* @__PURE__ */ s.createElement(gx, null),
@@ -8367,7 +8370,7 @@ var cp = [
8367
8370
  ),
8368
8371
  k.node,
8369
8372
  ["status-value:error", "status-value:warning"].includes(_) && /* @__PURE__ */ s.createElement(zo, { type: "button", status: _ }, /* @__PURE__ */ s.
8370
- createElement("svg", { key: "icon", viewBox: "0 0 6 6", width: "6", height: "6", type: "dot" }, /* @__PURE__ */ s.createElement(Me, { type: "\
8373
+ createElement("svg", { key: "icon", viewBox: "0 0 6 6", width: "6", height: "6", type: "dot" }, /* @__PURE__ */ s.createElement(Le, { type: "\
8371
8374
  dot" })))
8372
8375
  );
8373
8376
  }
@@ -8431,16 +8434,16 @@ dot" })))
8431
8434
  [E]
8432
8435
  ), v = G(() => E.reduce(
8433
8436
  (T, O) => {
8434
- let { children: P, parent: D, name: M } = r[O], [F] = P;
8437
+ let { children: P, parent: D, name: M } = r[O], [N] = P;
8435
8438
  if (D) {
8436
8439
  let Z = [...r[D].children];
8437
- Z[Z.indexOf(O)] = F, T[D] = { ...r[D], children: Z };
8440
+ Z[Z.indexOf(O)] = N, T[D] = { ...r[D], children: Z };
8438
8441
  }
8439
- return T[F] = {
8440
- ...r[F],
8442
+ return T[N] = {
8443
+ ...r[N],
8441
8444
  name: M,
8442
8445
  parent: D,
8443
- depth: r[F].depth - 1
8446
+ depth: r[N].depth - 1
8444
8447
  }, T;
8445
8448
  },
8446
8449
  { ...r }
@@ -8465,7 +8468,7 @@ dot" })))
8465
8468
  ), C = G(() => g.map((T) => {
8466
8469
  let O = v[T], P = Hr(T, i);
8467
8470
  if (O.type === "root") {
8468
- let M = x[O.id], F = M.every((Z) => w[Z]);
8471
+ let M = x[O.id], N = M.every((Z) => w[Z]);
8469
8472
  return (
8470
8473
  // @ts-expect-error (TODO)
8471
8474
  /* @__PURE__ */ s.createElement(
@@ -8481,7 +8484,7 @@ dot" })))
8481
8484
  isSelected: d === T,
8482
8485
  isExpanded: !!w[T],
8483
8486
  setExpanded: k,
8484
- isFullyExpanded: F,
8487
+ isFullyExpanded: N,
8485
8488
  expandableDescendants: M,
8486
8489
  onSelectStoryId: p
8487
8490
  }
@@ -8569,7 +8572,7 @@ var Ix = I.div(({ isMain: e }) => ({
8569
8572
  }
8570
8573
  }
8571
8574
  })), fp = s.memo(/* @__PURE__ */ a(function(t) {
8572
- let { docsOptions: o } = Ne(), i = oe(), {
8575
+ let { docsOptions: o } = Fe(), i = oe(), {
8573
8576
  filteredIndex: r,
8574
8577
  id: n,
8575
8578
  title: l = n,
@@ -8586,10 +8589,10 @@ var Ix = I.div(({ isMain: e }) => ({
8586
8589
  allStatuses: E
8587
8590
  } = t, g = G(() => r ? Object.keys(r).length : 0, [r]), v = U(null), S = n === lt, k = u || (y === "auto-inject" && !x || y === "server-ch\
8588
8591
  ecked") || y === "unknown", O = Ac(k, !!h && g === 0, !!b, !k && g === 0), [P, D] = K(m);
8589
- H(() => {
8592
+ B(() => {
8590
8593
  r && d && r[d] && D(!0);
8591
8594
  }, [D, r, d]);
8592
- let M = A(() => D((V) => !V), [D]), F = A(
8595
+ let M = A(() => D((V) => !V), [D]), N = A(
8593
8596
  (V) => f({ itemId: V, refId: n }),
8594
8597
  [f]
8595
8598
  ), Z = A(
@@ -8620,7 +8623,7 @@ ecked") || y === "unknown", O = Ac(k, !!h && g === 0, !!b, !k && g === 0), [P, D
8620
8623
  selectedStoryId: d,
8621
8624
  onSelectStoryId: Z,
8622
8625
  highlightedRef: p,
8623
- setHighlightedItemId: F
8626
+ setHighlightedItemId: N
8624
8627
  }
8625
8628
  )));
8626
8629
  }, "Ref"));
@@ -8648,17 +8651,17 @@ var { document: jr, window: mp } = se, hp = /* @__PURE__ */ a((e) => e ? { itemI
8648
8651
  },
8649
8652
  [d]
8650
8653
  );
8651
- return H(() => {
8654
+ return B(() => {
8652
8655
  let f = hp(i);
8653
8656
  d(f), f && gp(`[data-item-id="${f.itemId}"][data-ref-id="${f.refId}"]`, {
8654
8657
  containerRef: e,
8655
8658
  center: !0
8656
8659
  });
8657
- }, [e, i, d]), H(() => {
8660
+ }, [e, i, d]), B(() => {
8658
8661
  let f = jr.getElementById("storybook-explorer-menu"), h, y = /* @__PURE__ */ a((m) => {
8659
8662
  if (t || !o || !e.current || !Et(!1, m))
8660
8663
  return;
8661
- let b = $e("ArrowUp", m), x = $e("ArrowDown", m);
8664
+ let b = Ue("ArrowUp", m), x = Ue("ArrowDown", m);
8662
8665
  if (!(b || x))
8663
8666
  return;
8664
8667
  let E = mp.requestAnimationFrame(() => {
@@ -8815,7 +8818,7 @@ var Xi = I(ee)(({ highlighted: e, theme: t, isMobile: o }) => ({
8815
8818
  onClick: () => l(!1),
8816
8819
  isMobile: !0
8817
8820
  },
8818
- /* @__PURE__ */ s.createElement(je, null)
8821
+ /* @__PURE__ */ s.createElement(Ke, null)
8819
8822
  )) : /* @__PURE__ */ s.createElement(
8820
8823
  ve,
8821
8824
  {
@@ -8905,8 +8908,8 @@ var Ox = I.div(({ theme: e }) => ({
8905
8908
  createElement(Ip, { menu: t, isHighlighted: e, onClick: r })), "Heading");
8906
8909
 
8907
8910
  // ../node_modules/downshift/dist/downshift.esm.js
8908
- var Y = Ve(si());
8909
- var Nx = Ve(Cp());
8911
+ var Y = je(si());
8912
+ var Nx = je(Cp());
8910
8913
 
8911
8914
  // ../node_modules/compute-scroll-into-view/dist/index.js
8912
8915
  var _p = /* @__PURE__ */ a((e) => typeof e == "object" && e != null && e.nodeType === 1, "t"), kp = /* @__PURE__ */ a((e, t) => (!t || e !==
@@ -8949,25 +8952,25 @@ e - i : l > t && u < o || n < e && u > o ? l - t + r : 0, "o"), Lx = /* @__PURE_
8949
8952
  let Q = window.getComputedStyle(V);
8950
8953
  return { top: parseFloat(Q.scrollMarginTop) || 0, right: parseFloat(Q.scrollMarginRight) || 0, bottom: parseFloat(Q.scrollMarginBottom) ||
8951
8954
  0, left: parseFloat(Q.scrollMarginLeft) || 0 };
8952
- })(e), M = u === "start" || u === "nearest" ? w - T : u === "end" ? _ + P : w + v / 2 - T + P, F = c === "center" ? C + S / 2 - D + O : c ===
8955
+ })(e), M = u === "start" || u === "nearest" ? w - T : u === "end" ? _ + P : w + v / 2 - T + P, N = c === "center" ? C + S / 2 - D + O : c ===
8953
8956
  "end" ? k + O : C - D, Z = [];
8954
8957
  for (let V = 0; V < y.length; V++) {
8955
- let Q = y[V], { height: z, width: q, top: W, right: re, bottom: R, left: B } = Q.getBoundingClientRect();
8956
- if (l === "if-needed" && w >= 0 && C >= 0 && _ <= x && k <= b && (Q === h && !en(Q) || w >= W && _ <= R && C >= B && k <= re)) return Z;
8958
+ let Q = y[V], { height: H, width: q, top: W, right: re, bottom: F, left: R } = Q.getBoundingClientRect();
8959
+ if (l === "if-needed" && w >= 0 && C >= 0 && _ <= x && k <= b && (Q === h && !en(Q) || w >= W && _ <= F && C >= R && k <= re)) return Z;
8957
8960
  let L = getComputedStyle(Q), $ = parseInt(L.borderLeftWidth, 10), J = parseInt(L.borderTopWidth, 10), ie = parseInt(L.borderRightWidth, 10),
8958
8961
  te = parseInt(L.borderBottomWidth, 10), de = 0, ae = 0, ce = "offsetWidth" in Q ? Q.offsetWidth - Q.clientWidth - $ - ie : 0, ue = "offs\
8959
8962
  etHeight" in Q ? Q.offsetHeight - Q.clientHeight - J - te : 0, Ie = "offsetWidth" in Q ? Q.offsetWidth === 0 ? 0 : q / Q.offsetWidth : 0, ye = "\
8960
- offsetHeight" in Q ? Q.offsetHeight === 0 ? 0 : z / Q.offsetHeight : 0;
8963
+ offsetHeight" in Q ? Q.offsetHeight === 0 ? 0 : H / Q.offsetHeight : 0;
8961
8964
  if (h === Q) de = u === "start" ? M : u === "end" ? M - x : u === "nearest" ? tn(g, g + x, x, J, te, g + M, g + M + v, v) : M - x / 2, ae =
8962
- c === "start" ? F : c === "center" ? F - b / 2 : c === "end" ? F - b : tn(E, E + b, b, $, ie, E + F, E + F + S, S), de = Math.max(0, de +
8965
+ c === "start" ? N : c === "center" ? N - b / 2 : c === "end" ? N - b : tn(E, E + b, b, $, ie, E + N, E + N + S, S), de = Math.max(0, de +
8963
8966
  g), ae = Math.max(0, ae + E);
8964
8967
  else {
8965
- de = u === "start" ? M - W - J : u === "end" ? M - R + te + ue : u === "nearest" ? tn(W, R, z, J, te + ue, M, M + v, v) : M - (W + z /
8966
- 2) + ue / 2, ae = c === "start" ? F - B - $ : c === "center" ? F - (B + q / 2) + ce / 2 : c === "end" ? F - re + ie + ce : tn(B, re, q,
8967
- $, ie + ce, F, F + S, S);
8968
+ de = u === "start" ? M - W - J : u === "end" ? M - F + te + ue : u === "nearest" ? tn(W, F, H, J, te + ue, M, M + v, v) : M - (W + H /
8969
+ 2) + ue / 2, ae = c === "start" ? N - R - $ : c === "center" ? N - (R + q / 2) + ce / 2 : c === "end" ? N - re + ie + ce : tn(R, re, q,
8970
+ $, ie + ce, N, N + S, S);
8968
8971
  let { scrollLeft: Oe, scrollTop: fe } = Q;
8969
- de = ye === 0 ? 0 : Math.max(0, Math.min(fe + de / ye, Q.scrollHeight - z / ye + ue)), ae = Ie === 0 ? 0 : Math.max(0, Math.min(Oe + ae /
8970
- Ie, Q.scrollWidth - q / Ie + ce)), M += fe - de, F += Oe - ae;
8972
+ de = ye === 0 ? 0 : Math.max(0, Math.min(fe + de / ye, Q.scrollHeight - H / ye + ue)), ae = Ie === 0 ? 0 : Math.max(0, Math.min(Oe + ae /
8973
+ Ie, Q.scrollWidth - q / Ie + ce)), M += fe - de, N += Oe - ae;
8971
8974
  }
8972
8975
  Z.push({ el: Q, top: de, left: ae });
8973
8976
  }
@@ -8988,12 +8991,12 @@ var $t = /* @__PURE__ */ a(function() {
8988
8991
  // ../node_modules/downshift/dist/downshift.esm.js
8989
8992
  var Fx = 0;
8990
8993
  function Pp(e) {
8991
- return typeof e == "function" ? e : Re;
8994
+ return typeof e == "function" ? e : Be;
8992
8995
  }
8993
8996
  a(Pp, "cbToCb");
8994
- function Re() {
8997
+ function Be() {
8995
8998
  }
8996
- a(Re, "noop");
8999
+ a(Be, "noop");
8997
9000
  function Rp(e, t) {
8998
9001
  if (e) {
8999
9002
  var o = Op(e, {
@@ -9252,9 +9255,9 @@ jx = /* @__PURE__ */ Object.freeze({
9252
9255
  var S, w = g === void 0 ? {} : g, k = w.refKey, _ = k === void 0 ? "ref" : k, C = w.ref, T = ke(w, Kx), O = v === void 0 ? {} : v, P = O.
9253
9256
  suppressRefError, D = P === void 0 ? !1 : P;
9254
9257
  n.getRootProps.called = !0, n.getRootProps.refKey = _, n.getRootProps.suppressRefError = D;
9255
- var M = n.getState(), F = M.isOpen;
9256
- return j((S = {}, S[_] = Ze(C, n.rootRef), S.role = "combobox", S["aria-expanded"] = F, S["aria-haspopup"] = "listbox", S["aria-owns"] =
9257
- F ? n.menuId : void 0, S["aria-labelledby"] = n.labelId, S), T);
9258
+ var M = n.getState(), N = M.isOpen;
9259
+ return j((S = {}, S[_] = Ze(C, n.rootRef), S.role = "combobox", S["aria-expanded"] = N, S["aria-haspopup"] = "listbox", S["aria-owns"] =
9260
+ N ? n.menuId : void 0, S["aria-labelledby"] = n.labelId, S), T);
9258
9261
  }, n.keyDownHandlers = {
9259
9262
  ArrowDown: /* @__PURE__ */ a(function(v) {
9260
9263
  var S = this;
@@ -9412,7 +9415,7 @@ jx = /* @__PURE__ */ Object.freeze({
9412
9415
  v.onChangeText;
9413
9416
  var C = ke(v, Ux), T, O = {};
9414
9417
  T = "onChange";
9415
- var P = n.getState(), D = P.inputValue, M = P.isOpen, F = P.highlightedIndex;
9418
+ var P = n.getState(), D = P.inputValue, M = P.isOpen, N = P.highlightedIndex;
9416
9419
  if (!C.disabled) {
9417
9420
  var Z;
9418
9421
  O = (Z = {}, Z[T] = le(k, _, n.inputHandleChange), Z.onKeyDown = le(S, n.inputHandleKeyDown), Z.onBlur = le(w, n.inputHandleBlur),
@@ -9420,7 +9423,7 @@ jx = /* @__PURE__ */ Object.freeze({
9420
9423
  }
9421
9424
  return j({
9422
9425
  "aria-autocomplete": "list",
9423
- "aria-activedescendant": M && typeof F == "number" && F >= 0 ? n.getItemId(F) : void 0,
9426
+ "aria-activedescendant": M && typeof N == "number" && N >= 0 ? n.getItemId(N) : void 0,
9424
9427
  "aria-controls": M ? n.menuId : void 0,
9425
9428
  "aria-labelledby": C && C["aria-label"] ? void 0 : n.labelId,
9426
9429
  // https://developer.mozilla.org/en-US/docs/Web/Security/Securing_your_site/Turning_off_form_autocompletion
@@ -9465,7 +9468,7 @@ jx = /* @__PURE__ */ Object.freeze({
9465
9468
  void 0
9466
9469
  ) : T, P = ke(S, qx);
9467
9470
  C === void 0 ? (n.items.push(O), C = n.items.indexOf(O)) : n.items[C] = O;
9468
- var D = "onClick", M = _, F = (v = {
9471
+ var D = "onClick", M = _, N = (v = {
9469
9472
  // onMouseMove is used over onMouseEnter here. onMouseMove
9470
9473
  // is only triggered on actual mouse movement while onMouseEnter
9471
9474
  // can fire on DOM changes, interrupting keyboard navigation
@@ -9484,8 +9487,8 @@ jx = /* @__PURE__ */ Object.freeze({
9484
9487
  type: qp
9485
9488
  });
9486
9489
  }), v), Z = P.disabled ? {
9487
- onMouseDown: F.onMouseDown
9488
- } : F;
9490
+ onMouseDown: N.onMouseDown
9491
+ } : N;
9489
9492
  return j({
9490
9493
  id: n.getItemId(C),
9491
9494
  role: "option",
@@ -9576,7 +9579,7 @@ jx = /* @__PURE__ */ Object.freeze({
9576
9579
  id, h = this.getRootProps, y = this.getToggleButtonProps, m = this.getLabelProps, b = this.getMenuProps, x = this.getInputProps, E = this.
9577
9580
  getItemProps, g = this.openMenu, v = this.closeMenu, S = this.toggleMenu, w = this.selectItem, k = this.selectItemAtIndex, _ = this.selectHighlightedItem,
9578
9581
  C = this.setHighlightedIndex, T = this.clearSelection, O = this.clearItems, P = this.reset, D = this.setItemCount, M = this.unsetItemCount,
9579
- F = this.internalSetState;
9582
+ N = this.internalSetState;
9580
9583
  return {
9581
9584
  // prop getters
9582
9585
  getRootProps: h,
@@ -9598,7 +9601,7 @@ jx = /* @__PURE__ */ Object.freeze({
9598
9601
  clearItems: O,
9599
9602
  setItemCount: D,
9600
9603
  unsetItemCount: M,
9601
- setState: F,
9604
+ setState: N,
9602
9605
  // props
9603
9606
  itemToString: p,
9604
9607
  // derived
@@ -9656,7 +9659,7 @@ move", d), f.addEventListener("touchend", p), this.cleanup = function() {
9656
9659
  }, "componentDidUpdate"), i.componentWillUnmount = /* @__PURE__ */ a(function() {
9657
9660
  this.cleanup();
9658
9661
  }, "componentWillUnmount"), i.render = /* @__PURE__ */ a(function() {
9659
- var n = Dp(this.props.children, Re);
9662
+ var n = Dp(this.props.children, Be);
9660
9663
  this.clearItems(), this.getRootProps.called = !1, this.getRootProps.refKey = void 0, this.getRootProps.suppressRefError = void 0, this.
9661
9664
  getMenuProps.called = !1, this.getMenuProps.refKey = void 0, this.getMenuProps.suppressRefError = void 0, this.getLabelProps.called = !1,
9662
9665
  this.getInputProps.called = !1;
@@ -9668,7 +9671,7 @@ move", d), f.addEventListener("touchend", p), this.cleanup = function() {
9668
9671
  if (Bx(l))
9669
9672
  return /* @__PURE__ */ ta(l, this.getRootProps(Hx(l)));
9670
9673
  }, "render"), o;
9671
- }(Le);
9674
+ }(Ne);
9672
9675
  return e.defaultProps = {
9673
9676
  defaultHighlightedIndex: null,
9674
9677
  defaultIsOpen: !1,
@@ -9676,12 +9679,12 @@ move", d), f.addEventListener("touchend", p), this.cleanup = function() {
9676
9679
  itemToString: /* @__PURE__ */ a(function(o) {
9677
9680
  return o == null ? "" : String(o);
9678
9681
  }, "itemToString"),
9679
- onStateChange: Re,
9680
- onInputValueChange: Re,
9681
- onUserAction: Re,
9682
- onChange: Re,
9683
- onSelect: Re,
9684
- onOuterClick: Re,
9682
+ onStateChange: Be,
9683
+ onInputValueChange: Be,
9684
+ onUserAction: Be,
9685
+ onChange: Be,
9686
+ onSelect: Be,
9687
+ onOuterClick: Be,
9685
9688
  selectedItemChanged: /* @__PURE__ */ a(function(o, i) {
9686
9689
  return o !== i;
9687
9690
  }, "selectedItemChanged"),
@@ -9724,7 +9727,7 @@ function Xx(e, t) {
9724
9727
  a(Xx, "stateReducer");
9725
9728
  var Mp = hn(function(e, t) {
9726
9729
  zp(e, t);
9727
- }, 200), Zx = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u" ? Xt : H, rd = "useId" in s ?
9730
+ }, 200), Zx = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u" ? Xt : B, rd = "useId" in s ?
9728
9731
  /* @__PURE__ */ a(function(t) {
9729
9732
  var o = t.id, i = t.labelId, r = t.menuId, n = t.getItemId, l = t.toggleButtonId, u = t.inputId, c = "downshift-" + s.useId();
9730
9733
  o || (o = c);
@@ -9787,7 +9790,7 @@ function nd(e, t, o, i) {
9787
9790
  props: p.current
9788
9791
  }, y));
9789
9792
  }, [p]), h = n.current;
9790
- return H(function() {
9793
+ return B(function() {
9791
9794
  var y = Vo(r.current, h?.props), m = h && r.current && !i(y, c);
9792
9795
  m && Yx(h, y, c), r.current = c;
9793
9796
  }, [c, h, i]), [c, f];
@@ -9853,9 +9856,9 @@ function ad(e, t, o) {
9853
9856
  isTouchMove: !1,
9854
9857
  isTouchEnd: !1
9855
9858
  });
9856
- return H(function() {
9859
+ return B(function() {
9857
9860
  if (!e)
9858
- return Re;
9861
+ return Be;
9859
9862
  var r = o.map(function(p) {
9860
9863
  return p.current;
9861
9864
  });
@@ -9887,17 +9890,17 @@ function ad(e, t, o) {
9887
9890
  }
9888
9891
  a(ad, "useMouseAndTouchTracker");
9889
9892
  var rs = /* @__PURE__ */ a(function() {
9890
- return Re;
9893
+ return Be;
9891
9894
  }, "useGetterPropsCalledChecker");
9892
9895
  function ns(e, t, o, i) {
9893
9896
  i === void 0 && (i = {});
9894
9897
  var r = i.document, n = yn();
9895
- H(function() {
9898
+ B(function() {
9896
9899
  if (!(!e || n || !r)) {
9897
9900
  var l = e(t);
9898
9901
  Mp(l, r);
9899
9902
  }
9900
- }, o), H(function() {
9903
+ }, o), B(function() {
9901
9904
  return function() {
9902
9905
  Mp.cancel(), Vx(r);
9903
9906
  };
@@ -9911,7 +9914,7 @@ function ld(e) {
9911
9914
  }, [t]), u;
9912
9915
  }
9913
9916
  a(ld, "useScrollIntoView");
9914
- var is = Re;
9917
+ var is = Be;
9915
9918
  function cn(e, t, o) {
9916
9919
  var i;
9917
9920
  o === void 0 && (o = !0);
@@ -10053,10 +10056,10 @@ function tI(e) {
10053
10056
  return o;
10054
10057
  }
10055
10058
  a(tI, "getItemIndexByCharacterKey");
10056
- var VR = $t($t({}, cd), { items: Y.default.array.isRequired, isItemDisabled: Y.default.func }), oI = $t($t({}, Wo), { isItemDisabled: /* @__PURE__ */ a(
10059
+ var KR = $t($t({}, cd), { items: Y.default.array.isRequired, isItemDisabled: Y.default.func }), oI = $t($t({}, Wo), { isItemDisabled: /* @__PURE__ */ a(
10057
10060
  function() {
10058
10061
  return !1;
10059
- }, "isItemDisabled") }), rI = Re, an = 0, ss = 1, as = 2, dn = 3, ls = 4, us = 5, cs = 6, ps = 7, ds = 8, fs = 9, ms = 10, fn = 11, dd = 12,
10062
+ }, "isItemDisabled") }), rI = Be, an = 0, ss = 1, as = 2, dn = 3, ls = 4, us = 5, cs = 6, ps = 7, ds = 8, fs = 9, ms = 10, fn = 11, dd = 12,
10060
10063
  fd = 13, hs = 14, md = 15, hd = 16, gd = 17, yd = 18, gs = 19, es = 20, bd = 21, vd = /* @__PURE__ */ Object.freeze({
10061
10064
  __proto__: null,
10062
10065
  FunctionCloseMenu: gd,
@@ -10192,8 +10195,8 @@ function xd(e) {
10192
10195
  {
10193
10196
  state: l,
10194
10197
  props: t
10195
- }), g = A(function(z) {
10196
- return m.current[x.getItemId(z)];
10198
+ }), g = A(function(H) {
10199
+ return m.current[x.getItemId(H)];
10197
10200
  }, [x]);
10198
10201
  ns(r, l, [c, d, p, f], i);
10199
10202
  var v = ld({
@@ -10204,23 +10207,23 @@ function xd(e) {
10204
10207
  scrollIntoView: o,
10205
10208
  getItemNodeFromIndex: g
10206
10209
  });
10207
- H(function() {
10208
- return b.current = hn(function(z) {
10209
- z({
10210
+ B(function() {
10211
+ return b.current = hn(function(H) {
10212
+ H({
10210
10213
  type: es,
10211
10214
  inputValue: ""
10212
10215
  });
10213
10216
  }, 500), function() {
10214
10217
  b.current.cancel();
10215
10218
  };
10216
- }, []), H(function() {
10219
+ }, []), B(function() {
10217
10220
  f && b.current(u);
10218
10221
  }, [u, f]), is({
10219
10222
  props: t,
10220
10223
  state: l
10221
- }), H(function() {
10222
- var z = Ut(t, "isOpen");
10223
- z && h.current && h.current.focus();
10224
+ }), B(function() {
10225
+ var H = Ut(t, "isOpen");
10226
+ H && h.current && h.current.focus();
10224
10227
  }, []);
10225
10228
  var S = ad(i, A(/* @__PURE__ */ a(function() {
10226
10229
  E.current.state.isOpen && u({
@@ -10229,7 +10232,7 @@ function xd(e) {
10229
10232
  }, "handleBlur"), [u, E]), G(function() {
10230
10233
  return [y, h];
10231
10234
  }, [y.current, h.current])), w = rs("getMenuProps", "getToggleButtonProps");
10232
- H(function() {
10235
+ B(function() {
10233
10236
  c || (m.current = {});
10234
10237
  }, [c]);
10235
10238
  var k = G(function() {
@@ -10305,37 +10308,37 @@ function xd(e) {
10305
10308
  u({
10306
10309
  type: hd
10307
10310
  });
10308
- }, [u]), O = A(function(z) {
10311
+ }, [u]), O = A(function(H) {
10309
10312
  u({
10310
10313
  type: yd,
10311
- highlightedIndex: z
10314
+ highlightedIndex: H
10312
10315
  });
10313
- }, [u]), P = A(function(z) {
10316
+ }, [u]), P = A(function(H) {
10314
10317
  u({
10315
10318
  type: gs,
10316
- selectedItem: z
10319
+ selectedItem: H
10317
10320
  });
10318
10321
  }, [u]), D = A(function() {
10319
10322
  u({
10320
10323
  type: bd
10321
10324
  });
10322
- }, [u]), M = A(function(z) {
10325
+ }, [u]), M = A(function(H) {
10323
10326
  u({
10324
10327
  type: es,
10325
- inputValue: z
10328
+ inputValue: H
10326
10329
  });
10327
- }, [u]), F = A(function(z) {
10328
- var q = z === void 0 ? {} : z, W = q.onClick, re = ke(q, iI), R = /* @__PURE__ */ a(function() {
10330
+ }, [u]), N = A(function(H) {
10331
+ var q = H === void 0 ? {} : H, W = q.onClick, re = ke(q, iI), F = /* @__PURE__ */ a(function() {
10329
10332
  var L;
10330
10333
  (L = h.current) == null || L.focus();
10331
10334
  }, "labelHandleClick");
10332
10335
  return j({
10333
10336
  id: x.labelId,
10334
10337
  htmlFor: x.toggleButtonId,
10335
- onClick: le(W, R)
10338
+ onClick: le(W, F)
10336
10339
  }, re);
10337
- }, [x]), Z = A(function(z, q) {
10338
- var W, re = z === void 0 ? {} : z, R = re.onMouseLeave, B = re.refKey, L = B === void 0 ? "ref" : B, $ = re.ref, J = ke(re, sI), ie = q ===
10340
+ }, [x]), Z = A(function(H, q) {
10341
+ var W, re = H === void 0 ? {} : H, F = re.onMouseLeave, R = re.refKey, L = R === void 0 ? "ref" : R, $ = re.ref, J = ke(re, sI), ie = q ===
10339
10342
  void 0 ? {} : q, te = ie.suppressRefError, de = te === void 0 ? !1 : te, ae = /* @__PURE__ */ a(function() {
10340
10343
  u({
10341
10344
  type: dd
@@ -10343,10 +10346,10 @@ function xd(e) {
10343
10346
  }, "menuHandleMouseLeave");
10344
10347
  return w("getMenuProps", de, L, y), j((W = {}, W[L] = Ze($, function(ce) {
10345
10348
  y.current = ce;
10346
- }), W.id = x.menuId, W.role = "listbox", W["aria-labelledby"] = J && J["aria-label"] ? void 0 : "" + x.labelId, W.onMouseLeave = le(R, ae),
10349
+ }), W.id = x.menuId, W.role = "listbox", W["aria-labelledby"] = J && J["aria-label"] ? void 0 : "" + x.labelId, W.onMouseLeave = le(F, ae),
10347
10350
  W), J);
10348
- }, [u, w, x]), V = A(function(z, q) {
10349
- var W, re = z === void 0 ? {} : z, R = re.onBlur, B = re.onClick;
10351
+ }, [u, w, x]), V = A(function(H, q) {
10352
+ var W, re = H === void 0 ? {} : H, F = re.onBlur, R = re.onClick;
10350
10353
  re.onPress;
10351
10354
  var L = re.onKeyDown, $ = re.refKey, J = $ === void 0 ? "ref" : $, ie = re.ref, te = ke(re, aI), de = q === void 0 ? {} : q, ae = de.suppressRefError,
10352
10355
  ce = ae === void 0 ? !1 : ae, ue = E.current.state, Ie = /* @__PURE__ */ a(function() {
@@ -10358,46 +10361,46 @@ function xd(e) {
10358
10361
  type: fn
10359
10362
  });
10360
10363
  }, "toggleButtonHandleBlur"), Oe = /* @__PURE__ */ a(function(_e) {
10361
- var Ae = po(_e);
10362
- Ae && k[Ae] ? k[Ae](_e) : Jx(Ae) && u({
10364
+ var De = po(_e);
10365
+ De && k[De] ? k[De](_e) : Jx(De) && u({
10363
10366
  type: dn,
10364
- key: Ae
10367
+ key: De
10365
10368
  });
10366
10369
  }, "toggleButtonHandleKeyDown"), fe = j((W = {}, W[J] = Ze(ie, function(Se) {
10367
10370
  h.current = Se;
10368
10371
  }), W["aria-activedescendant"] = ue.isOpen && ue.highlightedIndex > -1 ? x.getItemId(ue.highlightedIndex) : "", W["aria-controls"] = x.menuId,
10369
10372
  W["aria-expanded"] = E.current.state.isOpen, W["aria-haspopup"] = "listbox", W["aria-labelledby"] = te && te["aria-label"] ? void 0 : "" +
10370
- x.labelId, W.id = x.toggleButtonId, W.role = "combobox", W.tabIndex = 0, W.onBlur = le(R, ye), W), te);
10371
- return te.disabled || (fe.onClick = le(B, Ie), fe.onKeyDown = le(L, Oe)), w("getToggleButtonProps", ce, J, h), fe;
10372
- }, [u, x, E, S, w, k]), Q = A(function(z) {
10373
- var q, W = z === void 0 ? {} : z, re = W.item, R = W.index, B = W.onMouseMove, L = W.onClick, $ = W.onMouseDown;
10373
+ x.labelId, W.id = x.toggleButtonId, W.role = "combobox", W.tabIndex = 0, W.onBlur = le(F, ye), W), te);
10374
+ return te.disabled || (fe.onClick = le(R, Ie), fe.onKeyDown = le(L, Oe)), w("getToggleButtonProps", ce, J, h), fe;
10375
+ }, [u, x, E, S, w, k]), Q = A(function(H) {
10376
+ var q, W = H === void 0 ? {} : H, re = W.item, F = W.index, R = W.onMouseMove, L = W.onClick, $ = W.onMouseDown;
10374
10377
  W.onPress;
10375
10378
  var J = W.refKey, ie = J === void 0 ? "ref" : J, te = W.disabled, de = W.ref, ae = ke(W, lI);
10376
10379
  te !== void 0 && console.warn('Passing "disabled" as an argument to getItemProps is not supported anymore. Please use the isItemDisabled\
10377
10380
  prop from useSelect.');
10378
- var ce = E.current, ue = ce.state, Ie = ce.props, ye = ts(re, R, Ie.items, "Pass either item or index to getItemProps!"), Oe = ye[0], fe = ye[1],
10381
+ var ce = E.current, ue = ce.state, Ie = ce.props, ye = ts(re, F, Ie.items, "Pass either item or index to getItemProps!"), Oe = ye[0], fe = ye[1],
10379
10382
  Se = Ie.isItemDisabled(Oe, fe), _e = /* @__PURE__ */ a(function() {
10380
10383
  S.isTouchEnd || fe === ue.highlightedIndex || (v.current = !1, u({
10381
10384
  type: fd,
10382
10385
  index: fe,
10383
10386
  disabled: Se
10384
10387
  }));
10385
- }, "itemHandleMouseMove"), Ae = /* @__PURE__ */ a(function() {
10388
+ }, "itemHandleMouseMove"), De = /* @__PURE__ */ a(function() {
10386
10389
  u({
10387
10390
  type: hs,
10388
10391
  index: fe
10389
10392
  });
10390
10393
  }, "itemHandleClick"), et = /* @__PURE__ */ a(function(fo) {
10391
10394
  return fo.preventDefault();
10392
- }, "itemHandleMouseDown"), N = j((q = {}, q[ie] = Ze(de, function(Ge) {
10393
- Ge && (m.current[x.getItemId(fe)] = Ge);
10395
+ }, "itemHandleMouseDown"), Pe = j((q = {}, q[ie] = Ze(de, function(z) {
10396
+ z && (m.current[x.getItemId(fe)] = z);
10394
10397
  }), q["aria-disabled"] = Se, q["aria-selected"] = Oe === ue.selectedItem, q.id = x.getItemId(fe), q.role = "option", q), ae);
10395
- return Se || (N.onClick = le(L, Ae)), N.onMouseMove = le(B, _e), N.onMouseDown = le($, et), N;
10398
+ return Se || (Pe.onClick = le(L, De)), Pe.onMouseMove = le(R, _e), Pe.onMouseDown = le($, et), Pe;
10396
10399
  }, [E, x, S, v, u]);
10397
10400
  return {
10398
10401
  // prop getters.
10399
10402
  getToggleButtonProps: V,
10400
- getLabelProps: F,
10403
+ getLabelProps: N,
10401
10404
  getMenuProps: Z,
10402
10405
  getItemProps: Q,
10403
10406
  // actions.
@@ -10451,7 +10454,7 @@ function uI(e) {
10451
10454
  });
10452
10455
  }
10453
10456
  a(uI, "getInitialState$1");
10454
- var jR = j({}, cd, {
10457
+ var $R = j({}, cd, {
10455
10458
  items: Y.default.array.isRequired,
10456
10459
  isItemDisabled: Y.default.func,
10457
10460
  inputValue: Y.default.string,
@@ -10462,7 +10465,7 @@ var jR = j({}, cd, {
10462
10465
  });
10463
10466
  function cI(e, t, o, i) {
10464
10467
  var r = U(), n = nd(e, t, o, i), l = n[0], u = n[1], c = yn();
10465
- return H(function() {
10468
+ return B(function() {
10466
10469
  if (ln(t, "selectedItem")) {
10467
10470
  if (!c) {
10468
10471
  var d = t.itemToKey(t.selectedItem) !== t.itemToKey(r.current);
@@ -10476,7 +10479,7 @@ function cI(e, t, o, i) {
10476
10479
  }, [l.selectedItem, t.selectedItem]), [Vo(l, t), u];
10477
10480
  }
10478
10481
  a(cI, "useControlledReducer");
10479
- var pI = Re, dI = j({}, Wo, {
10482
+ var pI = Be, dI = j({}, Wo, {
10480
10483
  isItemDisabled: /* @__PURE__ */ a(function() {
10481
10484
  return !1;
10482
10485
  }, "isItemDisabled")
@@ -10590,8 +10593,8 @@ function Ad(e) {
10590
10593
  t), v = U(), S = gn({
10591
10594
  state: u,
10592
10595
  props: t
10593
- }), w = A(function(R) {
10594
- return m.current[g.getItemId(R)];
10596
+ }), w = A(function(F) {
10597
+ return m.current[g.getItemId(F)];
10595
10598
  }, [g]);
10596
10599
  ns(n, u, [d, p, f, h], r);
10597
10600
  var k = ld({
@@ -10605,10 +10608,10 @@ function Ad(e) {
10605
10608
  is({
10606
10609
  props: t,
10607
10610
  state: u
10608
- }), H(function() {
10609
- var R = Ut(t, "isOpen");
10610
- R && b.current && b.current.focus();
10611
- }, []), H(function() {
10611
+ }), B(function() {
10612
+ var F = Ut(t, "isOpen");
10613
+ F && b.current && b.current.focus();
10614
+ }, []), B(function() {
10612
10615
  E || (v.current = o.length);
10613
10616
  });
10614
10617
  var _ = ad(r, A(/* @__PURE__ */ a(function() {
@@ -10619,68 +10622,68 @@ function Ad(e) {
10619
10622
  }, "handleBlur"), [c, S]), G(function() {
10620
10623
  return [y, x, b];
10621
10624
  }, [y.current, x.current, b.current])), C = rs("getInputProps", "getMenuProps");
10622
- H(function() {
10625
+ B(function() {
10623
10626
  d || (m.current = {});
10624
- }, [d]), H(function() {
10625
- var R;
10626
- !d || !(r != null && r.document) || !(b != null && (R = b.current) != null && R.focus) || r.document.activeElement !== b.current && b.current.
10627
+ }, [d]), B(function() {
10628
+ var F;
10629
+ !d || !(r != null && r.document) || !(b != null && (F = b.current) != null && F.focus) || r.document.activeElement !== b.current && b.current.
10627
10630
  focus();
10628
10631
  }, [d, r]);
10629
10632
  var T = G(function() {
10630
10633
  return {
10631
- ArrowDown: /* @__PURE__ */ a(function(B) {
10632
- B.preventDefault(), c({
10634
+ ArrowDown: /* @__PURE__ */ a(function(R) {
10635
+ R.preventDefault(), c({
10633
10636
  type: ys,
10634
- altKey: B.altKey
10637
+ altKey: R.altKey
10635
10638
  });
10636
10639
  }, "ArrowDown"),
10637
- ArrowUp: /* @__PURE__ */ a(function(B) {
10638
- B.preventDefault(), c({
10640
+ ArrowUp: /* @__PURE__ */ a(function(R) {
10641
+ R.preventDefault(), c({
10639
10642
  type: bs,
10640
- altKey: B.altKey
10643
+ altKey: R.altKey
10641
10644
  });
10642
10645
  }, "ArrowUp"),
10643
- Home: /* @__PURE__ */ a(function(B) {
10644
- S.current.state.isOpen && (B.preventDefault(), c({
10646
+ Home: /* @__PURE__ */ a(function(R) {
10647
+ S.current.state.isOpen && (R.preventDefault(), c({
10645
10648
  type: xs
10646
10649
  }));
10647
10650
  }, "Home"),
10648
- End: /* @__PURE__ */ a(function(B) {
10649
- S.current.state.isOpen && (B.preventDefault(), c({
10651
+ End: /* @__PURE__ */ a(function(R) {
10652
+ S.current.state.isOpen && (R.preventDefault(), c({
10650
10653
  type: Is
10651
10654
  }));
10652
10655
  }, "End"),
10653
- Escape: /* @__PURE__ */ a(function(B) {
10656
+ Escape: /* @__PURE__ */ a(function(R) {
10654
10657
  var L = S.current.state;
10655
- (L.isOpen || L.inputValue || L.selectedItem || L.highlightedIndex > -1) && (B.preventDefault(), c({
10658
+ (L.isOpen || L.inputValue || L.selectedItem || L.highlightedIndex > -1) && (R.preventDefault(), c({
10656
10659
  type: vs
10657
10660
  }));
10658
10661
  }, "Escape"),
10659
- Enter: /* @__PURE__ */ a(function(B) {
10662
+ Enter: /* @__PURE__ */ a(function(R) {
10660
10663
  var L = S.current.state;
10661
- !L.isOpen || B.which === 229 || (B.preventDefault(), c({
10664
+ !L.isOpen || R.which === 229 || (R.preventDefault(), c({
10662
10665
  type: Es
10663
10666
  }));
10664
10667
  }, "Enter"),
10665
- PageUp: /* @__PURE__ */ a(function(B) {
10666
- S.current.state.isOpen && (B.preventDefault(), c({
10668
+ PageUp: /* @__PURE__ */ a(function(R) {
10669
+ S.current.state.isOpen && (R.preventDefault(), c({
10667
10670
  type: Ss
10668
10671
  }));
10669
10672
  }, "PageUp"),
10670
- PageDown: /* @__PURE__ */ a(function(B) {
10671
- S.current.state.isOpen && (B.preventDefault(), c({
10673
+ PageDown: /* @__PURE__ */ a(function(R) {
10674
+ S.current.state.isOpen && (R.preventDefault(), c({
10672
10675
  type: ws
10673
10676
  }));
10674
10677
  }, "PageDown")
10675
10678
  };
10676
- }, [c, S]), O = A(function(R) {
10679
+ }, [c, S]), O = A(function(F) {
10677
10680
  return j({
10678
10681
  id: g.labelId,
10679
10682
  htmlFor: g.inputId
10680
- }, R);
10681
- }, [g]), P = A(function(R, B) {
10682
- var L, $ = R === void 0 ? {} : R, J = $.onMouseLeave, ie = $.refKey, te = ie === void 0 ? "ref" : ie, de = $.ref, ae = ke($, mI), ce = B ===
10683
- void 0 ? {} : B, ue = ce.suppressRefError, Ie = ue === void 0 ? !1 : ue;
10683
+ }, F);
10684
+ }, [g]), P = A(function(F, R) {
10685
+ var L, $ = F === void 0 ? {} : F, J = $.onMouseLeave, ie = $.refKey, te = ie === void 0 ? "ref" : ie, de = $.ref, ae = ke($, mI), ce = R ===
10686
+ void 0 ? {} : R, ue = ce.suppressRefError, Ie = ue === void 0 ? !1 : ue;
10684
10687
  return C("getMenuProps", Ie, te, y), j((L = {}, L[te] = Ze(de, function(ye) {
10685
10688
  y.current = ye;
10686
10689
  }), L.id = g.menuId, L.role = "listbox", L["aria-labelledby"] = ae && ae["aria-label"] ? void 0 : "" + g.labelId, L.onMouseLeave = le(J,
@@ -10689,55 +10692,55 @@ function Ad(e) {
10689
10692
  type: Id
10690
10693
  });
10691
10694
  }), L), ae);
10692
- }, [c, C, g]), D = A(function(R) {
10693
- var B, L, $ = R === void 0 ? {} : R, J = $.item, ie = $.index, te = $.refKey, de = te === void 0 ? "ref" : te, ae = $.ref, ce = $.onMouseMove,
10695
+ }, [c, C, g]), D = A(function(F) {
10696
+ var R, L, $ = F === void 0 ? {} : F, J = $.item, ie = $.index, te = $.refKey, de = te === void 0 ? "ref" : te, ae = $.ref, ce = $.onMouseMove,
10694
10697
  ue = $.onMouseDown, Ie = $.onClick;
10695
10698
  $.onPress;
10696
10699
  var ye = $.disabled, Oe = ke($, hI);
10697
10700
  ye !== void 0 && console.warn('Passing "disabled" as an argument to getItemProps is not supported anymore. Please use the isItemDisabled\
10698
10701
  prop from useCombobox.');
10699
- var fe = S.current, Se = fe.props, _e = fe.state, Ae = ts(J, ie, Se.items, "Pass either item or index to getItemProps!"), et = Ae[0], N = Ae[1],
10700
- Ge = Se.isItemDisabled(et, N), fo = "onClick", Uo = Ie, ht = /* @__PURE__ */ a(function() {
10701
- _.isTouchEnd || N === _e.highlightedIndex || (k.current = !1, c({
10702
+ var fe = S.current, Se = fe.props, _e = fe.state, De = ts(J, ie, Se.items, "Pass either item or index to getItemProps!"), et = De[0], Pe = De[1],
10703
+ z = Se.isItemDisabled(et, Pe), fo = "onClick", Uo = Ie, ht = /* @__PURE__ */ a(function() {
10704
+ _.isTouchEnd || Pe === _e.highlightedIndex || (k.current = !1, c({
10702
10705
  type: Sd,
10703
- index: N,
10704
- disabled: Ge
10706
+ index: Pe,
10707
+ disabled: z
10705
10708
  }));
10706
10709
  }, "itemHandleMouseMove"), Ct = /* @__PURE__ */ a(function() {
10707
10710
  c({
10708
10711
  type: _s,
10709
- index: N
10712
+ index: Pe
10710
10713
  });
10711
10714
  }, "itemHandleClick"), gt = /* @__PURE__ */ a(function(ff) {
10712
10715
  return ff.preventDefault();
10713
10716
  }, "itemHandleMouseDown");
10714
- return j((B = {}, B[de] = Ze(ae, function(qe) {
10715
- qe && (m.current[g.getItemId(N)] = qe);
10716
- }), B["aria-disabled"] = Ge, B["aria-selected"] = N === _e.highlightedIndex, B.id = g.getItemId(N), B.role = "option", B), !Ge && (L = {},
10717
+ return j((R = {}, R[de] = Ze(ae, function(qe) {
10718
+ qe && (m.current[g.getItemId(Pe)] = qe);
10719
+ }), R["aria-disabled"] = z, R["aria-selected"] = Pe === _e.highlightedIndex, R.id = g.getItemId(Pe), R.role = "option", R), !z && (L = {},
10717
10720
  L[fo] = le(Uo, Ct), L), {
10718
10721
  onMouseMove: le(ce, ht),
10719
10722
  onMouseDown: le(ue, gt)
10720
10723
  }, Oe);
10721
- }, [c, g, S, _, k]), M = A(function(R) {
10722
- var B, L = R === void 0 ? {} : R, $ = L.onClick;
10724
+ }, [c, g, S, _, k]), M = A(function(F) {
10725
+ var R, L = F === void 0 ? {} : F, $ = L.onClick;
10723
10726
  L.onPress;
10724
10727
  var J = L.refKey, ie = J === void 0 ? "ref" : J, te = L.ref, de = ke(L, gI), ae = S.current.state, ce = /* @__PURE__ */ a(function() {
10725
10728
  c({
10726
10729
  type: wd
10727
10730
  });
10728
10731
  }, "toggleButtonHandleClick");
10729
- return j((B = {}, B[ie] = Ze(te, function(ue) {
10732
+ return j((R = {}, R[ie] = Ze(te, function(ue) {
10730
10733
  x.current = ue;
10731
- }), B["aria-controls"] = g.menuId, B["aria-expanded"] = ae.isOpen, B.id = g.toggleButtonId, B.tabIndex = -1, B), !de.disabled && j({}, {
10734
+ }), R["aria-controls"] = g.menuId, R["aria-expanded"] = ae.isOpen, R.id = g.toggleButtonId, R.tabIndex = -1, R), !de.disabled && j({}, {
10732
10735
  onClick: le($, ce)
10733
10736
  }), de);
10734
- }, [c, S, g]), F = A(function(R, B) {
10735
- var L, $ = R === void 0 ? {} : R, J = $.onKeyDown, ie = $.onChange, te = $.onInput, de = $.onBlur;
10737
+ }, [c, S, g]), N = A(function(F, R) {
10738
+ var L, $ = F === void 0 ? {} : F, J = $.onKeyDown, ie = $.onChange, te = $.onInput, de = $.onBlur;
10736
10739
  $.onChangeText;
10737
- var ae = $.onClick, ce = $.refKey, ue = ce === void 0 ? "ref" : ce, Ie = $.ref, ye = ke($, yI), Oe = B === void 0 ? {} : B, fe = Oe.suppressRefError,
10740
+ var ae = $.onClick, ce = $.refKey, ue = ce === void 0 ? "ref" : ce, Ie = $.ref, ye = ke($, yI), Oe = R === void 0 ? {} : R, fe = Oe.suppressRefError,
10738
10741
  Se = fe === void 0 ? !1 : fe;
10739
10742
  C("getInputProps", Se, ue, b);
10740
- var _e = S.current.state, Ae = /* @__PURE__ */ a(function(gt) {
10743
+ var _e = S.current.state, De = /* @__PURE__ */ a(function(gt) {
10741
10744
  var qe = po(gt);
10742
10745
  qe && T[qe] && T[qe](gt);
10743
10746
  }, "inputHandleKeyDown"), et = /* @__PURE__ */ a(function(gt) {
@@ -10745,7 +10748,7 @@ function Ad(e) {
10745
10748
  type: Ts,
10746
10749
  inputValue: gt.target.value
10747
10750
  });
10748
- }, "inputHandleChange"), N = /* @__PURE__ */ a(function(gt) {
10751
+ }, "inputHandleChange"), Pe = /* @__PURE__ */ a(function(gt) {
10749
10752
  if (r != null && r.document && _e.isOpen && !_.isMouseDown) {
10750
10753
  var qe = gt.relatedTarget === null && r.document.activeElement !== r.document.body;
10751
10754
  c({
@@ -10753,14 +10756,14 @@ function Ad(e) {
10753
10756
  selectItem: !qe
10754
10757
  });
10755
10758
  }
10756
- }, "inputHandleBlur"), Ge = /* @__PURE__ */ a(function() {
10759
+ }, "inputHandleBlur"), z = /* @__PURE__ */ a(function() {
10757
10760
  c({
10758
10761
  type: Cs
10759
10762
  });
10760
10763
  }, "inputHandleClick"), fo = "onChange", Uo = {};
10761
10764
  if (!ye.disabled) {
10762
10765
  var ht;
10763
- Uo = (ht = {}, ht[fo] = le(ie, te, et), ht.onKeyDown = le(J, Ae), ht.onBlur = le(de, N), ht.onClick = le(ae, Ge), ht);
10766
+ Uo = (ht = {}, ht[fo] = le(ie, te, et), ht.onKeyDown = le(J, De), ht.onBlur = le(de, Pe), ht.onClick = le(ae, z), ht);
10764
10767
  }
10765
10768
  return j((L = {}, L[ue] = Ze(Ie, function(Ct) {
10766
10769
  b.current = Ct;
@@ -10779,20 +10782,20 @@ function Ad(e) {
10779
10782
  c({
10780
10783
  type: Td
10781
10784
  });
10782
- }, [c]), z = A(function(R) {
10785
+ }, [c]), H = A(function(F) {
10783
10786
  c({
10784
10787
  type: _d,
10785
- highlightedIndex: R
10788
+ highlightedIndex: F
10786
10789
  });
10787
- }, [c]), q = A(function(R) {
10790
+ }, [c]), q = A(function(F) {
10788
10791
  c({
10789
10792
  type: ks,
10790
- selectedItem: R
10793
+ selectedItem: F
10791
10794
  });
10792
- }, [c]), W = A(function(R) {
10795
+ }, [c]), W = A(function(F) {
10793
10796
  c({
10794
10797
  type: kd,
10795
- inputValue: R
10798
+ inputValue: F
10796
10799
  });
10797
10800
  }, [c]), re = A(function() {
10798
10801
  c({
@@ -10804,13 +10807,13 @@ function Ad(e) {
10804
10807
  getItemProps: D,
10805
10808
  getLabelProps: O,
10806
10809
  getMenuProps: P,
10807
- getInputProps: F,
10810
+ getInputProps: N,
10808
10811
  getToggleButtonProps: M,
10809
10812
  // actions.
10810
10813
  toggleMenu: Z,
10811
10814
  openMenu: Q,
10812
10815
  closeMenu: V,
10813
- setHighlightedIndex: z,
10816
+ setHighlightedIndex: H,
10814
10817
  setInputValue: W,
10815
10818
  selectItem: q,
10816
10819
  reset: re,
@@ -10856,7 +10859,7 @@ function vI(e, t) {
10856
10859
  return e.selectedItems === t.selectedItems && e.activeIndex === t.activeIndex;
10857
10860
  }
10858
10861
  a(vI, "isStateEqual");
10859
- var KR = {
10862
+ var UR = {
10860
10863
  stateReducer: sn.stateReducer,
10861
10864
  itemToKey: sn.itemToKey,
10862
10865
  environment: sn.environment,
@@ -10877,7 +10880,7 @@ var KR = {
10877
10880
  environment: Wo.environment,
10878
10881
  keyNavigationNext: "ArrowRight",
10879
10882
  keyNavigationPrevious: "ArrowLeft"
10880
- }, II = Re, Ps = 0, As = 1, Ds = 2, Ms = 3, Ls = 4, Ns = 5, Fs = 6, Rs = 7, Bs = 8, Hs = 9, zs = 10, Ws = 11, Vs = 12, SI = /* @__PURE__ */ Object.
10883
+ }, II = Be, Ps = 0, As = 1, Ds = 2, Ms = 3, Ls = 4, Ns = 5, Fs = 6, Rs = 7, Bs = 8, Hs = 9, zs = 10, Ws = 11, Vs = 12, SI = /* @__PURE__ */ Object.
10881
10884
  freeze({
10882
10885
  __proto__: null,
10883
10886
  DropdownClick: Rs,
@@ -10994,7 +10997,7 @@ function Md(e) {
10994
10997
  state: u,
10995
10998
  props: t
10996
10999
  });
10997
- ns(o, u, [d, p], i), H(function() {
11000
+ ns(o, u, [d, p], i), B(function() {
10998
11001
  f || (d === -1 && h.current ? h.current.focus() : y.current[d] && y.current[d].focus());
10999
11002
  }, [d]), is({
11000
11003
  props: t,
@@ -11031,24 +11034,24 @@ function Md(e) {
11031
11034
  });
11032
11035
  }, "Backspace"), T;
11033
11036
  }, [c, n]), g = A(function(T) {
11034
- var O, P = T === void 0 ? {} : T, D = P.refKey, M = D === void 0 ? "ref" : D, F = P.ref, Z = P.onClick, V = P.onKeyDown, Q = P.selectedItem,
11035
- z = P.index, q = ke(P, EI), W = m.current.state, re = ts(Q, z, W.selectedItems, "Pass either item or index to getSelectedItemProps!"), R = re[1],
11036
- B = R > -1 && R === W.activeIndex, L = /* @__PURE__ */ a(function() {
11037
+ var O, P = T === void 0 ? {} : T, D = P.refKey, M = D === void 0 ? "ref" : D, N = P.ref, Z = P.onClick, V = P.onKeyDown, Q = P.selectedItem,
11038
+ H = P.index, q = ke(P, EI), W = m.current.state, re = ts(Q, H, W.selectedItems, "Pass either item or index to getSelectedItemProps!"), F = re[1],
11039
+ R = F > -1 && F === W.activeIndex, L = /* @__PURE__ */ a(function() {
11037
11040
  c({
11038
11041
  type: Ps,
11039
- index: R
11042
+ index: F
11040
11043
  });
11041
11044
  }, "selectedItemHandleClick"), $ = /* @__PURE__ */ a(function(ie) {
11042
11045
  var te = po(ie);
11043
11046
  te && x[te] && x[te](ie);
11044
11047
  }, "selectedItemHandleKeyDown");
11045
- return j((O = {}, O[M] = Ze(F, function(J) {
11048
+ return j((O = {}, O[M] = Ze(N, function(J) {
11046
11049
  J && y.current.push(J);
11047
- }), O.tabIndex = B ? 0 : -1, O.onClick = le(Z, L), O.onKeyDown = le(V, $), O), q);
11050
+ }), O.tabIndex = R ? 0 : -1, O.onClick = le(Z, L), O.onKeyDown = le(V, $), O), q);
11048
11051
  }, [c, m, x]), v = A(function(T, O) {
11049
- var P, D = T === void 0 ? {} : T, M = D.refKey, F = M === void 0 ? "ref" : M, Z = D.ref, V = D.onKeyDown, Q = D.onClick, z = D.preventKeyAction,
11050
- q = z === void 0 ? !1 : z, W = ke(D, TI), re = O === void 0 ? {} : O, R = re.suppressRefError, B = R === void 0 ? !1 : R;
11051
- b("getDropdownProps", B, F, h);
11052
+ var P, D = T === void 0 ? {} : T, M = D.refKey, N = M === void 0 ? "ref" : M, Z = D.ref, V = D.onKeyDown, Q = D.onClick, H = D.preventKeyAction,
11053
+ q = H === void 0 ? !1 : H, W = ke(D, TI), re = O === void 0 ? {} : O, F = re.suppressRefError, R = F === void 0 ? !1 : F;
11054
+ b("getDropdownProps", R, N, h);
11052
11055
  var L = /* @__PURE__ */ a(function(ie) {
11053
11056
  var te = po(ie);
11054
11057
  te && E[te] && E[te](ie);
@@ -11057,7 +11060,7 @@ function Md(e) {
11057
11060
  type: Rs
11058
11061
  });
11059
11062
  }, "dropdownHandleClick");
11060
- return j((P = {}, P[F] = Ze(Z, function(J) {
11063
+ return j((P = {}, P[N] = Ze(Z, function(J) {
11061
11064
  J && (h.current = J);
11062
11065
  }), P), !q && {
11063
11066
  onKeyDown: le(V, L),
@@ -11103,7 +11106,7 @@ function Md(e) {
11103
11106
  a(Md, "useMultipleSelection");
11104
11107
 
11105
11108
  // src/manager/components/sidebar/Search.tsx
11106
- var Nd = Ve(Ld(), 1);
11109
+ var Nd = je(Ld(), 1);
11107
11110
 
11108
11111
  // src/manager/components/sidebar/types.ts
11109
11112
  function Ko(e) {
@@ -11230,7 +11233,7 @@ var { document: CI } = se, $s = 50, _I = {
11230
11233
  let O = zr(C || {}, T ?? {});
11231
11234
  return C && k.push(
11232
11235
  ...Object.values(C).map((P) => {
11233
- let D = T?.[P.id], M = D ? Ho(Object.values(D).map((F) => F.value)) : null;
11236
+ let D = T?.[P.id], M = D ? Ho(Object.values(D).map((N) => N.value)) : null;
11234
11237
  return {
11235
11238
  ...Ki(P, o.hash[_]),
11236
11239
  status: M ?? O[P.id] ?? null
@@ -11312,17 +11315,17 @@ var { document: CI } = se, $s = 50, _I = {
11312
11315
  getItemProps: P,
11313
11316
  getLabelProps: D,
11314
11317
  getMenuProps: M,
11315
- getRootProps: F,
11318
+ getRootProps: N,
11316
11319
  highlightedIndex: Z
11317
11320
  }) => {
11318
- let V = C ? C.trim() : "", Q = V ? x(V) : [], z = !V && r();
11319
- z && z.length && (Q = z.reduce((R, { storyId: B, refId: L }) => {
11321
+ let V = C ? C.trim() : "", Q = V ? x(V) : [], H = !V && r();
11322
+ H && H.length && (Q = H.reduce((F, { storyId: R, refId: L }) => {
11320
11323
  let $ = o.hash[L];
11321
- if ($ && $.index && $.index[B]) {
11322
- let J = $.index[B], ie = J.type === "story" ? $.index[J.parent] : J;
11323
- R.some((te) => te.item.refId === L && te.item.id === ie.id) || R.push({ item: Ki(ie, o.hash[L]), matches: [], score: 0 });
11324
+ if ($ && $.index && $.index[R]) {
11325
+ let J = $.index[R], ie = J.type === "story" ? $.index[J.parent] : J;
11326
+ F.some((te) => te.item.refId === L && te.item.id === ie.id) || F.push({ item: Ki(ie, o.hash[L]), matches: [], score: 0 });
11324
11327
  }
11325
- return R;
11328
+ return F;
11326
11329
  }, []));
11327
11330
  let q = "storybook-explorer-searchfield", W = O({
11328
11331
  id: q,
@@ -11334,8 +11337,8 @@ var { document: CI } = se, $s = 50, _I = {
11334
11337
  k(), f("Type to find...");
11335
11338
  }, "onFocus"),
11336
11339
  onBlur: /* @__PURE__ */ a(() => f("Find components"), "onBlur"),
11337
- onKeyDown: /* @__PURE__ */ a((R) => {
11338
- R.key === "Escape" && C.length === 0 && d.current.blur();
11340
+ onKeyDown: /* @__PURE__ */ a((F) => {
11341
+ F.key === "Escape" && C.length === 0 && d.current.blur();
11339
11342
  }, "onKeyDown")
11340
11343
  }), re = D({
11341
11344
  htmlFor: q
@@ -11344,7 +11347,7 @@ var { document: CI } = se, $s = 50, _I = {
11344
11347
  createElement(kI, null, /* @__PURE__ */ s.createElement(
11345
11348
  PI,
11346
11349
  {
11347
- ...F({ refKey: "" }, { suppressRefError: !0 }),
11350
+ ...N({ refKey: "" }, { suppressRefError: !0 }),
11348
11351
  isMobile: S,
11349
11352
  className: "search-field"
11350
11353
  },
@@ -11353,7 +11356,7 @@ var { document: CI } = se, $s = 50, _I = {
11353
11356
  !S && i && !w && /* @__PURE__ */ s.createElement(MI, null, m === "\u2318 K" ? /* @__PURE__ */ s.createElement(s.Fragment, null, /* @__PURE__ */ s.
11354
11357
  createElement(LI, null, "\u2318"), "K") : m),
11355
11358
  /* @__PURE__ */ s.createElement(NI, null, w && /* @__PURE__ */ s.createElement(ee, { onClick: () => T() }, /* @__PURE__ */ s.createElement(
11356
- je, null)), u)
11359
+ Ke, null)), u)
11357
11360
  ), l), /* @__PURE__ */ s.createElement(FI, { tabIndex: 0, id: "storybook-explorer-menu" }, t({
11358
11361
  query: V,
11359
11362
  results: Q,
@@ -11484,15 +11487,15 @@ var { document: Rd } = se, RI = I.ol({
11484
11487
  },
11485
11488
  [i]
11486
11489
  ), l = oe();
11487
- H(() => {
11490
+ B(() => {
11488
11491
  l && r.isHighlighted && t.type === "component" && l.emit(kt, { ids: [t.children[0]] }, { options: { target: t.refId } });
11489
11492
  }, [r.isHighlighted, t]);
11490
11493
  let u = o.find((p) => p.key === "name"), c = o.filter((p) => p.key === "path"), [d] = t.status ? Bo[t.status] : [];
11491
11494
  return /* @__PURE__ */ s.createElement(BI, { ...r, onClick: n }, /* @__PURE__ */ s.createElement(HI, null, t.type === "component" && /* @__PURE__ */ s.
11492
- createElement(wt, { viewBox: "0 0 14 14", width: "14", height: "14", type: "component" }, /* @__PURE__ */ s.createElement(Me, { type: "com\
11495
+ createElement(wt, { viewBox: "0 0 14 14", width: "14", height: "14", type: "component" }, /* @__PURE__ */ s.createElement(Le, { type: "com\
11493
11496
  ponent" })), t.type === "story" && /* @__PURE__ */ s.createElement(wt, { viewBox: "0 0 14 14", width: "14", height: "14", type: "story" }, /* @__PURE__ */ s.
11494
- createElement(Me, { type: "story" })), !(t.type === "component" || t.type === "story") && /* @__PURE__ */ s.createElement(wt, { viewBox: "\
11495
- 0 0 14 14", width: "14", height: "14", type: "document" }, /* @__PURE__ */ s.createElement(Me, { type: "document" }))), /* @__PURE__ */ s.createElement(
11497
+ createElement(Le, { type: "story" })), !(t.type === "component" || t.type === "story") && /* @__PURE__ */ s.createElement(wt, { viewBox: "\
11498
+ 0 0 14 14", width: "14", height: "14", type: "document" }, /* @__PURE__ */ s.createElement(Le, { type: "document" }))), /* @__PURE__ */ s.createElement(
11496
11499
  zI, { className: "search-result-item--label" }, /* @__PURE__ */ s.createElement($I, null, /* @__PURE__ */ s.createElement(Bd, { match: u },
11497
11500
  t.name)), /* @__PURE__ */ s.createElement(UI, null, t.path.map((p, f) => /* @__PURE__ */ s.createElement("span", { key: f }, /* @__PURE__ */ s.
11498
11501
  createElement(Bd, { match: c.find((h) => h.arrayIndex === f) }, p))))), t.status ? /* @__PURE__ */ s.createElement(Xc, { status: t.status },
@@ -11509,9 +11512,9 @@ ponent" })), t.type === "story" && /* @__PURE__ */ s.createElement(wt, { viewBox
11509
11512
  clearLastViewed: d
11510
11513
  }) {
11511
11514
  let p = oe();
11512
- H(() => {
11515
+ B(() => {
11513
11516
  let y = /* @__PURE__ */ a((m) => {
11514
- if (!(!c || u || m.repeat) && Et(!1, m) && $e("Escape", m)) {
11517
+ if (!(!c || u || m.repeat) && Et(!1, m) && Ue("Escape", m)) {
11515
11518
  if (m.target?.id === "storybook-explorer-searchfield")
11516
11519
  return;
11517
11520
  m.preventDefault(), i();
@@ -11575,7 +11578,7 @@ var qI = ["active", "critical", "negative", "positive", "warning"], $o, YI = /*
11575
11578
  });
11576
11579
  }, "getFaviconUrl"), zd = /* @__PURE__ */ a((e) => {
11577
11580
  let t = U(document.head.querySelectorAll("link[rel*='icon']"));
11578
- H(() => {
11581
+ B(() => {
11579
11582
  let o = !0, [i, ...r] = t.current;
11580
11583
  if (i && !r.length)
11581
11584
  return YI(i.href, e).then(
@@ -11719,7 +11722,7 @@ ow, 0 1px 2px 0 rgba(0, 0, 0, 0.05), 0px -5px 20px 10px ${r.background.app})`,
11719
11722
  successCount: f
11720
11723
  }) => {
11721
11724
  let h = U(null), y = U(null), [m, b] = K(Us), [x, E] = K(!0), [g, v] = K(!1), [S, w] = K(!1), k = U();
11722
- H(() => {
11725
+ B(() => {
11723
11726
  let P = Jt.onSettingsChanged(() => {
11724
11727
  w(!0), clearTimeout(k.current), k.current = setTimeout(() => {
11725
11728
  w(!1);
@@ -11728,7 +11731,7 @@ ow, 0 1px 2px 0 rgba(0, 0, 0, 0.05), 0px -5px 20px 10px ${r.background.app})`,
11728
11731
  return () => {
11729
11732
  P(), clearTimeout(k.current);
11730
11733
  };
11731
- }, []), H(() => {
11734
+ }, []), B(() => {
11732
11735
  if (y.current) {
11733
11736
  b(y.current?.getBoundingClientRect().height || Us);
11734
11737
  let P = new ResizeObserver(() => {
@@ -11751,7 +11754,7 @@ ow, 0 1px 2px 0 rgba(0, 0, 0, 0.05), 0px -5px 20px 10px ${r.background.app})`,
11751
11754
  ), T = Object.values(t).some(
11752
11755
  (P) => P === "test-provider-state:crashed"
11753
11756
  ), O = Object.values(e).length > 0;
11754
- return H(() => {
11757
+ return B(() => {
11755
11758
  T && x && _(void 0, !1);
11756
11759
  }, [T, x, _]), zd(
11757
11760
  T ? "critical" : n > 0 ? "negative" : c > 0 ? "warning" : C ? "active" : f > 0 ? "positive" : void 0
@@ -11953,14 +11956,14 @@ e).some(({ value: t }) => t === "status-value:error"), "filterError"), dS = /* @
11953
11956
  onRunAll: d
11954
11957
  }) => {
11955
11958
  let p = U(null), f = U(null), [h, y] = K(!1), [m, b] = K(!1);
11956
- return H(() => {
11959
+ return B(() => {
11957
11960
  if (p.current && f.current) {
11958
11961
  let x = new ResizeObserver(() => {
11959
11962
  p.current && f.current && (p.current.style.height = `${f.current.scrollHeight}px`);
11960
11963
  });
11961
11964
  return x.observe(f.current), () => x.disconnect();
11962
11965
  }
11963
- }, []), H(() => {
11966
+ }, []), B(() => {
11964
11967
  let x = fS(i > 0 && h, o > 0 && m);
11965
11968
  e.experimental_setFilter("sidebar-bottom-filter", x);
11966
11969
  }, [e, i, o, h, m]), !i && !o && Object.values(c).length === 0 && t.length === 0 ? null : /* @__PURE__ */ s.createElement(Ee, null, /* @__PURE__ */ s.
@@ -11987,7 +11990,7 @@ e).some(({ value: t }) => t === "status-value:error"), "filterError"), dS = /* @
11987
11990
  }
11988
11991
  )));
11989
11992
  }, "SidebarBottomBase"), jd = /* @__PURE__ */ a(({ isDevelopment: e }) => {
11990
- let t = oe(), o = t.getElements(Ce.experimental_TEST_PROVIDER), { notifications: i } = Ne(), { hasStatuses: r, errorCount: n, warningCount: l,
11993
+ let t = oe(), o = t.getElements(Ce.experimental_TEST_PROVIDER), { notifications: i } = Fe(), { hasStatuses: r, errorCount: n, warningCount: l,
11991
11994
  successCount: u } = Eo(
11992
11995
  (d) => Object.values(d).reduce(
11993
11996
  (p, f) => (Object.values(f).forEach((h) => {
@@ -12097,7 +12100,7 @@ var vS = "tags-filter", xS = /* @__PURE__ */ new Set([
12097
12100
  isDevelopment: i
12098
12101
  }) => {
12099
12102
  let [r, n] = K(o), [l, u] = K(!1), c = r.length > 0;
12100
- H(() => {
12103
+ B(() => {
12101
12104
  e.experimental_setFilter(vS, (y) => r.length === 0 ? !0 : r.some((m) => y.tags?.includes(m)));
12102
12105
  }, [e, r]);
12103
12106
  let d = Object.values(t.entries).reduce((y, m) => (m.tags?.forEach((b) => {
@@ -12140,7 +12143,7 @@ var vS = "tags-filter", xS = /* @__PURE__ */ new Set([
12140
12143
  }, "TagsFilter");
12141
12144
 
12142
12145
  // src/manager/components/sidebar/useLastViewed.ts
12143
- var xn = Ve(Ud(), 1);
12146
+ var xn = je(Ud(), 1);
12144
12147
  var Gd = qi((e) => xn.default.set("lastViewedStoryIds", e), 1e3), qd = /* @__PURE__ */ a((e) => {
12145
12148
  let t = G(() => {
12146
12149
  let r = xn.default.get("lastViewedStoryIds");
@@ -12154,7 +12157,7 @@ var Gd = qi((e) => xn.default.set("lastViewedStoryIds", e), 1e3), qd = /* @__PUR
12154
12157
  },
12155
12158
  [o]
12156
12159
  );
12157
- return H(() => {
12160
+ return B(() => {
12158
12161
  e && i(e);
12159
12162
  }, [e]), {
12160
12163
  getLastViewed: A(() => o.current, [o]),
@@ -12338,7 +12341,7 @@ var PS = {
12338
12341
  "& + &": {
12339
12342
  marginLeft: 6
12340
12343
  }
12341
- }), We = /* @__PURE__ */ a(({ keys: e }) => /* @__PURE__ */ s.createElement(AS, null, e.map((t) => /* @__PURE__ */ s.createElement(DS, { key: t },
12344
+ }), Ve = /* @__PURE__ */ a(({ keys: e }) => /* @__PURE__ */ s.createElement(AS, null, e.map((t) => /* @__PURE__ */ s.createElement(DS, { key: t },
12342
12345
  Ye([t])))), "Shortcut"), Qd = /* @__PURE__ */ a((e, t, o, i, r, n, l) => {
12343
12346
  let u = t.getShortcutKeys(), c = G(
12344
12347
  () => ({
@@ -12367,7 +12370,7 @@ Ye([t])))), "Shortcut"), Qd = /* @__PURE__ */ a((e, t, o, i, r, n, l) => {
12367
12370
  id: "shortcuts",
12368
12371
  title: "Keyboard shortcuts",
12369
12372
  onClick: /* @__PURE__ */ a(() => t.changeSettingsTab("shortcuts"), "onClick"),
12370
- right: l ? /* @__PURE__ */ s.createElement(We, { keys: u.shortcutsPage }) : null,
12373
+ right: l ? /* @__PURE__ */ s.createElement(Ve, { keys: u.shortcutsPage }) : null,
12371
12374
  icon: /* @__PURE__ */ s.createElement(Pn, null)
12372
12375
  }),
12373
12376
  [t, l, u.shortcutsPage]
@@ -12377,8 +12380,8 @@ Ye([t])))), "Shortcut"), Qd = /* @__PURE__ */ a((e, t, o, i, r, n, l) => {
12377
12380
  title: "Show sidebar",
12378
12381
  onClick: /* @__PURE__ */ a(() => t.toggleNav(), "onClick"),
12379
12382
  active: n,
12380
- right: l ? /* @__PURE__ */ s.createElement(We, { keys: u.toggleNav }) : null,
12381
- icon: n ? /* @__PURE__ */ s.createElement(Be, null) : null
12383
+ right: l ? /* @__PURE__ */ s.createElement(Ve, { keys: u.toggleNav }) : null,
12384
+ icon: n ? /* @__PURE__ */ s.createElement(He, null) : null
12382
12385
  }),
12383
12386
  [t, l, u, n]
12384
12387
  ), b = G(
@@ -12387,8 +12390,8 @@ Ye([t])))), "Shortcut"), Qd = /* @__PURE__ */ a((e, t, o, i, r, n, l) => {
12387
12390
  title: "Show toolbar",
12388
12391
  onClick: /* @__PURE__ */ a(() => t.toggleToolbar(), "onClick"),
12389
12392
  active: o,
12390
- right: l ? /* @__PURE__ */ s.createElement(We, { keys: u.toolbar }) : null,
12391
- icon: o ? /* @__PURE__ */ s.createElement(Be, null) : null
12393
+ right: l ? /* @__PURE__ */ s.createElement(Ve, { keys: u.toolbar }) : null,
12394
+ icon: o ? /* @__PURE__ */ s.createElement(He, null) : null
12392
12395
  }),
12393
12396
  [t, l, u, o]
12394
12397
  ), x = G(
@@ -12397,8 +12400,8 @@ Ye([t])))), "Shortcut"), Qd = /* @__PURE__ */ a((e, t, o, i, r, n, l) => {
12397
12400
  title: "Show addons panel",
12398
12401
  onClick: /* @__PURE__ */ a(() => t.togglePanel(), "onClick"),
12399
12402
  active: r,
12400
- right: l ? /* @__PURE__ */ s.createElement(We, { keys: u.togglePanel }) : null,
12401
- icon: r ? /* @__PURE__ */ s.createElement(Be, null) : null
12403
+ right: l ? /* @__PURE__ */ s.createElement(Ve, { keys: u.togglePanel }) : null,
12404
+ icon: r ? /* @__PURE__ */ s.createElement(He, null) : null
12402
12405
  }),
12403
12406
  [t, l, u, r]
12404
12407
  ), E = G(
@@ -12406,7 +12409,7 @@ Ye([t])))), "Shortcut"), Qd = /* @__PURE__ */ a((e, t, o, i, r, n, l) => {
12406
12409
  id: "D",
12407
12410
  title: "Change addons orientation",
12408
12411
  onClick: /* @__PURE__ */ a(() => t.togglePanelPosition(), "onClick"),
12409
- right: l ? /* @__PURE__ */ s.createElement(We, { keys: u.panelPosition }) : null
12412
+ right: l ? /* @__PURE__ */ s.createElement(Ve, { keys: u.panelPosition }) : null
12410
12413
  }),
12411
12414
  [t, l, u]
12412
12415
  ), g = G(
@@ -12415,8 +12418,8 @@ Ye([t])))), "Shortcut"), Qd = /* @__PURE__ */ a((e, t, o, i, r, n, l) => {
12415
12418
  title: "Go full screen",
12416
12419
  onClick: /* @__PURE__ */ a(() => t.toggleFullscreen(), "onClick"),
12417
12420
  active: i,
12418
- right: l ? /* @__PURE__ */ s.createElement(We, { keys: u.fullScreen }) : null,
12419
- icon: i ? /* @__PURE__ */ s.createElement(Be, null) : null
12421
+ right: l ? /* @__PURE__ */ s.createElement(Ve, { keys: u.fullScreen }) : null,
12422
+ icon: i ? /* @__PURE__ */ s.createElement(He, null) : null
12420
12423
  }),
12421
12424
  [t, l, u, i]
12422
12425
  ), v = G(
@@ -12424,7 +12427,7 @@ Ye([t])))), "Shortcut"), Qd = /* @__PURE__ */ a((e, t, o, i, r, n, l) => {
12424
12427
  id: "/",
12425
12428
  title: "Search",
12426
12429
  onClick: /* @__PURE__ */ a(() => t.focusOnUIElement(PS.storySearchField), "onClick"),
12427
- right: l ? /* @__PURE__ */ s.createElement(We, { keys: u.search }) : null
12430
+ right: l ? /* @__PURE__ */ s.createElement(Ve, { keys: u.search }) : null
12428
12431
  }),
12429
12432
  [t, l, u]
12430
12433
  ), S = G(
@@ -12432,7 +12435,7 @@ Ye([t])))), "Shortcut"), Qd = /* @__PURE__ */ a((e, t, o, i, r, n, l) => {
12432
12435
  id: "up",
12433
12436
  title: "Previous component",
12434
12437
  onClick: /* @__PURE__ */ a(() => t.jumpToComponent(-1), "onClick"),
12435
- right: l ? /* @__PURE__ */ s.createElement(We, { keys: u.prevComponent }) : null
12438
+ right: l ? /* @__PURE__ */ s.createElement(Ve, { keys: u.prevComponent }) : null
12436
12439
  }),
12437
12440
  [t, l, u]
12438
12441
  ), w = G(
@@ -12440,7 +12443,7 @@ Ye([t])))), "Shortcut"), Qd = /* @__PURE__ */ a((e, t, o, i, r, n, l) => {
12440
12443
  id: "down",
12441
12444
  title: "Next component",
12442
12445
  onClick: /* @__PURE__ */ a(() => t.jumpToComponent(1), "onClick"),
12443
- right: l ? /* @__PURE__ */ s.createElement(We, { keys: u.nextComponent }) : null
12446
+ right: l ? /* @__PURE__ */ s.createElement(Ve, { keys: u.nextComponent }) : null
12444
12447
  }),
12445
12448
  [t, l, u]
12446
12449
  ), k = G(
@@ -12448,7 +12451,7 @@ Ye([t])))), "Shortcut"), Qd = /* @__PURE__ */ a((e, t, o, i, r, n, l) => {
12448
12451
  id: "prev",
12449
12452
  title: "Previous story",
12450
12453
  onClick: /* @__PURE__ */ a(() => t.jumpToStory(-1), "onClick"),
12451
- right: l ? /* @__PURE__ */ s.createElement(We, { keys: u.prevStory }) : null
12454
+ right: l ? /* @__PURE__ */ s.createElement(Ve, { keys: u.prevStory }) : null
12452
12455
  }),
12453
12456
  [t, l, u]
12454
12457
  ), _ = G(
@@ -12456,7 +12459,7 @@ Ye([t])))), "Shortcut"), Qd = /* @__PURE__ */ a((e, t, o, i, r, n, l) => {
12456
12459
  id: "next",
12457
12460
  title: "Next story",
12458
12461
  onClick: /* @__PURE__ */ a(() => t.jumpToStory(1), "onClick"),
12459
- right: l ? /* @__PURE__ */ s.createElement(We, { keys: u.nextStory }) : null
12462
+ right: l ? /* @__PURE__ */ s.createElement(Ve, { keys: u.nextStory }) : null
12460
12463
  }),
12461
12464
  [t, l, u]
12462
12465
  ), C = G(
@@ -12464,16 +12467,16 @@ Ye([t])))), "Shortcut"), Qd = /* @__PURE__ */ a((e, t, o, i, r, n, l) => {
12464
12467
  id: "collapse",
12465
12468
  title: "Collapse all",
12466
12469
  onClick: /* @__PURE__ */ a(() => t.emit(ho), "onClick"),
12467
- right: l ? /* @__PURE__ */ s.createElement(We, { keys: u.collapseAll }) : null
12470
+ right: l ? /* @__PURE__ */ s.createElement(Ve, { keys: u.collapseAll }) : null
12468
12471
  }),
12469
12472
  [t, l, u]
12470
12473
  ), T = A(() => {
12471
12474
  let O = t.getAddonsShortcuts(), P = u;
12472
- return Object.entries(O).filter(([D, { showInMenu: M }]) => M).map(([D, { label: M, action: F }]) => ({
12475
+ return Object.entries(O).filter(([D, { showInMenu: M }]) => M).map(([D, { label: M, action: N }]) => ({
12473
12476
  id: D,
12474
12477
  title: M,
12475
- onClick: /* @__PURE__ */ a(() => F(), "onClick"),
12476
- right: l ? /* @__PURE__ */ s.createElement(We, { keys: P[D] }) : null
12478
+ onClick: /* @__PURE__ */ a(() => N(), "onClick"),
12479
+ right: l ? /* @__PURE__ */ s.createElement(Ve, { keys: P[D] }) : null
12477
12480
  }));
12478
12481
  }, [t, l, u]);
12479
12482
  return G(
@@ -12630,7 +12633,7 @@ var LS = I.div({
12630
12633
  marginBottom: 24,
12631
12634
  marginTop: 24,
12632
12635
  gap: 16
12633
- }), Jd = I(Pe)(({ theme: e }) => ({
12636
+ }), Jd = I(Ae)(({ theme: e }) => ({
12634
12637
  "&&": {
12635
12638
  fontWeight: e.typography.weight.bold,
12636
12639
  color: e.base === "light" ? e.color.dark : e.color.light
@@ -12648,7 +12651,7 @@ e maintained by", " ", /* @__PURE__ */ s.createElement(Jd, { href: "https://www.
12648
12651
  createElement(Jd, { href: "https://github.com/storybookjs/storybook/graphs/contributors" }, "Storybook Community")))), "AboutScreen");
12649
12652
 
12650
12653
  // src/manager/settings/AboutPage.tsx
12651
- var Ys = class Ys extends Le {
12654
+ var Ys = class Ys extends Ne {
12652
12655
  componentDidMount() {
12653
12656
  let { api: t, notificationId: o } = this.props;
12654
12657
  t.clearNotification(o);
@@ -12660,7 +12663,7 @@ var Ys = class Ys extends Le {
12660
12663
  };
12661
12664
  a(Ys, "NotificationClearer");
12662
12665
  var qs = Ys, tf = /* @__PURE__ */ a(() => {
12663
- let e = oe(), t = Ne(), o = A(() => {
12666
+ let e = oe(), t = Fe(), o = A(() => {
12664
12667
  e.changeSettingsTab("whats-new");
12665
12668
  }, [e]);
12666
12669
  return /* @__PURE__ */ s.createElement(qs, { api: e, notificationId: "update" }, /* @__PURE__ */ s.createElement(
@@ -12681,10 +12684,10 @@ var BS = I.div(({ theme: e }) => ({
12681
12684
  "& > * + *": {
12682
12685
  marginLeft: 20
12683
12686
  }
12684
- })), HS = /* @__PURE__ */ a((e) => /* @__PURE__ */ s.createElement(BS, { ...e }, /* @__PURE__ */ s.createElement(Pe, { secondary: !0, href: "\
12685
- https://storybook.js.org?ref=ui", cancel: !1, target: "_blank" }, "Docs"), /* @__PURE__ */ s.createElement(Pe, { secondary: !0, href: "https\
12687
+ })), HS = /* @__PURE__ */ a((e) => /* @__PURE__ */ s.createElement(BS, { ...e }, /* @__PURE__ */ s.createElement(Ae, { secondary: !0, href: "\
12688
+ https://storybook.js.org?ref=ui", cancel: !1, target: "_blank" }, "Docs"), /* @__PURE__ */ s.createElement(Ae, { secondary: !0, href: "https\
12686
12689
  ://github.com/storybookjs/storybook", cancel: !1, target: "_blank" }, "GitHub"), /* @__PURE__ */ s.createElement(
12687
- Pe,
12690
+ Ae,
12688
12691
  {
12689
12692
  secondary: !0,
12690
12693
  href: "https://storybook.js.org/community?ref=ui#support",
@@ -12741,7 +12744,7 @@ var zS = I.header(({ theme: e }) => ({
12741
12744
  ), US = Dt`
12742
12745
  0%,100% { opacity: 0; }
12743
12746
  50% { opacity: 1; }
12744
- `, GS = I(Be)(
12747
+ `, GS = I(He)(
12745
12748
  ({ valid: e, theme: t }) => e === "valid" ? {
12746
12749
  color: t.color.positive,
12747
12750
  animation: `${US} 2s ease forwards`
@@ -12788,7 +12791,7 @@ function Qs(e) {
12788
12791
  );
12789
12792
  }
12790
12793
  a(Qs, "toShortcutState");
12791
- var Xs = class Xs extends Le {
12794
+ var Xs = class Xs extends Ne {
12792
12795
  constructor(o) {
12793
12796
  super(o);
12794
12797
  this.onKeyDown = /* @__PURE__ */ a((o) => {
@@ -12952,7 +12955,7 @@ var sf = I.div({
12952
12955
  onToggleNotifications: t,
12953
12956
  onCopyLink: o
12954
12957
  }) => {
12955
- let i = De(), [r, n] = K("Copy Link"), l = /* @__PURE__ */ a(() => {
12958
+ let i = Me(), [r, n] = K("Copy Link"), l = /* @__PURE__ */ a(() => {
12956
12959
  o(), n("Copied!"), setTimeout(() => n("Copy Link"), 4e3);
12957
12960
  }, "copyLink");
12958
12961
  return /* @__PURE__ */ s.createElement(ZS, null, /* @__PURE__ */ s.createElement("div", { style: { display: "flex", alignItems: "center", gap: 10 } },
@@ -13001,8 +13004,8 @@ null) : /* @__PURE__ */ s.createElement(s.Fragment, null, /* @__PURE__ */ s.crea
13001
13004
  onCopyLink: r
13002
13005
  }
13003
13006
  ))), "PureWhatsNewScreen"), iw = 1e4, lf = /* @__PURE__ */ a(() => {
13004
- let e = oe(), t = Ne(), { whatsNewData: o } = t, [i, r] = K(!1), [n, l] = K(!1);
13005
- if (H(() => {
13007
+ let e = oe(), t = Fe(), { whatsNewData: o } = t, [i, r] = K(!1), [n, l] = K(!1);
13008
+ if (B(() => {
13006
13009
  let c = setTimeout(() => !i && l(!0), iw);
13007
13010
  return () => clearTimeout(c);
13008
13011
  }, [i]), o?.status !== "SUCCESS")
@@ -13065,7 +13068,7 @@ var { document: cf } = se, sw = I.div(({ theme: e }) => ({
13065
13068
  background: e.background.content
13066
13069
  })), lw = /* @__PURE__ */ a(({ changeTab: e, onClose: t, enableShortcuts: o = !0, enableWhatsNew: i }) => (s.useEffect(() => {
13067
13070
  let r = /* @__PURE__ */ a((n) => {
13068
- !o || n.repeat || Et(!1, n) && $e("Escape", n) && (n.preventDefault(), t());
13071
+ !o || n.repeat || Et(!1, n) && Ue("Escape", n) && (n.preventDefault(), t());
13069
13072
  }, "handleEscape");
13070
13073
  return cf.addEventListener("keydown", r), () => cf.removeEventListener("keydown", r);
13071
13074
  }, [o, t]), /* @__PURE__ */ s.createElement(Ee, null, /* @__PURE__ */ s.createElement(sw, { className: "sb-bar" }, /* @__PURE__ */ s.createElement(
@@ -13077,12 +13080,12 @@ uts", changeTab: e })), /* @__PURE__ */ s.createElement(
13077
13080
  onClick: (r) => (r.preventDefault(), t()),
13078
13081
  title: "Close settings page"
13079
13082
  },
13080
- /* @__PURE__ */ s.createElement(je, null)
13083
+ /* @__PURE__ */ s.createElement(Ke, null)
13081
13084
  )), /* @__PURE__ */ s.createElement(aw, { vertical: !0, horizontal: !1 }, /* @__PURE__ */ s.createElement(To, { path: "about" }, /* @__PURE__ */ s.
13082
13085
  createElement(tf, { key: "about" })), /* @__PURE__ */ s.createElement(To, { path: "whats-new" }, /* @__PURE__ */ s.createElement(uf, { key: "\
13083
13086
  whats-new" })), /* @__PURE__ */ s.createElement(To, { path: "shortcuts" }, /* @__PURE__ */ s.createElement(nf, { key: "shortcuts" }))))), "P\
13084
13087
  ages"), uw = /* @__PURE__ */ a(() => {
13085
- let e = oe(), t = Ne(), o = /* @__PURE__ */ a((i) => e.changeSettingsTab(i), "changeTab");
13088
+ let e = oe(), t = Fe(), o = /* @__PURE__ */ a((i) => e.changeSettingsTab(i), "changeTab");
13086
13089
  return /* @__PURE__ */ s.createElement(
13087
13090
  lw,
13088
13091
  {
@@ -13152,9 +13155,9 @@ a(df, "renderStorybookUI");
13152
13155
 
13153
13156
  // src/manager/runtime.tsx
13154
13157
  var dw = "CORE/WS_DISCONNECTED";
13155
- He.register(
13158
+ ze.register(
13156
13159
  bt,
13157
- () => He.add(bt, {
13160
+ () => ze.add(bt, {
13158
13161
  title: bt,
13159
13162
  type: be.TOOL,
13160
13163
  match: /* @__PURE__ */ a(({ tabId: e }) => !e, "match"),
@@ -13166,7 +13169,7 @@ var ea = class ea extends Yt {
13166
13169
  super();
13167
13170
  this.wsDisconnected = !1;
13168
13171
  let o = sa({ page: "manager" });
13169
- He.setChannel(o), o.emit(ua), this.addons = He, this.channel = o, se.__STORYBOOK_ADDONS_CHANNEL__ = o;
13172
+ ze.setChannel(o), o.emit(ua), this.addons = ze, this.channel = o, se.__STORYBOOK_ADDONS_CHANNEL__ = o;
13170
13173
  }
13171
13174
  getElements(o) {
13172
13175
  return this.addons.getElements(o);