@flamingo-stack/openframe-frontend-core 0.0.761 → 0.0.763
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/{chunk-7Z4EQOIX.cjs → chunk-22XAPV6N.cjs} +35 -35
- package/dist/{chunk-AXBVN5SW.cjs → chunk-2IFCRPNP.cjs} +38 -38
- package/dist/{chunk-TIV74DVS.cjs → chunk-3JUIDOHB.cjs} +43 -43
- package/dist/{chunk-CSJO7ZGN.cjs → chunk-3RYIF4OW.cjs} +3 -3
- package/dist/{chunk-35BJY5RR.cjs → chunk-47GZ33ND.cjs} +44 -44
- package/dist/{chunk-HQYWVNQL.cjs → chunk-4NGXJA3V.cjs} +4 -4
- package/dist/{chunk-GLQBCQOF.cjs → chunk-66FQUWKF.cjs} +59 -59
- package/dist/{chunk-LOM3S64Z.cjs → chunk-6XCE2VLH.cjs} +8 -8
- package/dist/{chunk-B7AOUPBV.cjs → chunk-AXGTRPF6.cjs} +20 -20
- package/dist/{chunk-6T6O36LT.cjs → chunk-CEJDHCFZ.cjs} +89 -89
- package/dist/{chunk-2ANICXS7.cjs → chunk-E4LA4BEH.cjs} +21 -21
- package/dist/{chunk-JHQNUWFM.cjs → chunk-EQZXJUYV.cjs} +3 -3
- package/dist/{chunk-LU7TD6QS.cjs → chunk-FQSXZC2K.cjs} +3 -3
- package/dist/{chunk-GKRHGVB4.cjs → chunk-G5NCY5IE.cjs} +100 -100
- package/dist/{chunk-QU5K52OP.cjs → chunk-GY2JESOC.cjs} +2 -2
- package/dist/{chunk-LOFDIDSD.cjs → chunk-GZKWF6NH.cjs} +9 -9
- package/dist/{chunk-NOFJH7MA.cjs → chunk-IJMPXTGV.cjs} +14 -14
- package/dist/{chunk-4EM7HIIM.cjs → chunk-IUIDZS6W.cjs} +574 -567
- package/dist/{chunk-VAZTFCVY.cjs → chunk-J4P47JHM.cjs} +20 -20
- package/dist/{chunk-G6IK3HC5.cjs → chunk-LUNXHJ53.cjs} +32 -32
- package/dist/{chunk-WBOHLXFC.cjs → chunk-LVKUMVUJ.cjs} +2 -2
- package/dist/{chunk-L2IQESTQ.cjs → chunk-M7YZGRAV.cjs} +2 -2
- package/dist/{chunk-R34JD6NP.cjs → chunk-MWLD6NXV.cjs} +3 -3
- package/dist/{chunk-W2RM764D.cjs → chunk-NET74KSQ.cjs} +5 -4
- package/dist/{chunk-B27XV2TC.cjs → chunk-NS64LMVE.cjs} +10 -10
- package/dist/{chunk-OBXZDUC3.cjs → chunk-O2VRIGDI.cjs} +83 -83
- package/dist/{chunk-QYLIHZKZ.cjs → chunk-OJJ4RL2T.cjs} +4 -4
- package/dist/{chunk-F64VMOIB.cjs → chunk-PE26VSWT.cjs} +19 -19
- package/dist/{chunk-D252ICCO.cjs → chunk-QCO32MEE.cjs} +17 -17
- package/dist/{chunk-KTPR66EE.cjs → chunk-R3TWQ3ZJ.cjs} +10 -0
- package/dist/{chunk-VUSXDMCE.cjs → chunk-RM6AHNM4.cjs} +7 -7
- package/dist/{chunk-T4BBZ5ST.cjs → chunk-RO72PRQI.cjs} +2 -2
- package/dist/{chunk-H45OTVYI.cjs → chunk-SU3EXXVC.cjs} +22 -22
- package/dist/{chunk-WI2OTGKC.cjs → chunk-SVP6DJFL.cjs} +2 -2
- package/dist/{chunk-SUHPBFNU.cjs → chunk-TQPQKBBL.cjs} +242 -240
- package/dist/{chunk-5E6JHOGX.cjs → chunk-TSJUL6IH.cjs} +3 -3
- package/dist/{chunk-EMSOBT6R.cjs → chunk-UUBHKQOH.cjs} +6 -6
- package/dist/{chunk-VUWPLQBY.cjs → chunk-XCH7SPGI.cjs} +44 -44
- package/dist/{chunk-6M54EVOA.cjs → chunk-ZUF5WDGE.cjs} +28 -28
- package/dist/{cloud-tenants-BDGV4N2T.cjs → cloud-tenants-4AGSRBJ2.cjs} +22 -22
- package/dist/components/case-studies/index.cjs +36 -36
- package/dist/components/chat/index.cjs +15 -15
- package/dist/components/contact/index.cjs +23 -23
- package/dist/components/docs/index.cjs +26 -26
- package/dist/components/embeds/index.cjs +23 -23
- package/dist/components/faq/index.cjs +24 -24
- package/dist/components/features/index.cjs +24 -22
- package/dist/components/features/walkthrough-video.d.ts +7 -0
- package/dist/components/features/walkthrough-video.d.ts.map +1 -1
- package/dist/components/features/walkthrough-video.js +9 -1
- package/dist/components/help-center-pages/index.cjs +125 -125
- package/dist/components/index.cjs +85 -83
- package/dist/components/meeting-scheduler/index.cjs +77 -77
- package/dist/components/navigation/index.cjs +25 -25
- package/dist/components/onboarding-guides/index.cjs +25 -25
- package/dist/components/product-demo/index.cjs +9 -9
- package/dist/components/related-content/index.cjs +10 -10
- package/dist/components/tickets/index.cjs +28 -28
- package/dist/components/ui/index.cjs +22 -22
- package/dist/{devices-Q5YHMXGV.cjs → devices-FKRZIBJP.cjs} +23 -23
- package/dist/{embeddable-chat-ST5IR6VN.cjs → embeddable-chat-HWQSP3DY.cjs} +93 -93
- package/dist/hooks/index.cjs +8 -8
- package/dist/index.cjs +30 -28
- package/dist/{knowledge-UJTJT36J.cjs → knowledge-25CBYZ7E.cjs} +23 -23
- package/dist/{logs-WMNITBLM.cjs → logs-HQ7NDBVV.cjs} +30 -30
- package/dist/platform-domains.cjs +2 -0
- package/dist/platform-domains.d.ts.map +1 -1
- package/dist/platform-domains.js +2 -0
- package/dist/{policies-TRXVBOH7.cjs → policies-2RV2CQD3.cjs} +26 -26
- package/dist/{remote-session-SKNXYG6K.cjs → remote-session-F72S6I7J.cjs} +9 -9
- package/dist/{scripts-HECY7XDL.cjs → scripts-32EM4WDI.cjs} +29 -29
- package/dist/{software-update-NNFLEMYD.cjs → software-update-WVIARIUG.cjs} +26 -26
- package/dist/{tickets-board-B2FH7Z4B.cjs → tickets-board-4PBXPSGJ.cjs} +12 -12
- package/dist/types/platform.d.ts +1 -1
- package/dist/types/platform.d.ts.map +1 -1
- package/dist/utils/index.cjs +13 -0
- package/dist/utils/platform-config.d.ts.map +1 -1
- package/dist/utils/platform-config.js +1 -0
- package/dist/utils/platform-identity.cjs +10 -0
- package/dist/utils/platform-identity.d.ts +3 -2
- package/dist/utils/platform-identity.d.ts.map +1 -1
- package/dist/utils/platform-identity.js +10 -0
- package/package.json +1 -1
- package/src/components/features/walkthrough-video.tsx +17 -0
- package/src/platform-domains.ts +2 -0
- package/src/styles/README.md +1 -0
- package/src/styles/ods-colors.css +16 -0
- package/src/types/platform.ts +1 -0
- package/src/utils/platform-config.tsx +1 -0
- package/src/utils/platform-identity.ts +19 -2
|
@@ -1,21 +1,21 @@
|
|
|
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 _chunkXCH7SPGIcjs = require('./chunk-XCH7SPGI.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkCEJDHCFZcjs = require('./chunk-CEJDHCFZ.cjs');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
var
|
|
13
|
+
var _chunkTQPQKBBLcjs = require('./chunk-TQPQKBBL.cjs');
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
var
|
|
18
|
+
var _chunk3RYIF4OWcjs = require('./chunk-3RYIF4OW.cjs');
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
var _chunkSKI6NKOEcjs = require('./chunk-SKI6NKOE.cjs');
|
|
@@ -25,10 +25,10 @@ var _chunkEWPR7662cjs = require('./chunk-EWPR7662.cjs');
|
|
|
25
25
|
|
|
26
26
|
|
|
27
27
|
|
|
28
|
-
var
|
|
28
|
+
var _chunkNS64LMVEcjs = require('./chunk-NS64LMVE.cjs');
|
|
29
29
|
|
|
30
30
|
|
|
31
|
-
var
|
|
31
|
+
var _chunk22XAPV6Ncjs = require('./chunk-22XAPV6N.cjs');
|
|
32
32
|
|
|
33
33
|
|
|
34
34
|
var _chunkASMNNSUQcjs = require('./chunk-ASMNNSUQ.cjs');
|
|
@@ -63,7 +63,7 @@ function FaqAccordion({ items, defaultOpenIds = [] }) {
|
|
|
63
63
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
64
64
|
"div",
|
|
65
65
|
{
|
|
66
|
-
id:
|
|
66
|
+
id: _chunkTQPQKBBLcjs.faqItemAnchor.call(void 0, item.id),
|
|
67
67
|
className: "scroll-mt-24 transition-colors hover:bg-ods-bg-hover",
|
|
68
68
|
children: [
|
|
69
69
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
@@ -116,14 +116,14 @@ function FaqAccordion({ items, defaultOpenIds = [] }) {
|
|
|
116
116
|
|
|
117
117
|
var PICK_ROOT_MARGIN = "600px";
|
|
118
118
|
function faqAskCardShown(assistant) {
|
|
119
|
-
return
|
|
119
|
+
return _chunkCEJDHCFZcjs.assistantAvailable.call(void 0, assistant) && !!assistant.name;
|
|
120
120
|
}
|
|
121
121
|
function FaqAskCard({ topic, exclude, count, title, description, onOpen }) {
|
|
122
|
-
const { ref, inView } =
|
|
122
|
+
const { ref, inView } = _chunk3RYIF4OWcjs.useInView.call(void 0, { rootMargin: PICK_ROOT_MARGIN });
|
|
123
123
|
const [reached, setReached] = _react.useState.call(void 0, false);
|
|
124
124
|
if (inView && !reached) setReached(true);
|
|
125
125
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
126
|
-
|
|
126
|
+
_chunkCEJDHCFZcjs.AssistantAskPrompts,
|
|
127
127
|
{
|
|
128
128
|
variant: "card",
|
|
129
129
|
topic,
|
|
@@ -176,7 +176,7 @@ function pageFaqProps(faq) {
|
|
|
176
176
|
}
|
|
177
177
|
function buildFaqsUrl(entityType, entityId, minResults, apiBaseUrl = "", topic) {
|
|
178
178
|
const entityScoped = !!entityType && entityId !== void 0 && entityId !== null && entityId !== "";
|
|
179
|
-
return
|
|
179
|
+
return _chunkNS64LMVEcjs.buildSuggestionUrl.call(void 0, "/api/faqs", {
|
|
180
180
|
apiBaseUrl,
|
|
181
181
|
entityType,
|
|
182
182
|
entityId,
|
|
@@ -197,7 +197,7 @@ function groupFaqsBySection(faqs) {
|
|
|
197
197
|
}
|
|
198
198
|
let group = byName.get(name);
|
|
199
199
|
if (!group) {
|
|
200
|
-
group = { section: name, slug:
|
|
200
|
+
group = { section: name, slug: _chunkTQPQKBBLcjs.faqSectionSlug.call(void 0, name), items: [] };
|
|
201
201
|
byName.set(name, group);
|
|
202
202
|
}
|
|
203
203
|
group.items.push(item);
|
|
@@ -242,7 +242,7 @@ function GroupedFaqList({
|
|
|
242
242
|
}
|
|
243
243
|
if (bestId) setActiveSlug(bestId);
|
|
244
244
|
},
|
|
245
|
-
{ rootMargin: `-${
|
|
245
|
+
{ rootMargin: `-${_chunk3RYIF4OWcjs.STICKY_HEADER_OFFSET_PX}px 0px -55% 0px`, threshold: 0 }
|
|
246
246
|
);
|
|
247
247
|
for (const group of navGroupsRef.current) {
|
|
248
248
|
const el = group.slug ? document.getElementById(group.slug) : null;
|
|
@@ -252,7 +252,7 @@ function GroupedFaqList({
|
|
|
252
252
|
}, [slugKey]);
|
|
253
253
|
const [hashTarget, setHashTarget] = _react.useState.call(void 0, null);
|
|
254
254
|
_react.useEffect.call(void 0, () => {
|
|
255
|
-
const refresh = () => setHashTarget(
|
|
255
|
+
const refresh = () => setHashTarget(_chunkTQPQKBBLcjs.parseFaqHash.call(void 0, window.location.hash));
|
|
256
256
|
refresh();
|
|
257
257
|
window.addEventListener("hashchange", refresh);
|
|
258
258
|
return () => window.removeEventListener("hashchange", refresh);
|
|
@@ -269,7 +269,7 @@ function GroupedFaqList({
|
|
|
269
269
|
}, [groups, hashTarget]);
|
|
270
270
|
const accordionKeySuffix = _optionalChain([hashTarget, 'optionalAccess', _8 => _8.kind]) === "item" ? `item:${hashTarget.rawId}` : "default";
|
|
271
271
|
const scrollDep = `${groups.length}|` + (_optionalChain([hashTarget, 'optionalAccess', _9 => _9.kind]) === "item" ? `item:${hashTarget.rawId}` : _optionalChain([hashTarget, 'optionalAccess', _10 => _10.kind]) === "section" ? `section:${hashTarget.slug}` : "none");
|
|
272
|
-
|
|
272
|
+
_chunkXCH7SPGIcjs.useScrollToHash.call(void 0, scrollDep, { headerOffset: _chunk3RYIF4OWcjs.STICKY_HEADER_OFFSET_PX });
|
|
273
273
|
const [pillSyncedHash, setPillSyncedHash] = _react.useState.call(void 0, hashTarget);
|
|
274
274
|
if (pillSyncedHash !== hashTarget) {
|
|
275
275
|
setPillSyncedHash(hashTarget);
|
|
@@ -277,8 +277,8 @@ function GroupedFaqList({
|
|
|
277
277
|
}
|
|
278
278
|
const handleJump = _react.useCallback.call(void 0, (e, slug) => {
|
|
279
279
|
e.preventDefault();
|
|
280
|
-
|
|
281
|
-
headerOffset:
|
|
280
|
+
_chunk3RYIF4OWcjs.navigateSamePageHash.call(void 0, "#" + slug, {
|
|
281
|
+
headerOffset: _chunk3RYIF4OWcjs.STICKY_HEADER_OFFSET_PX,
|
|
282
282
|
history: "replace"
|
|
283
283
|
});
|
|
284
284
|
}, []);
|
|
@@ -302,7 +302,7 @@ function GroupedFaqList({
|
|
|
302
302
|
const questions = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-10", children: groups.map((group) => {
|
|
303
303
|
const key = groupKey(group);
|
|
304
304
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "section", { id: _nullishCoalesce(group.slug, () => ( void 0)), className: "scroll-mt-24 space-y-4", children: [
|
|
305
|
-
group.section && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CategoryHeading, { className:
|
|
305
|
+
group.section && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CategoryHeading, { className: _chunk22XAPV6Ncjs.SECTION_HEADING_CLASS, children: group.section }),
|
|
306
306
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
307
307
|
FaqAccordion,
|
|
308
308
|
{
|
|
@@ -363,11 +363,11 @@ function FaqSection({
|
|
|
363
363
|
() => initialFaqs ? { faqs: initialFaqs } : void 0,
|
|
364
364
|
[initialFaqs]
|
|
365
365
|
);
|
|
366
|
-
const { data, dataUrl, isLoading, error } =
|
|
366
|
+
const { data, dataUrl, isLoading, error } = _chunkNS64LMVEcjs.useSelfFetch.call(void 0, url, { initialData });
|
|
367
367
|
const held = dataUrl === url ? _optionalChain([data, 'optionalAccess', _15 => _15.faqs]) : void 0;
|
|
368
368
|
const faqs = _react.useMemo.call(void 0, () => _nullishCoalesce(held, () => ( [])), [held]);
|
|
369
369
|
const groups = _react.useMemo.call(void 0, () => faqs.length > 0 ? groupFaqsBySection(faqs) : [], [faqs]);
|
|
370
|
-
const titleNode = heading === void 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className:
|
|
370
|
+
const titleNode = heading === void 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: _chunk22XAPV6Ncjs.SECTION_HEADING_CLASS, children: DEFAULT_HEADING_TEXT }) : heading;
|
|
371
371
|
const headingNode = showTopic && topic ? (
|
|
372
372
|
// The host's heading may arrive from a server component, still streaming: React cannot check such a
|
|
373
373
|
// node when it sits in a list of siblings and warns about a missing key. So it is the ONLY child of its
|
|
@@ -2,29 +2,29 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkRM6AHNM4cjs = require('./chunk-RM6AHNM4.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkIJMPXTGVcjs = require('./chunk-IJMPXTGV.cjs');
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
var
|
|
16
|
+
var _chunkIUIDZS6Wcjs = require('./chunk-IUIDZS6W.cjs');
|
|
17
17
|
|
|
18
18
|
|
|
19
|
-
var
|
|
19
|
+
var _chunk2IFCRPNPcjs = require('./chunk-2IFCRPNP.cjs');
|
|
20
20
|
|
|
21
21
|
|
|
22
|
-
var
|
|
22
|
+
var _chunkCEJDHCFZcjs = require('./chunk-CEJDHCFZ.cjs');
|
|
23
23
|
|
|
24
24
|
|
|
25
25
|
|
|
26
26
|
|
|
27
|
-
var
|
|
27
|
+
var _chunkTQPQKBBLcjs = require('./chunk-TQPQKBBL.cjs');
|
|
28
28
|
|
|
29
29
|
|
|
30
30
|
var _chunk3RFQPQ7Zcjs = require('./chunk-3RFQPQ7Z.cjs');
|
|
@@ -34,13 +34,13 @@ var _chunk3RFQPQ7Zcjs = require('./chunk-3RFQPQ7Z.cjs');
|
|
|
34
34
|
var _chunk7DNL734Scjs = require('./chunk-7DNL734S.cjs');
|
|
35
35
|
|
|
36
36
|
|
|
37
|
-
var
|
|
37
|
+
var _chunkNS64LMVEcjs = require('./chunk-NS64LMVE.cjs');
|
|
38
38
|
|
|
39
39
|
|
|
40
40
|
|
|
41
41
|
|
|
42
42
|
|
|
43
|
-
var
|
|
43
|
+
var _chunk22XAPV6Ncjs = require('./chunk-22XAPV6N.cjs');
|
|
44
44
|
|
|
45
45
|
|
|
46
46
|
var _chunkI5MSCD57cjs = require('./chunk-I5MSCD57.cjs');
|
|
@@ -76,7 +76,7 @@ function OnboardingGuidesCatalogSkeleton({
|
|
|
76
76
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-6 w-40 rounded" }),
|
|
77
77
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-5 w-8 rounded-full" })
|
|
78
78
|
] }),
|
|
79
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "ul", { className: "flex flex-col gap-4", children: Array.from({ length: cardCount }).map((_, cardIdx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "li", { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
79
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "ul", { className: "flex flex-col gap-4", children: Array.from({ length: cardCount }).map((_, cardIdx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "li", { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk22XAPV6Ncjs.OnboardingGuideCardSkeleton, { size: "catalog" }) }, cardIdx)) })
|
|
80
80
|
] }, sectionIdx)) })
|
|
81
81
|
] });
|
|
82
82
|
}
|
|
@@ -100,10 +100,10 @@ function OnboardingGuidesCatalogView({
|
|
|
100
100
|
const sectionValue = selfFetch ? _nullishCoalesce(searchParams.get("section"), () => ( "")) : initialSection;
|
|
101
101
|
const activeSection = sectionValue || "all";
|
|
102
102
|
const guidesQs = sectionValue ? `?section=${encodeURIComponent(sectionValue)}` : "";
|
|
103
|
-
const guidesRes =
|
|
103
|
+
const guidesRes = _chunkNS64LMVEcjs.useSelfFetch.call(void 0,
|
|
104
104
|
selfFetch && guidesEndpoint ? `${guidesEndpoint}${guidesQs}` : null
|
|
105
105
|
);
|
|
106
|
-
const sectionsRes =
|
|
106
|
+
const sectionsRes = _chunkNS64LMVEcjs.useSelfFetch.call(void 0, selfFetch && sectionsEndpoint ? sectionsEndpoint : null);
|
|
107
107
|
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])]);
|
|
108
108
|
const sections = _react.useMemo.call(void 0,
|
|
109
109
|
() => _nullishCoalesce(initialSections, () => ( (Array.isArray(sectionsRes.data) ? sectionsRes.data : []))),
|
|
@@ -146,25 +146,25 @@ function OnboardingGuidesCatalogView({
|
|
|
146
146
|
});
|
|
147
147
|
};
|
|
148
148
|
const source = _nullishCoalesce(_optionalChain([runtime, 'optionalAccess', _6 => _6.source]), () => ( "openframe"));
|
|
149
|
-
const docSearch =
|
|
149
|
+
const docSearch = _chunkIJMPXTGVcjs.useDocSearch.call(void 0, {
|
|
150
150
|
source,
|
|
151
151
|
baseRoute: basePath,
|
|
152
152
|
onNavigate: (path) => router.push(path),
|
|
153
153
|
tableIds: ["onboarding-guides"]
|
|
154
154
|
});
|
|
155
155
|
const defaultRenderCard = (guide) => {
|
|
156
|
-
const cta =
|
|
156
|
+
const cta = _chunkCEJDHCFZcjs.resolveContentHref.call(void 0, _optionalChain([runtime, 'optionalAccess', _7 => _7.composeContentUrl]), {
|
|
157
157
|
type: "onboarding_guide",
|
|
158
158
|
slug: guide.slug,
|
|
159
159
|
basePath,
|
|
160
160
|
platforms: guide.onboarding_guide_platforms
|
|
161
161
|
});
|
|
162
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
162
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk22XAPV6Ncjs.OnboardingGuideCard, { guide, href: cta.href, targetPlatform: cta.targetPlatform, size: "catalog" });
|
|
163
163
|
};
|
|
164
164
|
const renderCardFn = _nullishCoalesce(renderCard, () => ( defaultRenderCard));
|
|
165
165
|
const preControls = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-4", children: [
|
|
166
166
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
167
|
-
|
|
167
|
+
_chunkIJMPXTGVcjs.DocSearchBar,
|
|
168
168
|
{
|
|
169
169
|
placeholder: "Search onboarding guides, releases, case studies\u2026",
|
|
170
170
|
query: docSearch.query,
|
|
@@ -176,7 +176,7 @@ function OnboardingGuidesCatalogView({
|
|
|
176
176
|
}
|
|
177
177
|
),
|
|
178
178
|
sections.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
179
|
-
|
|
179
|
+
_chunkIUIDZS6Wcjs.FilterPillRow,
|
|
180
180
|
{
|
|
181
181
|
label: "Section",
|
|
182
182
|
selectedValue: activeSection,
|
|
@@ -186,7 +186,7 @@ function OnboardingGuidesCatalogView({
|
|
|
186
186
|
)
|
|
187
187
|
] });
|
|
188
188
|
if (selfFetch && guidesRes.error) {
|
|
189
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
189
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIUIDZS6Wcjs.LoadError, { message: "Failed to load onboarding guides.", onRetry: guidesRes.reload });
|
|
190
190
|
}
|
|
191
191
|
if (selfFetch && guidesRes.data == null && isLoading) {
|
|
192
192
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, OnboardingGuidesCatalogSkeleton, {});
|
|
@@ -218,7 +218,7 @@ function OnboardingGuideDetailView({
|
|
|
218
218
|
slug,
|
|
219
219
|
guideEndpoint,
|
|
220
220
|
related = [],
|
|
221
|
-
MarkdownRenderer =
|
|
221
|
+
MarkdownRenderer = _chunkIUIDZS6Wcjs.RichMarkdownRenderer,
|
|
222
222
|
renderRelatedCard,
|
|
223
223
|
backHref,
|
|
224
224
|
backLabel = "Back to Getting Started",
|
|
@@ -228,23 +228,23 @@ function OnboardingGuideDetailView({
|
|
|
228
228
|
}) {
|
|
229
229
|
const resolvedBackHref = _nullishCoalesce(backHref, () => ( basePath));
|
|
230
230
|
const runtime = _chunkUJ7AXHRZcjs.useChatRuntime.call(void 0, );
|
|
231
|
-
const captions =
|
|
231
|
+
const captions = _chunkTQPQKBBLcjs.useCaptions.call(void 0, );
|
|
232
232
|
const router = _chunk7DNL734Scjs.useRouter.call(void 0, );
|
|
233
|
-
const renderShell = (node) => shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
233
|
+
const renderShell = (node) => shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIUIDZS6Wcjs.PageShell, { children: node }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: node });
|
|
234
234
|
const url = initialData ? null : slug && guideEndpoint ? guideEndpoint(slug) : null;
|
|
235
|
-
const { data: guide, isLoading, error, reload } =
|
|
235
|
+
const { data: guide, isLoading, error, reload } = _chunkNS64LMVEcjs.useSelfFetch.call(void 0, url, { initialData });
|
|
236
236
|
const { ref: videoWarmupRef } = _chunk3RFQPQ7Zcjs.useVideoWarmup.call(void 0, {
|
|
237
237
|
videoUrl: _optionalChain([guide, 'optionalAccess', _8 => _8.main_video_url]),
|
|
238
238
|
supabaseStorageOrigin: _optionalChain([runtime, 'optionalAccess', _9 => _9.endpoints, 'access', _10 => _10.supabaseStorageOrigin])
|
|
239
239
|
});
|
|
240
240
|
if (error || !guide && !isLoading) {
|
|
241
|
-
return renderShell(/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
241
|
+
return renderShell(/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIUIDZS6Wcjs.LoadError, { message: "Guide not found.", onRetry: reload }));
|
|
242
242
|
}
|
|
243
243
|
if (!guide) {
|
|
244
244
|
return renderShell(
|
|
245
245
|
// Match the loaded page's top offset (TitleBlock's
|
|
246
246
|
// `pt-[var(--spacing-system-l)]`) so content doesn't jump on load.
|
|
247
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pt-[var(--spacing-system-l)]", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
247
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pt-[var(--spacing-system-l)]", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRM6AHNM4cjs.DetailPageSkeleton, { bare: true, showImageGallery: false }) })
|
|
248
248
|
);
|
|
249
249
|
}
|
|
250
250
|
const { captionsUrl, highlightCaptionsUrl } = captions.forEntity("onboarding_guide", guide);
|
|
@@ -252,27 +252,27 @@ function OnboardingGuideDetailView({
|
|
|
252
252
|
// worst), so it's the terminal fallback — no trailing `|| undefined` needed.
|
|
253
253
|
_chunkI5MSCD57cjs.buildOgPlaceholderUrl.call(void 0, _optionalChain([runtime, 'optionalAccess', _11 => _11.endpoints]), guide.title, { aspect: "wide" });
|
|
254
254
|
const defaultRenderRelatedCard = (g) => {
|
|
255
|
-
const cta =
|
|
255
|
+
const cta = _chunkCEJDHCFZcjs.resolveContentHref.call(void 0, _optionalChain([runtime, 'optionalAccess', _12 => _12.composeContentUrl]), {
|
|
256
256
|
type: "onboarding_guide",
|
|
257
257
|
slug: g.slug,
|
|
258
258
|
basePath,
|
|
259
259
|
platforms: g.onboarding_guide_platforms
|
|
260
260
|
});
|
|
261
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
261
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk22XAPV6Ncjs.OnboardingGuideCard, { guide: g, href: cta.href, targetPlatform: cta.targetPlatform });
|
|
262
262
|
};
|
|
263
263
|
const renderRelatedCardFn = _nullishCoalesce(renderRelatedCard, () => ( defaultRenderRelatedCard));
|
|
264
264
|
return renderShell(
|
|
265
265
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
266
|
-
|
|
266
|
+
_chunk2IFCRPNPcjs.PageLayout,
|
|
267
267
|
{
|
|
268
268
|
title: guide.title,
|
|
269
269
|
titleSize: "h1",
|
|
270
270
|
titleWrap: true,
|
|
271
271
|
backButton: { label: backLabel, onClick: () => router.push(resolvedBackHref) },
|
|
272
272
|
children: [
|
|
273
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
273
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIUIDZS6Wcjs.EntityTagBadges, { tags: guide.onboarding_guide_tags }),
|
|
274
274
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
275
|
-
|
|
275
|
+
_chunk22XAPV6Ncjs.EntityAuthorCard,
|
|
276
276
|
{
|
|
277
277
|
author: guide.author,
|
|
278
278
|
authorHref,
|
|
@@ -287,7 +287,7 @@ function OnboardingGuideDetailView({
|
|
|
287
287
|
}
|
|
288
288
|
),
|
|
289
289
|
(guide.main_video_url || guide.youtube_url) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: videoWarmupRef, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
290
|
-
|
|
290
|
+
_chunkTQPQKBBLcjs.EntityVideoSection,
|
|
291
291
|
{
|
|
292
292
|
mainVideoUrl: guide.main_video_url,
|
|
293
293
|
youtubeUrl: guide.youtube_url || void 0,
|
|
@@ -304,17 +304,17 @@ function OnboardingGuideDetailView({
|
|
|
304
304
|
) }),
|
|
305
305
|
guide.content && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-4", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MarkdownRenderer, { content: guide.content }) }),
|
|
306
306
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
307
|
-
|
|
307
|
+
_chunkTQPQKBBLcjs.VideoBitesStrip,
|
|
308
308
|
{
|
|
309
309
|
bites: _nullishCoalesce(guide.video_bites, () => ( [])),
|
|
310
310
|
filterPublished: true,
|
|
311
311
|
showTitle: false,
|
|
312
|
-
profile:
|
|
312
|
+
profile: _chunk22XAPV6Ncjs.toStripProfile.call(void 0, guide.author),
|
|
313
313
|
href: `/onboarding-guides/${guide.slug}`
|
|
314
314
|
}
|
|
315
315
|
),
|
|
316
316
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
317
|
-
|
|
317
|
+
_chunkRM6AHNM4cjs.ArticleAuthorByline,
|
|
318
318
|
{
|
|
319
319
|
author: _nullishCoalesce(_optionalChain([guide, 'access', _13 => _13.author, 'optionalAccess', _14 => _14.full_name]), () => ( null)),
|
|
320
320
|
avatar: _optionalChain([guide, 'access', _15 => _15.author, 'optionalAccess', _16 => _16.avatar_url]),
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkTSJUL6IHcjs = require('./chunk-TSJUL6IH.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
var _chunk3ATAYP36cjs = require('./chunk-3ATAYP36.cjs');
|
|
@@ -116,7 +116,7 @@ function PersistentPaginationWrapper({
|
|
|
116
116
|
},
|
|
117
117
|
"aria-hidden": isPaginationDisabled,
|
|
118
118
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
119
|
-
|
|
119
|
+
_chunkTSJUL6IHcjs.UnifiedPagination,
|
|
120
120
|
{
|
|
121
121
|
currentPage: displayCurrentPage,
|
|
122
122
|
totalPages: displayTotalPages,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }"use client";
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkEQZXJUYVcjs = require('./chunk-EQZXJUYV.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
var _chunk3ATAYP36cjs = require('./chunk-3ATAYP36.cjs');
|
|
@@ -44,7 +44,7 @@ function AvatarStack({
|
|
|
44
44
|
"aria-label": `${label}: ${names}${unnamed > 0 ? ` and ${unnamed} more` : ""}`,
|
|
45
45
|
children: [
|
|
46
46
|
visible.map((person, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
47
|
-
|
|
47
|
+
_chunkEQZXJUYVcjs.SquareAvatar,
|
|
48
48
|
{
|
|
49
49
|
variant: "round",
|
|
50
50
|
size,
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkR3TWQ3ZJcjs = require('./chunk-R3TWQ3ZJ.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
var _chunk3LU4UFPScjs = require('./chunk-3LU4UFPS.cjs');
|
|
@@ -21,8 +21,8 @@ function contentBreakpointFor(width) {
|
|
|
21
21
|
}
|
|
22
22
|
function useContentBreakpoint() {
|
|
23
23
|
const width = _react.useContext.call(void 0, ContentAreaWidthContext);
|
|
24
|
-
const mdUp =
|
|
25
|
-
const lgUp =
|
|
24
|
+
const mdUp = _chunkR3TWQ3ZJcjs.useMdUp.call(void 0, );
|
|
25
|
+
const lgUp = _chunkR3TWQ3ZJcjs.useLgUp.call(void 0, );
|
|
26
26
|
if (width !== null) return contentBreakpointFor(width);
|
|
27
27
|
if (mdUp === void 0) return void 0;
|
|
28
28
|
if (lgUp) return "desktop";
|
|
@@ -5,7 +5,7 @@ var _chunkASMNNSUQcjs = require('./chunk-ASMNNSUQ.cjs');
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkR3TWQ3ZJcjs = require('./chunk-R3TWQ3ZJ.cjs');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
var _chunk3ATAYP36cjs = require('./chunk-3ATAYP36.cjs');
|
|
@@ -71,9 +71,9 @@ function useVisitorOs() {
|
|
|
71
71
|
// src/utils/platform-config.tsx
|
|
72
72
|
|
|
73
73
|
function renderPlatformIcon(platformName, className) {
|
|
74
|
-
return _react.createElement.call(void 0,
|
|
74
|
+
return _react.createElement.call(void 0, _chunkR3TWQ3ZJcjs.PlatformMark, {
|
|
75
75
|
platform: platformName,
|
|
76
|
-
className: _chunk3ATAYP36cjs.cn.call(void 0, className,
|
|
76
|
+
className: _chunk3ATAYP36cjs.cn.call(void 0, className, _chunkR3TWQ3ZJcjs.getPlatformBrandClasses.call(void 0, platformName).accentText)
|
|
77
77
|
});
|
|
78
78
|
}
|
|
79
79
|
var platformIcons = {
|
|
@@ -84,6 +84,7 @@ var platformIcons = {
|
|
|
84
84
|
"product-hub": renderPlatformIcon("product-hub", "h-5 w-5"),
|
|
85
85
|
"revenue-hub": renderPlatformIcon("revenue-hub", "h-5 w-5"),
|
|
86
86
|
"people-hub": renderPlatformIcon("people-hub", "h-5 w-5"),
|
|
87
|
+
"coding-hub": renderPlatformIcon("coding-hub", "h-5 w-5"),
|
|
87
88
|
"company-hub": renderPlatformIcon("company-hub", "h-5 w-5"),
|
|
88
89
|
tmcg: renderPlatformIcon("tmcg", "h-5 w-5"),
|
|
89
90
|
mlg: renderPlatformIcon("mlg", "h-5 w-5"),
|
|
@@ -112,7 +113,7 @@ function getPlatformIconComponent(platformName, className = "h-6 w-6") {
|
|
|
112
113
|
return renderPlatformIcon(platformName, className);
|
|
113
114
|
}
|
|
114
115
|
function getPlatformColorClass(platformName) {
|
|
115
|
-
return
|
|
116
|
+
return _chunkR3TWQ3ZJcjs.getPlatformBrandClasses.call(void 0, platformName).accentBg;
|
|
116
117
|
}
|
|
117
118
|
|
|
118
119
|
// src/utils/access-code-client.ts
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunk22XAPV6Ncjs = require('./chunk-22XAPV6N.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunkEQZXJUYVcjs = require('./chunk-EQZXJUYV.cjs');
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
var _chunkASMNNSUQcjs = require('./chunk-ASMNNSUQ.cjs');
|
|
@@ -57,7 +57,7 @@ function pickBadgePaletteColor({
|
|
|
57
57
|
var _jsxruntime = require('react/jsx-runtime');
|
|
58
58
|
function PaletteBadge({ text, color, className, variant = "button" }) {
|
|
59
59
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
60
|
-
|
|
60
|
+
_chunk22XAPV6Ncjs.StatusBadge,
|
|
61
61
|
{
|
|
62
62
|
text,
|
|
63
63
|
colorScheme: isBadgePaletteKey(color) ? color : "default",
|
|
@@ -238,7 +238,7 @@ var STATUS_BADGE_SCHEME = {
|
|
|
238
238
|
abandoned: "default"
|
|
239
239
|
};
|
|
240
240
|
function EmployeeEntryBadge({ children }) {
|
|
241
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
241
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk22XAPV6Ncjs.StatusBadge, { text: children, colorScheme: "default", variant: "button", singleLine: true });
|
|
242
242
|
}
|
|
243
243
|
function EmployeeEntryCard({
|
|
244
244
|
entry,
|
|
@@ -251,7 +251,7 @@ function EmployeeEntryCard({
|
|
|
251
251
|
className
|
|
252
252
|
}) {
|
|
253
253
|
const card = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
254
|
-
|
|
254
|
+
_chunk22XAPV6Ncjs.AdminContentCard,
|
|
255
255
|
{
|
|
256
256
|
imageUrl: entry.featured_image || entry.main_video_thumbnail,
|
|
257
257
|
placeholderUrl,
|
|
@@ -259,7 +259,7 @@ function EmployeeEntryCard({
|
|
|
259
259
|
summary: (_nullishCoalesce(entry.summary, () => ( ""))).slice(0, 140) || "No description",
|
|
260
260
|
badges: entry.status || extraBadges ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
261
261
|
entry.status ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
262
|
-
|
|
262
|
+
_chunk22XAPV6Ncjs.StatusBadge,
|
|
263
263
|
{
|
|
264
264
|
text: entry.status,
|
|
265
265
|
colorScheme: _nullishCoalesce(STATUS_BADGE_SCHEME[entry.status], () => ( "default")),
|
|
@@ -274,7 +274,7 @@ function EmployeeEntryCard({
|
|
|
274
274
|
_optionalChain([entry, 'access', _8 => _8.author, 'optionalAccess', _9 => _9.avatar_url]) ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
275
275
|
_chunkHOTM4UM6cjs.next_image_default,
|
|
276
276
|
{
|
|
277
|
-
src: _nullishCoalesce(
|
|
277
|
+
src: _nullishCoalesce(_chunk22XAPV6Ncjs.getProxiedImageUrl2.call(void 0, entry.author.avatar_url), () => ( entry.author.avatar_url)),
|
|
278
278
|
alt: "",
|
|
279
279
|
className: "h-[1lh] w-[1lh] shrink-0 rounded-full object-cover",
|
|
280
280
|
width: 20,
|
|
@@ -305,7 +305,7 @@ function WhatIShippedCard({ entry, placeholderUrl, actions, anchorProps, classNa
|
|
|
305
305
|
EmployeeEntryCard,
|
|
306
306
|
{
|
|
307
307
|
entry,
|
|
308
|
-
dateLabel:
|
|
308
|
+
dateLabel: _chunkEQZXJUYVcjs.formatEntryMonthUTC.call(void 0, entry.entry_month, "short"),
|
|
309
309
|
placeholderUrl,
|
|
310
310
|
actions,
|
|
311
311
|
anchorProps,
|
|
@@ -325,7 +325,7 @@ function HowIWorkCard({ entry, placeholderUrl, actions, anchorProps, className }
|
|
|
325
325
|
EmployeeEntryCard,
|
|
326
326
|
{
|
|
327
327
|
entry,
|
|
328
|
-
dateLabel: entry.session_date ?
|
|
328
|
+
dateLabel: entry.session_date ? _chunkEQZXJUYVcjs.formatDateUTC.call(void 0, entry.session_date, { fallback: "" }) || null : null,
|
|
329
329
|
extraBadges: entry.discipline ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, EmployeeEntryBadge, { children: disciplineLabel(entry.discipline) }) : null,
|
|
330
330
|
untitledLabel: "Untitled session",
|
|
331
331
|
placeholderUrl,
|
|
@@ -346,7 +346,7 @@ function AiPromptCard({ entry, placeholderUrl, actions, anchorProps, className }
|
|
|
346
346
|
EmployeeEntryCard,
|
|
347
347
|
{
|
|
348
348
|
entry,
|
|
349
|
-
dateLabel: entry.published_at ?
|
|
349
|
+
dateLabel: entry.published_at ? _chunkEQZXJUYVcjs.formatDateUTC.call(void 0, entry.published_at, { fallback: "" }) || null : null,
|
|
350
350
|
extraBadges: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
351
351
|
departmentName ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DepartmentBadge, { department: { name: departmentName, color: _nullishCoalesce(_optionalChain([entry, 'access', _16 => _16.department, 'optionalAccess', _17 => _17.color]), () => ( null)) } }) : null,
|
|
352
352
|
steps > 1 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, EmployeeEntryBadge, { children: `${steps} steps` }) : null
|