@flamingo-stack/openframe-frontend-core 0.0.777 → 0.0.780
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/{case-study-card-FMH622O5.cjs → case-study-card-WXMWYGSW.cjs} +2 -2
- package/dist/{chunk-JMFF3L3T.cjs → chunk-2JO5HNEF.cjs} +23 -23
- package/dist/{chunk-SDZG7VV7.cjs → chunk-2W3VDE4D.cjs} +2 -2
- package/dist/{chunk-4JZDJ34E.cjs → chunk-4BBOHZM3.cjs} +4 -4
- package/dist/{chunk-QIATO42V.cjs → chunk-4NRVV3KO.cjs} +3 -3
- package/dist/{chunk-BDDOC425.cjs → chunk-AQXEM7GI.cjs} +3 -3
- package/dist/{chunk-ALA4KHTE.cjs → chunk-DQALLDTZ.cjs} +4 -4
- package/dist/{chunk-LU2DGST4.cjs → chunk-F3BASIMT.cjs} +78 -78
- package/dist/{chunk-Y6MQBLTZ.cjs → chunk-HUPDPANN.cjs} +4 -4
- package/dist/{chunk-3PCSEZNZ.cjs → chunk-I4IC3BRC.cjs} +39 -39
- package/dist/{chunk-7LJSGOWS.cjs → chunk-IE3QCYBT.cjs} +13 -13
- package/dist/{chunk-VY3NGJRH.cjs → chunk-ILRQXZBA.cjs} +52 -52
- package/dist/{chunk-T47VAUYR.cjs → chunk-KA3VQ6X2.cjs} +69 -69
- package/dist/{chunk-WCSWWVPF.cjs → chunk-MLX6Z7TU.cjs} +2 -2
- package/dist/{chunk-MQPTOJMF.cjs → chunk-OH5LAH3X.cjs} +3 -51
- package/dist/{chunk-G2N7INFT.cjs → chunk-OMHQZXCD.cjs} +11 -11
- package/dist/{chunk-TZP7PSPG.cjs → chunk-OWQVDWTK.cjs} +109 -103
- package/dist/{chunk-XVAVQ4BK.cjs → chunk-PQBGSVZE.cjs} +38 -38
- package/dist/{chunk-LGNJTSKB.cjs → chunk-QEFDGI3Z.cjs} +29 -29
- package/dist/{chunk-WMZIBRTR.cjs → chunk-QIQYD75I.cjs} +2 -2
- package/dist/{chunk-T7NDPPLF.cjs → chunk-TVDQMG7I.cjs} +18 -18
- package/dist/{chunk-HXLOCZMG.cjs → chunk-UPAE4IV5.cjs} +167 -167
- package/dist/{chunk-DOM5CUEY.cjs → chunk-WR7KJML6.cjs} +30 -30
- package/dist/{chunk-CGQ7CL62.cjs → chunk-YG72MEHY.cjs} +98 -98
- package/dist/{chunk-U5VQFKRZ.cjs → chunk-YNECNYQF.cjs} +4 -4
- package/dist/{chunk-S3YDUX2I.cjs → chunk-YWQ3VXPL.cjs} +75 -75
- package/dist/{chunk-UW6AOF42.cjs → chunk-ZGWS3NJR.cjs} +13 -13
- package/dist/{cloud-tenants-EUH42CCL.cjs → cloud-tenants-2ZLGCSGK.cjs} +8 -8
- package/dist/components/case-studies/index.cjs +24 -24
- package/dist/components/chat/chat-message-enhanced.d.ts.map +1 -1
- package/dist/components/chat/chat-message-enhanced.js +8 -4
- package/dist/components/chat/chat-message-list.d.ts.map +1 -1
- package/dist/components/chat/chat-message-list.js +2 -0
- package/dist/components/chat/index.cjs +6 -6
- package/dist/components/chat/types/component.types.d.ts +9 -0
- package/dist/components/chat/types/component.types.d.ts.map +1 -1
- package/dist/components/contact/index.cjs +9 -9
- package/dist/components/docs/index.cjs +12 -12
- package/dist/components/embeds/index.cjs +9 -9
- package/dist/components/faq/index.cjs +10 -10
- package/dist/components/features/index.cjs +8 -8
- package/dist/components/features/video-hover-preview.d.ts.map +1 -1
- package/dist/components/features/video-hover-preview.js +2 -5
- package/dist/components/features/video.d.ts.map +1 -1
- package/dist/components/features/video.js +1 -44
- package/dist/components/help-center-pages/index.cjs +84 -84
- package/dist/components/index.cjs +56 -56
- package/dist/components/meeting-scheduler/index.cjs +38 -38
- package/dist/components/navigation/index.cjs +11 -11
- package/dist/components/onboarding-guides/index.cjs +11 -11
- package/dist/components/product-demo/index.cjs +17 -17
- package/dist/components/related-content/index.cjs +6 -6
- package/dist/components/tickets/index.cjs +14 -14
- package/dist/components/ui/index.cjs +8 -8
- package/dist/{devices-WL3I23EE.cjs → devices-UOBQFPV3.cjs} +9 -9
- package/dist/{embeddable-chat-KEWUGQIF.cjs → embeddable-chat-SFQWRUIV.cjs} +74 -74
- package/dist/index.cjs +12 -12
- package/dist/{knowledge-O3PXUX73.cjs → knowledge-5K3LTHGB.cjs} +9 -9
- package/dist/{logs-XODCXWYI.cjs → logs-WU3N6ESS.cjs} +16 -16
- package/dist/{policies-CQACBIKK.cjs → policies-2IYASCQO.cjs} +12 -12
- package/dist/{scripts-QMM6SEB5.cjs → scripts-IQBKOQEY.cjs} +13 -13
- package/dist/{software-update-CCCKS4ZE.cjs → software-update-GJLDO5X5.cjs} +11 -11
- package/package.json +1 -1
- package/src/components/chat/chat-message-enhanced.tsx +13 -4
- package/src/components/chat/chat-message-list.tsx +2 -0
- package/src/components/chat/types/component.types.ts +9 -0
- package/src/components/features/video-hover-preview.tsx +37 -46
- package/src/components/features/video.tsx +1 -61
|
@@ -64,7 +64,7 @@ var _chunkVXAKQRV7cjs = require('./chunk-VXAKQRV7.cjs');
|
|
|
64
64
|
var _chunkA6P6DHEZcjs = require('./chunk-A6P6DHEZ.cjs');
|
|
65
65
|
|
|
66
66
|
|
|
67
|
-
var
|
|
67
|
+
var _chunkMLX6Z7TUcjs = require('./chunk-MLX6Z7TU.cjs');
|
|
68
68
|
|
|
69
69
|
|
|
70
70
|
|
|
@@ -116,7 +116,7 @@ var _chunkC42WIUH6cjs = require('./chunk-C42WIUH6.cjs');
|
|
|
116
116
|
|
|
117
117
|
|
|
118
118
|
|
|
119
|
-
var
|
|
119
|
+
var _chunkYWQ3VXPLcjs = require('./chunk-YWQ3VXPL.cjs');
|
|
120
120
|
|
|
121
121
|
|
|
122
122
|
|
|
@@ -139,7 +139,7 @@ var _chunkS3YDUX2Icjs = require('./chunk-S3YDUX2I.cjs');
|
|
|
139
139
|
|
|
140
140
|
|
|
141
141
|
|
|
142
|
-
var
|
|
142
|
+
var _chunkOWQVDWTKcjs = require('./chunk-OWQVDWTK.cjs');
|
|
143
143
|
|
|
144
144
|
|
|
145
145
|
|
|
@@ -495,7 +495,7 @@ var _chunkSKI6NKOEcjs = require('./chunk-SKI6NKOE.cjs');
|
|
|
495
495
|
|
|
496
496
|
|
|
497
497
|
|
|
498
|
-
var
|
|
498
|
+
var _chunkYG72MEHYcjs = require('./chunk-YG72MEHY.cjs');
|
|
499
499
|
|
|
500
500
|
|
|
501
501
|
|
|
@@ -505,7 +505,7 @@ var _chunkCGQ7CL62cjs = require('./chunk-CGQ7CL62.cjs');
|
|
|
505
505
|
|
|
506
506
|
|
|
507
507
|
|
|
508
|
-
var
|
|
508
|
+
var _chunkOH5LAH3Xcjs = require('./chunk-OH5LAH3X.cjs');
|
|
509
509
|
|
|
510
510
|
|
|
511
511
|
|
|
@@ -699,7 +699,7 @@ function ThemeProvider({ children, ...overrides }) {
|
|
|
699
699
|
var useTheme = _nextthemes.useTheme;
|
|
700
700
|
function useThemeToggle() {
|
|
701
701
|
const { resolvedTheme, theme, setTheme } = useTheme();
|
|
702
|
-
const mounted =
|
|
702
|
+
const mounted = _chunkOWQVDWTKcjs.useIsHydrated.call(void 0, );
|
|
703
703
|
const active = mounted ? resolvedTheme === "light" || theme === "light" ? "light" : "dark" : DEFAULT_THEME;
|
|
704
704
|
const setOdsTheme = _react.useCallback.call(void 0, (next) => setTheme(next), [setTheme]);
|
|
705
705
|
const toggle = _react.useCallback.call(void 0, () => setTheme(active === "dark" ? "light" : "dark"), [active, setTheme]);
|
|
@@ -4529,7 +4529,7 @@ function AdminFormDrawer({
|
|
|
4529
4529
|
"form",
|
|
4530
4530
|
{
|
|
4531
4531
|
id: formId,
|
|
4532
|
-
...
|
|
4532
|
+
..._chunkYWQ3VXPLcjs.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS,
|
|
4533
4533
|
className: "flex flex-col gap-[var(--spacing-system-lf)]",
|
|
4534
4534
|
onSubmit: (e) => {
|
|
4535
4535
|
e.preventDefault();
|
|
@@ -4636,7 +4636,7 @@ function AdminFormModal({
|
|
|
4636
4636
|
"form",
|
|
4637
4637
|
{
|
|
4638
4638
|
id: formId,
|
|
4639
|
-
...
|
|
4639
|
+
..._chunkYWQ3VXPLcjs.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS,
|
|
4640
4640
|
className: "flex min-h-0 flex-1 flex-col",
|
|
4641
4641
|
onSubmit: (e) => {
|
|
4642
4642
|
e.preventDefault();
|
|
@@ -6032,7 +6032,7 @@ function EmbedViewerFrame({
|
|
|
6032
6032
|
const controllerRef = _react.useRef.call(void 0, null);
|
|
6033
6033
|
_react.useEffect.call(void 0, () => {
|
|
6034
6034
|
if (!fullscreenControl) return void 0;
|
|
6035
|
-
const controller = new (0,
|
|
6035
|
+
const controller = new (0, _chunkYWQ3VXPLcjs.FullscreenSwitchController)({
|
|
6036
6036
|
target: () => frameRef.current,
|
|
6037
6037
|
onFullscreenChange: setIsFullscreen
|
|
6038
6038
|
});
|
|
@@ -7076,7 +7076,7 @@ var MediaCarousel = _react.memo.call(void 0, function MediaCarouselImpl({
|
|
|
7076
7076
|
};
|
|
7077
7077
|
const displayImageSrc = (url) => transformImageSrc ? transformImageSrc(url) : url;
|
|
7078
7078
|
const renderVideo = (item, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7079
|
-
|
|
7079
|
+
_chunkOH5LAH3Xcjs.Video,
|
|
7080
7080
|
{
|
|
7081
7081
|
url: item.src,
|
|
7082
7082
|
poster: item.poster ? displayImageSrc(item.poster) : void 0,
|
|
@@ -7271,7 +7271,7 @@ var formatTimeAgo = (timestamp) => {
|
|
|
7271
7271
|
return `${Math.floor(diffSeconds / 86400)}d ago`;
|
|
7272
7272
|
};
|
|
7273
7273
|
function RedditEmbedClient({ url, maxWidth = 700, rel }) {
|
|
7274
|
-
const postLinkRel =
|
|
7274
|
+
const postLinkRel = _chunkOWQVDWTKcjs.renderedLinkRel.call(void 0, rel, true);
|
|
7275
7275
|
const { redditProxyUrl } = useRichMarkdownRuntime();
|
|
7276
7276
|
const [redditData, setRedditData] = _react.useState.call(void 0, null);
|
|
7277
7277
|
const [loading, setLoading] = _react.useState.call(void 0, true);
|
|
@@ -7603,7 +7603,7 @@ var UserIcon3 = () => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "svg", { wid
|
|
|
7603
7603
|
] });
|
|
7604
7604
|
var XIcon = () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2TEMEXDTcjs.XLogoIcon, { className: "h-5 w-5", color: "currentColor" });
|
|
7605
7605
|
function TwitterEmbedClient({ url, tweetId, maxWidth = 700, rel }) {
|
|
7606
|
-
const postLinkRel =
|
|
7606
|
+
const postLinkRel = _chunkOWQVDWTKcjs.renderedLinkRel.call(void 0, rel, true);
|
|
7607
7607
|
const { twitterProxyUrl } = useRichMarkdownRuntime();
|
|
7608
7608
|
const [tweetData, setTweetData] = _react.useState.call(void 0, null);
|
|
7609
7609
|
const [fetchLoading, setLoading] = _react.useState.call(void 0, true);
|
|
@@ -7805,7 +7805,7 @@ function buildRichEmbedOverrides({
|
|
|
7805
7805
|
ogEndpointPath,
|
|
7806
7806
|
textSizes
|
|
7807
7807
|
}) {
|
|
7808
|
-
const standard =
|
|
7808
|
+
const standard = _chunkOWQVDWTKcjs.buildStandardLeafRenderers.call(void 0, { textSizes });
|
|
7809
7809
|
return {
|
|
7810
7810
|
// Fence-language embeds (```youtube-embed etc.); everything else
|
|
7811
7811
|
// (mermaid, highlighted blocks, inline code) falls through to `standard`.
|
|
@@ -7815,7 +7815,7 @@ function buildRichEmbedOverrides({
|
|
|
7815
7815
|
const language = match ? match[1] : "";
|
|
7816
7816
|
const fenceText = () => String(children).replace(/\n$/, "").trim();
|
|
7817
7817
|
if (language === "youtube-embed") {
|
|
7818
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7818
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOH5LAH3Xcjs.Video, { kind: "youtube", url: fenceText() });
|
|
7819
7819
|
}
|
|
7820
7820
|
if (language === "reddit-embed") {
|
|
7821
7821
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, RedditEmbedClient, { url: fenceText() });
|
|
@@ -7856,7 +7856,7 @@ function buildRichEmbedOverrides({
|
|
|
7856
7856
|
"data-figma-url": figmaUrl
|
|
7857
7857
|
} = divProps;
|
|
7858
7858
|
if (className === "youtube-embed" && videoId) {
|
|
7859
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7859
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOH5LAH3Xcjs.Video, { kind: "youtube", url: videoId });
|
|
7860
7860
|
}
|
|
7861
7861
|
if (className === "reddit-embed" && postUrl) {
|
|
7862
7862
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, RedditEmbedClient, { url: postUrl });
|
|
@@ -7941,23 +7941,23 @@ function buildRichEmbedOverrides({
|
|
|
7941
7941
|
// rich-markdown runtime (Supabase optimization on the hub, identity
|
|
7942
7942
|
// elsewhere). Guard against empty `![]()`.
|
|
7943
7943
|
img: ({ src, alt }) => {
|
|
7944
|
-
if (!
|
|
7944
|
+
if (!_chunkOWQVDWTKcjs.hasRenderableSrc.call(void 0, src)) return null;
|
|
7945
7945
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MarkdownImage, { src: src.trim(), alt });
|
|
7946
7946
|
},
|
|
7947
7947
|
// Raw <iframe> tags in stored content (a pasted YouTube embed). A YouTube one becomes the same click-to-play
|
|
7948
7948
|
// facade as the `youtube-embed` fence: the raw iframe loaded YouTube's whole player (about 470 KB of script) with
|
|
7949
7949
|
// the page, on every post that carried one (CU-17tkuw5xp4q). Any other iframe loads when it nears the screen.
|
|
7950
7950
|
iframe: ({ node: _node, src, ...rest }) => {
|
|
7951
|
-
if (!
|
|
7951
|
+
if (!_chunkOWQVDWTKcjs.hasRenderableSrc.call(void 0, src)) return null;
|
|
7952
7952
|
const url = src.trim();
|
|
7953
|
-
if (
|
|
7953
|
+
if (_chunkOH5LAH3Xcjs.extractYouTubeId.call(void 0, url)) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOH5LAH3Xcjs.Video, { kind: "youtube", url });
|
|
7954
7954
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "iframe", { ...rest, src: url, loading: "lazy" });
|
|
7955
7955
|
},
|
|
7956
7956
|
// Raw <video> tags in stored content (blog publisher injection) route
|
|
7957
7957
|
// to the <Video> SSOT (MuxPlayer) so HLS manifests play everywhere.
|
|
7958
7958
|
video: ({ src, poster, className }) => {
|
|
7959
|
-
if (!
|
|
7960
|
-
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,
|
|
7959
|
+
if (!_chunkOWQVDWTKcjs.hasRenderableSrc.call(void 0, src)) return null;
|
|
7960
|
+
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, _chunkOH5LAH3Xcjs.Video, { kind: "file", url: src.trim(), poster: typeof poster === "string" ? poster : void 0 }) }) });
|
|
7961
7961
|
}
|
|
7962
7962
|
};
|
|
7963
7963
|
}
|
|
@@ -8065,7 +8065,7 @@ var processShortcodes = (content) => {
|
|
|
8065
8065
|
try {
|
|
8066
8066
|
const urlObj = new URL(url);
|
|
8067
8067
|
const hostname = urlObj.hostname.toLowerCase();
|
|
8068
|
-
const hostIs = (domain) =>
|
|
8068
|
+
const hostIs = (domain) => _chunkYWQ3VXPLcjs.hostMatches.call(void 0, hostname, domain);
|
|
8069
8069
|
const isYouTubeVideo = hostIs("youtube.com") && urlObj.searchParams.has("v") || hostIs("youtu.be");
|
|
8070
8070
|
if (isYouTubeVideo || hostIs("reddit.com") || hostIs("twitter.com") || hostIs("x.com") || hostIs("figma.com")) {
|
|
8071
8071
|
return match;
|
|
@@ -8142,13 +8142,13 @@ var RichMarkdownInner = ({
|
|
|
8142
8142
|
},
|
|
8143
8143
|
[resolveLinkEndpointUrl, resolveSource]
|
|
8144
8144
|
);
|
|
8145
|
-
const textSizes = _react.useMemo.call(void 0, () =>
|
|
8145
|
+
const textSizes = _react.useMemo.call(void 0, () => _chunkOWQVDWTKcjs.resolveTextSizeConfig.call(void 0, "article"), []);
|
|
8146
8146
|
const componentOverrides = _react.useMemo.call(void 0,
|
|
8147
8147
|
() => buildRichEmbedOverrides({ ogApiBaseUrl, ogEndpointPath, textSizes }),
|
|
8148
8148
|
[ogApiBaseUrl, ogEndpointPath, textSizes]
|
|
8149
8149
|
);
|
|
8150
8150
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8151
|
-
|
|
8151
|
+
_chunkOWQVDWTKcjs.MarkdownEngine,
|
|
8152
8152
|
{
|
|
8153
8153
|
content,
|
|
8154
8154
|
className,
|
|
@@ -8172,7 +8172,7 @@ var RichMarkdownRendererImpl = ({
|
|
|
8172
8172
|
className = "",
|
|
8173
8173
|
sectionIds,
|
|
8174
8174
|
onInternalLinkClick,
|
|
8175
|
-
brokenLinks =
|
|
8175
|
+
brokenLinks = _chunkOWQVDWTKcjs.NO_BROKEN_LINKS,
|
|
8176
8176
|
currentPath,
|
|
8177
8177
|
resolveSource = "openframe-docs",
|
|
8178
8178
|
resolveLinkEndpointUrl = "/api/docs/resolve-link",
|
|
@@ -8217,7 +8217,7 @@ function RichMarkdownRendererSkeleton({
|
|
|
8217
8217
|
title,
|
|
8218
8218
|
className
|
|
8219
8219
|
}) {
|
|
8220
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8220
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOWQVDWTKcjs.MarkdownEngineSkeleton, { sections, title, textSize: "article", className });
|
|
8221
8221
|
}
|
|
8222
8222
|
|
|
8223
8223
|
// src/components/ui/release-changelog-section.tsx
|
|
@@ -9302,7 +9302,7 @@ function FilterModal({
|
|
|
9302
9302
|
const dateDefaultSort = _nullishCoalesce(_optionalChain([dateFilter, 'optionalAccess', _147 => _147.defaultSort]), () => ( "desc"));
|
|
9303
9303
|
const [draftDateSort, setDraftDateSort] = _react.useState.call(void 0, _nullishCoalesce(_optionalChain([dateFilter, 'optionalAccess', _148 => _148.sort]), () => ( dateDefaultSort)));
|
|
9304
9304
|
const [draftDateRange, setDraftDateRange] = _react.useState.call(void 0, _optionalChain([dateFilter, 'optionalAccess', _149 => _149.range]));
|
|
9305
|
-
const { scrollRef, fadeTop, fadeBottom, update: updateFade } =
|
|
9305
|
+
const { scrollRef, fadeTop, fadeBottom, update: updateFade } = _chunkOWQVDWTKcjs.useScrollFade.call(void 0, );
|
|
9306
9306
|
const seedKey = `${JSON.stringify(currentFilters)}|${JSON.stringify(_nullishCoalesce(selectedTags, () => ( [])))}`;
|
|
9307
9307
|
const seedSourceRef = _react.useRef.call(void 0, { currentFilters, selectedTags, dateFilter, dateDefaultSort });
|
|
9308
9308
|
_react.useEffect.call(void 0, () => {
|
|
@@ -9448,8 +9448,8 @@ function FilterModal({
|
|
|
9448
9448
|
] })
|
|
9449
9449
|
}
|
|
9450
9450
|
),
|
|
9451
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9452
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9451
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOWQVDWTKcjs.ScrollFadeOverlay, { edge: "top", visible: fadeTop }),
|
|
9452
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOWQVDWTKcjs.ScrollFadeOverlay, { edge: "bottom", visible: fadeBottom })
|
|
9453
9453
|
] })
|
|
9454
9454
|
}
|
|
9455
9455
|
),
|
|
@@ -9517,7 +9517,7 @@ function renderAdvancedPageContainer({
|
|
|
9517
9517
|
contentClassName,
|
|
9518
9518
|
showHeader = true
|
|
9519
9519
|
}, inScope = false) {
|
|
9520
|
-
const titleNode = title ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSIDDZZKLcjs.PageTitle, { className: PAGE_CONTAINER_TITLE_CLASS, children:
|
|
9520
|
+
const titleNode = title ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSIDDZZKLcjs.PageTitle, { className: PAGE_CONTAINER_TITLE_CLASS, children: _chunkYG72MEHYcjs.accentSentenceMarks.call(void 0, title) }) : inScope && title === "" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, PageContainerTitleSkeleton, {}) : null;
|
|
9521
9521
|
const subtitleNode = subtitle ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: PAGE_CONTAINER_SUBTITLE_CLASS, children: subtitle }) : inScope && subtitle === "" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, PageContainerSubtitleSkeleton, {}) : null;
|
|
9522
9522
|
const getActionsVariant = () => {
|
|
9523
9523
|
if (actionsVariant) return actionsVariant;
|
|
@@ -9943,7 +9943,7 @@ var BenefitCardGrid = ({ children, className = "", columns = 2 }) => {
|
|
|
9943
9943
|
|
|
9944
9944
|
|
|
9945
9945
|
function PlatformBrowseButton({ item }) {
|
|
9946
|
-
const linkProps =
|
|
9946
|
+
const linkProps = _chunkOWQVDWTKcjs.useNavLinkViaRuntime.call(void 0, { href: item.link, targetPlatform: item.targetPlatform });
|
|
9947
9947
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkTF5D5MNOcjs.Button, { variant: "outline", linkProps, rightIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ExternalLink, { className: "h-4 w-4" }), children: [
|
|
9948
9948
|
"Browse ",
|
|
9949
9949
|
item.buttonText
|
|
@@ -10440,10 +10440,10 @@ var OSTypeBadge = ({
|
|
|
10440
10440
|
if (!osType) {
|
|
10441
10441
|
return labelOnly ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk65VVJSQZcjs.cn.call(void 0, "text-ods-text-secondary", className), children: "Unknown" }) : null;
|
|
10442
10442
|
}
|
|
10443
|
-
const normalized =
|
|
10443
|
+
const normalized = _chunkYWQ3VXPLcjs.normalizeOSType.call(void 0, osType);
|
|
10444
10444
|
if (!normalized && !labelOnly) return null;
|
|
10445
|
-
const label =
|
|
10446
|
-
const IconComponent =
|
|
10445
|
+
const label = _chunkYWQ3VXPLcjs.getOSLabel.call(void 0, osType);
|
|
10446
|
+
const IconComponent = _chunkYWQ3VXPLcjs.getOSIcon.call(void 0, osType);
|
|
10447
10447
|
if (iconOnly && IconComponent) {
|
|
10448
10448
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, IconComponent, { className: _chunk65VVJSQZcjs.cn.call(void 0, iconSize, "text-ods-text-secondary", className) });
|
|
10449
10449
|
}
|
|
@@ -10728,7 +10728,7 @@ function ComplianceLogo({
|
|
|
10728
10728
|
fallback = null,
|
|
10729
10729
|
className
|
|
10730
10730
|
}) {
|
|
10731
|
-
const standard =
|
|
10731
|
+
const standard = _chunkYWQ3VXPLcjs.complianceStandardForName.call(void 0, ...names);
|
|
10732
10732
|
if (!standard) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: fallback });
|
|
10733
10733
|
const Official = standard.logo ? COMPLIANCE_LOGOS[standard.logo] : null;
|
|
10734
10734
|
return Official ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -10807,7 +10807,7 @@ function FeatureCardGridView({
|
|
|
10807
10807
|
if (allCardsHaveNoBorders) {
|
|
10808
10808
|
finalCardClassName = "bg-transparent p-0 overflow-visible border-0 shadow-none rounded-none";
|
|
10809
10809
|
}
|
|
10810
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10810
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOH5LAH3Xcjs.Card, { className: `${finalCardClassName} ${className}`, children: Array.from({ length: rows }, (_, rowIndex) => {
|
|
10811
10811
|
const startIndex = rowIndex * itemsPerRow;
|
|
10812
10812
|
const rowItems = items.slice(startIndex, startIndex + itemsPerRow);
|
|
10813
10813
|
const isLastRow = rowIndex === rows - 1;
|
|
@@ -10841,7 +10841,7 @@ function FeatureCardGridView({
|
|
|
10841
10841
|
item.icon && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start justify-between", children: [
|
|
10842
10842
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, item.icon, { size: 80, color: item.iconColor }),
|
|
10843
10843
|
item.badge && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10844
|
-
|
|
10844
|
+
_chunkOH5LAH3Xcjs.StatusBadge,
|
|
10845
10845
|
{
|
|
10846
10846
|
text: item.badge.text,
|
|
10847
10847
|
variant: item.badge.variant || "card",
|
|
@@ -10850,7 +10850,7 @@ function FeatureCardGridView({
|
|
|
10850
10850
|
)
|
|
10851
10851
|
] }),
|
|
10852
10852
|
!item.icon && item.badge && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-start justify-end", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10853
|
-
|
|
10853
|
+
_chunkOH5LAH3Xcjs.StatusBadge,
|
|
10854
10854
|
{
|
|
10855
10855
|
text: item.badge.text,
|
|
10856
10856
|
variant: item.badge.variant || "card",
|
|
@@ -12513,7 +12513,7 @@ function TableHeader({
|
|
|
12513
12513
|
onFilterChange
|
|
12514
12514
|
}
|
|
12515
12515
|
),
|
|
12516
|
-
column.hint ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12516
|
+
column.hint ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYWQ3VXPLcjs.InfoHint, { label: column.label, children: column.hint }) : null
|
|
12517
12517
|
] })
|
|
12518
12518
|
) : (
|
|
12519
12519
|
/* Non-filterable column — regular label with optional sort */
|
|
@@ -12539,7 +12539,7 @@ function TableHeader({
|
|
|
12539
12539
|
hint exists, so a hint-less header keeps its DOM. */
|
|
12540
12540
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 items-start gap-[var(--spacing-system-xxs)]", children: [
|
|
12541
12541
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: TABLE_HEADER_LABEL_CLASS, children: column.label }),
|
|
12542
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12542
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYWQ3VXPLcjs.InfoHint, { label: column.label, children: column.hint })
|
|
12543
12543
|
] })
|
|
12544
12544
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: TABLE_HEADER_LABEL_CLASS, children: column.label }),
|
|
12545
12545
|
getSortIcon(column)
|
|
@@ -12649,7 +12649,7 @@ function TableRow({
|
|
|
12649
12649
|
const Row = animate && motionDiv ? motionDiv : "div";
|
|
12650
12650
|
const motionProps = animate ? { layout: "position", transition: { layout: { duration: 0.35, ease: [0.22, 1, 0.36, 1] } } } : {};
|
|
12651
12651
|
const handleRowClick = (e) => {
|
|
12652
|
-
if (!
|
|
12652
|
+
if (!_chunkYWQ3VXPLcjs.isOwnClick.call(void 0, e.target, e.currentTarget)) return;
|
|
12653
12653
|
if (onClick) {
|
|
12654
12654
|
onClick(item);
|
|
12655
12655
|
}
|
|
@@ -13046,7 +13046,7 @@ function Table({
|
|
|
13046
13046
|
}
|
|
13047
13047
|
),
|
|
13048
13048
|
!infiniteScroll && pagePagination && !cursorPagination && data.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk65VVJSQZcjs.cn.call(void 0, "mt-2 border-t border-ods-border pt-3", paginationClassName), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13049
|
-
|
|
13049
|
+
_chunkMLX6Z7TUcjs.Pagination,
|
|
13050
13050
|
{
|
|
13051
13051
|
currentPage: pagePagination.currentPage,
|
|
13052
13052
|
totalPages: pagePagination.totalPages,
|
|
@@ -13428,7 +13428,7 @@ function DataTableRowImpl({
|
|
|
13428
13428
|
const containerRef = _react.useRef.call(void 0, null);
|
|
13429
13429
|
const handleClick = _react.useCallback.call(void 0,
|
|
13430
13430
|
(e) => {
|
|
13431
|
-
if (!
|
|
13431
|
+
if (!_chunkYWQ3VXPLcjs.isOwnClick.call(void 0, e.target, containerRef.current)) {
|
|
13432
13432
|
if (isLinkMode) e.preventDefault();
|
|
13433
13433
|
return;
|
|
13434
13434
|
}
|
|
@@ -13879,7 +13879,7 @@ function HeaderCell({ header, sort, onSortChange }) {
|
|
|
13879
13879
|
// child of the cell.
|
|
13880
13880
|
_optionalChain([meta, 'optionalAccess', _241 => _241.hint]) ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start gap-[var(--spacing-system-xxs)]", children: [
|
|
13881
13881
|
filterTrigger,
|
|
13882
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13882
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYWQ3VXPLcjs.InfoHint, { label: resolveHeaderLabel(header), children: meta.hint })
|
|
13883
13883
|
] }) : filterTrigger
|
|
13884
13884
|
) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
13885
13885
|
"div",
|
|
@@ -13904,7 +13904,7 @@ function HeaderCell({ header, sort, onSortChange }) {
|
|
|
13904
13904
|
// centred on the row.
|
|
13905
13905
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 items-start gap-[var(--spacing-system-xxs)]", children: [
|
|
13906
13906
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, HeaderLabel, { header }),
|
|
13907
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13907
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYWQ3VXPLcjs.InfoHint, { label: resolveHeaderLabel(header), children: meta.hint })
|
|
13908
13908
|
] })
|
|
13909
13909
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, HeaderLabel, { header }),
|
|
13910
13910
|
canSort && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SortIcon, { sorted: sortDir })
|
|
@@ -14138,7 +14138,7 @@ function PhoneInput({
|
|
|
14138
14138
|
placeholder = "Phone Number (optional)",
|
|
14139
14139
|
onKeyDown
|
|
14140
14140
|
}) {
|
|
14141
|
-
const { priority, others } = _react.useMemo.call(void 0, () =>
|
|
14141
|
+
const { priority, others } = _react.useMemo.call(void 0, () => _chunkYWQ3VXPLcjs.getCountryPhoneData.call(void 0, ), []);
|
|
14142
14142
|
const selectedCountry = _react.useMemo.call(void 0,
|
|
14143
14143
|
() => [...priority, ...others].find((c) => c.code === countryCode),
|
|
14144
14144
|
[countryCode, priority, others]
|
|
@@ -14153,7 +14153,7 @@ function PhoneInput({
|
|
|
14153
14153
|
_optionalChain([onValidationChange, 'optionalCall', _254 => _254(false)]);
|
|
14154
14154
|
return;
|
|
14155
14155
|
}
|
|
14156
|
-
const invalid = !
|
|
14156
|
+
const invalid = !_chunkYWQ3VXPLcjs.validatePhoneNumber.call(void 0, phone, countryCode);
|
|
14157
14157
|
setIsInvalid(invalid);
|
|
14158
14158
|
_optionalChain([onValidationChange, 'optionalCall', _255 => _255(invalid)]);
|
|
14159
14159
|
},
|
|
@@ -15019,7 +15019,7 @@ function MarkdownLinkDialog({ isOpen, initial, editing, onSubmit, onRemove, onCl
|
|
|
15019
15019
|
),
|
|
15020
15020
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-xsf)]", children: [
|
|
15021
15021
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15022
|
-
|
|
15022
|
+
_chunkOWQVDWTKcjs.TabSelector,
|
|
15023
15023
|
{
|
|
15024
15024
|
label: "Search engines",
|
|
15025
15025
|
value: choice,
|
|
@@ -15076,7 +15076,7 @@ function useMarkdownLinkCommand() {
|
|
|
15076
15076
|
buttonProps: { "aria-label": "Add or edit a link (ctrl + l)", title: "Add or edit a link (ctrl + l)" },
|
|
15077
15077
|
icon: command.icon,
|
|
15078
15078
|
execute: (state, api) => {
|
|
15079
|
-
const existing =
|
|
15079
|
+
const existing = _chunkOWQVDWTKcjs.findMarkdownLinkAt.call(void 0, state.text, state.selection.start, state.selection.end);
|
|
15080
15080
|
setPending(
|
|
15081
15081
|
existing ? {
|
|
15082
15082
|
api,
|
|
@@ -15107,7 +15107,7 @@ function useMarkdownLinkCommand() {
|
|
|
15107
15107
|
initial: _nullishCoalesce(_optionalChain([pending, 'optionalAccess', _312 => _312.initial]), () => ( EMPTY_LINK)),
|
|
15108
15108
|
editing: _nullishCoalesce(_optionalChain([pending, 'optionalAccess', _313 => _313.editing]), () => ( false)),
|
|
15109
15109
|
onSubmit: (link) => {
|
|
15110
|
-
if (pending) write(pending,
|
|
15110
|
+
if (pending) write(pending, _chunkOWQVDWTKcjs.formatMarkdownLink.call(void 0, link));
|
|
15111
15111
|
},
|
|
15112
15112
|
onRemove: () => {
|
|
15113
15113
|
if (pending) write(pending, pending.initial.text);
|
|
@@ -15273,7 +15273,7 @@ function MarkdownEditor({
|
|
|
15273
15273
|
setUploadProgress(`Uploading ${file.name}...`);
|
|
15274
15274
|
try {
|
|
15275
15275
|
const url = await onUploadFile(file);
|
|
15276
|
-
const isImage =
|
|
15276
|
+
const isImage = _chunkYG72MEHYcjs.fileMediaType.call(void 0, file) === "image";
|
|
15277
15277
|
const markdown = isImage ? `` : `[${file.name}](${url})`;
|
|
15278
15278
|
insertTextAtCursor(markdown);
|
|
15279
15279
|
_optionalChain([onFileUploaded, 'optionalCall', _316 => _316(url, file.name)]);
|
|
@@ -15403,7 +15403,7 @@ function MarkdownEditor({
|
|
|
15403
15403
|
type: "file",
|
|
15404
15404
|
className: "hidden",
|
|
15405
15405
|
onChange: handleFileInputChange,
|
|
15406
|
-
accept: `${
|
|
15406
|
+
accept: `${_chunkYG72MEHYcjs.IMAGE_FILE_ACCEPT},.pdf,.doc,.docx,.xls,.xlsx,.ppt,.pptx,.zip,.txt`
|
|
15407
15407
|
}
|
|
15408
15408
|
),
|
|
15409
15409
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, MarkdownEditorHeightContext.Provider, { value: height, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _react.Suspense, { fallback: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MarkdownEditorFieldSkeleton, { height }), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -15804,7 +15804,7 @@ function matchesAccept2(file, accept) {
|
|
|
15804
15804
|
return patterns.some((pattern) => {
|
|
15805
15805
|
if (pattern.startsWith(".")) return fileName.endsWith(pattern);
|
|
15806
15806
|
if (pattern.endsWith("/*"))
|
|
15807
|
-
return fileType.startsWith(pattern.slice(0, -1)) ||
|
|
15807
|
+
return fileType.startsWith(pattern.slice(0, -1)) || _chunkYG72MEHYcjs.fileMediaType.call(void 0, file) === pattern.slice(0, -2);
|
|
15808
15808
|
return fileType === pattern;
|
|
15809
15809
|
});
|
|
15810
15810
|
}
|
|
@@ -15812,7 +15812,7 @@ function ImageUploader({
|
|
|
15812
15812
|
value,
|
|
15813
15813
|
onChange,
|
|
15814
15814
|
onRemove,
|
|
15815
|
-
accept =
|
|
15815
|
+
accept = _chunkYG72MEHYcjs.IMAGE_FILE_ACCEPT,
|
|
15816
15816
|
maxSize = DEFAULT_MAX_SIZE,
|
|
15817
15817
|
label = "Cover Image",
|
|
15818
15818
|
description = "(Click Here or Drag and Drop)",
|
|
@@ -16432,7 +16432,7 @@ var SKELETON_COLUMNS = 6;
|
|
|
16432
16432
|
function TestResultsSkeleton({
|
|
16433
16433
|
region = true
|
|
16434
16434
|
} = {}) {
|
|
16435
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWEANWBJHcjs.LoadingRegion, { label: "Loading the test results", announce: region, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16435
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWEANWBJHcjs.LoadingRegion, { label: "Loading the test results", announce: region, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOWQVDWTKcjs.ScrollShadow, { axis: "horizontal", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-max min-w-full flex-col", children: [
|
|
16436
16436
|
/* @__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, _chunkXFRBEXQNcjs.UnifiedSkeleton, { className: "h-4 w-3/4 rounded-sm" }) }, `skeleton-header-${i}`)) }),
|
|
16437
16437
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "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, _chunkXFRBEXQNcjs.UnifiedSkeleton, { className: "h-5 w-3/4 rounded-sm" }) }, `skeleton-cell-${i}`)) }) })
|
|
16438
16438
|
] }) }) });
|
|
@@ -16467,7 +16467,7 @@ function TestResultsTable({ rows, loading }) {
|
|
|
16467
16467
|
if (loading) {
|
|
16468
16468
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TestResultsSkeleton, {});
|
|
16469
16469
|
}
|
|
16470
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16470
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOWQVDWTKcjs.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: [
|
|
16471
16471
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DataTable.Header, { className: "flex flex-col" }),
|
|
16472
16472
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DataTable.Body, { loading: false })
|
|
16473
16473
|
] }) }) });
|
|
@@ -16950,7 +16950,7 @@ function TicketInfoSection({
|
|
|
16950
16950
|
expanded && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
16951
16951
|
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" }) }),
|
|
16952
16952
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-4 border-b border-ods-border bg-ods-bg p-4", children: [
|
|
16953
|
-
description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16953
|
+
description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOWQVDWTKcjs.SimpleMarkdownRenderer, { content: description }),
|
|
16954
16954
|
attachments && attachments.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketDetailSection, { label: "Attachments", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketAttachmentsList, { attachments }) }),
|
|
16955
16955
|
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, _chunkBNUZKBNVcjs.Tag, { label: tag, variant: "outline", className: "max-w-full" }, tag)) }) }),
|
|
16956
16956
|
(notes || onAddNote) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketDetailSection, { label: "Notes", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -17435,7 +17435,7 @@ function PhotoWall({
|
|
|
17435
17435
|
gap: COLUMN_GAP_PX
|
|
17436
17436
|
};
|
|
17437
17437
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: rootRef, "aria-hidden": "true", className: _chunk65VVJSQZcjs.cn.call(void 0, "grid overflow-hidden", className), style: gridStyle, children: columnsToDraw ? columnsToDraw.map((column, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17438
|
-
|
|
17438
|
+
_chunkOWQVDWTKcjs.MarqueeWall,
|
|
17439
17439
|
{
|
|
17440
17440
|
axis: "y",
|
|
17441
17441
|
reverse: index % 2 === 1,
|
|
@@ -17981,7 +17981,7 @@ var TRIAL_TERM_ICONS = {
|
|
|
17981
17981
|
};
|
|
17982
17982
|
var DEFAULT_TRIAL_TERMS = ["cancel", "length", "noContract"];
|
|
17983
17983
|
function trialBenefits(trialDays, terms = DEFAULT_TRIAL_TERMS) {
|
|
17984
|
-
const labels =
|
|
17984
|
+
const labels = _chunkYWQ3VXPLcjs.trialLabels.call(void 0, trialDays);
|
|
17985
17985
|
return terms.flatMap((term) => {
|
|
17986
17986
|
const label = labels[term];
|
|
17987
17987
|
return label ? [{ icon: TRIAL_TERM_ICONS[term], label }] : [];
|
|
@@ -18880,7 +18880,7 @@ function SsoProviderButtons({
|
|
|
18880
18880
|
// where a long organization name would otherwise push the label out of a phone-width
|
|
18881
18881
|
// button. `block` over its inline-flex, because an ellipsis only renders on a block box.
|
|
18882
18882
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18883
|
-
|
|
18883
|
+
_chunkOH5LAH3Xcjs.StatusBadge,
|
|
18884
18884
|
{
|
|
18885
18885
|
text: tag,
|
|
18886
18886
|
variant: "button",
|
|
@@ -18939,7 +18939,7 @@ function CompleteAccountForm({
|
|
|
18939
18939
|
),
|
|
18940
18940
|
children: [
|
|
18941
18941
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
|
|
18942
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
18942
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunkYG72MEHYcjs.accentSentenceMarks.call(void 0, title) }),
|
|
18943
18943
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: subtitle })
|
|
18944
18944
|
] }),
|
|
18945
18945
|
ssoProviders && ssoProviders.length > 0 && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
@@ -19087,7 +19087,7 @@ function CreateOrganizationForm({
|
|
|
19087
19087
|
),
|
|
19088
19088
|
children: [
|
|
19089
19089
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
|
|
19090
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
19090
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunkYG72MEHYcjs.accentSentenceMarks.call(void 0, title) }),
|
|
19091
19091
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: subtitle })
|
|
19092
19092
|
] }),
|
|
19093
19093
|
email === void 0 ? null : emailReadOnly ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYXDHVHB2cjs.Input, { type: "email", label: emailReadOnlyLabel, value: email, readOnly: true, disabled: true }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -19228,7 +19228,7 @@ function InviteLinkInvalidModal({
|
|
|
19228
19228
|
),
|
|
19229
19229
|
children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full max-w-[600px] flex-col gap-[var(--spacing-system-l)] rounded-md border border-ods-border bg-ods-card p-[var(--spacing-system-xl)]", children: [
|
|
19230
19230
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-mf)]", children: [
|
|
19231
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "flex-1 tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
19231
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "flex-1 tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunkYG72MEHYcjs.accentSentenceMarks.call(void 0, title) }),
|
|
19232
19232
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19233
19233
|
"button",
|
|
19234
19234
|
{
|
|
@@ -19309,7 +19309,7 @@ function LoginForm({
|
|
|
19309
19309
|
),
|
|
19310
19310
|
children: [
|
|
19311
19311
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
|
|
19312
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
19312
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunkYG72MEHYcjs.accentSentenceMarks.call(void 0, title) }),
|
|
19313
19313
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: subtitle })
|
|
19314
19314
|
] }),
|
|
19315
19315
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -19435,7 +19435,7 @@ function NoAccountNotice({
|
|
|
19435
19435
|
),
|
|
19436
19436
|
children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full max-w-[600px] flex-col gap-[var(--spacing-system-l)] rounded-md border border-ods-border bg-ods-card p-[var(--spacing-system-xl)]", children: [
|
|
19437
19437
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
|
|
19438
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
19438
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunkYG72MEHYcjs.accentSentenceMarks.call(void 0, title) }),
|
|
19439
19439
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: description })
|
|
19440
19440
|
] }),
|
|
19441
19441
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTF5D5MNOcjs.Button, { type: "button", variant: "outline", fullWidth: true, onClick: onBackToLogin, children: backLabel })
|
|
@@ -19484,7 +19484,7 @@ function OpenFrameSsoLoginForm({
|
|
|
19484
19484
|
),
|
|
19485
19485
|
children: [
|
|
19486
19486
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-xs)]", children: [
|
|
19487
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
19487
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunkYG72MEHYcjs.accentSentenceMarks.call(void 0, title) }),
|
|
19488
19488
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: subtitle })
|
|
19489
19489
|
] }),
|
|
19490
19490
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -19589,7 +19589,7 @@ function OpenFrameSsoSignUpForm({
|
|
|
19589
19589
|
),
|
|
19590
19590
|
children: [
|
|
19591
19591
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-xs)]", children: [
|
|
19592
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
19592
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunkYG72MEHYcjs.accentSentenceMarks.call(void 0, title) }),
|
|
19593
19593
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: subtitle })
|
|
19594
19594
|
] }),
|
|
19595
19595
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -19695,7 +19695,7 @@ function PasswordResetForm({
|
|
|
19695
19695
|
),
|
|
19696
19696
|
children: [
|
|
19697
19697
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
|
|
19698
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
19698
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunkYG72MEHYcjs.accentSentenceMarks.call(void 0, title) }),
|
|
19699
19699
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: subtitle })
|
|
19700
19700
|
] }),
|
|
19701
19701
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -19812,7 +19812,7 @@ function SsoJoinForm({
|
|
|
19812
19812
|
),
|
|
19813
19813
|
children: [
|
|
19814
19814
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
|
|
19815
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
19815
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunkYG72MEHYcjs.accentSentenceMarks.call(void 0, title) }),
|
|
19816
19816
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: subtitle })
|
|
19817
19817
|
] }),
|
|
19818
19818
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-s)] rounded-md border border-ods-border bg-ods-bg p-[var(--spacing-system-m)]", children: [
|
|
@@ -20074,7 +20074,7 @@ function ChangelogManager({
|
|
|
20074
20074
|
),
|
|
20075
20075
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0 flex-1", children: hasContent ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "truncate text-ods-text-primary text-h6", children: entry.title }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "italic text-ods-text-secondary text-h6", children: "New entry (click to edit)" }) }),
|
|
20076
20076
|
tagOptions && tagLabelOf(entry.tag) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20077
|
-
|
|
20077
|
+
_chunkOH5LAH3Xcjs.StatusBadge,
|
|
20078
20078
|
{
|
|
20079
20079
|
variant: "button",
|
|
20080
20080
|
singleLine: true,
|
|
@@ -20421,11 +20421,11 @@ function EntityTagBadgesSkeleton({
|
|
|
20421
20421
|
i >= count && "content-md:hidden"
|
|
20422
20422
|
),
|
|
20423
20423
|
"data-loading-item": true,
|
|
20424
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20424
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOH5LAH3Xcjs.StatusBadgeSkeleton, { variant: "card", className: _chunk65VVJSQZcjs.cn.call(void 0, "border", _nullishCoalesce(itemClassName, () => ( TAG_SKELETON_WIDTH_CLASS))) })
|
|
20425
20425
|
},
|
|
20426
20426
|
i
|
|
20427
20427
|
)),
|
|
20428
|
-
overflow && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: TAG_ITEM_CLASS, "data-loading-item": true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20428
|
+
overflow && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: TAG_ITEM_CLASS, "data-loading-item": true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOH5LAH3Xcjs.StatusBadgeSkeleton, { variant: "card", className: _chunk65VVJSQZcjs.cn.call(void 0, "border", OVERFLOW_BADGE_SKELETON_CLASS) }) })
|
|
20429
20429
|
] });
|
|
20430
20430
|
}
|
|
20431
20431
|
function EntityTagBadges({
|
|
@@ -20462,7 +20462,7 @@ function EntityTagBadges({
|
|
|
20462
20462
|
const label = (tag.name || "").toUpperCase();
|
|
20463
20463
|
if (basePath && tag.slug) {
|
|
20464
20464
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _link2.default, { href: `${basePath}?tags=${tag.slug}`, className: itemClass(index), "data-loading-item": true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20465
|
-
|
|
20465
|
+
_chunkOH5LAH3Xcjs.StatusBadge,
|
|
20466
20466
|
{
|
|
20467
20467
|
text: label,
|
|
20468
20468
|
variant: "card",
|
|
@@ -20470,7 +20470,7 @@ function EntityTagBadges({
|
|
|
20470
20470
|
}
|
|
20471
20471
|
) }, key);
|
|
20472
20472
|
}
|
|
20473
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: itemClass(index), "data-loading-item": true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20473
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: itemClass(index), "data-loading-item": true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOH5LAH3Xcjs.StatusBadge, { text: label, variant: "card", className: BADGE_CLASS }) }, key);
|
|
20474
20474
|
}),
|
|
20475
20475
|
phoneOverflow === overflow ? overflow > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, OverflowBadge, { count: overflow }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
20476
20476
|
phoneOverflow > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, OverflowBadge, { count: phoneOverflow, className: "content-md:hidden" }),
|
|
@@ -20479,7 +20479,7 @@ function EntityTagBadges({
|
|
|
20479
20479
|
] });
|
|
20480
20480
|
}
|
|
20481
20481
|
function OverflowBadge({ count, className }) {
|
|
20482
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk65VVJSQZcjs.cn.call(void 0, TAG_ITEM_CLASS, className), "data-loading-item": true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20482
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk65VVJSQZcjs.cn.call(void 0, TAG_ITEM_CLASS, className), "data-loading-item": true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOH5LAH3Xcjs.StatusBadge, { text: `+${count}`, variant: "card", className: _chunk65VVJSQZcjs.cn.call(void 0, BADGE_CLASS, "text-ods-text-secondary") }) });
|
|
20483
20483
|
}
|
|
20484
20484
|
|
|
20485
20485
|
// src/components/features/error-boundary.tsx
|
|
@@ -20574,7 +20574,7 @@ var SectionButton = ({
|
|
|
20574
20574
|
}
|
|
20575
20575
|
),
|
|
20576
20576
|
section.badge && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20577
|
-
|
|
20577
|
+
_chunkOH5LAH3Xcjs.StatusBadge,
|
|
20578
20578
|
{
|
|
20579
20579
|
text: section.badge.text,
|
|
20580
20580
|
variant: section.badge.variant || "button",
|
|
@@ -20593,7 +20593,7 @@ var SectionButton = ({
|
|
|
20593
20593
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-wrap items-start gap-2", children: [
|
|
20594
20594
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk65VVJSQZcjs.cn.call(void 0, titleClasses, "text-h3"), style: { textAlign: "left" }, children: section.title }),
|
|
20595
20595
|
section.badge && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20596
|
-
|
|
20596
|
+
_chunkOH5LAH3Xcjs.StatusBadge,
|
|
20597
20597
|
{
|
|
20598
20598
|
text: section.badge.text,
|
|
20599
20599
|
variant: section.badge.variant || "button",
|
|
@@ -21658,15 +21658,15 @@ function useLoading() {
|
|
|
21658
21658
|
|
|
21659
21659
|
|
|
21660
21660
|
function isAlreadyThere(file, existing) {
|
|
21661
|
-
const key =
|
|
21661
|
+
const key = _chunkYG72MEHYcjs.mediaNameKey.call(void 0, file.name);
|
|
21662
21662
|
if (!key) return false;
|
|
21663
21663
|
return existing.some(
|
|
21664
|
-
(item) => (item.title ?
|
|
21664
|
+
(item) => (item.title ? _chunkYG72MEHYcjs.mediaNameKey.call(void 0, item.title) === key : false) || (item.media_url ? _chunkYG72MEHYcjs.mediaNameKey.call(void 0, item.media_url) === key : false)
|
|
21665
21665
|
);
|
|
21666
21666
|
}
|
|
21667
21667
|
var isFileDrag = (event) => Array.from(event.dataTransfer.types).includes("Files");
|
|
21668
|
-
var isVideoItem = (item) =>
|
|
21669
|
-
var MEDIA_KIND_ACCEPT = { image:
|
|
21668
|
+
var isVideoItem = (item) => _chunkYG72MEHYcjs.isVideoMedia.call(void 0, item) || item.media_type === "demo";
|
|
21669
|
+
var MEDIA_KIND_ACCEPT = { image: _chunkYG72MEHYcjs.IMAGE_FILE_ACCEPT, video: "video/*", both: _chunkYG72MEHYcjs.MEDIA_FILE_ACCEPT };
|
|
21670
21670
|
var MEDIA_KIND_COPY = {
|
|
21671
21671
|
image: { noun: "pictures", refusal: "Not a picture" },
|
|
21672
21672
|
video: { noun: "videos", refusal: "Not a video" },
|
|
@@ -21690,12 +21690,12 @@ function useMediaIntake({ existing, onUpload, onUploaded, kinds = "both" }) {
|
|
|
21690
21690
|
const seen = /* @__PURE__ */ new Set();
|
|
21691
21691
|
const accepted = [];
|
|
21692
21692
|
for (const file of files) {
|
|
21693
|
-
const mediaType =
|
|
21693
|
+
const mediaType = _chunkYG72MEHYcjs.fileMediaType.call(void 0, file);
|
|
21694
21694
|
if (!mediaType || kinds !== "both" && mediaType !== kinds) {
|
|
21695
21695
|
unsupported.push(file.name);
|
|
21696
21696
|
continue;
|
|
21697
21697
|
}
|
|
21698
|
-
const contentKey = await
|
|
21698
|
+
const contentKey = await _chunkYG72MEHYcjs.fileContentKey.call(void 0, file).catch(() => `${file.name}:${file.size}`);
|
|
21699
21699
|
if (seen.has(contentKey) || isAlreadyThere(file, existingRef.current)) {
|
|
21700
21700
|
duplicates.push(file.name);
|
|
21701
21701
|
continue;
|
|
@@ -21876,7 +21876,7 @@ function MediaGalleryManager({
|
|
|
21876
21876
|
className: _chunk65VVJSQZcjs.cn.call(void 0, "grid grid-cols-1 gap-4 content-md:grid-cols-2", columns === 3 && "content-lg:grid-cols-3"),
|
|
21877
21877
|
children: [
|
|
21878
21878
|
media.map((item, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
21879
|
-
|
|
21879
|
+
_chunkOH5LAH3Xcjs.Card,
|
|
21880
21880
|
{
|
|
21881
21881
|
className: "group relative border-ods-border transition-colors hover:border-ods-accent/30",
|
|
21882
21882
|
draggable: true,
|
|
@@ -21901,7 +21901,7 @@ function MediaGalleryManager({
|
|
|
21901
21901
|
) }),
|
|
21902
21902
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "relative aspect-video overflow-hidden rounded-lg bg-ods-bg", children: isVideoItem(item) ? (
|
|
21903
21903
|
// <Video> SSOT (MuxPlayer): plays Mux HLS and MP4 alike; fit="cover" crops to the cell.
|
|
21904
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21904
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOH5LAH3Xcjs.Video, { kind: "file", url: item.media_url, fit: "cover", className: "h-full w-full" })
|
|
21905
21905
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21906
21906
|
_chunkE76ONBKFcjs.next_image_default,
|
|
21907
21907
|
{
|
|
@@ -21953,7 +21953,7 @@ function MediaGalleryManager({
|
|
|
21953
21953
|
},
|
|
21954
21954
|
_nullishCoalesce(item.id, () => ( `${item.media_url}-${index}`))
|
|
21955
21955
|
)),
|
|
21956
|
-
pending.map((name, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
21956
|
+
pending.map((name, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkOH5LAH3Xcjs.Card, { className: "border-ods-border", "aria-busy": "true", children: [
|
|
21957
21957
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex aspect-video items-center justify-center rounded-lg bg-ods-bg", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Loader2, { className: "h-8 w-8 animate-spin text-ods-accent" }) }),
|
|
21958
21958
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "truncate p-3 text-ods-text-secondary text-h6", children: name })
|
|
21959
21959
|
] }, `pending-${name}-${index}`))
|
|
@@ -22307,7 +22307,7 @@ var MODEL_TOKEN_RATES_COPY = {
|
|
|
22307
22307
|
empty: "No token rates are in effect right now."
|
|
22308
22308
|
};
|
|
22309
22309
|
function providerMark(providerType, stated, className) {
|
|
22310
|
-
const Mark = _chunkTUAATMUEcjs.findIcon.call(void 0,
|
|
22310
|
+
const Mark = _chunkTUAATMUEcjs.findIcon.call(void 0, _chunkYWQ3VXPLcjs.aiProvider.call(void 0, providerType, { icon: stated }).icon);
|
|
22311
22311
|
return Mark ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Mark, { className }) : void 0;
|
|
22312
22312
|
}
|
|
22313
22313
|
var PAD_X = "px-[var(--spacing-system-s)]";
|
|
@@ -22325,7 +22325,7 @@ var UNIT_LINE_CLASS = _chunk65VVJSQZcjs.cn.call(void 0,
|
|
|
22325
22325
|
var TABS_ROW_CLASS = _chunk65VVJSQZcjs.cn.call(void 0, "shrink-0 border-b border-ods-border py-[var(--spacing-system-xs)]", PAD_X);
|
|
22326
22326
|
var NUMBER_CELL = "w-16 shrink-0 whitespace-nowrap text-right tabular-nums";
|
|
22327
22327
|
function useProviderGroup(rates) {
|
|
22328
|
-
const groups =
|
|
22328
|
+
const groups = _chunkYWQ3VXPLcjs.groupTokenRatesByProvider.call(void 0, rates);
|
|
22329
22329
|
const [picked, setPicked] = _react.useState.call(void 0, null);
|
|
22330
22330
|
return { groups, group: _nullishCoalesce(groups.find((candidate) => candidate.providerType === picked), () => ( groups[0])), setPicked };
|
|
22331
22331
|
}
|
|
@@ -22336,7 +22336,7 @@ function ProviderTabs({
|
|
|
22336
22336
|
className
|
|
22337
22337
|
}) {
|
|
22338
22338
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22339
|
-
|
|
22339
|
+
_chunkOWQVDWTKcjs.TabSelector,
|
|
22340
22340
|
{
|
|
22341
22341
|
variant: "secondary",
|
|
22342
22342
|
scrollable: true,
|
|
@@ -22344,7 +22344,7 @@ function ProviderTabs({
|
|
|
22344
22344
|
onValueChange,
|
|
22345
22345
|
items: groups.map((candidate) => ({
|
|
22346
22346
|
id: candidate.providerType,
|
|
22347
|
-
label:
|
|
22347
|
+
label: _chunkYWQ3VXPLcjs.tokenRateProviderLabel.call(void 0, candidate.providerType, _optionalChain([candidate, 'access', _455 => _455.rates, 'access', _456 => _456[0], 'optionalAccess', _457 => _457.providerLabel])),
|
|
22348
22348
|
icon: providerMark(candidate.providerType, _optionalChain([candidate, 'access', _458 => _458.rates, 'access', _459 => _459[0], 'optionalAccess', _460 => _460.providerIcon]), "size-full")
|
|
22349
22349
|
})),
|
|
22350
22350
|
className
|
|
@@ -22422,8 +22422,8 @@ function ModelTokenRatesTable({ rates }) {
|
|
|
22422
22422
|
] }),
|
|
22423
22423
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { role: "rowgroup", className: "min-h-0 flex-1 overflow-y-auto", children: group.rates.map((rate) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { role: "row", className: BODY_ROW_CLASS, children: [
|
|
22424
22424
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "rowheader", className: "min-w-0 flex-1 truncate", children: rate.displayName || rate.modelName }),
|
|
22425
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "cell", className: NUMBER_CELL, children:
|
|
22426
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "cell", className: NUMBER_CELL, children:
|
|
22425
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "cell", className: NUMBER_CELL, children: _chunkYWQ3VXPLcjs.formatTokenRate.call(void 0, rate.inputTokenRate) }),
|
|
22426
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "cell", className: NUMBER_CELL, children: _chunkYWQ3VXPLcjs.formatTokenRate.call(void 0, rate.outputTokenRate) })
|
|
22427
22427
|
] }, rate.modelName)) })
|
|
22428
22428
|
] }),
|
|
22429
22429
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: UNIT_LINE_CLASS, children: MODEL_TOKEN_RATES_COPY.unit })
|
|
@@ -22473,7 +22473,7 @@ function modelOption(rate) {
|
|
|
22473
22473
|
return {
|
|
22474
22474
|
label: rate.displayName || rate.modelName,
|
|
22475
22475
|
value: rate.modelName,
|
|
22476
|
-
description:
|
|
22476
|
+
description: _chunkYWQ3VXPLcjs.tokenRateProviderLabel.call(void 0, rate.providerType, rate.providerLabel),
|
|
22477
22477
|
icon: providerMark(rate.providerType, rate.providerIcon, "size-full text-ods-text-secondary")
|
|
22478
22478
|
};
|
|
22479
22479
|
}
|
|
@@ -22527,8 +22527,8 @@ function ModelTokenExchange({
|
|
|
22527
22527
|
const [chosen, setChosen] = _react.useState.call(void 0, null);
|
|
22528
22528
|
const balance = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(chosen, () => ( defaultAmount)), () => ( _optionalChain([tokenPrice, 'optionalAccess', _461 => _461.tokens]))), () => ( MODEL_TOKEN_EXCHANGE_BALANCE));
|
|
22529
22529
|
const max = Math.max(amountRange.max, balance, ...presets.map((preset) => preset.tokens));
|
|
22530
|
-
const tokens =
|
|
22531
|
-
const cost =
|
|
22530
|
+
const tokens = _chunkYWQ3VXPLcjs.formatTokenAmount.call(void 0, balance);
|
|
22531
|
+
const cost = _chunkYWQ3VXPLcjs.tokenCost.call(void 0, balance, tokenPrice);
|
|
22532
22532
|
const balancePrice = cost === null ? null : _chunkBNUZKBNVcjs.formatPrice.call(void 0, cost);
|
|
22533
22533
|
const model = rate ? rate.displayName || rate.modelName : "";
|
|
22534
22534
|
const options = models.map(modelOption);
|
|
@@ -22570,7 +22570,7 @@ function ModelTokenExchange({
|
|
|
22570
22570
|
variant: preset.tokens === balance ? "accent" : "outline",
|
|
22571
22571
|
size: "small",
|
|
22572
22572
|
onClick: () => setChosen(preset.tokens),
|
|
22573
|
-
children: copy.buy.preset(
|
|
22573
|
+
children: copy.buy.preset(_chunkYWQ3VXPLcjs.formatTokenAmount.call(void 0, preset.tokens), preset.label)
|
|
22574
22574
|
},
|
|
22575
22575
|
preset.label
|
|
22576
22576
|
)) })
|
|
@@ -22587,7 +22587,7 @@ function ModelTokenExchange({
|
|
|
22587
22587
|
const stated = _nullishCoalesce(models.find((option) => option.providerType === providerType), () => ( (_optionalChain([rate, 'optionalAccess', _462 => _462.providerType]) === providerType ? rate : null)));
|
|
22588
22588
|
return {
|
|
22589
22589
|
id: providerType,
|
|
22590
|
-
name:
|
|
22590
|
+
name: _chunkYWQ3VXPLcjs.tokenRateProviderLabel.call(void 0, providerType, _optionalChain([stated, 'optionalAccess', _463 => _463.providerLabel])),
|
|
22591
22591
|
icon: providerMark(providerType, _optionalChain([stated, 'optionalAccess', _464 => _464.providerIcon]), "size-8 text-ods-text-secondary")
|
|
22592
22592
|
};
|
|
22593
22593
|
}),
|
|
@@ -22626,7 +22626,7 @@ function ModelTokenExchange({
|
|
|
22626
22626
|
{
|
|
22627
22627
|
size: "plain",
|
|
22628
22628
|
loading,
|
|
22629
|
-
figure:
|
|
22629
|
+
figure: _chunkYWQ3VXPLcjs.formatTokenRate.call(void 0, _optionalChain([rate, 'optionalAccess', _469 => _469.inputTokenRate])),
|
|
22630
22630
|
words: copy.charge.input
|
|
22631
22631
|
}
|
|
22632
22632
|
),
|
|
@@ -22635,7 +22635,7 @@ function ModelTokenExchange({
|
|
|
22635
22635
|
{
|
|
22636
22636
|
size: "plain",
|
|
22637
22637
|
loading,
|
|
22638
|
-
figure:
|
|
22638
|
+
figure: _chunkYWQ3VXPLcjs.formatTokenRate.call(void 0, _optionalChain([rate, 'optionalAccess', _470 => _470.outputTokenRate])),
|
|
22639
22639
|
words: copy.charge.output
|
|
22640
22640
|
}
|
|
22641
22641
|
)
|
|
@@ -22647,9 +22647,9 @@ function ModelTokenExchange({
|
|
|
22647
22647
|
className: "mt-auto flex flex-col rounded-md border border-ods-accent bg-ods-bg p-[var(--spacing-system-mf)]",
|
|
22648
22648
|
children: [
|
|
22649
22649
|
/* @__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, _chunkXFRBEXQNcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-full max-w-xs" }) : copy.charge.so(_nullishCoalesce(balancePrice, () => ( copy.buy.tokens(tokens))), model) }),
|
|
22650
|
-
/* @__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, _chunkXFRBEXQNcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-40" }) :
|
|
22650
|
+
/* @__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, _chunkXFRBEXQNcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-40" }) : _chunkYWQ3VXPLcjs.formatTokenAmount.call(void 0, _chunkYWQ3VXPLcjs.tokensForBalance.call(void 0, balance, rate.inputTokenRate)) }),
|
|
22651
22651
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-h-[1lh] text-ods-text-primary text-h3", children: copy.charge.read }),
|
|
22652
|
-
/* @__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, _chunkXFRBEXQNcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-48" }) : copy.charge.orWritten(
|
|
22652
|
+
/* @__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, _chunkXFRBEXQNcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-48" }) : copy.charge.orWritten(_chunkYWQ3VXPLcjs.formatTokenAmount.call(void 0, _chunkYWQ3VXPLcjs.tokensForBalance.call(void 0, balance, rate.outputTokenRate))) })
|
|
22653
22653
|
]
|
|
22654
22654
|
}
|
|
22655
22655
|
)
|
|
@@ -23188,14 +23188,14 @@ var ConfidenceBadge = ({
|
|
|
23188
23188
|
size = "sm",
|
|
23189
23189
|
className
|
|
23190
23190
|
}) => {
|
|
23191
|
-
const level =
|
|
23191
|
+
const level = _chunkYWQ3VXPLcjs.getConfidenceLevel.call(void 0, confidence);
|
|
23192
23192
|
if (level === "none") {
|
|
23193
23193
|
return null;
|
|
23194
23194
|
}
|
|
23195
|
-
const label =
|
|
23196
|
-
const borderClass =
|
|
23197
|
-
const textClass =
|
|
23198
|
-
const bgClass =
|
|
23195
|
+
const label = _chunkYWQ3VXPLcjs.getConfidenceLabel.call(void 0, confidence);
|
|
23196
|
+
const borderClass = _chunkYWQ3VXPLcjs.getConfidenceBorderClass.call(void 0, confidence);
|
|
23197
|
+
const textClass = _chunkYWQ3VXPLcjs.getConfidenceTextClass.call(void 0, confidence);
|
|
23198
|
+
const bgClass = _chunkYWQ3VXPLcjs.getConfidenceBgClass.call(void 0, confidence);
|
|
23199
23199
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
23200
23200
|
"span",
|
|
23201
23201
|
{
|
|
@@ -23246,9 +23246,9 @@ function SEOEditorPreview({
|
|
|
23246
23246
|
const [isUploading, setIsUploading] = _react.useState.call(void 0, false);
|
|
23247
23247
|
const [fileInputRef, setFileInputRef] = _react.useState.call(void 0, null);
|
|
23248
23248
|
const seoTitleLength = (seoTitle || "").length;
|
|
23249
|
-
const seoTitleTooLong = seoTitleLength >
|
|
23249
|
+
const seoTitleTooLong = seoTitleLength > _chunkYWQ3VXPLcjs.SEO_TITLE_MAX_LENGTH;
|
|
23250
23250
|
const seoDescriptionLength = (seoDescription || "").length;
|
|
23251
|
-
const seoDescriptionTooLong = seoDescriptionLength >
|
|
23251
|
+
const seoDescriptionTooLong = seoDescriptionLength > _chunkYWQ3VXPLcjs.SEO_DESCRIPTION_MAX_LENGTH;
|
|
23252
23252
|
const displayTitle = seoTitle.trim() || title || "Untitled";
|
|
23253
23253
|
const displayDescription = seoDescription.trim() || summary || "No description";
|
|
23254
23254
|
const hasOgImage = ogImageUrl.trim();
|
|
@@ -23273,10 +23273,10 @@ function SEOEditorPreview({
|
|
|
23273
23273
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid grid-cols-1 gap-4 content-lg:grid-cols-2", children: [
|
|
23274
23274
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
23275
23275
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23276
|
-
|
|
23276
|
+
_chunkYWQ3VXPLcjs.Field,
|
|
23277
23277
|
{
|
|
23278
23278
|
label: "SEO Title",
|
|
23279
|
-
error: seoTitleTooLong ? `Too long: search engines may truncate this title (keep it under ${
|
|
23279
|
+
error: seoTitleTooLong ? `Too long: search engines may truncate this title (keep it under ${_chunkYWQ3VXPLcjs.SEO_TITLE_MAX_LENGTH})` : null,
|
|
23280
23280
|
labelExtras: aiConfidenceSeoTitle !== void 0 ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
23281
23281
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, AIGeneratedBadge, {}),
|
|
23282
23282
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ConfidenceBadge, { confidence: aiConfidenceSeoTitle, showLabel: true, showPercentage: true, size: "sm" })
|
|
@@ -23291,7 +23291,7 @@ function SEOEditorPreview({
|
|
|
23291
23291
|
children: [
|
|
23292
23292
|
seoTitleLength,
|
|
23293
23293
|
"/",
|
|
23294
|
-
|
|
23294
|
+
_chunkYWQ3VXPLcjs.SEO_TITLE_MAX_LENGTH
|
|
23295
23295
|
]
|
|
23296
23296
|
}
|
|
23297
23297
|
),
|
|
@@ -23302,7 +23302,7 @@ function SEOEditorPreview({
|
|
|
23302
23302
|
value: seoTitle || "",
|
|
23303
23303
|
onChange: (e) => onSeoTitleChange(e.target.value),
|
|
23304
23304
|
disabled,
|
|
23305
|
-
maxLength:
|
|
23305
|
+
maxLength: _chunkYWQ3VXPLcjs.SEO_TITLE_MAX_LENGTH,
|
|
23306
23306
|
invalid: seoTitleTooLong,
|
|
23307
23307
|
placeholder: "Enter SEO meta title...",
|
|
23308
23308
|
className: "border-ods-border bg-ods-bg text-ods-text-primary"
|
|
@@ -23313,7 +23313,7 @@ function SEOEditorPreview({
|
|
|
23313
23313
|
!seoTitle && title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-accent text-h6", children: "Auto-populated from title" })
|
|
23314
23314
|
] }),
|
|
23315
23315
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23316
|
-
|
|
23316
|
+
_chunkYWQ3VXPLcjs.Field,
|
|
23317
23317
|
{
|
|
23318
23318
|
label: "SEO Keywords",
|
|
23319
23319
|
labelExtras: aiConfidenceSeoKeywords !== void 0 ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
@@ -23345,10 +23345,10 @@ function SEOEditorPreview({
|
|
|
23345
23345
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid grid-cols-1 gap-4 content-lg:grid-cols-2", children: [
|
|
23346
23346
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
23347
23347
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23348
|
-
|
|
23348
|
+
_chunkYWQ3VXPLcjs.Field,
|
|
23349
23349
|
{
|
|
23350
23350
|
label: "SEO Description",
|
|
23351
|
-
error: seoDescriptionTooLong ? `Too long: search engines may truncate this description (keep it under ${
|
|
23351
|
+
error: seoDescriptionTooLong ? `Too long: search engines may truncate this description (keep it under ${_chunkYWQ3VXPLcjs.SEO_DESCRIPTION_MAX_LENGTH})` : null,
|
|
23352
23352
|
labelExtras: aiConfidenceSeoDescription !== void 0 ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
23353
23353
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, AIGeneratedBadge, {}),
|
|
23354
23354
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -23371,7 +23371,7 @@ function SEOEditorPreview({
|
|
|
23371
23371
|
children: [
|
|
23372
23372
|
seoDescriptionLength,
|
|
23373
23373
|
"/",
|
|
23374
|
-
|
|
23374
|
+
_chunkYWQ3VXPLcjs.SEO_DESCRIPTION_MAX_LENGTH
|
|
23375
23375
|
]
|
|
23376
23376
|
}
|
|
23377
23377
|
),
|
|
@@ -23382,7 +23382,7 @@ function SEOEditorPreview({
|
|
|
23382
23382
|
value: seoDescription || "",
|
|
23383
23383
|
onChange: (e) => onSeoDescriptionChange(e.target.value),
|
|
23384
23384
|
disabled,
|
|
23385
|
-
maxLength:
|
|
23385
|
+
maxLength: _chunkYWQ3VXPLcjs.SEO_DESCRIPTION_MAX_LENGTH,
|
|
23386
23386
|
invalid: seoDescriptionTooLong,
|
|
23387
23387
|
placeholder: "Enter SEO meta description...",
|
|
23388
23388
|
className: _chunk65VVJSQZcjs.cn.call(void 0, "resize-none border-ods-border bg-ods-bg text-ods-text-primary", SEO_MEDIA_BOX_HEIGHT)
|
|
@@ -23451,7 +23451,7 @@ function SEOEditorPreview({
|
|
|
23451
23451
|
{
|
|
23452
23452
|
ref: setFileInputRef,
|
|
23453
23453
|
type: "file",
|
|
23454
|
-
accept:
|
|
23454
|
+
accept: _chunkYG72MEHYcjs.IMAGE_FILE_ACCEPT,
|
|
23455
23455
|
onChange: handleImageUpload,
|
|
23456
23456
|
className: "hidden",
|
|
23457
23457
|
disabled: disabled || isUploading
|
|
@@ -23535,7 +23535,7 @@ function socialIcon(platform) {
|
|
|
23535
23535
|
return _nullishCoalesce(_chunkTUAATMUEcjs.iconOf.call(void 0, SOCIAL_ICONS[platform]), () => ( void 0));
|
|
23536
23536
|
}
|
|
23537
23537
|
function renderSocialIcon(platform) {
|
|
23538
|
-
const key = _nullishCoalesce(
|
|
23538
|
+
const key = _nullishCoalesce(_chunkYWQ3VXPLcjs.normalizeSocialPlatform.call(void 0, platform), () => ( "website"));
|
|
23539
23539
|
const icon = _nullishCoalesce(socialIcon(key), () => ( socialIcon("website")));
|
|
23540
23540
|
return icon ? _react.createElement.call(void 0, icon, { className: "h-5 w-5" }) : null;
|
|
23541
23541
|
}
|
|
@@ -23622,7 +23622,7 @@ function SocialLinksManager({
|
|
|
23622
23622
|
};
|
|
23623
23623
|
const getIcon = (link, platform) => {
|
|
23624
23624
|
const iconKey = _optionalChain([platform, 'optionalAccess', _480 => _480.icon_name]) || link.platform;
|
|
23625
|
-
const key =
|
|
23625
|
+
const key = _chunkYWQ3VXPLcjs.normalizeSocialPlatform.call(void 0, iconKey);
|
|
23626
23626
|
if (!key) return null;
|
|
23627
23627
|
const icon = socialIcon(key);
|
|
23628
23628
|
return icon ? _react.createElement.call(void 0, icon, { className: "h-5 w-5 text-ods-text-secondary" }) : null;
|
|
@@ -23758,7 +23758,7 @@ var StartWithOpenFrameButton = _react.forwardRef.call(void 0,
|
|
|
23758
23758
|
className: _chunk65VVJSQZcjs.cn.call(void 0, modeClassName, className),
|
|
23759
23759
|
style: customStyle,
|
|
23760
23760
|
leftIcon: !loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHJZLKYOBcjs.OpenframeLogoIcon, { secondaryColor: iconLowerPath, className: "h-5 w-5", color: iconUpperPath }) : void 0,
|
|
23761
|
-
rightIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23761
|
+
rightIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOH5LAH3Xcjs.StatusBadge, { text: "Beta", variant: "button", colorScheme: "yellow" }),
|
|
23762
23762
|
children
|
|
23763
23763
|
}
|
|
23764
23764
|
);
|
|
@@ -24085,11 +24085,11 @@ function WarningBlock({ title, icon = DEFAULT_ICON, children, className }) {
|
|
|
24085
24085
|
|
|
24086
24086
|
function VideoBitesDisplay({
|
|
24087
24087
|
bites,
|
|
24088
|
-
title =
|
|
24088
|
+
title = _chunkOH5LAH3Xcjs.DEFAULT_VIDEO_BITES_TITLE,
|
|
24089
24089
|
filterPublished = true,
|
|
24090
24090
|
showTitle = true
|
|
24091
24091
|
}) {
|
|
24092
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24092
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOWQVDWTKcjs.VideoBitesStrip, { bites, title, filterPublished, showTitle });
|
|
24093
24093
|
}
|
|
24094
24094
|
|
|
24095
24095
|
// src/components/features/walkthrough-video.tsx
|
|
@@ -24119,7 +24119,7 @@ function WalkthroughVideo({
|
|
|
24119
24119
|
onOpenChange,
|
|
24120
24120
|
defaultOpen,
|
|
24121
24121
|
defaultOpenPaused,
|
|
24122
|
-
deepLinkParam =
|
|
24122
|
+
deepLinkParam = _chunkYWQ3VXPLcjs.WALKTHROUGH_OPEN_QUERY_PARAM,
|
|
24123
24123
|
autoPlayCard = false,
|
|
24124
24124
|
label = "Play Demo Video",
|
|
24125
24125
|
placement,
|
|
@@ -24136,7 +24136,7 @@ function WalkthroughVideo({
|
|
|
24136
24136
|
const inline = placement === "inline";
|
|
24137
24137
|
const inScope = _chunkXFRBEXQNcjs.useLoadingScope.call(void 0, );
|
|
24138
24138
|
const dismissEnabled = dismissal !== false;
|
|
24139
|
-
const storageKey = dismissEnabled && dismissal.storageKey ||
|
|
24139
|
+
const storageKey = dismissEnabled && dismissal.storageKey || _chunkYWQ3VXPLcjs.WALKTHROUGH_VIDEO_DISMISS_KEY;
|
|
24140
24140
|
const dismissalId = _optionalChain([video, 'optionalAccess', _486 => _486.id]) != null ? String(video.id) : "dismissed";
|
|
24141
24141
|
const [mounted, setMounted] = _react.useState.call(void 0, false);
|
|
24142
24142
|
const [dismissed, setDismissed] = _react.useState.call(void 0, false);
|
|
@@ -24148,7 +24148,7 @@ function WalkthroughVideo({
|
|
|
24148
24148
|
let delayElapsed = false;
|
|
24149
24149
|
let interacted = inline;
|
|
24150
24150
|
const reveal = () => {
|
|
24151
|
-
if (dismissEnabled &&
|
|
24151
|
+
if (dismissEnabled && _chunkYWQ3VXPLcjs.isWalkthroughDismissed.call(void 0, storageKey, dismissalId)) {
|
|
24152
24152
|
setDismissed(true);
|
|
24153
24153
|
return;
|
|
24154
24154
|
}
|
|
@@ -24185,7 +24185,7 @@ function WalkthroughVideo({
|
|
|
24185
24185
|
if (idleHandle !== null && typeof cic === "function") cic(idleHandle);
|
|
24186
24186
|
};
|
|
24187
24187
|
}, [appearDelayMs, dismissEnabled, storageKey, dismissalId, hasVideo, videoId, inline]);
|
|
24188
|
-
const hydrated =
|
|
24188
|
+
const hydrated = _chunkOWQVDWTKcjs.useIsHydrated.call(void 0, );
|
|
24189
24189
|
const previewSuppressed = _react.useMemo.call(void 0, () => {
|
|
24190
24190
|
if (!hydrated) return false;
|
|
24191
24191
|
try {
|
|
@@ -24435,7 +24435,7 @@ function WalkthroughVideo({
|
|
|
24435
24435
|
(e) => {
|
|
24436
24436
|
e.stopPropagation();
|
|
24437
24437
|
pausePreviewNow();
|
|
24438
|
-
if (dismissEnabled)
|
|
24438
|
+
if (dismissEnabled) _chunkYWQ3VXPLcjs.dismissWalkthrough.call(void 0, storageKey, dismissalId);
|
|
24439
24439
|
setDismissed(true);
|
|
24440
24440
|
},
|
|
24441
24441
|
[dismissEnabled, storageKey, dismissalId, pausePreviewNow]
|
|
@@ -24586,7 +24586,7 @@ function WalkthroughVideo({
|
|
|
24586
24586
|
},
|
|
24587
24587
|
children: [
|
|
24588
24588
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pointer-events-none absolute inset-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24589
|
-
|
|
24589
|
+
_chunkOH5LAH3Xcjs.VideoHoverPreviewSurface,
|
|
24590
24590
|
{
|
|
24591
24591
|
url: video.mainVideoUrl || "",
|
|
24592
24592
|
posterUrl: video.posterUrl ? _chunkE76ONBKFcjs.resizedImageUrl.call(void 0, video.posterUrl, CARD_POSTER_WIDTH_PX) : video.posterUrl,
|
|
@@ -24610,7 +24610,7 @@ function WalkthroughVideo({
|
|
|
24610
24610
|
`card-${embedUrlKey}`
|
|
24611
24611
|
) }),
|
|
24612
24612
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24613
|
-
|
|
24613
|
+
_chunkOWQVDWTKcjs.CardHitLayer,
|
|
24614
24614
|
{
|
|
24615
24615
|
label: video.title ? `${label}: ${video.title}` : label,
|
|
24616
24616
|
onPointerDown: pausePreviewNow,
|
|
@@ -24726,7 +24726,7 @@ function WalkthroughVideo({
|
|
|
24726
24726
|
children: [
|
|
24727
24727
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DialogPrimitive2.Title, { className: "sr-only", children: summaryTitle || "Walkthrough video" }),
|
|
24728
24728
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24729
|
-
|
|
24729
|
+
_chunkOH5LAH3Xcjs.Video,
|
|
24730
24730
|
{
|
|
24731
24731
|
kind: video.youtubeUrl ? "youtube" : "file",
|
|
24732
24732
|
url: video.youtubeUrl || video.mainVideoUrl,
|
|
@@ -24782,7 +24782,7 @@ function useWalkthroughVideo(opts) {
|
|
|
24782
24782
|
const { endpoint, initialData, enabled: enabledGiven = true, transformCaptionsUrl } = opts;
|
|
24783
24783
|
const inScope = _chunkXFRBEXQNcjs.useLoadingScope.call(void 0, );
|
|
24784
24784
|
const enabled = enabledGiven && !inScope;
|
|
24785
|
-
const captions =
|
|
24785
|
+
const captions = _chunkOWQVDWTKcjs.useCaptions.call(void 0, );
|
|
24786
24786
|
const query = _reactquery.useQuery.call(void 0, {
|
|
24787
24787
|
queryKey: ["walkthrough-video", endpoint],
|
|
24788
24788
|
enabled,
|
|
@@ -24980,7 +24980,7 @@ function VideoSourceSelector({
|
|
|
24980
24980
|
}
|
|
24981
24981
|
function DefaultVideoPreview({ videoUrl, onDelete, disabled }) {
|
|
24982
24982
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative overflow-hidden rounded-lg border border-ods-border", children: [
|
|
24983
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "aspect-video max-h-[300px] w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24983
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "aspect-video max-h-[300px] w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOH5LAH3Xcjs.Video, { kind: "file", url: videoUrl }) }),
|
|
24984
24984
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24985
24985
|
"button",
|
|
24986
24986
|
{
|
|
@@ -25504,7 +25504,7 @@ function HighlightVideoSection({
|
|
|
25504
25504
|
// Default simple preview — the <Video> SSOT (MuxPlayer) plays
|
|
25505
25505
|
// MP4 and Mux HLS alike; aspect-video box reserves the height.
|
|
25506
25506
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative overflow-hidden rounded-lg border border-ods-border bg-black", children: [
|
|
25507
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "aspect-video max-h-[300px] w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25507
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "aspect-video max-h-[300px] w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOH5LAH3Xcjs.Video, { kind: "file", url: highlightVideoUrl, poster: highlightVideoThumbnail || void 0 }) }),
|
|
25508
25508
|
onDeleteHighlight && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
25509
25509
|
"button",
|
|
25510
25510
|
{
|
|
@@ -25531,7 +25531,7 @@ function HighlightConfigSection({
|
|
|
25531
25531
|
disabled = false,
|
|
25532
25532
|
className = ""
|
|
25533
25533
|
}) {
|
|
25534
|
-
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,
|
|
25534
|
+
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, _chunkYWQ3VXPLcjs.Field, { label: "Target Duration", children: (f) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
25535
25535
|
_chunkSIDDZZKLcjs.Select,
|
|
25536
25536
|
{
|
|
25537
25537
|
value: targetDurationSeconds.toString(),
|
|
@@ -25632,7 +25632,7 @@ var AIStatusIndicator = ({
|
|
|
25632
25632
|
}) => {
|
|
25633
25633
|
const config = statusConfig[status];
|
|
25634
25634
|
const displayText = message || config.label;
|
|
25635
|
-
const confidenceLabel = showConfidence && confidence !== void 0 ? `${
|
|
25635
|
+
const confidenceLabel = showConfidence && confidence !== void 0 ? `${_chunkYWQ3VXPLcjs.getConfidenceLabel.call(void 0, confidence)} (${confidence}%)` : null;
|
|
25636
25636
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk65VVJSQZcjs.cn.call(void 0, "inline-flex items-center gap-2 rounded-lg px-3 py-1.5", config.bgColor, className), children: [
|
|
25637
25637
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25638
25638
|
_chunkUNFCRSYIcjs.SparklesIcon,
|
|
@@ -25640,7 +25640,7 @@ var AIStatusIndicator = ({
|
|
|
25640
25640
|
size: 16,
|
|
25641
25641
|
className: _chunk65VVJSQZcjs.cn.call(void 0,
|
|
25642
25642
|
status === "loading" && _chunkXFRBEXQNcjs.LIVE_PULSE_CLASS,
|
|
25643
|
-
confidence !== void 0 && status === "success" ?
|
|
25643
|
+
confidence !== void 0 && status === "success" ? _chunkYWQ3VXPLcjs.getConfidenceTextClass.call(void 0, confidence) : config.color
|
|
25644
25644
|
)
|
|
25645
25645
|
}
|
|
25646
25646
|
),
|
|
@@ -25649,7 +25649,7 @@ var AIStatusIndicator = ({
|
|
|
25649
25649
|
{
|
|
25650
25650
|
className: _chunk65VVJSQZcjs.cn.call(void 0,
|
|
25651
25651
|
"text-h6",
|
|
25652
|
-
confidence !== void 0 && status === "success" ?
|
|
25652
|
+
confidence !== void 0 && status === "success" ? _chunkYWQ3VXPLcjs.getConfidenceTextClass.call(void 0, confidence) : config.color
|
|
25653
25653
|
),
|
|
25654
25654
|
children: displayText
|
|
25655
25655
|
}
|
|
@@ -25659,8 +25659,8 @@ var AIStatusIndicator = ({
|
|
|
25659
25659
|
{
|
|
25660
25660
|
className: _chunk65VVJSQZcjs.cn.call(void 0,
|
|
25661
25661
|
"rounded-full border px-2 py-0.5 text-h6",
|
|
25662
|
-
|
|
25663
|
-
|
|
25662
|
+
_chunkYWQ3VXPLcjs.getConfidenceBorderClass.call(void 0, confidence),
|
|
25663
|
+
_chunkYWQ3VXPLcjs.getConfidenceTextClass.call(void 0, confidence)
|
|
25664
25664
|
),
|
|
25665
25665
|
children: confidenceLabel
|
|
25666
25666
|
}
|
|
@@ -26587,7 +26587,7 @@ function PoliciesTable({
|
|
|
26587
26587
|
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,
|
|
26588
26588
|
_chunkTF5D5MNOcjs.Button,
|
|
26589
26589
|
{
|
|
26590
|
-
onClick:
|
|
26590
|
+
onClick: _chunkYWQ3VXPLcjs.openInNewTab.call(void 0, row.original.href),
|
|
26591
26591
|
variant: "outline",
|
|
26592
26592
|
size: "icon",
|
|
26593
26593
|
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkANTDIQKKcjs.ArrowRightUpIcon, { className: "h-5 w-5" }),
|
|
@@ -26913,7 +26913,7 @@ function TenantsTableView({
|
|
|
26913
26913
|
/* @__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,
|
|
26914
26914
|
_chunkTF5D5MNOcjs.Button,
|
|
26915
26915
|
{
|
|
26916
|
-
onClick:
|
|
26916
|
+
onClick: _chunkYWQ3VXPLcjs.openInNewTab.call(void 0, getHref(row.original)),
|
|
26917
26917
|
variant: "outline",
|
|
26918
26918
|
size: "icon",
|
|
26919
26919
|
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkANTDIQKKcjs.ArrowRightUpIcon, { className: "h-5 w-5" }),
|
|
@@ -26994,7 +26994,7 @@ function WaitlistForm({
|
|
|
26994
26994
|
const { toast } = _chunk5PK22JP7cjs.useToast.call(void 0, );
|
|
26995
26995
|
const { honeypotInputProps, getSignals, resetSignals } = _chunk5PK22JP7cjs.useHumanitySignals.call(void 0, );
|
|
26996
26996
|
const [smsConsent, setSmsConsent] = _react.useState.call(void 0, false);
|
|
26997
|
-
const isClient =
|
|
26997
|
+
const isClient = _chunkOWQVDWTKcjs.useIsHydrated.call(void 0, );
|
|
26998
26998
|
const [isPhoneInvalid, setIsPhoneInvalid] = _react.useState.call(void 0, false);
|
|
26999
26999
|
const [showConsentError, setShowConsentError] = _react.useState.call(void 0, false);
|
|
27000
27000
|
const rescue = _chunk5PK22JP7cjs.useFormRescue.call(void 0, {
|
|
@@ -27009,7 +27009,7 @@ function WaitlistForm({
|
|
|
27009
27009
|
_react.useEffect.call(void 0, () => {
|
|
27010
27010
|
rescue.track({ email, phone }, null);
|
|
27011
27011
|
}, [email, phone, rescue]);
|
|
27012
|
-
const isMailDomainGeneric =
|
|
27012
|
+
const isMailDomainGeneric = _chunkYWQ3VXPLcjs.hasGenericEmailDomain.call(void 0, email);
|
|
27013
27013
|
const [syncedDefaultEmail, setSyncedDefaultEmail] = _react.useState.call(void 0, defaultEmail);
|
|
27014
27014
|
if (syncedDefaultEmail !== defaultEmail) {
|
|
27015
27015
|
setSyncedDefaultEmail(defaultEmail);
|
|
@@ -27043,7 +27043,7 @@ function WaitlistForm({
|
|
|
27043
27043
|
setShowConsentError(true);
|
|
27044
27044
|
return;
|
|
27045
27045
|
}
|
|
27046
|
-
const finalPhone = phone ?
|
|
27046
|
+
const finalPhone = phone ? _chunkYWQ3VXPLcjs.formatPhoneE164.call(void 0, phone, countryCode) : void 0;
|
|
27047
27047
|
try {
|
|
27048
27048
|
await onRegister(email, finalPhone, getSignals(), rescue.submitFields());
|
|
27049
27049
|
rescue.complete();
|
|
@@ -29182,7 +29182,7 @@ function getDeviceStatusConfig(status) {
|
|
|
29182
29182
|
}
|
|
29183
29183
|
}
|
|
29184
29184
|
function getDeviceOperatingSystem(osType) {
|
|
29185
|
-
return
|
|
29185
|
+
return _chunkYWQ3VXPLcjs.getOSPlatformId.call(void 0, osType);
|
|
29186
29186
|
}
|
|
29187
29187
|
|
|
29188
29188
|
// src/components/features/devices/device-statuses.ts
|
|
@@ -30786,7 +30786,7 @@ function DevicesPanelView({
|
|
|
30786
30786
|
actionsVariant: "icon-buttons",
|
|
30787
30787
|
className,
|
|
30788
30788
|
selector: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30789
|
-
|
|
30789
|
+
_chunkOWQVDWTKcjs.TabSelector,
|
|
30790
30790
|
{
|
|
30791
30791
|
value: viewMode,
|
|
30792
30792
|
onValueChange: (value) => _optionalChain([onViewModeChange, 'optionalCall', _667 => _667(value)]),
|
|
@@ -31320,11 +31320,11 @@ var ToolBadge = ({
|
|
|
31320
31320
|
iconClassName
|
|
31321
31321
|
}) => {
|
|
31322
31322
|
const loading = _chunkXFRBEXQNcjs.useLoadingScope.call(void 0, );
|
|
31323
|
-
const text = _nullishCoalesce(label, () => ( (toolType ?
|
|
31323
|
+
const text = _nullishCoalesce(label, () => ( (toolType ? _chunkYWQ3VXPLcjs.getToolLabel.call(void 0, toolType) : "")));
|
|
31324
31324
|
const mark = _nullishCoalesce(icon, () => ( (toolType ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk64KBI5MIcjs.ToolIcon, { toolType, className: iconClassName, size: 16 }) : null)));
|
|
31325
31325
|
if (loading) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ToolBadgeSkeleton, { variant, icon: !!mark, className });
|
|
31326
31326
|
const linked = (node, linkClassName) => href && targetPlatform ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31327
|
-
|
|
31327
|
+
_chunkOWQVDWTKcjs.NavLinkAnchorViaRuntime,
|
|
31328
31328
|
{
|
|
31329
31329
|
href,
|
|
31330
31330
|
targetPlatform,
|
|
@@ -31436,7 +31436,7 @@ function LogsTableView({
|
|
|
31436
31436
|
cell: ({ row }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31437
31437
|
ToolBadge,
|
|
31438
31438
|
{
|
|
31439
|
-
toolType:
|
|
31439
|
+
toolType: _chunkYWQ3VXPLcjs.normalizeToolTypeWithFallback.call(void 0, row.original.source.toolType),
|
|
31440
31440
|
iconClassName: "h-4 w-4 content-md:h-6 content-md:w-6"
|
|
31441
31441
|
}
|
|
31442
31442
|
),
|
|
@@ -31448,7 +31448,7 @@ function LogsTableView({
|
|
|
31448
31448
|
filter: {
|
|
31449
31449
|
options: _nullishCoalesce(_optionalChain([facets, 'optionalAccess', _675 => _675.toolTypes, 'access', _676 => _676.map, 'call', _677 => _677((toolType) => ({
|
|
31450
31450
|
id: toolType,
|
|
31451
|
-
label:
|
|
31451
|
+
label: _chunkYWQ3VXPLcjs.toToolLabel.call(void 0, toolType),
|
|
31452
31452
|
value: toolType
|
|
31453
31453
|
}))]), () => ( []))
|
|
31454
31454
|
}
|
|
@@ -31506,7 +31506,7 @@ function LogsTableView({
|
|
|
31506
31506
|
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,
|
|
31507
31507
|
_chunkTF5D5MNOcjs.Button,
|
|
31508
31508
|
{
|
|
31509
|
-
onClick: getLogHref ?
|
|
31509
|
+
onClick: getLogHref ? _chunkYWQ3VXPLcjs.openInNewTab.call(void 0, getLogHref(row.original)) : void 0,
|
|
31510
31510
|
variant: "outline",
|
|
31511
31511
|
size: "icon",
|
|
31512
31512
|
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkANTDIQKKcjs.ArrowRightUpIcon, { className: "h-5 w-5" }),
|
|
@@ -31881,7 +31881,7 @@ function OpenInNewTabCell({ href }) {
|
|
|
31881
31881
|
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,
|
|
31882
31882
|
_chunkTF5D5MNOcjs.Button,
|
|
31883
31883
|
{
|
|
31884
|
-
onClick:
|
|
31884
|
+
onClick: _chunkYWQ3VXPLcjs.openInNewTab.call(void 0, href),
|
|
31885
31885
|
variant: "outline",
|
|
31886
31886
|
size: "icon",
|
|
31887
31887
|
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkANTDIQKKcjs.ArrowRightUpIcon, { className: "h-5 w-5" }),
|
|
@@ -32030,9 +32030,9 @@ function ScriptSchedulesTable({
|
|
|
32030
32030
|
|
|
32031
32031
|
// src/components/features/scripts/shell-types.ts
|
|
32032
32032
|
var SCRIPT_SHELL_TYPES = [
|
|
32033
|
-
{ id:
|
|
32034
|
-
{ id:
|
|
32035
|
-
{ id:
|
|
32033
|
+
{ id: _chunkYWQ3VXPLcjs.ShellTypeValues.POWERSHELL, label: "PowerShell", value: "powershell", icon: _chunkMCQY746Mcjs.PowershellLogoGreyIcon },
|
|
32034
|
+
{ id: _chunkYWQ3VXPLcjs.ShellTypeValues.CMD, label: "CMD", value: "cmd", icon: _chunkNIVJEJSGcjs.TerminalSquareIcon },
|
|
32035
|
+
{ id: _chunkYWQ3VXPLcjs.ShellTypeValues.BASH, label: "Bash", value: "bash", icon: _chunkTRUW6DDAcjs.TerminalIcon }
|
|
32036
32036
|
];
|
|
32037
32037
|
function scriptShellType(value) {
|
|
32038
32038
|
return SCRIPT_SHELL_TYPES.find((shell) => shell.value === value);
|
|
@@ -33465,7 +33465,7 @@ function ScheduleFormFields({
|
|
|
33465
33465
|
disabled = false,
|
|
33466
33466
|
renderScriptSearch,
|
|
33467
33467
|
timeReferenceGate = "off",
|
|
33468
|
-
platforms =
|
|
33468
|
+
platforms = _chunkYWQ3VXPLcjs.OS_PLATFORMS,
|
|
33469
33469
|
comingSoonPlatforms = [],
|
|
33470
33470
|
getTimeSlots,
|
|
33471
33471
|
nameLayout = "stacked",
|
|
@@ -33611,7 +33611,7 @@ function ScheduleFormFields({
|
|
|
33611
33611
|
// src/components/features/scripts/schedule-form/schedule-script-search-field.tsx
|
|
33612
33612
|
|
|
33613
33613
|
function ScriptPlatformIcons({ platforms }) {
|
|
33614
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "inline-flex shrink-0 items-center gap-0.5", children:
|
|
33614
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "inline-flex shrink-0 items-center gap-0.5", children: _chunkYWQ3VXPLcjs.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)) });
|
|
33615
33615
|
}
|
|
33616
33616
|
function ScheduleScriptSearchField({
|
|
33617
33617
|
scriptId,
|
|
@@ -33684,7 +33684,7 @@ function getKnowledgeBaseOpenColumn(getHref) {
|
|
|
33684
33684
|
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,
|
|
33685
33685
|
_chunkTF5D5MNOcjs.Button,
|
|
33686
33686
|
{
|
|
33687
|
-
onClick:
|
|
33687
|
+
onClick: _chunkYWQ3VXPLcjs.openInNewTab.call(void 0, getHref(row.original)),
|
|
33688
33688
|
variant: "outline",
|
|
33689
33689
|
size: "icon",
|
|
33690
33690
|
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkANTDIQKKcjs.ArrowRightUpIcon, { className: "h-5 w-5" }),
|
|
@@ -33810,7 +33810,7 @@ function KnowledgeBaseArticleView({
|
|
|
33810
33810
|
className,
|
|
33811
33811
|
children: [
|
|
33812
33812
|
tags.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex flex-wrap gap-[var(--spacing-system-xsf)]", children: tags.map((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBNUZKBNVcjs.Tag, { label: tag.label, variant: "outline", className: "max-w-full" }, tag.id)) }),
|
|
33813
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33813
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOH5LAH3Xcjs.Card, { className: "border-ods-border px-[var(--spacing-system-mf)] py-0", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid grid-cols-2 gap-x-[var(--spacing-system-mf)] content-lg:grid-cols-3", children: [
|
|
33814
33814
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-20 min-w-0 items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
33815
33815
|
author.deleted ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkKLTUTZBOcjs.DeletedUserAvatar, { size: "md" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33816
33816
|
_chunkBNUZKBNVcjs.SquareAvatar,
|
|
@@ -33974,7 +33974,7 @@ function ConversationCard({
|
|
|
33974
33974
|
style: tint,
|
|
33975
33975
|
onClick: selection && ((event) => {
|
|
33976
33976
|
if (event.button !== 0 || _optionalChain([window, 'access', _741 => _741.getSelection, 'call', _742 => _742(), 'optionalAccess', _743 => _743.toString, 'call', _744 => _744()])) return;
|
|
33977
|
-
if (!
|
|
33977
|
+
if (!_chunkYWQ3VXPLcjs.isOwnClick.call(void 0, event.target, event.currentTarget, { controls: true })) return;
|
|
33978
33978
|
selection.onToggle();
|
|
33979
33979
|
}),
|
|
33980
33980
|
children: [
|
|
@@ -33997,7 +33997,7 @@ function ConversationCard({
|
|
|
33997
33997
|
children: selection.pressed ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXIBCMGBWcjs.CheckIcon, {}) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkX4UZ62MYcjs.PlusIcon, {})
|
|
33998
33998
|
}
|
|
33999
33999
|
),
|
|
34000
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
34000
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYWQ3VXPLcjs.ChatTurn, { avatar: requester.avatar, name: requester.name, meta: requester.meta, time: requester.time, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
34001
34001
|
"p",
|
|
34002
34002
|
{
|
|
34003
34003
|
id: requestId,
|
|
@@ -34016,7 +34016,7 @@ function ConversationCard({
|
|
|
34016
34016
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: CONTEXT_TEXT_CLASS, style: partLinesStyle(_optionalChain([lines, 'optionalAccess', _745 => _745.context])), children: context.text })
|
|
34017
34017
|
] }),
|
|
34018
34018
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
34019
|
-
|
|
34019
|
+
_chunkYWQ3VXPLcjs.ChatTurn,
|
|
34020
34020
|
{
|
|
34021
34021
|
avatar: responder.avatar,
|
|
34022
34022
|
name: responder.name,
|
|
@@ -34039,10 +34039,10 @@ function ConversationCard({
|
|
|
34039
34039
|
);
|
|
34040
34040
|
}
|
|
34041
34041
|
function TurnSkeleton({ avatarPx, meta, children }) {
|
|
34042
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className:
|
|
34042
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkYWQ3VXPLcjs.TURN_ROW_CLASS, children: [
|
|
34043
34043
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBNUZKBNVcjs.SquareAvatarSkeleton, { sizePx: avatarPx }),
|
|
34044
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className:
|
|
34045
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
34044
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkYWQ3VXPLcjs.TURN_BODY_CLASS, children: [
|
|
34045
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYWQ3VXPLcjs.ChatTurnNameSkeleton, { meta, time: true }),
|
|
34046
34046
|
children
|
|
34047
34047
|
] })
|
|
34048
34048
|
] });
|
|
@@ -34302,7 +34302,7 @@ function CapabilityExplorer({
|
|
|
34302
34302
|
),
|
|
34303
34303
|
children: [
|
|
34304
34304
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-3", children: [
|
|
34305
|
-
item.iconName && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk65VVJSQZcjs.cn.call(void 0, JOB_ICON_TILE_CLASS, "text-ods-flamingo-cyan"), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
34305
|
+
item.iconName && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk65VVJSQZcjs.cn.call(void 0, JOB_ICON_TILE_CLASS, "text-ods-flamingo-cyan"), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOH5LAH3Xcjs.EntityIcon, { icon: { name: item.iconName }, size: 18 }) }),
|
|
34306
34306
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "min-w-0 flex-1", children: [
|
|
34307
34307
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "h3", { className: "flex min-w-0 items-center gap-2 text-ods-text-primary text-h4", children: [
|
|
34308
34308
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSIDDZZKLcjs.TruncateText, { as: "span", variant: "h4", triggerClassName: "flex-1", children: item.title }),
|
|
@@ -34383,7 +34383,7 @@ function CapabilityExplorer({
|
|
|
34383
34383
|
"span",
|
|
34384
34384
|
{
|
|
34385
34385
|
className: _chunk65VVJSQZcjs.cn.call(void 0, JOB_ICON_TILE_CLASS, selected ? "text-ods-flamingo-cyan" : "text-ods-text-secondary"),
|
|
34386
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
34386
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOH5LAH3Xcjs.EntityIcon, { icon: { name: item.iconName }, size: 18 })
|
|
34387
34387
|
}
|
|
34388
34388
|
),
|
|
34389
34389
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "min-w-0 flex-1", children: [
|