@epam/ai-dial-catalog 1.1.0-dev.348 → 1.1.0-dev.354

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.js CHANGED
@@ -46,7 +46,7 @@ var Yt = Object.create, Xt = Object.defineProperty, Zt = Object.getOwnPropertyDe
46
46
  }({}), yn = /* @__PURE__ */ function(e) {
47
47
  return e.UsingOrgCredentials = "USING_ORG_CREDENTIALS", e.OrgCredentialsActive = "ORG_CREDENTIALS_ACTIVE", e.PersonalCredentialsActive = "PERSONAL_CREDENTIALS_ACTIVE", e;
48
48
  }({}), bn = /* @__PURE__ */ function(e) {
49
- return e.Grid = "grid", e.List = "list", e;
49
+ return e.Grid = "grid", e.Cards = "cards", e;
50
50
  }({}), xn = /* @__PURE__ */ function(e) {
51
51
  return e.RecentlyUpdated = "recently-updated", e.Newest = "newest", e.NameAZ = "name-az", e;
52
52
  }({}), Sn = /* @__PURE__ */ function(e) {
@@ -62204,46 +62204,79 @@ var GF = {
62204
62204
  "--cat-bg": t?.background,
62205
62205
  "--cat-heading-title-text": t?.headingTitleText
62206
62206
  });
62207
- }, tI = (e) => e >= 1280 ? 4 : e >= 966 ? 3 : e >= 620 ? 2 : 1, nI = (e) => {
62207
+ }, tI = 1180, nI = (e) => e >= 1280 ? 4 : e >= 966 ? 3 : e >= 620 ? 2 : 1, rI = (e) => {
62208
62208
  if (!e || e === document.body) return document.documentElement;
62209
62209
  let { overflow: t, overflowY: n } = getComputedStyle(e);
62210
- return t === "auto" || t === "scroll" || n === "auto" || n === "scroll" ? e : nI(e.parentElement);
62211
- }, rI = (e, t = 3) => {
62212
- let n = $e(null), [r, i] = F(() => {
62213
- let t = typeof window < "u" ? window.innerWidth : 1440, n = tI(Math.min(1180, Math.max(0, t - (t > 768 ? 60 : 0))) - 64), r = Math.ceil(e / n);
62210
+ return t === "auto" || t === "scroll" || n === "auto" || n === "scroll" ? e : rI(e.parentElement);
62211
+ }, iI = 10, aI = 10, oI = 30, sI = (e, t, n = iI) => {
62212
+ let r = $e(null), [i, a] = F({
62213
+ start: 0,
62214
+ end: oI
62215
+ });
62216
+ Ye(() => {
62217
+ let i = r.current;
62218
+ if (!i) return;
62219
+ let o = rI(i.parentElement), s = () => {
62220
+ let r = o.clientHeight;
62221
+ if (r === 0) return;
62222
+ let s = i.getBoundingClientRect().top, c = o.getBoundingClientRect().top, l = Math.max(0, c - s), u = Math.floor(l / t), d = Math.ceil(r / t), f = Math.max(0, Math.floor((u - n) / aI) * aI), p = Math.min(e, Math.ceil((u + d + n) / aI) * aI);
62223
+ a((e) => e.start === f && e.end === p ? e : {
62224
+ start: f,
62225
+ end: p
62226
+ });
62227
+ };
62228
+ o.addEventListener("scroll", s, { passive: !0 });
62229
+ let c = new ResizeObserver(s);
62230
+ return c.observe(i), c.observe(o), s(), () => {
62231
+ o.removeEventListener("scroll", s), c.disconnect();
62232
+ };
62233
+ }, [
62234
+ e,
62235
+ t,
62236
+ n
62237
+ ]);
62238
+ let o = Math.max(0, Math.floor((e - 1) / aI) * aI), s = Math.min(i.start, o);
62239
+ return {
62240
+ containerRef: r,
62241
+ startRow: s,
62242
+ endRow: Math.min(e, Math.max(i.end, s + aI))
62243
+ };
62244
+ }, cI = (e, { overscan: t = 3, isFullWidth: n = !1 } = {}) => {
62245
+ let r = $e(null), [i, a] = F(() => {
62246
+ let t = typeof window < "u" ? window.innerWidth : 1440, r = Math.max(0, t - (t > 768 ? 60 : 0)), i = nI((n ? r : Math.min(tI, r)) - 64), a = Math.ceil(e / i);
62214
62247
  return {
62215
62248
  startRow: 0,
62216
- endRow: Math.min(r, 12),
62217
- columnCount: n
62249
+ endRow: Math.min(a, 12),
62250
+ columnCount: i
62218
62251
  };
62219
62252
  });
62220
62253
  Ye(() => {
62221
- let r = n.current;
62222
- if (!r) return;
62223
- let a = nI(r.parentElement), o = () => {
62224
- let n = r.getBoundingClientRect(), o = a.getBoundingClientRect(), s = a.clientHeight, c = r.clientWidth, l = tI(c), u = Math.ceil(e / l), d = Math.max(0, o.top - n.top), f = Math.max(0, Math.floor(d / 268) - t);
62225
- i({
62254
+ let n = r.current;
62255
+ if (!n) return;
62256
+ let i = rI(n.parentElement), o = () => {
62257
+ let r = n.getBoundingClientRect(), o = i.getBoundingClientRect(), s = i.clientHeight, c = n.clientWidth, l = nI(c), u = Math.ceil(e / l), d = Math.max(0, o.top - r.top), f = Math.max(0, Math.floor(d / 268) - t);
62258
+ a({
62226
62259
  startRow: f,
62227
62260
  endRow: Math.min(u, f + Math.ceil(s / 268) + 2 * t),
62228
62261
  columnCount: l
62229
62262
  });
62230
62263
  };
62231
- a.addEventListener("scroll", o, { passive: !0 });
62264
+ i.addEventListener("scroll", o, { passive: !0 });
62232
62265
  let s = new ResizeObserver(o);
62233
- return s.observe(r), o(), () => {
62234
- a.removeEventListener("scroll", o), s.disconnect();
62266
+ return s.observe(n), o(), () => {
62267
+ i.removeEventListener("scroll", o), s.disconnect();
62235
62268
  };
62236
62269
  }, [e, t]);
62237
- let a = Math.ceil(e / r.columnCount);
62270
+ let o = Math.ceil(e / i.columnCount);
62238
62271
  return {
62239
- containerRef: n,
62240
- startRow: r.startRow,
62241
- endRow: r.endRow,
62242
- columnCount: r.columnCount,
62243
- rowCount: a,
62244
- totalHeight: a * 268
62272
+ containerRef: r,
62273
+ startRow: i.startRow,
62274
+ endRow: i.endRow,
62275
+ columnCount: i.columnCount,
62276
+ rowCount: o,
62277
+ totalHeight: o * 268
62245
62278
  };
62246
- }, iI = {
62279
+ }, lI = {
62247
62280
  skeletonColor: "var(--cg-skeleton-color, var(--bg-control-disable-primary, #dce0e8))",
62248
62281
  card: "_card_18c2b_2",
62249
62282
  emptyStarHidden: "_emptyStarHidden_18c2b_2",
@@ -62253,11 +62286,11 @@ var GF = {
62253
62286
  selectedCard: "_selectedCard_18c2b_37",
62254
62287
  checkIcon: "_checkIcon_18c2b_42",
62255
62288
  footer: "_footer_18c2b_46"
62256
- }, aI = {
62289
+ }, uI = {
62257
62290
  name: "_name_188yo_1",
62258
62291
  lastUsed: "_lastUsed_188yo_5",
62259
62292
  version: "_version_188yo_9"
62260
- }, oI = ({ icon: e, type: t, name: n, version: r, lastUsed: i, size: a, query: o, className: s, styles: c, lastUsedTrailing: l, iconClassName: u, iconOverlay: d }) => {
62293
+ }, dI = ({ icon: e, type: t, name: n, version: r, lastUsed: i, size: a, query: o, className: s, styles: c, lastUsedTrailing: l, iconClassName: u, iconOverlay: d }) => {
62261
62294
  let f = c?.colors, p = c?.typography ?? {}, m = a === pn.LG, h = m ? "size-[52px] rounded-[14px]" : "size-[44px] rounded-lg", g = m ? 54 : 44, _ = es({
62262
62295
  "--ai-name-text": f?.nameColor,
62263
62296
  "--ai-last-used-text": f?.lastUsedColor,
@@ -62287,26 +62320,26 @@ var GF = {
62287
62320
  children: [/* @__PURE__ */ L("div", {
62288
62321
  className: "flex min-w-0 items-start gap-1 overflow-hidden",
62289
62322
  children: [/* @__PURE__ */ I("span", {
62290
- className: z("min-w-0 flex-1 truncate", p?.nameClassName ?? "dial-body-semi-text", aI.name),
62323
+ className: z("min-w-0 flex-1 truncate", p?.nameClassName ?? "dial-body-semi-text", uI.name),
62291
62324
  children: o ? /* @__PURE__ */ I(j, {
62292
62325
  text: n,
62293
62326
  query: o
62294
62327
  }) : n
62295
62328
  }), r && /* @__PURE__ */ I(k, {
62296
62329
  text: r,
62297
- className: z("max-w-[30%] shrink-0 tabular-nums", p?.versionClassName ?? "dial-tiny-text", aI.version)
62330
+ className: z("max-w-[30%] shrink-0 tabular-nums", p?.versionClassName ?? "dial-tiny-text", uI.version)
62298
62331
  })]
62299
62332
  }), m && i != null && /* @__PURE__ */ L("div", {
62300
62333
  className: "flex items-center gap-2",
62301
62334
  children: [/* @__PURE__ */ I("span", {
62302
- className: z("tabular-nums", p?.lastUsedClassName ?? "dial-tiny-text", aI.lastUsed),
62335
+ className: z("tabular-nums", p?.lastUsedClassName ?? "dial-tiny-text", uI.lastUsed),
62303
62336
  children: i
62304
62337
  }), l]
62305
62338
  })]
62306
62339
  })]
62307
62340
  })]
62308
62341
  });
62309
- }, sI = { icon: "_icon_a0p4u_1" }, cI = ({ credentials: e, loggedOutLabel: t = "Authorize to use this toolset.", className: n, colors: r }) => e == null || ZF(e) == null ? null : /* @__PURE__ */ I(Me, {
62342
+ }, fI = { icon: "_icon_a0p4u_1" }, pI = ({ credentials: e, loggedOutLabel: t = "Authorize to use this toolset.", className: n, colors: r }) => e == null || ZF(e) == null ? null : /* @__PURE__ */ I(Me, {
62310
62343
  tooltip: t,
62311
62344
  asChild: !0,
62312
62345
  children: /* @__PURE__ */ I("span", {
@@ -62319,95 +62352,100 @@ var GF = {
62319
62352
  className: z("absolute -bottom-1 -end-1 shrink-0", n),
62320
62353
  children: /* @__PURE__ */ I(nt, {
62321
62354
  size: m.SM,
62322
- className: sI.icon,
62355
+ className: fI.icon,
62323
62356
  "aria-hidden": !0
62324
62357
  })
62325
62358
  })
62326
- }), lI = {
62359
+ }), mI = {
62327
62360
  starFilledIcon: "_starFilledIcon_po6zj_1",
62328
62361
  starPop: "_starPop_po6zj_1"
62329
- }, uI = ({ isStarred: e, onClick: t, size: n, ariaLabel: r = "Toggle favorite", className: i, starFilledColor: a }) => /* @__PURE__ */ I(je, {
62362
+ }, hI = ({ isStarred: e, onClick: t, size: n, ariaLabel: r = "Toggle favorite", className: i, starFilledColor: a }) => /* @__PURE__ */ I(je, {
62330
62363
  size: n,
62331
62364
  style: es({ "--cat-star-filled": a }),
62332
62365
  className: i,
62333
62366
  icon: e ? /* @__PURE__ */ I(zt, {
62334
62367
  size: m.SM,
62335
- className: lI.starFilledIcon
62368
+ className: mI.starFilledIcon
62336
62369
  }) : /* @__PURE__ */ I(Rt, {
62337
62370
  size: m.SM,
62338
62371
  stroke: h
62339
62372
  }),
62340
62373
  "aria-label": r,
62341
62374
  onClick: t
62342
- }), dI = { tag: "_tag_12518_1" }, fI = ({ label: e, className: t, badgeClassName: n = "dial-tiny-text", colors: r }) => /* @__PURE__ */ I("div", {
62375
+ }), gI = { tag: "_tag_12518_1" }, _I = ({ label: e, className: t, badgeClassName: n = "dial-tiny-text", colors: r }) => /* @__PURE__ */ I("div", {
62343
62376
  style: es({
62344
62377
  "--cat-card-tag-bg": r?.background,
62345
62378
  "--cat-card-tag-text": r?.text,
62346
62379
  "--cat-card-tag-border": r?.border
62347
62380
  }),
62348
- className: z("flex h-6 w-fit items-center justify-center whitespace-nowrap rounded-md border px-2", dI.tag, n, t),
62381
+ className: z("flex h-6 w-fit items-center justify-center whitespace-nowrap rounded-md border px-2", gI.tag, n, t),
62349
62382
  children: e
62350
- }), pI = ({ label: e, className: t = "dial-tiny-text", colors: n }) => /* @__PURE__ */ I(fI, {
62383
+ }), vI = ({ label: e, className: t = "dial-tiny-text", colors: n }) => /* @__PURE__ */ I(_I, {
62351
62384
  label: e,
62352
62385
  badgeClassName: t,
62353
62386
  colors: n
62354
- }), mI = 8, hI = ({ topics: e, overflowAriaLabel: t, className: n }) => {
62355
- let r = $e(null), i = $e([]), a = $e([]), o = $e(null), [s, c] = F(e.length), l = e.join("\0"), u = N(() => {
62387
+ }), yI = 8, bI = ({ topics: e, overflowAriaLabel: t, className: n }) => {
62388
+ let r = $e(null), i = $e([]), a = $e([]), o = $e(null), s = $e(Infinity), [c, l] = F(e.length), u = e.join("\0"), d = N(() => {
62356
62389
  let t = r.current;
62357
62390
  if (!t || e.length === 0) return;
62358
62391
  let n = t.clientWidth;
62359
62392
  if (n === 0) return;
62360
62393
  i.current.slice(0, e.length).every((e) => e != null) && (a.current = i.current.slice(0, e.length).map((e) => e?.offsetWidth ?? 0));
62361
- let s = a.current;
62362
- if (s.length !== e.length) return;
62363
- let l = o.current?.offsetWidth ?? 0, u = 0, d = 0;
62394
+ let c = a.current;
62395
+ if (c.length !== e.length) return;
62396
+ let u = o.current?.offsetWidth ?? 0, d = 0, f = 0;
62364
62397
  for (let t = 0; t < e.length; t++) {
62365
62398
  let r = e.length - (t + 1) > 0;
62366
- if (u + (t > 0 ? mI : 0) + s[t] + (r ? mI + l : 0) > n) break;
62367
- u += (t > 0 ? mI : 0) + s[t], d = t + 1;
62399
+ if (d + (t > 0 ? yI : 0) + c[t] + (r ? yI + u : 0) > n) break;
62400
+ d += (t > 0 ? yI : 0) + c[t], f = t + 1;
62368
62401
  }
62369
- c(d);
62402
+ l(Math.min(f, s.current));
62370
62403
  }, [e.length]);
62371
62404
  if (Qe(() => {
62372
- a.current = [], c(e.length);
62373
- }, [l]), Qe(() => {
62374
- u();
62375
- }), Ye(() => {
62405
+ a.current = [], s.current = Infinity, l(e.length);
62406
+ }, [u]), Qe(() => {
62407
+ d();
62408
+ }), Qe(() => {
62409
+ let e = r.current;
62410
+ !e || c === 0 || e.scrollWidth <= e.clientWidth || (s.current = c - 1, l(s.current));
62411
+ }, [c]), Ye(() => {
62376
62412
  let e = r.current;
62377
62413
  if (!e) return;
62378
- let t = new ResizeObserver(() => u());
62414
+ let t = new ResizeObserver(() => {
62415
+ s.current = Infinity, d();
62416
+ });
62379
62417
  return t.observe(e), () => t.disconnect();
62380
- }, [u]), e.length === 0) return /* @__PURE__ */ I("div", {
62418
+ }, [d]), e.length === 0) return /* @__PURE__ */ I("div", {
62381
62419
  ref: r,
62382
- className: z("flex min-w-0 flex-1 flex-nowrap items-center gap-2 overflow-hidden", n)
62420
+ className: z("relative flex min-w-0 flex-1 flex-nowrap items-center gap-2 overflow-hidden", n)
62383
62421
  });
62384
- let d = e.length - s;
62422
+ let f = e.length - c;
62385
62423
  return /* @__PURE__ */ L("div", {
62386
62424
  ref: r,
62387
62425
  className: z("flex min-w-0 flex-1 flex-nowrap items-center gap-2 overflow-hidden", n),
62388
62426
  children: [
62389
- e.slice(0, s).map((e, t) => /* @__PURE__ */ I("div", {
62427
+ e.slice(0, c).map((e, t) => /* @__PURE__ */ I("div", {
62390
62428
  ref: (e) => {
62391
62429
  i.current[t] = e;
62392
62430
  },
62393
- children: /* @__PURE__ */ I(pI, { label: e })
62431
+ children: /* @__PURE__ */ I(vI, { label: e })
62394
62432
  }, e)),
62395
- d > 0 && /* @__PURE__ */ I(Me, {
62396
- tooltip: e.slice(s).join(", "),
62433
+ f > 0 && /* @__PURE__ */ I(Me, {
62434
+ tooltip: e.slice(c).join(", "),
62397
62435
  children: /* @__PURE__ */ I("span", {
62398
- "aria-label": t?.(d) ?? `and ${d} more topics`,
62399
- children: /* @__PURE__ */ I(pI, { label: `+${d}` })
62436
+ "aria-label": t?.(f) ?? `and ${f} more topics`,
62437
+ children: /* @__PURE__ */ I(vI, { label: `+${f}` })
62400
62438
  })
62401
62439
  }),
62402
62440
  /* @__PURE__ */ I("div", {
62403
62441
  ref: o,
62404
62442
  "aria-hidden": !0,
62405
- className: "invisible absolute -left-full -top-full",
62406
- children: /* @__PURE__ */ I(pI, { label: `+${e.length}` })
62443
+ className: "invisible absolute start-0 top-0",
62444
+ children: /* @__PURE__ */ I(vI, { label: `+${e.length}` })
62407
62445
  })
62408
62446
  ]
62409
62447
  });
62410
- }, gI = ({ item: e, query: t = "", onClick: n, initialIsStarred: r = !1, onToggle: a, isFavoriteVisible: o, featuredLabel: s = "Featured", addToFavoritesAriaLabel: c = "Add to favorites", removeFromFavoritesAriaLabel: l = "Remove from favorites", isSelected: u = !1, className: d, styles: f, credentialsBadgeLoggedOutLabel: p, isReadonly: g = !1 }) => {
62448
+ }, xI = ({ item: e, query: t = "", onClick: n, initialIsStarred: r = !1, onToggle: a, isFavoriteVisible: o, featuredLabel: s = "Featured", addToFavoritesAriaLabel: c = "Add to favorites", removeFromFavoritesAriaLabel: l = "Remove from favorites", isSelected: u = !1, className: d, styles: f, credentialsBadgeLoggedOutLabel: p, isReadonly: g = !1 }) => {
62411
62449
  let [_, v] = F(r);
62412
62450
  Ye(() => {
62413
62451
  v(r);
@@ -62438,7 +62476,7 @@ var GF = {
62438
62476
  } : {},
62439
62477
  "aria-label": e.name,
62440
62478
  style: C,
62441
- className: z("box-border cursor-pointer gap-3", iI.card, w ? iI.featuredCard : void 0, u ? iI.selectedCard : void 0, d),
62479
+ className: z("box-border cursor-pointer gap-3", lI.card, w ? lI.featuredCard : void 0, u ? lI.selectedCard : void 0, d),
62442
62480
  children: [
62443
62481
  w && /* @__PURE__ */ I("div", {
62444
62482
  className: "absolute end-[22px] top-0 -translate-y-1/2",
@@ -62450,33 +62488,33 @@ var GF = {
62450
62488
  }),
62451
62489
  u && /* @__PURE__ */ I(st, {
62452
62490
  size: m.SM,
62453
- className: z("absolute end-3 top-3 shrink-0", iI.checkIcon),
62491
+ className: z("absolute end-3 top-3 shrink-0", lI.checkIcon),
62454
62492
  "aria-hidden": !0,
62455
62493
  stroke: h
62456
62494
  }),
62457
- /* @__PURE__ */ I(oI, {
62495
+ /* @__PURE__ */ I(dI, {
62458
62496
  icon: e.iconUrl,
62459
62497
  type: e.type,
62460
62498
  name: e.name,
62461
62499
  version: e.version,
62462
62500
  size: pn.SM,
62463
62501
  query: t,
62464
- iconClassName: iI.cardIcon,
62465
- iconOverlay: /* @__PURE__ */ I(cI, {
62502
+ iconClassName: lI.cardIcon,
62503
+ iconOverlay: /* @__PURE__ */ I(pI, {
62466
62504
  credentials: e.credentials,
62467
62505
  loggedOutLabel: p
62468
62506
  })
62469
62507
  }),
62470
62508
  /* @__PURE__ */ I("p", {
62471
- className: z(y, "line-clamp-2 min-h-[2lh] break-words", iI.description),
62509
+ className: z(y, "line-clamp-2 min-h-[2lh] break-words", lI.description),
62472
62510
  children: e.description
62473
62511
  }),
62474
62512
  /* @__PURE__ */ I("div", {
62475
62513
  className: "mt-auto flex items-center gap-2",
62476
- children: /* @__PURE__ */ I(hI, { topics: e.topics })
62514
+ children: /* @__PURE__ */ I(bI, { topics: e.topics })
62477
62515
  }),
62478
62516
  E && /* @__PURE__ */ I("div", {
62479
- className: z("pt-3", !g && z("border-t", iI.footer)),
62517
+ className: z("pt-3", !g && z("border-t", lI.footer)),
62480
62518
  children: /* @__PURE__ */ L("div", {
62481
62519
  className: "flex items-center gap-2",
62482
62520
  children: [/* @__PURE__ */ I("div", {
@@ -62486,18 +62524,18 @@ var GF = {
62486
62524
  labelClassName: x,
62487
62525
  leafClassName: S
62488
62526
  })
62489
- }), T && /* @__PURE__ */ I(uI, {
62527
+ }), T && /* @__PURE__ */ I(hI, {
62490
62528
  isStarred: _,
62491
62529
  size: te.Small,
62492
62530
  onClick: ee,
62493
62531
  ariaLabel: _ ? l : c,
62494
- className: z(iI.starBtn, !_ && iI.emptyStarHidden)
62532
+ className: z(lI.starBtn, !_ && lI.emptyStarHidden)
62495
62533
  })]
62496
62534
  })
62497
62535
  })
62498
62536
  ]
62499
62537
  });
62500
- }, _I = ({ rowIndex: e, items: t, columnCount: n, query: r, onToggleFavorite: i, isFavoriteVisible: a, onItemClick: o, featuredLabel: s, addToFavoritesAriaLabel: c, removeFromFavoritesAriaLabel: l, selectedItemId: u, credentialsBadgeLoggedOutLabel: d, isReadonly: f }) => {
62538
+ }, SI = ({ rowIndex: e, items: t, columnCount: n, query: r, onToggleFavorite: i, isFavoriteVisible: a, onItemClick: o, featuredLabel: s, addToFavoritesAriaLabel: c, removeFromFavoritesAriaLabel: l, selectedItemId: u, credentialsBadgeLoggedOutLabel: d, isReadonly: f }) => {
62501
62539
  let p = e * n, m = t.slice(p, p + n);
62502
62540
  return /* @__PURE__ */ I("div", {
62503
62541
  style: {
@@ -62509,7 +62547,7 @@ var GF = {
62509
62547
  let n = m[t];
62510
62548
  return /* @__PURE__ */ I("div", {
62511
62549
  className: "h-full min-w-0 flex-1",
62512
- children: n && /* @__PURE__ */ I(gI, {
62550
+ children: n && /* @__PURE__ */ I(xI, {
62513
62551
  item: n,
62514
62552
  query: r,
62515
62553
  initialIsStarred: n.isStarred,
@@ -62527,42 +62565,42 @@ var GF = {
62527
62565
  }, n?.id ?? `spacer-${t}`);
62528
62566
  })
62529
62567
  });
62530
- }, vI = qe(({ items: e, query: t = "", onToggleFavorite: n, isFavoriteVisible: r, onItemClick: i, titles: a, isLoading: o, selectedItemId: s, skeletonColor: c = iI.skeletonColor, skeletonCardBackground: l, isReadonly: u = !1 }) => {
62531
- let d = a?.noResultsTitle ?? "No results", f = a?.featuredLabel ?? "Featured", p = a?.addToFavoritesAriaLabel ?? "Add to favorites", m = a?.removeFromFavoritesAriaLabel ?? "Remove from favorites", h = a?.credentialsBadgeLoggedOutLabel ?? "Authorize to use this toolset.", { containerRef: g, startRow: _, endRow: v, columnCount: y, totalHeight: b } = rI(e.length), x = P(() => ({
62568
+ }, CI = qe(({ items: e, query: t = "", onToggleFavorite: n, isFavoriteVisible: r, onItemClick: i, titles: a, isLoading: o, selectedItemId: s, skeletonColor: c = lI.skeletonColor, skeletonCardBackground: l, isReadonly: u = !1, isFullWidth: d = !1 }) => {
62569
+ let f = a?.noResultsTitle ?? "No results", p = a?.featuredLabel ?? "Featured", m = a?.addToFavoritesAriaLabel ?? "Add to favorites", h = a?.removeFromFavoritesAriaLabel ?? "Remove from favorites", g = a?.credentialsBadgeLoggedOutLabel ?? "Authorize to use this toolset.", { containerRef: _, startRow: v, endRow: y, columnCount: b, totalHeight: x } = cI(e.length, { isFullWidth: d }), S = P(() => ({
62532
62570
  items: e,
62533
- columnCount: y,
62571
+ columnCount: b,
62534
62572
  query: t,
62535
62573
  onToggleFavorite: n,
62536
62574
  isFavoriteVisible: r,
62537
62575
  onItemClick: i,
62538
- featuredLabel: f,
62539
- addToFavoritesAriaLabel: p,
62540
- removeFromFavoritesAriaLabel: m,
62576
+ featuredLabel: p,
62577
+ addToFavoritesAriaLabel: m,
62578
+ removeFromFavoritesAriaLabel: h,
62541
62579
  selectedItemId: s,
62542
- credentialsBadgeLoggedOutLabel: h,
62580
+ credentialsBadgeLoggedOutLabel: g,
62543
62581
  isReadonly: u
62544
62582
  }), [
62545
62583
  e,
62546
- y,
62584
+ b,
62547
62585
  t,
62548
62586
  n,
62549
62587
  r,
62550
62588
  i,
62551
- f,
62552
62589
  p,
62553
62590
  m,
62554
- s,
62555
62591
  h,
62592
+ s,
62593
+ g,
62556
62594
  u
62557
62595
  ]);
62558
62596
  return o ? /* @__PURE__ */ I("div", {
62559
62597
  className: "grid gap-5 p-5",
62560
62598
  style: {
62561
- gridTemplateColumns: `repeat(${y}, minmax(0, 1fr))`,
62599
+ gridTemplateColumns: `repeat(${b}, minmax(0, 1fr))`,
62562
62600
  ...es({ "--cg-skeleton-card-bg": l })
62563
62601
  },
62564
- children: Array.from({ length: y * 3 }, (e, t) => /* @__PURE__ */ I("div", {
62565
- className: z("rounded-md border p-4", iI.skeletonCard),
62602
+ children: Array.from({ length: b * 3 }, (e, t) => /* @__PURE__ */ I("div", {
62603
+ className: z("rounded-md border p-4", lI.skeletonCard),
62566
62604
  style: { height: 248 },
62567
62605
  children: /* @__PURE__ */ I(we, {
62568
62606
  avatar: {
@@ -62577,48 +62615,48 @@ var GF = {
62577
62615
  }, t))
62578
62616
  }) : e.length === 0 ? /* @__PURE__ */ I("div", {
62579
62617
  className: "flex size-full flex-col items-center justify-center",
62580
- children: /* @__PURE__ */ I(gy, { label: d })
62618
+ children: /* @__PURE__ */ I(gy, { label: f })
62581
62619
  }) : /* @__PURE__ */ I("div", {
62582
- ref: g,
62620
+ ref: _,
62583
62621
  className: "relative",
62584
- style: { height: b },
62585
- children: Array.from({ length: v - _ }, (e, t) => {
62586
- let n = _ + t;
62587
- return /* @__PURE__ */ I(_I, {
62622
+ style: { height: x },
62623
+ children: Array.from({ length: y - v }, (e, t) => {
62624
+ let n = v + t;
62625
+ return /* @__PURE__ */ I(SI, {
62588
62626
  rowIndex: n,
62589
- ...x
62627
+ ...S
62590
62628
  }, n);
62591
62629
  })
62592
62630
  });
62593
- }), yI = /* @__PURE__ */ function(e) {
62631
+ }), wI = /* @__PURE__ */ function(e) {
62594
62632
  return e.Equal = "EQUAL", e.Contain = "CONTAIN", e.Regex = "REGEX", e;
62595
- }({}), bI = /* @__PURE__ */ function(e) {
62633
+ }({}), TI = /* @__PURE__ */ function(e) {
62596
62634
  return e.None = "none", e.Info = "info", e.ReplaceWarning = "replaceWarning", e.NoAccess = "noAccess", e.SubmitError = "submitError", e;
62597
- }({}), xI = (e) => e.isSubmitting ? {
62598
- calloutKind: bI.None,
62635
+ }({}), EI = (e) => e.isSubmitting ? {
62636
+ calloutKind: TI.None,
62599
62637
  isSubmitDisabled: !0,
62600
62638
  isSubmitLoading: !0
62601
62639
  } : e.hasSelectedFolder ? e.hasWriteAccess ? e.hasSubmitError ? {
62602
- calloutKind: bI.SubmitError,
62640
+ calloutKind: TI.SubmitError,
62603
62641
  isSubmitDisabled: !1,
62604
62642
  isSubmitLoading: !1
62605
62643
  } : e.hasExistingPublicationInFolder ? {
62606
- calloutKind: bI.ReplaceWarning,
62644
+ calloutKind: TI.ReplaceWarning,
62607
62645
  isSubmitDisabled: e.allowReplace === !1,
62608
62646
  isSubmitLoading: !1
62609
62647
  } : {
62610
- calloutKind: bI.Info,
62648
+ calloutKind: TI.Info,
62611
62649
  isSubmitDisabled: !1,
62612
62650
  isSubmitLoading: !1
62613
62651
  } : {
62614
- calloutKind: bI.NoAccess,
62652
+ calloutKind: TI.NoAccess,
62615
62653
  isSubmitDisabled: !0,
62616
62654
  isSubmitLoading: !1
62617
62655
  } : {
62618
- calloutKind: bI.None,
62656
+ calloutKind: TI.None,
62619
62657
  isSubmitDisabled: !0,
62620
62658
  isSubmitLoading: !1
62621
- }, SI = (e, t, n) => t.length === 0 ? [...e, {
62659
+ }, DI = (e, t, n) => t.length === 0 ? [...e, {
62622
62660
  path: [n],
62623
62661
  name: n
62624
62662
  }] : e.map((e) => e.path.join("/") === t.join("/") ? {
@@ -62629,17 +62667,17 @@ var GF = {
62629
62667
  }]
62630
62668
  } : {
62631
62669
  ...e,
62632
- children: e.children ? SI(e.children, t, n) : e.children
62633
- }), CI = (e, t, n) => {
62670
+ children: e.children ? DI(e.children, t, n) : e.children
62671
+ }), OI = (e, t, n) => {
62634
62672
  let r = [...t, n].join("/");
62635
62673
  return t.length === 0 ? e.filter((e) => e.path.join("/") !== r) : e.map((e) => e.path.join("/") === t.join("/") ? {
62636
62674
  ...e,
62637
62675
  children: (e.children ?? []).filter((e) => e.path.join("/") !== r)
62638
62676
  } : {
62639
62677
  ...e,
62640
- children: e.children ? CI(e.children, t, n) : e.children
62678
+ children: e.children ? OI(e.children, t, n) : e.children
62641
62679
  });
62642
- }, wI = ({ item: e, history: t, folderItems: n, hasWriteAccess: r = () => !0, onCreateFolder: i, onPublish: a, onPublishSuccess: o, onPublishError: s, onFetchExistingRules: c }) => {
62680
+ }, kI = ({ item: e, history: t, folderItems: n, hasWriteAccess: r = () => !0, onCreateFolder: i, onPublish: a, onPublishSuccess: o, onPublishError: s, onFetchExistingRules: c }) => {
62643
62681
  let [l, u] = F(n);
62644
62682
  Ye(() => {
62645
62683
  u(n);
@@ -62671,11 +62709,11 @@ var GF = {
62671
62709
  e.version,
62672
62710
  d
62673
62711
  ]), w = N(async (e, t) => {
62674
- u((n) => SI(n, e, t));
62712
+ u((n) => DI(n, e, t));
62675
62713
  try {
62676
62714
  await i?.(e, t);
62677
62715
  } catch {
62678
- u((n) => CI(n, e, t)), g(!0);
62716
+ u((n) => OI(n, e, t)), g(!0);
62679
62717
  }
62680
62718
  }, [i]), T = N(async () => {
62681
62719
  if (!d) return !1;
@@ -62713,63 +62751,63 @@ var GF = {
62713
62751
  isRulesLoading: y,
62714
62752
  hasRulesLoadError: x
62715
62753
  };
62716
- }, TI = (e, t) => {
62754
+ }, AI = (e, t) => {
62717
62755
  let n = t.trim().toLowerCase();
62718
62756
  return n ? e.reduce((e, r) => {
62719
- let i = r.children ? TI(r.children, t) : void 0;
62757
+ let i = r.children ? AI(r.children, t) : void 0;
62720
62758
  return r.name.toLowerCase().includes(n) ? e.push(r) : i?.length && e.push({
62721
62759
  ...r,
62722
62760
  children: i
62723
62761
  }), e;
62724
62762
  }, []) : e;
62725
- }, EI = (e, t) => e.localeCompare(t, void 0, {
62763
+ }, jI = (e, t) => e.localeCompare(t, void 0, {
62726
62764
  sensitivity: "base",
62727
62765
  numeric: !0
62728
- }), DI = (e) => [...e].sort((e, t) => EI(e.name, t.name)).map((e) => e.children ? {
62766
+ }), MI = (e) => [...e].sort((e, t) => jI(e.name, t.name)).map((e) => e.children ? {
62729
62767
  ...e,
62730
- children: DI(e.children)
62731
- } : e), OI = (e) => e.flatMap((e) => [e.path.join("/"), ...e.children ? OI(e.children) : []]), kI = (e) => e.join("/"), AI = (e) => e.split("/").filter(Boolean), jI = (e) => e.map((e) => {
62732
- let t = kI(e.path);
62768
+ children: MI(e.children)
62769
+ } : e), NI = (e) => e.flatMap((e) => [e.path.join("/"), ...e.children ? NI(e.children) : []]), PI = (e) => e.join("/"), FI = (e) => e.split("/").filter(Boolean), II = (e) => e.map((e) => {
62770
+ let t = PI(e.path);
62733
62771
  return {
62734
62772
  path: t,
62735
62773
  name: e.name,
62736
62774
  folderId: t,
62737
62775
  nodeType: x.FOLDER,
62738
- items: e.children ? jI(e.children) : void 0
62776
+ items: e.children ? II(e.children) : void 0
62739
62777
  };
62740
- }), MI = /[/\\:;,={}&"]/, NI = (e, t, n) => {
62778
+ }), LI = /[/\\:;,={}&"]/, RI = (e, t, n) => {
62741
62779
  let r = e.trim();
62742
- return r ? r.includes("..") || MI.test(r) ? n.invalid : t.some((e) => e.toLowerCase() === r.toLowerCase()) ? n.duplicate : null : n.empty;
62743
- }, PI = (e, t) => {
62780
+ return r ? r.includes("..") || LI.test(r) ? n.invalid : t.some((e) => e.toLowerCase() === r.toLowerCase()) ? n.duplicate : null : n.empty;
62781
+ }, zI = (e, t) => {
62744
62782
  let n = new Set(t.map((e) => e.toLowerCase()));
62745
62783
  if (!n.has(e.toLowerCase())) return e;
62746
62784
  let r = 2;
62747
62785
  for (; n.has(`${e} ${r}`.toLowerCase());) r += 1;
62748
62786
  return `${e} ${r}`;
62749
- }, FI = (e, t) => {
62787
+ }, BI = (e, t) => {
62750
62788
  if (t.length === 0) return e.map((e) => e.name);
62751
- let n = kI(t), r = (e) => {
62789
+ let n = PI(t), r = (e) => {
62752
62790
  for (let t of e) {
62753
- if (kI(t.path) === n) return t;
62791
+ if (PI(t.path) === n) return t;
62754
62792
  let e = t.children ? r(t.children) : void 0;
62755
62793
  if (e) return e;
62756
62794
  }
62757
62795
  };
62758
62796
  return (r(e)?.children ?? []).map((e) => e.name);
62759
- }, II = {
62797
+ }, VI = {
62760
62798
  dialog: "_dialog_1chty_2",
62761
62799
  error: "_error_1chty_11",
62762
62800
  selectField: "_selectField_1chty_25",
62763
62801
  selectFieldOpen: "_selectFieldOpen_1chty_37"
62764
- }, LI = 20, RI = 200, zI = 8, BI = (e) => {
62802
+ }, HI = 20, UI = 200, WI = 8, GI = (e) => {
62765
62803
  let t = e.trim();
62766
- if (t.length === 0 || t.length > RI) return !1;
62804
+ if (t.length === 0 || t.length > UI) return !1;
62767
62805
  try {
62768
62806
  return new RegExp(t) instanceof RegExp;
62769
62807
  } catch {
62770
62808
  return !1;
62771
62809
  }
62772
- }, VI = ({ sourceOptions: e, onSave: t, onCancel: n, disabled: r = !1, maxTargets: i = LI, labels: a = {}, errorClassName: o = "dial-small-text", styles: s = {} }) => {
62810
+ }, KI = ({ sourceOptions: e, onSave: t, onCancel: n, disabled: r = !1, maxTargets: i = HI, labels: a = {}, errorClassName: o = "dial-small-text", styles: s = {} }) => {
62773
62811
  let c = {
62774
62812
  ...es({
62775
62813
  "--pare-mobile-bg": s.colors?.mobileBackground,
@@ -62785,27 +62823,27 @@ var GF = {
62785
62823
  Ye(() => {
62786
62824
  te.current?.focus();
62787
62825
  }, []);
62788
- let [k, ne] = F(), [re, ae] = F(), [A, j] = F([]), [oe, se] = F(""), [le, ue] = F(!1), [fe, pe] = F(!1), [me, he] = F(!1), ge = z(II.selectField, le && II.selectFieldOpen), _e = z(II.selectField, fe && II.selectFieldOpen), M = P(() => e.map((e) => ({
62826
+ let [k, ne] = F(), [re, ae] = F(), [A, j] = F([]), [oe, se] = F(""), [le, ue] = F(!1), [fe, pe] = F(!1), [me, he] = F(!1), ge = z(VI.selectField, le && VI.selectFieldOpen), _e = z(VI.selectField, fe && VI.selectFieldOpen), M = P(() => e.map((e) => ({
62789
62827
  value: e,
62790
62828
  label: e
62791
62829
  })), [e]), ve = P(() => [
62792
62830
  {
62793
- value: yI.Equal,
62831
+ value: wI.Equal,
62794
62832
  label: f
62795
62833
  },
62796
62834
  {
62797
- value: yI.Contain,
62835
+ value: wI.Contain,
62798
62836
  label: p
62799
62837
  },
62800
62838
  {
62801
- value: yI.Regex,
62839
+ value: wI.Regex,
62802
62840
  label: m
62803
62841
  }
62804
62842
  ], [
62805
62843
  f,
62806
62844
  p,
62807
62845
  m
62808
- ]), ye = re === yI.Regex, be = BI(oe), xe = k != null && re != null && (ye ? be : A.length > 0);
62846
+ ]), ye = re === wI.Regex, be = GI(oe), xe = k != null && re != null && (ye ? be : A.length > 0);
62809
62847
  return /* @__PURE__ */ L("div", {
62810
62848
  ref: te,
62811
62849
  role: "dialog",
@@ -62816,7 +62854,7 @@ var GF = {
62816
62854
  e.key === "Escape" && (e.stopPropagation(), n());
62817
62855
  },
62818
62856
  style: c,
62819
- className: z("fixed inset-0 z-[60] flex flex-col gap-3 overflow-y-auto p-4", "desktop:static desktop:z-auto desktop:flex-none desktop:overflow-visible desktop:rounded-lg desktop:p-3", II.dialog),
62857
+ className: z("fixed inset-0 z-[60] flex flex-col gap-3 overflow-y-auto p-4", "desktop:static desktop:z-auto desktop:flex-none desktop:overflow-visible desktop:rounded-lg desktop:p-3", VI.dialog),
62820
62858
  children: [
62821
62859
  /* @__PURE__ */ I(Ce, {
62822
62860
  id: D,
@@ -62827,7 +62865,7 @@ var GF = {
62827
62865
  ne(Array.isArray(e) ? e[0] : e), ue(!1);
62828
62866
  },
62829
62867
  placeholder: u,
62830
- searchable: e.length > zI,
62868
+ searchable: e.length > WI,
62831
62869
  searchPlaceholder: u,
62832
62870
  disabled: r,
62833
62871
  open: le,
@@ -62843,7 +62881,7 @@ var GF = {
62843
62881
  value: re,
62844
62882
  onChange: (e) => {
62845
62883
  let t = Array.isArray(e) ? e[0] : e;
62846
- re === yI.Regex != (t === yI.Regex) && (j([]), se("")), ae(t), pe(!1);
62884
+ re === wI.Regex != (t === wI.Regex) && (j([]), se("")), ae(t), pe(!1);
62847
62885
  },
62848
62886
  placeholder: d,
62849
62887
  disabled: r,
@@ -62865,7 +62903,7 @@ var GF = {
62865
62903
  }), (oe.length > 0 || me) && !be && /* @__PURE__ */ I("span", {
62866
62904
  id: E,
62867
62905
  role: "alert",
62868
- className: z("mt-1 block", o, II.error),
62906
+ className: z("mt-1 block", o, VI.error),
62869
62907
  children: b
62870
62908
  })] }) : /* @__PURE__ */ I(Ae, {
62871
62909
  id: ee,
@@ -62910,13 +62948,13 @@ var GF = {
62910
62948
  })
62911
62949
  ]
62912
62950
  });
62913
- }, HI = {
62951
+ }, qI = {
62914
62952
  ruleRow: "_ruleRow_nx0en_1",
62915
62953
  heading: "_heading_nx0en_5",
62916
62954
  hint: "_hint_nx0en_9",
62917
62955
  loading: "_loading_nx0en_13",
62918
62956
  ruleText: "_ruleText_nx0en_17"
62919
- }, UI = 20, WI = (e, t) => e === yI.Equal ? t.equal : e === yI.Contain ? t.contain : t.regex, GI = ({ rules: e, onRulesChange: t, sourceOptions: n, folderName: i, disabled: a = !1, isLoading: o = !1, hasLoadError: s = !1, maxRules: c = UI, maxTargetsPerRule: l, labels: u = {}, headingClassName: d = "dial-body-semi-text", hintClassName: f = "dial-small-text", loadingClassName: p = "dial-small-text", ruleTextClassName: g = "dial-small-text", ruleSourceClassName: _ = "dial-small-semi-text", styles: v = {} }) => {
62957
+ }, JI = 20, YI = (e, t) => e === wI.Equal ? t.equal : e === wI.Contain ? t.contain : t.regex, XI = ({ rules: e, onRulesChange: t, sourceOptions: n, folderName: i, disabled: a = !1, isLoading: o = !1, hasLoadError: s = !1, maxRules: c = JI, maxTargetsPerRule: l, labels: u = {}, headingClassName: d = "dial-body-semi-text", hintClassName: f = "dial-small-text", loadingClassName: p = "dial-small-text", ruleTextClassName: g = "dial-small-text", ruleSourceClassName: _ = "dial-small-semi-text", styles: v = {} }) => {
62920
62958
  let y = {
62921
62959
  ...es({
62922
62960
  "--par-rule-bg": v.colors?.ruleBackground,
@@ -62965,7 +63003,7 @@ var GF = {
62965
63003
  className: "mb-1 flex items-center justify-between gap-2",
62966
63004
  children: [/* @__PURE__ */ I("div", {
62967
63005
  id: le,
62968
- className: z(d, HI.heading),
63006
+ className: z(d, qI.heading),
62969
63007
  children: b
62970
63008
  }), e.length > 0 && /* @__PURE__ */ I(ie, {
62971
63009
  variant: r.Primary,
@@ -62975,7 +63013,7 @@ var GF = {
62975
63013
  })]
62976
63014
  }),
62977
63015
  /* @__PURE__ */ I("p", {
62978
- className: z("mb-2", f, HI.hint),
63016
+ className: z("mb-2", f, qI.hint),
62979
63017
  children: Ee ? x.replace("{folder}", i) : S
62980
63018
  }),
62981
63019
  e.length > 0 && !Ee && /* @__PURE__ */ I("div", {
@@ -62987,7 +63025,7 @@ var GF = {
62987
63025
  })
62988
63026
  }),
62989
63027
  o && /* @__PURE__ */ L("div", {
62990
- className: z("mb-2 flex items-center gap-2", p, HI.loading),
63028
+ className: z("mb-2 flex items-center gap-2", p, qI.loading),
62991
63029
  children: [/* @__PURE__ */ I(De, {
62992
63030
  size: 16,
62993
63031
  ariaLabel: ne
@@ -63006,16 +63044,16 @@ var GF = {
63006
63044
  children: e.map((e, t) => {
63007
63045
  let n = e.targets.join(` ${D} `), r = O.replace("{source}", e.source).replace("{targets}", n);
63008
63046
  return /* @__PURE__ */ L("li", {
63009
- className: z("flex items-center justify-between gap-2 rounded-lg px-3 py-2", HI.ruleRow),
63047
+ className: z("flex items-center justify-between gap-2 rounded-lg px-3 py-2", qI.ruleRow),
63010
63048
  children: [/* @__PURE__ */ L("span", {
63011
- className: z("truncate", g, HI.ruleText),
63049
+ className: z("truncate", g, qI.ruleText),
63012
63050
  children: [
63013
63051
  /* @__PURE__ */ I("span", {
63014
63052
  className: _,
63015
63053
  children: e.source
63016
63054
  }),
63017
63055
  " ",
63018
- WI(e.function, Ce),
63056
+ YI(e.function, Ce),
63019
63057
  ": ",
63020
63058
  n
63021
63059
  ]
@@ -63032,7 +63070,7 @@ var GF = {
63032
63070
  }, t);
63033
63071
  })
63034
63072
  }),
63035
- ue && /* @__PURE__ */ I(VI, {
63073
+ ue && /* @__PURE__ */ I(KI, {
63036
63074
  sourceOptions: n,
63037
63075
  onSave: be,
63038
63076
  onCancel: ye,
@@ -63055,27 +63093,27 @@ var GF = {
63055
63093
  })
63056
63094
  }),
63057
63095
  we && /* @__PURE__ */ I("p", {
63058
- className: z("mt-2", f, HI.hint),
63096
+ className: z("mt-2", f, qI.hint),
63059
63097
  children: w.replace("{max}", String(c))
63060
63098
  })
63061
63099
  ]
63062
63100
  });
63063
- }, KI = { divider: "_divider_a8iz6_1" }, qI = ({ items: e, selectedPath: t, onSelectedPathChange: n, onCreateFolder: r, searchQuery: i, disabled: a = !1, createFolderLabel: o = "Create new folder", cancelCreatingFolderLabel: s = "Cancel", addSiblingFolderLabel: c = "Add sibling", addChildFolderLabel: l = "Add child", newFolderDefaultName: u = "New folder", noResultsLabel: d = "No folders match \"{query}\".", emptyFolderNameError: f = "Folder name cannot be empty.", invalidFolderNameError: p = "Folder name contains invalid characters.", duplicateFolderNameError: g = "A folder with this name already exists.", rootLabel: _ = "Organization", expandedPaths: v, onExpandedPathsChange: y, loadingPaths: b, styles: x = {} }) => {
63101
+ }, ZI = { divider: "_divider_a8iz6_1" }, QI = ({ items: e, selectedPath: t, onSelectedPathChange: n, onCreateFolder: r, searchQuery: i, disabled: a = !1, createFolderLabel: o = "Create new folder", cancelCreatingFolderLabel: s = "Cancel", addSiblingFolderLabel: c = "Add sibling", addChildFolderLabel: l = "Add child", newFolderDefaultName: u = "New folder", noResultsLabel: d = "No folders match \"{query}\".", emptyFolderNameError: f = "Folder name cannot be empty.", invalidFolderNameError: p = "Folder name contains invalid characters.", duplicateFolderNameError: g = "A folder with this name already exists.", rootLabel: _ = "Organization", expandedPaths: v, onExpandedPathsChange: y, loadingPaths: b, styles: x = {} }) => {
63064
63102
  let S = {
63065
63103
  ...es({ "--pft-divider": x.colors?.divider }),
63066
63104
  ...x.cssVars
63067
- }, [C, w] = F(() => new Set(t?.map((e, n) => kI(t.slice(0, n + 1))) ?? [])), T = v ?? C, E = (e) => {
63105
+ }, [C, w] = F(() => new Set(t?.map((e, n) => PI(t.slice(0, n + 1))) ?? [])), T = v ?? C, E = (e) => {
63068
63106
  let t = new Set(e);
63069
63107
  t.delete(""), y ? y(t) : w(t);
63070
- }, [D, O] = F(null), [ee, te] = F(u), k = $e(null), ne = i.trim(), re = D != null, ae = P(() => TI(e, i), [e, i]), A = ne.length > 0 && ae.length === 0, j = !re && ne.length > 0, oe = P(() => DI(j ? ae : e), [
63108
+ }, [D, O] = F(null), [ee, te] = F(u), k = $e(null), ne = i.trim(), re = D != null, ae = P(() => AI(e, i), [e, i]), A = ne.length > 0 && ae.length === 0, j = !re && ne.length > 0, oe = P(() => MI(j ? ae : e), [
63071
63109
  j,
63072
63110
  ae,
63073
63111
  e
63074
- ]), se = P(() => new Set(["", ...OI(oe)]), [oe]), ce = P(() => new Set(["", ...j ? se : T]), [
63112
+ ]), se = P(() => new Set(["", ...NI(oe)]), [oe]), ce = P(() => new Set(["", ...j ? se : T]), [
63075
63113
  j,
63076
63114
  se,
63077
63115
  T
63078
- ]), le = P(() => jI(oe), [oe]), ue = P(() => j && le.length === 0 ? [] : [{
63116
+ ]), le = P(() => II(oe), [oe]), ue = P(() => j && le.length === 0 ? [] : [{
63079
63117
  path: "",
63080
63118
  name: _,
63081
63119
  folderId: "",
@@ -63085,16 +63123,16 @@ var GF = {
63085
63123
  le,
63086
63124
  _,
63087
63125
  j
63088
- ]), de = D ? kI(D) : null, fe = {
63126
+ ]), de = D ? PI(D) : null, fe = {
63089
63127
  empty: f,
63090
63128
  invalid: p,
63091
63129
  duplicate: g
63092
- }, pe = (t) => PI(A && NI(ne, [], fe) == null ? ne : u, FI(e, t)), me = (e) => {
63130
+ }, pe = (t) => zI(A && RI(ne, [], fe) == null ? ne : u, BI(e, t)), me = (e) => {
63093
63131
  O(e), te(pe(e)), k.current = null;
63094
- let t = kI(e);
63132
+ let t = PI(e);
63095
63133
  t && E(new Set(T).add(t));
63096
63134
  }, he = () => me(t ?? []), ge = (e) => {
63097
- let t = AI(e.path), n = [{
63135
+ let t = FI(e.path), n = [{
63098
63136
  key: "add-child",
63099
63137
  label: l,
63100
63138
  icon: /* @__PURE__ */ I(Et, {
@@ -63116,7 +63154,7 @@ var GF = {
63116
63154
  }), n;
63117
63155
  }, _e = (t) => {
63118
63156
  if (!D) return null;
63119
- let n = NI(t, FI(e, D), fe);
63157
+ let n = RI(t, BI(e, D), fe);
63120
63158
  return k.current = n, n;
63121
63159
  }, M = (e) => {
63122
63160
  if (!D) return;
@@ -63132,12 +63170,12 @@ var GF = {
63132
63170
  children: /* @__PURE__ */ I(Qi, {
63133
63171
  items: ue,
63134
63172
  showFiles: !1,
63135
- selectedPath: t == null ? void 0 : kI(t),
63173
+ selectedPath: t == null ? void 0 : PI(t),
63136
63174
  expandedPaths: ce,
63137
63175
  onExpandedPathsChange: E,
63138
63176
  loadingPaths: b,
63139
63177
  onItemClick: (e) => {
63140
- n(t != null && kI(t) === e.path ? void 0 : AI(e.path));
63178
+ n(t != null && PI(t) === e.path ? void 0 : FI(e.path));
63141
63179
  },
63142
63180
  getContextMenuItems: ge,
63143
63181
  createdFolderPath: de,
@@ -63149,7 +63187,7 @@ var GF = {
63149
63187
  })
63150
63188
  }),
63151
63189
  /* @__PURE__ */ I("div", {
63152
- className: z("my-2 h-px", KI.divider),
63190
+ className: z("my-2 h-px", ZI.divider),
63153
63191
  "aria-hidden": !0
63154
63192
  }),
63155
63193
  /* @__PURE__ */ L("div", {
@@ -63171,10 +63209,10 @@ var GF = {
63171
63209
  })
63172
63210
  ]
63173
63211
  });
63174
- }, JI = {
63212
+ }, $I = {
63175
63213
  summaryTitle: "_summaryTitle_tf20a_1",
63176
63214
  sectionHeading: "_sectionHeading_tf20a_5"
63177
- }, YI = ({ resource: e, renderSummary: t, history: n, isHistoryLoading: r = !1, hasHistoryError: i = !1, folderItems: a, selectedFolderPath: o, onSelectedFolderPathChange: s, onCreateFolder: c, expandedPaths: l, onExpandedPathsChange: u, loadingPaths: d, hasExistingPublicationInFolder: f, hasWriteAccess: p, isSubmitting: m, hasSubmitError: h = !1, allowReplace: g = !0, rules: _, onRulesChange: v, ruleSourceOptions: y, isRulesLoading: b = !1, hasRulesLoadError: x = !1, labels: S = {}, summaryTitleClassName: C = "dial-body-semi-text", headingClassName: w = "dial-body-semi-text", styles: T = {} }) => {
63215
+ }, eL = ({ resource: e, renderSummary: t, history: n, isHistoryLoading: r = !1, hasHistoryError: i = !1, folderItems: a, selectedFolderPath: o, onSelectedFolderPathChange: s, onCreateFolder: c, expandedPaths: l, onExpandedPathsChange: u, loadingPaths: d, hasExistingPublicationInFolder: f, hasWriteAccess: p, isSubmitting: m, hasSubmitError: h = !1, allowReplace: g = !0, rules: _, onRulesChange: v, ruleSourceOptions: y, isRulesLoading: b = !1, hasRulesLoadError: x = !1, labels: S = {}, summaryTitleClassName: C = "dial-body-semi-text", headingClassName: w = "dial-body-semi-text", styles: T = {} }) => {
63178
63216
  let { colors: E, folderTree: D, accessRules: O } = T, ee = {
63179
63217
  ...es({
63180
63218
  "--pp-summary-title-text": E?.summaryTitleText,
@@ -63189,7 +63227,7 @@ var GF = {
63189
63227
  versionTagText: E?.summaryVersionTagText
63190
63228
  }, { folderLabel: k = "Publish to folder", replaceWarning: ne = "Version {version} is already published in {folder}. Publishing will replace it.", noAccessError: re = "You don't have permission to publish to {folder}. Pick another, or ask an owner for access.", submitError: ie = "Publishing failed. Please try again.", folderEmptyStateLabel: ae, addSiblingFolderLabel: A, addChildFolderLabel: j, cancelCreatingFolderLabel: oe, createFolderEmptyNameError: se, createFolderInvalidNameError: ce, createFolderDuplicateNameError: le, rootFolderLabel: ue = "Organization", summaryVersionLabel: de, accessRulesLabels: fe, searchPlaceholder: pe, clearSearchAriaLabel: ge } = S, [_e, M] = F(""), ve = (e) => {
63191
63229
  M(e ?? "");
63192
- }, ye = o != null, be = P(() => xI({
63230
+ }, ye = o != null, be = P(() => EI({
63193
63231
  hasSelectedFolder: ye,
63194
63232
  hasExistingPublicationInFolder: f,
63195
63233
  hasWriteAccess: p,
@@ -63204,7 +63242,7 @@ var GF = {
63204
63242
  h,
63205
63243
  g
63206
63244
  ]), Se = ye ? o[o.length - 1] ?? ue : "", Ce = t ? t() : /* @__PURE__ */ I("span", {
63207
- className: z("truncate", C, JI.summaryTitle),
63245
+ className: z("truncate", C, $I.summaryTitle),
63208
63246
  children: e?.title
63209
63247
  });
63210
63248
  return /* @__PURE__ */ L("div", {
@@ -63224,7 +63262,7 @@ var GF = {
63224
63262
  colors: te
63225
63263
  }), /* @__PURE__ */ L("div", { children: [
63226
63264
  /* @__PURE__ */ I("div", {
63227
- className: z("mb-2", w, JI.sectionHeading),
63265
+ className: z("mb-2", w, $I.sectionHeading),
63228
63266
  children: k
63229
63267
  }),
63230
63268
  /* @__PURE__ */ I("div", {
@@ -63238,7 +63276,7 @@ var GF = {
63238
63276
  "aria-label": pe
63239
63277
  })
63240
63278
  }),
63241
- /* @__PURE__ */ I(qI, {
63279
+ /* @__PURE__ */ I(QI, {
63242
63280
  items: a,
63243
63281
  selectedPath: o,
63244
63282
  onSelectedPathChange: s,
@@ -63258,12 +63296,12 @@ var GF = {
63258
63296
  rootLabel: ue,
63259
63297
  styles: D
63260
63298
  }),
63261
- be.calloutKind !== bI.None && be.calloutKind !== bI.Info && /* @__PURE__ */ I("div", {
63299
+ be.calloutKind !== TI.None && be.calloutKind !== TI.Info && /* @__PURE__ */ I("div", {
63262
63300
  className: "mt-3",
63263
63301
  children: /* @__PURE__ */ I(me, {
63264
63302
  type: he.SectionMessage,
63265
- variant: XI(be.calloutKind),
63266
- message: QI(be.calloutKind, {
63303
+ variant: tL(be.calloutKind),
63304
+ message: rL(be.calloutKind, {
63267
63305
  replaceWarning: ne,
63268
63306
  noAccessError: re,
63269
63307
  submitError: ie,
@@ -63274,7 +63312,7 @@ var GF = {
63274
63312
  }),
63275
63313
  /* @__PURE__ */ I("div", {
63276
63314
  className: "mt-4",
63277
- children: /* @__PURE__ */ I(GI, {
63315
+ children: /* @__PURE__ */ I(XI, {
63278
63316
  rules: _,
63279
63317
  onRulesChange: v,
63280
63318
  sourceOptions: y,
@@ -63288,7 +63326,7 @@ var GF = {
63288
63326
  })
63289
63327
  ] })]
63290
63328
  });
63291
- }, XI = (e) => e === bI.ReplaceWarning ? ge.Warning : ge.Error, ZI = (e, t) => {
63329
+ }, tL = (e) => e === TI.ReplaceWarning ? ge.Warning : ge.Error, nL = (e, t) => {
63292
63330
  let [n, r, ...i] = e.split("{folder}");
63293
63331
  return r === void 0 || i.length > 0 ? e : /* @__PURE__ */ L(et, { children: [
63294
63332
  n,
@@ -63298,11 +63336,11 @@ var GF = {
63298
63336
  }),
63299
63337
  r
63300
63338
  ] });
63301
- }, QI = (e, t) => e === bI.ReplaceWarning ? ZI(t.replaceWarning.replace("{version}", t.version ?? ""), t.folderName) : e === bI.NoAccess ? ZI(t.noAccessError, t.folderName) : t.submitError, $I = { footer: "_footer_dks1v_1" }, eL = ({ version: e, hasExistingPublicationInFolder: t, isSubmitDisabled: n, isSubmitLoading: r, onCancel: i, onSubmit: a, labels: o = {}, colors: s }) => {
63339
+ }, rL = (e, t) => e === TI.ReplaceWarning ? nL(t.replaceWarning.replace("{version}", t.version ?? ""), t.folderName) : e === TI.NoAccess ? nL(t.noAccessError, t.folderName) : t.submitError, iL = { footer: "_footer_dks1v_1" }, aL = ({ version: e, hasExistingPublicationInFolder: t, isSubmitDisabled: n, isSubmitLoading: r, onCancel: i, onSubmit: a, labels: o = {}, colors: s }) => {
63302
63340
  let c = es({ "--pf-border": s?.border }), { cancelLabel: l = "Cancel", publishDefaultLabel: u = "Publish", updateLabel: d = "Update version {version}", publishingInProgressLabel: f = "Publishing…" } = o, p = r ? f : t && e != null ? d.replace("{version}", e) : u;
63303
63341
  return /* @__PURE__ */ L("div", {
63304
63342
  style: c,
63305
- className: z("flex items-center justify-end gap-2 border-t px-3.5 py-4 rtl:flex-row-reverse rtl:justify-start", $I.footer),
63343
+ className: z("flex items-center justify-end gap-2 border-t px-3.5 py-4 rtl:flex-row-reverse rtl:justify-start", iL.footer),
63306
63344
  children: [/* @__PURE__ */ I(ie, {
63307
63345
  label: l,
63308
63346
  disabled: r,
@@ -63314,20 +63352,20 @@ var GF = {
63314
63352
  onClick: a
63315
63353
  })]
63316
63354
  });
63317
- }, tL = (e) => e.reduce((e, t) => t.type === Sn.File ? e + 1 : e + tL(t.items), 0), nL = (e) => {
63355
+ }, oL = (e) => e.reduce((e, t) => t.type === Sn.File ? e + 1 : e + oL(t.items), 0), sL = (e) => {
63318
63356
  let t = /* @__PURE__ */ new Set(), n = (e) => {
63319
63357
  for (let r of e) r.type === Sn.Folder && (t.add(r.id), n(r.items));
63320
63358
  };
63321
63359
  return n(e), t;
63322
- }, rL = (e, t) => {
63360
+ }, cL = (e, t) => {
63323
63361
  if (t != null) for (let n of e) {
63324
63362
  if (n.id === t) return n.name;
63325
63363
  if (n.type === Sn.Folder) {
63326
- let e = rL(n.items, t);
63364
+ let e = cL(n.items, t);
63327
63365
  if (e != null) return e;
63328
63366
  }
63329
63367
  }
63330
- }, iL = {
63368
+ }, lL = {
63331
63369
  sectionHeading: "_sectionHeading_jnq93_1",
63332
63370
  rowAlt: "_rowAlt_jnq93_5",
63333
63371
  label: "_label_jnq93_9",
@@ -63335,19 +63373,19 @@ var GF = {
63335
63373
  valueTrue: "_valueTrue_jnq93_17",
63336
63374
  valueFalse: "_valueFalse_jnq93_21",
63337
63375
  valueText: "_valueText_jnq93_25"
63338
- }, aL = ({ value: e, valueClassName: t, valueTrueClassName: n, checkIconClassName: r, yesLabel: i, noLabel: a }) => e === !0 ? /* @__PURE__ */ L(et, { children: [/* @__PURE__ */ I(dt, {
63376
+ }, uL = ({ value: e, valueClassName: t, valueTrueClassName: n, checkIconClassName: r, yesLabel: i, noLabel: a }) => e === !0 ? /* @__PURE__ */ L(et, { children: [/* @__PURE__ */ I(dt, {
63339
63377
  size: m.MD,
63340
- className: z(r, iL.checkIcon)
63378
+ className: z(r, lL.checkIcon)
63341
63379
  }), /* @__PURE__ */ I("span", {
63342
- className: z(n, iL.valueTrue),
63380
+ className: z(n, lL.valueTrue),
63343
63381
  children: i
63344
63382
  })] }) : e === !1 ? /* @__PURE__ */ I("span", {
63345
- className: z(t, iL.valueFalse),
63383
+ className: z(t, lL.valueFalse),
63346
63384
  children: a
63347
63385
  }) : /* @__PURE__ */ I("span", {
63348
- className: z("min-w-0 break-words", t, iL.valueText),
63386
+ className: z("min-w-0 break-words", t, lL.valueText),
63349
63387
  children: e
63350
- }), oL = ({ sectionLabel: e = "Section", values: t, labelClassName: n = "dial-small-semi-text", valueClassName: r = "dial-small-text", valueTrueClassName: i = "dial-small-semi-text", checkIconClassName: a, sectionClassName: o = "dial-caption-text", yesLabel: s = "Yes", noLabel: c = "No", colors: l }) => /* @__PURE__ */ I("div", {
63388
+ }), dL = ({ sectionLabel: e = "Section", values: t, labelClassName: n = "dial-small-semi-text", valueClassName: r = "dial-small-text", valueTrueClassName: i = "dial-small-semi-text", checkIconClassName: a, sectionClassName: o = "dial-caption-text", yesLabel: s = "Yes", noLabel: c = "No", colors: l }) => /* @__PURE__ */ I("div", {
63351
63389
  className: "flex flex-col",
63352
63390
  style: es({
63353
63391
  "--tv-section-heading": l?.sectionHeading,
@@ -63359,18 +63397,18 @@ var GF = {
63359
63397
  "--tv-value-text": l?.valueText
63360
63398
  }),
63361
63399
  children: t != null && t.length > 0 && /* @__PURE__ */ L("section", { children: [/* @__PURE__ */ I("p", {
63362
- className: z("mb-3 mt-0", o, iL.sectionHeading),
63400
+ className: z("mb-3 mt-0", o, lL.sectionHeading),
63363
63401
  children: e
63364
63402
  }), /* @__PURE__ */ I("ul", {
63365
63403
  className: "m-0 list-none p-0",
63366
63404
  children: t.map((e, t) => /* @__PURE__ */ L("li", {
63367
- className: z("flex items-center rounded px-3 py-2", t % 2 == 0 ? iL.rowAlt : void 0),
63405
+ className: z("flex items-center rounded px-3 py-2", t % 2 == 0 ? lL.rowAlt : void 0),
63368
63406
  children: [/* @__PURE__ */ I("span", {
63369
- className: z(n, iL.label, "w-2/5 shrink-0"),
63407
+ className: z(n, lL.label, "w-2/5 shrink-0"),
63370
63408
  children: e.label
63371
63409
  }), /* @__PURE__ */ I("div", {
63372
63410
  className: "flex w-3/5 min-w-0 items-center gap-1",
63373
- children: /* @__PURE__ */ I(aL, {
63411
+ children: /* @__PURE__ */ I(uL, {
63374
63412
  value: e.value,
63375
63413
  valueClassName: r,
63376
63414
  valueTrueClassName: i,
@@ -63381,30 +63419,30 @@ var GF = {
63381
63419
  })]
63382
63420
  }, e.label))
63383
63421
  })] })
63384
- }), sL = { sectionHeading: "_sectionHeading_148lj_1" }, cL = {
63422
+ }), fL = { sectionHeading: "_sectionHeading_148lj_1" }, pL = {
63385
63423
  [cn.Python]: "Python",
63386
63424
  [cn.Curl]: "cURL",
63387
63425
  [cn.JavaScript]: "JavaScript"
63388
- }, lL = {
63426
+ }, mL = {
63389
63427
  [cn.Python]: "python",
63390
63428
  [cn.Curl]: "bash",
63391
63429
  [cn.JavaScript]: "javascript"
63392
- }, uL = ({ snippets: e, sectionLabel: t, copyAriaLabel: n = "Copy", copiedStatusLabel: r = "Copied!", codeClassName: i = "dial-code-text", codeTitleClassName: a = "dial-tiny-semi-text", sectionClassName: o = "dial-caption-text" }) => {
63430
+ }, hL = ({ snippets: e, sectionLabel: t, copyAriaLabel: n = "Copy", copiedStatusLabel: r = "Copied!", codeClassName: i = "dial-code-text", codeTitleClassName: a = "dial-tiny-semi-text", sectionClassName: o = "dial-caption-text" }) => {
63393
63431
  let [s, c] = F(e[0]?.language ?? cn.Python);
63394
63432
  Ye(() => {
63395
63433
  c(e[0]?.language ?? cn.Python);
63396
63434
  }, [e]);
63397
63435
  let l = P(() => e.map((e) => ({
63398
63436
  key: e.language,
63399
- label: cL[e.language] ?? e.language,
63437
+ label: pL[e.language] ?? e.language,
63400
63438
  onClick: () => c(e.language)
63401
63439
  })), [e]), u = e.find((e) => e.language === s)?.code ?? "", d = e.length > 1;
63402
63440
  return /* @__PURE__ */ L("section", { children: [t != null && /* @__PURE__ */ I("p", {
63403
- className: z("mb-3 mt-0", o, sL.sectionHeading),
63441
+ className: z("mb-3 mt-0", o, fL.sectionHeading),
63404
63442
  children: t
63405
63443
  }), /* @__PURE__ */ I(pF, {
63406
- language: lL[s] ?? s,
63407
- title: cL[s] ?? s,
63444
+ language: mL[s] ?? s,
63445
+ title: pL[s] ?? s,
63408
63446
  value: u,
63409
63447
  copyLabel: n,
63410
63448
  copiedLabel: r,
@@ -63419,7 +63457,7 @@ var GF = {
63419
63457
  selectedKey: s
63420
63458
  }) : void 0
63421
63459
  })] });
63422
- }, dL = ({ api: e, resourceSectionLabel: t = "Resource", endpointSectionLabel: n = "Endpoint", snippetSectionLabel: r = "Code snippet", modelIdLabel: i = "Model ID", endpointLabel: a = "Endpoint", requestExampleLabel: o = "Request example", responseSchemaLabel: s = "Response schema", copyAriaLabel: c = "Copy", copiedStatusLabel: l = "Copied!", labelClassName: u = "dial-small-semi-text", valueClassName: d = "dial-small-text", codeClassName: f = "dial-code-text", codeTitleClassName: p = "dial-tiny-semi-text", sectionClassName: m = "dial-caption-text" }) => {
63460
+ }, gL = ({ api: e, resourceSectionLabel: t = "Resource", endpointSectionLabel: n = "Endpoint", snippetSectionLabel: r = "Code snippet", modelIdLabel: i = "Model ID", endpointLabel: a = "Endpoint", requestExampleLabel: o = "Request example", responseSchemaLabel: s = "Response schema", copyAriaLabel: c = "Copy", copiedStatusLabel: l = "Copied!", labelClassName: u = "dial-small-semi-text", valueClassName: d = "dial-small-text", codeClassName: f = "dial-code-text", codeTitleClassName: p = "dial-tiny-semi-text", sectionClassName: m = "dial-caption-text" }) => {
63423
63461
  let [h, g] = F(0), _ = P(() => e.endpoints ?? [], [e.endpoints]), v = _.length > 0, y = _[h] ?? null, b = P(() => _.map((e, t) => ({
63424
63462
  key: e.url,
63425
63463
  label: e.label,
@@ -63433,7 +63471,7 @@ var GF = {
63433
63471
  return /* @__PURE__ */ L("div", {
63434
63472
  className: "flex flex-col gap-6",
63435
63473
  children: [
63436
- C && /* @__PURE__ */ I(oL, {
63474
+ C && /* @__PURE__ */ I(dL, {
63437
63475
  sectionLabel: t,
63438
63476
  values: x,
63439
63477
  labelClassName: u,
@@ -63451,7 +63489,7 @@ var GF = {
63451
63489
  }),
63452
63490
  v && /* @__PURE__ */ L("section", { children: [
63453
63491
  /* @__PURE__ */ I("p", {
63454
- className: z("mb-3 mt-0", m, sL.sectionHeading),
63492
+ className: z("mb-3 mt-0", m, fL.sectionHeading),
63455
63493
  children: n
63456
63494
  }),
63457
63495
  y != null && /* @__PURE__ */ I(pF, {
@@ -63472,7 +63510,7 @@ var GF = {
63472
63510
  }, h),
63473
63511
  y?.snippets != null && y.snippets.length > 0 && /* @__PURE__ */ I("div", {
63474
63512
  className: "mt-4",
63475
- children: /* @__PURE__ */ I(uL, {
63513
+ children: /* @__PURE__ */ I(hL, {
63476
63514
  snippets: y.snippets,
63477
63515
  copyAriaLabel: c,
63478
63516
  copiedStatusLabel: l,
@@ -63482,7 +63520,7 @@ var GF = {
63482
63520
  }, h)
63483
63521
  })
63484
63522
  ] }),
63485
- !v && T && /* @__PURE__ */ I(uL, {
63523
+ !v && T && /* @__PURE__ */ I(hL, {
63486
63524
  snippets: e.snippets ?? [],
63487
63525
  sectionLabel: r,
63488
63526
  copyAriaLabel: c,
@@ -63492,7 +63530,7 @@ var GF = {
63492
63530
  sectionClassName: m
63493
63531
  }),
63494
63532
  E && /* @__PURE__ */ L("section", { children: [/* @__PURE__ */ I("p", {
63495
- className: z("mb-3 mt-0", m, sL.sectionHeading),
63533
+ className: z("mb-3 mt-0", m, fL.sectionHeading),
63496
63534
  children: o
63497
63535
  }), /* @__PURE__ */ I(pF, {
63498
63536
  language: "bash",
@@ -63503,7 +63541,7 @@ var GF = {
63503
63541
  hideDownload: !0
63504
63542
  })] }),
63505
63543
  D && /* @__PURE__ */ L("section", { children: [/* @__PURE__ */ I("p", {
63506
- className: z("mb-3 mt-0", m, sL.sectionHeading),
63544
+ className: z("mb-3 mt-0", m, fL.sectionHeading),
63507
63545
  children: s
63508
63546
  }), /* @__PURE__ */ I(pF, {
63509
63547
  language: "json",
@@ -63515,11 +63553,11 @@ var GF = {
63515
63553
  })] })
63516
63554
  ]
63517
63555
  });
63518
- }, fL = {
63556
+ }, _L = {
63519
63557
  message: "_message_13mok_1",
63520
63558
  consequences: "_consequences_13mok_5",
63521
63559
  footer: "_footer_13mok_9"
63522
- }, pL = ({ confirmLabel: e, cancelLabel: t, variant: n = fn.Info, isLoading: r = !1, isConfirmDisabled: i = !1, loadingStatusLabel: a, onConfirm: o, onCancel: s }) => {
63560
+ }, vL = ({ confirmLabel: e, cancelLabel: t, variant: n = fn.Info, isLoading: r = !1, isConfirmDisabled: i = !1, loadingStatusLabel: a, onConfirm: o, onCancel: s }) => {
63523
63561
  let c = n === fn.Danger, l = (() => {
63524
63562
  if (r) return /* @__PURE__ */ I(De, { size: m.SM });
63525
63563
  if (c) return /* @__PURE__ */ I(Vt, {
@@ -63529,7 +63567,7 @@ var GF = {
63529
63567
  });
63530
63568
  })(), u = c ? g : de;
63531
63569
  return /* @__PURE__ */ L("div", {
63532
- className: z("flex items-center justify-end gap-2 px-6 py-4 rtl:flex-row-reverse rtl:justify-start", fL.footer),
63570
+ className: z("flex items-center justify-end gap-2 px-6 py-4 rtl:flex-row-reverse rtl:justify-start", _L.footer),
63533
63571
  children: [
63534
63572
  /* @__PURE__ */ I(ie, {
63535
63573
  label: t,
@@ -63550,78 +63588,78 @@ var GF = {
63550
63588
  })
63551
63589
  ]
63552
63590
  });
63553
- }, mL = {
63591
+ }, yL = {
63554
63592
  info: "_info_lklha_1",
63555
63593
  danger: "_danger_lklha_5"
63556
- }, hL = ({ item: e, variant: t = fn.Info, iconSize: n = 40 }) => /* @__PURE__ */ I(Cy, {
63594
+ }, bL = ({ item: e, variant: t = fn.Info, iconSize: n = 40 }) => /* @__PURE__ */ I(Cy, {
63557
63595
  item: e,
63558
63596
  iconSize: n,
63559
63597
  hasVersionTag: !1,
63560
- className: t === fn.Danger ? mL.danger : mL.info
63561
- }), gL = ({ item: e, message: t, consequences: n, variant: r = fn.Info, messageClassName: i = "dial-small-text", children: a }) => /* @__PURE__ */ L("div", {
63598
+ className: t === fn.Danger ? yL.danger : yL.info
63599
+ }), xL = ({ item: e, message: t, consequences: n, variant: r = fn.Info, messageClassName: i = "dial-small-text", children: a }) => /* @__PURE__ */ L("div", {
63562
63600
  className: "flex flex-col gap-4 px-6 py-4",
63563
63601
  children: [
63564
- /* @__PURE__ */ I(hL, {
63602
+ /* @__PURE__ */ I(bL, {
63565
63603
  item: e,
63566
63604
  variant: r
63567
63605
  }),
63568
63606
  /* @__PURE__ */ I("p", {
63569
- className: z(i, "break-words", fL.message),
63607
+ className: z(i, "break-words", _L.message),
63570
63608
  children: t
63571
63609
  }),
63572
63610
  n != null && n.length > 0 && /* @__PURE__ */ I("ul", {
63573
- className: z("flex list-disc flex-col gap-2 ps-5", i, fL.consequences),
63611
+ className: z("flex list-disc flex-col gap-2 ps-5", i, _L.consequences),
63574
63612
  children: n.map((e) => /* @__PURE__ */ I("li", { children: e }, e))
63575
63613
  }),
63576
63614
  a
63577
63615
  ]
63578
- }), _L = {
63616
+ }), SL = {
63579
63617
  sunkenBox: "_sunkenBox_1lqi3_1",
63580
63618
  raisedBox: "_raisedBox_1lqi3_5",
63581
63619
  activeIcon: "_activeIcon_1lqi3_9"
63582
- }, vL = /* @__PURE__ */ function(e) {
63620
+ }, CL = /* @__PURE__ */ function(e) {
63583
63621
  return e.Sunken = "sunken", e.Raised = "raised", e;
63584
- }({}), yL = {
63585
- sunken: _L.sunkenBox,
63586
- raised: _L.raisedBox
63587
- }, bL = ({ icon: e, isActive: t = !1, surface: n = "sunken", statusLabel: r }) => /* @__PURE__ */ L("span", {
63622
+ }({}), wL = {
63623
+ sunken: SL.sunkenBox,
63624
+ raised: SL.raisedBox
63625
+ }, TL = ({ icon: e, isActive: t = !1, surface: n = "sunken", statusLabel: r }) => /* @__PURE__ */ L("span", {
63588
63626
  className: "relative inline-flex shrink-0",
63589
63627
  children: [
63590
63628
  /* @__PURE__ */ I("span", {
63591
- className: z("flex size-8 items-center justify-center rounded-lg", yL[n]),
63629
+ className: z("flex size-8 items-center justify-center rounded-lg", wL[n]),
63592
63630
  children: e
63593
63631
  }),
63594
63632
  t && /* @__PURE__ */ I(dt, {
63595
63633
  size: m.MD,
63596
63634
  "aria-hidden": !0,
63597
- className: z("absolute -end-2 -top-2", _L.activeIcon)
63635
+ className: z("absolute -end-2 -top-2", SL.activeIcon)
63598
63636
  }),
63599
63637
  r != null && /* @__PURE__ */ I("span", {
63600
63638
  className: "sr-only",
63601
63639
  children: r
63602
63640
  })
63603
63641
  ]
63604
- }), xL = {
63642
+ }), EL = {
63605
63643
  card: "_card_tqnz7_1",
63606
63644
  icon: "_icon_tqnz7_6",
63607
63645
  title: "_title_tqnz7_10",
63608
63646
  description: "_description_tqnz7_14"
63609
- }, SL = ({ icon: e, title: t, description: n, action: r, titleClassName: i = "dial-small-semi-text", descriptionClassName: a = "dial-small-text" }) => /* @__PURE__ */ L("div", {
63647
+ }, DL = ({ icon: e, title: t, description: n, action: r, titleClassName: i = "dial-small-semi-text", descriptionClassName: a = "dial-small-text" }) => /* @__PURE__ */ L("div", {
63610
63648
  role: "status",
63611
63649
  "aria-live": "polite",
63612
- className: z("flex items-center gap-3 rounded-xl p-3", xL.card),
63650
+ className: z("flex items-center gap-3 rounded-xl p-3", EL.card),
63613
63651
  children: [/* @__PURE__ */ I("span", {
63614
- className: z("shrink-0", xL.icon, n != null && "mt-0.5"),
63652
+ className: z("shrink-0", EL.icon, n != null && "mt-0.5"),
63615
63653
  children: e
63616
63654
  }), /* @__PURE__ */ L("div", {
63617
63655
  className: "flex min-w-0 flex-1 items-center justify-between gap-2",
63618
63656
  children: [/* @__PURE__ */ L("div", {
63619
63657
  className: "flex min-w-0 flex-col gap-1",
63620
63658
  children: [/* @__PURE__ */ I("span", {
63621
- className: z(i, xL.title),
63659
+ className: z(i, EL.title),
63622
63660
  children: t
63623
63661
  }), n != null && /* @__PURE__ */ I("span", {
63624
- className: z(a, xL.description),
63662
+ className: z(a, EL.description),
63625
63663
  children: n
63626
63664
  })]
63627
63665
  }), r != null && /* @__PURE__ */ I("div", {
@@ -63629,53 +63667,53 @@ var GF = {
63629
63667
  children: r
63630
63668
  })]
63631
63669
  })]
63632
- }), CL = (e) => e === mn.ApiKey ? "You are currently using organization API key to access this toolset." : "You are currently using organization credentials to access this toolset.", wL = (e) => e === mn.ApiKey ? "Configure your personal API key to have access to your data." : "Login using personal account to have access to your data.", TL = (e) => e === mn.ApiKey ? "Signed in with organization API key." : "Signed in with organization credentials.", EL = (e) => e === mn.ApiKey ? "Signed in with personal API key." : "Signed in with personal credentials.", DL = 20, OL = ({ state: e, authenticationType: t, texts: n }) => {
63670
+ }), OL = (e) => e === mn.ApiKey ? "You are currently using organization API key to access this toolset." : "You are currently using organization credentials to access this toolset.", kL = (e) => e === mn.ApiKey ? "Configure your personal API key to have access to your data." : "Login using personal account to have access to your data.", AL = (e) => e === mn.ApiKey ? "Signed in with organization API key." : "Signed in with organization credentials.", jL = (e) => e === mn.ApiKey ? "Signed in with personal API key." : "Signed in with personal credentials.", ML = 20, NL = ({ state: e, authenticationType: t, texts: n }) => {
63633
63671
  let r = /* @__PURE__ */ I(at, {
63634
- size: DL,
63672
+ size: ML,
63635
63673
  "aria-hidden": !0,
63636
63674
  stroke: h
63637
63675
  });
63638
63676
  if (e === yn.PersonalCredentialsActive) {
63639
- let e = (n?.personalCredentialsActiveBannerTitle ?? EL)(t);
63640
- return /* @__PURE__ */ I(SL, {
63641
- icon: /* @__PURE__ */ I(bL, {
63677
+ let e = (n?.personalCredentialsActiveBannerTitle ?? jL)(t);
63678
+ return /* @__PURE__ */ I(DL, {
63679
+ icon: /* @__PURE__ */ I(TL, {
63642
63680
  icon: /* @__PURE__ */ I(Ht, {
63643
63681
  size: m.SM,
63644
63682
  "aria-hidden": !0,
63645
63683
  stroke: h
63646
63684
  }),
63647
63685
  isActive: !0,
63648
- surface: vL.Raised
63686
+ surface: CL.Raised
63649
63687
  }),
63650
63688
  title: e
63651
63689
  });
63652
63690
  }
63653
63691
  if (e === yn.OrgCredentialsActive) {
63654
- let e = (n?.orgCredentialsActiveBannerTitle ?? TL)(t);
63655
- return /* @__PURE__ */ I(SL, {
63656
- icon: /* @__PURE__ */ I(bL, {
63692
+ let e = (n?.orgCredentialsActiveBannerTitle ?? AL)(t);
63693
+ return /* @__PURE__ */ I(DL, {
63694
+ icon: /* @__PURE__ */ I(TL, {
63657
63695
  icon: /* @__PURE__ */ I(at, {
63658
63696
  size: m.SM,
63659
63697
  "aria-hidden": !0,
63660
63698
  stroke: h
63661
63699
  }),
63662
63700
  isActive: !0,
63663
- surface: vL.Raised
63701
+ surface: CL.Raised
63664
63702
  }),
63665
63703
  title: e
63666
63704
  });
63667
63705
  }
63668
- return /* @__PURE__ */ I(SL, {
63706
+ return /* @__PURE__ */ I(DL, {
63669
63707
  icon: r,
63670
- title: (n?.orgFallbackBannerTitle ?? CL)(t),
63671
- description: (n?.orgFallbackBannerDescription ?? wL)(t)
63708
+ title: (n?.orgFallbackBannerTitle ?? OL)(t),
63709
+ description: (n?.orgFallbackBannerDescription ?? kL)(t)
63672
63710
  });
63673
- }, kL = {
63711
+ }, PL = {
63674
63712
  surface: "_surface_1q3s8_1",
63675
63713
  description: "_description_1q3s8_5",
63676
63714
  rowDescription: "_rowDescription_1q3s8_9",
63677
63715
  errorText: "_errorText_1q3s8_13"
63678
- }, AL = ({ item: e, level: n, label: r, description: i, icon: a, status: o, isActive: s, authenticationType: c, apiKeyAddedWhen: l, onLogin: u, onRequestLogout: d, onRequestDeleteApiKey: f, texts: p, labelClassName: _, descriptionClassName: v, errorClassName: y, keyCardTitleClassName: b, keyCardDescriptionClassName: x, deleteActionClassName: S }) => {
63716
+ }, FL = ({ item: e, level: n, label: r, description: i, icon: a, status: o, isActive: s, authenticationType: c, apiKeyAddedWhen: l, onLogin: u, onRequestLogout: d, onRequestDeleteApiKey: f, texts: p, labelClassName: _, descriptionClassName: v, errorClassName: y, keyCardTitleClassName: b, keyCardDescriptionClassName: x, deleteActionClassName: S }) => {
63679
63717
  let [C, w] = F(""), [T, E] = F(!1), [D, O] = F(!1), ee = o === hn.SignedIn, te = N(() => {
63680
63718
  u?.(e, { level: n });
63681
63719
  }, [
@@ -63710,7 +63748,7 @@ var GF = {
63710
63748
  }, [n, f]), ae = p?.loginActionLabel ?? "Log in", A = p?.logoutActionLabel ?? "Log out", j = p?.addApiKeyActionLabel ?? "Add", oe = p?.deleteActionLabel ?? "Delete", se = p?.credentialsSignedInLabel ?? "Signed in", ue = p?.credentialsSignedOutLabel ?? "Signed out", fe = p?.addingApiKeyStatusLabel ?? "Adding", pe = p?.apiKeyConfiguredMessage ?? "Key has been configured", me = l == null ? void 0 : (p?.apiKeyAddedLabel ?? ((e) => `Added ${e}`))(l);
63711
63749
  return /* @__PURE__ */ L("div", {
63712
63750
  className: "flex items-start gap-3 rounded-xl p-3",
63713
- children: [/* @__PURE__ */ I(bL, {
63751
+ children: [/* @__PURE__ */ I(TL, {
63714
63752
  icon: a,
63715
63753
  isActive: s,
63716
63754
  statusLabel: s ? se : ue
@@ -63725,7 +63763,7 @@ var GF = {
63725
63763
  className: _,
63726
63764
  children: r
63727
63765
  }), /* @__PURE__ */ I("span", {
63728
- className: z(v, kL.rowDescription),
63766
+ className: z(v, PL.rowDescription),
63729
63767
  children: i
63730
63768
  })]
63731
63769
  }), c === mn.OAuth && (ee ? /* @__PURE__ */ I(g, {
@@ -63765,13 +63803,13 @@ var GF = {
63765
63803
  disabled: D
63766
63804
  })]
63767
63805
  }), T && /* @__PURE__ */ I("span", {
63768
- className: z(y, kL.errorText),
63806
+ className: z(y, PL.errorText),
63769
63807
  children: p?.apiKeyRequiredErrorMessage ?? "API key is required."
63770
63808
  })]
63771
63809
  }),
63772
63810
  c === mn.ApiKey && ee && /* @__PURE__ */ I("div", {
63773
63811
  className: "animate-fadeIn pt-1",
63774
- children: /* @__PURE__ */ I(SL, {
63812
+ children: /* @__PURE__ */ I(DL, {
63775
63813
  icon: /* @__PURE__ */ I(Ot, {
63776
63814
  size: m.SM,
63777
63815
  "aria-hidden": !0,
@@ -63791,16 +63829,16 @@ var GF = {
63791
63829
  ]
63792
63830
  })]
63793
63831
  });
63794
- }, jL = (e) => e === mn.ApiKey ? "Select which account to use with this toolset — personal or organization. If both are configured, personal credentials will be used by default for toolset access." : "Select which account to use with this toolset — personal or organization. If both are configured, personal credentials will be used by default.", ML = ({ item: e, onLogin: t, onRequestLogout: n, onRequestDeleteApiKey: r, texts: i, detailsStyles: a, deleteActionClassName: o = "text-error" }) => {
63832
+ }, IL = (e) => e === mn.ApiKey ? "Select which account to use with this toolset — personal or organization. If both are configured, personal credentials will be used by default for toolset access." : "Select which account to use with this toolset — personal or organization. If both are configured, personal credentials will be used by default.", LL = ({ item: e, onLogin: t, onRequestLogout: n, onRequestDeleteApiKey: r, texts: i, detailsStyles: a, deleteActionClassName: o = "text-error" }) => {
63795
63833
  let { credentialsDescriptionClassName: s = "dial-body-paragraph-text", credentialsRowLabelClassName: c = "dial-small-semi-text", credentialsRowDescriptionClassName: l = "dial-small-text", credentialsErrorClassName: u = "dial-caption-text", credentialsKeyCardTitleClassName: d = "dial-tiny-semi-text", credentialsKeyCardDescriptionClassName: f = "dial-tiny-text" } = a?.typography ?? {}, p = e.credentials;
63796
63834
  if (p == null) return null;
63797
- let g = (i?.credentialsManagementDescription ?? jL)(p.authenticationType), _ = p.userStatus === hn.SignedIn, v = !_ && p.globalStatus === hn.SignedIn;
63835
+ let g = (i?.credentialsManagementDescription ?? IL)(p.authenticationType), _ = p.userStatus === hn.SignedIn, v = !_ && p.globalStatus === hn.SignedIn;
63798
63836
  return /* @__PURE__ */ L("div", {
63799
63837
  className: "flex flex-col",
63800
63838
  children: [/* @__PURE__ */ I("div", {
63801
63839
  className: "px-6 py-4",
63802
63840
  children: /* @__PURE__ */ I("div", {
63803
- className: z("rounded-xl p-3", kL.surface),
63841
+ className: z("rounded-xl p-3", PL.surface),
63804
63842
  children: /* @__PURE__ */ I(xy, {
63805
63843
  item: e,
63806
63844
  iconSize: 40,
@@ -63810,11 +63848,11 @@ var GF = {
63810
63848
  }), /* @__PURE__ */ L("div", {
63811
63849
  className: "flex flex-col gap-5 px-6 py-4",
63812
63850
  children: [/* @__PURE__ */ I("span", {
63813
- className: z(s, kL.description),
63851
+ className: z(s, PL.description),
63814
63852
  children: g
63815
63853
  }), /* @__PURE__ */ L("div", {
63816
63854
  className: "flex flex-col",
63817
- children: [/* @__PURE__ */ I(AL, {
63855
+ children: [/* @__PURE__ */ I(FL, {
63818
63856
  item: e,
63819
63857
  level: gn.User,
63820
63858
  label: i?.personalCredentialsLabel ?? "Personal credentials",
@@ -63838,7 +63876,7 @@ var GF = {
63838
63876
  keyCardTitleClassName: d,
63839
63877
  keyCardDescriptionClassName: f,
63840
63878
  deleteActionClassName: o
63841
- }), /* @__PURE__ */ I(AL, {
63879
+ }), /* @__PURE__ */ I(FL, {
63842
63880
  item: e,
63843
63881
  level: gn.Global,
63844
63882
  label: i?.organizationCredentialsLabel ?? "Organization credentials",
@@ -63866,16 +63904,16 @@ var GF = {
63866
63904
  })]
63867
63905
  })]
63868
63906
  });
63869
- }, NL = {
63907
+ }, RL = {
63870
63908
  skeletonColor: "var(--cat-details-skeleton, var(--bg-control-disable-primary, #dce0e8))",
63871
63909
  backdrop: "_backdrop_16ka5_2",
63872
63910
  panel: "_panel_16ka5_6",
63873
63911
  divider: "_divider_16ka5_11",
63874
63912
  content: "_content_16ka5_15",
63875
63913
  publishTitle: "_publishTitle_16ka5_20"
63876
- }, PL = /* @__PURE__ */ function(e) {
63914
+ }, zL = /* @__PURE__ */ function(e) {
63877
63915
  return e.Idle = "idle", e.Loading = "loading", e.Resolved = "resolved", e.Unknown = "unknown", e;
63878
- }({}), FL = { divider: "_divider_nhloi_1" }, IL = 16, LL = ({ item: e, level: t, status: n, apiKeyAddedWhen: r, onLogin: i, onLogout: a, onClose: o, texts: s, deleteActionClassName: c = "text-error" }) => {
63916
+ }({}), BL = { divider: "_divider_nhloi_1" }, VL = 16, HL = ({ item: e, level: t, status: n, apiKeyAddedWhen: r, onLogin: i, onLogout: a, onClose: o, texts: s, deleteActionClassName: c = "text-error" }) => {
63879
63917
  let [l, u] = F(""), [d, f] = F(!1), [p, m] = F(!1), [g, _] = F(!1), v = n === hn.SignedIn, y = N((e) => {
63880
63918
  u(e ?? ""), f(!1);
63881
63919
  }, []), b = N(async () => {
@@ -63921,7 +63959,7 @@ var GF = {
63921
63959
  children: S
63922
63960
  })
63923
63961
  }),
63924
- /* @__PURE__ */ I("div", { className: z("mx-4 h-px", FL.divider) }),
63962
+ /* @__PURE__ */ I("div", { className: z("mx-4 h-px", BL.divider) }),
63925
63963
  !v && /* @__PURE__ */ L("div", {
63926
63964
  className: "flex animate-fadeIn flex-col gap-1 px-4 py-3.5",
63927
63965
  children: [/* @__PURE__ */ L("div", {
@@ -63940,7 +63978,7 @@ var GF = {
63940
63978
  label: p ? void 0 : C,
63941
63979
  "aria-label": p ? T : void 0,
63942
63980
  iconBefore: p ? /* @__PURE__ */ I(De, {
63943
- size: IL,
63981
+ size: VL,
63944
63982
  ariaLabel: T
63945
63983
  }) : void 0,
63946
63984
  onClick: b,
@@ -63953,7 +63991,7 @@ var GF = {
63953
63991
  }),
63954
63992
  v && /* @__PURE__ */ I("div", {
63955
63993
  className: "animate-fadeIn px-4 py-3.5",
63956
- children: /* @__PURE__ */ I(SL, {
63994
+ children: /* @__PURE__ */ I(DL, {
63957
63995
  icon: /* @__PURE__ */ I(Ot, {
63958
63996
  size: 20,
63959
63997
  "aria-hidden": !0,
@@ -63965,7 +64003,7 @@ var GF = {
63965
64003
  label: g ? void 0 : w,
63966
64004
  "aria-label": g ? E : void 0,
63967
64005
  iconBefore: g ? /* @__PURE__ */ I(De, {
63968
- size: IL,
64006
+ size: VL,
63969
64007
  ariaLabel: E
63970
64008
  }) : void 0,
63971
64009
  className: c,
@@ -63976,7 +64014,7 @@ var GF = {
63976
64014
  })
63977
64015
  ]
63978
64016
  });
63979
- }, RL = { name: "_name_gfs1p_1" }, zL = (e) => e.isMyApp === !0, BL = ({ item: e, onShare: t, shareOverlay: n, isShareVisible: r, label: i = "Share" }) => {
64017
+ }, UL = { name: "_name_gfs1p_1" }, WL = (e) => e.isMyApp === !0, GL = ({ item: e, onShare: t, shareOverlay: n, isShareVisible: r, label: i = "Share" }) => {
63980
64018
  let [a, o] = F(!1), s = N(() => {
63981
64019
  if (n) {
63982
64020
  o((e) => !e);
@@ -63988,7 +64026,7 @@ var GF = {
63988
64026
  t,
63989
64027
  n
63990
64028
  ]);
63991
- if (!zL(e) || r && !r(e)) return null;
64029
+ if (!WL(e) || r && !r(e)) return null;
63992
64030
  let c = /* @__PURE__ */ I(de, {
63993
64031
  label: i,
63994
64032
  iconBefore: /* @__PURE__ */ I(Lt, {
@@ -64013,14 +64051,14 @@ var GF = {
64013
64051
  renderOverlay: () => n(e, () => o(!1)),
64014
64052
  children: c
64015
64053
  }) : c;
64016
- }, VL = (e) => e === mn.ApiKey ? "Manage API keys" : "Manage credentials", HL = {
64054
+ }, KL = (e) => e === mn.ApiKey ? "Manage API keys" : "Manage credentials", qL = {
64017
64055
  [un.LimitReached]: "bg-error text-error",
64018
64056
  [un.RunningLow]: "bg-warning text-warning"
64019
- }, UL = ({ status: e, label: t }) => /* @__PURE__ */ I("div", {
64020
- className: z("flex h-[24px] items-center justify-center gap-1 whitespace-nowrap rounded-2xl px-2", "dial-caption-lead-semi-text", HL[e]),
64057
+ }, JL = ({ status: e, label: t }) => /* @__PURE__ */ I("div", {
64058
+ className: z("flex h-[24px] items-center justify-center gap-1 whitespace-nowrap rounded-2xl px-2", "dial-caption-lead-semi-text", qL[e]),
64021
64059
  children: t
64022
- }), WL = ({ item: e, onUseInChat: t, isPrimaryActionVisible: n, onShare: r, shareOverlay: i, isShareVisible: a, isSharePrimary: o, onEdit: s, onDownload: c, isDownloadVisible: l, isDownloadPrimary: u, onDelete: d, onUnshare: f, isUnshareVisible: p, onRevokeShare: g, onFetchRecipientsCount: _, isRevokeShareVisible: v, onLogin: y, onLogout: b, onOpenCredentialsManagement: x, onRequestLogout: S, texts: C, detailsStyles: w, isPublishVisible: T, isPublishPrimary: E, onOpenPublish: O, isUnpublishVisible: ee, hasPublishedFolders: te = !1, onRequestPublishHistory: k, onOpenUnpublish: ne, isReadonly: ie = !1 }) => {
64023
- let { nameClassName: ae = "dial-body-semi-text", folderLabelClassName: A = "dial-tiny-text", folderLeafClassName: j = "dial-tiny-semi-text" } = w?.typography ?? {}, oe = e.details?.limits?.status, se = oe == null ? void 0 : /* @__PURE__ */ I(UL, {
64060
+ }), YL = ({ item: e, onUseInChat: t, isPrimaryActionVisible: n, onShare: r, shareOverlay: i, isShareVisible: a, isSharePrimary: o, onEdit: s, onDownload: c, isDownloadVisible: l, isDownloadPrimary: u, onDelete: d, onUnshare: f, isUnshareVisible: p, onRevokeShare: g, onFetchRecipientsCount: _, isRevokeShareVisible: v, onLogin: y, onLogout: b, onOpenCredentialsManagement: x, onRequestLogout: S, texts: C, detailsStyles: w, isPublishVisible: T, isPublishPrimary: E, onOpenPublish: O, isUnpublishVisible: ee, hasPublishedFolders: te = !1, onRequestPublishHistory: k, onOpenUnpublish: ne, isReadonly: ie = !1 }) => {
64061
+ let { nameClassName: ae = "dial-body-semi-text", folderLabelClassName: A = "dial-tiny-text", folderLeafClassName: j = "dial-tiny-semi-text" } = w?.typography ?? {}, oe = e.details?.limits?.status, se = oe == null ? void 0 : /* @__PURE__ */ I(JL, {
64024
64062
  status: oe,
64025
64063
  label: oe === un.LimitReached ? C?.limitReachedLabel ?? "Limit reached" : C?.limitRunningLowLabel ?? "Running low"
64026
64064
  }), ce = N(() => {
@@ -64071,21 +64109,21 @@ var GF = {
64071
64109
  d?.(e);
64072
64110
  }, [e, d]), we = N(() => {
64073
64111
  g?.(e);
64074
- }, [e, g]), [Te, Ee] = F(PL.Idle), [Oe, ke] = F(void 0), Ae = $e(null);
64112
+ }, [e, g]), [Te, Ee] = F(zL.Idle), [Oe, ke] = F(void 0), Ae = $e(null);
64075
64113
  Ye(() => {
64076
- Ae.current = null, Ee(PL.Idle), ke(void 0);
64114
+ Ae.current = null, Ee(zL.Idle), ke(void 0);
64077
64115
  }, [e.id]);
64078
64116
  let je = N(() => {
64079
64117
  if (!_ || Ae.current === e.id || !g || e.isMyApp !== !0 || v?.(e) === !1) return;
64080
64118
  let t = e.id;
64081
- Ae.current = t, Ee(PL.Loading), (async () => {
64119
+ Ae.current = t, Ee(zL.Loading), (async () => {
64082
64120
  try {
64083
64121
  let n = await _(e);
64084
64122
  if (Ae.current !== t) return;
64085
- ke(n), Ee(n == null ? PL.Unknown : PL.Resolved);
64123
+ ke(n), Ee(n == null ? zL.Unknown : zL.Resolved);
64086
64124
  } catch {
64087
64125
  if (Ae.current !== t) return;
64088
- ke(void 0), Ee(PL.Unknown);
64126
+ ke(void 0), Ee(zL.Unknown);
64089
64127
  }
64090
64128
  })();
64091
64129
  }, [
@@ -64099,7 +64137,7 @@ var GF = {
64099
64137
  je(), k?.();
64100
64138
  }, [je, k]), Pe = N(() => {
64101
64139
  k?.();
64102
- }, [k]), Fe = C?.hasPrimaryAction !== !1 && (n?.(e) ?? (e.type === xa.Model || e.type === xa.Agent || e.type === xa.Prompt)), Ie = !ie && !!ne && te && (ee?.(e) ?? !0), Le = !ie && !Ie && (T?.(e) ?? (e.type === xa.Model || e.type === xa.Toolset || e.type === xa.Agent)), Re = !ie && !!s && !!e.isEditable, ze = !ie && e.isMyApp === !0 && (a?.(e) ?? !0), Be = o?.(e) ?? !0, Ve = E?.(e) ?? !1, He = e.credentials?.authenticationType ?? mn.None, Ue = e.credentials != null && He !== mn.None ? XF(e.credentials) : void 0, We = !ie && Ue != null && (!!y || !!b), Ge = e.type === xa.Toolset && We, Ke = !!c && (l?.(e) ?? !0), qe = Ke && !Ge && (u?.(e) ?? e.type === xa.Skill), Je = Ke && !qe, Xe = !ie && e.isMyApp, Ze = !ie && !!f && e.isMyApp !== !0 && e.sharedWithMe === !0 && (p?.(e) ?? !0), Qe = !ie && !!g && e.isMyApp === !0 && (!_ || Te === PL.Unknown || Te === PL.Resolved && (Oe ?? 0) > 0) && (v?.(e) ?? !0), tt = P(() => {
64140
+ }, [k]), Fe = C?.hasPrimaryAction !== !1 && (n?.(e) ?? (e.type === xa.Model || e.type === xa.Agent || e.type === xa.Prompt)), Ie = !ie && !!ne && te && (ee?.(e) ?? !0), Le = !ie && !Ie && (T?.(e) ?? (e.type === xa.Model || e.type === xa.Toolset || e.type === xa.Agent)), Re = !ie && !!s && !!e.isEditable, ze = !ie && e.isMyApp === !0 && (a?.(e) ?? !0), Be = o?.(e) ?? !0, Ve = E?.(e) ?? !1, He = e.credentials?.authenticationType ?? mn.None, Ue = e.credentials != null && He !== mn.None ? XF(e.credentials) : void 0, We = !ie && Ue != null && (!!y || !!b), Ge = e.type === xa.Toolset && We, Ke = !!c && (l?.(e) ?? !0), qe = Ke && !Ge && (u?.(e) ?? e.type === xa.Skill), Je = Ke && !qe, Xe = !ie && e.isMyApp, Ze = !ie && !!f && e.isMyApp !== !0 && e.sharedWithMe === !0 && (p?.(e) ?? !0), Qe = !ie && !!g && e.isMyApp === !0 && (!_ || Te === zL.Unknown || Te === zL.Resolved && (Oe ?? 0) > 0) && (v?.(e) ?? !0), tt = P(() => {
64103
64141
  let e = [];
64104
64142
  if (!Be && ze && e.push({
64105
64143
  key: "share",
@@ -64227,7 +64265,7 @@ var GF = {
64227
64265
  y,
64228
64266
  x,
64229
64267
  S
64230
- ]), ut = Ue === _n.ManageCredentials ? (C?.manageCredentialsActionLabel ?? VL)(He) : He === mn.ApiKey ? Ue === _n.LogOut ? C?.changeApiKeyActionLabel ?? "Change API key" : C?.apiKeyActionLabel ?? "API key" : Ue === _n.LogOut ? C?.logoutActionLabel ?? "Log out" : C?.loginActionLabel ?? "Log in", dt = Ue === _n.ManageCredentials || He === mn.ApiKey ? /* @__PURE__ */ I(Ot, {
64268
+ ]), ut = Ue === _n.ManageCredentials ? (C?.manageCredentialsActionLabel ?? KL)(He) : He === mn.ApiKey ? Ue === _n.LogOut ? C?.changeApiKeyActionLabel ?? "Change API key" : C?.apiKeyActionLabel ?? "API key" : Ue === _n.LogOut ? C?.logoutActionLabel ?? "Log out" : C?.loginActionLabel ?? "Log in", dt = Ue === _n.ManageCredentials || He === mn.ApiKey ? /* @__PURE__ */ I(Ot, {
64231
64269
  size: m.MD,
64232
64270
  stroke: h
64233
64271
  }) : Ue === _n.LogOut ? /* @__PURE__ */ I(Mt, {
@@ -64259,7 +64297,7 @@ var GF = {
64259
64297
  onOpenChange: rt,
64260
64298
  trigger: [],
64261
64299
  outsideClosable: !0,
64262
- renderOverlay: () => /* @__PURE__ */ I(LL, {
64300
+ renderOverlay: () => /* @__PURE__ */ I(HL, {
64263
64301
  item: e,
64264
64302
  level: gn.User,
64265
64303
  status: e.credentials?.userStatus,
@@ -64277,7 +64315,7 @@ var GF = {
64277
64315
  children: [/* @__PURE__ */ I(xy, {
64278
64316
  item: e,
64279
64317
  iconSize: 52,
64280
- nameClassName: z(ae, RL.name),
64318
+ nameClassName: z(ae, UL.name),
64281
64319
  featuredLabel: C?.featuredLabel ?? "Featured",
64282
64320
  statusBadge: se,
64283
64321
  footer: e.folder.length > 0 ? /* @__PURE__ */ I(re, {
@@ -64314,7 +64352,7 @@ var GF = {
64314
64352
  className: "sr-only",
64315
64353
  children: C?.downloadingStatusLabel ?? "Downloading"
64316
64354
  })] }),
64317
- Be && ze && /* @__PURE__ */ I(BL, {
64355
+ Be && ze && /* @__PURE__ */ I(GL, {
64318
64356
  item: e,
64319
64357
  onShare: r,
64320
64358
  shareOverlay: i,
@@ -64376,7 +64414,7 @@ var GF = {
64376
64414
  ]
64377
64415
  })]
64378
64416
  });
64379
- }, GL = ({ topics: e, content: t, detailsStyles: n }) => {
64417
+ }, XL = ({ topics: e, content: t, detailsStyles: n }) => {
64380
64418
  let r = n?.typography?.contentHeadingClassName ?? "dial-small-semi-text", i = n?.typography?.contentClassName ?? "dial-small-text";
64381
64419
  return /* @__PURE__ */ L("div", {
64382
64420
  className: "flex flex-col gap-5",
@@ -64395,21 +64433,21 @@ var GF = {
64395
64433
  }
64396
64434
  }), e && e.length > 0 && /* @__PURE__ */ I("div", {
64397
64435
  className: "flex flex-wrap gap-2",
64398
- children: e.map((e) => /* @__PURE__ */ I(pI, { label: e }, e))
64436
+ children: e.map((e) => /* @__PURE__ */ I(vI, { label: e }, e))
64399
64437
  })]
64400
64438
  });
64401
- }, KL = {
64439
+ }, ZL = {
64402
64440
  divider: "_divider_1gzl9_1",
64403
64441
  fileCount: "_fileCount_1gzl9_5",
64404
64442
  body: "_body_1gzl9_9"
64405
- }, qL = (e, t, n = void 0) => e.flatMap((e) => {
64443
+ }, QL = (e, t, n = void 0) => e.flatMap((e) => {
64406
64444
  let r = {
64407
64445
  node: e,
64408
64446
  parentId: n
64409
64447
  };
64410
- return e.type === Sn.File || !t.has(e.id) ? [r] : [r, ...qL(e.items, t, e.id)];
64411
- }), JL = ({ nodes: e, selectedFileId: t, expandedFolderIds: n, onToggleFolder: r, onSelectFile: i, onClose: a, ariaLabel: o = "Select file", rowNameClassName: s = "dial-small-text" }) => {
64412
- let c = P(() => qL(e, n), [e, n]), l = $e({}), [u, d] = F(() => t ?? c[0]?.node.id);
64448
+ return e.type === Sn.File || !t.has(e.id) ? [r] : [r, ...QL(e.items, t, e.id)];
64449
+ }), $L = ({ nodes: e, selectedFileId: t, expandedFolderIds: n, onToggleFolder: r, onSelectFile: i, onClose: a, ariaLabel: o = "Select file", rowNameClassName: s = "dial-small-text" }) => {
64450
+ let c = P(() => QL(e, n), [e, n]), l = $e({}), [u, d] = F(() => t ?? c[0]?.node.id);
64413
64451
  Ye(() => {
64414
64452
  u != null && l.current[u]?.focus();
64415
64453
  }, []);
@@ -64508,8 +64546,8 @@ var GF = {
64508
64546
  onKeyDown: p,
64509
64547
  children: e.map((e) => _(e))
64510
64548
  });
64511
- }, YL = () => void 0, XL = ({ content: e, description: t, files: n, selectedFileId: r, onSelectFile: i, isFileLoading: a = !1, expandedFolderIds: o = /* @__PURE__ */ new Set(), onToggleFolder: s = YL, isFileSelectorOpen: c = !1, onFileSelectorOpenChange: l = YL, fileSelectorAriaLabel: u = "Select file", fileCountLabel: d = (e) => `${e} files`, fileLoadingLabel: f = "Loading file", fileUnsupportedLabel: p = "Preview is not supported for this file", filePreview: m, filePreviewContent: h, detailsStyles: g }) => {
64512
- let _ = g?.typography?.contentClassName ?? "dial-small-text", v = g?.typography?.contentHeadingClassName ?? "dial-small-semi-text", y = g?.typography?.contentFileCountClassName ?? "dial-tiny-text", b = t != null && t !== "", x = n ?? [], S = tL(x) > 1, C = rL(x, r) ?? "", w = (e) => {
64549
+ }, eR = () => void 0, tR = ({ content: e, description: t, files: n, selectedFileId: r, onSelectFile: i, isFileLoading: a = !1, expandedFolderIds: o = /* @__PURE__ */ new Set(), onToggleFolder: s = eR, isFileSelectorOpen: c = !1, onFileSelectorOpenChange: l = eR, fileSelectorAriaLabel: u = "Select file", fileCountLabel: d = (e) => `${e} files`, fileLoadingLabel: f = "Loading file", fileUnsupportedLabel: p = "Preview is not supported for this file", filePreview: m, filePreviewContent: h, detailsStyles: g }) => {
64550
+ let _ = g?.typography?.contentClassName ?? "dial-small-text", v = g?.typography?.contentHeadingClassName ?? "dial-small-semi-text", y = g?.typography?.contentFileCountClassName ?? "dial-tiny-text", b = t != null && t !== "", x = n ?? [], S = oL(x) > 1, C = cL(x, r) ?? "", w = (e) => {
64513
64551
  i?.(e), l(!1);
64514
64552
  }, T = a ? {
64515
64553
  type: Cn.Text,
@@ -64530,7 +64568,7 @@ var GF = {
64530
64568
  matchReferenceWidth: !1,
64531
64569
  listClassName: "w-[280px]",
64532
64570
  placement: "bottom-start",
64533
- renderOverlay: () => /* @__PURE__ */ I(JL, {
64571
+ renderOverlay: () => /* @__PURE__ */ I($L, {
64534
64572
  nodes: x,
64535
64573
  selectedFileId: r,
64536
64574
  expandedFolderIds: o,
@@ -64547,16 +64585,16 @@ var GF = {
64547
64585
  onClick: () => l(!c)
64548
64586
  })
64549
64587
  }), /* @__PURE__ */ I("span", {
64550
- className: z("shrink-0", y, KL.fileCount),
64551
- children: d(tL(x))
64588
+ className: z("shrink-0", y, ZL.fileCount),
64589
+ children: d(oL(x))
64552
64590
  })]
64553
64591
  }),
64554
64592
  b && /* @__PURE__ */ L(et, { children: [/* @__PURE__ */ I("p", {
64555
64593
  className: z("m-0", _),
64556
64594
  children: t
64557
- }), /* @__PURE__ */ I("div", { className: z("shrink-0", KL.divider) })] }),
64595
+ }), /* @__PURE__ */ I("div", { className: z("shrink-0", ZL.divider) })] }),
64558
64596
  /* @__PURE__ */ L("div", {
64559
- className: z("min-h-0 flex-1 text-start", h == null ? "overflow-auto break-words" : "overflow-hidden", h == null && KL.body, h == null && _),
64597
+ className: z("min-h-0 flex-1 text-start", h == null ? "overflow-auto break-words" : "overflow-hidden", h == null && ZL.body, h == null && _),
64560
64598
  children: [a && /* @__PURE__ */ I("span", {
64561
64599
  role: "status",
64562
64600
  className: "sr-only",
@@ -64587,12 +64625,12 @@ var GF = {
64587
64625
  })
64588
64626
  ]
64589
64627
  });
64590
- }, ZL = new Intl.NumberFormat(void 0, { maximumFractionDigits: 2 }), QL = /* @__PURE__ */ function(e) {
64628
+ }, nR = new Intl.NumberFormat(void 0, { maximumFractionDigits: 2 }), rR = /* @__PURE__ */ function(e) {
64591
64629
  return e.Default = "default", e.Warning = "warning", e.Danger = "danger", e;
64592
- }({}), $L = (e) => !Number.isFinite(e.used) || !Number.isFinite(e.total) ? 0 : Math.min(Math.max(e.used, 0), Math.max(e.total, 0)), eR = (e) => Number.isFinite(e) && e > 0 ? e : 1, tR = ({ used: e, total: t, valueLabel: n }) => n ?? `${ZL.format(e)} / ${ZL.format(t)}`, nR = ({ total: e }) => Number.isFinite(e) && e > 0, rR = (e) => e.isUnlimited !== !0 && nR(e), iR = (e) => nR(e) ? Math.max(e.used, 0) / e.total : 0, aR = (e) => {
64593
- let t = iR(e);
64630
+ }({}), iR = (e) => !Number.isFinite(e.used) || !Number.isFinite(e.total) ? 0 : Math.min(Math.max(e.used, 0), Math.max(e.total, 0)), aR = (e) => Number.isFinite(e) && e > 0 ? e : 1, oR = ({ used: e, total: t, valueLabel: n }) => n ?? `${nR.format(e)} / ${nR.format(t)}`, sR = ({ total: e }) => Number.isFinite(e) && e > 0, cR = (e) => e.isUnlimited !== !0 && sR(e), lR = (e) => sR(e) ? Math.max(e.used, 0) / e.total : 0, uR = (e) => {
64631
+ let t = lR(e);
64594
64632
  return t >= 1 ? "danger" : t >= .75 ? "warning" : "default";
64595
- }, oR = {
64633
+ }, dR = {
64596
64634
  sectionHeading: "_sectionHeading_ltnqp_1",
64597
64635
  label: "_label_ltnqp_5",
64598
64636
  valuePrimary: "_valuePrimary_ltnqp_9",
@@ -64601,58 +64639,58 @@ var GF = {
64601
64639
  progressFillDefault: "_progressFillDefault_ltnqp_24",
64602
64640
  progressFillWarning: "_progressFillWarning_ltnqp_28",
64603
64641
  progressFillDanger: "_progressFillDanger_ltnqp_32"
64604
- }, sR = ({ row: e, labelClassName: t, captionClassName: n, valueClassName: r, noteValueClassName: i, noteClassName: a }) => {
64605
- let o = tR(e);
64642
+ }, fR = ({ row: e, labelClassName: t, captionClassName: n, valueClassName: r, noteValueClassName: i, noteClassName: a }) => {
64643
+ let o = oR(e);
64606
64644
  return /* @__PURE__ */ L("li", {
64607
- className: z("flex items-center justify-between gap-5 border-b py-4 first:pt-0 last:border-b-0 last:pb-0", oR.divider),
64645
+ className: z("flex items-center justify-between gap-5 border-b py-4 first:pt-0 last:border-b-0 last:pb-0", dR.divider),
64608
64646
  children: [/* @__PURE__ */ L("div", {
64609
64647
  className: "flex min-w-0 flex-1 flex-col",
64610
64648
  children: [/* @__PURE__ */ I("span", {
64611
- className: z("break-words", t, oR.label),
64649
+ className: z("break-words", t, dR.label),
64612
64650
  children: e.label
64613
64651
  }), e.captionLabel != null && /* @__PURE__ */ I("span", {
64614
- className: z("break-words", n, oR.label),
64652
+ className: z("break-words", n, dR.label),
64615
64653
  children: e.captionLabel
64616
64654
  })]
64617
- }), rR(e) ? /* @__PURE__ */ L("div", {
64655
+ }), cR(e) ? /* @__PURE__ */ L("div", {
64618
64656
  className: "flex w-32 shrink-0 flex-col items-end gap-2",
64619
64657
  children: [/* @__PURE__ */ I("div", {
64620
64658
  className: z("flex gap-1", r),
64621
64659
  children: e.usedLabel != null && e.totalLabel != null ? /* @__PURE__ */ L(et, { children: [/* @__PURE__ */ I("span", {
64622
- className: oR.valuePrimary,
64660
+ className: dR.valuePrimary,
64623
64661
  children: e.usedLabel
64624
64662
  }), /* @__PURE__ */ I("span", {
64625
- className: oR.label,
64663
+ className: dR.label,
64626
64664
  children: ` / ${e.totalLabel}`
64627
64665
  })] }) : /* @__PURE__ */ I("span", {
64628
- className: oR.label,
64666
+ className: dR.label,
64629
64667
  children: o
64630
64668
  })
64631
64669
  }), /* @__PURE__ */ I(ye, {
64632
- value: $L(e),
64633
- max: eR(e.total),
64670
+ value: iR(e),
64671
+ max: aR(e.total),
64634
64672
  size: te.Small,
64635
- className: z("!h-1 w-full", oR.progressTrack, aR(e) === QL.Default && oR.progressFillDefault, aR(e) === QL.Warning && oR.progressFillWarning, aR(e) === QL.Danger && oR.progressFillDanger),
64673
+ className: z("!h-1 w-full", dR.progressTrack, uR(e) === rR.Default && dR.progressFillDefault, uR(e) === rR.Warning && dR.progressFillWarning, uR(e) === rR.Danger && dR.progressFillDanger),
64636
64674
  "aria-label": e.label,
64637
64675
  "aria-valuetext": e.ariaLabel ?? o
64638
64676
  })]
64639
64677
  }) : /* @__PURE__ */ L("div", {
64640
64678
  className: "flex shrink-0 flex-col items-end",
64641
64679
  children: [/* @__PURE__ */ I("span", {
64642
- className: z(i, oR.valuePrimary),
64680
+ className: z(i, dR.valuePrimary),
64643
64681
  children: o
64644
64682
  }), e.noteLabel != null && /* @__PURE__ */ I("span", {
64645
- className: z(a, oR.label),
64683
+ className: z(a, dR.label),
64646
64684
  children: e.noteLabel
64647
64685
  })]
64648
64686
  })]
64649
64687
  });
64650
- }, cR = ({ group: e, sectionClassName: t, labelClassName: n, captionClassName: r, valueClassName: i, noteValueClassName: a, noteClassName: o }) => /* @__PURE__ */ L("section", { children: [/* @__PURE__ */ I("p", {
64651
- className: z("mb-3 mt-0", t, oR.sectionHeading),
64688
+ }, pR = ({ group: e, sectionClassName: t, labelClassName: n, captionClassName: r, valueClassName: i, noteValueClassName: a, noteClassName: o }) => /* @__PURE__ */ L("section", { children: [/* @__PURE__ */ I("p", {
64689
+ className: z("mb-3 mt-0", t, dR.sectionHeading),
64652
64690
  children: e.label
64653
64691
  }), /* @__PURE__ */ I("ul", {
64654
64692
  className: "m-0 flex list-none flex-col p-0",
64655
- children: e.rows.map((e) => /* @__PURE__ */ I(sR, {
64693
+ children: e.rows.map((e) => /* @__PURE__ */ I(fR, {
64656
64694
  row: e,
64657
64695
  labelClassName: n,
64658
64696
  captionClassName: r,
@@ -64660,7 +64698,7 @@ var GF = {
64660
64698
  noteValueClassName: a,
64661
64699
  noteClassName: o
64662
64700
  }, e.label))
64663
- })] }), lR = ({ limits: e, labelClassName: t = "dial-small-semi-text", captionClassName: n = "dial-caption-text", valueClassName: r = "dial-tiny-text", noteValueClassName: i = "dial-tiny-semi-text", noteClassName: a = "dial-caption-text", sectionClassName: o = "dial-caption-text", footerClassName: s = "dial-caption-text", footerNote: c, colors: l }) => {
64701
+ })] }), mR = ({ limits: e, labelClassName: t = "dial-small-semi-text", captionClassName: n = "dial-caption-text", valueClassName: r = "dial-tiny-text", noteValueClassName: i = "dial-tiny-semi-text", noteClassName: a = "dial-caption-text", sectionClassName: o = "dial-caption-text", footerClassName: s = "dial-caption-text", footerNote: c, colors: l }) => {
64664
64702
  let u = e?.groups.filter((e) => e.rows.length > 0);
64665
64703
  return u == null || u.length === 0 ? null : /* @__PURE__ */ L("div", {
64666
64704
  className: "flex flex-col gap-6",
@@ -64674,7 +64712,7 @@ var GF = {
64674
64712
  "--lt-progress-fill-warning": l?.progressFillWarning,
64675
64713
  "--lt-progress-fill-danger": l?.progressFillDanger
64676
64714
  }),
64677
- children: [u.map((e) => /* @__PURE__ */ I(cR, {
64715
+ children: [u.map((e) => /* @__PURE__ */ I(pR, {
64678
64716
  group: e,
64679
64717
  sectionClassName: o,
64680
64718
  labelClassName: t,
@@ -64683,17 +64721,17 @@ var GF = {
64683
64721
  noteValueClassName: i,
64684
64722
  noteClassName: a
64685
64723
  }, e.label)), c != null && /* @__PURE__ */ I("p", {
64686
- className: z("m-0 border-t pt-4", s, oR.divider, oR.label),
64724
+ className: z("m-0 border-t pt-4", s, dR.divider, dR.label),
64687
64725
  children: c
64688
64726
  })]
64689
64727
  });
64690
- }, uR = ({ sections: e, sectionClassName: t, labelClassName: n, valueClassName: r, valueTrueClassName: i, yesLabel: a, noLabel: o }) => e ? /* @__PURE__ */ I("div", {
64728
+ }, hR = ({ sections: e, sectionClassName: t, labelClassName: n, valueClassName: r, valueTrueClassName: i, yesLabel: a, noLabel: o }) => e ? /* @__PURE__ */ I("div", {
64691
64729
  className: "flex flex-col gap-4",
64692
64730
  children: e.map((e, s) => /* @__PURE__ */ L("div", {
64693
64731
  className: "flex flex-col gap-4",
64694
- children: [s > 0 && /* @__PURE__ */ I("div", { className: z("shrink-0 border-b", NL.divider) }), /* @__PURE__ */ I("div", {
64732
+ children: [s > 0 && /* @__PURE__ */ I("div", { className: z("shrink-0 border-b", RL.divider) }), /* @__PURE__ */ I("div", {
64695
64733
  className: "px-6",
64696
- children: /* @__PURE__ */ I(oL, {
64734
+ children: /* @__PURE__ */ I(dL, {
64697
64735
  sectionLabel: e.title,
64698
64736
  values: e.specs,
64699
64737
  sectionClassName: t,
@@ -64705,7 +64743,7 @@ var GF = {
64705
64743
  })
64706
64744
  })]
64707
64745
  }, s))
64708
- }) : null, dR = ({ pricing: e, pricesSectionLabel: t = "Token pricing", limitsSectionLabel: n = "Usage limits", labelClassName: r = "dial-small-semi-text", valueClassName: i = "dial-small-text", sectionClassName: a = "dial-caption-text" }) => {
64746
+ }) : null, gR = ({ pricing: e, pricesSectionLabel: t = "Token pricing", limitsSectionLabel: n = "Usage limits", labelClassName: r = "dial-small-semi-text", valueClassName: i = "dial-small-text", sectionClassName: a = "dial-caption-text" }) => {
64709
64747
  if (e == null) return null;
64710
64748
  let o = e.prices?.map((e) => ({
64711
64749
  label: e.label,
@@ -64716,13 +64754,13 @@ var GF = {
64716
64754
  }));
64717
64755
  return /* @__PURE__ */ L("div", {
64718
64756
  className: "flex flex-col gap-4",
64719
- children: [/* @__PURE__ */ I(oL, {
64757
+ children: [/* @__PURE__ */ I(dL, {
64720
64758
  sectionLabel: t,
64721
64759
  values: o ?? [],
64722
64760
  labelClassName: r,
64723
64761
  valueClassName: i,
64724
64762
  sectionClassName: a
64725
- }), /* @__PURE__ */ I(oL, {
64763
+ }), /* @__PURE__ */ I(dL, {
64726
64764
  sectionLabel: n,
64727
64765
  values: s ?? [],
64728
64766
  labelClassName: r,
@@ -64730,32 +64768,32 @@ var GF = {
64730
64768
  sectionClassName: a
64731
64769
  })]
64732
64770
  });
64733
- }, fR = {
64771
+ }, _R = {
64734
64772
  container: "_container_ddi3i_1",
64735
64773
  header: "_header_ddi3i_5",
64736
64774
  cell: "_cell_ddi3i_10",
64737
64775
  evenRow: "_evenRow_ddi3i_17"
64738
- }, pR = ({ columns: e, rows: t, columnsTemplate: n, headingClassName: r = "dial-caption-lead-semi-text", cellClassName: i = "dial-tiny-text" }) => {
64776
+ }, vR = ({ columns: e, rows: t, columnsTemplate: n, headingClassName: r = "dial-caption-lead-semi-text", cellClassName: i = "dial-tiny-text" }) => {
64739
64777
  let a = n ?? `repeat(${e.length}, 1fr)`;
64740
64778
  return /* @__PURE__ */ L("div", {
64741
- className: z(fR.container, "grid overflow-hidden rounded-md"),
64779
+ className: z(_R.container, "grid overflow-hidden rounded-md"),
64742
64780
  style: { gridTemplateColumns: a },
64743
64781
  children: [e.map((e) => /* @__PURE__ */ I("div", {
64744
- className: z("px-2 py-1 text-start", r, fR.header),
64782
+ className: z("px-2 py-1 text-start", r, _R.header),
64745
64783
  children: e
64746
64784
  }, e)), t.map((e, t) => /* @__PURE__ */ I(Ue, { children: e.map((e, n) => /* @__PURE__ */ I("div", {
64747
- className: z("px-2 py-1.5", i, fR.cell, t % 2 == 1 ? fR.evenRow : void 0),
64785
+ className: z("px-2 py-1.5", i, _R.cell, t % 2 == 1 ? _R.evenRow : void 0),
64748
64786
  children: e
64749
64787
  }, n)) }, t))]
64750
64788
  });
64751
- }, mR = {
64789
+ }, yR = {
64752
64790
  divider: "_divider_1f796_1",
64753
64791
  description: "_description_1f796_5",
64754
64792
  code: "_code_1f796_9"
64755
- }, hR = ({ tools: e, toolNameClassName: t = "dial-small-semi-text", descriptionClassName: n = "dial-small-text", tableHeadingClassName: r = "dial-caption-text", tableCellClassName: i = "dial-tiny-text" }) => e == null ? null : /* @__PURE__ */ I("div", {
64793
+ }, bR = ({ tools: e, toolNameClassName: t = "dial-small-semi-text", descriptionClassName: n = "dial-small-text", tableHeadingClassName: r = "dial-caption-text", tableCellClassName: i = "dial-tiny-text" }) => e == null ? null : /* @__PURE__ */ I("div", {
64756
64794
  className: "flex flex-col",
64757
64795
  children: e.tools.map((e, a) => /* @__PURE__ */ L("div", {
64758
- className: z("flex flex-col gap-3 px-[22px] py-4", a > 0 ? mR.divider : void 0),
64796
+ className: z("flex flex-col gap-3 px-[22px] py-4", a > 0 ? yR.divider : void 0),
64759
64797
  children: [
64760
64798
  /* @__PURE__ */ L("div", {
64761
64799
  className: "flex flex-col gap-1",
@@ -64763,11 +64801,11 @@ var GF = {
64763
64801
  className: t,
64764
64802
  children: e.name
64765
64803
  }), e.description != null && /* @__PURE__ */ I("p", {
64766
- className: z("m-0", n, mR.description),
64804
+ className: z("m-0", n, yR.description),
64767
64805
  children: e.description
64768
64806
  })]
64769
64807
  }),
64770
- e.inputParams != null && e.inputParams.length > 0 && /* @__PURE__ */ I(pR, {
64808
+ e.inputParams != null && e.inputParams.length > 0 && /* @__PURE__ */ I(vR, {
64771
64809
  columns: [
64772
64810
  "Name",
64773
64811
  "Type",
@@ -64776,11 +64814,11 @@ var GF = {
64776
64814
  columnsTemplate: "1fr 1fr auto",
64777
64815
  rows: e.inputParams.map((e) => [
64778
64816
  /* @__PURE__ */ I("code", {
64779
- className: z("text-inherit border-none bg-transparent p-0", mR.code),
64817
+ className: z("text-inherit border-none bg-transparent p-0", yR.code),
64780
64818
  children: e.name
64781
64819
  }, "name"),
64782
64820
  /* @__PURE__ */ I("code", {
64783
- className: z("text-inherit border-none bg-transparent p-0", mR.code),
64821
+ className: z("text-inherit border-none bg-transparent p-0", yR.code),
64784
64822
  children: e.type
64785
64823
  }, "type"),
64786
64824
  e.isRequired ? "✓" : "—"
@@ -64788,10 +64826,10 @@ var GF = {
64788
64826
  headingClassName: r,
64789
64827
  cellClassName: i
64790
64828
  }),
64791
- e.annotations != null && e.annotations.length > 0 && /* @__PURE__ */ I(pR, {
64829
+ e.annotations != null && e.annotations.length > 0 && /* @__PURE__ */ I(vR, {
64792
64830
  columns: ["Key", "Value"],
64793
64831
  rows: e.annotations.map((e) => [/* @__PURE__ */ I("code", {
64794
- className: z("text-inherit border-none bg-transparent p-0", mR.code),
64832
+ className: z("text-inherit border-none bg-transparent p-0", yR.code),
64795
64833
  children: e.key
64796
64834
  }, "key"), e.value]),
64797
64835
  headingClassName: r,
@@ -64799,23 +64837,23 @@ var GF = {
64799
64837
  })
64800
64838
  ]
64801
64839
  }, e.name))
64802
- }), gR = new Set([xa.Prompt, xa.Skill]), _R = (e) => e?.resource?.endpointUrl != null || (e?.endpoints?.length ?? 0) > 0, vR = (e, t) => t == null ? e.length === 1 ? e[0] : void 0 : e.find((e) => e.key === t), yR = async () => void 0, bR = [], xR = [], SR = [
64840
+ }), xR = new Set([xa.Prompt, xa.Skill]), SR = (e) => e?.resource?.endpointUrl != null || (e?.endpoints?.length ?? 0) > 0, CR = (e, t) => t == null ? e.length === 1 ? e[0] : void 0 : e.find((e) => e.key === t), wR = async () => void 0, TR = [], ER = [], DR = [
64803
64841
  "All shared configurations will be lost",
64804
64842
  "Users who rely on it will lose access",
64805
64843
  "Cannot be undone"
64806
- ], CR = [
64844
+ ], OR = [
64807
64845
  "You will lose access to this item",
64808
64846
  "Other people keep their access",
64809
64847
  "You will need a new invitation to get it back"
64810
- ], wR = [
64848
+ ], kR = [
64811
64849
  "Everyone loses access to the published copy",
64812
64850
  "Your own copy is not deleted",
64813
64851
  "You can publish it again later"
64814
- ], TR = [
64852
+ ], AR = [
64815
64853
  "Everyone you shared it with loses access",
64816
64854
  "Existing share links stop working",
64817
64855
  "You keep full access — nothing is deleted"
64818
- ], ER = (e) => e === mn.ApiKey ? "Toolset API keys" : "Toolset credentials", DR = (e) => e === gn.Global ? "Are you sure you want to delete the organization API key?" : "Are you sure you want to delete your personal API key?", OR = new Set([dn.Delete, dn.Unshare]), kR = ({ item: e, isOpen: t, isStarred: n = !1, isDetailsLoading: r = !1, isReadonly: i = !1, onClose: a, onToggleFavorite: o, isFavoriteVisible: c, onUseInChat: l, isPrimaryActionVisible: u, onShare: d, isPublishVisible: f, isPublishPrimary: p, getPublishHistory: m, publishFolderItems: g = bR, publishExpandedPaths: _, onPublishExpandedPathsChange: v, publishLoadingPaths: y, hasPublishWriteAccess: b, onPublish: x, onPublishSuccess: S, onPublishError: C, onCreatePublishFolder: w, publishLabels: T, ruleSourceOptions: E = xR, onFetchExistingRules: D, shareOverlay: O, isShareVisible: ee, isSharePrimary: k, onEdit: ne, onDownload: re, isDownloadVisible: ie, isDownloadPrimary: A, onLoadContentFile: j, onLoadContentFilePreview: oe, renderContentFilePreview: se, onDelete: ce, onUnshare: le, isUnshareVisible: ue, onRevokeShare: de, onFetchRecipientsCount: fe, isRevokeShareVisible: pe, onUnpublish: me, isUnpublishVisible: he, onLogin: ge, onLogout: _e, texts: M, styles: ve, limitsFooterNote: ye }) => {
64856
+ ], jR = (e) => e === mn.ApiKey ? "Toolset API keys" : "Toolset credentials", MR = (e) => e === gn.Global ? "Are you sure you want to delete the organization API key?" : "Are you sure you want to delete your personal API key?", NR = new Set([dn.Delete, dn.Unshare]), PR = ({ item: e, isOpen: t, isStarred: n = !1, isDetailsLoading: r = !1, isReadonly: i = !1, onClose: a, onToggleFavorite: o, isFavoriteVisible: c, onUseInChat: l, isPrimaryActionVisible: u, onShare: d, isPublishVisible: f, isPublishPrimary: p, getPublishHistory: m, publishFolderItems: g = TR, publishExpandedPaths: _, onPublishExpandedPathsChange: v, publishLoadingPaths: y, hasPublishWriteAccess: b, onPublish: x, onPublishSuccess: S, onPublishError: C, onCreatePublishFolder: w, publishLabels: T, ruleSourceOptions: E = ER, onFetchExistingRules: D, shareOverlay: O, isShareVisible: ee, isSharePrimary: k, onEdit: ne, onDownload: re, isDownloadVisible: ie, isDownloadPrimary: A, onLoadContentFile: j, onLoadContentFilePreview: oe, renderContentFilePreview: se, onDelete: ce, onUnshare: le, isUnshareVisible: ue, onRevokeShare: de, onFetchRecipientsCount: fe, isRevokeShareVisible: pe, onUnpublish: me, isUnpublishVisible: he, onLogin: ge, onLogout: _e, texts: M, styles: ve, limitsFooterNote: ye }) => {
64819
64857
  let { subViewTitleClassName: xe = "dial-body-semi-text", overviewSectionClassName: Se = "dial-caption-text", overviewLabelClassName: Ce = "dial-small-semi-text", overviewValueClassName: Te = "dial-small-text", overviewValueTrueClassName: Ee = "dial-small-text", confirmMessageClassName: De = "dial-small-text" } = ve?.typography ?? {}, Oe = ve?.colors, Ae = es({
64820
64858
  "--cat-details-backdrop": Oe?.backdrop,
64821
64859
  "--cat-details-bg": Oe?.background,
@@ -64857,7 +64895,7 @@ var GF = {
64857
64895
  t != null && t !== n && t.startsWith("blob:") && URL.revokeObjectURL(t), at.current = n, Xe(e);
64858
64896
  }, []);
64859
64897
  Ye(() => {
64860
- ot.current += 1, st(null), Qe(!1), nt(nL(Ke?.files ?? [])), it(!1);
64898
+ ot.current += 1, st(null), Qe(!1), nt(sL(Ke?.files ?? [])), it(!1);
64861
64899
  }, [e.id, qe]), Ye(() => () => {
64862
64900
  let e = at.current;
64863
64901
  e != null && e.startsWith("blob:") && URL.revokeObjectURL(e);
@@ -64916,7 +64954,7 @@ var GF = {
64916
64954
  ]), dt = Je?.id ?? qe, ft = () => Je == null ? null : Je.preview == null ? {
64917
64955
  type: Cn.Text,
64918
64956
  text: M?.contentFileErrorLabel ?? "Failed to load this file."
64919
- } : Je.preview, pt = Je != null && se != null ? se(Je.id, rL(Ke?.files ?? [], Je.id) ?? "") : void 0, mt = N(() => {
64957
+ } : Je.preview, pt = Je != null && se != null ? se(Je.id, cL(Ke?.files ?? [], Je.id) ?? "") : void 0, mt = N(() => {
64920
64958
  if (!m || Ge.current === e.id) return;
64921
64959
  let t = e.id;
64922
64960
  Ge.current = t, Be(!0), He(!1), (async () => {
@@ -64935,17 +64973,17 @@ var GF = {
64935
64973
  }, [Fe, mt]);
64936
64974
  let ht = N((e, t) => {
64937
64975
  Ge.current = null, We(!1), mt(), S?.(e, t);
64938
- }, [mt, S]), gt = wI({
64976
+ }, [mt, S]), gt = kI({
64939
64977
  item: e,
64940
64978
  history: Le,
64941
64979
  folderItems: g,
64942
64980
  hasWriteAccess: b,
64943
64981
  onCreateFolder: w,
64944
- onPublish: x ?? yR,
64982
+ onPublish: x ?? wR,
64945
64983
  onPublishSuccess: ht,
64946
64984
  onPublishError: C,
64947
64985
  onFetchExistingRules: D
64948
- }), _t = P(() => xI({
64986
+ }), _t = P(() => EI({
64949
64987
  hasSelectedFolder: gt.selectedFolderPath != null,
64950
64988
  hasExistingPublicationInFolder: gt.hasExistingPublicationInFolder,
64951
64989
  hasWriteAccess: gt.hasWriteAccess,
@@ -65008,12 +65046,12 @@ var GF = {
65008
65046
  wt != null && await _e?.(e, { level: wt });
65009
65047
  break;
65010
65048
  case dn.Unpublish: {
65011
- let t = vR(It, Ot);
65049
+ let t = CR(It, Ot);
65012
65050
  t != null && await me?.(e, t.segments);
65013
65051
  break;
65014
65052
  }
65015
65053
  }
65016
- xt(null), Tt(null), Dt(null), kt(null), OR.has(bt) && a();
65054
+ xt(null), Tt(null), Dt(null), kt(null), NR.has(bt) && a();
65017
65055
  } catch {
65018
65056
  xt(null), Tt(null), Dt(null), kt(null);
65019
65057
  } finally {
@@ -65065,7 +65103,7 @@ var GF = {
65065
65103
  e.id,
65066
65104
  o
65067
65105
  ]), qt = P(() => {
65068
- let t = [], n = gR.has(e.type);
65106
+ let t = [], n = xR.has(e.type);
65069
65107
  return n || t.push({
65070
65108
  id: ln.About,
65071
65109
  label: M?.tabAboutLabel ?? "About"
@@ -65084,7 +65122,7 @@ var GF = {
65084
65122
  }), e.details?.tools != null && t.push({
65085
65123
  id: ln.Tools,
65086
65124
  label: M?.tabToolsLabel ?? "Tools"
65087
- }), _R(e.details?.api) && t.push({
65125
+ }), SR(e.details?.api) && t.push({
65088
65126
  id: ln.Api,
65089
65127
  label: M?.tabConnectLabel ?? "Connect"
65090
65128
  }), t;
@@ -65108,7 +65146,7 @@ var GF = {
65108
65146
  /* @__PURE__ */ I("strong", { children: e.name }),
65109
65147
  "? This action is permanent and cannot be undone."
65110
65148
  ] }),
65111
- consequences: M?.deleteConfirmConsequences ?? SR,
65149
+ consequences: M?.deleteConfirmConsequences ?? DR,
65112
65150
  confirmLabel: t,
65113
65151
  loadingStatusLabel: M?.deletingStatusLabel ?? "Deleting",
65114
65152
  variant: fn.Danger
@@ -65123,7 +65161,7 @@ var GF = {
65123
65161
  /* @__PURE__ */ I("strong", { children: e.name }),
65124
65162
  " from your list? You'll need a new invitation to access it again."
65125
65163
  ] }),
65126
- consequences: M?.unshareConfirmConsequences ?? CR,
65164
+ consequences: M?.unshareConfirmConsequences ?? OR,
65127
65165
  confirmLabel: t,
65128
65166
  loadingStatusLabel: M?.unsharingStatusLabel ?? "Removing",
65129
65167
  variant: fn.Info
@@ -65138,7 +65176,7 @@ var GF = {
65138
65176
  /* @__PURE__ */ I("strong", { children: e.name }),
65139
65177
  "? Anyone you shared it with will lose access."
65140
65178
  ] }),
65141
- consequences: M?.revokeShareConfirmConsequences ?? TR,
65179
+ consequences: M?.revokeShareConfirmConsequences ?? AR,
65142
65180
  confirmLabel: t,
65143
65181
  loadingStatusLabel: M?.revokingShareStatusLabel ?? "Revoking access",
65144
65182
  variant: fn.Danger
@@ -65159,7 +65197,7 @@ var GF = {
65159
65197
  return {
65160
65198
  title: M?.unpublishConfirmTitle ?? t,
65161
65199
  message: n ? i : a,
65162
- consequences: M?.unpublishConfirmConsequences ?? wR,
65200
+ consequences: M?.unpublishConfirmConsequences ?? kR,
65163
65201
  confirmLabel: t,
65164
65202
  loadingStatusLabel: M?.unpublishingStatusLabel ?? "Requesting unpublish",
65165
65203
  variant: fn.Danger
@@ -65180,7 +65218,7 @@ var GF = {
65180
65218
  let e = M?.deleteActionLabel ?? "Delete", t = wt ?? gn.User;
65181
65219
  return {
65182
65220
  title: e,
65183
- message: (M?.deleteApiKeyConfirmMessage ?? DR)(t),
65221
+ message: (M?.deleteApiKeyConfirmMessage ?? MR)(t),
65184
65222
  consequences: void 0,
65185
65223
  confirmLabel: e,
65186
65224
  loadingStatusLabel: M?.deletingStatusLabel ?? "Deleting",
@@ -65197,7 +65235,7 @@ var GF = {
65197
65235
  M,
65198
65236
  It,
65199
65237
  Rt
65200
- ]), an = rn != null, on = bt === dn.Unpublish && vR(It, Ot) == null, sn = an || Fe || vt, cn = e.credentials == null ? "" : (M?.credentialsManagementTitle ?? ER)(e.credentials.authenticationType), un = an ? {
65238
+ ]), an = rn != null, on = bt === dn.Unpublish && CR(It, Ot) == null, sn = an || Fe || vt, cn = e.credentials == null ? "" : (M?.credentialsManagementTitle ?? jR)(e.credentials.authenticationType), un = an ? {
65201
65239
  title: rn.title,
65202
65240
  isBackDisabled: St,
65203
65241
  onBack: Vt
@@ -65212,7 +65250,7 @@ var GF = {
65212
65250
  } : null, pn = un?.title ?? Zt;
65213
65251
  return /* @__PURE__ */ L(et, { children: [/* @__PURE__ */ I("div", {
65214
65252
  style: Ae,
65215
- className: z("fixed inset-0 z-40 transition-opacity duration-300", NL.backdrop, t ? "opacity-100" : "pointer-events-none opacity-0"),
65253
+ className: z("fixed inset-0 z-40 transition-opacity duration-300", RL.backdrop, t ? "opacity-100" : "pointer-events-none opacity-0"),
65216
65254
  onClick: a,
65217
65255
  "aria-hidden": "true"
65218
65256
  }), /* @__PURE__ */ L("div", {
@@ -65220,7 +65258,7 @@ var GF = {
65220
65258
  "aria-modal": "true",
65221
65259
  "aria-label": pn,
65222
65260
  style: Ae,
65223
- className: z("fixed inset-y-0 end-0 z-50 flex w-full flex-col overflow-hidden", "desktop:rounded-ts-xl desktop:rounded-bs-xl desktop:w-[540px] desktop:border-s", "transition-transform duration-300", NL.panel, t ? "translate-x-0" : "translate-x-full rtl:-translate-x-full"),
65261
+ className: z("fixed inset-y-0 end-0 z-50 flex w-full flex-col overflow-hidden", "desktop:rounded-ts-xl desktop:rounded-bs-xl desktop:w-[540px] desktop:border-s", "transition-transform duration-300", RL.panel, t ? "translate-x-0" : "translate-x-full rtl:-translate-x-full"),
65224
65262
  children: [
65225
65263
  /* @__PURE__ */ L("div", {
65226
65264
  className: "flex shrink-0 items-center gap-2 px-6 py-3",
@@ -65233,11 +65271,11 @@ var GF = {
65233
65271
  disabled: un.isBackDisabled,
65234
65272
  onClick: un.onBack
65235
65273
  }), /* @__PURE__ */ I("span", {
65236
- className: z("flex-1", xe, NL.publishTitle),
65274
+ className: z("flex-1", xe, RL.publishTitle),
65237
65275
  children: un.title
65238
65276
  })] }), un == null && /* @__PURE__ */ L(et, { children: [
65239
65277
  /* @__PURE__ */ I("div", { className: "flex-1" }),
65240
- !i && c?.(e) !== !1 && /* @__PURE__ */ I(uI, {
65278
+ !i && c?.(e) !== !1 && /* @__PURE__ */ I(hI, {
65241
65279
  isStarred: je,
65242
65280
  ariaLabel: $t,
65243
65281
  onClick: Kt
@@ -65249,11 +65287,11 @@ var GF = {
65249
65287
  })
65250
65288
  ] })]
65251
65289
  }),
65252
- /* @__PURE__ */ I("div", { className: z("shrink-0", NL.divider) }),
65290
+ /* @__PURE__ */ I("div", { className: z("shrink-0", RL.divider) }),
65253
65291
  /* @__PURE__ */ L("div", {
65254
- className: z("flex min-h-0 flex-1 flex-col gap-4 overflow-y-auto", NL.content),
65292
+ className: z("flex min-h-0 flex-1 flex-col gap-4 overflow-y-auto", RL.content),
65255
65293
  children: [
65256
- an && /* @__PURE__ */ I(gL, {
65294
+ an && /* @__PURE__ */ I(xL, {
65257
65295
  item: e,
65258
65296
  message: rn.message,
65259
65297
  consequences: rn.consequences,
@@ -65271,7 +65309,7 @@ var GF = {
65271
65309
  radioClassName: De
65272
65310
  })
65273
65311
  }),
65274
- !an && !Fe && vt && /* @__PURE__ */ I(ML, {
65312
+ !an && !Fe && vt && /* @__PURE__ */ I(LL, {
65275
65313
  item: e,
65276
65314
  onLogin: ge,
65277
65315
  onRequestLogout: Nt,
@@ -65281,7 +65319,7 @@ var GF = {
65281
65319
  }),
65282
65320
  !an && Fe && /* @__PURE__ */ I("div", {
65283
65321
  className: "p-[22px]",
65284
- children: /* @__PURE__ */ I(YI, {
65322
+ children: /* @__PURE__ */ I(eL, {
65285
65323
  resource: {
65286
65324
  title: e.name,
65287
65325
  version: e.version,
@@ -65316,7 +65354,7 @@ var GF = {
65316
65354
  })
65317
65355
  }),
65318
65356
  !sn && /* @__PURE__ */ L(et, { children: [
65319
- /* @__PURE__ */ I(WL, {
65357
+ /* @__PURE__ */ I(YL, {
65320
65358
  item: e,
65321
65359
  onUseInChat: l,
65322
65360
  isPrimaryActionVisible: u,
@@ -65353,7 +65391,7 @@ var GF = {
65353
65391
  let t = $F(e.credentials);
65354
65392
  return t != null && /* @__PURE__ */ I("div", {
65355
65393
  className: "px-6",
65356
- children: /* @__PURE__ */ I(OL, {
65394
+ children: /* @__PURE__ */ I(NL, {
65357
65395
  state: t,
65358
65396
  authenticationType: e.credentials.authenticationType,
65359
65397
  texts: M
@@ -65377,19 +65415,19 @@ var GF = {
65377
65415
  width: "72px"
65378
65416
  },
65379
65417
  active: !0,
65380
- color: NL.skeletonColor
65418
+ color: RL.skeletonColor
65381
65419
  })
65382
65420
  })]
65383
65421
  }),
65384
65422
  /* @__PURE__ */ L("div", {
65385
65423
  className: z("min-h-0 flex-1 overflow-y-auto", Ne !== ln.Overview && "px-6"),
65386
65424
  children: [
65387
- Ne === ln.About && /* @__PURE__ */ I(GL, {
65425
+ Ne === ln.About && /* @__PURE__ */ I(XL, {
65388
65426
  content: e.description,
65389
65427
  topics: e.topics,
65390
65428
  detailsStyles: ve
65391
65429
  }),
65392
- Ne === ln.Content && /* @__PURE__ */ I(XL, {
65430
+ Ne === ln.Content && /* @__PURE__ */ I(tR, {
65393
65431
  content: Ke?.content ?? "",
65394
65432
  filePreview: ft(),
65395
65433
  filePreviewContent: pt,
@@ -65408,7 +65446,7 @@ var GF = {
65408
65446
  fileUnsupportedLabel: M?.contentFileUnsupportedLabel,
65409
65447
  detailsStyles: ve
65410
65448
  }),
65411
- Ne === ln.Overview && /* @__PURE__ */ I(uR, {
65449
+ Ne === ln.Overview && /* @__PURE__ */ I(hR, {
65412
65450
  sections: e.details?.overview?.sections,
65413
65451
  sectionClassName: Se,
65414
65452
  labelClassName: Ce,
@@ -65417,16 +65455,16 @@ var GF = {
65417
65455
  yesLabel: Yt,
65418
65456
  noLabel: Xt
65419
65457
  }),
65420
- Ne === ln.Pricing && /* @__PURE__ */ I(dR, {
65458
+ Ne === ln.Pricing && /* @__PURE__ */ I(gR, {
65421
65459
  pricing: e.details?.pricing,
65422
65460
  pricesSectionLabel: M?.pricingPricesSectionLabel,
65423
65461
  limitsSectionLabel: M?.pricingLimitsSectionLabel
65424
65462
  }),
65425
- Ne === ln.Limits && /* @__PURE__ */ I(lR, {
65463
+ Ne === ln.Limits && /* @__PURE__ */ I(mR, {
65426
65464
  limits: e.details?.limits,
65427
65465
  footerNote: ye
65428
65466
  }),
65429
- Ne === ln.Api && _R(e.details?.api) && /* @__PURE__ */ I(dL, {
65467
+ Ne === ln.Api && SR(e.details?.api) && /* @__PURE__ */ I(gL, {
65430
65468
  api: e.details?.api,
65431
65469
  resourceSectionLabel: M?.apiResourceSectionLabel,
65432
65470
  snippetSectionLabel: M?.apiSnippetSectionLabel,
@@ -65438,13 +65476,13 @@ var GF = {
65438
65476
  copyAriaLabel: M?.copyCodeAriaLabel,
65439
65477
  copiedStatusLabel: M?.copiedCodeStatusLabel
65440
65478
  }),
65441
- Ne === ln.Tools && /* @__PURE__ */ I(hR, { tools: e.details?.tools })
65479
+ Ne === ln.Tools && /* @__PURE__ */ I(bR, { tools: e.details?.tools })
65442
65480
  ]
65443
65481
  })
65444
65482
  ] })
65445
65483
  ]
65446
65484
  }),
65447
- an && /* @__PURE__ */ I(pL, {
65485
+ an && /* @__PURE__ */ I(vL, {
65448
65486
  confirmLabel: rn.confirmLabel,
65449
65487
  cancelLabel: nn,
65450
65488
  variant: rn.variant,
@@ -65454,7 +65492,7 @@ var GF = {
65454
65492
  onConfirm: Ht,
65455
65493
  onCancel: Vt
65456
65494
  }),
65457
- !an && Fe && /* @__PURE__ */ I(eL, {
65495
+ !an && Fe && /* @__PURE__ */ I(aL, {
65458
65496
  version: e.version,
65459
65497
  hasExistingPublicationInFolder: gt.hasExistingPublicationInFolder,
65460
65498
  isSubmitDisabled: _t.isSubmitDisabled,
@@ -65465,7 +65503,7 @@ var GF = {
65465
65503
  })
65466
65504
  ]
65467
65505
  })] });
65468
- }, AR = {
65506
+ }, FR = {
65469
65507
  pageNav: "_pageNav_14qfn_1",
65470
65508
  navBtn: "_navBtn_14qfn_6",
65471
65509
  titleText: "_titleText_14qfn_23",
@@ -65480,7 +65518,7 @@ var GF = {
65480
65518
  favFadeIn: "_favFadeIn_14qfn_1",
65481
65519
  cardLeaving: "_cardLeaving_14qfn_54",
65482
65520
  cardFadeOut: "_cardFadeOut_14qfn_1"
65483
- }, jR = ({ item: e, initialIsStarred: t = !0, onToggle: n, isFavoriteVisible: r, onClick: a, nameClassName: o, colors: s, versionClassName: c, lastUsedClassName: l, query: u, addToFavoritesAriaLabel: d = "Add to favorites", removeFromFavoritesAriaLabel: f = "Remove from favorites", isSelected: p = !1, credentialsBadgeLoggedOutLabel: g }) => {
65521
+ }, IR = ({ item: e, initialIsStarred: t = !0, onToggle: n, isFavoriteVisible: r, onClick: a, nameClassName: o, colors: s, versionClassName: c, lastUsedClassName: l, query: u, addToFavoritesAriaLabel: d = "Add to favorites", removeFromFavoritesAriaLabel: f = "Remove from favorites", isSelected: p = !1, credentialsBadgeLoggedOutLabel: g }) => {
65484
65522
  let [_, v] = F(t), [y, b] = F(!1), x = (t) => {
65485
65523
  t.stopPropagation();
65486
65524
  let r = !_;
@@ -65497,7 +65535,7 @@ var GF = {
65497
65535
  role: S == null ? void 0 : "button",
65498
65536
  tabIndex: S == null ? void 0 : 0,
65499
65537
  "aria-label": e.name,
65500
- className: z("box-border min-w-0 cursor-pointer flex-row items-start gap-1 text-start", y && AR.cardLeaving, p && AR.selectedCard),
65538
+ className: z("box-border min-w-0 cursor-pointer flex-row items-start gap-1 text-start", y && FR.cardLeaving, p && FR.selectedCard),
65501
65539
  onClick: S,
65502
65540
  onKeyDown: C,
65503
65541
  onAnimationEnd: y ? (t) => {
@@ -65506,13 +65544,13 @@ var GF = {
65506
65544
  children: [
65507
65545
  p && /* @__PURE__ */ I(st, {
65508
65546
  size: m.SM,
65509
- className: z("absolute end-3 top-3 shrink-0", AR.selectedCheck),
65547
+ className: z("absolute end-3 top-3 shrink-0", FR.selectedCheck),
65510
65548
  "aria-hidden": !0,
65511
65549
  stroke: h
65512
65550
  }),
65513
65551
  /* @__PURE__ */ I("div", {
65514
65552
  className: "flex min-w-0 flex-1 flex-col items-start gap-1",
65515
- children: /* @__PURE__ */ I(oI, {
65553
+ children: /* @__PURE__ */ I(dI, {
65516
65554
  icon: e.iconUrl,
65517
65555
  type: e.type,
65518
65556
  name: e.name,
@@ -65529,13 +65567,13 @@ var GF = {
65529
65567
  lastUsedClassName: l
65530
65568
  }
65531
65569
  },
65532
- iconOverlay: /* @__PURE__ */ I(cI, {
65570
+ iconOverlay: /* @__PURE__ */ I(pI, {
65533
65571
  credentials: e.credentials,
65534
65572
  loggedOutLabel: g
65535
65573
  })
65536
65574
  })
65537
65575
  }),
65538
- r?.(e) !== !1 && /* @__PURE__ */ I(uI, {
65576
+ r?.(e) !== !1 && /* @__PURE__ */ I(hI, {
65539
65577
  isStarred: _,
65540
65578
  size: te.Small,
65541
65579
  onClick: x,
@@ -65544,7 +65582,7 @@ var GF = {
65544
65582
  })
65545
65583
  ]
65546
65584
  });
65547
- }, MR = 2, NR = (e) => {
65585
+ }, LR = 2, RR = (e) => {
65548
65586
  let t = e.getBoundingClientRect(), n = window.scrollX, r = window.scrollY, i = window.getComputedStyle(e).transform;
65549
65587
  if (!i || i === "none") return new DOMRect(t.x + n, t.y + r, t.width, t.height);
65550
65588
  try {
@@ -65553,7 +65591,7 @@ var GF = {
65553
65591
  } catch {
65554
65592
  return new DOMRect(t.x + n, t.y + r, t.width, t.height);
65555
65593
  }
65556
- }, PR = ({ items: e, totalCount: t, title: n = "Your Favorites", onToggleFavorite: r, isFavoriteVisible: i, onItemClick: a, styles: o, isLeaving: s, onExitComplete: c, prevPageAriaLabel: l = "Previous page", nextPageAriaLabel: u = "Next page", addToFavoritesAriaLabel: d, removeFromFavoritesAriaLabel: f, selectedItemId: p, credentialsBadgeLoggedOutLabel: m }) => {
65594
+ }, zR = ({ items: e, totalCount: t, title: n = "Your Favorites", onToggleFavorite: r, isFavoriteVisible: i, onItemClick: a, styles: o, isLeaving: s, onExitComplete: c, prevPageAriaLabel: l = "Previous page", nextPageAriaLabel: u = "Next page", addToFavoritesAriaLabel: d, removeFromFavoritesAriaLabel: f, selectedItemId: p, credentialsBadgeLoggedOutLabel: m }) => {
65557
65595
  let g = o?.typography?.titleClassName ?? "dial-body-semi-text", _ = o?.typography?.countClassName ?? "dial-tiny-semi-text", v = es({
65558
65596
  "--cat-fav-title-text": o?.colors?.titleText,
65559
65597
  "--cat-fav-count-text": o?.colors?.countText,
@@ -65566,7 +65604,7 @@ var GF = {
65566
65604
  "--cat-fav-nav-btn-active-bg": o?.colors?.navButtonActiveBackground,
65567
65605
  "--cat-fav-page-nav-border": o?.colors?.pageNavBorder,
65568
65606
  "--cat-fav-page-nav-bg": o?.colors?.pageNavBackground
65569
- }), y = P(() => [...e].sort((e, t) => (new Date(t.updatedAt || "").getTime() ?? 0) - (new Date(e.updatedAt || "").getTime() ?? 0)), [e]), [b, x] = F(1), S = JF(), C = S * MR, w = (b - 1) * C, T = P(() => y.slice(w, w + C), [
65607
+ }), y = P(() => [...e].sort((e, t) => (new Date(t.updatedAt || "").getTime() ?? 0) - (new Date(e.updatedAt || "").getTime() ?? 0)), [e]), [b, x] = F(1), S = JF(), C = S * LR, w = (b - 1) * C, T = P(() => y.slice(w, w + C), [
65570
65608
  y,
65571
65609
  w,
65572
65610
  C
@@ -65599,7 +65637,7 @@ var GF = {
65599
65637
  j.current = b, oe.current = S;
65600
65638
  let n = te.current.querySelectorAll("[data-card-id]"), r = /* @__PURE__ */ new Map();
65601
65639
  if (n.forEach((e) => {
65602
- r.set(e.dataset.cardId, NR(e));
65640
+ r.set(e.dataset.cardId, RR(e));
65603
65641
  }), !e && !t) {
65604
65642
  let e = ee.current, t = se.current, i = 0;
65605
65643
  if (e) {
@@ -65655,7 +65693,7 @@ var GF = {
65655
65693
  ref: O,
65656
65694
  children: /* @__PURE__ */ L("section", {
65657
65695
  ref: ee,
65658
- className: z("flex flex-shrink-0 flex-col gap-4 pb-2 pt-2", AR.section, s && AR.sectionLeaving),
65696
+ className: z("flex flex-shrink-0 flex-col gap-4 pb-2 pt-2", FR.section, s && FR.sectionLeaving),
65659
65697
  style: {
65660
65698
  ...v,
65661
65699
  minHeight: re
@@ -65666,16 +65704,16 @@ var GF = {
65666
65704
  children: [/* @__PURE__ */ I(vy, {
65667
65705
  title: n,
65668
65706
  postfix: D,
65669
- titleClassName: z(g, AR.titleText),
65670
- postfixClassName: z(_, AR.countText),
65707
+ titleClassName: z(g, FR.titleText),
65708
+ postfixClassName: z(_, FR.countText),
65671
65709
  trailing: E > 1 ? /* @__PURE__ */ L("div", {
65672
- className: z("inline-flex items-center gap-[2px] rounded-full px-[6px] py-[3px]", AR.pageNav),
65710
+ className: z("inline-flex items-center gap-[2px] rounded-full px-[6px] py-[3px]", FR.pageNav),
65673
65711
  children: [
65674
65712
  /* @__PURE__ */ I("button", {
65675
65713
  "aria-label": l,
65676
65714
  disabled: b === 1,
65677
65715
  onClick: () => x((e) => e - 1),
65678
- className: z("flex size-[22px] cursor-pointer items-center justify-center rounded-full border-none bg-transparent", AR.navBtn),
65716
+ className: z("flex size-[22px] cursor-pointer items-center justify-center rounded-full border-none bg-transparent", FR.navBtn),
65679
65717
  children: /* @__PURE__ */ I(lt, {
65680
65718
  size: 14,
65681
65719
  className: "rtl:scale-x-[-1]",
@@ -65683,7 +65721,7 @@ var GF = {
65683
65721
  })
65684
65722
  }),
65685
65723
  /* @__PURE__ */ L("span", {
65686
- className: z("min-w-[32px] select-none px-1 text-center", _, AR.countText),
65724
+ className: z("min-w-[32px] select-none px-1 text-center", _, FR.countText),
65687
65725
  children: [
65688
65726
  b,
65689
65727
  " / ",
@@ -65694,7 +65732,7 @@ var GF = {
65694
65732
  "aria-label": u,
65695
65733
  disabled: b === E,
65696
65734
  onClick: () => x((e) => e + 1),
65697
- className: z("flex size-[22px] cursor-pointer items-center justify-center rounded-full border-none bg-transparent", AR.navBtn),
65735
+ className: z("flex size-[22px] cursor-pointer items-center justify-center rounded-full border-none bg-transparent", FR.navBtn),
65698
65736
  children: /* @__PURE__ */ I(ut, {
65699
65737
  size: 14,
65700
65738
  className: "rtl:scale-x-[-1]",
@@ -65705,12 +65743,12 @@ var GF = {
65705
65743
  }) : void 0
65706
65744
  }), /* @__PURE__ */ I("div", {
65707
65745
  ref: te,
65708
- className: z("grid content-start gap-5", AR.gridPage),
65746
+ className: z("grid content-start gap-5", FR.gridPage),
65709
65747
  style: {
65710
65748
  gridTemplateColumns: `repeat(${S}, minmax(0, 1fr))`,
65711
65749
  minHeight: k
65712
65750
  },
65713
- children: T.map((e) => /* @__PURE__ */ I(jR, {
65751
+ children: T.map((e) => /* @__PURE__ */ I(IR, {
65714
65752
  item: e,
65715
65753
  onToggle: r,
65716
65754
  isFavoriteVisible: i,
@@ -65723,25 +65761,53 @@ var GF = {
65723
65761
  })]
65724
65762
  })
65725
65763
  });
65726
- }, FR = {
65727
- listContainer: "_listContainer_15cmz_1",
65728
- gridClip: "_gridClip_15cmz_6",
65729
- favHeader: "_favHeader_15cmz_43",
65730
- starFilledIcon: "_starFilledIcon_15cmz_47",
65731
- selectedCheck: "_selectedCheck_15cmz_51",
65732
- starToggleOff: "_starToggleOff_15cmz_55",
65733
- selectedRow: "_selectedRow_15cmz_68"
65734
- }, IR = ({ data: e }) => e ? /* @__PURE__ */ I("div", {
65764
+ }, BR = {
65765
+ listContainer: "_listContainer_145s6_1",
65766
+ gridClip: "_gridClip_145s6_6",
65767
+ favHeader: "_favHeader_145s6_43",
65768
+ starFilledIcon: "_starFilledIcon_145s6_47",
65769
+ folderIcon: "_folderIcon_145s6_51",
65770
+ selectedCheck: "_selectedCheck_145s6_55",
65771
+ starToggleOff: "_starToggleOff_145s6_59",
65772
+ selectedRow: "_selectedRow_145s6_72"
65773
+ }, VR = ({ data: e }) => e ? /* @__PURE__ */ I("div", {
65735
65774
  className: "flex h-full items-center",
65736
65775
  children: /* @__PURE__ */ I(yy, { type: e.type })
65737
- }) : null, LR = ({ data: e, context: t }) => !e || e.folder.length === 0 ? null : /* @__PURE__ */ I(re, {
65738
- segments: e.folder,
65739
- labelClassName: t?.typography?.folderClassName,
65740
- leafClassName: t?.typography?.folderLastSegmentClassName
65741
- }), RR = ({ data: e, context: t }) => {
65776
+ }) : null, HR = " / ", UR = ({ data: e, context: t }) => {
65777
+ if (!e || e.folder.length === 0) return null;
65778
+ let n = e.folder.join(HR), r = e.folder[e.folder.length - 1], i = e.folder.length > 1, a = t?.typography?.folderClassName ?? "dial-small-text", o = t?.typography?.folderLastSegmentClassName ?? "dial-small-semi-text";
65779
+ return /* @__PURE__ */ L("div", {
65780
+ className: "flex h-full w-full min-w-0 items-center gap-1.5",
65781
+ children: [
65782
+ /* @__PURE__ */ I(Tt, {
65783
+ size: m.SM,
65784
+ stroke: h,
65785
+ className: z("shrink-0", BR.folderIcon),
65786
+ "aria-hidden": !0
65787
+ }),
65788
+ /* @__PURE__ */ I(Me, {
65789
+ tooltip: /* @__PURE__ */ I("span", {
65790
+ className: a,
65791
+ children: n
65792
+ }),
65793
+ hideTooltip: !i,
65794
+ triggerClassName: "min-w-0 flex-1",
65795
+ children: /* @__PURE__ */ I(k, {
65796
+ text: r,
65797
+ className: o,
65798
+ hideTooltip: i
65799
+ })
65800
+ }),
65801
+ i && /* @__PURE__ */ I("span", {
65802
+ className: "sr-only",
65803
+ children: n
65804
+ })
65805
+ ]
65806
+ });
65807
+ }, WR = ({ data: e, context: t }) => {
65742
65808
  let n = t?.searchQuery ?? "", r = t?.typography, i = r?.nameClassName ?? "dial-small-semi-text", a = r?.versionClassName ?? "dial-tiny-text", o = e != null && e.id === t?.selectedItemId;
65743
65809
  return e ? /* @__PURE__ */ L("div", {
65744
- className: "flex h-full min-w-0 items-center gap-2.5",
65810
+ className: "flex h-full w-full min-w-0 items-center gap-2.5",
65745
65811
  children: [/* @__PURE__ */ L("div", {
65746
65812
  className: "relative shrink-0",
65747
65813
  children: [/* @__PURE__ */ I(ly, {
@@ -65749,7 +65815,7 @@ var GF = {
65749
65815
  size: 36,
65750
65816
  initialsName: e.name,
65751
65817
  styles: { badgeClassName: "rounded-[10px]" }
65752
- }), /* @__PURE__ */ I(cI, {
65818
+ }), /* @__PURE__ */ I(pI, {
65753
65819
  credentials: e.credentials,
65754
65820
  loggedOutLabel: t?.credentialsBadgeLoggedOutLabel
65755
65821
  })]
@@ -65759,52 +65825,52 @@ var GF = {
65759
65825
  postfixClassName: a,
65760
65826
  query: n,
65761
65827
  titleClassName: i,
65762
- className: "min-w-0 items-baseline gap-1.5",
65828
+ className: "min-w-0 flex-1 items-baseline gap-1.5",
65763
65829
  trailing: o ? /* @__PURE__ */ I(st, {
65764
65830
  size: m.SM,
65765
- className: z("shrink-0", FR.selectedCheck),
65831
+ className: z("shrink-0", BR.selectedCheck),
65766
65832
  "aria-hidden": !0,
65767
65833
  stroke: h
65768
65834
  }) : void 0
65769
65835
  })]
65770
65836
  }) : null;
65771
- }, zR = ({ data: e, context: t }) => {
65837
+ }, GR = ({ data: e, context: t }) => {
65772
65838
  let [n, r] = F(e?.isStarred ?? !1);
65773
65839
  return Ye(() => {
65774
65840
  r(e?.isStarred ?? !1);
65775
65841
  }, [e?.id, e?.isStarred]), !e || t?.isFavoriteVisible?.(e) === !1 ? null : /* @__PURE__ */ I("div", {
65776
65842
  className: "flex h-full items-center justify-end pe-4",
65777
- children: /* @__PURE__ */ I(uI, {
65843
+ children: /* @__PURE__ */ I(hI, {
65778
65844
  isStarred: n,
65779
65845
  onClick: (i) => {
65780
65846
  i.stopPropagation();
65781
65847
  let a = !n;
65782
65848
  r(a), t?.onToggleFavorite?.(e.id, a);
65783
65849
  },
65784
- className: n ? void 0 : FR.starToggleOff
65850
+ className: n ? void 0 : BR.starToggleOff
65785
65851
  })
65786
65852
  });
65787
- }, BR = ({ data: e }) => !e || e.topics.length === 0 ? null : /* @__PURE__ */ I("div", {
65788
- className: "flex h-full items-center",
65789
- children: /* @__PURE__ */ I(hI, { topics: e.topics })
65790
- }), VR = {
65853
+ }, KR = ({ data: e }) => !e || e.topics.length === 0 ? null : /* @__PURE__ */ I("div", {
65854
+ className: "flex h-full w-full min-w-0 items-center",
65855
+ children: /* @__PURE__ */ I(bI, { topics: e.topics })
65856
+ }), qR = {
65791
65857
  folder: (e) => e !== xa.Model,
65792
65858
  tags: () => !0,
65793
65859
  favorite: () => !0
65794
- }, HR = (e, t) => Object.fromEntries([
65860
+ }, JR = (e, t) => Object.fromEntries([
65795
65861
  "folder",
65796
65862
  "tags",
65797
65863
  "favorite"
65798
- ].map((n) => [n, (t?.[n] ?? VR[n])(e)])), UR = (e, t = !1, n) => {
65799
- let r = HR(e, n);
65864
+ ].map((n) => [n, (t?.[n] ?? qR[n])(e)])), YR = (e, t = !1, n) => {
65865
+ let r = JR(e, n);
65800
65866
  return [
65801
65867
  {
65802
65868
  headerName: "Name",
65803
- flex: 1,
65869
+ flex: 2,
65804
65870
  minWidth: 220,
65805
65871
  field: "name",
65806
65872
  filter: !1,
65807
- cellRenderer: RR,
65873
+ cellRenderer: WR,
65808
65874
  valueGetter: (e) => e.data?.name
65809
65875
  },
65810
65876
  {
@@ -65814,48 +65880,44 @@ var GF = {
65814
65880
  field: "type",
65815
65881
  filter: !1,
65816
65882
  sortable: !1,
65817
- cellRenderer: IR,
65883
+ cellRenderer: VR,
65818
65884
  valueGetter: (e) => e.data?.type
65819
65885
  },
65820
65886
  {
65821
65887
  headerName: "Folder",
65822
65888
  field: "folder",
65823
- width: 170,
65889
+ flex: 1,
65824
65890
  minWidth: 170,
65825
65891
  filter: !1,
65826
65892
  hide: !r.folder,
65827
- cellRenderer: LR,
65893
+ cellRenderer: UR,
65828
65894
  valueGetter: (e) => e.data?.folder
65829
65895
  },
65830
65896
  {
65831
65897
  headerName: "Tags",
65832
65898
  field: "topics",
65833
- width: 230,
65899
+ flex: 1,
65834
65900
  minWidth: 230,
65835
65901
  filter: !1,
65836
65902
  sortable: !1,
65837
65903
  hide: !r.tags,
65838
- cellRenderer: BR,
65904
+ cellRenderer: KR,
65839
65905
  valueGetter: (e) => e.data?.topics
65840
65906
  },
65841
65907
  {
65842
65908
  headerName: "Favorite",
65843
65909
  field: "isStarred",
65844
- width: 72,
65845
- minWidth: 72,
65910
+ width: 88,
65911
+ minWidth: 88,
65846
65912
  filter: !1,
65847
65913
  sortable: !1,
65848
65914
  resizable: !1,
65849
65915
  hide: t || !r.favorite,
65850
- headerClass: FR.favHeader,
65851
- cellRenderer: zR
65916
+ headerClass: BR.favHeader,
65917
+ cellRenderer: GR
65852
65918
  }
65853
65919
  ];
65854
- }, WR = 50, GR = (e) => {
65855
- if (!e || e === document.body) return null;
65856
- let { overflow: t, overflowY: n } = getComputedStyle(e);
65857
- return t === "auto" || t === "scroll" || n === "auto" || n === "scroll" ? e : GR(e.parentElement);
65858
- }, KR = ({ items: e, type: t, query: n = "", ariaLabel: r = "Catalog", emptyStateTitle: i, styles: a, onToggleFavorite: o, isFavoriteVisible: s, onItemClick: c, stickyHeaderTop: l, selectedItemId: u, credentialsBadgeLoggedOutLabel: d, isReadonly: f = !1, columnVisibility: p }) => {
65920
+ }, XR = 60, ZR = ({ items: e, type: t, query: n = "", ariaLabel: r = "Catalog", emptyStateTitle: i, styles: a, onToggleFavorite: o, isFavoriteVisible: s, onItemClick: c, stickyHeaderTop: l, selectedItemId: u, credentialsBadgeLoggedOutLabel: d, isReadonly: f = !1, columnVisibility: p }) => {
65859
65921
  if (e.length === 0) return /* @__PURE__ */ I("div", {
65860
65922
  className: "flex size-full flex-col items-center justify-center",
65861
65923
  children: /* @__PURE__ */ I(gy, { label: i ?? "No results" })
@@ -65866,26 +65928,17 @@ var GF = {
65866
65928
  "--cat-list-header-bg": h?.headerBackground,
65867
65929
  "--cat-list-row-divider": h?.rowDivider,
65868
65930
  "--cat-card-star-filled": h?.starFilled,
65931
+ "--cat-list-folder-icon": h?.folderIcon,
65869
65932
  "--cat-list-row-even-bg": h?.rowEvenBackground,
65870
65933
  "--cat-list-selected-border": h?.selectedRowBorder,
65871
65934
  "--cat-list-selected-bg": h?.selectedRowBackground,
65872
65935
  "--cat-list-selected-check": h?.selectedRowCheckIcon,
65873
65936
  ...l == null ? {} : { "--list-header-sticky-top": `${l}px` }
65874
- }, _ = $e(null), v = $e(null), [y, b] = F(() => Math.min(e.length, WR)), x = $e(e);
65875
- Ye(() => {
65876
- x.current !== e && (x.current = e, b(Math.min(e.length, WR)));
65877
- }, [e]), Ye(() => {
65878
- let t = v.current;
65879
- if (!t) return;
65880
- let n = GR(t.parentElement);
65881
- if (!n) return;
65882
- let r = () => {
65883
- let r = n.getBoundingClientRect(), i = t.getBoundingClientRect();
65884
- i.top < r.bottom && i.bottom > r.top && b((t) => Math.min(e.length, t + WR));
65885
- };
65886
- return n.addEventListener("scroll", r, { passive: !0 }), r(), () => n.removeEventListener("scroll", r);
65887
- }, [e.length]);
65888
- let S = P(() => e.slice(0, y), [e, y]);
65937
+ }, _ = $e(null), { containerRef: v, startRow: y, endRow: b } = sI(e.length, XR), x = P(() => e.slice(y, b), [
65938
+ e,
65939
+ y,
65940
+ b
65941
+ ]);
65889
65942
  return Ye(() => {
65890
65943
  _.current?.refreshCells({ force: !0 });
65891
65944
  }, [n]), Ye(() => {
@@ -65894,48 +65947,56 @@ var GF = {
65894
65947
  _.current?.setGridOption("domLayout", e.length > 0 ? "autoHeight" : "normal");
65895
65948
  }, [e]), /* @__PURE__ */ I("div", {
65896
65949
  style: g,
65897
- className: ze("w-full rounded-xl border", FR.listContainer),
65950
+ className: ze("w-full rounded-xl border", BR.listContainer),
65898
65951
  children: /* @__PURE__ */ L("div", {
65899
- className: ze("rounded-xl", FR.gridClip),
65900
- children: [/* @__PURE__ */ I(A, {
65901
- columnDefs: UR(t, f, p),
65902
- rowData: S,
65903
- getRowId: (e) => e.id,
65904
- withoutHeaderBorders: !0,
65905
- onGridApiChange: (e) => {
65906
- _.current = e;
65907
- },
65908
- emptyStateTitle: i,
65909
- additionalGridOptions: {
65910
- rowHeight: 60,
65911
- defaultColDef: {
65912
- filter: !1,
65913
- floatingFilter: !1
65952
+ ref: v,
65953
+ className: ze("rounded-xl", BR.gridClip),
65954
+ children: [
65955
+ y > 0 && /* @__PURE__ */ I("div", {
65956
+ style: { height: y * XR },
65957
+ "aria-hidden": !0
65958
+ }),
65959
+ /* @__PURE__ */ I(A, {
65960
+ columnDefs: YR(t, f, p),
65961
+ rowData: x,
65962
+ getRowId: (e) => e.id,
65963
+ withoutHeaderBorders: !0,
65964
+ wrapCustomCellRenderers: !1,
65965
+ onGridApiChange: (e) => {
65966
+ _.current = e;
65914
65967
  },
65915
- context: {
65916
- searchQuery: n,
65917
- typography: m,
65918
- onToggleFavorite: o,
65919
- isFavoriteVisible: s,
65920
- selectedItemId: u,
65921
- credentialsBadgeLoggedOutLabel: d,
65922
- isReadonly: f
65968
+ emptyStateTitle: i,
65969
+ additionalGridOptions: {
65970
+ rowHeight: XR,
65971
+ defaultColDef: {
65972
+ filter: !1,
65973
+ floatingFilter: !1
65974
+ },
65975
+ context: {
65976
+ searchQuery: n,
65977
+ typography: m,
65978
+ onToggleFavorite: o,
65979
+ isFavoriteVisible: s,
65980
+ selectedItemId: u,
65981
+ credentialsBadgeLoggedOutLabel: d,
65982
+ isReadonly: f
65983
+ },
65984
+ onCellClicked: c ? (e) => {
65985
+ e.column.getColDef().field !== "isStarred" && e.data && c(e.data);
65986
+ } : void 0,
65987
+ rowClass: c ? "cursor-pointer" : void 0,
65988
+ getRowClass: (e) => e.data?.id === u ? BR.selectedRow : void 0
65923
65989
  },
65924
- onCellClicked: c ? (e) => {
65925
- e.column.getColDef().field !== "isStarred" && e.data && c(e.data);
65926
- } : void 0,
65927
- rowClass: c ? "cursor-pointer" : void 0,
65928
- getRowClass: (e) => e.data?.id === u ? FR.selectedRow : void 0
65929
- },
65930
- ariaLabel: r
65931
- }), y < e.length && /* @__PURE__ */ I("div", {
65932
- ref: v,
65933
- className: "h-2",
65934
- "aria-hidden": !0
65935
- })]
65990
+ ariaLabel: r
65991
+ }),
65992
+ b < e.length && /* @__PURE__ */ I("div", {
65993
+ style: { height: (e.length - b) * XR },
65994
+ "aria-hidden": !0
65995
+ })
65996
+ ]
65936
65997
  })
65937
65998
  });
65938
- }, qR = {
65999
+ }, QR = {
65939
66000
  filterBtn: "_filterBtn_ehf8i_1",
65940
66001
  filterBtnActive: "_filterBtnActive_ehf8i_18",
65941
66002
  filterBtnOpen: "_filterBtnOpen_ehf8i_22",
@@ -65949,13 +66010,13 @@ var GF = {
65949
66010
  divider: "_divider_ehf8i_74",
65950
66011
  sectionLabel: "_sectionLabel_ehf8i_78",
65951
66012
  footer: "_footer_ehf8i_82"
65952
- }, JR = (e, t, n, r, i) => {
66013
+ }, $R = (e, t, n, r, i) => {
65953
66014
  let a = e.size > 0;
65954
66015
  return n && a ? `${r} · ${e.size}` : n ? r : a ? wn(e, t, i) : i;
65955
- }, YR = (e, t) => {
66016
+ }, ez = (e, t) => {
65956
66017
  let n = new Set(t);
65957
66018
  return n.has(e) ? n.delete(e) : n.add(e), n;
65958
- }, XR = ({ checked: e, onChange: t, values: n, isMyAppsActive: r, onMyAppsChange: i, myAppsLabel: a = "My", topicsLabel: s = "Topics", defaultLabel: c = "From", clearLabel: l = "Clear", applyLabel: u = "Apply", typography: d, colors: f }) => {
66019
+ }, tz = ({ checked: e, onChange: t, values: n, isMyAppsActive: r, onMyAppsChange: i, myAppsLabel: a = "My", topicsLabel: s = "Topics", defaultLabel: c = "From", clearLabel: l = "Clear", applyLabel: u = "Apply", typography: d, colors: f }) => {
65959
66020
  let p = (r ?? !1) || e.size > 0, [g, _] = F(!1), v = es({
65960
66021
  "--cat-filter-btn-bg": f?.buttonBackground,
65961
66022
  "--cat-filter-btn-border": f?.buttonBorder,
@@ -65975,7 +66036,7 @@ var GF = {
65975
66036
  "--cat-filter-section-label": f?.sectionLabel,
65976
66037
  "--cat-filter-divider": f?.divider,
65977
66038
  "--cat-filter-footer-border": f?.footerBorder
65978
- }), y = P(() => n == null ? [] : [...n].sort(), [n]), b = JR(e, n, r, a, c), [x, S] = F(() => new Set(e)), [C, w] = F(r ?? !1);
66039
+ }), y = P(() => n == null ? [] : [...n].sort(), [n]), b = $R(e, n, r, a, c), [x, S] = F(() => new Set(e)), [C, w] = F(r ?? !1);
65979
66040
  Ye(() => {
65980
66041
  g && (S(new Set(e)), w(r ?? !1));
65981
66042
  }, [
@@ -66019,7 +66080,7 @@ var GF = {
66019
66080
  "aria-label": c,
66020
66081
  tabIndex: -1,
66021
66082
  style: v,
66022
- className: z("min-w-[360px] rounded-xl p-[6px]", qR.overlay),
66083
+ className: z("min-w-[360px] rounded-xl p-[6px]", QR.overlay),
66023
66084
  onKeyDown: ae,
66024
66085
  children: [
66025
66086
  /* @__PURE__ */ L("div", {
@@ -66029,32 +66090,32 @@ var GF = {
66029
66090
  ref: (e) => {
66030
66091
  ee.current[0] = e;
66031
66092
  },
66032
- className: z("flex cursor-pointer select-none items-center gap-3 rounded-lg px-[10px] py-[9px] outline-none", qR.row, C && qR.rowChecked),
66093
+ className: z("flex cursor-pointer select-none items-center gap-3 rounded-lg px-[10px] py-[9px] outline-none", QR.row, C && QR.rowChecked),
66033
66094
  onClick: () => w(!C),
66034
66095
  onKeyDown: A(() => w(!C)),
66035
66096
  children: [/* @__PURE__ */ I(o, {
66036
66097
  isSelected: C,
66037
66098
  className: "shrink-0"
66038
66099
  }), /* @__PURE__ */ I("span", {
66039
- className: z(qR.rowLabel, d?.filterButtonClassName ?? "dial-small-semi-text"),
66100
+ className: z(QR.rowLabel, d?.filterButtonClassName ?? "dial-small-semi-text"),
66040
66101
  children: a
66041
66102
  })]
66042
66103
  }),
66043
66104
  y.length > 0 && /* @__PURE__ */ L(et, { children: [
66044
66105
  /* @__PURE__ */ I("div", {
66045
66106
  role: "separator",
66046
- className: z("my-1 h-px", qR.divider),
66107
+ className: z("my-1 h-px", QR.divider),
66047
66108
  "aria-hidden": !0
66048
66109
  }),
66049
66110
  /* @__PURE__ */ I("div", {
66050
- className: z("px-[10px] pb-1 pt-[10px]", d?.filterSectionLabelClassName ?? "dial-tiny-lead-semi-text", qR.sectionLabel),
66111
+ className: z("px-[10px] pb-1 pt-[10px]", d?.filterSectionLabelClassName ?? "dial-tiny-lead-semi-text", QR.sectionLabel),
66051
66112
  "aria-hidden": !0,
66052
66113
  children: s
66053
66114
  }),
66054
66115
  /* @__PURE__ */ I("div", {
66055
66116
  className: "flex max-h-[220px] flex-col gap-1 overflow-y-auto",
66056
66117
  children: y.map((e, t) => {
66057
- let n = x.has(e), r = t + 1, i = () => S(YR(e, x));
66118
+ let n = x.has(e), r = t + 1, i = () => S(ez(e, x));
66058
66119
  return /* @__PURE__ */ L("div", {
66059
66120
  role: "menuitemcheckbox",
66060
66121
  "aria-checked": n,
@@ -66062,14 +66123,14 @@ var GF = {
66062
66123
  ref: (e) => {
66063
66124
  ee.current[r] = e;
66064
66125
  },
66065
- className: z("flex cursor-pointer select-none items-center gap-3 rounded-lg px-[10px] py-[9px] outline-none", qR.row, n && qR.rowChecked),
66126
+ className: z("flex cursor-pointer select-none items-center gap-3 rounded-lg px-[10px] py-[9px] outline-none", QR.row, n && QR.rowChecked),
66066
66127
  onClick: i,
66067
66128
  onKeyDown: A(i),
66068
66129
  children: [/* @__PURE__ */ I(o, {
66069
66130
  isSelected: n,
66070
66131
  className: "shrink-0"
66071
66132
  }), /* @__PURE__ */ I("span", {
66072
- className: qR.rowLabel,
66133
+ className: QR.rowLabel,
66073
66134
  children: e
66074
66135
  })]
66075
66136
  }, e);
@@ -66077,7 +66138,7 @@ var GF = {
66077
66138
  })
66078
66139
  ] }),
66079
66140
  /* @__PURE__ */ L("div", {
66080
- className: z("mt-1 flex items-center px-1 py-3", qR.footer),
66141
+ className: z("mt-1 flex items-center px-1 py-3", QR.footer),
66081
66142
  onKeyDown: (e) => {
66082
66143
  (e.key === "ArrowUp" || e.key === "ArrowDown") && e.stopPropagation();
66083
66144
  },
@@ -66099,31 +66160,31 @@ var GF = {
66099
66160
  "aria-expanded": g,
66100
66161
  onKeyDown: re,
66101
66162
  style: v,
66102
- className: z("flex h-12 shrink-0 cursor-pointer items-center gap-[7px] whitespace-nowrap rounded-lg px-[18px]", qR.filterBtn, p && qR.filterBtnActive, g && qR.filterBtnOpen),
66163
+ className: z("flex h-12 shrink-0 cursor-pointer items-center gap-[7px] whitespace-nowrap rounded-lg px-[18px]", QR.filterBtn, p && QR.filterBtnActive, g && QR.filterBtnOpen),
66103
66164
  children: [
66104
66165
  /* @__PURE__ */ I(wt, {
66105
66166
  size: m.SM,
66106
66167
  stroke: h,
66107
- className: z("shrink-0", qR.filterBtnFunnel),
66168
+ className: z("shrink-0", QR.filterBtnFunnel),
66108
66169
  "aria-hidden": !0
66109
66170
  }),
66110
66171
  /* @__PURE__ */ I("span", {
66111
- className: z(qR.filterBtnLabel, d?.filterButtonClassName ?? "dial-small-semi-text"),
66172
+ className: z(QR.filterBtnLabel, d?.filterButtonClassName ?? "dial-small-semi-text"),
66112
66173
  children: b
66113
66174
  }),
66114
66175
  /* @__PURE__ */ I(ct, {
66115
66176
  size: 14,
66116
66177
  stroke: h,
66117
- className: z("shrink-0 transition-transform duration-150", qR.filterBtnChevron, g && "rotate-180"),
66178
+ className: z("shrink-0 transition-transform duration-150", QR.filterBtnChevron, g && "rotate-180"),
66118
66179
  "aria-hidden": !0
66119
66180
  })
66120
66181
  ]
66121
66182
  })
66122
66183
  });
66123
- }, ZR = {
66184
+ }, nz = {
66124
66185
  section: "_section_mh952_1",
66125
66186
  divider: "_divider_mh952_5"
66126
- }, QR = ({ totalCount: e, viewMode: i, onViewModeChange: a, title: o = "Browse", browseHeaderRenderer: s, styles: c, query: l, onQueryChange: u, searchPlaceholder: d, gridViewLabel: f = "Grid view", listViewLabel: p = "List view", viewToggleLabel: g = "View mode", sortKey: _, sortOptions: v, filters: y, onFiltersChange: b, filterValues: x, isMyAppsActive: S, onMyAppsChange: C, filterFromLabel: w, filterMyAppsLabel: T, filterTopicsLabel: E }) => {
66187
+ }, rz = ({ totalCount: e, viewMode: i, onViewModeChange: a, title: o = "Browse", browseHeaderRenderer: s, styles: c, query: l, onQueryChange: u, searchPlaceholder: d, gridViewLabel: f = "Grid view", listViewLabel: p = "List view", viewToggleLabel: g = "View mode", sortKey: _, sortOptions: v, filters: y, onFiltersChange: b, filterValues: x, isMyAppsActive: S, onMyAppsChange: C, filterFromLabel: w, filterMyAppsLabel: T, filterTopicsLabel: E }) => {
66127
66188
  let D = c?.typography?.titleClassName ?? "dial-body-semi-text", O = c?.typography?.countClassName ?? "dial-tiny-semi-text", ee = P(() => [{
66128
66189
  value: bn.Grid,
66129
66190
  icon: /* @__PURE__ */ I(kt, {
@@ -66133,7 +66194,7 @@ var GF = {
66133
66194
  }),
66134
66195
  "aria-label": f
66135
66196
  }, {
66136
- value: bn.List,
66197
+ value: bn.Cards,
66137
66198
  icon: /* @__PURE__ */ I(At, {
66138
66199
  size: m.SM,
66139
66200
  "aria-hidden": !0,
@@ -66157,13 +66218,13 @@ var GF = {
66157
66218
  count: c?.colors?.countText
66158
66219
  }
66159
66220
  }), /* @__PURE__ */ L("div", {
66160
- className: "ms-auto flex items-center gap-2",
66221
+ className: "ms-auto flex shrink-0 items-center gap-2",
66161
66222
  children: [/* @__PURE__ */ I(Se, {
66162
66223
  "aria-label": g,
66163
66224
  value: i,
66164
66225
  onChange: a,
66165
66226
  items: ee
66166
- }), v != null && v.length > 0 && /* @__PURE__ */ L(et, { children: [/* @__PURE__ */ I("div", { className: z("h-4 w-px shrink-0", ZR.divider) }), /* @__PURE__ */ I(n, {
66227
+ }), v != null && v.length > 0 && /* @__PURE__ */ L(et, { children: [/* @__PURE__ */ I("div", { className: z("h-4 w-px shrink-0", nz.divider) }), /* @__PURE__ */ I(n, {
66167
66228
  label: k,
66168
66229
  variant: r.Primary,
66169
66230
  appearance: t.Ghost,
@@ -66185,7 +66246,7 @@ var GF = {
66185
66246
  placeholder: d,
66186
66247
  "aria-label": d
66187
66248
  })
66188
- }), /* @__PURE__ */ I(XR, {
66249
+ }), /* @__PURE__ */ I(tz, {
66189
66250
  checked: y ?? /* @__PURE__ */ new Set(),
66190
66251
  onChange: b ?? (() => void 0),
66191
66252
  values: x,
@@ -66198,12 +66259,12 @@ var GF = {
66198
66259
  })]
66199
66260
  })]
66200
66261
  });
66201
- }, $R = ({ query: e, onQueryChange: t, searchPlaceholder: n = "Search models, tools, agents…", styles: r, filters: i, onFiltersChange: a, filterValues: o, isMyAppsActive: s, onMyAppsChange: c, filterFromLabel: l, filterMyAppsLabel: u, filterTopicsLabel: d, gridViewLabel: f, listViewLabel: p, viewToggleLabel: m, sortKey: h, sortOptions: g, ..._ }) => {
66262
+ }, iz = ({ query: e, onQueryChange: t, searchPlaceholder: n = "Search models, tools, agents…", styles: r, filters: i, onFiltersChange: a, filterValues: o, isMyAppsActive: s, onMyAppsChange: c, filterFromLabel: l, filterMyAppsLabel: u, filterTopicsLabel: d, gridViewLabel: f, listViewLabel: p, viewToggleLabel: m, sortKey: h, sortOptions: g, ..._ }) => {
66202
66263
  let v = { "--cat-browse-divider": r?.colors?.divider };
66203
66264
  return /* @__PURE__ */ I("section", {
66204
- className: z("flex-shrink-0 px-4", ZR.section),
66265
+ className: z("flex-shrink-0 px-4", nz.section),
66205
66266
  style: v,
66206
- children: /* @__PURE__ */ I(QR, {
66267
+ children: /* @__PURE__ */ I(rz, {
66207
66268
  styles: r,
66208
66269
  query: e,
66209
66270
  onQueryChange: t,
@@ -66224,11 +66285,11 @@ var GF = {
66224
66285
  ..._
66225
66286
  })
66226
66287
  });
66227
- }, ez = {
66288
+ }, az = {
66228
66289
  root: "_root_1h83l_1",
66229
66290
  heading: "_heading_1h83l_5",
66230
66291
  headingTitle: "_headingTitle_1h83l_9"
66231
- }, tz = ({ label: e, options: i, onClick: a }) => {
66292
+ }, oz = ({ label: e, options: i, onClick: a }) => {
66232
66293
  let o = $e(null);
66233
66294
  return i?.length ? /* @__PURE__ */ I("div", {
66234
66295
  ref: o,
@@ -66250,126 +66311,126 @@ var GF = {
66250
66311
  }),
66251
66312
  onClick: a
66252
66313
  });
66253
- }, nz = ({ items: e, tabs: t, topicOptions: n, favorites: r, titles: i, browseHeaderRenderer: a, onToggleFavorite: o, isFavoriteVisible: s, columnVisibility: c, onUseInChat: l, isPrimaryActionVisible: u, onShare: d, isPublishVisible: f, isPublishPrimary: p, getPublishHistory: m, publishFolderItems: h, publishExpandedPaths: g, onPublishExpandedPathsChange: _, publishLoadingPaths: v, hasPublishWriteAccess: y, onPublish: b, onPublishSuccess: x, onPublishError: S, onCreatePublishFolder: C, publishLabels: w, ruleSourceOptions: T, onFetchExistingRules: E, shareOverlay: D, isShareVisible: O, isSharePrimary: ee, onFetchDetails: te, onEdit: k, onDownload: ne, isDownloadVisible: re, isDownloadPrimary: ie, onLoadContentFile: ae, onLoadContentFilePreview: A, renderContentFilePreview: j, onDelete: oe, onUnshare: se, isUnshareVisible: ce, onRevokeShare: le, onFetchRecipientsCount: ue, isRevokeShareVisible: de, onUnpublish: fe, isUnpublishVisible: pe, onLogin: me, onLogout: he, onCreateClick: ge, createOptions: _e, hideCreateButton: M = !1, hidePageTitle: ve = !1, isReadonly: ye = !1, initialViewMode: be = bn.List, selectedItemId: xe, onCardClick: Se, isLoading: Ce, styles: we, detailsTexts: Te, detailsLimitsFooterNote: Ee, initialDetailsItemId: Oe, sortKey: Ae, onSortChange: je, filterTopics: Me, onFilterTopicsChange: Ne, isMyAppsActive: Pe, onMyAppsActiveChange: Fe, activeTab: Ie, onActiveTabChange: Le }) => {
66254
- let { typography: Re } = we ?? {}, ze = eI(we), Be = i?.pageTitle ?? "Catalog", Ve = i?.createLabel ?? "Create", He = i?.favoritesTitle ?? "Your favorites", Ue = i?.browseTitle ?? "Browse", We = i?.searchPlaceholder ?? "Search models, tools, agents…", Ge = i?.noResultsTitle ?? ((e) => `No results for "${e}"`), Ke = i?.featuredLabel ?? "Featured", qe = i?.gridViewLabel ?? "Grid view", Je = i?.listViewLabel ?? "List view", Xe = i?.viewToggleLabel ?? "View mode", Ze = i?.ariaLabel ?? "Catalog", Qe = [
66314
+ }, sz = ({ items: e, tabs: t, topicOptions: n, favorites: r, titles: i, browseHeaderRenderer: a, onToggleFavorite: o, isFavoriteVisible: s, columnVisibility: c, onUseInChat: l, isPrimaryActionVisible: u, onShare: d, isPublishVisible: f, isPublishPrimary: p, getPublishHistory: m, publishFolderItems: h, publishExpandedPaths: g, onPublishExpandedPathsChange: _, publishLoadingPaths: v, hasPublishWriteAccess: y, onPublish: b, onPublishSuccess: x, onPublishError: S, onCreatePublishFolder: C, publishLabels: w, ruleSourceOptions: T, onFetchExistingRules: E, shareOverlay: D, isShareVisible: O, isSharePrimary: ee, onFetchDetails: te, onEdit: k, onDownload: ne, isDownloadVisible: re, isDownloadPrimary: ie, onLoadContentFile: ae, onLoadContentFilePreview: A, renderContentFilePreview: j, onDelete: oe, onUnshare: se, isUnshareVisible: ce, onRevokeShare: le, onFetchRecipientsCount: ue, isRevokeShareVisible: de, onUnpublish: fe, isUnpublishVisible: pe, onLogin: me, onLogout: he, onCreateClick: ge, createOptions: _e, hideCreateButton: M = !1, hidePageTitle: ve = !1, isReadonly: ye = !1, initialViewMode: be = bn.Grid, isFullWidth: xe = !1, selectedItemId: Se, onCardClick: Ce, isLoading: we, styles: Te, detailsTexts: Ee, detailsLimitsFooterNote: Oe, initialDetailsItemId: Ae, sortKey: je, onSortChange: Me, filterTopics: Ne, onFilterTopicsChange: Pe, isMyAppsActive: Fe, onMyAppsActiveChange: Ie, activeTab: Le, onActiveTabChange: Re }) => {
66315
+ let { typography: ze } = Te ?? {}, Be = eI(Te), Ve = i?.pageTitle ?? "Catalog", He = i?.createLabel ?? "Create", Ue = i?.favoritesTitle ?? "Your favorites", We = i?.browseTitle ?? "Browse", Ge = i?.searchPlaceholder ?? "Search models, tools, agents…", Ke = i?.noResultsTitle ?? ((e) => `No results for "${e}"`), qe = i?.featuredLabel ?? "Featured", Je = i?.gridViewLabel ?? "Grid view", Xe = i?.listViewLabel ?? "List view", Ze = i?.viewToggleLabel ?? "View mode", Qe = i?.ariaLabel ?? "Catalog", et = [
66255
66316
  {
66256
66317
  key: xn.RecentlyUpdated,
66257
66318
  label: i?.sortRecentlyUpdatedLabel ?? "Recently Updated",
66258
- onClick: () => ht?.(xn.RecentlyUpdated)
66319
+ onClick: () => gt?.(xn.RecentlyUpdated)
66259
66320
  },
66260
66321
  {
66261
66322
  key: xn.Newest,
66262
66323
  label: i?.sortNewestLabel ?? "Newest",
66263
- onClick: () => ht?.(xn.Newest)
66324
+ onClick: () => gt?.(xn.Newest)
66264
66325
  },
66265
66326
  {
66266
66327
  key: xn.NameAZ,
66267
66328
  label: i?.sortNameAZLabel ?? "Name A-Z",
66268
- onClick: () => ht?.(xn.NameAZ)
66329
+ onClick: () => gt?.(xn.NameAZ)
66269
66330
  }
66270
- ], [et, tt] = F(""), [nt, rt] = F(be), [it, at] = F(be === bn.List), [ot, st] = F(xn.RecentlyUpdated), [ct, lt] = F(/* @__PURE__ */ new Set()), [ut, dt] = F(!1), ft = Ae ?? ot, pt = Me ?? ct, mt = Pe ?? ut, ht = N((e) => {
66331
+ ], [tt, nt] = F(""), [rt, it] = F(be), [at, ot] = F(be === bn.Cards), [st, ct] = F(xn.RecentlyUpdated), [lt, ut] = F(/* @__PURE__ */ new Set()), [dt, ft] = F(!1), pt = je ?? st, mt = Ne ?? lt, ht = Fe ?? dt, gt = N((e) => {
66271
66332
  let t = e;
66272
- st(t), je?.(t);
66273
- }, [je]), gt = N((e) => {
66274
- lt(e), Ne?.(e);
66275
- }, [Ne]), _t = N((e) => {
66276
- dt(e), Fe?.(e);
66277
- }, [Fe]), vt = P(() => e.filter((e) => !e.isHidden), [e]), yt = P(() => n ?? Dn(vt), [n, vt]), bt = P(() => t ?? qF(vt, i?.tabLabels), [
66333
+ ct(t), Me?.(t);
66334
+ }, [Me]), _t = N((e) => {
66335
+ ut(e), Pe?.(e);
66336
+ }, [Pe]), vt = N((e) => {
66337
+ ft(e), Ie?.(e);
66338
+ }, [Ie]), yt = P(() => e.filter((e) => !e.isHidden), [e]), bt = P(() => n ?? Dn(yt), [n, yt]), xt = P(() => t ?? qF(yt, i?.tabLabels), [
66278
66339
  t,
66279
- vt,
66340
+ yt,
66280
66341
  i?.tabLabels
66281
- ]), xt = bt[0]?.id ?? "", [St, Ct] = F(xt);
66342
+ ]), St = xt[0]?.id ?? "", [Ct, wt] = F(St);
66282
66343
  Ye(() => {
66283
- Ct((e) => e || xt);
66284
- }, [xt]);
66285
- let wt = Ie ?? St, Tt = N((e) => {
66286
- Ct(e), Le?.(e);
66287
- }, [Le]), [Et, Dt] = F(r.length > 0);
66344
+ wt((e) => e || St);
66345
+ }, [St]);
66346
+ let Tt = Le ?? Ct, Et = N((e) => {
66347
+ wt(e), Re?.(e);
66348
+ }, [Re]), [Dt, Ot] = F(r.length > 0);
66288
66349
  Ye(() => {
66289
- r.length > 0 && !Et && Dt(!0);
66290
- }, [r.length, Et]);
66291
- let Ot = N(() => {
66292
- Dt(!1);
66293
- }, []), kt = Et && r.length === 0, [At, jt] = F(null), [Mt, Nt] = F(!1), [Pt, Ft] = F(void 0), [It, Lt] = F(!1), Rt = $e(null), zt = N(async (e) => {
66294
- jt(e), Ft(void 0), Rt.current = e.id;
66350
+ r.length > 0 && !Dt && Ot(!0);
66351
+ }, [r.length, Dt]);
66352
+ let kt = N(() => {
66353
+ Ot(!1);
66354
+ }, []), At = Dt && r.length === 0, [jt, Mt] = F(null), [Nt, Pt] = F(!1), [Ft, It] = F(void 0), [Lt, Rt] = F(!1), zt = $e(null), Bt = N(async (e) => {
66355
+ Mt(e), It(void 0), zt.current = e.id;
66295
66356
  let t = [];
66296
- te && (Lt(!0), t.push((async () => {
66357
+ te && (Rt(!0), t.push((async () => {
66297
66358
  try {
66298
66359
  let t = await te(e);
66299
- Rt.current === e.id && Ft(t);
66360
+ zt.current === e.id && It(t);
66300
66361
  } finally {
66301
- Rt.current === e.id && Lt(!1);
66362
+ zt.current === e.id && Rt(!1);
66302
66363
  }
66303
66364
  })())), await Promise.all(t);
66304
- }, [te]), Bt = $e(null);
66365
+ }, [te]), Vt = $e(null);
66305
66366
  Ye(() => {
66306
- if (!Oe) {
66307
- Bt.current = null;
66367
+ if (!Ae) {
66368
+ Vt.current = null;
66308
66369
  return;
66309
66370
  }
66310
- if (Bt.current === Oe) return;
66311
- let t = e.find((e) => e.id === Oe);
66312
- t && (Bt.current = Oe, zt(t));
66371
+ if (Vt.current === Ae) return;
66372
+ let t = e.find((e) => e.id === Ae);
66373
+ t && (Vt.current = Ae, Bt(t));
66313
66374
  }, [
66314
- Oe,
66375
+ Ae,
66315
66376
  e,
66316
- zt
66377
+ Bt
66317
66378
  ]), Ye(() => {
66318
- if (At == null) return;
66319
- let t = e.find((e) => e.id === At.id);
66320
- t && t !== At && jt(t);
66321
- }, [e, At]);
66322
- let Vt = N(async (e, t) => {
66323
- await me?.(e, t), await zt(e);
66324
- }, [me, zt]), Ht = N(async (e, t) => {
66325
- await he?.(e, t), await zt(e);
66326
- }, [he, zt]), Ut = N(() => {
66327
- Nt(!1), Rt.current = null, setTimeout(() => {
66328
- jt(null), Ft(void 0), Lt(!1);
66379
+ if (jt == null) return;
66380
+ let t = e.find((e) => e.id === jt.id);
66381
+ t && t !== jt && Mt(t);
66382
+ }, [e, jt]);
66383
+ let Ht = N(async (e, t) => {
66384
+ await me?.(e, t), await Bt(e);
66385
+ }, [me, Bt]), Ut = N(async (e, t) => {
66386
+ await he?.(e, t), await Bt(e);
66387
+ }, [he, Bt]), Wt = N(() => {
66388
+ Pt(!1), zt.current = null, setTimeout(() => {
66389
+ Mt(null), It(void 0), Rt(!1);
66329
66390
  }, 300);
66330
- }, []), Wt = P(() => {
66331
- if (At == null) return null;
66332
- if (Pt == null) return At;
66333
- let { credentials: e, ...t } = Pt;
66391
+ }, []), Gt = P(() => {
66392
+ if (jt == null) return null;
66393
+ if (Ft == null) return jt;
66394
+ let { credentials: e, ...t } = Ft;
66334
66395
  return {
66335
- ...At,
66396
+ ...jt,
66336
66397
  details: t,
66337
- credentials: e ?? At.credentials
66398
+ credentials: e ?? jt.credentials
66338
66399
  };
66339
- }, [At, Pt]), Gt = P(() => kn(vt, ft), [vt, ft]), Kt = P(() => On(Gt, et), [Gt, et]), qt = P(() => pt.size > 0 ? Tn(Kt, pt) : Kt, [Kt, pt]), Jt = P(() => mt ? En(qt) : qt, [qt, mt]), Yt = P(() => wt ? Jt.filter((e) => e.type === wt) : Jt, [Jt, wt]), Xt = At != null && r.some((e) => e.id === At.id);
66400
+ }, [jt, Ft]), Kt = P(() => kn(yt, pt), [yt, pt]), qt = P(() => On(Kt, tt), [Kt, tt]), Jt = P(() => mt.size > 0 ? Tn(qt, mt) : qt, [qt, mt]), Yt = P(() => ht ? En(Jt) : Jt, [Jt, ht]), Xt = P(() => Tt ? Yt.filter((e) => e.type === Tt) : Yt, [Yt, Tt]), Zt = jt != null && r.some((e) => e.id === jt.id);
66340
66401
  Ye(() => {
66341
- if (At == null) return;
66342
- let e = requestAnimationFrame(() => Nt(!0));
66402
+ if (jt == null) return;
66403
+ let e = requestAnimationFrame(() => Pt(!0));
66343
66404
  return () => cancelAnimationFrame(e);
66344
- }, [At]);
66345
- let Zt = N((e) => {
66346
- e === bn.List && at(!0), rt(e);
66347
- }, []), Qt = !M && !ye, $t = Et && !ye, en = et ? Ge(et) : "No items", tn = P(() => ({
66348
- noResultsTitle: en,
66349
- featuredLabel: Ke,
66350
- credentialsBadgeLoggedOutLabel: Te?.credentialsBadgeLoggedOutLabel
66405
+ }, [jt]);
66406
+ let Qt = N((e) => {
66407
+ e === bn.Cards && ot(!0), it(e);
66408
+ }, []), $t = !M && !ye, en = Dt && !ye, tn = tt ? Ke(tt) : "No items", nn = P(() => ({
66409
+ noResultsTitle: tn,
66410
+ featuredLabel: qe,
66411
+ credentialsBadgeLoggedOutLabel: Ee?.credentialsBadgeLoggedOutLabel
66351
66412
  }), [
66352
- en,
66353
- Ke,
66354
- Te?.credentialsBadgeLoggedOutLabel
66413
+ tn,
66414
+ qe,
66415
+ Ee?.credentialsBadgeLoggedOutLabel
66355
66416
  ]);
66356
- return Ce ? /* @__PURE__ */ I("div", {
66417
+ return we ? /* @__PURE__ */ I("div", {
66357
66418
  className: "flex size-full min-h-0 flex-1 items-center justify-center",
66358
66419
  children: /* @__PURE__ */ I(De, {})
66359
66420
  }) : /* @__PURE__ */ L("section", {
66360
- "aria-label": Ze,
66361
- className: z("flex size-full min-h-0 flex-1 flex-col", ez.root),
66362
- style: ze,
66421
+ "aria-label": Qe,
66422
+ className: z("flex size-full min-h-0 flex-1 flex-col", az.root),
66423
+ style: Be,
66363
66424
  children: [
66364
- (!ve || Qt) && /* @__PURE__ */ I("div", {
66365
- className: z("shrink-0", ez.heading),
66425
+ (!ve || $t) && /* @__PURE__ */ I("div", {
66426
+ className: z("shrink-0", az.heading),
66366
66427
  children: /* @__PURE__ */ L("div", {
66367
66428
  className: "flex h-[64px] w-full items-center justify-between px-8",
66368
66429
  children: [!ve && /* @__PURE__ */ I("h1", {
66369
- className: z(Re?.pageHeadingFontClassName ?? "dial-display2-text", ez.headingTitle),
66370
- children: Be
66371
- }), Qt && /* @__PURE__ */ I(tz, {
66372
- label: Ve,
66430
+ className: z(ze?.pageHeadingFontClassName ?? "dial-display2-text", az.headingTitle),
66431
+ children: Ve
66432
+ }), $t && /* @__PURE__ */ I(oz, {
66433
+ label: He,
66373
66434
  options: _e,
66374
66435
  onClick: ge
66375
66436
  })]
@@ -66378,101 +66439,102 @@ var GF = {
66378
66439
  /* @__PURE__ */ L("div", {
66379
66440
  className: "flex min-h-0 min-w-0 flex-1 flex-col overflow-y-auto overflow-x-hidden",
66380
66441
  children: [
66381
- $t && /* @__PURE__ */ I("div", {
66442
+ en && /* @__PURE__ */ I("div", {
66382
66443
  className: "w-full px-8",
66383
- children: /* @__PURE__ */ I(PR, {
66444
+ children: /* @__PURE__ */ I(zR, {
66384
66445
  items: r,
66385
66446
  totalCount: r.length,
66386
- title: He,
66447
+ title: Ue,
66387
66448
  onToggleFavorite: o,
66388
66449
  isFavoriteVisible: s,
66389
- onItemClick: Se ?? zt,
66390
- isLeaving: kt,
66391
- onExitComplete: Ot,
66392
- selectedItemId: xe,
66393
- credentialsBadgeLoggedOutLabel: Te?.credentialsBadgeLoggedOutLabel
66450
+ onItemClick: Ce ?? Bt,
66451
+ isLeaving: At,
66452
+ onExitComplete: kt,
66453
+ selectedItemId: Se,
66454
+ credentialsBadgeLoggedOutLabel: Ee?.credentialsBadgeLoggedOutLabel
66394
66455
  })
66395
66456
  }),
66396
66457
  /* @__PURE__ */ I("div", {
66397
66458
  className: "w-full px-4 pt-6",
66398
- children: /* @__PURE__ */ I($R, {
66399
- totalCount: Jt.length,
66400
- viewMode: nt,
66401
- onViewModeChange: Zt,
66402
- sortKey: ft,
66403
- query: et,
66404
- onQueryChange: tt,
66405
- title: Ue,
66459
+ children: /* @__PURE__ */ I(iz, {
66460
+ totalCount: Yt.length,
66461
+ viewMode: rt,
66462
+ onViewModeChange: Qt,
66463
+ sortKey: pt,
66464
+ query: tt,
66465
+ onQueryChange: nt,
66466
+ title: We,
66406
66467
  browseHeaderRenderer: a,
66407
- searchPlaceholder: We,
66408
- gridViewLabel: qe,
66409
- listViewLabel: Je,
66410
- viewToggleLabel: Xe,
66411
- sortOptions: Qe,
66412
- filters: pt,
66413
- onFiltersChange: gt,
66414
- filterValues: yt,
66415
- isMyAppsActive: mt,
66416
- onMyAppsChange: _t,
66468
+ searchPlaceholder: Ge,
66469
+ gridViewLabel: Je,
66470
+ listViewLabel: Xe,
66471
+ viewToggleLabel: Ze,
66472
+ sortOptions: et,
66473
+ filters: mt,
66474
+ onFiltersChange: _t,
66475
+ filterValues: bt,
66476
+ isMyAppsActive: ht,
66477
+ onMyAppsChange: vt,
66417
66478
  filterFromLabel: i?.filterFromLabel,
66418
66479
  filterMyAppsLabel: i?.filterMyAppsLabel,
66419
66480
  filterTopicsLabel: i?.filterTopicsLabel
66420
66481
  })
66421
66482
  }),
66422
- bt.length > 0 && /* @__PURE__ */ I("div", {
66483
+ xt.length > 0 && /* @__PURE__ */ I("div", {
66423
66484
  className: "min-w-0 shrink-0 overflow-x-auto px-8",
66424
66485
  children: /* @__PURE__ */ I(ke, {
66425
- tabs: bt.map((e) => ({
66486
+ tabs: xt.map((e) => ({
66426
66487
  id: e.id,
66427
66488
  label: typeof e.label == "string" ? e.label : String(e.label),
66428
- count: Jt.filter((t) => t.type === e.id).length
66489
+ count: Yt.filter((t) => t.type === e.id).length
66429
66490
  })),
66430
- activeTabId: wt,
66431
- onTabChange: Tt
66491
+ activeTabId: Tt,
66492
+ onTabChange: Et
66432
66493
  })
66433
66494
  }),
66434
66495
  /* @__PURE__ */ L("div", {
66435
- className: z(Yt.length > 0 ? "mx-auto min-h-full w-full max-w-[1180px] px-8 py-6" : "min-h-[180px] flex-1", Yt.length === 0 && "px-8 py-6"),
66496
+ className: z(Xt.length > 0 ? ["min-h-full w-full px-8 py-6", !xe && "mx-auto max-w-[1180px]"] : "min-h-[180px] flex-1", Xt.length === 0 && "px-8 py-6"),
66436
66497
  children: [/* @__PURE__ */ I("div", {
66437
- className: z(Yt.length > 0 ? "pb-8" : "size-full flex-1", nt !== bn.Grid && "hidden"),
66438
- children: /* @__PURE__ */ I(vI, {
66439
- items: Yt,
66440
- query: et,
66498
+ className: z(Xt.length > 0 ? "pb-8" : "size-full flex-1", rt !== bn.Grid && "hidden"),
66499
+ children: /* @__PURE__ */ I(CI, {
66500
+ items: Xt,
66501
+ query: tt,
66441
66502
  onToggleFavorite: o,
66442
66503
  isFavoriteVisible: s,
66443
- onItemClick: Se ?? zt,
66444
- titles: tn,
66445
- selectedItemId: xe,
66446
- isReadonly: ye
66504
+ onItemClick: Ce ?? Bt,
66505
+ titles: nn,
66506
+ selectedItemId: Se,
66507
+ isReadonly: ye,
66508
+ isFullWidth: xe
66447
66509
  })
66448
- }), it && /* @__PURE__ */ I("div", {
66449
- className: z("pb-8", nt !== bn.List && "hidden", Yt.length === 0 && "h-full"),
66450
- children: /* @__PURE__ */ I(KR, {
66451
- type: wt,
66452
- items: Yt,
66453
- query: et,
66454
- ariaLabel: Ze,
66455
- emptyStateTitle: en,
66510
+ }), at && /* @__PURE__ */ I("div", {
66511
+ className: z("pb-8", rt !== bn.Cards && "hidden", Xt.length === 0 && "h-full"),
66512
+ children: /* @__PURE__ */ I(ZR, {
66513
+ type: Tt,
66514
+ items: Xt,
66515
+ query: tt,
66516
+ ariaLabel: Qe,
66517
+ emptyStateTitle: tn,
66456
66518
  onToggleFavorite: o,
66457
66519
  isFavoriteVisible: s,
66458
66520
  columnVisibility: c,
66459
- onItemClick: Se ?? zt,
66521
+ onItemClick: Ce ?? Bt,
66460
66522
  stickyHeaderTop: 0,
66461
- selectedItemId: xe,
66462
- credentialsBadgeLoggedOutLabel: Te?.credentialsBadgeLoggedOutLabel,
66523
+ selectedItemId: Se,
66524
+ credentialsBadgeLoggedOutLabel: Ee?.credentialsBadgeLoggedOutLabel,
66463
66525
  isReadonly: ye
66464
66526
  })
66465
66527
  })]
66466
66528
  })
66467
66529
  ]
66468
66530
  }),
66469
- Wt != null && /* @__PURE__ */ I(kR, {
66470
- item: Wt,
66471
- isOpen: Mt,
66472
- isStarred: Xt,
66473
- isDetailsLoading: It,
66531
+ Gt != null && /* @__PURE__ */ I(PR, {
66532
+ item: Gt,
66533
+ isOpen: Nt,
66534
+ isStarred: Zt,
66535
+ isDetailsLoading: Lt,
66474
66536
  isReadonly: ye,
66475
- onClose: Ut,
66537
+ onClose: Wt,
66476
66538
  onToggleFavorite: o,
66477
66539
  isFavoriteVisible: s,
66478
66540
  onUseInChat: l,
@@ -66511,13 +66573,13 @@ var GF = {
66511
66573
  isRevokeShareVisible: de,
66512
66574
  onUnpublish: fe,
66513
66575
  isUnpublishVisible: pe,
66514
- onLogin: Vt,
66515
- onLogout: Ht,
66516
- texts: Te,
66517
- limitsFooterNote: Ee
66576
+ onLogin: Ht,
66577
+ onLogout: Ut,
66578
+ texts: Ee,
66579
+ limitsFooterNote: Oe
66518
66580
  })
66519
66581
  ]
66520
66582
  });
66521
66583
  };
66522
66584
  //#endregion
66523
- export { oI as AppIdentity, gI as Card, vI as CardGrid, _I as CardRowRenderer, nz as Catalog, Sn as CatalogContentNodeType, Cn as CatalogContentPreviewType, ln as CatalogDetailsTab, un as CatalogLimitStatus, xn as CatalogSortKey, bn as CatalogViewMode, cn as CodeLanguage, XL as ContentTab, hn as CredentialStatus, cI as CredentialsBadge, vn as CredentialsBadgeState, gn as CredentialsLevel, _n as CredentialsUiState, pn as DeploymentSize, dn as DetailsConfirmationKind, fn as DetailsConfirmationVariant, jR as FavoriteCard, PR as Favorites, XR as Filter, hL as InfoCard, KR as ListView, $R as Toolbar, mn as ToolsetAuthenticationType, pI as TopicTag, qF as buildCatalogTabs, On as filterCatalogItems, ZF as getCredentialsBadgeState, XF as getCredentialsUiState, QF as getSignedInLevel, Dn as getTopicOptions, kn as sortCatalogItems, JF as useFavColumns, rI as useScrollVirtualizer };
66585
+ export { dI as AppIdentity, xI as Card, CI as CardGrid, SI as CardRowRenderer, sz as Catalog, Sn as CatalogContentNodeType, Cn as CatalogContentPreviewType, ln as CatalogDetailsTab, un as CatalogLimitStatus, xn as CatalogSortKey, bn as CatalogViewMode, cn as CodeLanguage, tR as ContentTab, hn as CredentialStatus, pI as CredentialsBadge, vn as CredentialsBadgeState, gn as CredentialsLevel, _n as CredentialsUiState, pn as DeploymentSize, dn as DetailsConfirmationKind, fn as DetailsConfirmationVariant, IR as FavoriteCard, zR as Favorites, tz as Filter, bL as InfoCard, ZR as ListView, iz as Toolbar, mn as ToolsetAuthenticationType, vI as TopicTag, qF as buildCatalogTabs, On as filterCatalogItems, ZF as getCredentialsBadgeState, XF as getCredentialsUiState, QF as getSignedInLevel, Dn as getTopicOptions, kn as sortCatalogItems, JF as useFavColumns, cI as useScrollVirtualizer };