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

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 (60) hide show
  1. package/dist/{chunk-HB7FVY46.cjs → chunk-3C6JR5Z5.cjs} +32 -32
  2. package/dist/{chunk-UFCKY7OL.cjs → chunk-5LTKE6D3.cjs} +16 -16
  3. package/dist/{chunk-CS2KLF4O.cjs → chunk-5PDOKPBF.cjs} +13 -13
  4. package/dist/{chunk-IJGIWG6G.cjs → chunk-CDLOQCJC.cjs} +4 -4
  5. package/dist/{chunk-6CB3AXZM.cjs → chunk-CM2UGR4I.cjs} +30 -30
  6. package/dist/{chunk-2KEBGXA4.cjs → chunk-DUSCG2EO.cjs} +4 -4
  7. package/dist/{chunk-FIKIPO4F.cjs → chunk-FAUVDMH4.cjs} +1 -1
  8. package/dist/{chunk-PPORXZI7.cjs → chunk-FCT7VKWG.cjs} +25 -25
  9. package/dist/{chunk-SDV335EO.cjs → chunk-FFRFKWTZ.cjs} +4 -4
  10. package/dist/{chunk-XJD7IZR2.cjs → chunk-FS4TVAE7.cjs} +48 -48
  11. package/dist/{chunk-BSBCZIPQ.cjs → chunk-IX2D26OR.cjs} +39 -39
  12. package/dist/{chunk-TETW5NR4.cjs → chunk-KH5DRO4V.cjs} +3 -3
  13. package/dist/{chunk-AVAE5B2A.cjs → chunk-KVGWOJCX.cjs} +2 -2
  14. package/dist/{chunk-B3X4J4HQ.cjs → chunk-LTOSJI6B.cjs} +14 -14
  15. package/dist/{chunk-GRNTIKPD.cjs → chunk-OEEFUB25.cjs} +53 -38
  16. package/dist/{chunk-6EDOASF4.cjs → chunk-OGUBSDU5.cjs} +11 -11
  17. package/dist/{chunk-3MRK7X6Z.cjs → chunk-OUKKLSME.cjs} +3 -3
  18. package/dist/{chunk-PO5IIN4S.cjs → chunk-PQNRSUQ6.cjs} +11 -11
  19. package/dist/{chunk-DBRXZC2I.cjs → chunk-PZVBTLLQ.cjs} +136 -129
  20. package/dist/{chunk-247LDSQE.cjs → chunk-S7CBD6KF.cjs} +61 -61
  21. package/dist/{chunk-O6KQ64RI.cjs → chunk-UYGXJ5SQ.cjs} +2 -2
  22. package/dist/{chunk-4RK62AMV.cjs → chunk-WWWCFNKI.cjs} +68 -68
  23. package/dist/{chunk-FDDM5Z52.cjs → chunk-XAJPXPQ6.cjs} +2 -2
  24. package/dist/{chunk-ZOK4OWMJ.cjs → chunk-Y5XHMEBB.cjs} +2 -2
  25. package/dist/{chunk-T5OCU3EL.cjs → chunk-ZPVFFPQM.cjs} +4 -4
  26. package/dist/{cloud-tenants-BQAVRN44.cjs → cloud-tenants-S3BDIJHM.cjs} +6 -6
  27. package/dist/components/case-studies/index.cjs +20 -20
  28. package/dist/components/chat/index.cjs +5 -5
  29. package/dist/components/contact/index.cjs +7 -7
  30. package/dist/components/docs/index.cjs +10 -10
  31. package/dist/components/embeds/index.cjs +7 -7
  32. package/dist/components/faq/index.cjs +8 -8
  33. package/dist/components/features/index.cjs +6 -6
  34. package/dist/components/help-center-pages/index.cjs +82 -82
  35. package/dist/components/index.cjs +52 -52
  36. package/dist/components/layout/page-heading.js +1 -1
  37. package/dist/components/meeting-scheduler/index.cjs +38 -38
  38. package/dist/components/navigation/index.cjs +9 -9
  39. package/dist/components/onboarding-guides/index.cjs +9 -9
  40. package/dist/components/product-demo/index.cjs +15 -15
  41. package/dist/components/related-content/index.cjs +5 -5
  42. package/dist/components/tickets/index.cjs +13 -13
  43. package/dist/components/ui/fade-preview.d.ts.map +1 -1
  44. package/dist/components/ui/fade-preview.js +9 -2
  45. package/dist/components/ui/index.cjs +6 -6
  46. package/dist/{devices-KDT5ZGSG.cjs → devices-C6OOVBJK.cjs} +7 -7
  47. package/dist/{embeddable-chat-ODKTSW3C.cjs → embeddable-chat-2EBDLEVA.cjs} +62 -62
  48. package/dist/index.cjs +10 -10
  49. package/dist/{knowledge-4NLP77HP.cjs → knowledge-YA5SFLQP.cjs} +7 -7
  50. package/dist/{logs-U6VMTY4N.cjs → logs-LQX2CNVB.cjs} +14 -14
  51. package/dist/{policies-TBLFBRFM.cjs → policies-LWAUO6NR.cjs} +10 -10
  52. package/dist/{scripts-ZMNJWX7I.cjs → scripts-W46RQ64X.cjs} +11 -11
  53. package/dist/{software-update-Q5AEQ4A4.cjs → software-update-OVR26DUF.cjs} +9 -9
  54. package/dist/utils/index.cjs +16 -1
  55. package/dist/utils/markdown-to-plain.d.ts.map +1 -1
  56. package/dist/utils/markdown-to-plain.js +16 -1
  57. package/package.json +1 -1
  58. package/src/components/layout/page-heading.tsx +3 -1
  59. package/src/components/ui/fade-preview.tsx +13 -2
  60. package/src/utils/markdown-to-plain.ts +23 -4
@@ -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 _chunkZOK4OWMJcjs = require('./chunk-ZOK4OWMJ.cjs');
4
+ var _chunkY5XHMEBBcjs = require('./chunk-Y5XHMEBB.cjs');
5
5
 
6
6
 
7
7
 
8
- var _chunk6EDOASF4cjs = require('./chunk-6EDOASF4.cjs');
8
+ var _chunkOGUBSDU5cjs = require('./chunk-OGUBSDU5.cjs');
9
9
 
10
10
 
11
11
 
12
12
 
13
13
 
14
14
 
15
- var _chunkDBRXZC2Icjs = require('./chunk-DBRXZC2I.cjs');
15
+ var _chunkPZVBTLLQcjs = require('./chunk-PZVBTLLQ.cjs');
16
16
 
17
17
 
18
18
  var _chunkE56LN23Hcjs = require('./chunk-E56LN23H.cjs');
19
19
 
20
20
 
21
- var _chunkPPORXZI7cjs = require('./chunk-PPORXZI7.cjs');
21
+ var _chunkFCT7VKWGcjs = require('./chunk-FCT7VKWG.cjs');
22
22
 
23
23
 
24
24
 
25
25
 
26
26
 
27
- var _chunkGRNTIKPDcjs = require('./chunk-GRNTIKPD.cjs');
27
+ var _chunkOEEFUB25cjs = require('./chunk-OEEFUB25.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 _chunkSDV335EOcjs = require('./chunk-SDV335EO.cjs');
37
+ var _chunkFFRFKWTZcjs = require('./chunk-FFRFKWTZ.cjs');
38
38
 
39
39
 
40
40
 
41
- var _chunkFIKIPO4Fcjs = require('./chunk-FIKIPO4F.cjs');
41
+ var _chunkFAUVDMH4cjs = require('./chunk-FAUVDMH4.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, _chunkFIKIPO4Fcjs.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, _chunkFAUVDMH4cjs.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 = _chunkSDV335EOcjs.useSelfFetch.call(void 0,
99
+ const guidesRes = _chunkFFRFKWTZcjs.useSelfFetch.call(void 0,
100
100
  selfFetch && guidesEndpoint ? `${guidesEndpoint}${guidesQs}` : null
101
101
  );
102
- const sectionsRes = _chunkSDV335EOcjs.useSelfFetch.call(void 0, selfFetch && sectionsEndpoint ? sectionsEndpoint : null);
102
+ const sectionsRes = _chunkFFRFKWTZcjs.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 = _chunk6EDOASF4cjs.useDocSearch.call(void 0, {
146
+ const docSearch = _chunkOGUBSDU5cjs.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 = _chunkPPORXZI7cjs.resolveContentHref.call(void 0, _optionalChain([runtime, 'optionalAccess', _7 => _7.composeContentUrl]), {
153
+ const cta = _chunkFCT7VKWGcjs.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, _chunkFIKIPO4Fcjs.OnboardingGuideCard, { guide, href: cta.href, targetPlatform: cta.targetPlatform, size: "catalog" });
159
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFAUVDMH4cjs.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
- _chunk6EDOASF4cjs.DocSearchBar,
164
+ _chunkOGUBSDU5cjs.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
- _chunkDBRXZC2Icjs.FilterPillRow,
176
+ _chunkPZVBTLLQcjs.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, _chunkDBRXZC2Icjs.LoadError, { message: "Failed to load onboarding guides.", onRetry: guidesRes.reload });
187
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPZVBTLLQcjs.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, _chunkGRNTIKPDcjs.LoadingFallback, { label: "Loading onboarding guides", children: view });
203
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOEEFUB25cjs.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 = _chunkDBRXZC2Icjs.RichMarkdownRenderer,
307
+ MarkdownRenderer = _chunkPZVBTLLQcjs.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 = _chunkGRNTIKPDcjs.useCaptions.call(void 0, );
317
+ const captions = _chunkOEEFUB25cjs.useCaptions.call(void 0, );
318
318
  const router = _chunk7DNL734Scjs.useRouter.call(void 0, );
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 });
319
+ const renderShell = (node) => shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPZVBTLLQcjs.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
- } = _chunkSDV335EOcjs.useSelfFetch.call(void 0, scoped ? null : url, {
327
+ } = _chunkFFRFKWTZcjs.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, _chunkDBRXZC2Icjs.LoadError, { message: "Guide not found.", onRetry: reload }));
337
+ return renderShell(/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPZVBTLLQcjs.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 = _chunkPPORXZI7cjs.resolveContentHref.call(void 0, _optionalChain([runtime, 'optionalAccess', _12 => _12.composeContentUrl]), {
345
+ const cta = _chunkFCT7VKWGcjs.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, _chunkFIKIPO4Fcjs.OnboardingGuideCard, { guide: g, href: cta.href, targetPlatform: cta.targetPlatform });
351
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFAUVDMH4cjs.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, _chunkDBRXZC2Icjs.EntityTagBadges, { tags: view.onboarding_guide_tags }),
355
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPZVBTLLQcjs.EntityTagBadges, { tags: view.onboarding_guide_tags }),
356
356
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
357
- _chunkFIKIPO4Fcjs.EntityAuthorCard,
357
+ _chunkFAUVDMH4cjs.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
- _chunkGRNTIKPDcjs.EntityVideoSection,
373
+ _chunkOEEFUB25cjs.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
- _chunkGRNTIKPDcjs.VideoBitesStrip,
390
+ _chunkOEEFUB25cjs.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
- _chunkZOK4OWMJcjs.ArticleAuthorByline,
400
+ _chunkY5XHMEBBcjs.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, _chunkGRNTIKPDcjs.LoadingFallback, { label: "Loading the guide", children: page }) : page);
413
+ return renderShell(loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOEEFUB25cjs.LoadingFallback, { label: "Loading the guide", children: page }) : page);
414
414
  }
415
415
 
416
416
  // src/components/onboarding-guides/hooks/use-onboarding-guides.ts
@@ -1,10 +1,10 @@
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 _chunkCS2KLF4Ocjs = require('./chunk-CS2KLF4O.cjs');
4
+ var _chunk5PDOKPBFcjs = require('./chunk-5PDOKPBF.cjs');
5
5
 
6
6
 
7
- var _chunkDBRXZC2Icjs = require('./chunk-DBRXZC2I.cjs');
7
+ var _chunkPZVBTLLQcjs = require('./chunk-PZVBTLLQ.cjs');
8
8
 
9
9
 
10
10
  var _chunkE56LN23Hcjs = require('./chunk-E56LN23H.cjs');
@@ -37,7 +37,7 @@ function FaqDocumentPage({
37
37
  onClick: () => router.push(_nullishCoalesce(_optionalChain([backButton, 'optionalAccess', _2 => _2.href]), () => ( "/")))
38
38
  };
39
39
  const inner = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkE56LN23Hcjs.PageLayout, { title, subtitle, backButton: backCfg, titleSize: "h1", titleWrap: true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
40
- _chunkCS2KLF4Ocjs.FaqSection,
40
+ _chunk5PDOKPBFcjs.FaqSection,
41
41
  {
42
42
  initialFaqs,
43
43
  heading: null,
@@ -53,7 +53,7 @@ function FaqDocumentPage({
53
53
  skeletonNav
54
54
  }
55
55
  ) });
56
- return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDBRXZC2Icjs.PageShell, { children: inner }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: inner });
56
+ return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPZVBTLLQcjs.PageShell, { children: inner }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: inner });
57
57
  }
58
58
 
59
59
 
@@ -1411,7 +1411,7 @@ function SectionHeadingSkeleton({
1411
1411
  const layout = SECTION_HEADING_LAYOUT[level];
1412
1412
  const introByBreakpoint = typeof intro === "object" ? intro : null;
1413
1413
  const introLines = typeof intro === "number" ? intro : intro === true ? 2 : 0;
1414
- const stack = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: layout.stack, "aria-hidden": true, children: [
1414
+ const stack = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: level === "section" ? `${layout.stack} w-full` : layout.stack, "aria-hidden": true, children: [
1415
1415
  eyebrow ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SectionEyebrow, { platform, tone, children: eyebrow }) : null,
1416
1416
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: layout.heading, children: titleLines ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4WIJI4AKcjs.TextLinesByBreakpointSkeleton, { lines: titleLines }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4WIJI4AKcjs.TextLineSkeleton, { type: "inherit", className: titleWidth }) }),
1417
1417
  introByBreakpoint ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: layout.intro, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4WIJI4AKcjs.TextLinesByBreakpointSkeleton, { lines: introByBreakpoint }) }) : null,
@@ -14,7 +14,7 @@
14
14
 
15
15
 
16
16
 
17
- var _chunkGRNTIKPDcjs = require('./chunk-GRNTIKPD.cjs');
17
+ var _chunkOEEFUB25cjs = require('./chunk-OEEFUB25.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 _chunkSDV335EOcjs = require('./chunk-SDV335EO.cjs');
110
+ var _chunkFFRFKWTZcjs = require('./chunk-FFRFKWTZ.cjs');
111
111
 
112
112
 
113
113
 
114
114
 
115
115
 
116
- var _chunkFIKIPO4Fcjs = require('./chunk-FIKIPO4F.cjs');
116
+ var _chunkFAUVDMH4cjs = require('./chunk-FAUVDMH4.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 = _chunkFIKIPO4Fcjs.useProxiedImageUrl.call(void 0, _nullishCoalesce(avatarUrl, () => ( "")));
207
+ const proxiedAvatar = _chunkFAUVDMH4cjs.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;
@@ -2046,7 +2046,7 @@ function lastPathSegment(url) {
2046
2046
  function makeComposeContentUrl(opts) {
2047
2047
  const suffixes = _nullishCoalesce(opts.suffixes, () => ( DEFAULT_CONTENT_SUFFIXES));
2048
2048
  return ({ type: rawType, identifier, slug: slugHint, externalUrl, targetPlatform, platforms }) => {
2049
- const type = _chunkFIKIPO4Fcjs.canonicalContentRefType.call(void 0, rawType);
2049
+ const type = _chunkFAUVDMH4cjs.canonicalContentRefType.call(void 0, rawType);
2050
2050
  const override = opts.overrides && Object.prototype.hasOwnProperty.call(opts.overrides, type) ? opts.overrides[type] : void 0;
2051
2051
  if (override) return { ...override(identifier), hostOverride: true };
2052
2052
  const seg = _nullishCoalesce((Object.prototype.hasOwnProperty.call(suffixes, type) ? suffixes[type] : void 0), () => ( type));
@@ -2057,8 +2057,8 @@ function makeComposeContentUrl(opts) {
2057
2057
  }
2058
2058
  if (externalUrl) return { href: externalUrl, targetPlatform: _nullishCoalesce(targetPlatform, () => ( null)) };
2059
2059
  const claimedOwner = _nullishCoalesce(targetPlatform, () => ( primaryPlatformOf(platforms)));
2060
- const owner = claimedOwner && _chunkGRNTIKPDcjs.byKey.call(void 0, claimedOwner) ? claimedOwner : null;
2061
- const origin = owner ? _chunkGRNTIKPDcjs.getPlatformProductionUrl.call(void 0, owner) : opts.contentOrigin;
2060
+ const owner = claimedOwner && _chunkOEEFUB25cjs.byKey.call(void 0, claimedOwner) ? claimedOwner : null;
2061
+ const origin = owner ? _chunkOEEFUB25cjs.getPlatformProductionUrl.call(void 0, owner) : opts.contentOrigin;
2062
2062
  return {
2063
2063
  href: `${origin.replace(/\/+$/, "")}/${seg}/${_optionalChain([slugHint, 'optionalAccess', _88 => _88.trim, 'call', _89 => _89()]) || identifier}`,
2064
2064
  // Report the owner so `decideNewTab` can compare it against the current
@@ -2239,7 +2239,7 @@ function extractSections(markdown, options = {}) {
2239
2239
  if (heading.level > opts.maxLevel) continue;
2240
2240
  let title = heading.text;
2241
2241
  if (opts.stripFormattingMarkers) {
2242
- title = _chunkGRNTIKPDcjs.stripInlineMarkdown.call(void 0, title).trim();
2242
+ title = _chunkOEEFUB25cjs.stripInlineMarkdown.call(void 0, title).trim();
2243
2243
  }
2244
2244
  const baseId = _chunkOJZBZH56cjs.slugifyHeadingBase.call(void 0, opts.removeEmojis ? _chunkOJZBZH56cjs.stripHeadingEmojis.call(void 0, title) : title);
2245
2245
  const cleanId = baseId || `section-${sections.length + 1}`;
@@ -2554,7 +2554,7 @@ function demoClockTimes(seed, options = {}) {
2554
2554
  function openAskAi(source, options) {
2555
2555
  const prompt = _optionalChain([options, 'optionalAccess', _96 => _96.prompt, 'optionalAccess', _97 => _97.trim, 'call', _98 => _98()]);
2556
2556
  const detail = prompt ? { source: _nullishCoalesce(source, () => ( "")), prompt } : { source: _nullishCoalesce(source, () => ( "")) };
2557
- window.dispatchEvent(new CustomEvent(_chunkGRNTIKPDcjs.ASK_AI_OPEN_EVENT, { detail }));
2557
+ window.dispatchEvent(new CustomEvent(_chunkOEEFUB25cjs.ASK_AI_OPEN_EVENT, { detail }));
2558
2558
  }
2559
2559
  function MingoAiButton({
2560
2560
  source,
@@ -2597,7 +2597,7 @@ function MingoAiButton({
2597
2597
  {
2598
2598
  ...props,
2599
2599
  type: "button",
2600
- ...{ [_chunkGRNTIKPDcjs.ASK_AI_TRIGGER_ATTRIBUTE]: "" },
2600
+ ...{ [_chunkOEEFUB25cjs.ASK_AI_TRIGGER_ATTRIBUTE]: "" },
2601
2601
  variant: field ? "glyph" : "transparent",
2602
2602
  size: "wrap",
2603
2603
  font: "regular",
@@ -2699,7 +2699,7 @@ function useAskPrompts({
2699
2699
  const assistant = _chunkEWPR7662cjs.useAssistantRuntime.call(void 0, );
2700
2700
  const base = assistantAvailable(assistant) ? assistant.askPromptsUrl : void 0;
2701
2701
  const url = base && enabled ? buildAskPromptsUrl(base, { count, topic, exclude }) : null;
2702
- const { data, dataUrl, error } = _chunkSDV335EOcjs.useSelfFetch.call(void 0, url);
2702
+ const { data, dataUrl, error } = _chunkFFRFKWTZcjs.useSelfFetch.call(void 0, url);
2703
2703
  const landed = url !== null && (dataUrl === url || error);
2704
2704
  return { prompts: landed ? _nullishCoalesce(_optionalChain([data, 'optionalAccess', _105 => _105.prompts]), () => ( [])) : [], isLoading: !!base && !landed, supported: !!base };
2705
2705
  }
@@ -2838,9 +2838,9 @@ function QuestionChips({
2838
2838
  {
2839
2839
  "data-loading-item": true,
2840
2840
  className: _nullishCoalesce(slotClassName, () => ( CHIP_SLOT_CLASS)),
2841
- ...prompt ? { [_chunkGRNTIKPDcjs.ASK_AI_TRIGGER_ATTRIBUTE]: "" } : {},
2841
+ ...prompt ? { [_chunkOEEFUB25cjs.ASK_AI_TRIGGER_ATTRIBUTE]: "" } : {},
2842
2842
  children: (loading || prompt) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2843
- _chunkGRNTIKPDcjs.QuickActionChipButton,
2843
+ _chunkOEEFUB25cjs.QuickActionChipButton,
2844
2844
  {
2845
2845
  loading,
2846
2846
  variant: "question",
@@ -3050,7 +3050,7 @@ function QuickActionMarquee({
3050
3050
  );
3051
3051
  if (items.length === 0) return null;
3052
3052
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3053
- _chunkGRNTIKPDcjs.QuickActionWall,
3053
+ _chunkOEEFUB25cjs.QuickActionWall,
3054
3054
  {
3055
3055
  chips,
3056
3056
  mode,
@@ -3265,7 +3265,7 @@ var ChatSidebar = _react.forwardRef.call(void 0,
3265
3265
  hasNextPage,
3266
3266
  isFetchingNextPage,
3267
3267
  onLoadMore,
3268
- pageSize = _chunkGRNTIKPDcjs.CHAT_HISTORY_PAGE_SIZE,
3268
+ pageSize = _chunkOEEFUB25cjs.CHAT_HISTORY_PAGE_SIZE,
3269
3269
  ...props
3270
3270
  }, ref) => {
3271
3271
  const loading = _chunk7JWFMAQBcjs.useLoadingScope.call(void 0, ) || !!isLoading && dialogs.length === 0 && !children;
@@ -3549,7 +3549,7 @@ function OnboardingCarousel({
3549
3549
 
3550
3550
  var ADMIN_CONTENT_CARD_GRID_CLASS = "grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-[var(--spacing-system-lf)]";
3551
3551
  var GRID_CELL_CLASS = "h-full";
3552
- var DEFAULT_LOADING_CARD = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFIKIPO4Fcjs.AdminContentCard, { loading: true, reserveRows: true, title: "", actions: true });
3552
+ var DEFAULT_LOADING_CARD = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFAUVDMH4cjs.AdminContentCard, { loading: true, reserveRows: true, title: "", actions: true });
3553
3553
  function loadingCardOf(loadingCard, Skeleton) {
3554
3554
  if (loadingCard !== void 0) return loadingCard;
3555
3555
  return Skeleton ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Skeleton, {}) : DEFAULT_LOADING_CARD;
@@ -3563,7 +3563,7 @@ function AdminContentCardGridSkeleton({
3563
3563
  label = "Loading",
3564
3564
  region = true
3565
3565
  }) {
3566
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGRNTIKPDcjs.LoadingFallback, { label, status: region, className: _chunk7JWFMAQBcjs.cn.call(void 0, ADMIN_CONTENT_CARD_GRID_CLASS, className), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7JWFMAQBcjs.LoadingItems, { count, children: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: GRID_CELL_CLASS, "data-loading-item": true, children: loadingCardOf(loadingCard, Skeleton) }) }) });
3566
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOEEFUB25cjs.LoadingFallback, { label, status: region, className: _chunk7JWFMAQBcjs.cn.call(void 0, ADMIN_CONTENT_CARD_GRID_CLASS, className), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7JWFMAQBcjs.LoadingItems, { count, children: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: GRID_CELL_CLASS, "data-loading-item": true, children: loadingCardOf(loadingCard, Skeleton) }) }) });
3567
3567
  }
3568
3568
  function AdminContentCardGrid({
3569
3569
  items,
@@ -3859,7 +3859,7 @@ function CampaignCardAdmin({ campaign, className, anchorProps }) {
3859
3859
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkYBTORXFYcjs.COMPACT_CARD_TEXT_COL, children: [
3860
3860
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkYBTORXFYcjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkYBTORXFYcjs.COMPACT_CARD_TITLE, children: campaign.name }) }),
3861
3861
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkYBTORXFYcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkYBTORXFYcjs.COMPACT_CARD_SUBTITLE, children: [
3862
- campaign.start_date ? _chunkFIKIPO4Fcjs.formatDateShort.call(void 0, campaign.start_date) : null,
3862
+ campaign.start_date ? _chunkFAUVDMH4cjs.formatDateShort.call(void 0, campaign.start_date) : null,
3863
3863
  goalsCount > 0 ? `${goalsCount} goal${goalsCount !== 1 ? "s" : ""}` : null,
3864
3864
  "Marketing campaign"
3865
3865
  ].filter(Boolean).join(" \xB7 ") }) }),
@@ -5155,7 +5155,7 @@ function Section({ title, description, children }) {
5155
5155
  ] });
5156
5156
  }
5157
5157
  function ProxyCredentialsPanel({ description }) {
5158
- const hydrated = _chunkGRNTIKPDcjs.useIsHydrated.call(void 0, );
5158
+ const hydrated = _chunkOEEFUB25cjs.useIsHydrated.call(void 0, );
5159
5159
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
5160
5160
  ProxyCredentialsForm,
5161
5161
  {
@@ -5319,21 +5319,21 @@ function ProxyCredentialsForm({ description, saved }) {
5319
5319
 
5320
5320
  // src/components/chat/index.ts
5321
5321
  var LoadedEmbeddableChat = _react.lazy.call(void 0,
5322
- () => Promise.resolve().then(() => _interopRequireWildcard(require("./embeddable-chat-ODKTSW3C.cjs"))).then((module) => ({ default: module.EmbeddableChat }))
5322
+ () => Promise.resolve().then(() => _interopRequireWildcard(require("./embeddable-chat-2EBDLEVA.cjs"))).then((module) => ({ default: module.EmbeddableChat }))
5323
5323
  );
5324
5324
  var EmbeddableChat = _react.forwardRef.call(void 0, (props, ref) => {
5325
5325
  const [loadRequested, setLoadRequested] = _react.useState.call(void 0, false);
5326
5326
  const load = loadRequested || Boolean(props.open) || Boolean(props.defaultOpen);
5327
- _react.useEffect.call(void 0, () => _chunkGRNTIKPDcjs.holdAskAiOpens.call(void 0, ), []);
5327
+ _react.useEffect.call(void 0, () => _chunkOEEFUB25cjs.holdAskAiOpens.call(void 0, ), []);
5328
5328
  _react.useEffect.call(void 0, () => {
5329
5329
  if (load) return void 0;
5330
5330
  const start = () => setLoadRequested(true);
5331
- if (_chunkGRNTIKPDcjs.askAiOpenIsHeld.call(void 0, )) queueMicrotask(start);
5332
- for (const name of _chunkGRNTIKPDcjs.ASK_AI_OPEN_EVENTS) window.addEventListener(name, start);
5333
- const cancel = _chunkGRNTIKPDcjs.onAskAiIntent.call(void 0, start);
5331
+ if (_chunkOEEFUB25cjs.askAiOpenIsHeld.call(void 0, )) queueMicrotask(start);
5332
+ for (const name of _chunkOEEFUB25cjs.ASK_AI_OPEN_EVENTS) window.addEventListener(name, start);
5333
+ const cancel = _chunkOEEFUB25cjs.onAskAiIntent.call(void 0, start);
5334
5334
  return () => {
5335
5335
  cancel();
5336
- for (const name of _chunkGRNTIKPDcjs.ASK_AI_OPEN_EVENTS) window.removeEventListener(name, start);
5336
+ for (const name of _chunkOEEFUB25cjs.ASK_AI_OPEN_EVENTS) window.removeEventListener(name, start);
5337
5337
  };
5338
5338
  }, [load]);
5339
5339
  if (!load) return null;
@@ -2,7 +2,7 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkFIKIPO4Fcjs = require('./chunk-FIKIPO4F.cjs');
5
+ var _chunkFAUVDMH4cjs = require('./chunk-FAUVDMH4.cjs');
6
6
 
7
7
 
8
8
  var _chunkYBTORXFYcjs = require('./chunk-YBTORXFY.cjs');
@@ -147,7 +147,7 @@ function EmployeeEntryBadge({ children }) {
147
147
  function EmployeeEntryCard(props) {
148
148
  if (_chunk7JWFMAQBcjs.useLoadingScope.call(void 0, ) || props.loading) {
149
149
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
150
- _chunkFIKIPO4Fcjs.AdminContentCard,
150
+ _chunkFAUVDMH4cjs.AdminContentCard,
151
151
  {
152
152
  loading: true,
153
153
  title: "",
@@ -169,9 +169,9 @@ function LoadedEmployeeEntryCard({
169
169
  anchorProps,
170
170
  className
171
171
  }) {
172
- const authorAvatar = _chunkFIKIPO4Fcjs.useProxiedImageUrl.call(void 0, _optionalChain([entry, 'access', _7 => _7.author, 'optionalAccess', _8 => _8.avatar_url]), { directHttps: false });
172
+ const authorAvatar = _chunkFAUVDMH4cjs.useProxiedImageUrl.call(void 0, _optionalChain([entry, 'access', _7 => _7.author, 'optionalAccess', _8 => _8.avatar_url]), { directHttps: false });
173
173
  const card = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
174
- _chunkFIKIPO4Fcjs.AdminContentCard,
174
+ _chunkFAUVDMH4cjs.AdminContentCard,
175
175
  {
176
176
  imageUrl: entry.featured_image || entry.main_video_thumbnail,
177
177
  placeholderUrl,