@flamingo-stack/openframe-frontend-core 0.0.797 → 0.0.799

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 (92) hide show
  1. package/dist/build/export-map.json +1 -1
  2. package/dist/{chunk-VFCPLZFY.cjs → chunk-247LDSQE.cjs} +61 -61
  3. package/dist/{chunk-UKLSEI7S.cjs → chunk-2KEBGXA4.cjs} +4 -4
  4. package/dist/{chunk-GAFNJDZV.cjs → chunk-3MRK7X6Z.cjs} +3 -3
  5. package/dist/{chunk-7GFKJGWH.cjs → chunk-4RK62AMV.cjs} +68 -68
  6. package/dist/{chunk-PBL66EVT.cjs → chunk-6CB3AXZM.cjs} +30 -30
  7. package/dist/{chunk-BUCCV72E.cjs → chunk-6EDOASF4.cjs} +11 -11
  8. package/dist/{chunk-NBUHCGGG.cjs → chunk-AVAE5B2A.cjs} +2 -2
  9. package/dist/{chunk-YHCC3BLP.cjs → chunk-B3X4J4HQ.cjs} +14 -14
  10. package/dist/{chunk-ZPTHTGHK.cjs → chunk-BSBCZIPQ.cjs} +39 -39
  11. package/dist/{chunk-CO6FB4DR.cjs → chunk-CS2KLF4O.cjs} +13 -13
  12. package/dist/{chunk-FFEE2ON2.cjs → chunk-DBRXZC2I.cjs} +139 -129
  13. package/dist/{chunk-5CEXT3V7.cjs → chunk-FDDM5Z52.cjs} +2 -2
  14. package/dist/{chunk-QKXXHOOD.cjs → chunk-FIKIPO4F.cjs} +13 -0
  15. package/dist/{chunk-3H3CQ7BQ.cjs → chunk-GRNTIKPD.cjs} +54 -44
  16. package/dist/{chunk-LAJNO2EW.cjs → chunk-HB7FVY46.cjs} +32 -32
  17. package/dist/{chunk-RD57WBJK.cjs → chunk-IJGIWG6G.cjs} +4 -4
  18. package/dist/{chunk-OZUUCVDZ.cjs → chunk-O6KQ64RI.cjs} +2 -2
  19. package/dist/{chunk-KWINW3FC.cjs → chunk-PO5IIN4S.cjs} +11 -11
  20. package/dist/{chunk-YMWK7GOC.cjs → chunk-PPORXZI7.cjs} +139 -119
  21. package/dist/{chunk-IS77JFF6.cjs → chunk-SDV335EO.cjs} +4 -4
  22. package/dist/{chunk-7MLK7BGF.cjs → chunk-T5OCU3EL.cjs} +4 -4
  23. package/dist/{chunk-4M5JIVAH.cjs → chunk-TETW5NR4.cjs} +3 -3
  24. package/dist/{chunk-CHF6PHOR.cjs → chunk-UFCKY7OL.cjs} +16 -16
  25. package/dist/{chunk-7AMU2ZD2.cjs → chunk-XJD7IZR2.cjs} +48 -48
  26. package/dist/{chunk-NX4QOEPJ.cjs → chunk-ZOK4OWMJ.cjs} +2 -2
  27. package/dist/{cloud-tenants-THCY3N2P.cjs → cloud-tenants-BQAVRN44.cjs} +6 -6
  28. package/dist/components/case-studies/index.cjs +20 -20
  29. package/dist/components/chat/entity-cards/roadmap-card.d.ts +5 -0
  30. package/dist/components/chat/entity-cards/roadmap-card.d.ts.map +1 -1
  31. package/dist/components/chat/entity-cards/roadmap-card.js +16 -1
  32. package/dist/components/chat/index.cjs +5 -5
  33. package/dist/components/chat/types/entities/roadmap-item.d.ts +8 -0
  34. package/dist/components/chat/types/entities/roadmap-item.d.ts.map +1 -1
  35. package/dist/components/contact/index.cjs +7 -7
  36. package/dist/components/docs/index.cjs +10 -10
  37. package/dist/components/embeds/index.cjs +7 -7
  38. package/dist/components/faq/index.cjs +8 -8
  39. package/dist/components/features/index.cjs +6 -6
  40. package/dist/components/help-center-pages/index.cjs +82 -82
  41. package/dist/components/index.cjs +52 -52
  42. package/dist/components/loading/loading-fallback.d.ts +27 -3
  43. package/dist/components/loading/loading-fallback.d.ts.map +1 -1
  44. package/dist/components/loading/loading-fallback.js +17 -9
  45. package/dist/components/meeting-scheduler/index.cjs +38 -38
  46. package/dist/components/navigation/index.cjs +9 -9
  47. package/dist/components/onboarding-guides/index.cjs +9 -9
  48. package/dist/components/product-demo/index.cjs +15 -15
  49. package/dist/components/related-content/index.cjs +5 -5
  50. package/dist/components/tickets/index.cjs +13 -13
  51. package/dist/components/ui/feature-card.d.ts +1 -1
  52. package/dist/components/ui/feature-card.d.ts.map +1 -1
  53. package/dist/components/ui/feature-card.js +1 -0
  54. package/dist/components/ui/index.cjs +6 -6
  55. package/dist/components/ui/index.d.ts +1 -1
  56. package/dist/components/ui/index.d.ts.map +1 -1
  57. package/dist/components/ui/index.js +9 -1
  58. package/dist/components/ui/markdown-editor.d.ts.map +1 -1
  59. package/dist/components/ui/trendline.d.ts +1 -1
  60. package/dist/components/ui/trendline.d.ts.map +1 -1
  61. package/dist/components/ui/trendline.js +11 -2
  62. package/dist/{devices-N4EF5QDS.cjs → devices-KDT5ZGSG.cjs} +7 -7
  63. package/dist/{embeddable-chat-7Z2OQK3X.cjs → embeddable-chat-ODKTSW3C.cjs} +62 -62
  64. package/dist/index.cjs +12 -10
  65. package/dist/{knowledge-TL4DSXYQ.cjs → knowledge-4NLP77HP.cjs} +7 -7
  66. package/dist/loading-standard/engine.d.mts +22 -4
  67. package/dist/loading-standard/engine.d.mts.map +1 -1
  68. package/dist/loading-standard/rule-examples.d.mts.map +1 -1
  69. package/dist/{logs-4VRUBGKE.cjs → logs-U6VMTY4N.cjs} +14 -14
  70. package/dist/{policies-TLNVCQGG.cjs → policies-TBLFBRFM.cjs} +10 -10
  71. package/dist/{scripts-4LFWHIMH.cjs → scripts-ZMNJWX7I.cjs} +11 -11
  72. package/dist/{software-update-J4ZXQABW.cjs → software-update-Q5AEQ4A4.cjs} +9 -9
  73. package/dist/utils/clickup-drop-down.cjs +22 -0
  74. package/dist/utils/clickup-drop-down.d.ts +26 -0
  75. package/dist/utils/clickup-drop-down.d.ts.map +1 -0
  76. package/dist/utils/clickup-drop-down.js +20 -0
  77. package/dist/utils/index.cjs +20 -0
  78. package/dist/utils/index.d.ts +1 -0
  79. package/dist/utils/index.d.ts.map +1 -1
  80. package/dist/utils/index.js +1 -0
  81. package/package.json +7 -1
  82. package/src/components/chat/entity-cards/roadmap-card.tsx +18 -1
  83. package/src/components/chat/types/entities/roadmap-item.ts +8 -0
  84. package/src/components/loading/loading-fallback.tsx +52 -12
  85. package/src/components/ui/feature-card.tsx +2 -1
  86. package/src/components/ui/index.ts +13 -1
  87. package/src/components/ui/markdown-editor.tsx +1 -0
  88. package/src/components/ui/trendline.tsx +27 -10
  89. package/src/loading-standard/engine.mjs +170 -14
  90. package/src/loading-standard/rule-examples.mjs +50 -0
  91. package/src/utils/clickup-drop-down.ts +41 -0
  92. package/src/utils/index.ts +1 -0
@@ -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 _chunkNX4QOEPJcjs = require('./chunk-NX4QOEPJ.cjs');
4
+ var _chunkZOK4OWMJcjs = require('./chunk-ZOK4OWMJ.cjs');
5
5
 
6
6
 
7
7
 
8
- var _chunkBUCCV72Ecjs = require('./chunk-BUCCV72E.cjs');
8
+ var _chunk6EDOASF4cjs = require('./chunk-6EDOASF4.cjs');
9
9
 
10
10
 
11
11
 
12
12
 
13
13
 
14
14
 
15
- var _chunkFFEE2ON2cjs = require('./chunk-FFEE2ON2.cjs');
15
+ var _chunkDBRXZC2Icjs = require('./chunk-DBRXZC2I.cjs');
16
16
 
17
17
 
18
18
  var _chunkE56LN23Hcjs = require('./chunk-E56LN23H.cjs');
19
19
 
20
20
 
21
- var _chunkYMWK7GOCcjs = require('./chunk-YMWK7GOC.cjs');
21
+ var _chunkPPORXZI7cjs = require('./chunk-PPORXZI7.cjs');
22
22
 
23
23
 
24
24
 
25
25
 
26
26
 
27
- var _chunk3H3CQ7BQcjs = require('./chunk-3H3CQ7BQ.cjs');
27
+ var _chunkGRNTIKPDcjs = require('./chunk-GRNTIKPD.cjs');
28
28
 
29
29
 
30
30
  var _chunkZD6SZLO2cjs = require('./chunk-ZD6SZLO2.cjs');
@@ -34,11 +34,11 @@ var _chunkZD6SZLO2cjs = require('./chunk-ZD6SZLO2.cjs');
34
34
  var _chunk7DNL734Scjs = require('./chunk-7DNL734S.cjs');
35
35
 
36
36
 
37
- var _chunkIS77JFF6cjs = require('./chunk-IS77JFF6.cjs');
37
+ var _chunkSDV335EOcjs = require('./chunk-SDV335EO.cjs');
38
38
 
39
39
 
40
40
 
41
- var _chunkQKXXHOODcjs = require('./chunk-QKXXHOOD.cjs');
41
+ var _chunkFIKIPO4Fcjs = require('./chunk-FIKIPO4F.cjs');
42
42
 
43
43
 
44
44
  var _chunkYBTORXFYcjs = require('./chunk-YBTORXFY.cjs');
@@ -75,7 +75,7 @@ function OnboardingCatalogSectionsSkeleton() {
75
75
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4WIJI4AKcjs.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, _chunk4WIJI4AKcjs.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, _chunk7JWFMAQBcjs.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, _chunkQKXXHOODcjs.OnboardingGuideCard, { loading: true, size: "catalog" }) }) }) })
78
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "ul", { className: CATALOG_LIST_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7JWFMAQBcjs.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, _chunkFIKIPO4Fcjs.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 = _chunkIS77JFF6cjs.useSelfFetch.call(void 0,
99
+ const guidesRes = _chunkSDV335EOcjs.useSelfFetch.call(void 0,
100
100
  selfFetch && guidesEndpoint ? `${guidesEndpoint}${guidesQs}` : null
101
101
  );
102
- const sectionsRes = _chunkIS77JFF6cjs.useSelfFetch.call(void 0, selfFetch && sectionsEndpoint ? sectionsEndpoint : null);
102
+ const sectionsRes = _chunkSDV335EOcjs.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 = _chunkBUCCV72Ecjs.useDocSearch.call(void 0, {
146
+ const docSearch = _chunk6EDOASF4cjs.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 = _chunkYMWK7GOCcjs.resolveContentHref.call(void 0, _optionalChain([runtime, 'optionalAccess', _7 => _7.composeContentUrl]), {
153
+ const cta = _chunkPPORXZI7cjs.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, _chunkQKXXHOODcjs.OnboardingGuideCard, { guide, href: cta.href, targetPlatform: cta.targetPlatform, size: "catalog" });
159
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFIKIPO4Fcjs.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
- _chunkBUCCV72Ecjs.DocSearchBar,
164
+ _chunk6EDOASF4cjs.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
- _chunkFFEE2ON2cjs.FilterPillRow,
176
+ _chunkDBRXZC2Icjs.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, _chunkFFEE2ON2cjs.LoadError, { message: "Failed to load onboarding guides.", onRetry: guidesRes.reload });
187
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDBRXZC2Icjs.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, _chunk3H3CQ7BQcjs.LoadingFallback, { label: "Loading onboarding guides", children: view });
203
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGRNTIKPDcjs.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 = _chunkFFEE2ON2cjs.RichMarkdownRenderer,
307
+ MarkdownRenderer = _chunkDBRXZC2Icjs.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 = _chunk3H3CQ7BQcjs.useCaptions.call(void 0, );
317
+ const captions = _chunkGRNTIKPDcjs.useCaptions.call(void 0, );
318
318
  const router = _chunk7DNL734Scjs.useRouter.call(void 0, );
319
- const renderShell = (node) => shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFFEE2ON2cjs.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, _chunkDBRXZC2Icjs.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 = _chunk7JWFMAQBcjs.useLoadingScope.call(void 0, );
322
322
  const {
@@ -324,7 +324,7 @@ function OnboardingGuideDetailView({
324
324
  isLoading,
325
325
  error,
326
326
  reload
327
- } = _chunkIS77JFF6cjs.useSelfFetch.call(void 0, scoped ? null : url, {
327
+ } = _chunkSDV335EOcjs.useSelfFetch.call(void 0, scoped ? null : url, {
328
328
  initialData
329
329
  });
330
330
  const { ref: videoWarmupRef } = _chunkZD6SZLO2cjs.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, _chunkFFEE2ON2cjs.LoadError, { message: "Guide not found.", onRetry: reload }));
337
+ return renderShell(/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDBRXZC2Icjs.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
  _chunkXR323UBYcjs.buildOgPlaceholderUrl.call(void 0, _optionalChain([runtime, 'optionalAccess', _11 => _11.endpoints]), view.title, { aspect: "wide" });
344
344
  const defaultRenderRelatedCard = (g) => {
345
- const cta = _chunkYMWK7GOCcjs.resolveContentHref.call(void 0, _optionalChain([runtime, 'optionalAccess', _12 => _12.composeContentUrl]), {
345
+ const cta = _chunkPPORXZI7cjs.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, _chunkQKXXHOODcjs.OnboardingGuideCard, { guide: g, href: cta.href, targetPlatform: cta.targetPlatform });
351
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFIKIPO4Fcjs.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, _chunkE56LN23Hcjs.PageLayout, { title: view.title, loading, titleSize: "h1", titleWrap: true, backButton: backCfg, children: [
355
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFFEE2ON2cjs.EntityTagBadges, { tags: view.onboarding_guide_tags }),
355
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDBRXZC2Icjs.EntityTagBadges, { tags: view.onboarding_guide_tags }),
356
356
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
357
- _chunkQKXXHOODcjs.EntityAuthorCard,
357
+ _chunkFIKIPO4Fcjs.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
- _chunk3H3CQ7BQcjs.EntityVideoSection,
373
+ _chunkGRNTIKPDcjs.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
- _chunk3H3CQ7BQcjs.VideoBitesStrip,
390
+ _chunkGRNTIKPDcjs.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
- _chunkNX4QOEPJcjs.ArticleAuthorByline,
400
+ _chunkZOK4OWMJcjs.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, _chunk3H3CQ7BQcjs.LoadingFallback, { label: "Loading the guide", children: page }) : page);
413
+ return renderShell(loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGRNTIKPDcjs.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 _chunkFFEE2ON2cjs = require('./chunk-FFEE2ON2.cjs');
4
+ var _chunkDBRXZC2Icjs = require('./chunk-DBRXZC2I.cjs');
5
5
 
6
6
 
7
7
 
8
8
 
9
9
 
10
- var _chunk3H3CQ7BQcjs = require('./chunk-3H3CQ7BQ.cjs');
10
+ var _chunkGRNTIKPDcjs = require('./chunk-GRNTIKPD.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 _chunkQKXXHOODcjs = require('./chunk-QKXXHOOD.cjs');
21
+ var _chunkFIKIPO4Fcjs = require('./chunk-FIKIPO4F.cjs');
22
22
 
23
23
 
24
24
  var _chunkYBTORXFYcjs = require('./chunk-YBTORXFY.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 } = _chunk3H3CQ7BQcjs.resolveSourceIcon.call(void 0, {
45
+ const { Icon: SourceIcon, label: iconLabel } = _chunkGRNTIKPDcjs.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
- _chunkFFEE2ON2cjs.SearchInput,
75
+ _chunkDBRXZC2Icjs.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: `${_chunk3H3CQ7BQcjs.getSourceLabel.call(void 0, entry.repo)} ${_chunk3H3CQ7BQcjs.recordCountLabel.call(void 0, rows.length)}`,
125
+ title: `${_chunkGRNTIKPDcjs.getSourceLabel.call(void 0, entry.repo)} ${_chunkGRNTIKPDcjs.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", _chunkQKXXHOODcjs.NEW_TAB_FEATURES);
317
+ window.open(action.href, "_blank", _chunkFIKIPO4Fcjs.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(_chunkQKXXHOODcjs.stripSameOriginToPath.call(void 0, action.href));
323
+ router.push(_chunkFIKIPO4Fcjs.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
- _chunkQKXXHOODcjs.resolveExternalNavigation.call(void 0, {
330
+ _chunkFIKIPO4Fcjs.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", _chunkQKXXHOODcjs.NEW_TAB_FEATURES);
337
+ window.open(action.href, "_blank", _chunkFIKIPO4Fcjs.NEW_TAB_FEATURES);
338
338
  return;
339
339
  case "ask-ai":
340
340
  setKeepOpen(false);
341
- window.dispatchEvent(new CustomEvent(_chunk3H3CQ7BQcjs.ASK_AI_OPEN_WITH_REF_EVENT, { detail: action.detail }));
341
+ window.dispatchEvent(new CustomEvent(_chunkGRNTIKPDcjs.ASK_AI_OPEN_WITH_REF_EVENT, { detail: action.detail }));
342
342
  return;
343
343
  case "route":
344
344
  setKeepOpen(false);
@@ -1,7 +1,7 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";
2
2
 
3
3
 
4
- var _chunk7MLK7BGFcjs = require('./chunk-7MLK7BGF.cjs');
4
+ var _chunkT5OCU3ELcjs = require('./chunk-T5OCU3EL.cjs');
5
5
 
6
6
 
7
7
 
@@ -118,7 +118,7 @@ function PersistentPaginationWrapper({
118
118
  },
119
119
  "aria-hidden": isPaginationDisabled,
120
120
  children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
121
- _chunk7MLK7BGFcjs.UnifiedPagination,
121
+ _chunkT5OCU3ELcjs.UnifiedPagination,
122
122
  {
123
123
  currentPage: displayCurrentPage,
124
124
  totalPages: displayTotalPages,
@@ -6,7 +6,7 @@ var _chunkBWR5ACK3cjs = require('./chunk-BWR5ACK3.cjs');
6
6
 
7
7
 
8
8
 
9
- var _chunkYMWK7GOCcjs = require('./chunk-YMWK7GOC.cjs');
9
+ var _chunkPPORXZI7cjs = require('./chunk-PPORXZI7.cjs');
10
10
 
11
11
 
12
12
  var _chunkSXGDKNVEcjs = require('./chunk-SXGDKNVE.cjs');
@@ -47,7 +47,7 @@ var _chunk5OG5ZTNMcjs = require('./chunk-5OG5ZTNM.cjs');
47
47
 
48
48
 
49
49
 
50
- var _chunkQKXXHOODcjs = require('./chunk-QKXXHOOD.cjs');
50
+ var _chunkFIKIPO4Fcjs = require('./chunk-FIKIPO4F.cjs');
51
51
 
52
52
 
53
53
  var _chunkYBTORXFYcjs = require('./chunk-YBTORXFY.cjs');
@@ -169,31 +169,31 @@ CveLink.displayName = "CveLink";
169
169
  // src/components/platform/ShellTypeBadge.tsx
170
170
 
171
171
  var shellIconMap = {
172
- [_chunkYMWK7GOCcjs.ShellTypeValues.POWERSHELL]: {
172
+ [_chunkPPORXZI7cjs.ShellTypeValues.POWERSHELL]: {
173
173
  icon: _chunkMCQY746Mcjs.PowershellLogoGreyIcon,
174
174
  props: { size: 16, className: "text-ods-text-secondary" }
175
175
  },
176
- [_chunkYMWK7GOCcjs.ShellTypeValues.CMD]: {
176
+ [_chunkPPORXZI7cjs.ShellTypeValues.CMD]: {
177
177
  icon: _chunkUXUYT4WKcjs.CmdIcon,
178
178
  props: { size: 16, color: "var(--color-text-secondary)" }
179
179
  },
180
- [_chunkYMWK7GOCcjs.ShellTypeValues.BASH]: {
180
+ [_chunkPPORXZI7cjs.ShellTypeValues.BASH]: {
181
181
  icon: _chunk5OG5ZTNMcjs.BashIcon,
182
182
  props: { size: 16, color: "var(--color-text-secondary)" }
183
183
  },
184
- [_chunkYMWK7GOCcjs.ShellTypeValues.PYTHON]: {
184
+ [_chunkPPORXZI7cjs.ShellTypeValues.PYTHON]: {
185
185
  icon: _chunkBF77UKGDcjs.PythonLogoIcon,
186
186
  props: { size: 16, className: "text-ods-text-secondary" }
187
187
  },
188
- [_chunkYMWK7GOCcjs.ShellTypeValues.NUSHELL]: {
188
+ [_chunkPPORXZI7cjs.ShellTypeValues.NUSHELL]: {
189
189
  icon: _chunkG37H4CBTcjs.NushellIcon,
190
190
  props: { size: 16, color: "var(--color-text-secondary)" }
191
191
  },
192
- [_chunkYMWK7GOCcjs.ShellTypeValues.DENO]: {
192
+ [_chunkPPORXZI7cjs.ShellTypeValues.DENO]: {
193
193
  icon: _chunkHUL6SF5Acjs.DenoIcon,
194
194
  props: { size: 16, color: "var(--color-text-secondary)" }
195
195
  },
196
- [_chunkYMWK7GOCcjs.ShellTypeValues.SHELL]: {
196
+ [_chunkPPORXZI7cjs.ShellTypeValues.SHELL]: {
197
197
  icon: _chunk6RMATQNNcjs.ShellIcon,
198
198
  props: { size: 16, color: "var(--color-text-secondary)" }
199
199
  }
@@ -204,7 +204,7 @@ var defaultIconConfig = {
204
204
  };
205
205
  var ShellTypeBadge = ({ shellType, className, iconClassName }) => {
206
206
  const normalizedType = _optionalChain([shellType, 'optionalAccess', _ => _.toUpperCase, 'call', _2 => _2()]);
207
- const label = _chunkYMWK7GOCcjs.getShellLabel.call(void 0, normalizedType);
207
+ const label = _chunkPPORXZI7cjs.getShellLabel.call(void 0, normalizedType);
208
208
  const { icon: IconComponent, props: iconProps } = _nullishCoalesce(shellIconMap[normalizedType], () => ( defaultIconConfig));
209
209
  const defaultIconClassName = "className" in iconProps ? iconProps.className : void 0;
210
210
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk7JWFMAQBcjs.cn.call(void 0, "flex items-center gap-1", className), children: [
@@ -220,7 +220,7 @@ function formatSupportedPlatforms(platforms) {
220
220
  if (!platforms || platforms.length === 0) {
221
221
  return "All Platforms";
222
222
  }
223
- return platforms.map((platform) => _chunkYMWK7GOCcjs.getOSLabel.call(void 0, platform)).join(", ");
223
+ return platforms.map((platform) => _chunkPPORXZI7cjs.getOSLabel.call(void 0, platform)).join(", ");
224
224
  }
225
225
  function InfoCell({ label, value, avatar, className }) {
226
226
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk7JWFMAQBcjs.cn.call(void 0, "flex min-w-0 items-center gap-2", className), children: [
@@ -240,7 +240,7 @@ var ScriptInfoSection = ({
240
240
  author,
241
241
  className
242
242
  }) => {
243
- const shellLabel = _chunkYMWK7GOCcjs.getShellLabel.call(void 0, shellType);
243
+ const shellLabel = _chunkPPORXZI7cjs.getShellLabel.call(void 0, shellType);
244
244
  const platformsLabel = formatSupportedPlatforms(supportedPlatforms);
245
245
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk7JWFMAQBcjs.cn.call(void 0, "overflow-hidden rounded-[6px] border border-ods-border bg-ods-card", className), children: [
246
246
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "border-b border-ods-border p-4", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-1", children: [
@@ -288,7 +288,7 @@ function OnboardingStepCard({
288
288
  onSkip();
289
289
  };
290
290
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
291
- _chunkQKXXHOODcjs.InteractiveCard,
291
+ _chunkFIKIPO4Fcjs.InteractiveCard,
292
292
  {
293
293
  clickable: false,
294
294
  className: _chunk7JWFMAQBcjs.cn.call(void 0,
@@ -443,7 +443,7 @@ function OnboardingWalkthrough({
443
443
  const isAllComplete = allStepsComplete(steps);
444
444
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk7JWFMAQBcjs.cn.call(void 0, "w-full space-y-4", className), children: [
445
445
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col items-start justify-between gap-3 md:flex-row md:items-center md:gap-0", children: [
446
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: _chunkQKXXHOODcjs.SECTION_HEADING_CLASS, children: _chunkQKXXHOODcjs.accentSentenceMarks.call(void 0, title) }),
446
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: _chunkFIKIPO4Fcjs.SECTION_HEADING_CLASS, children: _chunkFIKIPO4Fcjs.accentSentenceMarks.call(void 0, title) }),
447
447
  isLoadingCompletion ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4WIJI4AKcjs.UnifiedSkeleton, { className: "h-[48px] w-full rounded-[6px] md:w-[160px]" }) : isAllComplete ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAHBTZ7DNcjs.Button, { variant: "accent", onClick: handleDismiss, className: "w-full md:w-auto", children: "Close Onboarding" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAHBTZ7DNcjs.Button, { variant: "outline", onClick: handleDismiss, className: "w-full md:w-auto", children: "Skip Onboarding" })
448
448
  ] }),
449
449
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk7JWFMAQBcjs.cn.call(void 0, spacing), children: steps.map((step) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,