@flamingo-stack/openframe-frontend-core 0.0.809 → 0.0.810

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.
Files changed (62) hide show
  1. package/dist/{chunk-ZAXGW4KT.cjs → chunk-2C63MX75.cjs} +13 -13
  2. package/dist/{chunk-KS5V55HN.cjs → chunk-3FBXQSSC.cjs} +7 -7
  3. package/dist/{chunk-OAJ3AL4V.cjs → chunk-B6DIM5JG.cjs} +4 -4
  4. package/dist/{chunk-KITOT3DS.cjs → chunk-CLMUD56S.cjs} +10 -10
  5. package/dist/{chunk-DDFT6VQ3.cjs → chunk-CZWQCYKV.cjs} +3 -3
  6. package/dist/{chunk-AZJYMTBS.cjs → chunk-EKDLVUEA.cjs} +2 -2
  7. package/dist/{chunk-KCB72H7A.cjs → chunk-ETI7OMPU.cjs} +39 -39
  8. package/dist/{chunk-Q3C6UJJ7.cjs → chunk-F26COFTW.cjs} +57 -57
  9. package/dist/{chunk-RZNRKWG5.cjs → chunk-FCFYZIOY.cjs} +9 -9
  10. package/dist/{chunk-3B76QFXV.cjs → chunk-GG36TCKP.cjs} +4 -4
  11. package/dist/{chunk-BT53NHR7.cjs → chunk-J4QORJMC.cjs} +25 -25
  12. package/dist/{chunk-WDL3GFH2.cjs → chunk-MAQFG62O.cjs} +19 -19
  13. package/dist/{chunk-UVLTUSH3.cjs → chunk-MSAXZRXZ.cjs} +131 -131
  14. package/dist/{chunk-KHKPLOU4.cjs → chunk-QDB2JO55.cjs} +144 -36
  15. package/dist/{chunk-OFGYPMTE.cjs → chunk-R2ABQG2T.cjs} +39 -39
  16. package/dist/{chunk-VKAFZCFV.cjs → chunk-RKNCNL6K.cjs} +13 -13
  17. package/dist/{chunk-5UTJARDM.cjs → chunk-RPBOWCME.cjs} +2 -2
  18. package/dist/{chunk-WV44WJKR.cjs → chunk-TOTR2WMH.cjs} +3 -3
  19. package/dist/{chunk-VUKN6KEE.cjs → chunk-X2JSCOOR.cjs} +52 -52
  20. package/dist/{chunk-LUICXMHC.cjs → chunk-ZXBRPQND.cjs} +6 -6
  21. package/dist/{cloud-tenants-DJAA23GR.cjs → cloud-tenants-QTASS5KP.cjs} +6 -6
  22. package/dist/components/case-studies/index.cjs +18 -18
  23. package/dist/components/chat/hooks/use-jetstream-dialog-subscription.js +1 -1
  24. package/dist/components/chat/hooks/use-nats-dialog-subscription.js +1 -1
  25. package/dist/components/chat/index.cjs +4 -4
  26. package/dist/components/chat/types/api.types.d.ts +8 -4
  27. package/dist/components/chat/types/api.types.d.ts.map +1 -1
  28. package/dist/components/contact/index.cjs +7 -7
  29. package/dist/components/docs/index.cjs +10 -10
  30. package/dist/components/embeds/index.cjs +7 -7
  31. package/dist/components/faq/index.cjs +8 -8
  32. package/dist/components/features/index.cjs +6 -6
  33. package/dist/components/help-center-pages/index.cjs +74 -74
  34. package/dist/components/index.cjs +41 -41
  35. package/dist/components/meeting-scheduler/index.cjs +36 -36
  36. package/dist/components/navigation/index.cjs +9 -9
  37. package/dist/components/onboarding-guides/index.cjs +8 -8
  38. package/dist/components/product-demo/index.cjs +15 -15
  39. package/dist/components/tickets/index.cjs +11 -11
  40. package/dist/components/ui/index.cjs +6 -6
  41. package/dist/{devices-AIDQW4HB.cjs → devices-KPMQI57Y.cjs} +7 -7
  42. package/dist/{embeddable-chat-XT6GMSBX.cjs → embeddable-chat-LB7NDFVQ.cjs} +60 -60
  43. package/dist/hooks/index.cjs +3 -3
  44. package/dist/index.cjs +10 -10
  45. package/dist/{knowledge-JWCFM3GO.cjs → knowledge-JWGBY3ZJ.cjs} +7 -7
  46. package/dist/{logs-ZNIXPJXA.cjs → logs-QENTXKWY.cjs} +14 -14
  47. package/dist/nats/index.cjs +2 -2
  48. package/dist/nats/nats-provider.d.ts +9 -3
  49. package/dist/nats/nats-provider.d.ts.map +1 -1
  50. package/dist/nats/nats-provider.js +7 -3
  51. package/dist/nats/shared-connection.d.ts +44 -1
  52. package/dist/nats/shared-connection.d.ts.map +1 -1
  53. package/dist/nats/shared-connection.js +126 -22
  54. package/dist/{policies-Z4NGPLA2.cjs → policies-2HXFZ2EL.cjs} +10 -10
  55. package/dist/{scripts-G4Y5SPOW.cjs → scripts-TMXULK6L.cjs} +11 -11
  56. package/dist/{software-update-VAOKDA76.cjs → software-update-H2LAEWDN.cjs} +9 -9
  57. package/package.json +1 -1
  58. package/src/components/chat/hooks/use-jetstream-dialog-subscription.ts +1 -1
  59. package/src/components/chat/hooks/use-nats-dialog-subscription.ts +1 -1
  60. package/src/components/chat/types/api.types.ts +8 -4
  61. package/src/nats/nats-provider.tsx +15 -4
  62. package/src/nats/shared-connection.ts +199 -25
@@ -54,7 +54,7 @@ var _chunkDEY6XXGOcjs = require('./chunk-DEY6XXGO.cjs');
54
54
 
55
55
 
56
56
 
57
- var _chunkAZJYMTBScjs = require('./chunk-AZJYMTBS.cjs');
57
+ var _chunkEKDLVUEAcjs = require('./chunk-EKDLVUEA.cjs');
58
58
 
59
59
 
60
60
 
@@ -110,7 +110,7 @@ var _chunkYR74H7Z3cjs = require('./chunk-YR74H7Z3.cjs');
110
110
 
111
111
 
112
112
 
113
- var _chunkBT53NHR7cjs = require('./chunk-BT53NHR7.cjs');
113
+ var _chunkJ4QORJMCcjs = require('./chunk-J4QORJMC.cjs');
114
114
 
115
115
 
116
116
 
@@ -130,7 +130,7 @@ var _chunkBT53NHR7cjs = require('./chunk-BT53NHR7.cjs');
130
130
 
131
131
 
132
132
 
133
- var _chunkKS5V55HNcjs = require('./chunk-KS5V55HN.cjs');
133
+ var _chunk3FBXQSSCcjs = require('./chunk-3FBXQSSC.cjs');
134
134
 
135
135
 
136
136
 
@@ -704,7 +704,7 @@ function ThemeProvider({ children, ...overrides }) {
704
704
  var useTheme = _nextthemes.useTheme;
705
705
  function useThemeToggle() {
706
706
  const { resolvedTheme, theme, setTheme } = useTheme();
707
- const mounted = _chunkKS5V55HNcjs.useIsHydrated.call(void 0, );
707
+ const mounted = _chunk3FBXQSSCcjs.useIsHydrated.call(void 0, );
708
708
  const active = mounted ? resolvedTheme === "light" || theme === "light" ? "light" : "dark" : DEFAULT_THEME;
709
709
  const setOdsTheme = _react.useCallback.call(void 0, (next) => setTheme(next), [setTheme]);
710
710
  const toggle = _react.useCallback.call(void 0, () => setTheme(active === "dark" ? "light" : "dark"), [active, setTheme]);
@@ -2437,7 +2437,7 @@ function InfoCardValueRow({
2437
2437
  copyAriaLabel,
2438
2438
  loading: loadingProp
2439
2439
  }) {
2440
- const { copy, copied } = _chunkAZJYMTBScjs.useCopyToClipboard.call(void 0, );
2440
+ const { copy, copied } = _chunkEKDLVUEAcjs.useCopyToClipboard.call(void 0, );
2441
2441
  const loading = _chunk7JWFMAQBcjs.useLoadingScope.call(void 0, ) || loadingProp;
2442
2442
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: VALUE_ROW_CLASS, children: [
2443
2443
  loading && label === void 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4WIJI4AKcjs.TextLineSkeleton, { type: "h4", className: "w-20" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: ROW_LABEL_CLASS, children: showLabel ? _nullishCoalesce(label, () => ( "")) : "" }),
@@ -4574,7 +4574,7 @@ function AdminFormDrawer({
4574
4574
  "form",
4575
4575
  {
4576
4576
  id: formId,
4577
- ..._chunkBT53NHR7cjs.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS,
4577
+ ..._chunkJ4QORJMCcjs.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS,
4578
4578
  className: "flex flex-col gap-[var(--spacing-system-lf)]",
4579
4579
  onSubmit: (e) => {
4580
4580
  e.preventDefault();
@@ -4681,7 +4681,7 @@ function AdminFormModal({
4681
4681
  "form",
4682
4682
  {
4683
4683
  id: formId,
4684
- ..._chunkBT53NHR7cjs.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS,
4684
+ ..._chunkJ4QORJMCcjs.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS,
4685
4685
  className: "flex min-h-0 flex-1 flex-col",
4686
4686
  onSubmit: (e) => {
4687
4687
  e.preventDefault();
@@ -6082,7 +6082,7 @@ function EmbedViewerFrame({
6082
6082
  const controllerRef = _react.useRef.call(void 0, null);
6083
6083
  _react.useEffect.call(void 0, () => {
6084
6084
  if (!fullscreenControl) return void 0;
6085
- const controller = new (0, _chunkBT53NHR7cjs.FullscreenSwitchController)({
6085
+ const controller = new (0, _chunkJ4QORJMCcjs.FullscreenSwitchController)({
6086
6086
  target: () => frameRef.current,
6087
6087
  onFullscreenChange: setIsFullscreen
6088
6088
  });
@@ -6176,7 +6176,7 @@ var KIND_HEADING = {
6176
6176
  design: "Claude Design"
6177
6177
  };
6178
6178
  function ClaudeEmbed({ url, kind = "artifact", title, height, loading = "lazy" }) {
6179
- const { src: mirrorSrc, status } = _chunkAZJYMTBScjs.useClaudeMirrorSrc.call(void 0, url);
6179
+ const { src: mirrorSrc, status } = _chunkEKDLVUEAcjs.useClaudeMirrorSrc.call(void 0, url);
6180
6180
  const isProbing = status === "probing";
6181
6181
  const embedUrl = isProbing ? null : _nullishCoalesce(mirrorSrc, () => ( _chunkTT64NRFUcjs.toClaudeEmbedUrl.call(void 0, url)));
6182
6182
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -7331,7 +7331,7 @@ var formatTimeAgo = (timestamp) => {
7331
7331
  return `${Math.floor(diffSeconds / 86400)}d ago`;
7332
7332
  };
7333
7333
  function RedditEmbedClient({ url, maxWidth = 700, rel }) {
7334
- const postLinkRel = _chunkKS5V55HNcjs.renderedLinkRel.call(void 0, rel, true);
7334
+ const postLinkRel = _chunk3FBXQSSCcjs.renderedLinkRel.call(void 0, rel, true);
7335
7335
  const { redditProxyUrl } = useRichMarkdownRuntime();
7336
7336
  const [redditData, setRedditData] = _react.useState.call(void 0, null);
7337
7337
  const [loading, setLoading] = _react.useState.call(void 0, true);
@@ -7663,7 +7663,7 @@ var UserIcon3 = () => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "svg", { wid
7663
7663
  ] });
7664
7664
  var XIcon = () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2TEMEXDTcjs.XLogoIcon, { className: "h-5 w-5", color: "currentColor" });
7665
7665
  function TwitterEmbedClient({ url, tweetId, maxWidth = 700, rel }) {
7666
- const postLinkRel = _chunkKS5V55HNcjs.renderedLinkRel.call(void 0, rel, true);
7666
+ const postLinkRel = _chunk3FBXQSSCcjs.renderedLinkRel.call(void 0, rel, true);
7667
7667
  const { twitterProxyUrl } = useRichMarkdownRuntime();
7668
7668
  const [tweetData, setTweetData] = _react.useState.call(void 0, null);
7669
7669
  const [fetchLoading, setLoading] = _react.useState.call(void 0, true);
@@ -7865,7 +7865,7 @@ function buildRichEmbedOverrides({
7865
7865
  ogEndpointPath,
7866
7866
  textSizes
7867
7867
  }) {
7868
- const standard = _chunkKS5V55HNcjs.buildStandardLeafRenderers.call(void 0, { textSizes });
7868
+ const standard = _chunk3FBXQSSCcjs.buildStandardLeafRenderers.call(void 0, { textSizes });
7869
7869
  return {
7870
7870
  // Fence-language embeds (```youtube-embed etc.); everything else
7871
7871
  // (mermaid, highlighted blocks, inline code) falls through to `standard`.
@@ -8001,14 +8001,14 @@ function buildRichEmbedOverrides({
8001
8001
  // rich-markdown runtime (Supabase optimization on the hub, identity
8002
8002
  // elsewhere). Guard against empty `![]()`.
8003
8003
  img: ({ src, alt }) => {
8004
- if (!_chunkKS5V55HNcjs.hasRenderableSrc.call(void 0, src)) return null;
8004
+ if (!_chunk3FBXQSSCcjs.hasRenderableSrc.call(void 0, src)) return null;
8005
8005
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MarkdownImage, { src: src.trim(), alt });
8006
8006
  },
8007
8007
  // Raw <iframe> tags in stored content (a pasted YouTube embed). A YouTube one becomes the same click-to-play
8008
8008
  // facade as the `youtube-embed` fence: the raw iframe loaded YouTube's whole player (about 470 KB of script) with
8009
8009
  // the page, on every post that carried one (CU-17tkuw5xp4q). Any other iframe loads when it nears the screen.
8010
8010
  iframe: ({ node: _node, src, ...rest }) => {
8011
- if (!_chunkKS5V55HNcjs.hasRenderableSrc.call(void 0, src)) return null;
8011
+ if (!_chunk3FBXQSSCcjs.hasRenderableSrc.call(void 0, src)) return null;
8012
8012
  const url = src.trim();
8013
8013
  if (_chunkPRCGRDHVcjs.extractYouTubeId.call(void 0, url)) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPRCGRDHVcjs.Video, { kind: "youtube", url });
8014
8014
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "iframe", { ...rest, src: url, loading: "lazy" });
@@ -8016,7 +8016,7 @@ function buildRichEmbedOverrides({
8016
8016
  // Raw <video> tags in stored content (blog publisher injection) route
8017
8017
  // to the <Video> SSOT (MuxPlayer) so HLS manifests play everywhere.
8018
8018
  video: ({ src, poster, className }) => {
8019
- if (!_chunkKS5V55HNcjs.hasRenderableSrc.call(void 0, src)) return null;
8019
+ if (!_chunk3FBXQSSCcjs.hasRenderableSrc.call(void 0, src)) return null;
8020
8020
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: `overflow-hidden ${className || "my-8 w-full rounded-lg"}`, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "aspect-video w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPRCGRDHVcjs.Video, { kind: "file", url: src.trim(), poster: typeof poster === "string" ? poster : void 0 }) }) });
8021
8021
  }
8022
8022
  };
@@ -8125,7 +8125,7 @@ var processShortcodes = (content) => {
8125
8125
  try {
8126
8126
  const urlObj = new URL(url);
8127
8127
  const hostname = urlObj.hostname.toLowerCase();
8128
- const hostIs = (domain) => _chunkBT53NHR7cjs.hostMatches.call(void 0, hostname, domain);
8128
+ const hostIs = (domain) => _chunkJ4QORJMCcjs.hostMatches.call(void 0, hostname, domain);
8129
8129
  const isYouTubeVideo = hostIs("youtube.com") && urlObj.searchParams.has("v") || hostIs("youtu.be");
8130
8130
  if (isYouTubeVideo || hostIs("reddit.com") || hostIs("twitter.com") || hostIs("x.com") || hostIs("figma.com")) {
8131
8131
  return match;
@@ -8202,13 +8202,13 @@ var RichMarkdownInner = ({
8202
8202
  },
8203
8203
  [resolveLinkEndpointUrl, resolveSource]
8204
8204
  );
8205
- const textSizes = _react.useMemo.call(void 0, () => _chunkKS5V55HNcjs.resolveTextSizeConfig.call(void 0, "article"), []);
8205
+ const textSizes = _react.useMemo.call(void 0, () => _chunk3FBXQSSCcjs.resolveTextSizeConfig.call(void 0, "article"), []);
8206
8206
  const componentOverrides = _react.useMemo.call(void 0,
8207
8207
  () => buildRichEmbedOverrides({ ogApiBaseUrl, ogEndpointPath, textSizes }),
8208
8208
  [ogApiBaseUrl, ogEndpointPath, textSizes]
8209
8209
  );
8210
8210
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
8211
- _chunkKS5V55HNcjs.MarkdownEngine,
8211
+ _chunk3FBXQSSCcjs.MarkdownEngine,
8212
8212
  {
8213
8213
  content,
8214
8214
  className,
@@ -8232,7 +8232,7 @@ var RichMarkdownRendererImpl = ({
8232
8232
  className = "",
8233
8233
  sectionIds,
8234
8234
  onInternalLinkClick,
8235
- brokenLinks = _chunkKS5V55HNcjs.NO_BROKEN_LINKS,
8235
+ brokenLinks = _chunk3FBXQSSCcjs.NO_BROKEN_LINKS,
8236
8236
  currentPath,
8237
8237
  resolveSource = "openframe-docs",
8238
8238
  resolveLinkEndpointUrl = "/api/docs/resolve-link",
@@ -10004,7 +10004,7 @@ var BenefitCardGrid = ({ children, className = "", columns = 2 }) => {
10004
10004
 
10005
10005
 
10006
10006
  function PlatformBrowseButton({ item }) {
10007
- const linkProps = _chunkKS5V55HNcjs.useNavLinkViaRuntime.call(void 0, { href: item.link, targetPlatform: item.targetPlatform });
10007
+ const linkProps = _chunk3FBXQSSCcjs.useNavLinkViaRuntime.call(void 0, { href: item.link, targetPlatform: item.targetPlatform });
10008
10008
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkAHBTZ7DNcjs.Button, { variant: "outline", linkProps, rightIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ExternalLink, { className: "h-4 w-4" }), children: [
10009
10009
  "Browse ",
10010
10010
  item.buttonText
@@ -10523,10 +10523,10 @@ var OSTypeBadge = ({
10523
10523
  if (!osType) {
10524
10524
  return labelOnly ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk7JWFMAQBcjs.cn.call(void 0, "text-ods-text-secondary", className), children: "Unknown" }) : null;
10525
10525
  }
10526
- const normalized = _chunkBT53NHR7cjs.normalizeOSType.call(void 0, osType);
10526
+ const normalized = _chunkJ4QORJMCcjs.normalizeOSType.call(void 0, osType);
10527
10527
  if (!normalized && !labelOnly) return null;
10528
- const label = _chunkBT53NHR7cjs.getOSLabel.call(void 0, osType);
10529
- const IconComponent = _chunkBT53NHR7cjs.getOSIcon.call(void 0, osType);
10528
+ const label = _chunkJ4QORJMCcjs.getOSLabel.call(void 0, osType);
10529
+ const IconComponent = _chunkJ4QORJMCcjs.getOSIcon.call(void 0, osType);
10530
10530
  if (iconOnly && IconComponent) {
10531
10531
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, IconComponent, { className: _chunk7JWFMAQBcjs.cn.call(void 0, iconSize, "text-ods-text-secondary", className) });
10532
10532
  }
@@ -10823,7 +10823,7 @@ function ComplianceLogo({
10823
10823
  fallback = null,
10824
10824
  className
10825
10825
  }) {
10826
- const standard = _chunkBT53NHR7cjs.complianceStandardForName.call(void 0, ...names);
10826
+ const standard = _chunkJ4QORJMCcjs.complianceStandardForName.call(void 0, ...names);
10827
10827
  if (!standard) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: fallback });
10828
10828
  const Official = standard.logo ? COMPLIANCE_LOGOS[standard.logo] : null;
10829
10829
  return Official ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -11831,7 +11831,7 @@ function ServiceCard({
11831
11831
  function ServiceCardRowItem({ row, loading: loadingProp }) {
11832
11832
  const loading = _chunk7JWFMAQBcjs.useLoadingScope.call(void 0, ) || loadingProp;
11833
11833
  const [revealed, setRevealed] = _react.useState.call(void 0, false);
11834
- const { copy, copied } = _chunkAZJYMTBScjs.useCopyToClipboard.call(void 0, );
11834
+ const { copy, copied } = _chunkEKDLVUEAcjs.useCopyToClipboard.call(void 0, );
11835
11835
  const { ref: valueRef, isTruncated: valueTruncated } = _chunkV4FXUIMHcjs.useIsTruncated.call(void 0, row.value);
11836
11836
  const actions = _react.useMemo.call(void 0, () => rowActions(row), [row]);
11837
11837
  const displayValue = row.isSecret ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MaskedValue, { value: row.value, isRevealed: revealed }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: row.value });
@@ -12864,7 +12864,7 @@ function DataTableRowImpl({
12864
12864
  const containerRef = _react.useRef.call(void 0, null);
12865
12865
  const handleClick = _react.useCallback.call(void 0,
12866
12866
  (e) => {
12867
- if (!_chunkBT53NHR7cjs.isOwnClick.call(void 0, e.target, containerRef.current)) {
12867
+ if (!_chunkJ4QORJMCcjs.isOwnClick.call(void 0, e.target, containerRef.current)) {
12868
12868
  if (isLinkMode) e.preventDefault();
12869
12869
  return;
12870
12870
  }
@@ -12878,7 +12878,7 @@ function DataTableRowImpl({
12878
12878
  if (!(target instanceof Element) || !_optionalChain([container, 'optionalAccess', _224 => _224.contains, 'call', _225 => _225(target)])) return;
12879
12879
  const nestedLink = target.closest("a");
12880
12880
  if (nestedLink && nestedLink !== container && container.contains(nestedLink)) return;
12881
- if (!_chunkBT53NHR7cjs.isOwnClick.call(void 0, target, container) || target.closest(ROW_LINK_CONTROL_SELECTOR)) e.preventDefault();
12881
+ if (!_chunkJ4QORJMCcjs.isOwnClick.call(void 0, target, container) || target.closest(ROW_LINK_CONTROL_SELECTOR)) e.preventDefault();
12882
12882
  }, []);
12883
12883
  const containerClassName = _chunk7JWFMAQBcjs.cn.call(void 0,
12884
12884
  DATA_TABLE_ROW_FRAME_CLASS,
@@ -13008,7 +13008,7 @@ function DataTableBody({
13008
13008
  const skeletonRowClassName = typeof rowClassName === "string" ? rowClassName : void 0;
13009
13009
  if (loading && loadingCells && hasRows) {
13010
13010
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
13011
- _chunkKS5V55HNcjs.LoadingFallback,
13011
+ _chunk3FBXQSSCcjs.LoadingFallback,
13012
13012
  {
13013
13013
  label: "Loading results",
13014
13014
  status: loadingRegion && !inScope,
@@ -13357,7 +13357,7 @@ function HeaderCell({ header, sort, onSortChange }) {
13357
13357
  // child of the cell.
13358
13358
  _optionalChain([meta, 'optionalAccess', _244 => _244.hint]) ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start gap-[var(--spacing-system-xxs)]", children: [
13359
13359
  filterTrigger,
13360
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBT53NHR7cjs.InfoHint, { label: resolveHeaderLabel(header), children: meta.hint })
13360
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkJ4QORJMCcjs.InfoHint, { label: resolveHeaderLabel(header), children: meta.hint })
13361
13361
  ] }) : filterTrigger
13362
13362
  ) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
13363
13363
  "div",
@@ -13382,7 +13382,7 @@ function HeaderCell({ header, sort, onSortChange }) {
13382
13382
  // centred on the row.
13383
13383
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 items-start gap-[var(--spacing-system-xxs)]", children: [
13384
13384
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, HeaderLabel, { header }),
13385
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBT53NHR7cjs.InfoHint, { label: resolveHeaderLabel(header), children: meta.hint })
13385
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkJ4QORJMCcjs.InfoHint, { label: resolveHeaderLabel(header), children: meta.hint })
13386
13386
  ] })
13387
13387
  ) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, HeaderLabel, { header }),
13388
13388
  canSort && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SortIcon, { sorted: sortDir })
@@ -13621,7 +13621,7 @@ function PhoneInput({
13621
13621
  placeholder = "Phone Number (optional)",
13622
13622
  onKeyDown
13623
13623
  }) {
13624
- const { priority, others } = _react.useMemo.call(void 0, () => _chunkBT53NHR7cjs.getCountryPhoneData.call(void 0, ), []);
13624
+ const { priority, others } = _react.useMemo.call(void 0, () => _chunkJ4QORJMCcjs.getCountryPhoneData.call(void 0, ), []);
13625
13625
  const selectedCountry = _react.useMemo.call(void 0,
13626
13626
  () => [...priority, ...others].find((c) => c.code === countryCode),
13627
13627
  [countryCode, priority, others]
@@ -13636,7 +13636,7 @@ function PhoneInput({
13636
13636
  _optionalChain([onValidationChange, 'optionalCall', _261 => _261(false)]);
13637
13637
  return;
13638
13638
  }
13639
- const invalid = !_chunkBT53NHR7cjs.validatePhoneNumber.call(void 0, phone, countryCode);
13639
+ const invalid = !_chunkJ4QORJMCcjs.validatePhoneNumber.call(void 0, phone, countryCode);
13640
13640
  setIsInvalid(invalid);
13641
13641
  _optionalChain([onValidationChange, 'optionalCall', _262 => _262(invalid)]);
13642
13642
  },
@@ -14481,7 +14481,7 @@ function MarkdownLinkDialog({ isOpen, initial, editing, onSubmit, onRemove, onCl
14481
14481
  ),
14482
14482
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-xsf)]", children: [
14483
14483
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
14484
- _chunkKS5V55HNcjs.TabSelector,
14484
+ _chunk3FBXQSSCcjs.TabSelector,
14485
14485
  {
14486
14486
  label: "Search engines",
14487
14487
  value: choice,
@@ -14538,7 +14538,7 @@ function useMarkdownLinkCommand() {
14538
14538
  buttonProps: { "aria-label": "Add or edit a link (ctrl + l)", title: "Add or edit a link (ctrl + l)" },
14539
14539
  icon: command.icon,
14540
14540
  execute: (state, api) => {
14541
- const existing = _chunkKS5V55HNcjs.findMarkdownLinkAt.call(void 0, state.text, state.selection.start, state.selection.end);
14541
+ const existing = _chunk3FBXQSSCcjs.findMarkdownLinkAt.call(void 0, state.text, state.selection.start, state.selection.end);
14542
14542
  setPending(
14543
14543
  existing ? {
14544
14544
  api,
@@ -14569,7 +14569,7 @@ function useMarkdownLinkCommand() {
14569
14569
  initial: _nullishCoalesce(_optionalChain([pending, 'optionalAccess', _319 => _319.initial]), () => ( EMPTY_LINK)),
14570
14570
  editing: _nullishCoalesce(_optionalChain([pending, 'optionalAccess', _320 => _320.editing]), () => ( false)),
14571
14571
  onSubmit: (link) => {
14572
- if (pending) write(pending, _chunkKS5V55HNcjs.formatMarkdownLink.call(void 0, link));
14572
+ if (pending) write(pending, _chunk3FBXQSSCcjs.formatMarkdownLink.call(void 0, link));
14573
14573
  },
14574
14574
  onRemove: () => {
14575
14575
  if (pending) write(pending, pending.initial.text);
@@ -15963,7 +15963,7 @@ function TestResultsTable({ rows, loading: loadingProp }) {
15963
15963
  ] }) }) });
15964
15964
  }
15965
15965
  function TestRunErrorBanner({ error, className }) {
15966
- const { copy } = _chunkAZJYMTBScjs.useCopyToClipboard.call(void 0, { successDescription: "Error message copied to clipboard" });
15966
+ const { copy } = _chunkEKDLVUEAcjs.useCopyToClipboard.call(void 0, { successDescription: "Error message copied to clipboard" });
15967
15967
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
15968
15968
  "div",
15969
15969
  {
@@ -16449,7 +16449,7 @@ function TicketInfoSection({
16449
16449
  expanded && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
16450
16450
  createdAt && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "grid grid-cols-2 items-center gap-4 border-b border-ods-border bg-ods-bg px-4 py-3", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, InfoCell, { value: createdAt, label: "Created" }) }),
16451
16451
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-4 border-b border-ods-border bg-ods-bg p-4", children: [
16452
- description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkKS5V55HNcjs.SimpleMarkdownRenderer, { content: description }),
16452
+ description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3FBXQSSCcjs.SimpleMarkdownRenderer, { content: description }),
16453
16453
  attachments && attachments.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketDetailSection, { label: "Attachments", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketAttachmentsList, { attachments }) }),
16454
16454
  tags && tags.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketDetailSection, { label: "Tags", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex min-w-0 flex-wrap gap-2", children: tags.map((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTGOJHOQRcjs.Tag, { label: tag, variant: "outline", className: "max-w-full" }, tag)) }) }),
16455
16455
  (notes || onAddNote) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketDetailSection, { label: "Notes", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -16924,7 +16924,7 @@ function PhotoWall({
16924
16924
  gap: COLUMN_GAP_PX
16925
16925
  };
16926
16926
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: rootRef, "aria-hidden": "true", className: _chunk7JWFMAQBcjs.cn.call(void 0, "grid overflow-hidden", className), style: gridStyle, children: columnsToDraw ? columnsToDraw.map((column, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
16927
- _chunkKS5V55HNcjs.MarqueeWall,
16927
+ _chunk3FBXQSSCcjs.MarqueeWall,
16928
16928
  {
16929
16929
  axis: "y",
16930
16930
  reverse: index % 2 === 1,
@@ -17484,7 +17484,7 @@ var TRIAL_TERM_ICONS = {
17484
17484
  };
17485
17485
  var DEFAULT_TRIAL_TERMS = ["cancel", "length", "noContract"];
17486
17486
  function trialBenefits(trialDays, terms = DEFAULT_TRIAL_TERMS) {
17487
- const labels = _chunkBT53NHR7cjs.trialLabels.call(void 0, trialDays);
17487
+ const labels = _chunkJ4QORJMCcjs.trialLabels.call(void 0, trialDays);
17488
17488
  return terms.flatMap((term) => {
17489
17489
  const label = labels[term];
17490
17490
  return label ? [{ icon: TRIAL_TERM_ICONS[term], label }] : [];
@@ -17838,7 +17838,7 @@ function SnapCarousel({
17838
17838
  const goNext = _react.useCallback.call(void 0, () => goTo(index >= count - 1 ? 0 : index + 1), [count, goTo, index]);
17839
17839
  const canAutoAdvance = autoAdvanceMs > 0 && count > 1;
17840
17840
  const playing = auto.playing && canAutoAdvance;
17841
- const ranMs = _chunkAZJYMTBScjs.useResumableTimeout.call(void 0, {
17841
+ const ranMs = _chunkEKDLVUEAcjs.useResumableTimeout.call(void 0, {
17842
17842
  running: playing,
17843
17843
  durationMs: autoAdvanceMs,
17844
17844
  resetKey: index,
@@ -18189,10 +18189,10 @@ function AccountDetailsFields({
18189
18189
  onKeyDown,
18190
18190
  layout = "stacked"
18191
18191
  }) {
18192
- const firstNameErr = _chunkAZJYMTBScjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _378 => _378.firstName]), firstName);
18193
- const lastNameErr = _chunkAZJYMTBScjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _379 => _379.lastName]), lastName);
18194
- const passwordErr = _chunkAZJYMTBScjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _380 => _380.password]), password);
18195
- const confirmErr = _chunkAZJYMTBScjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _381 => _381.confirmPassword]), confirmPassword);
18192
+ const firstNameErr = _chunkEKDLVUEAcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _378 => _378.firstName]), firstName);
18193
+ const lastNameErr = _chunkEKDLVUEAcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _379 => _379.lastName]), lastName);
18194
+ const passwordErr = _chunkEKDLVUEAcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _380 => _380.password]), password);
18195
+ const confirmErr = _chunkEKDLVUEAcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _381 => _381.confirmPassword]), confirmPassword);
18196
18196
  const names = [
18197
18197
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
18198
18198
  _chunk7RM4NM2Ccjs.Input,
@@ -18652,9 +18652,9 @@ function CreateOrganizationForm({
18652
18652
  }) {
18653
18653
  const hasSso = !!ssoProviders && ssoProviders.length > 0;
18654
18654
  const fieldsDisabled = disabled || loading;
18655
- const emailErr = _chunkAZJYMTBScjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _383 => _383.email]), _nullishCoalesce(email, () => ( "")));
18656
- const orgNameErr = _chunkAZJYMTBScjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _384 => _384.organizationName]), organizationName);
18657
- const domainErr = _chunkAZJYMTBScjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _385 => _385.domain]), domain);
18655
+ const emailErr = _chunkEKDLVUEAcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _383 => _383.email]), _nullishCoalesce(email, () => ( "")));
18656
+ const orgNameErr = _chunkEKDLVUEAcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _384 => _384.organizationName]), organizationName);
18657
+ const domainErr = _chunkEKDLVUEAcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _385 => _385.domain]), domain);
18658
18658
  const handleKeyDown = (event) => {
18659
18659
  if (event.key === "Enter" && !fieldsDisabled && !submitDisabled) {
18660
18660
  onSubmit();
@@ -18882,7 +18882,7 @@ function LoginForm({
18882
18882
  }) {
18883
18883
  const fieldDisabled = disabled || loading;
18884
18884
  const providersDisabled = fieldDisabled || ssoDisabled;
18885
- const emailErr = _chunkAZJYMTBScjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _392 => _392.email]), email);
18885
+ const emailErr = _chunkEKDLVUEAcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _392 => _392.email]), email);
18886
18886
  const handleKeyDown = (event) => {
18887
18887
  if (event.key !== "Enter" || event.repeat || fieldDisabled) return;
18888
18888
  if (onSubmitClick) {
@@ -19060,8 +19060,8 @@ function OpenFrameSsoLoginForm({
19060
19060
  className
19061
19061
  }) {
19062
19062
  const fieldsDisabled = disabled || loading;
19063
- const emailErr = _chunkAZJYMTBScjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _396 => _396.email]), email);
19064
- const passwordErr = _chunkAZJYMTBScjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _397 => _397.password]), password);
19063
+ const emailErr = _chunkEKDLVUEAcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _396 => _396.email]), email);
19064
+ const passwordErr = _chunkEKDLVUEAcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _397 => _397.password]), password);
19065
19065
  const handleKeyDown = (event) => {
19066
19066
  if (event.key === "Enter" && !fieldsDisabled && !submitDisabled) {
19067
19067
  onSubmit();
@@ -19166,7 +19166,7 @@ function OpenFrameSsoSignUpForm({
19166
19166
  className
19167
19167
  }) {
19168
19168
  const fieldsDisabled = disabled || loading;
19169
- const emailErr = _chunkAZJYMTBScjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _398 => _398.email]), email);
19169
+ const emailErr = _chunkEKDLVUEAcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _398 => _398.email]), email);
19170
19170
  const handleKeyDown = (event) => {
19171
19171
  if (event.key === "Enter" && !fieldsDisabled && !submitDisabled) {
19172
19172
  onSubmit();
@@ -19271,8 +19271,8 @@ function PasswordResetForm({
19271
19271
  className
19272
19272
  }) {
19273
19273
  const fieldsDisabled = disabled || loading;
19274
- const passwordErr = _chunkAZJYMTBScjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _399 => _399.password]), password);
19275
- const confirmErr = _chunkAZJYMTBScjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _400 => _400.confirmPassword]), confirmPassword);
19274
+ const passwordErr = _chunkEKDLVUEAcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _399 => _399.password]), password);
19275
+ const confirmErr = _chunkEKDLVUEAcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _400 => _400.confirmPassword]), confirmPassword);
19276
19276
  const handleKeyDown = (event) => {
19277
19277
  if (event.key === "Enter" && !fieldsDisabled && !submitDisabled) {
19278
19278
  onSubmit();
@@ -21915,7 +21915,7 @@ var MODEL_TOKEN_RATES_COPY = {
21915
21915
  empty: "No token rates are in effect right now."
21916
21916
  };
21917
21917
  function providerMark(providerType, stated, className) {
21918
- const Mark = _chunkVXXOUM2Kcjs.findIcon.call(void 0, _chunkBT53NHR7cjs.aiProvider.call(void 0, providerType, { icon: stated }).icon);
21918
+ const Mark = _chunkVXXOUM2Kcjs.findIcon.call(void 0, _chunkJ4QORJMCcjs.aiProvider.call(void 0, providerType, { icon: stated }).icon);
21919
21919
  return Mark ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Mark, { className }) : void 0;
21920
21920
  }
21921
21921
  var PAD_X = "px-[var(--spacing-system-s)]";
@@ -21933,7 +21933,7 @@ var UNIT_LINE_CLASS = _chunk7JWFMAQBcjs.cn.call(void 0,
21933
21933
  var TABS_ROW_CLASS = _chunk7JWFMAQBcjs.cn.call(void 0, "shrink-0 border-b border-ods-border py-[var(--spacing-system-xs)]", PAD_X);
21934
21934
  var NUMBER_CELL = "w-16 shrink-0 whitespace-nowrap text-right tabular-nums";
21935
21935
  function useProviderGroup(rates) {
21936
- const groups = _chunkBT53NHR7cjs.groupTokenRatesByProvider.call(void 0, rates);
21936
+ const groups = _chunkJ4QORJMCcjs.groupTokenRatesByProvider.call(void 0, rates);
21937
21937
  const [picked, setPicked] = _react.useState.call(void 0, null);
21938
21938
  return { groups, group: _nullishCoalesce(groups.find((candidate) => candidate.providerType === picked), () => ( groups[0])), setPicked };
21939
21939
  }
@@ -21944,7 +21944,7 @@ function ProviderTabs({
21944
21944
  className
21945
21945
  }) {
21946
21946
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
21947
- _chunkKS5V55HNcjs.TabSelector,
21947
+ _chunk3FBXQSSCcjs.TabSelector,
21948
21948
  {
21949
21949
  variant: "secondary",
21950
21950
  scrollable: true,
@@ -21952,7 +21952,7 @@ function ProviderTabs({
21952
21952
  onValueChange,
21953
21953
  items: groups.map((candidate) => ({
21954
21954
  id: candidate.providerType,
21955
- label: _chunkBT53NHR7cjs.tokenRateProviderLabel.call(void 0, candidate.providerType, _optionalChain([candidate, 'access', _462 => _462.rates, 'access', _463 => _463[0], 'optionalAccess', _464 => _464.providerLabel])),
21955
+ label: _chunkJ4QORJMCcjs.tokenRateProviderLabel.call(void 0, candidate.providerType, _optionalChain([candidate, 'access', _462 => _462.rates, 'access', _463 => _463[0], 'optionalAccess', _464 => _464.providerLabel])),
21956
21956
  icon: providerMark(candidate.providerType, _optionalChain([candidate, 'access', _465 => _465.rates, 'access', _466 => _466[0], 'optionalAccess', _467 => _467.providerIcon]), "size-full")
21957
21957
  })),
21958
21958
  className
@@ -22029,8 +22029,8 @@ function ModelTokenRatesTable({ rates }) {
22029
22029
  ] }),
22030
22030
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { role: "rowgroup", className: "min-h-0 flex-1 overflow-y-auto", children: group.rates.map((rate) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { "data-loading-item": true, role: "row", className: BODY_ROW_CLASS, children: [
22031
22031
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "rowheader", className: "min-w-0 flex-1 truncate", children: rate.displayName || rate.modelName }),
22032
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "cell", className: NUMBER_CELL, children: _chunkBT53NHR7cjs.formatTokenRate.call(void 0, rate.inputTokenRate) }),
22033
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "cell", className: NUMBER_CELL, children: _chunkBT53NHR7cjs.formatTokenRate.call(void 0, rate.outputTokenRate) })
22032
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "cell", className: NUMBER_CELL, children: _chunkJ4QORJMCcjs.formatTokenRate.call(void 0, rate.inputTokenRate) }),
22033
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "cell", className: NUMBER_CELL, children: _chunkJ4QORJMCcjs.formatTokenRate.call(void 0, rate.outputTokenRate) })
22034
22034
  ] }, rate.modelName)) })
22035
22035
  ] }),
22036
22036
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: UNIT_LINE_CLASS, children: MODEL_TOKEN_RATES_COPY.unit })
@@ -22077,7 +22077,7 @@ function modelOption(rate) {
22077
22077
  return {
22078
22078
  label: rate.displayName || rate.modelName,
22079
22079
  value: rate.modelName,
22080
- description: _chunkBT53NHR7cjs.tokenRateProviderLabel.call(void 0, rate.providerType, rate.providerLabel),
22080
+ description: _chunkJ4QORJMCcjs.tokenRateProviderLabel.call(void 0, rate.providerType, rate.providerLabel),
22081
22081
  icon: providerMark(rate.providerType, rate.providerIcon, "size-full text-ods-text-secondary")
22082
22082
  };
22083
22083
  }
@@ -22132,8 +22132,8 @@ function ModelTokenExchange({
22132
22132
  const [chosen, setChosen] = _react.useState.call(void 0, null);
22133
22133
  const balance = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(chosen, () => ( defaultAmount)), () => ( _optionalChain([tokenPrice, 'optionalAccess', _468 => _468.tokens]))), () => ( MODEL_TOKEN_EXCHANGE_BALANCE));
22134
22134
  const max = Math.max(amountRange.max, balance, ...presets.map((preset) => preset.tokens));
22135
- const tokens = _chunkBT53NHR7cjs.formatTokenAmount.call(void 0, balance);
22136
- const cost = _chunkBT53NHR7cjs.tokenCost.call(void 0, balance, tokenPrice);
22135
+ const tokens = _chunkJ4QORJMCcjs.formatTokenAmount.call(void 0, balance);
22136
+ const cost = _chunkJ4QORJMCcjs.tokenCost.call(void 0, balance, tokenPrice);
22137
22137
  const balancePrice = cost === null ? null : _chunkTGOJHOQRcjs.formatPrice.call(void 0, cost);
22138
22138
  const model = rate ? rate.displayName || rate.modelName : "";
22139
22139
  const options = models.map(modelOption);
@@ -22176,7 +22176,7 @@ function ModelTokenExchange({
22176
22176
  variant: preset.tokens === balance ? "accent" : "outline",
22177
22177
  size: "small",
22178
22178
  onClick: () => setChosen(preset.tokens),
22179
- children: copy.buy.preset(_chunkBT53NHR7cjs.formatTokenAmount.call(void 0, preset.tokens), preset.label)
22179
+ children: copy.buy.preset(_chunkJ4QORJMCcjs.formatTokenAmount.call(void 0, preset.tokens), preset.label)
22180
22180
  },
22181
22181
  preset.label
22182
22182
  )) })
@@ -22193,7 +22193,7 @@ function ModelTokenExchange({
22193
22193
  const stated = _nullishCoalesce(models.find((option) => option.providerType === providerType), () => ( (_optionalChain([rate, 'optionalAccess', _469 => _469.providerType]) === providerType ? rate : null)));
22194
22194
  return {
22195
22195
  id: providerType,
22196
- name: _chunkBT53NHR7cjs.tokenRateProviderLabel.call(void 0, providerType, _optionalChain([stated, 'optionalAccess', _470 => _470.providerLabel])),
22196
+ name: _chunkJ4QORJMCcjs.tokenRateProviderLabel.call(void 0, providerType, _optionalChain([stated, 'optionalAccess', _470 => _470.providerLabel])),
22197
22197
  icon: providerMark(providerType, _optionalChain([stated, 'optionalAccess', _471 => _471.providerIcon]), "size-8 text-ods-text-secondary")
22198
22198
  };
22199
22199
  }),
@@ -22232,7 +22232,7 @@ function ModelTokenExchange({
22232
22232
  {
22233
22233
  size: "plain",
22234
22234
  loading,
22235
- figure: _chunkBT53NHR7cjs.formatTokenRate.call(void 0, _optionalChain([rate, 'optionalAccess', _476 => _476.inputTokenRate])),
22235
+ figure: _chunkJ4QORJMCcjs.formatTokenRate.call(void 0, _optionalChain([rate, 'optionalAccess', _476 => _476.inputTokenRate])),
22236
22236
  words: copy.charge.input
22237
22237
  }
22238
22238
  ),
@@ -22241,7 +22241,7 @@ function ModelTokenExchange({
22241
22241
  {
22242
22242
  size: "plain",
22243
22243
  loading,
22244
- figure: _chunkBT53NHR7cjs.formatTokenRate.call(void 0, _optionalChain([rate, 'optionalAccess', _477 => _477.outputTokenRate])),
22244
+ figure: _chunkJ4QORJMCcjs.formatTokenRate.call(void 0, _optionalChain([rate, 'optionalAccess', _477 => _477.outputTokenRate])),
22245
22245
  words: copy.charge.output
22246
22246
  }
22247
22247
  )
@@ -22253,9 +22253,9 @@ function ModelTokenExchange({
22253
22253
  className: "mt-auto flex flex-col rounded-md border border-ods-accent bg-ods-bg p-[var(--spacing-system-mf)]",
22254
22254
  children: [
22255
22255
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-h-[2lh] text-ods-text-secondary text-h4", children: loading || !rate ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4WIJI4AKcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-full max-w-xs" }) : copy.charge.so(_nullishCoalesce(balancePrice, () => ( copy.buy.tokens(tokens))), model) }),
22256
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-h-[1lh] whitespace-nowrap tabular-nums text-ods-text-primary text-h1", children: loading || !rate ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4WIJI4AKcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-40" }) : _chunkBT53NHR7cjs.formatTokenAmount.call(void 0, _chunkBT53NHR7cjs.tokensForBalance.call(void 0, balance, rate.inputTokenRate)) }),
22256
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-h-[1lh] whitespace-nowrap tabular-nums text-ods-text-primary text-h1", children: loading || !rate ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4WIJI4AKcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-40" }) : _chunkJ4QORJMCcjs.formatTokenAmount.call(void 0, _chunkJ4QORJMCcjs.tokensForBalance.call(void 0, balance, rate.inputTokenRate)) }),
22257
22257
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-h-[1lh] text-ods-text-primary text-h3", children: copy.charge.read }),
22258
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-h-[1lh] text-ods-text-secondary text-h4", children: loading || !rate ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4WIJI4AKcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-48" }) : copy.charge.orWritten(_chunkBT53NHR7cjs.formatTokenAmount.call(void 0, _chunkBT53NHR7cjs.tokensForBalance.call(void 0, balance, rate.outputTokenRate))) })
22258
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-h-[1lh] text-ods-text-secondary text-h4", children: loading || !rate ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4WIJI4AKcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-48" }) : copy.charge.orWritten(_chunkJ4QORJMCcjs.formatTokenAmount.call(void 0, _chunkJ4QORJMCcjs.tokensForBalance.call(void 0, balance, rate.outputTokenRate))) })
22259
22259
  ]
22260
22260
  }
22261
22261
  )
@@ -22775,14 +22775,14 @@ var ConfidenceBadge = ({
22775
22775
  size = "sm",
22776
22776
  className
22777
22777
  }) => {
22778
- const level = _chunkBT53NHR7cjs.getConfidenceLevel.call(void 0, confidence);
22778
+ const level = _chunkJ4QORJMCcjs.getConfidenceLevel.call(void 0, confidence);
22779
22779
  if (level === "none") {
22780
22780
  return null;
22781
22781
  }
22782
- const label = _chunkBT53NHR7cjs.getConfidenceLabel.call(void 0, confidence);
22783
- const borderClass = _chunkBT53NHR7cjs.getConfidenceBorderClass.call(void 0, confidence);
22784
- const textClass = _chunkBT53NHR7cjs.getConfidenceTextClass.call(void 0, confidence);
22785
- const bgClass = _chunkBT53NHR7cjs.getConfidenceBgClass.call(void 0, confidence);
22782
+ const label = _chunkJ4QORJMCcjs.getConfidenceLabel.call(void 0, confidence);
22783
+ const borderClass = _chunkJ4QORJMCcjs.getConfidenceBorderClass.call(void 0, confidence);
22784
+ const textClass = _chunkJ4QORJMCcjs.getConfidenceTextClass.call(void 0, confidence);
22785
+ const bgClass = _chunkJ4QORJMCcjs.getConfidenceBgClass.call(void 0, confidence);
22786
22786
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
22787
22787
  "span",
22788
22788
  {
@@ -22833,9 +22833,9 @@ function SEOEditorPreview({
22833
22833
  const [isUploading, setIsUploading] = _react.useState.call(void 0, false);
22834
22834
  const [fileInputRef, setFileInputRef] = _react.useState.call(void 0, null);
22835
22835
  const seoTitleLength = (seoTitle || "").length;
22836
- const seoTitleTooLong = seoTitleLength > _chunkBT53NHR7cjs.SEO_TITLE_MAX_LENGTH;
22836
+ const seoTitleTooLong = seoTitleLength > _chunkJ4QORJMCcjs.SEO_TITLE_MAX_LENGTH;
22837
22837
  const seoDescriptionLength = (seoDescription || "").length;
22838
- const seoDescriptionTooLong = seoDescriptionLength > _chunkBT53NHR7cjs.SEO_DESCRIPTION_MAX_LENGTH;
22838
+ const seoDescriptionTooLong = seoDescriptionLength > _chunkJ4QORJMCcjs.SEO_DESCRIPTION_MAX_LENGTH;
22839
22839
  const displayTitle = seoTitle.trim() || title || "Untitled";
22840
22840
  const displayDescription = seoDescription.trim() || summary || "No description";
22841
22841
  const hasOgImage = ogImageUrl.trim();
@@ -22860,10 +22860,10 @@ function SEOEditorPreview({
22860
22860
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid grid-cols-1 gap-4 content-lg:grid-cols-2", children: [
22861
22861
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
22862
22862
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
22863
- _chunkBT53NHR7cjs.Field,
22863
+ _chunkJ4QORJMCcjs.Field,
22864
22864
  {
22865
22865
  label: "SEO Title",
22866
- error: seoTitleTooLong ? `Too long: search engines may truncate this title (keep it under ${_chunkBT53NHR7cjs.SEO_TITLE_MAX_LENGTH})` : null,
22866
+ error: seoTitleTooLong ? `Too long: search engines may truncate this title (keep it under ${_chunkJ4QORJMCcjs.SEO_TITLE_MAX_LENGTH})` : null,
22867
22867
  labelExtras: aiConfidenceSeoTitle !== void 0 ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
22868
22868
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, AIGeneratedBadge, {}),
22869
22869
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ConfidenceBadge, { confidence: aiConfidenceSeoTitle, showLabel: true, showPercentage: true, size: "sm" })
@@ -22878,7 +22878,7 @@ function SEOEditorPreview({
22878
22878
  children: [
22879
22879
  seoTitleLength,
22880
22880
  "/",
22881
- _chunkBT53NHR7cjs.SEO_TITLE_MAX_LENGTH
22881
+ _chunkJ4QORJMCcjs.SEO_TITLE_MAX_LENGTH
22882
22882
  ]
22883
22883
  }
22884
22884
  ),
@@ -22889,7 +22889,7 @@ function SEOEditorPreview({
22889
22889
  value: seoTitle || "",
22890
22890
  onChange: (e) => onSeoTitleChange(e.target.value),
22891
22891
  disabled,
22892
- maxLength: _chunkBT53NHR7cjs.SEO_TITLE_MAX_LENGTH,
22892
+ maxLength: _chunkJ4QORJMCcjs.SEO_TITLE_MAX_LENGTH,
22893
22893
  invalid: seoTitleTooLong,
22894
22894
  placeholder: "Enter SEO meta title...",
22895
22895
  className: "border-ods-border bg-ods-bg text-ods-text-primary"
@@ -22900,7 +22900,7 @@ function SEOEditorPreview({
22900
22900
  !seoTitle && title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-accent text-h6", children: "Auto-populated from title" })
22901
22901
  ] }),
22902
22902
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
22903
- _chunkBT53NHR7cjs.Field,
22903
+ _chunkJ4QORJMCcjs.Field,
22904
22904
  {
22905
22905
  label: "SEO Keywords",
22906
22906
  labelExtras: aiConfidenceSeoKeywords !== void 0 ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
@@ -22932,10 +22932,10 @@ function SEOEditorPreview({
22932
22932
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid grid-cols-1 gap-4 content-lg:grid-cols-2", children: [
22933
22933
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
22934
22934
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
22935
- _chunkBT53NHR7cjs.Field,
22935
+ _chunkJ4QORJMCcjs.Field,
22936
22936
  {
22937
22937
  label: "SEO Description",
22938
- error: seoDescriptionTooLong ? `Too long: search engines may truncate this description (keep it under ${_chunkBT53NHR7cjs.SEO_DESCRIPTION_MAX_LENGTH})` : null,
22938
+ error: seoDescriptionTooLong ? `Too long: search engines may truncate this description (keep it under ${_chunkJ4QORJMCcjs.SEO_DESCRIPTION_MAX_LENGTH})` : null,
22939
22939
  labelExtras: aiConfidenceSeoDescription !== void 0 ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
22940
22940
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, AIGeneratedBadge, {}),
22941
22941
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -22958,7 +22958,7 @@ function SEOEditorPreview({
22958
22958
  children: [
22959
22959
  seoDescriptionLength,
22960
22960
  "/",
22961
- _chunkBT53NHR7cjs.SEO_DESCRIPTION_MAX_LENGTH
22961
+ _chunkJ4QORJMCcjs.SEO_DESCRIPTION_MAX_LENGTH
22962
22962
  ]
22963
22963
  }
22964
22964
  ),
@@ -22969,7 +22969,7 @@ function SEOEditorPreview({
22969
22969
  value: seoDescription || "",
22970
22970
  onChange: (e) => onSeoDescriptionChange(e.target.value),
22971
22971
  disabled,
22972
- maxLength: _chunkBT53NHR7cjs.SEO_DESCRIPTION_MAX_LENGTH,
22972
+ maxLength: _chunkJ4QORJMCcjs.SEO_DESCRIPTION_MAX_LENGTH,
22973
22973
  invalid: seoDescriptionTooLong,
22974
22974
  placeholder: "Enter SEO meta description...",
22975
22975
  className: _chunk7JWFMAQBcjs.cn.call(void 0, "resize-none border-ods-border bg-ods-bg text-ods-text-primary", SEO_MEDIA_BOX_HEIGHT)
@@ -23122,7 +23122,7 @@ function socialIcon(platform) {
23122
23122
  return _nullishCoalesce(_chunkVXXOUM2Kcjs.iconOf.call(void 0, SOCIAL_ICONS[platform]), () => ( void 0));
23123
23123
  }
23124
23124
  function renderSocialIcon(platform) {
23125
- const key = _nullishCoalesce(_chunkBT53NHR7cjs.normalizeSocialPlatform.call(void 0, platform), () => ( "website"));
23125
+ const key = _nullishCoalesce(_chunkJ4QORJMCcjs.normalizeSocialPlatform.call(void 0, platform), () => ( "website"));
23126
23126
  const icon = _nullishCoalesce(socialIcon(key), () => ( socialIcon("website")));
23127
23127
  return icon ? _react.createElement.call(void 0, icon, { className: "h-5 w-5" }) : null;
23128
23128
  }
@@ -23213,7 +23213,7 @@ function SocialLinksManager({
23213
23213
  };
23214
23214
  const getIcon = (link, platform) => {
23215
23215
  const iconKey = _optionalChain([platform, 'optionalAccess', _487 => _487.icon_name]) || link.platform;
23216
- const key = _chunkBT53NHR7cjs.normalizeSocialPlatform.call(void 0, iconKey);
23216
+ const key = _chunkJ4QORJMCcjs.normalizeSocialPlatform.call(void 0, iconKey);
23217
23217
  if (!key) return null;
23218
23218
  const icon = socialIcon(key);
23219
23219
  return icon ? _react.createElement.call(void 0, icon, { className: "h-5 w-5 text-ods-text-secondary" }) : null;
@@ -23681,7 +23681,7 @@ function VideoBitesDisplay({
23681
23681
  filterPublished = true,
23682
23682
  showTitle = true
23683
23683
  }) {
23684
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkKS5V55HNcjs.VideoBitesStrip, { bites, title, filterPublished, showTitle });
23684
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3FBXQSSCcjs.VideoBitesStrip, { bites, title, filterPublished, showTitle });
23685
23685
  }
23686
23686
 
23687
23687
  // src/components/features/walkthrough-video.tsx
@@ -23710,7 +23710,7 @@ function WalkthroughVideo({
23710
23710
  onOpenChange,
23711
23711
  defaultOpen,
23712
23712
  defaultOpenPaused,
23713
- deepLinkParam = _chunkBT53NHR7cjs.WALKTHROUGH_OPEN_QUERY_PARAM,
23713
+ deepLinkParam = _chunkJ4QORJMCcjs.WALKTHROUGH_OPEN_QUERY_PARAM,
23714
23714
  autoPlayCard = false,
23715
23715
  label = "Play Demo Video",
23716
23716
  placement,
@@ -23727,7 +23727,7 @@ function WalkthroughVideo({
23727
23727
  const inline = placement === "inline";
23728
23728
  const inScope = _chunk7JWFMAQBcjs.useLoadingScope.call(void 0, );
23729
23729
  const dismissEnabled = dismissal !== false;
23730
- const storageKey = dismissEnabled && dismissal.storageKey || _chunkBT53NHR7cjs.WALKTHROUGH_VIDEO_DISMISS_KEY;
23730
+ const storageKey = dismissEnabled && dismissal.storageKey || _chunkJ4QORJMCcjs.WALKTHROUGH_VIDEO_DISMISS_KEY;
23731
23731
  const dismissalId = _optionalChain([video, 'optionalAccess', _493 => _493.id]) != null ? String(video.id) : "dismissed";
23732
23732
  const [mounted, setMounted] = _react.useState.call(void 0, false);
23733
23733
  const [dismissed, setDismissed] = _react.useState.call(void 0, false);
@@ -23739,7 +23739,7 @@ function WalkthroughVideo({
23739
23739
  let delayElapsed = false;
23740
23740
  let interacted = inline;
23741
23741
  const reveal = () => {
23742
- if (dismissEnabled && _chunkBT53NHR7cjs.isWalkthroughDismissed.call(void 0, storageKey, dismissalId)) {
23742
+ if (dismissEnabled && _chunkJ4QORJMCcjs.isWalkthroughDismissed.call(void 0, storageKey, dismissalId)) {
23743
23743
  setDismissed(true);
23744
23744
  return;
23745
23745
  }
@@ -23776,7 +23776,7 @@ function WalkthroughVideo({
23776
23776
  if (idleHandle !== null && typeof cic === "function") cic(idleHandle);
23777
23777
  };
23778
23778
  }, [appearDelayMs, dismissEnabled, storageKey, dismissalId, hasVideo, videoId, inline]);
23779
- const hydrated = _chunkKS5V55HNcjs.useIsHydrated.call(void 0, );
23779
+ const hydrated = _chunk3FBXQSSCcjs.useIsHydrated.call(void 0, );
23780
23780
  const previewSuppressed = _react.useMemo.call(void 0, () => {
23781
23781
  if (!hydrated) return false;
23782
23782
  try {
@@ -24026,7 +24026,7 @@ function WalkthroughVideo({
24026
24026
  (e) => {
24027
24027
  e.stopPropagation();
24028
24028
  pausePreviewNow();
24029
- if (dismissEnabled) _chunkBT53NHR7cjs.dismissWalkthrough.call(void 0, storageKey, dismissalId);
24029
+ if (dismissEnabled) _chunkJ4QORJMCcjs.dismissWalkthrough.call(void 0, storageKey, dismissalId);
24030
24030
  setDismissed(true);
24031
24031
  },
24032
24032
  [dismissEnabled, storageKey, dismissalId, pausePreviewNow]
@@ -24201,7 +24201,7 @@ function WalkthroughVideo({
24201
24201
  `card-${embedUrlKey}`
24202
24202
  ) }),
24203
24203
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
24204
- _chunkKS5V55HNcjs.CardHitLayer,
24204
+ _chunk3FBXQSSCcjs.CardHitLayer,
24205
24205
  {
24206
24206
  label: video.title ? `${label}: ${video.title}` : label,
24207
24207
  onPointerDown: pausePreviewNow,
@@ -24373,7 +24373,7 @@ function useWalkthroughVideo(opts) {
24373
24373
  const { endpoint, initialData, enabled: enabledGiven = true, transformCaptionsUrl } = opts;
24374
24374
  const inScope = _chunk7JWFMAQBcjs.useLoadingScope.call(void 0, );
24375
24375
  const enabled = enabledGiven && !inScope;
24376
- const captions = _chunkKS5V55HNcjs.useCaptions.call(void 0, );
24376
+ const captions = _chunk3FBXQSSCcjs.useCaptions.call(void 0, );
24377
24377
  const query = _reactquery.useQuery.call(void 0, {
24378
24378
  queryKey: ["walkthrough-video", endpoint],
24379
24379
  enabled,
@@ -25124,7 +25124,7 @@ function HighlightConfigSection({
25124
25124
  disabled = false,
25125
25125
  className = ""
25126
25126
  }) {
25127
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: `space-y-3 rounded-lg border border-ods-border bg-ods-card p-4 ${className}`, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-center gap-4", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBT53NHR7cjs.Field, { label: "Target Duration", children: (f) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
25127
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: `space-y-3 rounded-lg border border-ods-border bg-ods-card p-4 ${className}`, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-center gap-4", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkJ4QORJMCcjs.Field, { label: "Target Duration", children: (f) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
25128
25128
  _chunkFRS2VO22cjs.Select,
25129
25129
  {
25130
25130
  value: targetDurationSeconds.toString(),
@@ -25225,7 +25225,7 @@ var AIStatusIndicator = ({
25225
25225
  }) => {
25226
25226
  const config = statusConfig[status];
25227
25227
  const displayText = message || config.label;
25228
- const confidenceLabel = showConfidence && confidence !== void 0 ? `${_chunkBT53NHR7cjs.getConfidenceLabel.call(void 0, confidence)} (${confidence}%)` : null;
25228
+ const confidenceLabel = showConfidence && confidence !== void 0 ? `${_chunkJ4QORJMCcjs.getConfidenceLabel.call(void 0, confidence)} (${confidence}%)` : null;
25229
25229
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk7JWFMAQBcjs.cn.call(void 0, "inline-flex items-center gap-2 rounded-lg px-3 py-1.5", config.bgColor, className), children: [
25230
25230
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
25231
25231
  _chunkUNFCRSYIcjs.SparklesIcon,
@@ -25233,7 +25233,7 @@ var AIStatusIndicator = ({
25233
25233
  size: 16,
25234
25234
  className: _chunk7JWFMAQBcjs.cn.call(void 0,
25235
25235
  status === "loading" && _chunk4WIJI4AKcjs.LIVE_PULSE_CLASS,
25236
- confidence !== void 0 && status === "success" ? _chunkBT53NHR7cjs.getConfidenceTextClass.call(void 0, confidence) : config.color
25236
+ confidence !== void 0 && status === "success" ? _chunkJ4QORJMCcjs.getConfidenceTextClass.call(void 0, confidence) : config.color
25237
25237
  )
25238
25238
  }
25239
25239
  ),
@@ -25242,7 +25242,7 @@ var AIStatusIndicator = ({
25242
25242
  {
25243
25243
  className: _chunk7JWFMAQBcjs.cn.call(void 0,
25244
25244
  "text-h6",
25245
- confidence !== void 0 && status === "success" ? _chunkBT53NHR7cjs.getConfidenceTextClass.call(void 0, confidence) : config.color
25245
+ confidence !== void 0 && status === "success" ? _chunkJ4QORJMCcjs.getConfidenceTextClass.call(void 0, confidence) : config.color
25246
25246
  ),
25247
25247
  children: displayText
25248
25248
  }
@@ -25252,8 +25252,8 @@ var AIStatusIndicator = ({
25252
25252
  {
25253
25253
  className: _chunk7JWFMAQBcjs.cn.call(void 0,
25254
25254
  "rounded-full border px-2 py-0.5 text-h6",
25255
- _chunkBT53NHR7cjs.getConfidenceBorderClass.call(void 0, confidence),
25256
- _chunkBT53NHR7cjs.getConfidenceTextClass.call(void 0, confidence)
25255
+ _chunkJ4QORJMCcjs.getConfidenceBorderClass.call(void 0, confidence),
25256
+ _chunkJ4QORJMCcjs.getConfidenceTextClass.call(void 0, confidence)
25257
25257
  ),
25258
25258
  children: confidenceLabel
25259
25259
  }
@@ -26133,7 +26133,7 @@ function OpenPolicyButton({ href, name }) {
26133
26133
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "data-no-row-click": true, className: "pointer-events-auto flex items-center justify-end", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
26134
26134
  _chunkAHBTZ7DNcjs.Button,
26135
26135
  {
26136
- onClick: loading ? void 0 : _chunkBT53NHR7cjs.openInNewTab.call(void 0, href),
26136
+ onClick: loading ? void 0 : _chunkJ4QORJMCcjs.openInNewTab.call(void 0, href),
26137
26137
  disabled: loading,
26138
26138
  variant: "outline",
26139
26139
  size: "icon",
@@ -26507,7 +26507,7 @@ function OpenTenantButton({ href, name }) {
26507
26507
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "data-no-row-click": true, className: "pointer-events-auto flex items-center justify-end", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
26508
26508
  _chunkAHBTZ7DNcjs.Button,
26509
26509
  {
26510
- onClick: loading ? void 0 : _chunkBT53NHR7cjs.openInNewTab.call(void 0, href),
26510
+ onClick: loading ? void 0 : _chunkJ4QORJMCcjs.openInNewTab.call(void 0, href),
26511
26511
  disabled: loading,
26512
26512
  variant: "outline",
26513
26513
  size: "icon",
@@ -26639,13 +26639,13 @@ function WaitlistForm({
26639
26639
  const [email, setEmail] = _react.useState.call(void 0, defaultEmail);
26640
26640
  const [phone, setPhone] = _react.useState.call(void 0, defaultPhone);
26641
26641
  const [countryCode, setCountryCode] = _react.useState.call(void 0, "US");
26642
- const { toast } = _chunkAZJYMTBScjs.useToast.call(void 0, );
26643
- const { honeypotInputProps, getSignals, resetSignals } = _chunkAZJYMTBScjs.useHumanitySignals.call(void 0, );
26642
+ const { toast } = _chunkEKDLVUEAcjs.useToast.call(void 0, );
26643
+ const { honeypotInputProps, getSignals, resetSignals } = _chunkEKDLVUEAcjs.useHumanitySignals.call(void 0, );
26644
26644
  const [smsConsent, setSmsConsent] = _react.useState.call(void 0, false);
26645
- const isClient = _chunkKS5V55HNcjs.useIsHydrated.call(void 0, );
26645
+ const isClient = _chunk3FBXQSSCcjs.useIsHydrated.call(void 0, );
26646
26646
  const [isPhoneInvalid, setIsPhoneInvalid] = _react.useState.call(void 0, false);
26647
26647
  const [showConsentError, setShowConsentError] = _react.useState.call(void 0, false);
26648
- const rescue = _chunkAZJYMTBScjs.useFormRescue.call(void 0, {
26648
+ const rescue = _chunkEKDLVUEAcjs.useFormRescue.call(void 0, {
26649
26649
  form: rescueForm,
26650
26650
  // The phone is reported as filled only; its value never leaves the form early.
26651
26651
  fieldNames: ["email", "phone"],
@@ -26657,7 +26657,7 @@ function WaitlistForm({
26657
26657
  _react.useEffect.call(void 0, () => {
26658
26658
  rescue.track({ email, phone }, null);
26659
26659
  }, [email, phone, rescue]);
26660
- const isMailDomainGeneric = _chunkBT53NHR7cjs.hasGenericEmailDomain.call(void 0, email);
26660
+ const isMailDomainGeneric = _chunkJ4QORJMCcjs.hasGenericEmailDomain.call(void 0, email);
26661
26661
  const [syncedDefaultEmail, setSyncedDefaultEmail] = _react.useState.call(void 0, defaultEmail);
26662
26662
  if (syncedDefaultEmail !== defaultEmail) {
26663
26663
  setSyncedDefaultEmail(defaultEmail);
@@ -26691,7 +26691,7 @@ function WaitlistForm({
26691
26691
  setShowConsentError(true);
26692
26692
  return;
26693
26693
  }
26694
- const finalPhone = phone ? _chunkBT53NHR7cjs.formatPhoneE164.call(void 0, phone, countryCode) : void 0;
26694
+ const finalPhone = phone ? _chunkJ4QORJMCcjs.formatPhoneE164.call(void 0, phone, countryCode) : void 0;
26695
26695
  try {
26696
26696
  await onRegister(email, finalPhone, getSignals(), rescue.submitFields());
26697
26697
  rescue.complete();
@@ -27414,7 +27414,7 @@ var typeColorByVariant = {
27414
27414
  error: "text-ods-error"
27415
27415
  };
27416
27416
  var progressColorByVariant2 = {
27417
- ..._chunkAZJYMTBScjs.progressColorByVariant,
27417
+ ..._chunkEKDLVUEAcjs.progressColorByVariant,
27418
27418
  default: "bg-ods-accent",
27419
27419
  info: "bg-ods-accent"
27420
27420
  };
@@ -27508,7 +27508,7 @@ function LoadedNotificationTile({
27508
27508
  height: _chunkVXXOUM2Kcjs.IMAGE_FIXED_PX.icon,
27509
27509
  unoptimized: true
27510
27510
  }
27511
- ) : _nullishCoalesce(icon, () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk7JWFMAQBcjs.cn.call(void 0, "size-1.5 rounded-full", _chunkAZJYMTBScjs.dotColorByVariant[accentVariant]) }))) }),
27511
+ ) : _nullishCoalesce(icon, () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk7JWFMAQBcjs.cn.call(void 0, "size-1.5 rounded-full", _chunkEKDLVUEAcjs.dotColorByVariant[accentVariant]) }))) }),
27512
27512
  type ? lockscreen ? (
27513
27513
  // A phone names the sender in plain words and never cuts them.
27514
27514
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "min-w-0 flex-1 break-words text-ods-text-secondary text-h6", children: type })
@@ -27843,7 +27843,7 @@ function ShowNotificationsToggleRow({ checked, onChange }) {
27843
27843
  ] });
27844
27844
  }
27845
27845
  function DesktopNotificationsToggleRow({ checked, onChange }) {
27846
- const { supported, permission, request } = _chunkAZJYMTBScjs.useNotificationPermission.call(void 0, );
27846
+ const { supported, permission, request } = _chunkEKDLVUEAcjs.useNotificationPermission.call(void 0, );
27847
27847
  if (!supported) return null;
27848
27848
  const blocked = permission === "denied";
27849
27849
  const handleChange = async (value) => {
@@ -28846,7 +28846,7 @@ function getDeviceStatusConfig(status) {
28846
28846
  }
28847
28847
  }
28848
28848
  function getDeviceOperatingSystem(osType) {
28849
- return _chunkBT53NHR7cjs.getOSPlatformId.call(void 0, osType);
28849
+ return _chunkJ4QORJMCcjs.getOSPlatformId.call(void 0, osType);
28850
28850
  }
28851
28851
 
28852
28852
  // src/components/features/devices/device-statuses.ts
@@ -30184,7 +30184,7 @@ function DevicesList({
30184
30184
  const handleClearAll = _react.useCallback.call(void 0, () => patch({ search: "", tags: [] }), [patch]);
30185
30185
  const narrowed = isNarrowed(narrowing);
30186
30186
  const isEmptyState = !isLoading && !isPending && !narrowed && devices.length === 0;
30187
- const { toolbarRef, containerStyle, stickyHeaderOffset: measuredOffset } = _chunkAZJYMTBScjs.useStickyToolbar.call(void 0, );
30187
+ const { toolbarRef, containerStyle, stickyHeaderOffset: measuredOffset } = _chunkEKDLVUEAcjs.useStickyToolbar.call(void 0, );
30188
30188
  const headerOffset = _nullishCoalesce(stickyHeaderOffset, () => ( (stickyToolbar ? measuredOffset : void 0)));
30189
30189
  const actionsColumn = _react.useMemo.call(void 0, () => rowActions2 ? getDeviceActionsColumn(rowActions2) : void 0, [rowActions2]);
30190
30190
  return (
@@ -30421,7 +30421,7 @@ function DevicesPanelView({
30421
30421
  actionsVariant: "icon-buttons",
30422
30422
  className,
30423
30423
  selector: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
30424
- _chunkKS5V55HNcjs.TabSelector,
30424
+ _chunk3FBXQSSCcjs.TabSelector,
30425
30425
  {
30426
30426
  value: viewMode,
30427
30427
  onValueChange: (value) => _optionalChain([onViewModeChange, 'optionalCall', _674 => _674(value)]),
@@ -30956,11 +30956,11 @@ var ToolBadge = ({
30956
30956
  iconClassName
30957
30957
  }) => {
30958
30958
  const loading = _chunk7JWFMAQBcjs.useLoadingScope.call(void 0, );
30959
- const text = _nullishCoalesce(label, () => ( (toolType ? _chunkBT53NHR7cjs.getToolLabel.call(void 0, toolType) : "")));
30959
+ const text = _nullishCoalesce(label, () => ( (toolType ? _chunkJ4QORJMCcjs.getToolLabel.call(void 0, toolType) : "")));
30960
30960
  const mark = _nullishCoalesce(icon, () => ( (toolType ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXYZBN6D7cjs.ToolIcon, { toolType, className: iconClassName, size: 16 }) : null)));
30961
30961
  if (loading) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ToolBadgeSkeleton, { variant, icon: !!mark, className });
30962
30962
  const linked = (node, linkClassName) => href && targetPlatform ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
30963
- _chunkKS5V55HNcjs.NavLinkAnchorViaRuntime,
30963
+ _chunk3FBXQSSCcjs.NavLinkAnchorViaRuntime,
30964
30964
  {
30965
30965
  href,
30966
30966
  targetPlatform,
@@ -31110,7 +31110,7 @@ function LogsTableView({
31110
31110
  cell: ({ row }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
31111
31111
  ToolBadge,
31112
31112
  {
31113
- toolType: _chunkBT53NHR7cjs.normalizeToolTypeWithFallback.call(void 0, row.original.source.toolType),
31113
+ toolType: _chunkJ4QORJMCcjs.normalizeToolTypeWithFallback.call(void 0, row.original.source.toolType),
31114
31114
  iconClassName: "h-4 w-4 content-md:h-6 content-md:w-6"
31115
31115
  }
31116
31116
  ),
@@ -31122,7 +31122,7 @@ function LogsTableView({
31122
31122
  filter: {
31123
31123
  options: _nullishCoalesce(_optionalChain([facets, 'optionalAccess', _682 => _682.toolTypes, 'access', _683 => _683.map, 'call', _684 => _684((toolType) => ({
31124
31124
  id: toolType,
31125
- label: _chunkBT53NHR7cjs.toToolLabel.call(void 0, toolType),
31125
+ label: _chunkJ4QORJMCcjs.toToolLabel.call(void 0, toolType),
31126
31126
  value: toolType
31127
31127
  }))]), () => ( []))
31128
31128
  }
@@ -31171,7 +31171,7 @@ function LogsTableView({
31171
31171
  cell: ({ row }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
31172
31172
  LogRowButton,
31173
31173
  {
31174
- onClick: getLogHref ? _chunkBT53NHR7cjs.openInNewTab.call(void 0, getLogHref(row.original)) : void 0,
31174
+ onClick: getLogHref ? _chunkJ4QORJMCcjs.openInNewTab.call(void 0, getLogHref(row.original)) : void 0,
31175
31175
  icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkANTDIQKKcjs.ArrowRightUpIcon, { className: "h-5 w-5" }),
31176
31176
  label: "Open in new tab"
31177
31177
  }
@@ -31493,7 +31493,7 @@ function OpenInNewTabCell({ href }) {
31493
31493
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "data-no-row-click": true, className: "pointer-events-auto flex items-center justify-end", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
31494
31494
  _chunkAHBTZ7DNcjs.Button,
31495
31495
  {
31496
- onClick: loading ? void 0 : _chunkBT53NHR7cjs.openInNewTab.call(void 0, href),
31496
+ onClick: loading ? void 0 : _chunkJ4QORJMCcjs.openInNewTab.call(void 0, href),
31497
31497
  disabled: loading,
31498
31498
  variant: "outline",
31499
31499
  size: "icon",
@@ -31682,9 +31682,9 @@ function ScriptSchedulesTable({
31682
31682
 
31683
31683
  // src/components/features/scripts/shell-types.ts
31684
31684
  var SCRIPT_SHELL_TYPES = [
31685
- { id: _chunkBT53NHR7cjs.ShellTypeValues.POWERSHELL, label: "PowerShell", value: "powershell", icon: _chunkMCQY746Mcjs.PowershellLogoGreyIcon },
31686
- { id: _chunkBT53NHR7cjs.ShellTypeValues.CMD, label: "CMD", value: "cmd", icon: _chunkNIVJEJSGcjs.TerminalSquareIcon },
31687
- { id: _chunkBT53NHR7cjs.ShellTypeValues.BASH, label: "Bash", value: "bash", icon: _chunkTRUW6DDAcjs.TerminalIcon }
31685
+ { id: _chunkJ4QORJMCcjs.ShellTypeValues.POWERSHELL, label: "PowerShell", value: "powershell", icon: _chunkMCQY746Mcjs.PowershellLogoGreyIcon },
31686
+ { id: _chunkJ4QORJMCcjs.ShellTypeValues.CMD, label: "CMD", value: "cmd", icon: _chunkNIVJEJSGcjs.TerminalSquareIcon },
31687
+ { id: _chunkJ4QORJMCcjs.ShellTypeValues.BASH, label: "Bash", value: "bash", icon: _chunkTRUW6DDAcjs.TerminalIcon }
31688
31688
  ];
31689
31689
  function scriptShellType(value) {
31690
31690
  return SCRIPT_SHELL_TYPES.find((shell) => shell.value === value);
@@ -33157,7 +33157,7 @@ function ScheduleFormFields({
33157
33157
  disabled = false,
33158
33158
  renderScriptSearch,
33159
33159
  timeReferenceGate = "off",
33160
- platforms = _chunkBT53NHR7cjs.OS_PLATFORMS,
33160
+ platforms = _chunkJ4QORJMCcjs.OS_PLATFORMS,
33161
33161
  comingSoonPlatforms = [],
33162
33162
  getTimeSlots,
33163
33163
  nameLayout = "stacked",
@@ -33303,7 +33303,7 @@ function ScheduleFormFields({
33303
33303
  // src/components/features/scripts/schedule-form/schedule-script-search-field.tsx
33304
33304
 
33305
33305
  function ScriptPlatformIcons({ platforms }) {
33306
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "inline-flex shrink-0 items-center gap-0.5", children: _chunkBT53NHR7cjs.OS_PLATFORMS.filter((p) => platforms.includes(p.id)).map((p) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, p.icon, { className: "h-3.5 w-3.5 text-ods-text-secondary opacity-60" }, p.id)) });
33306
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "inline-flex shrink-0 items-center gap-0.5", children: _chunkJ4QORJMCcjs.OS_PLATFORMS.filter((p) => platforms.includes(p.id)).map((p) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, p.icon, { className: "h-3.5 w-3.5 text-ods-text-secondary opacity-60" }, p.id)) });
33307
33307
  }
33308
33308
  function ScheduleScriptSearchField({
33309
33309
  scriptId,
@@ -33376,7 +33376,7 @@ function KnowledgeBaseOpenButton({ href }) {
33376
33376
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "data-no-row-click": true, className: "pointer-events-auto flex items-center justify-end", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
33377
33377
  _chunkAHBTZ7DNcjs.Button,
33378
33378
  {
33379
- onClick: loading ? void 0 : _chunkBT53NHR7cjs.openInNewTab.call(void 0, href),
33379
+ onClick: loading ? void 0 : _chunkJ4QORJMCcjs.openInNewTab.call(void 0, href),
33380
33380
  disabled: loading,
33381
33381
  variant: "outline",
33382
33382
  size: "icon",
@@ -33727,7 +33727,7 @@ function ConversationCard({
33727
33727
  style: tint,
33728
33728
  onClick: selection && ((event) => {
33729
33729
  if (event.button !== 0 || _optionalChain([window, 'access', _748 => _748.getSelection, 'call', _749 => _749(), 'optionalAccess', _750 => _750.toString, 'call', _751 => _751()])) return;
33730
- if (!_chunkBT53NHR7cjs.isOwnClick.call(void 0, event.target, event.currentTarget, { controls: true })) return;
33730
+ if (!_chunkJ4QORJMCcjs.isOwnClick.call(void 0, event.target, event.currentTarget, { controls: true })) return;
33731
33731
  selection.onToggle();
33732
33732
  }),
33733
33733
  children: [
@@ -33750,7 +33750,7 @@ function ConversationCard({
33750
33750
  )
33751
33751
  ),
33752
33752
  children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
33753
- _chunkBT53NHR7cjs.ChatTurn,
33753
+ _chunkJ4QORJMCcjs.ChatTurn,
33754
33754
  {
33755
33755
  avatar: requester.avatar,
33756
33756
  name: requester.name,
@@ -33771,7 +33771,7 @@ function ConversationCard({
33771
33771
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: CONTEXT_TEXT_CLASS, style: partLinesStyle(_optionalChain([lines, 'optionalAccess', _752 => _752.context])), children: context.text })
33772
33772
  ] }),
33773
33773
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
33774
- _chunkBT53NHR7cjs.ChatTurn,
33774
+ _chunkJ4QORJMCcjs.ChatTurn,
33775
33775
  {
33776
33776
  avatar: responder.avatar,
33777
33777
  name: responder.name,
@@ -33816,7 +33816,7 @@ function ConversationCardSkeleton({
33816
33816
  {
33817
33817
  selection: selection && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7JWFMAQBcjs.InertWhileLoading, { className: "contents", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SelectionToggle, { pressed: selection.pressed }) }),
33818
33818
  children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
33819
- _chunkBT53NHR7cjs.ChatTurn,
33819
+ _chunkJ4QORJMCcjs.ChatTurn,
33820
33820
  {
33821
33821
  loading: true,
33822
33822
  name: "",
@@ -33840,7 +33840,7 @@ function ConversationCardSkeleton({
33840
33840
  ] })
33841
33841
  ] }),
33842
33842
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
33843
- _chunkBT53NHR7cjs.ChatTurn,
33843
+ _chunkJ4QORJMCcjs.ChatTurn,
33844
33844
  {
33845
33845
  loading: true,
33846
33846
  name: "",