@flamingo-stack/openframe-frontend-core 0.0.826 → 0.0.827
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-O4IQCJAX.cjs → case-study-card-QMFGPABF.cjs} +2 -2
- package/dist/{chunk-QYJZDEG7.cjs → chunk-3WKQ2GCR.cjs} +4 -4
- package/dist/{chunk-5AQKXEMI.cjs → chunk-4ZH7RPEA.cjs} +178 -178
- package/dist/{chunk-QS6AKUUL.cjs → chunk-6GPMVHJN.cjs} +1 -1
- package/dist/{chunk-PJY3SYCS.cjs → chunk-6SFCI6D4.cjs} +20 -20
- package/dist/{chunk-37OYBX7W.cjs → chunk-6ZLCEIIC.cjs} +32 -32
- package/dist/{chunk-63T2KKDZ.cjs → chunk-7VC5FVWT.cjs} +62 -62
- package/dist/{chunk-74GWFGH2.cjs → chunk-ALRX2VIY.cjs} +11 -11
- package/dist/{chunk-TJG2BJ5J.cjs → chunk-B5H7RKFF.cjs} +4 -4
- package/dist/{chunk-2TQJSB62.cjs → chunk-BGT6JFMP.cjs} +12342 -12354
- package/dist/{chunk-6G4WRMEM.cjs → chunk-DR4P7AEU.cjs} +3 -3
- package/dist/{chunk-DRSFR5AC.cjs → chunk-FMSAN6SR.cjs} +101 -101
- package/dist/{chunk-XDHQC4XH.cjs → chunk-K6X7VP2Y.cjs} +39 -39
- package/dist/{chunk-IWQ2LJGW.cjs → chunk-LKP5R3EQ.cjs} +2 -2
- package/dist/{chunk-GZAPOCKS.cjs → chunk-OKTNRGM5.cjs} +49 -49
- package/dist/{chunk-HQ4FKHOO.cjs → chunk-QMQWXGCH.cjs} +71 -71
- package/dist/{chunk-AJM4YZTW.cjs → chunk-RPKWEBHC.cjs} +3 -3
- package/dist/{chunk-K34TTZAE.cjs → chunk-SVCTAOJR.cjs} +2 -2
- package/dist/{chunk-JDR72QFU.cjs → chunk-UULSSD56.cjs} +5 -5
- package/dist/{chunk-PWAKRRRO.cjs → chunk-UWGPYAB3.cjs} +46 -46
- package/dist/{chunk-MDEOCOIE.cjs → chunk-VAIML6YU.cjs} +17 -17
- package/dist/{chunk-HJAPXKWK.cjs → chunk-XPF74L76.cjs} +2 -2
- package/dist/{chunk-WGMU45NV.cjs → chunk-YKUL6JBI.cjs} +13 -13
- package/dist/{chunk-TYJ73DHW.cjs → chunk-YMLRDVPO.cjs} +8 -8
- package/dist/{chunk-EJNDTSKY.cjs → chunk-ZT7JHN7G.cjs} +74 -74
- package/dist/{cloud-tenants-F67KQ5GC.cjs → cloud-tenants-LKTWIZNS.cjs} +8 -8
- package/dist/components/case-studies/index.cjs +23 -23
- package/dist/components/chat/index.cjs +6 -6
- package/dist/components/chat/stream/chat-stream-reducer.d.ts.map +1 -1
- package/dist/components/chat/stream/chat-stream-reducer.js +2 -15
- package/dist/components/chat/thinking-display.d.ts.map +1 -1
- package/dist/components/chat/thinking-display.js +2 -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/help-center-pages/index.cjs +83 -83
- package/dist/components/index.cjs +53 -53
- package/dist/components/meeting-scheduler/index.cjs +34 -34
- 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 +5 -5
- package/dist/components/tickets/index.cjs +13 -13
- package/dist/components/ui/index.cjs +8 -8
- package/dist/{devices-SJORCARH.cjs → devices-JWG72ANF.cjs} +9 -9
- package/dist/{embeddable-chat-7Z4CEZJL.cjs → embeddable-chat-5UT6UHEO.cjs} +76 -76
- package/dist/index.cjs +12 -12
- package/dist/{knowledge-QXILUVEM.cjs → knowledge-DQXVSHME.cjs} +9 -9
- package/dist/{logs-E3KQQQD6.cjs → logs-Z33VBTVX.cjs} +15 -15
- package/dist/{policies-IOYQY6TF.cjs → policies-XE4UMH6Z.cjs} +12 -12
- package/dist/{scripts-E5TWWUNP.cjs → scripts-MECQG5GG.cjs} +13 -13
- package/dist/{software-update-QZGYG4TD.cjs → software-update-PCSIA6BP.cjs} +11 -11
- package/package.json +1 -1
- package/src/components/chat/stream/chat-stream-reducer.ts +4 -18
- package/src/components/chat/thinking-display.tsx +2 -1
|
@@ -36,7 +36,7 @@ var _chunk7PZQ7SHBcjs = require('./chunk-7PZQ7SHB.cjs');
|
|
|
36
36
|
|
|
37
37
|
|
|
38
38
|
|
|
39
|
-
var
|
|
39
|
+
var _chunkSVCTAOJRcjs = require('./chunk-SVCTAOJR.cjs');
|
|
40
40
|
|
|
41
41
|
|
|
42
42
|
var _chunkDEY6XXGOcjs = require('./chunk-DEY6XXGO.cjs');
|
|
@@ -106,7 +106,7 @@ var _chunk5SZ4ILU3cjs = require('./chunk-5SZ4ILU3.cjs');
|
|
|
106
106
|
|
|
107
107
|
|
|
108
108
|
|
|
109
|
-
var
|
|
109
|
+
var _chunkQMQWXGCHcjs = require('./chunk-QMQWXGCH.cjs');
|
|
110
110
|
|
|
111
111
|
|
|
112
112
|
|
|
@@ -133,7 +133,7 @@ var _chunkOT6P57ZScjs = require('./chunk-OT6P57ZS.cjs');
|
|
|
133
133
|
|
|
134
134
|
|
|
135
135
|
|
|
136
|
-
var
|
|
136
|
+
var _chunkBGT6JFMPcjs = require('./chunk-BGT6JFMP.cjs');
|
|
137
137
|
|
|
138
138
|
|
|
139
139
|
|
|
@@ -496,7 +496,7 @@ var _chunkSKI6NKOEcjs = require('./chunk-SKI6NKOE.cjs');
|
|
|
496
496
|
|
|
497
497
|
|
|
498
498
|
|
|
499
|
-
var
|
|
499
|
+
var _chunkFMSAN6SRcjs = require('./chunk-FMSAN6SR.cjs');
|
|
500
500
|
|
|
501
501
|
|
|
502
502
|
var _chunk5BM7X4GAcjs = require('./chunk-5BM7X4GA.cjs');
|
|
@@ -520,7 +520,7 @@ var _chunkGRHF5SWLcjs = require('./chunk-GRHF5SWL.cjs');
|
|
|
520
520
|
|
|
521
521
|
|
|
522
522
|
|
|
523
|
-
var
|
|
523
|
+
var _chunk6GPMVHJNcjs = require('./chunk-6GPMVHJN.cjs');
|
|
524
524
|
|
|
525
525
|
|
|
526
526
|
|
|
@@ -714,7 +714,7 @@ function ThemeProvider({ children, ...overrides }) {
|
|
|
714
714
|
var useTheme = _nextthemes.useTheme;
|
|
715
715
|
function useThemeToggle() {
|
|
716
716
|
const { resolvedTheme, theme, setTheme } = useTheme();
|
|
717
|
-
const mounted =
|
|
717
|
+
const mounted = _chunkBGT6JFMPcjs.useIsHydrated.call(void 0, );
|
|
718
718
|
const active = mounted ? resolvedTheme === "light" || theme === "light" ? "light" : "dark" : DEFAULT_THEME;
|
|
719
719
|
const setOdsTheme = _react.useCallback.call(void 0, (next) => setTheme(next), [setTheme]);
|
|
720
720
|
const toggle = _react.useCallback.call(void 0, () => setTheme(active === "dark" ? "light" : "dark"), [active, setTheme]);
|
|
@@ -4561,14 +4561,14 @@ function AdminFormDrawer({
|
|
|
4561
4561
|
else onClose();
|
|
4562
4562
|
};
|
|
4563
4563
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4564
|
-
|
|
4564
|
+
_chunkSVCTAOJRcjs.Drawer,
|
|
4565
4565
|
{
|
|
4566
4566
|
open: isOpen,
|
|
4567
4567
|
onOpenChange: (open) => {
|
|
4568
4568
|
if (!open) requestClose();
|
|
4569
4569
|
},
|
|
4570
4570
|
children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
4571
|
-
|
|
4571
|
+
_chunkSVCTAOJRcjs.DrawerContent,
|
|
4572
4572
|
{
|
|
4573
4573
|
side: "right",
|
|
4574
4574
|
resizable: true,
|
|
@@ -4577,15 +4577,15 @@ function AdminFormDrawer({
|
|
|
4577
4577
|
storageKey,
|
|
4578
4578
|
panelClassName: "max-md:w-[calc(100vw-1rem)]",
|
|
4579
4579
|
children: [
|
|
4580
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
4581
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4582
|
-
subtitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4580
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkSVCTAOJRcjs.DrawerHeader, { children: [
|
|
4581
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSVCTAOJRcjs.DrawerTitle, { children: title }),
|
|
4582
|
+
subtitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSVCTAOJRcjs.DrawerDescription, { asChild: true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { children: subtitle }) })
|
|
4583
4583
|
] }),
|
|
4584
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4584
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSVCTAOJRcjs.DrawerBody, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4585
4585
|
"form",
|
|
4586
4586
|
{
|
|
4587
4587
|
id: formId,
|
|
4588
|
-
...
|
|
4588
|
+
..._chunkQMQWXGCHcjs.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS,
|
|
4589
4589
|
className: "flex flex-col gap-[var(--spacing-system-lf)]",
|
|
4590
4590
|
onSubmit: (e) => {
|
|
4591
4591
|
e.preventDefault();
|
|
@@ -4692,7 +4692,7 @@ function AdminFormModal({
|
|
|
4692
4692
|
"form",
|
|
4693
4693
|
{
|
|
4694
4694
|
id: formId,
|
|
4695
|
-
...
|
|
4695
|
+
..._chunkQMQWXGCHcjs.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS,
|
|
4696
4696
|
className: "flex min-h-0 flex-1 flex-col",
|
|
4697
4697
|
onSubmit: (e) => {
|
|
4698
4698
|
e.preventDefault();
|
|
@@ -6063,7 +6063,7 @@ function EmbedViewerFrame({
|
|
|
6063
6063
|
const controllerRef = _react.useRef.call(void 0, null);
|
|
6064
6064
|
_react.useEffect.call(void 0, () => {
|
|
6065
6065
|
if (!fullscreenControl) return void 0;
|
|
6066
|
-
const controller = new (0,
|
|
6066
|
+
const controller = new (0, _chunkQMQWXGCHcjs.FullscreenSwitchController)({
|
|
6067
6067
|
target: () => frameRef.current,
|
|
6068
6068
|
onFullscreenChange: setIsFullscreen
|
|
6069
6069
|
});
|
|
@@ -7117,7 +7117,7 @@ var MediaCarousel = _react.memo.call(void 0, function MediaCarouselImpl({
|
|
|
7117
7117
|
};
|
|
7118
7118
|
const displayImageSrc = (url) => transformImageSrc ? transformImageSrc(url) : url;
|
|
7119
7119
|
const renderVideo = (item, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7120
|
-
|
|
7120
|
+
_chunk6GPMVHJNcjs.Video,
|
|
7121
7121
|
{
|
|
7122
7122
|
url: item.src,
|
|
7123
7123
|
poster: item.poster ? displayImageSrc(item.poster) : void 0,
|
|
@@ -7312,7 +7312,7 @@ var formatTimeAgo = (timestamp) => {
|
|
|
7312
7312
|
return `${Math.floor(diffSeconds / 86400)}d ago`;
|
|
7313
7313
|
};
|
|
7314
7314
|
function RedditEmbedClient({ url, maxWidth = 700, rel }) {
|
|
7315
|
-
const postLinkRel =
|
|
7315
|
+
const postLinkRel = _chunkBGT6JFMPcjs.renderedLinkRel.call(void 0, rel, true);
|
|
7316
7316
|
const { redditProxyUrl } = useRichMarkdownRuntime();
|
|
7317
7317
|
const [redditData, setRedditData] = _react.useState.call(void 0, null);
|
|
7318
7318
|
const [loading, setLoading] = _react.useState.call(void 0, true);
|
|
@@ -7644,7 +7644,7 @@ var UserIcon3 = () => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "svg", { wid
|
|
|
7644
7644
|
] });
|
|
7645
7645
|
var XIcon = () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2TEMEXDTcjs.XLogoIcon, { className: "h-5 w-5", color: "currentColor" });
|
|
7646
7646
|
function TwitterEmbedClient({ url, tweetId, maxWidth = 700, rel }) {
|
|
7647
|
-
const postLinkRel =
|
|
7647
|
+
const postLinkRel = _chunkBGT6JFMPcjs.renderedLinkRel.call(void 0, rel, true);
|
|
7648
7648
|
const { twitterProxyUrl } = useRichMarkdownRuntime();
|
|
7649
7649
|
const [tweetData, setTweetData] = _react.useState.call(void 0, null);
|
|
7650
7650
|
const [fetchLoading, setLoading] = _react.useState.call(void 0, true);
|
|
@@ -7846,7 +7846,7 @@ function buildRichEmbedOverrides({
|
|
|
7846
7846
|
ogEndpointPath,
|
|
7847
7847
|
textSizes
|
|
7848
7848
|
}) {
|
|
7849
|
-
const standard =
|
|
7849
|
+
const standard = _chunkBGT6JFMPcjs.buildStandardLeafRenderers.call(void 0, { textSizes });
|
|
7850
7850
|
return {
|
|
7851
7851
|
// Fence-language embeds (```youtube-embed etc.); everything else
|
|
7852
7852
|
// (mermaid, highlighted blocks, inline code) falls through to `standard`.
|
|
@@ -7856,7 +7856,7 @@ function buildRichEmbedOverrides({
|
|
|
7856
7856
|
const language = match ? match[1] : "";
|
|
7857
7857
|
const fenceText = () => String(children).replace(/\n$/, "").trim();
|
|
7858
7858
|
if (language === "youtube-embed") {
|
|
7859
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7859
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6GPMVHJNcjs.Video, { kind: "youtube", url: fenceText() });
|
|
7860
7860
|
}
|
|
7861
7861
|
if (language === "reddit-embed") {
|
|
7862
7862
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, RedditEmbedClient, { url: fenceText() });
|
|
@@ -7897,7 +7897,7 @@ function buildRichEmbedOverrides({
|
|
|
7897
7897
|
"data-figma-url": figmaUrl
|
|
7898
7898
|
} = divProps;
|
|
7899
7899
|
if (className === "youtube-embed" && videoId) {
|
|
7900
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7900
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6GPMVHJNcjs.Video, { kind: "youtube", url: videoId });
|
|
7901
7901
|
}
|
|
7902
7902
|
if (className === "reddit-embed" && postUrl) {
|
|
7903
7903
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, RedditEmbedClient, { url: postUrl });
|
|
@@ -7982,23 +7982,23 @@ function buildRichEmbedOverrides({
|
|
|
7982
7982
|
// rich-markdown runtime (Supabase optimization on the hub, identity
|
|
7983
7983
|
// elsewhere). Guard against empty `![]()`.
|
|
7984
7984
|
img: ({ src, alt }) => {
|
|
7985
|
-
if (!
|
|
7985
|
+
if (!_chunkBGT6JFMPcjs.hasRenderableSrc.call(void 0, src)) return null;
|
|
7986
7986
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MarkdownImage, { src: src.trim(), alt });
|
|
7987
7987
|
},
|
|
7988
7988
|
// Raw <iframe> tags in stored content (a pasted YouTube embed). A YouTube one becomes the same click-to-play
|
|
7989
7989
|
// facade as the `youtube-embed` fence: the raw iframe loaded YouTube's whole player (about 470 KB of script) with
|
|
7990
7990
|
// the page, on every post that carried one (CU-17tkuw5xp4q). Any other iframe loads when it nears the screen.
|
|
7991
7991
|
iframe: ({ node: _node, src, ...rest }) => {
|
|
7992
|
-
if (!
|
|
7992
|
+
if (!_chunkBGT6JFMPcjs.hasRenderableSrc.call(void 0, src)) return null;
|
|
7993
7993
|
const url = src.trim();
|
|
7994
|
-
if (
|
|
7994
|
+
if (_chunk6GPMVHJNcjs.extractYouTubeId.call(void 0, url)) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6GPMVHJNcjs.Video, { kind: "youtube", url });
|
|
7995
7995
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "iframe", { ...rest, src: url, loading: "lazy" });
|
|
7996
7996
|
},
|
|
7997
7997
|
// Raw <video> tags in stored content (blog publisher injection) route
|
|
7998
7998
|
// to the <Video> SSOT (MuxPlayer) so HLS manifests play everywhere.
|
|
7999
7999
|
video: ({ src, poster, className }) => {
|
|
8000
|
-
if (!
|
|
8001
|
-
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,
|
|
8000
|
+
if (!_chunkBGT6JFMPcjs.hasRenderableSrc.call(void 0, src)) return null;
|
|
8001
|
+
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, _chunk6GPMVHJNcjs.Video, { kind: "file", url: src.trim(), poster: typeof poster === "string" ? poster : void 0 }) }) });
|
|
8002
8002
|
}
|
|
8003
8003
|
};
|
|
8004
8004
|
}
|
|
@@ -8106,7 +8106,7 @@ var processShortcodes = (content) => {
|
|
|
8106
8106
|
try {
|
|
8107
8107
|
const urlObj = new URL(url);
|
|
8108
8108
|
const hostname = urlObj.hostname.toLowerCase();
|
|
8109
|
-
const hostIs = (domain) =>
|
|
8109
|
+
const hostIs = (domain) => _chunkFMSAN6SRcjs.hostMatches.call(void 0, hostname, domain);
|
|
8110
8110
|
const isYouTubeVideo = hostIs("youtube.com") && urlObj.searchParams.has("v") || hostIs("youtu.be");
|
|
8111
8111
|
if (isYouTubeVideo || hostIs("reddit.com") || hostIs("twitter.com") || hostIs("x.com") || hostIs("figma.com")) {
|
|
8112
8112
|
return match;
|
|
@@ -8183,13 +8183,13 @@ var RichMarkdownInner = ({
|
|
|
8183
8183
|
},
|
|
8184
8184
|
[resolveLinkEndpointUrl, resolveSource]
|
|
8185
8185
|
);
|
|
8186
|
-
const textSizes = _react.useMemo.call(void 0, () =>
|
|
8186
|
+
const textSizes = _react.useMemo.call(void 0, () => _chunkBGT6JFMPcjs.resolveTextSizeConfig.call(void 0, "article"), []);
|
|
8187
8187
|
const componentOverrides = _react.useMemo.call(void 0,
|
|
8188
8188
|
() => buildRichEmbedOverrides({ ogApiBaseUrl, ogEndpointPath, textSizes }),
|
|
8189
8189
|
[ogApiBaseUrl, ogEndpointPath, textSizes]
|
|
8190
8190
|
);
|
|
8191
8191
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8192
|
-
|
|
8192
|
+
_chunkBGT6JFMPcjs.MarkdownEngine,
|
|
8193
8193
|
{
|
|
8194
8194
|
content,
|
|
8195
8195
|
className,
|
|
@@ -8214,7 +8214,7 @@ var RichMarkdownRendererImpl = ({
|
|
|
8214
8214
|
className = "",
|
|
8215
8215
|
sectionIds,
|
|
8216
8216
|
onInternalLinkClick,
|
|
8217
|
-
brokenLinks =
|
|
8217
|
+
brokenLinks = _chunkBGT6JFMPcjs.NO_BROKEN_LINKS,
|
|
8218
8218
|
currentPath,
|
|
8219
8219
|
resolveSource = "openframe-docs",
|
|
8220
8220
|
resolveLinkEndpointUrl = "/api/docs/resolve-link",
|
|
@@ -9559,7 +9559,7 @@ function renderAdvancedPageContainer({
|
|
|
9559
9559
|
contentClassName,
|
|
9560
9560
|
showHeader = true
|
|
9561
9561
|
}, inScope = false) {
|
|
9562
|
-
const titleNode = title ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDU6AF77Xcjs.PageTitle, { className: PAGE_CONTAINER_TITLE_CLASS, children:
|
|
9562
|
+
const titleNode = title ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDU6AF77Xcjs.PageTitle, { className: PAGE_CONTAINER_TITLE_CLASS, children: _chunkFMSAN6SRcjs.accentSentenceMarks.call(void 0, title) }) : inScope && title === "" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, PageContainerTitleSkeleton, {}) : null;
|
|
9563
9563
|
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;
|
|
9564
9564
|
const getActionsVariant = () => {
|
|
9565
9565
|
if (actionsVariant) return actionsVariant;
|
|
@@ -9986,7 +9986,7 @@ var BenefitCardGrid = ({ children, className = "", columns = 2 }) => {
|
|
|
9986
9986
|
|
|
9987
9987
|
|
|
9988
9988
|
function PlatformBrowseButton({ item }) {
|
|
9989
|
-
const linkProps =
|
|
9989
|
+
const linkProps = _chunkBGT6JFMPcjs.useNavLinkViaRuntime.call(void 0, { href: item.link, targetPlatform: item.targetPlatform });
|
|
9990
9990
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkFCZAUK4Dcjs.Button, { variant: "outline", linkProps, rightIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ExternalLink, { className: "h-4 w-4" }), children: [
|
|
9991
9991
|
"Browse ",
|
|
9992
9992
|
item.buttonText
|
|
@@ -10505,10 +10505,10 @@ var OSTypeBadge = ({
|
|
|
10505
10505
|
if (!osType) {
|
|
10506
10506
|
return labelOnly ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk63A4GZMBcjs.cn.call(void 0, "text-ods-text-secondary", className), children: "Unknown" }) : null;
|
|
10507
10507
|
}
|
|
10508
|
-
const normalized =
|
|
10508
|
+
const normalized = _chunkQMQWXGCHcjs.normalizeOSType.call(void 0, osType);
|
|
10509
10509
|
if (!normalized && !labelOnly) return null;
|
|
10510
|
-
const label =
|
|
10511
|
-
const IconComponent =
|
|
10510
|
+
const label = _chunkQMQWXGCHcjs.getOSLabel.call(void 0, osType);
|
|
10511
|
+
const IconComponent = _chunkQMQWXGCHcjs.getOSIcon.call(void 0, osType);
|
|
10512
10512
|
if (iconOnly && IconComponent) {
|
|
10513
10513
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, IconComponent, { className: _chunk63A4GZMBcjs.cn.call(void 0, iconSize, "text-ods-text-secondary", className) });
|
|
10514
10514
|
}
|
|
@@ -10805,7 +10805,7 @@ function ComplianceLogo({
|
|
|
10805
10805
|
fallback = null,
|
|
10806
10806
|
className
|
|
10807
10807
|
}) {
|
|
10808
|
-
const standard =
|
|
10808
|
+
const standard = _chunkQMQWXGCHcjs.complianceStandardForName.call(void 0, ...names);
|
|
10809
10809
|
if (!standard) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: fallback });
|
|
10810
10810
|
const Official = standard.logo ? COMPLIANCE_LOGOS[standard.logo] : null;
|
|
10811
10811
|
return Official ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -10886,7 +10886,7 @@ function FeatureCardGridView({
|
|
|
10886
10886
|
if (allCardsHaveNoBorders) {
|
|
10887
10887
|
finalCardClassName = "bg-transparent p-0 overflow-visible border-0 shadow-none rounded-none";
|
|
10888
10888
|
}
|
|
10889
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10889
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6GPMVHJNcjs.Card, { className: `${finalCardClassName} ${className}`, children: Array.from({ length: rows }, (_, rowIndex) => {
|
|
10890
10890
|
const startIndex = rowIndex * itemsPerRow;
|
|
10891
10891
|
const rowItems = items.slice(startIndex, startIndex + itemsPerRow);
|
|
10892
10892
|
const isLastRow = rowIndex === rows - 1;
|
|
@@ -10920,7 +10920,7 @@ function FeatureCardGridView({
|
|
|
10920
10920
|
item.icon && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start justify-between", children: [
|
|
10921
10921
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, item.icon, { size: 80, color: item.iconColor }),
|
|
10922
10922
|
item.badge && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10923
|
-
|
|
10923
|
+
_chunk6GPMVHJNcjs.StatusBadge,
|
|
10924
10924
|
{
|
|
10925
10925
|
text: item.badge.text,
|
|
10926
10926
|
variant: item.badge.variant || "card",
|
|
@@ -10929,7 +10929,7 @@ function FeatureCardGridView({
|
|
|
10929
10929
|
)
|
|
10930
10930
|
] }),
|
|
10931
10931
|
!item.icon && item.badge && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-start justify-end", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10932
|
-
|
|
10932
|
+
_chunk6GPMVHJNcjs.StatusBadge,
|
|
10933
10933
|
{
|
|
10934
10934
|
text: item.badge.text,
|
|
10935
10935
|
variant: item.badge.variant || "card",
|
|
@@ -12847,7 +12847,7 @@ function DataTableRowImpl({
|
|
|
12847
12847
|
const containerRef = _react.useRef.call(void 0, null);
|
|
12848
12848
|
const handleClick = _react.useCallback.call(void 0,
|
|
12849
12849
|
(e) => {
|
|
12850
|
-
if (!
|
|
12850
|
+
if (!_chunkQMQWXGCHcjs.isOwnClick.call(void 0, e.target, containerRef.current)) {
|
|
12851
12851
|
if (isLinkMode) e.preventDefault();
|
|
12852
12852
|
return;
|
|
12853
12853
|
}
|
|
@@ -12861,7 +12861,7 @@ function DataTableRowImpl({
|
|
|
12861
12861
|
if (!(target instanceof Element) || !_optionalChain([container, 'optionalAccess', _224 => _224.contains, 'call', _225 => _225(target)])) return;
|
|
12862
12862
|
const nestedLink = target.closest("a");
|
|
12863
12863
|
if (nestedLink && nestedLink !== container && container.contains(nestedLink)) return;
|
|
12864
|
-
if (!
|
|
12864
|
+
if (!_chunkQMQWXGCHcjs.isOwnClick.call(void 0, target, container) || target.closest(ROW_LINK_CONTROL_SELECTOR)) e.preventDefault();
|
|
12865
12865
|
}, []);
|
|
12866
12866
|
const containerClassName = _chunk63A4GZMBcjs.cn.call(void 0,
|
|
12867
12867
|
DATA_TABLE_ROW_FRAME_CLASS,
|
|
@@ -12991,7 +12991,7 @@ function DataTableBody({
|
|
|
12991
12991
|
const skeletonRowClassName = typeof rowClassName === "string" ? rowClassName : void 0;
|
|
12992
12992
|
if (loading && loadingCells && hasRows) {
|
|
12993
12993
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12994
|
-
|
|
12994
|
+
_chunkBGT6JFMPcjs.LoadingFallback,
|
|
12995
12995
|
{
|
|
12996
12996
|
label: "Loading results",
|
|
12997
12997
|
status: loadingRegion && !inScope,
|
|
@@ -13340,7 +13340,7 @@ function HeaderCell({ header, sort, onSortChange }) {
|
|
|
13340
13340
|
// child of the cell.
|
|
13341
13341
|
_optionalChain([meta, 'optionalAccess', _244 => _244.hint]) ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start gap-[var(--spacing-system-xxs)]", children: [
|
|
13342
13342
|
filterTrigger,
|
|
13343
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13343
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQMQWXGCHcjs.InfoHint, { label: resolveHeaderLabel(header), children: meta.hint })
|
|
13344
13344
|
] }) : filterTrigger
|
|
13345
13345
|
) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
13346
13346
|
"div",
|
|
@@ -13365,7 +13365,7 @@ function HeaderCell({ header, sort, onSortChange }) {
|
|
|
13365
13365
|
// centred on the row.
|
|
13366
13366
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 items-start gap-[var(--spacing-system-xxs)]", children: [
|
|
13367
13367
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, HeaderLabel, { header }),
|
|
13368
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13368
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQMQWXGCHcjs.InfoHint, { label: resolveHeaderLabel(header), children: meta.hint })
|
|
13369
13369
|
] })
|
|
13370
13370
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, HeaderLabel, { header }),
|
|
13371
13371
|
canSort && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SortIcon, { sorted: sortDir })
|
|
@@ -13604,7 +13604,7 @@ function PhoneInput({
|
|
|
13604
13604
|
placeholder = "Phone Number (optional)",
|
|
13605
13605
|
onKeyDown
|
|
13606
13606
|
}) {
|
|
13607
|
-
const { priority, others } = _react.useMemo.call(void 0, () =>
|
|
13607
|
+
const { priority, others } = _react.useMemo.call(void 0, () => _chunkQMQWXGCHcjs.getCountryPhoneData.call(void 0, ), []);
|
|
13608
13608
|
const selectedCountry = _react.useMemo.call(void 0,
|
|
13609
13609
|
() => [...priority, ...others].find((c) => c.code === countryCode),
|
|
13610
13610
|
[countryCode, priority, others]
|
|
@@ -13619,7 +13619,7 @@ function PhoneInput({
|
|
|
13619
13619
|
_optionalChain([onValidationChange, 'optionalCall', _261 => _261(false)]);
|
|
13620
13620
|
return;
|
|
13621
13621
|
}
|
|
13622
|
-
const invalid = !
|
|
13622
|
+
const invalid = !_chunkQMQWXGCHcjs.validatePhoneNumber.call(void 0, phone, countryCode);
|
|
13623
13623
|
setIsInvalid(invalid);
|
|
13624
13624
|
_optionalChain([onValidationChange, 'optionalCall', _262 => _262(invalid)]);
|
|
13625
13625
|
},
|
|
@@ -14057,7 +14057,7 @@ function MarkdownLinkDialog({ isOpen, initial, editing, onSubmit, onRemove, onCl
|
|
|
14057
14057
|
),
|
|
14058
14058
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-xsf)]", children: [
|
|
14059
14059
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14060
|
-
|
|
14060
|
+
_chunkBGT6JFMPcjs.TabSelector,
|
|
14061
14061
|
{
|
|
14062
14062
|
label: "Search engines",
|
|
14063
14063
|
value: choice,
|
|
@@ -14114,7 +14114,7 @@ function useMarkdownLinkCommand() {
|
|
|
14114
14114
|
buttonProps: { "aria-label": "Add or edit a link (ctrl + l)", title: "Add or edit a link (ctrl + l)" },
|
|
14115
14115
|
icon: command.icon,
|
|
14116
14116
|
execute: (state, api) => {
|
|
14117
|
-
const existing =
|
|
14117
|
+
const existing = _chunkBGT6JFMPcjs.findMarkdownLinkAt.call(void 0, state.text, state.selection.start, state.selection.end);
|
|
14118
14118
|
setPending(
|
|
14119
14119
|
existing ? {
|
|
14120
14120
|
api,
|
|
@@ -14145,7 +14145,7 @@ function useMarkdownLinkCommand() {
|
|
|
14145
14145
|
initial: _nullishCoalesce(_optionalChain([pending, 'optionalAccess', _292 => _292.initial]), () => ( EMPTY_LINK)),
|
|
14146
14146
|
editing: _nullishCoalesce(_optionalChain([pending, 'optionalAccess', _293 => _293.editing]), () => ( false)),
|
|
14147
14147
|
onSubmit: (link) => {
|
|
14148
|
-
if (pending) write(pending,
|
|
14148
|
+
if (pending) write(pending, _chunkBGT6JFMPcjs.formatMarkdownLink.call(void 0, link));
|
|
14149
14149
|
},
|
|
14150
14150
|
onRemove: () => {
|
|
14151
14151
|
if (pending) write(pending, pending.initial.text);
|
|
@@ -14311,7 +14311,7 @@ function MarkdownEditor({
|
|
|
14311
14311
|
setUploadProgress(`Uploading ${file.name}...`);
|
|
14312
14312
|
try {
|
|
14313
14313
|
const url = await onUploadFile(file);
|
|
14314
|
-
const isImage =
|
|
14314
|
+
const isImage = _chunkFMSAN6SRcjs.fileMediaType.call(void 0, file) === "image";
|
|
14315
14315
|
const markdown = isImage ? `` : `[${file.name}](${url})`;
|
|
14316
14316
|
insertTextAtCursor(markdown);
|
|
14317
14317
|
_optionalChain([onFileUploaded, 'optionalCall', _296 => _296(url, file.name)]);
|
|
@@ -14441,7 +14441,7 @@ function MarkdownEditor({
|
|
|
14441
14441
|
type: "file",
|
|
14442
14442
|
className: "hidden",
|
|
14443
14443
|
onChange: handleFileInputChange,
|
|
14444
|
-
accept: `${
|
|
14444
|
+
accept: `${_chunkFMSAN6SRcjs.IMAGE_FILE_ACCEPT},.pdf,.doc,.docx,.xls,.xlsx,.ppt,.pptx,.zip,.txt`
|
|
14445
14445
|
}
|
|
14446
14446
|
),
|
|
14447
14447
|
/* @__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,
|
|
@@ -14856,7 +14856,7 @@ function matchesAccept2(file, accept) {
|
|
|
14856
14856
|
return patterns.some((pattern) => {
|
|
14857
14857
|
if (pattern.startsWith(".")) return fileName.endsWith(pattern);
|
|
14858
14858
|
if (pattern.endsWith("/*"))
|
|
14859
|
-
return fileType.startsWith(pattern.slice(0, -1)) ||
|
|
14859
|
+
return fileType.startsWith(pattern.slice(0, -1)) || _chunkFMSAN6SRcjs.fileMediaType.call(void 0, file) === pattern.slice(0, -2);
|
|
14860
14860
|
return fileType === pattern;
|
|
14861
14861
|
});
|
|
14862
14862
|
}
|
|
@@ -14864,7 +14864,7 @@ function ImageUploader({
|
|
|
14864
14864
|
value,
|
|
14865
14865
|
onChange,
|
|
14866
14866
|
onRemove,
|
|
14867
|
-
accept =
|
|
14867
|
+
accept = _chunkFMSAN6SRcjs.IMAGE_FILE_ACCEPT,
|
|
14868
14868
|
maxSize = DEFAULT_MAX_SIZE,
|
|
14869
14869
|
label = "Cover Image",
|
|
14870
14870
|
description = "(Click Here or Drag and Drop)",
|
|
@@ -16027,7 +16027,7 @@ function TicketInfoSection({
|
|
|
16027
16027
|
expanded && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
16028
16028
|
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" }) }),
|
|
16029
16029
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-4 border-b border-ods-border bg-ods-bg p-4", children: [
|
|
16030
|
-
description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16030
|
+
description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGT6JFMPcjs.SimpleMarkdownRenderer, { content: description }),
|
|
16031
16031
|
attachments && attachments.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketDetailSection, { label: "Attachments", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketAttachmentsList, { attachments }) }),
|
|
16032
16032
|
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, _chunkGRHF5SWLcjs.Tag, { label: tag, variant: "outline", className: "max-w-full" }, tag)) }) }),
|
|
16033
16033
|
(notes || onAddNote) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketDetailSection, { label: "Notes", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -16502,7 +16502,7 @@ function PhotoWall({
|
|
|
16502
16502
|
gap: COLUMN_GAP_PX
|
|
16503
16503
|
};
|
|
16504
16504
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: rootRef, "aria-hidden": "true", className: _chunk63A4GZMBcjs.cn.call(void 0, "grid overflow-hidden", className), style: gridStyle, children: columnsToDraw ? columnsToDraw.map((column, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16505
|
-
|
|
16505
|
+
_chunkBGT6JFMPcjs.MarqueeWall,
|
|
16506
16506
|
{
|
|
16507
16507
|
axis: "y",
|
|
16508
16508
|
reverse: index % 2 === 1,
|
|
@@ -17047,7 +17047,7 @@ function LoadingLabel({ label, typical }) {
|
|
|
17047
17047
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: label.split(/(\{\w+\})/).map(
|
|
17048
17048
|
(part, index) => /^\{\w+\}$/.test(part) ? (
|
|
17049
17049
|
// biome-ignore lint/suspicious/noArrayIndexKey: the parts of one fixed string never reorder
|
|
17050
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17050
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGT6JFMPcjs.TextHold, { children: typical }, index)
|
|
17051
17051
|
) : part
|
|
17052
17052
|
) });
|
|
17053
17053
|
}
|
|
@@ -17062,7 +17062,7 @@ var TRIAL_TERM_ICONS = {
|
|
|
17062
17062
|
};
|
|
17063
17063
|
var DEFAULT_TRIAL_TERMS = ["cancel", "length", "noContract"];
|
|
17064
17064
|
function trialBenefits(trialDays, terms = DEFAULT_TRIAL_TERMS) {
|
|
17065
|
-
const labels =
|
|
17065
|
+
const labels = _chunkQMQWXGCHcjs.trialLabels.call(void 0, trialDays);
|
|
17066
17066
|
return terms.flatMap((term) => {
|
|
17067
17067
|
const label = labels[term];
|
|
17068
17068
|
return label ? [{ icon: TRIAL_TERM_ICONS[term], label }] : [];
|
|
@@ -18036,7 +18036,7 @@ function SsoProviderButtons({
|
|
|
18036
18036
|
// where a long organization name would otherwise push the label out of a phone-width
|
|
18037
18037
|
// button. `block` over its inline-flex, because an ellipsis only renders on a block box.
|
|
18038
18038
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18039
|
-
|
|
18039
|
+
_chunk6GPMVHJNcjs.StatusBadge,
|
|
18040
18040
|
{
|
|
18041
18041
|
text: tag,
|
|
18042
18042
|
variant: "button",
|
|
@@ -18096,7 +18096,7 @@ function CompleteAccountForm({
|
|
|
18096
18096
|
),
|
|
18097
18097
|
children: [
|
|
18098
18098
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
|
|
18099
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
18099
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunkFMSAN6SRcjs.accentSentenceMarks.call(void 0, title) }),
|
|
18100
18100
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: subtitle })
|
|
18101
18101
|
] }),
|
|
18102
18102
|
(ssoProvidersLoading || ssoProviders && ssoProviders.length > 0) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
@@ -18247,7 +18247,7 @@ function CreateOrganizationForm({
|
|
|
18247
18247
|
),
|
|
18248
18248
|
children: [
|
|
18249
18249
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
|
|
18250
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
18250
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunkFMSAN6SRcjs.accentSentenceMarks.call(void 0, title) }),
|
|
18251
18251
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: subtitle === null ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.TextLineSkeleton, { type: "inherit", as: "span", className: CREATE_ORGANIZATION_SUBTITLE_BAR_CLASS }) : subtitle })
|
|
18252
18252
|
] }),
|
|
18253
18253
|
email === void 0 ? null : emailReadOnly && emailReadOnlyLabel === null ? (
|
|
@@ -18394,7 +18394,7 @@ function InviteLinkInvalidModal({
|
|
|
18394
18394
|
),
|
|
18395
18395
|
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: [
|
|
18396
18396
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-mf)]", children: [
|
|
18397
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "flex-1 tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
18397
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "flex-1 tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunkFMSAN6SRcjs.accentSentenceMarks.call(void 0, title) }),
|
|
18398
18398
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18399
18399
|
_chunkFCZAUK4Dcjs.Button,
|
|
18400
18400
|
{
|
|
@@ -18478,7 +18478,7 @@ function LoginForm({
|
|
|
18478
18478
|
),
|
|
18479
18479
|
children: [
|
|
18480
18480
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
|
|
18481
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
18481
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunkFMSAN6SRcjs.accentSentenceMarks.call(void 0, title) }),
|
|
18482
18482
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: subtitle })
|
|
18483
18483
|
] }),
|
|
18484
18484
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -18605,7 +18605,7 @@ function NoAccountNotice({
|
|
|
18605
18605
|
),
|
|
18606
18606
|
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: [
|
|
18607
18607
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
|
|
18608
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
18608
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunkFMSAN6SRcjs.accentSentenceMarks.call(void 0, title) }),
|
|
18609
18609
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: description })
|
|
18610
18610
|
] }),
|
|
18611
18611
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFCZAUK4Dcjs.Button, { type: "button", variant: "outline", fullWidth: true, onClick: onBackToLogin, children: backLabel })
|
|
@@ -18654,7 +18654,7 @@ function OpenFrameSsoLoginForm({
|
|
|
18654
18654
|
),
|
|
18655
18655
|
children: [
|
|
18656
18656
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-xs)]", children: [
|
|
18657
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
18657
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunkFMSAN6SRcjs.accentSentenceMarks.call(void 0, title) }),
|
|
18658
18658
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: subtitle })
|
|
18659
18659
|
] }),
|
|
18660
18660
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -18759,7 +18759,7 @@ function OpenFrameSsoSignUpForm({
|
|
|
18759
18759
|
),
|
|
18760
18760
|
children: [
|
|
18761
18761
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-xs)]", children: [
|
|
18762
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
18762
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunkFMSAN6SRcjs.accentSentenceMarks.call(void 0, title) }),
|
|
18763
18763
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: subtitle })
|
|
18764
18764
|
] }),
|
|
18765
18765
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -18865,7 +18865,7 @@ function PasswordResetForm({
|
|
|
18865
18865
|
),
|
|
18866
18866
|
children: [
|
|
18867
18867
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
|
|
18868
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
18868
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunkFMSAN6SRcjs.accentSentenceMarks.call(void 0, title) }),
|
|
18869
18869
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: subtitle })
|
|
18870
18870
|
] }),
|
|
18871
18871
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -18986,7 +18986,7 @@ function SsoJoinForm({
|
|
|
18986
18986
|
),
|
|
18987
18987
|
children: [
|
|
18988
18988
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
|
|
18989
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
18989
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunkFMSAN6SRcjs.accentSentenceMarks.call(void 0, title) }),
|
|
18990
18990
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: subtitle })
|
|
18991
18991
|
] }),
|
|
18992
18992
|
/* @__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: [
|
|
@@ -19252,7 +19252,7 @@ function ChangelogManager({
|
|
|
19252
19252
|
),
|
|
19253
19253
|
/* @__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)" }) }),
|
|
19254
19254
|
tagOptions && tagLabelOf(entry.tag) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19255
|
-
|
|
19255
|
+
_chunk6GPMVHJNcjs.StatusBadge,
|
|
19256
19256
|
{
|
|
19257
19257
|
variant: "button",
|
|
19258
19258
|
singleLine: true,
|
|
@@ -19611,7 +19611,7 @@ function EntityTagBadgesSkeleton({
|
|
|
19611
19611
|
}) {
|
|
19612
19612
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { "aria-hidden": true, className: _chunk63A4GZMBcjs.cn.call(void 0, TAG_ROW_CLASS, className), children: [
|
|
19613
19613
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk63A4GZMBcjs.LoadingItems, { count, children: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: TAG_ITEM_CLASS, "data-loading-item": true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19614
|
-
|
|
19614
|
+
_chunk6GPMVHJNcjs.StatusBadge,
|
|
19615
19615
|
{
|
|
19616
19616
|
loading: true,
|
|
19617
19617
|
text: "",
|
|
@@ -19619,7 +19619,7 @@ function EntityTagBadgesSkeleton({
|
|
|
19619
19619
|
className: _chunk63A4GZMBcjs.cn.call(void 0, "border", _nullishCoalesce(itemClassName, () => ( TAG_SKELETON_WIDTH_CLASS)))
|
|
19620
19620
|
}
|
|
19621
19621
|
) }) }),
|
|
19622
|
-
overflow && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: TAG_ITEM_CLASS, "data-loading-item": true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19622
|
+
overflow && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: TAG_ITEM_CLASS, "data-loading-item": true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6GPMVHJNcjs.StatusBadge, { loading: true, text: "", variant: "card", className: _chunk63A4GZMBcjs.cn.call(void 0, "border", OVERFLOW_BADGE_SKELETON_CLASS) }) })
|
|
19623
19623
|
] });
|
|
19624
19624
|
}
|
|
19625
19625
|
function EntityTagBadges({
|
|
@@ -19647,7 +19647,7 @@ function EntityTagBadges({
|
|
|
19647
19647
|
const label = (tag.name || "").toUpperCase();
|
|
19648
19648
|
if (basePath && tag.slug) {
|
|
19649
19649
|
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,
|
|
19650
|
-
|
|
19650
|
+
_chunk6GPMVHJNcjs.StatusBadge,
|
|
19651
19651
|
{
|
|
19652
19652
|
text: label,
|
|
19653
19653
|
variant: "card",
|
|
@@ -19655,7 +19655,7 @@ function EntityTagBadges({
|
|
|
19655
19655
|
}
|
|
19656
19656
|
) }, key);
|
|
19657
19657
|
}
|
|
19658
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: itemClass(index), "data-loading-item": true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19658
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: itemClass(index), "data-loading-item": true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6GPMVHJNcjs.StatusBadge, { text: label, variant: "card", className: BADGE_CLASS }) }, key);
|
|
19659
19659
|
}),
|
|
19660
19660
|
phoneOverflow === overflow ? overflow > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, OverflowBadge, { count: overflow }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
19661
19661
|
phoneOverflow > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, OverflowBadge, { count: phoneOverflow, className: "content-md:hidden" }),
|
|
@@ -19664,7 +19664,7 @@ function EntityTagBadges({
|
|
|
19664
19664
|
] });
|
|
19665
19665
|
}
|
|
19666
19666
|
function OverflowBadge({ count, className }) {
|
|
19667
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk63A4GZMBcjs.cn.call(void 0, TAG_ITEM_CLASS, className), "data-loading-item": true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19667
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk63A4GZMBcjs.cn.call(void 0, TAG_ITEM_CLASS, className), "data-loading-item": true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6GPMVHJNcjs.StatusBadge, { text: `+${count}`, variant: "card", className: _chunk63A4GZMBcjs.cn.call(void 0, BADGE_CLASS, "text-ods-text-secondary") }) });
|
|
19668
19668
|
}
|
|
19669
19669
|
|
|
19670
19670
|
// src/components/features/error-boundary.tsx
|
|
@@ -19759,7 +19759,7 @@ var SectionButton = ({
|
|
|
19759
19759
|
}
|
|
19760
19760
|
),
|
|
19761
19761
|
section.badge && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19762
|
-
|
|
19762
|
+
_chunk6GPMVHJNcjs.StatusBadge,
|
|
19763
19763
|
{
|
|
19764
19764
|
text: section.badge.text,
|
|
19765
19765
|
variant: section.badge.variant || "button",
|
|
@@ -19778,7 +19778,7 @@ var SectionButton = ({
|
|
|
19778
19778
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-wrap items-start gap-2", children: [
|
|
19779
19779
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk63A4GZMBcjs.cn.call(void 0, titleClasses, "text-h3"), style: { textAlign: "left" }, children: section.title }),
|
|
19780
19780
|
section.badge && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19781
|
-
|
|
19781
|
+
_chunk6GPMVHJNcjs.StatusBadge,
|
|
19782
19782
|
{
|
|
19783
19783
|
text: section.badge.text,
|
|
19784
19784
|
variant: section.badge.variant || "button",
|
|
@@ -20841,15 +20841,15 @@ function useLoading() {
|
|
|
20841
20841
|
|
|
20842
20842
|
|
|
20843
20843
|
function isAlreadyThere(file, existing) {
|
|
20844
|
-
const key =
|
|
20844
|
+
const key = _chunkFMSAN6SRcjs.mediaNameKey.call(void 0, file.name);
|
|
20845
20845
|
if (!key) return false;
|
|
20846
20846
|
return existing.some(
|
|
20847
|
-
(item) => (item.title ?
|
|
20847
|
+
(item) => (item.title ? _chunkFMSAN6SRcjs.mediaNameKey.call(void 0, item.title) === key : false) || (item.media_url ? _chunkFMSAN6SRcjs.mediaNameKey.call(void 0, item.media_url) === key : false)
|
|
20848
20848
|
);
|
|
20849
20849
|
}
|
|
20850
20850
|
var isFileDrag = (event) => Array.from(event.dataTransfer.types).includes("Files");
|
|
20851
|
-
var isVideoItem = (item) =>
|
|
20852
|
-
var MEDIA_KIND_ACCEPT = { image:
|
|
20851
|
+
var isVideoItem = (item) => _chunkFMSAN6SRcjs.isVideoMedia.call(void 0, item) || item.media_type === "demo";
|
|
20852
|
+
var MEDIA_KIND_ACCEPT = { image: _chunkFMSAN6SRcjs.IMAGE_FILE_ACCEPT, video: "video/*", both: _chunkFMSAN6SRcjs.MEDIA_FILE_ACCEPT };
|
|
20853
20853
|
var MEDIA_KIND_COPY = {
|
|
20854
20854
|
image: { noun: "pictures", refusal: "Not a picture" },
|
|
20855
20855
|
video: { noun: "videos", refusal: "Not a video" },
|
|
@@ -20873,12 +20873,12 @@ function useMediaIntake({ existing, onUpload, onUploaded, kinds = "both" }) {
|
|
|
20873
20873
|
const seen = /* @__PURE__ */ new Set();
|
|
20874
20874
|
const accepted = [];
|
|
20875
20875
|
for (const file of files) {
|
|
20876
|
-
const mediaType =
|
|
20876
|
+
const mediaType = _chunkFMSAN6SRcjs.fileMediaType.call(void 0, file);
|
|
20877
20877
|
if (!mediaType || kinds !== "both" && mediaType !== kinds) {
|
|
20878
20878
|
unsupported.push(file.name);
|
|
20879
20879
|
continue;
|
|
20880
20880
|
}
|
|
20881
|
-
const contentKey = await
|
|
20881
|
+
const contentKey = await _chunkFMSAN6SRcjs.fileContentKey.call(void 0, file).catch(() => `${file.name}:${file.size}`);
|
|
20882
20882
|
if (seen.has(contentKey) || isAlreadyThere(file, existingRef.current)) {
|
|
20883
20883
|
duplicates.push(file.name);
|
|
20884
20884
|
continue;
|
|
@@ -21059,7 +21059,7 @@ function MediaGalleryManager({
|
|
|
21059
21059
|
className: _chunk63A4GZMBcjs.cn.call(void 0, "grid grid-cols-1 gap-4 content-md:grid-cols-2", columns === 3 && "content-lg:grid-cols-3"),
|
|
21060
21060
|
children: [
|
|
21061
21061
|
media.map((item, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
21062
|
-
|
|
21062
|
+
_chunk6GPMVHJNcjs.Card,
|
|
21063
21063
|
{
|
|
21064
21064
|
className: "group relative border-ods-border transition-colors hover:border-ods-accent/30",
|
|
21065
21065
|
draggable: true,
|
|
@@ -21084,7 +21084,7 @@ function MediaGalleryManager({
|
|
|
21084
21084
|
) }),
|
|
21085
21085
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "relative aspect-video overflow-hidden rounded-lg bg-ods-bg", children: isVideoItem(item) ? (
|
|
21086
21086
|
// <Video> SSOT (MuxPlayer): plays Mux HLS and MP4 alike; fit="cover" crops to the cell.
|
|
21087
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21087
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6GPMVHJNcjs.Video, { kind: "file", url: item.media_url, fit: "cover", className: "h-full w-full" })
|
|
21088
21088
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21089
21089
|
_chunk3V5JWG27cjs.next_image_default,
|
|
21090
21090
|
{
|
|
@@ -21136,7 +21136,7 @@ function MediaGalleryManager({
|
|
|
21136
21136
|
},
|
|
21137
21137
|
_nullishCoalesce(item.id, () => ( `${item.media_url}-${index}`))
|
|
21138
21138
|
)),
|
|
21139
|
-
pending.map((name, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
21139
|
+
pending.map((name, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk6GPMVHJNcjs.Card, { className: "border-ods-border", "aria-busy": "true", children: [
|
|
21140
21140
|
/* @__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" }) }),
|
|
21141
21141
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "truncate p-3 text-ods-text-secondary text-h6", children: name })
|
|
21142
21142
|
] }, `pending-${name}-${index}`))
|
|
@@ -21493,7 +21493,7 @@ var MODEL_TOKEN_RATES_COPY = {
|
|
|
21493
21493
|
empty: "No token rates are in effect right now."
|
|
21494
21494
|
};
|
|
21495
21495
|
function providerMark(providerType, stated, className) {
|
|
21496
|
-
const Mark = _chunk2HQNXX2Kcjs.findIcon.call(void 0,
|
|
21496
|
+
const Mark = _chunk2HQNXX2Kcjs.findIcon.call(void 0, _chunkQMQWXGCHcjs.aiProvider.call(void 0, providerType, { icon: stated }).icon);
|
|
21497
21497
|
return Mark ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Mark, { className }) : void 0;
|
|
21498
21498
|
}
|
|
21499
21499
|
var PAD_X = "px-[var(--spacing-system-s)]";
|
|
@@ -21511,7 +21511,7 @@ var UNIT_LINE_CLASS = _chunk63A4GZMBcjs.cn.call(void 0,
|
|
|
21511
21511
|
var TABS_ROW_CLASS = _chunk63A4GZMBcjs.cn.call(void 0, "shrink-0 border-b border-ods-border py-[var(--spacing-system-xs)]", PAD_X);
|
|
21512
21512
|
var NUMBER_CELL = "w-16 shrink-0 whitespace-nowrap text-right tabular-nums";
|
|
21513
21513
|
function useProviderGroup(rates) {
|
|
21514
|
-
const groups =
|
|
21514
|
+
const groups = _chunkQMQWXGCHcjs.groupTokenRatesByProvider.call(void 0, rates);
|
|
21515
21515
|
const [picked, setPicked] = _react.useState.call(void 0, null);
|
|
21516
21516
|
return { groups, group: _nullishCoalesce(groups.find((candidate) => candidate.providerType === picked), () => ( groups[0])), setPicked };
|
|
21517
21517
|
}
|
|
@@ -21522,7 +21522,7 @@ function ProviderTabs({
|
|
|
21522
21522
|
className
|
|
21523
21523
|
}) {
|
|
21524
21524
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21525
|
-
|
|
21525
|
+
_chunkBGT6JFMPcjs.TabSelector,
|
|
21526
21526
|
{
|
|
21527
21527
|
variant: "secondary",
|
|
21528
21528
|
scrollable: true,
|
|
@@ -21530,7 +21530,7 @@ function ProviderTabs({
|
|
|
21530
21530
|
onValueChange,
|
|
21531
21531
|
items: groups.map((candidate) => ({
|
|
21532
21532
|
id: candidate.providerType,
|
|
21533
|
-
label:
|
|
21533
|
+
label: _chunkQMQWXGCHcjs.tokenRateProviderLabel.call(void 0, candidate.providerType, _optionalChain([candidate, 'access', _435 => _435.rates, 'access', _436 => _436[0], 'optionalAccess', _437 => _437.providerLabel])),
|
|
21534
21534
|
icon: providerMark(candidate.providerType, _optionalChain([candidate, 'access', _438 => _438.rates, 'access', _439 => _439[0], 'optionalAccess', _440 => _440.providerIcon]), "size-full")
|
|
21535
21535
|
})),
|
|
21536
21536
|
className
|
|
@@ -21607,8 +21607,8 @@ function ModelTokenRatesTable({ rates }) {
|
|
|
21607
21607
|
] }),
|
|
21608
21608
|
/* @__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", { "data-loading-item": true, role: "row", className: BODY_ROW_CLASS, children: [
|
|
21609
21609
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "rowheader", className: "min-w-0 flex-1 truncate", children: rate.displayName || rate.modelName }),
|
|
21610
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "cell", className: NUMBER_CELL, children:
|
|
21611
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "cell", className: NUMBER_CELL, children:
|
|
21610
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "cell", className: NUMBER_CELL, children: _chunkQMQWXGCHcjs.formatTokenRate.call(void 0, rate.inputTokenRate) }),
|
|
21611
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "cell", className: NUMBER_CELL, children: _chunkQMQWXGCHcjs.formatTokenRate.call(void 0, rate.outputTokenRate) })
|
|
21612
21612
|
] }, rate.modelName)) })
|
|
21613
21613
|
] }),
|
|
21614
21614
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: UNIT_LINE_CLASS, children: MODEL_TOKEN_RATES_COPY.unit })
|
|
@@ -21655,7 +21655,7 @@ function modelOption(rate) {
|
|
|
21655
21655
|
return {
|
|
21656
21656
|
label: rate.displayName || rate.modelName,
|
|
21657
21657
|
value: rate.modelName,
|
|
21658
|
-
description:
|
|
21658
|
+
description: _chunkQMQWXGCHcjs.tokenRateProviderLabel.call(void 0, rate.providerType, rate.providerLabel),
|
|
21659
21659
|
icon: providerMark(rate.providerType, rate.providerIcon, "size-full text-ods-text-secondary")
|
|
21660
21660
|
};
|
|
21661
21661
|
}
|
|
@@ -21710,8 +21710,8 @@ function ModelTokenExchange({
|
|
|
21710
21710
|
const [chosen, setChosen] = _react.useState.call(void 0, null);
|
|
21711
21711
|
const balance = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(chosen, () => ( defaultAmount)), () => ( _optionalChain([tokenPrice, 'optionalAccess', _441 => _441.tokens]))), () => ( MODEL_TOKEN_EXCHANGE_BALANCE));
|
|
21712
21712
|
const max = Math.max(amountRange.max, balance, ...presets.map((preset) => preset.tokens));
|
|
21713
|
-
const tokens =
|
|
21714
|
-
const cost =
|
|
21713
|
+
const tokens = _chunkQMQWXGCHcjs.formatTokenAmount.call(void 0, balance);
|
|
21714
|
+
const cost = _chunkQMQWXGCHcjs.tokenCost.call(void 0, balance, tokenPrice);
|
|
21715
21715
|
const balancePrice = cost === null ? null : _chunkGRHF5SWLcjs.formatPrice.call(void 0, cost);
|
|
21716
21716
|
const model = rate ? rate.displayName || rate.modelName : "";
|
|
21717
21717
|
const options = models.map(modelOption);
|
|
@@ -21754,7 +21754,7 @@ function ModelTokenExchange({
|
|
|
21754
21754
|
variant: preset.tokens === balance ? "accent" : "outline",
|
|
21755
21755
|
size: "small",
|
|
21756
21756
|
onClick: () => setChosen(preset.tokens),
|
|
21757
|
-
children: copy.buy.preset(
|
|
21757
|
+
children: copy.buy.preset(_chunkQMQWXGCHcjs.formatTokenAmount.call(void 0, preset.tokens), preset.label)
|
|
21758
21758
|
},
|
|
21759
21759
|
preset.label
|
|
21760
21760
|
)) })
|
|
@@ -21771,7 +21771,7 @@ function ModelTokenExchange({
|
|
|
21771
21771
|
const stated = _nullishCoalesce(models.find((option) => option.providerType === providerType), () => ( (_optionalChain([rate, 'optionalAccess', _442 => _442.providerType]) === providerType ? rate : null)));
|
|
21772
21772
|
return {
|
|
21773
21773
|
id: providerType,
|
|
21774
|
-
name:
|
|
21774
|
+
name: _chunkQMQWXGCHcjs.tokenRateProviderLabel.call(void 0, providerType, _optionalChain([stated, 'optionalAccess', _443 => _443.providerLabel])),
|
|
21775
21775
|
icon: providerMark(providerType, _optionalChain([stated, 'optionalAccess', _444 => _444.providerIcon]), "size-8 text-ods-text-secondary")
|
|
21776
21776
|
};
|
|
21777
21777
|
}),
|
|
@@ -21810,7 +21810,7 @@ function ModelTokenExchange({
|
|
|
21810
21810
|
{
|
|
21811
21811
|
size: "plain",
|
|
21812
21812
|
loading,
|
|
21813
|
-
figure:
|
|
21813
|
+
figure: _chunkQMQWXGCHcjs.formatTokenRate.call(void 0, _optionalChain([rate, 'optionalAccess', _449 => _449.inputTokenRate])),
|
|
21814
21814
|
words: copy.charge.input
|
|
21815
21815
|
}
|
|
21816
21816
|
),
|
|
@@ -21819,7 +21819,7 @@ function ModelTokenExchange({
|
|
|
21819
21819
|
{
|
|
21820
21820
|
size: "plain",
|
|
21821
21821
|
loading,
|
|
21822
|
-
figure:
|
|
21822
|
+
figure: _chunkQMQWXGCHcjs.formatTokenRate.call(void 0, _optionalChain([rate, 'optionalAccess', _450 => _450.outputTokenRate])),
|
|
21823
21823
|
words: copy.charge.output
|
|
21824
21824
|
}
|
|
21825
21825
|
)
|
|
@@ -21831,9 +21831,9 @@ function ModelTokenExchange({
|
|
|
21831
21831
|
className: "mt-auto flex flex-col rounded-md border border-ods-accent bg-ods-bg p-[var(--spacing-system-mf)]",
|
|
21832
21832
|
children: [
|
|
21833
21833
|
/* @__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, _chunk3TOWCFIKcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-full max-w-xs" }) : copy.charge.so(_nullishCoalesce(balancePrice, () => ( copy.buy.tokens(tokens))), model) }),
|
|
21834
|
-
/* @__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, _chunk3TOWCFIKcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-40" }) :
|
|
21834
|
+
/* @__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, _chunk3TOWCFIKcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-40" }) : _chunkQMQWXGCHcjs.formatTokenAmount.call(void 0, _chunkQMQWXGCHcjs.tokensForBalance.call(void 0, balance, rate.inputTokenRate)) }),
|
|
21835
21835
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-h-[1lh] text-ods-text-primary text-h3", children: copy.charge.read }),
|
|
21836
|
-
/* @__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, _chunk3TOWCFIKcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-48" }) : copy.charge.orWritten(
|
|
21836
|
+
/* @__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, _chunk3TOWCFIKcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-48" }) : copy.charge.orWritten(_chunkQMQWXGCHcjs.formatTokenAmount.call(void 0, _chunkQMQWXGCHcjs.tokensForBalance.call(void 0, balance, rate.outputTokenRate))) })
|
|
21837
21837
|
]
|
|
21838
21838
|
}
|
|
21839
21839
|
)
|
|
@@ -22353,14 +22353,14 @@ var ConfidenceBadge = ({
|
|
|
22353
22353
|
size = "sm",
|
|
22354
22354
|
className
|
|
22355
22355
|
}) => {
|
|
22356
|
-
const level =
|
|
22356
|
+
const level = _chunkQMQWXGCHcjs.getConfidenceLevel.call(void 0, confidence);
|
|
22357
22357
|
if (level === "none") {
|
|
22358
22358
|
return null;
|
|
22359
22359
|
}
|
|
22360
|
-
const label =
|
|
22361
|
-
const borderClass =
|
|
22362
|
-
const textClass =
|
|
22363
|
-
const bgClass =
|
|
22360
|
+
const label = _chunkQMQWXGCHcjs.getConfidenceLabel.call(void 0, confidence);
|
|
22361
|
+
const borderClass = _chunkQMQWXGCHcjs.getConfidenceBorderClass.call(void 0, confidence);
|
|
22362
|
+
const textClass = _chunkQMQWXGCHcjs.getConfidenceTextClass.call(void 0, confidence);
|
|
22363
|
+
const bgClass = _chunkQMQWXGCHcjs.getConfidenceBgClass.call(void 0, confidence);
|
|
22364
22364
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
22365
22365
|
"span",
|
|
22366
22366
|
{
|
|
@@ -22411,9 +22411,9 @@ function SEOEditorPreview({
|
|
|
22411
22411
|
const [isUploading, setIsUploading] = _react.useState.call(void 0, false);
|
|
22412
22412
|
const [fileInputRef, setFileInputRef] = _react.useState.call(void 0, null);
|
|
22413
22413
|
const seoTitleLength = (seoTitle || "").length;
|
|
22414
|
-
const seoTitleTooLong = seoTitleLength >
|
|
22414
|
+
const seoTitleTooLong = seoTitleLength > _chunkQMQWXGCHcjs.SEO_TITLE_MAX_LENGTH;
|
|
22415
22415
|
const seoDescriptionLength = (seoDescription || "").length;
|
|
22416
|
-
const seoDescriptionTooLong = seoDescriptionLength >
|
|
22416
|
+
const seoDescriptionTooLong = seoDescriptionLength > _chunkQMQWXGCHcjs.SEO_DESCRIPTION_MAX_LENGTH;
|
|
22417
22417
|
const displayTitle = seoTitle.trim() || title || "Untitled";
|
|
22418
22418
|
const displayDescription = seoDescription.trim() || summary || "No description";
|
|
22419
22419
|
const hasOgImage = ogImageUrl.trim();
|
|
@@ -22438,10 +22438,10 @@ function SEOEditorPreview({
|
|
|
22438
22438
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid grid-cols-1 gap-4 content-lg:grid-cols-2", children: [
|
|
22439
22439
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
22440
22440
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22441
|
-
|
|
22441
|
+
_chunkQMQWXGCHcjs.Field,
|
|
22442
22442
|
{
|
|
22443
22443
|
label: "SEO Title",
|
|
22444
|
-
error: seoTitleTooLong ? `Too long: search engines may truncate this title (keep it under ${
|
|
22444
|
+
error: seoTitleTooLong ? `Too long: search engines may truncate this title (keep it under ${_chunkQMQWXGCHcjs.SEO_TITLE_MAX_LENGTH})` : null,
|
|
22445
22445
|
labelExtras: aiConfidenceSeoTitle !== void 0 ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
22446
22446
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, AIGeneratedBadge, {}),
|
|
22447
22447
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ConfidenceBadge, { confidence: aiConfidenceSeoTitle, showLabel: true, showPercentage: true, size: "sm" })
|
|
@@ -22456,7 +22456,7 @@ function SEOEditorPreview({
|
|
|
22456
22456
|
children: [
|
|
22457
22457
|
seoTitleLength,
|
|
22458
22458
|
"/",
|
|
22459
|
-
|
|
22459
|
+
_chunkQMQWXGCHcjs.SEO_TITLE_MAX_LENGTH
|
|
22460
22460
|
]
|
|
22461
22461
|
}
|
|
22462
22462
|
),
|
|
@@ -22467,7 +22467,7 @@ function SEOEditorPreview({
|
|
|
22467
22467
|
value: seoTitle || "",
|
|
22468
22468
|
onChange: (e) => onSeoTitleChange(e.target.value),
|
|
22469
22469
|
disabled,
|
|
22470
|
-
maxLength:
|
|
22470
|
+
maxLength: _chunkQMQWXGCHcjs.SEO_TITLE_MAX_LENGTH,
|
|
22471
22471
|
invalid: seoTitleTooLong,
|
|
22472
22472
|
placeholder: "Enter SEO meta title...",
|
|
22473
22473
|
className: "border-ods-border bg-ods-bg text-ods-text-primary"
|
|
@@ -22478,7 +22478,7 @@ function SEOEditorPreview({
|
|
|
22478
22478
|
!seoTitle && title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-accent text-h6", children: "Auto-populated from title" })
|
|
22479
22479
|
] }),
|
|
22480
22480
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22481
|
-
|
|
22481
|
+
_chunkQMQWXGCHcjs.Field,
|
|
22482
22482
|
{
|
|
22483
22483
|
label: "SEO Keywords",
|
|
22484
22484
|
labelExtras: aiConfidenceSeoKeywords !== void 0 ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
@@ -22510,10 +22510,10 @@ function SEOEditorPreview({
|
|
|
22510
22510
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid grid-cols-1 gap-4 content-lg:grid-cols-2", children: [
|
|
22511
22511
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
22512
22512
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22513
|
-
|
|
22513
|
+
_chunkQMQWXGCHcjs.Field,
|
|
22514
22514
|
{
|
|
22515
22515
|
label: "SEO Description",
|
|
22516
|
-
error: seoDescriptionTooLong ? `Too long: search engines may truncate this description (keep it under ${
|
|
22516
|
+
error: seoDescriptionTooLong ? `Too long: search engines may truncate this description (keep it under ${_chunkQMQWXGCHcjs.SEO_DESCRIPTION_MAX_LENGTH})` : null,
|
|
22517
22517
|
labelExtras: aiConfidenceSeoDescription !== void 0 ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
22518
22518
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, AIGeneratedBadge, {}),
|
|
22519
22519
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -22536,7 +22536,7 @@ function SEOEditorPreview({
|
|
|
22536
22536
|
children: [
|
|
22537
22537
|
seoDescriptionLength,
|
|
22538
22538
|
"/",
|
|
22539
|
-
|
|
22539
|
+
_chunkQMQWXGCHcjs.SEO_DESCRIPTION_MAX_LENGTH
|
|
22540
22540
|
]
|
|
22541
22541
|
}
|
|
22542
22542
|
),
|
|
@@ -22547,7 +22547,7 @@ function SEOEditorPreview({
|
|
|
22547
22547
|
value: seoDescription || "",
|
|
22548
22548
|
onChange: (e) => onSeoDescriptionChange(e.target.value),
|
|
22549
22549
|
disabled,
|
|
22550
|
-
maxLength:
|
|
22550
|
+
maxLength: _chunkQMQWXGCHcjs.SEO_DESCRIPTION_MAX_LENGTH,
|
|
22551
22551
|
invalid: seoDescriptionTooLong,
|
|
22552
22552
|
placeholder: "Enter SEO meta description...",
|
|
22553
22553
|
className: _chunk63A4GZMBcjs.cn.call(void 0, "resize-none border-ods-border bg-ods-bg text-ods-text-primary", SEO_MEDIA_BOX_HEIGHT)
|
|
@@ -22616,7 +22616,7 @@ function SEOEditorPreview({
|
|
|
22616
22616
|
{
|
|
22617
22617
|
ref: setFileInputRef,
|
|
22618
22618
|
type: "file",
|
|
22619
|
-
accept:
|
|
22619
|
+
accept: _chunkFMSAN6SRcjs.IMAGE_FILE_ACCEPT,
|
|
22620
22620
|
onChange: handleImageUpload,
|
|
22621
22621
|
className: "hidden",
|
|
22622
22622
|
disabled: disabled || isUploading
|
|
@@ -22700,7 +22700,7 @@ function socialIcon(platform) {
|
|
|
22700
22700
|
return _nullishCoalesce(_chunk2HQNXX2Kcjs.iconOf.call(void 0, SOCIAL_ICONS[platform]), () => ( void 0));
|
|
22701
22701
|
}
|
|
22702
22702
|
function renderSocialIcon(platform) {
|
|
22703
|
-
const key = _nullishCoalesce(
|
|
22703
|
+
const key = _nullishCoalesce(_chunkFMSAN6SRcjs.normalizeSocialPlatform.call(void 0, platform), () => ( "website"));
|
|
22704
22704
|
const icon = _nullishCoalesce(socialIcon(key), () => ( socialIcon("website")));
|
|
22705
22705
|
return icon ? _react.createElement.call(void 0, icon, { className: "h-5 w-5" }) : null;
|
|
22706
22706
|
}
|
|
@@ -22791,7 +22791,7 @@ function SocialLinksManager({
|
|
|
22791
22791
|
};
|
|
22792
22792
|
const getIcon = (link, platform) => {
|
|
22793
22793
|
const iconKey = _optionalChain([platform, 'optionalAccess', _460 => _460.icon_name]) || link.platform;
|
|
22794
|
-
const key =
|
|
22794
|
+
const key = _chunkFMSAN6SRcjs.normalizeSocialPlatform.call(void 0, iconKey);
|
|
22795
22795
|
if (!key) return null;
|
|
22796
22796
|
const icon = socialIcon(key);
|
|
22797
22797
|
return icon ? _react.createElement.call(void 0, icon, { className: "h-5 w-5 text-ods-text-secondary" }) : null;
|
|
@@ -22927,7 +22927,7 @@ var StartWithOpenFrameButton = _react.forwardRef.call(void 0,
|
|
|
22927
22927
|
className: _chunk63A4GZMBcjs.cn.call(void 0, modeClassName, className),
|
|
22928
22928
|
style: customStyle,
|
|
22929
22929
|
leftIcon: !loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHJZLKYOBcjs.OpenframeLogoIcon, { secondaryColor: iconLowerPath, className: "h-5 w-5", color: iconUpperPath }) : void 0,
|
|
22930
|
-
rightIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22930
|
+
rightIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6GPMVHJNcjs.StatusBadge, { text: "Beta", variant: "button", colorScheme: "yellow" }),
|
|
22931
22931
|
children
|
|
22932
22932
|
}
|
|
22933
22933
|
);
|
|
@@ -23255,11 +23255,11 @@ function WarningBlock({ title, icon = DEFAULT_ICON, children, className }) {
|
|
|
23255
23255
|
|
|
23256
23256
|
function VideoBitesDisplay({
|
|
23257
23257
|
bites,
|
|
23258
|
-
title =
|
|
23258
|
+
title = _chunk6GPMVHJNcjs.DEFAULT_VIDEO_BITES_TITLE,
|
|
23259
23259
|
filterPublished = true,
|
|
23260
23260
|
showTitle = true
|
|
23261
23261
|
}) {
|
|
23262
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23262
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGT6JFMPcjs.VideoBitesStrip, { bites, title, filterPublished, showTitle });
|
|
23263
23263
|
}
|
|
23264
23264
|
|
|
23265
23265
|
// src/components/features/walkthrough-video.tsx
|
|
@@ -23288,7 +23288,7 @@ function WalkthroughVideo({
|
|
|
23288
23288
|
onOpenChange,
|
|
23289
23289
|
defaultOpen,
|
|
23290
23290
|
defaultOpenPaused,
|
|
23291
|
-
deepLinkParam =
|
|
23291
|
+
deepLinkParam = _chunkQMQWXGCHcjs.WALKTHROUGH_OPEN_QUERY_PARAM,
|
|
23292
23292
|
autoPlayCard = false,
|
|
23293
23293
|
label = "Play Demo Video",
|
|
23294
23294
|
placement,
|
|
@@ -23305,7 +23305,7 @@ function WalkthroughVideo({
|
|
|
23305
23305
|
const inline = placement === "inline";
|
|
23306
23306
|
const inScope = _chunk63A4GZMBcjs.useLoadingScope.call(void 0, );
|
|
23307
23307
|
const dismissEnabled = dismissal !== false;
|
|
23308
|
-
const storageKey = dismissEnabled && dismissal.storageKey ||
|
|
23308
|
+
const storageKey = dismissEnabled && dismissal.storageKey || _chunkQMQWXGCHcjs.WALKTHROUGH_VIDEO_DISMISS_KEY;
|
|
23309
23309
|
const dismissalId = _optionalChain([video, 'optionalAccess', _466 => _466.id]) != null ? String(video.id) : "dismissed";
|
|
23310
23310
|
const [mounted, setMounted] = _react.useState.call(void 0, false);
|
|
23311
23311
|
const [dismissed, setDismissed] = _react.useState.call(void 0, false);
|
|
@@ -23317,7 +23317,7 @@ function WalkthroughVideo({
|
|
|
23317
23317
|
let delayElapsed = false;
|
|
23318
23318
|
let interacted = inline;
|
|
23319
23319
|
const reveal = () => {
|
|
23320
|
-
if (dismissEnabled &&
|
|
23320
|
+
if (dismissEnabled && _chunkQMQWXGCHcjs.isWalkthroughDismissed.call(void 0, storageKey, dismissalId)) {
|
|
23321
23321
|
setDismissed(true);
|
|
23322
23322
|
return;
|
|
23323
23323
|
}
|
|
@@ -23354,7 +23354,7 @@ function WalkthroughVideo({
|
|
|
23354
23354
|
if (idleHandle !== null && typeof cic === "function") cic(idleHandle);
|
|
23355
23355
|
};
|
|
23356
23356
|
}, [appearDelayMs, dismissEnabled, storageKey, dismissalId, hasVideo, videoId, inline]);
|
|
23357
|
-
const hydrated =
|
|
23357
|
+
const hydrated = _chunkBGT6JFMPcjs.useIsHydrated.call(void 0, );
|
|
23358
23358
|
const previewSuppressed = _react.useMemo.call(void 0, () => {
|
|
23359
23359
|
if (!hydrated) return false;
|
|
23360
23360
|
try {
|
|
@@ -23604,7 +23604,7 @@ function WalkthroughVideo({
|
|
|
23604
23604
|
(e) => {
|
|
23605
23605
|
e.stopPropagation();
|
|
23606
23606
|
pausePreviewNow();
|
|
23607
|
-
if (dismissEnabled)
|
|
23607
|
+
if (dismissEnabled) _chunkQMQWXGCHcjs.dismissWalkthrough.call(void 0, storageKey, dismissalId);
|
|
23608
23608
|
setDismissed(true);
|
|
23609
23609
|
},
|
|
23610
23610
|
[dismissEnabled, storageKey, dismissalId, pausePreviewNow]
|
|
@@ -23755,7 +23755,7 @@ function WalkthroughVideo({
|
|
|
23755
23755
|
},
|
|
23756
23756
|
children: [
|
|
23757
23757
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pointer-events-none absolute inset-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23758
|
-
|
|
23758
|
+
_chunk6GPMVHJNcjs.VideoHoverPreviewSurface,
|
|
23759
23759
|
{
|
|
23760
23760
|
url: video.mainVideoUrl || "",
|
|
23761
23761
|
posterUrl: video.posterUrl ? _chunk3V5JWG27cjs.resizedImageUrl.call(void 0, video.posterUrl, _chunk2HQNXX2Kcjs.IMAGE_WIDTHS[0]) : video.posterUrl,
|
|
@@ -23779,7 +23779,7 @@ function WalkthroughVideo({
|
|
|
23779
23779
|
`card-${embedUrlKey}`
|
|
23780
23780
|
) }),
|
|
23781
23781
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23782
|
-
|
|
23782
|
+
_chunkBGT6JFMPcjs.CardHitLayer,
|
|
23783
23783
|
{
|
|
23784
23784
|
label: video.title ? `${label}: ${video.title}` : label,
|
|
23785
23785
|
onPointerDown: pausePreviewNow,
|
|
@@ -23895,7 +23895,7 @@ function WalkthroughVideo({
|
|
|
23895
23895
|
children: [
|
|
23896
23896
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DialogPrimitive2.Title, { className: "sr-only", children: summaryTitle || "Walkthrough video" }),
|
|
23897
23897
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23898
|
-
|
|
23898
|
+
_chunk6GPMVHJNcjs.Video,
|
|
23899
23899
|
{
|
|
23900
23900
|
kind: video.youtubeUrl ? "youtube" : "file",
|
|
23901
23901
|
url: video.youtubeUrl || video.mainVideoUrl,
|
|
@@ -23951,7 +23951,7 @@ function useWalkthroughVideo(opts) {
|
|
|
23951
23951
|
const { endpoint, initialData, enabled: enabledGiven = true, transformCaptionsUrl } = opts;
|
|
23952
23952
|
const inScope = _chunk63A4GZMBcjs.useLoadingScope.call(void 0, );
|
|
23953
23953
|
const enabled = enabledGiven && !inScope;
|
|
23954
|
-
const captions =
|
|
23954
|
+
const captions = _chunkBGT6JFMPcjs.useCaptions.call(void 0, );
|
|
23955
23955
|
const query = _reactquery.useQuery.call(void 0, {
|
|
23956
23956
|
queryKey: ["walkthrough-video", endpoint],
|
|
23957
23957
|
enabled,
|
|
@@ -24149,7 +24149,7 @@ function VideoSourceSelector({
|
|
|
24149
24149
|
}
|
|
24150
24150
|
function DefaultVideoPreview({ videoUrl, onDelete, disabled }) {
|
|
24151
24151
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative overflow-hidden rounded-lg border border-ods-border", children: [
|
|
24152
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "aspect-video max-h-[300px] w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24152
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "aspect-video max-h-[300px] w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6GPMVHJNcjs.Video, { kind: "file", url: videoUrl }) }),
|
|
24153
24153
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24154
24154
|
_chunkFCZAUK4Dcjs.Button,
|
|
24155
24155
|
{
|
|
@@ -24675,7 +24675,7 @@ function HighlightVideoSection({
|
|
|
24675
24675
|
// Default simple preview — the <Video> SSOT (MuxPlayer) plays
|
|
24676
24676
|
// MP4 and Mux HLS alike; aspect-video box reserves the height.
|
|
24677
24677
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative overflow-hidden rounded-lg border border-ods-border bg-black", children: [
|
|
24678
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "aspect-video max-h-[300px] w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24678
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "aspect-video max-h-[300px] w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6GPMVHJNcjs.Video, { kind: "file", url: highlightVideoUrl, poster: highlightVideoThumbnail || void 0 }) }),
|
|
24679
24679
|
onDeleteHighlight && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24680
24680
|
_chunkFCZAUK4Dcjs.Button,
|
|
24681
24681
|
{
|
|
@@ -24702,7 +24702,7 @@ function HighlightConfigSection({
|
|
|
24702
24702
|
disabled = false,
|
|
24703
24703
|
className = ""
|
|
24704
24704
|
}) {
|
|
24705
|
-
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,
|
|
24705
|
+
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, _chunkQMQWXGCHcjs.Field, { label: "Target Duration", children: (f) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
24706
24706
|
_chunkDU6AF77Xcjs.Select,
|
|
24707
24707
|
{
|
|
24708
24708
|
value: targetDurationSeconds.toString(),
|
|
@@ -24803,7 +24803,7 @@ var AIStatusIndicator = ({
|
|
|
24803
24803
|
}) => {
|
|
24804
24804
|
const config = statusConfig[status];
|
|
24805
24805
|
const displayText = message || config.label;
|
|
24806
|
-
const confidenceLabel = showConfidence && confidence !== void 0 ? `${
|
|
24806
|
+
const confidenceLabel = showConfidence && confidence !== void 0 ? `${_chunkQMQWXGCHcjs.getConfidenceLabel.call(void 0, confidence)} (${confidence}%)` : null;
|
|
24807
24807
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk63A4GZMBcjs.cn.call(void 0, "inline-flex items-center gap-2 rounded-lg px-3 py-1.5", config.bgColor, className), children: [
|
|
24808
24808
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24809
24809
|
_chunkUNFCRSYIcjs.SparklesIcon,
|
|
@@ -24811,7 +24811,7 @@ var AIStatusIndicator = ({
|
|
|
24811
24811
|
size: 16,
|
|
24812
24812
|
className: _chunk63A4GZMBcjs.cn.call(void 0,
|
|
24813
24813
|
status === "loading" && _chunk3TOWCFIKcjs.LIVE_PULSE_CLASS,
|
|
24814
|
-
confidence !== void 0 && status === "success" ?
|
|
24814
|
+
confidence !== void 0 && status === "success" ? _chunkQMQWXGCHcjs.getConfidenceTextClass.call(void 0, confidence) : config.color
|
|
24815
24815
|
)
|
|
24816
24816
|
}
|
|
24817
24817
|
),
|
|
@@ -24820,7 +24820,7 @@ var AIStatusIndicator = ({
|
|
|
24820
24820
|
{
|
|
24821
24821
|
className: _chunk63A4GZMBcjs.cn.call(void 0,
|
|
24822
24822
|
"text-h6",
|
|
24823
|
-
confidence !== void 0 && status === "success" ?
|
|
24823
|
+
confidence !== void 0 && status === "success" ? _chunkQMQWXGCHcjs.getConfidenceTextClass.call(void 0, confidence) : config.color
|
|
24824
24824
|
),
|
|
24825
24825
|
children: displayText
|
|
24826
24826
|
}
|
|
@@ -24830,8 +24830,8 @@ var AIStatusIndicator = ({
|
|
|
24830
24830
|
{
|
|
24831
24831
|
className: _chunk63A4GZMBcjs.cn.call(void 0,
|
|
24832
24832
|
"rounded-full border px-2 py-0.5 text-h6",
|
|
24833
|
-
|
|
24834
|
-
|
|
24833
|
+
_chunkQMQWXGCHcjs.getConfidenceBorderClass.call(void 0, confidence),
|
|
24834
|
+
_chunkQMQWXGCHcjs.getConfidenceTextClass.call(void 0, confidence)
|
|
24835
24835
|
),
|
|
24836
24836
|
children: confidenceLabel
|
|
24837
24837
|
}
|
|
@@ -25452,7 +25452,7 @@ function ApprovalLevelView({
|
|
|
25452
25452
|
] });
|
|
25453
25453
|
}
|
|
25454
25454
|
function ApprovalLevelSkeleton({ editable = false, showLabel = true, className }) {
|
|
25455
|
-
const name = showLabel ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: LEVEL_NAME_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25455
|
+
const name = showLabel ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: LEVEL_NAME_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGT6JFMPcjs.TextHold, { children: LONGEST_LEVEL_LABEL }) }) : null;
|
|
25456
25456
|
if (!editable) {
|
|
25457
25457
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { "aria-hidden": true, className: _chunk63A4GZMBcjs.cn.call(void 0, READ_ONLY_ROW_CLASS, className), children: [
|
|
25458
25458
|
name,
|
|
@@ -25711,7 +25711,7 @@ function OpenPolicyButton({ href, name }) {
|
|
|
25711
25711
|
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,
|
|
25712
25712
|
_chunkFCZAUK4Dcjs.Button,
|
|
25713
25713
|
{
|
|
25714
|
-
onClick: loading ? void 0 :
|
|
25714
|
+
onClick: loading ? void 0 : _chunkQMQWXGCHcjs.openInNewTab.call(void 0, href),
|
|
25715
25715
|
disabled: loading,
|
|
25716
25716
|
variant: "outline",
|
|
25717
25717
|
size: "icon",
|
|
@@ -26085,7 +26085,7 @@ function OpenTenantButton({ href, name }) {
|
|
|
26085
26085
|
/* @__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,
|
|
26086
26086
|
_chunkFCZAUK4Dcjs.Button,
|
|
26087
26087
|
{
|
|
26088
|
-
onClick: loading ? void 0 :
|
|
26088
|
+
onClick: loading ? void 0 : _chunkQMQWXGCHcjs.openInNewTab.call(void 0, href),
|
|
26089
26089
|
disabled: loading,
|
|
26090
26090
|
variant: "outline",
|
|
26091
26091
|
size: "icon",
|
|
@@ -26220,7 +26220,7 @@ function WaitlistForm({
|
|
|
26220
26220
|
const { toast } = _chunkIKWQW3YJcjs.useToast.call(void 0, );
|
|
26221
26221
|
const { honeypotInputProps, getSignals, resetSignals } = _chunkIKWQW3YJcjs.useHumanitySignals.call(void 0, );
|
|
26222
26222
|
const [smsConsent, setSmsConsent] = _react.useState.call(void 0, false);
|
|
26223
|
-
const isClient =
|
|
26223
|
+
const isClient = _chunkBGT6JFMPcjs.useIsHydrated.call(void 0, );
|
|
26224
26224
|
const [isPhoneInvalid, setIsPhoneInvalid] = _react.useState.call(void 0, false);
|
|
26225
26225
|
const [showConsentError, setShowConsentError] = _react.useState.call(void 0, false);
|
|
26226
26226
|
const rescue = _chunkIKWQW3YJcjs.useFormRescue.call(void 0, {
|
|
@@ -26235,7 +26235,7 @@ function WaitlistForm({
|
|
|
26235
26235
|
_react.useEffect.call(void 0, () => {
|
|
26236
26236
|
rescue.track({ email, phone }, null);
|
|
26237
26237
|
}, [email, phone, rescue]);
|
|
26238
|
-
const isMailDomainGeneric =
|
|
26238
|
+
const isMailDomainGeneric = _chunkQMQWXGCHcjs.hasGenericEmailDomain.call(void 0, email);
|
|
26239
26239
|
const [syncedDefaultEmail, setSyncedDefaultEmail] = _react.useState.call(void 0, defaultEmail);
|
|
26240
26240
|
if (syncedDefaultEmail !== defaultEmail) {
|
|
26241
26241
|
setSyncedDefaultEmail(defaultEmail);
|
|
@@ -26269,7 +26269,7 @@ function WaitlistForm({
|
|
|
26269
26269
|
setShowConsentError(true);
|
|
26270
26270
|
return;
|
|
26271
26271
|
}
|
|
26272
|
-
const finalPhone = phone ?
|
|
26272
|
+
const finalPhone = phone ? _chunkQMQWXGCHcjs.formatPhoneE164.call(void 0, phone, countryCode) : void 0;
|
|
26273
26273
|
try {
|
|
26274
26274
|
await onRegister(email, finalPhone, getSignals(), rescue.submitFields());
|
|
26275
26275
|
rescue.complete();
|
|
@@ -26856,7 +26856,7 @@ var AppLayoutDrawerContent = _react.forwardRef.call(void 0,
|
|
|
26856
26856
|
}, [mobileBreakpoint]);
|
|
26857
26857
|
const panelRef = _react.useRef.call(void 0, null);
|
|
26858
26858
|
const available = useContainerExtent(resizable, isHorizontal, portalContainer);
|
|
26859
|
-
const { size, setSize, clampSize } =
|
|
26859
|
+
const { size, setSize, clampSize } = _chunkSVCTAOJRcjs.useResizablePanelSize.call(void 0, {
|
|
26860
26860
|
enabled: resizable,
|
|
26861
26861
|
minSize,
|
|
26862
26862
|
maxSize,
|
|
@@ -26876,7 +26876,7 @@ var AppLayoutDrawerContent = _react.forwardRef.call(void 0,
|
|
|
26876
26876
|
"data-state": open ? "open" : "closed",
|
|
26877
26877
|
className: _chunk63A4GZMBcjs.cn.call(void 0,
|
|
26878
26878
|
"absolute inset-0 z-[102] outline-none data-[state=closed]:pointer-events-none data-[state=open]:pointer-events-auto data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",
|
|
26879
|
-
|
|
26879
|
+
_chunkSVCTAOJRcjs.OVERLAY_BACKDROP_CLASS,
|
|
26880
26880
|
// Persist mode only: hold the fade-out's final (transparent) frame
|
|
26881
26881
|
// so the backdrop doesn't snap back to opacity 1 and dim the whole
|
|
26882
26882
|
// content area while the drawer is "closed" (see PERSIST_CLOSED_HOLD).
|
|
@@ -26919,7 +26919,7 @@ var AppLayoutDrawerContent = _react.forwardRef.call(void 0,
|
|
|
26919
26919
|
children: [
|
|
26920
26920
|
props["aria-label"] ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DialogPrimitive3.Title, { className: "sr-only", children: props["aria-label"] }) : null,
|
|
26921
26921
|
applyInlineSize && (!persist || open) ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26922
|
-
|
|
26922
|
+
_chunkBGT6JFMPcjs.PanelResizeHandle,
|
|
26923
26923
|
{
|
|
26924
26924
|
variant: "inLayout",
|
|
26925
26925
|
side: resolvedSide,
|
|
@@ -26958,11 +26958,11 @@ var AppLayoutDrawerContent = _react.forwardRef.call(void 0,
|
|
|
26958
26958
|
}
|
|
26959
26959
|
);
|
|
26960
26960
|
AppLayoutDrawerContent.displayName = "AppLayoutDrawerContent";
|
|
26961
|
-
var AppLayoutDrawerHeader =
|
|
26962
|
-
var AppLayoutDrawerTitle =
|
|
26963
|
-
var AppLayoutDrawerDescription =
|
|
26964
|
-
var AppLayoutDrawerBody =
|
|
26965
|
-
var AppLayoutDrawerFooter =
|
|
26961
|
+
var AppLayoutDrawerHeader = _chunkSVCTAOJRcjs.DrawerHeader;
|
|
26962
|
+
var AppLayoutDrawerTitle = _chunkSVCTAOJRcjs.DrawerTitle;
|
|
26963
|
+
var AppLayoutDrawerDescription = _chunkSVCTAOJRcjs.DrawerDescription;
|
|
26964
|
+
var AppLayoutDrawerBody = _chunkSVCTAOJRcjs.DrawerBody;
|
|
26965
|
+
var AppLayoutDrawerFooter = _chunkSVCTAOJRcjs.DrawerFooter;
|
|
26966
26966
|
|
|
26967
26967
|
// src/components/features/notifications/notification-tile.tsx
|
|
26968
26968
|
|
|
@@ -27253,7 +27253,7 @@ function NotificationDrawer({
|
|
|
27253
27253
|
const unreadNotifications = notifications.filter((n) => !n.read);
|
|
27254
27254
|
const content = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
27255
27255
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "px-[var(--spacing-system-m)] pt-[var(--spacing-system-m)]", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
27256
|
-
|
|
27256
|
+
_chunkSVCTAOJRcjs.DrawerTitle,
|
|
27257
27257
|
{
|
|
27258
27258
|
hideClose: !showClose,
|
|
27259
27259
|
className: "truncate",
|
|
@@ -27316,8 +27316,8 @@ function NotificationDrawer({
|
|
|
27316
27316
|
}
|
|
27317
27317
|
) });
|
|
27318
27318
|
}
|
|
27319
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
27320
|
-
|
|
27319
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSVCTAOJRcjs.Drawer, { open: isOpen, onOpenChange: (v) => v ? open() : close(), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
27320
|
+
_chunkSVCTAOJRcjs.DrawerContent,
|
|
27321
27321
|
{
|
|
27322
27322
|
side: "right",
|
|
27323
27323
|
"aria-describedby": void 0,
|
|
@@ -28274,7 +28274,7 @@ function TimeTrackerHeaderButton({
|
|
|
28274
28274
|
"data-state": isOpen ? "open" : "closed",
|
|
28275
28275
|
className: _chunk63A4GZMBcjs.cn.call(void 0,
|
|
28276
28276
|
layoutContainer ? "absolute inset-0 z-[102]" : "fixed inset-0 z-[1299]",
|
|
28277
|
-
|
|
28277
|
+
_chunkSVCTAOJRcjs.OVERLAY_BACKDROP_CLASS,
|
|
28278
28278
|
"data-[state=open]:animate-in data-[state=open]:fade-in-0",
|
|
28279
28279
|
"data-[state=closed]:animate-out data-[state=closed]:fade-out-0"
|
|
28280
28280
|
)
|
|
@@ -28450,7 +28450,7 @@ function getDeviceStatusConfig(status) {
|
|
|
28450
28450
|
}
|
|
28451
28451
|
}
|
|
28452
28452
|
function getDeviceOperatingSystem(osType) {
|
|
28453
|
-
return
|
|
28453
|
+
return _chunkQMQWXGCHcjs.getOSPlatformId.call(void 0, osType);
|
|
28454
28454
|
}
|
|
28455
28455
|
|
|
28456
28456
|
// src/components/features/devices/device-statuses.ts
|
|
@@ -30026,7 +30026,7 @@ function DevicesPanelView({
|
|
|
30026
30026
|
actionsVariant: "icon-buttons",
|
|
30027
30027
|
className,
|
|
30028
30028
|
selector: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30029
|
-
|
|
30029
|
+
_chunkBGT6JFMPcjs.TabSelector,
|
|
30030
30030
|
{
|
|
30031
30031
|
value: viewMode,
|
|
30032
30032
|
onValueChange: (value) => _optionalChain([onViewModeChange, 'optionalCall', _654 => _654(value)]),
|
|
@@ -30561,11 +30561,11 @@ var ToolBadge = ({
|
|
|
30561
30561
|
iconClassName
|
|
30562
30562
|
}) => {
|
|
30563
30563
|
const loading = _chunk63A4GZMBcjs.useLoadingScope.call(void 0, );
|
|
30564
|
-
const text = _nullishCoalesce(label, () => ( (toolType ?
|
|
30564
|
+
const text = _nullishCoalesce(label, () => ( (toolType ? _chunkQMQWXGCHcjs.getToolLabel.call(void 0, toolType) : "")));
|
|
30565
30565
|
const mark = _nullishCoalesce(icon, () => ( (toolType ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkKPGKTEEBcjs.ToolIcon, { toolType, className: iconClassName, size: 16 }) : null)));
|
|
30566
30566
|
if (loading) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ToolBadgeSkeleton, { variant, icon: !!mark, className });
|
|
30567
30567
|
const linked = (node, linkClassName) => href && targetPlatform ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30568
|
-
|
|
30568
|
+
_chunkBGT6JFMPcjs.NavLinkAnchorViaRuntime,
|
|
30569
30569
|
{
|
|
30570
30570
|
href,
|
|
30571
30571
|
targetPlatform,
|
|
@@ -30715,7 +30715,7 @@ function LogsTableView({
|
|
|
30715
30715
|
cell: ({ row }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30716
30716
|
ToolBadge,
|
|
30717
30717
|
{
|
|
30718
|
-
toolType:
|
|
30718
|
+
toolType: _chunkQMQWXGCHcjs.normalizeToolTypeWithFallback.call(void 0, row.original.source.toolType),
|
|
30719
30719
|
iconClassName: "h-4 w-4 content-md:h-6 content-md:w-6"
|
|
30720
30720
|
}
|
|
30721
30721
|
),
|
|
@@ -30727,7 +30727,7 @@ function LogsTableView({
|
|
|
30727
30727
|
filter: {
|
|
30728
30728
|
options: _nullishCoalesce(_optionalChain([facets, 'optionalAccess', _662 => _662.toolTypes, 'access', _663 => _663.map, 'call', _664 => _664((toolType) => ({
|
|
30729
30729
|
id: toolType,
|
|
30730
|
-
label:
|
|
30730
|
+
label: _chunkQMQWXGCHcjs.toToolLabel.call(void 0, toolType),
|
|
30731
30731
|
value: toolType
|
|
30732
30732
|
}))]), () => ( []))
|
|
30733
30733
|
}
|
|
@@ -30776,7 +30776,7 @@ function LogsTableView({
|
|
|
30776
30776
|
cell: ({ row }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30777
30777
|
LogRowButton,
|
|
30778
30778
|
{
|
|
30779
|
-
onClick: getLogHref ?
|
|
30779
|
+
onClick: getLogHref ? _chunkQMQWXGCHcjs.openInNewTab.call(void 0, getLogHref(row.original)) : void 0,
|
|
30780
30780
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkANTDIQKKcjs.ArrowRightUpIcon, { className: "h-5 w-5" }),
|
|
30781
30781
|
label: "Open in new tab"
|
|
30782
30782
|
}
|
|
@@ -31098,7 +31098,7 @@ function OpenInNewTabCell({ href }) {
|
|
|
31098
31098
|
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,
|
|
31099
31099
|
_chunkFCZAUK4Dcjs.Button,
|
|
31100
31100
|
{
|
|
31101
|
-
onClick: loading ? void 0 :
|
|
31101
|
+
onClick: loading ? void 0 : _chunkQMQWXGCHcjs.openInNewTab.call(void 0, href),
|
|
31102
31102
|
disabled: loading,
|
|
31103
31103
|
variant: "outline",
|
|
31104
31104
|
size: "icon",
|
|
@@ -31287,9 +31287,9 @@ function ScriptSchedulesTable({
|
|
|
31287
31287
|
|
|
31288
31288
|
// src/components/features/scripts/shell-types.ts
|
|
31289
31289
|
var SCRIPT_SHELL_TYPES = [
|
|
31290
|
-
{ id:
|
|
31291
|
-
{ id:
|
|
31292
|
-
{ id:
|
|
31290
|
+
{ id: _chunkQMQWXGCHcjs.ShellTypeValues.POWERSHELL, label: "PowerShell", value: "powershell", icon: _chunkMCQY746Mcjs.PowershellLogoGreyIcon },
|
|
31291
|
+
{ id: _chunkQMQWXGCHcjs.ShellTypeValues.CMD, label: "CMD", value: "cmd", icon: _chunkNIVJEJSGcjs.TerminalSquareIcon },
|
|
31292
|
+
{ id: _chunkQMQWXGCHcjs.ShellTypeValues.BASH, label: "Bash", value: "bash", icon: _chunkTRUW6DDAcjs.TerminalIcon }
|
|
31293
31293
|
];
|
|
31294
31294
|
function scriptShellType(value) {
|
|
31295
31295
|
return SCRIPT_SHELL_TYPES.find((shell) => shell.value === value);
|
|
@@ -32765,7 +32765,7 @@ function ScheduleFormFields({
|
|
|
32765
32765
|
disabled = false,
|
|
32766
32766
|
renderScriptSearch,
|
|
32767
32767
|
timeReferenceGate = "off",
|
|
32768
|
-
platforms =
|
|
32768
|
+
platforms = _chunkQMQWXGCHcjs.OS_PLATFORMS,
|
|
32769
32769
|
comingSoonPlatforms = [],
|
|
32770
32770
|
getTimeSlots,
|
|
32771
32771
|
nameLayout = "stacked",
|
|
@@ -32911,7 +32911,7 @@ function ScheduleFormFields({
|
|
|
32911
32911
|
// src/components/features/scripts/schedule-form/schedule-script-search-field.tsx
|
|
32912
32912
|
|
|
32913
32913
|
function ScriptPlatformIcons({ platforms }) {
|
|
32914
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "inline-flex shrink-0 items-center gap-0.5", children:
|
|
32914
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "inline-flex shrink-0 items-center gap-0.5", children: _chunkQMQWXGCHcjs.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)) });
|
|
32915
32915
|
}
|
|
32916
32916
|
function ScheduleScriptSearchField({
|
|
32917
32917
|
scriptId,
|
|
@@ -32984,7 +32984,7 @@ function KnowledgeBaseOpenButton({ href }) {
|
|
|
32984
32984
|
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,
|
|
32985
32985
|
_chunkFCZAUK4Dcjs.Button,
|
|
32986
32986
|
{
|
|
32987
|
-
onClick: loading ? void 0 :
|
|
32987
|
+
onClick: loading ? void 0 : _chunkQMQWXGCHcjs.openInNewTab.call(void 0, href),
|
|
32988
32988
|
disabled: loading,
|
|
32989
32989
|
variant: "outline",
|
|
32990
32990
|
size: "icon",
|
|
@@ -33138,7 +33138,7 @@ function KnowledgeBaseArticleView({
|
|
|
33138
33138
|
className,
|
|
33139
33139
|
children: [
|
|
33140
33140
|
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, _chunkGRHF5SWLcjs.Tag, { label: tag.label, variant: "outline", className: "max-w-full" }, tag.id)) }),
|
|
33141
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33141
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6GPMVHJNcjs.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: [
|
|
33142
33142
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-20 min-w-0 items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
33143
33143
|
author.deleted ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7PZQ7SHBcjs.DeletedUserAvatar, { size: "md" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33144
33144
|
_chunkGRHF5SWLcjs.SquareAvatar,
|
|
@@ -33335,7 +33335,7 @@ function ConversationCard({
|
|
|
33335
33335
|
style: tint,
|
|
33336
33336
|
onClick: selection && ((event) => {
|
|
33337
33337
|
if (event.button !== 0 || _optionalChain([window, 'access', _728 => _728.getSelection, 'call', _729 => _729(), 'optionalAccess', _730 => _730.toString, 'call', _731 => _731()])) return;
|
|
33338
|
-
if (!
|
|
33338
|
+
if (!_chunkQMQWXGCHcjs.isOwnClick.call(void 0, event.target, event.currentTarget, { controls: true })) return;
|
|
33339
33339
|
selection.onToggle();
|
|
33340
33340
|
}),
|
|
33341
33341
|
children: [
|
|
@@ -33358,7 +33358,7 @@ function ConversationCard({
|
|
|
33358
33358
|
)
|
|
33359
33359
|
),
|
|
33360
33360
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33361
|
-
|
|
33361
|
+
_chunkQMQWXGCHcjs.ChatTurn,
|
|
33362
33362
|
{
|
|
33363
33363
|
avatar: requester.avatar,
|
|
33364
33364
|
name: requester.name,
|
|
@@ -33379,7 +33379,7 @@ function ConversationCard({
|
|
|
33379
33379
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: CONTEXT_TEXT_CLASS, style: partLinesStyle(_optionalChain([lines, 'optionalAccess', _732 => _732.context])), children: context.text })
|
|
33380
33380
|
] }),
|
|
33381
33381
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33382
|
-
|
|
33382
|
+
_chunkQMQWXGCHcjs.ChatTurn,
|
|
33383
33383
|
{
|
|
33384
33384
|
avatar: responder.avatar,
|
|
33385
33385
|
name: responder.name,
|
|
@@ -33424,7 +33424,7 @@ function ConversationCardSkeleton({
|
|
|
33424
33424
|
{
|
|
33425
33425
|
selection: selection && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk63A4GZMBcjs.InertWhileLoading, { className: "contents", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SelectionToggle, { pressed: selection.pressed }) }),
|
|
33426
33426
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33427
|
-
|
|
33427
|
+
_chunkQMQWXGCHcjs.ChatTurn,
|
|
33428
33428
|
{
|
|
33429
33429
|
loading: true,
|
|
33430
33430
|
name: "",
|
|
@@ -33448,7 +33448,7 @@ function ConversationCardSkeleton({
|
|
|
33448
33448
|
] })
|
|
33449
33449
|
] }),
|
|
33450
33450
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33451
|
-
|
|
33451
|
+
_chunkQMQWXGCHcjs.ChatTurn,
|
|
33452
33452
|
{
|
|
33453
33453
|
loading: true,
|
|
33454
33454
|
name: "",
|
|
@@ -33710,7 +33710,7 @@ function CapabilityExplorer({
|
|
|
33710
33710
|
readItems: true,
|
|
33711
33711
|
renderItem: (item) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "article", { className: _chunk63A4GZMBcjs.cn.call(void 0, CARD_CLASS2, CARD_HEIGHT_CLASS), children: [
|
|
33712
33712
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: CARD_HEAD_ROW_CLASS, children: [
|
|
33713
|
-
item.iconName && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk63A4GZMBcjs.cn.call(void 0, JOB_ICON_TILE_CLASS, "text-ods-flamingo-cyan"), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33713
|
+
item.iconName && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk63A4GZMBcjs.cn.call(void 0, JOB_ICON_TILE_CLASS, "text-ods-flamingo-cyan"), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6GPMVHJNcjs.EntityIcon, { icon: { name: item.iconName }, size: 18 }) }),
|
|
33714
33714
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "min-w-0 flex-1", children: [
|
|
33715
33715
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "h3", { className: "flex min-w-0 items-center gap-2 text-ods-text-primary text-h4", children: [
|
|
33716
33716
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDU6AF77Xcjs.TruncateText, { as: "span", variant: "h4", triggerClassName: "flex-1", children: item.title }),
|
|
@@ -33790,7 +33790,7 @@ function CapabilityExplorer({
|
|
|
33790
33790
|
"span",
|
|
33791
33791
|
{
|
|
33792
33792
|
className: _chunk63A4GZMBcjs.cn.call(void 0, JOB_ICON_TILE_CLASS, selected ? "text-ods-flamingo-cyan" : "text-ods-text-secondary"),
|
|
33793
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33793
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6GPMVHJNcjs.EntityIcon, { icon: { name: item.iconName }, size: 18 })
|
|
33794
33794
|
}
|
|
33795
33795
|
),
|
|
33796
33796
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "min-w-0 flex-1", children: [
|