@flamingo-stack/openframe-frontend-core 0.0.681 → 0.0.682-snapshot.20260929132237
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-KLLH632Q.js → chunk-325BPWHV.js} +8 -8
- package/dist/{chunk-T7GIFC5Y.cjs → chunk-3OZUPFWU.cjs} +53 -53
- package/dist/{chunk-T7GIFC5Y.cjs.map → chunk-3OZUPFWU.cjs.map} +1 -1
- package/dist/{chunk-IGKXYFCP.js → chunk-46XNKZIN.js} +12 -4
- package/dist/chunk-46XNKZIN.js.map +1 -0
- package/dist/{chunk-ULOUTQBX.js → chunk-4H5DDABI.js} +4 -4
- package/dist/{chunk-4DA64VEW.js → chunk-5ERJPXKL.js} +5 -5
- package/dist/{chunk-EWZPMPQP.js → chunk-AWZSP7PN.js} +3 -3
- package/dist/{chunk-3YWZNB2S.cjs → chunk-BQII6F44.cjs} +12 -12
- package/dist/{chunk-3YWZNB2S.cjs.map → chunk-BQII6F44.cjs.map} +1 -1
- package/dist/{chunk-DIWJ6NBT.js → chunk-D5MMX7WM.js} +3 -3
- package/dist/{chunk-KSDOCJ7B.cjs → chunk-DGPQ7SDN.cjs} +410 -410
- package/dist/{chunk-KSDOCJ7B.cjs.map → chunk-DGPQ7SDN.cjs.map} +1 -1
- package/dist/{chunk-UOZXREDM.cjs → chunk-EIPRHSCB.cjs} +50 -50
- package/dist/{chunk-UOZXREDM.cjs.map → chunk-EIPRHSCB.cjs.map} +1 -1
- package/dist/{chunk-RSDTLURW.cjs → chunk-EX7ANL73.cjs} +20 -20
- package/dist/{chunk-RSDTLURW.cjs.map → chunk-EX7ANL73.cjs.map} +1 -1
- package/dist/{chunk-ZFQ3ZHMR.cjs → chunk-H4MWNJEN.cjs} +3 -3
- package/dist/{chunk-ZFQ3ZHMR.cjs.map → chunk-H4MWNJEN.cjs.map} +1 -1
- package/dist/{chunk-YC7DIARJ.js → chunk-HNEVJK5K.js} +5 -5
- package/dist/{chunk-F7EZBJTL.cjs → chunk-L7TFT7T3.cjs} +5 -5
- package/dist/{chunk-F7EZBJTL.cjs.map → chunk-L7TFT7T3.cjs.map} +1 -1
- package/dist/{chunk-YDJBSKLB.js → chunk-MJSHUJAV.js} +3 -3
- package/dist/{chunk-QFGPSBAX.cjs → chunk-MKBYCHZZ.cjs} +43 -43
- package/dist/{chunk-QFGPSBAX.cjs.map → chunk-MKBYCHZZ.cjs.map} +1 -1
- package/dist/{chunk-BGHQW5D5.js → chunk-NBKMGIHG.js} +2 -2
- package/dist/{chunk-SJC2XUTE.cjs → chunk-ND4YQJUE.cjs} +26 -26
- package/dist/{chunk-SJC2XUTE.cjs.map → chunk-ND4YQJUE.cjs.map} +1 -1
- package/dist/{chunk-JV7SNSYT.js → chunk-NMNFUW7W.js} +6 -6
- package/dist/{chunk-ILAHSBZI.cjs → chunk-OOJSD5TO.cjs} +12 -4
- package/dist/chunk-OOJSD5TO.cjs.map +1 -0
- package/dist/{chunk-FQDHQNSU.js → chunk-P7LRG6QL.js} +2 -2
- package/dist/{chunk-FRXIDN6T.cjs → chunk-QKXDT4L2.cjs} +5 -5
- package/dist/{chunk-FRXIDN6T.cjs.map → chunk-QKXDT4L2.cjs.map} +1 -1
- package/dist/{chunk-S3OS6FIM.js → chunk-R24HDQHH.js} +2 -2
- package/dist/{chunk-D5QSGV3I.js → chunk-RXVFDCZG.js} +2 -2
- package/dist/{chunk-757VTCIH.cjs → chunk-TQFNFMGO.cjs} +17 -17
- package/dist/{chunk-757VTCIH.cjs.map → chunk-TQFNFMGO.cjs.map} +1 -1
- package/dist/{chunk-AHXAD26W.cjs → chunk-UMYRFI5B.cjs} +80 -80
- package/dist/{chunk-AHXAD26W.cjs.map → chunk-UMYRFI5B.cjs.map} +1 -1
- package/dist/{chunk-V4L2MYXY.js → chunk-UXV77VAJ.js} +4 -4
- package/dist/{chunk-2UTUZGMF.cjs → chunk-WBZBGHJ6.cjs} +12 -12
- package/dist/{chunk-2UTUZGMF.cjs.map → chunk-WBZBGHJ6.cjs.map} +1 -1
- package/dist/{chunk-7OZ5P7Z2.js → chunk-WHLWSMI5.js} +6 -6
- package/dist/{chunk-WTNFYZB6.js → chunk-XQQYMP7D.js} +4 -4
- package/dist/{chunk-RNRAPL6V.cjs → chunk-XXGQUVFO.cjs} +10 -10
- package/dist/{chunk-RNRAPL6V.cjs.map → chunk-XXGQUVFO.cjs.map} +1 -1
- package/dist/{chunk-4NUKFUPW.cjs → chunk-Y6NJCG2F.cjs} +7 -7
- package/dist/{chunk-4NUKFUPW.cjs.map → chunk-Y6NJCG2F.cjs.map} +1 -1
- package/dist/{chunk-C5RRTWYW.js → chunk-YPQSZEF3.js} +5 -5
- package/dist/{chunk-VKTQQ7TS.js → chunk-YRTI6VJE.js} +7 -7
- package/dist/{chunk-KQXKQ4PX.cjs → chunk-Z2YYFGIY.cjs} +22 -22
- package/dist/{chunk-KQXKQ4PX.cjs.map → chunk-Z2YYFGIY.cjs.map} +1 -1
- package/dist/{chunk-YFU7BULM.cjs → chunk-ZVRVMJTL.cjs} +39 -39
- package/dist/{chunk-YFU7BULM.cjs.map → chunk-ZVRVMJTL.cjs.map} +1 -1
- package/dist/components/case-studies/index.cjs +17 -17
- package/dist/components/case-studies/index.js +5 -5
- package/dist/components/chat/index.cjs +3 -3
- package/dist/components/chat/index.js +2 -2
- package/dist/components/contact/index.cjs +6 -6
- package/dist/components/contact/index.js +5 -5
- package/dist/components/docs/index.cjs +9 -9
- package/dist/components/docs/index.js +8 -8
- package/dist/components/embeds/index.cjs +6 -6
- package/dist/components/embeds/index.js +5 -5
- package/dist/components/faq/index.cjs +6 -6
- package/dist/components/faq/index.js +5 -5
- package/dist/components/features/index.cjs +5 -5
- package/dist/components/features/index.js +4 -4
- package/dist/components/help-center-pages/index.cjs +83 -83
- package/dist/components/help-center-pages/index.js +16 -16
- package/dist/components/index.cjs +45 -45
- package/dist/components/index.js +15 -15
- package/dist/components/meeting-scheduler/index.cjs +32 -32
- package/dist/components/meeting-scheduler/index.js +4 -4
- package/dist/components/navigation/index.cjs +8 -8
- package/dist/components/navigation/index.js +7 -7
- package/dist/components/onboarding-guides/index.cjs +8 -8
- package/dist/components/onboarding-guides/index.js +7 -7
- package/dist/components/tickets/index.cjs +9 -9
- package/dist/components/tickets/index.js +8 -8
- package/dist/components/tool-icon.d.ts.map +1 -1
- package/dist/components/ui/index.cjs +5 -5
- package/dist/components/ui/index.js +4 -4
- package/dist/hooks/index.cjs +3 -3
- package/dist/hooks/index.js +2 -2
- package/dist/index.cjs +10 -10
- package/dist/index.js +8 -8
- package/dist/types/index.cjs +6 -2
- package/dist/types/index.cjs.map +1 -1
- package/dist/types/index.js +6 -2
- package/dist/types/index.js.map +1 -1
- package/dist/types/tool.types.d.ts +2 -0
- package/dist/types/tool.types.d.ts.map +1 -1
- package/dist/utils/index.cjs +3 -1
- package/dist/utils/index.cjs.map +1 -1
- package/dist/utils/index.js +3 -1
- package/dist/utils/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/tool-icon.tsx +4 -0
- package/src/types/tool.types.ts +4 -0
- package/dist/chunk-IGKXYFCP.js.map +0 -1
- package/dist/chunk-ILAHSBZI.cjs.map +0 -1
- /package/dist/{chunk-KLLH632Q.js.map → chunk-325BPWHV.js.map} +0 -0
- /package/dist/{chunk-ULOUTQBX.js.map → chunk-4H5DDABI.js.map} +0 -0
- /package/dist/{chunk-4DA64VEW.js.map → chunk-5ERJPXKL.js.map} +0 -0
- /package/dist/{chunk-EWZPMPQP.js.map → chunk-AWZSP7PN.js.map} +0 -0
- /package/dist/{chunk-DIWJ6NBT.js.map → chunk-D5MMX7WM.js.map} +0 -0
- /package/dist/{chunk-YC7DIARJ.js.map → chunk-HNEVJK5K.js.map} +0 -0
- /package/dist/{chunk-YDJBSKLB.js.map → chunk-MJSHUJAV.js.map} +0 -0
- /package/dist/{chunk-BGHQW5D5.js.map → chunk-NBKMGIHG.js.map} +0 -0
- /package/dist/{chunk-JV7SNSYT.js.map → chunk-NMNFUW7W.js.map} +0 -0
- /package/dist/{chunk-FQDHQNSU.js.map → chunk-P7LRG6QL.js.map} +0 -0
- /package/dist/{chunk-S3OS6FIM.js.map → chunk-R24HDQHH.js.map} +0 -0
- /package/dist/{chunk-D5QSGV3I.js.map → chunk-RXVFDCZG.js.map} +0 -0
- /package/dist/{chunk-V4L2MYXY.js.map → chunk-UXV77VAJ.js.map} +0 -0
- /package/dist/{chunk-7OZ5P7Z2.js.map → chunk-WHLWSMI5.js.map} +0 -0
- /package/dist/{chunk-WTNFYZB6.js.map → chunk-XQQYMP7D.js.map} +0 -0
- /package/dist/{chunk-C5RRTWYW.js.map → chunk-YPQSZEF3.js.map} +0 -0
- /package/dist/{chunk-VKTQQ7TS.js.map → chunk-YRTI6VJE.js.map} +0 -0
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
ContactForm
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-4H5DDABI.js";
|
|
5
5
|
import {
|
|
6
6
|
DeliveryRow,
|
|
7
7
|
DevCardRowContent,
|
|
8
8
|
DevCardRowSkeletonList,
|
|
9
9
|
DevSectionPage,
|
|
10
10
|
ListEmptyState
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-R24HDQHH.js";
|
|
12
12
|
import {
|
|
13
13
|
EmptyState,
|
|
14
14
|
UnifiedPagination
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
TOAST_COPY,
|
|
20
20
|
isOptimistic,
|
|
21
21
|
useOptionalTicketLive
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-D5MMX7WM.js";
|
|
23
23
|
import {
|
|
24
24
|
AlertDialog,
|
|
25
25
|
AlertDialogAction,
|
|
@@ -35,11 +35,11 @@ import {
|
|
|
35
35
|
Textarea,
|
|
36
36
|
TicketAttachmentsList,
|
|
37
37
|
devSectionAnchorId
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-XQQYMP7D.js";
|
|
39
39
|
import {
|
|
40
40
|
toast,
|
|
41
41
|
useScrollToHash
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-NBKMGIHG.js";
|
|
43
43
|
import {
|
|
44
44
|
PAGE_PARAM_LIMITS,
|
|
45
45
|
pageCount,
|
|
@@ -55,11 +55,11 @@ import {
|
|
|
55
55
|
formatRelativeTime,
|
|
56
56
|
useChatAttachments,
|
|
57
57
|
useChatIdentity
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-P7LRG6QL.js";
|
|
59
59
|
import {
|
|
60
60
|
STICKY_HEADER_OFFSET_PX,
|
|
61
61
|
scrollElementIntoView
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-46XNKZIN.js";
|
|
63
63
|
import {
|
|
64
64
|
usePathname,
|
|
65
65
|
useRouter,
|
|
@@ -1832,4 +1832,4 @@ export {
|
|
|
1832
1832
|
HelpCenterCreateForm,
|
|
1833
1833
|
HelpCenterList
|
|
1834
1834
|
};
|
|
1835
|
-
//# sourceMappingURL=chunk-
|
|
1835
|
+
//# sourceMappingURL=chunk-325BPWHV.js.map
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
|
|
25
|
-
var
|
|
25
|
+
var _chunkOOJSD5TOcjs = require('./chunk-OOJSD5TO.cjs');
|
|
26
26
|
|
|
27
27
|
|
|
28
28
|
var _chunkSADRZ4YIcjs = require('./chunk-SADRZ4YI.cjs');
|
|
@@ -489,7 +489,7 @@ var disabledTagClasses = [
|
|
|
489
489
|
];
|
|
490
490
|
function TagLabel({ label, labelClassName }) {
|
|
491
491
|
const isString = typeof label === "string";
|
|
492
|
-
const { ref, isTruncated } =
|
|
492
|
+
const { ref, isTruncated } = _chunkOOJSD5TOcjs.useIsTruncated.call(void 0, isString ? label : null);
|
|
493
493
|
if (!isString) {
|
|
494
494
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkX7CEWD6Vcjs.cn.call(void 0, "truncate", labelClassName), children: label });
|
|
495
495
|
}
|
|
@@ -789,7 +789,7 @@ function ToolCallRow({ call, expanded, onToggle, batchStatus, execution, showExe
|
|
|
789
789
|
onClick: onToggle,
|
|
790
790
|
className: "flex w-full cursor-pointer items-start gap-[var(--spacing-system-xsf)] p-[var(--spacing-system-sf)] text-left",
|
|
791
791
|
children: [
|
|
792
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-5 w-5 shrink-0 items-center justify-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
792
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-5 w-5 shrink-0 items-center justify-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOOJSD5TOcjs.ToolIcon, { toolType, size: 16 }) }),
|
|
793
793
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
794
794
|
"div",
|
|
795
795
|
{
|
|
@@ -1326,14 +1326,14 @@ function buildHeadingIdMap(content, sectionIds) {
|
|
|
1326
1326
|
for (const section of sectionIds) {
|
|
1327
1327
|
sectionIdMap.set(section.title, section.id);
|
|
1328
1328
|
sectionIdMap.set(section.title.toLowerCase(), section.id);
|
|
1329
|
-
sectionIdMap.set(
|
|
1329
|
+
sectionIdMap.set(_chunkOOJSD5TOcjs.stripHeadingEmojis.call(void 0, section.title).toLowerCase(), section.id);
|
|
1330
1330
|
}
|
|
1331
1331
|
}
|
|
1332
|
-
const dedupe =
|
|
1332
|
+
const dedupe = _chunkOOJSD5TOcjs.createHeadingIdDeduper.call(void 0, );
|
|
1333
1333
|
const map = /* @__PURE__ */ new Map();
|
|
1334
1334
|
let sectionOrdinal = 0;
|
|
1335
1335
|
let headingOrdinal = 0;
|
|
1336
|
-
for (const { line, level, text: rawText } of
|
|
1336
|
+
for (const { line, level, text: rawText } of _chunkOOJSD5TOcjs.scanHeadings.call(void 0, content)) {
|
|
1337
1337
|
const text2 = stripInlineMarkdown(rawText).trim();
|
|
1338
1338
|
headingOrdinal++;
|
|
1339
1339
|
if (level <= EXTRACTOR_MAX_LEVEL) sectionOrdinal++;
|
|
@@ -1342,8 +1342,8 @@ function buildHeadingIdMap(content, sectionIds) {
|
|
|
1342
1342
|
for (const variation of [
|
|
1343
1343
|
text2,
|
|
1344
1344
|
text2.toLowerCase(),
|
|
1345
|
-
|
|
1346
|
-
|
|
1345
|
+
_chunkOOJSD5TOcjs.stripHeadingEmojis.call(void 0, text2),
|
|
1346
|
+
_chunkOOJSD5TOcjs.stripHeadingEmojis.call(void 0, text2).toLowerCase()
|
|
1347
1347
|
]) {
|
|
1348
1348
|
const id = sectionIdMap.get(variation);
|
|
1349
1349
|
if (id) {
|
|
@@ -1353,7 +1353,7 @@ function buildHeadingIdMap(content, sectionIds) {
|
|
|
1353
1353
|
}
|
|
1354
1354
|
}
|
|
1355
1355
|
if (assigned === void 0) {
|
|
1356
|
-
const baseId =
|
|
1356
|
+
const baseId = _chunkOOJSD5TOcjs.slugifyHeadingText.call(void 0, text2);
|
|
1357
1357
|
assigned = dedupe(
|
|
1358
1358
|
baseId || (level <= EXTRACTOR_MAX_LEVEL ? `section-${sectionOrdinal}` : `heading-${headingOrdinal}`)
|
|
1359
1359
|
);
|
|
@@ -1855,7 +1855,7 @@ function buildBaseComponents({
|
|
|
1855
1855
|
const mapped = useHeadingId(node);
|
|
1856
1856
|
const taken = useAssignedHeadingIds();
|
|
1857
1857
|
const explicit = typeof _optionalChain([node, 'optionalAccess', _47 => _47.properties, 'optionalAccess', _48 => _48.id]) === "string" && node.properties.id !== "" ? node.properties.id : void 0;
|
|
1858
|
-
const id = _nullishCoalesce(_nullishCoalesce(explicit, () => ( mapped)), () => ( resolveFallbackHeadingId(
|
|
1858
|
+
const id = _nullishCoalesce(_nullishCoalesce(explicit, () => ( mapped)), () => ( resolveFallbackHeadingId(_chunkOOJSD5TOcjs.slugifyHeadingText.call(void 0, extractText(children)), taken)));
|
|
1859
1859
|
const EffectiveTag = Tag2 === "h1" && demoteMarkdownH1ToH2 ? "h2" : Tag2;
|
|
1860
1860
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, EffectiveTag, { id: id || void 0, className: headingClassName, children });
|
|
1861
1861
|
}
|
|
@@ -1930,10 +1930,10 @@ function buildBaseComponents({
|
|
|
1930
1930
|
const handleAnchorClick = (e) => {
|
|
1931
1931
|
if (inPageAnchorId === null) return;
|
|
1932
1932
|
if (e.metaKey || e.ctrlKey || e.shiftKey || e.altKey || e.button !== 0) return;
|
|
1933
|
-
const target =
|
|
1933
|
+
const target = _chunkOOJSD5TOcjs.getHashTargetElement.call(void 0, inPageAnchorId);
|
|
1934
1934
|
if (!_optionalChain([target, 'optionalAccess', _49 => _49.id])) return;
|
|
1935
1935
|
e.preventDefault();
|
|
1936
|
-
|
|
1936
|
+
_chunkOOJSD5TOcjs.navigateSamePageHash.call(void 0, `#${target.id}`, { headerOffset: _chunkOOJSD5TOcjs.HUB_HEADER_OFFSET_PX });
|
|
1937
1937
|
};
|
|
1938
1938
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1939
1939
|
"a",
|
|
@@ -2473,7 +2473,7 @@ function findInlineCodeRanges(source) {
|
|
|
2473
2473
|
while (pos <= len) {
|
|
2474
2474
|
let end = source.indexOf("\n", pos);
|
|
2475
2475
|
if (end === -1) end = len;
|
|
2476
|
-
const blank =
|
|
2476
|
+
const blank = _chunkOOJSD5TOcjs.isBlankLine.call(void 0, source.slice(pos, end));
|
|
2477
2477
|
if (blank && segStart !== -1) break;
|
|
2478
2478
|
if (!blank) {
|
|
2479
2479
|
if (segStart === -1) segStart = pos;
|
|
@@ -2555,7 +2555,7 @@ function toMaskLines(source) {
|
|
|
2555
2555
|
return out;
|
|
2556
2556
|
}
|
|
2557
2557
|
function blankFencedRegions(masked, lines) {
|
|
2558
|
-
const fences =
|
|
2558
|
+
const fences = _chunkOOJSD5TOcjs.createFenceTracker.call(void 0, );
|
|
2559
2559
|
const ranges = [];
|
|
2560
2560
|
let openStart = null;
|
|
2561
2561
|
let lastEnd = 0;
|
|
@@ -2594,7 +2594,7 @@ function blankIndentedCode(masked, lines) {
|
|
|
2594
2594
|
const listContentCols = [];
|
|
2595
2595
|
const ranges = [];
|
|
2596
2596
|
for (const line of lines) {
|
|
2597
|
-
if (
|
|
2597
|
+
if (_chunkOOJSD5TOcjs.isBlankLine.call(void 0, line.content)) continue;
|
|
2598
2598
|
const indent = leadingIndent(line.content);
|
|
2599
2599
|
const top = listContentCols.length ? listContentCols[listContentCols.length - 1] : 0;
|
|
2600
2600
|
if (indent >= top + 4) {
|
|
@@ -2685,7 +2685,7 @@ function contPrefixLen(c) {
|
|
|
2685
2685
|
function findLabelClose(lines, i, from) {
|
|
2686
2686
|
for (let j = i; j < lines.length; j++) {
|
|
2687
2687
|
const c = stripCr(lines[j].content);
|
|
2688
|
-
if (j > i &&
|
|
2688
|
+
if (j > i && _chunkOOJSD5TOcjs.isBlankLine.call(void 0, c)) return { stoppedAt: j };
|
|
2689
2689
|
for (let q = j === i ? from : contPrefixLen(c); q < c.length; q = skipEscaped(c, q)) {
|
|
2690
2690
|
if (c[q] === "[") return { stoppedAt: j };
|
|
2691
2691
|
if (c[q] !== "]") continue;
|
|
@@ -2703,7 +2703,7 @@ function blankLinkDefinitions(masked, lines) {
|
|
|
2703
2703
|
let k = from;
|
|
2704
2704
|
for (; k < lines.length; k++) {
|
|
2705
2705
|
const c = stripCr(lines[k].content);
|
|
2706
|
-
if (
|
|
2706
|
+
if (_chunkOOJSD5TOcjs.isBlankLine.call(void 0, c)) break;
|
|
2707
2707
|
blankLine(lines[k]);
|
|
2708
2708
|
if (stop(c)) {
|
|
2709
2709
|
k++;
|
|
@@ -2746,7 +2746,7 @@ function blankLinkDefinitions(masked, lines) {
|
|
|
2746
2746
|
const k = j + 1;
|
|
2747
2747
|
if (k >= lines.length) break;
|
|
2748
2748
|
const c = stripCr(lines[k].content);
|
|
2749
|
-
if (
|
|
2749
|
+
if (_chunkOOJSD5TOcjs.isBlankLine.call(void 0, c)) break;
|
|
2750
2750
|
const at = contPrefixLen(c);
|
|
2751
2751
|
const next = tail.k === "needDest" ? parseDefTail(c, at) : parseTitleTail(c, skipSpaces(c, at));
|
|
2752
2752
|
if (next.k === "decline") break;
|
|
@@ -2816,7 +2816,7 @@ function blankUnreferencedFootnotes(masked, lines, folded) {
|
|
|
2816
2816
|
let sawBlank = false;
|
|
2817
2817
|
for (let k = i + 1; k < lines.length; k++) {
|
|
2818
2818
|
const c = text2(lines[k]);
|
|
2819
|
-
if (
|
|
2819
|
+
if (_chunkOOJSD5TOcjs.isBlankLine.call(void 0, c)) {
|
|
2820
2820
|
sawBlank = true;
|
|
2821
2821
|
continue;
|
|
2822
2822
|
}
|
|
@@ -2916,7 +2916,7 @@ function paragraphEnd(s, from) {
|
|
|
2916
2916
|
lineStart += 1;
|
|
2917
2917
|
const next = s.indexOf("\n", lineStart);
|
|
2918
2918
|
const line = s.slice(lineStart, next === -1 ? s.length : next);
|
|
2919
|
-
if (
|
|
2919
|
+
if (_chunkOOJSD5TOcjs.isBlankLine.call(void 0, line)) return lineStart;
|
|
2920
2920
|
if (next === -1) break;
|
|
2921
2921
|
lineStart = next;
|
|
2922
2922
|
}
|
|
@@ -3070,7 +3070,7 @@ function blankListItemCode(masked, lines, depth = 0) {
|
|
|
3070
3070
|
run = [];
|
|
3071
3071
|
};
|
|
3072
3072
|
for (const line of lines) {
|
|
3073
|
-
if (
|
|
3073
|
+
if (_chunkOOJSD5TOcjs.isBlankLine.call(void 0, line.content)) {
|
|
3074
3074
|
if (run.length > 0) run.push({ ...line, content: "" });
|
|
3075
3075
|
continue;
|
|
3076
3076
|
}
|
|
@@ -3295,7 +3295,7 @@ function htmlBlockStartKind(line, inParagraph) {
|
|
|
3295
3295
|
function computeHtmlBlockRanges(text2) {
|
|
3296
3296
|
if (text2.indexOf("<") === -1) return [];
|
|
3297
3297
|
const ranges = [];
|
|
3298
|
-
const fences =
|
|
3298
|
+
const fences = _chunkOOJSD5TOcjs.createFenceTracker.call(void 0, );
|
|
3299
3299
|
let kind = null;
|
|
3300
3300
|
let start = 0;
|
|
3301
3301
|
let lastEnd = 0;
|
|
@@ -3310,9 +3310,9 @@ function computeHtmlBlockRanges(text2) {
|
|
|
3310
3310
|
const expanded = expandTabs(line);
|
|
3311
3311
|
const norm = stripContainerPrefix(expanded, listContentCol);
|
|
3312
3312
|
if (norm.openedListCol >= 0) listContentCol = norm.openedListCol;
|
|
3313
|
-
else if (!
|
|
3314
|
-
const normBlank =
|
|
3315
|
-
const blank = openPrefixLen > 0 ?
|
|
3313
|
+
else if (!_chunkOOJSD5TOcjs.isBlankLine.call(void 0, norm.text) && norm.text === expanded) listContentCol = 0;
|
|
3314
|
+
const normBlank = _chunkOOJSD5TOcjs.isBlankLine.call(void 0, norm.text);
|
|
3315
|
+
const blank = openPrefixLen > 0 ? _chunkOOJSD5TOcjs.isBlankLine.call(void 0, expanded.slice(openPrefixLen)) : _chunkOOJSD5TOcjs.isBlankLine.call(void 0, line);
|
|
3316
3316
|
if (kind !== null) {
|
|
3317
3317
|
if (kind >= 6) {
|
|
3318
3318
|
if (blank) {
|
|
@@ -3466,7 +3466,7 @@ var ScanState = class {
|
|
|
3466
3466
|
* `FENCE_RE` plus its own open/close state machine, cross-referenced by a
|
|
3467
3467
|
* comment) is precisely the drift that produced the `~~~` bug.
|
|
3468
3468
|
*/
|
|
3469
|
-
this.fences =
|
|
3469
|
+
this.fences = _chunkOOJSD5TOcjs.createFenceTracker.call(void 0, );
|
|
3470
3470
|
/** Depth of currently open raw HTML block containers. */
|
|
3471
3471
|
this.htmlDepth = 0;
|
|
3472
3472
|
/** Raw-block tag name of a start tag still waiting for its `>`, or null. */
|
|
@@ -3539,7 +3539,7 @@ function splitStreamingBlocks(content) {
|
|
|
3539
3539
|
const isListOrQuote = (line) => /^\s{0,3}(?:[-+*]\s|\d{1,9}[.)]\s|>)/.test(line);
|
|
3540
3540
|
const firstNonBlank = (arr) => {
|
|
3541
3541
|
for (const line of arr) {
|
|
3542
|
-
if (!
|
|
3542
|
+
if (!_chunkOOJSD5TOcjs.isBlankLine.call(void 0, line)) return line;
|
|
3543
3543
|
}
|
|
3544
3544
|
return void 0;
|
|
3545
3545
|
};
|
|
@@ -3549,10 +3549,10 @@ function splitStreamingBlocks(content) {
|
|
|
3549
3549
|
state.scanLine(line);
|
|
3550
3550
|
if (state.htmlMark() !== markBefore || state.htmlLatched()) currentTouchedHtml = true;
|
|
3551
3551
|
current.push(line);
|
|
3552
|
-
const isBlank =
|
|
3552
|
+
const isBlank = _chunkOOJSD5TOcjs.isBlankLine.call(void 0, line);
|
|
3553
3553
|
if (!isBlank || state.fences.openChar() !== null || state.htmlBlocksCut()) continue;
|
|
3554
3554
|
let j = i + 1;
|
|
3555
|
-
while (j < lines.length &&
|
|
3555
|
+
while (j < lines.length && _chunkOOJSD5TOcjs.isBlankLine.call(void 0, lines[j])) j++;
|
|
3556
3556
|
if (j >= lines.length) continue;
|
|
3557
3557
|
const next = lines[j];
|
|
3558
3558
|
if (/^\s/.test(next)) continue;
|
|
@@ -3560,7 +3560,7 @@ function splitStreamingBlocks(content) {
|
|
|
3560
3560
|
if (isListOrQuote(next) && unitOpener !== void 0 && isListOrQuote(unitOpener)) {
|
|
3561
3561
|
continue;
|
|
3562
3562
|
}
|
|
3563
|
-
if (current.every(
|
|
3563
|
+
if (current.every(_chunkOOJSD5TOcjs.isBlankLine)) continue;
|
|
3564
3564
|
units.push(current);
|
|
3565
3565
|
unitTouchedHtml.push(currentTouchedHtml);
|
|
3566
3566
|
current = [];
|
|
@@ -4339,7 +4339,7 @@ function hexToRgb2(hex) {
|
|
|
4339
4339
|
return { r: n >> 16 & 255, g: n >> 8 & 255, b: n & 255 };
|
|
4340
4340
|
}
|
|
4341
4341
|
function rgbToHex(r, g, b) {
|
|
4342
|
-
const to = (n) =>
|
|
4342
|
+
const to = (n) => _chunkOOJSD5TOcjs.clamp.call(void 0, Math.round(n), 0, 255).toString(16).padStart(2, "0");
|
|
4343
4343
|
return `#${to(r)}${to(g)}${to(b)}`;
|
|
4344
4344
|
}
|
|
4345
4345
|
var HOVER_DARKEN_STEP = 10;
|
|
@@ -4373,8 +4373,8 @@ function rgbToHsl(r, g, b) {
|
|
|
4373
4373
|
return { h: Math.round(h), s: Math.round(s * 100), l: Math.round(l * 100) };
|
|
4374
4374
|
}
|
|
4375
4375
|
function hslToRgb(h, s, l) {
|
|
4376
|
-
const sn =
|
|
4377
|
-
const ln =
|
|
4376
|
+
const sn = _chunkOOJSD5TOcjs.clamp.call(void 0, s, 0, 100) / 100;
|
|
4377
|
+
const ln = _chunkOOJSD5TOcjs.clamp.call(void 0, l, 0, 100) / 100;
|
|
4378
4378
|
const hn = (h % 360 + 360) % 360;
|
|
4379
4379
|
if (sn === 0) {
|
|
4380
4380
|
const v = Math.round(ln * 255);
|
|
@@ -7169,7 +7169,7 @@ var ToolExecutionDisplay = _react.forwardRef.call(void 0,
|
|
|
7169
7169
|
return null;
|
|
7170
7170
|
};
|
|
7171
7171
|
const headerContent = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
7172
|
-
!isClient && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-5 w-5 shrink-0 items-center justify-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7172
|
+
!isClient && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-5 w-5 shrink-0 items-center justify-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOOJSD5TOcjs.ToolIcon, { toolType: integratedToolType, size: 16 }) }),
|
|
7173
7173
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7174
7174
|
"div",
|
|
7175
7175
|
{
|
|
@@ -8663,7 +8663,7 @@ function MarqueeWallFades({
|
|
|
8663
8663
|
}) });
|
|
8664
8664
|
}
|
|
8665
8665
|
function CloneCopy({ className, style, children }) {
|
|
8666
|
-
const ref =
|
|
8666
|
+
const ref = _chunkOOJSD5TOcjs.useSuppressCloneFocus.call(void 0, true);
|
|
8667
8667
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref, "aria-hidden": true, "data-marquee-copy": "clone", className, style, children });
|
|
8668
8668
|
}
|
|
8669
8669
|
function MarqueeWall({
|
|
@@ -8690,7 +8690,7 @@ function MarqueeWall({
|
|
|
8690
8690
|
const containerRef = _react.useRef.call(void 0, null);
|
|
8691
8691
|
const trackRef = _react.useRef.call(void 0, null);
|
|
8692
8692
|
const copyRef = _react.useRef.call(void 0, null);
|
|
8693
|
-
const reducedMotion = _nullishCoalesce(
|
|
8693
|
+
const reducedMotion = _nullishCoalesce(_chunkOOJSD5TOcjs.useMediaQuery.call(void 0, "(prefers-reduced-motion: reduce)"), () => ( false));
|
|
8694
8694
|
const [overflows, setOverflows] = _react.useState.call(void 0, false);
|
|
8695
8695
|
const copySizeRef = _react.useRef.call(void 0, 0);
|
|
8696
8696
|
const wrapSizeRef = _react.useRef.call(void 0, 0);
|
|
@@ -8722,7 +8722,7 @@ function MarqueeWall({
|
|
|
8722
8722
|
const el = containerRef.current;
|
|
8723
8723
|
if (!el || typeof IntersectionObserver === "undefined") return void 0;
|
|
8724
8724
|
const io = new IntersectionObserver((entries) => setNearViewport(_nullishCoalesce(_optionalChain([entries, 'access', _167 => _167[0], 'optionalAccess', _168 => _168.isIntersecting]), () => ( true))), {
|
|
8725
|
-
rootMargin:
|
|
8725
|
+
rootMargin: _chunkOOJSD5TOcjs.NEAR_VIEWPORT_ROOT_MARGIN
|
|
8726
8726
|
});
|
|
8727
8727
|
io.observe(el);
|
|
8728
8728
|
return () => io.disconnect();
|
|
@@ -8739,7 +8739,7 @@ function MarqueeWall({
|
|
|
8739
8739
|
if (e.pointerType === "touch") return;
|
|
8740
8740
|
pointerInsideRef.current = false;
|
|
8741
8741
|
}, []);
|
|
8742
|
-
|
|
8742
|
+
_chunkOOJSD5TOcjs.useResetOnPageHidden.call(void 0, clearPointerInside);
|
|
8743
8743
|
const draggingRef = _react.useRef.call(void 0, false);
|
|
8744
8744
|
const dragSuppressUntilRef = _react.useRef.call(void 0, 0);
|
|
8745
8745
|
const applyTransform = _react.useCallback.call(void 0,
|
|
@@ -8792,7 +8792,7 @@ function MarqueeWall({
|
|
|
8792
8792
|
if (!sync) return void 0;
|
|
8793
8793
|
return sync.register(member);
|
|
8794
8794
|
}, [sync, member]);
|
|
8795
|
-
const { posRef, wrap } =
|
|
8795
|
+
const { posRef, wrap } = _chunkOOJSD5TOcjs.useMarqueeEngine.call(void 0, {
|
|
8796
8796
|
active: marqueeActive && nearViewport && isDriver,
|
|
8797
8797
|
speed,
|
|
8798
8798
|
isPaused: (now) => pauseOnHover && pointerInsideRef.current || draggingRef.current || now < dragSuppressUntilRef.current || document.visibilityState === "hidden",
|
|
@@ -10587,7 +10587,7 @@ function ChatHeaderSearchField({
|
|
|
10587
10587
|
className
|
|
10588
10588
|
}) {
|
|
10589
10589
|
const [value, setValue] = _react.useState.call(void 0, _nullishCoalesce(initialValue, () => ( "")));
|
|
10590
|
-
const debounced =
|
|
10590
|
+
const debounced = _chunkOOJSD5TOcjs.useDebounce.call(void 0, value, 300);
|
|
10591
10591
|
const lastEmitted = _react.useRef.call(void 0, _nullishCoalesce(initialValue, () => ( "")));
|
|
10592
10592
|
const [exiting, setExiting] = _react.useState.call(void 0, false);
|
|
10593
10593
|
const collapsedRef = _react.useRef.call(void 0, false);
|
|
@@ -11817,7 +11817,7 @@ function runNavigation(runtime, href, path, targetPlatform, fallbackNavigate) {
|
|
|
11817
11817
|
return;
|
|
11818
11818
|
}
|
|
11819
11819
|
const target = isForeignOriginHref(href) ? href : stripSameOriginToPath(href);
|
|
11820
|
-
if (target.includes("#") &&
|
|
11820
|
+
if (target.includes("#") && _chunkOOJSD5TOcjs.navigateSamePageHash.call(void 0, target, { headerOffset: _chunkOOJSD5TOcjs.STICKY_HEADER_OFFSET_PX })) {
|
|
11821
11821
|
return;
|
|
11822
11822
|
}
|
|
11823
11823
|
const handled = _nullishCoalesce(_optionalChain([runtime, 'optionalAccess', _219 => _219.navigation, 'access', _220 => _220.navigate, 'optionalCall', _221 => _221({ href, path, targetPlatform })]), () => ( false));
|
|
@@ -12222,7 +12222,7 @@ function useVideoWarmup({
|
|
|
12222
12222
|
const runtime = _chunkU2YLMFJKcjs.useChatRuntime.call(void 0, );
|
|
12223
12223
|
const resolvedOrigin = _nullishCoalesce(supabaseStorageOrigin, () => ( _optionalChain([runtime, 'optionalAccess', _235 => _235.endpoints, 'access', _236 => _236.supabaseStorageOrigin])));
|
|
12224
12224
|
useVideoOriginPreconnect({ supabaseStorageOrigin: resolvedOrigin });
|
|
12225
|
-
const { ref, isNear } =
|
|
12225
|
+
const { ref, isNear } = _chunkOOJSD5TOcjs.useNearViewport.call(void 0, nearMargin);
|
|
12226
12226
|
_react.useEffect.call(void 0, () => {
|
|
12227
12227
|
if (!isNear || !videoUrl || !resolvedOrigin) return void 0;
|
|
12228
12228
|
if (saveDataEnabled()) return void 0;
|
|
@@ -12460,7 +12460,7 @@ var VIDEO_YOUTUBE_FACADE_KEYS = [
|
|
|
12460
12460
|
];
|
|
12461
12461
|
var pickYouTube = (props) => pickForwardedKeys(props, VIDEO_YOUTUBE_FACADE_KEYS);
|
|
12462
12462
|
function Video2(props) {
|
|
12463
|
-
const { ref: nearRef, isNear } =
|
|
12463
|
+
const { ref: nearRef, isNear } = _chunkOOJSD5TOcjs.useNearViewport.call(void 0, );
|
|
12464
12464
|
const url = props.url;
|
|
12465
12465
|
if (!url) return null;
|
|
12466
12466
|
const effectiveKind = resolveKind(props, url);
|
|
@@ -13260,7 +13260,7 @@ function ManagedCell({
|
|
|
13260
13260
|
}) {
|
|
13261
13261
|
const hintedWidth = _react2.default.isValidElement(item) ? item.props["data-strip-cell-width"] : void 0;
|
|
13262
13262
|
const desktopWidth = typeof hintedWidth === "number" ? hintedWidth : cardWidthDesktop;
|
|
13263
|
-
const cloneRef =
|
|
13263
|
+
const cloneRef = _chunkOOJSD5TOcjs.useSuppressCloneFocus.call(void 0, ctx.isClone);
|
|
13264
13264
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13265
13265
|
"div",
|
|
13266
13266
|
{
|
|
@@ -13421,7 +13421,7 @@ function CardsStrip(props) {
|
|
|
13421
13421
|
const current = activeKeyRef.current;
|
|
13422
13422
|
if (current !== null) deactivate(current);
|
|
13423
13423
|
}, [deactivate]);
|
|
13424
|
-
|
|
13424
|
+
_chunkOOJSD5TOcjs.useResetOnPageHidden.call(void 0, clearHover);
|
|
13425
13425
|
const syncHoverIfScrolled = _react.useCallback.call(void 0, () => {
|
|
13426
13426
|
const scroller = scrollerRef.current;
|
|
13427
13427
|
if (!scroller) return;
|
|
@@ -13434,7 +13434,7 @@ function CardsStrip(props) {
|
|
|
13434
13434
|
const viewport = _nullishCoalesce(_optionalChain([scrollerRef, 'access', _333 => _333.current, 'optionalAccess', _334 => _334.clientWidth]), () => ( 0));
|
|
13435
13435
|
return Math.max(0, Math.min(200, half / 4, half - viewport - TRACK_GAP_PX - 1));
|
|
13436
13436
|
}, []);
|
|
13437
|
-
const { posRef: marqueePosRef, glideBy } =
|
|
13437
|
+
const { posRef: marqueePosRef, glideBy } = _chunkOOJSD5TOcjs.useMarqueeEngine.call(void 0, {
|
|
13438
13438
|
// Viewport gates `active` (the rAF fully stops off-screen — a paused
|
|
13439
13439
|
// engine would keep scheduling frames forever), same treatment as
|
|
13440
13440
|
// <MarqueeWall>; the envelope persists, so re-entry resumes at cruise.
|
|
@@ -13476,7 +13476,7 @@ function CardsStrip(props) {
|
|
|
13476
13476
|
return next;
|
|
13477
13477
|
});
|
|
13478
13478
|
},
|
|
13479
|
-
{ rootMargin:
|
|
13479
|
+
{ rootMargin: _chunkOOJSD5TOcjs.NEAR_VIEWPORT_ROOT_MARGIN }
|
|
13480
13480
|
);
|
|
13481
13481
|
cardObserverRef.current = io;
|
|
13482
13482
|
cardElIdxRef.current.forEach((_idx, el) => {
|
|
@@ -13688,7 +13688,7 @@ function VideoHoverPreviewSurface({
|
|
|
13688
13688
|
const el = rootElRef.current;
|
|
13689
13689
|
if (!el || typeof IntersectionObserver === "undefined") return void 0;
|
|
13690
13690
|
const io = new IntersectionObserver((entries) => setIsNear(_nullishCoalesce(_optionalChain([entries, 'access', _345 => _345[0], 'optionalAccess', _346 => _346.isIntersecting]), () => ( false))), {
|
|
13691
|
-
rootMargin:
|
|
13691
|
+
rootMargin: _chunkOOJSD5TOcjs.NEAR_VIEWPORT_ROOT_MARGIN
|
|
13692
13692
|
});
|
|
13693
13693
|
io.observe(el);
|
|
13694
13694
|
return () => io.disconnect();
|
|
@@ -13902,7 +13902,7 @@ function VideoBiteCard({
|
|
|
13902
13902
|
const activate = () => controlled ? _optionalChain([onActivate, 'optionalCall', _349 => _349(key)]) : setSelfActive(true);
|
|
13903
13903
|
const deactivate = () => controlled ? _optionalChain([onDeactivate, 'optionalCall', _350 => _350(key)]) : setSelfActive(false);
|
|
13904
13904
|
const titleInputRef = _react.useRef.call(void 0, null);
|
|
13905
|
-
|
|
13905
|
+
_chunkOOJSD5TOcjs.useIsomorphicLayoutEffect.call(void 0, () => {
|
|
13906
13906
|
const el = titleInputRef.current;
|
|
13907
13907
|
if (!el) return;
|
|
13908
13908
|
el.style.height = "auto";
|
|
@@ -24553,7 +24553,7 @@ function useResizableSize({ enabled, isHorizontal, minSize, maxSize, defaultSize
|
|
|
24553
24553
|
(value) => {
|
|
24554
24554
|
const vp = viewportSize(isHorizontal);
|
|
24555
24555
|
const effectiveMax = vp > 0 ? Math.min(maxSize, vp - 80) : maxSize;
|
|
24556
|
-
return
|
|
24556
|
+
return _chunkOOJSD5TOcjs.clamp.call(void 0, value, minSize, Math.max(minSize, effectiveMax));
|
|
24557
24557
|
},
|
|
24558
24558
|
[isHorizontal, minSize, maxSize]
|
|
24559
24559
|
);
|
|
@@ -24695,7 +24695,7 @@ var DrawerContent = _react.forwardRef.call(void 0,
|
|
|
24695
24695
|
const resolvedSide = _nullishCoalesce(side, () => ( "right"));
|
|
24696
24696
|
const isHorizontal = HORIZONTAL_SIDES.has(resolvedSide);
|
|
24697
24697
|
const initialSize = _nullishCoalesce(defaultSize, () => ( (isHorizontal ? 560 : 480)));
|
|
24698
|
-
const headerHeight =
|
|
24698
|
+
const headerHeight = _chunkOOJSD5TOcjs.useHeaderHeight.call(void 0, );
|
|
24699
24699
|
const [isMobile, setIsMobile] = _react.useState.call(void 0, false);
|
|
24700
24700
|
_react.useEffect.call(void 0, () => {
|
|
24701
24701
|
if (typeof window === "undefined") return void 0;
|
|
@@ -24804,7 +24804,7 @@ function HoverDropdown({
|
|
|
24804
24804
|
const timeoutRef = _react.useRef.call(void 0, void 0);
|
|
24805
24805
|
const containerRef = _react.useRef.call(void 0, null);
|
|
24806
24806
|
const panelRef = _react.useRef.call(void 0, null);
|
|
24807
|
-
|
|
24807
|
+
_chunkOOJSD5TOcjs.useIsomorphicLayoutEffect.call(void 0, () => {
|
|
24808
24808
|
const el = panelRef.current;
|
|
24809
24809
|
const container = containerRef.current;
|
|
24810
24810
|
if (!el || !container) return;
|
|
@@ -27264,4 +27264,4 @@ function ProxyCredentialsForm({ description, saved }) {
|
|
|
27264
27264
|
|
|
27265
27265
|
|
|
27266
27266
|
exports.FloatingTooltip = FloatingTooltip; exports.tagVariants = tagVariants; exports.Tag = Tag; exports.InfoHint = InfoHint; exports.Field = Field; exports.formatTicketRelativeTime = formatTicketRelativeTime; exports.formatTicketFullTimestamp = formatTicketFullTimestamp; exports.formatRelativeTime = formatRelativeTime; exports.formatAbsoluteDate = formatAbsoluteDate; exports.formatDateTime = formatDateTime; exports.getDetailedTimeDifference = getDetailedTimeDifference; exports.isToday = isToday; exports.isWithinMinutes = isWithinMinutes; exports.createUTCTimestamp = createUTCTimestamp; exports.DESIGN_PALETTE = DESIGN_PALETTE; exports.getContrastRatio = getContrastRatio; exports.pickReadableTextColor = pickReadableTextColor; exports.extractDominantColor = extractDominantColor; exports.getBestContrastColor = getBestContrastColor; exports.analyzeImageColor = analyzeImageColor; exports.extractImageEdgeColorAsync = extractImageEdgeColorAsync; exports.getCurrentPlatform = getCurrentPlatform; exports.switchPlatformTheme = switchPlatformTheme; exports.getSemanticColor = getSemanticColor; exports.getPlatformConfig = getPlatformConfig; exports.usePlatformColors = usePlatformColors; exports.getReadableTextColor = getReadableTextColor; exports.HEX_PATTERN = HEX_PATTERN; exports.hexToRgb = hexToRgb2; exports.rgbToHex = rgbToHex; exports.deriveHoverColor = deriveHoverColor; exports.deriveActiveColor = deriveActiveColor; exports.rgbToHsl = rgbToHsl; exports.hslToRgb = hslToRgb; exports.ActionsMenu = ActionsMenu; exports.ActionsMenuDropdown = ActionsMenuDropdown; exports.ColorSwatch = ColorSwatch; exports.TooltipProvider = TooltipProvider; exports.Tooltip = Tooltip; exports.TooltipTrigger = TooltipTrigger; exports.TooltipContent = TooltipContent; exports.resolveTicketStatus = resolveTicketStatus; exports.getTicketStatusConfig = getTicketStatusConfig; exports.getTicketStatusTag = getTicketStatusTag; exports.kindToCanonicalStatus = kindToCanonicalStatus; exports.usesCanonicalStatusStyle = usesCanonicalStatusStyle; exports.resolveStatusTagProps = resolveStatusTagProps; exports.TicketStatusTag = TicketStatusTag; exports.useScrollFade = useScrollFade; exports.ScrollFadeOverlay = ScrollFadeOverlay; exports.ScrollShadow = ScrollShadow; exports.Modal = Modal; exports.ModalContent = ModalContent; exports.ModalTwoColumn = ModalTwoColumn; exports.ModalHeader = ModalHeader; exports.ModalTitle = ModalTitle; exports.ModalFooter = ModalFooter; exports.OVERLAY_BACKDROP_CLASS = OVERLAY_BACKDROP_CLASS; exports.Drawer = Drawer; exports.DrawerTrigger = DrawerTrigger; exports.DrawerClose = DrawerClose; exports.DrawerPortal = DrawerPortal; exports.DrawerOverlay = DrawerOverlay; exports.DrawerContent = DrawerContent; exports.DrawerHeader = DrawerHeader; exports.DrawerTitle = DrawerTitle; exports.DrawerDescription = DrawerDescription; exports.DrawerBody = DrawerBody; exports.DrawerFooter = DrawerFooter; exports.Tabs = Tabs; exports.TabsList = TabsList; exports.TabsTrigger = TabsTrigger; exports.TabsContent = TabsContent; exports.stripInlineMarkdown = stripInlineMarkdown; exports.markdownToPlainText = markdownToPlainText; exports.buildHeadingIdMap = buildHeadingIdMap; exports.useHeadingIdMap = useHeadingIdMap; exports.extractText = extractText; exports.useIsHydrated = useIsHydrated; exports.MermaidDiagram = MermaidDiagram; exports.hasRenderableSrc = hasRenderableSrc; exports.buildStandardLeafRenderers = buildStandardLeafRenderers; exports.SAFE_HTML_TAGS = SAFE_HTML_TAGS; exports.SVG_TAGS = SVG_TAGS; exports.buildEffectiveTagSet = buildEffectiveTagSet; exports.buildSanitizeSchema = buildSanitizeSchema; exports.rehypeStripUnsafe = rehypeStripUnsafe; exports.escapeUnknownHtmlTags = escapeUnknownHtmlTags; exports.cardAwareUrlTransform = cardAwareUrlTransform; exports.splitStreamingBlocks = splitStreamingBlocks; exports.completeStreamingTail = completeStreamingTail; exports.TEXT_SIZE_PRESETS = TEXT_SIZE_PRESETS; exports.resolveTextSizeConfig = resolveTextSizeConfig; exports.NO_BROKEN_LINKS = NO_BROKEN_LINKS; exports.MarkdownEngine = MarkdownEngine; exports.SimpleMarkdownRenderer = SimpleMarkdownRenderer; exports.fetchPriorityProp = fetchPriorityProp; exports.MUX_STREAM_ORIGIN = MUX_STREAM_ORIGIN; exports.MUX_IMAGE_ORIGIN = MUX_IMAGE_ORIGIN; exports.saveDataEnabled = saveDataEnabled; exports.useVideoOriginPreconnect = useVideoOriginPreconnect; exports.useVideoWarmup = useVideoWarmup; exports.VideoPlayBadge = VideoPlayBadge; exports.VideoUnmuteGlyph = VideoUnmuteGlyph; exports.extractYouTubeId = extractYouTubeId; exports.VIDEO_PLAYBACK_FAILED_EVENT = VIDEO_PLAYBACK_FAILED_EVENT; exports.Video = Video2; exports.HoverDropdown = HoverDropdown; exports.ExpandChevron = ExpandChevron; exports.useCollapsible = useCollapsible; exports.getCommandText = getCommandText; exports.ArgRow = ArgRow; exports.ResultBlock = ResultBlock; exports.CommandBlock = CommandBlock; exports.ApprovalStatusTag = ApprovalStatusTag; exports.ApprovalBatchMessage = ApprovalBatchMessage; exports.ApprovalRequestMessage = ApprovalRequestMessage; exports.EscalationOfferMessage = EscalationOfferMessage; exports.formatTime = formatTime; exports.AiAssistantInfo = AiAssistantInfo; exports.TicketEscalatedMessage = TicketEscalatedMessage; exports.MESSAGE_TYPE = MESSAGE_TYPE; exports.SCROLL_ANCHOR = SCROLL_ANCHOR; exports.TICKET_EVENT_KIND = TICKET_EVENT_KIND; exports.TicketEventMessage = TicketEventMessage; exports.ContextCompactionDisplay = ContextCompactionDisplay; exports.ThinkingDisplay = ThinkingDisplay; exports.AskDisplay = AskDisplay; exports.ErrorMessageDisplay = ErrorMessageDisplay; exports.MspOrganizationCard = MspOrganizationCard; exports.MspOrganizationCardSkeleton = MspOrganizationCardSkeleton; exports.ChatContainer = ChatContainer; exports.ChatHeader = ChatHeader; exports.ChatContent = ChatContent; exports.ChatFooter = ChatFooter; exports.ChatTypingIndicator = ChatTypingIndicator; exports.MingoOnboardingCard = MingoOnboardingCard; exports.ICON_REGISTRY = ICON_REGISTRY; exports.normalizeIconKey = normalizeIconKey; exports.getIconComponent = getIconComponent; exports.getDynamicIcon = getDynamicIcon; exports.ICON_ALIASES = ICON_ALIASES; exports.brandLogoForName = brandLogoForName; exports.resolveIcon = resolveIcon; exports.ICON_OPTIONS = ICON_OPTIONS; exports.SlashCommandSuggestions = SlashCommandSuggestions; exports.ChatInput = ChatInput; exports.CONTEXT_ROW_CLASS = CONTEXT_ROW_CLASS; exports.CONTEXT_ICON_CLASS = CONTEXT_ICON_CLASS; exports.CONTEXT_LABEL_CLASS = CONTEXT_LABEL_CLASS; exports.CONTEXT_BACK_CLASS = CONTEXT_BACK_CLASS; exports.CONTEXT_STATE_CLASS = CONTEXT_STATE_CLASS; exports.ContextMenuRow = ContextMenuRow; exports.ContextItemsSkeleton = ContextItemsSkeleton; exports.ContextItemsList = ContextItemsList; exports.ContextErrorBoundary = ContextErrorBoundary; exports.CHAT_CONTEXT_ITEMS_DEFAULT_MAX = CHAT_CONTEXT_ITEMS_DEFAULT_MAX; exports.ChatComposerPlusMenu = ChatComposerPlusMenu; exports.ChatContextPicker = ChatContextPicker; exports.ChatContextChipStrip = ChatContextChipStrip; exports.BlockCard = BlockCard; exports.remarkCardLinks = remarkCardLinks; exports.remarkMentionChips = remarkMentionChips; exports.ToolExecutionDisplay = ToolExecutionDisplay; exports.MemoizedChatMessageEnhanced = MemoizedChatMessageEnhanced; exports.ChatMessageSkeleton = ChatMessageSkeleton; exports.ChatMessageListSkeleton = ChatMessageListSkeleton; exports.ChatMessageList = ChatMessageList; exports.useProxiedImageUrl = useProxiedImageUrl; exports.ChatMessageRow = ChatMessageRow; exports.ChatMessageRowSkeleton = ChatMessageRowSkeleton; exports.FAE_AVATAR_DATA_URI = FAE_AVATAR_DATA_URI; exports.AgentMark = AgentMark; exports.EntityIcon = EntityIcon; exports.getAgentAccent = getAgentAccent; exports.accentFromIdentityIcon = accentFromIdentityIcon; exports.isQuickActionIconSpec = isQuickActionIconSpec; exports.renderQuickActionIcon = renderQuickActionIcon; exports.QuickActionChipSkeleton = QuickActionChipSkeleton; exports.QuickActionChipButton = QuickActionChipButton; exports.QuickActionChipFromData = QuickActionChipFromData; exports.useMarqueeSync = useMarqueeSync; exports.getMarqueeTrackOffset = getMarqueeTrackOffset; exports.getMarqueeAppliedOffset = getMarqueeAppliedOffset; exports.getMarqueeCloneTwin = getMarqueeCloneTwin; exports.MarqueeWallFades = MarqueeWallFades; exports.MarqueeWall = MarqueeWall; exports.WALL_SKELETON_LABEL_CH = WALL_SKELETON_LABEL_CH; exports.interleave = interleave; exports.QuickActionWall = QuickActionWall; exports.QuickActionMarquee = QuickActionMarquee; exports.ChatTicketItem = ChatTicketItem; exports.ChatTicketList = ChatTicketList; exports.MingoOnboardingCardSkeleton = MingoOnboardingCardSkeleton; exports.MingoOnboardingListSkeleton = MingoOnboardingListSkeleton; exports.MingoChatHistorySkeleton = MingoChatHistorySkeleton; exports.MingoChatHistory = MingoChatHistory; exports.MingoWelcome = MingoWelcome; exports.GuideWelcome = GuideWelcome; exports.GuideModeBanner = GuideModeBanner; exports.TabSelector = TabSelector; exports.MingoHistoryRail = MingoHistoryRail; exports.RenameChatModal = RenameChatModal; exports.ArchiveChatModal = ArchiveChatModal; exports.UnarchiveChatModal = UnarchiveChatModal; exports.ChatDialogModals = ChatDialogModals; exports.ChatHeaderIconButton = ChatHeaderIconButton; exports.ChatHeaderSearchField = ChatHeaderSearchField; exports.ChatPanelHeader = ChatPanelHeader; exports.CHAT_ATTACHMENT_VIEW_URL_PREFIX = CHAT_ATTACHMENT_VIEW_URL_PREFIX; exports.CHAT_ATTACHMENT_VIEW_TOKEN_QUERY_PARAM = CHAT_ATTACHMENT_VIEW_TOKEN_QUERY_PARAM; exports.ANTHROPIC_SUPPORTED_IMAGE_MIME = ANTHROPIC_SUPPORTED_IMAGE_MIME; exports.buildChatAttachmentViewUrl = buildChatAttachmentViewUrl; exports.escapeMarkdownInline = escapeMarkdownInline; exports.formatChatAttachmentMarkdownForBubble = formatChatAttachmentMarkdownForBubble; exports.CHAT_ATTACHMENT_VIEW_URL_PREFIX_REGEX_ESCAPED = CHAT_ATTACHMENT_VIEW_URL_PREFIX_REGEX_ESCAPED; exports.CHAT_ATTACHMENT_MARKDOWN_PATTERN = CHAT_ATTACHMENT_MARKDOWN_PATTERN; exports.stripChatAttachmentMarkdown = stripChatAttachmentMarkdown; exports.CHAT_ATTACHMENT_MIME_TYPES = CHAT_ATTACHMENT_MIME_TYPES; exports.CHAT_ATTACHMENT_CONCURRENT_UPLOADS_PER_USER = CHAT_ATTACHMENT_CONCURRENT_UPLOADS_PER_USER; exports.ChatAttachmentAddButton = ChatAttachmentAddButton; exports.ChatAttachmentChipStrip = ChatAttachmentChipStrip; exports.ChatContextMemoryBar = ChatContextMemoryBar; exports.HoverCard = HoverCard; exports.HoverCardTrigger = HoverCardTrigger; exports.HoverCardContent = HoverCardContent; exports.ModelDisplay = ModelDisplay; exports.ModelDisplaySkeleton = ModelDisplaySkeleton; exports.ChatComposer = ChatComposer; exports.ChatArchivePage = ChatArchivePage; exports.DialogListItem = DialogListItem; exports.ChatSidebar = ChatSidebar; exports.NEW_TAB_FEATURES = NEW_TAB_FEATURES; exports.isModifierClick = isModifierClick; exports.stripSameOriginToPath = stripSameOriginToPath; exports.resolveExternalNavigation = resolveExternalNavigation; exports.executeNavigation = executeNavigation; exports.executeNavigationImperative = executeNavigationImperative; exports.handleChatNavClick = handleChatNavClick; exports.NavLinkAnchorViaRuntime = NavLinkAnchorViaRuntime; exports.SourceActionButton = SourceActionButton; exports.ADMIN_CONTENT_CARD_GRID_CLASS = ADMIN_CONTENT_CARD_GRID_CLASS; exports.AdminContentCardSkeleton = AdminContentCardSkeleton; exports.AdminContentCardGrid = AdminContentCardGrid; exports.getCaptionsUrl = getCaptionsUrl; exports.rebaseCaptionsUrl = rebaseCaptionsUrl; exports.buildCaptionsUrl = buildCaptionsUrl; exports.getEntityCaptionUrls = getEntityCaptionUrls; exports.getEntityCaptionUrlsById = getEntityCaptionUrlsById; exports.captionsEntityTypeForDocType = captionsEntityTypeForDocType; exports.PAGE_HEADING_CLASS = PAGE_HEADING_CLASS; exports.SECTION_HEADING_CLASS = SECTION_HEADING_CLASS; exports.PageHeading = PageHeading; exports.useCaptions = useCaptions; exports.UserDisplay = UserDisplay; exports.CardHitLayer = CardHitLayer; exports.STRIP_CELL_MAX_WIDTH = STRIP_CELL_MAX_WIDTH; exports.CardsStrip = CardsStrip; exports.VideoHoverPreviewSurface = VideoHoverPreviewSurface; exports.RATIO_GRID_CLASS = RATIO_GRID_CLASS; exports.RATIO_TO_CSS_ASPECT = RATIO_TO_CSS_ASPECT; exports.RatioTabs = RatioTabs; exports.detectAspectRatio = detectAspectRatio; exports.ratioToCategory = ratioToCategory; exports.groupByAspectRatio = groupByAspectRatio; exports.VideoBitesStrip = VideoBitesStrip; exports.VideoBiteCard = VideoBiteCard; exports.EntityVideoSection = EntityVideoSection; exports.ChatVideoEntityCard = ChatVideoEntityCard; exports.DESIGN_DOC_READINESS = DESIGN_DOC_READINESS; exports.DESIGN_DOC_READINESS_DISPLAY = DESIGN_DOC_READINESS_DISPLAY; exports.designDocReadiness = designDocReadiness; exports.formatCompletionLabel = formatCompletionLabel; exports.formatCompletionLabelWithBlockers = formatCompletionLabelWithBlockers; exports.UnifiedSkeleton = UnifiedSkeleton; exports.TextSkeleton = TextSkeleton; exports.InteractiveSkeleton = InteractiveSkeleton; exports.MediaSkeleton = MediaSkeleton; exports.designDocPeople = designDocPeople; exports.designDocMetaLine = designDocMetaLine; exports.DesignDocCardSkeleton = DesignDocCardSkeleton; exports.DesignDocCard = DesignDocCard; exports.GitHubActivityCard = GitHubActivityCard; exports.GitHubActivityCardSkeleton = GitHubActivityCardSkeleton; exports.SlackMessageCard = SlackMessageCard; exports.SlackMessageCardSkeleton = SlackMessageCardSkeleton; exports.HubspotTicketCard = HubspotTicketCard; exports.HubspotTicketCardSkeleton = HubspotTicketCardSkeleton; exports.DataRoomDocCard = DataRoomDocCard; exports.DataRoomDocCardSkeleton = DataRoomDocCardSkeleton; exports.CampaignCardAdmin = CampaignCardAdmin; exports.CampaignCardAdminSkeleton = CampaignCardAdminSkeleton; exports.GenericEntityCard = GenericEntityCard; exports.GenericEntityCardSkeleton = GenericEntityCardSkeleton; exports.faqSectionSlug = faqSectionSlug; exports.faqItemAnchor = faqItemAnchor; exports.parseFaqHash = parseFaqHash; exports.useChatCardItem = useChatCardItem; exports.clickupTaskUrl = clickupTaskUrl; exports.readFetchedCardTitle = readFetchedCardTitle; exports.resolveFetchedCardHref = resolveFetchedCardHref; exports.SOURCE_ICON_NAMES = SOURCE_ICON_NAMES; exports.getSourceIconName = getSourceIconName; exports.SOURCE_LABELS_BY_TABLE = SOURCE_LABELS_BY_TABLE; exports.getSourceLabel = getSourceLabel; exports.DEFAULT_DOCUMENT_TYPE_TO_TABLE_ID = DEFAULT_DOCUMENT_TYPE_TO_TABLE_ID; exports.defaultTableIdForDocumentType = defaultTableIdForDocumentType; exports.byKey = byKey; exports.getPlatformProductionUrl = getPlatformProductionUrl; exports.getPlatformUrl = getPlatformUrl; exports.getDeploymentUrl = getDeploymentUrl; exports.isLocalUrl = isLocalUrl; exports.getRequestOrigin = getRequestOrigin; exports.resolveRedirectTarget = resolveRedirectTarget; exports.getAllPlatformBaseDomains = getAllPlatformBaseDomains; exports.DOC_TABLE_TYPES = DOC_TABLE_TYPES; exports.groupsByTable = groupsByTable; exports.recordCountLabel = recordCountLabel; exports.buildGroupedSource = buildGroupedSource; exports.groupSourcesByTable = groupSourcesByTable; exports.formatCitationIndices = formatCitationIndices; exports.resolveSourceRowCTA = resolveSourceRowCTA; exports.resolveSourceIcon = resolveSourceIcon; exports.chatCardLabel = chatCardLabel; exports.ChatCardLoader = ChatCardLoader; exports.renderChatInlineEntityCard = renderChatInlineEntityCard; exports.CHAT_TYPE = CHAT_TYPE; exports.OWNER_TYPE = OWNER_TYPE; exports.MESSAGE_ROLE = MESSAGE_ROLE; exports.ASSISTANT_TYPE = ASSISTANT_TYPE; exports.AUTHOR_TYPE = AUTHOR_TYPE; exports.APPROVAL_STATUS = APPROVAL_STATUS; exports.APPROVAL_BLOCK_VARIANT = APPROVAL_BLOCK_VARIANT; exports.CONNECTION_STATUS = CONNECTION_STATUS; exports.isStructuredContent = isStructuredContent; exports.normalizeContent = normalizeContent2; exports.NETWORK_CONFIG = NETWORK_CONFIG; exports.EMPTY_DIALOG_CAPABILITIES = EMPTY_DIALOG_CAPABILITIES; exports.useChunkCatchup = useChunkCatchup; exports.useScriptedStream = useScriptedStream; exports.RESYNC_AFTER_HIDDEN_MS = RESYNC_AFTER_HIDDEN_MS; exports.useJetStreamDialogSubscription = useJetStreamDialogSubscription; exports.useNatsDialogSubscription = useNatsDialogSubscription; exports.buildNatsWsUrl = buildNatsWsUrl; exports.fetchSlashCommands = fetchSlashCommands; exports.useSlashCommands = useSlashCommands; exports.useSlashCommandRegistry = useSlashCommandRegistry; exports.fetchEmptyStateConfig = fetchEmptyStateConfig; exports.useEmptyStateConfig = useEmptyStateConfig; exports.useChatAttachments = useChatAttachments; exports.useChatAttachmentImageGallery = useChatAttachmentImageGallery; exports.ChatIdentityProvider = ChatIdentityProvider; exports.useChatIdentity = useChatIdentity; exports.useCloseOnNavigation = useCloseOnNavigation; exports.useSSE = useSSE; exports.useChat = useChat; exports.approvalDisplaysInline = approvalDisplaysInline; exports.appendToTrailingAssistant = appendToTrailingAssistant; exports.upsertTrailingCompaction = upsertTrailingCompaction; exports.applyToolExecutionToMessages = applyToolExecutionToMessages; exports.MessageSegmentAccumulator = MessageSegmentAccumulator; exports.createMessageSegmentAccumulator = createMessageSegmentAccumulator; exports.SCROLL_ANCHOR_WIRE_KEY = SCROLL_ANCHOR_WIRE_KEY; exports.parseScrollAnchor = parseScrollAnchor; exports.createEmptyTurnMeta = createEmptyTurnMeta; exports.createChatStreamReducer = createChatStreamReducer; exports.DEFAULT_DIALOG_SIDE = DEFAULT_DIALOG_SIDE; exports.DEFAULT_MAX_REDUCERS = DEFAULT_MAX_REDUCERS; exports.MAX_PENDING_RETAIN_KEYS = MAX_PENDING_RETAIN_KEYS; exports.createChatDialogStore = createChatDialogStore; exports.createDeltaBatcher = createDeltaBatcher; exports.useChatStreamReducer = useChatStreamReducer; exports.createChatConversationsApi = createChatConversationsApi; exports.parseWireCommandOverride = parseWireCommandOverride; exports.sanitizeTitleForChat = sanitizeTitleForChat; exports.formatSingularLookupInvocation = formatSingularLookupInvocation; exports.extractEntityIdFilter = extractEntityIdFilter; exports.buildDiscussAddendum = buildDiscussAddendum; exports.buildDiscussPrompt = buildDiscussPrompt; exports.AUTO_CONTINUATION_DIRECTIVE_PREFIX = AUTO_CONTINUATION_DIRECTIVE_PREFIX; exports.buildAutoContinuationDirective = buildAutoContinuationDirective; exports.useManagedDialogList = useManagedDialogList; exports.useSseChatAdapter = useSseChatAdapter; exports.extractIncompleteMessageState = extractIncompleteMessageState; exports.extractIncompleteTailState = extractIncompleteTailState; exports.decodeHistoricalMessageData = decodeHistoricalMessageData; exports.processHistoricalMessages = processHistoricalMessages; exports.extractErrorMessages = extractErrorMessages; exports.processHistoricalMessagesWithErrors = processHistoricalMessagesWithErrors; exports.mapProcessedToUnified = mapProcessedToUnified; exports.historicalToUnified = historicalToUnified; exports.useNatsChatAdapter = useNatsChatAdapter; exports.useStableShallow = useStableShallow; exports.useUnifiedChat = useUnifiedChat; exports.SYNTHETIC_REALTIME_ID_PREFIXES = SYNTHETIC_REALTIME_ID_PREFIXES; exports.flattenMessagePagesChronological = flattenMessagePagesChronological; exports.maxPersistedStreamSeq = maxPersistedStreamSeq; exports.mergeHistoryWithRealtime = mergeHistoryWithRealtime; exports.computeHistoryPrepend = computeHistoryPrepend; exports.CHIP_ACTION_BUTTON_CLASS = CHIP_ACTION_BUTTON_CLASS; exports.chatChipClass = chatChipClass; exports.flattenAssistantContent = flattenAssistantContent; exports.normalizeHistoricalMessageData = normalizeHistoricalMessageData; exports.isHistoricalUserTurn = isHistoricalUserTurn; exports.buildStreamFrames = buildStreamFrames; exports.EmbeddableChat = EmbeddableChat; exports.ProxyCredentialsPanel = ProxyCredentialsPanel;
|
|
27267
|
-
//# sourceMappingURL=chunk-
|
|
27267
|
+
//# sourceMappingURL=chunk-3OZUPFWU.cjs.map
|