@flamingo-stack/openframe-frontend-core 0.0.733 → 0.0.734
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/{chunk-TIMCHP4X.cjs → chunk-2OHBH6PS.cjs} +42 -42
- package/dist/{chunk-AV5533DH.cjs → chunk-3NANWZO3.cjs} +11 -11
- package/dist/{chunk-HSWHOCZ3.cjs → chunk-4Q34V7MD.cjs} +16 -16
- package/dist/{chunk-3KGICRH7.cjs → chunk-4V672TEI.cjs} +311 -311
- package/dist/{chunk-FNRMDDVN.cjs → chunk-5DDFSGCE.cjs} +33 -33
- package/dist/{chunk-IC4FT3A6.cjs → chunk-5OGT7H2S.cjs} +11 -11
- package/dist/{chunk-GB3CHAW7.cjs → chunk-73ZW3265.cjs} +75 -75
- package/dist/{chunk-U4T5NLZD.cjs → chunk-AOTOOGNX.cjs} +3 -3
- package/dist/{chunk-XY632BCH.cjs → chunk-CMUEFHM3.cjs} +4 -4
- package/dist/{chunk-EMG3T55N.cjs → chunk-D34BLEIR.cjs} +2 -2
- package/dist/{chunk-P3R23TOE.cjs → chunk-DHIISS4W.cjs} +15 -5
- package/dist/{chunk-3UTPZW36.cjs → chunk-EMBH2EJO.cjs} +65 -65
- package/dist/{chunk-E26I4XH6.cjs → chunk-FA5SMA7L.cjs} +4 -4
- package/dist/{chunk-YIXKH2JO.cjs → chunk-HAWQA5FI.cjs} +107 -107
- package/dist/{chunk-CJVAA7KL.cjs → chunk-JRC3KXKV.cjs} +30 -30
- package/dist/{chunk-EQORT7NK.cjs → chunk-KSXZABGH.cjs} +31 -31
- package/dist/{chunk-ZBNA6TCW.cjs → chunk-L7WJBJU7.cjs} +63 -63
- package/dist/{chunk-XDWY6HAW.cjs → chunk-OV7QQHLG.cjs} +15 -15
- package/dist/{chunk-ATMBJBOI.cjs → chunk-R65UD6BH.cjs} +12 -12
- package/dist/{chunk-J7JKPTGO.cjs → chunk-TLQQP2EL.cjs} +6 -6
- package/dist/{cloud-tenants-3GOGR3EN.cjs → cloud-tenants-HU7YZD33.cjs} +6 -6
- package/dist/components/case-studies/index.cjs +18 -18
- package/dist/components/chat/index.cjs +5 -5
- package/dist/components/contact/index.cjs +7 -7
- package/dist/components/docs/index.cjs +10 -10
- package/dist/components/embeds/index.cjs +7 -7
- package/dist/components/faq/index.cjs +7 -7
- package/dist/components/features/index.cjs +6 -6
- package/dist/components/help-center-pages/index.cjs +96 -96
- package/dist/components/index.cjs +53 -53
- package/dist/components/layout/page-heading.d.ts +9 -1
- package/dist/components/layout/page-heading.d.ts.map +1 -1
- package/dist/components/layout/page-heading.js +15 -5
- package/dist/components/meeting-scheduler/index.cjs +23 -23
- package/dist/components/navigation/index.cjs +9 -9
- package/dist/components/onboarding-guides/index.cjs +9 -9
- package/dist/components/product-demo/index.cjs +6 -6
- package/dist/components/related-content/index.cjs +4 -4
- package/dist/components/tickets/index.cjs +10 -10
- package/dist/components/ui/index.cjs +6 -6
- package/dist/{devices-POZXTP7X.cjs → devices-CKLN7BHY.cjs} +7 -7
- package/dist/{embeddable-chat-I3Y5GCCR.cjs → embeddable-chat-FTAX4SVV.cjs} +71 -71
- package/dist/index.cjs +10 -10
- package/dist/{knowledge-AP34IMXN.cjs → knowledge-NRLHSCC5.cjs} +7 -7
- package/dist/{logs-CEVMIOPW.cjs → logs-BR6SLYAF.cjs} +14 -14
- package/dist/{policies-AMBMRCGB.cjs → policies-MQRXBYG2.cjs} +10 -10
- package/dist/{software-update-Z3MWMSHI.cjs → software-update-RUGIQP7N.cjs} +9 -9
- package/package.json +1 -1
- package/src/components/layout/page-heading.tsx +37 -7
|
@@ -105,7 +105,7 @@ var _chunkYUMFVQINcjs = require('./chunk-YUMFVQIN.cjs');
|
|
|
105
105
|
|
|
106
106
|
|
|
107
107
|
|
|
108
|
-
var
|
|
108
|
+
var _chunkEMBH2EJOcjs = require('./chunk-EMBH2EJO.cjs');
|
|
109
109
|
|
|
110
110
|
|
|
111
111
|
|
|
@@ -128,7 +128,7 @@ var _chunk3UTPZW36cjs = require('./chunk-3UTPZW36.cjs');
|
|
|
128
128
|
|
|
129
129
|
|
|
130
130
|
|
|
131
|
-
var
|
|
131
|
+
var _chunkHAWQA5FIcjs = require('./chunk-HAWQA5FI.cjs');
|
|
132
132
|
|
|
133
133
|
|
|
134
134
|
|
|
@@ -462,7 +462,7 @@ var _chunkSKI6NKOEcjs = require('./chunk-SKI6NKOE.cjs');
|
|
|
462
462
|
|
|
463
463
|
|
|
464
464
|
|
|
465
|
-
var
|
|
465
|
+
var _chunkDHIISS4Wcjs = require('./chunk-DHIISS4W.cjs');
|
|
466
466
|
|
|
467
467
|
|
|
468
468
|
|
|
@@ -633,7 +633,7 @@ function ThemeProvider({ children, ...overrides }) {
|
|
|
633
633
|
var useTheme = _nextthemes.useTheme;
|
|
634
634
|
function useThemeToggle() {
|
|
635
635
|
const { resolvedTheme, theme, setTheme } = useTheme();
|
|
636
|
-
const mounted =
|
|
636
|
+
const mounted = _chunkHAWQA5FIcjs.useIsHydrated.call(void 0, );
|
|
637
637
|
const active = mounted ? resolvedTheme === "light" || theme === "light" ? "light" : "dark" : DEFAULT_THEME;
|
|
638
638
|
const setOdsTheme = _react.useCallback.call(void 0, (next) => setTheme(next), [setTheme]);
|
|
639
639
|
const toggle = _react.useCallback.call(void 0, () => setTheme(active === "dark" ? "light" : "dark"), [active, setTheme]);
|
|
@@ -4322,7 +4322,7 @@ function AdminFormDrawer({
|
|
|
4322
4322
|
"form",
|
|
4323
4323
|
{
|
|
4324
4324
|
id: formId,
|
|
4325
|
-
...
|
|
4325
|
+
..._chunkEMBH2EJOcjs.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS,
|
|
4326
4326
|
className: "flex flex-col gap-[var(--spacing-system-lf)]",
|
|
4327
4327
|
onSubmit: (e) => {
|
|
4328
4328
|
e.preventDefault();
|
|
@@ -4432,7 +4432,7 @@ function AdminFormModal({
|
|
|
4432
4432
|
"form",
|
|
4433
4433
|
{
|
|
4434
4434
|
id: formId,
|
|
4435
|
-
...
|
|
4435
|
+
..._chunkEMBH2EJOcjs.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS,
|
|
4436
4436
|
className: "flex min-h-0 flex-1 flex-col",
|
|
4437
4437
|
onSubmit: (e) => {
|
|
4438
4438
|
e.preventDefault();
|
|
@@ -5671,7 +5671,7 @@ function EmbedViewerFrame({
|
|
|
5671
5671
|
const controllerRef = _react.useRef.call(void 0, null);
|
|
5672
5672
|
_react.useEffect.call(void 0, () => {
|
|
5673
5673
|
if (!fullscreenControl) return void 0;
|
|
5674
|
-
const controller = new (0,
|
|
5674
|
+
const controller = new (0, _chunkEMBH2EJOcjs.FullscreenSwitchController)({
|
|
5675
5675
|
target: () => frameRef.current,
|
|
5676
5676
|
onFullscreenChange: setIsFullscreen
|
|
5677
5677
|
});
|
|
@@ -6621,7 +6621,7 @@ var MediaCarousel = _react.memo.call(void 0, function MediaCarouselImpl({
|
|
|
6621
6621
|
};
|
|
6622
6622
|
const displayImageSrc = (url) => transformImageSrc ? transformImageSrc(url) : url;
|
|
6623
6623
|
const renderVideo = (item, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6624
|
-
|
|
6624
|
+
_chunkDHIISS4Wcjs.Video,
|
|
6625
6625
|
{
|
|
6626
6626
|
url: item.src,
|
|
6627
6627
|
poster: item.poster ? displayImageSrc(item.poster) : void 0,
|
|
@@ -7345,7 +7345,7 @@ function buildRichEmbedOverrides({
|
|
|
7345
7345
|
ogEndpointPath,
|
|
7346
7346
|
textSizes
|
|
7347
7347
|
}) {
|
|
7348
|
-
const standard =
|
|
7348
|
+
const standard = _chunkHAWQA5FIcjs.buildStandardLeafRenderers.call(void 0, { textSizes });
|
|
7349
7349
|
return {
|
|
7350
7350
|
// Fence-language embeds (```youtube-embed etc.); everything else
|
|
7351
7351
|
// (mermaid, highlighted blocks, inline code) falls through to `standard`.
|
|
@@ -7355,7 +7355,7 @@ function buildRichEmbedOverrides({
|
|
|
7355
7355
|
const language = match ? match[1] : "";
|
|
7356
7356
|
const fenceText = () => String(children).replace(/\n$/, "").trim();
|
|
7357
7357
|
if (language === "youtube-embed") {
|
|
7358
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7358
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDHIISS4Wcjs.Video, { kind: "youtube", url: fenceText() });
|
|
7359
7359
|
}
|
|
7360
7360
|
if (language === "reddit-embed") {
|
|
7361
7361
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, RedditEmbedClient, { url: fenceText() });
|
|
@@ -7396,7 +7396,7 @@ function buildRichEmbedOverrides({
|
|
|
7396
7396
|
"data-figma-url": figmaUrl
|
|
7397
7397
|
} = divProps;
|
|
7398
7398
|
if (className === "youtube-embed" && videoId) {
|
|
7399
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7399
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDHIISS4Wcjs.Video, { kind: "youtube", url: videoId });
|
|
7400
7400
|
}
|
|
7401
7401
|
if (className === "reddit-embed" && postUrl) {
|
|
7402
7402
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, RedditEmbedClient, { url: postUrl });
|
|
@@ -7481,14 +7481,14 @@ function buildRichEmbedOverrides({
|
|
|
7481
7481
|
// rich-markdown runtime (Supabase optimization on the hub, identity
|
|
7482
7482
|
// elsewhere). Guard against empty `![]()`.
|
|
7483
7483
|
img: ({ src, alt }) => {
|
|
7484
|
-
if (!
|
|
7484
|
+
if (!_chunkHAWQA5FIcjs.hasRenderableSrc.call(void 0, src)) return null;
|
|
7485
7485
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MarkdownImage, { src: src.trim(), alt });
|
|
7486
7486
|
},
|
|
7487
7487
|
// Raw <video> tags in stored content (blog publisher injection) route
|
|
7488
7488
|
// to the <Video> SSOT (MuxPlayer) so HLS manifests play everywhere.
|
|
7489
7489
|
video: ({ src, poster, className }) => {
|
|
7490
|
-
if (!
|
|
7491
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: `overflow-hidden ${className || "my-8 w-full rounded-lg"}`, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "aspect-video w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7490
|
+
if (!_chunkHAWQA5FIcjs.hasRenderableSrc.call(void 0, src)) return null;
|
|
7491
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: `overflow-hidden ${className || "my-8 w-full rounded-lg"}`, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "aspect-video w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDHIISS4Wcjs.Video, { kind: "file", url: src.trim(), poster: typeof poster === "string" ? poster : void 0 }) }) });
|
|
7492
7492
|
}
|
|
7493
7493
|
};
|
|
7494
7494
|
}
|
|
@@ -7596,7 +7596,7 @@ var processShortcodes = (content) => {
|
|
|
7596
7596
|
try {
|
|
7597
7597
|
const urlObj = new URL(url);
|
|
7598
7598
|
const hostname = urlObj.hostname.toLowerCase();
|
|
7599
|
-
const hostIs = (domain) =>
|
|
7599
|
+
const hostIs = (domain) => _chunkEMBH2EJOcjs.hostMatches.call(void 0, hostname, domain);
|
|
7600
7600
|
const isYouTubeVideo = hostIs("youtube.com") && urlObj.searchParams.has("v") || hostIs("youtu.be");
|
|
7601
7601
|
if (isYouTubeVideo || hostIs("reddit.com") || hostIs("twitter.com") || hostIs("x.com") || hostIs("figma.com")) {
|
|
7602
7602
|
return match;
|
|
@@ -7671,13 +7671,13 @@ var RichMarkdownInner = ({
|
|
|
7671
7671
|
},
|
|
7672
7672
|
[resolveLinkEndpointUrl, resolveSource]
|
|
7673
7673
|
);
|
|
7674
|
-
const textSizes = _react.useMemo.call(void 0, () =>
|
|
7674
|
+
const textSizes = _react.useMemo.call(void 0, () => _chunkHAWQA5FIcjs.resolveTextSizeConfig.call(void 0, "article"), []);
|
|
7675
7675
|
const componentOverrides = _react.useMemo.call(void 0,
|
|
7676
7676
|
() => buildRichEmbedOverrides({ ogApiBaseUrl, ogEndpointPath, textSizes }),
|
|
7677
7677
|
[ogApiBaseUrl, ogEndpointPath, textSizes]
|
|
7678
7678
|
);
|
|
7679
7679
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7680
|
-
|
|
7680
|
+
_chunkHAWQA5FIcjs.MarkdownEngine,
|
|
7681
7681
|
{
|
|
7682
7682
|
content,
|
|
7683
7683
|
className,
|
|
@@ -7699,7 +7699,7 @@ var RichMarkdownRendererImpl = ({
|
|
|
7699
7699
|
className = "",
|
|
7700
7700
|
sectionIds,
|
|
7701
7701
|
onInternalLinkClick,
|
|
7702
|
-
brokenLinks =
|
|
7702
|
+
brokenLinks = _chunkHAWQA5FIcjs.NO_BROKEN_LINKS,
|
|
7703
7703
|
currentPath,
|
|
7704
7704
|
resolveSource = "openframe-docs",
|
|
7705
7705
|
resolveLinkEndpointUrl = "/api/docs/resolve-link",
|
|
@@ -8657,7 +8657,7 @@ function FilterModal({
|
|
|
8657
8657
|
const dateDefaultSort = _nullishCoalesce(_optionalChain([dateFilter, 'optionalAccess', _146 => _146.defaultSort]), () => ( "desc"));
|
|
8658
8658
|
const [draftDateSort, setDraftDateSort] = _react.useState.call(void 0, _nullishCoalesce(_optionalChain([dateFilter, 'optionalAccess', _147 => _147.sort]), () => ( dateDefaultSort)));
|
|
8659
8659
|
const [draftDateRange, setDraftDateRange] = _react.useState.call(void 0, _optionalChain([dateFilter, 'optionalAccess', _148 => _148.range]));
|
|
8660
|
-
const { scrollRef, fadeTop, fadeBottom, update: updateFade } =
|
|
8660
|
+
const { scrollRef, fadeTop, fadeBottom, update: updateFade } = _chunkHAWQA5FIcjs.useScrollFade.call(void 0, );
|
|
8661
8661
|
const seedKey = `${JSON.stringify(currentFilters)}|${JSON.stringify(_nullishCoalesce(selectedTags, () => ( [])))}`;
|
|
8662
8662
|
const seedSourceRef = _react.useRef.call(void 0, { currentFilters, selectedTags, dateFilter, dateDefaultSort });
|
|
8663
8663
|
_react.useEffect.call(void 0, () => {
|
|
@@ -8803,8 +8803,8 @@ function FilterModal({
|
|
|
8803
8803
|
] })
|
|
8804
8804
|
}
|
|
8805
8805
|
),
|
|
8806
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8807
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8806
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.ScrollFadeOverlay, { edge: "top", visible: fadeTop }),
|
|
8807
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.ScrollFadeOverlay, { edge: "bottom", visible: fadeBottom })
|
|
8808
8808
|
] })
|
|
8809
8809
|
}
|
|
8810
8810
|
),
|
|
@@ -8900,7 +8900,7 @@ function renderAdvancedPageContainer({
|
|
|
8900
8900
|
className: "hidden content-md:inline-flex"
|
|
8901
8901
|
}
|
|
8902
8902
|
),
|
|
8903
|
-
title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOF336YWGcjs.PageTitle, { className: "text-ods-text-primary text-h2", children:
|
|
8903
|
+
title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOF336YWGcjs.PageTitle, { className: "text-ods-text-primary text-h2", children: _chunkDHIISS4Wcjs.accentSentenceMarks.call(void 0, title) }),
|
|
8904
8904
|
subtitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "text-ods-text-secondary text-h6", children: subtitle })
|
|
8905
8905
|
] }),
|
|
8906
8906
|
(headerActions || actions) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex shrink-0 items-center gap-2", children: [
|
|
@@ -8920,7 +8920,7 @@ function renderAdvancedPageContainer({
|
|
|
8920
8920
|
className: "hidden content-md:inline-flex"
|
|
8921
8921
|
}
|
|
8922
8922
|
),
|
|
8923
|
-
title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOF336YWGcjs.PageTitle, { className: "text-ods-text-primary text-h2", children:
|
|
8923
|
+
title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOF336YWGcjs.PageTitle, { className: "text-ods-text-primary text-h2", children: _chunkDHIISS4Wcjs.accentSentenceMarks.call(void 0, title) }),
|
|
8924
8924
|
subtitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "text-ods-text-secondary text-h6", children: subtitle })
|
|
8925
8925
|
] }),
|
|
8926
8926
|
(headerActions || actions) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex shrink-0 items-center gap-3", children: [
|
|
@@ -8940,7 +8940,7 @@ function renderAdvancedPageContainer({
|
|
|
8940
8940
|
className: "hidden content-md:inline-flex"
|
|
8941
8941
|
}
|
|
8942
8942
|
),
|
|
8943
|
-
title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOF336YWGcjs.PageTitle, { className: "text-ods-text-primary text-h2", children:
|
|
8943
|
+
title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOF336YWGcjs.PageTitle, { className: "text-ods-text-primary text-h2", children: _chunkDHIISS4Wcjs.accentSentenceMarks.call(void 0, title) })
|
|
8944
8944
|
] }),
|
|
8945
8945
|
(headerActions || actions) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex shrink-0 items-center gap-4", children: [
|
|
8946
8946
|
headerActions,
|
|
@@ -8950,7 +8950,7 @@ function renderAdvancedPageContainer({
|
|
|
8950
8950
|
}
|
|
8951
8951
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center justify-between gap-4 content-md:flex-col content-md:items-start content-md:justify-start content-lg:flex-row content-lg:items-center content-lg:justify-between", children: [
|
|
8952
8952
|
(title || subtitle) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col gap-1", children: [
|
|
8953
|
-
title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOF336YWGcjs.PageTitle, { className: "text-ods-text-primary text-h2", children:
|
|
8953
|
+
title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOF336YWGcjs.PageTitle, { className: "text-ods-text-primary text-h2", children: _chunkDHIISS4Wcjs.accentSentenceMarks.call(void 0, title) }),
|
|
8954
8954
|
subtitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "text-ods-text-secondary text-h6", children: subtitle })
|
|
8955
8955
|
] }),
|
|
8956
8956
|
(headerActions || actions) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex shrink-0 items-center gap-3", children: [
|
|
@@ -9283,7 +9283,7 @@ var BenefitCardGrid = ({ children, className = "", columns = 2 }) => {
|
|
|
9283
9283
|
|
|
9284
9284
|
|
|
9285
9285
|
function PlatformBrowseButton({ item }) {
|
|
9286
|
-
const linkProps =
|
|
9286
|
+
const linkProps = _chunkHAWQA5FIcjs.useNavLinkViaRuntime.call(void 0, { href: item.link, targetPlatform: item.targetPlatform });
|
|
9287
9287
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkAZL332TKcjs.Button, { variant: "outline", linkProps, rightIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ExternalLink, { className: "h-4 w-4" }), children: [
|
|
9288
9288
|
"Browse ",
|
|
9289
9289
|
item.buttonText
|
|
@@ -9731,10 +9731,10 @@ var OSTypeBadge = ({
|
|
|
9731
9731
|
if (!osType) {
|
|
9732
9732
|
return labelOnly ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk3ATAYP36cjs.cn.call(void 0, "text-ods-text-secondary", className), children: "Unknown" }) : null;
|
|
9733
9733
|
}
|
|
9734
|
-
const normalized =
|
|
9734
|
+
const normalized = _chunkEMBH2EJOcjs.normalizeOSType.call(void 0, osType);
|
|
9735
9735
|
if (!normalized && !labelOnly) return null;
|
|
9736
|
-
const label =
|
|
9737
|
-
const IconComponent =
|
|
9736
|
+
const label = _chunkEMBH2EJOcjs.getOSLabel.call(void 0, osType);
|
|
9737
|
+
const IconComponent = _chunkEMBH2EJOcjs.getOSIcon.call(void 0, osType);
|
|
9738
9738
|
if (iconOnly && IconComponent) {
|
|
9739
9739
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, IconComponent, { className: _chunk3ATAYP36cjs.cn.call(void 0, iconSize, "text-ods-text-secondary", className) });
|
|
9740
9740
|
}
|
|
@@ -9966,7 +9966,7 @@ function ComplianceLogo({
|
|
|
9966
9966
|
fallback = null,
|
|
9967
9967
|
className
|
|
9968
9968
|
}) {
|
|
9969
|
-
const standard =
|
|
9969
|
+
const standard = _chunkEMBH2EJOcjs.complianceStandardForName.call(void 0, ...names);
|
|
9970
9970
|
if (!standard) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: fallback });
|
|
9971
9971
|
const Official = standard.logo ? COMPLIANCE_LOGOS[standard.logo] : null;
|
|
9972
9972
|
return Official ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -10047,7 +10047,7 @@ function FeatureCardGrid({
|
|
|
10047
10047
|
if (allCardsHaveNoBorders) {
|
|
10048
10048
|
finalCardClassName = "bg-transparent p-0 overflow-visible border-0 shadow-none rounded-none";
|
|
10049
10049
|
}
|
|
10050
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10050
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDHIISS4Wcjs.Card, { className: `${finalCardClassName} ${className}`, children: Array.from({ length: rows }, (_, rowIndex) => {
|
|
10051
10051
|
const startIndex = rowIndex * itemsPerRow;
|
|
10052
10052
|
const rowItems = items.slice(startIndex, startIndex + itemsPerRow);
|
|
10053
10053
|
const isLastRow = rowIndex === rows - 1;
|
|
@@ -10081,7 +10081,7 @@ function FeatureCardGrid({
|
|
|
10081
10081
|
item.icon && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start justify-between", children: [
|
|
10082
10082
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, item.icon, { size: 80, color: item.iconColor }),
|
|
10083
10083
|
item.badge && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10084
|
-
|
|
10084
|
+
_chunkDHIISS4Wcjs.StatusBadge,
|
|
10085
10085
|
{
|
|
10086
10086
|
text: item.badge.text,
|
|
10087
10087
|
variant: item.badge.variant || "card",
|
|
@@ -10090,7 +10090,7 @@ function FeatureCardGrid({
|
|
|
10090
10090
|
)
|
|
10091
10091
|
] }),
|
|
10092
10092
|
!item.icon && item.badge && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-start justify-end", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10093
|
-
|
|
10093
|
+
_chunkDHIISS4Wcjs.StatusBadge,
|
|
10094
10094
|
{
|
|
10095
10095
|
text: item.badge.text,
|
|
10096
10096
|
variant: item.badge.variant || "card",
|
|
@@ -11527,7 +11527,7 @@ function TableHeader({
|
|
|
11527
11527
|
onFilterChange
|
|
11528
11528
|
}
|
|
11529
11529
|
),
|
|
11530
|
-
column.hint ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11530
|
+
column.hint ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEMBH2EJOcjs.InfoHint, { label: column.label, children: column.hint }) : null
|
|
11531
11531
|
] })
|
|
11532
11532
|
) : (
|
|
11533
11533
|
/* Non-filterable column — regular label with optional sort */
|
|
@@ -11553,7 +11553,7 @@ function TableHeader({
|
|
|
11553
11553
|
hint exists, so a hint-less header keeps its DOM. */
|
|
11554
11554
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 items-start gap-[var(--spacing-system-xxs)]", children: [
|
|
11555
11555
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: TABLE_HEADER_LABEL_CLASS, children: column.label }),
|
|
11556
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11556
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEMBH2EJOcjs.InfoHint, { label: column.label, children: column.hint })
|
|
11557
11557
|
] })
|
|
11558
11558
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: TABLE_HEADER_LABEL_CLASS, children: column.label }),
|
|
11559
11559
|
getSortIcon(column)
|
|
@@ -12894,7 +12894,7 @@ function HeaderCell({ header, sort, onSortChange }) {
|
|
|
12894
12894
|
// child of the cell.
|
|
12895
12895
|
_optionalChain([meta, 'optionalAccess', _234 => _234.hint]) ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start gap-[var(--spacing-system-xxs)]", children: [
|
|
12896
12896
|
filterTrigger,
|
|
12897
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12897
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEMBH2EJOcjs.InfoHint, { label: resolveHeaderLabel(header), children: meta.hint })
|
|
12898
12898
|
] }) : filterTrigger
|
|
12899
12899
|
) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
12900
12900
|
"div",
|
|
@@ -12919,7 +12919,7 @@ function HeaderCell({ header, sort, onSortChange }) {
|
|
|
12919
12919
|
// centred on the row.
|
|
12920
12920
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 items-start gap-[var(--spacing-system-xxs)]", children: [
|
|
12921
12921
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, HeaderLabel, { header }),
|
|
12922
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12922
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEMBH2EJOcjs.InfoHint, { label: resolveHeaderLabel(header), children: meta.hint })
|
|
12923
12923
|
] })
|
|
12924
12924
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, HeaderLabel, { header }),
|
|
12925
12925
|
canSort && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SortIcon, { sorted: sortDir })
|
|
@@ -13138,7 +13138,7 @@ function PhoneInput({
|
|
|
13138
13138
|
placeholder = "Phone Number (optional)",
|
|
13139
13139
|
onKeyDown
|
|
13140
13140
|
}) {
|
|
13141
|
-
const { priority, others } = _react.useMemo.call(void 0, () =>
|
|
13141
|
+
const { priority, others } = _react.useMemo.call(void 0, () => _chunkEMBH2EJOcjs.getCountryPhoneData.call(void 0, ), []);
|
|
13142
13142
|
const selectedCountry = _react.useMemo.call(void 0,
|
|
13143
13143
|
() => [...priority, ...others].find((c) => c.code === countryCode),
|
|
13144
13144
|
[countryCode, priority, others]
|
|
@@ -13153,7 +13153,7 @@ function PhoneInput({
|
|
|
13153
13153
|
_optionalChain([onValidationChange, 'optionalCall', _247 => _247(false)]);
|
|
13154
13154
|
return;
|
|
13155
13155
|
}
|
|
13156
|
-
const invalid = !
|
|
13156
|
+
const invalid = !_chunkEMBH2EJOcjs.validatePhoneNumber.call(void 0, phone, countryCode);
|
|
13157
13157
|
setIsInvalid(invalid);
|
|
13158
13158
|
_optionalChain([onValidationChange, 'optionalCall', _248 => _248(invalid)]);
|
|
13159
13159
|
},
|
|
@@ -14080,7 +14080,7 @@ function MarkdownEditor({
|
|
|
14080
14080
|
setUploadProgress(`Uploading ${file.name}...`);
|
|
14081
14081
|
try {
|
|
14082
14082
|
const url = await onUploadFile(file);
|
|
14083
|
-
const isImage =
|
|
14083
|
+
const isImage = _chunkDHIISS4Wcjs.fileMediaType.call(void 0, file) === "image";
|
|
14084
14084
|
const markdown = isImage ? `` : `[${file.name}](${url})`;
|
|
14085
14085
|
insertTextAtCursor(markdown);
|
|
14086
14086
|
_optionalChain([onFileUploaded, 'optionalCall', _299 => _299(url, file.name)]);
|
|
@@ -14210,7 +14210,7 @@ function MarkdownEditor({
|
|
|
14210
14210
|
type: "file",
|
|
14211
14211
|
className: "hidden",
|
|
14212
14212
|
onChange: handleFileInputChange,
|
|
14213
|
-
accept: `${
|
|
14213
|
+
accept: `${_chunkDHIISS4Wcjs.IMAGE_FILE_ACCEPT},.pdf,.doc,.docx,.xls,.xlsx,.ppt,.pptx,.zip,.txt`
|
|
14214
14214
|
}
|
|
14215
14215
|
),
|
|
14216
14216
|
!MDEditor && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-64 items-center justify-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Loader2, { className: "h-8 w-8 animate-spin" }) }),
|
|
@@ -14610,7 +14610,7 @@ function matchesAccept2(file, accept) {
|
|
|
14610
14610
|
return patterns.some((pattern) => {
|
|
14611
14611
|
if (pattern.startsWith(".")) return fileName.endsWith(pattern);
|
|
14612
14612
|
if (pattern.endsWith("/*"))
|
|
14613
|
-
return fileType.startsWith(pattern.slice(0, -1)) ||
|
|
14613
|
+
return fileType.startsWith(pattern.slice(0, -1)) || _chunkDHIISS4Wcjs.fileMediaType.call(void 0, file) === pattern.slice(0, -2);
|
|
14614
14614
|
return fileType === pattern;
|
|
14615
14615
|
});
|
|
14616
14616
|
}
|
|
@@ -14618,7 +14618,7 @@ function ImageUploader({
|
|
|
14618
14618
|
value,
|
|
14619
14619
|
onChange,
|
|
14620
14620
|
onRemove,
|
|
14621
|
-
accept =
|
|
14621
|
+
accept = _chunkDHIISS4Wcjs.IMAGE_FILE_ACCEPT,
|
|
14622
14622
|
maxSize = DEFAULT_MAX_SIZE,
|
|
14623
14623
|
label = "Cover Image",
|
|
14624
14624
|
description = "(Click Here or Drag and Drop)",
|
|
@@ -15235,7 +15235,7 @@ function formatTestRunDuration(ms) {
|
|
|
15235
15235
|
var RESULT_COLUMN_MIN_WIDTH = 176;
|
|
15236
15236
|
var SKELETON_COLUMNS = 6;
|
|
15237
15237
|
function TestResultsSkeleton() {
|
|
15238
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15238
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.ScrollShadow, { axis: "horizontal", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-max min-w-full flex-col", children: [
|
|
15239
15239
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-mf)] px-[var(--spacing-system-mf)]", children: Array.from({ length: SKELETON_COLUMNS }).map((_, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-12 w-[160px] shrink-0 items-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-4 w-3/4 animate-pulse rounded-sm bg-ods-bg-surface" }) }, `skeleton-header-${i}`)) }),
|
|
15240
15240
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "animate-pulse overflow-hidden rounded-[6px] border border-ods-border bg-ods-card", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-[66px] items-center gap-[var(--spacing-system-mf)] px-[var(--spacing-system-mf)] content-md:h-[78px]", children: Array.from({ length: SKELETON_COLUMNS }).map((_, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-[160px] shrink-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-5 w-3/4 rounded-sm bg-ods-bg-surface" }) }, `skeleton-cell-${i}`)) }) })
|
|
15241
15241
|
] }) });
|
|
@@ -15270,7 +15270,7 @@ function TestResultsTable({ rows, loading }) {
|
|
|
15270
15270
|
if (loading) {
|
|
15271
15271
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TestResultsSkeleton, {});
|
|
15272
15272
|
}
|
|
15273
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15273
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.ScrollShadow, { axis: "horizontal", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { style: { minWidth: Math.max(1, columnKeys.length) * RESULT_COLUMN_MIN_WIDTH }, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, DataTable, { table, children: [
|
|
15274
15274
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DataTable.Header, { className: "flex flex-col" }),
|
|
15275
15275
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DataTable.Body, { loading: false })
|
|
15276
15276
|
] }) }) });
|
|
@@ -15753,7 +15753,7 @@ function TicketInfoSection({
|
|
|
15753
15753
|
expanded && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
15754
15754
|
createdAt && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "grid grid-cols-2 items-center gap-4 border-b border-ods-border bg-ods-bg px-4 py-3", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, InfoCell, { value: createdAt, label: "Created" }) }),
|
|
15755
15755
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-4 border-b border-ods-border bg-ods-bg p-4", children: [
|
|
15756
|
-
description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15756
|
+
description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.SimpleMarkdownRenderer, { content: description }),
|
|
15757
15757
|
attachments && attachments.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketDetailSection, { label: "Attachments", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketAttachmentsList, { attachments }) }),
|
|
15758
15758
|
tags && tags.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketDetailSection, { label: "Tags", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex min-w-0 flex-wrap gap-2", children: tags.map((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFTTLBMHUcjs.Tag, { label: tag, variant: "outline", className: "max-w-full" }, tag)) }) }),
|
|
15759
15759
|
(notes || onAddNote) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketDetailSection, { label: "Notes", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -16213,7 +16213,7 @@ function PhotoWall({ images, columns = 2, speed = 24, fadeColor, className, load
|
|
|
16213
16213
|
gap: COLUMN_GAP_PX
|
|
16214
16214
|
};
|
|
16215
16215
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: rootRef, "aria-hidden": "true", className: _chunk3ATAYP36cjs.cn.call(void 0, "grid overflow-hidden", className), style: gridStyle, children: columnsToDraw ? columnsToDraw.map((column, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16216
|
-
|
|
16216
|
+
_chunkHAWQA5FIcjs.MarqueeWall,
|
|
16217
16217
|
{
|
|
16218
16218
|
axis: "y",
|
|
16219
16219
|
reverse: index % 2 === 1,
|
|
@@ -17182,7 +17182,7 @@ function AccountDetailsFields({
|
|
|
17182
17182
|
var DEFAULT_TITLE = "The All-in-One Open Platform for MSPs";
|
|
17183
17183
|
var DEFAULT_DESCRIPTION = "All your core ops in one place - built for MSPs who are done duct-taping tools together. Unified stack, AI-ready, no vendor tax. Just solid software that lets you run lean and fast.";
|
|
17184
17184
|
function defaultBenefits(trialDays) {
|
|
17185
|
-
const labels =
|
|
17185
|
+
const labels = _chunkEMBH2EJOcjs.trialLabels.call(void 0, trialDays);
|
|
17186
17186
|
return [
|
|
17187
17187
|
{ icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAO3ANT5Ncjs.CreditCardXmarkIcon, {}), label: labels.noCard },
|
|
17188
17188
|
{ icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYUM7GOLQcjs.XmarkAltIcon, {}), label: labels.cancel },
|
|
@@ -17415,7 +17415,7 @@ function CompleteAccountForm({
|
|
|
17415
17415
|
),
|
|
17416
17416
|
children: [
|
|
17417
17417
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
|
|
17418
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
17418
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunkDHIISS4Wcjs.accentSentenceMarks.call(void 0, title) }),
|
|
17419
17419
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: subtitle })
|
|
17420
17420
|
] }),
|
|
17421
17421
|
ssoProviders && ssoProviders.length > 0 && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
@@ -17563,7 +17563,7 @@ function CreateOrganizationForm({
|
|
|
17563
17563
|
),
|
|
17564
17564
|
children: [
|
|
17565
17565
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
|
|
17566
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
17566
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunkDHIISS4Wcjs.accentSentenceMarks.call(void 0, title) }),
|
|
17567
17567
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: subtitle })
|
|
17568
17568
|
] }),
|
|
17569
17569
|
email === void 0 ? null : emailReadOnly ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHTRILBJDcjs.Input, { type: "email", label: emailReadOnlyLabel, value: email, readOnly: true, disabled: true }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -17704,7 +17704,7 @@ function InviteLinkInvalidModal({
|
|
|
17704
17704
|
),
|
|
17705
17705
|
children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full max-w-[600px] flex-col gap-[var(--spacing-system-l)] rounded-md border border-ods-border bg-ods-card p-[var(--spacing-system-xl)]", children: [
|
|
17706
17706
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-mf)]", children: [
|
|
17707
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "flex-1 tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
17707
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "flex-1 tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunkDHIISS4Wcjs.accentSentenceMarks.call(void 0, title) }),
|
|
17708
17708
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17709
17709
|
"button",
|
|
17710
17710
|
{
|
|
@@ -17778,7 +17778,7 @@ function LoginForm({
|
|
|
17778
17778
|
),
|
|
17779
17779
|
children: [
|
|
17780
17780
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
|
|
17781
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
17781
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunkDHIISS4Wcjs.accentSentenceMarks.call(void 0, title) }),
|
|
17782
17782
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: subtitle })
|
|
17783
17783
|
] }),
|
|
17784
17784
|
ssoProviders.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -17873,7 +17873,7 @@ function NoAccountNotice({
|
|
|
17873
17873
|
),
|
|
17874
17874
|
children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full max-w-[600px] flex-col gap-[var(--spacing-system-l)] rounded-md border border-ods-border bg-ods-card p-[var(--spacing-system-xl)]", children: [
|
|
17875
17875
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
|
|
17876
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
17876
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunkDHIISS4Wcjs.accentSentenceMarks.call(void 0, title) }),
|
|
17877
17877
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: description })
|
|
17878
17878
|
] }),
|
|
17879
17879
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAZL332TKcjs.Button, { type: "button", variant: "outline", fullWidth: true, onClick: onBackToLogin, children: backLabel })
|
|
@@ -17922,7 +17922,7 @@ function OpenFrameSsoLoginForm({
|
|
|
17922
17922
|
),
|
|
17923
17923
|
children: [
|
|
17924
17924
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-xs)]", children: [
|
|
17925
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
17925
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunkDHIISS4Wcjs.accentSentenceMarks.call(void 0, title) }),
|
|
17926
17926
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: subtitle })
|
|
17927
17927
|
] }),
|
|
17928
17928
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -18027,7 +18027,7 @@ function OpenFrameSsoSignUpForm({
|
|
|
18027
18027
|
),
|
|
18028
18028
|
children: [
|
|
18029
18029
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-xs)]", children: [
|
|
18030
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
18030
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunkDHIISS4Wcjs.accentSentenceMarks.call(void 0, title) }),
|
|
18031
18031
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: subtitle })
|
|
18032
18032
|
] }),
|
|
18033
18033
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -18133,7 +18133,7 @@ function PasswordResetForm({
|
|
|
18133
18133
|
),
|
|
18134
18134
|
children: [
|
|
18135
18135
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
|
|
18136
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
18136
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunkDHIISS4Wcjs.accentSentenceMarks.call(void 0, title) }),
|
|
18137
18137
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: subtitle })
|
|
18138
18138
|
] }),
|
|
18139
18139
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -18250,7 +18250,7 @@ function SsoJoinForm({
|
|
|
18250
18250
|
),
|
|
18251
18251
|
children: [
|
|
18252
18252
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
|
|
18253
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
18253
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunkDHIISS4Wcjs.accentSentenceMarks.call(void 0, title) }),
|
|
18254
18254
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: subtitle })
|
|
18255
18255
|
] }),
|
|
18256
18256
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-s)] rounded-md border border-ods-border bg-ods-bg p-[var(--spacing-system-m)]", children: [
|
|
@@ -18512,7 +18512,7 @@ function ChangelogManager({
|
|
|
18512
18512
|
),
|
|
18513
18513
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0 flex-1", children: hasContent ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "truncate text-ods-text-primary text-h6", children: entry.title }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "italic text-ods-text-secondary text-h6", children: "New entry (click to edit)" }) }),
|
|
18514
18514
|
tagOptions && tagLabelOf(entry.tag) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18515
|
-
|
|
18515
|
+
_chunkDHIISS4Wcjs.StatusBadge,
|
|
18516
18516
|
{
|
|
18517
18517
|
variant: "button",
|
|
18518
18518
|
singleLine: true,
|
|
@@ -18775,7 +18775,7 @@ function EntityTagBadges({ tags, basePath, max, className }) {
|
|
|
18775
18775
|
const label = (tag.name || "").toUpperCase();
|
|
18776
18776
|
if (basePath && tag.slug) {
|
|
18777
18777
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _link2.default, { href: `${basePath}?tags=${tag.slug}`, className: "inline-flex", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18778
|
-
|
|
18778
|
+
_chunkDHIISS4Wcjs.StatusBadge,
|
|
18779
18779
|
{
|
|
18780
18780
|
text: label,
|
|
18781
18781
|
variant: "card",
|
|
@@ -18783,9 +18783,9 @@ function EntityTagBadges({ tags, basePath, max, className }) {
|
|
|
18783
18783
|
}
|
|
18784
18784
|
) }, key);
|
|
18785
18785
|
}
|
|
18786
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18786
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDHIISS4Wcjs.StatusBadge, { text: label, variant: "card", className: BADGE_CLASS }, key);
|
|
18787
18787
|
}),
|
|
18788
|
-
overflow > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18788
|
+
overflow > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDHIISS4Wcjs.StatusBadge, { text: `+${overflow}`, variant: "card", className: `${BADGE_CLASS} text-ods-text-secondary` })
|
|
18789
18789
|
] });
|
|
18790
18790
|
}
|
|
18791
18791
|
|
|
@@ -18881,7 +18881,7 @@ var SectionButton = ({
|
|
|
18881
18881
|
}
|
|
18882
18882
|
),
|
|
18883
18883
|
section.badge && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18884
|
-
|
|
18884
|
+
_chunkDHIISS4Wcjs.StatusBadge,
|
|
18885
18885
|
{
|
|
18886
18886
|
text: section.badge.text,
|
|
18887
18887
|
variant: section.badge.variant || "button",
|
|
@@ -18900,7 +18900,7 @@ var SectionButton = ({
|
|
|
18900
18900
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-wrap items-start gap-2", children: [
|
|
18901
18901
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk3ATAYP36cjs.cn.call(void 0, titleClasses, "text-h3"), style: { textAlign: "left" }, children: section.title }),
|
|
18902
18902
|
section.badge && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18903
|
-
|
|
18903
|
+
_chunkDHIISS4Wcjs.StatusBadge,
|
|
18904
18904
|
{
|
|
18905
18905
|
text: section.badge.text,
|
|
18906
18906
|
variant: section.badge.variant || "button",
|
|
@@ -19217,7 +19217,7 @@ function UnifiedUI({ state, handlers, config, iframeRef }) {
|
|
|
19217
19217
|
sandbox: "allow-scripts allow-same-origin allow-popups allow-presentation",
|
|
19218
19218
|
title: config.title,
|
|
19219
19219
|
loading: "eager",
|
|
19220
|
-
...
|
|
19220
|
+
..._chunkDHIISS4Wcjs.fetchPriorityProp.call(void 0, "high")
|
|
19221
19221
|
},
|
|
19222
19222
|
iframeKey
|
|
19223
19223
|
),
|
|
@@ -19973,15 +19973,15 @@ function useLoading() {
|
|
|
19973
19973
|
|
|
19974
19974
|
|
|
19975
19975
|
function isAlreadyThere(file, existing) {
|
|
19976
|
-
const key =
|
|
19976
|
+
const key = _chunkDHIISS4Wcjs.mediaNameKey.call(void 0, file.name);
|
|
19977
19977
|
if (!key) return false;
|
|
19978
19978
|
return existing.some(
|
|
19979
|
-
(item) => (item.title ?
|
|
19979
|
+
(item) => (item.title ? _chunkDHIISS4Wcjs.mediaNameKey.call(void 0, item.title) === key : false) || (item.media_url ? _chunkDHIISS4Wcjs.mediaNameKey.call(void 0, item.media_url) === key : false)
|
|
19980
19980
|
);
|
|
19981
19981
|
}
|
|
19982
19982
|
var isFileDrag = (event) => Array.from(event.dataTransfer.types).includes("Files");
|
|
19983
|
-
var isVideoItem = (item) =>
|
|
19984
|
-
var MEDIA_KIND_ACCEPT = { image:
|
|
19983
|
+
var isVideoItem = (item) => _chunkDHIISS4Wcjs.isVideoMedia.call(void 0, item) || item.media_type === "demo";
|
|
19984
|
+
var MEDIA_KIND_ACCEPT = { image: _chunkDHIISS4Wcjs.IMAGE_FILE_ACCEPT, video: "video/*", both: _chunkDHIISS4Wcjs.MEDIA_FILE_ACCEPT };
|
|
19985
19985
|
var MEDIA_KIND_COPY = {
|
|
19986
19986
|
image: { noun: "pictures", refusal: "Not a picture" },
|
|
19987
19987
|
video: { noun: "videos", refusal: "Not a video" },
|
|
@@ -20005,12 +20005,12 @@ function useMediaIntake({ existing, onUpload, onUploaded, kinds = "both" }) {
|
|
|
20005
20005
|
const seen = /* @__PURE__ */ new Set();
|
|
20006
20006
|
const accepted = [];
|
|
20007
20007
|
for (const file of files) {
|
|
20008
|
-
const mediaType =
|
|
20008
|
+
const mediaType = _chunkDHIISS4Wcjs.fileMediaType.call(void 0, file);
|
|
20009
20009
|
if (!mediaType || kinds !== "both" && mediaType !== kinds) {
|
|
20010
20010
|
unsupported.push(file.name);
|
|
20011
20011
|
continue;
|
|
20012
20012
|
}
|
|
20013
|
-
const contentKey = await
|
|
20013
|
+
const contentKey = await _chunkDHIISS4Wcjs.fileContentKey.call(void 0, file).catch(() => `${file.name}:${file.size}`);
|
|
20014
20014
|
if (seen.has(contentKey) || isAlreadyThere(file, existingRef.current)) {
|
|
20015
20015
|
duplicates.push(file.name);
|
|
20016
20016
|
continue;
|
|
@@ -20191,7 +20191,7 @@ function MediaGalleryManager({
|
|
|
20191
20191
|
className: _chunk3ATAYP36cjs.cn.call(void 0, "grid grid-cols-1 gap-4 content-md:grid-cols-2", columns === 3 && "content-lg:grid-cols-3"),
|
|
20192
20192
|
children: [
|
|
20193
20193
|
media.map((item, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
20194
|
-
|
|
20194
|
+
_chunkDHIISS4Wcjs.Card,
|
|
20195
20195
|
{
|
|
20196
20196
|
className: "group relative border-ods-border transition-colors hover:border-ods-accent/30",
|
|
20197
20197
|
draggable: true,
|
|
@@ -20216,7 +20216,7 @@ function MediaGalleryManager({
|
|
|
20216
20216
|
) }),
|
|
20217
20217
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "relative aspect-video overflow-hidden rounded-lg bg-ods-bg", children: isVideoItem(item) ? (
|
|
20218
20218
|
// <Video> SSOT (MuxPlayer): plays Mux HLS and MP4 alike; fit="cover" crops to the cell.
|
|
20219
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20219
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDHIISS4Wcjs.Video, { kind: "file", url: item.media_url, fit: "cover", className: "h-full w-full" })
|
|
20220
20220
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20221
20221
|
_chunkUR4K2NSLcjs.next_image_default,
|
|
20222
20222
|
{
|
|
@@ -20268,7 +20268,7 @@ function MediaGalleryManager({
|
|
|
20268
20268
|
},
|
|
20269
20269
|
_nullishCoalesce(item.id, () => ( `${item.media_url}-${index}`))
|
|
20270
20270
|
)),
|
|
20271
|
-
pending.map((name, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
20271
|
+
pending.map((name, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkDHIISS4Wcjs.Card, { className: "border-ods-border", "aria-busy": "true", children: [
|
|
20272
20272
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex aspect-video items-center justify-center rounded-lg bg-ods-bg", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Loader2, { className: "h-8 w-8 animate-spin text-ods-accent" }) }),
|
|
20273
20273
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "truncate p-3 text-ods-text-secondary text-h6", children: name })
|
|
20274
20274
|
] }, `pending-${name}-${index}`))
|
|
@@ -20323,60 +20323,60 @@ function CardSkeleton({
|
|
|
20323
20323
|
function VendorCardContent({ showMetadata }) {
|
|
20324
20324
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-3 p-4", children: [
|
|
20325
20325
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full items-start gap-3", children: [
|
|
20326
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-[60px] w-[60px] flex-shrink-0 items-center justify-center rounded-lg border border-ods-border bg-ods-bg p-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20326
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-[60px] w-[60px] flex-shrink-0 items-center justify-center rounded-lg border border-ods-border bg-ods-bg p-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.MediaSkeleton.Avatar, { size: "sm", className: "h-11 w-11" }) }),
|
|
20327
20327
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col justify-center space-y-1 py-2", children: [
|
|
20328
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20329
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20328
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.TextSkeleton.Subheading, { className: "w-3/4" }),
|
|
20329
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.TextSkeleton.Caption, { className: "w-1/2" })
|
|
20330
20330
|
] })
|
|
20331
20331
|
] }),
|
|
20332
20332
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-12 w-full items-center overflow-hidden", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "w-full space-y-1", children: [
|
|
20333
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20334
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20333
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
20334
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.TextSkeleton.Body, { className: "w-2/3" })
|
|
20335
20335
|
] }) }),
|
|
20336
20336
|
showMetadata && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full min-w-0 items-center justify-between gap-2", children: [
|
|
20337
20337
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-shrink items-center gap-3 content-md:gap-4", children: [
|
|
20338
20338
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-shrink-0 items-center gap-1", children: [
|
|
20339
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20340
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20339
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.MediaSkeleton.Icon, { size: "sm", className: "h-5 w-5" }),
|
|
20340
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.TextSkeleton.Caption, { className: "w-8" })
|
|
20341
20341
|
] }),
|
|
20342
20342
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-shrink-0 items-center gap-1", children: [
|
|
20343
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20344
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20343
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.MediaSkeleton.Icon, { size: "sm", className: "h-5 w-5" }),
|
|
20344
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.TextSkeleton.Caption, { className: "w-10" })
|
|
20345
20345
|
] })
|
|
20346
20346
|
] }),
|
|
20347
20347
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex-shrink-0", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-1.5 rounded border border-ods-border bg-ods-bg px-2.5 py-1.5", children: [
|
|
20348
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-4 w-4 flex-shrink-0 items-center justify-center rounded-sm bg-ods-border", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20349
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20348
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-4 w-4 flex-shrink-0 items-center justify-center rounded-sm bg-ods-border", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.MediaSkeleton.Icon, { size: "sm", className: "h-2.5 w-2.5" }) }),
|
|
20349
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.TextSkeleton.Caption, { className: "w-16" })
|
|
20350
20350
|
] }) })
|
|
20351
20351
|
] })
|
|
20352
20352
|
] });
|
|
20353
20353
|
}
|
|
20354
20354
|
function BlogCardContent({ showActions, showMetadata }) {
|
|
20355
20355
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
20356
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "blog-card-image-container relative aspect-[1200/630] w-full overflow-hidden bg-ods-bg", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20356
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "blog-card-image-container relative aspect-[1200/630] w-full overflow-hidden bg-ods-bg", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.MediaSkeleton.CardImage, {}) }),
|
|
20357
20357
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-grow flex-col p-4", children: [
|
|
20358
20358
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mb-3 flex min-h-[50.4px] items-center content-md:min-h-[56px] content-lg:min-h-[61.6px]", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "w-full space-y-1", children: [
|
|
20359
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20360
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20359
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.TextSkeleton.Subheading, { className: "w-full" }),
|
|
20360
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.TextSkeleton.Subheading, { className: "w-3/4" })
|
|
20361
20361
|
] }) }),
|
|
20362
20362
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "mb-3 flex h-[28px] items-center gap-2", children: [
|
|
20363
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20364
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20363
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.InteractiveSkeleton.Chip, { className: "w-16" }),
|
|
20364
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.InteractiveSkeleton.Chip, { className: "w-12" })
|
|
20365
20365
|
] }),
|
|
20366
20366
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mb-3 flex min-h-[42px] items-center content-md:min-h-[45px] content-lg:min-h-[48px]", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "w-full space-y-1", children: [
|
|
20367
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20368
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20367
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
20368
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.TextSkeleton.Body, { className: "w-1/2" })
|
|
20369
20369
|
] }) }),
|
|
20370
|
-
showActions && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pt-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20370
|
+
showActions && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pt-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.InteractiveSkeleton.Button, { className: "h-8 w-24" }) }),
|
|
20371
20371
|
showMetadata && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mt-auto", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center justify-between gap-4 border-t border-ods-border pt-4", children: [
|
|
20372
20372
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 items-center gap-2", children: [
|
|
20373
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20374
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20373
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.MediaSkeleton.Avatar, { size: "sm" }),
|
|
20374
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.TextSkeleton.Caption, { className: "w-16" })
|
|
20375
20375
|
] }),
|
|
20376
20376
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex shrink-0 items-center gap-3 text-ods-text-muted", children: [
|
|
20377
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20377
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.TextSkeleton.Caption, { className: "w-12" }),
|
|
20378
20378
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-1 w-1 rounded-full bg-ods-skeleton" }),
|
|
20379
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20379
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.TextSkeleton.Caption, { className: "w-16" })
|
|
20380
20380
|
] })
|
|
20381
20381
|
] }) })
|
|
20382
20382
|
] })
|
|
@@ -20384,35 +20384,35 @@ function BlogCardContent({ showActions, showMetadata }) {
|
|
|
20384
20384
|
}
|
|
20385
20385
|
function CategoryCardContent() {
|
|
20386
20386
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-4 p-4 content-md:p-6", children: [
|
|
20387
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex gap-2 content-md:gap-3", children: Array.from({ length: 6 }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20387
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex gap-2 content-md:gap-3", children: Array.from({ length: 6 }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.MediaSkeleton.Icon, { size: "lg", className: "flex-shrink-0" }, index)) }),
|
|
20388
20388
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
20389
20389
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-1", children: [
|
|
20390
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20391
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20390
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.TextSkeleton.Subheading, { className: "w-3/4" }),
|
|
20391
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.TextSkeleton.Caption, { className: "w-1/2" })
|
|
20392
20392
|
] }),
|
|
20393
20393
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start justify-between gap-4 content-md:items-end content-md:gap-6", children: [
|
|
20394
20394
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex-1 space-y-2", children: [
|
|
20395
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20396
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20395
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
20396
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.TextSkeleton.Body, { className: "w-2/3" })
|
|
20397
20397
|
] }),
|
|
20398
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20398
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.InteractiveSkeleton.Button, { className: "h-10 w-10 flex-shrink-0 content-md:h-12 content-md:w-12" })
|
|
20399
20399
|
] })
|
|
20400
20400
|
] })
|
|
20401
20401
|
] });
|
|
20402
20402
|
}
|
|
20403
20403
|
function AlternativeCardContent({ showActions }) {
|
|
20404
20404
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start gap-4 p-4", children: [
|
|
20405
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20405
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.MediaSkeleton.Avatar, { size: "md", className: "flex-shrink-0" }),
|
|
20406
20406
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex-1 space-y-2", children: [
|
|
20407
20407
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center justify-between", children: [
|
|
20408
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20409
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20408
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.TextSkeleton.Subheading, { className: "w-1/3" }),
|
|
20409
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.TextSkeleton.Caption, { className: "w-16" })
|
|
20410
20410
|
] }),
|
|
20411
20411
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-1", children: [
|
|
20412
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20413
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20412
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
20413
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.TextSkeleton.Body, { className: "w-5/6" })
|
|
20414
20414
|
] }),
|
|
20415
|
-
showActions && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pt-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20415
|
+
showActions && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pt-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.InteractiveSkeleton.Button, { className: "h-8 w-20" }) })
|
|
20416
20416
|
] })
|
|
20417
20417
|
] });
|
|
20418
20418
|
}
|
|
@@ -20463,12 +20463,12 @@ function HeroSkeleton() {
|
|
|
20463
20463
|
background: "radial-gradient(circle at 50% 0%, #242323 0%, #1A1A1A 100%)"
|
|
20464
20464
|
},
|
|
20465
20465
|
children: [
|
|
20466
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20466
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.TextSkeleton.Heading, { className: "mb-4 h-12 w-full max-w-4xl content-md:mb-6 content-md:h-20 content-lg:h-24" }),
|
|
20467
20467
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "mb-8 w-full max-w-4xl space-y-3 px-2 content-md:mb-10", children: [
|
|
20468
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20469
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20468
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.TextSkeleton.Body, { className: "h-5 content-md:h-7" }),
|
|
20469
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.TextSkeleton.Body, { className: "mx-auto h-5 w-3/4 content-md:h-7" })
|
|
20470
20470
|
] }),
|
|
20471
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20471
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.InteractiveSkeleton.Button, { className: "h-12 w-full content-md:w-64" })
|
|
20472
20472
|
]
|
|
20473
20473
|
}
|
|
20474
20474
|
);
|
|
@@ -20479,14 +20479,14 @@ function SearchContainerSkeleton({
|
|
|
20479
20479
|
}) {
|
|
20480
20480
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "space-y-4", className || ""), children: [
|
|
20481
20481
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex gap-2 content-md:gap-4", children: [
|
|
20482
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20483
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20482
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.InteractiveSkeleton.Input, { className: "flex-1" }),
|
|
20483
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.InteractiveSkeleton.Button, { className: "w-32 content-md:w-40" })
|
|
20484
20484
|
] }),
|
|
20485
20485
|
showFilters && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-wrap gap-2", children: [
|
|
20486
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20487
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20488
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20489
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20486
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.InteractiveSkeleton.Chip, {}),
|
|
20487
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.InteractiveSkeleton.Chip, { className: "w-24" }),
|
|
20488
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.InteractiveSkeleton.Chip, { className: "w-16" }),
|
|
20489
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.InteractiveSkeleton.Chip, { className: "w-20" })
|
|
20490
20490
|
] })
|
|
20491
20491
|
] });
|
|
20492
20492
|
}
|
|
@@ -20505,7 +20505,7 @@ function CategorySidebarSkeleton({ className }) {
|
|
|
20505
20505
|
{ type: "file", width: "w-36" }
|
|
20506
20506
|
];
|
|
20507
20507
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "w-full content-lg:w-[320px]", className), children: [
|
|
20508
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20508
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.UnifiedSkeleton, { className: "mb-4 h-[14px] w-24 rounded" }),
|
|
20509
20509
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-1.5", children: items.map((item, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
20510
20510
|
"div",
|
|
20511
20511
|
{
|
|
@@ -20515,12 +20515,12 @@ function CategorySidebarSkeleton({ className }) {
|
|
|
20515
20515
|
),
|
|
20516
20516
|
children: [
|
|
20517
20517
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2.5", children: [
|
|
20518
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20519
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20518
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.UnifiedSkeleton, { className: "h-4 w-4 shrink-0 rounded" }),
|
|
20519
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.UnifiedSkeleton, { className: `h-[14px] ${item.width} rounded` })
|
|
20520
20520
|
] }),
|
|
20521
20521
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-[18px] items-center gap-2", children: [
|
|
20522
|
-
item.hasBadge && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20523
|
-
item.type === "folder" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20522
|
+
item.hasBadge && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.UnifiedSkeleton, { className: "h-[18px] w-14 rounded" }),
|
|
20523
|
+
item.type === "folder" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.UnifiedSkeleton, { className: "h-4 w-4 rounded" })
|
|
20524
20524
|
] })
|
|
20525
20525
|
]
|
|
20526
20526
|
},
|
|
@@ -20530,13 +20530,13 @@ function CategorySidebarSkeleton({ className }) {
|
|
|
20530
20530
|
}
|
|
20531
20531
|
function BreadcrumbSkeleton({ className }) {
|
|
20532
20532
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "mb-6 flex items-center space-x-1", className), children: [
|
|
20533
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20534
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20535
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20536
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20537
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20538
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20539
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20533
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.TextSkeleton.Caption, { className: "w-16" }),
|
|
20534
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.UnifiedSkeleton, { variant: "default", className: "h-4 w-4 rounded-full" }),
|
|
20535
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.TextSkeleton.Caption, { className: "w-24" }),
|
|
20536
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.UnifiedSkeleton, { variant: "default", className: "h-4 w-4 rounded-full" }),
|
|
20537
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.TextSkeleton.Caption, { className: "w-32" }),
|
|
20538
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.UnifiedSkeleton, { variant: "default", className: "h-4 w-4 rounded-full" }),
|
|
20539
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.TextSkeleton.Caption, { className: "w-24" })
|
|
20540
20540
|
] });
|
|
20541
20541
|
}
|
|
20542
20542
|
function ResultsHeaderSkeleton({ className }) {
|
|
@@ -20547,7 +20547,7 @@ function ResultsHeaderSkeleton({ className }) {
|
|
|
20547
20547
|
"mb-6 flex flex-col items-start justify-between gap-4 content-md:flex-row content-md:items-center",
|
|
20548
20548
|
className
|
|
20549
20549
|
),
|
|
20550
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20550
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.TextSkeleton.Body, { className: "w-48" }) })
|
|
20551
20551
|
}
|
|
20552
20552
|
);
|
|
20553
20553
|
}
|
|
@@ -20581,35 +20581,35 @@ function ArticleLayoutSkeleton({ className }) {
|
|
|
20581
20581
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "article", { className: _chunk3ATAYP36cjs.cn.call(void 0, "mx-auto max-w-4xl", className), children: [
|
|
20582
20582
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "header", { className: "mb-8 space-y-4 content-md:mb-12 content-md:space-y-6", children: [
|
|
20583
20583
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex gap-2", children: [
|
|
20584
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20585
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20584
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.InteractiveSkeleton.Chip, {}),
|
|
20585
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.InteractiveSkeleton.Chip, { className: "w-16" })
|
|
20586
20586
|
] }),
|
|
20587
20587
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-3", children: [
|
|
20588
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20589
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20588
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.TextSkeleton.Heading, { className: "w-full" }),
|
|
20589
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.TextSkeleton.Heading, { className: "w-3/4" })
|
|
20590
20590
|
] }),
|
|
20591
20591
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-4 border-t border-ods-divider pt-4", children: [
|
|
20592
20592
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
|
|
20593
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20594
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20593
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.MediaSkeleton.Avatar, { size: "sm" }),
|
|
20594
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.TextSkeleton.Caption, { className: "w-24" })
|
|
20595
20595
|
] }),
|
|
20596
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20597
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20596
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.TextSkeleton.Caption, { className: "w-20" }),
|
|
20597
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.TextSkeleton.Caption, { className: "w-16" })
|
|
20598
20598
|
] })
|
|
20599
20599
|
] }),
|
|
20600
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mb-8 content-md:mb-12", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20600
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mb-8 content-md:mb-12", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.MediaSkeleton.CardImage, { className: "h-64 w-full content-md:h-96" }) }),
|
|
20601
20601
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "prose prose-invert max-w-none space-y-6", children: [
|
|
20602
20602
|
Array.from({ length: 12 }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
20603
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20604
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20605
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20606
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20603
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
20604
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
20605
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.TextSkeleton.Body, { className: "w-5/6" }),
|
|
20606
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.TextSkeleton.Body, { className: "w-3/4" })
|
|
20607
20607
|
] }, index)),
|
|
20608
20608
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "py-4", children: [
|
|
20609
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20609
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.TextSkeleton.Subheading, { className: "mb-4 w-2/3" }),
|
|
20610
20610
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
20611
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20612
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20611
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
20612
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.TextSkeleton.Body, { className: "w-4/5" })
|
|
20613
20613
|
] })
|
|
20614
20614
|
] })
|
|
20615
20615
|
] })
|
|
@@ -20835,11 +20835,11 @@ function StatsSectionSkeleton({ className, columns = 3 }) {
|
|
|
20835
20835
|
className
|
|
20836
20836
|
),
|
|
20837
20837
|
children: Array.from({ length: columns }).map((_, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rounded-lg border border-ods-border bg-ods-card p-6", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-4", children: [
|
|
20838
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20839
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20838
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.MediaSkeleton.Icon, { size: "lg" }),
|
|
20839
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.TextSkeleton.Subheading, { className: "w-3/4" }),
|
|
20840
20840
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
20841
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20842
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20841
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
20842
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.TextSkeleton.Body, { className: "w-3/4" })
|
|
20843
20843
|
] })
|
|
20844
20844
|
] }) }, i))
|
|
20845
20845
|
}
|
|
@@ -20994,7 +20994,7 @@ function useContentLoading(isLoading) {
|
|
|
20994
20994
|
|
|
20995
20995
|
function ParagraphSkeleton({ className, lines = 4 }) {
|
|
20996
20996
|
const lineWidths = ["w-full", "w-full", "w-5/6", "w-3/4", "w-4/5", "w-2/3"];
|
|
20997
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "space-y-2", className), children: Array.from({ length: lines }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20997
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "space-y-2", className), children: Array.from({ length: lines }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.TextSkeleton.Body, { className: lineWidths[index % lineWidths.length] }, index)) });
|
|
20998
20998
|
}
|
|
20999
20999
|
function ListSkeleton({
|
|
21000
21000
|
className,
|
|
@@ -21004,12 +21004,12 @@ function ListSkeleton({
|
|
|
21004
21004
|
}) {
|
|
21005
21005
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "space-y-3", className), children: Array.from({ length: items }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center justify-between", children: [
|
|
21006
21006
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3", children: [
|
|
21007
|
-
showIcons && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21008
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21007
|
+
showIcons && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.MediaSkeleton.Icon, { size: "sm" }),
|
|
21008
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.TextSkeleton.Body, { className: "w-32 content-md:w-48" })
|
|
21009
21009
|
] }),
|
|
21010
21010
|
showActions && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
|
|
21011
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21012
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21011
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.TextSkeleton.Caption, { className: "w-8" }),
|
|
21012
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.UnifiedSkeleton, { variant: "default", className: "h-4 w-4" })
|
|
21013
21013
|
] })
|
|
21014
21014
|
] }, index)) });
|
|
21015
21015
|
}
|
|
@@ -21019,13 +21019,13 @@ function TableSkeleton({
|
|
|
21019
21019
|
columns = 4
|
|
21020
21020
|
}) {
|
|
21021
21021
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "space-y-4", className), children: [
|
|
21022
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "grid gap-4", style: { gridTemplateColumns: `repeat(${columns}, 1fr)` }, children: Array.from({ length: columns }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21022
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "grid gap-4", style: { gridTemplateColumns: `repeat(${columns}, 1fr)` }, children: Array.from({ length: columns }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.TextSkeleton.Subheading, { className: "w-3/4" }, index)) }),
|
|
21023
21023
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-3", children: Array.from({ length: rows }).map((_, rowIndex) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21024
21024
|
"div",
|
|
21025
21025
|
{
|
|
21026
21026
|
className: "grid gap-4 border-b border-ods-divider py-2",
|
|
21027
21027
|
style: { gridTemplateColumns: `repeat(${columns}, 1fr)` },
|
|
21028
|
-
children: Array.from({ length: columns }).map((_cell, colIndex) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21028
|
+
children: Array.from({ length: columns }).map((_cell, colIndex) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.TextSkeleton.Body, { className: "w-2/3" }, colIndex))
|
|
21029
21029
|
},
|
|
21030
21030
|
rowIndex
|
|
21031
21031
|
)) })
|
|
@@ -21034,13 +21034,13 @@ function TableSkeleton({
|
|
|
21034
21034
|
function FormSkeleton({ className, fields = 4 }) {
|
|
21035
21035
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "space-y-6", className), children: [
|
|
21036
21036
|
Array.from({ length: fields }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
21037
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21038
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21039
|
-
index % 3 === 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21037
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.TextSkeleton.Body, { className: "w-24" }),
|
|
21038
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.InteractiveSkeleton.Input, {}),
|
|
21039
|
+
index % 3 === 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.TextSkeleton.Caption, { className: "w-48" })
|
|
21040
21040
|
] }, index)),
|
|
21041
21041
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex gap-4 pt-4", children: [
|
|
21042
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21043
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21042
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.InteractiveSkeleton.Button, {}),
|
|
21043
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.InteractiveSkeleton.Button, { className: "bg-ods-border" })
|
|
21044
21044
|
] })
|
|
21045
21045
|
] });
|
|
21046
21046
|
}
|
|
@@ -21055,7 +21055,7 @@ function NavigationSkeleton({
|
|
|
21055
21055
|
className: _chunk3ATAYP36cjs.cn.call(void 0, "flex gap-4 content-md:gap-6", !horizontal && "flex-col", className),
|
|
21056
21056
|
role: "status",
|
|
21057
21057
|
"aria-label": "Loading navigation",
|
|
21058
|
-
children: Array.from({ length: items }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21058
|
+
children: Array.from({ length: items }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.TextSkeleton.Body, { className: "w-16 content-md:w-20" }, index))
|
|
21059
21059
|
}
|
|
21060
21060
|
);
|
|
21061
21061
|
}
|
|
@@ -21066,30 +21066,30 @@ function ProfileSkeleton({
|
|
|
21066
21066
|
}) {
|
|
21067
21067
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "space-y-4", className), children: [
|
|
21068
21068
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start gap-4", children: [
|
|
21069
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21069
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.MediaSkeleton.Avatar, { size: "lg" }),
|
|
21070
21070
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex-1 space-y-2", children: [
|
|
21071
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21072
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21073
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21071
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.TextSkeleton.Subheading, { className: "w-1/2" }),
|
|
21072
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.TextSkeleton.Caption, { className: "w-1/3" }),
|
|
21073
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.TextSkeleton.Body, { className: "w-2/3" })
|
|
21074
21074
|
] })
|
|
21075
21075
|
] }),
|
|
21076
21076
|
showBio && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
21077
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21078
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21079
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21077
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
21078
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.TextSkeleton.Body, { className: "w-4/5" }),
|
|
21079
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.TextSkeleton.Body, { className: "w-3/4" })
|
|
21080
21080
|
] }),
|
|
21081
21081
|
showStats && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex gap-6", children: [
|
|
21082
21082
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "text-center", children: [
|
|
21083
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21084
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21083
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.TextSkeleton.Subheading, { className: "mx-auto w-8" }),
|
|
21084
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.TextSkeleton.Caption, { className: "mx-auto w-12" })
|
|
21085
21085
|
] }),
|
|
21086
21086
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "text-center", children: [
|
|
21087
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21088
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21087
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.TextSkeleton.Subheading, { className: "mx-auto w-8" }),
|
|
21088
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.TextSkeleton.Caption, { className: "mx-auto w-16" })
|
|
21089
21089
|
] }),
|
|
21090
21090
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "text-center", children: [
|
|
21091
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21092
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21091
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.TextSkeleton.Subheading, { className: "mx-auto w-8" }),
|
|
21092
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.TextSkeleton.Caption, { className: "mx-auto w-14" })
|
|
21093
21093
|
] })
|
|
21094
21094
|
] })
|
|
21095
21095
|
] });
|
|
@@ -21101,32 +21101,32 @@ function CommentSkeleton({
|
|
|
21101
21101
|
}) {
|
|
21102
21102
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "space-y-3", className), children: [
|
|
21103
21103
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3", children: [
|
|
21104
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21104
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.MediaSkeleton.Avatar, { size: "sm" }),
|
|
21105
21105
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-1 items-center gap-4", children: [
|
|
21106
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21107
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21108
|
-
showRating && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex gap-1", children: Array.from({ length: 5 }).map((_, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21106
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.TextSkeleton.Body, { className: "w-24" }),
|
|
21107
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.TextSkeleton.Caption, { className: "w-16" }),
|
|
21108
|
+
showRating && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex gap-1", children: Array.from({ length: 5 }).map((_, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.MediaSkeleton.Icon, { size: "sm" }, i)) })
|
|
21109
21109
|
] })
|
|
21110
21110
|
] }),
|
|
21111
21111
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "ml-11 space-y-2", children: [
|
|
21112
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21113
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21114
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21112
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
21113
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.TextSkeleton.Body, { className: "w-3/4" }),
|
|
21114
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.TextSkeleton.Body, { className: "w-1/2" })
|
|
21115
21115
|
] }),
|
|
21116
21116
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "ml-11 flex gap-4", children: [
|
|
21117
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21118
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21119
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21117
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.TextSkeleton.Caption, { className: "w-12" }),
|
|
21118
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.TextSkeleton.Caption, { className: "w-16" }),
|
|
21119
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.TextSkeleton.Caption, { className: "w-8" })
|
|
21120
21120
|
] }),
|
|
21121
21121
|
showReplies && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "ml-11 space-y-4 border-l border-ods-divider pl-4", children: Array.from({ length: 2 }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
21122
21122
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3", children: [
|
|
21123
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21124
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21125
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21123
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.MediaSkeleton.Avatar, { size: "sm" }),
|
|
21124
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.TextSkeleton.Body, { className: "w-20" }),
|
|
21125
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.TextSkeleton.Caption, { className: "w-12" })
|
|
21126
21126
|
] }),
|
|
21127
21127
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "ml-11", children: [
|
|
21128
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21129
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21128
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
21129
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.TextSkeleton.Body, { className: "w-2/3" })
|
|
21130
21130
|
] })
|
|
21131
21131
|
] }, index)) })
|
|
21132
21132
|
] });
|
|
@@ -21139,31 +21139,31 @@ function FeatureListSkeleton({
|
|
|
21139
21139
|
}) {
|
|
21140
21140
|
if (grouped) {
|
|
21141
21141
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "space-y-6", className), children: Array.from({ length: 3 }).map((_, groupIndex) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-3", children: [
|
|
21142
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21142
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.TextSkeleton.Subheading, { className: "w-1/3" }),
|
|
21143
21143
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-2", children: Array.from({ length: features / 3 }).map((_feature, featureIndex) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3", children: [
|
|
21144
|
-
showIcons && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21145
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21144
|
+
showIcons && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.MediaSkeleton.Icon, { size: "sm" }),
|
|
21145
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.TextSkeleton.Body, { className: "w-2/3" })
|
|
21146
21146
|
] }, featureIndex)) })
|
|
21147
21147
|
] }, groupIndex)) });
|
|
21148
21148
|
}
|
|
21149
21149
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "space-y-3", className), children: Array.from({ length: features }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3", children: [
|
|
21150
|
-
showIcons && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21151
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21150
|
+
showIcons && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.MediaSkeleton.Icon, { size: "sm" }),
|
|
21151
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.TextSkeleton.Body, { className: "w-2/3" })
|
|
21152
21152
|
] }, index)) });
|
|
21153
21153
|
}
|
|
21154
21154
|
function TimelineSkeleton({ className, items = 5 }) {
|
|
21155
21155
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "space-y-6", className), children: Array.from({ length: items }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex gap-4", children: [
|
|
21156
21156
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col items-center", children: [
|
|
21157
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21157
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.MediaSkeleton.Icon, { size: "sm" }),
|
|
21158
21158
|
index < items - 1 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mt-2 h-12 w-px bg-ods-border" })
|
|
21159
21159
|
] }),
|
|
21160
21160
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex-1 space-y-2", children: [
|
|
21161
21161
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3", children: [
|
|
21162
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21163
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21162
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.TextSkeleton.Body, { className: "w-1/3" }),
|
|
21163
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.TextSkeleton.Caption, { className: "w-16" })
|
|
21164
21164
|
] }),
|
|
21165
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21166
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21165
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
21166
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.TextSkeleton.Body, { className: "w-3/4" })
|
|
21167
21167
|
] })
|
|
21168
21168
|
] }, index)) });
|
|
21169
21169
|
}
|
|
@@ -21179,16 +21179,16 @@ function PricingSkeleton({ className, plans = 3 }) {
|
|
|
21179
21179
|
className
|
|
21180
21180
|
),
|
|
21181
21181
|
children: Array.from({ length: plans }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rounded-lg border border-ods-border bg-ods-card p-6", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-4", children: [
|
|
21182
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21182
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.TextSkeleton.Subheading, { className: "w-1/2" }),
|
|
21183
21183
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-1", children: [
|
|
21184
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21185
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21184
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.TextSkeleton.Heading, { className: "w-1/3" }),
|
|
21185
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.TextSkeleton.Caption, { className: "w-1/4" })
|
|
21186
21186
|
] }),
|
|
21187
21187
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-3 py-4", children: Array.from({ length: 5 }).map((_feature, featureIndex) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
|
|
21188
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21189
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21188
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.MediaSkeleton.Icon, { size: "sm" }),
|
|
21189
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.TextSkeleton.Body, { className: "w-3/4" })
|
|
21190
21190
|
] }, featureIndex)) }),
|
|
21191
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21191
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.InteractiveSkeleton.Button, { className: "w-full" })
|
|
21192
21192
|
] }) }, index))
|
|
21193
21193
|
}
|
|
21194
21194
|
);
|
|
@@ -21224,12 +21224,12 @@ function MspProfileFormSkeleton({ className, fields = 4 }) {
|
|
|
21224
21224
|
"aria-label": "Loading MSP profile form",
|
|
21225
21225
|
children: [
|
|
21226
21226
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-full flex-col space-y-2", children: [
|
|
21227
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21228
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-h-[180px] flex-1 content-md:min-h-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21227
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.TextSkeleton.Body, { className: "w-28" }),
|
|
21228
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-h-[180px] flex-1 content-md:min-h-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.UnifiedSkeleton, { className: "h-full w-full rounded-lg", "aria-label": "Loading company logo" }) })
|
|
21229
21229
|
] }),
|
|
21230
21230
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "grid grid-cols-1 gap-4 content-md:grid-cols-2", children: Array.from({ length: fields }).map((_, idx) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col space-y-2", children: [
|
|
21231
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21232
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21231
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.TextSkeleton.Body, { className: "w-40" }),
|
|
21232
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.InteractiveSkeleton.Input, {})
|
|
21233
21233
|
] }, idx)) })
|
|
21234
21234
|
]
|
|
21235
21235
|
}
|
|
@@ -21249,13 +21249,13 @@ function CategoryCardSkeleton({ className }) {
|
|
|
21249
21249
|
role: "status",
|
|
21250
21250
|
"aria-label": "Loading category card",
|
|
21251
21251
|
children: [
|
|
21252
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mb-8 flex items-center justify-center gap-6", children: Array.from({ length: 10 }).map((_, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21252
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mb-8 flex items-center justify-center gap-6", children: Array.from({ length: 10 }).map((_, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.UnifiedSkeleton, { variant: "circular", className: "h-10 w-10 flex-shrink-0", "aria-label": "Loading icon" }, i)) }),
|
|
21253
21253
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-1 flex-col space-y-3", children: [
|
|
21254
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21255
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21256
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21254
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.TextSkeleton.Heading, { className: "w-3/4" }),
|
|
21255
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.TextSkeleton.Body, { className: "w-1/2" }),
|
|
21256
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.TextSkeleton.Body, { className: "w-full" })
|
|
21257
21257
|
] }),
|
|
21258
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mt-4 flex justify-end", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21258
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mt-4 flex justify-end", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.UnifiedSkeleton, { className: "h-12 w-12 rounded-[6px]", "aria-label": "Loading button" }) })
|
|
21259
21259
|
]
|
|
21260
21260
|
}
|
|
21261
21261
|
);
|
|
@@ -21272,12 +21272,12 @@ function CategoryVendorSelectorSkeleton({ subcategories = 3, className }) {
|
|
|
21272
21272
|
"aria-label": "Loading category section",
|
|
21273
21273
|
children: [
|
|
21274
21274
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "mb-6 max-w-xl space-y-2", children: [
|
|
21275
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21276
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21275
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.TextSkeleton.Heading, { className: "w-1/2" }),
|
|
21276
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.TextSkeleton.Body, { className: "w-3/4" })
|
|
21277
21277
|
] }),
|
|
21278
21278
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-6", children: Array.from({ length: subcategories }).map((_, idx) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
21279
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21280
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "grid grid-cols-2 gap-4 content-md:grid-cols-3", children: Array.from({ length: 2 }).map((__, j) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21279
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.TextSkeleton.Subheading, { className: "w-1/3" }),
|
|
21280
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "grid grid-cols-2 gap-4 content-md:grid-cols-3", children: Array.from({ length: 2 }).map((__, j) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.UnifiedSkeleton, { className: "h-20 rounded-lg" }, j)) })
|
|
21281
21281
|
] }, idx)) })
|
|
21282
21282
|
]
|
|
21283
21283
|
}
|
|
@@ -21288,14 +21288,14 @@ function CategoryVendorSelectorSkeleton({ subcategories = 3, className }) {
|
|
|
21288
21288
|
|
|
21289
21289
|
function WizardLayoutSkeleton({ steps = 6, className }) {
|
|
21290
21290
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "space-y-6", className), role: "status", "aria-label": "Loading wizard layout", children: [
|
|
21291
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex flex-wrap items-center gap-2", children: Array.from({ length: steps }).map((_, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21291
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex flex-wrap items-center gap-2", children: Array.from({ length: steps }).map((_, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.UnifiedSkeleton, { className: "h-6 w-24 rounded" }, i)) }),
|
|
21292
21292
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "max-w-2xl space-y-2", children: [
|
|
21293
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21294
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21293
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.TextSkeleton.Heading, { className: "w-2/3" }),
|
|
21294
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.TextSkeleton.Body, { className: "w-1/2" })
|
|
21295
21295
|
] }),
|
|
21296
21296
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "mt-10 flex justify-between", children: [
|
|
21297
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21298
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21297
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.UnifiedSkeleton, { className: "h-10 w-24 rounded" }),
|
|
21298
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.UnifiedSkeleton, { className: "h-10 w-32 rounded" })
|
|
21299
21299
|
] })
|
|
21300
21300
|
] });
|
|
21301
21301
|
}
|
|
@@ -21687,28 +21687,28 @@ function OrganizationCardSkeleton({
|
|
|
21687
21687
|
}
|
|
21688
21688
|
),
|
|
21689
21689
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col justify-center space-y-1 py-2", children: [
|
|
21690
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21691
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21690
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.TextSkeleton.Subheading, { className: "w-3/4" }),
|
|
21691
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.TextSkeleton.Caption, { className: "w-1/2" })
|
|
21692
21692
|
] })
|
|
21693
21693
|
] }),
|
|
21694
21694
|
showDescription && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-12 w-full items-center overflow-hidden", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "w-full space-y-1", children: [
|
|
21695
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21696
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21695
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
21696
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.TextSkeleton.Body, { className: "w-2/3" })
|
|
21697
21697
|
] }) }),
|
|
21698
21698
|
showFooter && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full min-w-0 items-center justify-between gap-2", children: [
|
|
21699
21699
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-shrink items-center gap-3 content-md:gap-4", children: [
|
|
21700
21700
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-shrink-0 items-center gap-1", children: [
|
|
21701
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21702
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21701
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.MediaSkeleton.Icon, { size: "sm", className: "h-5 w-5" }),
|
|
21702
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.TextSkeleton.Caption, { className: "w-8" })
|
|
21703
21703
|
] }),
|
|
21704
21704
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-shrink-0 items-center gap-1", children: [
|
|
21705
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21706
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21705
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.MediaSkeleton.Icon, { size: "sm", className: "h-5 w-5" }),
|
|
21706
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.TextSkeleton.Caption, { className: "w-10" })
|
|
21707
21707
|
] })
|
|
21708
21708
|
] }),
|
|
21709
21709
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex-shrink-0", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-1.5 rounded border border-ods-border bg-ods-bg px-2.5 py-1.5", children: [
|
|
21710
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-4 w-4 flex-shrink-0 items-center justify-center rounded-sm bg-ods-border", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21711
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21710
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-4 w-4 flex-shrink-0 items-center justify-center rounded-sm bg-ods-border", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.MediaSkeleton.Icon, { size: "sm", className: "h-2.5 w-2.5" }) }),
|
|
21711
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.TextSkeleton.Caption, { className: "w-16" })
|
|
21712
21712
|
] }) })
|
|
21713
21713
|
] })
|
|
21714
21714
|
] })
|
|
@@ -21785,16 +21785,16 @@ function DeviceCardSkeletonGrid({ count = 12, className }) {
|
|
|
21785
21785
|
|
|
21786
21786
|
function PushButtonSelectorSkeleton({ count = 3, hasTitle }) {
|
|
21787
21787
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-3", role: "status", "aria-label": "Loading options", children: [
|
|
21788
|
-
hasTitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21788
|
+
hasTitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.UnifiedSkeleton, { className: "h-5 w-20", "aria-label": "Loading title" }),
|
|
21789
21789
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-3", children: Array.from({ length: count }, (_, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rounded-lg border border-ods-border bg-ods-bg p-4", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center justify-between gap-4", children: [
|
|
21790
21790
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3", children: [
|
|
21791
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21791
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.UnifiedSkeleton, { className: "h-8 w-8", "aria-label": "Loading icon" }),
|
|
21792
21792
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { children: [
|
|
21793
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21794
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21793
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.UnifiedSkeleton, { variant: "text", className: "mb-2 h-4 w-24", "aria-label": "Loading name" }),
|
|
21794
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.UnifiedSkeleton, { variant: "text", className: "h-4 w-36", "aria-label": "Loading description" })
|
|
21795
21795
|
] })
|
|
21796
21796
|
] }),
|
|
21797
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21797
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.UnifiedSkeleton, { className: "h-6 w-6", "aria-label": "Loading selection state" })
|
|
21798
21798
|
] }) }, i)) })
|
|
21799
21799
|
] });
|
|
21800
21800
|
}
|
|
@@ -22046,14 +22046,14 @@ var MODEL_TOKEN_RATES_COPY = {
|
|
|
22046
22046
|
empty: "No token rates are in effect right now."
|
|
22047
22047
|
};
|
|
22048
22048
|
function providerMark(providerType, stated, className) {
|
|
22049
|
-
const Mark = _chunkFICJS5OAcjs.findIcon.call(void 0,
|
|
22049
|
+
const Mark = _chunkFICJS5OAcjs.findIcon.call(void 0, _chunkEMBH2EJOcjs.aiProvider.call(void 0, providerType, { icon: stated }).icon);
|
|
22050
22050
|
return Mark ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Mark, { className }) : void 0;
|
|
22051
22051
|
}
|
|
22052
22052
|
var PAD_X = "px-[var(--spacing-system-s)]";
|
|
22053
22053
|
var ROW = "flex items-center gap-[var(--spacing-system-s)]";
|
|
22054
22054
|
var NUMBER_CELL = "w-16 shrink-0 whitespace-nowrap text-right tabular-nums";
|
|
22055
22055
|
function useProviderGroup(rates) {
|
|
22056
|
-
const groups =
|
|
22056
|
+
const groups = _chunkEMBH2EJOcjs.groupTokenRatesByProvider.call(void 0, rates);
|
|
22057
22057
|
const [picked, setPicked] = _react.useState.call(void 0, null);
|
|
22058
22058
|
return { groups, group: _nullishCoalesce(groups.find((candidate) => candidate.providerType === picked), () => ( groups[0])), setPicked };
|
|
22059
22059
|
}
|
|
@@ -22064,7 +22064,7 @@ function ProviderTabs({
|
|
|
22064
22064
|
className
|
|
22065
22065
|
}) {
|
|
22066
22066
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22067
|
-
|
|
22067
|
+
_chunkHAWQA5FIcjs.TabSelector,
|
|
22068
22068
|
{
|
|
22069
22069
|
variant: "secondary",
|
|
22070
22070
|
scrollable: true,
|
|
@@ -22072,7 +22072,7 @@ function ProviderTabs({
|
|
|
22072
22072
|
onValueChange,
|
|
22073
22073
|
items: groups.map((candidate) => ({
|
|
22074
22074
|
id: candidate.providerType,
|
|
22075
|
-
label:
|
|
22075
|
+
label: _chunkEMBH2EJOcjs.tokenRateProviderLabel.call(void 0, candidate.providerType, _optionalChain([candidate, 'access', _432 => _432.rates, 'access', _433 => _433[0], 'optionalAccess', _434 => _434.providerLabel])),
|
|
22076
22076
|
icon: providerMark(candidate.providerType, _optionalChain([candidate, 'access', _435 => _435.rates, 'access', _436 => _436[0], 'optionalAccess', _437 => _437.providerIcon]), "size-full")
|
|
22077
22077
|
})),
|
|
22078
22078
|
className
|
|
@@ -22173,8 +22173,8 @@ function ModelTokenRatesTable({ rates }) {
|
|
|
22173
22173
|
className: _chunk3ATAYP36cjs.cn.call(void 0, ROW, PAD_X, "py-[var(--spacing-system-xxs)] text-ods-text-primary text-h6"),
|
|
22174
22174
|
children: [
|
|
22175
22175
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "rowheader", className: "min-w-0 flex-1 truncate", children: rate.displayName || rate.modelName }),
|
|
22176
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "cell", className: NUMBER_CELL, children:
|
|
22177
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "cell", className: NUMBER_CELL, children:
|
|
22176
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "cell", className: NUMBER_CELL, children: _chunkEMBH2EJOcjs.formatTokenRate.call(void 0, rate.inputTokenRate) }),
|
|
22177
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "cell", className: NUMBER_CELL, children: _chunkEMBH2EJOcjs.formatTokenRate.call(void 0, rate.outputTokenRate) })
|
|
22178
22178
|
]
|
|
22179
22179
|
},
|
|
22180
22180
|
rate.modelName
|
|
@@ -22246,7 +22246,7 @@ function modelOption(rate) {
|
|
|
22246
22246
|
return {
|
|
22247
22247
|
label: rate.displayName || rate.modelName,
|
|
22248
22248
|
value: rate.modelName,
|
|
22249
|
-
description:
|
|
22249
|
+
description: _chunkEMBH2EJOcjs.tokenRateProviderLabel.call(void 0, rate.providerType, rate.providerLabel),
|
|
22250
22250
|
icon: providerMark(rate.providerType, rate.providerIcon, "size-full text-ods-text-secondary")
|
|
22251
22251
|
};
|
|
22252
22252
|
}
|
|
@@ -22300,8 +22300,8 @@ function ModelTokenExchange({
|
|
|
22300
22300
|
const [chosen, setChosen] = _react.useState.call(void 0, null);
|
|
22301
22301
|
const balance = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(chosen, () => ( defaultAmount)), () => ( _optionalChain([tokenPrice, 'optionalAccess', _438 => _438.tokens]))), () => ( MODEL_TOKEN_EXCHANGE_BALANCE));
|
|
22302
22302
|
const max = Math.max(amountRange.max, balance, ...presets.map((preset) => preset.tokens));
|
|
22303
|
-
const tokens =
|
|
22304
|
-
const cost =
|
|
22303
|
+
const tokens = _chunkEMBH2EJOcjs.formatTokenAmount.call(void 0, balance);
|
|
22304
|
+
const cost = _chunkEMBH2EJOcjs.tokenCost.call(void 0, balance, tokenPrice);
|
|
22305
22305
|
const balancePrice = cost === null ? null : _chunkFTTLBMHUcjs.formatPrice.call(void 0, cost);
|
|
22306
22306
|
const model = rate ? rate.displayName || rate.modelName : "";
|
|
22307
22307
|
const options = models.map(modelOption);
|
|
@@ -22343,7 +22343,7 @@ function ModelTokenExchange({
|
|
|
22343
22343
|
variant: preset.tokens === balance ? "accent" : "outline",
|
|
22344
22344
|
size: "small",
|
|
22345
22345
|
onClick: () => setChosen(preset.tokens),
|
|
22346
|
-
children: copy.buy.preset(
|
|
22346
|
+
children: copy.buy.preset(_chunkEMBH2EJOcjs.formatTokenAmount.call(void 0, preset.tokens), preset.label)
|
|
22347
22347
|
},
|
|
22348
22348
|
preset.label
|
|
22349
22349
|
)) })
|
|
@@ -22362,7 +22362,7 @@ function ModelTokenExchange({
|
|
|
22362
22362
|
const stated = _nullishCoalesce(models.find((option) => option.providerType === providerType), () => ( (_optionalChain([rate, 'optionalAccess', _439 => _439.providerType]) === providerType ? rate : null)));
|
|
22363
22363
|
return {
|
|
22364
22364
|
id: providerType,
|
|
22365
|
-
name:
|
|
22365
|
+
name: _chunkEMBH2EJOcjs.tokenRateProviderLabel.call(void 0, providerType, _optionalChain([stated, 'optionalAccess', _440 => _440.providerLabel])),
|
|
22366
22366
|
icon: providerMark(providerType, _optionalChain([stated, 'optionalAccess', _441 => _441.providerIcon]), "size-8 text-ods-text-secondary")
|
|
22367
22367
|
};
|
|
22368
22368
|
}),
|
|
@@ -22400,7 +22400,7 @@ function ModelTokenExchange({
|
|
|
22400
22400
|
{
|
|
22401
22401
|
size: "plain",
|
|
22402
22402
|
loading,
|
|
22403
|
-
figure:
|
|
22403
|
+
figure: _chunkEMBH2EJOcjs.formatTokenRate.call(void 0, _optionalChain([rate, 'optionalAccess', _446 => _446.inputTokenRate])),
|
|
22404
22404
|
words: copy.charge.input
|
|
22405
22405
|
}
|
|
22406
22406
|
),
|
|
@@ -22409,7 +22409,7 @@ function ModelTokenExchange({
|
|
|
22409
22409
|
{
|
|
22410
22410
|
size: "plain",
|
|
22411
22411
|
loading,
|
|
22412
|
-
figure:
|
|
22412
|
+
figure: _chunkEMBH2EJOcjs.formatTokenRate.call(void 0, _optionalChain([rate, 'optionalAccess', _447 => _447.outputTokenRate])),
|
|
22413
22413
|
words: copy.charge.output
|
|
22414
22414
|
}
|
|
22415
22415
|
)
|
|
@@ -22421,9 +22421,9 @@ function ModelTokenExchange({
|
|
|
22421
22421
|
className: "mt-auto flex flex-col rounded-md border border-ods-accent bg-ods-bg p-[var(--spacing-system-mf)]",
|
|
22422
22422
|
children: [
|
|
22423
22423
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-h-[2lh] text-ods-text-secondary text-h4", children: loading || !rate ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Bar, { className: "w-full max-w-xs" }) : copy.charge.so(_nullishCoalesce(balancePrice, () => ( copy.buy.tokens(tokens))), model) }),
|
|
22424
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-h-[1lh] whitespace-nowrap tabular-nums text-ods-text-primary text-h1", children: loading || !rate ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Bar, { className: "w-40" }) :
|
|
22424
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-h-[1lh] whitespace-nowrap tabular-nums text-ods-text-primary text-h1", children: loading || !rate ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Bar, { className: "w-40" }) : _chunkEMBH2EJOcjs.formatTokenAmount.call(void 0, _chunkEMBH2EJOcjs.tokensForBalance.call(void 0, balance, rate.inputTokenRate)) }),
|
|
22425
22425
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-h-[1lh] text-ods-text-primary text-h3", children: copy.charge.read }),
|
|
22426
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-h-[1lh] text-ods-text-secondary text-h4", children: loading || !rate ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Bar, { className: "w-48" }) : copy.charge.orWritten(
|
|
22426
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-h-[1lh] text-ods-text-secondary text-h4", children: loading || !rate ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Bar, { className: "w-48" }) : copy.charge.orWritten(_chunkEMBH2EJOcjs.formatTokenAmount.call(void 0, _chunkEMBH2EJOcjs.tokensForBalance.call(void 0, balance, rate.outputTokenRate))) })
|
|
22427
22427
|
]
|
|
22428
22428
|
}
|
|
22429
22429
|
)
|
|
@@ -22921,14 +22921,14 @@ var ConfidenceBadge = ({
|
|
|
22921
22921
|
size = "sm",
|
|
22922
22922
|
className
|
|
22923
22923
|
}) => {
|
|
22924
|
-
const level =
|
|
22924
|
+
const level = _chunkEMBH2EJOcjs.getConfidenceLevel.call(void 0, confidence);
|
|
22925
22925
|
if (level === "none") {
|
|
22926
22926
|
return null;
|
|
22927
22927
|
}
|
|
22928
|
-
const label =
|
|
22929
|
-
const borderClass =
|
|
22930
|
-
const textClass =
|
|
22931
|
-
const bgClass =
|
|
22928
|
+
const label = _chunkEMBH2EJOcjs.getConfidenceLabel.call(void 0, confidence);
|
|
22929
|
+
const borderClass = _chunkEMBH2EJOcjs.getConfidenceBorderClass.call(void 0, confidence);
|
|
22930
|
+
const textClass = _chunkEMBH2EJOcjs.getConfidenceTextClass.call(void 0, confidence);
|
|
22931
|
+
const bgClass = _chunkEMBH2EJOcjs.getConfidenceBgClass.call(void 0, confidence);
|
|
22932
22932
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
22933
22933
|
"span",
|
|
22934
22934
|
{
|
|
@@ -22979,9 +22979,9 @@ function SEOEditorPreview({
|
|
|
22979
22979
|
const [isUploading, setIsUploading] = _react.useState.call(void 0, false);
|
|
22980
22980
|
const [fileInputRef, setFileInputRef] = _react.useState.call(void 0, null);
|
|
22981
22981
|
const seoTitleLength = (seoTitle || "").length;
|
|
22982
|
-
const seoTitleTooLong = seoTitleLength >
|
|
22982
|
+
const seoTitleTooLong = seoTitleLength > _chunkEMBH2EJOcjs.SEO_TITLE_MAX_LENGTH;
|
|
22983
22983
|
const seoDescriptionLength = (seoDescription || "").length;
|
|
22984
|
-
const seoDescriptionTooLong = seoDescriptionLength >
|
|
22984
|
+
const seoDescriptionTooLong = seoDescriptionLength > _chunkEMBH2EJOcjs.SEO_DESCRIPTION_MAX_LENGTH;
|
|
22985
22985
|
const displayTitle = seoTitle.trim() || title || "Untitled";
|
|
22986
22986
|
const displayDescription = seoDescription.trim() || summary || "No description";
|
|
22987
22987
|
const hasOgImage = ogImageUrl.trim();
|
|
@@ -23006,10 +23006,10 @@ function SEOEditorPreview({
|
|
|
23006
23006
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid grid-cols-1 gap-4 content-lg:grid-cols-2", children: [
|
|
23007
23007
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
23008
23008
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23009
|
-
|
|
23009
|
+
_chunkEMBH2EJOcjs.Field,
|
|
23010
23010
|
{
|
|
23011
23011
|
label: "SEO Title",
|
|
23012
|
-
error: seoTitleTooLong ? `Too long: search engines may truncate this title (keep it under ${
|
|
23012
|
+
error: seoTitleTooLong ? `Too long: search engines may truncate this title (keep it under ${_chunkEMBH2EJOcjs.SEO_TITLE_MAX_LENGTH})` : null,
|
|
23013
23013
|
labelExtras: aiConfidenceSeoTitle !== void 0 ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
23014
23014
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, AIGeneratedBadge, {}),
|
|
23015
23015
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ConfidenceBadge, { confidence: aiConfidenceSeoTitle, showLabel: true, showPercentage: true, size: "sm" })
|
|
@@ -23024,7 +23024,7 @@ function SEOEditorPreview({
|
|
|
23024
23024
|
children: [
|
|
23025
23025
|
seoTitleLength,
|
|
23026
23026
|
"/",
|
|
23027
|
-
|
|
23027
|
+
_chunkEMBH2EJOcjs.SEO_TITLE_MAX_LENGTH
|
|
23028
23028
|
]
|
|
23029
23029
|
}
|
|
23030
23030
|
),
|
|
@@ -23035,7 +23035,7 @@ function SEOEditorPreview({
|
|
|
23035
23035
|
value: seoTitle || "",
|
|
23036
23036
|
onChange: (e) => onSeoTitleChange(e.target.value),
|
|
23037
23037
|
disabled,
|
|
23038
|
-
maxLength:
|
|
23038
|
+
maxLength: _chunkEMBH2EJOcjs.SEO_TITLE_MAX_LENGTH,
|
|
23039
23039
|
invalid: seoTitleTooLong,
|
|
23040
23040
|
placeholder: "Enter SEO meta title...",
|
|
23041
23041
|
className: "border-ods-border bg-ods-bg text-ods-text-primary"
|
|
@@ -23046,7 +23046,7 @@ function SEOEditorPreview({
|
|
|
23046
23046
|
!seoTitle && title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-accent text-h6", children: "Auto-populated from title" })
|
|
23047
23047
|
] }),
|
|
23048
23048
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23049
|
-
|
|
23049
|
+
_chunkEMBH2EJOcjs.Field,
|
|
23050
23050
|
{
|
|
23051
23051
|
label: "SEO Keywords",
|
|
23052
23052
|
labelExtras: aiConfidenceSeoKeywords !== void 0 ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
@@ -23078,10 +23078,10 @@ function SEOEditorPreview({
|
|
|
23078
23078
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid grid-cols-1 gap-4 content-lg:grid-cols-2", children: [
|
|
23079
23079
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
23080
23080
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23081
|
-
|
|
23081
|
+
_chunkEMBH2EJOcjs.Field,
|
|
23082
23082
|
{
|
|
23083
23083
|
label: "SEO Description",
|
|
23084
|
-
error: seoDescriptionTooLong ? `Too long: search engines may truncate this description (keep it under ${
|
|
23084
|
+
error: seoDescriptionTooLong ? `Too long: search engines may truncate this description (keep it under ${_chunkEMBH2EJOcjs.SEO_DESCRIPTION_MAX_LENGTH})` : null,
|
|
23085
23085
|
labelExtras: aiConfidenceSeoDescription !== void 0 ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
23086
23086
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, AIGeneratedBadge, {}),
|
|
23087
23087
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -23104,7 +23104,7 @@ function SEOEditorPreview({
|
|
|
23104
23104
|
children: [
|
|
23105
23105
|
seoDescriptionLength,
|
|
23106
23106
|
"/",
|
|
23107
|
-
|
|
23107
|
+
_chunkEMBH2EJOcjs.SEO_DESCRIPTION_MAX_LENGTH
|
|
23108
23108
|
]
|
|
23109
23109
|
}
|
|
23110
23110
|
),
|
|
@@ -23115,7 +23115,7 @@ function SEOEditorPreview({
|
|
|
23115
23115
|
value: seoDescription || "",
|
|
23116
23116
|
onChange: (e) => onSeoDescriptionChange(e.target.value),
|
|
23117
23117
|
disabled,
|
|
23118
|
-
maxLength:
|
|
23118
|
+
maxLength: _chunkEMBH2EJOcjs.SEO_DESCRIPTION_MAX_LENGTH,
|
|
23119
23119
|
invalid: seoDescriptionTooLong,
|
|
23120
23120
|
placeholder: "Enter SEO meta description...",
|
|
23121
23121
|
className: _chunk3ATAYP36cjs.cn.call(void 0, "resize-none border-ods-border bg-ods-bg text-ods-text-primary", SEO_MEDIA_BOX_HEIGHT)
|
|
@@ -23184,7 +23184,7 @@ function SEOEditorPreview({
|
|
|
23184
23184
|
{
|
|
23185
23185
|
ref: setFileInputRef,
|
|
23186
23186
|
type: "file",
|
|
23187
|
-
accept:
|
|
23187
|
+
accept: _chunkDHIISS4Wcjs.IMAGE_FILE_ACCEPT,
|
|
23188
23188
|
onChange: handleImageUpload,
|
|
23189
23189
|
className: "hidden",
|
|
23190
23190
|
disabled: disabled || isUploading
|
|
@@ -23268,7 +23268,7 @@ function socialIcon(platform) {
|
|
|
23268
23268
|
return _nullishCoalesce(_chunkFICJS5OAcjs.iconOf.call(void 0, SOCIAL_ICONS[platform]), () => ( void 0));
|
|
23269
23269
|
}
|
|
23270
23270
|
function renderSocialIcon(platform) {
|
|
23271
|
-
const key = _nullishCoalesce(
|
|
23271
|
+
const key = _nullishCoalesce(_chunkEMBH2EJOcjs.normalizeSocialPlatform.call(void 0, platform), () => ( "website"));
|
|
23272
23272
|
const icon = _nullishCoalesce(socialIcon(key), () => ( socialIcon("website")));
|
|
23273
23273
|
return icon ? _react.createElement.call(void 0, icon, { className: "h-5 w-5" }) : null;
|
|
23274
23274
|
}
|
|
@@ -23351,7 +23351,7 @@ function SocialLinksManager({
|
|
|
23351
23351
|
};
|
|
23352
23352
|
const getIcon = (link, platform) => {
|
|
23353
23353
|
const iconKey = _optionalChain([platform, 'optionalAccess', _457 => _457.icon_name]) || link.platform;
|
|
23354
|
-
const key =
|
|
23354
|
+
const key = _chunkEMBH2EJOcjs.normalizeSocialPlatform.call(void 0, iconKey);
|
|
23355
23355
|
if (!key) return null;
|
|
23356
23356
|
const icon = socialIcon(key);
|
|
23357
23357
|
return icon ? _react.createElement.call(void 0, icon, { className: "h-5 w-5 text-ods-text-secondary" }) : null;
|
|
@@ -23487,7 +23487,7 @@ var StartWithOpenFrameButton = _react.forwardRef.call(void 0,
|
|
|
23487
23487
|
className: _chunk3ATAYP36cjs.cn.call(void 0, modeClassName, className),
|
|
23488
23488
|
style: customStyle,
|
|
23489
23489
|
leftIcon: !loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHJZLKYOBcjs.OpenframeLogoIcon, { secondaryColor: iconLowerPath, className: "h-5 w-5", color: iconUpperPath }) : void 0,
|
|
23490
|
-
rightIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23490
|
+
rightIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDHIISS4Wcjs.StatusBadge, { text: "Beta", variant: "button", colorScheme: "yellow" }),
|
|
23491
23491
|
children
|
|
23492
23492
|
}
|
|
23493
23493
|
);
|
|
@@ -23757,11 +23757,11 @@ function WarningBlock({ title, icon = DEFAULT_ICON, children, className }) {
|
|
|
23757
23757
|
|
|
23758
23758
|
function VideoBitesDisplay({
|
|
23759
23759
|
bites,
|
|
23760
|
-
title =
|
|
23760
|
+
title = _chunkDHIISS4Wcjs.DEFAULT_VIDEO_BITES_TITLE,
|
|
23761
23761
|
filterPublished = true,
|
|
23762
23762
|
showTitle = true
|
|
23763
23763
|
}) {
|
|
23764
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23764
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAWQA5FIcjs.VideoBitesStrip, { bites, title, filterPublished, showTitle });
|
|
23765
23765
|
}
|
|
23766
23766
|
|
|
23767
23767
|
// src/components/features/walkthrough-video.tsx
|
|
@@ -23788,7 +23788,7 @@ function WalkthroughVideo({
|
|
|
23788
23788
|
onOpenChange,
|
|
23789
23789
|
defaultOpen,
|
|
23790
23790
|
defaultOpenPaused,
|
|
23791
|
-
deepLinkParam =
|
|
23791
|
+
deepLinkParam = _chunkEMBH2EJOcjs.WALKTHROUGH_OPEN_QUERY_PARAM,
|
|
23792
23792
|
autoPlayCard = false,
|
|
23793
23793
|
label = "Play Demo Video",
|
|
23794
23794
|
placement,
|
|
@@ -23803,7 +23803,7 @@ function WalkthroughVideo({
|
|
|
23803
23803
|
}) {
|
|
23804
23804
|
const inline = placement === "inline";
|
|
23805
23805
|
const dismissEnabled = dismissal !== false;
|
|
23806
|
-
const storageKey = dismissEnabled && dismissal.storageKey ||
|
|
23806
|
+
const storageKey = dismissEnabled && dismissal.storageKey || _chunkEMBH2EJOcjs.WALKTHROUGH_VIDEO_DISMISS_KEY;
|
|
23807
23807
|
const dismissalId = _optionalChain([video, 'optionalAccess', _463 => _463.id]) != null ? String(video.id) : "dismissed";
|
|
23808
23808
|
const [mounted, setMounted] = _react.useState.call(void 0, false);
|
|
23809
23809
|
const [dismissed, setDismissed] = _react.useState.call(void 0, false);
|
|
@@ -23814,7 +23814,7 @@ function WalkthroughVideo({
|
|
|
23814
23814
|
if (!hasVideo) return void 0;
|
|
23815
23815
|
const timer = setTimeout(() => {
|
|
23816
23816
|
const reveal = () => {
|
|
23817
|
-
if (dismissEnabled &&
|
|
23817
|
+
if (dismissEnabled && _chunkEMBH2EJOcjs.isWalkthroughDismissed.call(void 0, storageKey, dismissalId)) {
|
|
23818
23818
|
setDismissed(true);
|
|
23819
23819
|
return;
|
|
23820
23820
|
}
|
|
@@ -23831,7 +23831,7 @@ function WalkthroughVideo({
|
|
|
23831
23831
|
if (idleHandle !== null && typeof cic === "function") cic(idleHandle);
|
|
23832
23832
|
};
|
|
23833
23833
|
}, [appearDelayMs, dismissEnabled, storageKey, dismissalId, hasVideo, videoId]);
|
|
23834
|
-
const hydrated =
|
|
23834
|
+
const hydrated = _chunkHAWQA5FIcjs.useIsHydrated.call(void 0, );
|
|
23835
23835
|
const previewSuppressed = _react.useMemo.call(void 0, () => {
|
|
23836
23836
|
if (!hydrated) return false;
|
|
23837
23837
|
try {
|
|
@@ -24081,7 +24081,7 @@ function WalkthroughVideo({
|
|
|
24081
24081
|
(e) => {
|
|
24082
24082
|
e.stopPropagation();
|
|
24083
24083
|
pausePreviewNow();
|
|
24084
|
-
if (dismissEnabled)
|
|
24084
|
+
if (dismissEnabled) _chunkEMBH2EJOcjs.dismissWalkthrough.call(void 0, storageKey, dismissalId);
|
|
24085
24085
|
setDismissed(true);
|
|
24086
24086
|
},
|
|
24087
24087
|
[dismissEnabled, storageKey, dismissalId, pausePreviewNow]
|
|
@@ -24230,7 +24230,7 @@ function WalkthroughVideo({
|
|
|
24230
24230
|
},
|
|
24231
24231
|
children: [
|
|
24232
24232
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pointer-events-none absolute inset-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24233
|
-
|
|
24233
|
+
_chunkDHIISS4Wcjs.VideoHoverPreviewSurface,
|
|
24234
24234
|
{
|
|
24235
24235
|
url: video.mainVideoUrl || "",
|
|
24236
24236
|
posterUrl: video.posterUrl,
|
|
@@ -24254,7 +24254,7 @@ function WalkthroughVideo({
|
|
|
24254
24254
|
`card-${embedUrlKey}`
|
|
24255
24255
|
) }),
|
|
24256
24256
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24257
|
-
|
|
24257
|
+
_chunkHAWQA5FIcjs.CardHitLayer,
|
|
24258
24258
|
{
|
|
24259
24259
|
label: video.title ? `${label}: ${video.title}` : label,
|
|
24260
24260
|
onPointerDown: pausePreviewNow,
|
|
@@ -24369,7 +24369,7 @@ function WalkthroughVideo({
|
|
|
24369
24369
|
children: [
|
|
24370
24370
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DialogPrimitive2.Title, { className: "sr-only", children: summaryTitle || "Walkthrough video" }),
|
|
24371
24371
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24372
|
-
|
|
24372
|
+
_chunkDHIISS4Wcjs.Video,
|
|
24373
24373
|
{
|
|
24374
24374
|
kind: video.youtubeUrl ? "youtube" : "file",
|
|
24375
24375
|
url: video.youtubeUrl || video.mainVideoUrl,
|
|
@@ -24420,7 +24420,7 @@ function InlineWalkthroughVideo(props) {
|
|
|
24420
24420
|
var _reactquery = require('@tanstack/react-query');
|
|
24421
24421
|
function useWalkthroughVideo(opts) {
|
|
24422
24422
|
const { endpoint, initialData, enabled = true, transformCaptionsUrl } = opts;
|
|
24423
|
-
const captions =
|
|
24423
|
+
const captions = _chunkHAWQA5FIcjs.useCaptions.call(void 0, );
|
|
24424
24424
|
const query = _reactquery.useQuery.call(void 0, {
|
|
24425
24425
|
queryKey: ["walkthrough-video", endpoint],
|
|
24426
24426
|
enabled,
|
|
@@ -24618,7 +24618,7 @@ function VideoSourceSelector({
|
|
|
24618
24618
|
}
|
|
24619
24619
|
function DefaultVideoPreview({ videoUrl, onDelete, disabled }) {
|
|
24620
24620
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative overflow-hidden rounded-lg border border-ods-border", children: [
|
|
24621
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "aspect-video max-h-[300px] w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24621
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "aspect-video max-h-[300px] w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDHIISS4Wcjs.Video, { kind: "file", url: videoUrl }) }),
|
|
24622
24622
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24623
24623
|
"button",
|
|
24624
24624
|
{
|
|
@@ -25142,7 +25142,7 @@ function HighlightVideoSection({
|
|
|
25142
25142
|
// Default simple preview — the <Video> SSOT (MuxPlayer) plays
|
|
25143
25143
|
// MP4 and Mux HLS alike; aspect-video box reserves the height.
|
|
25144
25144
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative overflow-hidden rounded-lg border border-ods-border bg-black", children: [
|
|
25145
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "aspect-video max-h-[300px] w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25145
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "aspect-video max-h-[300px] w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDHIISS4Wcjs.Video, { kind: "file", url: highlightVideoUrl, poster: highlightVideoThumbnail || void 0 }) }),
|
|
25146
25146
|
onDeleteHighlight && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
25147
25147
|
"button",
|
|
25148
25148
|
{
|
|
@@ -25169,7 +25169,7 @@ function HighlightConfigSection({
|
|
|
25169
25169
|
disabled = false,
|
|
25170
25170
|
className = ""
|
|
25171
25171
|
}) {
|
|
25172
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: `space-y-3 rounded-lg border border-ods-border bg-ods-card p-4 ${className}`, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-center gap-4", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25172
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: `space-y-3 rounded-lg border border-ods-border bg-ods-card p-4 ${className}`, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-center gap-4", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEMBH2EJOcjs.Field, { label: "Target Duration", children: (f) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
25173
25173
|
_chunkL4ZNR5V7cjs.Select,
|
|
25174
25174
|
{
|
|
25175
25175
|
value: targetDurationSeconds.toString(),
|
|
@@ -25270,7 +25270,7 @@ var AIStatusIndicator = ({
|
|
|
25270
25270
|
}) => {
|
|
25271
25271
|
const config = statusConfig[status];
|
|
25272
25272
|
const displayText = message || config.label;
|
|
25273
|
-
const confidenceLabel = showConfidence && confidence !== void 0 ? `${
|
|
25273
|
+
const confidenceLabel = showConfidence && confidence !== void 0 ? `${_chunkEMBH2EJOcjs.getConfidenceLabel.call(void 0, confidence)} (${confidence}%)` : null;
|
|
25274
25274
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "inline-flex items-center gap-2 rounded-lg px-3 py-1.5", config.bgColor, className), children: [
|
|
25275
25275
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25276
25276
|
_chunkUNFCRSYIcjs.SparklesIcon,
|
|
@@ -25278,7 +25278,7 @@ var AIStatusIndicator = ({
|
|
|
25278
25278
|
size: 16,
|
|
25279
25279
|
className: _chunk3ATAYP36cjs.cn.call(void 0,
|
|
25280
25280
|
status === "loading" && "animate-pulse",
|
|
25281
|
-
confidence !== void 0 && status === "success" ?
|
|
25281
|
+
confidence !== void 0 && status === "success" ? _chunkEMBH2EJOcjs.getConfidenceTextClass.call(void 0, confidence) : config.color
|
|
25282
25282
|
)
|
|
25283
25283
|
}
|
|
25284
25284
|
),
|
|
@@ -25287,7 +25287,7 @@ var AIStatusIndicator = ({
|
|
|
25287
25287
|
{
|
|
25288
25288
|
className: _chunk3ATAYP36cjs.cn.call(void 0,
|
|
25289
25289
|
"text-h6",
|
|
25290
|
-
confidence !== void 0 && status === "success" ?
|
|
25290
|
+
confidence !== void 0 && status === "success" ? _chunkEMBH2EJOcjs.getConfidenceTextClass.call(void 0, confidence) : config.color
|
|
25291
25291
|
),
|
|
25292
25292
|
children: displayText
|
|
25293
25293
|
}
|
|
@@ -25297,8 +25297,8 @@ var AIStatusIndicator = ({
|
|
|
25297
25297
|
{
|
|
25298
25298
|
className: _chunk3ATAYP36cjs.cn.call(void 0,
|
|
25299
25299
|
"rounded-full border px-2 py-0.5 text-h6",
|
|
25300
|
-
|
|
25301
|
-
|
|
25300
|
+
_chunkEMBH2EJOcjs.getConfidenceBorderClass.call(void 0, confidence),
|
|
25301
|
+
_chunkEMBH2EJOcjs.getConfidenceTextClass.call(void 0, confidence)
|
|
25302
25302
|
),
|
|
25303
25303
|
children: confidenceLabel
|
|
25304
25304
|
}
|
|
@@ -26194,7 +26194,7 @@ function PoliciesTable({
|
|
|
26194
26194
|
cell: ({ row }) => row.original.href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "data-no-row-click": true, className: "pointer-events-auto flex items-center justify-end", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26195
26195
|
_chunkAZL332TKcjs.Button,
|
|
26196
26196
|
{
|
|
26197
|
-
onClick:
|
|
26197
|
+
onClick: _chunkEMBH2EJOcjs.openInNewTab.call(void 0, row.original.href),
|
|
26198
26198
|
variant: "outline",
|
|
26199
26199
|
size: "icon",
|
|
26200
26200
|
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkANTDIQKKcjs.ArrowRightUpIcon, { className: "h-5 w-5" }),
|
|
@@ -26520,7 +26520,7 @@ function TenantsTableView({
|
|
|
26520
26520
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "data-no-row-click": true, className: "pointer-events-auto flex items-center justify-end", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26521
26521
|
_chunkAZL332TKcjs.Button,
|
|
26522
26522
|
{
|
|
26523
|
-
onClick:
|
|
26523
|
+
onClick: _chunkEMBH2EJOcjs.openInNewTab.call(void 0, getHref(row.original)),
|
|
26524
26524
|
variant: "outline",
|
|
26525
26525
|
size: "icon",
|
|
26526
26526
|
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkANTDIQKKcjs.ArrowRightUpIcon, { className: "h-5 w-5" }),
|
|
@@ -26601,7 +26601,7 @@ function WaitlistForm({
|
|
|
26601
26601
|
const { toast } = _chunkBP6R5WDWcjs.useToast.call(void 0, );
|
|
26602
26602
|
const { honeypotInputProps, getSignals, resetSignals } = _chunkBP6R5WDWcjs.useHumanitySignals.call(void 0, );
|
|
26603
26603
|
const [smsConsent, setSmsConsent] = _react.useState.call(void 0, false);
|
|
26604
|
-
const isClient =
|
|
26604
|
+
const isClient = _chunkHAWQA5FIcjs.useIsHydrated.call(void 0, );
|
|
26605
26605
|
const [isPhoneInvalid, setIsPhoneInvalid] = _react.useState.call(void 0, false);
|
|
26606
26606
|
const [showConsentError, setShowConsentError] = _react.useState.call(void 0, false);
|
|
26607
26607
|
const rescue = _chunkBP6R5WDWcjs.useFormRescue.call(void 0, {
|
|
@@ -26616,7 +26616,7 @@ function WaitlistForm({
|
|
|
26616
26616
|
_react.useEffect.call(void 0, () => {
|
|
26617
26617
|
rescue.track({ email, phone }, null);
|
|
26618
26618
|
}, [email, phone, rescue]);
|
|
26619
|
-
const isMailDomainGeneric =
|
|
26619
|
+
const isMailDomainGeneric = _chunkEMBH2EJOcjs.hasGenericEmailDomain.call(void 0, email);
|
|
26620
26620
|
const [syncedDefaultEmail, setSyncedDefaultEmail] = _react.useState.call(void 0, defaultEmail);
|
|
26621
26621
|
if (syncedDefaultEmail !== defaultEmail) {
|
|
26622
26622
|
setSyncedDefaultEmail(defaultEmail);
|
|
@@ -26650,7 +26650,7 @@ function WaitlistForm({
|
|
|
26650
26650
|
setShowConsentError(true);
|
|
26651
26651
|
return;
|
|
26652
26652
|
}
|
|
26653
|
-
const finalPhone = phone ?
|
|
26653
|
+
const finalPhone = phone ? _chunkEMBH2EJOcjs.formatPhoneE164.call(void 0, phone, countryCode) : void 0;
|
|
26654
26654
|
try {
|
|
26655
26655
|
await onRegister(email, finalPhone, getSignals(), rescue.submitFields());
|
|
26656
26656
|
rescue.complete();
|
|
@@ -28742,7 +28742,7 @@ function getDeviceStatusConfig(status) {
|
|
|
28742
28742
|
}
|
|
28743
28743
|
}
|
|
28744
28744
|
function getDeviceOperatingSystem(osType) {
|
|
28745
|
-
return
|
|
28745
|
+
return _chunkEMBH2EJOcjs.getOSPlatformId.call(void 0, osType);
|
|
28746
28746
|
}
|
|
28747
28747
|
|
|
28748
28748
|
// src/components/features/devices/device-statuses.ts
|
|
@@ -30289,7 +30289,7 @@ function DevicesPanelView({
|
|
|
30289
30289
|
actionsVariant: "icon-buttons",
|
|
30290
30290
|
className,
|
|
30291
30291
|
selector: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30292
|
-
|
|
30292
|
+
_chunkHAWQA5FIcjs.TabSelector,
|
|
30293
30293
|
{
|
|
30294
30294
|
value: viewMode,
|
|
30295
30295
|
onValueChange: (value) => _optionalChain([onViewModeChange, 'optionalCall', _644 => _644(value)]),
|
|
@@ -30805,10 +30805,10 @@ var ToolBadge = ({
|
|
|
30805
30805
|
className,
|
|
30806
30806
|
iconClassName
|
|
30807
30807
|
}) => {
|
|
30808
|
-
const text = _nullishCoalesce(label, () => ( (toolType ?
|
|
30808
|
+
const text = _nullishCoalesce(label, () => ( (toolType ? _chunkEMBH2EJOcjs.getToolLabel.call(void 0, toolType) : "")));
|
|
30809
30809
|
const mark = _nullishCoalesce(icon, () => ( (toolType ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNTJE6SM6cjs.ToolIcon, { toolType, className: iconClassName, size: 16 }) : null)));
|
|
30810
30810
|
const linked = (node, linkClassName) => href && targetPlatform ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30811
|
-
|
|
30811
|
+
_chunkHAWQA5FIcjs.NavLinkAnchorViaRuntime,
|
|
30812
30812
|
{
|
|
30813
30813
|
href,
|
|
30814
30814
|
targetPlatform,
|
|
@@ -30914,7 +30914,7 @@ function LogsTableView({
|
|
|
30914
30914
|
cell: ({ row }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30915
30915
|
ToolBadge,
|
|
30916
30916
|
{
|
|
30917
|
-
toolType:
|
|
30917
|
+
toolType: _chunkEMBH2EJOcjs.normalizeToolTypeWithFallback.call(void 0, row.original.source.toolType),
|
|
30918
30918
|
iconClassName: "h-4 w-4 content-md:h-6 content-md:w-6"
|
|
30919
30919
|
}
|
|
30920
30920
|
),
|
|
@@ -30926,7 +30926,7 @@ function LogsTableView({
|
|
|
30926
30926
|
filter: {
|
|
30927
30927
|
options: _nullishCoalesce(_optionalChain([facets, 'optionalAccess', _652 => _652.toolTypes, 'access', _653 => _653.map, 'call', _654 => _654((toolType) => ({
|
|
30928
30928
|
id: toolType,
|
|
30929
|
-
label:
|
|
30929
|
+
label: _chunkEMBH2EJOcjs.toToolLabel.call(void 0, toolType),
|
|
30930
30930
|
value: toolType
|
|
30931
30931
|
}))]), () => ( []))
|
|
30932
30932
|
}
|
|
@@ -30984,7 +30984,7 @@ function LogsTableView({
|
|
|
30984
30984
|
cell: ({ row }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "data-no-row-click": true, className: "pointer-events-auto flex items-center justify-end", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30985
30985
|
_chunkAZL332TKcjs.Button,
|
|
30986
30986
|
{
|
|
30987
|
-
onClick: getLogHref ?
|
|
30987
|
+
onClick: getLogHref ? _chunkEMBH2EJOcjs.openInNewTab.call(void 0, getLogHref(row.original)) : void 0,
|
|
30988
30988
|
variant: "outline",
|
|
30989
30989
|
size: "icon",
|
|
30990
30990
|
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkANTDIQKKcjs.ArrowRightUpIcon, { className: "h-5 w-5" }),
|
|
@@ -31213,7 +31213,7 @@ function getKnowledgeBaseOpenColumn(getHref) {
|
|
|
31213
31213
|
cell: ({ row }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "data-no-row-click": true, className: "pointer-events-auto flex items-center justify-end", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31214
31214
|
_chunkAZL332TKcjs.Button,
|
|
31215
31215
|
{
|
|
31216
|
-
onClick:
|
|
31216
|
+
onClick: _chunkEMBH2EJOcjs.openInNewTab.call(void 0, getHref(row.original)),
|
|
31217
31217
|
variant: "outline",
|
|
31218
31218
|
size: "icon",
|
|
31219
31219
|
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkANTDIQKKcjs.ArrowRightUpIcon, { className: "h-5 w-5" }),
|
|
@@ -31339,7 +31339,7 @@ function KnowledgeBaseArticleView({
|
|
|
31339
31339
|
className,
|
|
31340
31340
|
children: [
|
|
31341
31341
|
tags.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex flex-wrap gap-[var(--spacing-system-xsf)]", children: tags.map((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFTTLBMHUcjs.Tag, { label: tag.label, variant: "outline", className: "max-w-full" }, tag.id)) }),
|
|
31342
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31342
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDHIISS4Wcjs.Card, { className: "border-ods-border px-[var(--spacing-system-mf)] py-0", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid grid-cols-2 gap-x-[var(--spacing-system-mf)] content-lg:grid-cols-3", children: [
|
|
31343
31343
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-20 min-w-0 items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
31344
31344
|
author.deleted ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZJNYWNCBcjs.DeletedUserAvatar, { size: "md" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31345
31345
|
_chunkFTTLBMHUcjs.SquareAvatar,
|
|
@@ -31895,7 +31895,7 @@ function CapabilityExplorer({
|
|
|
31895
31895
|
),
|
|
31896
31896
|
children: [
|
|
31897
31897
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-3", children: [
|
|
31898
|
-
item.iconName && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex size-9 shrink-0 items-center justify-center rounded-lg border border-ods-border bg-ods-bg text-ods-flamingo-cyan", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31898
|
+
item.iconName && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex size-9 shrink-0 items-center justify-center rounded-lg border border-ods-border bg-ods-bg text-ods-flamingo-cyan", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDHIISS4Wcjs.EntityIcon, { icon: { name: item.iconName }, size: 18 }) }),
|
|
31899
31899
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "min-w-0 flex-1", children: [
|
|
31900
31900
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "h3", { className: "flex min-w-0 items-center gap-2 text-ods-text-primary text-h4", children: [
|
|
31901
31901
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkL4ZNR5V7cjs.TruncateText, { as: "span", variant: "h4", triggerClassName: "flex-1", children: item.title }),
|
|
@@ -31979,7 +31979,7 @@ function CapabilityExplorer({
|
|
|
31979
31979
|
"flex size-9 shrink-0 items-center justify-center rounded-lg border border-ods-border bg-ods-bg",
|
|
31980
31980
|
selected ? "text-ods-flamingo-cyan" : "text-ods-text-secondary"
|
|
31981
31981
|
),
|
|
31982
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31982
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDHIISS4Wcjs.EntityIcon, { icon: { name: item.iconName }, size: 18 })
|
|
31983
31983
|
}
|
|
31984
31984
|
),
|
|
31985
31985
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "min-w-0 flex-1", children: [
|