@flamingo-stack/openframe-frontend-core 0.0.794 → 0.0.796

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 (75) hide show
  1. package/dist/build/export-map.json +1 -1
  2. package/dist/{chunk-FYHXMHY6.cjs → chunk-6JCTKXHX.cjs} +13 -13
  3. package/dist/{chunk-HXL7AUPG.cjs → chunk-6WXP5IKR.cjs} +16 -16
  4. package/dist/{chunk-6VP5UWZG.cjs → chunk-7SEY3FDF.cjs} +2 -2
  5. package/dist/{chunk-BFCGOHQG.cjs → chunk-7VU4HHUR.cjs} +32 -32
  6. package/dist/{chunk-43ZVXQJK.cjs → chunk-CC7NRWRF.cjs} +48 -48
  7. package/dist/{chunk-72NE4G63.cjs → chunk-CFXCCQ6T.cjs} +2 -2
  8. package/dist/{chunk-RPC4P7GY.cjs → chunk-F64GLU75.cjs} +33 -33
  9. package/dist/{chunk-PQIWR4Q2.cjs → chunk-G24OX7AC.cjs} +16 -16
  10. package/dist/{chunk-7VXMO4XJ.cjs → chunk-GP7NV6BK.cjs} +3 -1
  11. package/dist/{chunk-6TUI5KQS.cjs → chunk-II4A2RUG.cjs} +41 -41
  12. package/dist/{chunk-ZCMXBX4Z.cjs → chunk-IONS6HDF.cjs} +5 -5
  13. package/dist/{chunk-UAZTXYPC.cjs → chunk-JC43ULIC.cjs} +107 -78
  14. package/dist/{chunk-FYPVCCCV.cjs → chunk-JGURZROB.cjs} +27 -27
  15. package/dist/{chunk-FOWQ4XTB.cjs → chunk-N3J4U7ML.cjs} +2 -2
  16. package/dist/{chunk-IJ23KNYI.cjs → chunk-NAJ24ODA.cjs} +4 -4
  17. package/dist/{chunk-F73DM65J.cjs → chunk-NRAH3M66.cjs} +46 -46
  18. package/dist/{chunk-3XAFK4WH.cjs → chunk-OKAHKZP2.cjs} +8 -8
  19. package/dist/{chunk-2KLYMAHF.cjs → chunk-PALMLL5T.cjs} +4 -4
  20. package/dist/{chunk-CLEZ6TWZ.cjs → chunk-QCN46LDL.cjs} +69 -69
  21. package/dist/{chunk-YPKAMHYA.cjs → chunk-QMDXG3VF.cjs} +574 -457
  22. package/dist/{chunk-BIYLAAFI.cjs → chunk-TUD7BV6O.cjs} +9 -9
  23. package/dist/{chunk-OK467OQJ.cjs → chunk-UYOGZJPE.cjs} +4 -4
  24. package/dist/{chunk-IQTVKPRG.cjs → chunk-VUP7ZGZS.cjs} +20 -20
  25. package/dist/{chunk-YYKXX5NA.cjs → chunk-VYXNGADV.cjs} +24 -24
  26. package/dist/{chunk-A6E5ZNQR.cjs → chunk-W4QITOT7.cjs} +5 -5
  27. package/dist/{chunk-NGGEYE5R.cjs → chunk-XFJ7BZDJ.cjs} +5 -5
  28. package/dist/{chunk-U4D4ABXK.cjs → chunk-XVVQJXOA.cjs} +39 -39
  29. package/dist/{chunk-QDW64E6T.cjs → chunk-Y3IMXLLL.cjs} +143 -143
  30. package/dist/{chunk-NIW4ETGC.cjs → chunk-YFHKBIZT.cjs} +6 -6
  31. package/dist/{chunk-KQPU5N7T.cjs → chunk-ZMWSN2BD.cjs} +11 -11
  32. package/dist/{chunk-ZIMPE7D5.cjs → chunk-ZRME3A2D.cjs} +3 -3
  33. package/dist/{cloud-tenants-Z3AYAXF5.cjs → cloud-tenants-BQUWLMYY.cjs} +12 -12
  34. package/dist/components/case-studies/index.cjs +26 -26
  35. package/dist/components/chat/index.cjs +9 -9
  36. package/dist/components/contact/index.cjs +13 -13
  37. package/dist/components/docs/index.cjs +16 -16
  38. package/dist/components/embeds/index.cjs +13 -13
  39. package/dist/components/faq/index.cjs +14 -14
  40. package/dist/components/features/index.cjs +12 -12
  41. package/dist/components/help-center-pages/index.cjs +98 -98
  42. package/dist/components/index.cjs +82 -68
  43. package/dist/components/meeting-scheduler/index.cjs +72 -72
  44. package/dist/components/navigation/index.cjs +15 -15
  45. package/dist/components/onboarding-guides/index.cjs +15 -15
  46. package/dist/components/product-demo/index.cjs +23 -23
  47. package/dist/components/related-content/index.cjs +7 -7
  48. package/dist/components/shared/roadmap/roadmap-grid.d.ts +6 -1
  49. package/dist/components/shared/roadmap/roadmap-grid.d.ts.map +1 -1
  50. package/dist/components/shared/roadmap/roadmap-grid.js +37 -8
  51. package/dist/components/tickets/index.cjs +19 -19
  52. package/dist/components/ui/floating-tooltip.d.ts.map +1 -1
  53. package/dist/components/ui/floating-tooltip.js +3 -1
  54. package/dist/components/ui/index.cjs +26 -12
  55. package/dist/components/ui/index.d.ts +1 -0
  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/trendline.d.ts +60 -0
  59. package/dist/components/ui/trendline.d.ts.map +1 -0
  60. package/dist/components/ui/trendline.js +121 -0
  61. package/dist/{devices-P6XQL23S.cjs → devices-BFQOLI3D.cjs} +13 -13
  62. package/dist/{embeddable-chat-6BNLOSBB.cjs → embeddable-chat-INYF23ST.cjs} +74 -74
  63. package/dist/index.cjs +31 -17
  64. package/dist/{knowledge-IU5ORU7U.cjs → knowledge-GGYWTYTP.cjs} +13 -13
  65. package/dist/{logs-DCFTQVKA.cjs → logs-NO55PTIO.cjs} +20 -20
  66. package/dist/{policies-ESC6XCVH.cjs → policies-AAFYTVOJ.cjs} +16 -16
  67. package/dist/{remote-session-4ZNTOLOQ.cjs → remote-session-2CNWLF3P.cjs} +7 -7
  68. package/dist/{scripts-24PIP2VO.cjs → scripts-H4ECJ65X.cjs} +19 -19
  69. package/dist/{software-update-47GDTKMI.cjs → software-update-NEEGQBK3.cjs} +16 -16
  70. package/dist/{tickets-board-X4GHEKPB.cjs → tickets-board-CXYRAMDL.cjs} +8 -8
  71. package/package.json +1 -1
  72. package/src/components/shared/roadmap/roadmap-grid.tsx +38 -9
  73. package/src/components/ui/floating-tooltip.tsx +4 -1
  74. package/src/components/ui/index.ts +1 -0
  75. package/src/components/ui/trendline.tsx +221 -0
@@ -5,12 +5,12 @@ var _chunkCWA6J7KCcjs = require('./chunk-CWA6J7KC.cjs');
5
5
 
6
6
 
7
7
 
8
- var _chunkF73DM65Jcjs = require('./chunk-F73DM65J.cjs');
8
+ var _chunkNRAH3M66cjs = require('./chunk-NRAH3M66.cjs');
9
9
 
10
10
 
11
11
 
12
12
 
13
- var _chunkQDW64E6Tcjs = require('./chunk-QDW64E6T.cjs');
13
+ var _chunkY3IMXLLLcjs = require('./chunk-Y3IMXLLL.cjs');
14
14
 
15
15
 
16
16
 
@@ -25,10 +25,10 @@ var _chunkEWPR7662cjs = require('./chunk-EWPR7662.cjs');
25
25
 
26
26
 
27
27
 
28
- var _chunk3XAFK4WHcjs = require('./chunk-3XAFK4WH.cjs');
28
+ var _chunkOKAHKZP2cjs = require('./chunk-OKAHKZP2.cjs');
29
29
 
30
30
 
31
- var _chunkFYPVCCCVcjs = require('./chunk-FYPVCCCV.cjs');
31
+ var _chunkJGURZROBcjs = require('./chunk-JGURZROB.cjs');
32
32
 
33
33
 
34
34
  var _chunk7PNRXJX2cjs = require('./chunk-7PNRXJX2.cjs');
@@ -74,7 +74,7 @@ function FaqAccordion({ items, defaultOpenIds = [], loading: loadingProp, skelet
74
74
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
75
75
  "div",
76
76
  {
77
- id: _chunkQDW64E6Tcjs.faqItemAnchor.call(void 0, item.id),
77
+ id: _chunkY3IMXLLLcjs.faqItemAnchor.call(void 0, item.id),
78
78
  className: _chunk6YZNUHXTcjs.cn.call(void 0, ROW_FRAME_CLASS, "hover:bg-ods-bg-hover"),
79
79
  "data-loading-item": true,
80
80
  children: [
@@ -140,14 +140,14 @@ function FaqAccordionSkeleton({
140
140
 
141
141
  var PICK_ROOT_MARGIN = "600px";
142
142
  function faqAskCardShown(assistant) {
143
- return _chunkF73DM65Jcjs.assistantAvailable.call(void 0, assistant) && !!assistant.name;
143
+ return _chunkNRAH3M66cjs.assistantAvailable.call(void 0, assistant) && !!assistant.name;
144
144
  }
145
145
  function FaqAskCard({ topic, exclude, count, title, description, onOpen }) {
146
146
  const { ref, inView } = _chunkOJZBZH56cjs.useInView.call(void 0, { rootMargin: PICK_ROOT_MARGIN });
147
147
  const [reached, setReached] = _react.useState.call(void 0, false);
148
148
  if (inView && !reached) setReached(true);
149
149
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
150
- _chunkF73DM65Jcjs.AssistantAskPrompts,
150
+ _chunkNRAH3M66cjs.AssistantAskPrompts,
151
151
  {
152
152
  variant: "card",
153
153
  topic,
@@ -207,7 +207,7 @@ var CATEGORY_NAV_SKELETON_LINE_CLASS = "flex min-w-0 flex-nowrap gap-2 overflow-
207
207
  var FAQ_NAV_SKELETON_PILLS = 8;
208
208
  var CATEGORY_PILL_CLASS = "rounded-full border px-4 py-2 transition-colors text-h6";
209
209
  var CATEGORY_SECTION_CLASS = "scroll-mt-24";
210
- var CATEGORY_HEADING_CLASS = _chunk6YZNUHXTcjs.cn.call(void 0, _chunkFYPVCCCVcjs.SECTION_HEADING_CLASS, "pb-4");
210
+ var CATEGORY_HEADING_CLASS = _chunk6YZNUHXTcjs.cn.call(void 0, _chunkJGURZROBcjs.SECTION_HEADING_CLASS, "pb-4");
211
211
  var FAQ_SECTION_SKELETON_QUESTIONS = FAQ_ACCORDION_SKELETON_ROWS;
212
212
  function FaqLayout({
213
213
  heading,
@@ -233,7 +233,7 @@ function FaqLayout({
233
233
  ] });
234
234
  }
235
235
  function faqHeadingNode(heading, showTopic, topic) {
236
- const titleNode = heading === void 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: _chunkFYPVCCCVcjs.SECTION_HEADING_CLASS, children: DEFAULT_HEADING_TEXT }) : heading;
236
+ const titleNode = heading === void 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: _chunkJGURZROBcjs.SECTION_HEADING_CLASS, children: DEFAULT_HEADING_TEXT }) : heading;
237
237
  if (!(showTopic && topic)) return titleNode;
238
238
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: TOPIC_STACK_CLASS, children: [
239
239
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { children: titleNode }),
@@ -247,7 +247,7 @@ function pageFaqProps(faq) {
247
247
  }
248
248
  function buildFaqsUrl(entityType, entityId, minResults, apiBaseUrl = "", topic) {
249
249
  const entityScoped = !!entityType && entityId !== void 0 && entityId !== null && entityId !== "";
250
- return _chunk3XAFK4WHcjs.buildSuggestionUrl.call(void 0, "/api/faqs", {
250
+ return _chunkOKAHKZP2cjs.buildSuggestionUrl.call(void 0, "/api/faqs", {
251
251
  apiBaseUrl,
252
252
  entityType,
253
253
  entityId,
@@ -268,7 +268,7 @@ function groupFaqsBySection(faqs) {
268
268
  }
269
269
  let group = byName.get(name);
270
270
  if (!group) {
271
- group = { section: name, slug: _chunkQDW64E6Tcjs.faqSectionSlug.call(void 0, name), items: [] };
271
+ group = { section: name, slug: _chunkY3IMXLLLcjs.faqSectionSlug.call(void 0, name), items: [] };
272
272
  byName.set(name, group);
273
273
  }
274
274
  group.items.push(item);
@@ -324,7 +324,7 @@ function GroupedFaqList({
324
324
  }, [slugKey]);
325
325
  const [hashTarget, setHashTarget] = _react.useState.call(void 0, null);
326
326
  _react.useEffect.call(void 0, () => {
327
- const refresh = () => setHashTarget(_chunkQDW64E6Tcjs.parseFaqHash.call(void 0, window.location.hash));
327
+ const refresh = () => setHashTarget(_chunkY3IMXLLLcjs.parseFaqHash.call(void 0, window.location.hash));
328
328
  refresh();
329
329
  window.addEventListener("hashchange", refresh);
330
330
  return () => window.removeEventListener("hashchange", refresh);
@@ -425,7 +425,7 @@ function FaqSection({
425
425
  () => initialFaqs ? { faqs: initialFaqs } : void 0,
426
426
  [initialFaqs]
427
427
  );
428
- const { data, dataUrl, isLoading, error } = _chunk3XAFK4WHcjs.useSelfFetch.call(void 0, inScope ? null : url, { initialData });
428
+ const { data, dataUrl, isLoading, error } = _chunkOKAHKZP2cjs.useSelfFetch.call(void 0, inScope ? null : url, { initialData });
429
429
  const held = dataUrl === url ? _optionalChain([data, 'optionalAccess', _14 => _14.faqs]) : void 0;
430
430
  const faqs = _react.useMemo.call(void 0, () => _nullishCoalesce(held, () => ( [])), [held]);
431
431
  const groups = _react.useMemo.call(void 0, () => faqs.length > 0 ? groupFaqsBySection(faqs) : [], [faqs]);
@@ -6,7 +6,7 @@ var _chunkCWA6J7KCcjs = require('./chunk-CWA6J7KC.cjs');
6
6
 
7
7
 
8
8
 
9
- var _chunkF73DM65Jcjs = require('./chunk-F73DM65J.cjs');
9
+ var _chunkNRAH3M66cjs = require('./chunk-NRAH3M66.cjs');
10
10
 
11
11
 
12
12
  var _chunkSXGDKNVEcjs = require('./chunk-SXGDKNVE.cjs');
@@ -47,13 +47,13 @@ var _chunk5OG5ZTNMcjs = require('./chunk-5OG5ZTNM.cjs');
47
47
 
48
48
 
49
49
 
50
- var _chunkFYPVCCCVcjs = require('./chunk-FYPVCCCV.cjs');
50
+ var _chunkJGURZROBcjs = require('./chunk-JGURZROB.cjs');
51
51
 
52
52
 
53
53
  var _chunkUN6LC5PKcjs = require('./chunk-UN6LC5PK.cjs');
54
54
 
55
55
 
56
- var _chunk7VXMO4XJcjs = require('./chunk-7VXMO4XJ.cjs');
56
+ var _chunkGP7NV6BKcjs = require('./chunk-GP7NV6BK.cjs');
57
57
 
58
58
 
59
59
  var _chunkDRWPSN3Acjs = require('./chunk-DRWPSN3A.cjs');
@@ -169,31 +169,31 @@ CveLink.displayName = "CveLink";
169
169
  // src/components/platform/ShellTypeBadge.tsx
170
170
 
171
171
  var shellIconMap = {
172
- [_chunkF73DM65Jcjs.ShellTypeValues.POWERSHELL]: {
172
+ [_chunkNRAH3M66cjs.ShellTypeValues.POWERSHELL]: {
173
173
  icon: _chunkMCQY746Mcjs.PowershellLogoGreyIcon,
174
174
  props: { size: 16, className: "text-ods-text-secondary" }
175
175
  },
176
- [_chunkF73DM65Jcjs.ShellTypeValues.CMD]: {
176
+ [_chunkNRAH3M66cjs.ShellTypeValues.CMD]: {
177
177
  icon: _chunkUXUYT4WKcjs.CmdIcon,
178
178
  props: { size: 16, color: "var(--color-text-secondary)" }
179
179
  },
180
- [_chunkF73DM65Jcjs.ShellTypeValues.BASH]: {
180
+ [_chunkNRAH3M66cjs.ShellTypeValues.BASH]: {
181
181
  icon: _chunk5OG5ZTNMcjs.BashIcon,
182
182
  props: { size: 16, color: "var(--color-text-secondary)" }
183
183
  },
184
- [_chunkF73DM65Jcjs.ShellTypeValues.PYTHON]: {
184
+ [_chunkNRAH3M66cjs.ShellTypeValues.PYTHON]: {
185
185
  icon: _chunkBF77UKGDcjs.PythonLogoIcon,
186
186
  props: { size: 16, className: "text-ods-text-secondary" }
187
187
  },
188
- [_chunkF73DM65Jcjs.ShellTypeValues.NUSHELL]: {
188
+ [_chunkNRAH3M66cjs.ShellTypeValues.NUSHELL]: {
189
189
  icon: _chunkG37H4CBTcjs.NushellIcon,
190
190
  props: { size: 16, color: "var(--color-text-secondary)" }
191
191
  },
192
- [_chunkF73DM65Jcjs.ShellTypeValues.DENO]: {
192
+ [_chunkNRAH3M66cjs.ShellTypeValues.DENO]: {
193
193
  icon: _chunkHUL6SF5Acjs.DenoIcon,
194
194
  props: { size: 16, color: "var(--color-text-secondary)" }
195
195
  },
196
- [_chunkF73DM65Jcjs.ShellTypeValues.SHELL]: {
196
+ [_chunkNRAH3M66cjs.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 = _chunkF73DM65Jcjs.getShellLabel.call(void 0, normalizedType);
207
+ const label = _chunkNRAH3M66cjs.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: _chunk6YZNUHXTcjs.cn.call(void 0, "flex items-center gap-1", className), children: [
@@ -220,11 +220,11 @@ function formatSupportedPlatforms(platforms) {
220
220
  if (!platforms || platforms.length === 0) {
221
221
  return "All Platforms";
222
222
  }
223
- return platforms.map((platform) => _chunkF73DM65Jcjs.getOSLabel.call(void 0, platform)).join(", ");
223
+ return platforms.map((platform) => _chunkNRAH3M66cjs.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: _chunk6YZNUHXTcjs.cn.call(void 0, "flex min-w-0 items-center gap-2", className), children: [
227
- avatar && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "relative size-8 shrink-0 overflow-hidden rounded-full border border-ods-border bg-ods-bg", children: avatar.photoUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDRWPSN3Acjs.next_image_default, { src: avatar.photoUrl, alt: avatar.name, className: "object-cover", fill: true, sizes: "32px", unoptimized: true }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex size-full items-center justify-center text-ods-text-secondary text-h6", children: avatar.initials || _chunk7VXMO4XJcjs.nameInitials.call(void 0, avatar.name) }) }),
227
+ avatar && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "relative size-8 shrink-0 overflow-hidden rounded-full border border-ods-border bg-ods-bg", children: avatar.photoUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDRWPSN3Acjs.next_image_default, { src: avatar.photoUrl, alt: avatar.name, className: "object-cover", fill: true, sizes: "32px", unoptimized: true }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex size-full items-center justify-center text-ods-text-secondary text-h6", children: avatar.initials || _chunkGP7NV6BKcjs.nameInitials.call(void 0, avatar.name) }) }),
228
228
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col", children: [
229
229
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-primary text-h4", title: value, children: value }),
230
230
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-secondary text-h6", children: label })
@@ -240,7 +240,7 @@ var ScriptInfoSection = ({
240
240
  author,
241
241
  className
242
242
  }) => {
243
- const shellLabel = _chunkF73DM65Jcjs.getShellLabel.call(void 0, shellType);
243
+ const shellLabel = _chunkNRAH3M66cjs.getShellLabel.call(void 0, shellType);
244
244
  const platformsLabel = formatSupportedPlatforms(supportedPlatforms);
245
245
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk6YZNUHXTcjs.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
- _chunkFYPVCCCVcjs.InteractiveCard,
291
+ _chunkJGURZROBcjs.InteractiveCard,
292
292
  {
293
293
  clickable: false,
294
294
  className: _chunk6YZNUHXTcjs.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: _chunk6YZNUHXTcjs.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: _chunkFYPVCCCVcjs.SECTION_HEADING_CLASS, children: _chunkFYPVCCCVcjs.accentSentenceMarks.call(void 0, title) }),
446
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: _chunkJGURZROBcjs.SECTION_HEADING_CLASS, children: _chunkJGURZROBcjs.accentSentenceMarks.call(void 0, title) }),
447
447
  isLoadingCompletion ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAT4C2YMAcjs.UnifiedSkeleton, { className: "h-[48px] w-full rounded-[6px] md:w-[160px]" }) : isAllComplete ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkK7I3YYYUcjs.Button, { variant: "accent", onClick: handleDismiss, className: "w-full md:w-auto", children: "Close Onboarding" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkK7I3YYYUcjs.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: _chunk6YZNUHXTcjs.cn.call(void 0, spacing), children: steps.map((step) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -1,7 +1,7 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";
2
2
 
3
3
 
4
- var _chunkFYPVCCCVcjs = require('./chunk-FYPVCCCV.cjs');
4
+ var _chunkJGURZROBcjs = require('./chunk-JGURZROB.cjs');
5
5
 
6
6
 
7
7
  var _chunkAT4C2YMAcjs = require('./chunk-AT4C2YMA.cjs');
@@ -49,7 +49,7 @@ function PaginationControl({
49
49
  );
50
50
  }
51
51
  const handleClick = (event) => {
52
- if (_chunkFYPVCCCVcjs.isModifierClick.call(void 0, event)) return;
52
+ if (_chunkJGURZROBcjs.isModifierClick.call(void 0, event)) return;
53
53
  event.preventDefault();
54
54
  onPageChange(page);
55
55
  };
@@ -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 _chunkNGGEYE5Rcjs = require('./chunk-NGGEYE5R.cjs');
4
+ var _chunkXFJ7BZDJcjs = require('./chunk-XFJ7BZDJ.cjs');
5
5
 
6
6
 
7
7
 
8
- var _chunkKQPU5N7Tcjs = require('./chunk-KQPU5N7T.cjs');
8
+ var _chunkZMWSN2BDcjs = require('./chunk-ZMWSN2BD.cjs');
9
9
 
10
10
 
11
11
 
12
12
 
13
13
 
14
14
 
15
- var _chunkYPKAMHYAcjs = require('./chunk-YPKAMHYA.cjs');
15
+ var _chunkQMDXG3VFcjs = require('./chunk-QMDXG3VF.cjs');
16
16
 
17
17
 
18
- var _chunkRPC4P7GYcjs = require('./chunk-RPC4P7GY.cjs');
18
+ var _chunkF64GLU75cjs = require('./chunk-F64GLU75.cjs');
19
19
 
20
20
 
21
- var _chunkF73DM65Jcjs = require('./chunk-F73DM65J.cjs');
21
+ var _chunkNRAH3M66cjs = require('./chunk-NRAH3M66.cjs');
22
22
 
23
23
 
24
24
 
25
25
 
26
26
 
27
- var _chunkQDW64E6Tcjs = require('./chunk-QDW64E6T.cjs');
27
+ var _chunkY3IMXLLLcjs = require('./chunk-Y3IMXLLL.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 _chunk3XAFK4WHcjs = require('./chunk-3XAFK4WH.cjs');
37
+ var _chunkOKAHKZP2cjs = require('./chunk-OKAHKZP2.cjs');
38
38
 
39
39
 
40
40
 
41
- var _chunkFYPVCCCVcjs = require('./chunk-FYPVCCCV.cjs');
41
+ var _chunkJGURZROBcjs = require('./chunk-JGURZROB.cjs');
42
42
 
43
43
 
44
44
  var _chunkUN6LC5PKcjs = require('./chunk-UN6LC5PK.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, _chunkFYPVCCCVcjs.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, _chunkJGURZROBcjs.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 = _chunk3XAFK4WHcjs.useSelfFetch.call(void 0,
99
+ const guidesRes = _chunkOKAHKZP2cjs.useSelfFetch.call(void 0,
100
100
  selfFetch && guidesEndpoint ? `${guidesEndpoint}${guidesQs}` : null
101
101
  );
102
- const sectionsRes = _chunk3XAFK4WHcjs.useSelfFetch.call(void 0, selfFetch && sectionsEndpoint ? sectionsEndpoint : null);
102
+ const sectionsRes = _chunkOKAHKZP2cjs.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 = _chunkKQPU5N7Tcjs.useDocSearch.call(void 0, {
146
+ const docSearch = _chunkZMWSN2BDcjs.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 = _chunkF73DM65Jcjs.resolveContentHref.call(void 0, _optionalChain([runtime, 'optionalAccess', _7 => _7.composeContentUrl]), {
153
+ const cta = _chunkNRAH3M66cjs.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, _chunkFYPVCCCVcjs.OnboardingGuideCard, { guide, href: cta.href, targetPlatform: cta.targetPlatform, size: "catalog" });
159
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkJGURZROBcjs.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
- _chunkKQPU5N7Tcjs.DocSearchBar,
164
+ _chunkZMWSN2BDcjs.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
- _chunkYPKAMHYAcjs.FilterPillRow,
176
+ _chunkQMDXG3VFcjs.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, _chunkYPKAMHYAcjs.LoadError, { message: "Failed to load onboarding guides.", onRetry: guidesRes.reload });
187
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQMDXG3VFcjs.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, _chunkQDW64E6Tcjs.LoadingFallback, { label: "Loading onboarding guides", children: view });
203
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkY3IMXLLLcjs.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 = _chunkYPKAMHYAcjs.RichMarkdownRenderer,
307
+ MarkdownRenderer = _chunkQMDXG3VFcjs.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 = _chunkQDW64E6Tcjs.useCaptions.call(void 0, );
317
+ const captions = _chunkY3IMXLLLcjs.useCaptions.call(void 0, );
318
318
  const router = _chunk7DNL734Scjs.useRouter.call(void 0, );
319
- const renderShell = (node) => shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYPKAMHYAcjs.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, _chunkQMDXG3VFcjs.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
- } = _chunk3XAFK4WHcjs.useSelfFetch.call(void 0, scoped ? null : url, {
327
+ } = _chunkOKAHKZP2cjs.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, _chunkYPKAMHYAcjs.LoadError, { message: "Guide not found.", onRetry: reload }));
337
+ return renderShell(/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQMDXG3VFcjs.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 = _chunkF73DM65Jcjs.resolveContentHref.call(void 0, _optionalChain([runtime, 'optionalAccess', _12 => _12.composeContentUrl]), {
345
+ const cta = _chunkNRAH3M66cjs.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, _chunkFYPVCCCVcjs.OnboardingGuideCard, { guide: g, href: cta.href, targetPlatform: cta.targetPlatform });
351
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkJGURZROBcjs.OnboardingGuideCard, { guide: g, href: cta.href, targetPlatform: cta.targetPlatform });
352
352
  };
353
353
  const renderRelatedCardFn = _nullishCoalesce(renderRelatedCard, () => ( defaultRenderRelatedCard));
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, _chunkYPKAMHYAcjs.EntityTagBadges, { tags: view.onboarding_guide_tags }),
354
+ const page = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkF64GLU75cjs.PageLayout, { title: view.title, loading, titleSize: "h1", titleWrap: true, backButton: backCfg, children: [
355
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQMDXG3VFcjs.EntityTagBadges, { tags: view.onboarding_guide_tags }),
356
356
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
357
- _chunkFYPVCCCVcjs.EntityAuthorCard,
357
+ _chunkJGURZROBcjs.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
- _chunkQDW64E6Tcjs.EntityVideoSection,
373
+ _chunkY3IMXLLLcjs.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
- _chunkQDW64E6Tcjs.VideoBitesStrip,
390
+ _chunkY3IMXLLLcjs.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
- _chunkNGGEYE5Rcjs.ArticleAuthorByline,
400
+ _chunkXFJ7BZDJcjs.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, _chunkQDW64E6Tcjs.LoadingFallback, { label: "Loading the guide", children: page }) : page);
413
+ return renderShell(loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkY3IMXLLLcjs.LoadingFallback, { label: "Loading the guide", children: page }) : page);
414
414
  }
415
415
 
416
416
  // src/components/onboarding-guides/hooks/use-onboarding-guides.ts