@flamingo-stack/openframe-frontend-core 0.0.752 → 0.0.753
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/build/export-map.json +1 -1
- package/dist/{chunk-OXEAN3EQ.cjs → chunk-35BJY5RR.cjs} +44 -44
- package/dist/{chunk-ZYRRRKSZ.cjs → chunk-5E6JHOGX.cjs} +3 -3
- package/dist/{chunk-35RU25PJ.cjs → chunk-7Z4EQOIX.cjs} +44 -44
- package/dist/{chunk-4PEG4JTM.cjs → chunk-B27XV2TC.cjs} +6 -6
- package/dist/{chunk-WQCLN27R.cjs → chunk-C6JHDRK3.cjs} +4 -4
- package/dist/{chunk-KBJSZFBZ.cjs → chunk-ITQZK3UT.cjs} +3 -3
- package/dist/{chunk-JI6NRWCC.cjs → chunk-J3E5UN2O.cjs} +13 -13
- package/dist/{chunk-7WEGXNNS.cjs → chunk-JLAYELWS.cjs} +30 -30
- package/dist/{chunk-EUQJ7QHW.cjs → chunk-QXQHCX2R.cjs} +4 -4
- package/dist/{chunk-IPVJAML5.cjs → chunk-R45NJ5ZA.cjs} +69 -69
- package/dist/{chunk-P4ODFQGA.cjs → chunk-RGYLC3US.cjs} +4 -4
- package/dist/{chunk-EM4OEWCM.cjs → chunk-SDF5UUTE.cjs} +749 -608
- package/dist/{chunk-7OEVVMAU.cjs → chunk-T4BBZ5ST.cjs} +2 -2
- package/dist/{chunk-U2AE4UG7.cjs → chunk-UNRNLSG4.cjs} +2 -2
- package/dist/{chunk-4OTCQEP3.cjs → chunk-UVTJT5BK.cjs} +11 -11
- package/dist/{chunk-Y6PVZRYL.cjs → chunk-W77VPNBJ.cjs} +12 -12
- package/dist/{chunk-ZVOXBSDP.cjs → chunk-WBOHLXFC.cjs} +2 -2
- package/dist/{chunk-OXCGQV6B.cjs → chunk-WIT36ZTN.cjs} +65 -65
- package/dist/{chunk-J5G4CF2V.cjs → chunk-XSOGT6DF.cjs} +16 -16
- package/dist/{chunk-VD3XBUQR.cjs → chunk-XW6WSW36.cjs} +158 -158
- package/dist/{chunk-KUVYVAS2.cjs → chunk-Y7AZCDLZ.cjs} +16 -16
- package/dist/{chunk-XADJG35G.cjs → chunk-Z6TUOE6L.cjs} +31 -31
- package/dist/{chunk-G44V3UGE.cjs → chunk-ZGADZHLD.cjs} +81 -81
- package/dist/{chunk-RDH63XXW.cjs → chunk-ZJ77IOMY.cjs} +34 -34
- package/dist/{cloud-tenants-WAOMZZQ2.cjs → cloud-tenants-7LTS4DAP.cjs} +7 -7
- package/dist/components/case-studies/index.cjs +20 -20
- package/dist/components/chat/chat-dialog-menu-items.js +6 -6
- package/dist/components/chat/chat-message-enhanced.d.ts.map +1 -1
- package/dist/components/chat/chat-message-enhanced.js +3 -0
- package/dist/components/chat/chat-panel-context.d.ts +3 -0
- package/dist/components/chat/chat-panel-context.d.ts.map +1 -1
- package/dist/components/chat/embeddable-chat.d.ts +20 -0
- package/dist/components/chat/embeddable-chat.d.ts.map +1 -1
- package/dist/components/chat/embeddable-chat.js +78 -8
- package/dist/components/chat/hooks/index.d.ts +1 -0
- package/dist/components/chat/hooks/index.d.ts.map +1 -1
- package/dist/components/chat/hooks/index.js +1 -0
- package/dist/components/chat/hooks/use-what-to-ask.d.ts +69 -0
- package/dist/components/chat/hooks/use-what-to-ask.d.ts.map +1 -0
- package/dist/components/chat/hooks/use-what-to-ask.js +106 -0
- package/dist/components/chat/index.cjs +13 -5
- package/dist/components/chat/index.d.ts +1 -0
- package/dist/components/chat/index.d.ts.map +1 -1
- package/dist/components/chat/index.js +1 -0
- package/dist/components/chat/mingo-chat-header.d.ts +4 -2
- package/dist/components/chat/mingo-chat-header.d.ts.map +1 -1
- package/dist/components/chat/mingo-chat-header.js +7 -2
- package/dist/components/chat/suggestions-display.d.ts +11 -0
- package/dist/components/chat/suggestions-display.d.ts.map +1 -0
- package/dist/components/chat/suggestions-display.js +27 -0
- package/dist/components/chat/types/message.types.d.ts +27 -1
- package/dist/components/chat/types/message.types.d.ts.map +1 -1
- package/dist/components/chat/utils/extract-incomplete-message-state.d.ts.map +1 -1
- package/dist/components/chat/utils/extract-incomplete-message-state.js +2 -0
- package/dist/components/chat/utils/message-segment-accumulator.d.ts.map +1 -1
- package/dist/components/chat/utils/message-segment-accumulator.js +3 -0
- package/dist/components/contact/index.cjs +8 -8
- package/dist/components/docs/index.cjs +11 -11
- package/dist/components/embeds/index.cjs +8 -8
- package/dist/components/faq/index.cjs +9 -9
- package/dist/components/features/index.cjs +7 -7
- package/dist/components/help-center-pages/index.cjs +84 -84
- package/dist/components/index.cjs +64 -56
- package/dist/components/meeting-scheduler/index.cjs +31 -31
- package/dist/components/navigation/index.cjs +10 -10
- package/dist/components/onboarding-guides/index.cjs +10 -10
- package/dist/components/product-demo/index.cjs +7 -7
- package/dist/components/related-content/index.cjs +5 -5
- package/dist/components/tickets/index.cjs +13 -13
- package/dist/components/ui/index.cjs +15 -7
- package/dist/{devices-VFEPXW2N.cjs → devices-CGDJAYRB.cjs} +8 -8
- package/dist/{embeddable-chat-BYQBABDV.cjs → embeddable-chat-CMEHSDV7.cjs} +163 -91
- package/dist/index.cjs +19 -11
- package/dist/{knowledge-4TE7AWZX.cjs → knowledge-X5I4QJKV.cjs} +8 -8
- package/dist/{logs-3B2P3JXN.cjs → logs-GDGIRJFI.cjs} +15 -15
- package/dist/{policies-DVI6V22X.cjs → policies-2UOCENDX.cjs} +11 -11
- package/dist/{scripts-JJ2BVYQ5.cjs → scripts-AS4GEG6L.cjs} +12 -12
- package/dist/{software-update-BN23RATE.cjs → software-update-ADPUFMFY.cjs} +10 -10
- package/package.json +1 -1
- package/src/components/chat/chat-dialog-menu-items.tsx +6 -6
- package/src/components/chat/chat-message-enhanced.tsx +3 -0
- package/src/components/chat/chat-panel-context.tsx +3 -0
- package/src/components/chat/embeddable-chat.tsx +132 -9
- package/src/components/chat/hooks/index.ts +1 -0
- package/src/components/chat/hooks/use-what-to-ask.ts +203 -0
- package/src/components/chat/index.ts +1 -0
- package/src/components/chat/mingo-chat-header.tsx +11 -4
- package/src/components/chat/suggestions-display.tsx +41 -0
- package/src/components/chat/types/message.types.ts +31 -1
- package/src/components/chat/utils/extract-incomplete-message-state.ts +2 -0
- package/src/components/chat/utils/message-segment-accumulator.ts +4 -0
|
@@ -62,7 +62,7 @@ var _chunkLU7TD6QScjs = require('./chunk-LU7TD6QS.cjs');
|
|
|
62
62
|
var _chunkA6P6DHEZcjs = require('./chunk-A6P6DHEZ.cjs');
|
|
63
63
|
|
|
64
64
|
|
|
65
|
-
var
|
|
65
|
+
var _chunkT4BBZ5STcjs = require('./chunk-T4BBZ5ST.cjs');
|
|
66
66
|
|
|
67
67
|
|
|
68
68
|
|
|
@@ -109,7 +109,7 @@ var _chunkYUMFVQINcjs = require('./chunk-YUMFVQIN.cjs');
|
|
|
109
109
|
|
|
110
110
|
|
|
111
111
|
|
|
112
|
-
var
|
|
112
|
+
var _chunkWIT36ZTNcjs = require('./chunk-WIT36ZTN.cjs');
|
|
113
113
|
|
|
114
114
|
|
|
115
115
|
|
|
@@ -131,7 +131,7 @@ var _chunkOXCGQV6Bcjs = require('./chunk-OXCGQV6B.cjs');
|
|
|
131
131
|
|
|
132
132
|
|
|
133
133
|
|
|
134
|
-
var
|
|
134
|
+
var _chunkSDF5UUTEcjs = require('./chunk-SDF5UUTE.cjs');
|
|
135
135
|
|
|
136
136
|
|
|
137
137
|
|
|
@@ -483,7 +483,7 @@ var _chunkSKI6NKOEcjs = require('./chunk-SKI6NKOE.cjs');
|
|
|
483
483
|
|
|
484
484
|
|
|
485
485
|
|
|
486
|
-
var
|
|
486
|
+
var _chunk7Z4EQOIXcjs = require('./chunk-7Z4EQOIX.cjs');
|
|
487
487
|
|
|
488
488
|
|
|
489
489
|
|
|
@@ -664,7 +664,7 @@ function ThemeProvider({ children, ...overrides }) {
|
|
|
664
664
|
var useTheme = _nextthemes.useTheme;
|
|
665
665
|
function useThemeToggle() {
|
|
666
666
|
const { resolvedTheme, theme, setTheme } = useTheme();
|
|
667
|
-
const mounted =
|
|
667
|
+
const mounted = _chunkSDF5UUTEcjs.useIsHydrated.call(void 0, );
|
|
668
668
|
const active = mounted ? resolvedTheme === "light" || theme === "light" ? "light" : "dark" : DEFAULT_THEME;
|
|
669
669
|
const setOdsTheme = _react.useCallback.call(void 0, (next) => setTheme(next), [setTheme]);
|
|
670
670
|
const toggle = _react.useCallback.call(void 0, () => setTheme(active === "dark" ? "light" : "dark"), [active, setTheme]);
|
|
@@ -4360,7 +4360,7 @@ function AdminFormDrawer({
|
|
|
4360
4360
|
"form",
|
|
4361
4361
|
{
|
|
4362
4362
|
id: formId,
|
|
4363
|
-
...
|
|
4363
|
+
..._chunkWIT36ZTNcjs.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS,
|
|
4364
4364
|
className: "flex flex-col gap-[var(--spacing-system-lf)]",
|
|
4365
4365
|
onSubmit: (e) => {
|
|
4366
4366
|
e.preventDefault();
|
|
@@ -4467,7 +4467,7 @@ function AdminFormModal({
|
|
|
4467
4467
|
"form",
|
|
4468
4468
|
{
|
|
4469
4469
|
id: formId,
|
|
4470
|
-
...
|
|
4470
|
+
..._chunkWIT36ZTNcjs.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS,
|
|
4471
4471
|
className: "flex min-h-0 flex-1 flex-col",
|
|
4472
4472
|
onSubmit: (e) => {
|
|
4473
4473
|
e.preventDefault();
|
|
@@ -5780,7 +5780,7 @@ function EmbedViewerFrame({
|
|
|
5780
5780
|
const controllerRef = _react.useRef.call(void 0, null);
|
|
5781
5781
|
_react.useEffect.call(void 0, () => {
|
|
5782
5782
|
if (!fullscreenControl) return void 0;
|
|
5783
|
-
const controller = new (0,
|
|
5783
|
+
const controller = new (0, _chunkWIT36ZTNcjs.FullscreenSwitchController)({
|
|
5784
5784
|
target: () => frameRef.current,
|
|
5785
5785
|
onFullscreenChange: setIsFullscreen
|
|
5786
5786
|
});
|
|
@@ -6782,7 +6782,7 @@ var MediaCarousel = _react.memo.call(void 0, function MediaCarouselImpl({
|
|
|
6782
6782
|
};
|
|
6783
6783
|
const displayImageSrc = (url) => transformImageSrc ? transformImageSrc(url) : url;
|
|
6784
6784
|
const renderVideo = (item, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6785
|
-
|
|
6785
|
+
_chunk7Z4EQOIXcjs.Video,
|
|
6786
6786
|
{
|
|
6787
6787
|
url: item.src,
|
|
6788
6788
|
poster: item.poster ? displayImageSrc(item.poster) : void 0,
|
|
@@ -6977,7 +6977,7 @@ var formatTimeAgo = (timestamp) => {
|
|
|
6977
6977
|
return `${Math.floor(diffSeconds / 86400)}d ago`;
|
|
6978
6978
|
};
|
|
6979
6979
|
function RedditEmbedClient({ url, maxWidth = 700, rel }) {
|
|
6980
|
-
const postLinkRel =
|
|
6980
|
+
const postLinkRel = _chunkSDF5UUTEcjs.renderedLinkRel.call(void 0, rel, true);
|
|
6981
6981
|
const { redditProxyUrl } = useRichMarkdownRuntime();
|
|
6982
6982
|
const [redditData, setRedditData] = _react.useState.call(void 0, null);
|
|
6983
6983
|
const [loading, setLoading] = _react.useState.call(void 0, true);
|
|
@@ -7309,7 +7309,7 @@ var UserIcon3 = () => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "svg", { wid
|
|
|
7309
7309
|
] });
|
|
7310
7310
|
var XIcon = () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2TEMEXDTcjs.XLogoIcon, { className: "h-5 w-5", color: "currentColor" });
|
|
7311
7311
|
function TwitterEmbedClient({ url, tweetId, maxWidth = 700, rel }) {
|
|
7312
|
-
const postLinkRel =
|
|
7312
|
+
const postLinkRel = _chunkSDF5UUTEcjs.renderedLinkRel.call(void 0, rel, true);
|
|
7313
7313
|
const { twitterProxyUrl } = useRichMarkdownRuntime();
|
|
7314
7314
|
const [tweetData, setTweetData] = _react.useState.call(void 0, null);
|
|
7315
7315
|
const [fetchLoading, setLoading] = _react.useState.call(void 0, true);
|
|
@@ -7511,7 +7511,7 @@ function buildRichEmbedOverrides({
|
|
|
7511
7511
|
ogEndpointPath,
|
|
7512
7512
|
textSizes
|
|
7513
7513
|
}) {
|
|
7514
|
-
const standard =
|
|
7514
|
+
const standard = _chunkSDF5UUTEcjs.buildStandardLeafRenderers.call(void 0, { textSizes });
|
|
7515
7515
|
return {
|
|
7516
7516
|
// Fence-language embeds (```youtube-embed etc.); everything else
|
|
7517
7517
|
// (mermaid, highlighted blocks, inline code) falls through to `standard`.
|
|
@@ -7521,7 +7521,7 @@ function buildRichEmbedOverrides({
|
|
|
7521
7521
|
const language = match ? match[1] : "";
|
|
7522
7522
|
const fenceText = () => String(children).replace(/\n$/, "").trim();
|
|
7523
7523
|
if (language === "youtube-embed") {
|
|
7524
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7524
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7Z4EQOIXcjs.Video, { kind: "youtube", url: fenceText() });
|
|
7525
7525
|
}
|
|
7526
7526
|
if (language === "reddit-embed") {
|
|
7527
7527
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, RedditEmbedClient, { url: fenceText() });
|
|
@@ -7562,7 +7562,7 @@ function buildRichEmbedOverrides({
|
|
|
7562
7562
|
"data-figma-url": figmaUrl
|
|
7563
7563
|
} = divProps;
|
|
7564
7564
|
if (className === "youtube-embed" && videoId) {
|
|
7565
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7565
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7Z4EQOIXcjs.Video, { kind: "youtube", url: videoId });
|
|
7566
7566
|
}
|
|
7567
7567
|
if (className === "reddit-embed" && postUrl) {
|
|
7568
7568
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, RedditEmbedClient, { url: postUrl });
|
|
@@ -7647,14 +7647,14 @@ function buildRichEmbedOverrides({
|
|
|
7647
7647
|
// rich-markdown runtime (Supabase optimization on the hub, identity
|
|
7648
7648
|
// elsewhere). Guard against empty `![]()`.
|
|
7649
7649
|
img: ({ src, alt }) => {
|
|
7650
|
-
if (!
|
|
7650
|
+
if (!_chunkSDF5UUTEcjs.hasRenderableSrc.call(void 0, src)) return null;
|
|
7651
7651
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MarkdownImage, { src: src.trim(), alt });
|
|
7652
7652
|
},
|
|
7653
7653
|
// Raw <video> tags in stored content (blog publisher injection) route
|
|
7654
7654
|
// to the <Video> SSOT (MuxPlayer) so HLS manifests play everywhere.
|
|
7655
7655
|
video: ({ src, poster, className }) => {
|
|
7656
|
-
if (!
|
|
7657
|
-
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,
|
|
7656
|
+
if (!_chunkSDF5UUTEcjs.hasRenderableSrc.call(void 0, src)) return null;
|
|
7657
|
+
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, _chunk7Z4EQOIXcjs.Video, { kind: "file", url: src.trim(), poster: typeof poster === "string" ? poster : void 0 }) }) });
|
|
7658
7658
|
}
|
|
7659
7659
|
};
|
|
7660
7660
|
}
|
|
@@ -7762,7 +7762,7 @@ var processShortcodes = (content) => {
|
|
|
7762
7762
|
try {
|
|
7763
7763
|
const urlObj = new URL(url);
|
|
7764
7764
|
const hostname = urlObj.hostname.toLowerCase();
|
|
7765
|
-
const hostIs = (domain) =>
|
|
7765
|
+
const hostIs = (domain) => _chunkWIT36ZTNcjs.hostMatches.call(void 0, hostname, domain);
|
|
7766
7766
|
const isYouTubeVideo = hostIs("youtube.com") && urlObj.searchParams.has("v") || hostIs("youtu.be");
|
|
7767
7767
|
if (isYouTubeVideo || hostIs("reddit.com") || hostIs("twitter.com") || hostIs("x.com") || hostIs("figma.com")) {
|
|
7768
7768
|
return match;
|
|
@@ -7837,13 +7837,13 @@ var RichMarkdownInner = ({
|
|
|
7837
7837
|
},
|
|
7838
7838
|
[resolveLinkEndpointUrl, resolveSource]
|
|
7839
7839
|
);
|
|
7840
|
-
const textSizes = _react.useMemo.call(void 0, () =>
|
|
7840
|
+
const textSizes = _react.useMemo.call(void 0, () => _chunkSDF5UUTEcjs.resolveTextSizeConfig.call(void 0, "article"), []);
|
|
7841
7841
|
const componentOverrides = _react.useMemo.call(void 0,
|
|
7842
7842
|
() => buildRichEmbedOverrides({ ogApiBaseUrl, ogEndpointPath, textSizes }),
|
|
7843
7843
|
[ogApiBaseUrl, ogEndpointPath, textSizes]
|
|
7844
7844
|
);
|
|
7845
7845
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7846
|
-
|
|
7846
|
+
_chunkSDF5UUTEcjs.MarkdownEngine,
|
|
7847
7847
|
{
|
|
7848
7848
|
content,
|
|
7849
7849
|
className,
|
|
@@ -7865,7 +7865,7 @@ var RichMarkdownRendererImpl = ({
|
|
|
7865
7865
|
className = "",
|
|
7866
7866
|
sectionIds,
|
|
7867
7867
|
onInternalLinkClick,
|
|
7868
|
-
brokenLinks =
|
|
7868
|
+
brokenLinks = _chunkSDF5UUTEcjs.NO_BROKEN_LINKS,
|
|
7869
7869
|
currentPath,
|
|
7870
7870
|
resolveSource = "openframe-docs",
|
|
7871
7871
|
resolveLinkEndpointUrl = "/api/docs/resolve-link",
|
|
@@ -8833,7 +8833,7 @@ function FilterModal({
|
|
|
8833
8833
|
const dateDefaultSort = _nullishCoalesce(_optionalChain([dateFilter, 'optionalAccess', _147 => _147.defaultSort]), () => ( "desc"));
|
|
8834
8834
|
const [draftDateSort, setDraftDateSort] = _react.useState.call(void 0, _nullishCoalesce(_optionalChain([dateFilter, 'optionalAccess', _148 => _148.sort]), () => ( dateDefaultSort)));
|
|
8835
8835
|
const [draftDateRange, setDraftDateRange] = _react.useState.call(void 0, _optionalChain([dateFilter, 'optionalAccess', _149 => _149.range]));
|
|
8836
|
-
const { scrollRef, fadeTop, fadeBottom, update: updateFade } =
|
|
8836
|
+
const { scrollRef, fadeTop, fadeBottom, update: updateFade } = _chunkSDF5UUTEcjs.useScrollFade.call(void 0, );
|
|
8837
8837
|
const seedKey = `${JSON.stringify(currentFilters)}|${JSON.stringify(_nullishCoalesce(selectedTags, () => ( [])))}`;
|
|
8838
8838
|
const seedSourceRef = _react.useRef.call(void 0, { currentFilters, selectedTags, dateFilter, dateDefaultSort });
|
|
8839
8839
|
_react.useEffect.call(void 0, () => {
|
|
@@ -8979,8 +8979,8 @@ function FilterModal({
|
|
|
8979
8979
|
] })
|
|
8980
8980
|
}
|
|
8981
8981
|
),
|
|
8982
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8983
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8982
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSDF5UUTEcjs.ScrollFadeOverlay, { edge: "top", visible: fadeTop }),
|
|
8983
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSDF5UUTEcjs.ScrollFadeOverlay, { edge: "bottom", visible: fadeBottom })
|
|
8984
8984
|
] })
|
|
8985
8985
|
}
|
|
8986
8986
|
),
|
|
@@ -9076,7 +9076,7 @@ function renderAdvancedPageContainer({
|
|
|
9076
9076
|
className: "hidden content-md:inline-flex"
|
|
9077
9077
|
}
|
|
9078
9078
|
),
|
|
9079
|
-
title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOF336YWGcjs.PageTitle, { className: "text-ods-text-primary text-h2", children:
|
|
9079
|
+
title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOF336YWGcjs.PageTitle, { className: "text-ods-text-primary text-h2", children: _chunk7Z4EQOIXcjs.accentSentenceMarks.call(void 0, title) }),
|
|
9080
9080
|
subtitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "text-ods-text-secondary text-h6", children: subtitle })
|
|
9081
9081
|
] }),
|
|
9082
9082
|
(headerActions || actions) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex shrink-0 items-center gap-2", children: [
|
|
@@ -9096,7 +9096,7 @@ function renderAdvancedPageContainer({
|
|
|
9096
9096
|
className: "hidden content-md:inline-flex"
|
|
9097
9097
|
}
|
|
9098
9098
|
),
|
|
9099
|
-
title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOF336YWGcjs.PageTitle, { className: "text-ods-text-primary text-h2", children:
|
|
9099
|
+
title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOF336YWGcjs.PageTitle, { className: "text-ods-text-primary text-h2", children: _chunk7Z4EQOIXcjs.accentSentenceMarks.call(void 0, title) }),
|
|
9100
9100
|
subtitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "text-ods-text-secondary text-h6", children: subtitle })
|
|
9101
9101
|
] }),
|
|
9102
9102
|
(headerActions || actions) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex shrink-0 items-center gap-3", children: [
|
|
@@ -9116,7 +9116,7 @@ function renderAdvancedPageContainer({
|
|
|
9116
9116
|
className: "hidden content-md:inline-flex"
|
|
9117
9117
|
}
|
|
9118
9118
|
),
|
|
9119
|
-
title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOF336YWGcjs.PageTitle, { className: "text-ods-text-primary text-h2", children:
|
|
9119
|
+
title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOF336YWGcjs.PageTitle, { className: "text-ods-text-primary text-h2", children: _chunk7Z4EQOIXcjs.accentSentenceMarks.call(void 0, title) })
|
|
9120
9120
|
] }),
|
|
9121
9121
|
(headerActions || actions) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex shrink-0 items-center gap-4", children: [
|
|
9122
9122
|
headerActions,
|
|
@@ -9126,7 +9126,7 @@ function renderAdvancedPageContainer({
|
|
|
9126
9126
|
}
|
|
9127
9127
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center justify-between gap-4 content-md:flex-col content-md:items-start content-md:justify-start content-lg:flex-row content-lg:items-center content-lg:justify-between", children: [
|
|
9128
9128
|
(title || subtitle) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col gap-1", children: [
|
|
9129
|
-
title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOF336YWGcjs.PageTitle, { className: "text-ods-text-primary text-h2", children:
|
|
9129
|
+
title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOF336YWGcjs.PageTitle, { className: "text-ods-text-primary text-h2", children: _chunk7Z4EQOIXcjs.accentSentenceMarks.call(void 0, title) }),
|
|
9130
9130
|
subtitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "text-ods-text-secondary text-h6", children: subtitle })
|
|
9131
9131
|
] }),
|
|
9132
9132
|
(headerActions || actions) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex shrink-0 items-center gap-3", children: [
|
|
@@ -9459,7 +9459,7 @@ var BenefitCardGrid = ({ children, className = "", columns = 2 }) => {
|
|
|
9459
9459
|
|
|
9460
9460
|
|
|
9461
9461
|
function PlatformBrowseButton({ item }) {
|
|
9462
|
-
const linkProps =
|
|
9462
|
+
const linkProps = _chunkSDF5UUTEcjs.useNavLinkViaRuntime.call(void 0, { href: item.link, targetPlatform: item.targetPlatform });
|
|
9463
9463
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk2QMBXGMQcjs.Button, { variant: "outline", linkProps, rightIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ExternalLink, { className: "h-4 w-4" }), children: [
|
|
9464
9464
|
"Browse ",
|
|
9465
9465
|
item.buttonText
|
|
@@ -9926,10 +9926,10 @@ var OSTypeBadge = ({
|
|
|
9926
9926
|
if (!osType) {
|
|
9927
9927
|
return labelOnly ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk3ATAYP36cjs.cn.call(void 0, "text-ods-text-secondary", className), children: "Unknown" }) : null;
|
|
9928
9928
|
}
|
|
9929
|
-
const normalized =
|
|
9929
|
+
const normalized = _chunkWIT36ZTNcjs.normalizeOSType.call(void 0, osType);
|
|
9930
9930
|
if (!normalized && !labelOnly) return null;
|
|
9931
|
-
const label =
|
|
9932
|
-
const IconComponent =
|
|
9931
|
+
const label = _chunkWIT36ZTNcjs.getOSLabel.call(void 0, osType);
|
|
9932
|
+
const IconComponent = _chunkWIT36ZTNcjs.getOSIcon.call(void 0, osType);
|
|
9933
9933
|
if (iconOnly && IconComponent) {
|
|
9934
9934
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, IconComponent, { className: _chunk3ATAYP36cjs.cn.call(void 0, iconSize, "text-ods-text-secondary", className) });
|
|
9935
9935
|
}
|
|
@@ -10170,7 +10170,7 @@ function ComplianceLogo({
|
|
|
10170
10170
|
fallback = null,
|
|
10171
10171
|
className
|
|
10172
10172
|
}) {
|
|
10173
|
-
const standard =
|
|
10173
|
+
const standard = _chunkWIT36ZTNcjs.complianceStandardForName.call(void 0, ...names);
|
|
10174
10174
|
if (!standard) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: fallback });
|
|
10175
10175
|
const Official = standard.logo ? COMPLIANCE_LOGOS[standard.logo] : null;
|
|
10176
10176
|
return Official ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -10248,7 +10248,7 @@ function FeatureCardGrid({
|
|
|
10248
10248
|
if (allCardsHaveNoBorders) {
|
|
10249
10249
|
finalCardClassName = "bg-transparent p-0 overflow-visible border-0 shadow-none rounded-none";
|
|
10250
10250
|
}
|
|
10251
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10251
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7Z4EQOIXcjs.Card, { className: `${finalCardClassName} ${className}`, children: Array.from({ length: rows }, (_, rowIndex) => {
|
|
10252
10252
|
const startIndex = rowIndex * itemsPerRow;
|
|
10253
10253
|
const rowItems = items.slice(startIndex, startIndex + itemsPerRow);
|
|
10254
10254
|
const isLastRow = rowIndex === rows - 1;
|
|
@@ -10282,7 +10282,7 @@ function FeatureCardGrid({
|
|
|
10282
10282
|
item.icon && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start justify-between", children: [
|
|
10283
10283
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, item.icon, { size: 80, color: item.iconColor }),
|
|
10284
10284
|
item.badge && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10285
|
-
|
|
10285
|
+
_chunk7Z4EQOIXcjs.StatusBadge,
|
|
10286
10286
|
{
|
|
10287
10287
|
text: item.badge.text,
|
|
10288
10288
|
variant: item.badge.variant || "card",
|
|
@@ -10291,7 +10291,7 @@ function FeatureCardGrid({
|
|
|
10291
10291
|
)
|
|
10292
10292
|
] }),
|
|
10293
10293
|
!item.icon && item.badge && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-start justify-end", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10294
|
-
|
|
10294
|
+
_chunk7Z4EQOIXcjs.StatusBadge,
|
|
10295
10295
|
{
|
|
10296
10296
|
text: item.badge.text,
|
|
10297
10297
|
variant: item.badge.variant || "card",
|
|
@@ -11787,7 +11787,7 @@ function TableHeader({
|
|
|
11787
11787
|
onFilterChange
|
|
11788
11788
|
}
|
|
11789
11789
|
),
|
|
11790
|
-
column.hint ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11790
|
+
column.hint ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWIT36ZTNcjs.InfoHint, { label: column.label, children: column.hint }) : null
|
|
11791
11791
|
] })
|
|
11792
11792
|
) : (
|
|
11793
11793
|
/* Non-filterable column — regular label with optional sort */
|
|
@@ -11813,7 +11813,7 @@ function TableHeader({
|
|
|
11813
11813
|
hint exists, so a hint-less header keeps its DOM. */
|
|
11814
11814
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 items-start gap-[var(--spacing-system-xxs)]", children: [
|
|
11815
11815
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: TABLE_HEADER_LABEL_CLASS, children: column.label }),
|
|
11816
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11816
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWIT36ZTNcjs.InfoHint, { label: column.label, children: column.hint })
|
|
11817
11817
|
] })
|
|
11818
11818
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: TABLE_HEADER_LABEL_CLASS, children: column.label }),
|
|
11819
11819
|
getSortIcon(column)
|
|
@@ -12335,7 +12335,7 @@ function Table({
|
|
|
12335
12335
|
}
|
|
12336
12336
|
),
|
|
12337
12337
|
!infiniteScroll && pagePagination && !cursorPagination && data.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "mt-2 border-t border-ods-border pt-3", paginationClassName), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12338
|
-
|
|
12338
|
+
_chunkT4BBZ5STcjs.Pagination,
|
|
12339
12339
|
{
|
|
12340
12340
|
currentPage: pagePagination.currentPage,
|
|
12341
12341
|
totalPages: pagePagination.totalPages,
|
|
@@ -13162,7 +13162,7 @@ function HeaderCell({ header, sort, onSortChange }) {
|
|
|
13162
13162
|
// child of the cell.
|
|
13163
13163
|
_optionalChain([meta, 'optionalAccess', _235 => _235.hint]) ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start gap-[var(--spacing-system-xxs)]", children: [
|
|
13164
13164
|
filterTrigger,
|
|
13165
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13165
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWIT36ZTNcjs.InfoHint, { label: resolveHeaderLabel(header), children: meta.hint })
|
|
13166
13166
|
] }) : filterTrigger
|
|
13167
13167
|
) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
13168
13168
|
"div",
|
|
@@ -13187,7 +13187,7 @@ function HeaderCell({ header, sort, onSortChange }) {
|
|
|
13187
13187
|
// centred on the row.
|
|
13188
13188
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 items-start gap-[var(--spacing-system-xxs)]", children: [
|
|
13189
13189
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, HeaderLabel, { header }),
|
|
13190
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13190
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWIT36ZTNcjs.InfoHint, { label: resolveHeaderLabel(header), children: meta.hint })
|
|
13191
13191
|
] })
|
|
13192
13192
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, HeaderLabel, { header }),
|
|
13193
13193
|
canSort && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SortIcon, { sorted: sortDir })
|
|
@@ -13407,7 +13407,7 @@ function PhoneInput({
|
|
|
13407
13407
|
placeholder = "Phone Number (optional)",
|
|
13408
13408
|
onKeyDown
|
|
13409
13409
|
}) {
|
|
13410
|
-
const { priority, others } = _react.useMemo.call(void 0, () =>
|
|
13410
|
+
const { priority, others } = _react.useMemo.call(void 0, () => _chunkWIT36ZTNcjs.getCountryPhoneData.call(void 0, ), []);
|
|
13411
13411
|
const selectedCountry = _react.useMemo.call(void 0,
|
|
13412
13412
|
() => [...priority, ...others].find((c) => c.code === countryCode),
|
|
13413
13413
|
[countryCode, priority, others]
|
|
@@ -13422,7 +13422,7 @@ function PhoneInput({
|
|
|
13422
13422
|
_optionalChain([onValidationChange, 'optionalCall', _248 => _248(false)]);
|
|
13423
13423
|
return;
|
|
13424
13424
|
}
|
|
13425
|
-
const invalid = !
|
|
13425
|
+
const invalid = !_chunkWIT36ZTNcjs.validatePhoneNumber.call(void 0, phone, countryCode);
|
|
13426
13426
|
setIsInvalid(invalid);
|
|
13427
13427
|
_optionalChain([onValidationChange, 'optionalCall', _249 => _249(invalid)]);
|
|
13428
13428
|
},
|
|
@@ -14281,7 +14281,7 @@ function MarkdownLinkDialog({ isOpen, initial, editing, onSubmit, onRemove, onCl
|
|
|
14281
14281
|
),
|
|
14282
14282
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-xsf)]", children: [
|
|
14283
14283
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14284
|
-
|
|
14284
|
+
_chunkSDF5UUTEcjs.TabSelector,
|
|
14285
14285
|
{
|
|
14286
14286
|
label: "Search engines",
|
|
14287
14287
|
value: choice,
|
|
@@ -14338,7 +14338,7 @@ function useMarkdownLinkCommand() {
|
|
|
14338
14338
|
buttonProps: { "aria-label": "Add or edit a link (ctrl + l)", title: "Add or edit a link (ctrl + l)" },
|
|
14339
14339
|
icon: command.icon,
|
|
14340
14340
|
execute: (state, api) => {
|
|
14341
|
-
const existing =
|
|
14341
|
+
const existing = _chunkSDF5UUTEcjs.findMarkdownLinkAt.call(void 0, state.text, state.selection.start, state.selection.end);
|
|
14342
14342
|
setPending(
|
|
14343
14343
|
existing ? {
|
|
14344
14344
|
api,
|
|
@@ -14369,7 +14369,7 @@ function useMarkdownLinkCommand() {
|
|
|
14369
14369
|
initial: _nullishCoalesce(_optionalChain([pending, 'optionalAccess', _306 => _306.initial]), () => ( EMPTY_LINK)),
|
|
14370
14370
|
editing: _nullishCoalesce(_optionalChain([pending, 'optionalAccess', _307 => _307.editing]), () => ( false)),
|
|
14371
14371
|
onSubmit: (link) => {
|
|
14372
|
-
if (pending) write(pending,
|
|
14372
|
+
if (pending) write(pending, _chunkSDF5UUTEcjs.formatMarkdownLink.call(void 0, link));
|
|
14373
14373
|
},
|
|
14374
14374
|
onRemove: () => {
|
|
14375
14375
|
if (pending) write(pending, pending.initial.text);
|
|
@@ -14521,7 +14521,7 @@ function MarkdownEditor({
|
|
|
14521
14521
|
setUploadProgress(`Uploading ${file.name}...`);
|
|
14522
14522
|
try {
|
|
14523
14523
|
const url = await onUploadFile(file);
|
|
14524
|
-
const isImage =
|
|
14524
|
+
const isImage = _chunk7Z4EQOIXcjs.fileMediaType.call(void 0, file) === "image";
|
|
14525
14525
|
const markdown = isImage ? `` : `[${file.name}](${url})`;
|
|
14526
14526
|
insertTextAtCursor(markdown);
|
|
14527
14527
|
_optionalChain([onFileUploaded, 'optionalCall', _310 => _310(url, file.name)]);
|
|
@@ -14651,7 +14651,7 @@ function MarkdownEditor({
|
|
|
14651
14651
|
type: "file",
|
|
14652
14652
|
className: "hidden",
|
|
14653
14653
|
onChange: handleFileInputChange,
|
|
14654
|
-
accept: `${
|
|
14654
|
+
accept: `${_chunk7Z4EQOIXcjs.IMAGE_FILE_ACCEPT},.pdf,.doc,.docx,.xls,.xlsx,.ppt,.pptx,.zip,.txt`
|
|
14655
14655
|
}
|
|
14656
14656
|
),
|
|
14657
14657
|
!MDEditor && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-64 items-center justify-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Loader2, { className: "h-8 w-8 animate-spin" }) }),
|
|
@@ -15053,7 +15053,7 @@ function matchesAccept2(file, accept) {
|
|
|
15053
15053
|
return patterns.some((pattern) => {
|
|
15054
15054
|
if (pattern.startsWith(".")) return fileName.endsWith(pattern);
|
|
15055
15055
|
if (pattern.endsWith("/*"))
|
|
15056
|
-
return fileType.startsWith(pattern.slice(0, -1)) ||
|
|
15056
|
+
return fileType.startsWith(pattern.slice(0, -1)) || _chunk7Z4EQOIXcjs.fileMediaType.call(void 0, file) === pattern.slice(0, -2);
|
|
15057
15057
|
return fileType === pattern;
|
|
15058
15058
|
});
|
|
15059
15059
|
}
|
|
@@ -15061,7 +15061,7 @@ function ImageUploader({
|
|
|
15061
15061
|
value,
|
|
15062
15062
|
onChange,
|
|
15063
15063
|
onRemove,
|
|
15064
|
-
accept =
|
|
15064
|
+
accept = _chunk7Z4EQOIXcjs.IMAGE_FILE_ACCEPT,
|
|
15065
15065
|
maxSize = DEFAULT_MAX_SIZE,
|
|
15066
15066
|
label = "Cover Image",
|
|
15067
15067
|
description = "(Click Here or Drag and Drop)",
|
|
@@ -15680,7 +15680,7 @@ var SKELETON_COLUMNS = 6;
|
|
|
15680
15680
|
function TestResultsSkeleton({
|
|
15681
15681
|
region = true
|
|
15682
15682
|
} = {}) {
|
|
15683
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNO5UJLLQcjs.LoadingRegion, { label: "Loading the test results", announce: region, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15683
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNO5UJLLQcjs.LoadingRegion, { label: "Loading the test results", announce: region, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSDF5UUTEcjs.ScrollShadow, { axis: "horizontal", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-max min-w-full flex-col", children: [
|
|
15684
15684
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-mf)] px-[var(--spacing-system-mf)]", children: Array.from({ length: SKELETON_COLUMNS }).map((_, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-12 w-[160px] shrink-0 items-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-4 w-3/4 rounded-sm" }) }, `skeleton-header-${i}`)) }),
|
|
15685
15685
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "overflow-hidden rounded-[6px] border border-ods-border bg-ods-card", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-[66px] items-center gap-[var(--spacing-system-mf)] px-[var(--spacing-system-mf)] content-md:h-[78px]", children: Array.from({ length: SKELETON_COLUMNS }).map((_, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-[160px] shrink-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-5 w-3/4 rounded-sm" }) }, `skeleton-cell-${i}`)) }) })
|
|
15686
15686
|
] }) }) });
|
|
@@ -15715,7 +15715,7 @@ function TestResultsTable({ rows, loading }) {
|
|
|
15715
15715
|
if (loading) {
|
|
15716
15716
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TestResultsSkeleton, {});
|
|
15717
15717
|
}
|
|
15718
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15718
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSDF5UUTEcjs.ScrollShadow, { axis: "horizontal", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { style: { minWidth: Math.max(1, columnKeys.length) * RESULT_COLUMN_MIN_WIDTH }, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, DataTable, { table, children: [
|
|
15719
15719
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DataTable.Header, { className: "flex flex-col" }),
|
|
15720
15720
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DataTable.Body, { loading: false })
|
|
15721
15721
|
] }) }) });
|
|
@@ -16198,7 +16198,7 @@ function TicketInfoSection({
|
|
|
16198
16198
|
expanded && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
16199
16199
|
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" }) }),
|
|
16200
16200
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-4 border-b border-ods-border bg-ods-bg p-4", children: [
|
|
16201
|
-
description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16201
|
+
description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSDF5UUTEcjs.SimpleMarkdownRenderer, { content: description }),
|
|
16202
16202
|
attachments && attachments.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketDetailSection, { label: "Attachments", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketAttachmentsList, { attachments }) }),
|
|
16203
16203
|
tags && tags.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketDetailSection, { label: "Tags", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex min-w-0 flex-wrap gap-2", children: tags.map((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkJHQNUWFMcjs.Tag, { label: tag, variant: "outline", className: "max-w-full" }, tag)) }) }),
|
|
16204
16204
|
(notes || onAddNote) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketDetailSection, { label: "Notes", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -16658,7 +16658,7 @@ function PhotoWall({ images, columns = 2, speed = 24, fadeColor, className, load
|
|
|
16658
16658
|
gap: COLUMN_GAP_PX
|
|
16659
16659
|
};
|
|
16660
16660
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: rootRef, "aria-hidden": "true", className: _chunk3ATAYP36cjs.cn.call(void 0, "grid overflow-hidden", className), style: gridStyle, children: columnsToDraw ? columnsToDraw.map((column, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16661
|
-
|
|
16661
|
+
_chunkSDF5UUTEcjs.MarqueeWall,
|
|
16662
16662
|
{
|
|
16663
16663
|
axis: "y",
|
|
16664
16664
|
reverse: index % 2 === 1,
|
|
@@ -17070,7 +17070,7 @@ var TRIAL_TERM_ICONS = {
|
|
|
17070
17070
|
};
|
|
17071
17071
|
var DEFAULT_TRIAL_TERMS = ["cancel", "length", "noContract"];
|
|
17072
17072
|
function trialBenefits(trialDays, terms = DEFAULT_TRIAL_TERMS) {
|
|
17073
|
-
const labels =
|
|
17073
|
+
const labels = _chunkWIT36ZTNcjs.trialLabels.call(void 0, trialDays);
|
|
17074
17074
|
return terms.flatMap((term) => {
|
|
17075
17075
|
const label = labels[term];
|
|
17076
17076
|
return label ? [{ icon: TRIAL_TERM_ICONS[term], label }] : [];
|
|
@@ -17931,7 +17931,7 @@ function SsoProviderButtons({
|
|
|
17931
17931
|
// where a long organization name would otherwise push the label out of a phone-width
|
|
17932
17932
|
// button. `block` over its inline-flex, because an ellipsis only renders on a block box.
|
|
17933
17933
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17934
|
-
|
|
17934
|
+
_chunk7Z4EQOIXcjs.StatusBadge,
|
|
17935
17935
|
{
|
|
17936
17936
|
text: tag,
|
|
17937
17937
|
variant: "button",
|
|
@@ -17990,7 +17990,7 @@ function CompleteAccountForm({
|
|
|
17990
17990
|
),
|
|
17991
17991
|
children: [
|
|
17992
17992
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
|
|
17993
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
17993
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunk7Z4EQOIXcjs.accentSentenceMarks.call(void 0, title) }),
|
|
17994
17994
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: subtitle })
|
|
17995
17995
|
] }),
|
|
17996
17996
|
ssoProviders && ssoProviders.length > 0 && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
@@ -18138,7 +18138,7 @@ function CreateOrganizationForm({
|
|
|
18138
18138
|
),
|
|
18139
18139
|
children: [
|
|
18140
18140
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
|
|
18141
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
18141
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunk7Z4EQOIXcjs.accentSentenceMarks.call(void 0, title) }),
|
|
18142
18142
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: subtitle })
|
|
18143
18143
|
] }),
|
|
18144
18144
|
email === void 0 ? null : emailReadOnly ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHTRILBJDcjs.Input, { type: "email", label: emailReadOnlyLabel, value: email, readOnly: true, disabled: true }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -18279,7 +18279,7 @@ function InviteLinkInvalidModal({
|
|
|
18279
18279
|
),
|
|
18280
18280
|
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: [
|
|
18281
18281
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-mf)]", children: [
|
|
18282
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "flex-1 tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
18282
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "flex-1 tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunk7Z4EQOIXcjs.accentSentenceMarks.call(void 0, title) }),
|
|
18283
18283
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18284
18284
|
"button",
|
|
18285
18285
|
{
|
|
@@ -18360,7 +18360,7 @@ function LoginForm({
|
|
|
18360
18360
|
),
|
|
18361
18361
|
children: [
|
|
18362
18362
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
|
|
18363
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
18363
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunk7Z4EQOIXcjs.accentSentenceMarks.call(void 0, title) }),
|
|
18364
18364
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: subtitle })
|
|
18365
18365
|
] }),
|
|
18366
18366
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -18486,7 +18486,7 @@ function NoAccountNotice({
|
|
|
18486
18486
|
),
|
|
18487
18487
|
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: [
|
|
18488
18488
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
|
|
18489
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
18489
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunk7Z4EQOIXcjs.accentSentenceMarks.call(void 0, title) }),
|
|
18490
18490
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: description })
|
|
18491
18491
|
] }),
|
|
18492
18492
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2QMBXGMQcjs.Button, { type: "button", variant: "outline", fullWidth: true, onClick: onBackToLogin, children: backLabel })
|
|
@@ -18535,7 +18535,7 @@ function OpenFrameSsoLoginForm({
|
|
|
18535
18535
|
),
|
|
18536
18536
|
children: [
|
|
18537
18537
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-xs)]", children: [
|
|
18538
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
18538
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunk7Z4EQOIXcjs.accentSentenceMarks.call(void 0, title) }),
|
|
18539
18539
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: subtitle })
|
|
18540
18540
|
] }),
|
|
18541
18541
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -18640,7 +18640,7 @@ function OpenFrameSsoSignUpForm({
|
|
|
18640
18640
|
),
|
|
18641
18641
|
children: [
|
|
18642
18642
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-xs)]", children: [
|
|
18643
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
18643
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunk7Z4EQOIXcjs.accentSentenceMarks.call(void 0, title) }),
|
|
18644
18644
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: subtitle })
|
|
18645
18645
|
] }),
|
|
18646
18646
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -18746,7 +18746,7 @@ function PasswordResetForm({
|
|
|
18746
18746
|
),
|
|
18747
18747
|
children: [
|
|
18748
18748
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
|
|
18749
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
18749
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunk7Z4EQOIXcjs.accentSentenceMarks.call(void 0, title) }),
|
|
18750
18750
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: subtitle })
|
|
18751
18751
|
] }),
|
|
18752
18752
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -18863,7 +18863,7 @@ function SsoJoinForm({
|
|
|
18863
18863
|
),
|
|
18864
18864
|
children: [
|
|
18865
18865
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
|
|
18866
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
18866
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunk7Z4EQOIXcjs.accentSentenceMarks.call(void 0, title) }),
|
|
18867
18867
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: subtitle })
|
|
18868
18868
|
] }),
|
|
18869
18869
|
/* @__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: [
|
|
@@ -19125,7 +19125,7 @@ function ChangelogManager({
|
|
|
19125
19125
|
),
|
|
19126
19126
|
/* @__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)" }) }),
|
|
19127
19127
|
tagOptions && tagLabelOf(entry.tag) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19128
|
-
|
|
19128
|
+
_chunk7Z4EQOIXcjs.StatusBadge,
|
|
19129
19129
|
{
|
|
19130
19130
|
variant: "button",
|
|
19131
19131
|
singleLine: true,
|
|
@@ -19388,7 +19388,7 @@ function EntityTagBadges({ tags, basePath, max, className }) {
|
|
|
19388
19388
|
const label = (tag.name || "").toUpperCase();
|
|
19389
19389
|
if (basePath && tag.slug) {
|
|
19390
19390
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _link2.default, { href: `${basePath}?tags=${tag.slug}`, className: "inline-flex", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19391
|
-
|
|
19391
|
+
_chunk7Z4EQOIXcjs.StatusBadge,
|
|
19392
19392
|
{
|
|
19393
19393
|
text: label,
|
|
19394
19394
|
variant: "card",
|
|
@@ -19396,9 +19396,9 @@ function EntityTagBadges({ tags, basePath, max, className }) {
|
|
|
19396
19396
|
}
|
|
19397
19397
|
) }, key);
|
|
19398
19398
|
}
|
|
19399
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19399
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7Z4EQOIXcjs.StatusBadge, { text: label, variant: "card", className: BADGE_CLASS }, key);
|
|
19400
19400
|
}),
|
|
19401
|
-
overflow > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19401
|
+
overflow > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7Z4EQOIXcjs.StatusBadge, { text: `+${overflow}`, variant: "card", className: `${BADGE_CLASS} text-ods-text-secondary` })
|
|
19402
19402
|
] });
|
|
19403
19403
|
}
|
|
19404
19404
|
|
|
@@ -19494,7 +19494,7 @@ var SectionButton = ({
|
|
|
19494
19494
|
}
|
|
19495
19495
|
),
|
|
19496
19496
|
section.badge && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19497
|
-
|
|
19497
|
+
_chunk7Z4EQOIXcjs.StatusBadge,
|
|
19498
19498
|
{
|
|
19499
19499
|
text: section.badge.text,
|
|
19500
19500
|
variant: section.badge.variant || "button",
|
|
@@ -19513,7 +19513,7 @@ var SectionButton = ({
|
|
|
19513
19513
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-wrap items-start gap-2", children: [
|
|
19514
19514
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk3ATAYP36cjs.cn.call(void 0, titleClasses, "text-h3"), style: { textAlign: "left" }, children: section.title }),
|
|
19515
19515
|
section.badge && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19516
|
-
|
|
19516
|
+
_chunk7Z4EQOIXcjs.StatusBadge,
|
|
19517
19517
|
{
|
|
19518
19518
|
text: section.badge.text,
|
|
19519
19519
|
variant: section.badge.variant || "button",
|
|
@@ -20586,15 +20586,15 @@ function useLoading() {
|
|
|
20586
20586
|
|
|
20587
20587
|
|
|
20588
20588
|
function isAlreadyThere(file, existing) {
|
|
20589
|
-
const key =
|
|
20589
|
+
const key = _chunk7Z4EQOIXcjs.mediaNameKey.call(void 0, file.name);
|
|
20590
20590
|
if (!key) return false;
|
|
20591
20591
|
return existing.some(
|
|
20592
|
-
(item) => (item.title ?
|
|
20592
|
+
(item) => (item.title ? _chunk7Z4EQOIXcjs.mediaNameKey.call(void 0, item.title) === key : false) || (item.media_url ? _chunk7Z4EQOIXcjs.mediaNameKey.call(void 0, item.media_url) === key : false)
|
|
20593
20593
|
);
|
|
20594
20594
|
}
|
|
20595
20595
|
var isFileDrag = (event) => Array.from(event.dataTransfer.types).includes("Files");
|
|
20596
|
-
var isVideoItem = (item) =>
|
|
20597
|
-
var MEDIA_KIND_ACCEPT = { image:
|
|
20596
|
+
var isVideoItem = (item) => _chunk7Z4EQOIXcjs.isVideoMedia.call(void 0, item) || item.media_type === "demo";
|
|
20597
|
+
var MEDIA_KIND_ACCEPT = { image: _chunk7Z4EQOIXcjs.IMAGE_FILE_ACCEPT, video: "video/*", both: _chunk7Z4EQOIXcjs.MEDIA_FILE_ACCEPT };
|
|
20598
20598
|
var MEDIA_KIND_COPY = {
|
|
20599
20599
|
image: { noun: "pictures", refusal: "Not a picture" },
|
|
20600
20600
|
video: { noun: "videos", refusal: "Not a video" },
|
|
@@ -20618,12 +20618,12 @@ function useMediaIntake({ existing, onUpload, onUploaded, kinds = "both" }) {
|
|
|
20618
20618
|
const seen = /* @__PURE__ */ new Set();
|
|
20619
20619
|
const accepted = [];
|
|
20620
20620
|
for (const file of files) {
|
|
20621
|
-
const mediaType =
|
|
20621
|
+
const mediaType = _chunk7Z4EQOIXcjs.fileMediaType.call(void 0, file);
|
|
20622
20622
|
if (!mediaType || kinds !== "both" && mediaType !== kinds) {
|
|
20623
20623
|
unsupported.push(file.name);
|
|
20624
20624
|
continue;
|
|
20625
20625
|
}
|
|
20626
|
-
const contentKey = await
|
|
20626
|
+
const contentKey = await _chunk7Z4EQOIXcjs.fileContentKey.call(void 0, file).catch(() => `${file.name}:${file.size}`);
|
|
20627
20627
|
if (seen.has(contentKey) || isAlreadyThere(file, existingRef.current)) {
|
|
20628
20628
|
duplicates.push(file.name);
|
|
20629
20629
|
continue;
|
|
@@ -20804,7 +20804,7 @@ function MediaGalleryManager({
|
|
|
20804
20804
|
className: _chunk3ATAYP36cjs.cn.call(void 0, "grid grid-cols-1 gap-4 content-md:grid-cols-2", columns === 3 && "content-lg:grid-cols-3"),
|
|
20805
20805
|
children: [
|
|
20806
20806
|
media.map((item, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
20807
|
-
|
|
20807
|
+
_chunk7Z4EQOIXcjs.Card,
|
|
20808
20808
|
{
|
|
20809
20809
|
className: "group relative border-ods-border transition-colors hover:border-ods-accent/30",
|
|
20810
20810
|
draggable: true,
|
|
@@ -20829,7 +20829,7 @@ function MediaGalleryManager({
|
|
|
20829
20829
|
) }),
|
|
20830
20830
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "relative aspect-video overflow-hidden rounded-lg bg-ods-bg", children: isVideoItem(item) ? (
|
|
20831
20831
|
// <Video> SSOT (MuxPlayer): plays Mux HLS and MP4 alike; fit="cover" crops to the cell.
|
|
20832
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20832
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7Z4EQOIXcjs.Video, { kind: "file", url: item.media_url, fit: "cover", className: "h-full w-full" })
|
|
20833
20833
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20834
20834
|
_chunkHOTM4UM6cjs.next_image_default,
|
|
20835
20835
|
{
|
|
@@ -20881,7 +20881,7 @@ function MediaGalleryManager({
|
|
|
20881
20881
|
},
|
|
20882
20882
|
_nullishCoalesce(item.id, () => ( `${item.media_url}-${index}`))
|
|
20883
20883
|
)),
|
|
20884
|
-
pending.map((name, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
20884
|
+
pending.map((name, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk7Z4EQOIXcjs.Card, { className: "border-ods-border", "aria-busy": "true", children: [
|
|
20885
20885
|
/* @__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" }) }),
|
|
20886
20886
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "truncate p-3 text-ods-text-secondary text-h6", children: name })
|
|
20887
20887
|
] }, `pending-${name}-${index}`))
|
|
@@ -22266,14 +22266,14 @@ var MODEL_TOKEN_RATES_COPY = {
|
|
|
22266
22266
|
empty: "No token rates are in effect right now."
|
|
22267
22267
|
};
|
|
22268
22268
|
function providerMark(providerType, stated, className) {
|
|
22269
|
-
const Mark = _chunkKTPR66EEcjs.findIcon.call(void 0,
|
|
22269
|
+
const Mark = _chunkKTPR66EEcjs.findIcon.call(void 0, _chunkWIT36ZTNcjs.aiProvider.call(void 0, providerType, { icon: stated }).icon);
|
|
22270
22270
|
return Mark ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Mark, { className }) : void 0;
|
|
22271
22271
|
}
|
|
22272
22272
|
var PAD_X = "px-[var(--spacing-system-s)]";
|
|
22273
22273
|
var ROW = "flex items-center gap-[var(--spacing-system-s)]";
|
|
22274
22274
|
var NUMBER_CELL = "w-16 shrink-0 whitespace-nowrap text-right tabular-nums";
|
|
22275
22275
|
function useProviderGroup(rates) {
|
|
22276
|
-
const groups =
|
|
22276
|
+
const groups = _chunkWIT36ZTNcjs.groupTokenRatesByProvider.call(void 0, rates);
|
|
22277
22277
|
const [picked, setPicked] = _react.useState.call(void 0, null);
|
|
22278
22278
|
return { groups, group: _nullishCoalesce(groups.find((candidate) => candidate.providerType === picked), () => ( groups[0])), setPicked };
|
|
22279
22279
|
}
|
|
@@ -22284,7 +22284,7 @@ function ProviderTabs({
|
|
|
22284
22284
|
className
|
|
22285
22285
|
}) {
|
|
22286
22286
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22287
|
-
|
|
22287
|
+
_chunkSDF5UUTEcjs.TabSelector,
|
|
22288
22288
|
{
|
|
22289
22289
|
variant: "secondary",
|
|
22290
22290
|
scrollable: true,
|
|
@@ -22292,7 +22292,7 @@ function ProviderTabs({
|
|
|
22292
22292
|
onValueChange,
|
|
22293
22293
|
items: groups.map((candidate) => ({
|
|
22294
22294
|
id: candidate.providerType,
|
|
22295
|
-
label:
|
|
22295
|
+
label: _chunkWIT36ZTNcjs.tokenRateProviderLabel.call(void 0, candidate.providerType, _optionalChain([candidate, 'access', _443 => _443.rates, 'access', _444 => _444[0], 'optionalAccess', _445 => _445.providerLabel])),
|
|
22296
22296
|
icon: providerMark(candidate.providerType, _optionalChain([candidate, 'access', _446 => _446.rates, 'access', _447 => _447[0], 'optionalAccess', _448 => _448.providerIcon]), "size-full")
|
|
22297
22297
|
})),
|
|
22298
22298
|
className
|
|
@@ -22393,8 +22393,8 @@ function ModelTokenRatesTable({ rates }) {
|
|
|
22393
22393
|
className: _chunk3ATAYP36cjs.cn.call(void 0, ROW, PAD_X, "py-[var(--spacing-system-xxs)] text-ods-text-primary text-h6"),
|
|
22394
22394
|
children: [
|
|
22395
22395
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "rowheader", className: "min-w-0 flex-1 truncate", children: rate.displayName || rate.modelName }),
|
|
22396
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "cell", className: NUMBER_CELL, children:
|
|
22397
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "cell", className: NUMBER_CELL, children:
|
|
22396
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "cell", className: NUMBER_CELL, children: _chunkWIT36ZTNcjs.formatTokenRate.call(void 0, rate.inputTokenRate) }),
|
|
22397
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "cell", className: NUMBER_CELL, children: _chunkWIT36ZTNcjs.formatTokenRate.call(void 0, rate.outputTokenRate) })
|
|
22398
22398
|
]
|
|
22399
22399
|
},
|
|
22400
22400
|
rate.modelName
|
|
@@ -22460,7 +22460,7 @@ function modelOption(rate) {
|
|
|
22460
22460
|
return {
|
|
22461
22461
|
label: rate.displayName || rate.modelName,
|
|
22462
22462
|
value: rate.modelName,
|
|
22463
|
-
description:
|
|
22463
|
+
description: _chunkWIT36ZTNcjs.tokenRateProviderLabel.call(void 0, rate.providerType, rate.providerLabel),
|
|
22464
22464
|
icon: providerMark(rate.providerType, rate.providerIcon, "size-full text-ods-text-secondary")
|
|
22465
22465
|
};
|
|
22466
22466
|
}
|
|
@@ -22514,8 +22514,8 @@ function ModelTokenExchange({
|
|
|
22514
22514
|
const [chosen, setChosen] = _react.useState.call(void 0, null);
|
|
22515
22515
|
const balance = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(chosen, () => ( defaultAmount)), () => ( _optionalChain([tokenPrice, 'optionalAccess', _449 => _449.tokens]))), () => ( MODEL_TOKEN_EXCHANGE_BALANCE));
|
|
22516
22516
|
const max = Math.max(amountRange.max, balance, ...presets.map((preset) => preset.tokens));
|
|
22517
|
-
const tokens =
|
|
22518
|
-
const cost =
|
|
22517
|
+
const tokens = _chunkWIT36ZTNcjs.formatTokenAmount.call(void 0, balance);
|
|
22518
|
+
const cost = _chunkWIT36ZTNcjs.tokenCost.call(void 0, balance, tokenPrice);
|
|
22519
22519
|
const balancePrice = cost === null ? null : _chunkJHQNUWFMcjs.formatPrice.call(void 0, cost);
|
|
22520
22520
|
const model = rate ? rate.displayName || rate.modelName : "";
|
|
22521
22521
|
const options = models.map(modelOption);
|
|
@@ -22557,7 +22557,7 @@ function ModelTokenExchange({
|
|
|
22557
22557
|
variant: preset.tokens === balance ? "accent" : "outline",
|
|
22558
22558
|
size: "small",
|
|
22559
22559
|
onClick: () => setChosen(preset.tokens),
|
|
22560
|
-
children: copy.buy.preset(
|
|
22560
|
+
children: copy.buy.preset(_chunkWIT36ZTNcjs.formatTokenAmount.call(void 0, preset.tokens), preset.label)
|
|
22561
22561
|
},
|
|
22562
22562
|
preset.label
|
|
22563
22563
|
)) })
|
|
@@ -22576,7 +22576,7 @@ function ModelTokenExchange({
|
|
|
22576
22576
|
const stated = _nullishCoalesce(models.find((option) => option.providerType === providerType), () => ( (_optionalChain([rate, 'optionalAccess', _450 => _450.providerType]) === providerType ? rate : null)));
|
|
22577
22577
|
return {
|
|
22578
22578
|
id: providerType,
|
|
22579
|
-
name:
|
|
22579
|
+
name: _chunkWIT36ZTNcjs.tokenRateProviderLabel.call(void 0, providerType, _optionalChain([stated, 'optionalAccess', _451 => _451.providerLabel])),
|
|
22580
22580
|
icon: providerMark(providerType, _optionalChain([stated, 'optionalAccess', _452 => _452.providerIcon]), "size-8 text-ods-text-secondary")
|
|
22581
22581
|
};
|
|
22582
22582
|
}),
|
|
@@ -22614,7 +22614,7 @@ function ModelTokenExchange({
|
|
|
22614
22614
|
{
|
|
22615
22615
|
size: "plain",
|
|
22616
22616
|
loading,
|
|
22617
|
-
figure:
|
|
22617
|
+
figure: _chunkWIT36ZTNcjs.formatTokenRate.call(void 0, _optionalChain([rate, 'optionalAccess', _457 => _457.inputTokenRate])),
|
|
22618
22618
|
words: copy.charge.input
|
|
22619
22619
|
}
|
|
22620
22620
|
),
|
|
@@ -22623,7 +22623,7 @@ function ModelTokenExchange({
|
|
|
22623
22623
|
{
|
|
22624
22624
|
size: "plain",
|
|
22625
22625
|
loading,
|
|
22626
|
-
figure:
|
|
22626
|
+
figure: _chunkWIT36ZTNcjs.formatTokenRate.call(void 0, _optionalChain([rate, 'optionalAccess', _458 => _458.outputTokenRate])),
|
|
22627
22627
|
words: copy.charge.output
|
|
22628
22628
|
}
|
|
22629
22629
|
)
|
|
@@ -22635,9 +22635,9 @@ function ModelTokenExchange({
|
|
|
22635
22635
|
className: "mt-auto flex flex-col rounded-md border border-ods-accent bg-ods-bg p-[var(--spacing-system-mf)]",
|
|
22636
22636
|
children: [
|
|
22637
22637
|
/* @__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, _chunkH3RYUTNDcjs.UnifiedSkeleton, { as: "span", "aria-hidden": true, className: _chunk3ATAYP36cjs.cn.call(void 0, FIGURE_SKELETON_CLASS, "w-full max-w-xs") }) : copy.charge.so(_nullishCoalesce(balancePrice, () => ( copy.buy.tokens(tokens))), model) }),
|
|
22638
|
-
/* @__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, _chunkH3RYUTNDcjs.UnifiedSkeleton, { as: "span", "aria-hidden": true, className: _chunk3ATAYP36cjs.cn.call(void 0, FIGURE_SKELETON_CLASS, "w-40") }) :
|
|
22638
|
+
/* @__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, _chunkH3RYUTNDcjs.UnifiedSkeleton, { as: "span", "aria-hidden": true, className: _chunk3ATAYP36cjs.cn.call(void 0, FIGURE_SKELETON_CLASS, "w-40") }) : _chunkWIT36ZTNcjs.formatTokenAmount.call(void 0, _chunkWIT36ZTNcjs.tokensForBalance.call(void 0, balance, rate.inputTokenRate)) }),
|
|
22639
22639
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-h-[1lh] text-ods-text-primary text-h3", children: copy.charge.read }),
|
|
22640
|
-
/* @__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, _chunkH3RYUTNDcjs.UnifiedSkeleton, { as: "span", "aria-hidden": true, className: _chunk3ATAYP36cjs.cn.call(void 0, FIGURE_SKELETON_CLASS, "w-48") }) : copy.charge.orWritten(
|
|
22640
|
+
/* @__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, _chunkH3RYUTNDcjs.UnifiedSkeleton, { as: "span", "aria-hidden": true, className: _chunk3ATAYP36cjs.cn.call(void 0, FIGURE_SKELETON_CLASS, "w-48") }) : copy.charge.orWritten(_chunkWIT36ZTNcjs.formatTokenAmount.call(void 0, _chunkWIT36ZTNcjs.tokensForBalance.call(void 0, balance, rate.outputTokenRate))) })
|
|
22641
22641
|
]
|
|
22642
22642
|
}
|
|
22643
22643
|
)
|
|
@@ -23135,14 +23135,14 @@ var ConfidenceBadge = ({
|
|
|
23135
23135
|
size = "sm",
|
|
23136
23136
|
className
|
|
23137
23137
|
}) => {
|
|
23138
|
-
const level =
|
|
23138
|
+
const level = _chunkWIT36ZTNcjs.getConfidenceLevel.call(void 0, confidence);
|
|
23139
23139
|
if (level === "none") {
|
|
23140
23140
|
return null;
|
|
23141
23141
|
}
|
|
23142
|
-
const label =
|
|
23143
|
-
const borderClass =
|
|
23144
|
-
const textClass =
|
|
23145
|
-
const bgClass =
|
|
23142
|
+
const label = _chunkWIT36ZTNcjs.getConfidenceLabel.call(void 0, confidence);
|
|
23143
|
+
const borderClass = _chunkWIT36ZTNcjs.getConfidenceBorderClass.call(void 0, confidence);
|
|
23144
|
+
const textClass = _chunkWIT36ZTNcjs.getConfidenceTextClass.call(void 0, confidence);
|
|
23145
|
+
const bgClass = _chunkWIT36ZTNcjs.getConfidenceBgClass.call(void 0, confidence);
|
|
23146
23146
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
23147
23147
|
"span",
|
|
23148
23148
|
{
|
|
@@ -23193,9 +23193,9 @@ function SEOEditorPreview({
|
|
|
23193
23193
|
const [isUploading, setIsUploading] = _react.useState.call(void 0, false);
|
|
23194
23194
|
const [fileInputRef, setFileInputRef] = _react.useState.call(void 0, null);
|
|
23195
23195
|
const seoTitleLength = (seoTitle || "").length;
|
|
23196
|
-
const seoTitleTooLong = seoTitleLength >
|
|
23196
|
+
const seoTitleTooLong = seoTitleLength > _chunkWIT36ZTNcjs.SEO_TITLE_MAX_LENGTH;
|
|
23197
23197
|
const seoDescriptionLength = (seoDescription || "").length;
|
|
23198
|
-
const seoDescriptionTooLong = seoDescriptionLength >
|
|
23198
|
+
const seoDescriptionTooLong = seoDescriptionLength > _chunkWIT36ZTNcjs.SEO_DESCRIPTION_MAX_LENGTH;
|
|
23199
23199
|
const displayTitle = seoTitle.trim() || title || "Untitled";
|
|
23200
23200
|
const displayDescription = seoDescription.trim() || summary || "No description";
|
|
23201
23201
|
const hasOgImage = ogImageUrl.trim();
|
|
@@ -23220,10 +23220,10 @@ function SEOEditorPreview({
|
|
|
23220
23220
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid grid-cols-1 gap-4 content-lg:grid-cols-2", children: [
|
|
23221
23221
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
23222
23222
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23223
|
-
|
|
23223
|
+
_chunkWIT36ZTNcjs.Field,
|
|
23224
23224
|
{
|
|
23225
23225
|
label: "SEO Title",
|
|
23226
|
-
error: seoTitleTooLong ? `Too long: search engines may truncate this title (keep it under ${
|
|
23226
|
+
error: seoTitleTooLong ? `Too long: search engines may truncate this title (keep it under ${_chunkWIT36ZTNcjs.SEO_TITLE_MAX_LENGTH})` : null,
|
|
23227
23227
|
labelExtras: aiConfidenceSeoTitle !== void 0 ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
23228
23228
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, AIGeneratedBadge, {}),
|
|
23229
23229
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ConfidenceBadge, { confidence: aiConfidenceSeoTitle, showLabel: true, showPercentage: true, size: "sm" })
|
|
@@ -23238,7 +23238,7 @@ function SEOEditorPreview({
|
|
|
23238
23238
|
children: [
|
|
23239
23239
|
seoTitleLength,
|
|
23240
23240
|
"/",
|
|
23241
|
-
|
|
23241
|
+
_chunkWIT36ZTNcjs.SEO_TITLE_MAX_LENGTH
|
|
23242
23242
|
]
|
|
23243
23243
|
}
|
|
23244
23244
|
),
|
|
@@ -23249,7 +23249,7 @@ function SEOEditorPreview({
|
|
|
23249
23249
|
value: seoTitle || "",
|
|
23250
23250
|
onChange: (e) => onSeoTitleChange(e.target.value),
|
|
23251
23251
|
disabled,
|
|
23252
|
-
maxLength:
|
|
23252
|
+
maxLength: _chunkWIT36ZTNcjs.SEO_TITLE_MAX_LENGTH,
|
|
23253
23253
|
invalid: seoTitleTooLong,
|
|
23254
23254
|
placeholder: "Enter SEO meta title...",
|
|
23255
23255
|
className: "border-ods-border bg-ods-bg text-ods-text-primary"
|
|
@@ -23260,7 +23260,7 @@ function SEOEditorPreview({
|
|
|
23260
23260
|
!seoTitle && title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-accent text-h6", children: "Auto-populated from title" })
|
|
23261
23261
|
] }),
|
|
23262
23262
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23263
|
-
|
|
23263
|
+
_chunkWIT36ZTNcjs.Field,
|
|
23264
23264
|
{
|
|
23265
23265
|
label: "SEO Keywords",
|
|
23266
23266
|
labelExtras: aiConfidenceSeoKeywords !== void 0 ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
@@ -23292,10 +23292,10 @@ function SEOEditorPreview({
|
|
|
23292
23292
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid grid-cols-1 gap-4 content-lg:grid-cols-2", children: [
|
|
23293
23293
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
23294
23294
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23295
|
-
|
|
23295
|
+
_chunkWIT36ZTNcjs.Field,
|
|
23296
23296
|
{
|
|
23297
23297
|
label: "SEO Description",
|
|
23298
|
-
error: seoDescriptionTooLong ? `Too long: search engines may truncate this description (keep it under ${
|
|
23298
|
+
error: seoDescriptionTooLong ? `Too long: search engines may truncate this description (keep it under ${_chunkWIT36ZTNcjs.SEO_DESCRIPTION_MAX_LENGTH})` : null,
|
|
23299
23299
|
labelExtras: aiConfidenceSeoDescription !== void 0 ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
23300
23300
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, AIGeneratedBadge, {}),
|
|
23301
23301
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -23318,7 +23318,7 @@ function SEOEditorPreview({
|
|
|
23318
23318
|
children: [
|
|
23319
23319
|
seoDescriptionLength,
|
|
23320
23320
|
"/",
|
|
23321
|
-
|
|
23321
|
+
_chunkWIT36ZTNcjs.SEO_DESCRIPTION_MAX_LENGTH
|
|
23322
23322
|
]
|
|
23323
23323
|
}
|
|
23324
23324
|
),
|
|
@@ -23329,7 +23329,7 @@ function SEOEditorPreview({
|
|
|
23329
23329
|
value: seoDescription || "",
|
|
23330
23330
|
onChange: (e) => onSeoDescriptionChange(e.target.value),
|
|
23331
23331
|
disabled,
|
|
23332
|
-
maxLength:
|
|
23332
|
+
maxLength: _chunkWIT36ZTNcjs.SEO_DESCRIPTION_MAX_LENGTH,
|
|
23333
23333
|
invalid: seoDescriptionTooLong,
|
|
23334
23334
|
placeholder: "Enter SEO meta description...",
|
|
23335
23335
|
className: _chunk3ATAYP36cjs.cn.call(void 0, "resize-none border-ods-border bg-ods-bg text-ods-text-primary", SEO_MEDIA_BOX_HEIGHT)
|
|
@@ -23398,7 +23398,7 @@ function SEOEditorPreview({
|
|
|
23398
23398
|
{
|
|
23399
23399
|
ref: setFileInputRef,
|
|
23400
23400
|
type: "file",
|
|
23401
|
-
accept:
|
|
23401
|
+
accept: _chunk7Z4EQOIXcjs.IMAGE_FILE_ACCEPT,
|
|
23402
23402
|
onChange: handleImageUpload,
|
|
23403
23403
|
className: "hidden",
|
|
23404
23404
|
disabled: disabled || isUploading
|
|
@@ -23482,7 +23482,7 @@ function socialIcon(platform) {
|
|
|
23482
23482
|
return _nullishCoalesce(_chunkKTPR66EEcjs.iconOf.call(void 0, SOCIAL_ICONS[platform]), () => ( void 0));
|
|
23483
23483
|
}
|
|
23484
23484
|
function renderSocialIcon(platform) {
|
|
23485
|
-
const key = _nullishCoalesce(
|
|
23485
|
+
const key = _nullishCoalesce(_chunkWIT36ZTNcjs.normalizeSocialPlatform.call(void 0, platform), () => ( "website"));
|
|
23486
23486
|
const icon = _nullishCoalesce(socialIcon(key), () => ( socialIcon("website")));
|
|
23487
23487
|
return icon ? _react.createElement.call(void 0, icon, { className: "h-5 w-5" }) : null;
|
|
23488
23488
|
}
|
|
@@ -23565,7 +23565,7 @@ function SocialLinksManager({
|
|
|
23565
23565
|
};
|
|
23566
23566
|
const getIcon = (link, platform) => {
|
|
23567
23567
|
const iconKey = _optionalChain([platform, 'optionalAccess', _468 => _468.icon_name]) || link.platform;
|
|
23568
|
-
const key =
|
|
23568
|
+
const key = _chunkWIT36ZTNcjs.normalizeSocialPlatform.call(void 0, iconKey);
|
|
23569
23569
|
if (!key) return null;
|
|
23570
23570
|
const icon = socialIcon(key);
|
|
23571
23571
|
return icon ? _react.createElement.call(void 0, icon, { className: "h-5 w-5 text-ods-text-secondary" }) : null;
|
|
@@ -23701,7 +23701,7 @@ var StartWithOpenFrameButton = _react.forwardRef.call(void 0,
|
|
|
23701
23701
|
className: _chunk3ATAYP36cjs.cn.call(void 0, modeClassName, className),
|
|
23702
23702
|
style: customStyle,
|
|
23703
23703
|
leftIcon: !loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHJZLKYOBcjs.OpenframeLogoIcon, { secondaryColor: iconLowerPath, className: "h-5 w-5", color: iconUpperPath }) : void 0,
|
|
23704
|
-
rightIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23704
|
+
rightIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7Z4EQOIXcjs.StatusBadge, { text: "Beta", variant: "button", colorScheme: "yellow" }),
|
|
23705
23705
|
children
|
|
23706
23706
|
}
|
|
23707
23707
|
);
|
|
@@ -23971,11 +23971,11 @@ function WarningBlock({ title, icon = DEFAULT_ICON, children, className }) {
|
|
|
23971
23971
|
|
|
23972
23972
|
function VideoBitesDisplay({
|
|
23973
23973
|
bites,
|
|
23974
|
-
title =
|
|
23974
|
+
title = _chunk7Z4EQOIXcjs.DEFAULT_VIDEO_BITES_TITLE,
|
|
23975
23975
|
filterPublished = true,
|
|
23976
23976
|
showTitle = true
|
|
23977
23977
|
}) {
|
|
23978
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23978
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSDF5UUTEcjs.VideoBitesStrip, { bites, title, filterPublished, showTitle });
|
|
23979
23979
|
}
|
|
23980
23980
|
|
|
23981
23981
|
// src/components/features/walkthrough-video.tsx
|
|
@@ -24003,7 +24003,7 @@ function WalkthroughVideo({
|
|
|
24003
24003
|
onOpenChange,
|
|
24004
24004
|
defaultOpen,
|
|
24005
24005
|
defaultOpenPaused,
|
|
24006
|
-
deepLinkParam =
|
|
24006
|
+
deepLinkParam = _chunkWIT36ZTNcjs.WALKTHROUGH_OPEN_QUERY_PARAM,
|
|
24007
24007
|
autoPlayCard = false,
|
|
24008
24008
|
label = "Play Demo Video",
|
|
24009
24009
|
placement,
|
|
@@ -24019,7 +24019,7 @@ function WalkthroughVideo({
|
|
|
24019
24019
|
}) {
|
|
24020
24020
|
const inline = placement === "inline";
|
|
24021
24021
|
const dismissEnabled = dismissal !== false;
|
|
24022
|
-
const storageKey = dismissEnabled && dismissal.storageKey ||
|
|
24022
|
+
const storageKey = dismissEnabled && dismissal.storageKey || _chunkWIT36ZTNcjs.WALKTHROUGH_VIDEO_DISMISS_KEY;
|
|
24023
24023
|
const dismissalId = _optionalChain([video, 'optionalAccess', _474 => _474.id]) != null ? String(video.id) : "dismissed";
|
|
24024
24024
|
const [mounted, setMounted] = _react.useState.call(void 0, false);
|
|
24025
24025
|
const [dismissed, setDismissed] = _react.useState.call(void 0, false);
|
|
@@ -24031,7 +24031,7 @@ function WalkthroughVideo({
|
|
|
24031
24031
|
let delayElapsed = false;
|
|
24032
24032
|
let interacted = inline;
|
|
24033
24033
|
const reveal = () => {
|
|
24034
|
-
if (dismissEnabled &&
|
|
24034
|
+
if (dismissEnabled && _chunkWIT36ZTNcjs.isWalkthroughDismissed.call(void 0, storageKey, dismissalId)) {
|
|
24035
24035
|
setDismissed(true);
|
|
24036
24036
|
return;
|
|
24037
24037
|
}
|
|
@@ -24068,7 +24068,7 @@ function WalkthroughVideo({
|
|
|
24068
24068
|
if (idleHandle !== null && typeof cic === "function") cic(idleHandle);
|
|
24069
24069
|
};
|
|
24070
24070
|
}, [appearDelayMs, dismissEnabled, storageKey, dismissalId, hasVideo, videoId, inline]);
|
|
24071
|
-
const hydrated =
|
|
24071
|
+
const hydrated = _chunkSDF5UUTEcjs.useIsHydrated.call(void 0, );
|
|
24072
24072
|
const previewSuppressed = _react.useMemo.call(void 0, () => {
|
|
24073
24073
|
if (!hydrated) return false;
|
|
24074
24074
|
try {
|
|
@@ -24318,7 +24318,7 @@ function WalkthroughVideo({
|
|
|
24318
24318
|
(e) => {
|
|
24319
24319
|
e.stopPropagation();
|
|
24320
24320
|
pausePreviewNow();
|
|
24321
|
-
if (dismissEnabled)
|
|
24321
|
+
if (dismissEnabled) _chunkWIT36ZTNcjs.dismissWalkthrough.call(void 0, storageKey, dismissalId);
|
|
24322
24322
|
setDismissed(true);
|
|
24323
24323
|
},
|
|
24324
24324
|
[dismissEnabled, storageKey, dismissalId, pausePreviewNow]
|
|
@@ -24467,7 +24467,7 @@ function WalkthroughVideo({
|
|
|
24467
24467
|
},
|
|
24468
24468
|
children: [
|
|
24469
24469
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pointer-events-none absolute inset-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24470
|
-
|
|
24470
|
+
_chunk7Z4EQOIXcjs.VideoHoverPreviewSurface,
|
|
24471
24471
|
{
|
|
24472
24472
|
url: video.mainVideoUrl || "",
|
|
24473
24473
|
posterUrl: video.posterUrl,
|
|
@@ -24491,7 +24491,7 @@ function WalkthroughVideo({
|
|
|
24491
24491
|
`card-${embedUrlKey}`
|
|
24492
24492
|
) }),
|
|
24493
24493
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24494
|
-
|
|
24494
|
+
_chunkSDF5UUTEcjs.CardHitLayer,
|
|
24495
24495
|
{
|
|
24496
24496
|
label: video.title ? `${label}: ${video.title}` : label,
|
|
24497
24497
|
onPointerDown: pausePreviewNow,
|
|
@@ -24606,7 +24606,7 @@ function WalkthroughVideo({
|
|
|
24606
24606
|
children: [
|
|
24607
24607
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DialogPrimitive2.Title, { className: "sr-only", children: summaryTitle || "Walkthrough video" }),
|
|
24608
24608
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24609
|
-
|
|
24609
|
+
_chunk7Z4EQOIXcjs.Video,
|
|
24610
24610
|
{
|
|
24611
24611
|
kind: video.youtubeUrl ? "youtube" : "file",
|
|
24612
24612
|
url: video.youtubeUrl || video.mainVideoUrl,
|
|
@@ -24657,7 +24657,7 @@ function InlineWalkthroughVideo(props) {
|
|
|
24657
24657
|
var _reactquery = require('@tanstack/react-query');
|
|
24658
24658
|
function useWalkthroughVideo(opts) {
|
|
24659
24659
|
const { endpoint, initialData, enabled = true, transformCaptionsUrl } = opts;
|
|
24660
|
-
const captions =
|
|
24660
|
+
const captions = _chunkSDF5UUTEcjs.useCaptions.call(void 0, );
|
|
24661
24661
|
const query = _reactquery.useQuery.call(void 0, {
|
|
24662
24662
|
queryKey: ["walkthrough-video", endpoint],
|
|
24663
24663
|
enabled,
|
|
@@ -24855,7 +24855,7 @@ function VideoSourceSelector({
|
|
|
24855
24855
|
}
|
|
24856
24856
|
function DefaultVideoPreview({ videoUrl, onDelete, disabled }) {
|
|
24857
24857
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative overflow-hidden rounded-lg border border-ods-border", children: [
|
|
24858
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "aspect-video max-h-[300px] w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24858
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "aspect-video max-h-[300px] w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7Z4EQOIXcjs.Video, { kind: "file", url: videoUrl }) }),
|
|
24859
24859
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24860
24860
|
"button",
|
|
24861
24861
|
{
|
|
@@ -25379,7 +25379,7 @@ function HighlightVideoSection({
|
|
|
25379
25379
|
// Default simple preview — the <Video> SSOT (MuxPlayer) plays
|
|
25380
25380
|
// MP4 and Mux HLS alike; aspect-video box reserves the height.
|
|
25381
25381
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative overflow-hidden rounded-lg border border-ods-border bg-black", children: [
|
|
25382
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "aspect-video max-h-[300px] w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25382
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "aspect-video max-h-[300px] w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7Z4EQOIXcjs.Video, { kind: "file", url: highlightVideoUrl, poster: highlightVideoThumbnail || void 0 }) }),
|
|
25383
25383
|
onDeleteHighlight && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
25384
25384
|
"button",
|
|
25385
25385
|
{
|
|
@@ -25406,7 +25406,7 @@ function HighlightConfigSection({
|
|
|
25406
25406
|
disabled = false,
|
|
25407
25407
|
className = ""
|
|
25408
25408
|
}) {
|
|
25409
|
-
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,
|
|
25409
|
+
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, _chunkWIT36ZTNcjs.Field, { label: "Target Duration", children: (f) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
25410
25410
|
_chunk3GG3QAPTcjs.Select,
|
|
25411
25411
|
{
|
|
25412
25412
|
value: targetDurationSeconds.toString(),
|
|
@@ -25507,7 +25507,7 @@ var AIStatusIndicator = ({
|
|
|
25507
25507
|
}) => {
|
|
25508
25508
|
const config = statusConfig[status];
|
|
25509
25509
|
const displayText = message || config.label;
|
|
25510
|
-
const confidenceLabel = showConfidence && confidence !== void 0 ? `${
|
|
25510
|
+
const confidenceLabel = showConfidence && confidence !== void 0 ? `${_chunkWIT36ZTNcjs.getConfidenceLabel.call(void 0, confidence)} (${confidence}%)` : null;
|
|
25511
25511
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "inline-flex items-center gap-2 rounded-lg px-3 py-1.5", config.bgColor, className), children: [
|
|
25512
25512
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25513
25513
|
_chunkUNFCRSYIcjs.SparklesIcon,
|
|
@@ -25515,7 +25515,7 @@ var AIStatusIndicator = ({
|
|
|
25515
25515
|
size: 16,
|
|
25516
25516
|
className: _chunk3ATAYP36cjs.cn.call(void 0,
|
|
25517
25517
|
status === "loading" && "animate-pulse",
|
|
25518
|
-
confidence !== void 0 && status === "success" ?
|
|
25518
|
+
confidence !== void 0 && status === "success" ? _chunkWIT36ZTNcjs.getConfidenceTextClass.call(void 0, confidence) : config.color
|
|
25519
25519
|
)
|
|
25520
25520
|
}
|
|
25521
25521
|
),
|
|
@@ -25524,7 +25524,7 @@ var AIStatusIndicator = ({
|
|
|
25524
25524
|
{
|
|
25525
25525
|
className: _chunk3ATAYP36cjs.cn.call(void 0,
|
|
25526
25526
|
"text-h6",
|
|
25527
|
-
confidence !== void 0 && status === "success" ?
|
|
25527
|
+
confidence !== void 0 && status === "success" ? _chunkWIT36ZTNcjs.getConfidenceTextClass.call(void 0, confidence) : config.color
|
|
25528
25528
|
),
|
|
25529
25529
|
children: displayText
|
|
25530
25530
|
}
|
|
@@ -25534,8 +25534,8 @@ var AIStatusIndicator = ({
|
|
|
25534
25534
|
{
|
|
25535
25535
|
className: _chunk3ATAYP36cjs.cn.call(void 0,
|
|
25536
25536
|
"rounded-full border px-2 py-0.5 text-h6",
|
|
25537
|
-
|
|
25538
|
-
|
|
25537
|
+
_chunkWIT36ZTNcjs.getConfidenceBorderClass.call(void 0, confidence),
|
|
25538
|
+
_chunkWIT36ZTNcjs.getConfidenceTextClass.call(void 0, confidence)
|
|
25539
25539
|
),
|
|
25540
25540
|
children: confidenceLabel
|
|
25541
25541
|
}
|
|
@@ -26431,7 +26431,7 @@ function PoliciesTable({
|
|
|
26431
26431
|
cell: ({ row }) => row.original.href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "data-no-row-click": true, className: "pointer-events-auto flex items-center justify-end", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26432
26432
|
_chunk2QMBXGMQcjs.Button,
|
|
26433
26433
|
{
|
|
26434
|
-
onClick:
|
|
26434
|
+
onClick: _chunkWIT36ZTNcjs.openInNewTab.call(void 0, row.original.href),
|
|
26435
26435
|
variant: "outline",
|
|
26436
26436
|
size: "icon",
|
|
26437
26437
|
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkANTDIQKKcjs.ArrowRightUpIcon, { className: "h-5 w-5" }),
|
|
@@ -26757,7 +26757,7 @@ function TenantsTableView({
|
|
|
26757
26757
|
/* @__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,
|
|
26758
26758
|
_chunk2QMBXGMQcjs.Button,
|
|
26759
26759
|
{
|
|
26760
|
-
onClick:
|
|
26760
|
+
onClick: _chunkWIT36ZTNcjs.openInNewTab.call(void 0, getHref(row.original)),
|
|
26761
26761
|
variant: "outline",
|
|
26762
26762
|
size: "icon",
|
|
26763
26763
|
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkANTDIQKKcjs.ArrowRightUpIcon, { className: "h-5 w-5" }),
|
|
@@ -26838,7 +26838,7 @@ function WaitlistForm({
|
|
|
26838
26838
|
const { toast } = _chunkVUWPLQBYcjs.useToast.call(void 0, );
|
|
26839
26839
|
const { honeypotInputProps, getSignals, resetSignals } = _chunkVUWPLQBYcjs.useHumanitySignals.call(void 0, );
|
|
26840
26840
|
const [smsConsent, setSmsConsent] = _react.useState.call(void 0, false);
|
|
26841
|
-
const isClient =
|
|
26841
|
+
const isClient = _chunkSDF5UUTEcjs.useIsHydrated.call(void 0, );
|
|
26842
26842
|
const [isPhoneInvalid, setIsPhoneInvalid] = _react.useState.call(void 0, false);
|
|
26843
26843
|
const [showConsentError, setShowConsentError] = _react.useState.call(void 0, false);
|
|
26844
26844
|
const rescue = _chunkVUWPLQBYcjs.useFormRescue.call(void 0, {
|
|
@@ -26853,7 +26853,7 @@ function WaitlistForm({
|
|
|
26853
26853
|
_react.useEffect.call(void 0, () => {
|
|
26854
26854
|
rescue.track({ email, phone }, null);
|
|
26855
26855
|
}, [email, phone, rescue]);
|
|
26856
|
-
const isMailDomainGeneric =
|
|
26856
|
+
const isMailDomainGeneric = _chunkWIT36ZTNcjs.hasGenericEmailDomain.call(void 0, email);
|
|
26857
26857
|
const [syncedDefaultEmail, setSyncedDefaultEmail] = _react.useState.call(void 0, defaultEmail);
|
|
26858
26858
|
if (syncedDefaultEmail !== defaultEmail) {
|
|
26859
26859
|
setSyncedDefaultEmail(defaultEmail);
|
|
@@ -26887,7 +26887,7 @@ function WaitlistForm({
|
|
|
26887
26887
|
setShowConsentError(true);
|
|
26888
26888
|
return;
|
|
26889
26889
|
}
|
|
26890
|
-
const finalPhone = phone ?
|
|
26890
|
+
const finalPhone = phone ? _chunkWIT36ZTNcjs.formatPhoneE164.call(void 0, phone, countryCode) : void 0;
|
|
26891
26891
|
try {
|
|
26892
26892
|
await onRegister(email, finalPhone, getSignals(), rescue.submitFields());
|
|
26893
26893
|
rescue.complete();
|
|
@@ -29003,7 +29003,7 @@ function getDeviceStatusConfig(status) {
|
|
|
29003
29003
|
}
|
|
29004
29004
|
}
|
|
29005
29005
|
function getDeviceOperatingSystem(osType) {
|
|
29006
|
-
return
|
|
29006
|
+
return _chunkWIT36ZTNcjs.getOSPlatformId.call(void 0, osType);
|
|
29007
29007
|
}
|
|
29008
29008
|
|
|
29009
29009
|
// src/components/features/devices/device-statuses.ts
|
|
@@ -30558,7 +30558,7 @@ function DevicesPanelView({
|
|
|
30558
30558
|
actionsVariant: "icon-buttons",
|
|
30559
30559
|
className,
|
|
30560
30560
|
selector: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30561
|
-
|
|
30561
|
+
_chunkSDF5UUTEcjs.TabSelector,
|
|
30562
30562
|
{
|
|
30563
30563
|
value: viewMode,
|
|
30564
30564
|
onValueChange: (value) => _optionalChain([onViewModeChange, 'optionalCall', _655 => _655(value)]),
|
|
@@ -31074,10 +31074,10 @@ var ToolBadge = ({
|
|
|
31074
31074
|
className,
|
|
31075
31075
|
iconClassName
|
|
31076
31076
|
}) => {
|
|
31077
|
-
const text = _nullishCoalesce(label, () => ( (toolType ?
|
|
31077
|
+
const text = _nullishCoalesce(label, () => ( (toolType ? _chunkWIT36ZTNcjs.getToolLabel.call(void 0, toolType) : "")));
|
|
31078
31078
|
const mark = _nullishCoalesce(icon, () => ( (toolType ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWI2OTGKCcjs.ToolIcon, { toolType, className: iconClassName, size: 16 }) : null)));
|
|
31079
31079
|
const linked = (node, linkClassName) => href && targetPlatform ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31080
|
-
|
|
31080
|
+
_chunkSDF5UUTEcjs.NavLinkAnchorViaRuntime,
|
|
31081
31081
|
{
|
|
31082
31082
|
href,
|
|
31083
31083
|
targetPlatform,
|
|
@@ -31184,7 +31184,7 @@ function LogsTableView({
|
|
|
31184
31184
|
cell: ({ row }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31185
31185
|
ToolBadge,
|
|
31186
31186
|
{
|
|
31187
|
-
toolType:
|
|
31187
|
+
toolType: _chunkWIT36ZTNcjs.normalizeToolTypeWithFallback.call(void 0, row.original.source.toolType),
|
|
31188
31188
|
iconClassName: "h-4 w-4 content-md:h-6 content-md:w-6"
|
|
31189
31189
|
}
|
|
31190
31190
|
),
|
|
@@ -31196,7 +31196,7 @@ function LogsTableView({
|
|
|
31196
31196
|
filter: {
|
|
31197
31197
|
options: _nullishCoalesce(_optionalChain([facets, 'optionalAccess', _663 => _663.toolTypes, 'access', _664 => _664.map, 'call', _665 => _665((toolType) => ({
|
|
31198
31198
|
id: toolType,
|
|
31199
|
-
label:
|
|
31199
|
+
label: _chunkWIT36ZTNcjs.toToolLabel.call(void 0, toolType),
|
|
31200
31200
|
value: toolType
|
|
31201
31201
|
}))]), () => ( []))
|
|
31202
31202
|
}
|
|
@@ -31254,7 +31254,7 @@ function LogsTableView({
|
|
|
31254
31254
|
cell: ({ row }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "data-no-row-click": true, className: "pointer-events-auto flex items-center justify-end", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31255
31255
|
_chunk2QMBXGMQcjs.Button,
|
|
31256
31256
|
{
|
|
31257
|
-
onClick: getLogHref ?
|
|
31257
|
+
onClick: getLogHref ? _chunkWIT36ZTNcjs.openInNewTab.call(void 0, getLogHref(row.original)) : void 0,
|
|
31258
31258
|
variant: "outline",
|
|
31259
31259
|
size: "icon",
|
|
31260
31260
|
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkANTDIQKKcjs.ArrowRightUpIcon, { className: "h-5 w-5" }),
|
|
@@ -31629,7 +31629,7 @@ function OpenInNewTabCell({ href }) {
|
|
|
31629
31629
|
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,
|
|
31630
31630
|
_chunk2QMBXGMQcjs.Button,
|
|
31631
31631
|
{
|
|
31632
|
-
onClick:
|
|
31632
|
+
onClick: _chunkWIT36ZTNcjs.openInNewTab.call(void 0, href),
|
|
31633
31633
|
variant: "outline",
|
|
31634
31634
|
size: "icon",
|
|
31635
31635
|
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkANTDIQKKcjs.ArrowRightUpIcon, { className: "h-5 w-5" }),
|
|
@@ -31778,9 +31778,9 @@ function ScriptSchedulesTable({
|
|
|
31778
31778
|
|
|
31779
31779
|
// src/components/features/scripts/shell-types.ts
|
|
31780
31780
|
var SCRIPT_SHELL_TYPES = [
|
|
31781
|
-
{ id:
|
|
31782
|
-
{ id:
|
|
31783
|
-
{ id:
|
|
31781
|
+
{ id: _chunkWIT36ZTNcjs.ShellTypeValues.POWERSHELL, label: "PowerShell", value: "powershell", icon: _chunkMCQY746Mcjs.PowershellLogoGreyIcon },
|
|
31782
|
+
{ id: _chunkWIT36ZTNcjs.ShellTypeValues.CMD, label: "CMD", value: "cmd", icon: _chunkNIVJEJSGcjs.TerminalSquareIcon },
|
|
31783
|
+
{ id: _chunkWIT36ZTNcjs.ShellTypeValues.BASH, label: "Bash", value: "bash", icon: _chunkTRUW6DDAcjs.TerminalIcon }
|
|
31784
31784
|
];
|
|
31785
31785
|
function scriptShellType(value) {
|
|
31786
31786
|
return SCRIPT_SHELL_TYPES.find((shell) => shell.value === value);
|
|
@@ -33213,7 +33213,7 @@ function ScheduleFormFields({
|
|
|
33213
33213
|
disabled = false,
|
|
33214
33214
|
renderScriptSearch,
|
|
33215
33215
|
timeReferenceGate = "off",
|
|
33216
|
-
platforms =
|
|
33216
|
+
platforms = _chunkWIT36ZTNcjs.OS_PLATFORMS,
|
|
33217
33217
|
comingSoonPlatforms = [],
|
|
33218
33218
|
getTimeSlots,
|
|
33219
33219
|
nameLayout = "stacked",
|
|
@@ -33359,7 +33359,7 @@ function ScheduleFormFields({
|
|
|
33359
33359
|
// src/components/features/scripts/schedule-form/schedule-script-search-field.tsx
|
|
33360
33360
|
|
|
33361
33361
|
function ScriptPlatformIcons({ platforms }) {
|
|
33362
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "inline-flex shrink-0 items-center gap-0.5", children:
|
|
33362
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "inline-flex shrink-0 items-center gap-0.5", children: _chunkWIT36ZTNcjs.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)) });
|
|
33363
33363
|
}
|
|
33364
33364
|
function ScheduleScriptSearchField({
|
|
33365
33365
|
scriptId,
|
|
@@ -33432,7 +33432,7 @@ function getKnowledgeBaseOpenColumn(getHref) {
|
|
|
33432
33432
|
cell: ({ row }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "data-no-row-click": true, className: "pointer-events-auto flex items-center justify-end", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33433
33433
|
_chunk2QMBXGMQcjs.Button,
|
|
33434
33434
|
{
|
|
33435
|
-
onClick:
|
|
33435
|
+
onClick: _chunkWIT36ZTNcjs.openInNewTab.call(void 0, getHref(row.original)),
|
|
33436
33436
|
variant: "outline",
|
|
33437
33437
|
size: "icon",
|
|
33438
33438
|
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkANTDIQKKcjs.ArrowRightUpIcon, { className: "h-5 w-5" }),
|
|
@@ -33558,7 +33558,7 @@ function KnowledgeBaseArticleView({
|
|
|
33558
33558
|
className,
|
|
33559
33559
|
children: [
|
|
33560
33560
|
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, _chunkJHQNUWFMcjs.Tag, { label: tag.label, variant: "outline", className: "max-w-full" }, tag.id)) }),
|
|
33561
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33561
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7Z4EQOIXcjs.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: [
|
|
33562
33562
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-20 min-w-0 items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
33563
33563
|
author.deleted ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAG4HR6Z6cjs.DeletedUserAvatar, { size: "md" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33564
33564
|
_chunkJHQNUWFMcjs.SquareAvatar,
|
|
@@ -33680,13 +33680,13 @@ function ConversationCard({
|
|
|
33680
33680
|
),
|
|
33681
33681
|
style: tint,
|
|
33682
33682
|
children: [
|
|
33683
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33683
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWIT36ZTNcjs.ChatTurn, { avatar: requester.avatar, name: requester.name, meta: requester.meta, time: requester.time, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "p", { className: "m-0 line-clamp-2 min-h-[2lh] text-ods-text-primary text-h3", title: request, children: [
|
|
33684
33684
|
"\u201C",
|
|
33685
33685
|
request,
|
|
33686
33686
|
"\u201D"
|
|
33687
33687
|
] }) }),
|
|
33688
33688
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33689
|
-
|
|
33689
|
+
_chunkWIT36ZTNcjs.ChatTurn,
|
|
33690
33690
|
{
|
|
33691
33691
|
avatar: responder.avatar,
|
|
33692
33692
|
name: responder.name,
|
|
@@ -33919,7 +33919,7 @@ function CapabilityExplorer({
|
|
|
33919
33919
|
),
|
|
33920
33920
|
children: [
|
|
33921
33921
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-3", children: [
|
|
33922
|
-
item.iconName && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex size-9 shrink-0 items-center justify-center rounded-lg border border-ods-border bg-ods-bg text-ods-flamingo-cyan", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33922
|
+
item.iconName && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex size-9 shrink-0 items-center justify-center rounded-lg border border-ods-border bg-ods-bg text-ods-flamingo-cyan", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7Z4EQOIXcjs.EntityIcon, { icon: { name: item.iconName }, size: 18 }) }),
|
|
33923
33923
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "min-w-0 flex-1", children: [
|
|
33924
33924
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "h3", { className: "flex min-w-0 items-center gap-2 text-ods-text-primary text-h4", children: [
|
|
33925
33925
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.TruncateText, { as: "span", variant: "h4", triggerClassName: "flex-1", children: item.title }),
|
|
@@ -34003,7 +34003,7 @@ function CapabilityExplorer({
|
|
|
34003
34003
|
"flex size-9 shrink-0 items-center justify-center rounded-lg border border-ods-border bg-ods-bg",
|
|
34004
34004
|
selected ? "text-ods-flamingo-cyan" : "text-ods-text-secondary"
|
|
34005
34005
|
),
|
|
34006
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
34006
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7Z4EQOIXcjs.EntityIcon, { icon: { name: item.iconName }, size: 18 })
|
|
34007
34007
|
}
|
|
34008
34008
|
),
|
|
34009
34009
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "min-w-0 flex-1", children: [
|