@flamingo-stack/openframe-frontend-core 0.0.747 → 0.0.748
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-TYW7NBP7.cjs → chunk-46EIXJFC.cjs} +9 -9
- package/dist/{chunk-PIQRV4EQ.cjs → chunk-4AZHFLOM.cjs} +3 -3
- package/dist/{chunk-R3FXJXSQ.cjs → chunk-6XP6RNFD.cjs} +273 -273
- package/dist/{chunk-4DT5YXTM.cjs → chunk-7Y3VMMJB.cjs} +7 -7
- package/dist/{chunk-7Y5U3Y4S.cjs → chunk-BBTSJYTR.cjs} +38 -33
- package/dist/{chunk-FCQCEQBY.cjs → chunk-D4XZL27V.cjs} +4 -4
- package/dist/{chunk-2CEQGGRN.cjs → chunk-EH3LOWGY.cjs} +17 -17
- package/dist/{chunk-O6QQ44I3.cjs → chunk-G2ELX3DG.cjs} +11 -11
- package/dist/{chunk-LLAKQT3B.cjs → chunk-GE4PCDNZ.cjs} +6 -6
- package/dist/{chunk-WY4FKKCV.cjs → chunk-H34A2765.cjs} +37 -37
- package/dist/{chunk-IJA3OZWF.cjs → chunk-JNBOQ7F2.cjs} +9 -9
- package/dist/{chunk-JPSMPXCH.cjs → chunk-JOPFX3PJ.cjs} +66 -66
- package/dist/{chunk-6RTHHU3S.cjs → chunk-OZUJYBQ2.cjs} +4 -4
- package/dist/{chunk-MA7T36JY.cjs → chunk-TRXCQADV.cjs} +33 -33
- package/dist/{chunk-HTMHDEIV.cjs → chunk-UNR74CAC.cjs} +4 -4
- package/dist/{chunk-4AWI6CCU.cjs → chunk-YKJQM2O6.cjs} +25 -25
- package/dist/{chunk-C7NTL2GV.cjs → chunk-ZNUSYMH7.cjs} +15 -15
- package/dist/{cloud-tenants-QJZIF2JS.cjs → cloud-tenants-V5727B7F.cjs} +4 -4
- package/dist/components/case-studies/index.cjs +14 -14
- package/dist/components/chat/index.cjs +3 -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/index.cjs +6 -6
- package/dist/components/features/index.cjs +4 -4
- package/dist/components/help-center-pages/index.cjs +74 -74
- package/dist/components/index.cjs +37 -37
- package/dist/components/meeting-scheduler/index.cjs +22 -22
- package/dist/components/navigation/index.cjs +7 -7
- package/dist/components/onboarding-guides/index.cjs +6 -6
- package/dist/components/product-demo/index.cjs +7 -7
- package/dist/components/tickets/index.cjs +9 -9
- package/dist/components/ui/index.cjs +4 -4
- package/dist/{devices-V55KQCAL.cjs → devices-WWMXIIHI.cjs} +5 -5
- package/dist/{embeddable-chat-5CDR4I6E.cjs → embeddable-chat-IJHCGQ24.cjs} +64 -64
- package/dist/index.cjs +8 -8
- package/dist/{knowledge-S3VGDRKR.cjs → knowledge-JZP4RIXB.cjs} +5 -5
- package/dist/{logs-K5E2BGZE.cjs → logs-WIRYFNUC.cjs} +12 -12
- package/dist/{policies-BWU4FRFE.cjs → policies-X7OJYA7G.cjs} +8 -8
- package/dist/{scripts-25UPGXZU.cjs → scripts-GRMT2NGW.cjs} +9 -9
- package/dist/{software-update-F6UC7ULZ.cjs → software-update-G3QOB7RT.cjs} +7 -7
- package/dist/utils/index.cjs +49 -48
- package/dist/utils/markdown-to-plain.d.ts.map +1 -1
- package/dist/utils/markdown-to-plain.js +12 -7
- package/package.json +7 -2
- package/src/utils/markdown-to-plain.ts +25 -16
|
@@ -109,7 +109,7 @@ var _chunkYUMFVQINcjs = require('./chunk-YUMFVQIN.cjs');
|
|
|
109
109
|
|
|
110
110
|
|
|
111
111
|
|
|
112
|
-
var
|
|
112
|
+
var _chunkZNUSYMH7cjs = require('./chunk-ZNUSYMH7.cjs');
|
|
113
113
|
|
|
114
114
|
|
|
115
115
|
|
|
@@ -135,7 +135,7 @@ var _chunkC7NTL2GVcjs = require('./chunk-C7NTL2GV.cjs');
|
|
|
135
135
|
|
|
136
136
|
|
|
137
137
|
|
|
138
|
-
var
|
|
138
|
+
var _chunkBBTSJYTRcjs = require('./chunk-BBTSJYTR.cjs');
|
|
139
139
|
|
|
140
140
|
|
|
141
141
|
|
|
@@ -661,7 +661,7 @@ function ThemeProvider({ children, ...overrides }) {
|
|
|
661
661
|
var useTheme = _nextthemes.useTheme;
|
|
662
662
|
function useThemeToggle() {
|
|
663
663
|
const { resolvedTheme, theme, setTheme } = useTheme();
|
|
664
|
-
const mounted =
|
|
664
|
+
const mounted = _chunkBBTSJYTRcjs.useIsHydrated.call(void 0, );
|
|
665
665
|
const active = mounted ? resolvedTheme === "light" || theme === "light" ? "light" : "dark" : DEFAULT_THEME;
|
|
666
666
|
const setOdsTheme = _react.useCallback.call(void 0, (next) => setTheme(next), [setTheme]);
|
|
667
667
|
const toggle = _react.useCallback.call(void 0, () => setTheme(active === "dark" ? "light" : "dark"), [active, setTheme]);
|
|
@@ -4357,7 +4357,7 @@ function AdminFormDrawer({
|
|
|
4357
4357
|
"form",
|
|
4358
4358
|
{
|
|
4359
4359
|
id: formId,
|
|
4360
|
-
...
|
|
4360
|
+
..._chunkZNUSYMH7cjs.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS,
|
|
4361
4361
|
className: "flex flex-col gap-[var(--spacing-system-lf)]",
|
|
4362
4362
|
onSubmit: (e) => {
|
|
4363
4363
|
e.preventDefault();
|
|
@@ -4467,7 +4467,7 @@ function AdminFormModal({
|
|
|
4467
4467
|
"form",
|
|
4468
4468
|
{
|
|
4469
4469
|
id: formId,
|
|
4470
|
-
...
|
|
4470
|
+
..._chunkZNUSYMH7cjs.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS,
|
|
4471
4471
|
className: "flex min-h-0 flex-1 flex-col",
|
|
4472
4472
|
onSubmit: (e) => {
|
|
4473
4473
|
e.preventDefault();
|
|
@@ -5785,7 +5785,7 @@ function EmbedViewerFrame({
|
|
|
5785
5785
|
const controllerRef = _react.useRef.call(void 0, null);
|
|
5786
5786
|
_react.useEffect.call(void 0, () => {
|
|
5787
5787
|
if (!fullscreenControl) return void 0;
|
|
5788
|
-
const controller = new (0,
|
|
5788
|
+
const controller = new (0, _chunkZNUSYMH7cjs.FullscreenSwitchController)({
|
|
5789
5789
|
target: () => frameRef.current,
|
|
5790
5790
|
onFullscreenChange: setIsFullscreen
|
|
5791
5791
|
});
|
|
@@ -6930,7 +6930,7 @@ var formatTimeAgo = (timestamp) => {
|
|
|
6930
6930
|
return `${Math.floor(diffSeconds / 86400)}d ago`;
|
|
6931
6931
|
};
|
|
6932
6932
|
function RedditEmbedClient({ url, maxWidth = 700, rel }) {
|
|
6933
|
-
const postLinkRel =
|
|
6933
|
+
const postLinkRel = _chunkBBTSJYTRcjs.renderedLinkRel.call(void 0, rel, true);
|
|
6934
6934
|
const { redditProxyUrl } = useRichMarkdownRuntime();
|
|
6935
6935
|
const [redditData, setRedditData] = _react.useState.call(void 0, null);
|
|
6936
6936
|
const [loading, setLoading] = _react.useState.call(void 0, true);
|
|
@@ -7262,7 +7262,7 @@ var UserIcon3 = () => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "svg", { wid
|
|
|
7262
7262
|
] });
|
|
7263
7263
|
var XIcon = () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2TEMEXDTcjs.XLogoIcon, { className: "h-5 w-5", color: "currentColor" });
|
|
7264
7264
|
function TwitterEmbedClient({ url, tweetId, maxWidth = 700, rel }) {
|
|
7265
|
-
const postLinkRel =
|
|
7265
|
+
const postLinkRel = _chunkBBTSJYTRcjs.renderedLinkRel.call(void 0, rel, true);
|
|
7266
7266
|
const { twitterProxyUrl } = useRichMarkdownRuntime();
|
|
7267
7267
|
const [tweetData, setTweetData] = _react.useState.call(void 0, null);
|
|
7268
7268
|
const [fetchLoading, setLoading] = _react.useState.call(void 0, true);
|
|
@@ -7464,7 +7464,7 @@ function buildRichEmbedOverrides({
|
|
|
7464
7464
|
ogEndpointPath,
|
|
7465
7465
|
textSizes
|
|
7466
7466
|
}) {
|
|
7467
|
-
const standard =
|
|
7467
|
+
const standard = _chunkBBTSJYTRcjs.buildStandardLeafRenderers.call(void 0, { textSizes });
|
|
7468
7468
|
return {
|
|
7469
7469
|
// Fence-language embeds (```youtube-embed etc.); everything else
|
|
7470
7470
|
// (mermaid, highlighted blocks, inline code) falls through to `standard`.
|
|
@@ -7600,13 +7600,13 @@ function buildRichEmbedOverrides({
|
|
|
7600
7600
|
// rich-markdown runtime (Supabase optimization on the hub, identity
|
|
7601
7601
|
// elsewhere). Guard against empty `![]()`.
|
|
7602
7602
|
img: ({ src, alt }) => {
|
|
7603
|
-
if (!
|
|
7603
|
+
if (!_chunkBBTSJYTRcjs.hasRenderableSrc.call(void 0, src)) return null;
|
|
7604
7604
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MarkdownImage, { src: src.trim(), alt });
|
|
7605
7605
|
},
|
|
7606
7606
|
// Raw <video> tags in stored content (blog publisher injection) route
|
|
7607
7607
|
// to the <Video> SSOT (MuxPlayer) so HLS manifests play everywhere.
|
|
7608
7608
|
video: ({ src, poster, className }) => {
|
|
7609
|
-
if (!
|
|
7609
|
+
if (!_chunkBBTSJYTRcjs.hasRenderableSrc.call(void 0, src)) return null;
|
|
7610
7610
|
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, _chunkP7KTAXXEcjs.Video, { kind: "file", url: src.trim(), poster: typeof poster === "string" ? poster : void 0 }) }) });
|
|
7611
7611
|
}
|
|
7612
7612
|
};
|
|
@@ -7715,7 +7715,7 @@ var processShortcodes = (content) => {
|
|
|
7715
7715
|
try {
|
|
7716
7716
|
const urlObj = new URL(url);
|
|
7717
7717
|
const hostname = urlObj.hostname.toLowerCase();
|
|
7718
|
-
const hostIs = (domain) =>
|
|
7718
|
+
const hostIs = (domain) => _chunkZNUSYMH7cjs.hostMatches.call(void 0, hostname, domain);
|
|
7719
7719
|
const isYouTubeVideo = hostIs("youtube.com") && urlObj.searchParams.has("v") || hostIs("youtu.be");
|
|
7720
7720
|
if (isYouTubeVideo || hostIs("reddit.com") || hostIs("twitter.com") || hostIs("x.com") || hostIs("figma.com")) {
|
|
7721
7721
|
return match;
|
|
@@ -7790,13 +7790,13 @@ var RichMarkdownInner = ({
|
|
|
7790
7790
|
},
|
|
7791
7791
|
[resolveLinkEndpointUrl, resolveSource]
|
|
7792
7792
|
);
|
|
7793
|
-
const textSizes = _react.useMemo.call(void 0, () =>
|
|
7793
|
+
const textSizes = _react.useMemo.call(void 0, () => _chunkBBTSJYTRcjs.resolveTextSizeConfig.call(void 0, "article"), []);
|
|
7794
7794
|
const componentOverrides = _react.useMemo.call(void 0,
|
|
7795
7795
|
() => buildRichEmbedOverrides({ ogApiBaseUrl, ogEndpointPath, textSizes }),
|
|
7796
7796
|
[ogApiBaseUrl, ogEndpointPath, textSizes]
|
|
7797
7797
|
);
|
|
7798
7798
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7799
|
-
|
|
7799
|
+
_chunkBBTSJYTRcjs.MarkdownEngine,
|
|
7800
7800
|
{
|
|
7801
7801
|
content,
|
|
7802
7802
|
className,
|
|
@@ -7818,7 +7818,7 @@ var RichMarkdownRendererImpl = ({
|
|
|
7818
7818
|
className = "",
|
|
7819
7819
|
sectionIds,
|
|
7820
7820
|
onInternalLinkClick,
|
|
7821
|
-
brokenLinks =
|
|
7821
|
+
brokenLinks = _chunkBBTSJYTRcjs.NO_BROKEN_LINKS,
|
|
7822
7822
|
currentPath,
|
|
7823
7823
|
resolveSource = "openframe-docs",
|
|
7824
7824
|
resolveLinkEndpointUrl = "/api/docs/resolve-link",
|
|
@@ -8786,7 +8786,7 @@ function FilterModal({
|
|
|
8786
8786
|
const dateDefaultSort = _nullishCoalesce(_optionalChain([dateFilter, 'optionalAccess', _150 => _150.defaultSort]), () => ( "desc"));
|
|
8787
8787
|
const [draftDateSort, setDraftDateSort] = _react.useState.call(void 0, _nullishCoalesce(_optionalChain([dateFilter, 'optionalAccess', _151 => _151.sort]), () => ( dateDefaultSort)));
|
|
8788
8788
|
const [draftDateRange, setDraftDateRange] = _react.useState.call(void 0, _optionalChain([dateFilter, 'optionalAccess', _152 => _152.range]));
|
|
8789
|
-
const { scrollRef, fadeTop, fadeBottom, update: updateFade } =
|
|
8789
|
+
const { scrollRef, fadeTop, fadeBottom, update: updateFade } = _chunkBBTSJYTRcjs.useScrollFade.call(void 0, );
|
|
8790
8790
|
const seedKey = `${JSON.stringify(currentFilters)}|${JSON.stringify(_nullishCoalesce(selectedTags, () => ( [])))}`;
|
|
8791
8791
|
const seedSourceRef = _react.useRef.call(void 0, { currentFilters, selectedTags, dateFilter, dateDefaultSort });
|
|
8792
8792
|
_react.useEffect.call(void 0, () => {
|
|
@@ -8932,8 +8932,8 @@ function FilterModal({
|
|
|
8932
8932
|
] })
|
|
8933
8933
|
}
|
|
8934
8934
|
),
|
|
8935
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8936
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8935
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.ScrollFadeOverlay, { edge: "top", visible: fadeTop }),
|
|
8936
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.ScrollFadeOverlay, { edge: "bottom", visible: fadeBottom })
|
|
8937
8937
|
] })
|
|
8938
8938
|
}
|
|
8939
8939
|
),
|
|
@@ -9412,7 +9412,7 @@ var BenefitCardGrid = ({ children, className = "", columns = 2 }) => {
|
|
|
9412
9412
|
|
|
9413
9413
|
|
|
9414
9414
|
function PlatformBrowseButton({ item }) {
|
|
9415
|
-
const linkProps =
|
|
9415
|
+
const linkProps = _chunkBBTSJYTRcjs.useNavLinkViaRuntime.call(void 0, { href: item.link, targetPlatform: item.targetPlatform });
|
|
9416
9416
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk2QMBXGMQcjs.Button, { variant: "outline", linkProps, rightIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ExternalLink, { className: "h-4 w-4" }), children: [
|
|
9417
9417
|
"Browse ",
|
|
9418
9418
|
item.buttonText
|
|
@@ -9860,10 +9860,10 @@ var OSTypeBadge = ({
|
|
|
9860
9860
|
if (!osType) {
|
|
9861
9861
|
return labelOnly ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk3ATAYP36cjs.cn.call(void 0, "text-ods-text-secondary", className), children: "Unknown" }) : null;
|
|
9862
9862
|
}
|
|
9863
|
-
const normalized =
|
|
9863
|
+
const normalized = _chunkZNUSYMH7cjs.normalizeOSType.call(void 0, osType);
|
|
9864
9864
|
if (!normalized && !labelOnly) return null;
|
|
9865
|
-
const label =
|
|
9866
|
-
const IconComponent =
|
|
9865
|
+
const label = _chunkZNUSYMH7cjs.getOSLabel.call(void 0, osType);
|
|
9866
|
+
const IconComponent = _chunkZNUSYMH7cjs.getOSIcon.call(void 0, osType);
|
|
9867
9867
|
if (iconOnly && IconComponent) {
|
|
9868
9868
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, IconComponent, { className: _chunk3ATAYP36cjs.cn.call(void 0, iconSize, "text-ods-text-secondary", className) });
|
|
9869
9869
|
}
|
|
@@ -10095,7 +10095,7 @@ function ComplianceLogo({
|
|
|
10095
10095
|
fallback = null,
|
|
10096
10096
|
className
|
|
10097
10097
|
}) {
|
|
10098
|
-
const standard =
|
|
10098
|
+
const standard = _chunkZNUSYMH7cjs.complianceStandardForName.call(void 0, ...names);
|
|
10099
10099
|
if (!standard) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: fallback });
|
|
10100
10100
|
const Official = standard.logo ? COMPLIANCE_LOGOS[standard.logo] : null;
|
|
10101
10101
|
return Official ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -11712,7 +11712,7 @@ function TableHeader({
|
|
|
11712
11712
|
onFilterChange
|
|
11713
11713
|
}
|
|
11714
11714
|
),
|
|
11715
|
-
column.hint ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11715
|
+
column.hint ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZNUSYMH7cjs.InfoHint, { label: column.label, children: column.hint }) : null
|
|
11716
11716
|
] })
|
|
11717
11717
|
) : (
|
|
11718
11718
|
/* Non-filterable column — regular label with optional sort */
|
|
@@ -11738,7 +11738,7 @@ function TableHeader({
|
|
|
11738
11738
|
hint exists, so a hint-less header keeps its DOM. */
|
|
11739
11739
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 items-start gap-[var(--spacing-system-xxs)]", children: [
|
|
11740
11740
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: TABLE_HEADER_LABEL_CLASS, children: column.label }),
|
|
11741
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11741
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZNUSYMH7cjs.InfoHint, { label: column.label, children: column.hint })
|
|
11742
11742
|
] })
|
|
11743
11743
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: TABLE_HEADER_LABEL_CLASS, children: column.label }),
|
|
11744
11744
|
getSortIcon(column)
|
|
@@ -13079,7 +13079,7 @@ function HeaderCell({ header, sort, onSortChange }) {
|
|
|
13079
13079
|
// child of the cell.
|
|
13080
13080
|
_optionalChain([meta, 'optionalAccess', _238 => _238.hint]) ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start gap-[var(--spacing-system-xxs)]", children: [
|
|
13081
13081
|
filterTrigger,
|
|
13082
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13082
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZNUSYMH7cjs.InfoHint, { label: resolveHeaderLabel(header), children: meta.hint })
|
|
13083
13083
|
] }) : filterTrigger
|
|
13084
13084
|
) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
13085
13085
|
"div",
|
|
@@ -13104,7 +13104,7 @@ function HeaderCell({ header, sort, onSortChange }) {
|
|
|
13104
13104
|
// centred on the row.
|
|
13105
13105
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 items-start gap-[var(--spacing-system-xxs)]", children: [
|
|
13106
13106
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, HeaderLabel, { header }),
|
|
13107
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13107
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZNUSYMH7cjs.InfoHint, { label: resolveHeaderLabel(header), children: meta.hint })
|
|
13108
13108
|
] })
|
|
13109
13109
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, HeaderLabel, { header }),
|
|
13110
13110
|
canSort && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SortIcon, { sorted: sortDir })
|
|
@@ -13323,7 +13323,7 @@ function PhoneInput({
|
|
|
13323
13323
|
placeholder = "Phone Number (optional)",
|
|
13324
13324
|
onKeyDown
|
|
13325
13325
|
}) {
|
|
13326
|
-
const { priority, others } = _react.useMemo.call(void 0, () =>
|
|
13326
|
+
const { priority, others } = _react.useMemo.call(void 0, () => _chunkZNUSYMH7cjs.getCountryPhoneData.call(void 0, ), []);
|
|
13327
13327
|
const selectedCountry = _react.useMemo.call(void 0,
|
|
13328
13328
|
() => [...priority, ...others].find((c) => c.code === countryCode),
|
|
13329
13329
|
[countryCode, priority, others]
|
|
@@ -13338,7 +13338,7 @@ function PhoneInput({
|
|
|
13338
13338
|
_optionalChain([onValidationChange, 'optionalCall', _251 => _251(false)]);
|
|
13339
13339
|
return;
|
|
13340
13340
|
}
|
|
13341
|
-
const invalid = !
|
|
13341
|
+
const invalid = !_chunkZNUSYMH7cjs.validatePhoneNumber.call(void 0, phone, countryCode);
|
|
13342
13342
|
setIsInvalid(invalid);
|
|
13343
13343
|
_optionalChain([onValidationChange, 'optionalCall', _252 => _252(invalid)]);
|
|
13344
13344
|
},
|
|
@@ -14197,7 +14197,7 @@ function MarkdownLinkDialog({ isOpen, initial, editing, onSubmit, onRemove, onCl
|
|
|
14197
14197
|
),
|
|
14198
14198
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-xsf)]", children: [
|
|
14199
14199
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14200
|
-
|
|
14200
|
+
_chunkBBTSJYTRcjs.TabSelector,
|
|
14201
14201
|
{
|
|
14202
14202
|
label: "Search engines",
|
|
14203
14203
|
value: choice,
|
|
@@ -14254,7 +14254,7 @@ function useMarkdownLinkCommand() {
|
|
|
14254
14254
|
buttonProps: { "aria-label": "Add or edit a link (ctrl + l)", title: "Add or edit a link (ctrl + l)" },
|
|
14255
14255
|
icon: command.icon,
|
|
14256
14256
|
execute: (state, api) => {
|
|
14257
|
-
const existing =
|
|
14257
|
+
const existing = _chunkBBTSJYTRcjs.findMarkdownLinkAt.call(void 0, state.text, state.selection.start, state.selection.end);
|
|
14258
14258
|
setPending(
|
|
14259
14259
|
existing ? {
|
|
14260
14260
|
api,
|
|
@@ -14285,7 +14285,7 @@ function useMarkdownLinkCommand() {
|
|
|
14285
14285
|
initial: _nullishCoalesce(_optionalChain([pending, 'optionalAccess', _309 => _309.initial]), () => ( EMPTY_LINK)),
|
|
14286
14286
|
editing: _nullishCoalesce(_optionalChain([pending, 'optionalAccess', _310 => _310.editing]), () => ( false)),
|
|
14287
14287
|
onSubmit: (link) => {
|
|
14288
|
-
if (pending) write(pending,
|
|
14288
|
+
if (pending) write(pending, _chunkBBTSJYTRcjs.formatMarkdownLink.call(void 0, link));
|
|
14289
14289
|
},
|
|
14290
14290
|
onRemove: () => {
|
|
14291
14291
|
if (pending) write(pending, pending.initial.text);
|
|
@@ -15594,7 +15594,7 @@ function formatTestRunDuration(ms) {
|
|
|
15594
15594
|
var RESULT_COLUMN_MIN_WIDTH = 176;
|
|
15595
15595
|
var SKELETON_COLUMNS = 6;
|
|
15596
15596
|
function TestResultsSkeleton() {
|
|
15597
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15597
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.ScrollShadow, { axis: "horizontal", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-max min-w-full flex-col", children: [
|
|
15598
15598
|
/* @__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}`)) }),
|
|
15599
15599
|
/* @__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}`)) }) })
|
|
15600
15600
|
] }) });
|
|
@@ -15629,7 +15629,7 @@ function TestResultsTable({ rows, loading }) {
|
|
|
15629
15629
|
if (loading) {
|
|
15630
15630
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TestResultsSkeleton, {});
|
|
15631
15631
|
}
|
|
15632
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15632
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.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: [
|
|
15633
15633
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DataTable.Header, { className: "flex flex-col" }),
|
|
15634
15634
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DataTable.Body, { loading: false })
|
|
15635
15635
|
] }) }) });
|
|
@@ -16112,7 +16112,7 @@ function TicketInfoSection({
|
|
|
16112
16112
|
expanded && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
16113
16113
|
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" }) }),
|
|
16114
16114
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-4 border-b border-ods-border bg-ods-bg p-4", children: [
|
|
16115
|
-
description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16115
|
+
description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.SimpleMarkdownRenderer, { content: description }),
|
|
16116
16116
|
attachments && attachments.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketDetailSection, { label: "Attachments", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketAttachmentsList, { attachments }) }),
|
|
16117
16117
|
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, _chunkJHQNUWFMcjs.Tag, { label: tag, variant: "outline", className: "max-w-full" }, tag)) }) }),
|
|
16118
16118
|
(notes || onAddNote) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketDetailSection, { label: "Notes", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -16572,7 +16572,7 @@ function PhotoWall({ images, columns = 2, speed = 24, fadeColor, className, load
|
|
|
16572
16572
|
gap: COLUMN_GAP_PX
|
|
16573
16573
|
};
|
|
16574
16574
|
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,
|
|
16575
|
-
|
|
16575
|
+
_chunkBBTSJYTRcjs.MarqueeWall,
|
|
16576
16576
|
{
|
|
16577
16577
|
axis: "y",
|
|
16578
16578
|
reverse: index % 2 === 1,
|
|
@@ -16987,7 +16987,7 @@ var TRIAL_TERM_ICONS = {
|
|
|
16987
16987
|
};
|
|
16988
16988
|
var DEFAULT_TRIAL_TERMS = ["cancel", "length", "noContract"];
|
|
16989
16989
|
function trialBenefits(trialDays, terms = DEFAULT_TRIAL_TERMS) {
|
|
16990
|
-
const labels =
|
|
16990
|
+
const labels = _chunkZNUSYMH7cjs.trialLabels.call(void 0, trialDays);
|
|
16991
16991
|
return terms.flatMap((term) => {
|
|
16992
16992
|
const label = labels[term];
|
|
16993
16993
|
return label ? [{ icon: TRIAL_TERM_ICONS[term], label }] : [];
|
|
@@ -20804,60 +20804,60 @@ function CardSkeleton({
|
|
|
20804
20804
|
function VendorCardContent({ showMetadata }) {
|
|
20805
20805
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-3 p-4", children: [
|
|
20806
20806
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full items-start gap-3", children: [
|
|
20807
|
-
/* @__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,
|
|
20807
|
+
/* @__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, _chunkBBTSJYTRcjs.MediaSkeleton.Avatar, { size: "sm", className: "h-11 w-11" }) }),
|
|
20808
20808
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col justify-center space-y-1 py-2", children: [
|
|
20809
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20810
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20809
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.TextSkeleton.Subheading, { className: "w-3/4" }),
|
|
20810
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.TextSkeleton.Caption, { className: "w-1/2" })
|
|
20811
20811
|
] })
|
|
20812
20812
|
] }),
|
|
20813
20813
|
/* @__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: [
|
|
20814
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20815
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20814
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
20815
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.TextSkeleton.Body, { className: "w-2/3" })
|
|
20816
20816
|
] }) }),
|
|
20817
20817
|
showMetadata && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full min-w-0 items-center justify-between gap-2", children: [
|
|
20818
20818
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-shrink items-center gap-3 content-md:gap-4", children: [
|
|
20819
20819
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-shrink-0 items-center gap-1", children: [
|
|
20820
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20821
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20820
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.MediaSkeleton.Icon, { size: "sm", className: "h-5 w-5" }),
|
|
20821
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.TextSkeleton.Caption, { className: "w-8" })
|
|
20822
20822
|
] }),
|
|
20823
20823
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-shrink-0 items-center gap-1", children: [
|
|
20824
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20825
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20824
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.MediaSkeleton.Icon, { size: "sm", className: "h-5 w-5" }),
|
|
20825
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.TextSkeleton.Caption, { className: "w-10" })
|
|
20826
20826
|
] })
|
|
20827
20827
|
] }),
|
|
20828
20828
|
/* @__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: [
|
|
20829
|
-
/* @__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,
|
|
20830
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20829
|
+
/* @__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, _chunkBBTSJYTRcjs.MediaSkeleton.Icon, { size: "sm", className: "h-2.5 w-2.5" }) }),
|
|
20830
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.TextSkeleton.Caption, { className: "w-16" })
|
|
20831
20831
|
] }) })
|
|
20832
20832
|
] })
|
|
20833
20833
|
] });
|
|
20834
20834
|
}
|
|
20835
20835
|
function BlogCardContent({ showActions, showMetadata }) {
|
|
20836
20836
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
20837
|
-
/* @__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,
|
|
20837
|
+
/* @__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, _chunkBBTSJYTRcjs.MediaSkeleton.CardImage, {}) }),
|
|
20838
20838
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-grow flex-col p-4", children: [
|
|
20839
20839
|
/* @__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: [
|
|
20840
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20841
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20840
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.TextSkeleton.Subheading, { className: "w-full" }),
|
|
20841
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.TextSkeleton.Subheading, { className: "w-3/4" })
|
|
20842
20842
|
] }) }),
|
|
20843
20843
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "mb-3 flex h-[28px] items-center gap-2", children: [
|
|
20844
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20845
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20844
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.InteractiveSkeleton.Chip, { className: "w-16" }),
|
|
20845
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.InteractiveSkeleton.Chip, { className: "w-12" })
|
|
20846
20846
|
] }),
|
|
20847
20847
|
/* @__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: [
|
|
20848
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20849
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20848
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
20849
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.TextSkeleton.Body, { className: "w-1/2" })
|
|
20850
20850
|
] }) }),
|
|
20851
|
-
showActions && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pt-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20851
|
+
showActions && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pt-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.InteractiveSkeleton.Button, { className: "h-8 w-24" }) }),
|
|
20852
20852
|
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: [
|
|
20853
20853
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 items-center gap-2", children: [
|
|
20854
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20855
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20854
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.MediaSkeleton.Avatar, { size: "sm" }),
|
|
20855
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.TextSkeleton.Caption, { className: "w-16" })
|
|
20856
20856
|
] }),
|
|
20857
20857
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex shrink-0 items-center gap-3 text-ods-text-muted", children: [
|
|
20858
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20858
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.TextSkeleton.Caption, { className: "w-12" }),
|
|
20859
20859
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-1 w-1 rounded-full bg-ods-skeleton" }),
|
|
20860
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20860
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.TextSkeleton.Caption, { className: "w-16" })
|
|
20861
20861
|
] })
|
|
20862
20862
|
] }) })
|
|
20863
20863
|
] })
|
|
@@ -20865,35 +20865,35 @@ function BlogCardContent({ showActions, showMetadata }) {
|
|
|
20865
20865
|
}
|
|
20866
20866
|
function CategoryCardContent() {
|
|
20867
20867
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-4 p-4 content-md:p-6", children: [
|
|
20868
|
-
/* @__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,
|
|
20868
|
+
/* @__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, _chunkBBTSJYTRcjs.MediaSkeleton.Icon, { size: "lg", className: "flex-shrink-0" }, index)) }),
|
|
20869
20869
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
20870
20870
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-1", children: [
|
|
20871
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20872
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20871
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.TextSkeleton.Subheading, { className: "w-3/4" }),
|
|
20872
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.TextSkeleton.Caption, { className: "w-1/2" })
|
|
20873
20873
|
] }),
|
|
20874
20874
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start justify-between gap-4 content-md:items-end content-md:gap-6", children: [
|
|
20875
20875
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex-1 space-y-2", children: [
|
|
20876
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20877
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20876
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
20877
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.TextSkeleton.Body, { className: "w-2/3" })
|
|
20878
20878
|
] }),
|
|
20879
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20879
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.InteractiveSkeleton.Button, { className: "h-10 w-10 flex-shrink-0 content-md:h-12 content-md:w-12" })
|
|
20880
20880
|
] })
|
|
20881
20881
|
] })
|
|
20882
20882
|
] });
|
|
20883
20883
|
}
|
|
20884
20884
|
function AlternativeCardContent({ showActions }) {
|
|
20885
20885
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start gap-4 p-4", children: [
|
|
20886
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20886
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.MediaSkeleton.Avatar, { size: "md", className: "flex-shrink-0" }),
|
|
20887
20887
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex-1 space-y-2", children: [
|
|
20888
20888
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center justify-between", children: [
|
|
20889
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20890
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20889
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.TextSkeleton.Subheading, { className: "w-1/3" }),
|
|
20890
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.TextSkeleton.Caption, { className: "w-16" })
|
|
20891
20891
|
] }),
|
|
20892
20892
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-1", children: [
|
|
20893
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20894
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20893
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
20894
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.TextSkeleton.Body, { className: "w-5/6" })
|
|
20895
20895
|
] }),
|
|
20896
|
-
showActions && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pt-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20896
|
+
showActions && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pt-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.InteractiveSkeleton.Button, { className: "h-8 w-20" }) })
|
|
20897
20897
|
] })
|
|
20898
20898
|
] });
|
|
20899
20899
|
}
|
|
@@ -20944,12 +20944,12 @@ function HeroSkeleton() {
|
|
|
20944
20944
|
background: "radial-gradient(circle at 50% 0%, #242323 0%, #1A1A1A 100%)"
|
|
20945
20945
|
},
|
|
20946
20946
|
children: [
|
|
20947
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20947
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.TextSkeleton.Heading, { className: "mb-4 h-12 w-full max-w-4xl content-md:mb-6 content-md:h-20 content-lg:h-24" }),
|
|
20948
20948
|
/* @__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: [
|
|
20949
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20950
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20949
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.TextSkeleton.Body, { className: "h-5 content-md:h-7" }),
|
|
20950
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.TextSkeleton.Body, { className: "mx-auto h-5 w-3/4 content-md:h-7" })
|
|
20951
20951
|
] }),
|
|
20952
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20952
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.InteractiveSkeleton.Button, { className: "h-12 w-full content-md:w-64" })
|
|
20953
20953
|
]
|
|
20954
20954
|
}
|
|
20955
20955
|
);
|
|
@@ -20960,14 +20960,14 @@ function SearchContainerSkeleton({
|
|
|
20960
20960
|
}) {
|
|
20961
20961
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "space-y-4", className || ""), children: [
|
|
20962
20962
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex gap-2 content-md:gap-4", children: [
|
|
20963
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20964
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20963
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.InteractiveSkeleton.Input, { className: "flex-1" }),
|
|
20964
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.InteractiveSkeleton.Button, { className: "w-32 content-md:w-40" })
|
|
20965
20965
|
] }),
|
|
20966
20966
|
showFilters && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-wrap gap-2", children: [
|
|
20967
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20968
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20969
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20970
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20967
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.InteractiveSkeleton.Chip, {}),
|
|
20968
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.InteractiveSkeleton.Chip, { className: "w-24" }),
|
|
20969
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.InteractiveSkeleton.Chip, { className: "w-16" }),
|
|
20970
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.InteractiveSkeleton.Chip, { className: "w-20" })
|
|
20971
20971
|
] })
|
|
20972
20972
|
] });
|
|
20973
20973
|
}
|
|
@@ -20986,7 +20986,7 @@ function CategorySidebarSkeleton({ className }) {
|
|
|
20986
20986
|
{ type: "file", width: "w-36" }
|
|
20987
20987
|
];
|
|
20988
20988
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "w-full content-lg:w-[320px]", className), children: [
|
|
20989
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20989
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.UnifiedSkeleton, { className: "mb-4 h-[14px] w-24 rounded" }),
|
|
20990
20990
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-1.5", children: items.map((item, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
20991
20991
|
"div",
|
|
20992
20992
|
{
|
|
@@ -20996,12 +20996,12 @@ function CategorySidebarSkeleton({ className }) {
|
|
|
20996
20996
|
),
|
|
20997
20997
|
children: [
|
|
20998
20998
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2.5", children: [
|
|
20999
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21000
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20999
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.UnifiedSkeleton, { className: "h-4 w-4 shrink-0 rounded" }),
|
|
21000
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.UnifiedSkeleton, { className: `h-[14px] ${item.width} rounded` })
|
|
21001
21001
|
] }),
|
|
21002
21002
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-[18px] items-center gap-2", children: [
|
|
21003
|
-
item.hasBadge && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21004
|
-
item.type === "folder" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21003
|
+
item.hasBadge && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.UnifiedSkeleton, { className: "h-[18px] w-14 rounded" }),
|
|
21004
|
+
item.type === "folder" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.UnifiedSkeleton, { className: "h-4 w-4 rounded" })
|
|
21005
21005
|
] })
|
|
21006
21006
|
]
|
|
21007
21007
|
},
|
|
@@ -21011,13 +21011,13 @@ function CategorySidebarSkeleton({ className }) {
|
|
|
21011
21011
|
}
|
|
21012
21012
|
function BreadcrumbSkeleton({ className }) {
|
|
21013
21013
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "mb-6 flex items-center space-x-1", className), children: [
|
|
21014
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21015
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21016
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21017
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21018
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21019
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21020
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21014
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.TextSkeleton.Caption, { className: "w-16" }),
|
|
21015
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.UnifiedSkeleton, { variant: "default", className: "h-4 w-4 rounded-full" }),
|
|
21016
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.TextSkeleton.Caption, { className: "w-24" }),
|
|
21017
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.UnifiedSkeleton, { variant: "default", className: "h-4 w-4 rounded-full" }),
|
|
21018
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.TextSkeleton.Caption, { className: "w-32" }),
|
|
21019
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.UnifiedSkeleton, { variant: "default", className: "h-4 w-4 rounded-full" }),
|
|
21020
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.TextSkeleton.Caption, { className: "w-24" })
|
|
21021
21021
|
] });
|
|
21022
21022
|
}
|
|
21023
21023
|
function ResultsHeaderSkeleton({ className }) {
|
|
@@ -21028,7 +21028,7 @@ function ResultsHeaderSkeleton({ className }) {
|
|
|
21028
21028
|
"mb-6 flex flex-col items-start justify-between gap-4 content-md:flex-row content-md:items-center",
|
|
21029
21029
|
className
|
|
21030
21030
|
),
|
|
21031
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21031
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.TextSkeleton.Body, { className: "w-48" }) })
|
|
21032
21032
|
}
|
|
21033
21033
|
);
|
|
21034
21034
|
}
|
|
@@ -21062,35 +21062,35 @@ function ArticleLayoutSkeleton({ className }) {
|
|
|
21062
21062
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "article", { className: _chunk3ATAYP36cjs.cn.call(void 0, "mx-auto max-w-4xl", className), children: [
|
|
21063
21063
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "header", { className: "mb-8 space-y-4 content-md:mb-12 content-md:space-y-6", children: [
|
|
21064
21064
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex gap-2", children: [
|
|
21065
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21066
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21065
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.InteractiveSkeleton.Chip, {}),
|
|
21066
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.InteractiveSkeleton.Chip, { className: "w-16" })
|
|
21067
21067
|
] }),
|
|
21068
21068
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-3", children: [
|
|
21069
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21070
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21069
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.TextSkeleton.Heading, { className: "w-full" }),
|
|
21070
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.TextSkeleton.Heading, { className: "w-3/4" })
|
|
21071
21071
|
] }),
|
|
21072
21072
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-4 border-t border-ods-divider pt-4", children: [
|
|
21073
21073
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
|
|
21074
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21075
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21074
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.MediaSkeleton.Avatar, { size: "sm" }),
|
|
21075
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.TextSkeleton.Caption, { className: "w-24" })
|
|
21076
21076
|
] }),
|
|
21077
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21078
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21077
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.TextSkeleton.Caption, { className: "w-20" }),
|
|
21078
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.TextSkeleton.Caption, { className: "w-16" })
|
|
21079
21079
|
] })
|
|
21080
21080
|
] }),
|
|
21081
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mb-8 content-md:mb-12", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21081
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mb-8 content-md:mb-12", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.MediaSkeleton.CardImage, { className: "h-64 w-full content-md:h-96" }) }),
|
|
21082
21082
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "prose prose-invert max-w-none space-y-6", children: [
|
|
21083
21083
|
Array.from({ length: 12 }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
21084
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21085
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21086
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21087
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21084
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
21085
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
21086
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.TextSkeleton.Body, { className: "w-5/6" }),
|
|
21087
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.TextSkeleton.Body, { className: "w-3/4" })
|
|
21088
21088
|
] }, index)),
|
|
21089
21089
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "py-4", children: [
|
|
21090
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21090
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.TextSkeleton.Subheading, { className: "mb-4 w-2/3" }),
|
|
21091
21091
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
21092
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21093
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21092
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
21093
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.TextSkeleton.Body, { className: "w-4/5" })
|
|
21094
21094
|
] })
|
|
21095
21095
|
] })
|
|
21096
21096
|
] })
|
|
@@ -21316,11 +21316,11 @@ function StatsSectionSkeleton({ className, columns = 3 }) {
|
|
|
21316
21316
|
className
|
|
21317
21317
|
),
|
|
21318
21318
|
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: [
|
|
21319
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21320
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21319
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.MediaSkeleton.Icon, { size: "lg" }),
|
|
21320
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.TextSkeleton.Subheading, { className: "w-3/4" }),
|
|
21321
21321
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
21322
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21323
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21322
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
21323
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.TextSkeleton.Body, { className: "w-3/4" })
|
|
21324
21324
|
] })
|
|
21325
21325
|
] }) }, i))
|
|
21326
21326
|
}
|
|
@@ -21475,7 +21475,7 @@ function useContentLoading(isLoading) {
|
|
|
21475
21475
|
|
|
21476
21476
|
function ParagraphSkeleton({ className, lines = 4 }) {
|
|
21477
21477
|
const lineWidths = ["w-full", "w-full", "w-5/6", "w-3/4", "w-4/5", "w-2/3"];
|
|
21478
|
-
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,
|
|
21478
|
+
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, _chunkBBTSJYTRcjs.TextSkeleton.Body, { className: lineWidths[index % lineWidths.length] }, index)) });
|
|
21479
21479
|
}
|
|
21480
21480
|
function ListSkeleton({
|
|
21481
21481
|
className,
|
|
@@ -21485,12 +21485,12 @@ function ListSkeleton({
|
|
|
21485
21485
|
}) {
|
|
21486
21486
|
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: [
|
|
21487
21487
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3", children: [
|
|
21488
|
-
showIcons && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21489
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21488
|
+
showIcons && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.MediaSkeleton.Icon, { size: "sm" }),
|
|
21489
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.TextSkeleton.Body, { className: "w-32 content-md:w-48" })
|
|
21490
21490
|
] }),
|
|
21491
21491
|
showActions && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
|
|
21492
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21493
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21492
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.TextSkeleton.Caption, { className: "w-8" }),
|
|
21493
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.UnifiedSkeleton, { variant: "default", className: "h-4 w-4" })
|
|
21494
21494
|
] })
|
|
21495
21495
|
] }, index)) });
|
|
21496
21496
|
}
|
|
@@ -21500,13 +21500,13 @@ function TableSkeleton({
|
|
|
21500
21500
|
columns = 4
|
|
21501
21501
|
}) {
|
|
21502
21502
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "space-y-4", className), children: [
|
|
21503
|
-
/* @__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,
|
|
21503
|
+
/* @__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, _chunkBBTSJYTRcjs.TextSkeleton.Subheading, { className: "w-3/4" }, index)) }),
|
|
21504
21504
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-3", children: Array.from({ length: rows }).map((_, rowIndex) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21505
21505
|
"div",
|
|
21506
21506
|
{
|
|
21507
21507
|
className: "grid gap-4 border-b border-ods-divider py-2",
|
|
21508
21508
|
style: { gridTemplateColumns: `repeat(${columns}, 1fr)` },
|
|
21509
|
-
children: Array.from({ length: columns }).map((_cell, colIndex) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21509
|
+
children: Array.from({ length: columns }).map((_cell, colIndex) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.TextSkeleton.Body, { className: "w-2/3" }, colIndex))
|
|
21510
21510
|
},
|
|
21511
21511
|
rowIndex
|
|
21512
21512
|
)) })
|
|
@@ -21515,13 +21515,13 @@ function TableSkeleton({
|
|
|
21515
21515
|
function FormSkeleton({ className, fields = 4 }) {
|
|
21516
21516
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "space-y-6", className), children: [
|
|
21517
21517
|
Array.from({ length: fields }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
21518
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21519
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21520
|
-
index % 3 === 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21518
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.TextSkeleton.Body, { className: "w-24" }),
|
|
21519
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.InteractiveSkeleton.Input, {}),
|
|
21520
|
+
index % 3 === 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.TextSkeleton.Caption, { className: "w-48" })
|
|
21521
21521
|
] }, index)),
|
|
21522
21522
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex gap-4 pt-4", children: [
|
|
21523
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21524
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21523
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.InteractiveSkeleton.Button, {}),
|
|
21524
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.InteractiveSkeleton.Button, { className: "bg-ods-border" })
|
|
21525
21525
|
] })
|
|
21526
21526
|
] });
|
|
21527
21527
|
}
|
|
@@ -21536,7 +21536,7 @@ function NavigationSkeleton({
|
|
|
21536
21536
|
className: _chunk3ATAYP36cjs.cn.call(void 0, "flex gap-4 content-md:gap-6", !horizontal && "flex-col", className),
|
|
21537
21537
|
role: "status",
|
|
21538
21538
|
"aria-label": "Loading navigation",
|
|
21539
|
-
children: Array.from({ length: items }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21539
|
+
children: Array.from({ length: items }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.TextSkeleton.Body, { className: "w-16 content-md:w-20" }, index))
|
|
21540
21540
|
}
|
|
21541
21541
|
);
|
|
21542
21542
|
}
|
|
@@ -21547,30 +21547,30 @@ function ProfileSkeleton({
|
|
|
21547
21547
|
}) {
|
|
21548
21548
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "space-y-4", className), children: [
|
|
21549
21549
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start gap-4", children: [
|
|
21550
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21550
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.MediaSkeleton.Avatar, { size: "lg" }),
|
|
21551
21551
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex-1 space-y-2", children: [
|
|
21552
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21553
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21554
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21552
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.TextSkeleton.Subheading, { className: "w-1/2" }),
|
|
21553
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.TextSkeleton.Caption, { className: "w-1/3" }),
|
|
21554
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.TextSkeleton.Body, { className: "w-2/3" })
|
|
21555
21555
|
] })
|
|
21556
21556
|
] }),
|
|
21557
21557
|
showBio && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
21558
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21559
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21560
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21558
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
21559
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.TextSkeleton.Body, { className: "w-4/5" }),
|
|
21560
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.TextSkeleton.Body, { className: "w-3/4" })
|
|
21561
21561
|
] }),
|
|
21562
21562
|
showStats && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex gap-6", children: [
|
|
21563
21563
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "text-center", children: [
|
|
21564
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21565
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21564
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.TextSkeleton.Subheading, { className: "mx-auto w-8" }),
|
|
21565
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.TextSkeleton.Caption, { className: "mx-auto w-12" })
|
|
21566
21566
|
] }),
|
|
21567
21567
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "text-center", children: [
|
|
21568
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21569
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21568
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.TextSkeleton.Subheading, { className: "mx-auto w-8" }),
|
|
21569
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.TextSkeleton.Caption, { className: "mx-auto w-16" })
|
|
21570
21570
|
] }),
|
|
21571
21571
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "text-center", children: [
|
|
21572
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21573
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21572
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.TextSkeleton.Subheading, { className: "mx-auto w-8" }),
|
|
21573
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.TextSkeleton.Caption, { className: "mx-auto w-14" })
|
|
21574
21574
|
] })
|
|
21575
21575
|
] })
|
|
21576
21576
|
] });
|
|
@@ -21582,32 +21582,32 @@ function CommentSkeleton({
|
|
|
21582
21582
|
}) {
|
|
21583
21583
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "space-y-3", className), children: [
|
|
21584
21584
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3", children: [
|
|
21585
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21585
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.MediaSkeleton.Avatar, { size: "sm" }),
|
|
21586
21586
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-1 items-center gap-4", children: [
|
|
21587
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21588
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21589
|
-
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,
|
|
21587
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.TextSkeleton.Body, { className: "w-24" }),
|
|
21588
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.TextSkeleton.Caption, { className: "w-16" }),
|
|
21589
|
+
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, _chunkBBTSJYTRcjs.MediaSkeleton.Icon, { size: "sm" }, i)) })
|
|
21590
21590
|
] })
|
|
21591
21591
|
] }),
|
|
21592
21592
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "ml-11 space-y-2", children: [
|
|
21593
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21594
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21595
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21593
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
21594
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.TextSkeleton.Body, { className: "w-3/4" }),
|
|
21595
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.TextSkeleton.Body, { className: "w-1/2" })
|
|
21596
21596
|
] }),
|
|
21597
21597
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "ml-11 flex gap-4", children: [
|
|
21598
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21599
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21600
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21598
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.TextSkeleton.Caption, { className: "w-12" }),
|
|
21599
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.TextSkeleton.Caption, { className: "w-16" }),
|
|
21600
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.TextSkeleton.Caption, { className: "w-8" })
|
|
21601
21601
|
] }),
|
|
21602
21602
|
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: [
|
|
21603
21603
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3", children: [
|
|
21604
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21605
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21606
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21604
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.MediaSkeleton.Avatar, { size: "sm" }),
|
|
21605
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.TextSkeleton.Body, { className: "w-20" }),
|
|
21606
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.TextSkeleton.Caption, { className: "w-12" })
|
|
21607
21607
|
] }),
|
|
21608
21608
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "ml-11", children: [
|
|
21609
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21610
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21609
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
21610
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.TextSkeleton.Body, { className: "w-2/3" })
|
|
21611
21611
|
] })
|
|
21612
21612
|
] }, index)) })
|
|
21613
21613
|
] });
|
|
@@ -21620,31 +21620,31 @@ function FeatureListSkeleton({
|
|
|
21620
21620
|
}) {
|
|
21621
21621
|
if (grouped) {
|
|
21622
21622
|
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: [
|
|
21623
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21623
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.TextSkeleton.Subheading, { className: "w-1/3" }),
|
|
21624
21624
|
/* @__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: [
|
|
21625
|
-
showIcons && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21626
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21625
|
+
showIcons && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.MediaSkeleton.Icon, { size: "sm" }),
|
|
21626
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.TextSkeleton.Body, { className: "w-2/3" })
|
|
21627
21627
|
] }, featureIndex)) })
|
|
21628
21628
|
] }, groupIndex)) });
|
|
21629
21629
|
}
|
|
21630
21630
|
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: [
|
|
21631
|
-
showIcons && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21632
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21631
|
+
showIcons && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.MediaSkeleton.Icon, { size: "sm" }),
|
|
21632
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.TextSkeleton.Body, { className: "w-2/3" })
|
|
21633
21633
|
] }, index)) });
|
|
21634
21634
|
}
|
|
21635
21635
|
function TimelineSkeleton({ className, items = 5 }) {
|
|
21636
21636
|
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: [
|
|
21637
21637
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col items-center", children: [
|
|
21638
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21638
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.MediaSkeleton.Icon, { size: "sm" }),
|
|
21639
21639
|
index < items - 1 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mt-2 h-12 w-px bg-ods-border" })
|
|
21640
21640
|
] }),
|
|
21641
21641
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex-1 space-y-2", children: [
|
|
21642
21642
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3", children: [
|
|
21643
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21644
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21643
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.TextSkeleton.Body, { className: "w-1/3" }),
|
|
21644
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.TextSkeleton.Caption, { className: "w-16" })
|
|
21645
21645
|
] }),
|
|
21646
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21647
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21646
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
21647
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.TextSkeleton.Body, { className: "w-3/4" })
|
|
21648
21648
|
] })
|
|
21649
21649
|
] }, index)) });
|
|
21650
21650
|
}
|
|
@@ -21660,16 +21660,16 @@ function PricingSkeleton({ className, plans = 3 }) {
|
|
|
21660
21660
|
className
|
|
21661
21661
|
),
|
|
21662
21662
|
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: [
|
|
21663
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21663
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.TextSkeleton.Subheading, { className: "w-1/2" }),
|
|
21664
21664
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-1", children: [
|
|
21665
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21666
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21665
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.TextSkeleton.Heading, { className: "w-1/3" }),
|
|
21666
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.TextSkeleton.Caption, { className: "w-1/4" })
|
|
21667
21667
|
] }),
|
|
21668
21668
|
/* @__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: [
|
|
21669
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21670
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21669
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.MediaSkeleton.Icon, { size: "sm" }),
|
|
21670
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.TextSkeleton.Body, { className: "w-3/4" })
|
|
21671
21671
|
] }, featureIndex)) }),
|
|
21672
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21672
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.InteractiveSkeleton.Button, { className: "w-full" })
|
|
21673
21673
|
] }) }, index))
|
|
21674
21674
|
}
|
|
21675
21675
|
);
|
|
@@ -21705,12 +21705,12 @@ function MspProfileFormSkeleton({ className, fields = 4 }) {
|
|
|
21705
21705
|
"aria-label": "Loading MSP profile form",
|
|
21706
21706
|
children: [
|
|
21707
21707
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-full flex-col space-y-2", children: [
|
|
21708
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21709
|
-
/* @__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,
|
|
21708
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.TextSkeleton.Body, { className: "w-28" }),
|
|
21709
|
+
/* @__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, _chunkBBTSJYTRcjs.UnifiedSkeleton, { className: "h-full w-full rounded-lg", "aria-label": "Loading company logo" }) })
|
|
21710
21710
|
] }),
|
|
21711
21711
|
/* @__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: [
|
|
21712
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21713
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21712
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.TextSkeleton.Body, { className: "w-40" }),
|
|
21713
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.InteractiveSkeleton.Input, {})
|
|
21714
21714
|
] }, idx)) })
|
|
21715
21715
|
]
|
|
21716
21716
|
}
|
|
@@ -21730,13 +21730,13 @@ function CategoryCardSkeleton({ className }) {
|
|
|
21730
21730
|
role: "status",
|
|
21731
21731
|
"aria-label": "Loading category card",
|
|
21732
21732
|
children: [
|
|
21733
|
-
/* @__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,
|
|
21733
|
+
/* @__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, _chunkBBTSJYTRcjs.UnifiedSkeleton, { variant: "circular", className: "h-10 w-10 flex-shrink-0", "aria-label": "Loading icon" }, i)) }),
|
|
21734
21734
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-1 flex-col space-y-3", children: [
|
|
21735
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21736
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21737
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21735
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.TextSkeleton.Heading, { className: "w-3/4" }),
|
|
21736
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.TextSkeleton.Body, { className: "w-1/2" }),
|
|
21737
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.TextSkeleton.Body, { className: "w-full" })
|
|
21738
21738
|
] }),
|
|
21739
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mt-4 flex justify-end", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21739
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mt-4 flex justify-end", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.UnifiedSkeleton, { className: "h-12 w-12 rounded-[6px]", "aria-label": "Loading button" }) })
|
|
21740
21740
|
]
|
|
21741
21741
|
}
|
|
21742
21742
|
);
|
|
@@ -21753,12 +21753,12 @@ function CategoryVendorSelectorSkeleton({ subcategories = 3, className }) {
|
|
|
21753
21753
|
"aria-label": "Loading category section",
|
|
21754
21754
|
children: [
|
|
21755
21755
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "mb-6 max-w-xl space-y-2", children: [
|
|
21756
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21757
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21756
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.TextSkeleton.Heading, { className: "w-1/2" }),
|
|
21757
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.TextSkeleton.Body, { className: "w-3/4" })
|
|
21758
21758
|
] }),
|
|
21759
21759
|
/* @__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: [
|
|
21760
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21761
|
-
/* @__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,
|
|
21760
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.TextSkeleton.Subheading, { className: "w-1/3" }),
|
|
21761
|
+
/* @__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, _chunkBBTSJYTRcjs.UnifiedSkeleton, { className: "h-20 rounded-lg" }, j)) })
|
|
21762
21762
|
] }, idx)) })
|
|
21763
21763
|
]
|
|
21764
21764
|
}
|
|
@@ -21769,14 +21769,14 @@ function CategoryVendorSelectorSkeleton({ subcategories = 3, className }) {
|
|
|
21769
21769
|
|
|
21770
21770
|
function WizardLayoutSkeleton({ steps = 6, className }) {
|
|
21771
21771
|
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: [
|
|
21772
|
-
/* @__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,
|
|
21772
|
+
/* @__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, _chunkBBTSJYTRcjs.UnifiedSkeleton, { className: "h-6 w-24 rounded" }, i)) }),
|
|
21773
21773
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "max-w-2xl space-y-2", children: [
|
|
21774
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21775
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21774
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.TextSkeleton.Heading, { className: "w-2/3" }),
|
|
21775
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.TextSkeleton.Body, { className: "w-1/2" })
|
|
21776
21776
|
] }),
|
|
21777
21777
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "mt-10 flex justify-between", children: [
|
|
21778
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21779
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21778
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.UnifiedSkeleton, { className: "h-10 w-24 rounded" }),
|
|
21779
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.UnifiedSkeleton, { className: "h-10 w-32 rounded" })
|
|
21780
21780
|
] })
|
|
21781
21781
|
] });
|
|
21782
21782
|
}
|
|
@@ -22168,28 +22168,28 @@ function OrganizationCardSkeleton({
|
|
|
22168
22168
|
}
|
|
22169
22169
|
),
|
|
22170
22170
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col justify-center space-y-1 py-2", children: [
|
|
22171
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22172
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22171
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.TextSkeleton.Subheading, { className: "w-3/4" }),
|
|
22172
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.TextSkeleton.Caption, { className: "w-1/2" })
|
|
22173
22173
|
] })
|
|
22174
22174
|
] }),
|
|
22175
22175
|
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: [
|
|
22176
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22177
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22176
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
22177
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.TextSkeleton.Body, { className: "w-2/3" })
|
|
22178
22178
|
] }) }),
|
|
22179
22179
|
showFooter && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full min-w-0 items-center justify-between gap-2", children: [
|
|
22180
22180
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-shrink items-center gap-3 content-md:gap-4", children: [
|
|
22181
22181
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-shrink-0 items-center gap-1", children: [
|
|
22182
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22183
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22182
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.MediaSkeleton.Icon, { size: "sm", className: "h-5 w-5" }),
|
|
22183
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.TextSkeleton.Caption, { className: "w-8" })
|
|
22184
22184
|
] }),
|
|
22185
22185
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-shrink-0 items-center gap-1", children: [
|
|
22186
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22187
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22186
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.MediaSkeleton.Icon, { size: "sm", className: "h-5 w-5" }),
|
|
22187
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.TextSkeleton.Caption, { className: "w-10" })
|
|
22188
22188
|
] })
|
|
22189
22189
|
] }),
|
|
22190
22190
|
/* @__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: [
|
|
22191
|
-
/* @__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,
|
|
22192
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22191
|
+
/* @__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, _chunkBBTSJYTRcjs.MediaSkeleton.Icon, { size: "sm", className: "h-2.5 w-2.5" }) }),
|
|
22192
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.TextSkeleton.Caption, { className: "w-16" })
|
|
22193
22193
|
] }) })
|
|
22194
22194
|
] })
|
|
22195
22195
|
] })
|
|
@@ -22266,16 +22266,16 @@ function DeviceCardSkeletonGrid({ count = 12, className }) {
|
|
|
22266
22266
|
|
|
22267
22267
|
function PushButtonSelectorSkeleton({ count = 3, hasTitle }) {
|
|
22268
22268
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-3", role: "status", "aria-label": "Loading options", children: [
|
|
22269
|
-
hasTitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22269
|
+
hasTitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.UnifiedSkeleton, { className: "h-5 w-20", "aria-label": "Loading title" }),
|
|
22270
22270
|
/* @__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: [
|
|
22271
22271
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3", children: [
|
|
22272
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22272
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.UnifiedSkeleton, { className: "h-8 w-8", "aria-label": "Loading icon" }),
|
|
22273
22273
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { children: [
|
|
22274
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22275
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22274
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.UnifiedSkeleton, { variant: "text", className: "mb-2 h-4 w-24", "aria-label": "Loading name" }),
|
|
22275
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.UnifiedSkeleton, { variant: "text", className: "h-4 w-36", "aria-label": "Loading description" })
|
|
22276
22276
|
] })
|
|
22277
22277
|
] }),
|
|
22278
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22278
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.UnifiedSkeleton, { className: "h-6 w-6", "aria-label": "Loading selection state" })
|
|
22279
22279
|
] }) }, i)) })
|
|
22280
22280
|
] });
|
|
22281
22281
|
}
|
|
@@ -22527,14 +22527,14 @@ var MODEL_TOKEN_RATES_COPY = {
|
|
|
22527
22527
|
empty: "No token rates are in effect right now."
|
|
22528
22528
|
};
|
|
22529
22529
|
function providerMark(providerType, stated, className) {
|
|
22530
|
-
const Mark = _chunkKTPR66EEcjs.findIcon.call(void 0,
|
|
22530
|
+
const Mark = _chunkKTPR66EEcjs.findIcon.call(void 0, _chunkZNUSYMH7cjs.aiProvider.call(void 0, providerType, { icon: stated }).icon);
|
|
22531
22531
|
return Mark ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Mark, { className }) : void 0;
|
|
22532
22532
|
}
|
|
22533
22533
|
var PAD_X = "px-[var(--spacing-system-s)]";
|
|
22534
22534
|
var ROW = "flex items-center gap-[var(--spacing-system-s)]";
|
|
22535
22535
|
var NUMBER_CELL = "w-16 shrink-0 whitespace-nowrap text-right tabular-nums";
|
|
22536
22536
|
function useProviderGroup(rates) {
|
|
22537
|
-
const groups =
|
|
22537
|
+
const groups = _chunkZNUSYMH7cjs.groupTokenRatesByProvider.call(void 0, rates);
|
|
22538
22538
|
const [picked, setPicked] = _react.useState.call(void 0, null);
|
|
22539
22539
|
return { groups, group: _nullishCoalesce(groups.find((candidate) => candidate.providerType === picked), () => ( groups[0])), setPicked };
|
|
22540
22540
|
}
|
|
@@ -22545,7 +22545,7 @@ function ProviderTabs({
|
|
|
22545
22545
|
className
|
|
22546
22546
|
}) {
|
|
22547
22547
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22548
|
-
|
|
22548
|
+
_chunkBBTSJYTRcjs.TabSelector,
|
|
22549
22549
|
{
|
|
22550
22550
|
variant: "secondary",
|
|
22551
22551
|
scrollable: true,
|
|
@@ -22553,7 +22553,7 @@ function ProviderTabs({
|
|
|
22553
22553
|
onValueChange,
|
|
22554
22554
|
items: groups.map((candidate) => ({
|
|
22555
22555
|
id: candidate.providerType,
|
|
22556
|
-
label:
|
|
22556
|
+
label: _chunkZNUSYMH7cjs.tokenRateProviderLabel.call(void 0, candidate.providerType, _optionalChain([candidate, 'access', _446 => _446.rates, 'access', _447 => _447[0], 'optionalAccess', _448 => _448.providerLabel])),
|
|
22557
22557
|
icon: providerMark(candidate.providerType, _optionalChain([candidate, 'access', _449 => _449.rates, 'access', _450 => _450[0], 'optionalAccess', _451 => _451.providerIcon]), "size-full")
|
|
22558
22558
|
})),
|
|
22559
22559
|
className
|
|
@@ -22654,8 +22654,8 @@ function ModelTokenRatesTable({ rates }) {
|
|
|
22654
22654
|
className: _chunk3ATAYP36cjs.cn.call(void 0, ROW, PAD_X, "py-[var(--spacing-system-xxs)] text-ods-text-primary text-h6"),
|
|
22655
22655
|
children: [
|
|
22656
22656
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "rowheader", className: "min-w-0 flex-1 truncate", children: rate.displayName || rate.modelName }),
|
|
22657
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "cell", className: NUMBER_CELL, children:
|
|
22658
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "cell", className: NUMBER_CELL, children:
|
|
22657
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "cell", className: NUMBER_CELL, children: _chunkZNUSYMH7cjs.formatTokenRate.call(void 0, rate.inputTokenRate) }),
|
|
22658
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "cell", className: NUMBER_CELL, children: _chunkZNUSYMH7cjs.formatTokenRate.call(void 0, rate.outputTokenRate) })
|
|
22659
22659
|
]
|
|
22660
22660
|
},
|
|
22661
22661
|
rate.modelName
|
|
@@ -22727,7 +22727,7 @@ function modelOption(rate) {
|
|
|
22727
22727
|
return {
|
|
22728
22728
|
label: rate.displayName || rate.modelName,
|
|
22729
22729
|
value: rate.modelName,
|
|
22730
|
-
description:
|
|
22730
|
+
description: _chunkZNUSYMH7cjs.tokenRateProviderLabel.call(void 0, rate.providerType, rate.providerLabel),
|
|
22731
22731
|
icon: providerMark(rate.providerType, rate.providerIcon, "size-full text-ods-text-secondary")
|
|
22732
22732
|
};
|
|
22733
22733
|
}
|
|
@@ -22781,8 +22781,8 @@ function ModelTokenExchange({
|
|
|
22781
22781
|
const [chosen, setChosen] = _react.useState.call(void 0, null);
|
|
22782
22782
|
const balance = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(chosen, () => ( defaultAmount)), () => ( _optionalChain([tokenPrice, 'optionalAccess', _452 => _452.tokens]))), () => ( MODEL_TOKEN_EXCHANGE_BALANCE));
|
|
22783
22783
|
const max = Math.max(amountRange.max, balance, ...presets.map((preset) => preset.tokens));
|
|
22784
|
-
const tokens =
|
|
22785
|
-
const cost =
|
|
22784
|
+
const tokens = _chunkZNUSYMH7cjs.formatTokenAmount.call(void 0, balance);
|
|
22785
|
+
const cost = _chunkZNUSYMH7cjs.tokenCost.call(void 0, balance, tokenPrice);
|
|
22786
22786
|
const balancePrice = cost === null ? null : _chunkJHQNUWFMcjs.formatPrice.call(void 0, cost);
|
|
22787
22787
|
const model = rate ? rate.displayName || rate.modelName : "";
|
|
22788
22788
|
const options = models.map(modelOption);
|
|
@@ -22824,7 +22824,7 @@ function ModelTokenExchange({
|
|
|
22824
22824
|
variant: preset.tokens === balance ? "accent" : "outline",
|
|
22825
22825
|
size: "small",
|
|
22826
22826
|
onClick: () => setChosen(preset.tokens),
|
|
22827
|
-
children: copy.buy.preset(
|
|
22827
|
+
children: copy.buy.preset(_chunkZNUSYMH7cjs.formatTokenAmount.call(void 0, preset.tokens), preset.label)
|
|
22828
22828
|
},
|
|
22829
22829
|
preset.label
|
|
22830
22830
|
)) })
|
|
@@ -22843,7 +22843,7 @@ function ModelTokenExchange({
|
|
|
22843
22843
|
const stated = _nullishCoalesce(models.find((option) => option.providerType === providerType), () => ( (_optionalChain([rate, 'optionalAccess', _453 => _453.providerType]) === providerType ? rate : null)));
|
|
22844
22844
|
return {
|
|
22845
22845
|
id: providerType,
|
|
22846
|
-
name:
|
|
22846
|
+
name: _chunkZNUSYMH7cjs.tokenRateProviderLabel.call(void 0, providerType, _optionalChain([stated, 'optionalAccess', _454 => _454.providerLabel])),
|
|
22847
22847
|
icon: providerMark(providerType, _optionalChain([stated, 'optionalAccess', _455 => _455.providerIcon]), "size-8 text-ods-text-secondary")
|
|
22848
22848
|
};
|
|
22849
22849
|
}),
|
|
@@ -22881,7 +22881,7 @@ function ModelTokenExchange({
|
|
|
22881
22881
|
{
|
|
22882
22882
|
size: "plain",
|
|
22883
22883
|
loading,
|
|
22884
|
-
figure:
|
|
22884
|
+
figure: _chunkZNUSYMH7cjs.formatTokenRate.call(void 0, _optionalChain([rate, 'optionalAccess', _460 => _460.inputTokenRate])),
|
|
22885
22885
|
words: copy.charge.input
|
|
22886
22886
|
}
|
|
22887
22887
|
),
|
|
@@ -22890,7 +22890,7 @@ function ModelTokenExchange({
|
|
|
22890
22890
|
{
|
|
22891
22891
|
size: "plain",
|
|
22892
22892
|
loading,
|
|
22893
|
-
figure:
|
|
22893
|
+
figure: _chunkZNUSYMH7cjs.formatTokenRate.call(void 0, _optionalChain([rate, 'optionalAccess', _461 => _461.outputTokenRate])),
|
|
22894
22894
|
words: copy.charge.output
|
|
22895
22895
|
}
|
|
22896
22896
|
)
|
|
@@ -22902,9 +22902,9 @@ function ModelTokenExchange({
|
|
|
22902
22902
|
className: "mt-auto flex flex-col rounded-md border border-ods-accent bg-ods-bg p-[var(--spacing-system-mf)]",
|
|
22903
22903
|
children: [
|
|
22904
22904
|
/* @__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) }),
|
|
22905
|
-
/* @__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" }) :
|
|
22905
|
+
/* @__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" }) : _chunkZNUSYMH7cjs.formatTokenAmount.call(void 0, _chunkZNUSYMH7cjs.tokensForBalance.call(void 0, balance, rate.inputTokenRate)) }),
|
|
22906
22906
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-h-[1lh] text-ods-text-primary text-h3", children: copy.charge.read }),
|
|
22907
|
-
/* @__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(
|
|
22907
|
+
/* @__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(_chunkZNUSYMH7cjs.formatTokenAmount.call(void 0, _chunkZNUSYMH7cjs.tokensForBalance.call(void 0, balance, rate.outputTokenRate))) })
|
|
22908
22908
|
]
|
|
22909
22909
|
}
|
|
22910
22910
|
)
|
|
@@ -23402,14 +23402,14 @@ var ConfidenceBadge = ({
|
|
|
23402
23402
|
size = "sm",
|
|
23403
23403
|
className
|
|
23404
23404
|
}) => {
|
|
23405
|
-
const level =
|
|
23405
|
+
const level = _chunkZNUSYMH7cjs.getConfidenceLevel.call(void 0, confidence);
|
|
23406
23406
|
if (level === "none") {
|
|
23407
23407
|
return null;
|
|
23408
23408
|
}
|
|
23409
|
-
const label =
|
|
23410
|
-
const borderClass =
|
|
23411
|
-
const textClass =
|
|
23412
|
-
const bgClass =
|
|
23409
|
+
const label = _chunkZNUSYMH7cjs.getConfidenceLabel.call(void 0, confidence);
|
|
23410
|
+
const borderClass = _chunkZNUSYMH7cjs.getConfidenceBorderClass.call(void 0, confidence);
|
|
23411
|
+
const textClass = _chunkZNUSYMH7cjs.getConfidenceTextClass.call(void 0, confidence);
|
|
23412
|
+
const bgClass = _chunkZNUSYMH7cjs.getConfidenceBgClass.call(void 0, confidence);
|
|
23413
23413
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
23414
23414
|
"span",
|
|
23415
23415
|
{
|
|
@@ -23460,9 +23460,9 @@ function SEOEditorPreview({
|
|
|
23460
23460
|
const [isUploading, setIsUploading] = _react.useState.call(void 0, false);
|
|
23461
23461
|
const [fileInputRef, setFileInputRef] = _react.useState.call(void 0, null);
|
|
23462
23462
|
const seoTitleLength = (seoTitle || "").length;
|
|
23463
|
-
const seoTitleTooLong = seoTitleLength >
|
|
23463
|
+
const seoTitleTooLong = seoTitleLength > _chunkZNUSYMH7cjs.SEO_TITLE_MAX_LENGTH;
|
|
23464
23464
|
const seoDescriptionLength = (seoDescription || "").length;
|
|
23465
|
-
const seoDescriptionTooLong = seoDescriptionLength >
|
|
23465
|
+
const seoDescriptionTooLong = seoDescriptionLength > _chunkZNUSYMH7cjs.SEO_DESCRIPTION_MAX_LENGTH;
|
|
23466
23466
|
const displayTitle = seoTitle.trim() || title || "Untitled";
|
|
23467
23467
|
const displayDescription = seoDescription.trim() || summary || "No description";
|
|
23468
23468
|
const hasOgImage = ogImageUrl.trim();
|
|
@@ -23487,10 +23487,10 @@ function SEOEditorPreview({
|
|
|
23487
23487
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid grid-cols-1 gap-4 content-lg:grid-cols-2", children: [
|
|
23488
23488
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
23489
23489
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23490
|
-
|
|
23490
|
+
_chunkZNUSYMH7cjs.Field,
|
|
23491
23491
|
{
|
|
23492
23492
|
label: "SEO Title",
|
|
23493
|
-
error: seoTitleTooLong ? `Too long: search engines may truncate this title (keep it under ${
|
|
23493
|
+
error: seoTitleTooLong ? `Too long: search engines may truncate this title (keep it under ${_chunkZNUSYMH7cjs.SEO_TITLE_MAX_LENGTH})` : null,
|
|
23494
23494
|
labelExtras: aiConfidenceSeoTitle !== void 0 ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
23495
23495
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, AIGeneratedBadge, {}),
|
|
23496
23496
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ConfidenceBadge, { confidence: aiConfidenceSeoTitle, showLabel: true, showPercentage: true, size: "sm" })
|
|
@@ -23505,7 +23505,7 @@ function SEOEditorPreview({
|
|
|
23505
23505
|
children: [
|
|
23506
23506
|
seoTitleLength,
|
|
23507
23507
|
"/",
|
|
23508
|
-
|
|
23508
|
+
_chunkZNUSYMH7cjs.SEO_TITLE_MAX_LENGTH
|
|
23509
23509
|
]
|
|
23510
23510
|
}
|
|
23511
23511
|
),
|
|
@@ -23516,7 +23516,7 @@ function SEOEditorPreview({
|
|
|
23516
23516
|
value: seoTitle || "",
|
|
23517
23517
|
onChange: (e) => onSeoTitleChange(e.target.value),
|
|
23518
23518
|
disabled,
|
|
23519
|
-
maxLength:
|
|
23519
|
+
maxLength: _chunkZNUSYMH7cjs.SEO_TITLE_MAX_LENGTH,
|
|
23520
23520
|
invalid: seoTitleTooLong,
|
|
23521
23521
|
placeholder: "Enter SEO meta title...",
|
|
23522
23522
|
className: "border-ods-border bg-ods-bg text-ods-text-primary"
|
|
@@ -23527,7 +23527,7 @@ function SEOEditorPreview({
|
|
|
23527
23527
|
!seoTitle && title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-accent text-h6", children: "Auto-populated from title" })
|
|
23528
23528
|
] }),
|
|
23529
23529
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23530
|
-
|
|
23530
|
+
_chunkZNUSYMH7cjs.Field,
|
|
23531
23531
|
{
|
|
23532
23532
|
label: "SEO Keywords",
|
|
23533
23533
|
labelExtras: aiConfidenceSeoKeywords !== void 0 ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
@@ -23559,10 +23559,10 @@ function SEOEditorPreview({
|
|
|
23559
23559
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid grid-cols-1 gap-4 content-lg:grid-cols-2", children: [
|
|
23560
23560
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
23561
23561
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23562
|
-
|
|
23562
|
+
_chunkZNUSYMH7cjs.Field,
|
|
23563
23563
|
{
|
|
23564
23564
|
label: "SEO Description",
|
|
23565
|
-
error: seoDescriptionTooLong ? `Too long: search engines may truncate this description (keep it under ${
|
|
23565
|
+
error: seoDescriptionTooLong ? `Too long: search engines may truncate this description (keep it under ${_chunkZNUSYMH7cjs.SEO_DESCRIPTION_MAX_LENGTH})` : null,
|
|
23566
23566
|
labelExtras: aiConfidenceSeoDescription !== void 0 ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
23567
23567
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, AIGeneratedBadge, {}),
|
|
23568
23568
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -23585,7 +23585,7 @@ function SEOEditorPreview({
|
|
|
23585
23585
|
children: [
|
|
23586
23586
|
seoDescriptionLength,
|
|
23587
23587
|
"/",
|
|
23588
|
-
|
|
23588
|
+
_chunkZNUSYMH7cjs.SEO_DESCRIPTION_MAX_LENGTH
|
|
23589
23589
|
]
|
|
23590
23590
|
}
|
|
23591
23591
|
),
|
|
@@ -23596,7 +23596,7 @@ function SEOEditorPreview({
|
|
|
23596
23596
|
value: seoDescription || "",
|
|
23597
23597
|
onChange: (e) => onSeoDescriptionChange(e.target.value),
|
|
23598
23598
|
disabled,
|
|
23599
|
-
maxLength:
|
|
23599
|
+
maxLength: _chunkZNUSYMH7cjs.SEO_DESCRIPTION_MAX_LENGTH,
|
|
23600
23600
|
invalid: seoDescriptionTooLong,
|
|
23601
23601
|
placeholder: "Enter SEO meta description...",
|
|
23602
23602
|
className: _chunk3ATAYP36cjs.cn.call(void 0, "resize-none border-ods-border bg-ods-bg text-ods-text-primary", SEO_MEDIA_BOX_HEIGHT)
|
|
@@ -23749,7 +23749,7 @@ function socialIcon(platform) {
|
|
|
23749
23749
|
return _nullishCoalesce(_chunkKTPR66EEcjs.iconOf.call(void 0, SOCIAL_ICONS[platform]), () => ( void 0));
|
|
23750
23750
|
}
|
|
23751
23751
|
function renderSocialIcon(platform) {
|
|
23752
|
-
const key = _nullishCoalesce(
|
|
23752
|
+
const key = _nullishCoalesce(_chunkZNUSYMH7cjs.normalizeSocialPlatform.call(void 0, platform), () => ( "website"));
|
|
23753
23753
|
const icon = _nullishCoalesce(socialIcon(key), () => ( socialIcon("website")));
|
|
23754
23754
|
return icon ? _react.createElement.call(void 0, icon, { className: "h-5 w-5" }) : null;
|
|
23755
23755
|
}
|
|
@@ -23832,7 +23832,7 @@ function SocialLinksManager({
|
|
|
23832
23832
|
};
|
|
23833
23833
|
const getIcon = (link, platform) => {
|
|
23834
23834
|
const iconKey = _optionalChain([platform, 'optionalAccess', _471 => _471.icon_name]) || link.platform;
|
|
23835
|
-
const key =
|
|
23835
|
+
const key = _chunkZNUSYMH7cjs.normalizeSocialPlatform.call(void 0, iconKey);
|
|
23836
23836
|
if (!key) return null;
|
|
23837
23837
|
const icon = socialIcon(key);
|
|
23838
23838
|
return icon ? _react.createElement.call(void 0, icon, { className: "h-5 w-5 text-ods-text-secondary" }) : null;
|
|
@@ -24242,7 +24242,7 @@ function VideoBitesDisplay({
|
|
|
24242
24242
|
filterPublished = true,
|
|
24243
24243
|
showTitle = true
|
|
24244
24244
|
}) {
|
|
24245
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24245
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBBTSJYTRcjs.VideoBitesStrip, { bites, title, filterPublished, showTitle });
|
|
24246
24246
|
}
|
|
24247
24247
|
|
|
24248
24248
|
// src/components/features/walkthrough-video.tsx
|
|
@@ -24270,7 +24270,7 @@ function WalkthroughVideo({
|
|
|
24270
24270
|
onOpenChange,
|
|
24271
24271
|
defaultOpen,
|
|
24272
24272
|
defaultOpenPaused,
|
|
24273
|
-
deepLinkParam =
|
|
24273
|
+
deepLinkParam = _chunkZNUSYMH7cjs.WALKTHROUGH_OPEN_QUERY_PARAM,
|
|
24274
24274
|
autoPlayCard = false,
|
|
24275
24275
|
label = "Play Demo Video",
|
|
24276
24276
|
placement,
|
|
@@ -24286,7 +24286,7 @@ function WalkthroughVideo({
|
|
|
24286
24286
|
}) {
|
|
24287
24287
|
const inline = placement === "inline";
|
|
24288
24288
|
const dismissEnabled = dismissal !== false;
|
|
24289
|
-
const storageKey = dismissEnabled && dismissal.storageKey ||
|
|
24289
|
+
const storageKey = dismissEnabled && dismissal.storageKey || _chunkZNUSYMH7cjs.WALKTHROUGH_VIDEO_DISMISS_KEY;
|
|
24290
24290
|
const dismissalId = _optionalChain([video, 'optionalAccess', _477 => _477.id]) != null ? String(video.id) : "dismissed";
|
|
24291
24291
|
const [mounted, setMounted] = _react.useState.call(void 0, false);
|
|
24292
24292
|
const [dismissed, setDismissed] = _react.useState.call(void 0, false);
|
|
@@ -24298,7 +24298,7 @@ function WalkthroughVideo({
|
|
|
24298
24298
|
let delayElapsed = false;
|
|
24299
24299
|
let interacted = inline;
|
|
24300
24300
|
const reveal = () => {
|
|
24301
|
-
if (dismissEnabled &&
|
|
24301
|
+
if (dismissEnabled && _chunkZNUSYMH7cjs.isWalkthroughDismissed.call(void 0, storageKey, dismissalId)) {
|
|
24302
24302
|
setDismissed(true);
|
|
24303
24303
|
return;
|
|
24304
24304
|
}
|
|
@@ -24335,7 +24335,7 @@ function WalkthroughVideo({
|
|
|
24335
24335
|
if (idleHandle !== null && typeof cic === "function") cic(idleHandle);
|
|
24336
24336
|
};
|
|
24337
24337
|
}, [appearDelayMs, dismissEnabled, storageKey, dismissalId, hasVideo, videoId, inline]);
|
|
24338
|
-
const hydrated =
|
|
24338
|
+
const hydrated = _chunkBBTSJYTRcjs.useIsHydrated.call(void 0, );
|
|
24339
24339
|
const previewSuppressed = _react.useMemo.call(void 0, () => {
|
|
24340
24340
|
if (!hydrated) return false;
|
|
24341
24341
|
try {
|
|
@@ -24585,7 +24585,7 @@ function WalkthroughVideo({
|
|
|
24585
24585
|
(e) => {
|
|
24586
24586
|
e.stopPropagation();
|
|
24587
24587
|
pausePreviewNow();
|
|
24588
|
-
if (dismissEnabled)
|
|
24588
|
+
if (dismissEnabled) _chunkZNUSYMH7cjs.dismissWalkthrough.call(void 0, storageKey, dismissalId);
|
|
24589
24589
|
setDismissed(true);
|
|
24590
24590
|
},
|
|
24591
24591
|
[dismissEnabled, storageKey, dismissalId, pausePreviewNow]
|
|
@@ -24758,7 +24758,7 @@ function WalkthroughVideo({
|
|
|
24758
24758
|
`card-${embedUrlKey}`
|
|
24759
24759
|
) }),
|
|
24760
24760
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24761
|
-
|
|
24761
|
+
_chunkBBTSJYTRcjs.CardHitLayer,
|
|
24762
24762
|
{
|
|
24763
24763
|
label: video.title ? `${label}: ${video.title}` : label,
|
|
24764
24764
|
onPointerDown: pausePreviewNow,
|
|
@@ -24924,7 +24924,7 @@ function InlineWalkthroughVideo(props) {
|
|
|
24924
24924
|
var _reactquery = require('@tanstack/react-query');
|
|
24925
24925
|
function useWalkthroughVideo(opts) {
|
|
24926
24926
|
const { endpoint, initialData, enabled = true, transformCaptionsUrl } = opts;
|
|
24927
|
-
const captions =
|
|
24927
|
+
const captions = _chunkBBTSJYTRcjs.useCaptions.call(void 0, );
|
|
24928
24928
|
const query = _reactquery.useQuery.call(void 0, {
|
|
24929
24929
|
queryKey: ["walkthrough-video", endpoint],
|
|
24930
24930
|
enabled,
|
|
@@ -25673,7 +25673,7 @@ function HighlightConfigSection({
|
|
|
25673
25673
|
disabled = false,
|
|
25674
25674
|
className = ""
|
|
25675
25675
|
}) {
|
|
25676
|
-
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,
|
|
25676
|
+
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, _chunkZNUSYMH7cjs.Field, { label: "Target Duration", children: (f) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
25677
25677
|
_chunkU6XWGK53cjs.Select,
|
|
25678
25678
|
{
|
|
25679
25679
|
value: targetDurationSeconds.toString(),
|
|
@@ -25774,7 +25774,7 @@ var AIStatusIndicator = ({
|
|
|
25774
25774
|
}) => {
|
|
25775
25775
|
const config = statusConfig[status];
|
|
25776
25776
|
const displayText = message || config.label;
|
|
25777
|
-
const confidenceLabel = showConfidence && confidence !== void 0 ? `${
|
|
25777
|
+
const confidenceLabel = showConfidence && confidence !== void 0 ? `${_chunkZNUSYMH7cjs.getConfidenceLabel.call(void 0, confidence)} (${confidence}%)` : null;
|
|
25778
25778
|
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: [
|
|
25779
25779
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25780
25780
|
_chunkUNFCRSYIcjs.SparklesIcon,
|
|
@@ -25782,7 +25782,7 @@ var AIStatusIndicator = ({
|
|
|
25782
25782
|
size: 16,
|
|
25783
25783
|
className: _chunk3ATAYP36cjs.cn.call(void 0,
|
|
25784
25784
|
status === "loading" && "animate-pulse",
|
|
25785
|
-
confidence !== void 0 && status === "success" ?
|
|
25785
|
+
confidence !== void 0 && status === "success" ? _chunkZNUSYMH7cjs.getConfidenceTextClass.call(void 0, confidence) : config.color
|
|
25786
25786
|
)
|
|
25787
25787
|
}
|
|
25788
25788
|
),
|
|
@@ -25791,7 +25791,7 @@ var AIStatusIndicator = ({
|
|
|
25791
25791
|
{
|
|
25792
25792
|
className: _chunk3ATAYP36cjs.cn.call(void 0,
|
|
25793
25793
|
"text-h6",
|
|
25794
|
-
confidence !== void 0 && status === "success" ?
|
|
25794
|
+
confidence !== void 0 && status === "success" ? _chunkZNUSYMH7cjs.getConfidenceTextClass.call(void 0, confidence) : config.color
|
|
25795
25795
|
),
|
|
25796
25796
|
children: displayText
|
|
25797
25797
|
}
|
|
@@ -25801,8 +25801,8 @@ var AIStatusIndicator = ({
|
|
|
25801
25801
|
{
|
|
25802
25802
|
className: _chunk3ATAYP36cjs.cn.call(void 0,
|
|
25803
25803
|
"rounded-full border px-2 py-0.5 text-h6",
|
|
25804
|
-
|
|
25805
|
-
|
|
25804
|
+
_chunkZNUSYMH7cjs.getConfidenceBorderClass.call(void 0, confidence),
|
|
25805
|
+
_chunkZNUSYMH7cjs.getConfidenceTextClass.call(void 0, confidence)
|
|
25806
25806
|
),
|
|
25807
25807
|
children: confidenceLabel
|
|
25808
25808
|
}
|
|
@@ -26698,7 +26698,7 @@ function PoliciesTable({
|
|
|
26698
26698
|
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,
|
|
26699
26699
|
_chunk2QMBXGMQcjs.Button,
|
|
26700
26700
|
{
|
|
26701
|
-
onClick:
|
|
26701
|
+
onClick: _chunkZNUSYMH7cjs.openInNewTab.call(void 0, row.original.href),
|
|
26702
26702
|
variant: "outline",
|
|
26703
26703
|
size: "icon",
|
|
26704
26704
|
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkANTDIQKKcjs.ArrowRightUpIcon, { className: "h-5 w-5" }),
|
|
@@ -27024,7 +27024,7 @@ function TenantsTableView({
|
|
|
27024
27024
|
/* @__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,
|
|
27025
27025
|
_chunk2QMBXGMQcjs.Button,
|
|
27026
27026
|
{
|
|
27027
|
-
onClick:
|
|
27027
|
+
onClick: _chunkZNUSYMH7cjs.openInNewTab.call(void 0, getHref(row.original)),
|
|
27028
27028
|
variant: "outline",
|
|
27029
27029
|
size: "icon",
|
|
27030
27030
|
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkANTDIQKKcjs.ArrowRightUpIcon, { className: "h-5 w-5" }),
|
|
@@ -27105,7 +27105,7 @@ function WaitlistForm({
|
|
|
27105
27105
|
const { toast } = _chunk4FWURR3Wcjs.useToast.call(void 0, );
|
|
27106
27106
|
const { honeypotInputProps, getSignals, resetSignals } = _chunk4FWURR3Wcjs.useHumanitySignals.call(void 0, );
|
|
27107
27107
|
const [smsConsent, setSmsConsent] = _react.useState.call(void 0, false);
|
|
27108
|
-
const isClient =
|
|
27108
|
+
const isClient = _chunkBBTSJYTRcjs.useIsHydrated.call(void 0, );
|
|
27109
27109
|
const [isPhoneInvalid, setIsPhoneInvalid] = _react.useState.call(void 0, false);
|
|
27110
27110
|
const [showConsentError, setShowConsentError] = _react.useState.call(void 0, false);
|
|
27111
27111
|
const rescue = _chunk4FWURR3Wcjs.useFormRescue.call(void 0, {
|
|
@@ -27120,7 +27120,7 @@ function WaitlistForm({
|
|
|
27120
27120
|
_react.useEffect.call(void 0, () => {
|
|
27121
27121
|
rescue.track({ email, phone }, null);
|
|
27122
27122
|
}, [email, phone, rescue]);
|
|
27123
|
-
const isMailDomainGeneric =
|
|
27123
|
+
const isMailDomainGeneric = _chunkZNUSYMH7cjs.hasGenericEmailDomain.call(void 0, email);
|
|
27124
27124
|
const [syncedDefaultEmail, setSyncedDefaultEmail] = _react.useState.call(void 0, defaultEmail);
|
|
27125
27125
|
if (syncedDefaultEmail !== defaultEmail) {
|
|
27126
27126
|
setSyncedDefaultEmail(defaultEmail);
|
|
@@ -27154,7 +27154,7 @@ function WaitlistForm({
|
|
|
27154
27154
|
setShowConsentError(true);
|
|
27155
27155
|
return;
|
|
27156
27156
|
}
|
|
27157
|
-
const finalPhone = phone ?
|
|
27157
|
+
const finalPhone = phone ? _chunkZNUSYMH7cjs.formatPhoneE164.call(void 0, phone, countryCode) : void 0;
|
|
27158
27158
|
try {
|
|
27159
27159
|
await onRegister(email, finalPhone, getSignals(), rescue.submitFields());
|
|
27160
27160
|
rescue.complete();
|
|
@@ -29246,7 +29246,7 @@ function getDeviceStatusConfig(status) {
|
|
|
29246
29246
|
}
|
|
29247
29247
|
}
|
|
29248
29248
|
function getDeviceOperatingSystem(osType) {
|
|
29249
|
-
return
|
|
29249
|
+
return _chunkZNUSYMH7cjs.getOSPlatformId.call(void 0, osType);
|
|
29250
29250
|
}
|
|
29251
29251
|
|
|
29252
29252
|
// src/components/features/devices/device-statuses.ts
|
|
@@ -30793,7 +30793,7 @@ function DevicesPanelView({
|
|
|
30793
30793
|
actionsVariant: "icon-buttons",
|
|
30794
30794
|
className,
|
|
30795
30795
|
selector: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30796
|
-
|
|
30796
|
+
_chunkBBTSJYTRcjs.TabSelector,
|
|
30797
30797
|
{
|
|
30798
30798
|
value: viewMode,
|
|
30799
30799
|
onValueChange: (value) => _optionalChain([onViewModeChange, 'optionalCall', _658 => _658(value)]),
|
|
@@ -31309,10 +31309,10 @@ var ToolBadge = ({
|
|
|
31309
31309
|
className,
|
|
31310
31310
|
iconClassName
|
|
31311
31311
|
}) => {
|
|
31312
|
-
const text = _nullishCoalesce(label, () => ( (toolType ?
|
|
31312
|
+
const text = _nullishCoalesce(label, () => ( (toolType ? _chunkZNUSYMH7cjs.getToolLabel.call(void 0, toolType) : "")));
|
|
31313
31313
|
const mark = _nullishCoalesce(icon, () => ( (toolType ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWI2OTGKCcjs.ToolIcon, { toolType, className: iconClassName, size: 16 }) : null)));
|
|
31314
31314
|
const linked = (node, linkClassName) => href && targetPlatform ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31315
|
-
|
|
31315
|
+
_chunkBBTSJYTRcjs.NavLinkAnchorViaRuntime,
|
|
31316
31316
|
{
|
|
31317
31317
|
href,
|
|
31318
31318
|
targetPlatform,
|
|
@@ -31419,7 +31419,7 @@ function LogsTableView({
|
|
|
31419
31419
|
cell: ({ row }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31420
31420
|
ToolBadge,
|
|
31421
31421
|
{
|
|
31422
|
-
toolType:
|
|
31422
|
+
toolType: _chunkZNUSYMH7cjs.normalizeToolTypeWithFallback.call(void 0, row.original.source.toolType),
|
|
31423
31423
|
iconClassName: "h-4 w-4 content-md:h-6 content-md:w-6"
|
|
31424
31424
|
}
|
|
31425
31425
|
),
|
|
@@ -31431,7 +31431,7 @@ function LogsTableView({
|
|
|
31431
31431
|
filter: {
|
|
31432
31432
|
options: _nullishCoalesce(_optionalChain([facets, 'optionalAccess', _666 => _666.toolTypes, 'access', _667 => _667.map, 'call', _668 => _668((toolType) => ({
|
|
31433
31433
|
id: toolType,
|
|
31434
|
-
label:
|
|
31434
|
+
label: _chunkZNUSYMH7cjs.toToolLabel.call(void 0, toolType),
|
|
31435
31435
|
value: toolType
|
|
31436
31436
|
}))]), () => ( []))
|
|
31437
31437
|
}
|
|
@@ -31489,7 +31489,7 @@ function LogsTableView({
|
|
|
31489
31489
|
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,
|
|
31490
31490
|
_chunk2QMBXGMQcjs.Button,
|
|
31491
31491
|
{
|
|
31492
|
-
onClick: getLogHref ?
|
|
31492
|
+
onClick: getLogHref ? _chunkZNUSYMH7cjs.openInNewTab.call(void 0, getLogHref(row.original)) : void 0,
|
|
31493
31493
|
variant: "outline",
|
|
31494
31494
|
size: "icon",
|
|
31495
31495
|
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkANTDIQKKcjs.ArrowRightUpIcon, { className: "h-5 w-5" }),
|
|
@@ -31864,7 +31864,7 @@ function OpenInNewTabCell({ href }) {
|
|
|
31864
31864
|
return /* @__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,
|
|
31865
31865
|
_chunk2QMBXGMQcjs.Button,
|
|
31866
31866
|
{
|
|
31867
|
-
onClick:
|
|
31867
|
+
onClick: _chunkZNUSYMH7cjs.openInNewTab.call(void 0, href),
|
|
31868
31868
|
variant: "outline",
|
|
31869
31869
|
size: "icon",
|
|
31870
31870
|
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkANTDIQKKcjs.ArrowRightUpIcon, { className: "h-5 w-5" }),
|
|
@@ -32013,9 +32013,9 @@ function ScriptSchedulesTable({
|
|
|
32013
32013
|
|
|
32014
32014
|
// src/components/features/scripts/shell-types.ts
|
|
32015
32015
|
var SCRIPT_SHELL_TYPES = [
|
|
32016
|
-
{ id:
|
|
32017
|
-
{ id:
|
|
32018
|
-
{ id:
|
|
32016
|
+
{ id: _chunkZNUSYMH7cjs.ShellTypeValues.POWERSHELL, label: "PowerShell", value: "powershell", icon: _chunkMCQY746Mcjs.PowershellLogoGreyIcon },
|
|
32017
|
+
{ id: _chunkZNUSYMH7cjs.ShellTypeValues.CMD, label: "CMD", value: "cmd", icon: _chunkNIVJEJSGcjs.TerminalSquareIcon },
|
|
32018
|
+
{ id: _chunkZNUSYMH7cjs.ShellTypeValues.BASH, label: "Bash", value: "bash", icon: _chunkTRUW6DDAcjs.TerminalIcon }
|
|
32019
32019
|
];
|
|
32020
32020
|
function scriptShellType(value) {
|
|
32021
32021
|
return SCRIPT_SHELL_TYPES.find((shell) => shell.value === value);
|
|
@@ -33448,7 +33448,7 @@ function ScheduleFormFields({
|
|
|
33448
33448
|
disabled = false,
|
|
33449
33449
|
renderScriptSearch,
|
|
33450
33450
|
timeReferenceGate = "off",
|
|
33451
|
-
platforms =
|
|
33451
|
+
platforms = _chunkZNUSYMH7cjs.OS_PLATFORMS,
|
|
33452
33452
|
comingSoonPlatforms = [],
|
|
33453
33453
|
getTimeSlots,
|
|
33454
33454
|
nameLayout = "stacked",
|
|
@@ -33594,7 +33594,7 @@ function ScheduleFormFields({
|
|
|
33594
33594
|
// src/components/features/scripts/schedule-form/schedule-script-search-field.tsx
|
|
33595
33595
|
|
|
33596
33596
|
function ScriptPlatformIcons({ platforms }) {
|
|
33597
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "inline-flex shrink-0 items-center gap-0.5", children:
|
|
33597
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "inline-flex shrink-0 items-center gap-0.5", children: _chunkZNUSYMH7cjs.OS_PLATFORMS.filter((p) => platforms.includes(p.id)).map((p) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, p.icon, { className: "h-3.5 w-3.5 text-ods-text-secondary opacity-60" }, p.id)) });
|
|
33598
33598
|
}
|
|
33599
33599
|
function ScheduleScriptSearchField({
|
|
33600
33600
|
scriptId,
|
|
@@ -33667,7 +33667,7 @@ function getKnowledgeBaseOpenColumn(getHref) {
|
|
|
33667
33667
|
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,
|
|
33668
33668
|
_chunk2QMBXGMQcjs.Button,
|
|
33669
33669
|
{
|
|
33670
|
-
onClick:
|
|
33670
|
+
onClick: _chunkZNUSYMH7cjs.openInNewTab.call(void 0, getHref(row.original)),
|
|
33671
33671
|
variant: "outline",
|
|
33672
33672
|
size: "icon",
|
|
33673
33673
|
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkANTDIQKKcjs.ArrowRightUpIcon, { className: "h-5 w-5" }),
|
|
@@ -33915,13 +33915,13 @@ function ConversationCard({
|
|
|
33915
33915
|
),
|
|
33916
33916
|
style: tint,
|
|
33917
33917
|
children: [
|
|
33918
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33918
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZNUSYMH7cjs.ChatTurn, { avatar: requester.avatar, name: requester.name, meta: requester.meta, time: requester.time, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "p", { className: "m-0 line-clamp-2 min-h-[2lh] text-ods-text-primary text-h3", title: request, children: [
|
|
33919
33919
|
"\u201C",
|
|
33920
33920
|
request,
|
|
33921
33921
|
"\u201D"
|
|
33922
33922
|
] }) }),
|
|
33923
33923
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33924
|
-
|
|
33924
|
+
_chunkZNUSYMH7cjs.ChatTurn,
|
|
33925
33925
|
{
|
|
33926
33926
|
avatar: responder.avatar,
|
|
33927
33927
|
name: responder.name,
|