@flamingo-stack/openframe-frontend-core 0.0.769 → 0.0.770
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-3AZZFTT6.cjs → chunk-37XVY2RE.cjs} +4 -4
- package/dist/{chunk-QC47HVA4.cjs → chunk-4BRO3RZ6.cjs} +54 -54
- package/dist/{chunk-L5WSNX4H.cjs → chunk-BZLHU4EK.cjs} +113 -113
- package/dist/{chunk-EZTHTSWZ.cjs → chunk-C66DWLCR.cjs} +31 -31
- package/dist/{chunk-UIXWG2IW.cjs → chunk-DCBZMWLY.cjs} +9 -9
- package/dist/{chunk-5HWBW7WU.cjs → chunk-HK6UQVOI.cjs} +6 -6
- package/dist/{chunk-2TS3FEPQ.cjs → chunk-I2TSCJT2.cjs} +4 -4
- package/dist/{chunk-SV6K7ZLA.cjs → chunk-MFRIFVDV.cjs} +39 -39
- package/dist/{chunk-ZXFOMNI5.cjs → chunk-NZELWPKO.cjs} +1 -1
- package/dist/{chunk-IEPWXEA6.cjs → chunk-Q575DR36.cjs} +17 -17
- package/dist/{chunk-YTPEJIAO.cjs → chunk-QMUKTHWM.cjs} +3 -3
- package/dist/{chunk-5O6PHVKO.cjs → chunk-QSLKTDZ4.cjs} +4 -4
- package/dist/{chunk-D45Q3WEP.cjs → chunk-S5EUREOB.cjs} +3 -3
- package/dist/{chunk-DEJB5WHZ.cjs → chunk-SL7KFZWJ.cjs} +10 -10
- package/dist/{chunk-BIHMMGRP.cjs → chunk-TBKXXMBU.cjs} +54 -53
- package/dist/{chunk-VVBRYOSI.cjs → chunk-VATCQOVC.cjs} +11 -11
- package/dist/{chunk-GGORS7G6.cjs → chunk-VL44GB2I.cjs} +7 -7
- package/dist/{chunk-UBPSA3RM.cjs → chunk-WUYL4BMD.cjs} +17 -17
- package/dist/{cloud-tenants-3BEIT4LX.cjs → cloud-tenants-IAZQL2JF.cjs} +4 -4
- package/dist/components/case-studies/index.cjs +17 -17
- package/dist/components/chat/index.cjs +3 -3
- package/dist/components/contact/index.cjs +5 -5
- package/dist/components/docs/index.cjs +8 -8
- package/dist/components/embeds/index.cjs +5 -5
- package/dist/components/faq/index.cjs +6 -6
- package/dist/components/features/index.cjs +4 -4
- package/dist/components/help-center-pages/index.cjs +61 -61
- package/dist/components/index.cjs +38 -38
- package/dist/components/meeting-scheduler/index.cjs +27 -27
- package/dist/components/navigation/index.cjs +7 -7
- package/dist/components/onboarding-guides/index.cjs +6 -6
- package/dist/components/product-demo/index.cjs +13 -13
- package/dist/components/shared/roadmap/roadmap-grid-skeleton.d.ts.map +1 -1
- package/dist/components/shared/roadmap/roadmap-grid-skeleton.js +1 -1
- package/dist/components/shared/roadmap/roadmap-grid.d.ts.map +1 -1
- package/dist/components/shared/roadmap/roadmap-grid.js +6 -5
- package/dist/components/tickets/index.cjs +9 -9
- package/dist/components/ui/index.cjs +4 -4
- package/dist/components/ui/markdown/engine.d.ts.map +1 -1
- package/dist/components/ui/markdown/engine.js +1 -1
- package/dist/{devices-ZCOK24D4.cjs → devices-7FDK2CGV.cjs} +5 -5
- package/dist/{embeddable-chat-BXEK3SPJ.cjs → embeddable-chat-3FR2RCHM.cjs} +66 -66
- package/dist/index.cjs +8 -8
- package/dist/{knowledge-W47QGTEK.cjs → knowledge-ZLHYBG4L.cjs} +5 -5
- package/dist/{logs-3DMPE2TM.cjs → logs-G6AFN7A6.cjs} +12 -12
- package/dist/{policies-UWHW765K.cjs → policies-SEOK4IQO.cjs} +8 -8
- package/dist/{scripts-BH7V2ZC4.cjs → scripts-HH4YVUBO.cjs} +9 -9
- package/dist/{software-update-W6AAGJ2H.cjs → software-update-4A3XJZQB.cjs} +7 -7
- package/package.json +1 -1
- package/src/components/shared/roadmap/roadmap-grid-skeleton.tsx +3 -1
- package/src/components/shared/roadmap/roadmap-grid.tsx +13 -9
- package/src/components/ui/markdown/engine.tsx +6 -1
|
@@ -116,7 +116,7 @@ var _chunkC42WIUH6cjs = require('./chunk-C42WIUH6.cjs');
|
|
|
116
116
|
|
|
117
117
|
|
|
118
118
|
|
|
119
|
-
var
|
|
119
|
+
var _chunkWUYL4BMDcjs = require('./chunk-WUYL4BMD.cjs');
|
|
120
120
|
|
|
121
121
|
|
|
122
122
|
|
|
@@ -139,7 +139,7 @@ var _chunkUBPSA3RMcjs = require('./chunk-UBPSA3RM.cjs');
|
|
|
139
139
|
|
|
140
140
|
|
|
141
141
|
|
|
142
|
-
var
|
|
142
|
+
var _chunkNZELWPKOcjs = require('./chunk-NZELWPKO.cjs');
|
|
143
143
|
|
|
144
144
|
|
|
145
145
|
|
|
@@ -695,7 +695,7 @@ function ThemeProvider({ children, ...overrides }) {
|
|
|
695
695
|
var useTheme = _nextthemes.useTheme;
|
|
696
696
|
function useThemeToggle() {
|
|
697
697
|
const { resolvedTheme, theme, setTheme } = useTheme();
|
|
698
|
-
const mounted =
|
|
698
|
+
const mounted = _chunkNZELWPKOcjs.useIsHydrated.call(void 0, );
|
|
699
699
|
const active = mounted ? resolvedTheme === "light" || theme === "light" ? "light" : "dark" : DEFAULT_THEME;
|
|
700
700
|
const setOdsTheme = _react.useCallback.call(void 0, (next) => setTheme(next), [setTheme]);
|
|
701
701
|
const toggle = _react.useCallback.call(void 0, () => setTheme(active === "dark" ? "light" : "dark"), [active, setTheme]);
|
|
@@ -4521,7 +4521,7 @@ function AdminFormDrawer({
|
|
|
4521
4521
|
"form",
|
|
4522
4522
|
{
|
|
4523
4523
|
id: formId,
|
|
4524
|
-
...
|
|
4524
|
+
..._chunkWUYL4BMDcjs.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS,
|
|
4525
4525
|
className: "flex flex-col gap-[var(--spacing-system-lf)]",
|
|
4526
4526
|
onSubmit: (e) => {
|
|
4527
4527
|
e.preventDefault();
|
|
@@ -4628,7 +4628,7 @@ function AdminFormModal({
|
|
|
4628
4628
|
"form",
|
|
4629
4629
|
{
|
|
4630
4630
|
id: formId,
|
|
4631
|
-
...
|
|
4631
|
+
..._chunkWUYL4BMDcjs.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS,
|
|
4632
4632
|
className: "flex min-h-0 flex-1 flex-col",
|
|
4633
4633
|
onSubmit: (e) => {
|
|
4634
4634
|
e.preventDefault();
|
|
@@ -6018,7 +6018,7 @@ function EmbedViewerFrame({
|
|
|
6018
6018
|
const controllerRef = _react.useRef.call(void 0, null);
|
|
6019
6019
|
_react.useEffect.call(void 0, () => {
|
|
6020
6020
|
if (!fullscreenControl) return void 0;
|
|
6021
|
-
const controller = new (0,
|
|
6021
|
+
const controller = new (0, _chunkWUYL4BMDcjs.FullscreenSwitchController)({
|
|
6022
6022
|
target: () => frameRef.current,
|
|
6023
6023
|
onFullscreenChange: setIsFullscreen
|
|
6024
6024
|
});
|
|
@@ -7257,7 +7257,7 @@ var formatTimeAgo = (timestamp) => {
|
|
|
7257
7257
|
return `${Math.floor(diffSeconds / 86400)}d ago`;
|
|
7258
7258
|
};
|
|
7259
7259
|
function RedditEmbedClient({ url, maxWidth = 700, rel }) {
|
|
7260
|
-
const postLinkRel =
|
|
7260
|
+
const postLinkRel = _chunkNZELWPKOcjs.renderedLinkRel.call(void 0, rel, true);
|
|
7261
7261
|
const { redditProxyUrl } = useRichMarkdownRuntime();
|
|
7262
7262
|
const [redditData, setRedditData] = _react.useState.call(void 0, null);
|
|
7263
7263
|
const [loading, setLoading] = _react.useState.call(void 0, true);
|
|
@@ -7589,7 +7589,7 @@ var UserIcon3 = () => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "svg", { wid
|
|
|
7589
7589
|
] });
|
|
7590
7590
|
var XIcon = () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2TEMEXDTcjs.XLogoIcon, { className: "h-5 w-5", color: "currentColor" });
|
|
7591
7591
|
function TwitterEmbedClient({ url, tweetId, maxWidth = 700, rel }) {
|
|
7592
|
-
const postLinkRel =
|
|
7592
|
+
const postLinkRel = _chunkNZELWPKOcjs.renderedLinkRel.call(void 0, rel, true);
|
|
7593
7593
|
const { twitterProxyUrl } = useRichMarkdownRuntime();
|
|
7594
7594
|
const [tweetData, setTweetData] = _react.useState.call(void 0, null);
|
|
7595
7595
|
const [fetchLoading, setLoading] = _react.useState.call(void 0, true);
|
|
@@ -7791,7 +7791,7 @@ function buildRichEmbedOverrides({
|
|
|
7791
7791
|
ogEndpointPath,
|
|
7792
7792
|
textSizes
|
|
7793
7793
|
}) {
|
|
7794
|
-
const standard =
|
|
7794
|
+
const standard = _chunkNZELWPKOcjs.buildStandardLeafRenderers.call(void 0, { textSizes });
|
|
7795
7795
|
return {
|
|
7796
7796
|
// Fence-language embeds (```youtube-embed etc.); everything else
|
|
7797
7797
|
// (mermaid, highlighted blocks, inline code) falls through to `standard`.
|
|
@@ -7927,14 +7927,14 @@ function buildRichEmbedOverrides({
|
|
|
7927
7927
|
// rich-markdown runtime (Supabase optimization on the hub, identity
|
|
7928
7928
|
// elsewhere). Guard against empty `![]()`.
|
|
7929
7929
|
img: ({ src, alt }) => {
|
|
7930
|
-
if (!
|
|
7930
|
+
if (!_chunkNZELWPKOcjs.hasRenderableSrc.call(void 0, src)) return null;
|
|
7931
7931
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MarkdownImage, { src: src.trim(), alt });
|
|
7932
7932
|
},
|
|
7933
7933
|
// Raw <iframe> tags in stored content (a pasted YouTube embed). A YouTube one becomes the same click-to-play
|
|
7934
7934
|
// facade as the `youtube-embed` fence: the raw iframe loaded YouTube's whole player (about 470 KB of script) with
|
|
7935
7935
|
// the page, on every post that carried one (CU-17tkuw5xp4q). Any other iframe loads when it nears the screen.
|
|
7936
7936
|
iframe: ({ node: _node, src, ...rest }) => {
|
|
7937
|
-
if (!
|
|
7937
|
+
if (!_chunkNZELWPKOcjs.hasRenderableSrc.call(void 0, src)) return null;
|
|
7938
7938
|
const url = src.trim();
|
|
7939
7939
|
if (_chunk4EJU462Ocjs.extractYouTubeId.call(void 0, url)) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4EJU462Ocjs.Video, { kind: "youtube", url });
|
|
7940
7940
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "iframe", { ...rest, src: url, loading: "lazy" });
|
|
@@ -7942,7 +7942,7 @@ function buildRichEmbedOverrides({
|
|
|
7942
7942
|
// Raw <video> tags in stored content (blog publisher injection) route
|
|
7943
7943
|
// to the <Video> SSOT (MuxPlayer) so HLS manifests play everywhere.
|
|
7944
7944
|
video: ({ src, poster, className }) => {
|
|
7945
|
-
if (!
|
|
7945
|
+
if (!_chunkNZELWPKOcjs.hasRenderableSrc.call(void 0, src)) return null;
|
|
7946
7946
|
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, _chunk4EJU462Ocjs.Video, { kind: "file", url: src.trim(), poster: typeof poster === "string" ? poster : void 0 }) }) });
|
|
7947
7947
|
}
|
|
7948
7948
|
};
|
|
@@ -8051,7 +8051,7 @@ var processShortcodes = (content) => {
|
|
|
8051
8051
|
try {
|
|
8052
8052
|
const urlObj = new URL(url);
|
|
8053
8053
|
const hostname = urlObj.hostname.toLowerCase();
|
|
8054
|
-
const hostIs = (domain) =>
|
|
8054
|
+
const hostIs = (domain) => _chunkWUYL4BMDcjs.hostMatches.call(void 0, hostname, domain);
|
|
8055
8055
|
const isYouTubeVideo = hostIs("youtube.com") && urlObj.searchParams.has("v") || hostIs("youtu.be");
|
|
8056
8056
|
if (isYouTubeVideo || hostIs("reddit.com") || hostIs("twitter.com") || hostIs("x.com") || hostIs("figma.com")) {
|
|
8057
8057
|
return match;
|
|
@@ -8128,13 +8128,13 @@ var RichMarkdownInner = ({
|
|
|
8128
8128
|
},
|
|
8129
8129
|
[resolveLinkEndpointUrl, resolveSource]
|
|
8130
8130
|
);
|
|
8131
|
-
const textSizes = _react.useMemo.call(void 0, () =>
|
|
8131
|
+
const textSizes = _react.useMemo.call(void 0, () => _chunkNZELWPKOcjs.resolveTextSizeConfig.call(void 0, "article"), []);
|
|
8132
8132
|
const componentOverrides = _react.useMemo.call(void 0,
|
|
8133
8133
|
() => buildRichEmbedOverrides({ ogApiBaseUrl, ogEndpointPath, textSizes }),
|
|
8134
8134
|
[ogApiBaseUrl, ogEndpointPath, textSizes]
|
|
8135
8135
|
);
|
|
8136
8136
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8137
|
-
|
|
8137
|
+
_chunkNZELWPKOcjs.MarkdownEngine,
|
|
8138
8138
|
{
|
|
8139
8139
|
content,
|
|
8140
8140
|
className,
|
|
@@ -8158,7 +8158,7 @@ var RichMarkdownRendererImpl = ({
|
|
|
8158
8158
|
className = "",
|
|
8159
8159
|
sectionIds,
|
|
8160
8160
|
onInternalLinkClick,
|
|
8161
|
-
brokenLinks =
|
|
8161
|
+
brokenLinks = _chunkNZELWPKOcjs.NO_BROKEN_LINKS,
|
|
8162
8162
|
currentPath,
|
|
8163
8163
|
resolveSource = "openframe-docs",
|
|
8164
8164
|
resolveLinkEndpointUrl = "/api/docs/resolve-link",
|
|
@@ -8203,7 +8203,7 @@ function RichMarkdownRendererSkeleton({
|
|
|
8203
8203
|
title,
|
|
8204
8204
|
className
|
|
8205
8205
|
}) {
|
|
8206
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8206
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNZELWPKOcjs.MarkdownEngineSkeleton, { sections, title, textSize: "article", className });
|
|
8207
8207
|
}
|
|
8208
8208
|
|
|
8209
8209
|
// src/components/ui/release-changelog-section.tsx
|
|
@@ -9288,7 +9288,7 @@ function FilterModal({
|
|
|
9288
9288
|
const dateDefaultSort = _nullishCoalesce(_optionalChain([dateFilter, 'optionalAccess', _147 => _147.defaultSort]), () => ( "desc"));
|
|
9289
9289
|
const [draftDateSort, setDraftDateSort] = _react.useState.call(void 0, _nullishCoalesce(_optionalChain([dateFilter, 'optionalAccess', _148 => _148.sort]), () => ( dateDefaultSort)));
|
|
9290
9290
|
const [draftDateRange, setDraftDateRange] = _react.useState.call(void 0, _optionalChain([dateFilter, 'optionalAccess', _149 => _149.range]));
|
|
9291
|
-
const { scrollRef, fadeTop, fadeBottom, update: updateFade } =
|
|
9291
|
+
const { scrollRef, fadeTop, fadeBottom, update: updateFade } = _chunkNZELWPKOcjs.useScrollFade.call(void 0, );
|
|
9292
9292
|
const seedKey = `${JSON.stringify(currentFilters)}|${JSON.stringify(_nullishCoalesce(selectedTags, () => ( [])))}`;
|
|
9293
9293
|
const seedSourceRef = _react.useRef.call(void 0, { currentFilters, selectedTags, dateFilter, dateDefaultSort });
|
|
9294
9294
|
_react.useEffect.call(void 0, () => {
|
|
@@ -9434,8 +9434,8 @@ function FilterModal({
|
|
|
9434
9434
|
] })
|
|
9435
9435
|
}
|
|
9436
9436
|
),
|
|
9437
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9438
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9437
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNZELWPKOcjs.ScrollFadeOverlay, { edge: "top", visible: fadeTop }),
|
|
9438
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNZELWPKOcjs.ScrollFadeOverlay, { edge: "bottom", visible: fadeBottom })
|
|
9439
9439
|
] })
|
|
9440
9440
|
}
|
|
9441
9441
|
),
|
|
@@ -9929,7 +9929,7 @@ var BenefitCardGrid = ({ children, className = "", columns = 2 }) => {
|
|
|
9929
9929
|
|
|
9930
9930
|
|
|
9931
9931
|
function PlatformBrowseButton({ item }) {
|
|
9932
|
-
const linkProps =
|
|
9932
|
+
const linkProps = _chunkNZELWPKOcjs.useNavLinkViaRuntime.call(void 0, { href: item.link, targetPlatform: item.targetPlatform });
|
|
9933
9933
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkTF5D5MNOcjs.Button, { variant: "outline", linkProps, rightIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ExternalLink, { className: "h-4 w-4" }), children: [
|
|
9934
9934
|
"Browse ",
|
|
9935
9935
|
item.buttonText
|
|
@@ -10426,10 +10426,10 @@ var OSTypeBadge = ({
|
|
|
10426
10426
|
if (!osType) {
|
|
10427
10427
|
return labelOnly ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk65VVJSQZcjs.cn.call(void 0, "text-ods-text-secondary", className), children: "Unknown" }) : null;
|
|
10428
10428
|
}
|
|
10429
|
-
const normalized =
|
|
10429
|
+
const normalized = _chunkWUYL4BMDcjs.normalizeOSType.call(void 0, osType);
|
|
10430
10430
|
if (!normalized && !labelOnly) return null;
|
|
10431
|
-
const label =
|
|
10432
|
-
const IconComponent =
|
|
10431
|
+
const label = _chunkWUYL4BMDcjs.getOSLabel.call(void 0, osType);
|
|
10432
|
+
const IconComponent = _chunkWUYL4BMDcjs.getOSIcon.call(void 0, osType);
|
|
10433
10433
|
if (iconOnly && IconComponent) {
|
|
10434
10434
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, IconComponent, { className: _chunk65VVJSQZcjs.cn.call(void 0, iconSize, "text-ods-text-secondary", className) });
|
|
10435
10435
|
}
|
|
@@ -10714,7 +10714,7 @@ function ComplianceLogo({
|
|
|
10714
10714
|
fallback = null,
|
|
10715
10715
|
className
|
|
10716
10716
|
}) {
|
|
10717
|
-
const standard =
|
|
10717
|
+
const standard = _chunkWUYL4BMDcjs.complianceStandardForName.call(void 0, ...names);
|
|
10718
10718
|
if (!standard) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: fallback });
|
|
10719
10719
|
const Official = standard.logo ? COMPLIANCE_LOGOS[standard.logo] : null;
|
|
10720
10720
|
return Official ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -12494,7 +12494,7 @@ function TableHeader({
|
|
|
12494
12494
|
onFilterChange
|
|
12495
12495
|
}
|
|
12496
12496
|
),
|
|
12497
|
-
column.hint ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12497
|
+
column.hint ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWUYL4BMDcjs.InfoHint, { label: column.label, children: column.hint }) : null
|
|
12498
12498
|
] })
|
|
12499
12499
|
) : (
|
|
12500
12500
|
/* Non-filterable column — regular label with optional sort */
|
|
@@ -12520,7 +12520,7 @@ function TableHeader({
|
|
|
12520
12520
|
hint exists, so a hint-less header keeps its DOM. */
|
|
12521
12521
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 items-start gap-[var(--spacing-system-xxs)]", children: [
|
|
12522
12522
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: TABLE_HEADER_LABEL_CLASS, children: column.label }),
|
|
12523
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12523
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWUYL4BMDcjs.InfoHint, { label: column.label, children: column.hint })
|
|
12524
12524
|
] })
|
|
12525
12525
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: TABLE_HEADER_LABEL_CLASS, children: column.label }),
|
|
12526
12526
|
getSortIcon(column)
|
|
@@ -12630,7 +12630,7 @@ function TableRow({
|
|
|
12630
12630
|
const Row = animate && motionDiv ? motionDiv : "div";
|
|
12631
12631
|
const motionProps = animate ? { layout: "position", transition: { layout: { duration: 0.35, ease: [0.22, 1, 0.36, 1] } } } : {};
|
|
12632
12632
|
const handleRowClick = (e) => {
|
|
12633
|
-
if (!
|
|
12633
|
+
if (!_chunkWUYL4BMDcjs.isOwnClick.call(void 0, e.target, e.currentTarget)) return;
|
|
12634
12634
|
if (onClick) {
|
|
12635
12635
|
onClick(item);
|
|
12636
12636
|
}
|
|
@@ -13408,7 +13408,7 @@ function DataTableRowImpl({
|
|
|
13408
13408
|
const containerRef = _react.useRef.call(void 0, null);
|
|
13409
13409
|
const handleClick = _react.useCallback.call(void 0,
|
|
13410
13410
|
(e) => {
|
|
13411
|
-
if (!
|
|
13411
|
+
if (!_chunkWUYL4BMDcjs.isOwnClick.call(void 0, e.target, containerRef.current)) {
|
|
13412
13412
|
if (isLinkMode) e.preventDefault();
|
|
13413
13413
|
return;
|
|
13414
13414
|
}
|
|
@@ -13858,7 +13858,7 @@ function HeaderCell({ header, sort, onSortChange }) {
|
|
|
13858
13858
|
// child of the cell.
|
|
13859
13859
|
_optionalChain([meta, 'optionalAccess', _232 => _232.hint]) ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start gap-[var(--spacing-system-xxs)]", children: [
|
|
13860
13860
|
filterTrigger,
|
|
13861
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13861
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWUYL4BMDcjs.InfoHint, { label: resolveHeaderLabel(header), children: meta.hint })
|
|
13862
13862
|
] }) : filterTrigger
|
|
13863
13863
|
) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
13864
13864
|
"div",
|
|
@@ -13883,7 +13883,7 @@ function HeaderCell({ header, sort, onSortChange }) {
|
|
|
13883
13883
|
// centred on the row.
|
|
13884
13884
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 items-start gap-[var(--spacing-system-xxs)]", children: [
|
|
13885
13885
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, HeaderLabel, { header }),
|
|
13886
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13886
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWUYL4BMDcjs.InfoHint, { label: resolveHeaderLabel(header), children: meta.hint })
|
|
13887
13887
|
] })
|
|
13888
13888
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, HeaderLabel, { header }),
|
|
13889
13889
|
canSort && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SortIcon, { sorted: sortDir })
|
|
@@ -14115,7 +14115,7 @@ function PhoneInput({
|
|
|
14115
14115
|
placeholder = "Phone Number (optional)",
|
|
14116
14116
|
onKeyDown
|
|
14117
14117
|
}) {
|
|
14118
|
-
const { priority, others } = _react.useMemo.call(void 0, () =>
|
|
14118
|
+
const { priority, others } = _react.useMemo.call(void 0, () => _chunkWUYL4BMDcjs.getCountryPhoneData.call(void 0, ), []);
|
|
14119
14119
|
const selectedCountry = _react.useMemo.call(void 0,
|
|
14120
14120
|
() => [...priority, ...others].find((c) => c.code === countryCode),
|
|
14121
14121
|
[countryCode, priority, others]
|
|
@@ -14130,7 +14130,7 @@ function PhoneInput({
|
|
|
14130
14130
|
_optionalChain([onValidationChange, 'optionalCall', _246 => _246(false)]);
|
|
14131
14131
|
return;
|
|
14132
14132
|
}
|
|
14133
|
-
const invalid = !
|
|
14133
|
+
const invalid = !_chunkWUYL4BMDcjs.validatePhoneNumber.call(void 0, phone, countryCode);
|
|
14134
14134
|
setIsInvalid(invalid);
|
|
14135
14135
|
_optionalChain([onValidationChange, 'optionalCall', _247 => _247(invalid)]);
|
|
14136
14136
|
},
|
|
@@ -14995,7 +14995,7 @@ function MarkdownLinkDialog({ isOpen, initial, editing, onSubmit, onRemove, onCl
|
|
|
14995
14995
|
),
|
|
14996
14996
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-xsf)]", children: [
|
|
14997
14997
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14998
|
-
|
|
14998
|
+
_chunkNZELWPKOcjs.TabSelector,
|
|
14999
14999
|
{
|
|
15000
15000
|
label: "Search engines",
|
|
15001
15001
|
value: choice,
|
|
@@ -15052,7 +15052,7 @@ function useMarkdownLinkCommand() {
|
|
|
15052
15052
|
buttonProps: { "aria-label": "Add or edit a link (ctrl + l)", title: "Add or edit a link (ctrl + l)" },
|
|
15053
15053
|
icon: command.icon,
|
|
15054
15054
|
execute: (state, api) => {
|
|
15055
|
-
const existing =
|
|
15055
|
+
const existing = _chunkNZELWPKOcjs.findMarkdownLinkAt.call(void 0, state.text, state.selection.start, state.selection.end);
|
|
15056
15056
|
setPending(
|
|
15057
15057
|
existing ? {
|
|
15058
15058
|
api,
|
|
@@ -15083,7 +15083,7 @@ function useMarkdownLinkCommand() {
|
|
|
15083
15083
|
initial: _nullishCoalesce(_optionalChain([pending, 'optionalAccess', _304 => _304.initial]), () => ( EMPTY_LINK)),
|
|
15084
15084
|
editing: _nullishCoalesce(_optionalChain([pending, 'optionalAccess', _305 => _305.editing]), () => ( false)),
|
|
15085
15085
|
onSubmit: (link) => {
|
|
15086
|
-
if (pending) write(pending,
|
|
15086
|
+
if (pending) write(pending, _chunkNZELWPKOcjs.formatMarkdownLink.call(void 0, link));
|
|
15087
15087
|
},
|
|
15088
15088
|
onRemove: () => {
|
|
15089
15089
|
if (pending) write(pending, pending.initial.text);
|
|
@@ -16408,7 +16408,7 @@ var SKELETON_COLUMNS = 6;
|
|
|
16408
16408
|
function TestResultsSkeleton({
|
|
16409
16409
|
region = true
|
|
16410
16410
|
} = {}) {
|
|
16411
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWEANWBJHcjs.LoadingRegion, { label: "Loading the test results", announce: region, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16411
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWEANWBJHcjs.LoadingRegion, { label: "Loading the test results", announce: region, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNZELWPKOcjs.ScrollShadow, { axis: "horizontal", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-max min-w-full flex-col", children: [
|
|
16412
16412
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-mf)] px-[var(--spacing-system-mf)]", children: Array.from({ length: SKELETON_COLUMNS }).map((_, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-12 w-[160px] shrink-0 items-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXFRBEXQNcjs.UnifiedSkeleton, { className: "h-4 w-3/4 rounded-sm" }) }, `skeleton-header-${i}`)) }),
|
|
16413
16413
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "overflow-hidden rounded-[6px] border border-ods-border bg-ods-card", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-[66px] items-center gap-[var(--spacing-system-mf)] px-[var(--spacing-system-mf)] content-md:h-[78px]", children: Array.from({ length: SKELETON_COLUMNS }).map((_, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-[160px] shrink-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXFRBEXQNcjs.UnifiedSkeleton, { className: "h-5 w-3/4 rounded-sm" }) }, `skeleton-cell-${i}`)) }) })
|
|
16414
16414
|
] }) }) });
|
|
@@ -16443,7 +16443,7 @@ function TestResultsTable({ rows, loading }) {
|
|
|
16443
16443
|
if (loading) {
|
|
16444
16444
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TestResultsSkeleton, {});
|
|
16445
16445
|
}
|
|
16446
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16446
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNZELWPKOcjs.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: [
|
|
16447
16447
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DataTable.Header, { className: "flex flex-col" }),
|
|
16448
16448
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DataTable.Body, { loading: false })
|
|
16449
16449
|
] }) }) });
|
|
@@ -16926,7 +16926,7 @@ function TicketInfoSection({
|
|
|
16926
16926
|
expanded && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
16927
16927
|
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" }) }),
|
|
16928
16928
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-4 border-b border-ods-border bg-ods-bg p-4", children: [
|
|
16929
|
-
description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16929
|
+
description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNZELWPKOcjs.SimpleMarkdownRenderer, { content: description }),
|
|
16930
16930
|
attachments && attachments.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketDetailSection, { label: "Attachments", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketAttachmentsList, { attachments }) }),
|
|
16931
16931
|
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, _chunkHY6BCZH7cjs.Tag, { label: tag, variant: "outline", className: "max-w-full" }, tag)) }) }),
|
|
16932
16932
|
(notes || onAddNote) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketDetailSection, { label: "Notes", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -17395,7 +17395,7 @@ function PhotoWall({
|
|
|
17395
17395
|
gap: COLUMN_GAP_PX
|
|
17396
17396
|
};
|
|
17397
17397
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: rootRef, "aria-hidden": "true", className: _chunk65VVJSQZcjs.cn.call(void 0, "grid overflow-hidden", className), style: gridStyle, children: columnsToDraw ? columnsToDraw.map((column, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17398
|
-
|
|
17398
|
+
_chunkNZELWPKOcjs.MarqueeWall,
|
|
17399
17399
|
{
|
|
17400
17400
|
axis: "y",
|
|
17401
17401
|
reverse: index % 2 === 1,
|
|
@@ -17942,7 +17942,7 @@ var TRIAL_TERM_ICONS = {
|
|
|
17942
17942
|
};
|
|
17943
17943
|
var DEFAULT_TRIAL_TERMS = ["cancel", "length", "noContract"];
|
|
17944
17944
|
function trialBenefits(trialDays, terms = DEFAULT_TRIAL_TERMS) {
|
|
17945
|
-
const labels =
|
|
17945
|
+
const labels = _chunkWUYL4BMDcjs.trialLabels.call(void 0, trialDays);
|
|
17946
17946
|
return terms.flatMap((term) => {
|
|
17947
17947
|
const label = labels[term];
|
|
17948
17948
|
return label ? [{ icon: TRIAL_TERM_ICONS[term], label }] : [];
|
|
@@ -22268,7 +22268,7 @@ var MODEL_TOKEN_RATES_COPY = {
|
|
|
22268
22268
|
empty: "No token rates are in effect right now."
|
|
22269
22269
|
};
|
|
22270
22270
|
function providerMark(providerType, stated, className) {
|
|
22271
|
-
const Mark = _chunk5P4TDV7Vcjs.findIcon.call(void 0,
|
|
22271
|
+
const Mark = _chunk5P4TDV7Vcjs.findIcon.call(void 0, _chunkWUYL4BMDcjs.aiProvider.call(void 0, providerType, { icon: stated }).icon);
|
|
22272
22272
|
return Mark ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Mark, { className }) : void 0;
|
|
22273
22273
|
}
|
|
22274
22274
|
var PAD_X = "px-[var(--spacing-system-s)]";
|
|
@@ -22286,7 +22286,7 @@ var UNIT_LINE_CLASS = _chunk65VVJSQZcjs.cn.call(void 0,
|
|
|
22286
22286
|
var TABS_ROW_CLASS = _chunk65VVJSQZcjs.cn.call(void 0, "shrink-0 border-b border-ods-border py-[var(--spacing-system-xs)]", PAD_X);
|
|
22287
22287
|
var NUMBER_CELL = "w-16 shrink-0 whitespace-nowrap text-right tabular-nums";
|
|
22288
22288
|
function useProviderGroup(rates) {
|
|
22289
|
-
const groups =
|
|
22289
|
+
const groups = _chunkWUYL4BMDcjs.groupTokenRatesByProvider.call(void 0, rates);
|
|
22290
22290
|
const [picked, setPicked] = _react.useState.call(void 0, null);
|
|
22291
22291
|
return { groups, group: _nullishCoalesce(groups.find((candidate) => candidate.providerType === picked), () => ( groups[0])), setPicked };
|
|
22292
22292
|
}
|
|
@@ -22297,7 +22297,7 @@ function ProviderTabs({
|
|
|
22297
22297
|
className
|
|
22298
22298
|
}) {
|
|
22299
22299
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22300
|
-
|
|
22300
|
+
_chunkNZELWPKOcjs.TabSelector,
|
|
22301
22301
|
{
|
|
22302
22302
|
variant: "secondary",
|
|
22303
22303
|
scrollable: true,
|
|
@@ -22305,7 +22305,7 @@ function ProviderTabs({
|
|
|
22305
22305
|
onValueChange,
|
|
22306
22306
|
items: groups.map((candidate) => ({
|
|
22307
22307
|
id: candidate.providerType,
|
|
22308
|
-
label:
|
|
22308
|
+
label: _chunkWUYL4BMDcjs.tokenRateProviderLabel.call(void 0, candidate.providerType, _optionalChain([candidate, 'access', _447 => _447.rates, 'access', _448 => _448[0], 'optionalAccess', _449 => _449.providerLabel])),
|
|
22309
22309
|
icon: providerMark(candidate.providerType, _optionalChain([candidate, 'access', _450 => _450.rates, 'access', _451 => _451[0], 'optionalAccess', _452 => _452.providerIcon]), "size-full")
|
|
22310
22310
|
})),
|
|
22311
22311
|
className
|
|
@@ -22383,8 +22383,8 @@ function ModelTokenRatesTable({ rates }) {
|
|
|
22383
22383
|
] }),
|
|
22384
22384
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { role: "rowgroup", className: "min-h-0 flex-1 overflow-y-auto", children: group.rates.map((rate) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { role: "row", className: BODY_ROW_CLASS, children: [
|
|
22385
22385
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "rowheader", className: "min-w-0 flex-1 truncate", children: rate.displayName || rate.modelName }),
|
|
22386
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "cell", className: NUMBER_CELL, children:
|
|
22387
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "cell", className: NUMBER_CELL, children:
|
|
22386
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "cell", className: NUMBER_CELL, children: _chunkWUYL4BMDcjs.formatTokenRate.call(void 0, rate.inputTokenRate) }),
|
|
22387
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "cell", className: NUMBER_CELL, children: _chunkWUYL4BMDcjs.formatTokenRate.call(void 0, rate.outputTokenRate) })
|
|
22388
22388
|
] }, rate.modelName)) })
|
|
22389
22389
|
] }),
|
|
22390
22390
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: UNIT_LINE_CLASS, children: MODEL_TOKEN_RATES_COPY.unit })
|
|
@@ -22434,7 +22434,7 @@ function modelOption(rate) {
|
|
|
22434
22434
|
return {
|
|
22435
22435
|
label: rate.displayName || rate.modelName,
|
|
22436
22436
|
value: rate.modelName,
|
|
22437
|
-
description:
|
|
22437
|
+
description: _chunkWUYL4BMDcjs.tokenRateProviderLabel.call(void 0, rate.providerType, rate.providerLabel),
|
|
22438
22438
|
icon: providerMark(rate.providerType, rate.providerIcon, "size-full text-ods-text-secondary")
|
|
22439
22439
|
};
|
|
22440
22440
|
}
|
|
@@ -22488,8 +22488,8 @@ function ModelTokenExchange({
|
|
|
22488
22488
|
const [chosen, setChosen] = _react.useState.call(void 0, null);
|
|
22489
22489
|
const balance = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(chosen, () => ( defaultAmount)), () => ( _optionalChain([tokenPrice, 'optionalAccess', _453 => _453.tokens]))), () => ( MODEL_TOKEN_EXCHANGE_BALANCE));
|
|
22490
22490
|
const max = Math.max(amountRange.max, balance, ...presets.map((preset) => preset.tokens));
|
|
22491
|
-
const tokens =
|
|
22492
|
-
const cost =
|
|
22491
|
+
const tokens = _chunkWUYL4BMDcjs.formatTokenAmount.call(void 0, balance);
|
|
22492
|
+
const cost = _chunkWUYL4BMDcjs.tokenCost.call(void 0, balance, tokenPrice);
|
|
22493
22493
|
const balancePrice = cost === null ? null : _chunkHY6BCZH7cjs.formatPrice.call(void 0, cost);
|
|
22494
22494
|
const model = rate ? rate.displayName || rate.modelName : "";
|
|
22495
22495
|
const options = models.map(modelOption);
|
|
@@ -22531,7 +22531,7 @@ function ModelTokenExchange({
|
|
|
22531
22531
|
variant: preset.tokens === balance ? "accent" : "outline",
|
|
22532
22532
|
size: "small",
|
|
22533
22533
|
onClick: () => setChosen(preset.tokens),
|
|
22534
|
-
children: copy.buy.preset(
|
|
22534
|
+
children: copy.buy.preset(_chunkWUYL4BMDcjs.formatTokenAmount.call(void 0, preset.tokens), preset.label)
|
|
22535
22535
|
},
|
|
22536
22536
|
preset.label
|
|
22537
22537
|
)) })
|
|
@@ -22548,7 +22548,7 @@ function ModelTokenExchange({
|
|
|
22548
22548
|
const stated = _nullishCoalesce(models.find((option) => option.providerType === providerType), () => ( (_optionalChain([rate, 'optionalAccess', _454 => _454.providerType]) === providerType ? rate : null)));
|
|
22549
22549
|
return {
|
|
22550
22550
|
id: providerType,
|
|
22551
|
-
name:
|
|
22551
|
+
name: _chunkWUYL4BMDcjs.tokenRateProviderLabel.call(void 0, providerType, _optionalChain([stated, 'optionalAccess', _455 => _455.providerLabel])),
|
|
22552
22552
|
icon: providerMark(providerType, _optionalChain([stated, 'optionalAccess', _456 => _456.providerIcon]), "size-8 text-ods-text-secondary")
|
|
22553
22553
|
};
|
|
22554
22554
|
}),
|
|
@@ -22587,7 +22587,7 @@ function ModelTokenExchange({
|
|
|
22587
22587
|
{
|
|
22588
22588
|
size: "plain",
|
|
22589
22589
|
loading,
|
|
22590
|
-
figure:
|
|
22590
|
+
figure: _chunkWUYL4BMDcjs.formatTokenRate.call(void 0, _optionalChain([rate, 'optionalAccess', _461 => _461.inputTokenRate])),
|
|
22591
22591
|
words: copy.charge.input
|
|
22592
22592
|
}
|
|
22593
22593
|
),
|
|
@@ -22596,7 +22596,7 @@ function ModelTokenExchange({
|
|
|
22596
22596
|
{
|
|
22597
22597
|
size: "plain",
|
|
22598
22598
|
loading,
|
|
22599
|
-
figure:
|
|
22599
|
+
figure: _chunkWUYL4BMDcjs.formatTokenRate.call(void 0, _optionalChain([rate, 'optionalAccess', _462 => _462.outputTokenRate])),
|
|
22600
22600
|
words: copy.charge.output
|
|
22601
22601
|
}
|
|
22602
22602
|
)
|
|
@@ -22608,9 +22608,9 @@ function ModelTokenExchange({
|
|
|
22608
22608
|
className: "mt-auto flex flex-col rounded-md border border-ods-accent bg-ods-bg p-[var(--spacing-system-mf)]",
|
|
22609
22609
|
children: [
|
|
22610
22610
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-h-[2lh] text-ods-text-secondary text-h4", children: loading || !rate ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXFRBEXQNcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-full max-w-xs" }) : copy.charge.so(_nullishCoalesce(balancePrice, () => ( copy.buy.tokens(tokens))), model) }),
|
|
22611
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-h-[1lh] whitespace-nowrap tabular-nums text-ods-text-primary text-h1", children: loading || !rate ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXFRBEXQNcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-40" }) :
|
|
22611
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-h-[1lh] whitespace-nowrap tabular-nums text-ods-text-primary text-h1", children: loading || !rate ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXFRBEXQNcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-40" }) : _chunkWUYL4BMDcjs.formatTokenAmount.call(void 0, _chunkWUYL4BMDcjs.tokensForBalance.call(void 0, balance, rate.inputTokenRate)) }),
|
|
22612
22612
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-h-[1lh] text-ods-text-primary text-h3", children: copy.charge.read }),
|
|
22613
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-h-[1lh] text-ods-text-secondary text-h4", children: loading || !rate ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXFRBEXQNcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-48" }) : copy.charge.orWritten(
|
|
22613
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-h-[1lh] text-ods-text-secondary text-h4", children: loading || !rate ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXFRBEXQNcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-48" }) : copy.charge.orWritten(_chunkWUYL4BMDcjs.formatTokenAmount.call(void 0, _chunkWUYL4BMDcjs.tokensForBalance.call(void 0, balance, rate.outputTokenRate))) })
|
|
22614
22614
|
]
|
|
22615
22615
|
}
|
|
22616
22616
|
)
|
|
@@ -23149,14 +23149,14 @@ var ConfidenceBadge = ({
|
|
|
23149
23149
|
size = "sm",
|
|
23150
23150
|
className
|
|
23151
23151
|
}) => {
|
|
23152
|
-
const level =
|
|
23152
|
+
const level = _chunkWUYL4BMDcjs.getConfidenceLevel.call(void 0, confidence);
|
|
23153
23153
|
if (level === "none") {
|
|
23154
23154
|
return null;
|
|
23155
23155
|
}
|
|
23156
|
-
const label =
|
|
23157
|
-
const borderClass =
|
|
23158
|
-
const textClass =
|
|
23159
|
-
const bgClass =
|
|
23156
|
+
const label = _chunkWUYL4BMDcjs.getConfidenceLabel.call(void 0, confidence);
|
|
23157
|
+
const borderClass = _chunkWUYL4BMDcjs.getConfidenceBorderClass.call(void 0, confidence);
|
|
23158
|
+
const textClass = _chunkWUYL4BMDcjs.getConfidenceTextClass.call(void 0, confidence);
|
|
23159
|
+
const bgClass = _chunkWUYL4BMDcjs.getConfidenceBgClass.call(void 0, confidence);
|
|
23160
23160
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
23161
23161
|
"span",
|
|
23162
23162
|
{
|
|
@@ -23207,9 +23207,9 @@ function SEOEditorPreview({
|
|
|
23207
23207
|
const [isUploading, setIsUploading] = _react.useState.call(void 0, false);
|
|
23208
23208
|
const [fileInputRef, setFileInputRef] = _react.useState.call(void 0, null);
|
|
23209
23209
|
const seoTitleLength = (seoTitle || "").length;
|
|
23210
|
-
const seoTitleTooLong = seoTitleLength >
|
|
23210
|
+
const seoTitleTooLong = seoTitleLength > _chunkWUYL4BMDcjs.SEO_TITLE_MAX_LENGTH;
|
|
23211
23211
|
const seoDescriptionLength = (seoDescription || "").length;
|
|
23212
|
-
const seoDescriptionTooLong = seoDescriptionLength >
|
|
23212
|
+
const seoDescriptionTooLong = seoDescriptionLength > _chunkWUYL4BMDcjs.SEO_DESCRIPTION_MAX_LENGTH;
|
|
23213
23213
|
const displayTitle = seoTitle.trim() || title || "Untitled";
|
|
23214
23214
|
const displayDescription = seoDescription.trim() || summary || "No description";
|
|
23215
23215
|
const hasOgImage = ogImageUrl.trim();
|
|
@@ -23234,10 +23234,10 @@ function SEOEditorPreview({
|
|
|
23234
23234
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid grid-cols-1 gap-4 content-lg:grid-cols-2", children: [
|
|
23235
23235
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
23236
23236
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23237
|
-
|
|
23237
|
+
_chunkWUYL4BMDcjs.Field,
|
|
23238
23238
|
{
|
|
23239
23239
|
label: "SEO Title",
|
|
23240
|
-
error: seoTitleTooLong ? `Too long: search engines may truncate this title (keep it under ${
|
|
23240
|
+
error: seoTitleTooLong ? `Too long: search engines may truncate this title (keep it under ${_chunkWUYL4BMDcjs.SEO_TITLE_MAX_LENGTH})` : null,
|
|
23241
23241
|
labelExtras: aiConfidenceSeoTitle !== void 0 ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
23242
23242
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, AIGeneratedBadge, {}),
|
|
23243
23243
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ConfidenceBadge, { confidence: aiConfidenceSeoTitle, showLabel: true, showPercentage: true, size: "sm" })
|
|
@@ -23252,7 +23252,7 @@ function SEOEditorPreview({
|
|
|
23252
23252
|
children: [
|
|
23253
23253
|
seoTitleLength,
|
|
23254
23254
|
"/",
|
|
23255
|
-
|
|
23255
|
+
_chunkWUYL4BMDcjs.SEO_TITLE_MAX_LENGTH
|
|
23256
23256
|
]
|
|
23257
23257
|
}
|
|
23258
23258
|
),
|
|
@@ -23263,7 +23263,7 @@ function SEOEditorPreview({
|
|
|
23263
23263
|
value: seoTitle || "",
|
|
23264
23264
|
onChange: (e) => onSeoTitleChange(e.target.value),
|
|
23265
23265
|
disabled,
|
|
23266
|
-
maxLength:
|
|
23266
|
+
maxLength: _chunkWUYL4BMDcjs.SEO_TITLE_MAX_LENGTH,
|
|
23267
23267
|
invalid: seoTitleTooLong,
|
|
23268
23268
|
placeholder: "Enter SEO meta title...",
|
|
23269
23269
|
className: "border-ods-border bg-ods-bg text-ods-text-primary"
|
|
@@ -23274,7 +23274,7 @@ function SEOEditorPreview({
|
|
|
23274
23274
|
!seoTitle && title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-accent text-h6", children: "Auto-populated from title" })
|
|
23275
23275
|
] }),
|
|
23276
23276
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23277
|
-
|
|
23277
|
+
_chunkWUYL4BMDcjs.Field,
|
|
23278
23278
|
{
|
|
23279
23279
|
label: "SEO Keywords",
|
|
23280
23280
|
labelExtras: aiConfidenceSeoKeywords !== void 0 ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
@@ -23306,10 +23306,10 @@ function SEOEditorPreview({
|
|
|
23306
23306
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid grid-cols-1 gap-4 content-lg:grid-cols-2", children: [
|
|
23307
23307
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
23308
23308
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23309
|
-
|
|
23309
|
+
_chunkWUYL4BMDcjs.Field,
|
|
23310
23310
|
{
|
|
23311
23311
|
label: "SEO Description",
|
|
23312
|
-
error: seoDescriptionTooLong ? `Too long: search engines may truncate this description (keep it under ${
|
|
23312
|
+
error: seoDescriptionTooLong ? `Too long: search engines may truncate this description (keep it under ${_chunkWUYL4BMDcjs.SEO_DESCRIPTION_MAX_LENGTH})` : null,
|
|
23313
23313
|
labelExtras: aiConfidenceSeoDescription !== void 0 ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
23314
23314
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, AIGeneratedBadge, {}),
|
|
23315
23315
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -23332,7 +23332,7 @@ function SEOEditorPreview({
|
|
|
23332
23332
|
children: [
|
|
23333
23333
|
seoDescriptionLength,
|
|
23334
23334
|
"/",
|
|
23335
|
-
|
|
23335
|
+
_chunkWUYL4BMDcjs.SEO_DESCRIPTION_MAX_LENGTH
|
|
23336
23336
|
]
|
|
23337
23337
|
}
|
|
23338
23338
|
),
|
|
@@ -23343,7 +23343,7 @@ function SEOEditorPreview({
|
|
|
23343
23343
|
value: seoDescription || "",
|
|
23344
23344
|
onChange: (e) => onSeoDescriptionChange(e.target.value),
|
|
23345
23345
|
disabled,
|
|
23346
|
-
maxLength:
|
|
23346
|
+
maxLength: _chunkWUYL4BMDcjs.SEO_DESCRIPTION_MAX_LENGTH,
|
|
23347
23347
|
invalid: seoDescriptionTooLong,
|
|
23348
23348
|
placeholder: "Enter SEO meta description...",
|
|
23349
23349
|
className: _chunk65VVJSQZcjs.cn.call(void 0, "resize-none border-ods-border bg-ods-bg text-ods-text-primary", SEO_MEDIA_BOX_HEIGHT)
|
|
@@ -23496,7 +23496,7 @@ function socialIcon(platform) {
|
|
|
23496
23496
|
return _nullishCoalesce(_chunk5P4TDV7Vcjs.iconOf.call(void 0, SOCIAL_ICONS[platform]), () => ( void 0));
|
|
23497
23497
|
}
|
|
23498
23498
|
function renderSocialIcon(platform) {
|
|
23499
|
-
const key = _nullishCoalesce(
|
|
23499
|
+
const key = _nullishCoalesce(_chunkWUYL4BMDcjs.normalizeSocialPlatform.call(void 0, platform), () => ( "website"));
|
|
23500
23500
|
const icon = _nullishCoalesce(socialIcon(key), () => ( socialIcon("website")));
|
|
23501
23501
|
return icon ? _react.createElement.call(void 0, icon, { className: "h-5 w-5" }) : null;
|
|
23502
23502
|
}
|
|
@@ -23583,7 +23583,7 @@ function SocialLinksManager({
|
|
|
23583
23583
|
};
|
|
23584
23584
|
const getIcon = (link, platform) => {
|
|
23585
23585
|
const iconKey = _optionalChain([platform, 'optionalAccess', _472 => _472.icon_name]) || link.platform;
|
|
23586
|
-
const key =
|
|
23586
|
+
const key = _chunkWUYL4BMDcjs.normalizeSocialPlatform.call(void 0, iconKey);
|
|
23587
23587
|
if (!key) return null;
|
|
23588
23588
|
const icon = socialIcon(key);
|
|
23589
23589
|
return icon ? _react.createElement.call(void 0, icon, { className: "h-5 w-5 text-ods-text-secondary" }) : null;
|
|
@@ -24050,7 +24050,7 @@ function VideoBitesDisplay({
|
|
|
24050
24050
|
filterPublished = true,
|
|
24051
24051
|
showTitle = true
|
|
24052
24052
|
}) {
|
|
24053
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24053
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNZELWPKOcjs.VideoBitesStrip, { bites, title, filterPublished, showTitle });
|
|
24054
24054
|
}
|
|
24055
24055
|
|
|
24056
24056
|
// src/components/features/walkthrough-video.tsx
|
|
@@ -24080,7 +24080,7 @@ function WalkthroughVideo({
|
|
|
24080
24080
|
onOpenChange,
|
|
24081
24081
|
defaultOpen,
|
|
24082
24082
|
defaultOpenPaused,
|
|
24083
|
-
deepLinkParam =
|
|
24083
|
+
deepLinkParam = _chunkWUYL4BMDcjs.WALKTHROUGH_OPEN_QUERY_PARAM,
|
|
24084
24084
|
autoPlayCard = false,
|
|
24085
24085
|
label = "Play Demo Video",
|
|
24086
24086
|
placement,
|
|
@@ -24097,7 +24097,7 @@ function WalkthroughVideo({
|
|
|
24097
24097
|
const inline = placement === "inline";
|
|
24098
24098
|
const inScope = _chunkXFRBEXQNcjs.useLoadingScope.call(void 0, );
|
|
24099
24099
|
const dismissEnabled = dismissal !== false;
|
|
24100
|
-
const storageKey = dismissEnabled && dismissal.storageKey ||
|
|
24100
|
+
const storageKey = dismissEnabled && dismissal.storageKey || _chunkWUYL4BMDcjs.WALKTHROUGH_VIDEO_DISMISS_KEY;
|
|
24101
24101
|
const dismissalId = _optionalChain([video, 'optionalAccess', _478 => _478.id]) != null ? String(video.id) : "dismissed";
|
|
24102
24102
|
const [mounted, setMounted] = _react.useState.call(void 0, false);
|
|
24103
24103
|
const [dismissed, setDismissed] = _react.useState.call(void 0, false);
|
|
@@ -24109,7 +24109,7 @@ function WalkthroughVideo({
|
|
|
24109
24109
|
let delayElapsed = false;
|
|
24110
24110
|
let interacted = inline;
|
|
24111
24111
|
const reveal = () => {
|
|
24112
|
-
if (dismissEnabled &&
|
|
24112
|
+
if (dismissEnabled && _chunkWUYL4BMDcjs.isWalkthroughDismissed.call(void 0, storageKey, dismissalId)) {
|
|
24113
24113
|
setDismissed(true);
|
|
24114
24114
|
return;
|
|
24115
24115
|
}
|
|
@@ -24146,7 +24146,7 @@ function WalkthroughVideo({
|
|
|
24146
24146
|
if (idleHandle !== null && typeof cic === "function") cic(idleHandle);
|
|
24147
24147
|
};
|
|
24148
24148
|
}, [appearDelayMs, dismissEnabled, storageKey, dismissalId, hasVideo, videoId, inline]);
|
|
24149
|
-
const hydrated =
|
|
24149
|
+
const hydrated = _chunkNZELWPKOcjs.useIsHydrated.call(void 0, );
|
|
24150
24150
|
const previewSuppressed = _react.useMemo.call(void 0, () => {
|
|
24151
24151
|
if (!hydrated) return false;
|
|
24152
24152
|
try {
|
|
@@ -24396,7 +24396,7 @@ function WalkthroughVideo({
|
|
|
24396
24396
|
(e) => {
|
|
24397
24397
|
e.stopPropagation();
|
|
24398
24398
|
pausePreviewNow();
|
|
24399
|
-
if (dismissEnabled)
|
|
24399
|
+
if (dismissEnabled) _chunkWUYL4BMDcjs.dismissWalkthrough.call(void 0, storageKey, dismissalId);
|
|
24400
24400
|
setDismissed(true);
|
|
24401
24401
|
},
|
|
24402
24402
|
[dismissEnabled, storageKey, dismissalId, pausePreviewNow]
|
|
@@ -24571,7 +24571,7 @@ function WalkthroughVideo({
|
|
|
24571
24571
|
`card-${embedUrlKey}`
|
|
24572
24572
|
) }),
|
|
24573
24573
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24574
|
-
|
|
24574
|
+
_chunkNZELWPKOcjs.CardHitLayer,
|
|
24575
24575
|
{
|
|
24576
24576
|
label: video.title ? `${label}: ${video.title}` : label,
|
|
24577
24577
|
onPointerDown: pausePreviewNow,
|
|
@@ -24743,7 +24743,7 @@ function useWalkthroughVideo(opts) {
|
|
|
24743
24743
|
const { endpoint, initialData, enabled: enabledGiven = true, transformCaptionsUrl } = opts;
|
|
24744
24744
|
const inScope = _chunkXFRBEXQNcjs.useLoadingScope.call(void 0, );
|
|
24745
24745
|
const enabled = enabledGiven && !inScope;
|
|
24746
|
-
const captions =
|
|
24746
|
+
const captions = _chunkNZELWPKOcjs.useCaptions.call(void 0, );
|
|
24747
24747
|
const query = _reactquery.useQuery.call(void 0, {
|
|
24748
24748
|
queryKey: ["walkthrough-video", endpoint],
|
|
24749
24749
|
enabled,
|
|
@@ -25492,7 +25492,7 @@ function HighlightConfigSection({
|
|
|
25492
25492
|
disabled = false,
|
|
25493
25493
|
className = ""
|
|
25494
25494
|
}) {
|
|
25495
|
-
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,
|
|
25495
|
+
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, _chunkWUYL4BMDcjs.Field, { label: "Target Duration", children: (f) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
25496
25496
|
_chunkMZLWB5AHcjs.Select,
|
|
25497
25497
|
{
|
|
25498
25498
|
value: targetDurationSeconds.toString(),
|
|
@@ -25593,7 +25593,7 @@ var AIStatusIndicator = ({
|
|
|
25593
25593
|
}) => {
|
|
25594
25594
|
const config = statusConfig[status];
|
|
25595
25595
|
const displayText = message || config.label;
|
|
25596
|
-
const confidenceLabel = showConfidence && confidence !== void 0 ? `${
|
|
25596
|
+
const confidenceLabel = showConfidence && confidence !== void 0 ? `${_chunkWUYL4BMDcjs.getConfidenceLabel.call(void 0, confidence)} (${confidence}%)` : null;
|
|
25597
25597
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk65VVJSQZcjs.cn.call(void 0, "inline-flex items-center gap-2 rounded-lg px-3 py-1.5", config.bgColor, className), children: [
|
|
25598
25598
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25599
25599
|
_chunkUNFCRSYIcjs.SparklesIcon,
|
|
@@ -25601,7 +25601,7 @@ var AIStatusIndicator = ({
|
|
|
25601
25601
|
size: 16,
|
|
25602
25602
|
className: _chunk65VVJSQZcjs.cn.call(void 0,
|
|
25603
25603
|
status === "loading" && _chunkXFRBEXQNcjs.LIVE_PULSE_CLASS,
|
|
25604
|
-
confidence !== void 0 && status === "success" ?
|
|
25604
|
+
confidence !== void 0 && status === "success" ? _chunkWUYL4BMDcjs.getConfidenceTextClass.call(void 0, confidence) : config.color
|
|
25605
25605
|
)
|
|
25606
25606
|
}
|
|
25607
25607
|
),
|
|
@@ -25610,7 +25610,7 @@ var AIStatusIndicator = ({
|
|
|
25610
25610
|
{
|
|
25611
25611
|
className: _chunk65VVJSQZcjs.cn.call(void 0,
|
|
25612
25612
|
"text-h6",
|
|
25613
|
-
confidence !== void 0 && status === "success" ?
|
|
25613
|
+
confidence !== void 0 && status === "success" ? _chunkWUYL4BMDcjs.getConfidenceTextClass.call(void 0, confidence) : config.color
|
|
25614
25614
|
),
|
|
25615
25615
|
children: displayText
|
|
25616
25616
|
}
|
|
@@ -25620,8 +25620,8 @@ var AIStatusIndicator = ({
|
|
|
25620
25620
|
{
|
|
25621
25621
|
className: _chunk65VVJSQZcjs.cn.call(void 0,
|
|
25622
25622
|
"rounded-full border px-2 py-0.5 text-h6",
|
|
25623
|
-
|
|
25624
|
-
|
|
25623
|
+
_chunkWUYL4BMDcjs.getConfidenceBorderClass.call(void 0, confidence),
|
|
25624
|
+
_chunkWUYL4BMDcjs.getConfidenceTextClass.call(void 0, confidence)
|
|
25625
25625
|
),
|
|
25626
25626
|
children: confidenceLabel
|
|
25627
25627
|
}
|
|
@@ -26548,7 +26548,7 @@ function PoliciesTable({
|
|
|
26548
26548
|
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,
|
|
26549
26549
|
_chunkTF5D5MNOcjs.Button,
|
|
26550
26550
|
{
|
|
26551
|
-
onClick:
|
|
26551
|
+
onClick: _chunkWUYL4BMDcjs.openInNewTab.call(void 0, row.original.href),
|
|
26552
26552
|
variant: "outline",
|
|
26553
26553
|
size: "icon",
|
|
26554
26554
|
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkANTDIQKKcjs.ArrowRightUpIcon, { className: "h-5 w-5" }),
|
|
@@ -26874,7 +26874,7 @@ function TenantsTableView({
|
|
|
26874
26874
|
/* @__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,
|
|
26875
26875
|
_chunkTF5D5MNOcjs.Button,
|
|
26876
26876
|
{
|
|
26877
|
-
onClick:
|
|
26877
|
+
onClick: _chunkWUYL4BMDcjs.openInNewTab.call(void 0, getHref(row.original)),
|
|
26878
26878
|
variant: "outline",
|
|
26879
26879
|
size: "icon",
|
|
26880
26880
|
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkANTDIQKKcjs.ArrowRightUpIcon, { className: "h-5 w-5" }),
|
|
@@ -26955,7 +26955,7 @@ function WaitlistForm({
|
|
|
26955
26955
|
const { toast } = _chunkXVFM6SJAcjs.useToast.call(void 0, );
|
|
26956
26956
|
const { honeypotInputProps, getSignals, resetSignals } = _chunkXVFM6SJAcjs.useHumanitySignals.call(void 0, );
|
|
26957
26957
|
const [smsConsent, setSmsConsent] = _react.useState.call(void 0, false);
|
|
26958
|
-
const isClient =
|
|
26958
|
+
const isClient = _chunkNZELWPKOcjs.useIsHydrated.call(void 0, );
|
|
26959
26959
|
const [isPhoneInvalid, setIsPhoneInvalid] = _react.useState.call(void 0, false);
|
|
26960
26960
|
const [showConsentError, setShowConsentError] = _react.useState.call(void 0, false);
|
|
26961
26961
|
const rescue = _chunkXVFM6SJAcjs.useFormRescue.call(void 0, {
|
|
@@ -26970,7 +26970,7 @@ function WaitlistForm({
|
|
|
26970
26970
|
_react.useEffect.call(void 0, () => {
|
|
26971
26971
|
rescue.track({ email, phone }, null);
|
|
26972
26972
|
}, [email, phone, rescue]);
|
|
26973
|
-
const isMailDomainGeneric =
|
|
26973
|
+
const isMailDomainGeneric = _chunkWUYL4BMDcjs.hasGenericEmailDomain.call(void 0, email);
|
|
26974
26974
|
const [syncedDefaultEmail, setSyncedDefaultEmail] = _react.useState.call(void 0, defaultEmail);
|
|
26975
26975
|
if (syncedDefaultEmail !== defaultEmail) {
|
|
26976
26976
|
setSyncedDefaultEmail(defaultEmail);
|
|
@@ -27004,7 +27004,7 @@ function WaitlistForm({
|
|
|
27004
27004
|
setShowConsentError(true);
|
|
27005
27005
|
return;
|
|
27006
27006
|
}
|
|
27007
|
-
const finalPhone = phone ?
|
|
27007
|
+
const finalPhone = phone ? _chunkWUYL4BMDcjs.formatPhoneE164.call(void 0, phone, countryCode) : void 0;
|
|
27008
27008
|
try {
|
|
27009
27009
|
await onRegister(email, finalPhone, getSignals(), rescue.submitFields());
|
|
27010
27010
|
rescue.complete();
|
|
@@ -29143,7 +29143,7 @@ function getDeviceStatusConfig(status) {
|
|
|
29143
29143
|
}
|
|
29144
29144
|
}
|
|
29145
29145
|
function getDeviceOperatingSystem(osType) {
|
|
29146
|
-
return
|
|
29146
|
+
return _chunkWUYL4BMDcjs.getOSPlatformId.call(void 0, osType);
|
|
29147
29147
|
}
|
|
29148
29148
|
|
|
29149
29149
|
// src/components/features/devices/device-statuses.ts
|
|
@@ -30747,7 +30747,7 @@ function DevicesPanelView({
|
|
|
30747
30747
|
actionsVariant: "icon-buttons",
|
|
30748
30748
|
className,
|
|
30749
30749
|
selector: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30750
|
-
|
|
30750
|
+
_chunkNZELWPKOcjs.TabSelector,
|
|
30751
30751
|
{
|
|
30752
30752
|
value: viewMode,
|
|
30753
30753
|
onValueChange: (value) => _optionalChain([onViewModeChange, 'optionalCall', _659 => _659(value)]),
|
|
@@ -31281,11 +31281,11 @@ var ToolBadge = ({
|
|
|
31281
31281
|
iconClassName
|
|
31282
31282
|
}) => {
|
|
31283
31283
|
const loading = _chunkXFRBEXQNcjs.useLoadingScope.call(void 0, );
|
|
31284
|
-
const text = _nullishCoalesce(label, () => ( (toolType ?
|
|
31284
|
+
const text = _nullishCoalesce(label, () => ( (toolType ? _chunkWUYL4BMDcjs.getToolLabel.call(void 0, toolType) : "")));
|
|
31285
31285
|
const mark = _nullishCoalesce(icon, () => ( (toolType ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk57B5RUYDcjs.ToolIcon, { toolType, className: iconClassName, size: 16 }) : null)));
|
|
31286
31286
|
if (loading) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ToolBadgeSkeleton, { variant, icon: !!mark, className });
|
|
31287
31287
|
const linked = (node, linkClassName) => href && targetPlatform ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31288
|
-
|
|
31288
|
+
_chunkNZELWPKOcjs.NavLinkAnchorViaRuntime,
|
|
31289
31289
|
{
|
|
31290
31290
|
href,
|
|
31291
31291
|
targetPlatform,
|
|
@@ -31397,7 +31397,7 @@ function LogsTableView({
|
|
|
31397
31397
|
cell: ({ row }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31398
31398
|
ToolBadge,
|
|
31399
31399
|
{
|
|
31400
|
-
toolType:
|
|
31400
|
+
toolType: _chunkWUYL4BMDcjs.normalizeToolTypeWithFallback.call(void 0, row.original.source.toolType),
|
|
31401
31401
|
iconClassName: "h-4 w-4 content-md:h-6 content-md:w-6"
|
|
31402
31402
|
}
|
|
31403
31403
|
),
|
|
@@ -31409,7 +31409,7 @@ function LogsTableView({
|
|
|
31409
31409
|
filter: {
|
|
31410
31410
|
options: _nullishCoalesce(_optionalChain([facets, 'optionalAccess', _667 => _667.toolTypes, 'access', _668 => _668.map, 'call', _669 => _669((toolType) => ({
|
|
31411
31411
|
id: toolType,
|
|
31412
|
-
label:
|
|
31412
|
+
label: _chunkWUYL4BMDcjs.toToolLabel.call(void 0, toolType),
|
|
31413
31413
|
value: toolType
|
|
31414
31414
|
}))]), () => ( []))
|
|
31415
31415
|
}
|
|
@@ -31467,7 +31467,7 @@ function LogsTableView({
|
|
|
31467
31467
|
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,
|
|
31468
31468
|
_chunkTF5D5MNOcjs.Button,
|
|
31469
31469
|
{
|
|
31470
|
-
onClick: getLogHref ?
|
|
31470
|
+
onClick: getLogHref ? _chunkWUYL4BMDcjs.openInNewTab.call(void 0, getLogHref(row.original)) : void 0,
|
|
31471
31471
|
variant: "outline",
|
|
31472
31472
|
size: "icon",
|
|
31473
31473
|
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkANTDIQKKcjs.ArrowRightUpIcon, { className: "h-5 w-5" }),
|
|
@@ -31842,7 +31842,7 @@ function OpenInNewTabCell({ href }) {
|
|
|
31842
31842
|
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,
|
|
31843
31843
|
_chunkTF5D5MNOcjs.Button,
|
|
31844
31844
|
{
|
|
31845
|
-
onClick:
|
|
31845
|
+
onClick: _chunkWUYL4BMDcjs.openInNewTab.call(void 0, href),
|
|
31846
31846
|
variant: "outline",
|
|
31847
31847
|
size: "icon",
|
|
31848
31848
|
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkANTDIQKKcjs.ArrowRightUpIcon, { className: "h-5 w-5" }),
|
|
@@ -31991,9 +31991,9 @@ function ScriptSchedulesTable({
|
|
|
31991
31991
|
|
|
31992
31992
|
// src/components/features/scripts/shell-types.ts
|
|
31993
31993
|
var SCRIPT_SHELL_TYPES = [
|
|
31994
|
-
{ id:
|
|
31995
|
-
{ id:
|
|
31996
|
-
{ id:
|
|
31994
|
+
{ id: _chunkWUYL4BMDcjs.ShellTypeValues.POWERSHELL, label: "PowerShell", value: "powershell", icon: _chunkMCQY746Mcjs.PowershellLogoGreyIcon },
|
|
31995
|
+
{ id: _chunkWUYL4BMDcjs.ShellTypeValues.CMD, label: "CMD", value: "cmd", icon: _chunkNIVJEJSGcjs.TerminalSquareIcon },
|
|
31996
|
+
{ id: _chunkWUYL4BMDcjs.ShellTypeValues.BASH, label: "Bash", value: "bash", icon: _chunkTRUW6DDAcjs.TerminalIcon }
|
|
31997
31997
|
];
|
|
31998
31998
|
function scriptShellType(value) {
|
|
31999
31999
|
return SCRIPT_SHELL_TYPES.find((shell) => shell.value === value);
|
|
@@ -33426,7 +33426,7 @@ function ScheduleFormFields({
|
|
|
33426
33426
|
disabled = false,
|
|
33427
33427
|
renderScriptSearch,
|
|
33428
33428
|
timeReferenceGate = "off",
|
|
33429
|
-
platforms =
|
|
33429
|
+
platforms = _chunkWUYL4BMDcjs.OS_PLATFORMS,
|
|
33430
33430
|
comingSoonPlatforms = [],
|
|
33431
33431
|
getTimeSlots,
|
|
33432
33432
|
nameLayout = "stacked",
|
|
@@ -33572,7 +33572,7 @@ function ScheduleFormFields({
|
|
|
33572
33572
|
// src/components/features/scripts/schedule-form/schedule-script-search-field.tsx
|
|
33573
33573
|
|
|
33574
33574
|
function ScriptPlatformIcons({ platforms }) {
|
|
33575
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "inline-flex shrink-0 items-center gap-0.5", children:
|
|
33575
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "inline-flex shrink-0 items-center gap-0.5", children: _chunkWUYL4BMDcjs.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)) });
|
|
33576
33576
|
}
|
|
33577
33577
|
function ScheduleScriptSearchField({
|
|
33578
33578
|
scriptId,
|
|
@@ -33645,7 +33645,7 @@ function getKnowledgeBaseOpenColumn(getHref) {
|
|
|
33645
33645
|
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,
|
|
33646
33646
|
_chunkTF5D5MNOcjs.Button,
|
|
33647
33647
|
{
|
|
33648
|
-
onClick:
|
|
33648
|
+
onClick: _chunkWUYL4BMDcjs.openInNewTab.call(void 0, getHref(row.original)),
|
|
33649
33649
|
variant: "outline",
|
|
33650
33650
|
size: "icon",
|
|
33651
33651
|
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkANTDIQKKcjs.ArrowRightUpIcon, { className: "h-5 w-5" }),
|
|
@@ -33935,7 +33935,7 @@ function ConversationCard({
|
|
|
33935
33935
|
style: tint,
|
|
33936
33936
|
onClick: selection && ((event) => {
|
|
33937
33937
|
if (event.button !== 0 || _optionalChain([window, 'access', _733 => _733.getSelection, 'call', _734 => _734(), 'optionalAccess', _735 => _735.toString, 'call', _736 => _736()])) return;
|
|
33938
|
-
if (!
|
|
33938
|
+
if (!_chunkWUYL4BMDcjs.isOwnClick.call(void 0, event.target, event.currentTarget, { controls: true })) return;
|
|
33939
33939
|
selection.onToggle();
|
|
33940
33940
|
}),
|
|
33941
33941
|
children: [
|
|
@@ -33958,7 +33958,7 @@ function ConversationCard({
|
|
|
33958
33958
|
children: selection.pressed ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXIBCMGBWcjs.CheckIcon, {}) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkX4UZ62MYcjs.PlusIcon, {})
|
|
33959
33959
|
}
|
|
33960
33960
|
),
|
|
33961
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33961
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWUYL4BMDcjs.ChatTurn, { avatar: requester.avatar, name: requester.name, meta: requester.meta, time: requester.time, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
33962
33962
|
"p",
|
|
33963
33963
|
{
|
|
33964
33964
|
id: requestId,
|
|
@@ -33977,7 +33977,7 @@ function ConversationCard({
|
|
|
33977
33977
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: CONTEXT_TEXT_CLASS, style: partLinesStyle(_optionalChain([lines, 'optionalAccess', _737 => _737.context])), children: context.text })
|
|
33978
33978
|
] }),
|
|
33979
33979
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33980
|
-
|
|
33980
|
+
_chunkWUYL4BMDcjs.ChatTurn,
|
|
33981
33981
|
{
|
|
33982
33982
|
avatar: responder.avatar,
|
|
33983
33983
|
name: responder.name,
|
|
@@ -34000,10 +34000,10 @@ function ConversationCard({
|
|
|
34000
34000
|
);
|
|
34001
34001
|
}
|
|
34002
34002
|
function TurnSkeleton({ avatarPx, meta, children }) {
|
|
34003
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className:
|
|
34003
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkWUYL4BMDcjs.TURN_ROW_CLASS, children: [
|
|
34004
34004
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY6BCZH7cjs.SquareAvatarSkeleton, { sizePx: avatarPx }),
|
|
34005
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className:
|
|
34006
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
34005
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkWUYL4BMDcjs.TURN_BODY_CLASS, children: [
|
|
34006
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWUYL4BMDcjs.ChatTurnNameSkeleton, { meta, time: true }),
|
|
34007
34007
|
children
|
|
34008
34008
|
] })
|
|
34009
34009
|
] });
|