@flamingo-stack/openframe-frontend-core 0.0.824 → 0.0.825
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/chat-protocol/events.d.ts +0 -3
- package/dist/chat-protocol/events.d.ts.map +1 -1
- package/dist/chat-protocol/frames.d.ts +10 -7
- package/dist/chat-protocol/frames.d.ts.map +1 -1
- package/dist/chat-protocol/index.cjs +238 -234
- package/dist/chat-protocol/leading-frames.d.ts.map +1 -1
- package/dist/chat-protocol/leading-frames.js +6 -3
- package/dist/chat-protocol/progress.d.ts +13 -20
- package/dist/chat-protocol/progress.d.ts.map +1 -1
- package/dist/chat-protocol/progress.js +13 -11
- package/dist/{chunk-TQ7TUEK2.cjs → chunk-2U7GXE3T.cjs} +2754 -2784
- package/dist/{chunk-A3SR6HHX.cjs → chunk-47SHKOCY.cjs} +53 -53
- package/dist/{chunk-WSBAIZXL.cjs → chunk-4IY5FKYL.cjs} +11 -11
- package/dist/{chunk-M7EBCYKN.cjs → chunk-5S2GW6YG.cjs} +2 -2
- package/dist/{chunk-SOSVC6HB.cjs → chunk-6LVJKPR3.cjs} +3 -3
- package/dist/{chunk-HDOU3AXV.cjs → chunk-7DJWIVQC.cjs} +19 -19
- package/dist/{chunk-C3RAE7RO.cjs → chunk-AO6YVNAH.cjs} +104 -104
- package/dist/{chunk-EZTCN43H.cjs → chunk-APTFXX2C.cjs} +39 -39
- package/dist/{chunk-WMTV6M5B.cjs → chunk-AUBR3FGY.cjs} +9 -9
- package/dist/{chunk-GXBIYPDM.cjs → chunk-BN7QENV7.cjs} +4 -4
- package/dist/{chunk-2M4E2V25.cjs → chunk-DNZCSPMU.cjs} +7 -7
- package/dist/{chunk-J5U3XHFJ.cjs → chunk-IMMTH3F3.cjs} +10 -10
- package/dist/{chunk-2IHGR57J.cjs → chunk-MALCUN2G.cjs} +6 -6
- package/dist/{chunk-MROW2JWE.cjs → chunk-MHR4C465.cjs} +3 -3
- package/dist/{chunk-5N26M6CK.cjs → chunk-N7IDLF2G.cjs} +32 -32
- package/dist/{chunk-B2VRNRTY.cjs → chunk-NL34HKLS.cjs} +47 -47
- package/dist/{chunk-XUMZMIHR.cjs → chunk-P25RVNGX.cjs} +16 -16
- package/dist/{chunk-TTMTNG3U.cjs → chunk-XJMLZ63Y.cjs} +4 -4
- package/dist/{cloud-tenants-VYXMNISG.cjs → cloud-tenants-M4VFFN33.cjs} +4 -4
- package/dist/components/case-studies/index.cjs +16 -16
- package/dist/components/chat/embeddable-chat.d.ts.map +1 -1
- package/dist/components/chat/embeddable-chat.js +0 -3
- package/dist/components/chat/hooks/use-sse-chat-adapter.d.ts.map +1 -1
- package/dist/components/chat/hooks/use-sse-chat-adapter.js +0 -2
- package/dist/components/chat/hooks/use-unified-chat.d.ts.map +1 -1
- package/dist/components/chat/hooks/use-unified-chat.js +0 -1
- package/dist/components/chat/index.cjs +3 -3
- package/dist/components/chat/stream/chat-dialog-store.d.ts.map +1 -1
- package/dist/components/chat/stream/chat-dialog-store.js +0 -1
- package/dist/components/chat/stream/chat-stream-reducer.d.ts +0 -4
- package/dist/components/chat/stream/chat-stream-reducer.d.ts.map +1 -1
- package/dist/components/chat/stream/chat-stream-reducer.js +6 -13
- package/dist/components/chat/types/unified-chat-state.types.d.ts +0 -5
- package/dist/components/chat/types/unified-chat-state.types.d.ts.map +1 -1
- 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 +37 -37
- package/dist/components/meeting-scheduler/index.cjs +29 -29
- 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/tickets/index.cjs +9 -9
- package/dist/components/ui/index.cjs +4 -4
- package/dist/{devices-NTYNZEGJ.cjs → devices-DW5NDXMD.cjs} +5 -5
- package/dist/{embeddable-chat-JAUO4O2T.cjs → embeddable-chat-NBJMXEXB.cjs} +63 -66
- package/dist/index.cjs +8 -8
- package/dist/{knowledge-I2LW27EP.cjs → knowledge-EYJG2TNW.cjs} +5 -5
- package/dist/{logs-KLZHXSOU.cjs → logs-2LV7DTSL.cjs} +12 -12
- package/dist/{policies-SMDAHDKL.cjs → policies-HSDYIQBX.cjs} +8 -8
- package/dist/{scripts-OMBBPNTU.cjs → scripts-UI6V7ANQ.cjs} +9 -9
- package/dist/{software-update-ZIJYNJIC.cjs → software-update-WMLY7VHH.cjs} +7 -7
- package/package.json +1 -1
- package/src/chat-protocol/events.ts +0 -3
- package/src/chat-protocol/frames.ts +12 -8
- package/src/chat-protocol/leading-frames.ts +7 -4
- package/src/chat-protocol/progress.ts +31 -28
- package/src/components/chat/embeddable-chat.tsx +0 -5
- package/src/components/chat/hooks/use-sse-chat-adapter.ts +0 -2
- package/src/components/chat/hooks/use-unified-chat.ts +0 -1
- package/src/components/chat/stream/chat-dialog-store.ts +0 -1
- package/src/components/chat/stream/chat-stream-reducer.ts +6 -17
- package/src/components/chat/types/unified-chat-state.types.ts +0 -6
|
@@ -113,7 +113,7 @@ var _chunk5SZ4ILU3cjs = require('./chunk-5SZ4ILU3.cjs');
|
|
|
113
113
|
|
|
114
114
|
|
|
115
115
|
|
|
116
|
-
var
|
|
116
|
+
var _chunkP25RVNGXcjs = require('./chunk-P25RVNGX.cjs');
|
|
117
117
|
|
|
118
118
|
|
|
119
119
|
|
|
@@ -134,7 +134,7 @@ var _chunkXUMZMIHRcjs = require('./chunk-XUMZMIHR.cjs');
|
|
|
134
134
|
|
|
135
135
|
|
|
136
136
|
|
|
137
|
-
var
|
|
137
|
+
var _chunk2U7GXE3Tcjs = require('./chunk-2U7GXE3T.cjs');
|
|
138
138
|
|
|
139
139
|
|
|
140
140
|
|
|
@@ -709,7 +709,7 @@ function ThemeProvider({ children, ...overrides }) {
|
|
|
709
709
|
var useTheme = _nextthemes.useTheme;
|
|
710
710
|
function useThemeToggle() {
|
|
711
711
|
const { resolvedTheme, theme, setTheme } = useTheme();
|
|
712
|
-
const mounted =
|
|
712
|
+
const mounted = _chunk2U7GXE3Tcjs.useIsHydrated.call(void 0, );
|
|
713
713
|
const active = mounted ? resolvedTheme === "light" || theme === "light" ? "light" : "dark" : DEFAULT_THEME;
|
|
714
714
|
const setOdsTheme = _react.useCallback.call(void 0, (next) => setTheme(next), [setTheme]);
|
|
715
715
|
const toggle = _react.useCallback.call(void 0, () => setTheme(active === "dark" ? "light" : "dark"), [active, setTheme]);
|
|
@@ -4580,7 +4580,7 @@ function AdminFormDrawer({
|
|
|
4580
4580
|
"form",
|
|
4581
4581
|
{
|
|
4582
4582
|
id: formId,
|
|
4583
|
-
...
|
|
4583
|
+
..._chunkP25RVNGXcjs.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS,
|
|
4584
4584
|
className: "flex flex-col gap-[var(--spacing-system-lf)]",
|
|
4585
4585
|
onSubmit: (e) => {
|
|
4586
4586
|
e.preventDefault();
|
|
@@ -4687,7 +4687,7 @@ function AdminFormModal({
|
|
|
4687
4687
|
"form",
|
|
4688
4688
|
{
|
|
4689
4689
|
id: formId,
|
|
4690
|
-
...
|
|
4690
|
+
..._chunkP25RVNGXcjs.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS,
|
|
4691
4691
|
className: "flex min-h-0 flex-1 flex-col",
|
|
4692
4692
|
onSubmit: (e) => {
|
|
4693
4693
|
e.preventDefault();
|
|
@@ -6057,7 +6057,7 @@ function EmbedViewerFrame({
|
|
|
6057
6057
|
const controllerRef = _react.useRef.call(void 0, null);
|
|
6058
6058
|
_react.useEffect.call(void 0, () => {
|
|
6059
6059
|
if (!fullscreenControl) return void 0;
|
|
6060
|
-
const controller = new (0,
|
|
6060
|
+
const controller = new (0, _chunkP25RVNGXcjs.FullscreenSwitchController)({
|
|
6061
6061
|
target: () => frameRef.current,
|
|
6062
6062
|
onFullscreenChange: setIsFullscreen
|
|
6063
6063
|
});
|
|
@@ -7306,7 +7306,7 @@ var formatTimeAgo = (timestamp) => {
|
|
|
7306
7306
|
return `${Math.floor(diffSeconds / 86400)}d ago`;
|
|
7307
7307
|
};
|
|
7308
7308
|
function RedditEmbedClient({ url, maxWidth = 700, rel }) {
|
|
7309
|
-
const postLinkRel =
|
|
7309
|
+
const postLinkRel = _chunk2U7GXE3Tcjs.renderedLinkRel.call(void 0, rel, true);
|
|
7310
7310
|
const { redditProxyUrl } = useRichMarkdownRuntime();
|
|
7311
7311
|
const [redditData, setRedditData] = _react.useState.call(void 0, null);
|
|
7312
7312
|
const [loading, setLoading] = _react.useState.call(void 0, true);
|
|
@@ -7638,7 +7638,7 @@ var UserIcon3 = () => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "svg", { wid
|
|
|
7638
7638
|
] });
|
|
7639
7639
|
var XIcon = () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2TEMEXDTcjs.XLogoIcon, { className: "h-5 w-5", color: "currentColor" });
|
|
7640
7640
|
function TwitterEmbedClient({ url, tweetId, maxWidth = 700, rel }) {
|
|
7641
|
-
const postLinkRel =
|
|
7641
|
+
const postLinkRel = _chunk2U7GXE3Tcjs.renderedLinkRel.call(void 0, rel, true);
|
|
7642
7642
|
const { twitterProxyUrl } = useRichMarkdownRuntime();
|
|
7643
7643
|
const [tweetData, setTweetData] = _react.useState.call(void 0, null);
|
|
7644
7644
|
const [fetchLoading, setLoading] = _react.useState.call(void 0, true);
|
|
@@ -7840,7 +7840,7 @@ function buildRichEmbedOverrides({
|
|
|
7840
7840
|
ogEndpointPath,
|
|
7841
7841
|
textSizes
|
|
7842
7842
|
}) {
|
|
7843
|
-
const standard =
|
|
7843
|
+
const standard = _chunk2U7GXE3Tcjs.buildStandardLeafRenderers.call(void 0, { textSizes });
|
|
7844
7844
|
return {
|
|
7845
7845
|
// Fence-language embeds (```youtube-embed etc.); everything else
|
|
7846
7846
|
// (mermaid, highlighted blocks, inline code) falls through to `standard`.
|
|
@@ -7976,14 +7976,14 @@ function buildRichEmbedOverrides({
|
|
|
7976
7976
|
// rich-markdown runtime (Supabase optimization on the hub, identity
|
|
7977
7977
|
// elsewhere). Guard against empty `![]()`.
|
|
7978
7978
|
img: ({ src, alt }) => {
|
|
7979
|
-
if (!
|
|
7979
|
+
if (!_chunk2U7GXE3Tcjs.hasRenderableSrc.call(void 0, src)) return null;
|
|
7980
7980
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MarkdownImage, { src: src.trim(), alt });
|
|
7981
7981
|
},
|
|
7982
7982
|
// Raw <iframe> tags in stored content (a pasted YouTube embed). A YouTube one becomes the same click-to-play
|
|
7983
7983
|
// facade as the `youtube-embed` fence: the raw iframe loaded YouTube's whole player (about 470 KB of script) with
|
|
7984
7984
|
// the page, on every post that carried one (CU-17tkuw5xp4q). Any other iframe loads when it nears the screen.
|
|
7985
7985
|
iframe: ({ node: _node, src, ...rest }) => {
|
|
7986
|
-
if (!
|
|
7986
|
+
if (!_chunk2U7GXE3Tcjs.hasRenderableSrc.call(void 0, src)) return null;
|
|
7987
7987
|
const url = src.trim();
|
|
7988
7988
|
if (_chunkUEULXVW2cjs.extractYouTubeId.call(void 0, url)) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUEULXVW2cjs.Video, { kind: "youtube", url });
|
|
7989
7989
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "iframe", { ...rest, src: url, loading: "lazy" });
|
|
@@ -7991,7 +7991,7 @@ function buildRichEmbedOverrides({
|
|
|
7991
7991
|
// Raw <video> tags in stored content (blog publisher injection) route
|
|
7992
7992
|
// to the <Video> SSOT (MuxPlayer) so HLS manifests play everywhere.
|
|
7993
7993
|
video: ({ src, poster, className }) => {
|
|
7994
|
-
if (!
|
|
7994
|
+
if (!_chunk2U7GXE3Tcjs.hasRenderableSrc.call(void 0, src)) return null;
|
|
7995
7995
|
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, _chunkUEULXVW2cjs.Video, { kind: "file", url: src.trim(), poster: typeof poster === "string" ? poster : void 0 }) }) });
|
|
7996
7996
|
}
|
|
7997
7997
|
};
|
|
@@ -8177,13 +8177,13 @@ var RichMarkdownInner = ({
|
|
|
8177
8177
|
},
|
|
8178
8178
|
[resolveLinkEndpointUrl, resolveSource]
|
|
8179
8179
|
);
|
|
8180
|
-
const textSizes = _react.useMemo.call(void 0, () =>
|
|
8180
|
+
const textSizes = _react.useMemo.call(void 0, () => _chunk2U7GXE3Tcjs.resolveTextSizeConfig.call(void 0, "article"), []);
|
|
8181
8181
|
const componentOverrides = _react.useMemo.call(void 0,
|
|
8182
8182
|
() => buildRichEmbedOverrides({ ogApiBaseUrl, ogEndpointPath, textSizes }),
|
|
8183
8183
|
[ogApiBaseUrl, ogEndpointPath, textSizes]
|
|
8184
8184
|
);
|
|
8185
8185
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8186
|
-
|
|
8186
|
+
_chunk2U7GXE3Tcjs.MarkdownEngine,
|
|
8187
8187
|
{
|
|
8188
8188
|
content,
|
|
8189
8189
|
className,
|
|
@@ -8208,7 +8208,7 @@ var RichMarkdownRendererImpl = ({
|
|
|
8208
8208
|
className = "",
|
|
8209
8209
|
sectionIds,
|
|
8210
8210
|
onInternalLinkClick,
|
|
8211
|
-
brokenLinks =
|
|
8211
|
+
brokenLinks = _chunk2U7GXE3Tcjs.NO_BROKEN_LINKS,
|
|
8212
8212
|
currentPath,
|
|
8213
8213
|
resolveSource = "openframe-docs",
|
|
8214
8214
|
resolveLinkEndpointUrl = "/api/docs/resolve-link",
|
|
@@ -9980,7 +9980,7 @@ var BenefitCardGrid = ({ children, className = "", columns = 2 }) => {
|
|
|
9980
9980
|
|
|
9981
9981
|
|
|
9982
9982
|
function PlatformBrowseButton({ item }) {
|
|
9983
|
-
const linkProps =
|
|
9983
|
+
const linkProps = _chunk2U7GXE3Tcjs.useNavLinkViaRuntime.call(void 0, { href: item.link, targetPlatform: item.targetPlatform });
|
|
9984
9984
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkFCZAUK4Dcjs.Button, { variant: "outline", linkProps, rightIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ExternalLink, { className: "h-4 w-4" }), children: [
|
|
9985
9985
|
"Browse ",
|
|
9986
9986
|
item.buttonText
|
|
@@ -10499,10 +10499,10 @@ var OSTypeBadge = ({
|
|
|
10499
10499
|
if (!osType) {
|
|
10500
10500
|
return labelOnly ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk63A4GZMBcjs.cn.call(void 0, "text-ods-text-secondary", className), children: "Unknown" }) : null;
|
|
10501
10501
|
}
|
|
10502
|
-
const normalized =
|
|
10502
|
+
const normalized = _chunkP25RVNGXcjs.normalizeOSType.call(void 0, osType);
|
|
10503
10503
|
if (!normalized && !labelOnly) return null;
|
|
10504
|
-
const label =
|
|
10505
|
-
const IconComponent =
|
|
10504
|
+
const label = _chunkP25RVNGXcjs.getOSLabel.call(void 0, osType);
|
|
10505
|
+
const IconComponent = _chunkP25RVNGXcjs.getOSIcon.call(void 0, osType);
|
|
10506
10506
|
if (iconOnly && IconComponent) {
|
|
10507
10507
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, IconComponent, { className: _chunk63A4GZMBcjs.cn.call(void 0, iconSize, "text-ods-text-secondary", className) });
|
|
10508
10508
|
}
|
|
@@ -10799,7 +10799,7 @@ function ComplianceLogo({
|
|
|
10799
10799
|
fallback = null,
|
|
10800
10800
|
className
|
|
10801
10801
|
}) {
|
|
10802
|
-
const standard =
|
|
10802
|
+
const standard = _chunkP25RVNGXcjs.complianceStandardForName.call(void 0, ...names);
|
|
10803
10803
|
if (!standard) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: fallback });
|
|
10804
10804
|
const Official = standard.logo ? COMPLIANCE_LOGOS[standard.logo] : null;
|
|
10805
10805
|
return Official ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -12841,7 +12841,7 @@ function DataTableRowImpl({
|
|
|
12841
12841
|
const containerRef = _react.useRef.call(void 0, null);
|
|
12842
12842
|
const handleClick = _react.useCallback.call(void 0,
|
|
12843
12843
|
(e) => {
|
|
12844
|
-
if (!
|
|
12844
|
+
if (!_chunkP25RVNGXcjs.isOwnClick.call(void 0, e.target, containerRef.current)) {
|
|
12845
12845
|
if (isLinkMode) e.preventDefault();
|
|
12846
12846
|
return;
|
|
12847
12847
|
}
|
|
@@ -12855,7 +12855,7 @@ function DataTableRowImpl({
|
|
|
12855
12855
|
if (!(target instanceof Element) || !_optionalChain([container, 'optionalAccess', _224 => _224.contains, 'call', _225 => _225(target)])) return;
|
|
12856
12856
|
const nestedLink = target.closest("a");
|
|
12857
12857
|
if (nestedLink && nestedLink !== container && container.contains(nestedLink)) return;
|
|
12858
|
-
if (!
|
|
12858
|
+
if (!_chunkP25RVNGXcjs.isOwnClick.call(void 0, target, container) || target.closest(ROW_LINK_CONTROL_SELECTOR)) e.preventDefault();
|
|
12859
12859
|
}, []);
|
|
12860
12860
|
const containerClassName = _chunk63A4GZMBcjs.cn.call(void 0,
|
|
12861
12861
|
DATA_TABLE_ROW_FRAME_CLASS,
|
|
@@ -12985,7 +12985,7 @@ function DataTableBody({
|
|
|
12985
12985
|
const skeletonRowClassName = typeof rowClassName === "string" ? rowClassName : void 0;
|
|
12986
12986
|
if (loading && loadingCells && hasRows) {
|
|
12987
12987
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12988
|
-
|
|
12988
|
+
_chunk2U7GXE3Tcjs.LoadingFallback,
|
|
12989
12989
|
{
|
|
12990
12990
|
label: "Loading results",
|
|
12991
12991
|
status: loadingRegion && !inScope,
|
|
@@ -13334,7 +13334,7 @@ function HeaderCell({ header, sort, onSortChange }) {
|
|
|
13334
13334
|
// child of the cell.
|
|
13335
13335
|
_optionalChain([meta, 'optionalAccess', _244 => _244.hint]) ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start gap-[var(--spacing-system-xxs)]", children: [
|
|
13336
13336
|
filterTrigger,
|
|
13337
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13337
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP25RVNGXcjs.InfoHint, { label: resolveHeaderLabel(header), children: meta.hint })
|
|
13338
13338
|
] }) : filterTrigger
|
|
13339
13339
|
) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
13340
13340
|
"div",
|
|
@@ -13359,7 +13359,7 @@ function HeaderCell({ header, sort, onSortChange }) {
|
|
|
13359
13359
|
// centred on the row.
|
|
13360
13360
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 items-start gap-[var(--spacing-system-xxs)]", children: [
|
|
13361
13361
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, HeaderLabel, { header }),
|
|
13362
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13362
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP25RVNGXcjs.InfoHint, { label: resolveHeaderLabel(header), children: meta.hint })
|
|
13363
13363
|
] })
|
|
13364
13364
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, HeaderLabel, { header }),
|
|
13365
13365
|
canSort && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SortIcon, { sorted: sortDir })
|
|
@@ -13598,7 +13598,7 @@ function PhoneInput({
|
|
|
13598
13598
|
placeholder = "Phone Number (optional)",
|
|
13599
13599
|
onKeyDown
|
|
13600
13600
|
}) {
|
|
13601
|
-
const { priority, others } = _react.useMemo.call(void 0, () =>
|
|
13601
|
+
const { priority, others } = _react.useMemo.call(void 0, () => _chunkP25RVNGXcjs.getCountryPhoneData.call(void 0, ), []);
|
|
13602
13602
|
const selectedCountry = _react.useMemo.call(void 0,
|
|
13603
13603
|
() => [...priority, ...others].find((c) => c.code === countryCode),
|
|
13604
13604
|
[countryCode, priority, others]
|
|
@@ -13613,7 +13613,7 @@ function PhoneInput({
|
|
|
13613
13613
|
_optionalChain([onValidationChange, 'optionalCall', _261 => _261(false)]);
|
|
13614
13614
|
return;
|
|
13615
13615
|
}
|
|
13616
|
-
const invalid = !
|
|
13616
|
+
const invalid = !_chunkP25RVNGXcjs.validatePhoneNumber.call(void 0, phone, countryCode);
|
|
13617
13617
|
setIsInvalid(invalid);
|
|
13618
13618
|
_optionalChain([onValidationChange, 'optionalCall', _262 => _262(invalid)]);
|
|
13619
13619
|
},
|
|
@@ -14458,7 +14458,7 @@ function MarkdownLinkDialog({ isOpen, initial, editing, onSubmit, onRemove, onCl
|
|
|
14458
14458
|
),
|
|
14459
14459
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-xsf)]", children: [
|
|
14460
14460
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14461
|
-
|
|
14461
|
+
_chunk2U7GXE3Tcjs.TabSelector,
|
|
14462
14462
|
{
|
|
14463
14463
|
label: "Search engines",
|
|
14464
14464
|
value: choice,
|
|
@@ -14515,7 +14515,7 @@ function useMarkdownLinkCommand() {
|
|
|
14515
14515
|
buttonProps: { "aria-label": "Add or edit a link (ctrl + l)", title: "Add or edit a link (ctrl + l)" },
|
|
14516
14516
|
icon: command.icon,
|
|
14517
14517
|
execute: (state, api) => {
|
|
14518
|
-
const existing =
|
|
14518
|
+
const existing = _chunk2U7GXE3Tcjs.findMarkdownLinkAt.call(void 0, state.text, state.selection.start, state.selection.end);
|
|
14519
14519
|
setPending(
|
|
14520
14520
|
existing ? {
|
|
14521
14521
|
api,
|
|
@@ -14546,7 +14546,7 @@ function useMarkdownLinkCommand() {
|
|
|
14546
14546
|
initial: _nullishCoalesce(_optionalChain([pending, 'optionalAccess', _319 => _319.initial]), () => ( EMPTY_LINK)),
|
|
14547
14547
|
editing: _nullishCoalesce(_optionalChain([pending, 'optionalAccess', _320 => _320.editing]), () => ( false)),
|
|
14548
14548
|
onSubmit: (link) => {
|
|
14549
|
-
if (pending) write(pending,
|
|
14549
|
+
if (pending) write(pending, _chunk2U7GXE3Tcjs.formatMarkdownLink.call(void 0, link));
|
|
14550
14550
|
},
|
|
14551
14551
|
onRemove: () => {
|
|
14552
14552
|
if (pending) write(pending, pending.initial.text);
|
|
@@ -16428,7 +16428,7 @@ function TicketInfoSection({
|
|
|
16428
16428
|
expanded && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
16429
16429
|
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" }) }),
|
|
16430
16430
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-4 border-b border-ods-border bg-ods-bg p-4", children: [
|
|
16431
|
-
description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16431
|
+
description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2U7GXE3Tcjs.SimpleMarkdownRenderer, { content: description }),
|
|
16432
16432
|
attachments && attachments.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketDetailSection, { label: "Attachments", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketAttachmentsList, { attachments }) }),
|
|
16433
16433
|
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, _chunkBOS7OIC4cjs.Tag, { label: tag, variant: "outline", className: "max-w-full" }, tag)) }) }),
|
|
16434
16434
|
(notes || onAddNote) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketDetailSection, { label: "Notes", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -16903,7 +16903,7 @@ function PhotoWall({
|
|
|
16903
16903
|
gap: COLUMN_GAP_PX
|
|
16904
16904
|
};
|
|
16905
16905
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: rootRef, "aria-hidden": "true", className: _chunk63A4GZMBcjs.cn.call(void 0, "grid overflow-hidden", className), style: gridStyle, children: columnsToDraw ? columnsToDraw.map((column, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16906
|
-
|
|
16906
|
+
_chunk2U7GXE3Tcjs.MarqueeWall,
|
|
16907
16907
|
{
|
|
16908
16908
|
axis: "y",
|
|
16909
16909
|
reverse: index % 2 === 1,
|
|
@@ -17448,7 +17448,7 @@ function LoadingLabel({ label, typical }) {
|
|
|
17448
17448
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: label.split(/(\{\w+\})/).map(
|
|
17449
17449
|
(part, index) => /^\{\w+\}$/.test(part) ? (
|
|
17450
17450
|
// biome-ignore lint/suspicious/noArrayIndexKey: the parts of one fixed string never reorder
|
|
17451
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17451
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2U7GXE3Tcjs.TextHold, { children: typical }, index)
|
|
17452
17452
|
) : part
|
|
17453
17453
|
) });
|
|
17454
17454
|
}
|
|
@@ -17463,7 +17463,7 @@ var TRIAL_TERM_ICONS = {
|
|
|
17463
17463
|
};
|
|
17464
17464
|
var DEFAULT_TRIAL_TERMS = ["cancel", "length", "noContract"];
|
|
17465
17465
|
function trialBenefits(trialDays, terms = DEFAULT_TRIAL_TERMS) {
|
|
17466
|
-
const labels =
|
|
17466
|
+
const labels = _chunkP25RVNGXcjs.trialLabels.call(void 0, trialDays);
|
|
17467
17467
|
return terms.flatMap((term) => {
|
|
17468
17468
|
const label = labels[term];
|
|
17469
17469
|
return label ? [{ icon: TRIAL_TERM_ICONS[term], label }] : [];
|
|
@@ -21894,7 +21894,7 @@ var MODEL_TOKEN_RATES_COPY = {
|
|
|
21894
21894
|
empty: "No token rates are in effect right now."
|
|
21895
21895
|
};
|
|
21896
21896
|
function providerMark(providerType, stated, className) {
|
|
21897
|
-
const Mark = _chunkQOAA7ZHBcjs.findIcon.call(void 0,
|
|
21897
|
+
const Mark = _chunkQOAA7ZHBcjs.findIcon.call(void 0, _chunkP25RVNGXcjs.aiProvider.call(void 0, providerType, { icon: stated }).icon);
|
|
21898
21898
|
return Mark ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Mark, { className }) : void 0;
|
|
21899
21899
|
}
|
|
21900
21900
|
var PAD_X = "px-[var(--spacing-system-s)]";
|
|
@@ -21912,7 +21912,7 @@ var UNIT_LINE_CLASS = _chunk63A4GZMBcjs.cn.call(void 0,
|
|
|
21912
21912
|
var TABS_ROW_CLASS = _chunk63A4GZMBcjs.cn.call(void 0, "shrink-0 border-b border-ods-border py-[var(--spacing-system-xs)]", PAD_X);
|
|
21913
21913
|
var NUMBER_CELL = "w-16 shrink-0 whitespace-nowrap text-right tabular-nums";
|
|
21914
21914
|
function useProviderGroup(rates) {
|
|
21915
|
-
const groups =
|
|
21915
|
+
const groups = _chunkP25RVNGXcjs.groupTokenRatesByProvider.call(void 0, rates);
|
|
21916
21916
|
const [picked, setPicked] = _react.useState.call(void 0, null);
|
|
21917
21917
|
return { groups, group: _nullishCoalesce(groups.find((candidate) => candidate.providerType === picked), () => ( groups[0])), setPicked };
|
|
21918
21918
|
}
|
|
@@ -21923,7 +21923,7 @@ function ProviderTabs({
|
|
|
21923
21923
|
className
|
|
21924
21924
|
}) {
|
|
21925
21925
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21926
|
-
|
|
21926
|
+
_chunk2U7GXE3Tcjs.TabSelector,
|
|
21927
21927
|
{
|
|
21928
21928
|
variant: "secondary",
|
|
21929
21929
|
scrollable: true,
|
|
@@ -21931,7 +21931,7 @@ function ProviderTabs({
|
|
|
21931
21931
|
onValueChange,
|
|
21932
21932
|
items: groups.map((candidate) => ({
|
|
21933
21933
|
id: candidate.providerType,
|
|
21934
|
-
label:
|
|
21934
|
+
label: _chunkP25RVNGXcjs.tokenRateProviderLabel.call(void 0, candidate.providerType, _optionalChain([candidate, 'access', _462 => _462.rates, 'access', _463 => _463[0], 'optionalAccess', _464 => _464.providerLabel])),
|
|
21935
21935
|
icon: providerMark(candidate.providerType, _optionalChain([candidate, 'access', _465 => _465.rates, 'access', _466 => _466[0], 'optionalAccess', _467 => _467.providerIcon]), "size-full")
|
|
21936
21936
|
})),
|
|
21937
21937
|
className
|
|
@@ -22008,8 +22008,8 @@ function ModelTokenRatesTable({ rates }) {
|
|
|
22008
22008
|
] }),
|
|
22009
22009
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { role: "rowgroup", className: "min-h-0 flex-1 overflow-y-auto", children: group.rates.map((rate) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { "data-loading-item": true, role: "row", className: BODY_ROW_CLASS, children: [
|
|
22010
22010
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "rowheader", className: "min-w-0 flex-1 truncate", children: rate.displayName || rate.modelName }),
|
|
22011
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "cell", className: NUMBER_CELL, children:
|
|
22012
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "cell", className: NUMBER_CELL, children:
|
|
22011
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "cell", className: NUMBER_CELL, children: _chunkP25RVNGXcjs.formatTokenRate.call(void 0, rate.inputTokenRate) }),
|
|
22012
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "cell", className: NUMBER_CELL, children: _chunkP25RVNGXcjs.formatTokenRate.call(void 0, rate.outputTokenRate) })
|
|
22013
22013
|
] }, rate.modelName)) })
|
|
22014
22014
|
] }),
|
|
22015
22015
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: UNIT_LINE_CLASS, children: MODEL_TOKEN_RATES_COPY.unit })
|
|
@@ -22056,7 +22056,7 @@ function modelOption(rate) {
|
|
|
22056
22056
|
return {
|
|
22057
22057
|
label: rate.displayName || rate.modelName,
|
|
22058
22058
|
value: rate.modelName,
|
|
22059
|
-
description:
|
|
22059
|
+
description: _chunkP25RVNGXcjs.tokenRateProviderLabel.call(void 0, rate.providerType, rate.providerLabel),
|
|
22060
22060
|
icon: providerMark(rate.providerType, rate.providerIcon, "size-full text-ods-text-secondary")
|
|
22061
22061
|
};
|
|
22062
22062
|
}
|
|
@@ -22111,8 +22111,8 @@ function ModelTokenExchange({
|
|
|
22111
22111
|
const [chosen, setChosen] = _react.useState.call(void 0, null);
|
|
22112
22112
|
const balance = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(chosen, () => ( defaultAmount)), () => ( _optionalChain([tokenPrice, 'optionalAccess', _468 => _468.tokens]))), () => ( MODEL_TOKEN_EXCHANGE_BALANCE));
|
|
22113
22113
|
const max = Math.max(amountRange.max, balance, ...presets.map((preset) => preset.tokens));
|
|
22114
|
-
const tokens =
|
|
22115
|
-
const cost =
|
|
22114
|
+
const tokens = _chunkP25RVNGXcjs.formatTokenAmount.call(void 0, balance);
|
|
22115
|
+
const cost = _chunkP25RVNGXcjs.tokenCost.call(void 0, balance, tokenPrice);
|
|
22116
22116
|
const balancePrice = cost === null ? null : _chunkBOS7OIC4cjs.formatPrice.call(void 0, cost);
|
|
22117
22117
|
const model = rate ? rate.displayName || rate.modelName : "";
|
|
22118
22118
|
const options = models.map(modelOption);
|
|
@@ -22155,7 +22155,7 @@ function ModelTokenExchange({
|
|
|
22155
22155
|
variant: preset.tokens === balance ? "accent" : "outline",
|
|
22156
22156
|
size: "small",
|
|
22157
22157
|
onClick: () => setChosen(preset.tokens),
|
|
22158
|
-
children: copy.buy.preset(
|
|
22158
|
+
children: copy.buy.preset(_chunkP25RVNGXcjs.formatTokenAmount.call(void 0, preset.tokens), preset.label)
|
|
22159
22159
|
},
|
|
22160
22160
|
preset.label
|
|
22161
22161
|
)) })
|
|
@@ -22172,7 +22172,7 @@ function ModelTokenExchange({
|
|
|
22172
22172
|
const stated = _nullishCoalesce(models.find((option) => option.providerType === providerType), () => ( (_optionalChain([rate, 'optionalAccess', _469 => _469.providerType]) === providerType ? rate : null)));
|
|
22173
22173
|
return {
|
|
22174
22174
|
id: providerType,
|
|
22175
|
-
name:
|
|
22175
|
+
name: _chunkP25RVNGXcjs.tokenRateProviderLabel.call(void 0, providerType, _optionalChain([stated, 'optionalAccess', _470 => _470.providerLabel])),
|
|
22176
22176
|
icon: providerMark(providerType, _optionalChain([stated, 'optionalAccess', _471 => _471.providerIcon]), "size-8 text-ods-text-secondary")
|
|
22177
22177
|
};
|
|
22178
22178
|
}),
|
|
@@ -22211,7 +22211,7 @@ function ModelTokenExchange({
|
|
|
22211
22211
|
{
|
|
22212
22212
|
size: "plain",
|
|
22213
22213
|
loading,
|
|
22214
|
-
figure:
|
|
22214
|
+
figure: _chunkP25RVNGXcjs.formatTokenRate.call(void 0, _optionalChain([rate, 'optionalAccess', _476 => _476.inputTokenRate])),
|
|
22215
22215
|
words: copy.charge.input
|
|
22216
22216
|
}
|
|
22217
22217
|
),
|
|
@@ -22220,7 +22220,7 @@ function ModelTokenExchange({
|
|
|
22220
22220
|
{
|
|
22221
22221
|
size: "plain",
|
|
22222
22222
|
loading,
|
|
22223
|
-
figure:
|
|
22223
|
+
figure: _chunkP25RVNGXcjs.formatTokenRate.call(void 0, _optionalChain([rate, 'optionalAccess', _477 => _477.outputTokenRate])),
|
|
22224
22224
|
words: copy.charge.output
|
|
22225
22225
|
}
|
|
22226
22226
|
)
|
|
@@ -22232,9 +22232,9 @@ function ModelTokenExchange({
|
|
|
22232
22232
|
className: "mt-auto flex flex-col rounded-md border border-ods-accent bg-ods-bg p-[var(--spacing-system-mf)]",
|
|
22233
22233
|
children: [
|
|
22234
22234
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-h-[2lh] text-ods-text-secondary text-h4", children: loading || !rate ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-full max-w-xs" }) : copy.charge.so(_nullishCoalesce(balancePrice, () => ( copy.buy.tokens(tokens))), model) }),
|
|
22235
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-h-[1lh] whitespace-nowrap tabular-nums text-ods-text-primary text-h1", children: loading || !rate ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-40" }) :
|
|
22235
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-h-[1lh] whitespace-nowrap tabular-nums text-ods-text-primary text-h1", children: loading || !rate ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-40" }) : _chunkP25RVNGXcjs.formatTokenAmount.call(void 0, _chunkP25RVNGXcjs.tokensForBalance.call(void 0, balance, rate.inputTokenRate)) }),
|
|
22236
22236
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-h-[1lh] text-ods-text-primary text-h3", children: copy.charge.read }),
|
|
22237
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-h-[1lh] text-ods-text-secondary text-h4", children: loading || !rate ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-48" }) : copy.charge.orWritten(
|
|
22237
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-h-[1lh] text-ods-text-secondary text-h4", children: loading || !rate ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-48" }) : copy.charge.orWritten(_chunkP25RVNGXcjs.formatTokenAmount.call(void 0, _chunkP25RVNGXcjs.tokensForBalance.call(void 0, balance, rate.outputTokenRate))) })
|
|
22238
22238
|
]
|
|
22239
22239
|
}
|
|
22240
22240
|
)
|
|
@@ -22754,14 +22754,14 @@ var ConfidenceBadge = ({
|
|
|
22754
22754
|
size = "sm",
|
|
22755
22755
|
className
|
|
22756
22756
|
}) => {
|
|
22757
|
-
const level =
|
|
22757
|
+
const level = _chunkP25RVNGXcjs.getConfidenceLevel.call(void 0, confidence);
|
|
22758
22758
|
if (level === "none") {
|
|
22759
22759
|
return null;
|
|
22760
22760
|
}
|
|
22761
|
-
const label =
|
|
22762
|
-
const borderClass =
|
|
22763
|
-
const textClass =
|
|
22764
|
-
const bgClass =
|
|
22761
|
+
const label = _chunkP25RVNGXcjs.getConfidenceLabel.call(void 0, confidence);
|
|
22762
|
+
const borderClass = _chunkP25RVNGXcjs.getConfidenceBorderClass.call(void 0, confidence);
|
|
22763
|
+
const textClass = _chunkP25RVNGXcjs.getConfidenceTextClass.call(void 0, confidence);
|
|
22764
|
+
const bgClass = _chunkP25RVNGXcjs.getConfidenceBgClass.call(void 0, confidence);
|
|
22765
22765
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
22766
22766
|
"span",
|
|
22767
22767
|
{
|
|
@@ -22812,9 +22812,9 @@ function SEOEditorPreview({
|
|
|
22812
22812
|
const [isUploading, setIsUploading] = _react.useState.call(void 0, false);
|
|
22813
22813
|
const [fileInputRef, setFileInputRef] = _react.useState.call(void 0, null);
|
|
22814
22814
|
const seoTitleLength = (seoTitle || "").length;
|
|
22815
|
-
const seoTitleTooLong = seoTitleLength >
|
|
22815
|
+
const seoTitleTooLong = seoTitleLength > _chunkP25RVNGXcjs.SEO_TITLE_MAX_LENGTH;
|
|
22816
22816
|
const seoDescriptionLength = (seoDescription || "").length;
|
|
22817
|
-
const seoDescriptionTooLong = seoDescriptionLength >
|
|
22817
|
+
const seoDescriptionTooLong = seoDescriptionLength > _chunkP25RVNGXcjs.SEO_DESCRIPTION_MAX_LENGTH;
|
|
22818
22818
|
const displayTitle = seoTitle.trim() || title || "Untitled";
|
|
22819
22819
|
const displayDescription = seoDescription.trim() || summary || "No description";
|
|
22820
22820
|
const hasOgImage = ogImageUrl.trim();
|
|
@@ -22839,10 +22839,10 @@ function SEOEditorPreview({
|
|
|
22839
22839
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid grid-cols-1 gap-4 content-lg:grid-cols-2", children: [
|
|
22840
22840
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
22841
22841
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22842
|
-
|
|
22842
|
+
_chunkP25RVNGXcjs.Field,
|
|
22843
22843
|
{
|
|
22844
22844
|
label: "SEO Title",
|
|
22845
|
-
error: seoTitleTooLong ? `Too long: search engines may truncate this title (keep it under ${
|
|
22845
|
+
error: seoTitleTooLong ? `Too long: search engines may truncate this title (keep it under ${_chunkP25RVNGXcjs.SEO_TITLE_MAX_LENGTH})` : null,
|
|
22846
22846
|
labelExtras: aiConfidenceSeoTitle !== void 0 ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
22847
22847
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, AIGeneratedBadge, {}),
|
|
22848
22848
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ConfidenceBadge, { confidence: aiConfidenceSeoTitle, showLabel: true, showPercentage: true, size: "sm" })
|
|
@@ -22857,7 +22857,7 @@ function SEOEditorPreview({
|
|
|
22857
22857
|
children: [
|
|
22858
22858
|
seoTitleLength,
|
|
22859
22859
|
"/",
|
|
22860
|
-
|
|
22860
|
+
_chunkP25RVNGXcjs.SEO_TITLE_MAX_LENGTH
|
|
22861
22861
|
]
|
|
22862
22862
|
}
|
|
22863
22863
|
),
|
|
@@ -22868,7 +22868,7 @@ function SEOEditorPreview({
|
|
|
22868
22868
|
value: seoTitle || "",
|
|
22869
22869
|
onChange: (e) => onSeoTitleChange(e.target.value),
|
|
22870
22870
|
disabled,
|
|
22871
|
-
maxLength:
|
|
22871
|
+
maxLength: _chunkP25RVNGXcjs.SEO_TITLE_MAX_LENGTH,
|
|
22872
22872
|
invalid: seoTitleTooLong,
|
|
22873
22873
|
placeholder: "Enter SEO meta title...",
|
|
22874
22874
|
className: "border-ods-border bg-ods-bg text-ods-text-primary"
|
|
@@ -22879,7 +22879,7 @@ function SEOEditorPreview({
|
|
|
22879
22879
|
!seoTitle && title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-accent text-h6", children: "Auto-populated from title" })
|
|
22880
22880
|
] }),
|
|
22881
22881
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22882
|
-
|
|
22882
|
+
_chunkP25RVNGXcjs.Field,
|
|
22883
22883
|
{
|
|
22884
22884
|
label: "SEO Keywords",
|
|
22885
22885
|
labelExtras: aiConfidenceSeoKeywords !== void 0 ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
@@ -22911,10 +22911,10 @@ function SEOEditorPreview({
|
|
|
22911
22911
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid grid-cols-1 gap-4 content-lg:grid-cols-2", children: [
|
|
22912
22912
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
22913
22913
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22914
|
-
|
|
22914
|
+
_chunkP25RVNGXcjs.Field,
|
|
22915
22915
|
{
|
|
22916
22916
|
label: "SEO Description",
|
|
22917
|
-
error: seoDescriptionTooLong ? `Too long: search engines may truncate this description (keep it under ${
|
|
22917
|
+
error: seoDescriptionTooLong ? `Too long: search engines may truncate this description (keep it under ${_chunkP25RVNGXcjs.SEO_DESCRIPTION_MAX_LENGTH})` : null,
|
|
22918
22918
|
labelExtras: aiConfidenceSeoDescription !== void 0 ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
22919
22919
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, AIGeneratedBadge, {}),
|
|
22920
22920
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -22937,7 +22937,7 @@ function SEOEditorPreview({
|
|
|
22937
22937
|
children: [
|
|
22938
22938
|
seoDescriptionLength,
|
|
22939
22939
|
"/",
|
|
22940
|
-
|
|
22940
|
+
_chunkP25RVNGXcjs.SEO_DESCRIPTION_MAX_LENGTH
|
|
22941
22941
|
]
|
|
22942
22942
|
}
|
|
22943
22943
|
),
|
|
@@ -22948,7 +22948,7 @@ function SEOEditorPreview({
|
|
|
22948
22948
|
value: seoDescription || "",
|
|
22949
22949
|
onChange: (e) => onSeoDescriptionChange(e.target.value),
|
|
22950
22950
|
disabled,
|
|
22951
|
-
maxLength:
|
|
22951
|
+
maxLength: _chunkP25RVNGXcjs.SEO_DESCRIPTION_MAX_LENGTH,
|
|
22952
22952
|
invalid: seoDescriptionTooLong,
|
|
22953
22953
|
placeholder: "Enter SEO meta description...",
|
|
22954
22954
|
className: _chunk63A4GZMBcjs.cn.call(void 0, "resize-none border-ods-border bg-ods-bg text-ods-text-primary", SEO_MEDIA_BOX_HEIGHT)
|
|
@@ -23660,7 +23660,7 @@ function VideoBitesDisplay({
|
|
|
23660
23660
|
filterPublished = true,
|
|
23661
23661
|
showTitle = true
|
|
23662
23662
|
}) {
|
|
23663
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23663
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2U7GXE3Tcjs.VideoBitesStrip, { bites, title, filterPublished, showTitle });
|
|
23664
23664
|
}
|
|
23665
23665
|
|
|
23666
23666
|
// src/components/features/walkthrough-video.tsx
|
|
@@ -23689,7 +23689,7 @@ function WalkthroughVideo({
|
|
|
23689
23689
|
onOpenChange,
|
|
23690
23690
|
defaultOpen,
|
|
23691
23691
|
defaultOpenPaused,
|
|
23692
|
-
deepLinkParam =
|
|
23692
|
+
deepLinkParam = _chunkP25RVNGXcjs.WALKTHROUGH_OPEN_QUERY_PARAM,
|
|
23693
23693
|
autoPlayCard = false,
|
|
23694
23694
|
label = "Play Demo Video",
|
|
23695
23695
|
placement,
|
|
@@ -23706,7 +23706,7 @@ function WalkthroughVideo({
|
|
|
23706
23706
|
const inline = placement === "inline";
|
|
23707
23707
|
const inScope = _chunk63A4GZMBcjs.useLoadingScope.call(void 0, );
|
|
23708
23708
|
const dismissEnabled = dismissal !== false;
|
|
23709
|
-
const storageKey = dismissEnabled && dismissal.storageKey ||
|
|
23709
|
+
const storageKey = dismissEnabled && dismissal.storageKey || _chunkP25RVNGXcjs.WALKTHROUGH_VIDEO_DISMISS_KEY;
|
|
23710
23710
|
const dismissalId = _optionalChain([video, 'optionalAccess', _493 => _493.id]) != null ? String(video.id) : "dismissed";
|
|
23711
23711
|
const [mounted, setMounted] = _react.useState.call(void 0, false);
|
|
23712
23712
|
const [dismissed, setDismissed] = _react.useState.call(void 0, false);
|
|
@@ -23718,7 +23718,7 @@ function WalkthroughVideo({
|
|
|
23718
23718
|
let delayElapsed = false;
|
|
23719
23719
|
let interacted = inline;
|
|
23720
23720
|
const reveal = () => {
|
|
23721
|
-
if (dismissEnabled &&
|
|
23721
|
+
if (dismissEnabled && _chunkP25RVNGXcjs.isWalkthroughDismissed.call(void 0, storageKey, dismissalId)) {
|
|
23722
23722
|
setDismissed(true);
|
|
23723
23723
|
return;
|
|
23724
23724
|
}
|
|
@@ -23755,7 +23755,7 @@ function WalkthroughVideo({
|
|
|
23755
23755
|
if (idleHandle !== null && typeof cic === "function") cic(idleHandle);
|
|
23756
23756
|
};
|
|
23757
23757
|
}, [appearDelayMs, dismissEnabled, storageKey, dismissalId, hasVideo, videoId, inline]);
|
|
23758
|
-
const hydrated =
|
|
23758
|
+
const hydrated = _chunk2U7GXE3Tcjs.useIsHydrated.call(void 0, );
|
|
23759
23759
|
const previewSuppressed = _react.useMemo.call(void 0, () => {
|
|
23760
23760
|
if (!hydrated) return false;
|
|
23761
23761
|
try {
|
|
@@ -24005,7 +24005,7 @@ function WalkthroughVideo({
|
|
|
24005
24005
|
(e) => {
|
|
24006
24006
|
e.stopPropagation();
|
|
24007
24007
|
pausePreviewNow();
|
|
24008
|
-
if (dismissEnabled)
|
|
24008
|
+
if (dismissEnabled) _chunkP25RVNGXcjs.dismissWalkthrough.call(void 0, storageKey, dismissalId);
|
|
24009
24009
|
setDismissed(true);
|
|
24010
24010
|
},
|
|
24011
24011
|
[dismissEnabled, storageKey, dismissalId, pausePreviewNow]
|
|
@@ -24180,7 +24180,7 @@ function WalkthroughVideo({
|
|
|
24180
24180
|
`card-${embedUrlKey}`
|
|
24181
24181
|
) }),
|
|
24182
24182
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24183
|
-
|
|
24183
|
+
_chunk2U7GXE3Tcjs.CardHitLayer,
|
|
24184
24184
|
{
|
|
24185
24185
|
label: video.title ? `${label}: ${video.title}` : label,
|
|
24186
24186
|
onPointerDown: pausePreviewNow,
|
|
@@ -24352,7 +24352,7 @@ function useWalkthroughVideo(opts) {
|
|
|
24352
24352
|
const { endpoint, initialData, enabled: enabledGiven = true, transformCaptionsUrl } = opts;
|
|
24353
24353
|
const inScope = _chunk63A4GZMBcjs.useLoadingScope.call(void 0, );
|
|
24354
24354
|
const enabled = enabledGiven && !inScope;
|
|
24355
|
-
const captions =
|
|
24355
|
+
const captions = _chunk2U7GXE3Tcjs.useCaptions.call(void 0, );
|
|
24356
24356
|
const query = _reactquery.useQuery.call(void 0, {
|
|
24357
24357
|
queryKey: ["walkthrough-video", endpoint],
|
|
24358
24358
|
enabled,
|
|
@@ -25103,7 +25103,7 @@ function HighlightConfigSection({
|
|
|
25103
25103
|
disabled = false,
|
|
25104
25104
|
className = ""
|
|
25105
25105
|
}) {
|
|
25106
|
-
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,
|
|
25106
|
+
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, _chunkP25RVNGXcjs.Field, { label: "Target Duration", children: (f) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
25107
25107
|
_chunkIJCSQFLDcjs.Select,
|
|
25108
25108
|
{
|
|
25109
25109
|
value: targetDurationSeconds.toString(),
|
|
@@ -25204,7 +25204,7 @@ var AIStatusIndicator = ({
|
|
|
25204
25204
|
}) => {
|
|
25205
25205
|
const config = statusConfig[status];
|
|
25206
25206
|
const displayText = message || config.label;
|
|
25207
|
-
const confidenceLabel = showConfidence && confidence !== void 0 ? `${
|
|
25207
|
+
const confidenceLabel = showConfidence && confidence !== void 0 ? `${_chunkP25RVNGXcjs.getConfidenceLabel.call(void 0, confidence)} (${confidence}%)` : null;
|
|
25208
25208
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk63A4GZMBcjs.cn.call(void 0, "inline-flex items-center gap-2 rounded-lg px-3 py-1.5", config.bgColor, className), children: [
|
|
25209
25209
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25210
25210
|
_chunkUNFCRSYIcjs.SparklesIcon,
|
|
@@ -25212,7 +25212,7 @@ var AIStatusIndicator = ({
|
|
|
25212
25212
|
size: 16,
|
|
25213
25213
|
className: _chunk63A4GZMBcjs.cn.call(void 0,
|
|
25214
25214
|
status === "loading" && _chunk3TOWCFIKcjs.LIVE_PULSE_CLASS,
|
|
25215
|
-
confidence !== void 0 && status === "success" ?
|
|
25215
|
+
confidence !== void 0 && status === "success" ? _chunkP25RVNGXcjs.getConfidenceTextClass.call(void 0, confidence) : config.color
|
|
25216
25216
|
)
|
|
25217
25217
|
}
|
|
25218
25218
|
),
|
|
@@ -25221,7 +25221,7 @@ var AIStatusIndicator = ({
|
|
|
25221
25221
|
{
|
|
25222
25222
|
className: _chunk63A4GZMBcjs.cn.call(void 0,
|
|
25223
25223
|
"text-h6",
|
|
25224
|
-
confidence !== void 0 && status === "success" ?
|
|
25224
|
+
confidence !== void 0 && status === "success" ? _chunkP25RVNGXcjs.getConfidenceTextClass.call(void 0, confidence) : config.color
|
|
25225
25225
|
),
|
|
25226
25226
|
children: displayText
|
|
25227
25227
|
}
|
|
@@ -25231,8 +25231,8 @@ var AIStatusIndicator = ({
|
|
|
25231
25231
|
{
|
|
25232
25232
|
className: _chunk63A4GZMBcjs.cn.call(void 0,
|
|
25233
25233
|
"rounded-full border px-2 py-0.5 text-h6",
|
|
25234
|
-
|
|
25235
|
-
|
|
25234
|
+
_chunkP25RVNGXcjs.getConfidenceBorderClass.call(void 0, confidence),
|
|
25235
|
+
_chunkP25RVNGXcjs.getConfidenceTextClass.call(void 0, confidence)
|
|
25236
25236
|
),
|
|
25237
25237
|
children: confidenceLabel
|
|
25238
25238
|
}
|
|
@@ -25853,7 +25853,7 @@ function ApprovalLevelView({
|
|
|
25853
25853
|
] });
|
|
25854
25854
|
}
|
|
25855
25855
|
function ApprovalLevelSkeleton({ editable = false, showLabel = true, className }) {
|
|
25856
|
-
const name = showLabel ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: LEVEL_NAME_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25856
|
+
const name = showLabel ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: LEVEL_NAME_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2U7GXE3Tcjs.TextHold, { children: LONGEST_LEVEL_LABEL }) }) : null;
|
|
25857
25857
|
if (!editable) {
|
|
25858
25858
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { "aria-hidden": true, className: _chunk63A4GZMBcjs.cn.call(void 0, READ_ONLY_ROW_CLASS, className), children: [
|
|
25859
25859
|
name,
|
|
@@ -26112,7 +26112,7 @@ function OpenPolicyButton({ href, name }) {
|
|
|
26112
26112
|
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,
|
|
26113
26113
|
_chunkFCZAUK4Dcjs.Button,
|
|
26114
26114
|
{
|
|
26115
|
-
onClick: loading ? void 0 :
|
|
26115
|
+
onClick: loading ? void 0 : _chunkP25RVNGXcjs.openInNewTab.call(void 0, href),
|
|
26116
26116
|
disabled: loading,
|
|
26117
26117
|
variant: "outline",
|
|
26118
26118
|
size: "icon",
|
|
@@ -26486,7 +26486,7 @@ function OpenTenantButton({ href, name }) {
|
|
|
26486
26486
|
/* @__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,
|
|
26487
26487
|
_chunkFCZAUK4Dcjs.Button,
|
|
26488
26488
|
{
|
|
26489
|
-
onClick: loading ? void 0 :
|
|
26489
|
+
onClick: loading ? void 0 : _chunkP25RVNGXcjs.openInNewTab.call(void 0, href),
|
|
26490
26490
|
disabled: loading,
|
|
26491
26491
|
variant: "outline",
|
|
26492
26492
|
size: "icon",
|
|
@@ -26621,7 +26621,7 @@ function WaitlistForm({
|
|
|
26621
26621
|
const { toast } = _chunkT266OITJcjs.useToast.call(void 0, );
|
|
26622
26622
|
const { honeypotInputProps, getSignals, resetSignals } = _chunkT266OITJcjs.useHumanitySignals.call(void 0, );
|
|
26623
26623
|
const [smsConsent, setSmsConsent] = _react.useState.call(void 0, false);
|
|
26624
|
-
const isClient =
|
|
26624
|
+
const isClient = _chunk2U7GXE3Tcjs.useIsHydrated.call(void 0, );
|
|
26625
26625
|
const [isPhoneInvalid, setIsPhoneInvalid] = _react.useState.call(void 0, false);
|
|
26626
26626
|
const [showConsentError, setShowConsentError] = _react.useState.call(void 0, false);
|
|
26627
26627
|
const rescue = _chunkT266OITJcjs.useFormRescue.call(void 0, {
|
|
@@ -26636,7 +26636,7 @@ function WaitlistForm({
|
|
|
26636
26636
|
_react.useEffect.call(void 0, () => {
|
|
26637
26637
|
rescue.track({ email, phone }, null);
|
|
26638
26638
|
}, [email, phone, rescue]);
|
|
26639
|
-
const isMailDomainGeneric =
|
|
26639
|
+
const isMailDomainGeneric = _chunkP25RVNGXcjs.hasGenericEmailDomain.call(void 0, email);
|
|
26640
26640
|
const [syncedDefaultEmail, setSyncedDefaultEmail] = _react.useState.call(void 0, defaultEmail);
|
|
26641
26641
|
if (syncedDefaultEmail !== defaultEmail) {
|
|
26642
26642
|
setSyncedDefaultEmail(defaultEmail);
|
|
@@ -26670,7 +26670,7 @@ function WaitlistForm({
|
|
|
26670
26670
|
setShowConsentError(true);
|
|
26671
26671
|
return;
|
|
26672
26672
|
}
|
|
26673
|
-
const finalPhone = phone ?
|
|
26673
|
+
const finalPhone = phone ? _chunkP25RVNGXcjs.formatPhoneE164.call(void 0, phone, countryCode) : void 0;
|
|
26674
26674
|
try {
|
|
26675
26675
|
await onRegister(email, finalPhone, getSignals(), rescue.submitFields());
|
|
26676
26676
|
rescue.complete();
|
|
@@ -28825,7 +28825,7 @@ function getDeviceStatusConfig(status) {
|
|
|
28825
28825
|
}
|
|
28826
28826
|
}
|
|
28827
28827
|
function getDeviceOperatingSystem(osType) {
|
|
28828
|
-
return
|
|
28828
|
+
return _chunkP25RVNGXcjs.getOSPlatformId.call(void 0, osType);
|
|
28829
28829
|
}
|
|
28830
28830
|
|
|
28831
28831
|
// src/components/features/devices/device-statuses.ts
|
|
@@ -30401,7 +30401,7 @@ function DevicesPanelView({
|
|
|
30401
30401
|
actionsVariant: "icon-buttons",
|
|
30402
30402
|
className,
|
|
30403
30403
|
selector: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30404
|
-
|
|
30404
|
+
_chunk2U7GXE3Tcjs.TabSelector,
|
|
30405
30405
|
{
|
|
30406
30406
|
value: viewMode,
|
|
30407
30407
|
onValueChange: (value) => _optionalChain([onViewModeChange, 'optionalCall', _674 => _674(value)]),
|
|
@@ -30936,11 +30936,11 @@ var ToolBadge = ({
|
|
|
30936
30936
|
iconClassName
|
|
30937
30937
|
}) => {
|
|
30938
30938
|
const loading = _chunk63A4GZMBcjs.useLoadingScope.call(void 0, );
|
|
30939
|
-
const text = _nullishCoalesce(label, () => ( (toolType ?
|
|
30939
|
+
const text = _nullishCoalesce(label, () => ( (toolType ? _chunkP25RVNGXcjs.getToolLabel.call(void 0, toolType) : "")));
|
|
30940
30940
|
const mark = _nullishCoalesce(icon, () => ( (toolType ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQDDBOCG3cjs.ToolIcon, { toolType, className: iconClassName, size: 16 }) : null)));
|
|
30941
30941
|
if (loading) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ToolBadgeSkeleton, { variant, icon: !!mark, className });
|
|
30942
30942
|
const linked = (node, linkClassName) => href && targetPlatform ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30943
|
-
|
|
30943
|
+
_chunk2U7GXE3Tcjs.NavLinkAnchorViaRuntime,
|
|
30944
30944
|
{
|
|
30945
30945
|
href,
|
|
30946
30946
|
targetPlatform,
|
|
@@ -31090,7 +31090,7 @@ function LogsTableView({
|
|
|
31090
31090
|
cell: ({ row }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31091
31091
|
ToolBadge,
|
|
31092
31092
|
{
|
|
31093
|
-
toolType:
|
|
31093
|
+
toolType: _chunkP25RVNGXcjs.normalizeToolTypeWithFallback.call(void 0, row.original.source.toolType),
|
|
31094
31094
|
iconClassName: "h-4 w-4 content-md:h-6 content-md:w-6"
|
|
31095
31095
|
}
|
|
31096
31096
|
),
|
|
@@ -31102,7 +31102,7 @@ function LogsTableView({
|
|
|
31102
31102
|
filter: {
|
|
31103
31103
|
options: _nullishCoalesce(_optionalChain([facets, 'optionalAccess', _682 => _682.toolTypes, 'access', _683 => _683.map, 'call', _684 => _684((toolType) => ({
|
|
31104
31104
|
id: toolType,
|
|
31105
|
-
label:
|
|
31105
|
+
label: _chunkP25RVNGXcjs.toToolLabel.call(void 0, toolType),
|
|
31106
31106
|
value: toolType
|
|
31107
31107
|
}))]), () => ( []))
|
|
31108
31108
|
}
|
|
@@ -31151,7 +31151,7 @@ function LogsTableView({
|
|
|
31151
31151
|
cell: ({ row }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31152
31152
|
LogRowButton,
|
|
31153
31153
|
{
|
|
31154
|
-
onClick: getLogHref ?
|
|
31154
|
+
onClick: getLogHref ? _chunkP25RVNGXcjs.openInNewTab.call(void 0, getLogHref(row.original)) : void 0,
|
|
31155
31155
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkANTDIQKKcjs.ArrowRightUpIcon, { className: "h-5 w-5" }),
|
|
31156
31156
|
label: "Open in new tab"
|
|
31157
31157
|
}
|
|
@@ -31473,7 +31473,7 @@ function OpenInNewTabCell({ href }) {
|
|
|
31473
31473
|
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,
|
|
31474
31474
|
_chunkFCZAUK4Dcjs.Button,
|
|
31475
31475
|
{
|
|
31476
|
-
onClick: loading ? void 0 :
|
|
31476
|
+
onClick: loading ? void 0 : _chunkP25RVNGXcjs.openInNewTab.call(void 0, href),
|
|
31477
31477
|
disabled: loading,
|
|
31478
31478
|
variant: "outline",
|
|
31479
31479
|
size: "icon",
|
|
@@ -31662,9 +31662,9 @@ function ScriptSchedulesTable({
|
|
|
31662
31662
|
|
|
31663
31663
|
// src/components/features/scripts/shell-types.ts
|
|
31664
31664
|
var SCRIPT_SHELL_TYPES = [
|
|
31665
|
-
{ id:
|
|
31666
|
-
{ id:
|
|
31667
|
-
{ id:
|
|
31665
|
+
{ id: _chunkP25RVNGXcjs.ShellTypeValues.POWERSHELL, label: "PowerShell", value: "powershell", icon: _chunkMCQY746Mcjs.PowershellLogoGreyIcon },
|
|
31666
|
+
{ id: _chunkP25RVNGXcjs.ShellTypeValues.CMD, label: "CMD", value: "cmd", icon: _chunkNIVJEJSGcjs.TerminalSquareIcon },
|
|
31667
|
+
{ id: _chunkP25RVNGXcjs.ShellTypeValues.BASH, label: "Bash", value: "bash", icon: _chunkTRUW6DDAcjs.TerminalIcon }
|
|
31668
31668
|
];
|
|
31669
31669
|
function scriptShellType(value) {
|
|
31670
31670
|
return SCRIPT_SHELL_TYPES.find((shell) => shell.value === value);
|
|
@@ -33140,7 +33140,7 @@ function ScheduleFormFields({
|
|
|
33140
33140
|
disabled = false,
|
|
33141
33141
|
renderScriptSearch,
|
|
33142
33142
|
timeReferenceGate = "off",
|
|
33143
|
-
platforms =
|
|
33143
|
+
platforms = _chunkP25RVNGXcjs.OS_PLATFORMS,
|
|
33144
33144
|
comingSoonPlatforms = [],
|
|
33145
33145
|
getTimeSlots,
|
|
33146
33146
|
nameLayout = "stacked",
|
|
@@ -33286,7 +33286,7 @@ function ScheduleFormFields({
|
|
|
33286
33286
|
// src/components/features/scripts/schedule-form/schedule-script-search-field.tsx
|
|
33287
33287
|
|
|
33288
33288
|
function ScriptPlatformIcons({ platforms }) {
|
|
33289
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "inline-flex shrink-0 items-center gap-0.5", children:
|
|
33289
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "inline-flex shrink-0 items-center gap-0.5", children: _chunkP25RVNGXcjs.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)) });
|
|
33290
33290
|
}
|
|
33291
33291
|
function ScheduleScriptSearchField({
|
|
33292
33292
|
scriptId,
|
|
@@ -33359,7 +33359,7 @@ function KnowledgeBaseOpenButton({ href }) {
|
|
|
33359
33359
|
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,
|
|
33360
33360
|
_chunkFCZAUK4Dcjs.Button,
|
|
33361
33361
|
{
|
|
33362
|
-
onClick: loading ? void 0 :
|
|
33362
|
+
onClick: loading ? void 0 : _chunkP25RVNGXcjs.openInNewTab.call(void 0, href),
|
|
33363
33363
|
disabled: loading,
|
|
33364
33364
|
variant: "outline",
|
|
33365
33365
|
size: "icon",
|
|
@@ -33710,7 +33710,7 @@ function ConversationCard({
|
|
|
33710
33710
|
style: tint,
|
|
33711
33711
|
onClick: selection && ((event) => {
|
|
33712
33712
|
if (event.button !== 0 || _optionalChain([window, 'access', _748 => _748.getSelection, 'call', _749 => _749(), 'optionalAccess', _750 => _750.toString, 'call', _751 => _751()])) return;
|
|
33713
|
-
if (!
|
|
33713
|
+
if (!_chunkP25RVNGXcjs.isOwnClick.call(void 0, event.target, event.currentTarget, { controls: true })) return;
|
|
33714
33714
|
selection.onToggle();
|
|
33715
33715
|
}),
|
|
33716
33716
|
children: [
|
|
@@ -33733,7 +33733,7 @@ function ConversationCard({
|
|
|
33733
33733
|
)
|
|
33734
33734
|
),
|
|
33735
33735
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33736
|
-
|
|
33736
|
+
_chunkP25RVNGXcjs.ChatTurn,
|
|
33737
33737
|
{
|
|
33738
33738
|
avatar: requester.avatar,
|
|
33739
33739
|
name: requester.name,
|
|
@@ -33754,7 +33754,7 @@ function ConversationCard({
|
|
|
33754
33754
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: CONTEXT_TEXT_CLASS, style: partLinesStyle(_optionalChain([lines, 'optionalAccess', _752 => _752.context])), children: context.text })
|
|
33755
33755
|
] }),
|
|
33756
33756
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33757
|
-
|
|
33757
|
+
_chunkP25RVNGXcjs.ChatTurn,
|
|
33758
33758
|
{
|
|
33759
33759
|
avatar: responder.avatar,
|
|
33760
33760
|
name: responder.name,
|
|
@@ -33799,7 +33799,7 @@ function ConversationCardSkeleton({
|
|
|
33799
33799
|
{
|
|
33800
33800
|
selection: selection && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk63A4GZMBcjs.InertWhileLoading, { className: "contents", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SelectionToggle, { pressed: selection.pressed }) }),
|
|
33801
33801
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33802
|
-
|
|
33802
|
+
_chunkP25RVNGXcjs.ChatTurn,
|
|
33803
33803
|
{
|
|
33804
33804
|
loading: true,
|
|
33805
33805
|
name: "",
|
|
@@ -33823,7 +33823,7 @@ function ConversationCardSkeleton({
|
|
|
33823
33823
|
] })
|
|
33824
33824
|
] }),
|
|
33825
33825
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33826
|
-
|
|
33826
|
+
_chunkP25RVNGXcjs.ChatTurn,
|
|
33827
33827
|
{
|
|
33828
33828
|
loading: true,
|
|
33829
33829
|
name: "",
|