@flamingo-stack/openframe-frontend-core 0.0.844 → 0.0.846
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-VN3JBNF5.cjs → case-study-card-DJOHIHYU.cjs} +3 -3
- package/dist/{chunk-KSOBM66X.cjs → chunk-2FUTZKLB.cjs} +4 -4
- package/dist/{chunk-SVI3AB3A.cjs → chunk-57JYB3E2.cjs} +3 -3
- package/dist/{chunk-23DVVS4I.cjs → chunk-ABL5OBSF.cjs} +110 -110
- package/dist/{chunk-EUEPGHY4.cjs → chunk-BIOSHDXQ.cjs} +14 -11
- package/dist/{chunk-4ASUUB3A.cjs → chunk-BZZE4KIV.cjs} +71 -71
- package/dist/{chunk-MWQOM2EI.cjs → chunk-D5DMWXF2.cjs} +4 -4
- package/dist/{chunk-B4FUDHRE.cjs → chunk-DEEQSVLX.cjs} +62 -62
- package/dist/{chunk-NMLNZCK2.cjs → chunk-DGQDGCQH.cjs} +2 -2
- package/dist/{chunk-6HFTSVVC.cjs → chunk-FLW4WULE.cjs} +8 -8
- package/dist/{chunk-GBB7NLN7.cjs → chunk-HBDLJUI3.cjs} +3 -3
- package/dist/{chunk-SOTTMZ6U.cjs → chunk-HPXET3LH.cjs} +17 -17
- package/dist/{chunk-QPJUQ5YU.cjs → chunk-J2ZSGOUC.cjs} +14 -14
- package/dist/{chunk-M7QI23GE.cjs → chunk-MPVOPSU6.cjs} +74 -74
- package/dist/{chunk-EGOCAIZJ.cjs → chunk-N2A24FDF.cjs} +183 -181
- package/dist/{chunk-6CZVQ72C.cjs → chunk-PGAMWM6C.cjs} +3 -3
- package/dist/{chunk-KSPMB4GV.cjs → chunk-PQDCSZ3W.cjs} +52 -51
- package/dist/{chunk-7ERU4NGF.cjs → chunk-PV3NKXWS.cjs} +39 -39
- package/dist/{chunk-6M764K5Z.cjs → chunk-QK2A334V.cjs} +5 -5
- package/dist/{chunk-SC36S7DJ.cjs → chunk-RAJ5FYFL.cjs} +2 -2
- package/dist/{chunk-WPMJUYW3.cjs → chunk-SIFRIUPW.cjs} +79 -79
- package/dist/{chunk-5CPEMPNP.cjs → chunk-TBOWFTEN.cjs} +2 -2
- package/dist/{chunk-RSZZTB5T.cjs → chunk-URP6GYTD.cjs} +49 -49
- package/dist/{chunk-USUVHAQ7.cjs → chunk-X432Y6RM.cjs} +29 -1
- package/dist/{chunk-WUJGPHF2.cjs → chunk-Y2OEC7UW.cjs} +20 -20
- package/dist/{chunk-C2X73N3E.cjs → chunk-YC52LSPP.cjs} +34 -34
- package/dist/{chunk-IUWCOK3X.cjs → chunk-ZTO7KNYV.cjs} +11 -11
- package/dist/{cloud-tenants-5C32YDIE.cjs → cloud-tenants-XEUUMABT.cjs} +10 -10
- package/dist/components/case-studies/index.cjs +25 -25
- package/dist/components/chat/index.cjs +8 -8
- package/dist/components/contact/index.cjs +11 -11
- package/dist/components/docs/index.cjs +14 -14
- package/dist/components/embeds/index.cjs +11 -11
- package/dist/components/faq/index.cjs +12 -12
- package/dist/components/features/index.cjs +10 -10
- package/dist/components/features/video-hover-preview.d.ts +7 -1
- package/dist/components/features/video-hover-preview.d.ts.map +1 -1
- package/dist/components/features/video-hover-preview.js +4 -1
- package/dist/components/features/video-shared.d.ts +2 -0
- package/dist/components/features/video-shared.d.ts.map +1 -1
- package/dist/components/features/video-shared.js +29 -1
- package/dist/components/help-center-pages/index.cjs +85 -85
- package/dist/components/index.cjs +55 -55
- package/dist/components/meeting-scheduler/index.cjs +36 -36
- package/dist/components/navigation/index.cjs +13 -13
- package/dist/components/navigation/site-footer.d.ts.map +1 -1
- package/dist/components/navigation/site-footer.js +2 -1
- package/dist/components/onboarding-guides/index.cjs +13 -13
- package/dist/components/product-demo/index.cjs +19 -19
- package/dist/components/related-content/index.cjs +6 -6
- package/dist/components/social-icon-row.d.ts.map +1 -1
- package/dist/components/social-icon-row.js +2 -0
- package/dist/components/tickets/index.cjs +15 -15
- package/dist/components/ui/index.cjs +10 -10
- package/dist/{devices-F2ENCTJM.cjs → devices-7YDIHVVP.cjs} +11 -11
- package/dist/{embeddable-chat-C6DUH2JL.cjs → embeddable-chat-Z3S37SSM.cjs} +78 -78
- package/dist/index.cjs +14 -14
- package/dist/{knowledge-ZNUNREKL.cjs → knowledge-SQVPQSKM.cjs} +11 -11
- package/dist/{logs-DHZFCX2I.cjs → logs-M5DFGUBC.cjs} +17 -17
- package/dist/{policies-2FKRLSOC.cjs → policies-T3VQEJUD.cjs} +14 -14
- package/dist/{scripts-J3J7XCT4.cjs → scripts-JFRFJKPH.cjs} +15 -15
- package/dist/{software-update-AIQHLJ5O.cjs → software-update-E7W3AAIY.cjs} +13 -13
- package/dist/types/navigation.d.ts +2 -0
- package/dist/types/navigation.d.ts.map +1 -1
- package/dist/{video-file-player-IHO66P2Q.cjs → video-file-player-XMOB234V.cjs} +11 -11
- package/package.json +1 -1
- package/src/components/features/video-hover-preview.tsx +48 -38
- package/src/components/features/video-shared.tsx +36 -0
- package/src/components/navigation/site-footer.tsx +3 -2
- package/src/components/social-icon-row.tsx +2 -0
- package/src/types/navigation.ts +8 -1
|
@@ -36,7 +36,7 @@ var _chunk744JXTDPcjs = require('./chunk-744JXTDP.cjs');
|
|
|
36
36
|
|
|
37
37
|
|
|
38
38
|
|
|
39
|
-
var
|
|
39
|
+
var _chunkDGQDGCQHcjs = require('./chunk-DGQDGCQH.cjs');
|
|
40
40
|
|
|
41
41
|
|
|
42
42
|
var _chunkDEY6XXGOcjs = require('./chunk-DEY6XXGO.cjs');
|
|
@@ -101,7 +101,7 @@ var _chunk5SZ4ILU3cjs = require('./chunk-5SZ4ILU3.cjs');
|
|
|
101
101
|
|
|
102
102
|
|
|
103
103
|
|
|
104
|
-
var
|
|
104
|
+
var _chunkBZZE4KIVcjs = require('./chunk-BZZE4KIV.cjs');
|
|
105
105
|
|
|
106
106
|
|
|
107
107
|
|
|
@@ -128,7 +128,7 @@ var _chunkOT6P57ZScjs = require('./chunk-OT6P57ZS.cjs');
|
|
|
128
128
|
|
|
129
129
|
|
|
130
130
|
|
|
131
|
-
var
|
|
131
|
+
var _chunkSIFRIUPWcjs = require('./chunk-SIFRIUPW.cjs');
|
|
132
132
|
|
|
133
133
|
|
|
134
134
|
|
|
@@ -497,7 +497,7 @@ var _chunk7DNL734Scjs = require('./chunk-7DNL734S.cjs');
|
|
|
497
497
|
|
|
498
498
|
|
|
499
499
|
|
|
500
|
-
var
|
|
500
|
+
var _chunkABL5OBSFcjs = require('./chunk-ABL5OBSF.cjs');
|
|
501
501
|
|
|
502
502
|
|
|
503
503
|
var _chunk5GBLXY5Fcjs = require('./chunk-5GBLXY5F.cjs');
|
|
@@ -521,7 +521,7 @@ var _chunkNFNSPLGCcjs = require('./chunk-NFNSPLGC.cjs');
|
|
|
521
521
|
|
|
522
522
|
|
|
523
523
|
|
|
524
|
-
var
|
|
524
|
+
var _chunkBIOSHDXQcjs = require('./chunk-BIOSHDXQ.cjs');
|
|
525
525
|
|
|
526
526
|
|
|
527
527
|
|
|
@@ -533,7 +533,7 @@ var _chunkJBTH3O2Ccjs = require('./chunk-JBTH3O2C.cjs');
|
|
|
533
533
|
|
|
534
534
|
|
|
535
535
|
|
|
536
|
-
var
|
|
536
|
+
var _chunkX432Y6RMcjs = require('./chunk-X432Y6RM.cjs');
|
|
537
537
|
|
|
538
538
|
|
|
539
539
|
var _chunkRUHKTWGBcjs = require('./chunk-RUHKTWGB.cjs');
|
|
@@ -718,7 +718,7 @@ function ThemeProvider({ children, ...overrides }) {
|
|
|
718
718
|
var useTheme = _nextthemes.useTheme;
|
|
719
719
|
function useThemeToggle() {
|
|
720
720
|
const { resolvedTheme, theme, setTheme } = useTheme();
|
|
721
|
-
const mounted =
|
|
721
|
+
const mounted = _chunkSIFRIUPWcjs.useIsHydrated.call(void 0, );
|
|
722
722
|
const active = mounted ? resolvedTheme === "light" || theme === "light" ? "light" : "dark" : DEFAULT_THEME;
|
|
723
723
|
const setOdsTheme = _react.useCallback.call(void 0, (next) => setTheme(next), [setTheme]);
|
|
724
724
|
const toggle = _react.useCallback.call(void 0, () => setTheme(active === "dark" ? "light" : "dark"), [active, setTheme]);
|
|
@@ -4565,14 +4565,14 @@ function AdminFormDrawer({
|
|
|
4565
4565
|
else onClose();
|
|
4566
4566
|
};
|
|
4567
4567
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4568
|
-
|
|
4568
|
+
_chunkDGQDGCQHcjs.Drawer,
|
|
4569
4569
|
{
|
|
4570
4570
|
open: isOpen,
|
|
4571
4571
|
onOpenChange: (open) => {
|
|
4572
4572
|
if (!open) requestClose();
|
|
4573
4573
|
},
|
|
4574
4574
|
children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
4575
|
-
|
|
4575
|
+
_chunkDGQDGCQHcjs.DrawerContent,
|
|
4576
4576
|
{
|
|
4577
4577
|
side: "right",
|
|
4578
4578
|
resizable: true,
|
|
@@ -4581,15 +4581,15 @@ function AdminFormDrawer({
|
|
|
4581
4581
|
storageKey,
|
|
4582
4582
|
panelClassName: "max-md:w-[calc(100vw-1rem)]",
|
|
4583
4583
|
children: [
|
|
4584
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
4585
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4586
|
-
subtitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4584
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkDGQDGCQHcjs.DrawerHeader, { children: [
|
|
4585
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDGQDGCQHcjs.DrawerTitle, { children: title }),
|
|
4586
|
+
subtitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDGQDGCQHcjs.DrawerDescription, { asChild: true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { children: subtitle }) })
|
|
4587
4587
|
] }),
|
|
4588
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4588
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDGQDGCQHcjs.DrawerBody, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4589
4589
|
"form",
|
|
4590
4590
|
{
|
|
4591
4591
|
id: formId,
|
|
4592
|
-
...
|
|
4592
|
+
..._chunkBZZE4KIVcjs.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS,
|
|
4593
4593
|
className: "flex flex-col gap-[var(--spacing-system-lf)]",
|
|
4594
4594
|
onSubmit: (e) => {
|
|
4595
4595
|
e.preventDefault();
|
|
@@ -4696,7 +4696,7 @@ function AdminFormModal({
|
|
|
4696
4696
|
"form",
|
|
4697
4697
|
{
|
|
4698
4698
|
id: formId,
|
|
4699
|
-
...
|
|
4699
|
+
..._chunkBZZE4KIVcjs.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS,
|
|
4700
4700
|
className: "flex min-h-0 flex-1 flex-col",
|
|
4701
4701
|
onSubmit: (e) => {
|
|
4702
4702
|
e.preventDefault();
|
|
@@ -6067,7 +6067,7 @@ function EmbedViewerFrame({
|
|
|
6067
6067
|
const controllerRef = _react.useRef.call(void 0, null);
|
|
6068
6068
|
_react.useEffect.call(void 0, () => {
|
|
6069
6069
|
if (!fullscreenControl) return void 0;
|
|
6070
|
-
const controller = new (0,
|
|
6070
|
+
const controller = new (0, _chunkBZZE4KIVcjs.FullscreenSwitchController)({
|
|
6071
6071
|
target: () => frameRef.current,
|
|
6072
6072
|
onFullscreenChange: setIsFullscreen
|
|
6073
6073
|
});
|
|
@@ -7121,7 +7121,7 @@ var MediaCarousel = _react.memo.call(void 0, function MediaCarouselImpl({
|
|
|
7121
7121
|
};
|
|
7122
7122
|
const displayImageSrc = (url) => transformImageSrc ? transformImageSrc(url) : url;
|
|
7123
7123
|
const renderVideo = (item, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7124
|
-
|
|
7124
|
+
_chunkBIOSHDXQcjs.Video,
|
|
7125
7125
|
{
|
|
7126
7126
|
url: item.src,
|
|
7127
7127
|
poster: item.poster ? displayImageSrc(item.poster) : void 0,
|
|
@@ -7316,7 +7316,7 @@ var formatTimeAgo = (timestamp) => {
|
|
|
7316
7316
|
return `${Math.floor(diffSeconds / 86400)}d ago`;
|
|
7317
7317
|
};
|
|
7318
7318
|
function RedditEmbedClient({ url, maxWidth = 700, rel }) {
|
|
7319
|
-
const postLinkRel =
|
|
7319
|
+
const postLinkRel = _chunkSIFRIUPWcjs.renderedLinkRel.call(void 0, rel, true);
|
|
7320
7320
|
const { redditProxyUrl } = useRichMarkdownRuntime();
|
|
7321
7321
|
const [redditData, setRedditData] = _react.useState.call(void 0, null);
|
|
7322
7322
|
const [loading, setLoading] = _react.useState.call(void 0, true);
|
|
@@ -7648,7 +7648,7 @@ var UserIcon3 = () => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "svg", { wid
|
|
|
7648
7648
|
] });
|
|
7649
7649
|
var XIcon = () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2TEMEXDTcjs.XLogoIcon, { className: "h-5 w-5", color: "currentColor" });
|
|
7650
7650
|
function TwitterEmbedClient({ url, tweetId, maxWidth = 700, rel }) {
|
|
7651
|
-
const postLinkRel =
|
|
7651
|
+
const postLinkRel = _chunkSIFRIUPWcjs.renderedLinkRel.call(void 0, rel, true);
|
|
7652
7652
|
const { twitterProxyUrl } = useRichMarkdownRuntime();
|
|
7653
7653
|
const [tweetData, setTweetData] = _react.useState.call(void 0, null);
|
|
7654
7654
|
const [fetchLoading, setLoading] = _react.useState.call(void 0, true);
|
|
@@ -7850,7 +7850,7 @@ function buildRichEmbedOverrides({
|
|
|
7850
7850
|
ogEndpointPath,
|
|
7851
7851
|
textSizes
|
|
7852
7852
|
}) {
|
|
7853
|
-
const standard =
|
|
7853
|
+
const standard = _chunkSIFRIUPWcjs.buildStandardLeafRenderers.call(void 0, { textSizes });
|
|
7854
7854
|
return {
|
|
7855
7855
|
// Fence-language embeds (```youtube-embed etc.); everything else
|
|
7856
7856
|
// (mermaid, highlighted blocks, inline code) falls through to `standard`.
|
|
@@ -7860,7 +7860,7 @@ function buildRichEmbedOverrides({
|
|
|
7860
7860
|
const language = match ? match[1] : "";
|
|
7861
7861
|
const fenceText = () => String(children).replace(/\n$/, "").trim();
|
|
7862
7862
|
if (language === "youtube-embed") {
|
|
7863
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7863
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBIOSHDXQcjs.Video, { kind: "youtube", url: fenceText() });
|
|
7864
7864
|
}
|
|
7865
7865
|
if (language === "reddit-embed") {
|
|
7866
7866
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, RedditEmbedClient, { url: fenceText() });
|
|
@@ -7901,7 +7901,7 @@ function buildRichEmbedOverrides({
|
|
|
7901
7901
|
"data-figma-url": figmaUrl
|
|
7902
7902
|
} = divProps;
|
|
7903
7903
|
if (className === "youtube-embed" && videoId) {
|
|
7904
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7904
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBIOSHDXQcjs.Video, { kind: "youtube", url: videoId });
|
|
7905
7905
|
}
|
|
7906
7906
|
if (className === "reddit-embed" && postUrl) {
|
|
7907
7907
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, RedditEmbedClient, { url: postUrl });
|
|
@@ -7986,23 +7986,23 @@ function buildRichEmbedOverrides({
|
|
|
7986
7986
|
// rich-markdown runtime (Supabase optimization on the hub, identity
|
|
7987
7987
|
// elsewhere). Guard against empty `![]()`.
|
|
7988
7988
|
img: ({ src, alt }) => {
|
|
7989
|
-
if (!
|
|
7989
|
+
if (!_chunkSIFRIUPWcjs.hasRenderableSrc.call(void 0, src)) return null;
|
|
7990
7990
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MarkdownImage, { src: src.trim(), alt });
|
|
7991
7991
|
},
|
|
7992
7992
|
// Raw <iframe> tags in stored content (a pasted YouTube embed). A YouTube one becomes the same click-to-play
|
|
7993
7993
|
// facade as the `youtube-embed` fence: the raw iframe loaded YouTube's whole player (about 470 KB of script) with
|
|
7994
7994
|
// the page, on every post that carried one (CU-17tkuw5xp4q). Any other iframe loads when it nears the screen.
|
|
7995
7995
|
iframe: ({ node: _node, src, ...rest }) => {
|
|
7996
|
-
if (!
|
|
7996
|
+
if (!_chunkSIFRIUPWcjs.hasRenderableSrc.call(void 0, src)) return null;
|
|
7997
7997
|
const url = src.trim();
|
|
7998
|
-
if (
|
|
7998
|
+
if (_chunkBIOSHDXQcjs.extractYouTubeId.call(void 0, url)) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBIOSHDXQcjs.Video, { kind: "youtube", url });
|
|
7999
7999
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "iframe", { ...rest, src: url, loading: "lazy" });
|
|
8000
8000
|
},
|
|
8001
8001
|
// Raw <video> tags in stored content (blog publisher injection) route
|
|
8002
8002
|
// to the <Video> SSOT (MuxPlayer) so HLS manifests play everywhere.
|
|
8003
8003
|
video: ({ src, poster, className }) => {
|
|
8004
|
-
if (!
|
|
8005
|
-
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,
|
|
8004
|
+
if (!_chunkSIFRIUPWcjs.hasRenderableSrc.call(void 0, src)) return null;
|
|
8005
|
+
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, _chunkBIOSHDXQcjs.Video, { kind: "file", url: src.trim(), poster: typeof poster === "string" ? poster : void 0 }) }) });
|
|
8006
8006
|
}
|
|
8007
8007
|
};
|
|
8008
8008
|
}
|
|
@@ -8110,7 +8110,7 @@ var processShortcodes = (content) => {
|
|
|
8110
8110
|
try {
|
|
8111
8111
|
const urlObj = new URL(url);
|
|
8112
8112
|
const hostname = urlObj.hostname.toLowerCase();
|
|
8113
|
-
const hostIs = (domain) =>
|
|
8113
|
+
const hostIs = (domain) => _chunkABL5OBSFcjs.hostMatches.call(void 0, hostname, domain);
|
|
8114
8114
|
const isYouTubeVideo = hostIs("youtube.com") && urlObj.searchParams.has("v") || hostIs("youtu.be");
|
|
8115
8115
|
if (isYouTubeVideo || hostIs("reddit.com") || hostIs("twitter.com") || hostIs("x.com") || hostIs("figma.com")) {
|
|
8116
8116
|
return match;
|
|
@@ -8187,13 +8187,13 @@ var RichMarkdownInner = ({
|
|
|
8187
8187
|
},
|
|
8188
8188
|
[resolveLinkEndpointUrl, resolveSource]
|
|
8189
8189
|
);
|
|
8190
|
-
const textSizes = _react.useMemo.call(void 0, () =>
|
|
8190
|
+
const textSizes = _react.useMemo.call(void 0, () => _chunkSIFRIUPWcjs.resolveTextSizeConfig.call(void 0, "article"), []);
|
|
8191
8191
|
const componentOverrides = _react.useMemo.call(void 0,
|
|
8192
8192
|
() => buildRichEmbedOverrides({ ogApiBaseUrl, ogEndpointPath, textSizes }),
|
|
8193
8193
|
[ogApiBaseUrl, ogEndpointPath, textSizes]
|
|
8194
8194
|
);
|
|
8195
8195
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8196
|
-
|
|
8196
|
+
_chunkSIFRIUPWcjs.MarkdownEngine,
|
|
8197
8197
|
{
|
|
8198
8198
|
content,
|
|
8199
8199
|
className,
|
|
@@ -8218,7 +8218,7 @@ var RichMarkdownRendererImpl = ({
|
|
|
8218
8218
|
className = "",
|
|
8219
8219
|
sectionIds,
|
|
8220
8220
|
onInternalLinkClick,
|
|
8221
|
-
brokenLinks =
|
|
8221
|
+
brokenLinks = _chunkSIFRIUPWcjs.NO_BROKEN_LINKS,
|
|
8222
8222
|
currentPath,
|
|
8223
8223
|
resolveSource = "openframe-docs",
|
|
8224
8224
|
resolveLinkEndpointUrl = "/api/docs/resolve-link",
|
|
@@ -9563,7 +9563,7 @@ function renderAdvancedPageContainer({
|
|
|
9563
9563
|
contentClassName,
|
|
9564
9564
|
showHeader = true
|
|
9565
9565
|
}, inScope = false) {
|
|
9566
|
-
const titleNode = title ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWCK5T3UDcjs.PageTitle, { className: PAGE_CONTAINER_TITLE_CLASS, children:
|
|
9566
|
+
const titleNode = title ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWCK5T3UDcjs.PageTitle, { className: PAGE_CONTAINER_TITLE_CLASS, children: _chunkABL5OBSFcjs.accentSentenceMarks.call(void 0, title) }) : inScope && title === "" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, PageContainerTitleSkeleton, {}) : null;
|
|
9567
9567
|
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;
|
|
9568
9568
|
const getActionsVariant = () => {
|
|
9569
9569
|
if (actionsVariant) return actionsVariant;
|
|
@@ -9990,7 +9990,7 @@ var BenefitCardGrid = ({ children, className = "", columns = 2 }) => {
|
|
|
9990
9990
|
|
|
9991
9991
|
|
|
9992
9992
|
function PlatformBrowseButton({ item }) {
|
|
9993
|
-
const linkProps =
|
|
9993
|
+
const linkProps = _chunkSIFRIUPWcjs.useNavLinkViaRuntime.call(void 0, { href: item.link, targetPlatform: item.targetPlatform });
|
|
9994
9994
|
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: [
|
|
9995
9995
|
"Browse ",
|
|
9996
9996
|
item.buttonText
|
|
@@ -10509,10 +10509,10 @@ var OSTypeBadge = ({
|
|
|
10509
10509
|
if (!osType) {
|
|
10510
10510
|
return labelOnly ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk63A4GZMBcjs.cn.call(void 0, "text-ods-text-secondary", className), children: "Unknown" }) : null;
|
|
10511
10511
|
}
|
|
10512
|
-
const normalized =
|
|
10512
|
+
const normalized = _chunkBZZE4KIVcjs.normalizeOSType.call(void 0, osType);
|
|
10513
10513
|
if (!normalized && !labelOnly) return null;
|
|
10514
|
-
const label =
|
|
10515
|
-
const IconComponent =
|
|
10514
|
+
const label = _chunkBZZE4KIVcjs.getOSLabel.call(void 0, osType);
|
|
10515
|
+
const IconComponent = _chunkBZZE4KIVcjs.getOSIcon.call(void 0, osType);
|
|
10516
10516
|
if (iconOnly && IconComponent) {
|
|
10517
10517
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, IconComponent, { className: _chunk63A4GZMBcjs.cn.call(void 0, iconSize, "text-ods-text-secondary", className) });
|
|
10518
10518
|
}
|
|
@@ -10809,7 +10809,7 @@ function ComplianceLogo({
|
|
|
10809
10809
|
fallback = null,
|
|
10810
10810
|
className
|
|
10811
10811
|
}) {
|
|
10812
|
-
const standard =
|
|
10812
|
+
const standard = _chunkBZZE4KIVcjs.complianceStandardForName.call(void 0, ...names);
|
|
10813
10813
|
if (!standard) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: fallback });
|
|
10814
10814
|
const Official = standard.logo ? COMPLIANCE_LOGOS[standard.logo] : null;
|
|
10815
10815
|
return Official ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -10890,7 +10890,7 @@ function FeatureCardGridView({
|
|
|
10890
10890
|
if (allCardsHaveNoBorders) {
|
|
10891
10891
|
finalCardClassName = "bg-transparent p-0 overflow-visible border-0 shadow-none rounded-none";
|
|
10892
10892
|
}
|
|
10893
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10893
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBIOSHDXQcjs.Card, { className: `${finalCardClassName} ${className}`, children: Array.from({ length: rows }, (_, rowIndex) => {
|
|
10894
10894
|
const startIndex = rowIndex * itemsPerRow;
|
|
10895
10895
|
const rowItems = items.slice(startIndex, startIndex + itemsPerRow);
|
|
10896
10896
|
const isLastRow = rowIndex === rows - 1;
|
|
@@ -10924,7 +10924,7 @@ function FeatureCardGridView({
|
|
|
10924
10924
|
item.icon && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start justify-between", children: [
|
|
10925
10925
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, item.icon, { size: 80, color: item.iconColor }),
|
|
10926
10926
|
item.badge && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10927
|
-
|
|
10927
|
+
_chunkBIOSHDXQcjs.StatusBadge,
|
|
10928
10928
|
{
|
|
10929
10929
|
text: item.badge.text,
|
|
10930
10930
|
variant: item.badge.variant || "card",
|
|
@@ -10933,7 +10933,7 @@ function FeatureCardGridView({
|
|
|
10933
10933
|
)
|
|
10934
10934
|
] }),
|
|
10935
10935
|
!item.icon && item.badge && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-start justify-end", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10936
|
-
|
|
10936
|
+
_chunkBIOSHDXQcjs.StatusBadge,
|
|
10937
10937
|
{
|
|
10938
10938
|
text: item.badge.text,
|
|
10939
10939
|
variant: item.badge.variant || "card",
|
|
@@ -12851,7 +12851,7 @@ function DataTableRowImpl({
|
|
|
12851
12851
|
const containerRef = _react.useRef.call(void 0, null);
|
|
12852
12852
|
const handleClick = _react.useCallback.call(void 0,
|
|
12853
12853
|
(e) => {
|
|
12854
|
-
if (!
|
|
12854
|
+
if (!_chunkBZZE4KIVcjs.isOwnClick.call(void 0, e.target, containerRef.current)) {
|
|
12855
12855
|
if (isLinkMode) e.preventDefault();
|
|
12856
12856
|
return;
|
|
12857
12857
|
}
|
|
@@ -12865,7 +12865,7 @@ function DataTableRowImpl({
|
|
|
12865
12865
|
if (!(target instanceof Element) || !_optionalChain([container, 'optionalAccess', _224 => _224.contains, 'call', _225 => _225(target)])) return;
|
|
12866
12866
|
const nestedLink = target.closest("a");
|
|
12867
12867
|
if (nestedLink && nestedLink !== container && container.contains(nestedLink)) return;
|
|
12868
|
-
if (!
|
|
12868
|
+
if (!_chunkBZZE4KIVcjs.isOwnClick.call(void 0, target, container) || target.closest(ROW_LINK_CONTROL_SELECTOR)) e.preventDefault();
|
|
12869
12869
|
}, []);
|
|
12870
12870
|
const containerClassName = _chunk63A4GZMBcjs.cn.call(void 0,
|
|
12871
12871
|
DATA_TABLE_ROW_FRAME_CLASS,
|
|
@@ -12995,7 +12995,7 @@ function DataTableBody({
|
|
|
12995
12995
|
const skeletonRowClassName = typeof rowClassName === "string" ? rowClassName : void 0;
|
|
12996
12996
|
if (loading && loadingCells && hasRows) {
|
|
12997
12997
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12998
|
-
|
|
12998
|
+
_chunkSIFRIUPWcjs.LoadingFallback,
|
|
12999
12999
|
{
|
|
13000
13000
|
label: "Loading results",
|
|
13001
13001
|
status: loadingRegion && !inScope,
|
|
@@ -13344,7 +13344,7 @@ function HeaderCell({ header, sort, onSortChange }) {
|
|
|
13344
13344
|
// child of the cell.
|
|
13345
13345
|
_optionalChain([meta, 'optionalAccess', _244 => _244.hint]) ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start gap-[var(--spacing-system-xxs)]", children: [
|
|
13346
13346
|
filterTrigger,
|
|
13347
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13347
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBZZE4KIVcjs.InfoHint, { label: resolveHeaderLabel(header), children: meta.hint })
|
|
13348
13348
|
] }) : filterTrigger
|
|
13349
13349
|
) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
13350
13350
|
"div",
|
|
@@ -13369,7 +13369,7 @@ function HeaderCell({ header, sort, onSortChange }) {
|
|
|
13369
13369
|
// centred on the row.
|
|
13370
13370
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 items-start gap-[var(--spacing-system-xxs)]", children: [
|
|
13371
13371
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, HeaderLabel, { header }),
|
|
13372
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13372
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBZZE4KIVcjs.InfoHint, { label: resolveHeaderLabel(header), children: meta.hint })
|
|
13373
13373
|
] })
|
|
13374
13374
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, HeaderLabel, { header }),
|
|
13375
13375
|
canSort && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SortIcon, { sorted: sortDir })
|
|
@@ -13608,7 +13608,7 @@ function PhoneInput({
|
|
|
13608
13608
|
placeholder = "Phone Number (optional)",
|
|
13609
13609
|
onKeyDown
|
|
13610
13610
|
}) {
|
|
13611
|
-
const { priority, others } = _react.useMemo.call(void 0, () =>
|
|
13611
|
+
const { priority, others } = _react.useMemo.call(void 0, () => _chunkBZZE4KIVcjs.getCountryPhoneData.call(void 0, ), []);
|
|
13612
13612
|
const selectedCountry = _react.useMemo.call(void 0,
|
|
13613
13613
|
() => [...priority, ...others].find((c) => c.code === countryCode),
|
|
13614
13614
|
[countryCode, priority, others]
|
|
@@ -13623,7 +13623,7 @@ function PhoneInput({
|
|
|
13623
13623
|
_optionalChain([onValidationChange, 'optionalCall', _261 => _261(false)]);
|
|
13624
13624
|
return;
|
|
13625
13625
|
}
|
|
13626
|
-
const invalid = !
|
|
13626
|
+
const invalid = !_chunkBZZE4KIVcjs.validatePhoneNumber.call(void 0, phone, countryCode);
|
|
13627
13627
|
setIsInvalid(invalid);
|
|
13628
13628
|
_optionalChain([onValidationChange, 'optionalCall', _262 => _262(invalid)]);
|
|
13629
13629
|
},
|
|
@@ -14061,7 +14061,7 @@ function MarkdownLinkDialog({ isOpen, initial, editing, onSubmit, onRemove, onCl
|
|
|
14061
14061
|
),
|
|
14062
14062
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-xsf)]", children: [
|
|
14063
14063
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14064
|
-
|
|
14064
|
+
_chunkSIFRIUPWcjs.TabSelector,
|
|
14065
14065
|
{
|
|
14066
14066
|
label: "Search engines",
|
|
14067
14067
|
value: choice,
|
|
@@ -14118,7 +14118,7 @@ function useMarkdownLinkCommand() {
|
|
|
14118
14118
|
buttonProps: { "aria-label": "Add or edit a link (ctrl + l)", title: "Add or edit a link (ctrl + l)" },
|
|
14119
14119
|
icon: command.icon,
|
|
14120
14120
|
execute: (state, api) => {
|
|
14121
|
-
const existing =
|
|
14121
|
+
const existing = _chunkSIFRIUPWcjs.findMarkdownLinkAt.call(void 0, state.text, state.selection.start, state.selection.end);
|
|
14122
14122
|
setPending(
|
|
14123
14123
|
existing ? {
|
|
14124
14124
|
api,
|
|
@@ -14149,7 +14149,7 @@ function useMarkdownLinkCommand() {
|
|
|
14149
14149
|
initial: _nullishCoalesce(_optionalChain([pending, 'optionalAccess', _292 => _292.initial]), () => ( EMPTY_LINK)),
|
|
14150
14150
|
editing: _nullishCoalesce(_optionalChain([pending, 'optionalAccess', _293 => _293.editing]), () => ( false)),
|
|
14151
14151
|
onSubmit: (link) => {
|
|
14152
|
-
if (pending) write(pending,
|
|
14152
|
+
if (pending) write(pending, _chunkSIFRIUPWcjs.formatMarkdownLink.call(void 0, link));
|
|
14153
14153
|
},
|
|
14154
14154
|
onRemove: () => {
|
|
14155
14155
|
if (pending) write(pending, pending.initial.text);
|
|
@@ -14315,7 +14315,7 @@ function MarkdownEditor({
|
|
|
14315
14315
|
setUploadProgress(`Uploading ${file.name}...`);
|
|
14316
14316
|
try {
|
|
14317
14317
|
const url = await onUploadFile(file);
|
|
14318
|
-
const isImage =
|
|
14318
|
+
const isImage = _chunkABL5OBSFcjs.fileMediaType.call(void 0, file) === "image";
|
|
14319
14319
|
const markdown = isImage ? `` : `[${file.name}](${url})`;
|
|
14320
14320
|
insertTextAtCursor(markdown);
|
|
14321
14321
|
_optionalChain([onFileUploaded, 'optionalCall', _296 => _296(url, file.name)]);
|
|
@@ -14445,7 +14445,7 @@ function MarkdownEditor({
|
|
|
14445
14445
|
type: "file",
|
|
14446
14446
|
className: "hidden",
|
|
14447
14447
|
onChange: handleFileInputChange,
|
|
14448
|
-
accept: `${
|
|
14448
|
+
accept: `${_chunkABL5OBSFcjs.IMAGE_FILE_ACCEPT},.pdf,.doc,.docx,.xls,.xlsx,.ppt,.pptx,.zip,.txt`
|
|
14449
14449
|
}
|
|
14450
14450
|
),
|
|
14451
14451
|
/* @__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,
|
|
@@ -14860,7 +14860,7 @@ function matchesAccept2(file, accept) {
|
|
|
14860
14860
|
return patterns.some((pattern) => {
|
|
14861
14861
|
if (pattern.startsWith(".")) return fileName.endsWith(pattern);
|
|
14862
14862
|
if (pattern.endsWith("/*"))
|
|
14863
|
-
return fileType.startsWith(pattern.slice(0, -1)) ||
|
|
14863
|
+
return fileType.startsWith(pattern.slice(0, -1)) || _chunkABL5OBSFcjs.fileMediaType.call(void 0, file) === pattern.slice(0, -2);
|
|
14864
14864
|
return fileType === pattern;
|
|
14865
14865
|
});
|
|
14866
14866
|
}
|
|
@@ -14868,7 +14868,7 @@ function ImageUploader({
|
|
|
14868
14868
|
value,
|
|
14869
14869
|
onChange,
|
|
14870
14870
|
onRemove,
|
|
14871
|
-
accept =
|
|
14871
|
+
accept = _chunkABL5OBSFcjs.IMAGE_FILE_ACCEPT,
|
|
14872
14872
|
maxSize = DEFAULT_MAX_SIZE,
|
|
14873
14873
|
label = "Cover Image",
|
|
14874
14874
|
description = "(Click Here or Drag and Drop)",
|
|
@@ -16031,7 +16031,7 @@ function TicketInfoSection({
|
|
|
16031
16031
|
expanded && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
16032
16032
|
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" }) }),
|
|
16033
16033
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-4 border-b border-ods-border bg-ods-bg p-4", children: [
|
|
16034
|
-
description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16034
|
+
description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSIFRIUPWcjs.SimpleMarkdownRenderer, { content: description }),
|
|
16035
16035
|
attachments && attachments.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketDetailSection, { label: "Attachments", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketAttachmentsList, { attachments }) }),
|
|
16036
16036
|
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, _chunkNFNSPLGCcjs.Tag, { label: tag, variant: "outline", className: "max-w-full" }, tag)) }) }),
|
|
16037
16037
|
(notes || onAddNote) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketDetailSection, { label: "Notes", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -16506,7 +16506,7 @@ function PhotoWall({
|
|
|
16506
16506
|
gap: COLUMN_GAP_PX
|
|
16507
16507
|
};
|
|
16508
16508
|
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,
|
|
16509
|
-
|
|
16509
|
+
_chunkSIFRIUPWcjs.MarqueeWall,
|
|
16510
16510
|
{
|
|
16511
16511
|
axis: "y",
|
|
16512
16512
|
reverse: index % 2 === 1,
|
|
@@ -17051,7 +17051,7 @@ function LoadingLabel({ label, typical }) {
|
|
|
17051
17051
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: label.split(/(\{\w+\})/).map(
|
|
17052
17052
|
(part, index) => /^\{\w+\}$/.test(part) ? (
|
|
17053
17053
|
// biome-ignore lint/suspicious/noArrayIndexKey: the parts of one fixed string never reorder
|
|
17054
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17054
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSIFRIUPWcjs.TextHold, { children: typical }, index)
|
|
17055
17055
|
) : part
|
|
17056
17056
|
) });
|
|
17057
17057
|
}
|
|
@@ -17066,7 +17066,7 @@ var TRIAL_TERM_ICONS = {
|
|
|
17066
17066
|
};
|
|
17067
17067
|
var DEFAULT_TRIAL_TERMS = ["cancel", "length", "noContract"];
|
|
17068
17068
|
function trialBenefits(trialDays, terms = DEFAULT_TRIAL_TERMS) {
|
|
17069
|
-
const labels =
|
|
17069
|
+
const labels = _chunkBZZE4KIVcjs.trialLabels.call(void 0, trialDays);
|
|
17070
17070
|
return terms.flatMap((term) => {
|
|
17071
17071
|
const label = labels[term];
|
|
17072
17072
|
return label ? [{ icon: TRIAL_TERM_ICONS[term], label }] : [];
|
|
@@ -18040,7 +18040,7 @@ function SsoProviderButtons({
|
|
|
18040
18040
|
// where a long organization name would otherwise push the label out of a phone-width
|
|
18041
18041
|
// button. `block` over its inline-flex, because an ellipsis only renders on a block box.
|
|
18042
18042
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18043
|
-
|
|
18043
|
+
_chunkBIOSHDXQcjs.StatusBadge,
|
|
18044
18044
|
{
|
|
18045
18045
|
text: tag,
|
|
18046
18046
|
variant: "button",
|
|
@@ -18100,7 +18100,7 @@ function CompleteAccountForm({
|
|
|
18100
18100
|
),
|
|
18101
18101
|
children: [
|
|
18102
18102
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
|
|
18103
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
18103
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunkABL5OBSFcjs.accentSentenceMarks.call(void 0, title) }),
|
|
18104
18104
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: subtitle })
|
|
18105
18105
|
] }),
|
|
18106
18106
|
(ssoProvidersLoading || ssoProviders && ssoProviders.length > 0) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
@@ -18251,7 +18251,7 @@ function CreateOrganizationForm({
|
|
|
18251
18251
|
),
|
|
18252
18252
|
children: [
|
|
18253
18253
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
|
|
18254
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
18254
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunkABL5OBSFcjs.accentSentenceMarks.call(void 0, title) }),
|
|
18255
18255
|
/* @__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 })
|
|
18256
18256
|
] }),
|
|
18257
18257
|
email === void 0 ? null : emailReadOnly && emailReadOnlyLabel === null ? (
|
|
@@ -18398,7 +18398,7 @@ function InviteLinkInvalidModal({
|
|
|
18398
18398
|
),
|
|
18399
18399
|
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: [
|
|
18400
18400
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-mf)]", children: [
|
|
18401
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "flex-1 tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
18401
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "flex-1 tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunkABL5OBSFcjs.accentSentenceMarks.call(void 0, title) }),
|
|
18402
18402
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18403
18403
|
_chunkFCZAUK4Dcjs.Button,
|
|
18404
18404
|
{
|
|
@@ -18482,7 +18482,7 @@ function LoginForm({
|
|
|
18482
18482
|
),
|
|
18483
18483
|
children: [
|
|
18484
18484
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
|
|
18485
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
18485
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunkABL5OBSFcjs.accentSentenceMarks.call(void 0, title) }),
|
|
18486
18486
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: subtitle })
|
|
18487
18487
|
] }),
|
|
18488
18488
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -18609,7 +18609,7 @@ function NoAccountNotice({
|
|
|
18609
18609
|
),
|
|
18610
18610
|
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: [
|
|
18611
18611
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
|
|
18612
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
18612
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunkABL5OBSFcjs.accentSentenceMarks.call(void 0, title) }),
|
|
18613
18613
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: description })
|
|
18614
18614
|
] }),
|
|
18615
18615
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFCZAUK4Dcjs.Button, { type: "button", variant: "outline", fullWidth: true, onClick: onBackToLogin, children: backLabel })
|
|
@@ -18658,7 +18658,7 @@ function OpenFrameSsoLoginForm({
|
|
|
18658
18658
|
),
|
|
18659
18659
|
children: [
|
|
18660
18660
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-xs)]", children: [
|
|
18661
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
18661
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunkABL5OBSFcjs.accentSentenceMarks.call(void 0, title) }),
|
|
18662
18662
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: subtitle })
|
|
18663
18663
|
] }),
|
|
18664
18664
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -18763,7 +18763,7 @@ function OpenFrameSsoSignUpForm({
|
|
|
18763
18763
|
),
|
|
18764
18764
|
children: [
|
|
18765
18765
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-xs)]", children: [
|
|
18766
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
18766
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunkABL5OBSFcjs.accentSentenceMarks.call(void 0, title) }),
|
|
18767
18767
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: subtitle })
|
|
18768
18768
|
] }),
|
|
18769
18769
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -18869,7 +18869,7 @@ function PasswordResetForm({
|
|
|
18869
18869
|
),
|
|
18870
18870
|
children: [
|
|
18871
18871
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
|
|
18872
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
18872
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunkABL5OBSFcjs.accentSentenceMarks.call(void 0, title) }),
|
|
18873
18873
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: subtitle })
|
|
18874
18874
|
] }),
|
|
18875
18875
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -18990,7 +18990,7 @@ function SsoJoinForm({
|
|
|
18990
18990
|
),
|
|
18991
18991
|
children: [
|
|
18992
18992
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
|
|
18993
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
18993
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunkABL5OBSFcjs.accentSentenceMarks.call(void 0, title) }),
|
|
18994
18994
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: subtitle })
|
|
18995
18995
|
] }),
|
|
18996
18996
|
/* @__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: [
|
|
@@ -19256,7 +19256,7 @@ function ChangelogManager({
|
|
|
19256
19256
|
),
|
|
19257
19257
|
/* @__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)" }) }),
|
|
19258
19258
|
tagOptions && tagLabelOf(entry.tag) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19259
|
-
|
|
19259
|
+
_chunkBIOSHDXQcjs.StatusBadge,
|
|
19260
19260
|
{
|
|
19261
19261
|
variant: "button",
|
|
19262
19262
|
singleLine: true,
|
|
@@ -19595,7 +19595,7 @@ function EntityTagBadgesSkeleton({
|
|
|
19595
19595
|
}) {
|
|
19596
19596
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { "aria-hidden": true, className: _chunk63A4GZMBcjs.cn.call(void 0, TAG_ROW_CLASS, className), children: [
|
|
19597
19597
|
/* @__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,
|
|
19598
|
-
|
|
19598
|
+
_chunkBIOSHDXQcjs.StatusBadge,
|
|
19599
19599
|
{
|
|
19600
19600
|
loading: true,
|
|
19601
19601
|
text: "",
|
|
@@ -19603,7 +19603,7 @@ function EntityTagBadgesSkeleton({
|
|
|
19603
19603
|
className: _chunk63A4GZMBcjs.cn.call(void 0, "border", _nullishCoalesce(itemClassName, () => ( TAG_SKELETON_WIDTH_CLASS)))
|
|
19604
19604
|
}
|
|
19605
19605
|
) }) }),
|
|
19606
|
-
overflow && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: TAG_ITEM_CLASS, "data-loading-item": true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19606
|
+
overflow && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: TAG_ITEM_CLASS, "data-loading-item": true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBIOSHDXQcjs.StatusBadge, { loading: true, text: "", variant: "card", className: _chunk63A4GZMBcjs.cn.call(void 0, "border", OVERFLOW_BADGE_SKELETON_CLASS) }) })
|
|
19607
19607
|
] });
|
|
19608
19608
|
}
|
|
19609
19609
|
function EntityTagBadges({
|
|
@@ -19631,7 +19631,7 @@ function EntityTagBadges({
|
|
|
19631
19631
|
const label = (tag.name || "").toUpperCase();
|
|
19632
19632
|
if (basePath && tag.slug) {
|
|
19633
19633
|
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,
|
|
19634
|
-
|
|
19634
|
+
_chunkBIOSHDXQcjs.StatusBadge,
|
|
19635
19635
|
{
|
|
19636
19636
|
text: label,
|
|
19637
19637
|
variant: "card",
|
|
@@ -19639,7 +19639,7 @@ function EntityTagBadges({
|
|
|
19639
19639
|
}
|
|
19640
19640
|
) }, key);
|
|
19641
19641
|
}
|
|
19642
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: itemClass(index), "data-loading-item": true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19642
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: itemClass(index), "data-loading-item": true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBIOSHDXQcjs.StatusBadge, { text: label, variant: "card", className: BADGE_CLASS }) }, key);
|
|
19643
19643
|
}),
|
|
19644
19644
|
phoneOverflow === overflow ? overflow > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, OverflowBadge, { count: overflow }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
19645
19645
|
phoneOverflow > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, OverflowBadge, { count: phoneOverflow, className: "content-md:hidden" }),
|
|
@@ -19648,7 +19648,7 @@ function EntityTagBadges({
|
|
|
19648
19648
|
] });
|
|
19649
19649
|
}
|
|
19650
19650
|
function OverflowBadge({ count, className }) {
|
|
19651
|
-
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,
|
|
19651
|
+
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, _chunkBIOSHDXQcjs.StatusBadge, { text: `+${count}`, variant: "card", className: _chunk63A4GZMBcjs.cn.call(void 0, BADGE_CLASS, "text-ods-text-secondary") }) });
|
|
19652
19652
|
}
|
|
19653
19653
|
|
|
19654
19654
|
// src/components/features/error-boundary.tsx
|
|
@@ -19743,7 +19743,7 @@ var SectionButton = ({
|
|
|
19743
19743
|
}
|
|
19744
19744
|
),
|
|
19745
19745
|
section.badge && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19746
|
-
|
|
19746
|
+
_chunkBIOSHDXQcjs.StatusBadge,
|
|
19747
19747
|
{
|
|
19748
19748
|
text: section.badge.text,
|
|
19749
19749
|
variant: section.badge.variant || "button",
|
|
@@ -19762,7 +19762,7 @@ var SectionButton = ({
|
|
|
19762
19762
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-wrap items-start gap-2", children: [
|
|
19763
19763
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk63A4GZMBcjs.cn.call(void 0, titleClasses, "text-h3"), style: { textAlign: "left" }, children: section.title }),
|
|
19764
19764
|
section.badge && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19765
|
-
|
|
19765
|
+
_chunkBIOSHDXQcjs.StatusBadge,
|
|
19766
19766
|
{
|
|
19767
19767
|
text: section.badge.text,
|
|
19768
19768
|
variant: section.badge.variant || "button",
|
|
@@ -20825,15 +20825,15 @@ function useLoading() {
|
|
|
20825
20825
|
|
|
20826
20826
|
|
|
20827
20827
|
function isAlreadyThere(file, existing) {
|
|
20828
|
-
const key =
|
|
20828
|
+
const key = _chunkABL5OBSFcjs.mediaNameKey.call(void 0, file.name);
|
|
20829
20829
|
if (!key) return false;
|
|
20830
20830
|
return existing.some(
|
|
20831
|
-
(item) => (item.title ?
|
|
20831
|
+
(item) => (item.title ? _chunkABL5OBSFcjs.mediaNameKey.call(void 0, item.title) === key : false) || (item.media_url ? _chunkABL5OBSFcjs.mediaNameKey.call(void 0, item.media_url) === key : false)
|
|
20832
20832
|
);
|
|
20833
20833
|
}
|
|
20834
20834
|
var isFileDrag = (event) => Array.from(event.dataTransfer.types).includes("Files");
|
|
20835
|
-
var isVideoItem = (item) =>
|
|
20836
|
-
var MEDIA_KIND_ACCEPT = { image:
|
|
20835
|
+
var isVideoItem = (item) => _chunkABL5OBSFcjs.isVideoMedia.call(void 0, item) || item.media_type === "demo";
|
|
20836
|
+
var MEDIA_KIND_ACCEPT = { image: _chunkABL5OBSFcjs.IMAGE_FILE_ACCEPT, video: "video/*", both: _chunkABL5OBSFcjs.MEDIA_FILE_ACCEPT };
|
|
20837
20837
|
var MEDIA_KIND_COPY = {
|
|
20838
20838
|
image: { noun: "pictures", refusal: "Not a picture" },
|
|
20839
20839
|
video: { noun: "videos", refusal: "Not a video" },
|
|
@@ -20857,12 +20857,12 @@ function useMediaIntake({ existing, onUpload, onUploaded, kinds = "both" }) {
|
|
|
20857
20857
|
const seen = /* @__PURE__ */ new Set();
|
|
20858
20858
|
const accepted = [];
|
|
20859
20859
|
for (const file of files) {
|
|
20860
|
-
const mediaType =
|
|
20860
|
+
const mediaType = _chunkABL5OBSFcjs.fileMediaType.call(void 0, file);
|
|
20861
20861
|
if (!mediaType || kinds !== "both" && mediaType !== kinds) {
|
|
20862
20862
|
unsupported.push(file.name);
|
|
20863
20863
|
continue;
|
|
20864
20864
|
}
|
|
20865
|
-
const contentKey = await
|
|
20865
|
+
const contentKey = await _chunkABL5OBSFcjs.fileContentKey.call(void 0, file).catch(() => `${file.name}:${file.size}`);
|
|
20866
20866
|
if (seen.has(contentKey) || isAlreadyThere(file, existingRef.current)) {
|
|
20867
20867
|
duplicates.push(file.name);
|
|
20868
20868
|
continue;
|
|
@@ -21043,7 +21043,7 @@ function MediaGalleryManager({
|
|
|
21043
21043
|
className: _chunk63A4GZMBcjs.cn.call(void 0, "grid grid-cols-1 gap-4 content-md:grid-cols-2", columns === 3 && "content-lg:grid-cols-3"),
|
|
21044
21044
|
children: [
|
|
21045
21045
|
media.map((item, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
21046
|
-
|
|
21046
|
+
_chunkBIOSHDXQcjs.Card,
|
|
21047
21047
|
{
|
|
21048
21048
|
className: "group relative border-ods-border transition-colors hover:border-ods-accent/30",
|
|
21049
21049
|
draggable: true,
|
|
@@ -21068,7 +21068,7 @@ function MediaGalleryManager({
|
|
|
21068
21068
|
) }),
|
|
21069
21069
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "relative aspect-video overflow-hidden rounded-lg bg-ods-bg", children: isVideoItem(item) ? (
|
|
21070
21070
|
// <Video> SSOT (MuxPlayer): plays Mux HLS and MP4 alike; fit="cover" crops to the cell.
|
|
21071
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21071
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBIOSHDXQcjs.Video, { kind: "file", url: item.media_url, fit: "cover", className: "h-full w-full" })
|
|
21072
21072
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21073
21073
|
_chunk3V5JWG27cjs.next_image_default,
|
|
21074
21074
|
{
|
|
@@ -21120,7 +21120,7 @@ function MediaGalleryManager({
|
|
|
21120
21120
|
},
|
|
21121
21121
|
_nullishCoalesce(item.id, () => ( `${item.media_url}-${index}`))
|
|
21122
21122
|
)),
|
|
21123
|
-
pending.map((name, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
21123
|
+
pending.map((name, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkBIOSHDXQcjs.Card, { className: "border-ods-border", "aria-busy": "true", children: [
|
|
21124
21124
|
/* @__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" }) }),
|
|
21125
21125
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "truncate p-3 text-ods-text-secondary text-h6", children: name })
|
|
21126
21126
|
] }, `pending-${name}-${index}`))
|
|
@@ -21477,7 +21477,7 @@ var MODEL_TOKEN_RATES_COPY = {
|
|
|
21477
21477
|
empty: "No token rates are in effect right now."
|
|
21478
21478
|
};
|
|
21479
21479
|
function providerMark(providerType, stated, className) {
|
|
21480
|
-
const Mark = _chunkJQCQCE6Ucjs.findIcon.call(void 0,
|
|
21480
|
+
const Mark = _chunkJQCQCE6Ucjs.findIcon.call(void 0, _chunkBZZE4KIVcjs.aiProvider.call(void 0, providerType, { icon: stated }).icon);
|
|
21481
21481
|
return Mark ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Mark, { className }) : void 0;
|
|
21482
21482
|
}
|
|
21483
21483
|
var PAD_X = "px-[var(--spacing-system-s)]";
|
|
@@ -21495,7 +21495,7 @@ var UNIT_LINE_CLASS = _chunk63A4GZMBcjs.cn.call(void 0,
|
|
|
21495
21495
|
var TABS_ROW_CLASS = _chunk63A4GZMBcjs.cn.call(void 0, "shrink-0 border-b border-ods-border py-[var(--spacing-system-xs)]", PAD_X);
|
|
21496
21496
|
var NUMBER_CELL = "w-16 shrink-0 whitespace-nowrap text-right tabular-nums";
|
|
21497
21497
|
function useProviderGroup(rates) {
|
|
21498
|
-
const groups =
|
|
21498
|
+
const groups = _chunkBZZE4KIVcjs.groupTokenRatesByProvider.call(void 0, rates);
|
|
21499
21499
|
const [picked, setPicked] = _react.useState.call(void 0, null);
|
|
21500
21500
|
return { groups, group: _nullishCoalesce(groups.find((candidate) => candidate.providerType === picked), () => ( groups[0])), setPicked };
|
|
21501
21501
|
}
|
|
@@ -21506,7 +21506,7 @@ function ProviderTabs({
|
|
|
21506
21506
|
className
|
|
21507
21507
|
}) {
|
|
21508
21508
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21509
|
-
|
|
21509
|
+
_chunkSIFRIUPWcjs.TabSelector,
|
|
21510
21510
|
{
|
|
21511
21511
|
variant: "secondary",
|
|
21512
21512
|
scrollable: true,
|
|
@@ -21514,7 +21514,7 @@ function ProviderTabs({
|
|
|
21514
21514
|
onValueChange,
|
|
21515
21515
|
items: groups.map((candidate) => ({
|
|
21516
21516
|
id: candidate.providerType,
|
|
21517
|
-
label:
|
|
21517
|
+
label: _chunkBZZE4KIVcjs.tokenRateProviderLabel.call(void 0, candidate.providerType, _optionalChain([candidate, 'access', _435 => _435.rates, 'access', _436 => _436[0], 'optionalAccess', _437 => _437.providerLabel])),
|
|
21518
21518
|
icon: providerMark(candidate.providerType, _optionalChain([candidate, 'access', _438 => _438.rates, 'access', _439 => _439[0], 'optionalAccess', _440 => _440.providerIcon]), "size-full")
|
|
21519
21519
|
})),
|
|
21520
21520
|
className
|
|
@@ -21591,8 +21591,8 @@ function ModelTokenRatesTable({ rates }) {
|
|
|
21591
21591
|
] }),
|
|
21592
21592
|
/* @__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: [
|
|
21593
21593
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "rowheader", className: "min-w-0 flex-1 truncate", children: rate.displayName || rate.modelName }),
|
|
21594
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "cell", className: NUMBER_CELL, children:
|
|
21595
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "cell", className: NUMBER_CELL, children:
|
|
21594
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "cell", className: NUMBER_CELL, children: _chunkBZZE4KIVcjs.formatTokenRate.call(void 0, rate.inputTokenRate) }),
|
|
21595
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "cell", className: NUMBER_CELL, children: _chunkBZZE4KIVcjs.formatTokenRate.call(void 0, rate.outputTokenRate) })
|
|
21596
21596
|
] }, rate.modelName)) })
|
|
21597
21597
|
] }),
|
|
21598
21598
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: UNIT_LINE_CLASS, children: MODEL_TOKEN_RATES_COPY.unit })
|
|
@@ -21639,7 +21639,7 @@ function modelOption(rate) {
|
|
|
21639
21639
|
return {
|
|
21640
21640
|
label: rate.displayName || rate.modelName,
|
|
21641
21641
|
value: rate.modelName,
|
|
21642
|
-
description:
|
|
21642
|
+
description: _chunkBZZE4KIVcjs.tokenRateProviderLabel.call(void 0, rate.providerType, rate.providerLabel),
|
|
21643
21643
|
icon: providerMark(rate.providerType, rate.providerIcon, "size-full text-ods-text-secondary")
|
|
21644
21644
|
};
|
|
21645
21645
|
}
|
|
@@ -21694,8 +21694,8 @@ function ModelTokenExchange({
|
|
|
21694
21694
|
const [chosen, setChosen] = _react.useState.call(void 0, null);
|
|
21695
21695
|
const balance = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(chosen, () => ( defaultAmount)), () => ( _optionalChain([tokenPrice, 'optionalAccess', _441 => _441.tokens]))), () => ( MODEL_TOKEN_EXCHANGE_BALANCE));
|
|
21696
21696
|
const max = Math.max(amountRange.max, balance, ...presets.map((preset) => preset.tokens));
|
|
21697
|
-
const tokens =
|
|
21698
|
-
const cost =
|
|
21697
|
+
const tokens = _chunkBZZE4KIVcjs.formatTokenAmount.call(void 0, balance);
|
|
21698
|
+
const cost = _chunkBZZE4KIVcjs.tokenCost.call(void 0, balance, tokenPrice);
|
|
21699
21699
|
const balancePrice = cost === null ? null : _chunkNFNSPLGCcjs.formatPrice.call(void 0, cost);
|
|
21700
21700
|
const model = rate ? rate.displayName || rate.modelName : "";
|
|
21701
21701
|
const options = models.map(modelOption);
|
|
@@ -21738,7 +21738,7 @@ function ModelTokenExchange({
|
|
|
21738
21738
|
variant: preset.tokens === balance ? "accent" : "outline",
|
|
21739
21739
|
size: "small",
|
|
21740
21740
|
onClick: () => setChosen(preset.tokens),
|
|
21741
|
-
children: copy.buy.preset(
|
|
21741
|
+
children: copy.buy.preset(_chunkBZZE4KIVcjs.formatTokenAmount.call(void 0, preset.tokens), preset.label)
|
|
21742
21742
|
},
|
|
21743
21743
|
preset.label
|
|
21744
21744
|
)) })
|
|
@@ -21755,7 +21755,7 @@ function ModelTokenExchange({
|
|
|
21755
21755
|
const stated = _nullishCoalesce(models.find((option) => option.providerType === providerType), () => ( (_optionalChain([rate, 'optionalAccess', _442 => _442.providerType]) === providerType ? rate : null)));
|
|
21756
21756
|
return {
|
|
21757
21757
|
id: providerType,
|
|
21758
|
-
name:
|
|
21758
|
+
name: _chunkBZZE4KIVcjs.tokenRateProviderLabel.call(void 0, providerType, _optionalChain([stated, 'optionalAccess', _443 => _443.providerLabel])),
|
|
21759
21759
|
icon: providerMark(providerType, _optionalChain([stated, 'optionalAccess', _444 => _444.providerIcon]), "size-8 text-ods-text-secondary")
|
|
21760
21760
|
};
|
|
21761
21761
|
}),
|
|
@@ -21794,7 +21794,7 @@ function ModelTokenExchange({
|
|
|
21794
21794
|
{
|
|
21795
21795
|
size: "plain",
|
|
21796
21796
|
loading,
|
|
21797
|
-
figure:
|
|
21797
|
+
figure: _chunkBZZE4KIVcjs.formatTokenRate.call(void 0, _optionalChain([rate, 'optionalAccess', _449 => _449.inputTokenRate])),
|
|
21798
21798
|
words: copy.charge.input
|
|
21799
21799
|
}
|
|
21800
21800
|
),
|
|
@@ -21803,7 +21803,7 @@ function ModelTokenExchange({
|
|
|
21803
21803
|
{
|
|
21804
21804
|
size: "plain",
|
|
21805
21805
|
loading,
|
|
21806
|
-
figure:
|
|
21806
|
+
figure: _chunkBZZE4KIVcjs.formatTokenRate.call(void 0, _optionalChain([rate, 'optionalAccess', _450 => _450.outputTokenRate])),
|
|
21807
21807
|
words: copy.charge.output
|
|
21808
21808
|
}
|
|
21809
21809
|
)
|
|
@@ -21815,9 +21815,9 @@ function ModelTokenExchange({
|
|
|
21815
21815
|
className: "mt-auto flex flex-col rounded-md border border-ods-accent bg-ods-bg p-[var(--spacing-system-mf)]",
|
|
21816
21816
|
children: [
|
|
21817
21817
|
/* @__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) }),
|
|
21818
|
-
/* @__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" }) :
|
|
21818
|
+
/* @__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" }) : _chunkBZZE4KIVcjs.formatTokenAmount.call(void 0, _chunkBZZE4KIVcjs.tokensForBalance.call(void 0, balance, rate.inputTokenRate)) }),
|
|
21819
21819
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-h-[1lh] text-ods-text-primary text-h3", children: copy.charge.read }),
|
|
21820
|
-
/* @__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(
|
|
21820
|
+
/* @__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(_chunkBZZE4KIVcjs.formatTokenAmount.call(void 0, _chunkBZZE4KIVcjs.tokensForBalance.call(void 0, balance, rate.outputTokenRate))) })
|
|
21821
21821
|
]
|
|
21822
21822
|
}
|
|
21823
21823
|
)
|
|
@@ -22337,14 +22337,14 @@ var ConfidenceBadge = ({
|
|
|
22337
22337
|
size = "sm",
|
|
22338
22338
|
className
|
|
22339
22339
|
}) => {
|
|
22340
|
-
const level =
|
|
22340
|
+
const level = _chunkBZZE4KIVcjs.getConfidenceLevel.call(void 0, confidence);
|
|
22341
22341
|
if (level === "none") {
|
|
22342
22342
|
return null;
|
|
22343
22343
|
}
|
|
22344
|
-
const label =
|
|
22345
|
-
const borderClass =
|
|
22346
|
-
const textClass =
|
|
22347
|
-
const bgClass =
|
|
22344
|
+
const label = _chunkBZZE4KIVcjs.getConfidenceLabel.call(void 0, confidence);
|
|
22345
|
+
const borderClass = _chunkBZZE4KIVcjs.getConfidenceBorderClass.call(void 0, confidence);
|
|
22346
|
+
const textClass = _chunkBZZE4KIVcjs.getConfidenceTextClass.call(void 0, confidence);
|
|
22347
|
+
const bgClass = _chunkBZZE4KIVcjs.getConfidenceBgClass.call(void 0, confidence);
|
|
22348
22348
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
22349
22349
|
"span",
|
|
22350
22350
|
{
|
|
@@ -22395,9 +22395,9 @@ function SEOEditorPreview({
|
|
|
22395
22395
|
const [isUploading, setIsUploading] = _react.useState.call(void 0, false);
|
|
22396
22396
|
const [fileInputRef, setFileInputRef] = _react.useState.call(void 0, null);
|
|
22397
22397
|
const seoTitleLength = (seoTitle || "").length;
|
|
22398
|
-
const seoTitleTooLong = seoTitleLength >
|
|
22398
|
+
const seoTitleTooLong = seoTitleLength > _chunkBZZE4KIVcjs.SEO_TITLE_MAX_LENGTH;
|
|
22399
22399
|
const seoDescriptionLength = (seoDescription || "").length;
|
|
22400
|
-
const seoDescriptionTooLong = seoDescriptionLength >
|
|
22400
|
+
const seoDescriptionTooLong = seoDescriptionLength > _chunkBZZE4KIVcjs.SEO_DESCRIPTION_MAX_LENGTH;
|
|
22401
22401
|
const displayTitle = seoTitle.trim() || title || "Untitled";
|
|
22402
22402
|
const displayDescription = seoDescription.trim() || summary || "No description";
|
|
22403
22403
|
const hasOgImage = ogImageUrl.trim();
|
|
@@ -22422,10 +22422,10 @@ function SEOEditorPreview({
|
|
|
22422
22422
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid grid-cols-1 gap-4 content-lg:grid-cols-2", children: [
|
|
22423
22423
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
22424
22424
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22425
|
-
|
|
22425
|
+
_chunkBZZE4KIVcjs.Field,
|
|
22426
22426
|
{
|
|
22427
22427
|
label: "SEO Title",
|
|
22428
|
-
error: seoTitleTooLong ? `Too long: search engines may truncate this title (keep it under ${
|
|
22428
|
+
error: seoTitleTooLong ? `Too long: search engines may truncate this title (keep it under ${_chunkBZZE4KIVcjs.SEO_TITLE_MAX_LENGTH})` : null,
|
|
22429
22429
|
labelExtras: aiConfidenceSeoTitle !== void 0 ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
22430
22430
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, AIGeneratedBadge, {}),
|
|
22431
22431
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ConfidenceBadge, { confidence: aiConfidenceSeoTitle, showLabel: true, showPercentage: true, size: "sm" })
|
|
@@ -22440,7 +22440,7 @@ function SEOEditorPreview({
|
|
|
22440
22440
|
children: [
|
|
22441
22441
|
seoTitleLength,
|
|
22442
22442
|
"/",
|
|
22443
|
-
|
|
22443
|
+
_chunkBZZE4KIVcjs.SEO_TITLE_MAX_LENGTH
|
|
22444
22444
|
]
|
|
22445
22445
|
}
|
|
22446
22446
|
),
|
|
@@ -22451,7 +22451,7 @@ function SEOEditorPreview({
|
|
|
22451
22451
|
value: seoTitle || "",
|
|
22452
22452
|
onChange: (e) => onSeoTitleChange(e.target.value),
|
|
22453
22453
|
disabled,
|
|
22454
|
-
maxLength:
|
|
22454
|
+
maxLength: _chunkBZZE4KIVcjs.SEO_TITLE_MAX_LENGTH,
|
|
22455
22455
|
invalid: seoTitleTooLong,
|
|
22456
22456
|
placeholder: "Enter SEO meta title...",
|
|
22457
22457
|
className: "border-ods-border bg-ods-bg text-ods-text-primary"
|
|
@@ -22462,7 +22462,7 @@ function SEOEditorPreview({
|
|
|
22462
22462
|
!seoTitle && title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-accent text-h6", children: "Auto-populated from title" })
|
|
22463
22463
|
] }),
|
|
22464
22464
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22465
|
-
|
|
22465
|
+
_chunkBZZE4KIVcjs.Field,
|
|
22466
22466
|
{
|
|
22467
22467
|
label: "SEO Keywords",
|
|
22468
22468
|
labelExtras: aiConfidenceSeoKeywords !== void 0 ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
@@ -22494,10 +22494,10 @@ function SEOEditorPreview({
|
|
|
22494
22494
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid grid-cols-1 gap-4 content-lg:grid-cols-2", children: [
|
|
22495
22495
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
22496
22496
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22497
|
-
|
|
22497
|
+
_chunkBZZE4KIVcjs.Field,
|
|
22498
22498
|
{
|
|
22499
22499
|
label: "SEO Description",
|
|
22500
|
-
error: seoDescriptionTooLong ? `Too long: search engines may truncate this description (keep it under ${
|
|
22500
|
+
error: seoDescriptionTooLong ? `Too long: search engines may truncate this description (keep it under ${_chunkBZZE4KIVcjs.SEO_DESCRIPTION_MAX_LENGTH})` : null,
|
|
22501
22501
|
labelExtras: aiConfidenceSeoDescription !== void 0 ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
22502
22502
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, AIGeneratedBadge, {}),
|
|
22503
22503
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -22520,7 +22520,7 @@ function SEOEditorPreview({
|
|
|
22520
22520
|
children: [
|
|
22521
22521
|
seoDescriptionLength,
|
|
22522
22522
|
"/",
|
|
22523
|
-
|
|
22523
|
+
_chunkBZZE4KIVcjs.SEO_DESCRIPTION_MAX_LENGTH
|
|
22524
22524
|
]
|
|
22525
22525
|
}
|
|
22526
22526
|
),
|
|
@@ -22531,7 +22531,7 @@ function SEOEditorPreview({
|
|
|
22531
22531
|
value: seoDescription || "",
|
|
22532
22532
|
onChange: (e) => onSeoDescriptionChange(e.target.value),
|
|
22533
22533
|
disabled,
|
|
22534
|
-
maxLength:
|
|
22534
|
+
maxLength: _chunkBZZE4KIVcjs.SEO_DESCRIPTION_MAX_LENGTH,
|
|
22535
22535
|
invalid: seoDescriptionTooLong,
|
|
22536
22536
|
placeholder: "Enter SEO meta description...",
|
|
22537
22537
|
className: _chunk63A4GZMBcjs.cn.call(void 0, "resize-none border-ods-border bg-ods-bg text-ods-text-primary", SEO_MEDIA_BOX_HEIGHT)
|
|
@@ -22600,7 +22600,7 @@ function SEOEditorPreview({
|
|
|
22600
22600
|
{
|
|
22601
22601
|
ref: setFileInputRef,
|
|
22602
22602
|
type: "file",
|
|
22603
|
-
accept:
|
|
22603
|
+
accept: _chunkABL5OBSFcjs.IMAGE_FILE_ACCEPT,
|
|
22604
22604
|
onChange: handleImageUpload,
|
|
22605
22605
|
className: "hidden",
|
|
22606
22606
|
disabled: disabled || isUploading
|
|
@@ -22674,6 +22674,8 @@ var SOCIAL_ICONS = {
|
|
|
22674
22674
|
instagram: { set: "InstagramIcon", color: MARK },
|
|
22675
22675
|
facebook: { set: "FacebookIcon", color: MARK },
|
|
22676
22676
|
tiktok: { lucide: "music" },
|
|
22677
|
+
// A site's own feed (`brand.feeds`, a share row). Like CopyIcon, its default fill is grey.
|
|
22678
|
+
rss: { set: "RssIcon", color: MARK },
|
|
22677
22679
|
// CopyIcon's default fill is grey and would mismatch its row-mates.
|
|
22678
22680
|
copy: { set: "CopyIcon", color: MARK }
|
|
22679
22681
|
};
|
|
@@ -22682,7 +22684,7 @@ function socialIcon(platform) {
|
|
|
22682
22684
|
return _nullishCoalesce(_chunkJQCQCE6Ucjs.iconOf.call(void 0, SOCIAL_ICONS[platform]), () => ( void 0));
|
|
22683
22685
|
}
|
|
22684
22686
|
function renderSocialIcon(platform) {
|
|
22685
|
-
const key = _nullishCoalesce(
|
|
22687
|
+
const key = _nullishCoalesce(_chunkABL5OBSFcjs.normalizeSocialPlatform.call(void 0, platform), () => ( "website"));
|
|
22686
22688
|
const icon = _nullishCoalesce(socialIcon(key), () => ( socialIcon("website")));
|
|
22687
22689
|
return icon ? _react.createElement.call(void 0, icon, { className: "h-5 w-5" }) : null;
|
|
22688
22690
|
}
|
|
@@ -22773,7 +22775,7 @@ function SocialLinksManager({
|
|
|
22773
22775
|
};
|
|
22774
22776
|
const getIcon = (link, platform) => {
|
|
22775
22777
|
const iconKey = _optionalChain([platform, 'optionalAccess', _460 => _460.icon_name]) || link.platform;
|
|
22776
|
-
const key =
|
|
22778
|
+
const key = _chunkABL5OBSFcjs.normalizeSocialPlatform.call(void 0, iconKey);
|
|
22777
22779
|
if (!key) return null;
|
|
22778
22780
|
const icon = socialIcon(key);
|
|
22779
22781
|
return icon ? _react.createElement.call(void 0, icon, { className: "h-5 w-5 text-ods-text-secondary" }) : null;
|
|
@@ -22909,7 +22911,7 @@ var StartWithOpenFrameButton = _react.forwardRef.call(void 0,
|
|
|
22909
22911
|
className: _chunk63A4GZMBcjs.cn.call(void 0, modeClassName, className),
|
|
22910
22912
|
style: customStyle,
|
|
22911
22913
|
leftIcon: !loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHJZLKYOBcjs.OpenframeLogoIcon, { secondaryColor: iconLowerPath, className: "h-5 w-5", color: iconUpperPath }) : void 0,
|
|
22912
|
-
rightIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22914
|
+
rightIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBIOSHDXQcjs.StatusBadge, { text: "Beta", variant: "button", colorScheme: "yellow" }),
|
|
22913
22915
|
children
|
|
22914
22916
|
}
|
|
22915
22917
|
);
|
|
@@ -23237,11 +23239,11 @@ function WarningBlock({ title, icon = DEFAULT_ICON, children, className }) {
|
|
|
23237
23239
|
|
|
23238
23240
|
function VideoBitesDisplay({
|
|
23239
23241
|
bites,
|
|
23240
|
-
title =
|
|
23242
|
+
title = _chunkBIOSHDXQcjs.DEFAULT_VIDEO_BITES_TITLE,
|
|
23241
23243
|
filterPublished = true,
|
|
23242
23244
|
showTitle = true
|
|
23243
23245
|
}) {
|
|
23244
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23246
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSIFRIUPWcjs.VideoBitesStrip, { bites, title, filterPublished, showTitle });
|
|
23245
23247
|
}
|
|
23246
23248
|
|
|
23247
23249
|
// src/components/features/walkthrough-video.tsx
|
|
@@ -23270,7 +23272,7 @@ function WalkthroughVideo({
|
|
|
23270
23272
|
onOpenChange,
|
|
23271
23273
|
defaultOpen,
|
|
23272
23274
|
defaultOpenPaused,
|
|
23273
|
-
deepLinkParam =
|
|
23275
|
+
deepLinkParam = _chunkBZZE4KIVcjs.WALKTHROUGH_OPEN_QUERY_PARAM,
|
|
23274
23276
|
autoPlayCard = false,
|
|
23275
23277
|
label = "Play Demo Video",
|
|
23276
23278
|
placement,
|
|
@@ -23287,7 +23289,7 @@ function WalkthroughVideo({
|
|
|
23287
23289
|
const inline = placement === "inline";
|
|
23288
23290
|
const inScope = _chunk63A4GZMBcjs.useLoadingScope.call(void 0, );
|
|
23289
23291
|
const dismissEnabled = dismissal !== false;
|
|
23290
|
-
const storageKey = dismissEnabled && dismissal.storageKey ||
|
|
23292
|
+
const storageKey = dismissEnabled && dismissal.storageKey || _chunkBZZE4KIVcjs.WALKTHROUGH_VIDEO_DISMISS_KEY;
|
|
23291
23293
|
const dismissalId = _optionalChain([video, 'optionalAccess', _466 => _466.id]) != null ? String(video.id) : "dismissed";
|
|
23292
23294
|
const [mounted, setMounted] = _react.useState.call(void 0, false);
|
|
23293
23295
|
const [dismissed, setDismissed] = _react.useState.call(void 0, false);
|
|
@@ -23299,7 +23301,7 @@ function WalkthroughVideo({
|
|
|
23299
23301
|
let delayElapsed = false;
|
|
23300
23302
|
let interacted = inline;
|
|
23301
23303
|
const reveal = () => {
|
|
23302
|
-
if (dismissEnabled &&
|
|
23304
|
+
if (dismissEnabled && _chunkBZZE4KIVcjs.isWalkthroughDismissed.call(void 0, storageKey, dismissalId)) {
|
|
23303
23305
|
setDismissed(true);
|
|
23304
23306
|
return;
|
|
23305
23307
|
}
|
|
@@ -23336,7 +23338,7 @@ function WalkthroughVideo({
|
|
|
23336
23338
|
if (idleHandle !== null && typeof cic === "function") cic(idleHandle);
|
|
23337
23339
|
};
|
|
23338
23340
|
}, [appearDelayMs, dismissEnabled, storageKey, dismissalId, hasVideo, videoId, inline]);
|
|
23339
|
-
const hydrated =
|
|
23341
|
+
const hydrated = _chunkSIFRIUPWcjs.useIsHydrated.call(void 0, );
|
|
23340
23342
|
const previewSuppressed = _react.useMemo.call(void 0, () => {
|
|
23341
23343
|
if (!hydrated) return false;
|
|
23342
23344
|
try {
|
|
@@ -23586,7 +23588,7 @@ function WalkthroughVideo({
|
|
|
23586
23588
|
(e) => {
|
|
23587
23589
|
e.stopPropagation();
|
|
23588
23590
|
pausePreviewNow();
|
|
23589
|
-
if (dismissEnabled)
|
|
23591
|
+
if (dismissEnabled) _chunkBZZE4KIVcjs.dismissWalkthrough.call(void 0, storageKey, dismissalId);
|
|
23590
23592
|
setDismissed(true);
|
|
23591
23593
|
},
|
|
23592
23594
|
[dismissEnabled, storageKey, dismissalId, pausePreviewNow]
|
|
@@ -23737,7 +23739,7 @@ function WalkthroughVideo({
|
|
|
23737
23739
|
},
|
|
23738
23740
|
children: [
|
|
23739
23741
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pointer-events-none absolute inset-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23740
|
-
|
|
23742
|
+
_chunkBIOSHDXQcjs.VideoHoverPreviewSurface,
|
|
23741
23743
|
{
|
|
23742
23744
|
url: video.mainVideoUrl || "",
|
|
23743
23745
|
posterUrl: video.posterUrl ? _chunk3V5JWG27cjs.resizedImageUrl.call(void 0, video.posterUrl, _chunkJQCQCE6Ucjs.IMAGE_WIDTHS[0]) : video.posterUrl,
|
|
@@ -23761,7 +23763,7 @@ function WalkthroughVideo({
|
|
|
23761
23763
|
`card-${embedUrlKey}`
|
|
23762
23764
|
) }),
|
|
23763
23765
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23764
|
-
|
|
23766
|
+
_chunkSIFRIUPWcjs.CardHitLayer,
|
|
23765
23767
|
{
|
|
23766
23768
|
label: video.title ? `${label}: ${video.title}` : label,
|
|
23767
23769
|
onPointerDown: pausePreviewNow,
|
|
@@ -23770,7 +23772,7 @@ function WalkthroughVideo({
|
|
|
23770
23772
|
}
|
|
23771
23773
|
),
|
|
23772
23774
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "pointer-events-none absolute bottom-[var(--spacing-system-xsf)] left-[var(--spacing-system-xsf)] z-20 flex max-w-[calc(100%-2*var(--spacing-system-xsf))] items-center gap-[var(--spacing-system-xsf)] rounded-full bg-ods-overlay py-[var(--spacing-system-xxs)] pl-[var(--spacing-system-xxs)] pr-[var(--spacing-system-sf)] text-ods-text-primary text-h6", children: [
|
|
23773
|
-
presenterAvatarSrc ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNFNSPLGCcjs.SquareAvatar, { src: presenterAvatarSrc, alt: "", sizePx: 20, variant: "round", className: "shrink-0 border-0" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23775
|
+
presenterAvatarSrc ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNFNSPLGCcjs.SquareAvatar, { src: presenterAvatarSrc, alt: "", sizePx: 20, variant: "round", className: "shrink-0 border-0" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkX432Y6RMcjs.VideoPlayBadge, { size: "sm", className: "h-5 w-5 shrink-0" }),
|
|
23774
23776
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate", children: summaryTitle || label })
|
|
23775
23777
|
] }),
|
|
23776
23778
|
showBigUnmute && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -23783,7 +23785,7 @@ function WalkthroughVideo({
|
|
|
23783
23785
|
onPointerDown: (e) => e.stopPropagation(),
|
|
23784
23786
|
onClick: onUnmuteOrPlay,
|
|
23785
23787
|
className: "absolute inset-0 z-30 m-auto hidden sm:inline-flex",
|
|
23786
|
-
children: controlIsPlay ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23788
|
+
children: controlIsPlay ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkX432Y6RMcjs.VideoPlayBadge, {}) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkX432Y6RMcjs.VideoUnmuteGlyph, {})
|
|
23787
23789
|
}
|
|
23788
23790
|
),
|
|
23789
23791
|
showPlaybackControls && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "absolute left-[var(--spacing-system-xsf)] top-[var(--spacing-system-xsf)] z-30 flex items-center gap-[var(--spacing-system-xxs)]", children: [
|
|
@@ -23877,7 +23879,7 @@ function WalkthroughVideo({
|
|
|
23877
23879
|
children: [
|
|
23878
23880
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DialogPrimitive2.Title, { className: "sr-only", children: summaryTitle || "Walkthrough video" }),
|
|
23879
23881
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23880
|
-
|
|
23882
|
+
_chunkBIOSHDXQcjs.Video,
|
|
23881
23883
|
{
|
|
23882
23884
|
kind: video.youtubeUrl ? "youtube" : "file",
|
|
23883
23885
|
url: video.youtubeUrl || video.mainVideoUrl,
|
|
@@ -23933,7 +23935,7 @@ function useWalkthroughVideo(opts) {
|
|
|
23933
23935
|
const { endpoint, initialData, enabled: enabledGiven = true, transformCaptionsUrl } = opts;
|
|
23934
23936
|
const inScope = _chunk63A4GZMBcjs.useLoadingScope.call(void 0, );
|
|
23935
23937
|
const enabled = enabledGiven && !inScope;
|
|
23936
|
-
const captions =
|
|
23938
|
+
const captions = _chunkSIFRIUPWcjs.useCaptions.call(void 0, );
|
|
23937
23939
|
const query = _reactquery.useQuery.call(void 0, {
|
|
23938
23940
|
queryKey: ["walkthrough-video", endpoint],
|
|
23939
23941
|
enabled,
|
|
@@ -24131,7 +24133,7 @@ function VideoSourceSelector({
|
|
|
24131
24133
|
}
|
|
24132
24134
|
function DefaultVideoPreview({ videoUrl, onDelete, disabled }) {
|
|
24133
24135
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative overflow-hidden rounded-lg border border-ods-border", children: [
|
|
24134
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "aspect-video max-h-[300px] w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24136
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "aspect-video max-h-[300px] w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBIOSHDXQcjs.Video, { kind: "file", url: videoUrl }) }),
|
|
24135
24137
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24136
24138
|
_chunkFCZAUK4Dcjs.Button,
|
|
24137
24139
|
{
|
|
@@ -24657,7 +24659,7 @@ function HighlightVideoSection({
|
|
|
24657
24659
|
// Default simple preview — the <Video> SSOT (MuxPlayer) plays
|
|
24658
24660
|
// MP4 and Mux HLS alike; aspect-video box reserves the height.
|
|
24659
24661
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative overflow-hidden rounded-lg border border-ods-border bg-black", children: [
|
|
24660
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "aspect-video max-h-[300px] w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24662
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "aspect-video max-h-[300px] w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBIOSHDXQcjs.Video, { kind: "file", url: highlightVideoUrl, poster: highlightVideoThumbnail || void 0 }) }),
|
|
24661
24663
|
onDeleteHighlight && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24662
24664
|
_chunkFCZAUK4Dcjs.Button,
|
|
24663
24665
|
{
|
|
@@ -24684,7 +24686,7 @@ function HighlightConfigSection({
|
|
|
24684
24686
|
disabled = false,
|
|
24685
24687
|
className = ""
|
|
24686
24688
|
}) {
|
|
24687
|
-
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,
|
|
24689
|
+
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, _chunkBZZE4KIVcjs.Field, { label: "Target Duration", children: (f) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
24688
24690
|
_chunkWCK5T3UDcjs.Select,
|
|
24689
24691
|
{
|
|
24690
24692
|
value: targetDurationSeconds.toString(),
|
|
@@ -24785,7 +24787,7 @@ var AIStatusIndicator = ({
|
|
|
24785
24787
|
}) => {
|
|
24786
24788
|
const config = statusConfig[status];
|
|
24787
24789
|
const displayText = message || config.label;
|
|
24788
|
-
const confidenceLabel = showConfidence && confidence !== void 0 ? `${
|
|
24790
|
+
const confidenceLabel = showConfidence && confidence !== void 0 ? `${_chunkBZZE4KIVcjs.getConfidenceLabel.call(void 0, confidence)} (${confidence}%)` : null;
|
|
24789
24791
|
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: [
|
|
24790
24792
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24791
24793
|
_chunkUNFCRSYIcjs.SparklesIcon,
|
|
@@ -24793,7 +24795,7 @@ var AIStatusIndicator = ({
|
|
|
24793
24795
|
size: 16,
|
|
24794
24796
|
className: _chunk63A4GZMBcjs.cn.call(void 0,
|
|
24795
24797
|
status === "loading" && _chunk3TOWCFIKcjs.LIVE_PULSE_CLASS,
|
|
24796
|
-
confidence !== void 0 && status === "success" ?
|
|
24798
|
+
confidence !== void 0 && status === "success" ? _chunkBZZE4KIVcjs.getConfidenceTextClass.call(void 0, confidence) : config.color
|
|
24797
24799
|
)
|
|
24798
24800
|
}
|
|
24799
24801
|
),
|
|
@@ -24802,7 +24804,7 @@ var AIStatusIndicator = ({
|
|
|
24802
24804
|
{
|
|
24803
24805
|
className: _chunk63A4GZMBcjs.cn.call(void 0,
|
|
24804
24806
|
"text-h6",
|
|
24805
|
-
confidence !== void 0 && status === "success" ?
|
|
24807
|
+
confidence !== void 0 && status === "success" ? _chunkBZZE4KIVcjs.getConfidenceTextClass.call(void 0, confidence) : config.color
|
|
24806
24808
|
),
|
|
24807
24809
|
children: displayText
|
|
24808
24810
|
}
|
|
@@ -24812,8 +24814,8 @@ var AIStatusIndicator = ({
|
|
|
24812
24814
|
{
|
|
24813
24815
|
className: _chunk63A4GZMBcjs.cn.call(void 0,
|
|
24814
24816
|
"rounded-full border px-2 py-0.5 text-h6",
|
|
24815
|
-
|
|
24816
|
-
|
|
24817
|
+
_chunkBZZE4KIVcjs.getConfidenceBorderClass.call(void 0, confidence),
|
|
24818
|
+
_chunkBZZE4KIVcjs.getConfidenceTextClass.call(void 0, confidence)
|
|
24817
24819
|
),
|
|
24818
24820
|
children: confidenceLabel
|
|
24819
24821
|
}
|
|
@@ -25434,7 +25436,7 @@ function ApprovalLevelView({
|
|
|
25434
25436
|
] });
|
|
25435
25437
|
}
|
|
25436
25438
|
function ApprovalLevelSkeleton({ editable = false, showLabel = true, className }) {
|
|
25437
|
-
const name = showLabel ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: LEVEL_NAME_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25439
|
+
const name = showLabel ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: LEVEL_NAME_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSIFRIUPWcjs.TextHold, { children: LONGEST_LEVEL_LABEL }) }) : null;
|
|
25438
25440
|
if (!editable) {
|
|
25439
25441
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { "aria-hidden": true, className: _chunk63A4GZMBcjs.cn.call(void 0, READ_ONLY_ROW_CLASS, className), children: [
|
|
25440
25442
|
name,
|
|
@@ -25693,7 +25695,7 @@ function OpenPolicyButton({ href, name }) {
|
|
|
25693
25695
|
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,
|
|
25694
25696
|
_chunkFCZAUK4Dcjs.Button,
|
|
25695
25697
|
{
|
|
25696
|
-
onClick: loading ? void 0 :
|
|
25698
|
+
onClick: loading ? void 0 : _chunkBZZE4KIVcjs.openInNewTab.call(void 0, href),
|
|
25697
25699
|
disabled: loading,
|
|
25698
25700
|
variant: "outline",
|
|
25699
25701
|
size: "icon",
|
|
@@ -26067,7 +26069,7 @@ function OpenTenantButton({ href, name }) {
|
|
|
26067
26069
|
/* @__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,
|
|
26068
26070
|
_chunkFCZAUK4Dcjs.Button,
|
|
26069
26071
|
{
|
|
26070
|
-
onClick: loading ? void 0 :
|
|
26072
|
+
onClick: loading ? void 0 : _chunkBZZE4KIVcjs.openInNewTab.call(void 0, href),
|
|
26071
26073
|
disabled: loading,
|
|
26072
26074
|
variant: "outline",
|
|
26073
26075
|
size: "icon",
|
|
@@ -26202,7 +26204,7 @@ function WaitlistForm({
|
|
|
26202
26204
|
const { toast } = _chunkSSSI2RBVcjs.useToast.call(void 0, );
|
|
26203
26205
|
const { honeypotInputProps, getSignals, resetSignals } = _chunkSSSI2RBVcjs.useHumanitySignals.call(void 0, );
|
|
26204
26206
|
const [smsConsent, setSmsConsent] = _react.useState.call(void 0, false);
|
|
26205
|
-
const isClient =
|
|
26207
|
+
const isClient = _chunkSIFRIUPWcjs.useIsHydrated.call(void 0, );
|
|
26206
26208
|
const [isPhoneInvalid, setIsPhoneInvalid] = _react.useState.call(void 0, false);
|
|
26207
26209
|
const [showConsentError, setShowConsentError] = _react.useState.call(void 0, false);
|
|
26208
26210
|
const rescue = _chunkSSSI2RBVcjs.useFormRescue.call(void 0, {
|
|
@@ -26217,7 +26219,7 @@ function WaitlistForm({
|
|
|
26217
26219
|
_react.useEffect.call(void 0, () => {
|
|
26218
26220
|
rescue.track({ email, phone }, null);
|
|
26219
26221
|
}, [email, phone, rescue]);
|
|
26220
|
-
const isMailDomainGeneric =
|
|
26222
|
+
const isMailDomainGeneric = _chunkBZZE4KIVcjs.hasGenericEmailDomain.call(void 0, email);
|
|
26221
26223
|
const [syncedDefaultEmail, setSyncedDefaultEmail] = _react.useState.call(void 0, defaultEmail);
|
|
26222
26224
|
if (syncedDefaultEmail !== defaultEmail) {
|
|
26223
26225
|
setSyncedDefaultEmail(defaultEmail);
|
|
@@ -26251,7 +26253,7 @@ function WaitlistForm({
|
|
|
26251
26253
|
setShowConsentError(true);
|
|
26252
26254
|
return;
|
|
26253
26255
|
}
|
|
26254
|
-
const finalPhone = phone ?
|
|
26256
|
+
const finalPhone = phone ? _chunkBZZE4KIVcjs.formatPhoneE164.call(void 0, phone, countryCode) : void 0;
|
|
26255
26257
|
try {
|
|
26256
26258
|
await onRegister(email, finalPhone, getSignals(), rescue.submitFields());
|
|
26257
26259
|
rescue.complete();
|
|
@@ -26838,7 +26840,7 @@ var AppLayoutDrawerContent = _react.forwardRef.call(void 0,
|
|
|
26838
26840
|
}, [mobileBreakpoint]);
|
|
26839
26841
|
const panelRef = _react.useRef.call(void 0, null);
|
|
26840
26842
|
const available = useContainerExtent(resizable, isHorizontal, portalContainer);
|
|
26841
|
-
const { size, setSize, clampSize } =
|
|
26843
|
+
const { size, setSize, clampSize } = _chunkDGQDGCQHcjs.useResizablePanelSize.call(void 0, {
|
|
26842
26844
|
enabled: resizable,
|
|
26843
26845
|
minSize,
|
|
26844
26846
|
maxSize,
|
|
@@ -26858,7 +26860,7 @@ var AppLayoutDrawerContent = _react.forwardRef.call(void 0,
|
|
|
26858
26860
|
"data-state": open ? "open" : "closed",
|
|
26859
26861
|
className: _chunk63A4GZMBcjs.cn.call(void 0,
|
|
26860
26862
|
"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",
|
|
26861
|
-
|
|
26863
|
+
_chunkDGQDGCQHcjs.OVERLAY_BACKDROP_CLASS,
|
|
26862
26864
|
// Persist mode only: hold the fade-out's final (transparent) frame
|
|
26863
26865
|
// so the backdrop doesn't snap back to opacity 1 and dim the whole
|
|
26864
26866
|
// content area while the drawer is "closed" (see PERSIST_CLOSED_HOLD).
|
|
@@ -26901,7 +26903,7 @@ var AppLayoutDrawerContent = _react.forwardRef.call(void 0,
|
|
|
26901
26903
|
children: [
|
|
26902
26904
|
props["aria-label"] ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DialogPrimitive3.Title, { className: "sr-only", children: props["aria-label"] }) : null,
|
|
26903
26905
|
applyInlineSize && (!persist || open) ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26904
|
-
|
|
26906
|
+
_chunkSIFRIUPWcjs.PanelResizeHandle,
|
|
26905
26907
|
{
|
|
26906
26908
|
variant: "inLayout",
|
|
26907
26909
|
side: resolvedSide,
|
|
@@ -26940,11 +26942,11 @@ var AppLayoutDrawerContent = _react.forwardRef.call(void 0,
|
|
|
26940
26942
|
}
|
|
26941
26943
|
);
|
|
26942
26944
|
AppLayoutDrawerContent.displayName = "AppLayoutDrawerContent";
|
|
26943
|
-
var AppLayoutDrawerHeader =
|
|
26944
|
-
var AppLayoutDrawerTitle =
|
|
26945
|
-
var AppLayoutDrawerDescription =
|
|
26946
|
-
var AppLayoutDrawerBody =
|
|
26947
|
-
var AppLayoutDrawerFooter =
|
|
26945
|
+
var AppLayoutDrawerHeader = _chunkDGQDGCQHcjs.DrawerHeader;
|
|
26946
|
+
var AppLayoutDrawerTitle = _chunkDGQDGCQHcjs.DrawerTitle;
|
|
26947
|
+
var AppLayoutDrawerDescription = _chunkDGQDGCQHcjs.DrawerDescription;
|
|
26948
|
+
var AppLayoutDrawerBody = _chunkDGQDGCQHcjs.DrawerBody;
|
|
26949
|
+
var AppLayoutDrawerFooter = _chunkDGQDGCQHcjs.DrawerFooter;
|
|
26948
26950
|
|
|
26949
26951
|
// src/components/features/notifications/notification-tile.tsx
|
|
26950
26952
|
|
|
@@ -27235,7 +27237,7 @@ function NotificationDrawer({
|
|
|
27235
27237
|
const unreadNotifications = notifications.filter((n) => !n.read);
|
|
27236
27238
|
const content = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
27237
27239
|
/* @__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,
|
|
27238
|
-
|
|
27240
|
+
_chunkDGQDGCQHcjs.DrawerTitle,
|
|
27239
27241
|
{
|
|
27240
27242
|
hideClose: !showClose,
|
|
27241
27243
|
className: "truncate",
|
|
@@ -27298,8 +27300,8 @@ function NotificationDrawer({
|
|
|
27298
27300
|
}
|
|
27299
27301
|
) });
|
|
27300
27302
|
}
|
|
27301
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
27302
|
-
|
|
27303
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDGQDGCQHcjs.Drawer, { open: isOpen, onOpenChange: (v) => v ? open() : close(), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
27304
|
+
_chunkDGQDGCQHcjs.DrawerContent,
|
|
27303
27305
|
{
|
|
27304
27306
|
side: "right",
|
|
27305
27307
|
"aria-describedby": void 0,
|
|
@@ -28278,7 +28280,7 @@ function TimeTrackerHeaderButton({
|
|
|
28278
28280
|
"data-state": isOpen ? "open" : "closed",
|
|
28279
28281
|
className: _chunk63A4GZMBcjs.cn.call(void 0,
|
|
28280
28282
|
layoutContainer ? "absolute inset-0 z-[102]" : "fixed inset-0 z-[1299]",
|
|
28281
|
-
|
|
28283
|
+
_chunkDGQDGCQHcjs.OVERLAY_BACKDROP_CLASS,
|
|
28282
28284
|
"data-[state=open]:animate-in data-[state=open]:fade-in-0",
|
|
28283
28285
|
"data-[state=closed]:animate-out data-[state=closed]:fade-out-0"
|
|
28284
28286
|
)
|
|
@@ -28454,7 +28456,7 @@ function getDeviceStatusConfig(status) {
|
|
|
28454
28456
|
}
|
|
28455
28457
|
}
|
|
28456
28458
|
function getDeviceOperatingSystem(osType) {
|
|
28457
|
-
return
|
|
28459
|
+
return _chunkBZZE4KIVcjs.getOSPlatformId.call(void 0, osType);
|
|
28458
28460
|
}
|
|
28459
28461
|
|
|
28460
28462
|
// src/components/features/devices/device-statuses.ts
|
|
@@ -30074,7 +30076,7 @@ function DevicesPanelView({
|
|
|
30074
30076
|
actionsVariant: "icon-buttons",
|
|
30075
30077
|
className,
|
|
30076
30078
|
selector: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30077
|
-
|
|
30079
|
+
_chunkSIFRIUPWcjs.TabSelector,
|
|
30078
30080
|
{
|
|
30079
30081
|
value: viewMode,
|
|
30080
30082
|
onValueChange: (value) => _optionalChain([onViewModeChange, 'optionalCall', _657 => _657(value)]),
|
|
@@ -30806,11 +30808,11 @@ var ToolBadge = ({
|
|
|
30806
30808
|
iconClassName
|
|
30807
30809
|
}) => {
|
|
30808
30810
|
const loading = _chunk63A4GZMBcjs.useLoadingScope.call(void 0, );
|
|
30809
|
-
const text = _nullishCoalesce(label, () => ( (toolType ?
|
|
30811
|
+
const text = _nullishCoalesce(label, () => ( (toolType ? _chunkBZZE4KIVcjs.getToolLabel.call(void 0, toolType) : "")));
|
|
30810
30812
|
const mark = _nullishCoalesce(icon, () => ( (toolType ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBUEEQD3Gcjs.ToolIcon, { toolType, className: iconClassName, size: 16 }) : null)));
|
|
30811
30813
|
if (loading) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ToolBadgeSkeleton, { variant, icon: !!mark, className });
|
|
30812
30814
|
const linked = (node, linkClassName) => href && targetPlatform ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30813
|
-
|
|
30815
|
+
_chunkSIFRIUPWcjs.NavLinkAnchorViaRuntime,
|
|
30814
30816
|
{
|
|
30815
30817
|
href,
|
|
30816
30818
|
targetPlatform,
|
|
@@ -30960,7 +30962,7 @@ function LogsTableView({
|
|
|
30960
30962
|
cell: ({ row }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30961
30963
|
ToolBadge,
|
|
30962
30964
|
{
|
|
30963
|
-
toolType:
|
|
30965
|
+
toolType: _chunkBZZE4KIVcjs.normalizeToolTypeWithFallback.call(void 0, row.original.source.toolType),
|
|
30964
30966
|
iconClassName: "h-4 w-4 content-md:h-6 content-md:w-6"
|
|
30965
30967
|
}
|
|
30966
30968
|
),
|
|
@@ -30972,7 +30974,7 @@ function LogsTableView({
|
|
|
30972
30974
|
filter: {
|
|
30973
30975
|
options: _nullishCoalesce(_optionalChain([facets, 'optionalAccess', _665 => _665.toolTypes, 'access', _666 => _666.map, 'call', _667 => _667((toolType) => ({
|
|
30974
30976
|
id: toolType,
|
|
30975
|
-
label:
|
|
30977
|
+
label: _chunkBZZE4KIVcjs.toToolLabel.call(void 0, toolType),
|
|
30976
30978
|
value: toolType
|
|
30977
30979
|
}))]), () => ( []))
|
|
30978
30980
|
}
|
|
@@ -31021,7 +31023,7 @@ function LogsTableView({
|
|
|
31021
31023
|
cell: ({ row }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31022
31024
|
LogRowButton,
|
|
31023
31025
|
{
|
|
31024
|
-
onClick: getLogHref ?
|
|
31026
|
+
onClick: getLogHref ? _chunkBZZE4KIVcjs.openInNewTab.call(void 0, getLogHref(row.original)) : void 0,
|
|
31025
31027
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkANTDIQKKcjs.ArrowRightUpIcon, { className: "h-5 w-5" }),
|
|
31026
31028
|
label: "Open in new tab"
|
|
31027
31029
|
}
|
|
@@ -31343,7 +31345,7 @@ function OpenInNewTabCell({ href }) {
|
|
|
31343
31345
|
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,
|
|
31344
31346
|
_chunkFCZAUK4Dcjs.Button,
|
|
31345
31347
|
{
|
|
31346
|
-
onClick: loading ? void 0 :
|
|
31348
|
+
onClick: loading ? void 0 : _chunkBZZE4KIVcjs.openInNewTab.call(void 0, href),
|
|
31347
31349
|
disabled: loading,
|
|
31348
31350
|
variant: "outline",
|
|
31349
31351
|
size: "icon",
|
|
@@ -31532,9 +31534,9 @@ function ScriptSchedulesTable({
|
|
|
31532
31534
|
|
|
31533
31535
|
// src/components/features/scripts/shell-types.ts
|
|
31534
31536
|
var SCRIPT_SHELL_TYPES = [
|
|
31535
|
-
{ id:
|
|
31536
|
-
{ id:
|
|
31537
|
-
{ id:
|
|
31537
|
+
{ id: _chunkBZZE4KIVcjs.ShellTypeValues.POWERSHELL, label: "PowerShell", value: "powershell", icon: _chunkMCQY746Mcjs.PowershellLogoGreyIcon },
|
|
31538
|
+
{ id: _chunkBZZE4KIVcjs.ShellTypeValues.CMD, label: "CMD", value: "cmd", icon: _chunkNIVJEJSGcjs.TerminalSquareIcon },
|
|
31539
|
+
{ id: _chunkBZZE4KIVcjs.ShellTypeValues.BASH, label: "Bash", value: "bash", icon: _chunkTRUW6DDAcjs.TerminalIcon }
|
|
31538
31540
|
];
|
|
31539
31541
|
function scriptShellType(value) {
|
|
31540
31542
|
return SCRIPT_SHELL_TYPES.find((shell) => shell.value === value);
|
|
@@ -33010,7 +33012,7 @@ function ScheduleFormFields({
|
|
|
33010
33012
|
disabled = false,
|
|
33011
33013
|
renderScriptSearch,
|
|
33012
33014
|
timeReferenceGate = "off",
|
|
33013
|
-
platforms =
|
|
33015
|
+
platforms = _chunkBZZE4KIVcjs.OS_PLATFORMS,
|
|
33014
33016
|
comingSoonPlatforms = [],
|
|
33015
33017
|
getTimeSlots,
|
|
33016
33018
|
nameLayout = "stacked",
|
|
@@ -33156,7 +33158,7 @@ function ScheduleFormFields({
|
|
|
33156
33158
|
// src/components/features/scripts/schedule-form/schedule-script-search-field.tsx
|
|
33157
33159
|
|
|
33158
33160
|
function ScriptPlatformIcons({ platforms }) {
|
|
33159
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "inline-flex shrink-0 items-center gap-0.5", children:
|
|
33161
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "inline-flex shrink-0 items-center gap-0.5", children: _chunkBZZE4KIVcjs.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)) });
|
|
33160
33162
|
}
|
|
33161
33163
|
function ScheduleScriptSearchField({
|
|
33162
33164
|
scriptId,
|
|
@@ -33229,7 +33231,7 @@ function KnowledgeBaseOpenButton({ href }) {
|
|
|
33229
33231
|
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,
|
|
33230
33232
|
_chunkFCZAUK4Dcjs.Button,
|
|
33231
33233
|
{
|
|
33232
|
-
onClick: loading ? void 0 :
|
|
33234
|
+
onClick: loading ? void 0 : _chunkBZZE4KIVcjs.openInNewTab.call(void 0, href),
|
|
33233
33235
|
disabled: loading,
|
|
33234
33236
|
variant: "outline",
|
|
33235
33237
|
size: "icon",
|
|
@@ -33383,7 +33385,7 @@ function KnowledgeBaseArticleView({
|
|
|
33383
33385
|
className,
|
|
33384
33386
|
children: [
|
|
33385
33387
|
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, _chunkNFNSPLGCcjs.Tag, { label: tag.label, variant: "outline", className: "max-w-full" }, tag.id)) }),
|
|
33386
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33388
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBIOSHDXQcjs.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: [
|
|
33387
33389
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-20 min-w-0 items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
33388
33390
|
author.deleted ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk744JXTDPcjs.DeletedUserAvatar, { size: "md" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33389
33391
|
_chunkNFNSPLGCcjs.SquareAvatar,
|
|
@@ -33580,7 +33582,7 @@ function ConversationCard({
|
|
|
33580
33582
|
style: tint,
|
|
33581
33583
|
onClick: selection && ((event) => {
|
|
33582
33584
|
if (event.button !== 0 || _optionalChain([window, 'access', _731 => _731.getSelection, 'call', _732 => _732(), 'optionalAccess', _733 => _733.toString, 'call', _734 => _734()])) return;
|
|
33583
|
-
if (!
|
|
33585
|
+
if (!_chunkBZZE4KIVcjs.isOwnClick.call(void 0, event.target, event.currentTarget, { controls: true })) return;
|
|
33584
33586
|
selection.onToggle();
|
|
33585
33587
|
}),
|
|
33586
33588
|
children: [
|
|
@@ -33603,7 +33605,7 @@ function ConversationCard({
|
|
|
33603
33605
|
)
|
|
33604
33606
|
),
|
|
33605
33607
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33606
|
-
|
|
33608
|
+
_chunkBZZE4KIVcjs.ChatTurn,
|
|
33607
33609
|
{
|
|
33608
33610
|
avatar: requester.avatar,
|
|
33609
33611
|
name: requester.name,
|
|
@@ -33624,7 +33626,7 @@ function ConversationCard({
|
|
|
33624
33626
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: CONTEXT_TEXT_CLASS, style: partLinesStyle(_optionalChain([lines, 'optionalAccess', _735 => _735.context])), children: context.text })
|
|
33625
33627
|
] }),
|
|
33626
33628
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33627
|
-
|
|
33629
|
+
_chunkBZZE4KIVcjs.ChatTurn,
|
|
33628
33630
|
{
|
|
33629
33631
|
avatar: responder.avatar,
|
|
33630
33632
|
name: responder.name,
|
|
@@ -33669,7 +33671,7 @@ function ConversationCardSkeleton({
|
|
|
33669
33671
|
{
|
|
33670
33672
|
selection: selection && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk63A4GZMBcjs.InertWhileLoading, { className: "contents", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SelectionToggle, { pressed: selection.pressed }) }),
|
|
33671
33673
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33672
|
-
|
|
33674
|
+
_chunkBZZE4KIVcjs.ChatTurn,
|
|
33673
33675
|
{
|
|
33674
33676
|
loading: true,
|
|
33675
33677
|
name: "",
|
|
@@ -33693,7 +33695,7 @@ function ConversationCardSkeleton({
|
|
|
33693
33695
|
] })
|
|
33694
33696
|
] }),
|
|
33695
33697
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33696
|
-
|
|
33698
|
+
_chunkBZZE4KIVcjs.ChatTurn,
|
|
33697
33699
|
{
|
|
33698
33700
|
loading: true,
|
|
33699
33701
|
name: "",
|
|
@@ -33955,7 +33957,7 @@ function CapabilityExplorer({
|
|
|
33955
33957
|
readItems: true,
|
|
33956
33958
|
renderItem: (item) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "article", { className: _chunk63A4GZMBcjs.cn.call(void 0, CARD_CLASS2, CARD_HEIGHT_CLASS), children: [
|
|
33957
33959
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: CARD_HEAD_ROW_CLASS, children: [
|
|
33958
|
-
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,
|
|
33960
|
+
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, _chunkBIOSHDXQcjs.EntityIcon, { icon: { name: item.iconName }, size: 18 }) }),
|
|
33959
33961
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "min-w-0 flex-1", children: [
|
|
33960
33962
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "h3", { className: "flex min-w-0 items-center gap-2 text-ods-text-primary text-h4", children: [
|
|
33961
33963
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWCK5T3UDcjs.TruncateText, { as: "span", variant: "h4", triggerClassName: "flex-1", children: item.title }),
|
|
@@ -34035,7 +34037,7 @@ function CapabilityExplorer({
|
|
|
34035
34037
|
"span",
|
|
34036
34038
|
{
|
|
34037
34039
|
className: _chunk63A4GZMBcjs.cn.call(void 0, JOB_ICON_TILE_CLASS, selected ? "text-ods-flamingo-cyan" : "text-ods-text-secondary"),
|
|
34038
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
34040
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBIOSHDXQcjs.EntityIcon, { icon: { name: item.iconName }, size: 18 })
|
|
34039
34041
|
}
|
|
34040
34042
|
),
|
|
34041
34043
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "min-w-0 flex-1", children: [
|