@flamingo-stack/openframe-frontend-core 0.0.736 → 0.0.737
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/build/export-map.json +1 -1
- package/dist/{chunk-T27CVQBO.cjs → chunk-4FJZ7RJD.cjs} +16 -16
- package/dist/{chunk-URX2YTCL.cjs → chunk-4ISP3XP4.cjs} +42 -36
- package/dist/{chunk-BL5GOCHP.cjs → chunk-4RMLAHU2.cjs} +17 -9
- package/dist/{chunk-SZFA2LQR.cjs → chunk-CM35DLKS.cjs} +33 -33
- package/dist/{chunk-7V2KP2TB.cjs → chunk-DA4VS6TS.cjs} +4 -4
- package/dist/{chunk-OJUMVOMP.cjs → chunk-E2JCZU36.cjs} +260 -260
- package/dist/{chunk-UBQSOB3X.cjs → chunk-FA2LATDM.cjs} +4 -4
- package/dist/{chunk-FTGVG6FW.cjs → chunk-KVGBDWYV.cjs} +17 -17
- package/dist/{chunk-JGGSRCRD.cjs → chunk-LW3QSP47.cjs} +11 -11
- package/dist/{chunk-NONQUGRP.cjs → chunk-N6YOOGCD.cjs} +6 -6
- package/dist/chunk-O4MG7FXW.cjs +57 -0
- package/dist/{chunk-P6Z3EBPJ.cjs → chunk-SGVQO5J6.cjs} +9 -9
- package/dist/{chunk-JM54CNZZ.cjs → chunk-TJQYX3QC.cjs} +66 -66
- package/dist/{chunk-ZEX5WU35.cjs → chunk-URIJ6YUG.cjs} +40 -66
- package/dist/{chunk-OV6BGMEL.cjs → chunk-VL4JKXU2.cjs} +125 -113
- package/dist/{chunk-BDF3FNOC.cjs → chunk-VYODTHMR.cjs} +25 -25
- package/dist/{chunk-LIH5OQLY.cjs → chunk-XPP7VCNY.cjs} +3 -3
- package/dist/{cloud-tenants-M55HMW6F.cjs → cloud-tenants-IWQ5FFLY.cjs} +4 -4
- package/dist/components/case-studies/index.cjs +14 -14
- package/dist/components/chat/entity-cards/index.d.ts +1 -0
- package/dist/components/chat/entity-cards/index.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/index.js +2 -0
- package/dist/components/chat/hooks/use-ask-prompts.d.ts +1 -1
- package/dist/components/chat/hooks/use-ask-prompts.js +1 -1
- package/dist/components/chat/index.cjs +5 -3
- package/dist/components/chat/mingo-info-card.d.ts +17 -1
- package/dist/components/chat/mingo-info-card.d.ts.map +1 -1
- package/dist/components/chat/mingo-info-card.js +15 -3
- package/dist/components/contact/index.cjs +5 -5
- package/dist/components/docs/index.cjs +8 -8
- package/dist/components/embeds/index.cjs +5 -5
- package/dist/components/faq/faq-ask-card.d.ts +5 -4
- package/dist/components/faq/faq-ask-card.d.ts.map +1 -1
- package/dist/components/faq/faq-document-page.d.ts +3 -1
- package/dist/components/faq/faq-document-page.d.ts.map +1 -1
- package/dist/components/faq/faq-document-page.js +2 -0
- package/dist/components/faq/faq-section.d.ts +37 -5
- package/dist/components/faq/faq-section.d.ts.map +1 -1
- package/dist/components/faq/faq-section.js +31 -9
- package/dist/components/faq/index.cjs +11 -5
- package/dist/components/faq/index.d.ts +1 -1
- package/dist/components/faq/index.d.ts.map +1 -1
- package/dist/components/faq/index.js +4 -2
- package/dist/components/features/index.cjs +4 -4
- package/dist/components/help-center-pages/delivery-page.d.ts +8 -1
- package/dist/components/help-center-pages/delivery-page.d.ts.map +1 -1
- package/dist/components/help-center-pages/delivery-page.js +16 -4
- package/dist/components/help-center-pages/download-apps-page.d.ts +8 -1
- package/dist/components/help-center-pages/download-apps-page.d.ts.map +1 -1
- package/dist/components/help-center-pages/download-apps-page.js +11 -6
- package/dist/components/help-center-pages/index.cjs +169 -114
- package/dist/components/help-center-pages/onboarding-guides-catalog-page.d.ts +8 -1
- package/dist/components/help-center-pages/onboarding-guides-catalog-page.d.ts.map +1 -1
- package/dist/components/help-center-pages/onboarding-guides-catalog-page.js +26 -14
- package/dist/components/help-center-pages/product-releases-list-page.d.ts +8 -1
- package/dist/components/help-center-pages/product-releases-list-page.d.ts.map +1 -1
- package/dist/components/help-center-pages/product-releases-list-page.js +24 -12
- package/dist/components/help-center-pages/roadmap-page.d.ts +8 -1
- package/dist/components/help-center-pages/roadmap-page.d.ts.map +1 -1
- package/dist/components/help-center-pages/roadmap-page.js +25 -13
- package/dist/components/index.cjs +46 -38
- package/dist/components/meeting-scheduler/index.cjs +20 -20
- package/dist/components/navigation/index.cjs +7 -7
- package/dist/components/onboarding-guides/index.cjs +6 -6
- package/dist/components/product-demo/index.cjs +6 -6
- package/dist/components/shared/dev-section/dev-section-page.d.ts +8 -1
- package/dist/components/shared/dev-section/dev-section-page.d.ts.map +1 -1
- package/dist/components/shared/dev-section/dev-section-page.js +8 -3
- package/dist/components/shared/legal-document/legal-document-page.d.ts +8 -1
- package/dist/components/shared/legal-document/legal-document-page.d.ts.map +1 -1
- package/dist/components/shared/legal-document/legal-document-page.js +4 -1
- package/dist/components/tickets/index.cjs +9 -8
- package/dist/components/ui/index.cjs +6 -4
- package/dist/contexts/assistant-runtime-context.d.ts +5 -5
- package/dist/{devices-WWJZFG6E.cjs → devices-OUHGWA6Y.cjs} +5 -5
- package/dist/{embeddable-chat-76IJ6TQZ.cjs → embeddable-chat-U3C4WWB7.cjs} +64 -64
- package/dist/index.cjs +14 -8
- package/dist/{knowledge-F4YFQT3G.cjs → knowledge-3ZASPWMF.cjs} +5 -5
- package/dist/{logs-GAYEGEZM.cjs → logs-E6Y54P6K.cjs} +12 -12
- package/dist/{policies-ZOVJCJWX.cjs → policies-LAV75B5B.cjs} +8 -8
- package/dist/{software-update-H4YE5GMJ.cjs → software-update-2CAL3AMJ.cjs} +7 -7
- package/dist/types/faq.d.ts +17 -0
- package/dist/types/faq.d.ts.map +1 -1
- package/dist/types/faq.js +4 -0
- package/dist/types/index.cjs +4 -0
- package/package.json +1 -1
- package/src/components/chat/entity-cards/index.ts +1 -0
- package/src/components/chat/hooks/use-ask-prompts.ts +2 -2
- package/src/components/chat/mingo-info-card.tsx +39 -4
- package/src/components/faq/faq-ask-card.tsx +5 -4
- package/src/components/faq/faq-document-page.tsx +4 -0
- package/src/components/faq/faq-section.tsx +83 -14
- package/src/components/faq/index.ts +1 -1
- package/src/components/help-center-pages/delivery-page.tsx +16 -1
- package/src/components/help-center-pages/download-apps-page.tsx +9 -0
- package/src/components/help-center-pages/onboarding-guides-catalog-page.tsx +16 -1
- package/src/components/help-center-pages/product-releases-list-page.tsx +16 -1
- package/src/components/help-center-pages/roadmap-page.tsx +16 -1
- package/src/components/shared/dev-section/dev-section-page.tsx +9 -0
- package/src/components/shared/legal-document/legal-document-page.tsx +9 -0
- package/src/contexts/assistant-runtime-context.tsx +5 -5
- package/src/types/faq.ts +18 -0
|
@@ -106,7 +106,7 @@ var _chunkYUMFVQINcjs = require('./chunk-YUMFVQIN.cjs');
|
|
|
106
106
|
|
|
107
107
|
|
|
108
108
|
|
|
109
|
-
var
|
|
109
|
+
var _chunk4FJZ7RJDcjs = require('./chunk-4FJZ7RJD.cjs');
|
|
110
110
|
|
|
111
111
|
|
|
112
112
|
|
|
@@ -129,7 +129,7 @@ var _chunkT27CVQBOcjs = require('./chunk-T27CVQBO.cjs');
|
|
|
129
129
|
|
|
130
130
|
|
|
131
131
|
|
|
132
|
-
var
|
|
132
|
+
var _chunkVL4JKXU2cjs = require('./chunk-VL4JKXU2.cjs');
|
|
133
133
|
|
|
134
134
|
|
|
135
135
|
|
|
@@ -634,7 +634,7 @@ function ThemeProvider({ children, ...overrides }) {
|
|
|
634
634
|
var useTheme = _nextthemes.useTheme;
|
|
635
635
|
function useThemeToggle() {
|
|
636
636
|
const { resolvedTheme, theme, setTheme } = useTheme();
|
|
637
|
-
const mounted =
|
|
637
|
+
const mounted = _chunkVL4JKXU2cjs.useIsHydrated.call(void 0, );
|
|
638
638
|
const active = mounted ? resolvedTheme === "light" || theme === "light" ? "light" : "dark" : DEFAULT_THEME;
|
|
639
639
|
const setOdsTheme = _react.useCallback.call(void 0, (next) => setTheme(next), [setTheme]);
|
|
640
640
|
const toggle = _react.useCallback.call(void 0, () => setTheme(active === "dark" ? "light" : "dark"), [active, setTheme]);
|
|
@@ -4323,7 +4323,7 @@ function AdminFormDrawer({
|
|
|
4323
4323
|
"form",
|
|
4324
4324
|
{
|
|
4325
4325
|
id: formId,
|
|
4326
|
-
...
|
|
4326
|
+
..._chunk4FJZ7RJDcjs.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS,
|
|
4327
4327
|
className: "flex flex-col gap-[var(--spacing-system-lf)]",
|
|
4328
4328
|
onSubmit: (e) => {
|
|
4329
4329
|
e.preventDefault();
|
|
@@ -4433,7 +4433,7 @@ function AdminFormModal({
|
|
|
4433
4433
|
"form",
|
|
4434
4434
|
{
|
|
4435
4435
|
id: formId,
|
|
4436
|
-
...
|
|
4436
|
+
..._chunk4FJZ7RJDcjs.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS,
|
|
4437
4437
|
className: "flex min-h-0 flex-1 flex-col",
|
|
4438
4438
|
onSubmit: (e) => {
|
|
4439
4439
|
e.preventDefault();
|
|
@@ -5709,7 +5709,7 @@ function EmbedViewerFrame({
|
|
|
5709
5709
|
const controllerRef = _react.useRef.call(void 0, null);
|
|
5710
5710
|
_react.useEffect.call(void 0, () => {
|
|
5711
5711
|
if (!fullscreenControl) return void 0;
|
|
5712
|
-
const controller = new (0,
|
|
5712
|
+
const controller = new (0, _chunk4FJZ7RJDcjs.FullscreenSwitchController)({
|
|
5713
5713
|
target: () => frameRef.current,
|
|
5714
5714
|
onFullscreenChange: setIsFullscreen
|
|
5715
5715
|
});
|
|
@@ -7383,7 +7383,7 @@ function buildRichEmbedOverrides({
|
|
|
7383
7383
|
ogEndpointPath,
|
|
7384
7384
|
textSizes
|
|
7385
7385
|
}) {
|
|
7386
|
-
const standard =
|
|
7386
|
+
const standard = _chunkVL4JKXU2cjs.buildStandardLeafRenderers.call(void 0, { textSizes });
|
|
7387
7387
|
return {
|
|
7388
7388
|
// Fence-language embeds (```youtube-embed etc.); everything else
|
|
7389
7389
|
// (mermaid, highlighted blocks, inline code) falls through to `standard`.
|
|
@@ -7519,13 +7519,13 @@ function buildRichEmbedOverrides({
|
|
|
7519
7519
|
// rich-markdown runtime (Supabase optimization on the hub, identity
|
|
7520
7520
|
// elsewhere). Guard against empty `![]()`.
|
|
7521
7521
|
img: ({ src, alt }) => {
|
|
7522
|
-
if (!
|
|
7522
|
+
if (!_chunkVL4JKXU2cjs.hasRenderableSrc.call(void 0, src)) return null;
|
|
7523
7523
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MarkdownImage, { src: src.trim(), alt });
|
|
7524
7524
|
},
|
|
7525
7525
|
// Raw <video> tags in stored content (blog publisher injection) route
|
|
7526
7526
|
// to the <Video> SSOT (MuxPlayer) so HLS manifests play everywhere.
|
|
7527
7527
|
video: ({ src, poster, className }) => {
|
|
7528
|
-
if (!
|
|
7528
|
+
if (!_chunkVL4JKXU2cjs.hasRenderableSrc.call(void 0, src)) return null;
|
|
7529
7529
|
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, _chunkEJOXXJJBcjs.Video, { kind: "file", url: src.trim(), poster: typeof poster === "string" ? poster : void 0 }) }) });
|
|
7530
7530
|
}
|
|
7531
7531
|
};
|
|
@@ -7634,7 +7634,7 @@ var processShortcodes = (content) => {
|
|
|
7634
7634
|
try {
|
|
7635
7635
|
const urlObj = new URL(url);
|
|
7636
7636
|
const hostname = urlObj.hostname.toLowerCase();
|
|
7637
|
-
const hostIs = (domain) =>
|
|
7637
|
+
const hostIs = (domain) => _chunk4FJZ7RJDcjs.hostMatches.call(void 0, hostname, domain);
|
|
7638
7638
|
const isYouTubeVideo = hostIs("youtube.com") && urlObj.searchParams.has("v") || hostIs("youtu.be");
|
|
7639
7639
|
if (isYouTubeVideo || hostIs("reddit.com") || hostIs("twitter.com") || hostIs("x.com") || hostIs("figma.com")) {
|
|
7640
7640
|
return match;
|
|
@@ -7709,13 +7709,13 @@ var RichMarkdownInner = ({
|
|
|
7709
7709
|
},
|
|
7710
7710
|
[resolveLinkEndpointUrl, resolveSource]
|
|
7711
7711
|
);
|
|
7712
|
-
const textSizes = _react.useMemo.call(void 0, () =>
|
|
7712
|
+
const textSizes = _react.useMemo.call(void 0, () => _chunkVL4JKXU2cjs.resolveTextSizeConfig.call(void 0, "article"), []);
|
|
7713
7713
|
const componentOverrides = _react.useMemo.call(void 0,
|
|
7714
7714
|
() => buildRichEmbedOverrides({ ogApiBaseUrl, ogEndpointPath, textSizes }),
|
|
7715
7715
|
[ogApiBaseUrl, ogEndpointPath, textSizes]
|
|
7716
7716
|
);
|
|
7717
7717
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7718
|
-
|
|
7718
|
+
_chunkVL4JKXU2cjs.MarkdownEngine,
|
|
7719
7719
|
{
|
|
7720
7720
|
content,
|
|
7721
7721
|
className,
|
|
@@ -7737,7 +7737,7 @@ var RichMarkdownRendererImpl = ({
|
|
|
7737
7737
|
className = "",
|
|
7738
7738
|
sectionIds,
|
|
7739
7739
|
onInternalLinkClick,
|
|
7740
|
-
brokenLinks =
|
|
7740
|
+
brokenLinks = _chunkVL4JKXU2cjs.NO_BROKEN_LINKS,
|
|
7741
7741
|
currentPath,
|
|
7742
7742
|
resolveSource = "openframe-docs",
|
|
7743
7743
|
resolveLinkEndpointUrl = "/api/docs/resolve-link",
|
|
@@ -8695,7 +8695,7 @@ function FilterModal({
|
|
|
8695
8695
|
const dateDefaultSort = _nullishCoalesce(_optionalChain([dateFilter, 'optionalAccess', _146 => _146.defaultSort]), () => ( "desc"));
|
|
8696
8696
|
const [draftDateSort, setDraftDateSort] = _react.useState.call(void 0, _nullishCoalesce(_optionalChain([dateFilter, 'optionalAccess', _147 => _147.sort]), () => ( dateDefaultSort)));
|
|
8697
8697
|
const [draftDateRange, setDraftDateRange] = _react.useState.call(void 0, _optionalChain([dateFilter, 'optionalAccess', _148 => _148.range]));
|
|
8698
|
-
const { scrollRef, fadeTop, fadeBottom, update: updateFade } =
|
|
8698
|
+
const { scrollRef, fadeTop, fadeBottom, update: updateFade } = _chunkVL4JKXU2cjs.useScrollFade.call(void 0, );
|
|
8699
8699
|
const seedKey = `${JSON.stringify(currentFilters)}|${JSON.stringify(_nullishCoalesce(selectedTags, () => ( [])))}`;
|
|
8700
8700
|
const seedSourceRef = _react.useRef.call(void 0, { currentFilters, selectedTags, dateFilter, dateDefaultSort });
|
|
8701
8701
|
_react.useEffect.call(void 0, () => {
|
|
@@ -8841,8 +8841,8 @@ function FilterModal({
|
|
|
8841
8841
|
] })
|
|
8842
8842
|
}
|
|
8843
8843
|
),
|
|
8844
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8845
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8844
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.ScrollFadeOverlay, { edge: "top", visible: fadeTop }),
|
|
8845
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.ScrollFadeOverlay, { edge: "bottom", visible: fadeBottom })
|
|
8846
8846
|
] })
|
|
8847
8847
|
}
|
|
8848
8848
|
),
|
|
@@ -9321,7 +9321,7 @@ var BenefitCardGrid = ({ children, className = "", columns = 2 }) => {
|
|
|
9321
9321
|
|
|
9322
9322
|
|
|
9323
9323
|
function PlatformBrowseButton({ item }) {
|
|
9324
|
-
const linkProps =
|
|
9324
|
+
const linkProps = _chunkVL4JKXU2cjs.useNavLinkViaRuntime.call(void 0, { href: item.link, targetPlatform: item.targetPlatform });
|
|
9325
9325
|
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: [
|
|
9326
9326
|
"Browse ",
|
|
9327
9327
|
item.buttonText
|
|
@@ -9769,10 +9769,10 @@ var OSTypeBadge = ({
|
|
|
9769
9769
|
if (!osType) {
|
|
9770
9770
|
return labelOnly ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk3ATAYP36cjs.cn.call(void 0, "text-ods-text-secondary", className), children: "Unknown" }) : null;
|
|
9771
9771
|
}
|
|
9772
|
-
const normalized =
|
|
9772
|
+
const normalized = _chunk4FJZ7RJDcjs.normalizeOSType.call(void 0, osType);
|
|
9773
9773
|
if (!normalized && !labelOnly) return null;
|
|
9774
|
-
const label =
|
|
9775
|
-
const IconComponent =
|
|
9774
|
+
const label = _chunk4FJZ7RJDcjs.getOSLabel.call(void 0, osType);
|
|
9775
|
+
const IconComponent = _chunk4FJZ7RJDcjs.getOSIcon.call(void 0, osType);
|
|
9776
9776
|
if (iconOnly && IconComponent) {
|
|
9777
9777
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, IconComponent, { className: _chunk3ATAYP36cjs.cn.call(void 0, iconSize, "text-ods-text-secondary", className) });
|
|
9778
9778
|
}
|
|
@@ -10004,7 +10004,7 @@ function ComplianceLogo({
|
|
|
10004
10004
|
fallback = null,
|
|
10005
10005
|
className
|
|
10006
10006
|
}) {
|
|
10007
|
-
const standard =
|
|
10007
|
+
const standard = _chunk4FJZ7RJDcjs.complianceStandardForName.call(void 0, ...names);
|
|
10008
10008
|
if (!standard) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: fallback });
|
|
10009
10009
|
const Official = standard.logo ? COMPLIANCE_LOGOS[standard.logo] : null;
|
|
10010
10010
|
return Official ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -11565,7 +11565,7 @@ function TableHeader({
|
|
|
11565
11565
|
onFilterChange
|
|
11566
11566
|
}
|
|
11567
11567
|
),
|
|
11568
|
-
column.hint ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11568
|
+
column.hint ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4FJZ7RJDcjs.InfoHint, { label: column.label, children: column.hint }) : null
|
|
11569
11569
|
] })
|
|
11570
11570
|
) : (
|
|
11571
11571
|
/* Non-filterable column — regular label with optional sort */
|
|
@@ -11591,7 +11591,7 @@ function TableHeader({
|
|
|
11591
11591
|
hint exists, so a hint-less header keeps its DOM. */
|
|
11592
11592
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 items-start gap-[var(--spacing-system-xxs)]", children: [
|
|
11593
11593
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: TABLE_HEADER_LABEL_CLASS, children: column.label }),
|
|
11594
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11594
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4FJZ7RJDcjs.InfoHint, { label: column.label, children: column.hint })
|
|
11595
11595
|
] })
|
|
11596
11596
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: TABLE_HEADER_LABEL_CLASS, children: column.label }),
|
|
11597
11597
|
getSortIcon(column)
|
|
@@ -12932,7 +12932,7 @@ function HeaderCell({ header, sort, onSortChange }) {
|
|
|
12932
12932
|
// child of the cell.
|
|
12933
12933
|
_optionalChain([meta, 'optionalAccess', _234 => _234.hint]) ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start gap-[var(--spacing-system-xxs)]", children: [
|
|
12934
12934
|
filterTrigger,
|
|
12935
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12935
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4FJZ7RJDcjs.InfoHint, { label: resolveHeaderLabel(header), children: meta.hint })
|
|
12936
12936
|
] }) : filterTrigger
|
|
12937
12937
|
) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
12938
12938
|
"div",
|
|
@@ -12957,7 +12957,7 @@ function HeaderCell({ header, sort, onSortChange }) {
|
|
|
12957
12957
|
// centred on the row.
|
|
12958
12958
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 items-start gap-[var(--spacing-system-xxs)]", children: [
|
|
12959
12959
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, HeaderLabel, { header }),
|
|
12960
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12960
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4FJZ7RJDcjs.InfoHint, { label: resolveHeaderLabel(header), children: meta.hint })
|
|
12961
12961
|
] })
|
|
12962
12962
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, HeaderLabel, { header }),
|
|
12963
12963
|
canSort && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SortIcon, { sorted: sortDir })
|
|
@@ -13176,7 +13176,7 @@ function PhoneInput({
|
|
|
13176
13176
|
placeholder = "Phone Number (optional)",
|
|
13177
13177
|
onKeyDown
|
|
13178
13178
|
}) {
|
|
13179
|
-
const { priority, others } = _react.useMemo.call(void 0, () =>
|
|
13179
|
+
const { priority, others } = _react.useMemo.call(void 0, () => _chunk4FJZ7RJDcjs.getCountryPhoneData.call(void 0, ), []);
|
|
13180
13180
|
const selectedCountry = _react.useMemo.call(void 0,
|
|
13181
13181
|
() => [...priority, ...others].find((c) => c.code === countryCode),
|
|
13182
13182
|
[countryCode, priority, others]
|
|
@@ -13191,7 +13191,7 @@ function PhoneInput({
|
|
|
13191
13191
|
_optionalChain([onValidationChange, 'optionalCall', _247 => _247(false)]);
|
|
13192
13192
|
return;
|
|
13193
13193
|
}
|
|
13194
|
-
const invalid = !
|
|
13194
|
+
const invalid = !_chunk4FJZ7RJDcjs.validatePhoneNumber.call(void 0, phone, countryCode);
|
|
13195
13195
|
setIsInvalid(invalid);
|
|
13196
13196
|
_optionalChain([onValidationChange, 'optionalCall', _248 => _248(invalid)]);
|
|
13197
13197
|
},
|
|
@@ -15273,7 +15273,7 @@ function formatTestRunDuration(ms) {
|
|
|
15273
15273
|
var RESULT_COLUMN_MIN_WIDTH = 176;
|
|
15274
15274
|
var SKELETON_COLUMNS = 6;
|
|
15275
15275
|
function TestResultsSkeleton() {
|
|
15276
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15276
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.ScrollShadow, { axis: "horizontal", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-max min-w-full flex-col", children: [
|
|
15277
15277
|
/* @__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}`)) }),
|
|
15278
15278
|
/* @__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}`)) }) })
|
|
15279
15279
|
] }) });
|
|
@@ -15308,7 +15308,7 @@ function TestResultsTable({ rows, loading }) {
|
|
|
15308
15308
|
if (loading) {
|
|
15309
15309
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TestResultsSkeleton, {});
|
|
15310
15310
|
}
|
|
15311
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15311
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.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: [
|
|
15312
15312
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DataTable.Header, { className: "flex flex-col" }),
|
|
15313
15313
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DataTable.Body, { loading: false })
|
|
15314
15314
|
] }) }) });
|
|
@@ -15791,7 +15791,7 @@ function TicketInfoSection({
|
|
|
15791
15791
|
expanded && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
15792
15792
|
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" }) }),
|
|
15793
15793
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-4 border-b border-ods-border bg-ods-bg p-4", children: [
|
|
15794
|
-
description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15794
|
+
description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.SimpleMarkdownRenderer, { content: description }),
|
|
15795
15795
|
attachments && attachments.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketDetailSection, { label: "Attachments", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketAttachmentsList, { attachments }) }),
|
|
15796
15796
|
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)) }) }),
|
|
15797
15797
|
(notes || onAddNote) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketDetailSection, { label: "Notes", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -16251,7 +16251,7 @@ function PhotoWall({ images, columns = 2, speed = 24, fadeColor, className, load
|
|
|
16251
16251
|
gap: COLUMN_GAP_PX
|
|
16252
16252
|
};
|
|
16253
16253
|
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,
|
|
16254
|
-
|
|
16254
|
+
_chunkVL4JKXU2cjs.MarqueeWall,
|
|
16255
16255
|
{
|
|
16256
16256
|
axis: "y",
|
|
16257
16257
|
reverse: index % 2 === 1,
|
|
@@ -17232,7 +17232,7 @@ function AccountDetailsFields({
|
|
|
17232
17232
|
var DEFAULT_TITLE = "The All-in-One Open Platform for MSPs";
|
|
17233
17233
|
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.";
|
|
17234
17234
|
function defaultBenefits(trialDays) {
|
|
17235
|
-
const labels =
|
|
17235
|
+
const labels = _chunk4FJZ7RJDcjs.trialLabels.call(void 0, trialDays);
|
|
17236
17236
|
return [
|
|
17237
17237
|
{ icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAO3ANT5Ncjs.CreditCardXmarkIcon, {}), label: labels.noCard },
|
|
17238
17238
|
{ icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYUM7GOLQcjs.XmarkAltIcon, {}), label: labels.cancel },
|
|
@@ -20373,60 +20373,60 @@ function CardSkeleton({
|
|
|
20373
20373
|
function VendorCardContent({ showMetadata }) {
|
|
20374
20374
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-3 p-4", children: [
|
|
20375
20375
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full items-start gap-3", children: [
|
|
20376
|
-
/* @__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,
|
|
20376
|
+
/* @__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, _chunkVL4JKXU2cjs.MediaSkeleton.Avatar, { size: "sm", className: "h-11 w-11" }) }),
|
|
20377
20377
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col justify-center space-y-1 py-2", children: [
|
|
20378
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20379
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20378
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.TextSkeleton.Subheading, { className: "w-3/4" }),
|
|
20379
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.TextSkeleton.Caption, { className: "w-1/2" })
|
|
20380
20380
|
] })
|
|
20381
20381
|
] }),
|
|
20382
20382
|
/* @__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: [
|
|
20383
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20384
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20383
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.TextSkeleton.Body, { className: "w-full" }),
|
|
20384
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.TextSkeleton.Body, { className: "w-2/3" })
|
|
20385
20385
|
] }) }),
|
|
20386
20386
|
showMetadata && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full min-w-0 items-center justify-between gap-2", children: [
|
|
20387
20387
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-shrink items-center gap-3 content-md:gap-4", children: [
|
|
20388
20388
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-shrink-0 items-center gap-1", children: [
|
|
20389
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20390
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20389
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.MediaSkeleton.Icon, { size: "sm", className: "h-5 w-5" }),
|
|
20390
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.TextSkeleton.Caption, { className: "w-8" })
|
|
20391
20391
|
] }),
|
|
20392
20392
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-shrink-0 items-center gap-1", children: [
|
|
20393
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20394
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20393
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.MediaSkeleton.Icon, { size: "sm", className: "h-5 w-5" }),
|
|
20394
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.TextSkeleton.Caption, { className: "w-10" })
|
|
20395
20395
|
] })
|
|
20396
20396
|
] }),
|
|
20397
20397
|
/* @__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: [
|
|
20398
|
-
/* @__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,
|
|
20399
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20398
|
+
/* @__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, _chunkVL4JKXU2cjs.MediaSkeleton.Icon, { size: "sm", className: "h-2.5 w-2.5" }) }),
|
|
20399
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.TextSkeleton.Caption, { className: "w-16" })
|
|
20400
20400
|
] }) })
|
|
20401
20401
|
] })
|
|
20402
20402
|
] });
|
|
20403
20403
|
}
|
|
20404
20404
|
function BlogCardContent({ showActions, showMetadata }) {
|
|
20405
20405
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
20406
|
-
/* @__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,
|
|
20406
|
+
/* @__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, _chunkVL4JKXU2cjs.MediaSkeleton.CardImage, {}) }),
|
|
20407
20407
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-grow flex-col p-4", children: [
|
|
20408
20408
|
/* @__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: [
|
|
20409
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20410
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20409
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.TextSkeleton.Subheading, { className: "w-full" }),
|
|
20410
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.TextSkeleton.Subheading, { className: "w-3/4" })
|
|
20411
20411
|
] }) }),
|
|
20412
20412
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "mb-3 flex h-[28px] items-center gap-2", children: [
|
|
20413
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20414
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20413
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.InteractiveSkeleton.Chip, { className: "w-16" }),
|
|
20414
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.InteractiveSkeleton.Chip, { className: "w-12" })
|
|
20415
20415
|
] }),
|
|
20416
20416
|
/* @__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: [
|
|
20417
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20418
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20417
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.TextSkeleton.Body, { className: "w-full" }),
|
|
20418
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.TextSkeleton.Body, { className: "w-1/2" })
|
|
20419
20419
|
] }) }),
|
|
20420
|
-
showActions && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pt-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20420
|
+
showActions && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pt-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.InteractiveSkeleton.Button, { className: "h-8 w-24" }) }),
|
|
20421
20421
|
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: [
|
|
20422
20422
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 items-center gap-2", children: [
|
|
20423
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20424
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20423
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.MediaSkeleton.Avatar, { size: "sm" }),
|
|
20424
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.TextSkeleton.Caption, { className: "w-16" })
|
|
20425
20425
|
] }),
|
|
20426
20426
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex shrink-0 items-center gap-3 text-ods-text-muted", children: [
|
|
20427
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20427
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.TextSkeleton.Caption, { className: "w-12" }),
|
|
20428
20428
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-1 w-1 rounded-full bg-ods-skeleton" }),
|
|
20429
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20429
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.TextSkeleton.Caption, { className: "w-16" })
|
|
20430
20430
|
] })
|
|
20431
20431
|
] }) })
|
|
20432
20432
|
] })
|
|
@@ -20434,35 +20434,35 @@ function BlogCardContent({ showActions, showMetadata }) {
|
|
|
20434
20434
|
}
|
|
20435
20435
|
function CategoryCardContent() {
|
|
20436
20436
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-4 p-4 content-md:p-6", children: [
|
|
20437
|
-
/* @__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,
|
|
20437
|
+
/* @__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, _chunkVL4JKXU2cjs.MediaSkeleton.Icon, { size: "lg", className: "flex-shrink-0" }, index)) }),
|
|
20438
20438
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
20439
20439
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-1", children: [
|
|
20440
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20441
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20440
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.TextSkeleton.Subheading, { className: "w-3/4" }),
|
|
20441
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.TextSkeleton.Caption, { className: "w-1/2" })
|
|
20442
20442
|
] }),
|
|
20443
20443
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start justify-between gap-4 content-md:items-end content-md:gap-6", children: [
|
|
20444
20444
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex-1 space-y-2", children: [
|
|
20445
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20446
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20445
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.TextSkeleton.Body, { className: "w-full" }),
|
|
20446
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.TextSkeleton.Body, { className: "w-2/3" })
|
|
20447
20447
|
] }),
|
|
20448
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20448
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.InteractiveSkeleton.Button, { className: "h-10 w-10 flex-shrink-0 content-md:h-12 content-md:w-12" })
|
|
20449
20449
|
] })
|
|
20450
20450
|
] })
|
|
20451
20451
|
] });
|
|
20452
20452
|
}
|
|
20453
20453
|
function AlternativeCardContent({ showActions }) {
|
|
20454
20454
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start gap-4 p-4", children: [
|
|
20455
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20455
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.MediaSkeleton.Avatar, { size: "md", className: "flex-shrink-0" }),
|
|
20456
20456
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex-1 space-y-2", children: [
|
|
20457
20457
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center justify-between", children: [
|
|
20458
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20459
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20458
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.TextSkeleton.Subheading, { className: "w-1/3" }),
|
|
20459
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.TextSkeleton.Caption, { className: "w-16" })
|
|
20460
20460
|
] }),
|
|
20461
20461
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-1", children: [
|
|
20462
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20463
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20462
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.TextSkeleton.Body, { className: "w-full" }),
|
|
20463
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.TextSkeleton.Body, { className: "w-5/6" })
|
|
20464
20464
|
] }),
|
|
20465
|
-
showActions && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pt-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20465
|
+
showActions && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pt-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.InteractiveSkeleton.Button, { className: "h-8 w-20" }) })
|
|
20466
20466
|
] })
|
|
20467
20467
|
] });
|
|
20468
20468
|
}
|
|
@@ -20513,12 +20513,12 @@ function HeroSkeleton() {
|
|
|
20513
20513
|
background: "radial-gradient(circle at 50% 0%, #242323 0%, #1A1A1A 100%)"
|
|
20514
20514
|
},
|
|
20515
20515
|
children: [
|
|
20516
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20516
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.TextSkeleton.Heading, { className: "mb-4 h-12 w-full max-w-4xl content-md:mb-6 content-md:h-20 content-lg:h-24" }),
|
|
20517
20517
|
/* @__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: [
|
|
20518
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20519
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20518
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.TextSkeleton.Body, { className: "h-5 content-md:h-7" }),
|
|
20519
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.TextSkeleton.Body, { className: "mx-auto h-5 w-3/4 content-md:h-7" })
|
|
20520
20520
|
] }),
|
|
20521
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20521
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.InteractiveSkeleton.Button, { className: "h-12 w-full content-md:w-64" })
|
|
20522
20522
|
]
|
|
20523
20523
|
}
|
|
20524
20524
|
);
|
|
@@ -20529,14 +20529,14 @@ function SearchContainerSkeleton({
|
|
|
20529
20529
|
}) {
|
|
20530
20530
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "space-y-4", className || ""), children: [
|
|
20531
20531
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex gap-2 content-md:gap-4", children: [
|
|
20532
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20533
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20532
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.InteractiveSkeleton.Input, { className: "flex-1" }),
|
|
20533
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.InteractiveSkeleton.Button, { className: "w-32 content-md:w-40" })
|
|
20534
20534
|
] }),
|
|
20535
20535
|
showFilters && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-wrap gap-2", children: [
|
|
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,
|
|
20536
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.InteractiveSkeleton.Chip, {}),
|
|
20537
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.InteractiveSkeleton.Chip, { className: "w-24" }),
|
|
20538
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.InteractiveSkeleton.Chip, { className: "w-16" }),
|
|
20539
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.InteractiveSkeleton.Chip, { className: "w-20" })
|
|
20540
20540
|
] })
|
|
20541
20541
|
] });
|
|
20542
20542
|
}
|
|
@@ -20555,7 +20555,7 @@ function CategorySidebarSkeleton({ className }) {
|
|
|
20555
20555
|
{ type: "file", width: "w-36" }
|
|
20556
20556
|
];
|
|
20557
20557
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "w-full content-lg:w-[320px]", className), children: [
|
|
20558
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20558
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.UnifiedSkeleton, { className: "mb-4 h-[14px] w-24 rounded" }),
|
|
20559
20559
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-1.5", children: items.map((item, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
20560
20560
|
"div",
|
|
20561
20561
|
{
|
|
@@ -20565,12 +20565,12 @@ function CategorySidebarSkeleton({ className }) {
|
|
|
20565
20565
|
),
|
|
20566
20566
|
children: [
|
|
20567
20567
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2.5", children: [
|
|
20568
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20569
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20568
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.UnifiedSkeleton, { className: "h-4 w-4 shrink-0 rounded" }),
|
|
20569
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.UnifiedSkeleton, { className: `h-[14px] ${item.width} rounded` })
|
|
20570
20570
|
] }),
|
|
20571
20571
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-[18px] items-center gap-2", children: [
|
|
20572
|
-
item.hasBadge && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20573
|
-
item.type === "folder" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20572
|
+
item.hasBadge && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.UnifiedSkeleton, { className: "h-[18px] w-14 rounded" }),
|
|
20573
|
+
item.type === "folder" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.UnifiedSkeleton, { className: "h-4 w-4 rounded" })
|
|
20574
20574
|
] })
|
|
20575
20575
|
]
|
|
20576
20576
|
},
|
|
@@ -20580,13 +20580,13 @@ function CategorySidebarSkeleton({ className }) {
|
|
|
20580
20580
|
}
|
|
20581
20581
|
function BreadcrumbSkeleton({ className }) {
|
|
20582
20582
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "mb-6 flex items-center space-x-1", className), children: [
|
|
20583
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20584
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20585
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20586
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20587
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20588
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20589
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20583
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.TextSkeleton.Caption, { className: "w-16" }),
|
|
20584
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.UnifiedSkeleton, { variant: "default", className: "h-4 w-4 rounded-full" }),
|
|
20585
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.TextSkeleton.Caption, { className: "w-24" }),
|
|
20586
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.UnifiedSkeleton, { variant: "default", className: "h-4 w-4 rounded-full" }),
|
|
20587
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.TextSkeleton.Caption, { className: "w-32" }),
|
|
20588
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.UnifiedSkeleton, { variant: "default", className: "h-4 w-4 rounded-full" }),
|
|
20589
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.TextSkeleton.Caption, { className: "w-24" })
|
|
20590
20590
|
] });
|
|
20591
20591
|
}
|
|
20592
20592
|
function ResultsHeaderSkeleton({ className }) {
|
|
@@ -20597,7 +20597,7 @@ function ResultsHeaderSkeleton({ className }) {
|
|
|
20597
20597
|
"mb-6 flex flex-col items-start justify-between gap-4 content-md:flex-row content-md:items-center",
|
|
20598
20598
|
className
|
|
20599
20599
|
),
|
|
20600
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20600
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.TextSkeleton.Body, { className: "w-48" }) })
|
|
20601
20601
|
}
|
|
20602
20602
|
);
|
|
20603
20603
|
}
|
|
@@ -20631,35 +20631,35 @@ function ArticleLayoutSkeleton({ className }) {
|
|
|
20631
20631
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "article", { className: _chunk3ATAYP36cjs.cn.call(void 0, "mx-auto max-w-4xl", className), children: [
|
|
20632
20632
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "header", { className: "mb-8 space-y-4 content-md:mb-12 content-md:space-y-6", children: [
|
|
20633
20633
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex gap-2", children: [
|
|
20634
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20635
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20634
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.InteractiveSkeleton.Chip, {}),
|
|
20635
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.InteractiveSkeleton.Chip, { className: "w-16" })
|
|
20636
20636
|
] }),
|
|
20637
20637
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-3", children: [
|
|
20638
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20639
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20638
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.TextSkeleton.Heading, { className: "w-full" }),
|
|
20639
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.TextSkeleton.Heading, { className: "w-3/4" })
|
|
20640
20640
|
] }),
|
|
20641
20641
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-4 border-t border-ods-divider pt-4", children: [
|
|
20642
20642
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
|
|
20643
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20644
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20643
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.MediaSkeleton.Avatar, { size: "sm" }),
|
|
20644
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.TextSkeleton.Caption, { className: "w-24" })
|
|
20645
20645
|
] }),
|
|
20646
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20647
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20646
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.TextSkeleton.Caption, { className: "w-20" }),
|
|
20647
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.TextSkeleton.Caption, { className: "w-16" })
|
|
20648
20648
|
] })
|
|
20649
20649
|
] }),
|
|
20650
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mb-8 content-md:mb-12", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20650
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mb-8 content-md:mb-12", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.MediaSkeleton.CardImage, { className: "h-64 w-full content-md:h-96" }) }),
|
|
20651
20651
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "prose prose-invert max-w-none space-y-6", children: [
|
|
20652
20652
|
Array.from({ length: 12 }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
20653
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20654
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20655
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20656
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20653
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.TextSkeleton.Body, { className: "w-full" }),
|
|
20654
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.TextSkeleton.Body, { className: "w-full" }),
|
|
20655
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.TextSkeleton.Body, { className: "w-5/6" }),
|
|
20656
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.TextSkeleton.Body, { className: "w-3/4" })
|
|
20657
20657
|
] }, index)),
|
|
20658
20658
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "py-4", children: [
|
|
20659
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20659
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.TextSkeleton.Subheading, { className: "mb-4 w-2/3" }),
|
|
20660
20660
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
20661
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20662
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20661
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.TextSkeleton.Body, { className: "w-full" }),
|
|
20662
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.TextSkeleton.Body, { className: "w-4/5" })
|
|
20663
20663
|
] })
|
|
20664
20664
|
] })
|
|
20665
20665
|
] })
|
|
@@ -20885,11 +20885,11 @@ function StatsSectionSkeleton({ className, columns = 3 }) {
|
|
|
20885
20885
|
className
|
|
20886
20886
|
),
|
|
20887
20887
|
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: [
|
|
20888
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20889
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20888
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.MediaSkeleton.Icon, { size: "lg" }),
|
|
20889
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.TextSkeleton.Subheading, { className: "w-3/4" }),
|
|
20890
20890
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
20891
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20892
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20891
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.TextSkeleton.Body, { className: "w-full" }),
|
|
20892
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.TextSkeleton.Body, { className: "w-3/4" })
|
|
20893
20893
|
] })
|
|
20894
20894
|
] }) }, i))
|
|
20895
20895
|
}
|
|
@@ -21044,7 +21044,7 @@ function useContentLoading(isLoading) {
|
|
|
21044
21044
|
|
|
21045
21045
|
function ParagraphSkeleton({ className, lines = 4 }) {
|
|
21046
21046
|
const lineWidths = ["w-full", "w-full", "w-5/6", "w-3/4", "w-4/5", "w-2/3"];
|
|
21047
|
-
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,
|
|
21047
|
+
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, _chunkVL4JKXU2cjs.TextSkeleton.Body, { className: lineWidths[index % lineWidths.length] }, index)) });
|
|
21048
21048
|
}
|
|
21049
21049
|
function ListSkeleton({
|
|
21050
21050
|
className,
|
|
@@ -21054,12 +21054,12 @@ function ListSkeleton({
|
|
|
21054
21054
|
}) {
|
|
21055
21055
|
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: [
|
|
21056
21056
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3", children: [
|
|
21057
|
-
showIcons && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21058
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21057
|
+
showIcons && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.MediaSkeleton.Icon, { size: "sm" }),
|
|
21058
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.TextSkeleton.Body, { className: "w-32 content-md:w-48" })
|
|
21059
21059
|
] }),
|
|
21060
21060
|
showActions && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
|
|
21061
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21062
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21061
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.TextSkeleton.Caption, { className: "w-8" }),
|
|
21062
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.UnifiedSkeleton, { variant: "default", className: "h-4 w-4" })
|
|
21063
21063
|
] })
|
|
21064
21064
|
] }, index)) });
|
|
21065
21065
|
}
|
|
@@ -21069,13 +21069,13 @@ function TableSkeleton({
|
|
|
21069
21069
|
columns = 4
|
|
21070
21070
|
}) {
|
|
21071
21071
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "space-y-4", className), children: [
|
|
21072
|
-
/* @__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,
|
|
21072
|
+
/* @__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, _chunkVL4JKXU2cjs.TextSkeleton.Subheading, { className: "w-3/4" }, index)) }),
|
|
21073
21073
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-3", children: Array.from({ length: rows }).map((_, rowIndex) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21074
21074
|
"div",
|
|
21075
21075
|
{
|
|
21076
21076
|
className: "grid gap-4 border-b border-ods-divider py-2",
|
|
21077
21077
|
style: { gridTemplateColumns: `repeat(${columns}, 1fr)` },
|
|
21078
|
-
children: Array.from({ length: columns }).map((_cell, colIndex) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21078
|
+
children: Array.from({ length: columns }).map((_cell, colIndex) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.TextSkeleton.Body, { className: "w-2/3" }, colIndex))
|
|
21079
21079
|
},
|
|
21080
21080
|
rowIndex
|
|
21081
21081
|
)) })
|
|
@@ -21084,13 +21084,13 @@ function TableSkeleton({
|
|
|
21084
21084
|
function FormSkeleton({ className, fields = 4 }) {
|
|
21085
21085
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "space-y-6", className), children: [
|
|
21086
21086
|
Array.from({ length: fields }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
21087
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21088
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21089
|
-
index % 3 === 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21087
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.TextSkeleton.Body, { className: "w-24" }),
|
|
21088
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.InteractiveSkeleton.Input, {}),
|
|
21089
|
+
index % 3 === 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.TextSkeleton.Caption, { className: "w-48" })
|
|
21090
21090
|
] }, index)),
|
|
21091
21091
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex gap-4 pt-4", children: [
|
|
21092
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21093
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21092
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.InteractiveSkeleton.Button, {}),
|
|
21093
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.InteractiveSkeleton.Button, { className: "bg-ods-border" })
|
|
21094
21094
|
] })
|
|
21095
21095
|
] });
|
|
21096
21096
|
}
|
|
@@ -21105,7 +21105,7 @@ function NavigationSkeleton({
|
|
|
21105
21105
|
className: _chunk3ATAYP36cjs.cn.call(void 0, "flex gap-4 content-md:gap-6", !horizontal && "flex-col", className),
|
|
21106
21106
|
role: "status",
|
|
21107
21107
|
"aria-label": "Loading navigation",
|
|
21108
|
-
children: Array.from({ length: items }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21108
|
+
children: Array.from({ length: items }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.TextSkeleton.Body, { className: "w-16 content-md:w-20" }, index))
|
|
21109
21109
|
}
|
|
21110
21110
|
);
|
|
21111
21111
|
}
|
|
@@ -21116,30 +21116,30 @@ function ProfileSkeleton({
|
|
|
21116
21116
|
}) {
|
|
21117
21117
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "space-y-4", className), children: [
|
|
21118
21118
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start gap-4", children: [
|
|
21119
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21119
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.MediaSkeleton.Avatar, { size: "lg" }),
|
|
21120
21120
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex-1 space-y-2", children: [
|
|
21121
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21122
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21123
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21121
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.TextSkeleton.Subheading, { className: "w-1/2" }),
|
|
21122
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.TextSkeleton.Caption, { className: "w-1/3" }),
|
|
21123
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.TextSkeleton.Body, { className: "w-2/3" })
|
|
21124
21124
|
] })
|
|
21125
21125
|
] }),
|
|
21126
21126
|
showBio && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
21127
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21128
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21129
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21127
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.TextSkeleton.Body, { className: "w-full" }),
|
|
21128
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.TextSkeleton.Body, { className: "w-4/5" }),
|
|
21129
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.TextSkeleton.Body, { className: "w-3/4" })
|
|
21130
21130
|
] }),
|
|
21131
21131
|
showStats && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex gap-6", children: [
|
|
21132
21132
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "text-center", children: [
|
|
21133
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21134
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21133
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.TextSkeleton.Subheading, { className: "mx-auto w-8" }),
|
|
21134
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.TextSkeleton.Caption, { className: "mx-auto w-12" })
|
|
21135
21135
|
] }),
|
|
21136
21136
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "text-center", children: [
|
|
21137
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21138
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21137
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.TextSkeleton.Subheading, { className: "mx-auto w-8" }),
|
|
21138
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.TextSkeleton.Caption, { className: "mx-auto w-16" })
|
|
21139
21139
|
] }),
|
|
21140
21140
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "text-center", children: [
|
|
21141
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21142
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21141
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.TextSkeleton.Subheading, { className: "mx-auto w-8" }),
|
|
21142
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.TextSkeleton.Caption, { className: "mx-auto w-14" })
|
|
21143
21143
|
] })
|
|
21144
21144
|
] })
|
|
21145
21145
|
] });
|
|
@@ -21151,32 +21151,32 @@ function CommentSkeleton({
|
|
|
21151
21151
|
}) {
|
|
21152
21152
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "space-y-3", className), children: [
|
|
21153
21153
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3", children: [
|
|
21154
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21154
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.MediaSkeleton.Avatar, { size: "sm" }),
|
|
21155
21155
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-1 items-center gap-4", children: [
|
|
21156
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21157
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21158
|
-
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,
|
|
21156
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.TextSkeleton.Body, { className: "w-24" }),
|
|
21157
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.TextSkeleton.Caption, { className: "w-16" }),
|
|
21158
|
+
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, _chunkVL4JKXU2cjs.MediaSkeleton.Icon, { size: "sm" }, i)) })
|
|
21159
21159
|
] })
|
|
21160
21160
|
] }),
|
|
21161
21161
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "ml-11 space-y-2", children: [
|
|
21162
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21163
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21164
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21162
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.TextSkeleton.Body, { className: "w-full" }),
|
|
21163
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.TextSkeleton.Body, { className: "w-3/4" }),
|
|
21164
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.TextSkeleton.Body, { className: "w-1/2" })
|
|
21165
21165
|
] }),
|
|
21166
21166
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "ml-11 flex gap-4", children: [
|
|
21167
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21168
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21169
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21167
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.TextSkeleton.Caption, { className: "w-12" }),
|
|
21168
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.TextSkeleton.Caption, { className: "w-16" }),
|
|
21169
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.TextSkeleton.Caption, { className: "w-8" })
|
|
21170
21170
|
] }),
|
|
21171
21171
|
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: [
|
|
21172
21172
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3", children: [
|
|
21173
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21174
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21175
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21173
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.MediaSkeleton.Avatar, { size: "sm" }),
|
|
21174
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.TextSkeleton.Body, { className: "w-20" }),
|
|
21175
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.TextSkeleton.Caption, { className: "w-12" })
|
|
21176
21176
|
] }),
|
|
21177
21177
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "ml-11", children: [
|
|
21178
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21179
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21178
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.TextSkeleton.Body, { className: "w-full" }),
|
|
21179
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.TextSkeleton.Body, { className: "w-2/3" })
|
|
21180
21180
|
] })
|
|
21181
21181
|
] }, index)) })
|
|
21182
21182
|
] });
|
|
@@ -21189,31 +21189,31 @@ function FeatureListSkeleton({
|
|
|
21189
21189
|
}) {
|
|
21190
21190
|
if (grouped) {
|
|
21191
21191
|
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: [
|
|
21192
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21192
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.TextSkeleton.Subheading, { className: "w-1/3" }),
|
|
21193
21193
|
/* @__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: [
|
|
21194
|
-
showIcons && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21195
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21194
|
+
showIcons && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.MediaSkeleton.Icon, { size: "sm" }),
|
|
21195
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.TextSkeleton.Body, { className: "w-2/3" })
|
|
21196
21196
|
] }, featureIndex)) })
|
|
21197
21197
|
] }, groupIndex)) });
|
|
21198
21198
|
}
|
|
21199
21199
|
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: [
|
|
21200
|
-
showIcons && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21201
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21200
|
+
showIcons && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.MediaSkeleton.Icon, { size: "sm" }),
|
|
21201
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.TextSkeleton.Body, { className: "w-2/3" })
|
|
21202
21202
|
] }, index)) });
|
|
21203
21203
|
}
|
|
21204
21204
|
function TimelineSkeleton({ className, items = 5 }) {
|
|
21205
21205
|
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: [
|
|
21206
21206
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col items-center", children: [
|
|
21207
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21207
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.MediaSkeleton.Icon, { size: "sm" }),
|
|
21208
21208
|
index < items - 1 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mt-2 h-12 w-px bg-ods-border" })
|
|
21209
21209
|
] }),
|
|
21210
21210
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex-1 space-y-2", children: [
|
|
21211
21211
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3", children: [
|
|
21212
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21213
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21212
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.TextSkeleton.Body, { className: "w-1/3" }),
|
|
21213
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.TextSkeleton.Caption, { className: "w-16" })
|
|
21214
21214
|
] }),
|
|
21215
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21216
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21215
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.TextSkeleton.Body, { className: "w-full" }),
|
|
21216
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.TextSkeleton.Body, { className: "w-3/4" })
|
|
21217
21217
|
] })
|
|
21218
21218
|
] }, index)) });
|
|
21219
21219
|
}
|
|
@@ -21229,16 +21229,16 @@ function PricingSkeleton({ className, plans = 3 }) {
|
|
|
21229
21229
|
className
|
|
21230
21230
|
),
|
|
21231
21231
|
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: [
|
|
21232
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21232
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.TextSkeleton.Subheading, { className: "w-1/2" }),
|
|
21233
21233
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-1", children: [
|
|
21234
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21235
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21234
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.TextSkeleton.Heading, { className: "w-1/3" }),
|
|
21235
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.TextSkeleton.Caption, { className: "w-1/4" })
|
|
21236
21236
|
] }),
|
|
21237
21237
|
/* @__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: [
|
|
21238
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21239
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21238
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.MediaSkeleton.Icon, { size: "sm" }),
|
|
21239
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.TextSkeleton.Body, { className: "w-3/4" })
|
|
21240
21240
|
] }, featureIndex)) }),
|
|
21241
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21241
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.InteractiveSkeleton.Button, { className: "w-full" })
|
|
21242
21242
|
] }) }, index))
|
|
21243
21243
|
}
|
|
21244
21244
|
);
|
|
@@ -21274,12 +21274,12 @@ function MspProfileFormSkeleton({ className, fields = 4 }) {
|
|
|
21274
21274
|
"aria-label": "Loading MSP profile form",
|
|
21275
21275
|
children: [
|
|
21276
21276
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-full flex-col space-y-2", children: [
|
|
21277
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21278
|
-
/* @__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,
|
|
21277
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.TextSkeleton.Body, { className: "w-28" }),
|
|
21278
|
+
/* @__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, _chunkVL4JKXU2cjs.UnifiedSkeleton, { className: "h-full w-full rounded-lg", "aria-label": "Loading company logo" }) })
|
|
21279
21279
|
] }),
|
|
21280
21280
|
/* @__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: [
|
|
21281
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21282
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21281
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.TextSkeleton.Body, { className: "w-40" }),
|
|
21282
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.InteractiveSkeleton.Input, {})
|
|
21283
21283
|
] }, idx)) })
|
|
21284
21284
|
]
|
|
21285
21285
|
}
|
|
@@ -21299,13 +21299,13 @@ function CategoryCardSkeleton({ className }) {
|
|
|
21299
21299
|
role: "status",
|
|
21300
21300
|
"aria-label": "Loading category card",
|
|
21301
21301
|
children: [
|
|
21302
|
-
/* @__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,
|
|
21302
|
+
/* @__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, _chunkVL4JKXU2cjs.UnifiedSkeleton, { variant: "circular", className: "h-10 w-10 flex-shrink-0", "aria-label": "Loading icon" }, i)) }),
|
|
21303
21303
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-1 flex-col space-y-3", children: [
|
|
21304
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21305
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21306
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21304
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.TextSkeleton.Heading, { className: "w-3/4" }),
|
|
21305
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.TextSkeleton.Body, { className: "w-1/2" }),
|
|
21306
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.TextSkeleton.Body, { className: "w-full" })
|
|
21307
21307
|
] }),
|
|
21308
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mt-4 flex justify-end", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21308
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mt-4 flex justify-end", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.UnifiedSkeleton, { className: "h-12 w-12 rounded-[6px]", "aria-label": "Loading button" }) })
|
|
21309
21309
|
]
|
|
21310
21310
|
}
|
|
21311
21311
|
);
|
|
@@ -21322,12 +21322,12 @@ function CategoryVendorSelectorSkeleton({ subcategories = 3, className }) {
|
|
|
21322
21322
|
"aria-label": "Loading category section",
|
|
21323
21323
|
children: [
|
|
21324
21324
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "mb-6 max-w-xl space-y-2", children: [
|
|
21325
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21326
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21325
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.TextSkeleton.Heading, { className: "w-1/2" }),
|
|
21326
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.TextSkeleton.Body, { className: "w-3/4" })
|
|
21327
21327
|
] }),
|
|
21328
21328
|
/* @__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: [
|
|
21329
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21330
|
-
/* @__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,
|
|
21329
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.TextSkeleton.Subheading, { className: "w-1/3" }),
|
|
21330
|
+
/* @__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, _chunkVL4JKXU2cjs.UnifiedSkeleton, { className: "h-20 rounded-lg" }, j)) })
|
|
21331
21331
|
] }, idx)) })
|
|
21332
21332
|
]
|
|
21333
21333
|
}
|
|
@@ -21338,14 +21338,14 @@ function CategoryVendorSelectorSkeleton({ subcategories = 3, className }) {
|
|
|
21338
21338
|
|
|
21339
21339
|
function WizardLayoutSkeleton({ steps = 6, className }) {
|
|
21340
21340
|
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: [
|
|
21341
|
-
/* @__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,
|
|
21341
|
+
/* @__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, _chunkVL4JKXU2cjs.UnifiedSkeleton, { className: "h-6 w-24 rounded" }, i)) }),
|
|
21342
21342
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "max-w-2xl space-y-2", children: [
|
|
21343
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21344
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21343
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.TextSkeleton.Heading, { className: "w-2/3" }),
|
|
21344
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.TextSkeleton.Body, { className: "w-1/2" })
|
|
21345
21345
|
] }),
|
|
21346
21346
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "mt-10 flex justify-between", children: [
|
|
21347
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21348
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21347
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.UnifiedSkeleton, { className: "h-10 w-24 rounded" }),
|
|
21348
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.UnifiedSkeleton, { className: "h-10 w-32 rounded" })
|
|
21349
21349
|
] })
|
|
21350
21350
|
] });
|
|
21351
21351
|
}
|
|
@@ -21737,28 +21737,28 @@ function OrganizationCardSkeleton({
|
|
|
21737
21737
|
}
|
|
21738
21738
|
),
|
|
21739
21739
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col justify-center space-y-1 py-2", children: [
|
|
21740
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21741
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21740
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.TextSkeleton.Subheading, { className: "w-3/4" }),
|
|
21741
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.TextSkeleton.Caption, { className: "w-1/2" })
|
|
21742
21742
|
] })
|
|
21743
21743
|
] }),
|
|
21744
21744
|
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: [
|
|
21745
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21746
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21745
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.TextSkeleton.Body, { className: "w-full" }),
|
|
21746
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.TextSkeleton.Body, { className: "w-2/3" })
|
|
21747
21747
|
] }) }),
|
|
21748
21748
|
showFooter && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full min-w-0 items-center justify-between gap-2", children: [
|
|
21749
21749
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-shrink items-center gap-3 content-md:gap-4", children: [
|
|
21750
21750
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-shrink-0 items-center gap-1", children: [
|
|
21751
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21752
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21751
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.MediaSkeleton.Icon, { size: "sm", className: "h-5 w-5" }),
|
|
21752
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.TextSkeleton.Caption, { className: "w-8" })
|
|
21753
21753
|
] }),
|
|
21754
21754
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-shrink-0 items-center gap-1", children: [
|
|
21755
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21756
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21755
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.MediaSkeleton.Icon, { size: "sm", className: "h-5 w-5" }),
|
|
21756
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.TextSkeleton.Caption, { className: "w-10" })
|
|
21757
21757
|
] })
|
|
21758
21758
|
] }),
|
|
21759
21759
|
/* @__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: [
|
|
21760
|
-
/* @__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,
|
|
21761
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21760
|
+
/* @__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, _chunkVL4JKXU2cjs.MediaSkeleton.Icon, { size: "sm", className: "h-2.5 w-2.5" }) }),
|
|
21761
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.TextSkeleton.Caption, { className: "w-16" })
|
|
21762
21762
|
] }) })
|
|
21763
21763
|
] })
|
|
21764
21764
|
] })
|
|
@@ -21835,16 +21835,16 @@ function DeviceCardSkeletonGrid({ count = 12, className }) {
|
|
|
21835
21835
|
|
|
21836
21836
|
function PushButtonSelectorSkeleton({ count = 3, hasTitle }) {
|
|
21837
21837
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-3", role: "status", "aria-label": "Loading options", children: [
|
|
21838
|
-
hasTitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21838
|
+
hasTitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.UnifiedSkeleton, { className: "h-5 w-20", "aria-label": "Loading title" }),
|
|
21839
21839
|
/* @__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: [
|
|
21840
21840
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3", children: [
|
|
21841
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21841
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.UnifiedSkeleton, { className: "h-8 w-8", "aria-label": "Loading icon" }),
|
|
21842
21842
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { children: [
|
|
21843
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21844
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21843
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.UnifiedSkeleton, { variant: "text", className: "mb-2 h-4 w-24", "aria-label": "Loading name" }),
|
|
21844
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.UnifiedSkeleton, { variant: "text", className: "h-4 w-36", "aria-label": "Loading description" })
|
|
21845
21845
|
] })
|
|
21846
21846
|
] }),
|
|
21847
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21847
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.UnifiedSkeleton, { className: "h-6 w-6", "aria-label": "Loading selection state" })
|
|
21848
21848
|
] }) }, i)) })
|
|
21849
21849
|
] });
|
|
21850
21850
|
}
|
|
@@ -22096,14 +22096,14 @@ var MODEL_TOKEN_RATES_COPY = {
|
|
|
22096
22096
|
empty: "No token rates are in effect right now."
|
|
22097
22097
|
};
|
|
22098
22098
|
function providerMark(providerType, stated, className) {
|
|
22099
|
-
const Mark = _chunkFICJS5OAcjs.findIcon.call(void 0,
|
|
22099
|
+
const Mark = _chunkFICJS5OAcjs.findIcon.call(void 0, _chunk4FJZ7RJDcjs.aiProvider.call(void 0, providerType, { icon: stated }).icon);
|
|
22100
22100
|
return Mark ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Mark, { className }) : void 0;
|
|
22101
22101
|
}
|
|
22102
22102
|
var PAD_X = "px-[var(--spacing-system-s)]";
|
|
22103
22103
|
var ROW = "flex items-center gap-[var(--spacing-system-s)]";
|
|
22104
22104
|
var NUMBER_CELL = "w-16 shrink-0 whitespace-nowrap text-right tabular-nums";
|
|
22105
22105
|
function useProviderGroup(rates) {
|
|
22106
|
-
const groups =
|
|
22106
|
+
const groups = _chunk4FJZ7RJDcjs.groupTokenRatesByProvider.call(void 0, rates);
|
|
22107
22107
|
const [picked, setPicked] = _react.useState.call(void 0, null);
|
|
22108
22108
|
return { groups, group: _nullishCoalesce(groups.find((candidate) => candidate.providerType === picked), () => ( groups[0])), setPicked };
|
|
22109
22109
|
}
|
|
@@ -22114,7 +22114,7 @@ function ProviderTabs({
|
|
|
22114
22114
|
className
|
|
22115
22115
|
}) {
|
|
22116
22116
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22117
|
-
|
|
22117
|
+
_chunkVL4JKXU2cjs.TabSelector,
|
|
22118
22118
|
{
|
|
22119
22119
|
variant: "secondary",
|
|
22120
22120
|
scrollable: true,
|
|
@@ -22122,7 +22122,7 @@ function ProviderTabs({
|
|
|
22122
22122
|
onValueChange,
|
|
22123
22123
|
items: groups.map((candidate) => ({
|
|
22124
22124
|
id: candidate.providerType,
|
|
22125
|
-
label:
|
|
22125
|
+
label: _chunk4FJZ7RJDcjs.tokenRateProviderLabel.call(void 0, candidate.providerType, _optionalChain([candidate, 'access', _432 => _432.rates, 'access', _433 => _433[0], 'optionalAccess', _434 => _434.providerLabel])),
|
|
22126
22126
|
icon: providerMark(candidate.providerType, _optionalChain([candidate, 'access', _435 => _435.rates, 'access', _436 => _436[0], 'optionalAccess', _437 => _437.providerIcon]), "size-full")
|
|
22127
22127
|
})),
|
|
22128
22128
|
className
|
|
@@ -22223,8 +22223,8 @@ function ModelTokenRatesTable({ rates }) {
|
|
|
22223
22223
|
className: _chunk3ATAYP36cjs.cn.call(void 0, ROW, PAD_X, "py-[var(--spacing-system-xxs)] text-ods-text-primary text-h6"),
|
|
22224
22224
|
children: [
|
|
22225
22225
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "rowheader", className: "min-w-0 flex-1 truncate", children: rate.displayName || rate.modelName }),
|
|
22226
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "cell", className: NUMBER_CELL, children:
|
|
22227
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "cell", className: NUMBER_CELL, children:
|
|
22226
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "cell", className: NUMBER_CELL, children: _chunk4FJZ7RJDcjs.formatTokenRate.call(void 0, rate.inputTokenRate) }),
|
|
22227
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "cell", className: NUMBER_CELL, children: _chunk4FJZ7RJDcjs.formatTokenRate.call(void 0, rate.outputTokenRate) })
|
|
22228
22228
|
]
|
|
22229
22229
|
},
|
|
22230
22230
|
rate.modelName
|
|
@@ -22296,7 +22296,7 @@ function modelOption(rate) {
|
|
|
22296
22296
|
return {
|
|
22297
22297
|
label: rate.displayName || rate.modelName,
|
|
22298
22298
|
value: rate.modelName,
|
|
22299
|
-
description:
|
|
22299
|
+
description: _chunk4FJZ7RJDcjs.tokenRateProviderLabel.call(void 0, rate.providerType, rate.providerLabel),
|
|
22300
22300
|
icon: providerMark(rate.providerType, rate.providerIcon, "size-full text-ods-text-secondary")
|
|
22301
22301
|
};
|
|
22302
22302
|
}
|
|
@@ -22350,8 +22350,8 @@ function ModelTokenExchange({
|
|
|
22350
22350
|
const [chosen, setChosen] = _react.useState.call(void 0, null);
|
|
22351
22351
|
const balance = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(chosen, () => ( defaultAmount)), () => ( _optionalChain([tokenPrice, 'optionalAccess', _438 => _438.tokens]))), () => ( MODEL_TOKEN_EXCHANGE_BALANCE));
|
|
22352
22352
|
const max = Math.max(amountRange.max, balance, ...presets.map((preset) => preset.tokens));
|
|
22353
|
-
const tokens =
|
|
22354
|
-
const cost =
|
|
22353
|
+
const tokens = _chunk4FJZ7RJDcjs.formatTokenAmount.call(void 0, balance);
|
|
22354
|
+
const cost = _chunk4FJZ7RJDcjs.tokenCost.call(void 0, balance, tokenPrice);
|
|
22355
22355
|
const balancePrice = cost === null ? null : _chunkFTTLBMHUcjs.formatPrice.call(void 0, cost);
|
|
22356
22356
|
const model = rate ? rate.displayName || rate.modelName : "";
|
|
22357
22357
|
const options = models.map(modelOption);
|
|
@@ -22393,7 +22393,7 @@ function ModelTokenExchange({
|
|
|
22393
22393
|
variant: preset.tokens === balance ? "accent" : "outline",
|
|
22394
22394
|
size: "small",
|
|
22395
22395
|
onClick: () => setChosen(preset.tokens),
|
|
22396
|
-
children: copy.buy.preset(
|
|
22396
|
+
children: copy.buy.preset(_chunk4FJZ7RJDcjs.formatTokenAmount.call(void 0, preset.tokens), preset.label)
|
|
22397
22397
|
},
|
|
22398
22398
|
preset.label
|
|
22399
22399
|
)) })
|
|
@@ -22412,7 +22412,7 @@ function ModelTokenExchange({
|
|
|
22412
22412
|
const stated = _nullishCoalesce(models.find((option) => option.providerType === providerType), () => ( (_optionalChain([rate, 'optionalAccess', _439 => _439.providerType]) === providerType ? rate : null)));
|
|
22413
22413
|
return {
|
|
22414
22414
|
id: providerType,
|
|
22415
|
-
name:
|
|
22415
|
+
name: _chunk4FJZ7RJDcjs.tokenRateProviderLabel.call(void 0, providerType, _optionalChain([stated, 'optionalAccess', _440 => _440.providerLabel])),
|
|
22416
22416
|
icon: providerMark(providerType, _optionalChain([stated, 'optionalAccess', _441 => _441.providerIcon]), "size-8 text-ods-text-secondary")
|
|
22417
22417
|
};
|
|
22418
22418
|
}),
|
|
@@ -22450,7 +22450,7 @@ function ModelTokenExchange({
|
|
|
22450
22450
|
{
|
|
22451
22451
|
size: "plain",
|
|
22452
22452
|
loading,
|
|
22453
|
-
figure:
|
|
22453
|
+
figure: _chunk4FJZ7RJDcjs.formatTokenRate.call(void 0, _optionalChain([rate, 'optionalAccess', _446 => _446.inputTokenRate])),
|
|
22454
22454
|
words: copy.charge.input
|
|
22455
22455
|
}
|
|
22456
22456
|
),
|
|
@@ -22459,7 +22459,7 @@ function ModelTokenExchange({
|
|
|
22459
22459
|
{
|
|
22460
22460
|
size: "plain",
|
|
22461
22461
|
loading,
|
|
22462
|
-
figure:
|
|
22462
|
+
figure: _chunk4FJZ7RJDcjs.formatTokenRate.call(void 0, _optionalChain([rate, 'optionalAccess', _447 => _447.outputTokenRate])),
|
|
22463
22463
|
words: copy.charge.output
|
|
22464
22464
|
}
|
|
22465
22465
|
)
|
|
@@ -22471,9 +22471,9 @@ function ModelTokenExchange({
|
|
|
22471
22471
|
className: "mt-auto flex flex-col rounded-md border border-ods-accent bg-ods-bg p-[var(--spacing-system-mf)]",
|
|
22472
22472
|
children: [
|
|
22473
22473
|
/* @__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) }),
|
|
22474
|
-
/* @__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" }) :
|
|
22474
|
+
/* @__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" }) : _chunk4FJZ7RJDcjs.formatTokenAmount.call(void 0, _chunk4FJZ7RJDcjs.tokensForBalance.call(void 0, balance, rate.inputTokenRate)) }),
|
|
22475
22475
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-h-[1lh] text-ods-text-primary text-h3", children: copy.charge.read }),
|
|
22476
|
-
/* @__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(
|
|
22476
|
+
/* @__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(_chunk4FJZ7RJDcjs.formatTokenAmount.call(void 0, _chunk4FJZ7RJDcjs.tokensForBalance.call(void 0, balance, rate.outputTokenRate))) })
|
|
22477
22477
|
]
|
|
22478
22478
|
}
|
|
22479
22479
|
)
|
|
@@ -22971,14 +22971,14 @@ var ConfidenceBadge = ({
|
|
|
22971
22971
|
size = "sm",
|
|
22972
22972
|
className
|
|
22973
22973
|
}) => {
|
|
22974
|
-
const level =
|
|
22974
|
+
const level = _chunk4FJZ7RJDcjs.getConfidenceLevel.call(void 0, confidence);
|
|
22975
22975
|
if (level === "none") {
|
|
22976
22976
|
return null;
|
|
22977
22977
|
}
|
|
22978
|
-
const label =
|
|
22979
|
-
const borderClass =
|
|
22980
|
-
const textClass =
|
|
22981
|
-
const bgClass =
|
|
22978
|
+
const label = _chunk4FJZ7RJDcjs.getConfidenceLabel.call(void 0, confidence);
|
|
22979
|
+
const borderClass = _chunk4FJZ7RJDcjs.getConfidenceBorderClass.call(void 0, confidence);
|
|
22980
|
+
const textClass = _chunk4FJZ7RJDcjs.getConfidenceTextClass.call(void 0, confidence);
|
|
22981
|
+
const bgClass = _chunk4FJZ7RJDcjs.getConfidenceBgClass.call(void 0, confidence);
|
|
22982
22982
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
22983
22983
|
"span",
|
|
22984
22984
|
{
|
|
@@ -23029,9 +23029,9 @@ function SEOEditorPreview({
|
|
|
23029
23029
|
const [isUploading, setIsUploading] = _react.useState.call(void 0, false);
|
|
23030
23030
|
const [fileInputRef, setFileInputRef] = _react.useState.call(void 0, null);
|
|
23031
23031
|
const seoTitleLength = (seoTitle || "").length;
|
|
23032
|
-
const seoTitleTooLong = seoTitleLength >
|
|
23032
|
+
const seoTitleTooLong = seoTitleLength > _chunk4FJZ7RJDcjs.SEO_TITLE_MAX_LENGTH;
|
|
23033
23033
|
const seoDescriptionLength = (seoDescription || "").length;
|
|
23034
|
-
const seoDescriptionTooLong = seoDescriptionLength >
|
|
23034
|
+
const seoDescriptionTooLong = seoDescriptionLength > _chunk4FJZ7RJDcjs.SEO_DESCRIPTION_MAX_LENGTH;
|
|
23035
23035
|
const displayTitle = seoTitle.trim() || title || "Untitled";
|
|
23036
23036
|
const displayDescription = seoDescription.trim() || summary || "No description";
|
|
23037
23037
|
const hasOgImage = ogImageUrl.trim();
|
|
@@ -23056,10 +23056,10 @@ function SEOEditorPreview({
|
|
|
23056
23056
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid grid-cols-1 gap-4 content-lg:grid-cols-2", children: [
|
|
23057
23057
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
23058
23058
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23059
|
-
|
|
23059
|
+
_chunk4FJZ7RJDcjs.Field,
|
|
23060
23060
|
{
|
|
23061
23061
|
label: "SEO Title",
|
|
23062
|
-
error: seoTitleTooLong ? `Too long: search engines may truncate this title (keep it under ${
|
|
23062
|
+
error: seoTitleTooLong ? `Too long: search engines may truncate this title (keep it under ${_chunk4FJZ7RJDcjs.SEO_TITLE_MAX_LENGTH})` : null,
|
|
23063
23063
|
labelExtras: aiConfidenceSeoTitle !== void 0 ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
23064
23064
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, AIGeneratedBadge, {}),
|
|
23065
23065
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ConfidenceBadge, { confidence: aiConfidenceSeoTitle, showLabel: true, showPercentage: true, size: "sm" })
|
|
@@ -23074,7 +23074,7 @@ function SEOEditorPreview({
|
|
|
23074
23074
|
children: [
|
|
23075
23075
|
seoTitleLength,
|
|
23076
23076
|
"/",
|
|
23077
|
-
|
|
23077
|
+
_chunk4FJZ7RJDcjs.SEO_TITLE_MAX_LENGTH
|
|
23078
23078
|
]
|
|
23079
23079
|
}
|
|
23080
23080
|
),
|
|
@@ -23085,7 +23085,7 @@ function SEOEditorPreview({
|
|
|
23085
23085
|
value: seoTitle || "",
|
|
23086
23086
|
onChange: (e) => onSeoTitleChange(e.target.value),
|
|
23087
23087
|
disabled,
|
|
23088
|
-
maxLength:
|
|
23088
|
+
maxLength: _chunk4FJZ7RJDcjs.SEO_TITLE_MAX_LENGTH,
|
|
23089
23089
|
invalid: seoTitleTooLong,
|
|
23090
23090
|
placeholder: "Enter SEO meta title...",
|
|
23091
23091
|
className: "border-ods-border bg-ods-bg text-ods-text-primary"
|
|
@@ -23096,7 +23096,7 @@ function SEOEditorPreview({
|
|
|
23096
23096
|
!seoTitle && title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-accent text-h6", children: "Auto-populated from title" })
|
|
23097
23097
|
] }),
|
|
23098
23098
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23099
|
-
|
|
23099
|
+
_chunk4FJZ7RJDcjs.Field,
|
|
23100
23100
|
{
|
|
23101
23101
|
label: "SEO Keywords",
|
|
23102
23102
|
labelExtras: aiConfidenceSeoKeywords !== void 0 ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
@@ -23128,10 +23128,10 @@ function SEOEditorPreview({
|
|
|
23128
23128
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid grid-cols-1 gap-4 content-lg:grid-cols-2", children: [
|
|
23129
23129
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
23130
23130
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23131
|
-
|
|
23131
|
+
_chunk4FJZ7RJDcjs.Field,
|
|
23132
23132
|
{
|
|
23133
23133
|
label: "SEO Description",
|
|
23134
|
-
error: seoDescriptionTooLong ? `Too long: search engines may truncate this description (keep it under ${
|
|
23134
|
+
error: seoDescriptionTooLong ? `Too long: search engines may truncate this description (keep it under ${_chunk4FJZ7RJDcjs.SEO_DESCRIPTION_MAX_LENGTH})` : null,
|
|
23135
23135
|
labelExtras: aiConfidenceSeoDescription !== void 0 ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
23136
23136
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, AIGeneratedBadge, {}),
|
|
23137
23137
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -23154,7 +23154,7 @@ function SEOEditorPreview({
|
|
|
23154
23154
|
children: [
|
|
23155
23155
|
seoDescriptionLength,
|
|
23156
23156
|
"/",
|
|
23157
|
-
|
|
23157
|
+
_chunk4FJZ7RJDcjs.SEO_DESCRIPTION_MAX_LENGTH
|
|
23158
23158
|
]
|
|
23159
23159
|
}
|
|
23160
23160
|
),
|
|
@@ -23165,7 +23165,7 @@ function SEOEditorPreview({
|
|
|
23165
23165
|
value: seoDescription || "",
|
|
23166
23166
|
onChange: (e) => onSeoDescriptionChange(e.target.value),
|
|
23167
23167
|
disabled,
|
|
23168
|
-
maxLength:
|
|
23168
|
+
maxLength: _chunk4FJZ7RJDcjs.SEO_DESCRIPTION_MAX_LENGTH,
|
|
23169
23169
|
invalid: seoDescriptionTooLong,
|
|
23170
23170
|
placeholder: "Enter SEO meta description...",
|
|
23171
23171
|
className: _chunk3ATAYP36cjs.cn.call(void 0, "resize-none border-ods-border bg-ods-bg text-ods-text-primary", SEO_MEDIA_BOX_HEIGHT)
|
|
@@ -23318,7 +23318,7 @@ function socialIcon(platform) {
|
|
|
23318
23318
|
return _nullishCoalesce(_chunkFICJS5OAcjs.iconOf.call(void 0, SOCIAL_ICONS[platform]), () => ( void 0));
|
|
23319
23319
|
}
|
|
23320
23320
|
function renderSocialIcon(platform) {
|
|
23321
|
-
const key = _nullishCoalesce(
|
|
23321
|
+
const key = _nullishCoalesce(_chunk4FJZ7RJDcjs.normalizeSocialPlatform.call(void 0, platform), () => ( "website"));
|
|
23322
23322
|
const icon = _nullishCoalesce(socialIcon(key), () => ( socialIcon("website")));
|
|
23323
23323
|
return icon ? _react.createElement.call(void 0, icon, { className: "h-5 w-5" }) : null;
|
|
23324
23324
|
}
|
|
@@ -23401,7 +23401,7 @@ function SocialLinksManager({
|
|
|
23401
23401
|
};
|
|
23402
23402
|
const getIcon = (link, platform) => {
|
|
23403
23403
|
const iconKey = _optionalChain([platform, 'optionalAccess', _457 => _457.icon_name]) || link.platform;
|
|
23404
|
-
const key =
|
|
23404
|
+
const key = _chunk4FJZ7RJDcjs.normalizeSocialPlatform.call(void 0, iconKey);
|
|
23405
23405
|
if (!key) return null;
|
|
23406
23406
|
const icon = socialIcon(key);
|
|
23407
23407
|
return icon ? _react.createElement.call(void 0, icon, { className: "h-5 w-5 text-ods-text-secondary" }) : null;
|
|
@@ -23811,7 +23811,7 @@ function VideoBitesDisplay({
|
|
|
23811
23811
|
filterPublished = true,
|
|
23812
23812
|
showTitle = true
|
|
23813
23813
|
}) {
|
|
23814
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23814
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL4JKXU2cjs.VideoBitesStrip, { bites, title, filterPublished, showTitle });
|
|
23815
23815
|
}
|
|
23816
23816
|
|
|
23817
23817
|
// src/components/features/walkthrough-video.tsx
|
|
@@ -23838,7 +23838,7 @@ function WalkthroughVideo({
|
|
|
23838
23838
|
onOpenChange,
|
|
23839
23839
|
defaultOpen,
|
|
23840
23840
|
defaultOpenPaused,
|
|
23841
|
-
deepLinkParam =
|
|
23841
|
+
deepLinkParam = _chunk4FJZ7RJDcjs.WALKTHROUGH_OPEN_QUERY_PARAM,
|
|
23842
23842
|
autoPlayCard = false,
|
|
23843
23843
|
label = "Play Demo Video",
|
|
23844
23844
|
placement,
|
|
@@ -23853,7 +23853,7 @@ function WalkthroughVideo({
|
|
|
23853
23853
|
}) {
|
|
23854
23854
|
const inline = placement === "inline";
|
|
23855
23855
|
const dismissEnabled = dismissal !== false;
|
|
23856
|
-
const storageKey = dismissEnabled && dismissal.storageKey ||
|
|
23856
|
+
const storageKey = dismissEnabled && dismissal.storageKey || _chunk4FJZ7RJDcjs.WALKTHROUGH_VIDEO_DISMISS_KEY;
|
|
23857
23857
|
const dismissalId = _optionalChain([video, 'optionalAccess', _463 => _463.id]) != null ? String(video.id) : "dismissed";
|
|
23858
23858
|
const [mounted, setMounted] = _react.useState.call(void 0, false);
|
|
23859
23859
|
const [dismissed, setDismissed] = _react.useState.call(void 0, false);
|
|
@@ -23864,7 +23864,7 @@ function WalkthroughVideo({
|
|
|
23864
23864
|
if (!hasVideo) return void 0;
|
|
23865
23865
|
const timer = setTimeout(() => {
|
|
23866
23866
|
const reveal = () => {
|
|
23867
|
-
if (dismissEnabled &&
|
|
23867
|
+
if (dismissEnabled && _chunk4FJZ7RJDcjs.isWalkthroughDismissed.call(void 0, storageKey, dismissalId)) {
|
|
23868
23868
|
setDismissed(true);
|
|
23869
23869
|
return;
|
|
23870
23870
|
}
|
|
@@ -23881,7 +23881,7 @@ function WalkthroughVideo({
|
|
|
23881
23881
|
if (idleHandle !== null && typeof cic === "function") cic(idleHandle);
|
|
23882
23882
|
};
|
|
23883
23883
|
}, [appearDelayMs, dismissEnabled, storageKey, dismissalId, hasVideo, videoId]);
|
|
23884
|
-
const hydrated =
|
|
23884
|
+
const hydrated = _chunkVL4JKXU2cjs.useIsHydrated.call(void 0, );
|
|
23885
23885
|
const previewSuppressed = _react.useMemo.call(void 0, () => {
|
|
23886
23886
|
if (!hydrated) return false;
|
|
23887
23887
|
try {
|
|
@@ -24131,7 +24131,7 @@ function WalkthroughVideo({
|
|
|
24131
24131
|
(e) => {
|
|
24132
24132
|
e.stopPropagation();
|
|
24133
24133
|
pausePreviewNow();
|
|
24134
|
-
if (dismissEnabled)
|
|
24134
|
+
if (dismissEnabled) _chunk4FJZ7RJDcjs.dismissWalkthrough.call(void 0, storageKey, dismissalId);
|
|
24135
24135
|
setDismissed(true);
|
|
24136
24136
|
},
|
|
24137
24137
|
[dismissEnabled, storageKey, dismissalId, pausePreviewNow]
|
|
@@ -24304,7 +24304,7 @@ function WalkthroughVideo({
|
|
|
24304
24304
|
`card-${embedUrlKey}`
|
|
24305
24305
|
) }),
|
|
24306
24306
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24307
|
-
|
|
24307
|
+
_chunkVL4JKXU2cjs.CardHitLayer,
|
|
24308
24308
|
{
|
|
24309
24309
|
label: video.title ? `${label}: ${video.title}` : label,
|
|
24310
24310
|
onPointerDown: pausePreviewNow,
|
|
@@ -24470,7 +24470,7 @@ function InlineWalkthroughVideo(props) {
|
|
|
24470
24470
|
var _reactquery = require('@tanstack/react-query');
|
|
24471
24471
|
function useWalkthroughVideo(opts) {
|
|
24472
24472
|
const { endpoint, initialData, enabled = true, transformCaptionsUrl } = opts;
|
|
24473
|
-
const captions =
|
|
24473
|
+
const captions = _chunkVL4JKXU2cjs.useCaptions.call(void 0, );
|
|
24474
24474
|
const query = _reactquery.useQuery.call(void 0, {
|
|
24475
24475
|
queryKey: ["walkthrough-video", endpoint],
|
|
24476
24476
|
enabled,
|
|
@@ -25219,7 +25219,7 @@ function HighlightConfigSection({
|
|
|
25219
25219
|
disabled = false,
|
|
25220
25220
|
className = ""
|
|
25221
25221
|
}) {
|
|
25222
|
-
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,
|
|
25222
|
+
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, _chunk4FJZ7RJDcjs.Field, { label: "Target Duration", children: (f) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
25223
25223
|
_chunkL4ZNR5V7cjs.Select,
|
|
25224
25224
|
{
|
|
25225
25225
|
value: targetDurationSeconds.toString(),
|
|
@@ -25320,7 +25320,7 @@ var AIStatusIndicator = ({
|
|
|
25320
25320
|
}) => {
|
|
25321
25321
|
const config = statusConfig[status];
|
|
25322
25322
|
const displayText = message || config.label;
|
|
25323
|
-
const confidenceLabel = showConfidence && confidence !== void 0 ? `${
|
|
25323
|
+
const confidenceLabel = showConfidence && confidence !== void 0 ? `${_chunk4FJZ7RJDcjs.getConfidenceLabel.call(void 0, confidence)} (${confidence}%)` : null;
|
|
25324
25324
|
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: [
|
|
25325
25325
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25326
25326
|
_chunkUNFCRSYIcjs.SparklesIcon,
|
|
@@ -25328,7 +25328,7 @@ var AIStatusIndicator = ({
|
|
|
25328
25328
|
size: 16,
|
|
25329
25329
|
className: _chunk3ATAYP36cjs.cn.call(void 0,
|
|
25330
25330
|
status === "loading" && "animate-pulse",
|
|
25331
|
-
confidence !== void 0 && status === "success" ?
|
|
25331
|
+
confidence !== void 0 && status === "success" ? _chunk4FJZ7RJDcjs.getConfidenceTextClass.call(void 0, confidence) : config.color
|
|
25332
25332
|
)
|
|
25333
25333
|
}
|
|
25334
25334
|
),
|
|
@@ -25337,7 +25337,7 @@ var AIStatusIndicator = ({
|
|
|
25337
25337
|
{
|
|
25338
25338
|
className: _chunk3ATAYP36cjs.cn.call(void 0,
|
|
25339
25339
|
"text-h6",
|
|
25340
|
-
confidence !== void 0 && status === "success" ?
|
|
25340
|
+
confidence !== void 0 && status === "success" ? _chunk4FJZ7RJDcjs.getConfidenceTextClass.call(void 0, confidence) : config.color
|
|
25341
25341
|
),
|
|
25342
25342
|
children: displayText
|
|
25343
25343
|
}
|
|
@@ -25347,8 +25347,8 @@ var AIStatusIndicator = ({
|
|
|
25347
25347
|
{
|
|
25348
25348
|
className: _chunk3ATAYP36cjs.cn.call(void 0,
|
|
25349
25349
|
"rounded-full border px-2 py-0.5 text-h6",
|
|
25350
|
-
|
|
25351
|
-
|
|
25350
|
+
_chunk4FJZ7RJDcjs.getConfidenceBorderClass.call(void 0, confidence),
|
|
25351
|
+
_chunk4FJZ7RJDcjs.getConfidenceTextClass.call(void 0, confidence)
|
|
25352
25352
|
),
|
|
25353
25353
|
children: confidenceLabel
|
|
25354
25354
|
}
|
|
@@ -26244,7 +26244,7 @@ function PoliciesTable({
|
|
|
26244
26244
|
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,
|
|
26245
26245
|
_chunkAZL332TKcjs.Button,
|
|
26246
26246
|
{
|
|
26247
|
-
onClick:
|
|
26247
|
+
onClick: _chunk4FJZ7RJDcjs.openInNewTab.call(void 0, row.original.href),
|
|
26248
26248
|
variant: "outline",
|
|
26249
26249
|
size: "icon",
|
|
26250
26250
|
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkANTDIQKKcjs.ArrowRightUpIcon, { className: "h-5 w-5" }),
|
|
@@ -26570,7 +26570,7 @@ function TenantsTableView({
|
|
|
26570
26570
|
/* @__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,
|
|
26571
26571
|
_chunkAZL332TKcjs.Button,
|
|
26572
26572
|
{
|
|
26573
|
-
onClick:
|
|
26573
|
+
onClick: _chunk4FJZ7RJDcjs.openInNewTab.call(void 0, getHref(row.original)),
|
|
26574
26574
|
variant: "outline",
|
|
26575
26575
|
size: "icon",
|
|
26576
26576
|
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkANTDIQKKcjs.ArrowRightUpIcon, { className: "h-5 w-5" }),
|
|
@@ -26651,7 +26651,7 @@ function WaitlistForm({
|
|
|
26651
26651
|
const { toast } = _chunkVA7OMDZOcjs.useToast.call(void 0, );
|
|
26652
26652
|
const { honeypotInputProps, getSignals, resetSignals } = _chunkVA7OMDZOcjs.useHumanitySignals.call(void 0, );
|
|
26653
26653
|
const [smsConsent, setSmsConsent] = _react.useState.call(void 0, false);
|
|
26654
|
-
const isClient =
|
|
26654
|
+
const isClient = _chunkVL4JKXU2cjs.useIsHydrated.call(void 0, );
|
|
26655
26655
|
const [isPhoneInvalid, setIsPhoneInvalid] = _react.useState.call(void 0, false);
|
|
26656
26656
|
const [showConsentError, setShowConsentError] = _react.useState.call(void 0, false);
|
|
26657
26657
|
const rescue = _chunkVA7OMDZOcjs.useFormRescue.call(void 0, {
|
|
@@ -26666,7 +26666,7 @@ function WaitlistForm({
|
|
|
26666
26666
|
_react.useEffect.call(void 0, () => {
|
|
26667
26667
|
rescue.track({ email, phone }, null);
|
|
26668
26668
|
}, [email, phone, rescue]);
|
|
26669
|
-
const isMailDomainGeneric =
|
|
26669
|
+
const isMailDomainGeneric = _chunk4FJZ7RJDcjs.hasGenericEmailDomain.call(void 0, email);
|
|
26670
26670
|
const [syncedDefaultEmail, setSyncedDefaultEmail] = _react.useState.call(void 0, defaultEmail);
|
|
26671
26671
|
if (syncedDefaultEmail !== defaultEmail) {
|
|
26672
26672
|
setSyncedDefaultEmail(defaultEmail);
|
|
@@ -26700,7 +26700,7 @@ function WaitlistForm({
|
|
|
26700
26700
|
setShowConsentError(true);
|
|
26701
26701
|
return;
|
|
26702
26702
|
}
|
|
26703
|
-
const finalPhone = phone ?
|
|
26703
|
+
const finalPhone = phone ? _chunk4FJZ7RJDcjs.formatPhoneE164.call(void 0, phone, countryCode) : void 0;
|
|
26704
26704
|
try {
|
|
26705
26705
|
await onRegister(email, finalPhone, getSignals(), rescue.submitFields());
|
|
26706
26706
|
rescue.complete();
|
|
@@ -28792,7 +28792,7 @@ function getDeviceStatusConfig(status) {
|
|
|
28792
28792
|
}
|
|
28793
28793
|
}
|
|
28794
28794
|
function getDeviceOperatingSystem(osType) {
|
|
28795
|
-
return
|
|
28795
|
+
return _chunk4FJZ7RJDcjs.getOSPlatformId.call(void 0, osType);
|
|
28796
28796
|
}
|
|
28797
28797
|
|
|
28798
28798
|
// src/components/features/devices/device-statuses.ts
|
|
@@ -30339,7 +30339,7 @@ function DevicesPanelView({
|
|
|
30339
30339
|
actionsVariant: "icon-buttons",
|
|
30340
30340
|
className,
|
|
30341
30341
|
selector: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30342
|
-
|
|
30342
|
+
_chunkVL4JKXU2cjs.TabSelector,
|
|
30343
30343
|
{
|
|
30344
30344
|
value: viewMode,
|
|
30345
30345
|
onValueChange: (value) => _optionalChain([onViewModeChange, 'optionalCall', _644 => _644(value)]),
|
|
@@ -30855,10 +30855,10 @@ var ToolBadge = ({
|
|
|
30855
30855
|
className,
|
|
30856
30856
|
iconClassName
|
|
30857
30857
|
}) => {
|
|
30858
|
-
const text = _nullishCoalesce(label, () => ( (toolType ?
|
|
30858
|
+
const text = _nullishCoalesce(label, () => ( (toolType ? _chunk4FJZ7RJDcjs.getToolLabel.call(void 0, toolType) : "")));
|
|
30859
30859
|
const mark = _nullishCoalesce(icon, () => ( (toolType ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNTJE6SM6cjs.ToolIcon, { toolType, className: iconClassName, size: 16 }) : null)));
|
|
30860
30860
|
const linked = (node, linkClassName) => href && targetPlatform ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30861
|
-
|
|
30861
|
+
_chunkVL4JKXU2cjs.NavLinkAnchorViaRuntime,
|
|
30862
30862
|
{
|
|
30863
30863
|
href,
|
|
30864
30864
|
targetPlatform,
|
|
@@ -30964,7 +30964,7 @@ function LogsTableView({
|
|
|
30964
30964
|
cell: ({ row }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30965
30965
|
ToolBadge,
|
|
30966
30966
|
{
|
|
30967
|
-
toolType:
|
|
30967
|
+
toolType: _chunk4FJZ7RJDcjs.normalizeToolTypeWithFallback.call(void 0, row.original.source.toolType),
|
|
30968
30968
|
iconClassName: "h-4 w-4 content-md:h-6 content-md:w-6"
|
|
30969
30969
|
}
|
|
30970
30970
|
),
|
|
@@ -30976,7 +30976,7 @@ function LogsTableView({
|
|
|
30976
30976
|
filter: {
|
|
30977
30977
|
options: _nullishCoalesce(_optionalChain([facets, 'optionalAccess', _652 => _652.toolTypes, 'access', _653 => _653.map, 'call', _654 => _654((toolType) => ({
|
|
30978
30978
|
id: toolType,
|
|
30979
|
-
label:
|
|
30979
|
+
label: _chunk4FJZ7RJDcjs.toToolLabel.call(void 0, toolType),
|
|
30980
30980
|
value: toolType
|
|
30981
30981
|
}))]), () => ( []))
|
|
30982
30982
|
}
|
|
@@ -31034,7 +31034,7 @@ function LogsTableView({
|
|
|
31034
31034
|
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,
|
|
31035
31035
|
_chunkAZL332TKcjs.Button,
|
|
31036
31036
|
{
|
|
31037
|
-
onClick: getLogHref ?
|
|
31037
|
+
onClick: getLogHref ? _chunk4FJZ7RJDcjs.openInNewTab.call(void 0, getLogHref(row.original)) : void 0,
|
|
31038
31038
|
variant: "outline",
|
|
31039
31039
|
size: "icon",
|
|
31040
31040
|
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkANTDIQKKcjs.ArrowRightUpIcon, { className: "h-5 w-5" }),
|
|
@@ -31263,7 +31263,7 @@ function getKnowledgeBaseOpenColumn(getHref) {
|
|
|
31263
31263
|
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,
|
|
31264
31264
|
_chunkAZL332TKcjs.Button,
|
|
31265
31265
|
{
|
|
31266
|
-
onClick:
|
|
31266
|
+
onClick: _chunk4FJZ7RJDcjs.openInNewTab.call(void 0, getHref(row.original)),
|
|
31267
31267
|
variant: "outline",
|
|
31268
31268
|
size: "icon",
|
|
31269
31269
|
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkANTDIQKKcjs.ArrowRightUpIcon, { className: "h-5 w-5" }),
|