@flamingo-stack/openframe-frontend-core 0.0.846 → 0.0.848
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.
- package/dist/build/export-map.json +1 -1
- package/dist/{case-study-card-DJOHIHYU.cjs → case-study-card-X2HKPKT7.cjs} +5 -5
- package/dist/{chunk-N2A24FDF.cjs → chunk-2V6FCVUL.cjs} +955 -932
- package/dist/{chunk-CNMXP77I.cjs → chunk-36DUCHI7.cjs} +4 -4
- package/dist/{chunk-J2IXYCEH.cjs → chunk-3W4ASAXN.cjs} +15 -15
- package/dist/{chunk-6LDL3UZE.cjs → chunk-4YBS4HIO.cjs} +20 -20
- package/dist/{chunk-QK2A334V.cjs → chunk-5HOWR4TG.cjs} +12 -12
- package/dist/{chunk-2FUTZKLB.cjs → chunk-74Z34I2C.cjs} +6 -6
- package/dist/{chunk-PV3NKXWS.cjs → chunk-7DW3LZ52.cjs} +57 -57
- package/dist/{chunk-ZTO7KNYV.cjs → chunk-7LE4HWHA.cjs} +35 -35
- package/dist/{chunk-URP6GYTD.cjs → chunk-7YJQTQPV.cjs} +56 -56
- package/dist/{chunk-4R4HAFXI.cjs → chunk-ALRYVZ3E.cjs} +6 -6
- package/dist/{chunk-57JYB3E2.cjs → chunk-C3WZXOZJ.cjs} +3 -3
- package/dist/{chunk-SSSI2RBV.cjs → chunk-FNQWL4W4.cjs} +14 -14
- package/dist/{chunk-J2ZSGOUC.cjs → chunk-GASFYPGH.cjs} +27 -27
- package/dist/{chunk-3V5JWG27.cjs → chunk-GG466XFQ.cjs} +2 -2
- package/dist/{chunk-XCVH5BCZ.cjs → chunk-GRCOEICK.cjs} +6 -6
- package/dist/{chunk-5GBLXY5F.cjs → chunk-HTYJUMFB.cjs} +7 -7
- package/dist/{chunk-HBDLJUI3.cjs → chunk-I3YRYS23.cjs} +5 -5
- package/dist/{chunk-HPXET3LH.cjs → chunk-IIUZE73M.cjs} +27 -27
- package/dist/{chunk-WCK5T3UD.cjs → chunk-IKOL6NJY.cjs} +101 -69
- package/dist/{chunk-DGQDGCQH.cjs → chunk-INA2FX2N.cjs} +2 -2
- package/dist/{chunk-PQDCSZ3W.cjs → chunk-IUZVOQXP.cjs} +85 -85
- package/dist/{chunk-BIOSHDXQ.cjs → chunk-MDLT6D46.cjs} +61 -61
- package/dist/{chunk-DEEQSVLX.cjs → chunk-MWYEROAP.cjs} +90 -90
- package/dist/{chunk-D5DMWXF2.cjs → chunk-NYT6IBIX.cjs} +4 -4
- package/dist/{chunk-TBOWFTEN.cjs → chunk-O4BXHCMK.cjs} +22 -22
- package/dist/{chunk-YC52LSPP.cjs → chunk-OCJXOSIH.cjs} +40 -40
- package/dist/{chunk-3TOWCFIK.cjs → chunk-PMUCEUFQ.cjs} +13 -1
- package/dist/{chunk-BZZE4KIV.cjs → chunk-QUSCSYHJ.cjs} +135 -135
- package/dist/{chunk-744JXTDP.cjs → chunk-SA2NNWIJ.cjs} +23 -23
- package/dist/{chunk-BHOVF4KP.cjs → chunk-SOSIXRQ3.cjs} +2 -2
- package/dist/{chunk-PZNWIJRZ.cjs → chunk-TIVPOVIM.cjs} +2 -2
- package/dist/{chunk-FLW4WULE.cjs → chunk-U7UBYJEZ.cjs} +17 -61
- package/dist/{chunk-Y2OEC7UW.cjs → chunk-VW4446JR.cjs} +40 -40
- package/dist/{chunk-NFNSPLGC.cjs → chunk-W7OFAROY.cjs} +14 -9
- package/dist/{chunk-RAJ5FYFL.cjs → chunk-Y2ZWWIUA.cjs} +14 -14
- package/dist/{chunk-MPVOPSU6.cjs → chunk-Y4BG7SPX.cjs} +96 -96
- package/dist/{chunk-SIFRIUPW.cjs → chunk-YAW7CHLV.cjs} +340 -354
- package/dist/{chunk-ABL5OBSF.cjs → chunk-YXKAHQYS.cjs} +294 -249
- package/dist/{chunk-SWF6TNZ3.cjs → chunk-ZGEWT3SF.cjs} +2 -2
- package/dist/{chunk-5SZ4ILU3.cjs → chunk-ZZDFMUEU.cjs} +3 -3
- package/dist/{cloud-tenants-XEUUMABT.cjs → cloud-tenants-YAZHLPOQ.cjs} +21 -21
- package/dist/components/case-studies/index.cjs +36 -36
- package/dist/components/chat/chat-composer.d.ts.map +1 -1
- package/dist/components/chat/chat-composer.js +4 -3
- package/dist/components/chat/chat-container.d.ts.map +1 -1
- package/dist/components/chat/chat-container.js +2 -2
- package/dist/components/chat/entity-cards/design-doc-card.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/design-doc-card.js +5 -17
- package/dist/components/chat/entity-cards/dispatch.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/dispatch.js +4 -7
- package/dist/components/chat/index.cjs +15 -15
- package/dist/components/contact/index.cjs +22 -22
- package/dist/components/docs/index.cjs +25 -25
- package/dist/components/embeds/index.cjs +22 -22
- package/dist/components/faq/index.cjs +23 -23
- package/dist/components/features/index.cjs +21 -21
- package/dist/components/features/status-filter-component.d.ts +7 -1
- package/dist/components/features/status-filter-component.d.ts.map +1 -1
- package/dist/components/features/status-filter-component.js +9 -3
- package/dist/components/help-center-pages/index.cjs +140 -140
- package/dist/components/index.cjs +137 -135
- package/dist/components/layout/back-button.d.ts +7 -1
- package/dist/components/layout/back-button.d.ts.map +1 -1
- package/dist/components/layout/back-button.js +34 -2
- package/dist/components/loading/unified-skeleton.d.ts +6 -1
- package/dist/components/loading/unified-skeleton.d.ts.map +1 -1
- package/dist/components/loading/unified-skeleton.js +13 -1
- package/dist/components/meeting-scheduler/index.cjs +119 -119
- package/dist/components/navigation/index.cjs +24 -24
- package/dist/components/onboarding-guides/index.cjs +24 -24
- package/dist/components/product-demo/index.cjs +33 -33
- package/dist/components/related-content/index.cjs +11 -11
- package/dist/components/tickets/index.cjs +28 -28
- package/dist/components/ui/file-manager/file-manager-table.d.ts.map +1 -1
- package/dist/components/ui/file-manager/file-manager-table.js +63 -85
- package/dist/components/ui/file-manager/index.cjs +87 -109
- package/dist/components/ui/index.cjs +23 -21
- package/dist/components/ui/markdown/engine.d.ts +5 -4
- package/dist/components/ui/markdown/engine.d.ts.map +1 -1
- package/dist/components/ui/markdown/engine.js +15 -15
- package/dist/components/ui/people-cell.d.ts +9 -2
- package/dist/components/ui/people-cell.d.ts.map +1 -1
- package/dist/components/ui/people-cell.js +39 -23
- package/dist/components/ui/progress-bar.d.ts +6 -0
- package/dist/components/ui/progress-bar.d.ts.map +1 -1
- package/dist/components/ui/progress-bar.js +2 -0
- package/dist/components/ui/tag.d.ts +8 -0
- package/dist/components/ui/tag.d.ts.map +1 -1
- package/dist/components/ui/tag.js +5 -0
- package/dist/{devices-7YDIHVVP.cjs → devices-IZROCLFK.cjs} +22 -22
- package/dist/embed-shims/index.cjs +3 -3
- package/dist/embed-shims/next-image.cjs +3 -3
- package/dist/{embeddable-chat-Z3S37SSM.cjs → embeddable-chat-ETW6S22E.cjs} +94 -94
- package/dist/hooks/index.cjs +6 -6
- package/dist/index.cjs +30 -32
- package/dist/{knowledge-SQVPQSKM.cjs → knowledge-4IRWLTNW.cjs} +22 -22
- package/dist/{logs-M5DFGUBC.cjs → logs-EFDGY5IO.cjs} +28 -28
- package/dist/{policies-T3VQEJUD.cjs → policies-3KEXZ5BP.cjs} +25 -25
- package/dist/{remote-session-EE6477O3.cjs → remote-session-NT4NG7EF.cjs} +10 -10
- package/dist/{scripts-JFRFJKPH.cjs → scripts-PCGTZLZL.cjs} +28 -28
- package/dist/{software-update-E7W3AAIY.cjs → software-update-YCDNVFJE.cjs} +25 -25
- package/dist/{tickets-board-44HO3LR4.cjs → tickets-board-7FLGQEHF.cjs} +10 -10
- package/dist/types/design-doc.d.ts +45 -8
- package/dist/types/design-doc.d.ts.map +1 -1
- package/dist/utils/design-doc-readiness.d.ts +17 -15
- package/dist/utils/design-doc-readiness.d.ts.map +1 -1
- package/dist/utils/design-doc-readiness.js +5 -11
- package/dist/utils/index.cjs +5 -11
- package/package.json +1 -1
- package/src/components/chat/chat-composer.tsx +10 -3
- package/src/components/chat/chat-container.tsx +6 -4
- package/src/components/chat/entity-cards/design-doc-card.tsx +12 -17
- package/src/components/chat/entity-cards/dispatch.tsx +7 -10
- package/src/components/features/status-filter-component.tsx +15 -0
- package/src/components/layout/back-button.tsx +54 -2
- package/src/components/loading/unified-skeleton.tsx +18 -2
- package/src/components/ui/file-manager/file-manager-table.tsx +10 -45
- package/src/components/ui/markdown/engine.tsx +21 -30
- package/src/components/ui/people-cell.tsx +53 -17
- package/src/components/ui/progress-bar.tsx +8 -0
- package/src/components/ui/tag.tsx +14 -0
- package/src/types/design-doc.ts +59 -10
- package/src/utils/design-doc-readiness.ts +22 -23
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } 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
|
|
4
|
+
var _chunkQUSCSYHJcjs = require('./chunk-QUSCSYHJ.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkYAW7CHLVcjs = require('./chunk-YAW7CHLV.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
var _chunkGI3MMBP3cjs = require('./chunk-GI3MMBP3.cjs');
|
|
@@ -44,7 +44,7 @@ function isSummaryData(value) {
|
|
|
44
44
|
}
|
|
45
45
|
function TicketLiveProvider({ children, enabled = true }) {
|
|
46
46
|
const runtime = _chunkUJ7AXHRZcjs.useChatRuntime.call(void 0, );
|
|
47
|
-
const identity =
|
|
47
|
+
const identity = _chunkYAW7CHLVcjs.useChatIdentity.call(void 0, enabled);
|
|
48
48
|
const queryClient = _reactquery.useQueryClient.call(void 0, );
|
|
49
49
|
const streamUrl = _nullishCoalesce(_optionalChain([runtime, 'optionalAccess', _ => _.endpoints, 'access', _2 => _2.ticketStreamUrl]), () => ( TICKET_STREAM_ENDPOINT));
|
|
50
50
|
const readUrl = _nullishCoalesce(_optionalChain([runtime, 'optionalAccess', _3 => _3.endpoints, 'access', _4 => _4.ticketReadUrl]), () => ( TICKET_READ_ENDPOINT));
|
|
@@ -160,7 +160,7 @@ function TicketLiveProvider({ children, enabled = true }) {
|
|
|
160
160
|
_react2.default.useEffect(() => {
|
|
161
161
|
if (!streamEnabled) return void 0;
|
|
162
162
|
if (typeof window === "undefined") return void 0;
|
|
163
|
-
subscriptionRef.current =
|
|
163
|
+
subscriptionRef.current = _chunkQUSCSYHJcjs.createSseSubscription.call(void 0, {
|
|
164
164
|
url: streamUrl,
|
|
165
165
|
onEvent: (name, data) => handlersRef.current.onEvent(name, data),
|
|
166
166
|
onStatusChange: (status) => handlersRef.current.onStatus(status),
|
|
@@ -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
|
|
4
|
+
var _chunkQUSCSYHJcjs = require('./chunk-QUSCSYHJ.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunk3W4ASAXNcjs = require('./chunk-3W4ASAXN.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
@@ -14,11 +14,11 @@ var _chunkJ2IXYCEHcjs = require('./chunk-J2IXYCEH.cjs');
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
var
|
|
17
|
+
var _chunkGRCOEICKcjs = require('./chunk-GRCOEICK.cjs');
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
|
|
21
|
-
var
|
|
21
|
+
var _chunkPMUCEUFQcjs = require('./chunk-PMUCEUFQ.cjs');
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
var _chunkFCZAUK4Dcjs = require('./chunk-FCZAUK4D.cjs');
|
|
@@ -76,7 +76,7 @@ function HorizontalSectionNav({
|
|
|
76
76
|
className: _chunk63A4GZMBcjs.cn.call(void 0, HORIZONTAL_NAV_CLASS, STICKY_SECTION_NAV_HEIGHT_CLASS, className),
|
|
77
77
|
children: [
|
|
78
78
|
brand && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: HORIZONTAL_BRAND_CLASS, children: brand }),
|
|
79
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
79
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3W4ASAXNcjs.ScrollShadow, { axis: "horizontal", className: "min-w-0 flex-1", scrollClassName: HORIZONTAL_ROW_CLASS, children: sections.map((section) => {
|
|
80
80
|
const active = activeSection === section.id;
|
|
81
81
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
82
82
|
_chunkV45KLJQPcjs.next_link_default,
|
|
@@ -199,7 +199,7 @@ function StickySectionNavSkeleton({
|
|
|
199
199
|
brand && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: HORIZONTAL_BRAND_CLASS, children: brand }),
|
|
200
200
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk63A4GZMBcjs.cn.call(void 0, "min-w-0 flex-1 overflow-hidden", HORIZONTAL_ROW_CLASS, "content-lg:items-center"), children: widths.map((width, i) => (
|
|
201
201
|
// The pill's own box (a tab from the content `lg` step), its label a bar.
|
|
202
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk63A4GZMBcjs.cn.call(void 0, PILL_CLASS, "border-transparent"), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
202
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk63A4GZMBcjs.cn.call(void 0, PILL_CLASS, "border-transparent"), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPMUCEUFQcjs.TextLineSkeleton, { type: "h6", className: width }) }, i)
|
|
203
203
|
)) }),
|
|
204
204
|
action && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: HORIZONTAL_ACTION_CLASS, children: action })
|
|
205
205
|
] });
|
|
@@ -217,7 +217,7 @@ function StickySectionNavSkeleton({
|
|
|
217
217
|
}
|
|
218
218
|
}
|
|
219
219
|
),
|
|
220
|
-
widths.map((width, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: VERTICAL_ROW_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: VERTICAL_BUTTON_SKELETON_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
220
|
+
widths.map((width, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: VERTICAL_ROW_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: VERTICAL_BUTTON_SKELETON_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPMUCEUFQcjs.TextLineSkeleton, { type: "h6", className: width }) }) }, i))
|
|
221
221
|
] });
|
|
222
222
|
}
|
|
223
223
|
function useSectionNavigation(sections, options) {
|
|
@@ -230,7 +230,7 @@ function useSectionNavigation(sections, options) {
|
|
|
230
230
|
if (!targetElement) return;
|
|
231
231
|
isScrollingFromClick.current = true;
|
|
232
232
|
setActiveSection(sectionId);
|
|
233
|
-
|
|
233
|
+
_chunkGRCOEICKcjs.scrollElementIntoView.call(void 0, targetElement, { headerOffset: offset });
|
|
234
234
|
setTimeout(() => {
|
|
235
235
|
isScrollingFromClick.current = false;
|
|
236
236
|
}, 500);
|
|
@@ -283,13 +283,13 @@ var SCROLL_OFFSET = 100;
|
|
|
283
283
|
var ID_SEPARATOR = "\n";
|
|
284
284
|
var LINE_TOLERANCE_PX = 1;
|
|
285
285
|
function currentHashId() {
|
|
286
|
-
return
|
|
286
|
+
return _chunkGRCOEICKcjs.normalizeHashFragment.call(void 0, window.location.hash).slice(1);
|
|
287
287
|
}
|
|
288
288
|
function activeChildAnchor(section) {
|
|
289
|
-
return _nullishCoalesce(_optionalChain([section, 'access', _10 => _10.querySelector, 'call', _11 => _11(`[${
|
|
289
|
+
return _nullishCoalesce(_optionalChain([section, 'access', _10 => _10.querySelector, 'call', _11 => _11(`[${_chunkGRCOEICKcjs.ACTIVE_ANCHOR_ATTRIBUTE}][id]`), 'optionalAccess', _12 => _12.id]), () => ( null));
|
|
290
290
|
}
|
|
291
291
|
function hashIsWithin(section) {
|
|
292
|
-
return section.contains(
|
|
292
|
+
return section.contains(_chunkGRCOEICKcjs.getHashTargetElement.call(void 0, currentHashId()));
|
|
293
293
|
}
|
|
294
294
|
function hashForSection(sectionId) {
|
|
295
295
|
const section = document.getElementById(sectionId);
|
|
@@ -297,7 +297,7 @@ function hashForSection(sectionId) {
|
|
|
297
297
|
return _nullishCoalesce(activeChildAnchor(section), () => ( (hashIsWithin(section) ? currentHashId() : sectionId)));
|
|
298
298
|
}
|
|
299
299
|
function resolveScroller(firstSection) {
|
|
300
|
-
const container = firstSection ?
|
|
300
|
+
const container = firstSection ? _chunkGRCOEICKcjs.getScrollableAncestor.call(void 0, firstSection) : null;
|
|
301
301
|
if (container) {
|
|
302
302
|
return {
|
|
303
303
|
target: container,
|
|
@@ -327,8 +327,8 @@ function useScrollSpy(sections, options = {}) {
|
|
|
327
327
|
if (!targetElement) return;
|
|
328
328
|
isScrollingFromClick.current = true;
|
|
329
329
|
setActiveSection(sectionId);
|
|
330
|
-
if (syncHash)
|
|
331
|
-
|
|
330
|
+
if (syncHash) _chunkGRCOEICKcjs.replaceLocationHash.call(void 0, _nullishCoalesce(activeChildAnchor(targetElement), () => ( sectionId)));
|
|
331
|
+
_chunkGRCOEICKcjs.scrollElementIntoView.call(void 0, targetElement, { headerOffset });
|
|
332
332
|
setTimeout(() => {
|
|
333
333
|
isScrollingFromClick.current = false;
|
|
334
334
|
}, 800);
|
|
@@ -344,7 +344,7 @@ function useScrollSpy(sections, options = {}) {
|
|
|
344
344
|
const scrollTop = scroller.scrollTop();
|
|
345
345
|
const viewportTop = scroller.viewportTop();
|
|
346
346
|
const sectionTop = (element) => element.getBoundingClientRect().top - viewportTop + scrollTop;
|
|
347
|
-
const reached = (element) => scrollTop + Math.max(headerOffset,
|
|
347
|
+
const reached = (element) => scrollTop + Math.max(headerOffset, _chunkGRCOEICKcjs.declaredScrollMarginTop.call(void 0, element)) + LINE_TOLERANCE_PX >= sectionTop(element);
|
|
348
348
|
const first = document.getElementById(_nullishCoalesce(sectionIds[0], () => ( "")));
|
|
349
349
|
let currentSection = _nullishCoalesce(sectionIds[0], () => ( ""));
|
|
350
350
|
const scrollHeight = scroller.scrollHeight();
|
|
@@ -367,16 +367,16 @@ function useScrollSpy(sections, options = {}) {
|
|
|
367
367
|
setActiveSection((prev) => prev !== active ? active : prev);
|
|
368
368
|
if (!syncHash) return;
|
|
369
369
|
if (fromScroll) {
|
|
370
|
-
|
|
370
|
+
_chunkGRCOEICKcjs.replaceLocationHash.call(void 0, isAboveFirst ? null : hashForSection(currentSection));
|
|
371
371
|
return;
|
|
372
372
|
}
|
|
373
|
-
if (restoredChecked.current || !
|
|
374
|
-
const target =
|
|
373
|
+
if (restoredChecked.current || !_chunkGRCOEICKcjs.isScrollSyncedHash.call(void 0, )) return;
|
|
374
|
+
const target = _chunkGRCOEICKcjs.getHashTargetElement.call(void 0, currentHashId());
|
|
375
375
|
const tracked = sectionIds.some((id) => _nullishCoalesce(_optionalChain([document, 'access', _17 => _17.getElementById, 'call', _18 => _18(id), 'optionalAccess', _19 => _19.contains, 'call', _20 => _20(target)]), () => ( false)));
|
|
376
376
|
if (!target || !tracked) return;
|
|
377
377
|
restoredChecked.current = true;
|
|
378
378
|
const section = isAboveFirst ? null : document.getElementById(currentSection);
|
|
379
|
-
if (!_optionalChain([section, 'optionalAccess', _21 => _21.contains, 'call', _22 => _22(target)]))
|
|
379
|
+
if (!_optionalChain([section, 'optionalAccess', _21 => _21.contains, 'call', _22 => _22(target)])) _chunkGRCOEICKcjs.scrollElementIntoView.call(void 0, target, { headerOffset, behavior: "instant" });
|
|
380
380
|
};
|
|
381
381
|
let scrollTimer;
|
|
382
382
|
const throttledScroll = () => {
|
|
@@ -396,7 +396,7 @@ function useScrollSpy(sections, options = {}) {
|
|
|
396
396
|
// src/components/navigation/multi-level-navigation.tsx
|
|
397
397
|
var _lucidereact = require('lucide-react');
|
|
398
398
|
|
|
399
|
-
var DEFAULT_FOLDER_INDEX_FILE2 =
|
|
399
|
+
var DEFAULT_FOLDER_INDEX_FILE2 = _chunkQUSCSYHJcjs.DEFAULT_FOLDER_INDEX_FILE;
|
|
400
400
|
var NAV_LIST_CLASS = "space-y-2";
|
|
401
401
|
var NAV_ITEM_CLASS = "space-y-1";
|
|
402
402
|
var NAV_ROW_FRAME_CLASS = "relative w-full rounded-lg border transition-all duration-150";
|
|
@@ -417,8 +417,8 @@ function NavigationRowSkeleton({
|
|
|
417
417
|
indentClass
|
|
418
418
|
}) {
|
|
419
419
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk63A4GZMBcjs.cn.call(void 0, NAV_ROW_PAD_CLASS, indentClass), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk63A4GZMBcjs.cn.call(void 0, NAV_ROW_FRAME_CLASS, "border-ods-border bg-ods-card"), children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk63A4GZMBcjs.cn.call(void 0, _chunk63A4GZMBcjs.BUTTON_KIND_CLASS.row, rowHeightClass), children: [
|
|
420
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
421
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
420
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPMUCEUFQcjs.MediaSkeleton.Icon, { size: "sm", className: "mr-2 flex-shrink-0" }),
|
|
421
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPMUCEUFQcjs.TextLineSkeleton, { type: "h6", className: NAV_SKELETON_LABEL_WIDTHS[index % NAV_SKELETON_LABEL_WIDTHS.length] })
|
|
422
422
|
] }) }) });
|
|
423
423
|
}
|
|
424
424
|
function NavigationTreeSkeleton({
|
|
@@ -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
|
|
4
|
+
var _chunkY2ZWWIUAcjs = require('./chunk-Y2ZWWIUA.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunk5HOWR4TGcjs = require('./chunk-5HOWR4TG.cjs');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
var
|
|
15
|
+
var _chunk2V6FCVULcjs = require('./chunk-2V6FCVUL.cjs');
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
var
|
|
18
|
+
var _chunkIKOL6NJYcjs = require('./chunk-IKOL6NJY.cjs');
|
|
19
19
|
|
|
20
20
|
|
|
21
|
-
var
|
|
21
|
+
var _chunkQUSCSYHJcjs = require('./chunk-QUSCSYHJ.cjs');
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
|
|
25
25
|
|
|
26
26
|
|
|
27
|
-
var
|
|
27
|
+
var _chunkYAW7CHLVcjs = require('./chunk-YAW7CHLV.cjs');
|
|
28
28
|
|
|
29
29
|
|
|
30
30
|
var _chunkPGAMWM6Ccjs = require('./chunk-PGAMWM6C.cjs');
|
|
@@ -34,23 +34,23 @@ var _chunkPGAMWM6Ccjs = require('./chunk-PGAMWM6C.cjs');
|
|
|
34
34
|
var _chunk7DNL734Scjs = require('./chunk-7DNL734S.cjs');
|
|
35
35
|
|
|
36
36
|
|
|
37
|
-
var
|
|
37
|
+
var _chunkU7UBYJEZcjs = require('./chunk-U7UBYJEZ.cjs');
|
|
38
38
|
|
|
39
39
|
|
|
40
40
|
|
|
41
|
-
var
|
|
41
|
+
var _chunkYXKAHQYScjs = require('./chunk-YXKAHQYS.cjs');
|
|
42
42
|
|
|
43
43
|
|
|
44
|
-
var
|
|
44
|
+
var _chunkMDLT6D46cjs = require('./chunk-MDLT6D46.cjs');
|
|
45
45
|
|
|
46
46
|
|
|
47
|
-
var
|
|
47
|
+
var _chunkTIVPOVIMcjs = require('./chunk-TIVPOVIM.cjs');
|
|
48
48
|
|
|
49
49
|
|
|
50
50
|
var _chunkUJ7AXHRZcjs = require('./chunk-UJ7AXHRZ.cjs');
|
|
51
51
|
|
|
52
52
|
|
|
53
|
-
var
|
|
53
|
+
var _chunkPMUCEUFQcjs = require('./chunk-PMUCEUFQ.cjs');
|
|
54
54
|
|
|
55
55
|
|
|
56
56
|
|
|
@@ -72,10 +72,10 @@ var ONBOARDING_CATALOG_SKELETON_CARDS = 3;
|
|
|
72
72
|
function OnboardingCatalogSectionsSkeleton() {
|
|
73
73
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: CATALOG_SECTIONS_CLASS, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "section", { className: CATALOG_SECTION_CLASS, "data-loading-item": true, children: [
|
|
74
74
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "h2", { className: CATALOG_SECTION_HEADING_CLASS, children: [
|
|
75
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
76
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: CATALOG_SECTION_COUNT_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
75
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPMUCEUFQcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-40" }),
|
|
76
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: CATALOG_SECTION_COUNT_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPMUCEUFQcjs.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, _chunk63A4GZMBcjs.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,
|
|
78
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "ul", { className: CATALOG_LIST_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk63A4GZMBcjs.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, _chunkYXKAHQYScjs.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 =
|
|
99
|
+
const guidesRes = _chunkU7UBYJEZcjs.useSelfFetch.call(void 0,
|
|
100
100
|
selfFetch && guidesEndpoint ? `${guidesEndpoint}${guidesQs}` : null
|
|
101
101
|
);
|
|
102
|
-
const sectionsRes =
|
|
102
|
+
const sectionsRes = _chunkU7UBYJEZcjs.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 =
|
|
146
|
+
const docSearch = _chunk5HOWR4TGcjs.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 =
|
|
153
|
+
const cta = _chunkQUSCSYHJcjs.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,
|
|
159
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYXKAHQYScjs.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
|
-
|
|
164
|
+
_chunk5HOWR4TGcjs.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
|
-
|
|
176
|
+
_chunk2V6FCVULcjs.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,
|
|
187
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2V6FCVULcjs.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,
|
|
203
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYAW7CHLVcjs.LoadingFallback, { label: "Loading onboarding guides", children: view });
|
|
204
204
|
}
|
|
205
205
|
function OnboardingCatalogSections({
|
|
206
206
|
grouped,
|
|
@@ -291,7 +291,7 @@ function RelatedGuides({
|
|
|
291
291
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "h2", { className: RELATED_HEADING_CLASS, children: [
|
|
292
292
|
"More in",
|
|
293
293
|
" ",
|
|
294
|
-
loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
294
|
+
loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPMUCEUFQcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "inline-block w-32 align-middle" }) : section
|
|
295
295
|
] }),
|
|
296
296
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "ul", { className: RELATED_LIST_CLASS, children: guides.map((guide) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "li", { "data-loading-item": true, children: renderCard(guide) }, guide.id)) })
|
|
297
297
|
] });
|
|
@@ -304,7 +304,7 @@ function OnboardingGuideDetailView({
|
|
|
304
304
|
slug,
|
|
305
305
|
guideEndpoint,
|
|
306
306
|
related = [],
|
|
307
|
-
MarkdownRenderer =
|
|
307
|
+
MarkdownRenderer = _chunk2V6FCVULcjs.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 =
|
|
317
|
+
const captions = _chunkYAW7CHLVcjs.useCaptions.call(void 0, );
|
|
318
318
|
const router = _chunk7DNL734Scjs.useRouter.call(void 0, );
|
|
319
|
-
const renderShell = (node) => shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
319
|
+
const renderShell = (node) => shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2V6FCVULcjs.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 = _chunk63A4GZMBcjs.useLoadingScope.call(void 0, );
|
|
322
322
|
const {
|
|
@@ -324,7 +324,7 @@ function OnboardingGuideDetailView({
|
|
|
324
324
|
isLoading,
|
|
325
325
|
error,
|
|
326
326
|
reload
|
|
327
|
-
} =
|
|
327
|
+
} = _chunkU7UBYJEZcjs.useSelfFetch.call(void 0, scoped ? null : url, {
|
|
328
328
|
initialData
|
|
329
329
|
});
|
|
330
330
|
const { ref: videoWarmupRef } = _chunkPGAMWM6Ccjs.useVideoWarmup.call(void 0, {
|
|
@@ -334,27 +334,27 @@ 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,
|
|
337
|
+
return renderShell(/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2V6FCVULcjs.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);
|
|
341
341
|
const videoPoster = view.main_video_thumbnail || view.featured_image || view.og_image_url || // `buildOgPlaceholderUrl` always returns a usable string (relative route at
|
|
342
342
|
// worst), so it's the terminal fallback — no trailing `|| undefined` needed.
|
|
343
|
-
|
|
343
|
+
_chunkTIVPOVIMcjs.buildOgPlaceholderUrl.call(void 0, _optionalChain([runtime, 'optionalAccess', _11 => _11.endpoints]), view.title, { aspect: "wide" });
|
|
344
344
|
const defaultRenderRelatedCard = (g) => {
|
|
345
|
-
const cta =
|
|
345
|
+
const cta = _chunkQUSCSYHJcjs.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,
|
|
351
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYXKAHQYScjs.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,
|
|
355
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
354
|
+
const page = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkIKOL6NJYcjs.PageLayout, { title: view.title, loading, titleSize: "h1", titleWrap: true, backButton: backCfg, children: [
|
|
355
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2V6FCVULcjs.EntityTagBadges, { tags: view.onboarding_guide_tags }),
|
|
356
356
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
357
|
-
|
|
357
|
+
_chunkYXKAHQYScjs.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
|
-
|
|
373
|
+
_chunkYAW7CHLVcjs.EntityVideoSection,
|
|
374
374
|
{
|
|
375
375
|
mainVideoUrl: view.main_video_url,
|
|
376
376
|
youtubeUrl: view.youtube_url || void 0,
|
|
@@ -387,17 +387,17 @@ 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
|
-
|
|
390
|
+
_chunkYAW7CHLVcjs.VideoBitesStrip,
|
|
391
391
|
{
|
|
392
392
|
bites: _nullishCoalesce(view.video_bites, () => ( [])),
|
|
393
393
|
filterPublished: true,
|
|
394
394
|
showTitle: false,
|
|
395
|
-
profile:
|
|
395
|
+
profile: _chunkMDLT6D46cjs.toStripProfile.call(void 0, view.author),
|
|
396
396
|
href: `/onboarding-guides/${view.slug}`
|
|
397
397
|
}
|
|
398
398
|
) }),
|
|
399
399
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
400
|
-
|
|
400
|
+
_chunkY2ZWWIUAcjs.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,
|
|
413
|
+
return renderShell(loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYAW7CHLVcjs.LoadingFallback, { label: "Loading the guide", children: page }) : page);
|
|
414
414
|
}
|
|
415
415
|
|
|
416
416
|
// src/components/onboarding-guides/hooks/use-onboarding-guides.ts
|
|
@@ -181,7 +181,19 @@ function TextLinesByBreakpointSkeleton({
|
|
|
181
181
|
type,
|
|
182
182
|
as,
|
|
183
183
|
lines: lines.lg,
|
|
184
|
-
className: _chunk63A4GZMBcjs.cn.call(void 0,
|
|
184
|
+
className: _chunk63A4GZMBcjs.cn.call(void 0,
|
|
185
|
+
lines.xl === void 0 ? "hidden w-full content-lg:flex" : "hidden w-full content-lg:flex content-xl:hidden",
|
|
186
|
+
className
|
|
187
|
+
)
|
|
188
|
+
}
|
|
189
|
+
),
|
|
190
|
+
lines.xl === void 0 ? null : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
191
|
+
TextLineSkeleton,
|
|
192
|
+
{
|
|
193
|
+
type,
|
|
194
|
+
as,
|
|
195
|
+
lines: lines.xl,
|
|
196
|
+
className: _chunk63A4GZMBcjs.cn.call(void 0, "hidden w-full content-xl:flex", className)
|
|
185
197
|
}
|
|
186
198
|
)
|
|
187
199
|
] });
|