@flamingo-stack/openframe-frontend-core 0.0.790 → 0.0.792

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 (89) hide show
  1. package/dist/{chunk-7GNSCDUK.cjs → chunk-2I2AXIBD.cjs} +136 -139
  2. package/dist/{chunk-6YPT2BD4.cjs → chunk-3AN35WAO.cjs} +61 -61
  3. package/dist/{chunk-O4XBGLMA.cjs → chunk-4G2KZHZW.cjs} +8 -4
  4. package/dist/{chunk-LZG7PBF3.cjs → chunk-5MIGBLDC.cjs} +14 -14
  5. package/dist/{chunk-TIDJN3OQ.cjs → chunk-6ZPHUDTP.cjs} +3 -3
  6. package/dist/{chunk-ISSBE5JP.cjs → chunk-7EH7KKFW.cjs} +25 -25
  7. package/dist/{chunk-HKMEI2NX.cjs → chunk-ABZGBMC2.cjs} +30 -30
  8. package/dist/{chunk-PLNLTN4R.cjs → chunk-EPWLLLGW.cjs} +11 -11
  9. package/dist/{chunk-V4RKY4ZY.cjs → chunk-FBA6S4ES.cjs} +43 -42
  10. package/dist/{chunk-DKOLQPE7.cjs → chunk-FDZOE5TL.cjs} +16 -1
  11. package/dist/{chunk-RIIMY7XW.cjs → chunk-HMV32LV4.cjs} +4 -4
  12. package/dist/{chunk-ANQCSCNU.cjs → chunk-IHLGPIFO.cjs} +2 -2
  13. package/dist/{chunk-STEJZPIO.cjs → chunk-LHV2R6QU.cjs} +3 -3
  14. package/dist/{chunk-RYSEW4XI.cjs → chunk-O4TKEWNW.cjs} +11 -11
  15. package/dist/{chunk-OWKLWCLZ.cjs → chunk-OKQQJ5TD.cjs} +50 -40
  16. package/dist/{chunk-5FV2FQQD.cjs → chunk-OZIPPOSJ.cjs} +7 -5
  17. package/dist/{chunk-EU3NQPFE.cjs → chunk-P2JY2XCV.cjs} +48 -48
  18. package/dist/{chunk-4YIDZCTL.cjs → chunk-SMZWXY4X.cjs} +7 -13
  19. package/dist/{chunk-KI5TJDK3.cjs → chunk-SXEIK7RU.cjs} +2 -2
  20. package/dist/{chunk-F7UIQ6UG.cjs → chunk-TBGVWIF7.cjs} +2 -2
  21. package/dist/{chunk-GYSRYYDM.cjs → chunk-UNUJ5YQ5.cjs} +4 -4
  22. package/dist/{chunk-QPXC3LEV.cjs → chunk-VUQNTCAL.cjs} +13 -13
  23. package/dist/{chunk-WTNAXQJW.cjs → chunk-W3Q7ZQLS.cjs} +4 -4
  24. package/dist/{chunk-EY64NXE7.cjs → chunk-WWWLOMZI.cjs} +82 -75
  25. package/dist/{chunk-F62QXKNL.cjs → chunk-YPWFYQFE.cjs} +16 -16
  26. package/dist/{chunk-PHWLEYAG.cjs → chunk-YWNXZAQ2.cjs} +32 -32
  27. package/dist/{chunk-IYWVS3SS.cjs → chunk-ZW2TS775.cjs} +2 -2
  28. package/dist/{chunk-F4RCB5LB.cjs → chunk-ZZPGSLMO.cjs} +4 -4
  29. package/dist/{cloud-tenants-D6DYR6UV.cjs → cloud-tenants-CQOD6DDR.cjs} +16 -16
  30. package/dist/components/case-studies/index.cjs +20 -20
  31. package/dist/components/chat/ask-display.d.ts.map +1 -1
  32. package/dist/components/chat/ask-display.js +2 -4
  33. package/dist/components/chat/index.cjs +5 -5
  34. package/dist/components/contact/index.cjs +7 -7
  35. package/dist/components/docs/index.cjs +10 -10
  36. package/dist/components/docs/skeletons.d.ts.map +1 -1
  37. package/dist/components/docs/skeletons.js +11 -1
  38. package/dist/components/embeds/index.cjs +7 -7
  39. package/dist/components/faq/index.cjs +8 -8
  40. package/dist/components/features/cards-strip.d.ts.map +1 -1
  41. package/dist/components/features/cards-strip.js +4 -1
  42. package/dist/components/features/index.cjs +6 -6
  43. package/dist/components/help-center-pages/index.cjs +83 -83
  44. package/dist/components/help-center-pages/trust-center-sections.js +1 -1
  45. package/dist/components/index.cjs +52 -52
  46. package/dist/components/meeting-scheduler/directory.d.ts.map +1 -1
  47. package/dist/components/meeting-scheduler/directory.js +3 -1
  48. package/dist/components/meeting-scheduler/index.cjs +41 -39
  49. package/dist/components/navigation/index.cjs +9 -9
  50. package/dist/components/onboarding-guides/index.cjs +9 -9
  51. package/dist/components/product-demo/fixtures/devices.d.ts.map +1 -1
  52. package/dist/components/product-demo/fixtures/devices.js +5 -12
  53. package/dist/components/product-demo/fixtures/shared.d.ts +89 -0
  54. package/dist/components/product-demo/fixtures/shared.d.ts.map +1 -1
  55. package/dist/components/product-demo/fixtures/shared.js +15 -0
  56. package/dist/components/product-demo/index.cjs +20 -20
  57. package/dist/components/product-demo/screens/devices-view.d.ts.map +1 -1
  58. package/dist/components/product-demo/screens/devices-view.js +3 -1
  59. package/dist/components/related-content/index.cjs +5 -5
  60. package/dist/components/shared/roadmap/roadmap-grid.d.ts.map +1 -1
  61. package/dist/components/shared/roadmap/roadmap-grid.js +15 -8
  62. package/dist/components/tickets/index.cjs +13 -13
  63. package/dist/components/ui/image-gallery-modal.d.ts.map +1 -1
  64. package/dist/components/ui/image-gallery-modal.js +7 -5
  65. package/dist/components/ui/index.cjs +6 -6
  66. package/dist/components/ui/snap-carousel.d.ts.map +1 -1
  67. package/dist/components/ui/snap-carousel.js +9 -12
  68. package/dist/{devices-MZQ4573H.cjs → devices-PEBUW34G.cjs} +12 -12
  69. package/dist/{embeddable-chat-QLJ2KSWT.cjs → embeddable-chat-54X3TTG4.cjs} +62 -62
  70. package/dist/index.cjs +10 -10
  71. package/dist/{knowledge-QZTFICLS.cjs → knowledge-KL4BP2YK.cjs} +11 -11
  72. package/dist/{logs-2YOR2SUA.cjs → logs-TO277M4F.cjs} +28 -28
  73. package/dist/{policies-KKFC4UOU.cjs → policies-6HSKMG4I.cjs} +13 -13
  74. package/dist/{remote-session-WKLEYACD.cjs → remote-session-4ZNTOLOQ.cjs} +5 -5
  75. package/dist/{scripts-UA46WAET.cjs → scripts-4IO2LPMY.cjs} +17 -17
  76. package/dist/{software-update-IN6TJL73.cjs → software-update-RMAWEZKX.cjs} +17 -17
  77. package/dist/{tickets-board-URMIIAKD.cjs → tickets-board-X4GHEKPB.cjs} +17 -17
  78. package/package.json +1 -1
  79. package/src/components/chat/ask-display.tsx +2 -4
  80. package/src/components/docs/skeletons.tsx +7 -1
  81. package/src/components/features/cards-strip.tsx +6 -2
  82. package/src/components/help-center-pages/trust-center-sections.tsx +1 -1
  83. package/src/components/meeting-scheduler/directory.tsx +6 -1
  84. package/src/components/product-demo/fixtures/devices.ts +5 -12
  85. package/src/components/product-demo/fixtures/shared.ts +20 -0
  86. package/src/components/product-demo/screens/devices-view.tsx +3 -0
  87. package/src/components/shared/roadmap/roadmap-grid.tsx +29 -7
  88. package/src/components/ui/image-gallery-modal.tsx +10 -7
  89. package/src/components/ui/snap-carousel.tsx +12 -11
@@ -14,7 +14,7 @@
14
14
 
15
15
 
16
16
 
17
- var _chunkV4RKY4ZYcjs = require('./chunk-V4RKY4ZY.cjs');
17
+ var _chunkFBA6S4EScjs = require('./chunk-FBA6S4ES.cjs');
18
18
 
19
19
 
20
20
 
@@ -107,13 +107,13 @@ var _chunkJKX2C3I2cjs = require('./chunk-JKX2C3I2.cjs');
107
107
  var _chunkEWPR7662cjs = require('./chunk-EWPR7662.cjs');
108
108
 
109
109
 
110
- var _chunkF4RCB5LBcjs = require('./chunk-F4RCB5LB.cjs');
110
+ var _chunkZZPGSLMOcjs = require('./chunk-ZZPGSLMO.cjs');
111
111
 
112
112
 
113
113
 
114
114
 
115
115
 
116
- var _chunk5FV2FQQDcjs = require('./chunk-5FV2FQQD.cjs');
116
+ var _chunkOZIPPOSJcjs = require('./chunk-OZIPPOSJ.cjs');
117
117
 
118
118
 
119
119
 
@@ -204,7 +204,7 @@ function ChatMessageRow(props) {
204
204
  }
205
205
  function ChatMessageRowLoaded(props) {
206
206
  const { displayName, avatarUrl, timeLabel, body, footer } = props;
207
- const proxiedAvatar = _chunk5FV2FQQDcjs.useProxiedImageUrl.call(void 0, _nullishCoalesce(avatarUrl, () => ( "")));
207
+ const proxiedAvatar = _chunkOZIPPOSJcjs.useProxiedImageUrl.call(void 0, _nullishCoalesce(avatarUrl, () => ( "")));
208
208
  const resolvedAvatar = proxiedAvatar || avatarUrl || void 0;
209
209
  const [failedSrc, setFailedSrc] = _react.useState.call(void 0, null);
210
210
  const src = resolvedAvatar && resolvedAvatar !== failedSrc ? resolvedAvatar : void 0;
@@ -2027,7 +2027,7 @@ function lastPathSegment(url) {
2027
2027
  function makeComposeContentUrl(opts) {
2028
2028
  const suffixes = _nullishCoalesce(opts.suffixes, () => ( DEFAULT_CONTENT_SUFFIXES));
2029
2029
  return ({ type: rawType, identifier, slug: slugHint, externalUrl, targetPlatform, platforms }) => {
2030
- const type = _chunk5FV2FQQDcjs.canonicalContentRefType.call(void 0, rawType);
2030
+ const type = _chunkOZIPPOSJcjs.canonicalContentRefType.call(void 0, rawType);
2031
2031
  const override = opts.overrides && Object.prototype.hasOwnProperty.call(opts.overrides, type) ? opts.overrides[type] : void 0;
2032
2032
  if (override) return { ...override(identifier), hostOverride: true };
2033
2033
  const seg = _nullishCoalesce((Object.prototype.hasOwnProperty.call(suffixes, type) ? suffixes[type] : void 0), () => ( type));
@@ -2038,8 +2038,8 @@ function makeComposeContentUrl(opts) {
2038
2038
  }
2039
2039
  if (externalUrl) return { href: externalUrl, targetPlatform: _nullishCoalesce(targetPlatform, () => ( null)) };
2040
2040
  const claimedOwner = _nullishCoalesce(targetPlatform, () => ( primaryPlatformOf(platforms)));
2041
- const owner = claimedOwner && _chunkV4RKY4ZYcjs.byKey.call(void 0, claimedOwner) ? claimedOwner : null;
2042
- const origin = owner ? _chunkV4RKY4ZYcjs.getPlatformProductionUrl.call(void 0, owner) : opts.contentOrigin;
2041
+ const owner = claimedOwner && _chunkFBA6S4EScjs.byKey.call(void 0, claimedOwner) ? claimedOwner : null;
2042
+ const origin = owner ? _chunkFBA6S4EScjs.getPlatformProductionUrl.call(void 0, owner) : opts.contentOrigin;
2043
2043
  return {
2044
2044
  href: `${origin.replace(/\/+$/, "")}/${seg}/${_optionalChain([slugHint, 'optionalAccess', _80 => _80.trim, 'call', _81 => _81()]) || identifier}`,
2045
2045
  // Report the owner so `decideNewTab` can compare it against the current
@@ -2220,7 +2220,7 @@ function extractSections(markdown, options = {}) {
2220
2220
  if (heading.level > opts.maxLevel) continue;
2221
2221
  let title = heading.text;
2222
2222
  if (opts.stripFormattingMarkers) {
2223
- title = _chunkV4RKY4ZYcjs.stripInlineMarkdown.call(void 0, title).trim();
2223
+ title = _chunkFBA6S4EScjs.stripInlineMarkdown.call(void 0, title).trim();
2224
2224
  }
2225
2225
  const baseId = _chunkOJZBZH56cjs.slugifyHeadingBase.call(void 0, opts.removeEmojis ? _chunkOJZBZH56cjs.stripHeadingEmojis.call(void 0, title) : title);
2226
2226
  const cleanId = baseId || `section-${sections.length + 1}`;
@@ -2535,7 +2535,7 @@ function demoClockTimes(seed, options = {}) {
2535
2535
  function openAskAi(source, options) {
2536
2536
  const prompt = _optionalChain([options, 'optionalAccess', _88 => _88.prompt, 'optionalAccess', _89 => _89.trim, 'call', _90 => _90()]);
2537
2537
  const detail = prompt ? { source: _nullishCoalesce(source, () => ( "")), prompt } : { source: _nullishCoalesce(source, () => ( "")) };
2538
- window.dispatchEvent(new CustomEvent(_chunkV4RKY4ZYcjs.ASK_AI_OPEN_EVENT, { detail }));
2538
+ window.dispatchEvent(new CustomEvent(_chunkFBA6S4EScjs.ASK_AI_OPEN_EVENT, { detail }));
2539
2539
  }
2540
2540
  function MingoAiButton({
2541
2541
  source,
@@ -2578,7 +2578,7 @@ function MingoAiButton({
2578
2578
  {
2579
2579
  ...props,
2580
2580
  type: "button",
2581
- ...{ [_chunkV4RKY4ZYcjs.ASK_AI_TRIGGER_ATTRIBUTE]: "" },
2581
+ ...{ [_chunkFBA6S4EScjs.ASK_AI_TRIGGER_ATTRIBUTE]: "" },
2582
2582
  variant: field ? "glyph" : "transparent",
2583
2583
  size: "wrap",
2584
2584
  font: "regular",
@@ -2680,7 +2680,7 @@ function useAskPrompts({
2680
2680
  const assistant = _chunkEWPR7662cjs.useAssistantRuntime.call(void 0, );
2681
2681
  const base = assistantAvailable(assistant) ? assistant.askPromptsUrl : void 0;
2682
2682
  const url = base && enabled ? buildAskPromptsUrl(base, { count, topic, exclude }) : null;
2683
- const { data, dataUrl, error } = _chunkF4RCB5LBcjs.useSelfFetch.call(void 0, url);
2683
+ const { data, dataUrl, error } = _chunkZZPGSLMOcjs.useSelfFetch.call(void 0, url);
2684
2684
  const landed = url !== null && (dataUrl === url || error);
2685
2685
  return { prompts: landed ? _nullishCoalesce(_optionalChain([data, 'optionalAccess', _97 => _97.prompts]), () => ( [])) : [], isLoading: !!base && !landed, supported: !!base };
2686
2686
  }
@@ -2819,9 +2819,9 @@ function QuestionChips({
2819
2819
  {
2820
2820
  "data-loading-item": true,
2821
2821
  className: _nullishCoalesce(slotClassName, () => ( CHIP_SLOT_CLASS)),
2822
- ...prompt ? { [_chunkV4RKY4ZYcjs.ASK_AI_TRIGGER_ATTRIBUTE]: "" } : {},
2822
+ ...prompt ? { [_chunkFBA6S4EScjs.ASK_AI_TRIGGER_ATTRIBUTE]: "" } : {},
2823
2823
  children: (loading || prompt) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2824
- _chunkV4RKY4ZYcjs.QuickActionChipButton,
2824
+ _chunkFBA6S4EScjs.QuickActionChipButton,
2825
2825
  {
2826
2826
  loading,
2827
2827
  variant: "question",
@@ -3031,7 +3031,7 @@ function QuickActionMarquee({
3031
3031
  );
3032
3032
  if (items.length === 0) return null;
3033
3033
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3034
- _chunkV4RKY4ZYcjs.QuickActionWall,
3034
+ _chunkFBA6S4EScjs.QuickActionWall,
3035
3035
  {
3036
3036
  chips,
3037
3037
  mode,
@@ -3246,7 +3246,7 @@ var ChatSidebar = _react.forwardRef.call(void 0,
3246
3246
  hasNextPage,
3247
3247
  isFetchingNextPage,
3248
3248
  onLoadMore,
3249
- pageSize = _chunkV4RKY4ZYcjs.CHAT_HISTORY_PAGE_SIZE,
3249
+ pageSize = _chunkFBA6S4EScjs.CHAT_HISTORY_PAGE_SIZE,
3250
3250
  ...props
3251
3251
  }, ref) => {
3252
3252
  const loading = _chunk6YZNUHXTcjs.useLoadingScope.call(void 0, ) || !!isLoading && dialogs.length === 0 && !children;
@@ -3530,7 +3530,7 @@ function OnboardingCarousel({
3530
3530
 
3531
3531
  var ADMIN_CONTENT_CARD_GRID_CLASS = "grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-[var(--spacing-system-lf)]";
3532
3532
  var GRID_CELL_CLASS = "h-full";
3533
- var DEFAULT_LOADING_CARD = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk5FV2FQQDcjs.AdminContentCard, { loading: true, reserveRows: true, title: "", actions: true });
3533
+ var DEFAULT_LOADING_CARD = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOZIPPOSJcjs.AdminContentCard, { loading: true, reserveRows: true, title: "", actions: true });
3534
3534
  function loadingCardOf(loadingCard, Skeleton) {
3535
3535
  if (loadingCard !== void 0) return loadingCard;
3536
3536
  return Skeleton ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Skeleton, {}) : DEFAULT_LOADING_CARD;
@@ -3544,7 +3544,7 @@ function AdminContentCardGridSkeleton({
3544
3544
  label = "Loading",
3545
3545
  region = true
3546
3546
  }) {
3547
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV4RKY4ZYcjs.LoadingFallback, { label, status: region, className: _chunk6YZNUHXTcjs.cn.call(void 0, ADMIN_CONTENT_CARD_GRID_CLASS, className), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6YZNUHXTcjs.LoadingItems, { count, children: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: GRID_CELL_CLASS, "data-loading-item": true, children: loadingCardOf(loadingCard, Skeleton) }) }) });
3547
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFBA6S4EScjs.LoadingFallback, { label, status: region, className: _chunk6YZNUHXTcjs.cn.call(void 0, ADMIN_CONTENT_CARD_GRID_CLASS, className), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6YZNUHXTcjs.LoadingItems, { count, children: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: GRID_CELL_CLASS, "data-loading-item": true, children: loadingCardOf(loadingCard, Skeleton) }) }) });
3548
3548
  }
3549
3549
  function AdminContentCardGrid({
3550
3550
  items,
@@ -3840,7 +3840,7 @@ function CampaignCardAdmin({ campaign, className, anchorProps }) {
3840
3840
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkC5EPWKM7cjs.COMPACT_CARD_TEXT_COL, children: [
3841
3841
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkC5EPWKM7cjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkC5EPWKM7cjs.COMPACT_CARD_TITLE, children: campaign.name }) }),
3842
3842
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkC5EPWKM7cjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkC5EPWKM7cjs.COMPACT_CARD_SUBTITLE, children: [
3843
- campaign.start_date ? _chunk5FV2FQQDcjs.formatDateShort.call(void 0, campaign.start_date) : null,
3843
+ campaign.start_date ? _chunkOZIPPOSJcjs.formatDateShort.call(void 0, campaign.start_date) : null,
3844
3844
  goalsCount > 0 ? `${goalsCount} goal${goalsCount !== 1 ? "s" : ""}` : null,
3845
3845
  "Marketing campaign"
3846
3846
  ].filter(Boolean).join(" \xB7 ") }) }),
@@ -5136,7 +5136,7 @@ function Section({ title, description, children }) {
5136
5136
  ] });
5137
5137
  }
5138
5138
  function ProxyCredentialsPanel({ description }) {
5139
- const hydrated = _chunkV4RKY4ZYcjs.useIsHydrated.call(void 0, );
5139
+ const hydrated = _chunkFBA6S4EScjs.useIsHydrated.call(void 0, );
5140
5140
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
5141
5141
  ProxyCredentialsForm,
5142
5142
  {
@@ -5300,21 +5300,21 @@ function ProxyCredentialsForm({ description, saved }) {
5300
5300
 
5301
5301
  // src/components/chat/index.ts
5302
5302
  var LoadedEmbeddableChat = _react.lazy.call(void 0,
5303
- () => Promise.resolve().then(() => _interopRequireWildcard(require("./embeddable-chat-QLJ2KSWT.cjs"))).then((module) => ({ default: module.EmbeddableChat }))
5303
+ () => Promise.resolve().then(() => _interopRequireWildcard(require("./embeddable-chat-54X3TTG4.cjs"))).then((module) => ({ default: module.EmbeddableChat }))
5304
5304
  );
5305
5305
  var EmbeddableChat = _react.forwardRef.call(void 0, (props, ref) => {
5306
5306
  const [loadRequested, setLoadRequested] = _react.useState.call(void 0, false);
5307
5307
  const load = loadRequested || Boolean(props.open) || Boolean(props.defaultOpen);
5308
- _react.useEffect.call(void 0, () => _chunkV4RKY4ZYcjs.holdAskAiOpens.call(void 0, ), []);
5308
+ _react.useEffect.call(void 0, () => _chunkFBA6S4EScjs.holdAskAiOpens.call(void 0, ), []);
5309
5309
  _react.useEffect.call(void 0, () => {
5310
5310
  if (load) return void 0;
5311
5311
  const start = () => setLoadRequested(true);
5312
- if (_chunkV4RKY4ZYcjs.askAiOpenIsHeld.call(void 0, )) queueMicrotask(start);
5313
- for (const name of _chunkV4RKY4ZYcjs.ASK_AI_OPEN_EVENTS) window.addEventListener(name, start);
5314
- const cancel = _chunkV4RKY4ZYcjs.onAskAiIntent.call(void 0, start);
5312
+ if (_chunkFBA6S4EScjs.askAiOpenIsHeld.call(void 0, )) queueMicrotask(start);
5313
+ for (const name of _chunkFBA6S4EScjs.ASK_AI_OPEN_EVENTS) window.addEventListener(name, start);
5314
+ const cancel = _chunkFBA6S4EScjs.onAskAiIntent.call(void 0, start);
5315
5315
  return () => {
5316
5316
  cancel();
5317
- for (const name of _chunkV4RKY4ZYcjs.ASK_AI_OPEN_EVENTS) window.removeEventListener(name, start);
5317
+ for (const name of _chunkFBA6S4EScjs.ASK_AI_OPEN_EVENTS) window.removeEventListener(name, start);
5318
5318
  };
5319
5319
  }, [load]);
5320
5320
  if (!load) return null;
@@ -1,30 +1,30 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }"use client";
2
2
 
3
3
 
4
- var _chunkF7UIQ6UGcjs = require('./chunk-F7UIQ6UG.cjs');
4
+ var _chunkTBGVWIF7cjs = require('./chunk-TBGVWIF7.cjs');
5
5
 
6
6
 
7
7
 
8
- var _chunkPLNLTN4Rcjs = require('./chunk-PLNLTN4R.cjs');
8
+ var _chunkEPWLLLGWcjs = require('./chunk-EPWLLLGW.cjs');
9
9
 
10
10
 
11
11
 
12
12
 
13
13
 
14
14
 
15
- var _chunk7GNSCDUKcjs = require('./chunk-7GNSCDUK.cjs');
15
+ var _chunk2I2AXIBDcjs = require('./chunk-2I2AXIBD.cjs');
16
16
 
17
17
 
18
18
  var _chunkRPC4P7GYcjs = require('./chunk-RPC4P7GY.cjs');
19
19
 
20
20
 
21
- var _chunkISSBE5JPcjs = require('./chunk-ISSBE5JP.cjs');
21
+ var _chunk7EH7KKFWcjs = require('./chunk-7EH7KKFW.cjs');
22
22
 
23
23
 
24
24
 
25
25
 
26
26
 
27
- var _chunkV4RKY4ZYcjs = require('./chunk-V4RKY4ZY.cjs');
27
+ var _chunkFBA6S4EScjs = require('./chunk-FBA6S4ES.cjs');
28
28
 
29
29
 
30
30
  var _chunkRKWEFZ6Pcjs = require('./chunk-RKWEFZ6P.cjs');
@@ -34,11 +34,11 @@ var _chunkRKWEFZ6Pcjs = require('./chunk-RKWEFZ6P.cjs');
34
34
  var _chunk7DNL734Scjs = require('./chunk-7DNL734S.cjs');
35
35
 
36
36
 
37
- var _chunkF4RCB5LBcjs = require('./chunk-F4RCB5LB.cjs');
37
+ var _chunkZZPGSLMOcjs = require('./chunk-ZZPGSLMO.cjs');
38
38
 
39
39
 
40
40
 
41
- var _chunk5FV2FQQDcjs = require('./chunk-5FV2FQQD.cjs');
41
+ var _chunkOZIPPOSJcjs = require('./chunk-OZIPPOSJ.cjs');
42
42
 
43
43
 
44
44
  var _chunkC5EPWKM7cjs = require('./chunk-C5EPWKM7.cjs');
@@ -75,7 +75,7 @@ function OnboardingCatalogSectionsSkeleton() {
75
75
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAT4C2YMAcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-40" }),
76
76
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: CATALOG_SECTION_COUNT_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAT4C2YMAcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-3" }) })
77
77
  ] }),
78
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "ul", { className: CATALOG_LIST_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6YZNUHXTcjs.LoadingItems, { count: ONBOARDING_CATALOG_SKELETON_CARDS, children: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "li", { "data-loading-item": true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk5FV2FQQDcjs.OnboardingGuideCard, { loading: true, size: "catalog" }) }) }) })
78
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "ul", { className: CATALOG_LIST_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6YZNUHXTcjs.LoadingItems, { count: ONBOARDING_CATALOG_SKELETON_CARDS, children: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "li", { "data-loading-item": true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOZIPPOSJcjs.OnboardingGuideCard, { loading: true, size: "catalog" }) }) }) })
79
79
  ] }) });
80
80
  }
81
81
  function OnboardingGuidesCatalogView({
@@ -96,10 +96,10 @@ function OnboardingGuidesCatalogView({
96
96
  const sectionValue = selfFetch ? _nullishCoalesce(searchParams.get("section"), () => ( "")) : initialSection;
97
97
  const activeSection = sectionValue || "all";
98
98
  const guidesQs = sectionValue ? `?section=${encodeURIComponent(sectionValue)}` : "";
99
- const guidesRes = _chunkF4RCB5LBcjs.useSelfFetch.call(void 0,
99
+ const guidesRes = _chunkZZPGSLMOcjs.useSelfFetch.call(void 0,
100
100
  selfFetch && guidesEndpoint ? `${guidesEndpoint}${guidesQs}` : null
101
101
  );
102
- const sectionsRes = _chunkF4RCB5LBcjs.useSelfFetch.call(void 0, selfFetch && sectionsEndpoint ? sectionsEndpoint : null);
102
+ const sectionsRes = _chunkZZPGSLMOcjs.useSelfFetch.call(void 0, selfFetch && sectionsEndpoint ? sectionsEndpoint : null);
103
103
  const guides = _react.useMemo.call(void 0, () => _nullishCoalesce(_nullishCoalesce(initialGuides, () => ( _optionalChain([guidesRes, 'access', _2 => _2.data, 'optionalAccess', _3 => _3.data]))), () => ( [])), [initialGuides, _optionalChain([guidesRes, 'access', _4 => _4.data, 'optionalAccess', _5 => _5.data])]);
104
104
  const sections = _react.useMemo.call(void 0,
105
105
  () => _nullishCoalesce(initialSections, () => ( (Array.isArray(sectionsRes.data) ? sectionsRes.data : []))),
@@ -143,25 +143,25 @@ function OnboardingGuidesCatalogView({
143
143
  });
144
144
  };
145
145
  const source = _nullishCoalesce(_optionalChain([runtime, 'optionalAccess', _6 => _6.source]), () => ( "openframe"));
146
- const docSearch = _chunkPLNLTN4Rcjs.useDocSearch.call(void 0, {
146
+ const docSearch = _chunkEPWLLLGWcjs.useDocSearch.call(void 0, {
147
147
  source,
148
148
  baseRoute: basePath,
149
149
  onNavigate: (path) => router.push(path),
150
150
  tableIds: ["onboarding-guides"]
151
151
  });
152
152
  const defaultRenderCard = (guide) => {
153
- const cta = _chunkISSBE5JPcjs.resolveContentHref.call(void 0, _optionalChain([runtime, 'optionalAccess', _7 => _7.composeContentUrl]), {
153
+ const cta = _chunk7EH7KKFWcjs.resolveContentHref.call(void 0, _optionalChain([runtime, 'optionalAccess', _7 => _7.composeContentUrl]), {
154
154
  type: "onboarding_guide",
155
155
  slug: guide.slug,
156
156
  basePath,
157
157
  platforms: guide.onboarding_guide_platforms
158
158
  });
159
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk5FV2FQQDcjs.OnboardingGuideCard, { guide, href: cta.href, targetPlatform: cta.targetPlatform, size: "catalog" });
159
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOZIPPOSJcjs.OnboardingGuideCard, { guide, href: cta.href, targetPlatform: cta.targetPlatform, size: "catalog" });
160
160
  };
161
161
  const renderCardFn = _nullishCoalesce(renderCard, () => ( defaultRenderCard));
162
162
  const preControls = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: CATALOG_CONTROLS_CLASS, children: [
163
163
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
164
- _chunkPLNLTN4Rcjs.DocSearchBar,
164
+ _chunkEPWLLLGWcjs.DocSearchBar,
165
165
  {
166
166
  placeholder: "Search onboarding guides, releases, case studies\u2026",
167
167
  query: docSearch.query,
@@ -173,7 +173,7 @@ function OnboardingGuidesCatalogView({
173
173
  }
174
174
  ),
175
175
  (loading || sections.length > 0) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
176
- _chunk7GNSCDUKcjs.FilterPillRow,
176
+ _chunk2I2AXIBDcjs.FilterPillRow,
177
177
  {
178
178
  label: "Section",
179
179
  selectedValue: activeSection,
@@ -184,7 +184,7 @@ function OnboardingGuidesCatalogView({
184
184
  )
185
185
  ] });
186
186
  if (!loading && selfFetch && guidesRes.error) {
187
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7GNSCDUKcjs.LoadError, { message: "Failed to load onboarding guides.", onRetry: guidesRes.reload });
187
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2I2AXIBDcjs.LoadError, { message: "Failed to load onboarding guides.", onRetry: guidesRes.reload });
188
188
  }
189
189
  const view = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: CATALOG_VIEW_CLASS, children: [
190
190
  preControls,
@@ -200,7 +200,7 @@ function OnboardingGuidesCatalogView({
200
200
  )
201
201
  ] });
202
202
  if (!loading) return view;
203
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV4RKY4ZYcjs.LoadingFallback, { label: "Loading onboarding guides", children: view });
203
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFBA6S4EScjs.LoadingFallback, { label: "Loading onboarding guides", children: view });
204
204
  }
205
205
  function OnboardingCatalogSections({
206
206
  grouped,
@@ -304,7 +304,7 @@ function OnboardingGuideDetailView({
304
304
  slug,
305
305
  guideEndpoint,
306
306
  related = [],
307
- MarkdownRenderer = _chunk7GNSCDUKcjs.RichMarkdownRenderer,
307
+ MarkdownRenderer = _chunk2I2AXIBDcjs.RichMarkdownRenderer,
308
308
  renderRelatedCard,
309
309
  backHref,
310
310
  backLabel = "Back to Getting Started",
@@ -314,9 +314,9 @@ function OnboardingGuideDetailView({
314
314
  }) {
315
315
  const resolvedBackHref = _nullishCoalesce(backHref, () => ( basePath));
316
316
  const runtime = _chunkUJ7AXHRZcjs.useChatRuntime.call(void 0, );
317
- const captions = _chunkV4RKY4ZYcjs.useCaptions.call(void 0, );
317
+ const captions = _chunkFBA6S4EScjs.useCaptions.call(void 0, );
318
318
  const router = _chunk7DNL734Scjs.useRouter.call(void 0, );
319
- const renderShell = (node) => shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7GNSCDUKcjs.PageShell, { children: node }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: node });
319
+ const renderShell = (node) => shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2I2AXIBDcjs.PageShell, { children: node }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: node });
320
320
  const url = initialData ? null : slug && guideEndpoint ? guideEndpoint(slug) : null;
321
321
  const scoped = _chunk6YZNUHXTcjs.useLoadingScope.call(void 0, );
322
322
  const {
@@ -324,7 +324,7 @@ function OnboardingGuideDetailView({
324
324
  isLoading,
325
325
  error,
326
326
  reload
327
- } = _chunkF4RCB5LBcjs.useSelfFetch.call(void 0, scoped ? null : url, {
327
+ } = _chunkZZPGSLMOcjs.useSelfFetch.call(void 0, scoped ? null : url, {
328
328
  initialData
329
329
  });
330
330
  const { ref: videoWarmupRef } = _chunkRKWEFZ6Pcjs.useVideoWarmup.call(void 0, {
@@ -334,7 +334,7 @@ function OnboardingGuideDetailView({
334
334
  const backCfg = { label: backLabel, onClick: () => router.push(resolvedBackHref) };
335
335
  const loading = scoped || !guide && isLoading;
336
336
  if (!loading && (error || !guide)) {
337
- return renderShell(/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7GNSCDUKcjs.LoadError, { message: "Guide not found.", onRetry: reload }));
337
+ return renderShell(/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2I2AXIBDcjs.LoadError, { message: "Guide not found.", onRetry: reload }));
338
338
  }
339
339
  const view = _nullishCoalesce(guide, () => ( EMPTY_ONBOARDING_GUIDE));
340
340
  const { captionsUrl, highlightCaptionsUrl } = captions.forEntity("onboarding_guide", view);
@@ -342,19 +342,19 @@ function OnboardingGuideDetailView({
342
342
  // worst), so it's the terminal fallback — no trailing `|| undefined` needed.
343
343
  _chunkLL6PXI6Ccjs.buildOgPlaceholderUrl.call(void 0, _optionalChain([runtime, 'optionalAccess', _11 => _11.endpoints]), view.title, { aspect: "wide" });
344
344
  const defaultRenderRelatedCard = (g) => {
345
- const cta = _chunkISSBE5JPcjs.resolveContentHref.call(void 0, _optionalChain([runtime, 'optionalAccess', _12 => _12.composeContentUrl]), {
345
+ const cta = _chunk7EH7KKFWcjs.resolveContentHref.call(void 0, _optionalChain([runtime, 'optionalAccess', _12 => _12.composeContentUrl]), {
346
346
  type: "onboarding_guide",
347
347
  slug: g.slug,
348
348
  basePath,
349
349
  platforms: g.onboarding_guide_platforms
350
350
  });
351
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk5FV2FQQDcjs.OnboardingGuideCard, { guide: g, href: cta.href, targetPlatform: cta.targetPlatform });
351
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOZIPPOSJcjs.OnboardingGuideCard, { guide: g, href: cta.href, targetPlatform: cta.targetPlatform });
352
352
  };
353
353
  const renderRelatedCardFn = _nullishCoalesce(renderRelatedCard, () => ( defaultRenderRelatedCard));
354
354
  const page = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkRPC4P7GYcjs.PageLayout, { title: view.title, loading, titleSize: "h1", titleWrap: true, backButton: backCfg, children: [
355
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7GNSCDUKcjs.EntityTagBadges, { tags: view.onboarding_guide_tags }),
355
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2I2AXIBDcjs.EntityTagBadges, { tags: view.onboarding_guide_tags }),
356
356
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
357
- _chunk5FV2FQQDcjs.EntityAuthorCard,
357
+ _chunkOZIPPOSJcjs.EntityAuthorCard,
358
358
  {
359
359
  author: view.author,
360
360
  authorHref,
@@ -370,7 +370,7 @@ function OnboardingGuideDetailView({
370
370
  ),
371
371
  !loading && (view.main_video_url || view.youtube_url) && // A guide's video is optional: the loading state leaves it out.
372
372
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: videoWarmupRef, "data-loading-optional": "", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
373
- _chunkV4RKY4ZYcjs.EntityVideoSection,
373
+ _chunkFBA6S4EScjs.EntityVideoSection,
374
374
  {
375
375
  mainVideoUrl: view.main_video_url,
376
376
  youtubeUrl: view.youtube_url || void 0,
@@ -387,7 +387,7 @@ function OnboardingGuideDetailView({
387
387
  ) }),
388
388
  (loading || view.content) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: BODY_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MarkdownRenderer, { content: _nullishCoalesce(view.content, () => ( "")) }) }),
389
389
  loading ? null : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "contents", "data-loading-optional": "", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
390
- _chunkV4RKY4ZYcjs.VideoBitesStrip,
390
+ _chunkFBA6S4EScjs.VideoBitesStrip,
391
391
  {
392
392
  bites: _nullishCoalesce(view.video_bites, () => ( [])),
393
393
  filterPublished: true,
@@ -397,7 +397,7 @@ function OnboardingGuideDetailView({
397
397
  }
398
398
  ) }),
399
399
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
400
- _chunkF7UIQ6UGcjs.ArticleAuthorByline,
400
+ _chunkTBGVWIF7cjs.ArticleAuthorByline,
401
401
  {
402
402
  author: _nullishCoalesce(_optionalChain([view, 'access', _13 => _13.author, 'optionalAccess', _14 => _14.full_name]), () => ( null)),
403
403
  avatar: _optionalChain([view, 'access', _15 => _15.author, 'optionalAccess', _16 => _16.avatar_url]),
@@ -410,7 +410,7 @@ function OnboardingGuideDetailView({
410
410
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, RelatedGuides, { section: view.section, related, renderCard: renderRelatedCardFn }),
411
411
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _react.Fragment, { children: relatedContent }, "related-content")
412
412
  ] });
413
- return renderShell(loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV4RKY4ZYcjs.LoadingFallback, { label: "Loading the guide", children: page }) : page);
413
+ return renderShell(loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFBA6S4EScjs.LoadingFallback, { label: "Loading the guide", children: page }) : page);
414
414
  }
415
415
 
416
416
  // src/components/onboarding-guides/hooks/use-onboarding-guides.ts
@@ -1,13 +1,13 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }"use client";
2
2
 
3
3
 
4
- var _chunk7GNSCDUKcjs = require('./chunk-7GNSCDUK.cjs');
4
+ var _chunk2I2AXIBDcjs = require('./chunk-2I2AXIBD.cjs');
5
5
 
6
6
 
7
7
 
8
8
 
9
9
 
10
- var _chunkV4RKY4ZYcjs = require('./chunk-V4RKY4ZY.cjs');
10
+ var _chunkFBA6S4EScjs = require('./chunk-FBA6S4ES.cjs');
11
11
 
12
12
 
13
13
  var _chunkOJZBZH56cjs = require('./chunk-OJZBZH56.cjs');
@@ -18,7 +18,7 @@ var _chunk7DNL734Scjs = require('./chunk-7DNL734S.cjs');
18
18
 
19
19
 
20
20
 
21
- var _chunk5FV2FQQDcjs = require('./chunk-5FV2FQQD.cjs');
21
+ var _chunkOZIPPOSJcjs = require('./chunk-OZIPPOSJ.cjs');
22
22
 
23
23
 
24
24
  var _chunkC5EPWKM7cjs = require('./chunk-C5EPWKM7.cjs');
@@ -42,7 +42,7 @@ var _jsxruntime = require('react/jsx-runtime');
42
42
  function DocSearchResultRow({ result, isHighlighted }) {
43
43
  const docType = _optionalChain([result, 'access', _ => _.metadata, 'optionalAccess', _2 => _2.documentType]) || void 0;
44
44
  const sourceRepo = _optionalChain([result, 'access', _3 => _3.metadata, 'optionalAccess', _4 => _4.sourceRepo]) || void 0;
45
- const { Icon: SourceIcon, label: iconLabel } = _chunkV4RKY4ZYcjs.resolveSourceIcon.call(void 0, {
45
+ const { Icon: SourceIcon, label: iconLabel } = _chunkFBA6S4EScjs.resolveSourceIcon.call(void 0, {
46
46
  sourceRepo,
47
47
  documentType: docType
48
48
  });
@@ -72,7 +72,7 @@ function DocSearchBar({
72
72
  renderResult
73
73
  }) {
74
74
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
75
- _chunk7GNSCDUKcjs.SearchInput,
75
+ _chunk2I2AXIBDcjs.SearchInput,
76
76
  {
77
77
  placeholder,
78
78
  value: query,
@@ -122,7 +122,7 @@ function mapDocSearchResults(docs) {
122
122
  results.push({
123
123
  id: `group-${entry.repo}`,
124
124
  // Same table label and count as the chat's grouped chip: one owner each.
125
- title: `${_chunkV4RKY4ZYcjs.getSourceLabel.call(void 0, entry.repo)} ${_chunkV4RKY4ZYcjs.recordCountLabel.call(void 0, rows.length)}`,
125
+ title: `${_chunkFBA6S4EScjs.getSourceLabel.call(void 0, entry.repo)} ${_chunkFBA6S4EScjs.recordCountLabel.call(void 0, rows.length)}`,
126
126
  path: rows[0].path,
127
127
  type: "file",
128
128
  metadata: {
@@ -314,31 +314,31 @@ function useDocSearch(config) {
314
314
  case "navigate-same-tab": {
315
315
  if (wantsNewTab) {
316
316
  setKeepOpen(true);
317
- window.open(action.href, "_blank", _chunk5FV2FQQDcjs.NEW_TAB_FEATURES);
317
+ window.open(action.href, "_blank", _chunkOZIPPOSJcjs.NEW_TAB_FEATURES);
318
318
  return;
319
319
  }
320
320
  setKeepOpen(false);
321
321
  const path = baseRoute && action.href.startsWith(`${baseRoute}/`) ? action.href.slice(baseRoute.length + 1) : null;
322
322
  if (path && _optionalChain([onInPageSwap, 'optionalCall', _16 => _16(path)])) return;
323
- router.push(_chunk5FV2FQQDcjs.stripSameOriginToPath.call(void 0, action.href));
323
+ router.push(_chunkOZIPPOSJcjs.stripSameOriginToPath.call(void 0, action.href));
324
324
  return;
325
325
  }
326
326
  case "navigate-new-tab":
327
327
  setKeepOpen(true);
328
328
  if (_optionalChain([runtime, 'optionalAccess', _17 => _17.navigation, 'access', _18 => _18.mode]) === "embed") {
329
329
  const targetPlatform = _nullishCoalesce(_optionalChain([result, 'access', _19 => _19.metadata, 'optionalAccess', _20 => _20.targetPlatform]), () => ( null));
330
- _chunk5FV2FQQDcjs.resolveExternalNavigation.call(void 0, {
330
+ _chunkOZIPPOSJcjs.resolveExternalNavigation.call(void 0, {
331
331
  href: action.href,
332
332
  targetPlatform,
333
333
  runtime
334
334
  }).open();
335
335
  return;
336
336
  }
337
- window.open(action.href, "_blank", _chunk5FV2FQQDcjs.NEW_TAB_FEATURES);
337
+ window.open(action.href, "_blank", _chunkOZIPPOSJcjs.NEW_TAB_FEATURES);
338
338
  return;
339
339
  case "ask-ai":
340
340
  setKeepOpen(false);
341
- window.dispatchEvent(new CustomEvent(_chunkV4RKY4ZYcjs.ASK_AI_OPEN_WITH_REF_EVENT, { detail: action.detail }));
341
+ window.dispatchEvent(new CustomEvent(_chunkFBA6S4EScjs.ASK_AI_OPEN_WITH_REF_EVENT, { detail: action.detail }));
342
342
  return;
343
343
  case "route":
344
344
  setKeepOpen(false);