@flamingo-stack/openframe-frontend-core 0.0.568-1914.5171.1 → 0.0.568
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-LYP43VO3.js → chunk-2LKVYI7H.js} +4 -4
- package/dist/{chunk-WZW5TXKM.cjs → chunk-6I76UK2Z.cjs} +3 -3
- package/dist/{chunk-WZW5TXKM.cjs.map → chunk-6I76UK2Z.cjs.map} +1 -1
- package/dist/{chunk-H6JEWGJN.cjs → chunk-6PWUUWCO.cjs} +39 -39
- package/dist/{chunk-H6JEWGJN.cjs.map → chunk-6PWUUWCO.cjs.map} +1 -1
- package/dist/{chunk-SWPLMGKK.cjs → chunk-6RSKK4E7.cjs} +479 -526
- package/dist/chunk-6RSKK4E7.cjs.map +1 -0
- package/dist/{chunk-PA47Q3JE.js → chunk-6TDWCBQM.js} +6 -6
- package/dist/{chunk-RDKJCZHY.js → chunk-B44VZF2Z.js} +9 -8
- package/dist/chunk-B44VZF2Z.js.map +1 -0
- package/dist/{chunk-OW4OF7UP.js → chunk-BZ7B255K.js} +6 -6
- package/dist/{chunk-BMHU5V5T.cjs → chunk-DHTT77AG.cjs} +62 -62
- package/dist/{chunk-BMHU5V5T.cjs.map → chunk-DHTT77AG.cjs.map} +1 -1
- package/dist/{chunk-TN4KUALQ.js → chunk-DZ2Z7HRF.js} +2 -2
- package/dist/{chunk-KVCOILLR.js → chunk-EYXZF46V.js} +1032 -1079
- package/dist/chunk-EYXZF46V.js.map +1 -0
- package/dist/{chunk-HISA2T34.js → chunk-G2PAUMV6.js} +2 -2
- package/dist/{chunk-LRFCOGYE.js → chunk-HB3IG2MC.js} +3 -3
- package/dist/{chunk-NFVQ77GG.cjs → chunk-HKG7BZON.cjs} +9 -9
- package/dist/{chunk-NFVQ77GG.cjs.map → chunk-HKG7BZON.cjs.map} +1 -1
- package/dist/{chunk-MTVLA67G.cjs → chunk-KZ3PIUCH.cjs} +14 -14
- package/dist/{chunk-MTVLA67G.cjs.map → chunk-KZ3PIUCH.cjs.map} +1 -1
- package/dist/{chunk-EWSLKRSP.cjs → chunk-KZS2DFC2.cjs} +31 -31
- package/dist/{chunk-EWSLKRSP.cjs.map → chunk-KZS2DFC2.cjs.map} +1 -1
- package/dist/{chunk-QZQUXNVF.cjs → chunk-L22CSZZU.cjs} +11 -11
- package/dist/{chunk-QZQUXNVF.cjs.map → chunk-L22CSZZU.cjs.map} +1 -1
- package/dist/{chunk-ADBY2WCW.cjs → chunk-LNUXUOPN.cjs} +4 -4
- package/dist/{chunk-ADBY2WCW.cjs.map → chunk-LNUXUOPN.cjs.map} +1 -1
- package/dist/{chunk-NQI5BF7S.cjs → chunk-LXWQLUBR.cjs} +7 -7
- package/dist/{chunk-NQI5BF7S.cjs.map → chunk-LXWQLUBR.cjs.map} +1 -1
- package/dist/{chunk-NRU3AUUP.js → chunk-MQQM4NCN.js} +2 -2
- package/dist/{chunk-I5J7RE5E.js → chunk-O3JCKEVG.js} +2 -2
- package/dist/{chunk-XOFFASWS.cjs → chunk-P7QGTNEW.cjs} +97 -97
- package/dist/{chunk-XOFFASWS.cjs.map → chunk-P7QGTNEW.cjs.map} +1 -1
- package/dist/{chunk-FXEEH6GY.js → chunk-QVQLNKFS.js} +2 -2
- package/dist/{chunk-ANDU6MPG.cjs → chunk-RBYMJF2V.cjs} +26 -26
- package/dist/{chunk-ANDU6MPG.cjs.map → chunk-RBYMJF2V.cjs.map} +1 -1
- package/dist/{chunk-7GFUYIKG.cjs → chunk-T7AE7CKV.cjs} +5 -5
- package/dist/{chunk-7GFUYIKG.cjs.map → chunk-T7AE7CKV.cjs.map} +1 -1
- package/dist/{chunk-TCVAF576.js → chunk-VEXTUGUA.js} +4 -4
- package/dist/{chunk-4LHEQMOV.cjs → chunk-WPPBPRFU.cjs} +9 -8
- package/dist/chunk-WPPBPRFU.cjs.map +1 -0
- package/dist/{chunk-ED6F54AE.cjs → chunk-Y2BYHTEN.cjs} +29 -29
- package/dist/{chunk-ED6F54AE.cjs.map → chunk-Y2BYHTEN.cjs.map} +1 -1
- package/dist/{chunk-A3FU7F26.js → chunk-ZARYIFCI.js} +2 -2
- package/dist/{chunk-RGEFDRKL.js → chunk-ZIZJDXUI.js} +2 -2
- package/dist/{chunk-WC4CFOYB.js → chunk-ZXASQL3E.js} +2 -2
- package/dist/components/case-studies/index.cjs +9 -9
- package/dist/components/case-studies/index.js +3 -3
- package/dist/components/chat/index.cjs +3 -3
- package/dist/components/chat/index.js +2 -2
- package/dist/components/contact/index.cjs +4 -4
- package/dist/components/contact/index.js +3 -3
- package/dist/components/docs/index.cjs +6 -6
- package/dist/components/docs/index.js +5 -5
- package/dist/components/embeds/claude-embed.d.ts +1 -9
- package/dist/components/embeds/claude-embed.d.ts.map +1 -1
- package/dist/components/embeds/embed-viewer-frame.d.ts +1 -8
- package/dist/components/embeds/embed-viewer-frame.d.ts.map +1 -1
- package/dist/components/embeds/index.cjs +4 -4
- package/dist/components/embeds/index.js +3 -3
- package/dist/components/faq/index.cjs +4 -4
- package/dist/components/faq/index.js +3 -3
- package/dist/components/features/command-box.d.ts +5 -1
- package/dist/components/features/command-box.d.ts.map +1 -1
- package/dist/components/features/index.cjs +3 -3
- package/dist/components/features/index.js +2 -2
- package/dist/components/help-center-pages/index.cjs +23 -23
- package/dist/components/help-center-pages/index.js +14 -14
- package/dist/components/index.cjs +144 -144
- package/dist/components/index.js +12 -12
- package/dist/components/meeting-scheduler/index.cjs +60 -60
- package/dist/components/meeting-scheduler/index.js +4 -4
- package/dist/components/navigation/index.cjs +3 -3
- package/dist/components/navigation/index.js +2 -2
- package/dist/components/onboarding-guides/index.cjs +6 -6
- package/dist/components/onboarding-guides/index.js +5 -5
- package/dist/components/related-content/index.cjs +4 -4
- package/dist/components/related-content/index.js +3 -3
- package/dist/components/tickets/index.cjs +7 -7
- package/dist/components/tickets/index.js +6 -6
- package/dist/components/ui/autocomplete.d.ts +2 -0
- package/dist/components/ui/autocomplete.d.ts.map +1 -1
- package/dist/components/ui/field-wrapper.d.ts +7 -0
- package/dist/components/ui/field-wrapper.d.ts.map +1 -1
- package/dist/components/ui/file-manager/index.cjs +36 -36
- package/dist/components/ui/file-manager/index.js +1 -1
- package/dist/components/ui/index.cjs +3 -3
- package/dist/components/ui/index.js +2 -2
- package/dist/components/ui/markdown/rich/embed-overrides.d.ts.map +1 -1
- package/dist/components/ui/markdown/rich/shortcodes.d.ts.map +1 -1
- package/dist/components/ui/markdown/sanitize.d.ts.map +1 -1
- package/dist/components/ui/select.d.ts +2 -0
- package/dist/components/ui/select.d.ts.map +1 -1
- package/dist/components/ui/tab-selector.d.ts.map +1 -1
- package/dist/index.cjs +3 -3
- package/dist/index.js +2 -2
- package/dist/types/design-doc.d.ts +0 -7
- package/dist/types/design-doc.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/components/embeds/claude-embed.tsx +7 -38
- package/src/components/embeds/embed-viewer-frame.tsx +4 -78
- package/src/components/features/command-box.tsx +36 -10
- package/src/components/ui/autocomplete.tsx +4 -1
- package/src/components/ui/field-wrapper.tsx +15 -7
- package/src/components/ui/markdown/rich/__tests__/shortcodes.test.ts +0 -42
- package/src/components/ui/markdown/rich/embed-overrides.tsx +0 -1
- package/src/components/ui/markdown/rich/shortcodes.ts +6 -20
- package/src/components/ui/markdown/sanitize.ts +0 -5
- package/src/components/ui/select.tsx +4 -2
- package/src/components/ui/tab-selector.tsx +6 -2
- package/src/types/design-doc.ts +0 -7
- package/dist/chunk-4LHEQMOV.cjs.map +0 -1
- package/dist/chunk-KVCOILLR.js.map +0 -1
- package/dist/chunk-RDKJCZHY.js.map +0 -1
- package/dist/chunk-SWPLMGKK.cjs.map +0 -1
- /package/dist/{chunk-LYP43VO3.js.map → chunk-2LKVYI7H.js.map} +0 -0
- /package/dist/{chunk-PA47Q3JE.js.map → chunk-6TDWCBQM.js.map} +0 -0
- /package/dist/{chunk-OW4OF7UP.js.map → chunk-BZ7B255K.js.map} +0 -0
- /package/dist/{chunk-TN4KUALQ.js.map → chunk-DZ2Z7HRF.js.map} +0 -0
- /package/dist/{chunk-HISA2T34.js.map → chunk-G2PAUMV6.js.map} +0 -0
- /package/dist/{chunk-LRFCOGYE.js.map → chunk-HB3IG2MC.js.map} +0 -0
- /package/dist/{chunk-NRU3AUUP.js.map → chunk-MQQM4NCN.js.map} +0 -0
- /package/dist/{chunk-I5J7RE5E.js.map → chunk-O3JCKEVG.js.map} +0 -0
- /package/dist/{chunk-FXEEH6GY.js.map → chunk-QVQLNKFS.js.map} +0 -0
- /package/dist/{chunk-TCVAF576.js.map → chunk-VEXTUGUA.js.map} +0 -0
- /package/dist/{chunk-A3FU7F26.js.map → chunk-ZARYIFCI.js.map} +0 -0
- /package/dist/{chunk-RGEFDRKL.js.map → chunk-ZIZJDXUI.js.map} +0 -0
- /package/dist/{chunk-WC4CFOYB.js.map → chunk-ZXASQL3E.js.map} +0 -0
|
@@ -258,7 +258,7 @@ var _chunkCEAAOVCVcjs = require('./chunk-CEAAOVCV.cjs');
|
|
|
258
258
|
|
|
259
259
|
|
|
260
260
|
|
|
261
|
-
var
|
|
261
|
+
var _chunkWPPBPRFUcjs = require('./chunk-WPPBPRFU.cjs');
|
|
262
262
|
|
|
263
263
|
|
|
264
264
|
|
|
@@ -294,7 +294,7 @@ var _chunkVRHGVLSLcjs = require('./chunk-VRHGVLSL.cjs');
|
|
|
294
294
|
|
|
295
295
|
// src/components/pagination.tsx
|
|
296
296
|
var _lucidereact = require('lucide-react');
|
|
297
|
-
var _react = require('react'); var
|
|
297
|
+
var _react = require('react'); var React127 = _interopRequireWildcard(_react); var React = _interopRequireWildcard(_react); var React11 = _interopRequireWildcard(_react); var React4 = _interopRequireWildcard(_react); var React7 = _interopRequireWildcard(_react); var React5 = _interopRequireWildcard(_react); var React22 = _interopRequireWildcard(_react); var React6 = _interopRequireWildcard(_react); var React8 = _interopRequireWildcard(_react); var React10 = _interopRequireWildcard(_react); var React12 = _interopRequireWildcard(_react); var React13 = _interopRequireWildcard(_react); var React15 = _interopRequireWildcard(_react); var React18 = _interopRequireWildcard(_react); var React17 = _interopRequireWildcard(_react); var React16 = _interopRequireWildcard(_react); var React21 = _interopRequireWildcard(_react); var React19 = _interopRequireWildcard(_react); var React20 = _interopRequireWildcard(_react); var React24 = _interopRequireWildcard(_react); var React23 = _interopRequireWildcard(_react); var React25 = _interopRequireWildcard(_react); var React27 = _interopRequireWildcard(_react); var React26 = _interopRequireWildcard(_react); var React28 = _interopRequireWildcard(_react); var React29 = _interopRequireWildcard(_react); var React32 = _interopRequireWildcard(_react); var React30 = _interopRequireWildcard(_react); var React33 = _interopRequireWildcard(_react); var React34 = _interopRequireWildcard(_react); var React37 = _interopRequireWildcard(_react); var React44 = _interopRequireWildcard(_react); var React45 = _interopRequireWildcard(_react); var React46 = _interopRequireWildcard(_react); var React48 = _interopRequireWildcard(_react); var React47 = _interopRequireWildcard(_react); var React50 = _interopRequireWildcard(_react); var React49 = _interopRequireWildcard(_react); var React54 = _interopRequireWildcard(_react); var React53 = _interopRequireWildcard(_react); var React55 = _interopRequireWildcard(_react); var React56 = _interopRequireWildcard(_react); var React60 = _interopRequireWildcard(_react); var React61 = _interopRequireWildcard(_react); var React62 = _interopRequireWildcard(_react); var React63 = _interopRequireWildcard(_react); var React64 = _interopRequireWildcard(_react); var React65 = _interopRequireWildcard(_react); var React66 = _interopRequireWildcard(_react); var React67 = _interopRequireWildcard(_react); var React68 = _interopRequireWildcard(_react); var React69 = _interopRequireWildcard(_react); var React70 = _interopRequireWildcard(_react); var React71 = _interopRequireWildcard(_react); var React72 = _interopRequireWildcard(_react); var React73 = _interopRequireWildcard(_react); var React74 = _interopRequireWildcard(_react); var React75 = _interopRequireWildcard(_react); var React76 = _interopRequireWildcard(_react); var React78 = _interopRequireWildcard(_react); var React80 = _interopRequireWildcard(_react); var React90 = _interopRequireWildcard(_react); var React89 = _interopRequireWildcard(_react); var React93 = _interopRequireWildcard(_react); var React94 = _interopRequireWildcard(_react); var React96 = _interopRequireWildcard(_react); var React97 = _interopRequireWildcard(_react); var React102 = _interopRequireWildcard(_react); var React106 = _interopRequireWildcard(_react); var React107 = _interopRequireWildcard(_react); var React108 = _interopRequireWildcard(_react); var React109 = _interopRequireWildcard(_react); var React110 = _interopRequireWildcard(_react); var React111 = _interopRequireWildcard(_react); var React112 = _interopRequireWildcard(_react); var React124 = _interopRequireWildcard(_react); var React123 = _interopRequireWildcard(_react); var React126 = _interopRequireWildcard(_react); var React129 = _interopRequireWildcard(_react); var React130 = _interopRequireWildcard(_react); var React132 = _interopRequireWildcard(_react); var React133 = _interopRequireWildcard(_react); var React135 = _interopRequireWildcard(_react); var React134 = _interopRequireWildcard(_react); var React136 = _interopRequireWildcard(_react); var React138 = _interopRequireWildcard(_react); var React137 = _interopRequireWildcard(_react); var React139 = _interopRequireWildcard(_react); var React140 = _interopRequireWildcard(_react); var React141 = _interopRequireWildcard(_react); var React149 = _interopRequireWildcard(_react); var React148 = _interopRequireWildcard(_react);
|
|
298
298
|
var _jsxruntime = require('react/jsx-runtime');
|
|
299
299
|
var Pagination, PaginationContent, PaginationItem, PaginationLink, PaginationEllipsis, PaginationPrevious, PaginationNext;
|
|
300
300
|
var init_pagination = _chunkVRHGVLSLcjs.__esm.call(void 0, {
|
|
@@ -386,19 +386,19 @@ var init_pagination = _chunkVRHGVLSLcjs.__esm.call(void 0, {
|
|
|
386
386
|
) })
|
|
387
387
|
] }) });
|
|
388
388
|
};
|
|
389
|
-
PaginationContent = exports.PaginationContent =
|
|
389
|
+
PaginationContent = exports.PaginationContent = React127.forwardRef(
|
|
390
390
|
({ className, ...props }, ref) => {
|
|
391
391
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "ul", { ref, className: _chunkKI4EGKNVcjs.cn.call(void 0, "flex items-center justify-center", className), ...props });
|
|
392
392
|
}
|
|
393
393
|
);
|
|
394
394
|
PaginationContent.displayName = "PaginationContent";
|
|
395
|
-
PaginationItem = exports.PaginationItem =
|
|
395
|
+
PaginationItem = exports.PaginationItem = React127.forwardRef(
|
|
396
396
|
({ className, ...props }, ref) => {
|
|
397
397
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "li", { ref, className: _chunkKI4EGKNVcjs.cn.call(void 0, "", className), ...props });
|
|
398
398
|
}
|
|
399
399
|
);
|
|
400
400
|
PaginationItem.displayName = "PaginationItem";
|
|
401
|
-
PaginationLink = exports.PaginationLink =
|
|
401
|
+
PaginationLink = exports.PaginationLink = React127.forwardRef(
|
|
402
402
|
({ className, ...props }, ref) => {
|
|
403
403
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
404
404
|
"button",
|
|
@@ -414,7 +414,7 @@ var init_pagination = _chunkVRHGVLSLcjs.__esm.call(void 0, {
|
|
|
414
414
|
}
|
|
415
415
|
);
|
|
416
416
|
PaginationLink.displayName = "PaginationLink";
|
|
417
|
-
PaginationEllipsis = exports.PaginationEllipsis =
|
|
417
|
+
PaginationEllipsis = exports.PaginationEllipsis = React127.forwardRef(
|
|
418
418
|
({ className, ...props }, ref) => {
|
|
419
419
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
420
420
|
"span",
|
|
@@ -431,7 +431,7 @@ var init_pagination = _chunkVRHGVLSLcjs.__esm.call(void 0, {
|
|
|
431
431
|
}
|
|
432
432
|
);
|
|
433
433
|
PaginationEllipsis.displayName = "PaginationEllipsis";
|
|
434
|
-
PaginationPrevious = exports.PaginationPrevious =
|
|
434
|
+
PaginationPrevious = exports.PaginationPrevious = React127.forwardRef(
|
|
435
435
|
({ className, ...props }, ref) => {
|
|
436
436
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk7INXXQVKcjs.Button, { ref, variant: "outline", size: "icon", className: _chunkKI4EGKNVcjs.cn.call(void 0, "h-10 w-10", className), ...props, children: [
|
|
437
437
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ChevronLeft, { className: "h-4 w-4" }),
|
|
@@ -440,7 +440,7 @@ var init_pagination = _chunkVRHGVLSLcjs.__esm.call(void 0, {
|
|
|
440
440
|
}
|
|
441
441
|
);
|
|
442
442
|
PaginationPrevious.displayName = "PaginationPrevious";
|
|
443
|
-
PaginationNext = exports.PaginationNext =
|
|
443
|
+
PaginationNext = exports.PaginationNext = React127.forwardRef(
|
|
444
444
|
({ className, ...props }, ref) => {
|
|
445
445
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk7INXXQVKcjs.Button, { ref, variant: "outline", size: "icon", className: _chunkKI4EGKNVcjs.cn.call(void 0, "h-10 w-10", className), ...props, children: [
|
|
446
446
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ChevronRight, { className: "h-4 w-4" }),
|
|
@@ -1857,12 +1857,7 @@ var URL_ATTRS = /* @__PURE__ */ new Set([
|
|
|
1857
1857
|
"poster",
|
|
1858
1858
|
"data",
|
|
1859
1859
|
"action",
|
|
1860
|
-
"background"
|
|
1861
|
-
// The claude shortcode's mirror path — it becomes an <iframe src>
|
|
1862
|
-
// (`ClaudeEmbed srcOverride`), so it gets the same scheme check as
|
|
1863
|
-
// every other URL sink even though the component ALSO shape-validates
|
|
1864
|
-
// it to a same-origin path (defense in depth).
|
|
1865
|
-
"data-embed-src"
|
|
1860
|
+
"background"
|
|
1866
1861
|
]);
|
|
1867
1862
|
function srcsetHasUnsafeCandidate(srcset) {
|
|
1868
1863
|
for (const candidate of srcset.split(",")) {
|
|
@@ -5077,8 +5072,8 @@ var SecondaryAction = ({ action }) => {
|
|
|
5077
5072
|
);
|
|
5078
5073
|
};
|
|
5079
5074
|
var MenuItem = ({ item, onItemClick }) => {
|
|
5080
|
-
const portalContainer =
|
|
5081
|
-
const collisionBoundary =
|
|
5075
|
+
const portalContainer = _chunkWPPBPRFUcjs.usePortalContainer.call(void 0, );
|
|
5076
|
+
const collisionBoundary = _chunkWPPBPRFUcjs.useCollisionBoundary.call(void 0, );
|
|
5082
5077
|
const activate = _react.useCallback.call(void 0, () => {
|
|
5083
5078
|
if (item.disabled) return;
|
|
5084
5079
|
if (item.type === "checkbox") {
|
|
@@ -5200,7 +5195,7 @@ var MenuItem = ({ item, onItemClick }) => {
|
|
|
5200
5195
|
{
|
|
5201
5196
|
sideOffset: 4,
|
|
5202
5197
|
collisionBoundary: _nullishCoalesce(collisionBoundary, () => ( void 0)),
|
|
5203
|
-
collisionPadding: collisionBoundary ?
|
|
5198
|
+
collisionPadding: collisionBoundary ? _chunkWPPBPRFUcjs.COLLISION_PADDING_PX : void 0,
|
|
5204
5199
|
hideWhenDetached: true,
|
|
5205
5200
|
className: "z-[1500] min-w-[256px] max-h-[var(--radix-popper-available-height)] bg-ods-bg border border-ods-border rounded-md shadow-xl overflow-y-auto p-0",
|
|
5206
5201
|
children: item.submenu.map((subItem, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -5245,7 +5240,7 @@ var ActionsMenu = ({
|
|
|
5245
5240
|
className: `relative min-w-[256px] max-h-[var(--radix-popper-available-height)] bg-ods-bg border border-ods-border rounded-md shadow-lg overflow-y-auto ${className}`,
|
|
5246
5241
|
children: groups.map((group, groupIndex) => {
|
|
5247
5242
|
const groupKey = group.id || group.items.map((i) => i.id).join("|");
|
|
5248
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
5243
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, React127.default.Fragment, { children: [
|
|
5249
5244
|
group.items.map((item, itemIndex) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
5250
5245
|
MenuItem,
|
|
5251
5246
|
{
|
|
@@ -5282,8 +5277,8 @@ var ActionsMenuDropdown = ({
|
|
|
5282
5277
|
onChange: onOpenChange
|
|
5283
5278
|
});
|
|
5284
5279
|
useReportOverlayOpen(open);
|
|
5285
|
-
const triggerRef =
|
|
5286
|
-
|
|
5280
|
+
const triggerRef = React127.default.useRef(null);
|
|
5281
|
+
React127.default.useEffect(() => {
|
|
5287
5282
|
if (!open) return;
|
|
5288
5283
|
if (typeof document === "undefined") return;
|
|
5289
5284
|
const trigger2 = triggerRef.current;
|
|
@@ -5308,8 +5303,8 @@ var ActionsMenuDropdown = ({
|
|
|
5308
5303
|
},
|
|
5309
5304
|
[onItemClick, setOpen]
|
|
5310
5305
|
);
|
|
5311
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
5312
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
5306
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkWPPBPRFUcjs.DropdownMenu, { open, onOpenChange: setOpen, modal: false, children: [
|
|
5307
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWPPBPRFUcjs.DropdownMenuTrigger, { asChild: true, ref: triggerRef, children: _nullishCoalesce(customTrigger, () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
5313
5308
|
_chunk7INXXQVKcjs.Button,
|
|
5314
5309
|
{
|
|
5315
5310
|
variant: "outline",
|
|
@@ -5320,7 +5315,7 @@ var ActionsMenuDropdown = ({
|
|
|
5320
5315
|
}
|
|
5321
5316
|
))) }),
|
|
5322
5317
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
5323
|
-
|
|
5318
|
+
_chunkWPPBPRFUcjs.DropdownMenuContent,
|
|
5324
5319
|
{
|
|
5325
5320
|
align,
|
|
5326
5321
|
side,
|
|
@@ -5366,7 +5361,7 @@ var TooltipProvider = TooltipPrimitive.Provider;
|
|
|
5366
5361
|
var Tooltip = TooltipPrimitive.Root;
|
|
5367
5362
|
var TooltipTrigger = TooltipPrimitive.Trigger;
|
|
5368
5363
|
var TooltipContent = React10.forwardRef(({ className, sideOffset = 4, ...props }, ref) => {
|
|
5369
|
-
const container =
|
|
5364
|
+
const container = _chunkWPPBPRFUcjs.usePortalContainer.call(void 0, );
|
|
5370
5365
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TooltipPrimitive.Portal, { container: _nullishCoalesce(container, () => ( void 0)), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
5371
5366
|
TooltipPrimitive.Content,
|
|
5372
5367
|
{
|
|
@@ -5609,12 +5604,12 @@ function MspOrganizationCardSkeleton({ className }) {
|
|
|
5609
5604
|
className
|
|
5610
5605
|
),
|
|
5611
5606
|
children: [
|
|
5612
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
5607
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWPPBPRFUcjs.Skeleton, { className: "size-12 shrink-0 rounded-md" }),
|
|
5613
5608
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col justify-center gap-2 self-stretch", children: [
|
|
5614
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
5615
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
5609
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWPPBPRFUcjs.Skeleton, { className: "h-5 w-3/5 rounded-md" }),
|
|
5610
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWPPBPRFUcjs.Skeleton, { className: "h-4 w-2/5 rounded-md" })
|
|
5616
5611
|
] }),
|
|
5617
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
5612
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWPPBPRFUcjs.Skeleton, { className: "size-12 shrink-0 rounded-md" })
|
|
5618
5613
|
]
|
|
5619
5614
|
}
|
|
5620
5615
|
);
|
|
@@ -5701,10 +5696,10 @@ var ChatHeader = React11.forwardRef(
|
|
|
5701
5696
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: cardClasses, children: [
|
|
5702
5697
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center justify-between gap-4 px-4 py-3", children: [
|
|
5703
5698
|
isLoading ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3", children: [
|
|
5704
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
5699
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWPPBPRFUcjs.Skeleton, { className: "w-16 h-16 rounded-full shrink-0" }),
|
|
5705
5700
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-1", children: [
|
|
5706
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
5707
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
5701
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWPPBPRFUcjs.Skeleton, { className: "h-6 w-40" }),
|
|
5702
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWPPBPRFUcjs.Skeleton, { className: "h-4 w-28" })
|
|
5708
5703
|
] })
|
|
5709
5704
|
] }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3", children: [
|
|
5710
5705
|
userIcon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-center justify-center w-16 h-16 rounded-full bg-ods-accent", children: userIcon }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -7443,7 +7438,7 @@ function ContextItemsSkeleton({ count }) {
|
|
|
7443
7438
|
"div",
|
|
7444
7439
|
{
|
|
7445
7440
|
className: "flex items-center border-b border-ods-border bg-ods-bg py-3 pl-4 pr-2 last:border-b-0",
|
|
7446
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7441
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWPPBPRFUcjs.Skeleton, { className: "h-5 w-1/2" })
|
|
7447
7442
|
},
|
|
7448
7443
|
`ctx-skeleton-${i}`
|
|
7449
7444
|
)) });
|
|
@@ -7911,7 +7906,7 @@ var ChatMessageEnhanced = _react.forwardRef.call(void 0,
|
|
|
7911
7906
|
cache.set(key, entry);
|
|
7912
7907
|
}
|
|
7913
7908
|
const rendered = entry.node;
|
|
7914
|
-
if (
|
|
7909
|
+
if (React127.default.isValidElement(rendered) && rendered.type === BlockCard) {
|
|
7915
7910
|
const props2 = rendered.props;
|
|
7916
7911
|
const markerEnd = match2.index + match2[0].length;
|
|
7917
7912
|
parts.push({ kind: "text", text: text.slice(cursor, markerEnd) });
|
|
@@ -9831,11 +9826,11 @@ var ChatTicketItem = React20.forwardRef(
|
|
|
9831
9826
|
),
|
|
9832
9827
|
children: [
|
|
9833
9828
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col justify-center flex-1 min-w-0 gap-1", children: [
|
|
9834
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9835
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9829
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWPPBPRFUcjs.Skeleton, { className: "h-5 w-1/2" }),
|
|
9830
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWPPBPRFUcjs.Skeleton, { className: "h-4 w-1/3" })
|
|
9836
9831
|
] }),
|
|
9837
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9838
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9832
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWPPBPRFUcjs.Skeleton, { className: "h-8 w-20 rounded-r-md shrink-0" }),
|
|
9833
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWPPBPRFUcjs.Skeleton, { className: "size-12 rounded-md shrink-0" })
|
|
9839
9834
|
]
|
|
9840
9835
|
}
|
|
9841
9836
|
);
|
|
@@ -9966,16 +9961,16 @@ function MingoOnboardingCardSkeleton({
|
|
|
9966
9961
|
),
|
|
9967
9962
|
children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-xxs)] w-full", children: [
|
|
9968
9963
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xxs)] w-full", children: [
|
|
9969
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9970
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9964
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWPPBPRFUcjs.Skeleton, { className: "size-4 shrink-0 rounded-sm" }),
|
|
9965
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWPPBPRFUcjs.Skeleton, { className: _chunkKI4EGKNVcjs.cn.call(void 0, "h-3.5 rounded-sm", titleWidth) }),
|
|
9971
9966
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex-1" }),
|
|
9972
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9967
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWPPBPRFUcjs.Skeleton, { className: _chunkKI4EGKNVcjs.cn.call(void 0, "h-3.5 rounded-sm shrink-0", slashWidth) })
|
|
9973
9968
|
] }),
|
|
9974
9969
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-xxs)]", children: [
|
|
9975
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9976
|
-
descriptionLines === 2 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9970
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWPPBPRFUcjs.Skeleton, { className: "h-3.5 w-full rounded-sm" }),
|
|
9971
|
+
descriptionLines === 2 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWPPBPRFUcjs.Skeleton, { className: "h-3.5 w-[70%] rounded-sm" }) : null
|
|
9977
9972
|
] }),
|
|
9978
|
-
hasChips ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex flex-wrap items-center gap-[var(--spacing-system-xxs)] mt-[var(--spacing-system-xs)]", children: chipWidths.map((w, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9973
|
+
hasChips ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex flex-wrap items-center gap-[var(--spacing-system-xxs)] mt-[var(--spacing-system-xs)]", children: chipWidths.map((w, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWPPBPRFUcjs.Skeleton, { className: _chunkKI4EGKNVcjs.cn.call(void 0, "h-7 rounded-md", w) }, i)) }) : null
|
|
9979
9974
|
] })
|
|
9980
9975
|
}
|
|
9981
9976
|
);
|
|
@@ -10597,7 +10592,7 @@ function GuideWelcome({
|
|
|
10597
10592
|
),
|
|
10598
10593
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col gap-[var(--spacing-system-l)]", children: [
|
|
10599
10594
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-h2 text-ods-text-primary", children: title }),
|
|
10600
|
-
subtitle ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-h4 text-ods-text-secondary", children: subtitle }) : subtitleLoading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex w-full justify-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10595
|
+
subtitle ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-h4 text-ods-text-secondary", children: subtitle }) : subtitleLoading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex w-full justify-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWPPBPRFUcjs.Skeleton, { className: "h-5 w-3/4 max-w-80 rounded-sm" }) }) : null
|
|
10601
10596
|
] })
|
|
10602
10597
|
] }),
|
|
10603
10598
|
children
|
|
@@ -10695,7 +10690,10 @@ function TabSelector({
|
|
|
10695
10690
|
className: _chunkKI4EGKNVcjs.cn.call(void 0, "flex flex-col gap-[var(--spacing-system-xxs)]", disabled && "opacity-50", className),
|
|
10696
10691
|
"aria-disabled": disabled || void 0,
|
|
10697
10692
|
children: [
|
|
10698
|
-
label &&
|
|
10693
|
+
label && // Label for family/color; "large" (text-h4) is this component's
|
|
10694
|
+
// long-standing label scale — neighbours opt into the same scale via
|
|
10695
|
+
// their `labelVariant="large"` when a design puts them side by side.
|
|
10696
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWPPBPRFUcjs.Label, { variant: "large", children: label }),
|
|
10699
10697
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10700
10698
|
"div",
|
|
10701
10699
|
{
|
|
@@ -11950,7 +11948,7 @@ var formatTokenCount = (count) => {
|
|
|
11950
11948
|
return String(count);
|
|
11951
11949
|
};
|
|
11952
11950
|
var hasAnyBreakdownRow = (breakdown) => !!breakdown && !!(breakdown.haikuRewriter || breakdown.haikuClassifier || breakdown.haikuSummarizer);
|
|
11953
|
-
var ModelDisplay =
|
|
11951
|
+
var ModelDisplay = React127.default.forwardRef(
|
|
11954
11952
|
({
|
|
11955
11953
|
className,
|
|
11956
11954
|
provider,
|
|
@@ -12072,7 +12070,7 @@ function BreakdownRow({
|
|
|
12072
12070
|
] });
|
|
12073
12071
|
}
|
|
12074
12072
|
ModelDisplay.displayName = "ModelDisplay";
|
|
12075
|
-
var ModelDisplaySkeleton =
|
|
12073
|
+
var ModelDisplaySkeleton = React127.default.forwardRef(
|
|
12076
12074
|
({ className, showTokens = false, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
12077
12075
|
"div",
|
|
12078
12076
|
{
|
|
@@ -12081,9 +12079,9 @@ var ModelDisplaySkeleton = React128.default.forwardRef(
|
|
|
12081
12079
|
className: _chunkKI4EGKNVcjs.cn.call(void 0, "flex items-center gap-1 text-h6", className),
|
|
12082
12080
|
...props,
|
|
12083
12081
|
children: [
|
|
12084
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12085
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12086
|
-
showTokens && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12082
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWPPBPRFUcjs.Skeleton, { className: "w-4 h-5 rounded-sm shrink-0" }),
|
|
12083
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWPPBPRFUcjs.Skeleton, { className: "h-5 w-24" }),
|
|
12084
|
+
showTokens && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWPPBPRFUcjs.Skeleton, { className: "h-3 w-32 ml-auto" })
|
|
12087
12085
|
]
|
|
12088
12086
|
}
|
|
12089
12087
|
)
|
|
@@ -13701,7 +13699,7 @@ function VideoUnmuteGlyph({ size: size2 = "md", className }) {
|
|
|
13701
13699
|
|
|
13702
13700
|
// src/utils/fetch-priority.ts
|
|
13703
13701
|
|
|
13704
|
-
var REACT_MAJOR = parseInt((
|
|
13702
|
+
var REACT_MAJOR = parseInt((React127.default.version || "0").split(".")[0], 10);
|
|
13705
13703
|
var USE_CAMEL_CASE_FETCH_PRIORITY = REACT_MAJOR >= 19;
|
|
13706
13704
|
function fetchPriorityProp(priority) {
|
|
13707
13705
|
const value = priority === void 0 ? "auto" : typeof priority === "boolean" ? priority ? "high" : "low" : priority;
|
|
@@ -14890,7 +14888,7 @@ function ManagedCell({
|
|
|
14890
14888
|
cardWidthMobile,
|
|
14891
14889
|
cardWidthDesktop
|
|
14892
14890
|
}) {
|
|
14893
|
-
const hintedWidth =
|
|
14891
|
+
const hintedWidth = React127.default.isValidElement(item) ? item.props["data-strip-cell-width"] : void 0;
|
|
14894
14892
|
const desktopWidth = typeof hintedWidth === "number" ? hintedWidth : cardWidthDesktop;
|
|
14895
14893
|
const cloneRef = _chunkNK3M6F5Acjs.useSuppressCloneFocus.call(void 0, ctx.isClone);
|
|
14896
14894
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -14934,7 +14932,7 @@ function CardsStrip(props) {
|
|
|
14934
14932
|
} = props;
|
|
14935
14933
|
const childrenMode = props.renderCard === void 0;
|
|
14936
14934
|
const childItems = _react.useMemo.call(void 0,
|
|
14937
|
-
() => childrenMode ?
|
|
14935
|
+
() => childrenMode ? React127.default.Children.toArray(props.children) : EMPTY_CHILDREN,
|
|
14938
14936
|
[childrenMode, props.children]
|
|
14939
14937
|
);
|
|
14940
14938
|
const items = childrenMode ? childItems : props.items;
|
|
@@ -14943,7 +14941,7 @@ function CardsStrip(props) {
|
|
|
14943
14941
|
_react.useEffect.call(void 0, () => {
|
|
14944
14942
|
if (process.env.NODE_ENV === "production" || !childrenMode) return;
|
|
14945
14943
|
const only = childItems.length === 1 ? childItems[0] : null;
|
|
14946
|
-
if (
|
|
14944
|
+
if (React127.default.isValidElement(only) && only.type === React127.default.Fragment) {
|
|
14947
14945
|
console.warn(
|
|
14948
14946
|
"[CardsStrip] A single <Fragment> child becomes ONE giant cell \u2014 pass an array of card elements ({rows.map(...)}) instead."
|
|
14949
14947
|
);
|
|
@@ -14953,7 +14951,7 @@ function CardsStrip(props) {
|
|
|
14953
14951
|
if (!childrenMode) {
|
|
14954
14952
|
return props.itemKey(item, index);
|
|
14955
14953
|
}
|
|
14956
|
-
return
|
|
14954
|
+
return React127.default.isValidElement(item) && item.key != null ? String(item.key) : String(index);
|
|
14957
14955
|
};
|
|
14958
14956
|
const wrapperRef = _react.useRef.call(void 0, null);
|
|
14959
14957
|
const scrollerRef = _react.useRef.call(void 0, null);
|
|
@@ -15229,7 +15227,7 @@ function CardsStrip(props) {
|
|
|
15229
15227
|
// ctx.isClone) and the managed cell's job in children mode.
|
|
15230
15228
|
// The engine itself adds no wrapper here in render-prop mode
|
|
15231
15229
|
// so the card root stays the track's direct child.
|
|
15232
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15230
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, React127.default.Fragment, { children: renderItem(item, {
|
|
15233
15231
|
index: i,
|
|
15234
15232
|
cardKey: key,
|
|
15235
15233
|
isClone,
|
|
@@ -15691,7 +15689,7 @@ function ChatVideoEntityCard({
|
|
|
15691
15689
|
_chunkKI4EGKNVcjs.init_cn.call(void 0, );
|
|
15692
15690
|
|
|
15693
15691
|
|
|
15694
|
-
var InteractiveCard =
|
|
15692
|
+
var InteractiveCard = React127.default.forwardRef(
|
|
15695
15693
|
({
|
|
15696
15694
|
children,
|
|
15697
15695
|
onClick,
|
|
@@ -17368,10 +17366,10 @@ var AllowedDomainsInput = React44.forwardRef(
|
|
|
17368
17366
|
}
|
|
17369
17367
|
};
|
|
17370
17368
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { ref, className: _chunkKI4EGKNVcjs.cn.call(void 0, "space-y-3", className), children: [
|
|
17371
|
-
label && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17369
|
+
label && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWPPBPRFUcjs.Label, { children: label }),
|
|
17372
17370
|
value.map((domain, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
|
|
17373
17371
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17374
|
-
|
|
17372
|
+
_chunkWPPBPRFUcjs.Input,
|
|
17375
17373
|
{
|
|
17376
17374
|
value: domain,
|
|
17377
17375
|
disabled: true,
|
|
@@ -17392,7 +17390,7 @@ var AllowedDomainsInput = React44.forwardRef(
|
|
|
17392
17390
|
)
|
|
17393
17391
|
] }, index)),
|
|
17394
17392
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-center gap-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17395
|
-
|
|
17393
|
+
_chunkWPPBPRFUcjs.Input,
|
|
17396
17394
|
{
|
|
17397
17395
|
ref: inputRef,
|
|
17398
17396
|
value: inputValue,
|
|
@@ -17623,6 +17621,7 @@ function AutocompleteInner(props, ref) {
|
|
|
17623
17621
|
dropdownClassName,
|
|
17624
17622
|
freeSolo = false,
|
|
17625
17623
|
label,
|
|
17624
|
+
labelVariant,
|
|
17626
17625
|
error,
|
|
17627
17626
|
filterOptions,
|
|
17628
17627
|
renderOption,
|
|
@@ -18058,7 +18057,7 @@ function AutocompleteInner(props, ref) {
|
|
|
18058
18057
|
}
|
|
18059
18058
|
)
|
|
18060
18059
|
] });
|
|
18061
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18060
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWPPBPRFUcjs.FieldWrapper, { label, labelVariant, error, className, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative", ref: containerRef, children: [
|
|
18062
18061
|
popover,
|
|
18063
18062
|
multiple && showHiddenTags && hiddenTagsCount > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18064
18063
|
HiddenTagsPopup,
|
|
@@ -18243,7 +18242,7 @@ var CheckboxWithDescription = React46.forwardRef(({ id, checked, onCheckedChange
|
|
|
18243
18242
|
),
|
|
18244
18243
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-1", children: [
|
|
18245
18244
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18246
|
-
|
|
18245
|
+
_chunkWPPBPRFUcjs.Label,
|
|
18247
18246
|
{
|
|
18248
18247
|
htmlFor: id,
|
|
18249
18248
|
spacing: "tight",
|
|
@@ -18280,7 +18279,7 @@ _chunkKI4EGKNVcjs.init_cn.call(void 0, );
|
|
|
18280
18279
|
var Select = SelectPrimitive.Root;
|
|
18281
18280
|
var SelectGroup = SelectPrimitive.Group;
|
|
18282
18281
|
var SelectValue = SelectPrimitive.Value;
|
|
18283
|
-
var SelectTrigger = React47.forwardRef(({ className, children, invalid, label, error, ...props }, ref) => {
|
|
18282
|
+
var SelectTrigger = React47.forwardRef(({ className, children, invalid, label, labelVariant, error, ...props }, ref) => {
|
|
18284
18283
|
const isInvalid = invalid || !!error;
|
|
18285
18284
|
const trigger = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
18286
18285
|
SelectPrimitive.Trigger,
|
|
@@ -18323,7 +18322,7 @@ var SelectTrigger = React47.forwardRef(({ className, children, invalid, label, e
|
|
|
18323
18322
|
]
|
|
18324
18323
|
}
|
|
18325
18324
|
);
|
|
18326
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18325
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWPPBPRFUcjs.FieldWrapper, { label, labelVariant, error, children: trigger });
|
|
18327
18326
|
});
|
|
18328
18327
|
SelectTrigger.displayName = SelectPrimitive.Trigger.displayName;
|
|
18329
18328
|
var SelectScrollUpButton = React47.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -18915,7 +18914,7 @@ function DatePicker(props) {
|
|
|
18915
18914
|
}
|
|
18916
18915
|
) })
|
|
18917
18916
|
] });
|
|
18918
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18917
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWPPBPRFUcjs.FieldWrapper, { label, error, children: picker });
|
|
18919
18918
|
}
|
|
18920
18919
|
var generateHourOptions = (use24Hour) => {
|
|
18921
18920
|
if (use24Hour) {
|
|
@@ -19099,7 +19098,7 @@ function DatePickerInput({
|
|
|
19099
19098
|
)
|
|
19100
19099
|
] })
|
|
19101
19100
|
] });
|
|
19102
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19101
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWPPBPRFUcjs.FieldWrapper, { label, error, className, children: content });
|
|
19103
19102
|
}
|
|
19104
19103
|
var generateTimeOptions = (intervalMinutes, use24Hour) => {
|
|
19105
19104
|
const options = [];
|
|
@@ -19242,7 +19241,7 @@ function DatePickerInputSimple({
|
|
|
19242
19241
|
}
|
|
19243
19242
|
)
|
|
19244
19243
|
] });
|
|
19245
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19244
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWPPBPRFUcjs.FieldWrapper, { label, error, className, children: content });
|
|
19246
19245
|
}
|
|
19247
19246
|
function DateFilterPanel({
|
|
19248
19247
|
mode = "range",
|
|
@@ -19578,7 +19577,7 @@ function Field({ label, hint, required, children, error, labelExtras, labelEnd }
|
|
|
19578
19577
|
};
|
|
19579
19578
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-xxs)]", children: [
|
|
19580
19579
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-1.5", children: [
|
|
19581
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
19580
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkWPPBPRFUcjs.Label, { htmlFor: controlId, children: [
|
|
19582
19581
|
label,
|
|
19583
19582
|
required && " *"
|
|
19584
19583
|
] }),
|
|
@@ -19764,7 +19763,7 @@ function InfoCard({ data, className = "" }) {
|
|
|
19764
19763
|
(data.items.length > 0 || data.progress) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-xs)] items-start self-stretch w-full", children: [
|
|
19765
19764
|
data.items.map((item, index) => {
|
|
19766
19765
|
const values = Array.isArray(item.value) ? item.value : [item.value];
|
|
19767
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19766
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, React127.default.Fragment, { children: values.map((val, valIndex) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19768
19767
|
InfoCardValueRow,
|
|
19769
19768
|
{
|
|
19770
19769
|
label: item.label,
|
|
@@ -19983,7 +19982,7 @@ function SearchableSelect({
|
|
|
19983
19982
|
),
|
|
19984
19983
|
children: [
|
|
19985
19984
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "shrink-0 border-b border-ods-border", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19986
|
-
|
|
19985
|
+
_chunkWPPBPRFUcjs.Input,
|
|
19987
19986
|
{
|
|
19988
19987
|
autoFocus: true,
|
|
19989
19988
|
value: search,
|
|
@@ -20419,7 +20418,7 @@ var noDataActionsVariants = _classvarianceauthority.cva.call(void 0, "overflow-h
|
|
|
20419
20418
|
|
|
20420
20419
|
// src/components/ui/no-data/no-data-message.tsx
|
|
20421
20420
|
|
|
20422
|
-
var NoDataMessage =
|
|
20421
|
+
var NoDataMessage = React127.default.forwardRef(
|
|
20423
20422
|
function NoDataMessage2({ icon, title, description, className, ...props }, ref) {
|
|
20424
20423
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
20425
20424
|
"div",
|
|
@@ -20446,7 +20445,7 @@ var NoDataMessage = React128.default.forwardRef(
|
|
|
20446
20445
|
_chunkKI4EGKNVcjs.init_cn.call(void 0, );
|
|
20447
20446
|
|
|
20448
20447
|
|
|
20449
|
-
var NoDataAction =
|
|
20448
|
+
var NoDataAction = React127.default.forwardRef(
|
|
20450
20449
|
function NoDataAction2({ icon, label, children, className, ...props }, ref) {
|
|
20451
20450
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
20452
20451
|
"div",
|
|
@@ -20466,16 +20465,16 @@ var NoDataAction = React128.default.forwardRef(
|
|
|
20466
20465
|
);
|
|
20467
20466
|
}
|
|
20468
20467
|
);
|
|
20469
|
-
var NoDataActions =
|
|
20468
|
+
var NoDataActions = React127.default.forwardRef(
|
|
20470
20469
|
function NoDataActions2({ actions, variant = "outline", className, children, ...props }, ref) {
|
|
20471
|
-
const blocks = actions ? actions.map((action, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, NoDataAction, { ...action }, index)) :
|
|
20470
|
+
const blocks = actions ? actions.map((action, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, NoDataAction, { ...action }, index)) : React127.default.Children.toArray(children);
|
|
20472
20471
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20473
20472
|
"div",
|
|
20474
20473
|
{
|
|
20475
20474
|
ref,
|
|
20476
20475
|
className: _chunkKI4EGKNVcjs.cn.call(void 0, noDataActionsVariants({ variant }), "flex w-full flex-col md:w-auto md:flex-row", className),
|
|
20477
20476
|
...props,
|
|
20478
|
-
children: blocks.map((block, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
20477
|
+
children: blocks.map((block, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, React127.default.Fragment, { children: [
|
|
20479
20478
|
index > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20480
20479
|
"div",
|
|
20481
20480
|
{
|
|
@@ -20492,7 +20491,7 @@ var NoDataActions = React128.default.forwardRef(
|
|
|
20492
20491
|
|
|
20493
20492
|
// src/components/ui/no-data/no-data.tsx
|
|
20494
20493
|
|
|
20495
|
-
var NoData =
|
|
20494
|
+
var NoData = React127.default.forwardRef(function NoData2({
|
|
20496
20495
|
icon,
|
|
20497
20496
|
title,
|
|
20498
20497
|
description,
|
|
@@ -20884,7 +20883,7 @@ function TagSelectDropdown({
|
|
|
20884
20883
|
),
|
|
20885
20884
|
children: [
|
|
20886
20885
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "shrink-0 border-b border-ods-border", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20887
|
-
|
|
20886
|
+
_chunkWPPBPRFUcjs.Input,
|
|
20888
20887
|
{
|
|
20889
20888
|
autoFocus: true,
|
|
20890
20889
|
value: search,
|
|
@@ -21057,10 +21056,10 @@ function TagsInput({
|
|
|
21057
21056
|
}
|
|
21058
21057
|
};
|
|
21059
21058
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkKI4EGKNVcjs.cn.call(void 0, "space-y-2", className), children: [
|
|
21060
|
-
label && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21059
|
+
label && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWPPBPRFUcjs.Label, { children: label }),
|
|
21061
21060
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
|
|
21062
21061
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21063
|
-
|
|
21062
|
+
_chunkWPPBPRFUcjs.Input,
|
|
21064
21063
|
{
|
|
21065
21064
|
value: inputValue,
|
|
21066
21065
|
onChange: (e) => setInputValue(e.target.value),
|
|
@@ -21206,7 +21205,7 @@ function TagsManager({
|
|
|
21206
21205
|
},
|
|
21207
21206
|
[onChange]
|
|
21208
21207
|
);
|
|
21209
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21208
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWPPBPRFUcjs.FieldWrapper, { label, className, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "relative", ref: containerRef, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, PopoverPrimitive4.Root, { open, onOpenChange: setOpen, children: [
|
|
21210
21209
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, PopoverPrimitive4.Anchor, { asChild: true, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
21211
21210
|
"label",
|
|
21212
21211
|
{
|
|
@@ -21322,7 +21321,7 @@ function TagsManager({
|
|
|
21322
21321
|
className: "flex items-center gap-1 px-2 py-1 border-b border-ods-border last:border-b-0",
|
|
21323
21322
|
children: [
|
|
21324
21323
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21325
|
-
|
|
21324
|
+
_chunkWPPBPRFUcjs.Input,
|
|
21326
21325
|
{
|
|
21327
21326
|
ref: editInputRef,
|
|
21328
21327
|
value: editingName,
|
|
@@ -21502,7 +21501,7 @@ var Textarea = React65.forwardRef(
|
|
|
21502
21501
|
const reactId = React65.useId();
|
|
21503
21502
|
const fieldId = _nullishCoalesce(props.id, () => ( reactId));
|
|
21504
21503
|
if (!hasAdornment) {
|
|
21505
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21504
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWPPBPRFUcjs.FieldWrapper, { label, error, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21506
21505
|
"textarea",
|
|
21507
21506
|
{
|
|
21508
21507
|
className: _chunkKI4EGKNVcjs.cn.call(void 0,
|
|
@@ -21631,7 +21630,7 @@ var Textarea = React65.forwardRef(
|
|
|
21631
21630
|
]
|
|
21632
21631
|
}
|
|
21633
21632
|
);
|
|
21634
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21633
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWPPBPRFUcjs.FieldWrapper, { label, error, children: content });
|
|
21635
21634
|
}
|
|
21636
21635
|
);
|
|
21637
21636
|
Textarea.displayName = "Textarea";
|
|
@@ -22070,8 +22069,8 @@ function AdminFormModal({
|
|
|
22070
22069
|
children: [
|
|
22071
22070
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "sr-only", children: "Loading\u2026" }),
|
|
22072
22071
|
Array.from({ length: skeletonColumns }, (_, col) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-[var(--spacing-system-lf)]", "aria-hidden": "true", children: SKELETON_FIELD_WIDTHS.map((labelWidth, i) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-[var(--spacing-system-xsf)]", children: [
|
|
22073
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22074
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22072
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWPPBPRFUcjs.Skeleton, { className: `h-4 ${labelWidth}` }),
|
|
22073
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWPPBPRFUcjs.Skeleton, { className: "h-10 w-full" })
|
|
22075
22074
|
] }, i)) }, col))
|
|
22076
22075
|
]
|
|
22077
22076
|
}
|
|
@@ -24887,9 +24886,6 @@ function toClaudeEmbedUrl(url) {
|
|
|
24887
24886
|
|
|
24888
24887
|
// src/components/embeds/embed-viewer-frame.tsx
|
|
24889
24888
|
_chunkKI4EGKNVcjs.init_cn.call(void 0, );
|
|
24890
|
-
_chunk7INXXQVKcjs.init_button.call(void 0, );
|
|
24891
|
-
|
|
24892
|
-
|
|
24893
24889
|
|
|
24894
24890
|
// src/components/embeds/embed-iframe.tsx
|
|
24895
24891
|
|
|
@@ -24975,97 +24971,47 @@ function EmbedViewerFrame({
|
|
|
24975
24971
|
allowFullScreen,
|
|
24976
24972
|
loading,
|
|
24977
24973
|
sandbox,
|
|
24978
|
-
className
|
|
24979
|
-
fullscreenControl
|
|
24974
|
+
className
|
|
24980
24975
|
}) {
|
|
24981
|
-
|
|
24982
|
-
|
|
24983
|
-
|
|
24984
|
-
|
|
24985
|
-
|
|
24986
|
-
|
|
24987
|
-
|
|
24988
|
-
|
|
24989
|
-
|
|
24990
|
-
|
|
24991
|
-
|
|
24992
|
-
|
|
24993
|
-
|
|
24994
|
-
|
|
24995
|
-
|
|
24996
|
-
|
|
24997
|
-
|
|
24998
|
-
|
|
24976
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkKI4EGKNVcjs.cn.call(void 0, "space-y-4", className), children: [
|
|
24977
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-3 sm:flex-row sm:items-center sm:justify-between", children: [
|
|
24978
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2 min-w-0", children: [
|
|
24979
|
+
icon,
|
|
24980
|
+
titleVariant === "h3" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: "text-h3 text-ods-text-primary truncate", children: title }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-h6 font-semibold text-ods-text-primary truncate", children: title })
|
|
24981
|
+
] }),
|
|
24982
|
+
actions
|
|
24983
|
+
] }),
|
|
24984
|
+
src ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24985
|
+
EmbedIframe,
|
|
24986
|
+
{
|
|
24987
|
+
src,
|
|
24988
|
+
title,
|
|
24989
|
+
height,
|
|
24990
|
+
allow,
|
|
24991
|
+
allowFullScreen,
|
|
24992
|
+
loading,
|
|
24993
|
+
sandbox
|
|
24999
24994
|
}
|
|
25000
|
-
|
|
25001
|
-
|
|
25002
|
-
|
|
25003
|
-
|
|
25004
|
-
|
|
25005
|
-
|
|
25006
|
-
|
|
25007
|
-
|
|
25008
|
-
"
|
|
25009
|
-
|
|
25010
|
-
|
|
25011
|
-
|
|
25012
|
-
|
|
25013
|
-
|
|
25014
|
-
|
|
25015
|
-
|
|
25016
|
-
|
|
25017
|
-
|
|
25018
|
-
|
|
25019
|
-
|
|
25020
|
-
fullscreenControl && src ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-xsf)] sm:flex-row sm:items-center", children: [
|
|
25021
|
-
actions,
|
|
25022
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25023
|
-
_chunk7INXXQVKcjs.Button,
|
|
25024
|
-
{
|
|
25025
|
-
variant: "outline",
|
|
25026
|
-
size: "small-legacy",
|
|
25027
|
-
onClick: toggleFullscreen,
|
|
25028
|
-
"aria-label": isFullscreen ? "Exit fullscreen" : "Enter fullscreen",
|
|
25029
|
-
leftIcon: isFullscreen ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Minimize2, { className: "w-4 h-4" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Maximize2, { className: "w-4 h-4" }),
|
|
25030
|
-
className: "w-full sm:w-auto",
|
|
25031
|
-
children: isFullscreen ? "Exit fullscreen" : "Fullscreen"
|
|
25032
|
-
}
|
|
25033
|
-
)
|
|
25034
|
-
] }) : actions
|
|
25035
|
-
] }),
|
|
25036
|
-
src ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25037
|
-
EmbedIframe,
|
|
25038
|
-
{
|
|
25039
|
-
src,
|
|
25040
|
-
title,
|
|
25041
|
-
height: isFullscreen ? "calc(100vh - 96px)" : height,
|
|
25042
|
-
allow,
|
|
25043
|
-
allowFullScreen,
|
|
25044
|
-
loading,
|
|
25045
|
-
sandbox
|
|
25046
|
-
}
|
|
25047
|
-
) : (
|
|
25048
|
-
// The SAME box the iframe would have filled: same height, same rounded
|
|
25049
|
-
// border. A viewer whose content is missing must not collapse the page
|
|
25050
|
-
// around it — two embeds side by side (a figma frame and a claude link
|
|
25051
|
-
// that has no embeddable view) have to read as two equal blocks.
|
|
25052
|
-
// Without a `height` the caller never asked for a fixed box, so the
|
|
25053
|
-
// intrinsic `py-16` stands.
|
|
25054
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
25055
|
-
"div",
|
|
25056
|
-
{
|
|
25057
|
-
className: "flex flex-col items-center justify-center rounded-lg border border-ods-border px-4 py-16 text-center",
|
|
25058
|
-
style: height ? { height } : void 0,
|
|
25059
|
-
children: [
|
|
25060
|
-
emptyIcon,
|
|
25061
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary", children: emptyMessage })
|
|
25062
|
-
]
|
|
25063
|
-
}
|
|
25064
|
-
)
|
|
25065
|
-
)
|
|
25066
|
-
]
|
|
25067
|
-
}
|
|
25068
|
-
);
|
|
24995
|
+
) : (
|
|
24996
|
+
// The SAME box the iframe would have filled: same height, same rounded
|
|
24997
|
+
// border. A viewer whose content is missing must not collapse the page
|
|
24998
|
+
// around it — two embeds side by side (a figma frame and a claude link
|
|
24999
|
+
// that has no embeddable view) have to read as two equal blocks.
|
|
25000
|
+
// Without a `height` the caller never asked for a fixed box, so the
|
|
25001
|
+
// intrinsic `py-16` stands.
|
|
25002
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
25003
|
+
"div",
|
|
25004
|
+
{
|
|
25005
|
+
className: "flex flex-col items-center justify-center rounded-lg border border-ods-border px-4 py-16 text-center",
|
|
25006
|
+
style: height ? { height } : void 0,
|
|
25007
|
+
children: [
|
|
25008
|
+
emptyIcon,
|
|
25009
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary", children: emptyMessage })
|
|
25010
|
+
]
|
|
25011
|
+
}
|
|
25012
|
+
)
|
|
25013
|
+
)
|
|
25014
|
+
] });
|
|
25069
25015
|
}
|
|
25070
25016
|
|
|
25071
25017
|
// src/components/embeds/figma-embed.tsx
|
|
@@ -25119,7 +25065,7 @@ function FigmaEmbed({ url, title, height, loading = "lazy" }) {
|
|
|
25119
25065
|
const okHost = host === "figma.com" || host.endsWith(".figma.com");
|
|
25120
25066
|
const okProtocol = parsed.protocol === "https:" || parsed.protocol === "http:";
|
|
25121
25067
|
return okHost && okProtocol ? parsed.toString() : null;
|
|
25122
|
-
} catch (
|
|
25068
|
+
} catch (e53) {
|
|
25123
25069
|
return null;
|
|
25124
25070
|
}
|
|
25125
25071
|
})();
|
|
@@ -25166,9 +25112,8 @@ var KIND_HEADING = {
|
|
|
25166
25112
|
artifact: "Claude Artifact",
|
|
25167
25113
|
design: "Claude Design"
|
|
25168
25114
|
};
|
|
25169
|
-
function ClaudeEmbed({ url, kind = "artifact", title, height, loading = "lazy"
|
|
25170
|
-
const
|
|
25171
|
-
const embedUrl = _nullishCoalesce(mirrorSrc, () => ( toClaudeEmbedUrl(url)));
|
|
25115
|
+
function ClaudeEmbed({ url, kind = "artifact", title, height, loading = "lazy" }) {
|
|
25116
|
+
const embedUrl = toClaudeEmbedUrl(url);
|
|
25172
25117
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25173
25118
|
EmbedViewerFrame,
|
|
25174
25119
|
{
|
|
@@ -25190,11 +25135,10 @@ function ClaudeEmbed({ url, kind = "artifact", title, height, loading = "lazy",
|
|
|
25190
25135
|
}
|
|
25191
25136
|
),
|
|
25192
25137
|
src: embedUrl,
|
|
25193
|
-
fullscreenControl: true,
|
|
25194
25138
|
loading,
|
|
25195
25139
|
height,
|
|
25196
25140
|
allow: "clipboard-write; clipboard-read; fullscreen",
|
|
25197
|
-
sandbox:
|
|
25141
|
+
sandbox: "allow-scripts allow-same-origin allow-popups allow-forms",
|
|
25198
25142
|
allowFullScreen: true,
|
|
25199
25143
|
emptyIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3M2MFP2Ycjs.ClaudeIcon, { className: "w-16 h-16 mb-4" }),
|
|
25200
25144
|
emptyMessage: "Open this one in Claude \xB7 it has no embeddable view"
|
|
@@ -25360,7 +25304,6 @@ function buildRichEmbedOverrides({
|
|
|
25360
25304
|
url: props["data-url"],
|
|
25361
25305
|
kind: props["data-kind"] === "design" ? "design" : "artifact",
|
|
25362
25306
|
title: props["data-title"],
|
|
25363
|
-
srcOverride: props["data-embed-src"],
|
|
25364
25307
|
height: "70vh"
|
|
25365
25308
|
}
|
|
25366
25309
|
);
|
|
@@ -25461,17 +25404,11 @@ var processShortcodes = (content) => {
|
|
|
25461
25404
|
<div class="figma-embed" data-figma-url="${escapeAttr(url.trim())}"></div>
|
|
25462
25405
|
|
|
25463
25406
|
`;
|
|
25464
|
-
}).replace(/\{\{claude-(artifact|design):([
|
|
25465
|
-
const
|
|
25466
|
-
const url = parts[0];
|
|
25467
|
-
const last = parts.length > 1 ? parts[parts.length - 1].trim() : "";
|
|
25468
|
-
const embedSrc = /^\/(?!\/)/.test(last) ? parts.pop().trim() : "";
|
|
25469
|
-
const title = parts.slice(1).join("|").trim();
|
|
25470
|
-
const titleAttr = title ? ` data-title="${escapeAttr(title)}"` : "";
|
|
25471
|
-
const embedSrcAttr = embedSrc ? ` data-embed-src="${escapeAttr(embedSrc)}"` : "";
|
|
25407
|
+
}).replace(/\{\{claude-(artifact|design):([^|}]+)(?:\|([^}]*))?\}\}/g, (match2, kind, url, title) => {
|
|
25408
|
+
const titleAttr = title && title.trim() ? ` data-title="${escapeAttr(title.trim())}"` : "";
|
|
25472
25409
|
return `
|
|
25473
25410
|
|
|
25474
|
-
<div class="claude-embed" data-url="${escapeAttr(url.trim())}" data-kind="${kind}"${titleAttr}
|
|
25411
|
+
<div class="claude-embed" data-url="${escapeAttr(url.trim())}" data-kind="${kind}"${titleAttr}></div>
|
|
25475
25412
|
|
|
25476
25413
|
`;
|
|
25477
25414
|
}).replace(/\{\{linkedin:([^}]+)\}\}/g, (match2, url) => {
|
|
@@ -25650,7 +25587,7 @@ var RichMarkdownInner = ({
|
|
|
25650
25587
|
ogApiBaseUrl: `${u.protocol}//${u.host}`,
|
|
25651
25588
|
ogEndpointPath: u.pathname
|
|
25652
25589
|
};
|
|
25653
|
-
} catch (
|
|
25590
|
+
} catch (e54) {
|
|
25654
25591
|
return { ogApiBaseUrl: "", ogEndpointPath: ogScraperUrl };
|
|
25655
25592
|
}
|
|
25656
25593
|
}, [ogScraperUrl]);
|
|
@@ -26323,15 +26260,15 @@ function FilterModal({
|
|
|
26323
26260
|
onScroll: updateFade,
|
|
26324
26261
|
className: "flex-1 min-h-0 overflow-y-auto flex flex-col gap-4 md:py-3",
|
|
26325
26262
|
children: isLoading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: [0, 1].map((group) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-1", children: [
|
|
26326
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26263
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWPPBPRFUcjs.Skeleton, { className: "h-5 w-24" }),
|
|
26327
26264
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rounded-md border border-ods-border overflow-hidden", children: [0, 1, 2].map((row) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
26328
26265
|
"div",
|
|
26329
26266
|
{
|
|
26330
26267
|
className: "flex items-center gap-3 px-4 py-3 bg-ods-card border-b border-ods-border last:border-b-0",
|
|
26331
26268
|
children: [
|
|
26332
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26333
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26334
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26269
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWPPBPRFUcjs.Skeleton, { className: "h-6 w-6 rounded-[6px] shrink-0" }),
|
|
26270
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWPPBPRFUcjs.Skeleton, { className: "h-4 flex-1 max-w-[60%]" }),
|
|
26271
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWPPBPRFUcjs.Skeleton, { className: "h-4 w-10 shrink-0" })
|
|
26335
26272
|
]
|
|
26336
26273
|
},
|
|
26337
26274
|
row
|
|
@@ -26548,7 +26485,7 @@ function ActionSkeletons({
|
|
|
26548
26485
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: items.map((action, idx) => {
|
|
26549
26486
|
const isIconOnly = action ? !action.label || !!action.iconOnlyOnDesktop : emptyFallback === "icon";
|
|
26550
26487
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26551
|
-
|
|
26488
|
+
_chunkWPPBPRFUcjs.Skeleton,
|
|
26552
26489
|
{
|
|
26553
26490
|
className: _chunkKI4EGKNVcjs.cn.call(void 0,
|
|
26554
26491
|
SKELETON_HEIGHT,
|
|
@@ -26561,7 +26498,7 @@ function ActionSkeletons({
|
|
|
26561
26498
|
}) });
|
|
26562
26499
|
}
|
|
26563
26500
|
function MobileTriggerSkeleton() {
|
|
26564
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26501
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWPPBPRFUcjs.Skeleton, { className: _chunkKI4EGKNVcjs.cn.call(void 0, SKELETON_HEIGHT, SKELETON_ICON_WIDTH, SKELETON_RADIUS) });
|
|
26565
26502
|
}
|
|
26566
26503
|
function PageActions({
|
|
26567
26504
|
variant = "icon-buttons",
|
|
@@ -26600,7 +26537,7 @@ function IconButtonsVariant({
|
|
|
26600
26537
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkKI4EGKNVcjs.cn.call(void 0, "hidden md:flex items-center", ACTIONS_GAP, className), children: [
|
|
26601
26538
|
selector,
|
|
26602
26539
|
loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ActionSkeletons, { actions: desktopActions }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
26603
|
-
desktopActions.map((action, idx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26540
|
+
desktopActions.map((action, idx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, React127.default.Fragment, { children: renderActionButton(action) }, actionKey(action, idx))),
|
|
26604
26541
|
hasMenuActions && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ActionsMenuDropdown, { groups: menuActions })
|
|
26605
26542
|
] })
|
|
26606
26543
|
] }),
|
|
@@ -26623,7 +26560,7 @@ function PrimaryButtonsVariant({
|
|
|
26623
26560
|
// No overflow trigger in this variant — an unknown action set settles
|
|
26624
26561
|
// into a labelled button, not a square one.
|
|
26625
26562
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ActionSkeletons, { actions: desktopActions, emptyFallback: "label" })
|
|
26626
|
-
) : desktopActions.map((action, idx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26563
|
+
) : desktopActions.map((action, idx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, React127.default.Fragment, { children: renderActionButton(action) }, `desktop-${actionKey(action, idx)}`)) }),
|
|
26627
26564
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, MobileBottomActions, { actions: sortedActions, loading })
|
|
26628
26565
|
] });
|
|
26629
26566
|
}
|
|
@@ -26646,7 +26583,7 @@ function MenuPrimaryVariant({
|
|
|
26646
26583
|
selector,
|
|
26647
26584
|
loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ActionSkeletons, { actions: desktopActions }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
26648
26585
|
hasMenuActions && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ActionsMenuDropdown, { groups: menuActions }),
|
|
26649
|
-
desktopActions.map((action, idx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26586
|
+
desktopActions.map((action, idx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, React127.default.Fragment, { children: renderActionButton({ ...action, variant: action.variant || "accent" }) }, `desktop-${actionKey(action, idx)}`))
|
|
26650
26587
|
] })
|
|
26651
26588
|
] }),
|
|
26652
26589
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkKI4EGKNVcjs.cn.call(void 0, "flex md:hidden", className), children: loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MobileTriggerSkeleton, {}) : hasMobileMenuItems ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ActionsMenuDropdown, { groups: mobileMenuGroups }) : null })
|
|
@@ -26661,7 +26598,7 @@ function MobileBottomActions({ actions, loading }) {
|
|
|
26661
26598
|
// fixed variant is what keeps the 24px the bar has always had.
|
|
26662
26599
|
"flex items-start p-[var(--spacing-system-lf)]",
|
|
26663
26600
|
ACTIONS_GAP
|
|
26664
|
-
), children: loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ActionSkeletons, { actions, fullWidth: true, emptyFallback: "label" }) : actions.map((action, idx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26601
|
+
), children: loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ActionSkeletons, { actions, fullWidth: true, emptyFallback: "label" }) : actions.map((action, idx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, React127.default.Fragment, { children: renderActionButton(action, { fullWidth: !!action.label }) }, `mobile-${actionKey(action, idx)}`)) });
|
|
26665
26602
|
}
|
|
26666
26603
|
function usePageActionsBottomPadding(variant) {
|
|
26667
26604
|
return variant === "primary-buttons" || variant === "menu-primary" ? "pb-40 md:pb-0" : "";
|
|
@@ -26914,7 +26851,7 @@ function ListPageLayout({
|
|
|
26914
26851
|
stickyHeader && "sticky top-0 z-20 flex gap-[var(--spacing-system-m)] items-center bg-ods-bg -mx-[var(--spacing-system-l)] p-[var(--spacing-system-l)] -mt-[var(--spacing-system-l)]"
|
|
26915
26852
|
), children: [
|
|
26916
26853
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26917
|
-
|
|
26854
|
+
_chunkWPPBPRFUcjs.Input,
|
|
26918
26855
|
{
|
|
26919
26856
|
placeholder: searchPlaceholder,
|
|
26920
26857
|
onChange: (e) => setLocalSearchValue(e.target.value),
|
|
@@ -26967,8 +26904,8 @@ _chunkKI4EGKNVcjs.init_cn.call(void 0, );
|
|
|
26967
26904
|
|
|
26968
26905
|
function EntityImage({ src, alt, fallbackText, className }) {
|
|
26969
26906
|
const resolvedSrc = _chunkNK3M6F5Acjs.useAuthedImageSrc.call(void 0, src);
|
|
26970
|
-
const [imageFailed, setImageFailed] =
|
|
26971
|
-
|
|
26907
|
+
const [imageFailed, setImageFailed] = React127.default.useState(false);
|
|
26908
|
+
React127.default.useEffect(() => {
|
|
26972
26909
|
setImageFailed(false);
|
|
26973
26910
|
}, [resolvedSrc]);
|
|
26974
26911
|
const showFallback = imageFailed || !resolvedSrc;
|
|
@@ -27225,7 +27162,7 @@ var toggleVariants = _classvarianceauthority.cva.call(void 0,
|
|
|
27225
27162
|
}
|
|
27226
27163
|
}
|
|
27227
27164
|
);
|
|
27228
|
-
var Toggle =
|
|
27165
|
+
var Toggle = React89.forwardRef(({ className, variant, size: size2, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
27229
27166
|
TogglePrimitive.Root,
|
|
27230
27167
|
{
|
|
27231
27168
|
ref,
|
|
@@ -27237,11 +27174,11 @@ Toggle.displayName = TogglePrimitive.Root.displayName;
|
|
|
27237
27174
|
|
|
27238
27175
|
// src/components/toggle-group.tsx
|
|
27239
27176
|
|
|
27240
|
-
var ToggleGroupContext =
|
|
27177
|
+
var ToggleGroupContext = React90.createContext({
|
|
27241
27178
|
size: "default",
|
|
27242
27179
|
variant: "default"
|
|
27243
27180
|
});
|
|
27244
|
-
var ToggleGroup =
|
|
27181
|
+
var ToggleGroup = React90.forwardRef(({ className, variant, size: size2, children, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
27245
27182
|
ToggleGroupPrimitive.Root,
|
|
27246
27183
|
{
|
|
27247
27184
|
ref,
|
|
@@ -27251,8 +27188,8 @@ var ToggleGroup = React91.forwardRef(({ className, variant, size: size2, childre
|
|
|
27251
27188
|
}
|
|
27252
27189
|
));
|
|
27253
27190
|
ToggleGroup.displayName = ToggleGroupPrimitive.Root.displayName;
|
|
27254
|
-
var ToggleGroupItem =
|
|
27255
|
-
const context =
|
|
27191
|
+
var ToggleGroupItem = React90.forwardRef(({ className, children, variant, size: size2, value, ...props }, ref) => {
|
|
27192
|
+
const context = React90.useContext(ToggleGroupContext);
|
|
27256
27193
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
27257
27194
|
ToggleGroupPrimitive.Item,
|
|
27258
27195
|
{
|
|
@@ -27802,7 +27739,7 @@ function formatPhoneE164(phoneNumber, countryCode) {
|
|
|
27802
27739
|
if (parsed && parsed.isValid()) {
|
|
27803
27740
|
return parsed.format("E.164");
|
|
27804
27741
|
}
|
|
27805
|
-
} catch (
|
|
27742
|
+
} catch (e55) {
|
|
27806
27743
|
}
|
|
27807
27744
|
const dialCode = `+${_libphonenumberjs.getCountryCallingCode.call(void 0, countryCode)}`;
|
|
27808
27745
|
const digits = phoneNumber.replace(/\D/g, "");
|
|
@@ -27874,7 +27811,7 @@ function readDismissCookie(name) {
|
|
|
27874
27811
|
if (!match2) return void 0;
|
|
27875
27812
|
try {
|
|
27876
27813
|
return decodeURIComponent(match2.slice(name.length + 1));
|
|
27877
|
-
} catch (
|
|
27814
|
+
} catch (e56) {
|
|
27878
27815
|
return void 0;
|
|
27879
27816
|
}
|
|
27880
27817
|
}
|
|
@@ -27902,7 +27839,7 @@ function isAnnouncementDismissed(platform, id) {
|
|
|
27902
27839
|
if (cookieValue !== void 0) return isDismissedCookieValue(cookieValue, id);
|
|
27903
27840
|
try {
|
|
27904
27841
|
return localStorage.getItem(legacyDismissKey(platform, id)) !== null;
|
|
27905
|
-
} catch (
|
|
27842
|
+
} catch (e57) {
|
|
27906
27843
|
return false;
|
|
27907
27844
|
}
|
|
27908
27845
|
}
|
|
@@ -27916,14 +27853,14 @@ function clearAnnouncementDismissals(platform) {
|
|
|
27916
27853
|
localStorage.removeItem(key);
|
|
27917
27854
|
}
|
|
27918
27855
|
});
|
|
27919
|
-
} catch (
|
|
27856
|
+
} catch (e58) {
|
|
27920
27857
|
}
|
|
27921
27858
|
}
|
|
27922
27859
|
function clearLegacyAnnouncementCache(platform) {
|
|
27923
27860
|
if (typeof window === "undefined") return;
|
|
27924
27861
|
try {
|
|
27925
27862
|
localStorage.removeItem(`${platform}-announcement-cache`);
|
|
27926
|
-
} catch (
|
|
27863
|
+
} catch (e59) {
|
|
27927
27864
|
}
|
|
27928
27865
|
}
|
|
27929
27866
|
|
|
@@ -28218,7 +28155,7 @@ function createSseSubscription(options) {
|
|
|
28218
28155
|
let data = rawData;
|
|
28219
28156
|
try {
|
|
28220
28157
|
data = JSON.parse(rawData);
|
|
28221
|
-
} catch (
|
|
28158
|
+
} catch (e60) {
|
|
28222
28159
|
}
|
|
28223
28160
|
if (eventName === "status") {
|
|
28224
28161
|
handleServerStatus(data);
|
|
@@ -28243,7 +28180,7 @@ function createSseSubscription(options) {
|
|
|
28243
28180
|
headers: { Accept: "text/event-stream" },
|
|
28244
28181
|
signal: abortController.signal
|
|
28245
28182
|
});
|
|
28246
|
-
} catch (
|
|
28183
|
+
} catch (e61) {
|
|
28247
28184
|
if (!closed && gen === generation) scheduleReconnect();
|
|
28248
28185
|
return;
|
|
28249
28186
|
}
|
|
@@ -28302,7 +28239,7 @@ function createSseSubscription(options) {
|
|
|
28302
28239
|
}
|
|
28303
28240
|
buffer += pendingCr;
|
|
28304
28241
|
}
|
|
28305
|
-
} catch (
|
|
28242
|
+
} catch (e62) {
|
|
28306
28243
|
} finally {
|
|
28307
28244
|
if (silenceTimerId) {
|
|
28308
28245
|
clearTimeout(silenceTimerId);
|
|
@@ -28310,7 +28247,7 @@ function createSseSubscription(options) {
|
|
|
28310
28247
|
}
|
|
28311
28248
|
try {
|
|
28312
28249
|
reader.releaseLock();
|
|
28313
|
-
} catch (
|
|
28250
|
+
} catch (e63) {
|
|
28314
28251
|
}
|
|
28315
28252
|
}
|
|
28316
28253
|
if (!closed && gen === generation) scheduleReconnect();
|
|
@@ -28422,7 +28359,7 @@ async function readLeadingDecisionFrame(response) {
|
|
|
28422
28359
|
} finally {
|
|
28423
28360
|
try {
|
|
28424
28361
|
reader.releaseLock();
|
|
28425
|
-
} catch (
|
|
28362
|
+
} catch (e64) {
|
|
28426
28363
|
}
|
|
28427
28364
|
}
|
|
28428
28365
|
if (frame === null) {
|
|
@@ -28997,7 +28934,7 @@ function lastPathSegment(url) {
|
|
|
28997
28934
|
const pathname = new URL(url, "https://_.local").pathname;
|
|
28998
28935
|
const segs = pathname.split("/").filter(Boolean);
|
|
28999
28936
|
return segs.length > 0 ? segs[segs.length - 1] : null;
|
|
29000
|
-
} catch (
|
|
28937
|
+
} catch (e65) {
|
|
29001
28938
|
return null;
|
|
29002
28939
|
}
|
|
29003
28940
|
}
|
|
@@ -29265,7 +29202,7 @@ function sanitizeLandingUrl(url) {
|
|
|
29265
29202
|
const parsed = new URL(url);
|
|
29266
29203
|
if (parsed.protocol !== "http:" && parsed.protocol !== "https:") return void 0;
|
|
29267
29204
|
return `${parsed.origin}${parsed.pathname}`;
|
|
29268
|
-
} catch (
|
|
29205
|
+
} catch (e66) {
|
|
29269
29206
|
return void 0;
|
|
29270
29207
|
}
|
|
29271
29208
|
}
|
|
@@ -29294,7 +29231,7 @@ function parseAttributionFromUrl(url) {
|
|
|
29294
29231
|
const value = parsed.searchParams.get(param);
|
|
29295
29232
|
if (value && value.trim()) out[param] = value.trim();
|
|
29296
29233
|
}
|
|
29297
|
-
} catch (
|
|
29234
|
+
} catch (e67) {
|
|
29298
29235
|
return {};
|
|
29299
29236
|
}
|
|
29300
29237
|
return out;
|
|
@@ -29385,7 +29322,7 @@ var BenefitCardGrid = ({
|
|
|
29385
29322
|
className = "",
|
|
29386
29323
|
columns = 2
|
|
29387
29324
|
}) => {
|
|
29388
|
-
const childrenArray =
|
|
29325
|
+
const childrenArray = React127.default.Children.toArray(children);
|
|
29389
29326
|
const gridClass = columns === 4 ? "grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4" : columns === 3 ? "grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3" : "flex flex-col md:flex-row";
|
|
29390
29327
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkKI4EGKNVcjs.cn.call(void 0,
|
|
29391
29328
|
"bg-ods-card rounded-lg shadow-ods-card border border-ods-border overflow-hidden",
|
|
@@ -29406,7 +29343,7 @@ var BenefitCardGrid = ({
|
|
|
29406
29343
|
} else {
|
|
29407
29344
|
borderClass = isLastItem ? "border-b-0" : "border-b md:border-b-0 md:border-r border-ods-border";
|
|
29408
29345
|
}
|
|
29409
|
-
return
|
|
29346
|
+
return React127.default.cloneElement(child, {
|
|
29410
29347
|
key: index,
|
|
29411
29348
|
className: borderClass
|
|
29412
29349
|
});
|
|
@@ -29423,7 +29360,7 @@ function BrandAssociationCard({
|
|
|
29423
29360
|
className = ""
|
|
29424
29361
|
}) {
|
|
29425
29362
|
const renderIcon = () => {
|
|
29426
|
-
if (
|
|
29363
|
+
if (React127.default.isValidElement(item.icon)) {
|
|
29427
29364
|
return item.icon;
|
|
29428
29365
|
}
|
|
29429
29366
|
const IconComponent = item.icon;
|
|
@@ -29527,7 +29464,7 @@ _chunkKI4EGKNVcjs.init_cn.call(void 0, );
|
|
|
29527
29464
|
|
|
29528
29465
|
|
|
29529
29466
|
|
|
29530
|
-
var ChevronButton =
|
|
29467
|
+
var ChevronButton = React93.forwardRef(
|
|
29531
29468
|
({ className, direction = "down", size: size2 = "md", isExpanded, backgroundColor, borderColor, ...props }, ref) => {
|
|
29532
29469
|
const Icon2 = (isExpanded ? _lucidereact.ChevronUp : _lucidereact.ChevronDown) || (direction === "up" ? _lucidereact.ChevronUp : _lucidereact.ChevronDown);
|
|
29533
29470
|
const sizeClasses2 = {
|
|
@@ -30264,7 +30201,7 @@ function HighlightCardGrid({
|
|
|
30264
30201
|
_chunkKI4EGKNVcjs.init_cn.call(void 0, );
|
|
30265
30202
|
|
|
30266
30203
|
|
|
30267
|
-
var IconsBlock =
|
|
30204
|
+
var IconsBlock = React94.forwardRef(
|
|
30268
30205
|
({ className, icons = [], size: size2 = "md", ...props }, ref) => {
|
|
30269
30206
|
const sizeClasses2 = {
|
|
30270
30207
|
sm: "h-4 w-4",
|
|
@@ -30317,11 +30254,11 @@ function DropdownButton({
|
|
|
30317
30254
|
side = "bottom",
|
|
30318
30255
|
onCloseAutoFocus
|
|
30319
30256
|
}) {
|
|
30320
|
-
const [open, setOpen] =
|
|
30321
|
-
|
|
30257
|
+
const [open, setOpen] = React127.default.useState(false);
|
|
30258
|
+
React127.default.useEffect(() => {
|
|
30322
30259
|
if (disabled || loading) setOpen(false);
|
|
30323
30260
|
}, [disabled, loading]);
|
|
30324
|
-
const handleOpenChange =
|
|
30261
|
+
const handleOpenChange = React127.default.useCallback(
|
|
30325
30262
|
(next) => {
|
|
30326
30263
|
if (next && (disabled || loading)) return;
|
|
30327
30264
|
setOpen(next);
|
|
@@ -30404,8 +30341,8 @@ function MoreActionsMenu({
|
|
|
30404
30341
|
onOpenChange,
|
|
30405
30342
|
onCloseAutoFocus
|
|
30406
30343
|
}) {
|
|
30407
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
30408
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30344
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkWPPBPRFUcjs.DropdownMenu, { open, onOpenChange, children: [
|
|
30345
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWPPBPRFUcjs.DropdownMenuTrigger, { asChild: true, children: trigger || /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30409
30346
|
_chunk7INXXQVKcjs.Button,
|
|
30410
30347
|
{
|
|
30411
30348
|
variant: "outline",
|
|
@@ -30416,7 +30353,7 @@ function MoreActionsMenu({
|
|
|
30416
30353
|
}
|
|
30417
30354
|
) }),
|
|
30418
30355
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30419
|
-
|
|
30356
|
+
_chunkWPPBPRFUcjs.DropdownMenuContent,
|
|
30420
30357
|
{
|
|
30421
30358
|
align,
|
|
30422
30359
|
side,
|
|
@@ -30438,7 +30375,7 @@ function MoreActionsMenu({
|
|
|
30438
30375
|
};
|
|
30439
30376
|
if (item.href) {
|
|
30440
30377
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30441
|
-
|
|
30378
|
+
_chunkWPPBPRFUcjs.DropdownMenuItem,
|
|
30442
30379
|
{
|
|
30443
30380
|
asChild: true,
|
|
30444
30381
|
disabled: item.disabled,
|
|
@@ -30467,7 +30404,7 @@ function MoreActionsMenu({
|
|
|
30467
30404
|
);
|
|
30468
30405
|
}
|
|
30469
30406
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30470
|
-
|
|
30407
|
+
_chunkWPPBPRFUcjs.DropdownMenuItem,
|
|
30471
30408
|
{
|
|
30472
30409
|
onClick: handleActivate,
|
|
30473
30410
|
disabled: item.disabled,
|
|
@@ -30647,14 +30584,14 @@ function ThemeProvider({ children, ...overrides }) {
|
|
|
30647
30584
|
var useTheme = _nextthemes.useTheme;
|
|
30648
30585
|
function useThemeToggle() {
|
|
30649
30586
|
const { resolvedTheme, theme, setTheme } = useTheme();
|
|
30650
|
-
const [mounted, setMounted] =
|
|
30651
|
-
|
|
30587
|
+
const [mounted, setMounted] = React96.useState(false);
|
|
30588
|
+
React96.useEffect(() => setMounted(true), []);
|
|
30652
30589
|
const active = mounted ? resolvedTheme === "light" || theme === "light" ? "light" : "dark" : DEFAULT_THEME;
|
|
30653
|
-
const setOdsTheme =
|
|
30590
|
+
const setOdsTheme = React96.useCallback(
|
|
30654
30591
|
(next) => setTheme(next),
|
|
30655
30592
|
[setTheme]
|
|
30656
30593
|
);
|
|
30657
|
-
const toggle =
|
|
30594
|
+
const toggle = React96.useCallback(
|
|
30658
30595
|
() => setTheme(active === "dark" ? "light" : "dark"),
|
|
30659
30596
|
[active, setTheme]
|
|
30660
30597
|
);
|
|
@@ -30745,7 +30682,7 @@ function ArrayEntryManager({
|
|
|
30745
30682
|
};
|
|
30746
30683
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: `space-y-3 ${className}`, children: [
|
|
30747
30684
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center justify-between", children: [
|
|
30748
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30685
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWPPBPRFUcjs.Label, { children: title }),
|
|
30749
30686
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
|
|
30750
30687
|
requireSave && isDirty && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30751
30688
|
_chunk7INXXQVKcjs.Button,
|
|
@@ -30778,7 +30715,7 @@ function ArrayEntryManager({
|
|
|
30778
30715
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex-1 min-w-0 space-y-2", children: [
|
|
30779
30716
|
renderLabel && renderLabel(item, index),
|
|
30780
30717
|
titleFieldKey ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30781
|
-
|
|
30718
|
+
_chunkWPPBPRFUcjs.Input,
|
|
30782
30719
|
{
|
|
30783
30720
|
placeholder: _nullishCoalesce(titlePlaceholder, () => ( "Name")),
|
|
30784
30721
|
value: _nullishCoalesce(item[titleFieldKey], () => ( "")),
|
|
@@ -30788,7 +30725,7 @@ function ArrayEntryManager({
|
|
|
30788
30725
|
}
|
|
30789
30726
|
) : null,
|
|
30790
30727
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30791
|
-
|
|
30728
|
+
_chunkWPPBPRFUcjs.Input,
|
|
30792
30729
|
{
|
|
30793
30730
|
placeholder,
|
|
30794
30731
|
value: item[fieldKey],
|
|
@@ -30949,11 +30886,11 @@ _chunk7INXXQVKcjs.init_button2.call(void 0, );
|
|
|
30949
30886
|
_chunkKI4EGKNVcjs.init_cn.call(void 0, );
|
|
30950
30887
|
|
|
30951
30888
|
|
|
30952
|
-
var PasswordInput =
|
|
30953
|
-
const [visible, setVisible] =
|
|
30889
|
+
var PasswordInput = React97.forwardRef(({ disabled, className, ...props }, ref) => {
|
|
30890
|
+
const [visible, setVisible] = React97.useState(false);
|
|
30954
30891
|
const Icon2 = visible ? _chunkUTVOBFXRcjs.EyeOffIcon : _chunkUTVOBFXRcjs.EyeIcon;
|
|
30955
30892
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30956
|
-
|
|
30893
|
+
_chunkWPPBPRFUcjs.Input,
|
|
30957
30894
|
{
|
|
30958
30895
|
ref,
|
|
30959
30896
|
type: visible ? "text" : "password",
|
|
@@ -31090,7 +31027,7 @@ function CompleteAccountForm({
|
|
|
31090
31027
|
] })
|
|
31091
31028
|
] }),
|
|
31092
31029
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31093
|
-
|
|
31030
|
+
_chunkWPPBPRFUcjs.Input,
|
|
31094
31031
|
{
|
|
31095
31032
|
label: "First Name",
|
|
31096
31033
|
placeholder: "Enter First Name",
|
|
@@ -31103,7 +31040,7 @@ function CompleteAccountForm({
|
|
|
31103
31040
|
}
|
|
31104
31041
|
),
|
|
31105
31042
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31106
|
-
|
|
31043
|
+
_chunkWPPBPRFUcjs.Input,
|
|
31107
31044
|
{
|
|
31108
31045
|
label: "Last Name",
|
|
31109
31046
|
placeholder: "Enter Last Name",
|
|
@@ -31267,7 +31204,7 @@ function CreateOrganizationForm({
|
|
|
31267
31204
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-h4 text-ods-text-secondary", children: "Start your journey with OpenFrame." })
|
|
31268
31205
|
] }),
|
|
31269
31206
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31270
|
-
|
|
31207
|
+
_chunkWPPBPRFUcjs.Input,
|
|
31271
31208
|
{
|
|
31272
31209
|
type: "email",
|
|
31273
31210
|
label: "Email",
|
|
@@ -31282,7 +31219,7 @@ function CreateOrganizationForm({
|
|
|
31282
31219
|
}
|
|
31283
31220
|
),
|
|
31284
31221
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31285
|
-
|
|
31222
|
+
_chunkWPPBPRFUcjs.Input,
|
|
31286
31223
|
{
|
|
31287
31224
|
label: "Organization Name",
|
|
31288
31225
|
placeholder: "Your Company Name",
|
|
@@ -31296,7 +31233,7 @@ function CreateOrganizationForm({
|
|
|
31296
31233
|
),
|
|
31297
31234
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
|
|
31298
31235
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31299
|
-
|
|
31236
|
+
_chunkWPPBPRFUcjs.Input,
|
|
31300
31237
|
{
|
|
31301
31238
|
label: "Domain",
|
|
31302
31239
|
placeholder: domainPlaceholder,
|
|
@@ -31420,7 +31357,7 @@ function LoginForm({
|
|
|
31420
31357
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-h4 text-ods-text-secondary", children: "Enter your email to access your organization." })
|
|
31421
31358
|
] }),
|
|
31422
31359
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31423
|
-
|
|
31360
|
+
_chunkWPPBPRFUcjs.Input,
|
|
31424
31361
|
{
|
|
31425
31362
|
type: "email",
|
|
31426
31363
|
label: "Email",
|
|
@@ -31495,7 +31432,7 @@ function OpenFrameSsoLoginForm({
|
|
|
31495
31432
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-h4 text-ods-text-secondary", children: subtitle })
|
|
31496
31433
|
] }),
|
|
31497
31434
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31498
|
-
|
|
31435
|
+
_chunkWPPBPRFUcjs.Input,
|
|
31499
31436
|
{
|
|
31500
31437
|
type: "email",
|
|
31501
31438
|
label: emailLabel,
|
|
@@ -31606,7 +31543,7 @@ function OpenFrameSsoSignUpForm({
|
|
|
31606
31543
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-h4 text-ods-text-secondary", children: subtitle })
|
|
31607
31544
|
] }),
|
|
31608
31545
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31609
|
-
|
|
31546
|
+
_chunkWPPBPRFUcjs.Input,
|
|
31610
31547
|
{
|
|
31611
31548
|
type: "email",
|
|
31612
31549
|
label: emailLabel,
|
|
@@ -31620,7 +31557,7 @@ function OpenFrameSsoSignUpForm({
|
|
|
31620
31557
|
}
|
|
31621
31558
|
),
|
|
31622
31559
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31623
|
-
|
|
31560
|
+
_chunkWPPBPRFUcjs.Input,
|
|
31624
31561
|
{
|
|
31625
31562
|
label: "First Name",
|
|
31626
31563
|
placeholder: "Enter First Name",
|
|
@@ -31633,7 +31570,7 @@ function OpenFrameSsoSignUpForm({
|
|
|
31633
31570
|
}
|
|
31634
31571
|
),
|
|
31635
31572
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31636
|
-
|
|
31573
|
+
_chunkWPPBPRFUcjs.Input,
|
|
31637
31574
|
{
|
|
31638
31575
|
label: "Last Name",
|
|
31639
31576
|
placeholder: "Enter Last Name",
|
|
@@ -31750,7 +31687,7 @@ function PasswordResetForm({
|
|
|
31750
31687
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-h4 text-ods-text-secondary", children: subtitle })
|
|
31751
31688
|
] }),
|
|
31752
31689
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31753
|
-
|
|
31690
|
+
_chunkWPPBPRFUcjs.Input,
|
|
31754
31691
|
{
|
|
31755
31692
|
type: "password",
|
|
31756
31693
|
label: newPasswordLabel,
|
|
@@ -31764,7 +31701,7 @@ function PasswordResetForm({
|
|
|
31764
31701
|
}
|
|
31765
31702
|
),
|
|
31766
31703
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31767
|
-
|
|
31704
|
+
_chunkWPPBPRFUcjs.Input,
|
|
31768
31705
|
{
|
|
31769
31706
|
type: "password",
|
|
31770
31707
|
label: confirmPasswordLabel,
|
|
@@ -32001,7 +31938,7 @@ function ChangelogManager({
|
|
|
32001
31938
|
};
|
|
32002
31939
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: `space-y-3 ${className}`, children: [
|
|
32003
31940
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center justify-between", children: [
|
|
32004
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31941
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWPPBPRFUcjs.Label, { children: title }),
|
|
32005
31942
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
32006
31943
|
_chunk7INXXQVKcjs.Button,
|
|
32007
31944
|
{
|
|
@@ -32058,9 +31995,9 @@ function ChangelogManager({
|
|
|
32058
31995
|
] }),
|
|
32059
31996
|
isExpanded && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "px-3 pb-3 space-y-3 border-t border-ods-border pt-3", children: [
|
|
32060
31997
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-1", children: [
|
|
32061
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31998
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWPPBPRFUcjs.Label, { className: "text-ods-text-secondary", children: "Title *" }),
|
|
32062
31999
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
32063
|
-
|
|
32000
|
+
_chunkWPPBPRFUcjs.Input,
|
|
32064
32001
|
{
|
|
32065
32002
|
placeholder: "e.g., New dark mode theme support",
|
|
32066
32003
|
value: entry.title,
|
|
@@ -32071,7 +32008,7 @@ function ChangelogManager({
|
|
|
32071
32008
|
)
|
|
32072
32009
|
] }),
|
|
32073
32010
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-1", children: [
|
|
32074
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
32011
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWPPBPRFUcjs.Label, { className: "text-ods-text-secondary", children: "Description" }),
|
|
32075
32012
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
32076
32013
|
Textarea,
|
|
32077
32014
|
{
|
|
@@ -32196,23 +32133,39 @@ function CommandBox({
|
|
|
32196
32133
|
secondaryAction,
|
|
32197
32134
|
className,
|
|
32198
32135
|
commandClassName,
|
|
32199
|
-
maxLines = 0
|
|
32136
|
+
maxLines = 0,
|
|
32137
|
+
onCopy,
|
|
32138
|
+
copyAriaLabel = "Copy command"
|
|
32200
32139
|
}) {
|
|
32201
32140
|
const lineClampClass = maxLines > 0 ? lineClampClasses[maxLines] : void 0;
|
|
32141
|
+
const commandText = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
32142
|
+
"div",
|
|
32143
|
+
{
|
|
32144
|
+
className: _chunkKI4EGKNVcjs.cn.call(void 0,
|
|
32145
|
+
"text-ods-text-primary text-code break-all",
|
|
32146
|
+
onCopy && "flex-1 min-w-0",
|
|
32147
|
+
lineClampClass,
|
|
32148
|
+
commandClassName
|
|
32149
|
+
),
|
|
32150
|
+
children: command
|
|
32151
|
+
}
|
|
32152
|
+
);
|
|
32202
32153
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkKI4EGKNVcjs.cn.call(void 0, "flex flex-col gap-2", className), children: [
|
|
32203
32154
|
title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "text-ods-text-primary text-h4", children: title }),
|
|
32204
32155
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "bg-ods-bg border border-ods-border rounded-[6px] p-4", children: [
|
|
32205
|
-
/* @__PURE__ */ _jsxruntime.
|
|
32206
|
-
|
|
32207
|
-
|
|
32208
|
-
|
|
32209
|
-
|
|
32210
|
-
|
|
32211
|
-
|
|
32212
|
-
|
|
32213
|
-
|
|
32214
|
-
|
|
32215
|
-
|
|
32156
|
+
onCopy ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start gap-4", children: [
|
|
32157
|
+
commandText,
|
|
32158
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
32159
|
+
"button",
|
|
32160
|
+
{
|
|
32161
|
+
type: "button",
|
|
32162
|
+
onClick: onCopy,
|
|
32163
|
+
"aria-label": copyAriaLabel,
|
|
32164
|
+
className: "shrink-0 rounded-md text-ods-text-secondary transition-colors hover:text-ods-text-primary focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ods-focus",
|
|
32165
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUTVOBFXRcjs.Copy02Icon, { className: "w-5 h-5" })
|
|
32166
|
+
}
|
|
32167
|
+
)
|
|
32168
|
+
] }) : commandText,
|
|
32216
32169
|
(primaryAction || secondaryAction) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col md:flex-row gap-3 md:justify-end mt-4", children: [
|
|
32217
32170
|
secondaryAction && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
32218
32171
|
_chunk7INXXQVKcjs.Button,
|
|
@@ -34301,7 +34254,7 @@ function ReleaseMediaManager({
|
|
|
34301
34254
|
),
|
|
34302
34255
|
media.length > 0 && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { children: [
|
|
34303
34256
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center justify-between mb-4", children: [
|
|
34304
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
34257
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkWPPBPRFUcjs.Label, { children: [
|
|
34305
34258
|
"Media Gallery (",
|
|
34306
34259
|
media.length,
|
|
34307
34260
|
")"
|
|
@@ -34370,7 +34323,7 @@ function ReleaseMediaManager({
|
|
|
34370
34323
|
)
|
|
34371
34324
|
] }),
|
|
34372
34325
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
34373
|
-
|
|
34326
|
+
_chunkWPPBPRFUcjs.Input,
|
|
34374
34327
|
{
|
|
34375
34328
|
placeholder: "Title (optional)",
|
|
34376
34329
|
value: item.title,
|
|
@@ -34398,7 +34351,7 @@ function ReleaseMediaManager({
|
|
|
34398
34351
|
_chunkKI4EGKNVcjs.init_cn.call(void 0, );
|
|
34399
34352
|
|
|
34400
34353
|
|
|
34401
|
-
var SelectButton =
|
|
34354
|
+
var SelectButton = React127.default.forwardRef(
|
|
34402
34355
|
({ title, description, selected = false, disabled = false, icon, image, tag, tagVariant = "outline", onClick, className }, ref) => {
|
|
34403
34356
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
34404
34357
|
"button",
|
|
@@ -34528,7 +34481,7 @@ function SEOEditorPreview({
|
|
|
34528
34481
|
SEO_TITLE_MAX_LENGTH
|
|
34529
34482
|
] }),
|
|
34530
34483
|
children: (f) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
34531
|
-
|
|
34484
|
+
_chunkWPPBPRFUcjs.Input,
|
|
34532
34485
|
{
|
|
34533
34486
|
...f,
|
|
34534
34487
|
value: seoTitle || "",
|
|
@@ -34553,7 +34506,7 @@ function SEOEditorPreview({
|
|
|
34553
34506
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ConfidenceBadge, { confidence: aiConfidenceSeoKeywords, showLabel: true, showPercentage: true, size: "sm" })
|
|
34554
34507
|
] }) : void 0,
|
|
34555
34508
|
children: (f) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
34556
|
-
|
|
34509
|
+
_chunkWPPBPRFUcjs.Input,
|
|
34557
34510
|
{
|
|
34558
34511
|
...f,
|
|
34559
34512
|
value: seoKeywords || "",
|
|
@@ -34600,7 +34553,7 @@ function SEOEditorPreview({
|
|
|
34600
34553
|
!seoDescription && summary && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-h6 text-ods-accent", children: "Auto-populated from summary" })
|
|
34601
34554
|
] }),
|
|
34602
34555
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-xxs)]", children: [
|
|
34603
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
34556
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWPPBPRFUcjs.Label, { children: "OG Image" }),
|
|
34604
34557
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative pt-[var(--spacing-system-xxs)]", children: [
|
|
34605
34558
|
displayImage && !imageError ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkKI4EGKNVcjs.cn.call(void 0, "relative group", SEO_MEDIA_BOX_HEIGHT), children: [
|
|
34606
34559
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -34765,7 +34718,7 @@ function SocialLinksManager({
|
|
|
34765
34718
|
}
|
|
34766
34719
|
) }),
|
|
34767
34720
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
34768
|
-
|
|
34721
|
+
_chunkWPPBPRFUcjs.Input,
|
|
34769
34722
|
{
|
|
34770
34723
|
placeholder: _optionalChain([platform, 'optionalAccess', _765 => _765.placeholder]) || "Profile URL",
|
|
34771
34724
|
value: link.url,
|
|
@@ -34825,7 +34778,7 @@ function SocialLinksManager({
|
|
|
34825
34778
|
_chunk7INXXQVKcjs.init_button2.call(void 0, );
|
|
34826
34779
|
|
|
34827
34780
|
|
|
34828
|
-
var StartWithOpenFrameButton =
|
|
34781
|
+
var StartWithOpenFrameButton = React102.forwardRef(({ children = "Start Free Trial", mode = "outline", className, buttonSize, loading = false, buttonBackgroundColor, buttonTextColor, ...props }, ref) => {
|
|
34829
34782
|
const isYellow = mode === "yellow";
|
|
34830
34783
|
const isPink = mode === "pink" || mode === "purple";
|
|
34831
34784
|
const isCyan = mode === "cyan";
|
|
@@ -35229,14 +35182,14 @@ function WalkthroughVideo({
|
|
|
35229
35182
|
const conn = navigator.connection;
|
|
35230
35183
|
const saveData = _optionalChain([conn, 'optionalAccess', _771 => _771.saveData]) === true || _optionalChain([conn, 'optionalAccess', _772 => _772.effectiveType]) === "2g" || _optionalChain([conn, 'optionalAccess', _773 => _773.effectiveType]) === "slow-2g";
|
|
35231
35184
|
setPreviewSuppressed(Boolean(reducedMotion || saveData));
|
|
35232
|
-
} catch (
|
|
35185
|
+
} catch (e68) {
|
|
35233
35186
|
}
|
|
35234
35187
|
}, []);
|
|
35235
35188
|
const [deepLinkHit] = _react.useState.call(void 0, () => {
|
|
35236
35189
|
if (!deepLinkParam || typeof window === "undefined") return false;
|
|
35237
35190
|
try {
|
|
35238
35191
|
return new URLSearchParams(window.location.search).has(deepLinkParam);
|
|
35239
|
-
} catch (
|
|
35192
|
+
} catch (e69) {
|
|
35240
35193
|
return false;
|
|
35241
35194
|
}
|
|
35242
35195
|
});
|
|
@@ -35301,7 +35254,7 @@ function WalkthroughVideo({
|
|
|
35301
35254
|
const h = _nullishCoalesce(resumeHandleRef.current, () => ( previewHandleRef.current));
|
|
35302
35255
|
try {
|
|
35303
35256
|
_optionalChain([h, 'optionalAccess', _777 => _777.pause, 'call', _778 => _778()]);
|
|
35304
|
-
} catch (
|
|
35257
|
+
} catch (e70) {
|
|
35305
35258
|
}
|
|
35306
35259
|
setCardPaused(true);
|
|
35307
35260
|
setHovered(false);
|
|
@@ -35326,7 +35279,7 @@ function WalkthroughVideo({
|
|
|
35326
35279
|
const h = _nullishCoalesce(resumeHandleRef.current, () => ( previewHandleRef.current));
|
|
35327
35280
|
try {
|
|
35328
35281
|
_optionalChain([h, 'optionalAccess', _780 => _780.pause, 'call', _781 => _781()]);
|
|
35329
|
-
} catch (
|
|
35282
|
+
} catch (e71) {
|
|
35330
35283
|
}
|
|
35331
35284
|
setCardPaused(true);
|
|
35332
35285
|
}, []);
|
|
@@ -35389,7 +35342,7 @@ function WalkthroughVideo({
|
|
|
35389
35342
|
const atEnd = isAtEnd(h.getDuration(), time);
|
|
35390
35343
|
try {
|
|
35391
35344
|
h.pause();
|
|
35392
|
-
} catch (
|
|
35345
|
+
} catch (e72) {
|
|
35393
35346
|
}
|
|
35394
35347
|
if (!(muted && theaterForcedMuteRef.current && !userMutedRef.current)) {
|
|
35395
35348
|
userMutedRef.current = muted;
|
|
@@ -35480,7 +35433,7 @@ function WalkthroughVideo({
|
|
|
35480
35433
|
void h.play();
|
|
35481
35434
|
setCardPaused(false);
|
|
35482
35435
|
}
|
|
35483
|
-
} catch (
|
|
35436
|
+
} catch (e73) {
|
|
35484
35437
|
}
|
|
35485
35438
|
}, [resumeMode, cardFallback.blocked, cardPaused]);
|
|
35486
35439
|
const onToggleMute = _react.useCallback.call(void 0, (e) => {
|
|
@@ -35494,7 +35447,7 @@ function WalkthroughVideo({
|
|
|
35494
35447
|
setCardMuted(next);
|
|
35495
35448
|
userMutedRef.current = next;
|
|
35496
35449
|
setUserMuted(next);
|
|
35497
|
-
} catch (
|
|
35450
|
+
} catch (e74) {
|
|
35498
35451
|
}
|
|
35499
35452
|
}, [resumeMode, cardMuted, cardPaused]);
|
|
35500
35453
|
const onTogglePlay = _react.useCallback.call(void 0, (e) => {
|
|
@@ -35509,7 +35462,7 @@ function WalkthroughVideo({
|
|
|
35509
35462
|
h.pause();
|
|
35510
35463
|
setCardPaused(true);
|
|
35511
35464
|
}
|
|
35512
|
-
} catch (
|
|
35465
|
+
} catch (e75) {
|
|
35513
35466
|
}
|
|
35514
35467
|
}, [resumeMode, cardFallback.blocked, cardPaused]);
|
|
35515
35468
|
const summaryTitle = _optionalChain([video, 'optionalAccess', _796 => _796.title]) || void 0;
|
|
@@ -35570,7 +35523,7 @@ function WalkthroughVideo({
|
|
|
35570
35523
|
let keyboard = false;
|
|
35571
35524
|
try {
|
|
35572
35525
|
keyboard = _nullishCoalesce(_optionalChain([el, 'access', _802 => _802.matches, 'optionalCall', _803 => _803(":focus-visible")]), () => ( false));
|
|
35573
|
-
} catch (
|
|
35526
|
+
} catch (e76) {
|
|
35574
35527
|
keyboard = false;
|
|
35575
35528
|
}
|
|
35576
35529
|
if (justClosedRef.current) {
|
|
@@ -35910,9 +35863,9 @@ function VideoSourceSelector({
|
|
|
35910
35863
|
)
|
|
35911
35864
|
] }),
|
|
35912
35865
|
videoSourceType === "youtube" && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
35913
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
35866
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWPPBPRFUcjs.Label, { children: youtubeLabel }),
|
|
35914
35867
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
35915
|
-
|
|
35868
|
+
_chunkWPPBPRFUcjs.Input,
|
|
35916
35869
|
{
|
|
35917
35870
|
value: youtubeUrl,
|
|
35918
35871
|
onChange: (e) => onYoutubeUrlChange(e.target.value),
|
|
@@ -35926,7 +35879,7 @@ function VideoSourceSelector({
|
|
|
35926
35879
|
videoSourceType === "uploaded" && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { children: [
|
|
35927
35880
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center justify-between mb-2", children: [
|
|
35928
35881
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
|
|
35929
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
35882
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWPPBPRFUcjs.Label, { children: uploadLabel }),
|
|
35930
35883
|
showAIBadge && isAIGenerated && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, AIGeneratedBadge, {})
|
|
35931
35884
|
] }),
|
|
35932
35885
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -36066,7 +36019,7 @@ function SubtitlesEditor({
|
|
|
36066
36019
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className, children: [
|
|
36067
36020
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "mb-2", children: [
|
|
36068
36021
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
|
|
36069
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
36022
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWPPBPRFUcjs.Label, { htmlFor: id, children: label }),
|
|
36070
36023
|
isAIGenerated && subtitles && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Badge, { variant: "secondary", className: "flex items-center gap-1", children: [
|
|
36071
36024
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUTVOBFXRcjs.StandardCcIcon, { size: 12 }),
|
|
36072
36025
|
"AI Generated"
|
|
@@ -36127,7 +36080,7 @@ function TranscriptSummaryEditor({
|
|
|
36127
36080
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { children: [
|
|
36128
36081
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "mb-2", children: [
|
|
36129
36082
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
|
|
36130
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
36083
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWPPBPRFUcjs.Label, { htmlFor: "video-summary", children: videoSummaryLabel }),
|
|
36131
36084
|
isAIGenerated && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, AIGeneratedBadge, {}),
|
|
36132
36085
|
videoSummaryConfidence !== void 0 && videoSummaryConfidence !== null && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
36133
36086
|
ConfidenceBadge,
|
|
@@ -36164,7 +36117,7 @@ function TranscriptSummaryEditor({
|
|
|
36164
36117
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { children: [
|
|
36165
36118
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "mb-2", children: [
|
|
36166
36119
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
|
|
36167
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
36120
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWPPBPRFUcjs.Label, { htmlFor: "transcript", children: transcriptLabel }),
|
|
36168
36121
|
isAIGenerated && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, AIGeneratedBadge, {}),
|
|
36169
36122
|
transcriptConfidence !== void 0 && transcriptConfidence !== null && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
36170
36123
|
ConfidenceBadge,
|
|
@@ -36541,7 +36494,7 @@ function HighlightVideoSection({
|
|
|
36541
36494
|
};
|
|
36542
36495
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: `space-y-4 ${className}`, children: [
|
|
36543
36496
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-3 p-4 bg-ods-card rounded-lg border border-ods-border", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-center gap-4", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex-1", children: [
|
|
36544
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
36497
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWPPBPRFUcjs.Label, { children: "Target Duration" }),
|
|
36545
36498
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
36546
36499
|
Select,
|
|
36547
36500
|
{
|
|
@@ -36584,7 +36537,7 @@ function HighlightVideoSection({
|
|
|
36584
36537
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
36585
36538
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center justify-between mb-2", children: [
|
|
36586
36539
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
|
|
36587
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
36540
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWPPBPRFUcjs.Label, { children: "Highlight Video" }),
|
|
36588
36541
|
highlightVideoSource === "ai_generated" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, AIGeneratedBadge, {}),
|
|
36589
36542
|
highlightVideoDurationMs && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Badge, { variant: "outline", className: "text-h6", children: formatDuration2(highlightVideoDurationMs) })
|
|
36590
36543
|
] }),
|
|
@@ -36684,7 +36637,7 @@ function EntitySummaryEditor({
|
|
|
36684
36637
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className, children: [
|
|
36685
36638
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "mb-2", children: [
|
|
36686
36639
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
|
|
36687
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
36640
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWPPBPRFUcjs.Label, { htmlFor: "entity-summary", children: label }),
|
|
36688
36641
|
isAIGenerated && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, AIGeneratedBadge, {}),
|
|
36689
36642
|
summaryConfidence !== void 0 && summaryConfidence !== null && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
36690
36643
|
ConfidenceBadge,
|
|
@@ -36995,7 +36948,7 @@ function HighlightVideoPreview({
|
|
|
36995
36948
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
36996
36949
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center justify-between mb-2", children: [
|
|
36997
36950
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
|
|
36998
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
36951
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWPPBPRFUcjs.Label, { children: label }),
|
|
36999
36952
|
highlightVideoSource === "ai_generated" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, AIGeneratedBadge, {}),
|
|
37000
36953
|
highlightVideoDurationMs && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Badge, { variant: "outline", className: "text-h6", children: formatDuration2(highlightVideoDurationMs) })
|
|
37001
36954
|
] }),
|
|
@@ -37205,7 +37158,7 @@ function HighlightVideoCombinedSection({
|
|
|
37205
37158
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
37206
37159
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center justify-between mb-2", children: [
|
|
37207
37160
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
|
|
37208
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
37161
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWPPBPRFUcjs.Label, { children: previewLabel }),
|
|
37209
37162
|
highlightVideoSource === "ai_generated" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, AIGeneratedBadge, {}),
|
|
37210
37163
|
highlightVideoDurationMs && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Badge, { variant: "outline", className: "text-h6", children: formatDuration2(highlightVideoDurationMs) })
|
|
37211
37164
|
] }),
|
|
@@ -37337,8 +37290,8 @@ var approvalLevelOptions = Object.keys(approvalLevelLabels).map(
|
|
|
37337
37290
|
var POLICY_LEVEL_WIDTH = "w-[180px]";
|
|
37338
37291
|
var CATEGORY_LEVEL_WIDTH = "w-[256px]";
|
|
37339
37292
|
var getApprovalLevelLabel = (level) => _nullishCoalesce(approvalLevelLabels[level], () => ( level));
|
|
37340
|
-
var ApprovalLevelDropdown = ({ value, onChange, allowClear = false, triggerClassName, contentClassName }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
37341
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
37293
|
+
var ApprovalLevelDropdown = ({ value, onChange, allowClear = false, triggerClassName, contentClassName }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkWPPBPRFUcjs.DropdownMenu, { children: [
|
|
37294
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWPPBPRFUcjs.DropdownMenuTrigger, { asChild: true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
37342
37295
|
_chunk7INXXQVKcjs.Button,
|
|
37343
37296
|
{
|
|
37344
37297
|
variant: "outline",
|
|
@@ -37351,10 +37304,10 @@ var ApprovalLevelDropdown = ({ value, onChange, allowClear = false, triggerClass
|
|
|
37351
37304
|
children: value ? getApprovalLevelLabel(value) : "Set Global Permission"
|
|
37352
37305
|
}
|
|
37353
37306
|
) }),
|
|
37354
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
37355
|
-
allowClear && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
37307
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkWPPBPRFUcjs.DropdownMenuContent, { align: "end", className: contentClassName, children: [
|
|
37308
|
+
allowClear && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWPPBPRFUcjs.DropdownMenuItem, { onClick: () => onChange(void 0), className: "text-h6", children: "Clear Global Permission" }),
|
|
37356
37309
|
approvalLevelOptions.map((option) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
37357
|
-
|
|
37310
|
+
_chunkWPPBPRFUcjs.DropdownMenuItem,
|
|
37358
37311
|
{
|
|
37359
37312
|
onClick: () => onChange(option.value),
|
|
37360
37313
|
className: "text-h6",
|
|
@@ -37604,7 +37557,7 @@ function PhoneInput({
|
|
|
37604
37557
|
}
|
|
37605
37558
|
),
|
|
37606
37559
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
37607
|
-
|
|
37560
|
+
_chunkWPPBPRFUcjs.Input,
|
|
37608
37561
|
{
|
|
37609
37562
|
type: "tel",
|
|
37610
37563
|
value,
|
|
@@ -37704,7 +37657,7 @@ function WaitlistForm({
|
|
|
37704
37657
|
try {
|
|
37705
37658
|
await onRegister(email, finalPhone, getSignals());
|
|
37706
37659
|
resetSignals();
|
|
37707
|
-
} catch (
|
|
37660
|
+
} catch (e77) {
|
|
37708
37661
|
}
|
|
37709
37662
|
};
|
|
37710
37663
|
if (!isClient) {
|
|
@@ -37742,7 +37695,7 @@ function WaitlistForm({
|
|
|
37742
37695
|
children: [
|
|
37743
37696
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, HoneypotField, { ...honeypotInputProps }),
|
|
37744
37697
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
37745
|
-
|
|
37698
|
+
_chunkWPPBPRFUcjs.Input,
|
|
37746
37699
|
{
|
|
37747
37700
|
type: "email",
|
|
37748
37701
|
value: email,
|
|
@@ -37837,7 +37790,7 @@ function WaitlistForm({
|
|
|
37837
37790
|
// src/components/features/notifications/notifications-context.tsx
|
|
37838
37791
|
|
|
37839
37792
|
|
|
37840
|
-
var NotificationsContext =
|
|
37793
|
+
var NotificationsContext = React106.createContext(null);
|
|
37841
37794
|
function mergeNotification(base, incoming) {
|
|
37842
37795
|
const out = { ...base };
|
|
37843
37796
|
for (const key of Object.keys(incoming)) {
|
|
@@ -37916,16 +37869,16 @@ function NotificationsProvider({
|
|
|
37916
37869
|
onLoadMore,
|
|
37917
37870
|
renderTile
|
|
37918
37871
|
}) {
|
|
37919
|
-
const [notifications, dispatch] =
|
|
37920
|
-
const [isOpen, setIsOpen] =
|
|
37921
|
-
const [showPopups, setShowPopupsState] =
|
|
37922
|
-
const [showDesktopPopups, setShowDesktopPopupsState] =
|
|
37872
|
+
const [notifications, dispatch] = React106.useReducer(reducer, initialNotifications);
|
|
37873
|
+
const [isOpen, setIsOpen] = React106.useState(false);
|
|
37874
|
+
const [showPopups, setShowPopupsState] = React106.useState(defaultShowPopups);
|
|
37875
|
+
const [showDesktopPopups, setShowDesktopPopupsState] = React106.useState(defaultShowDesktopPopups);
|
|
37923
37876
|
const desktopPopupsConfigured = onShowDesktopPopupsChange !== void 0;
|
|
37924
|
-
const actionsRef =
|
|
37925
|
-
|
|
37877
|
+
const actionsRef = React106.useRef(actions);
|
|
37878
|
+
React106.useEffect(() => {
|
|
37926
37879
|
actionsRef.current = actions;
|
|
37927
37880
|
}, [actions]);
|
|
37928
|
-
const addNotification =
|
|
37881
|
+
const addNotification = React106.useCallback(
|
|
37929
37882
|
(input) => {
|
|
37930
37883
|
const id = _nullishCoalesce(input.id, () => ( generateId()));
|
|
37931
37884
|
const notification = {
|
|
@@ -37939,7 +37892,7 @@ function NotificationsProvider({
|
|
|
37939
37892
|
},
|
|
37940
37893
|
[maxNotifications]
|
|
37941
37894
|
);
|
|
37942
|
-
const upsertNotification =
|
|
37895
|
+
const upsertNotification = React106.useCallback(
|
|
37943
37896
|
(input) => {
|
|
37944
37897
|
const notification = {
|
|
37945
37898
|
...input,
|
|
@@ -37952,48 +37905,48 @@ function NotificationsProvider({
|
|
|
37952
37905
|
},
|
|
37953
37906
|
[maxNotifications]
|
|
37954
37907
|
);
|
|
37955
|
-
const setNotifications =
|
|
37908
|
+
const setNotifications = React106.useCallback((list) => {
|
|
37956
37909
|
dispatch({ type: "set", notifications: list });
|
|
37957
37910
|
}, []);
|
|
37958
|
-
const markRead =
|
|
37911
|
+
const markRead = React106.useCallback((id) => {
|
|
37959
37912
|
dispatch({ type: "markRead", id });
|
|
37960
37913
|
void _optionalChain([actionsRef, 'access', _825 => _825.current, 'optionalAccess', _826 => _826.onMarkRead, 'optionalCall', _827 => _827(id)]);
|
|
37961
37914
|
}, []);
|
|
37962
|
-
const markAllRead =
|
|
37915
|
+
const markAllRead = React106.useCallback(() => {
|
|
37963
37916
|
dispatch({ type: "markAllRead" });
|
|
37964
37917
|
void _optionalChain([actionsRef, 'access', _828 => _828.current, 'optionalAccess', _829 => _829.onMarkAllRead, 'optionalCall', _830 => _830()]);
|
|
37965
37918
|
}, []);
|
|
37966
|
-
const markSettled =
|
|
37919
|
+
const markSettled = React106.useCallback((id) => {
|
|
37967
37920
|
dispatch({ type: "markSettled", id });
|
|
37968
37921
|
void _optionalChain([actionsRef, 'access', _831 => _831.current, 'optionalAccess', _832 => _832.onMarkSettled, 'optionalCall', _833 => _833(id)]);
|
|
37969
37922
|
}, []);
|
|
37970
|
-
const remove =
|
|
37923
|
+
const remove = React106.useCallback((id) => {
|
|
37971
37924
|
dispatch({ type: "remove", id });
|
|
37972
37925
|
void _optionalChain([actionsRef, 'access', _834 => _834.current, 'optionalAccess', _835 => _835.onRemove, 'optionalCall', _836 => _836(id)]);
|
|
37973
37926
|
}, []);
|
|
37974
|
-
const clear =
|
|
37975
|
-
const open =
|
|
37976
|
-
const close =
|
|
37977
|
-
const toggle =
|
|
37978
|
-
const setShowPopups =
|
|
37927
|
+
const clear = React106.useCallback(() => dispatch({ type: "clear" }), []);
|
|
37928
|
+
const open = React106.useCallback(() => setIsOpen(true), []);
|
|
37929
|
+
const close = React106.useCallback(() => setIsOpen(false), []);
|
|
37930
|
+
const toggle = React106.useCallback(() => setIsOpen((v) => !v), []);
|
|
37931
|
+
const setShowPopups = React106.useCallback(
|
|
37979
37932
|
(value2) => {
|
|
37980
37933
|
setShowPopupsState(value2);
|
|
37981
37934
|
_optionalChain([onShowPopupsChange, 'optionalCall', _837 => _837(value2)]);
|
|
37982
37935
|
},
|
|
37983
37936
|
[onShowPopupsChange]
|
|
37984
37937
|
);
|
|
37985
|
-
const setShowDesktopPopups =
|
|
37938
|
+
const setShowDesktopPopups = React106.useCallback(
|
|
37986
37939
|
(value2) => {
|
|
37987
37940
|
setShowDesktopPopupsState(value2);
|
|
37988
37941
|
_optionalChain([onShowDesktopPopupsChange, 'optionalCall', _838 => _838(value2)]);
|
|
37989
37942
|
},
|
|
37990
37943
|
[onShowDesktopPopupsChange]
|
|
37991
37944
|
);
|
|
37992
|
-
const unreadCount =
|
|
37945
|
+
const unreadCount = React106.useMemo(
|
|
37993
37946
|
() => notifications.reduce((acc, n) => n.read ? acc : acc + 1, 0),
|
|
37994
37947
|
[notifications]
|
|
37995
37948
|
);
|
|
37996
|
-
const value =
|
|
37949
|
+
const value = React106.useMemo(
|
|
37997
37950
|
() => ({
|
|
37998
37951
|
notifications,
|
|
37999
37952
|
unreadCount,
|
|
@@ -38052,14 +38005,14 @@ function NotificationsProvider({
|
|
|
38052
38005
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, NotificationsContext.Provider, { value, children });
|
|
38053
38006
|
}
|
|
38054
38007
|
function useNotifications() {
|
|
38055
|
-
const ctx =
|
|
38008
|
+
const ctx = React106.useContext(NotificationsContext);
|
|
38056
38009
|
if (!ctx) {
|
|
38057
38010
|
throw new Error("useNotifications must be used inside <NotificationsProvider>");
|
|
38058
38011
|
}
|
|
38059
38012
|
return ctx;
|
|
38060
38013
|
}
|
|
38061
38014
|
function useOptionalNotifications() {
|
|
38062
|
-
return
|
|
38015
|
+
return React106.useContext(NotificationsContext);
|
|
38063
38016
|
}
|
|
38064
38017
|
|
|
38065
38018
|
// src/components/features/notifications/notification-drawer.tsx
|
|
@@ -38082,7 +38035,7 @@ _chunkKI4EGKNVcjs.init_cn.call(void 0, );
|
|
|
38082
38035
|
|
|
38083
38036
|
|
|
38084
38037
|
|
|
38085
|
-
var DrawerOpenContext =
|
|
38038
|
+
var DrawerOpenContext = React107.createContext(false);
|
|
38086
38039
|
var AppLayoutDrawerRoot = ({
|
|
38087
38040
|
open: openProp,
|
|
38088
38041
|
defaultOpen,
|
|
@@ -38091,10 +38044,10 @@ var AppLayoutDrawerRoot = ({
|
|
|
38091
38044
|
children,
|
|
38092
38045
|
...rest
|
|
38093
38046
|
}) => {
|
|
38094
|
-
const [internalOpen, setInternalOpen] =
|
|
38047
|
+
const [internalOpen, setInternalOpen] = React107.useState(_nullishCoalesce(defaultOpen, () => ( false)));
|
|
38095
38048
|
const isControlled = openProp !== void 0;
|
|
38096
38049
|
const open = isControlled ? openProp : internalOpen;
|
|
38097
|
-
const handleOpenChange =
|
|
38050
|
+
const handleOpenChange = React107.useCallback(
|
|
38098
38051
|
(next) => {
|
|
38099
38052
|
if (!isControlled) setInternalOpen(next);
|
|
38100
38053
|
_optionalChain([onOpenChange, 'optionalCall', _839 => _839(next)]);
|
|
@@ -38102,11 +38055,11 @@ var AppLayoutDrawerRoot = ({
|
|
|
38102
38055
|
[isControlled, onOpenChange]
|
|
38103
38056
|
);
|
|
38104
38057
|
const coordination = useAppLayoutDrawerCoordination();
|
|
38105
|
-
const openRef =
|
|
38058
|
+
const openRef = React107.useRef(open);
|
|
38106
38059
|
openRef.current = open;
|
|
38107
|
-
const handleOpenChangeRef =
|
|
38060
|
+
const handleOpenChangeRef = React107.useRef(handleOpenChange);
|
|
38108
38061
|
handleOpenChangeRef.current = handleOpenChange;
|
|
38109
|
-
const selfHandleRef =
|
|
38062
|
+
const selfHandleRef = React107.useRef(null);
|
|
38110
38063
|
if (!selfHandleRef.current) {
|
|
38111
38064
|
selfHandleRef.current = {
|
|
38112
38065
|
close: () => {
|
|
@@ -38114,10 +38067,10 @@ var AppLayoutDrawerRoot = ({
|
|
|
38114
38067
|
}
|
|
38115
38068
|
};
|
|
38116
38069
|
}
|
|
38117
|
-
|
|
38070
|
+
React107.useEffect(() => {
|
|
38118
38071
|
if (open) _optionalChain([coordination, 'optionalAccess', _840 => _840.notifyDrawerDidOpen, 'call', _841 => _841(_nullishCoalesce(selfHandleRef.current, () => ( void 0)))]);
|
|
38119
38072
|
}, [open, coordination]);
|
|
38120
|
-
|
|
38073
|
+
React107.useEffect(() => {
|
|
38121
38074
|
if (!selfHandleRef.current) return;
|
|
38122
38075
|
return _optionalChain([coordination, 'optionalAccess', _842 => _842.registerDrawer, 'call', _843 => _843(selfHandleRef.current)]);
|
|
38123
38076
|
}, [coordination]);
|
|
@@ -38208,8 +38161,8 @@ function useContainedResizableSize({
|
|
|
38208
38161
|
storageKey,
|
|
38209
38162
|
container
|
|
38210
38163
|
}) {
|
|
38211
|
-
const [available, setAvailable] =
|
|
38212
|
-
|
|
38164
|
+
const [available, setAvailable] = React107.useState(0);
|
|
38165
|
+
React107.useEffect(() => {
|
|
38213
38166
|
if (!enabled || !container) return;
|
|
38214
38167
|
const update = () => {
|
|
38215
38168
|
setAvailable(isHorizontal ? container.clientWidth : container.clientHeight);
|
|
@@ -38219,14 +38172,14 @@ function useContainedResizableSize({
|
|
|
38219
38172
|
ro.observe(container);
|
|
38220
38173
|
return () => ro.disconnect();
|
|
38221
38174
|
}, [enabled, container, isHorizontal]);
|
|
38222
|
-
const clampToContainer =
|
|
38175
|
+
const clampToContainer = React107.useCallback(
|
|
38223
38176
|
(value) => {
|
|
38224
38177
|
const effectiveMax = available > 0 ? Math.min(maxSize, available - 40) : maxSize;
|
|
38225
38178
|
return clamp3(value, minSize, Math.max(minSize, effectiveMax));
|
|
38226
38179
|
},
|
|
38227
38180
|
[available, minSize, maxSize]
|
|
38228
38181
|
);
|
|
38229
|
-
const readInitial =
|
|
38182
|
+
const readInitial = React107.useCallback(() => {
|
|
38230
38183
|
if (!enabled) return defaultSize;
|
|
38231
38184
|
if (typeof window === "undefined") return defaultSize;
|
|
38232
38185
|
if (!storageKey) return defaultSize;
|
|
@@ -38236,23 +38189,23 @@ function useContainedResizableSize({
|
|
|
38236
38189
|
const parsed = parseFloat(raw);
|
|
38237
38190
|
if (!Number.isFinite(parsed)) return defaultSize;
|
|
38238
38191
|
return parsed;
|
|
38239
|
-
} catch (
|
|
38192
|
+
} catch (e78) {
|
|
38240
38193
|
return defaultSize;
|
|
38241
38194
|
}
|
|
38242
38195
|
}, [enabled, storageKey, defaultSize]);
|
|
38243
|
-
const [size2, setSizeRaw] =
|
|
38244
|
-
const setSize =
|
|
38196
|
+
const [size2, setSizeRaw] = React107.useState(readInitial);
|
|
38197
|
+
const setSize = React107.useCallback(
|
|
38245
38198
|
(next) => setSizeRaw(clampToContainer(next)),
|
|
38246
38199
|
[clampToContainer]
|
|
38247
38200
|
);
|
|
38248
|
-
|
|
38201
|
+
React107.useEffect(() => {
|
|
38249
38202
|
if (!enabled || !storageKey || typeof window === "undefined") return;
|
|
38250
38203
|
try {
|
|
38251
38204
|
window.localStorage.setItem(storageKey, String(Math.round(size2)));
|
|
38252
|
-
} catch (
|
|
38205
|
+
} catch (e79) {
|
|
38253
38206
|
}
|
|
38254
38207
|
}, [enabled, size2, storageKey]);
|
|
38255
|
-
|
|
38208
|
+
React107.useEffect(() => {
|
|
38256
38209
|
if (!enabled) return;
|
|
38257
38210
|
setSizeRaw((prev) => clampToContainer(prev));
|
|
38258
38211
|
}, [enabled, clampToContainer]);
|
|
@@ -38267,7 +38220,7 @@ function AppLayoutDrawerResizeHandle({
|
|
|
38267
38220
|
ariaLabel
|
|
38268
38221
|
}) {
|
|
38269
38222
|
const isHorizontal = HORIZONTAL_SIDES2.has(side);
|
|
38270
|
-
const startRef =
|
|
38223
|
+
const startRef = React107.useRef(null);
|
|
38271
38224
|
const direction = side === "right" || side === "bottom" ? -1 : 1;
|
|
38272
38225
|
const handlePointerDown = (e) => {
|
|
38273
38226
|
if (e.button !== 0 && e.pointerType === "mouse") return;
|
|
@@ -38288,7 +38241,7 @@ function AppLayoutDrawerResizeHandle({
|
|
|
38288
38241
|
startRef.current = null;
|
|
38289
38242
|
try {
|
|
38290
38243
|
e.currentTarget.releasePointerCapture(e.pointerId);
|
|
38291
|
-
} catch (
|
|
38244
|
+
} catch (e80) {
|
|
38292
38245
|
}
|
|
38293
38246
|
document.body.style.cursor = "";
|
|
38294
38247
|
document.body.style.userSelect = "";
|
|
@@ -38357,7 +38310,7 @@ function AppLayoutDrawerResizeHandle({
|
|
|
38357
38310
|
}
|
|
38358
38311
|
);
|
|
38359
38312
|
}
|
|
38360
|
-
var AppLayoutDrawerContent =
|
|
38313
|
+
var AppLayoutDrawerContent = React107.forwardRef(
|
|
38361
38314
|
({
|
|
38362
38315
|
side = "right",
|
|
38363
38316
|
flush = false,
|
|
@@ -38385,13 +38338,13 @@ var AppLayoutDrawerContent = React108.forwardRef(
|
|
|
38385
38338
|
}, ref) => {
|
|
38386
38339
|
const contextContainer = useAppLayoutDrawerContainer();
|
|
38387
38340
|
const portalContainer = container !== void 0 ? container : contextContainer;
|
|
38388
|
-
const open =
|
|
38389
|
-
const [hasOpened, setHasOpened] =
|
|
38390
|
-
|
|
38341
|
+
const open = React107.useContext(DrawerOpenContext);
|
|
38342
|
+
const [hasOpened, setHasOpened] = React107.useState(Boolean(open));
|
|
38343
|
+
React107.useEffect(() => {
|
|
38391
38344
|
if (open) setHasOpened(true);
|
|
38392
38345
|
}, [open]);
|
|
38393
38346
|
const persist = keepMounted && hasOpened;
|
|
38394
|
-
|
|
38347
|
+
React107.useEffect(() => {
|
|
38395
38348
|
if (!debugLayoutShift) return;
|
|
38396
38349
|
if (!open) return;
|
|
38397
38350
|
if (typeof window === "undefined") return;
|
|
@@ -38442,8 +38395,8 @@ var AppLayoutDrawerContent = React108.forwardRef(
|
|
|
38442
38395
|
const resolvedSide = _nullishCoalesce(side, () => ( "right"));
|
|
38443
38396
|
const isHorizontal = HORIZONTAL_SIDES2.has(resolvedSide);
|
|
38444
38397
|
const initialSize = _nullishCoalesce(defaultSize, () => ( (isHorizontal ? 560 : 480)));
|
|
38445
|
-
const [isMobile, setIsMobile] =
|
|
38446
|
-
|
|
38398
|
+
const [isMobile, setIsMobile] = React107.useState(false);
|
|
38399
|
+
React107.useEffect(() => {
|
|
38447
38400
|
if (typeof window === "undefined") return;
|
|
38448
38401
|
const mq = window.matchMedia(`(max-width: ${mobileBreakpoint - 1}px)`);
|
|
38449
38402
|
const update = () => setIsMobile(mq.matches);
|
|
@@ -39289,7 +39242,7 @@ function ApprovalRequestNotificationTile({
|
|
|
39289
39242
|
setLocalStatus(nextStatus);
|
|
39290
39243
|
try {
|
|
39291
39244
|
await action(batchData.approvalRequestId);
|
|
39292
|
-
} catch (
|
|
39245
|
+
} catch (e81) {
|
|
39293
39246
|
setLocalStatus(null);
|
|
39294
39247
|
return;
|
|
39295
39248
|
} finally {
|
|
@@ -39350,24 +39303,24 @@ function ApprovalRequestNotificationTile({
|
|
|
39350
39303
|
// src/components/features/time-tracker/time-tracker-context.tsx
|
|
39351
39304
|
|
|
39352
39305
|
|
|
39353
|
-
var TimeTrackerContext =
|
|
39306
|
+
var TimeTrackerContext = React108.createContext(null);
|
|
39354
39307
|
function TimeTrackerProvider({ children, defaultOpen = false, ...data }) {
|
|
39355
|
-
const [isOpen, setIsOpen] =
|
|
39356
|
-
const open =
|
|
39357
|
-
const close =
|
|
39358
|
-
const toggle =
|
|
39308
|
+
const [isOpen, setIsOpen] = React108.useState(defaultOpen);
|
|
39309
|
+
const open = React108.useCallback(() => setIsOpen(true), []);
|
|
39310
|
+
const close = React108.useCallback(() => setIsOpen(false), []);
|
|
39311
|
+
const toggle = React108.useCallback(() => setIsOpen((v) => !v), []);
|
|
39359
39312
|
const value = { ...data, isOpen, open, close, toggle };
|
|
39360
39313
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TimeTrackerContext.Provider, { value, children });
|
|
39361
39314
|
}
|
|
39362
39315
|
function useTimeTracker() {
|
|
39363
|
-
const ctx =
|
|
39316
|
+
const ctx = React108.useContext(TimeTrackerContext);
|
|
39364
39317
|
if (!ctx) {
|
|
39365
39318
|
throw new Error("useTimeTracker must be used inside <TimeTrackerProvider>");
|
|
39366
39319
|
}
|
|
39367
39320
|
return ctx;
|
|
39368
39321
|
}
|
|
39369
39322
|
function useOptionalTimeTracker() {
|
|
39370
|
-
return
|
|
39323
|
+
return React108.useContext(TimeTrackerContext);
|
|
39371
39324
|
}
|
|
39372
39325
|
|
|
39373
39326
|
// src/components/features/time-tracker/time-tracker-panel.tsx
|
|
@@ -39950,9 +39903,9 @@ _chunk7INXXQVKcjs.init_button.call(void 0, );
|
|
|
39950
39903
|
|
|
39951
39904
|
var dismissOpenTooltip = null;
|
|
39952
39905
|
function TouchFriendlyTooltip({ content, side = "left", children }) {
|
|
39953
|
-
const [open, setOpen] =
|
|
39954
|
-
const isTouchRef =
|
|
39955
|
-
const close =
|
|
39906
|
+
const [open, setOpen] = React109.useState(false);
|
|
39907
|
+
const isTouchRef = React109.useRef(false);
|
|
39908
|
+
const close = React109.useCallback(() => setOpen(false), []);
|
|
39956
39909
|
if (!content) return children;
|
|
39957
39910
|
const toggleFromTouch = () => {
|
|
39958
39911
|
setOpen((prev) => {
|
|
@@ -40190,7 +40143,7 @@ _chunkKI4EGKNVcjs.init_cn.call(void 0, );
|
|
|
40190
40143
|
|
|
40191
40144
|
|
|
40192
40145
|
function BoardTicketApproval({ pendingApproval, onApprove, onReject }) {
|
|
40193
|
-
const [expanded, setExpanded] =
|
|
40146
|
+
const [expanded, setExpanded] = React110.useState(false);
|
|
40194
40147
|
const { innerRef, containerStyle } = useCollapsible({ expanded });
|
|
40195
40148
|
const isAdmin = pendingApproval.approvalType === "ADMIN";
|
|
40196
40149
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "pointer-events-auto flex flex-col", children: [
|
|
@@ -40581,7 +40534,7 @@ function TicketTagRow({ tags }) {
|
|
|
40581
40534
|
|
|
40582
40535
|
_chunkKI4EGKNVcjs.init_cn.call(void 0, );
|
|
40583
40536
|
|
|
40584
|
-
var TicketCardSkeleton =
|
|
40537
|
+
var TicketCardSkeleton = React111.forwardRef(
|
|
40585
40538
|
({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
40586
40539
|
"div",
|
|
40587
40540
|
{
|
|
@@ -40594,20 +40547,20 @@ var TicketCardSkeleton = React112.forwardRef(
|
|
|
40594
40547
|
children: [
|
|
40595
40548
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start gap-[var(--spacing-system-sf)]", children: [
|
|
40596
40549
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col gap-[var(--spacing-system-xxs)]", children: [
|
|
40597
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "text-h3 flex items-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
40550
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "text-h3 flex items-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWPPBPRFUcjs.Skeleton, { className: "h-4 w-3/4" }) }),
|
|
40598
40551
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "text-h6 flex items-center gap-[var(--spacing-system-xxs)]", children: [
|
|
40599
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
40600
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
40552
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWPPBPRFUcjs.Skeleton, { className: "size-4 shrink-0 rounded-sm" }),
|
|
40553
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWPPBPRFUcjs.Skeleton, { className: "h-3 w-1/2" })
|
|
40601
40554
|
] })
|
|
40602
40555
|
] }),
|
|
40603
40556
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex shrink-0 items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
40604
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
40605
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
40557
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWPPBPRFUcjs.Skeleton, { className: "size-4 rounded-sm" }),
|
|
40558
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWPPBPRFUcjs.Skeleton, { className: "size-8 rounded-full" })
|
|
40606
40559
|
] })
|
|
40607
40560
|
] }),
|
|
40608
40561
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-8 items-center gap-[var(--spacing-system-xxs)]", children: [
|
|
40609
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
40610
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
40562
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWPPBPRFUcjs.Skeleton, { className: "h-8 w-16 rounded-md" }),
|
|
40563
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWPPBPRFUcjs.Skeleton, { className: "h-8 w-12 rounded-md" })
|
|
40611
40564
|
] })
|
|
40612
40565
|
]
|
|
40613
40566
|
}
|
|
@@ -41561,7 +41514,7 @@ function TicketStatusConfigList({
|
|
|
41561
41514
|
if (oldIndex === -1 || newIndex === -1) return;
|
|
41562
41515
|
onReorder(oldIndex, newIndex);
|
|
41563
41516
|
};
|
|
41564
|
-
const sortableIds =
|
|
41517
|
+
const sortableIds = React112.useMemo(() => items.map((i) => i.id), [items]);
|
|
41565
41518
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _core.DndContext, { sensors, collisionDetection: _core.closestCenter, onDragEnd: handleDragEnd, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _sortable.SortableContext, { items: sortableIds, strategy: _sortable.verticalListSortingStrategy, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkKI4EGKNVcjs.cn.call(void 0, "flex w-full flex-col gap-[var(--spacing-system-xs)]", className), children: items.map((item) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SortableRow, { id: item.id, children: (args) => renderRow(item, args) }, item.id)) }) }) });
|
|
41566
41519
|
}
|
|
41567
41520
|
function SortableRow({
|
|
@@ -41832,12 +41785,12 @@ var stampMs = (stamp) => {
|
|
|
41832
41785
|
return Number.isNaN(ms) ? 0 : ms;
|
|
41833
41786
|
};
|
|
41834
41787
|
var INVALIDATE_DEBOUNCE_MS = 1500;
|
|
41835
|
-
var TicketLiveContext =
|
|
41788
|
+
var TicketLiveContext = React127.default.createContext(null);
|
|
41836
41789
|
function useOptionalTicketLive() {
|
|
41837
|
-
return
|
|
41790
|
+
return React127.default.useContext(TicketLiveContext);
|
|
41838
41791
|
}
|
|
41839
41792
|
function useTicketLive() {
|
|
41840
|
-
const ctx =
|
|
41793
|
+
const ctx = React127.default.useContext(TicketLiveContext);
|
|
41841
41794
|
if (!ctx) {
|
|
41842
41795
|
throw new Error("useTicketLive must be used within <TicketLiveProvider>");
|
|
41843
41796
|
}
|
|
@@ -41856,13 +41809,13 @@ function TicketLiveProvider({ children }) {
|
|
|
41856
41809
|
const streamUrl = _nullishCoalesce(_optionalChain([runtime, 'optionalAccess', _971 => _971.endpoints, 'access', _972 => _972.ticketStreamUrl]), () => ( TICKET_STREAM_ENDPOINT));
|
|
41857
41810
|
const readUrl = _nullishCoalesce(_optionalChain([runtime, 'optionalAccess', _973 => _973.endpoints, 'access', _974 => _974.ticketReadUrl]), () => ( TICKET_READ_ENDPOINT));
|
|
41858
41811
|
const authed = identity.authTier !== "anon" && !!_optionalChain([identity, 'access', _975 => _975.user, 'optionalAccess', _976 => _976.email]);
|
|
41859
|
-
const [connected, setConnected] =
|
|
41860
|
-
const [summary, setSummary] =
|
|
41861
|
-
const [openTicketIdState, setOpenTicketIdState] =
|
|
41862
|
-
const openTicketIdRef =
|
|
41863
|
-
const pendingTicketIdsRef =
|
|
41864
|
-
const invalidateTimerRef =
|
|
41865
|
-
const flushInvalidations =
|
|
41812
|
+
const [connected, setConnected] = React127.default.useState(false);
|
|
41813
|
+
const [summary, setSummary] = React127.default.useState(EMPTY_SUMMARY);
|
|
41814
|
+
const [openTicketIdState, setOpenTicketIdState] = React127.default.useState(null);
|
|
41815
|
+
const openTicketIdRef = React127.default.useRef(null);
|
|
41816
|
+
const pendingTicketIdsRef = React127.default.useRef(/* @__PURE__ */ new Set());
|
|
41817
|
+
const invalidateTimerRef = React127.default.useRef(null);
|
|
41818
|
+
const flushInvalidations = React127.default.useCallback(() => {
|
|
41866
41819
|
invalidateTimerRef.current = null;
|
|
41867
41820
|
const ids = Array.from(pendingTicketIdsRef.current);
|
|
41868
41821
|
pendingTicketIdsRef.current.clear();
|
|
@@ -41871,7 +41824,7 @@ function TicketLiveProvider({ children }) {
|
|
|
41871
41824
|
void queryClient.invalidateQueries({ queryKey: ["ticket-engagements", id] });
|
|
41872
41825
|
}
|
|
41873
41826
|
}, [queryClient]);
|
|
41874
|
-
const scheduleInvalidation =
|
|
41827
|
+
const scheduleInvalidation = React127.default.useCallback(
|
|
41875
41828
|
(ticketId) => {
|
|
41876
41829
|
if (ticketId) pendingTicketIdsRef.current.add(ticketId);
|
|
41877
41830
|
if (invalidateTimerRef.current) return;
|
|
@@ -41879,7 +41832,7 @@ function TicketLiveProvider({ children }) {
|
|
|
41879
41832
|
},
|
|
41880
41833
|
[flushInvalidations]
|
|
41881
41834
|
);
|
|
41882
|
-
const bumpUnread =
|
|
41835
|
+
const bumpUnread = React127.default.useCallback((ticketId, createdAt) => {
|
|
41883
41836
|
setSummary((prev) => {
|
|
41884
41837
|
const stamp = _nullishCoalesce(createdAt, () => ( (/* @__PURE__ */ new Date()).toISOString()));
|
|
41885
41838
|
const existing = prev.latestUnreadAt[ticketId];
|
|
@@ -41893,7 +41846,7 @@ function TicketLiveProvider({ children }) {
|
|
|
41893
41846
|
};
|
|
41894
41847
|
});
|
|
41895
41848
|
}, []);
|
|
41896
|
-
const zeroUnread =
|
|
41849
|
+
const zeroUnread = React127.default.useCallback((ticketId) => {
|
|
41897
41850
|
setSummary((prev) => {
|
|
41898
41851
|
const current = _nullishCoalesce(prev.tickets[ticketId], () => ( 0));
|
|
41899
41852
|
if (current === 0) return prev;
|
|
@@ -41904,9 +41857,9 @@ function TicketLiveProvider({ children }) {
|
|
|
41904
41857
|
return { totalUnread: Math.max(0, prev.totalUnread - current), tickets, latestUnreadAt };
|
|
41905
41858
|
});
|
|
41906
41859
|
}, []);
|
|
41907
|
-
const subscriptionRef =
|
|
41908
|
-
const noStreamRef =
|
|
41909
|
-
const handlersRef =
|
|
41860
|
+
const subscriptionRef = React127.default.useRef(null);
|
|
41861
|
+
const noStreamRef = React127.default.useRef(false);
|
|
41862
|
+
const handlersRef = React127.default.useRef({ onEvent: () => {
|
|
41910
41863
|
}, onStatus: () => {
|
|
41911
41864
|
}, onConnected: () => {
|
|
41912
41865
|
} });
|
|
@@ -41959,7 +41912,7 @@ function TicketLiveProvider({ children }) {
|
|
|
41959
41912
|
if (status === "no-stream") noStreamRef.current = true;
|
|
41960
41913
|
};
|
|
41961
41914
|
const streamEnabled = authed && !!streamUrl;
|
|
41962
|
-
|
|
41915
|
+
React127.default.useEffect(() => {
|
|
41963
41916
|
if (!streamEnabled) return;
|
|
41964
41917
|
if (typeof window === "undefined") return;
|
|
41965
41918
|
subscriptionRef.current = createSseSubscription({
|
|
@@ -41990,7 +41943,7 @@ function TicketLiveProvider({ children }) {
|
|
|
41990
41943
|
setSummary(EMPTY_SUMMARY);
|
|
41991
41944
|
};
|
|
41992
41945
|
}, [streamEnabled, streamUrl]);
|
|
41993
|
-
const markRead =
|
|
41946
|
+
const markRead = React127.default.useCallback(
|
|
41994
41947
|
async (ticketExternalId) => {
|
|
41995
41948
|
try {
|
|
41996
41949
|
const response = await _chunkNK3M6F5Acjs.embedAuthedFetch.call(void 0, readUrl, {
|
|
@@ -42007,20 +41960,20 @@ function TicketLiveProvider({ children }) {
|
|
|
42007
41960
|
latestUnreadAt: _nullishCoalesce(body.summary.latestUnreadAt, () => ( {}))
|
|
42008
41961
|
});
|
|
42009
41962
|
}
|
|
42010
|
-
} catch (
|
|
41963
|
+
} catch (e82) {
|
|
42011
41964
|
}
|
|
42012
41965
|
},
|
|
42013
41966
|
[readUrl, zeroUnread]
|
|
42014
41967
|
);
|
|
42015
|
-
const setOpenTicketId =
|
|
41968
|
+
const setOpenTicketId = React127.default.useCallback((ticketExternalId) => {
|
|
42016
41969
|
openTicketIdRef.current = ticketExternalId;
|
|
42017
41970
|
setOpenTicketIdState(ticketExternalId);
|
|
42018
41971
|
}, []);
|
|
42019
|
-
const notifyTicketCreated =
|
|
41972
|
+
const notifyTicketCreated = React127.default.useCallback(() => {
|
|
42020
41973
|
noStreamRef.current = false;
|
|
42021
41974
|
_optionalChain([subscriptionRef, 'access', _988 => _988.current, 'optionalAccess', _989 => _989.reconnectNow, 'call', _990 => _990()]);
|
|
42022
41975
|
}, []);
|
|
42023
|
-
const value =
|
|
41976
|
+
const value = React127.default.useMemo(() => {
|
|
42024
41977
|
let unreadByTicket = summary.tickets;
|
|
42025
41978
|
let unreadTotal = summary.totalUnread;
|
|
42026
41979
|
if (openTicketIdState && unreadByTicket[openTicketIdState]) {
|
|
@@ -42256,7 +42209,7 @@ function Header2({ config, platform }) {
|
|
|
42256
42209
|
}, [config.autoHide]);
|
|
42257
42210
|
const renderNavigationItem = (item) => {
|
|
42258
42211
|
if (item.element) {
|
|
42259
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
42212
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, React127.default.Fragment, { children: item.element }, item.id);
|
|
42260
42213
|
}
|
|
42261
42214
|
if (item.children && item.children.length > 0) {
|
|
42262
42215
|
const isOpen = openDropdowns[item.id] || false;
|
|
@@ -43173,7 +43126,7 @@ function HeaderGlobalSearch({
|
|
|
43173
43126
|
placeholder = "Global Search",
|
|
43174
43127
|
className
|
|
43175
43128
|
}) {
|
|
43176
|
-
const [internalValue, setInternalValue] =
|
|
43129
|
+
const [internalValue, setInternalValue] = React127.default.useState(value);
|
|
43177
43130
|
const currentValue = onChange ? value : internalValue;
|
|
43178
43131
|
const handleChange = (e) => {
|
|
43179
43132
|
const newValue = e.target.value;
|
|
@@ -43294,8 +43247,8 @@ function HeaderOrganizationFilter({
|
|
|
43294
43247
|
const selectedOrg = organizations.find((o) => o.id === selectedOrgId);
|
|
43295
43248
|
const displayName = _optionalChain([selectedOrg, 'optionalAccess', _1080 => _1080.name]) || "All Organizations";
|
|
43296
43249
|
const deviceCount = _nullishCoalesce(_optionalChain([selectedOrg, 'optionalAccess', _1081 => _1081.deviceCount]), () => ( totalDeviceCount));
|
|
43297
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
43298
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
43250
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkWPPBPRFUcjs.DropdownMenu, { children: [
|
|
43251
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWPPBPRFUcjs.DropdownMenuTrigger, { asChild: true, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
43299
43252
|
"button",
|
|
43300
43253
|
{
|
|
43301
43254
|
className: _chunkKI4EGKNVcjs.cn.call(void 0,
|
|
@@ -43318,10 +43271,10 @@ function HeaderOrganizationFilter({
|
|
|
43318
43271
|
]
|
|
43319
43272
|
}
|
|
43320
43273
|
) }),
|
|
43321
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
43322
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
43274
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkWPPBPRFUcjs.DropdownMenuContent, { align: "end", className: "min-w-[240px]", children: [
|
|
43275
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWPPBPRFUcjs.DropdownMenuItem, { onClick: () => _optionalChain([onOrgChange, 'optionalCall', _1082 => _1082("")]), children: "All Organizations" }),
|
|
43323
43276
|
organizations.map((org) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
43324
|
-
|
|
43277
|
+
_chunkWPPBPRFUcjs.DropdownMenuItem,
|
|
43325
43278
|
{
|
|
43326
43279
|
onClick: () => _optionalChain([onOrgChange, 'optionalCall', _1083 => _1083(org.id)]),
|
|
43327
43280
|
children: org.name
|
|
@@ -43334,7 +43287,7 @@ function HeaderOrganizationFilter({
|
|
|
43334
43287
|
|
|
43335
43288
|
// src/components/navigation/app-header.tsx
|
|
43336
43289
|
|
|
43337
|
-
var AppHeader =
|
|
43290
|
+
var AppHeader = React127.default.memo(function AppHeader2({
|
|
43338
43291
|
showSearch,
|
|
43339
43292
|
onSearch,
|
|
43340
43293
|
showOrganizations,
|
|
@@ -43457,8 +43410,8 @@ var AppHeader = React128.default.memo(function AppHeader2({
|
|
|
43457
43410
|
className: _chunkKI4EGKNVcjs.cn.call(void 0, cellDivider, dimmedClass)
|
|
43458
43411
|
}
|
|
43459
43412
|
),
|
|
43460
|
-
isMdUp && showUser && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
43461
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
43413
|
+
isMdUp && showUser && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkWPPBPRFUcjs.DropdownMenu, { children: [
|
|
43414
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWPPBPRFUcjs.DropdownMenuTrigger, { asChild: true, disabled, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
43462
43415
|
HeaderButton,
|
|
43463
43416
|
{
|
|
43464
43417
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -43481,7 +43434,7 @@ var AppHeader = React128.default.memo(function AppHeader2({
|
|
|
43481
43434
|
}
|
|
43482
43435
|
) }),
|
|
43483
43436
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
43484
|
-
|
|
43437
|
+
_chunkWPPBPRFUcjs.DropdownMenuContent,
|
|
43485
43438
|
{
|
|
43486
43439
|
align: "end",
|
|
43487
43440
|
className: "w-[280px] p-0 bg-ods-bg border-ods-border rounded-[6px] overflow-hidden z-[104]",
|
|
@@ -43503,7 +43456,7 @@ var AppHeader = React128.default.memo(function AppHeader2({
|
|
|
43503
43456
|
] })
|
|
43504
43457
|
] }),
|
|
43505
43458
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
43506
|
-
|
|
43459
|
+
_chunkWPPBPRFUcjs.DropdownMenuItem,
|
|
43507
43460
|
{
|
|
43508
43461
|
onClick: onProfile,
|
|
43509
43462
|
className: "bg-ods-card border-b border-ods-border rounded-none px-3 py-3 hover:bg-ods-card/80 focus:bg-ods-card/80 cursor-pointer",
|
|
@@ -43514,7 +43467,7 @@ var AppHeader = React128.default.memo(function AppHeader2({
|
|
|
43514
43467
|
}
|
|
43515
43468
|
),
|
|
43516
43469
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
43517
|
-
|
|
43470
|
+
_chunkWPPBPRFUcjs.DropdownMenuItem,
|
|
43518
43471
|
{
|
|
43519
43472
|
onClick: onLogout,
|
|
43520
43473
|
className: "bg-ods-card rounded-none px-3 py-3 hover:bg-ods-card/80 focus:bg-ods-card/80 cursor-pointer",
|
|
@@ -43623,7 +43576,7 @@ function AppHeaderSkeleton({
|
|
|
43623
43576
|
|
|
43624
43577
|
|
|
43625
43578
|
var HEADER_HEIGHT = 56;
|
|
43626
|
-
var MobileBurgerMenu =
|
|
43579
|
+
var MobileBurgerMenu = React127.default.memo(function MobileBurgerMenu2({
|
|
43627
43580
|
isOpen,
|
|
43628
43581
|
onClose,
|
|
43629
43582
|
config,
|
|
@@ -43667,7 +43620,7 @@ var MobileBurgerMenu = React128.default.memo(function MobileBurgerMenu2({
|
|
|
43667
43620
|
),
|
|
43668
43621
|
"aria-current": isActive ? "page" : void 0,
|
|
43669
43622
|
children: [
|
|
43670
|
-
item.icon && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex-shrink-0 size-4 flex items-center justify-center", children:
|
|
43623
|
+
item.icon && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex-shrink-0 size-4 flex items-center justify-center", children: React127.default.cloneElement(item.icon, {
|
|
43671
43624
|
size: 16,
|
|
43672
43625
|
color: isActive && !disabled ? "var(--color-accent-primary)" : "var(--color-text-secondary)"
|
|
43673
43626
|
}) }),
|
|
@@ -43680,7 +43633,7 @@ var MobileBurgerMenu = React128.default.memo(function MobileBurgerMenu2({
|
|
|
43680
43633
|
item.id
|
|
43681
43634
|
);
|
|
43682
43635
|
};
|
|
43683
|
-
const renderNavigationGrid = (items) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "grid grid-cols-2 gap-3", children: items.map((item) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
43636
|
+
const renderNavigationGrid = (items) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "grid grid-cols-2 gap-3", children: items.map((item) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, React127.default.Fragment, { children: renderNavigationItem(item, true) }, item.id)) });
|
|
43684
43637
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
43685
43638
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
43686
43639
|
"div",
|
|
@@ -43772,7 +43725,7 @@ var MobileBurgerMenu = React128.default.memo(function MobileBurgerMenu2({
|
|
|
43772
43725
|
),
|
|
43773
43726
|
_optionalChain([config, 'access', _1089 => _1089.topSlot, 'optionalCall', _1090 => _1090({ minimized: false })]),
|
|
43774
43727
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "nav", { "aria-label": "Primary navigation", children: renderNavigationGrid(primaryItems) }),
|
|
43775
|
-
secondaryItems.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "nav", { "aria-label": "Secondary navigation", className: "flex flex-col gap-3", children: secondaryItems.map((item) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
43728
|
+
secondaryItems.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "nav", { "aria-label": "Secondary navigation", className: "flex flex-col gap-3", children: secondaryItems.map((item) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, React127.default.Fragment, { children: renderNavigationItem(item, false) }, item.id)) }),
|
|
43776
43729
|
onLogout && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
43777
43730
|
"button",
|
|
43778
43731
|
{
|
|
@@ -44379,9 +44332,9 @@ var ScriptArguments = ({
|
|
|
44379
44332
|
className: "flex gap-2 items-end w-full",
|
|
44380
44333
|
children: [
|
|
44381
44334
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-1 flex-col gap-1 min-w-0", children: [
|
|
44382
|
-
isFirstRow(index) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
44335
|
+
isFirstRow(index) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWPPBPRFUcjs.Label, { spacing: "tight", children: titleLabel }),
|
|
44383
44336
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
44384
|
-
|
|
44337
|
+
_chunkWPPBPRFUcjs.Input,
|
|
44385
44338
|
{
|
|
44386
44339
|
value: arg.key,
|
|
44387
44340
|
onChange: (e) => handleKeyChange(arg.id, e.target.value),
|
|
@@ -44392,7 +44345,7 @@ var ScriptArguments = ({
|
|
|
44392
44345
|
] }),
|
|
44393
44346
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-1 gap-2 items-center min-w-0", children: [
|
|
44394
44347
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex flex-1 flex-col gap-1 min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
44395
|
-
|
|
44348
|
+
_chunkWPPBPRFUcjs.Input,
|
|
44396
44349
|
{
|
|
44397
44350
|
value: arg.value,
|
|
44398
44351
|
onChange: (e) => handleValueChange(arg.id, e.target.value),
|
|
@@ -44455,7 +44408,7 @@ function OnboardingStepCard({
|
|
|
44455
44408
|
onSkip,
|
|
44456
44409
|
className
|
|
44457
44410
|
}) {
|
|
44458
|
-
const [isProcessing, setIsProcessing] =
|
|
44411
|
+
const [isProcessing, setIsProcessing] = React127.default.useState(false);
|
|
44459
44412
|
const handleAction = async (e) => {
|
|
44460
44413
|
e.stopPropagation();
|
|
44461
44414
|
setIsProcessing(true);
|
|
@@ -44567,7 +44520,7 @@ function OnboardingWalkthrough({
|
|
|
44567
44520
|
const autoMarkingInProgressRef = _react.useRef.call(void 0, false);
|
|
44568
44521
|
const lastCompletionStatusRef = _react.useRef.call(void 0, null);
|
|
44569
44522
|
const actionInProgressRef = _react.useRef.call(void 0, /* @__PURE__ */ new Set());
|
|
44570
|
-
|
|
44523
|
+
React127.default.useEffect(() => {
|
|
44571
44524
|
if (isLoadingCompletion) {
|
|
44572
44525
|
hasAutoMarkedRef.current = false;
|
|
44573
44526
|
return;
|
|
@@ -44698,7 +44651,7 @@ var LOG_SEVERITY_LABELS = {
|
|
|
44698
44651
|
|
|
44699
44652
|
// src/components/log-severity-dot.tsx
|
|
44700
44653
|
|
|
44701
|
-
var LogSeverityDot =
|
|
44654
|
+
var LogSeverityDot = React123.forwardRef(({ severity, size: size2 = "md", className }, ref) => {
|
|
44702
44655
|
const sizeClasses2 = {
|
|
44703
44656
|
sm: "w-4 h-4",
|
|
44704
44657
|
md: "w-6 h-6",
|
|
@@ -44788,7 +44741,7 @@ var LogCard = ({ log, isLast, showConnector, onClick }) => {
|
|
|
44788
44741
|
)
|
|
44789
44742
|
] });
|
|
44790
44743
|
};
|
|
44791
|
-
var LogsList =
|
|
44744
|
+
var LogsList = React124.forwardRef(({
|
|
44792
44745
|
logs,
|
|
44793
44746
|
maxHeight = "400px",
|
|
44794
44747
|
showConnector = true,
|
|
@@ -44797,7 +44750,7 @@ var LogsList = React125.forwardRef(({
|
|
|
44797
44750
|
emptyMessage = "No logs to display",
|
|
44798
44751
|
className
|
|
44799
44752
|
}, ref) => {
|
|
44800
|
-
const containerRef =
|
|
44753
|
+
const containerRef = React124.useRef(null);
|
|
44801
44754
|
const isFullHeight = maxHeight === "100%";
|
|
44802
44755
|
const getContainerStyles = () => {
|
|
44803
44756
|
if (isFullHeight) return void 0;
|
|
@@ -44969,7 +44922,7 @@ function ServiceCardRowItem({ row }) {
|
|
|
44969
44922
|
_chunkKI4EGKNVcjs.init_cn.call(void 0, );
|
|
44970
44923
|
|
|
44971
44924
|
|
|
44972
|
-
var Slider =
|
|
44925
|
+
var Slider = React126.forwardRef(
|
|
44973
44926
|
({ className, value = [0], onValueChange, min = 0, max = 100, step = 1, ...props }, ref) => {
|
|
44974
44927
|
const handleChange = (e) => {
|
|
44975
44928
|
const newValue = [Number(e.target.value)];
|
|
@@ -45543,7 +45496,7 @@ function TableHeader({
|
|
|
45543
45496
|
),
|
|
45544
45497
|
children: [
|
|
45545
45498
|
selectable && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-center justify-center w-10 shrink-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
45546
|
-
|
|
45499
|
+
_chunkWPPBPRFUcjs.Checkbox,
|
|
45547
45500
|
{
|
|
45548
45501
|
checked: allSelected || someSelected && !allSelected ? true : false,
|
|
45549
45502
|
onCheckedChange: onSelectAll,
|
|
@@ -45811,7 +45764,7 @@ function TableRow({
|
|
|
45811
45764
|
),
|
|
45812
45765
|
children: [
|
|
45813
45766
|
selectable && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-center justify-center w-10 shrink-0 pointer-events-auto", "data-no-row-click": true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
45814
|
-
|
|
45767
|
+
_chunkWPPBPRFUcjs.Checkbox,
|
|
45815
45768
|
{
|
|
45816
45769
|
checked: selected,
|
|
45817
45770
|
onCheckedChange: handleSelect,
|
|
@@ -47381,13 +47334,13 @@ function SearchInput({
|
|
|
47381
47334
|
limitTags = "auto",
|
|
47382
47335
|
getLimitTagsText = (more) => `+${more}`
|
|
47383
47336
|
}) {
|
|
47384
|
-
const [internalValue, setInternalValue] =
|
|
47337
|
+
const [internalValue, setInternalValue] = React129.useState(defaultValue);
|
|
47385
47338
|
const currentValue = onChange ? _nullishCoalesce(value, () => ( "")) : internalValue;
|
|
47386
47339
|
const debouncedValue = _chunkNK3M6F5Acjs.useDebounce.call(void 0, currentValue, debounceMs);
|
|
47387
|
-
const [isOpen, setIsOpen] =
|
|
47388
|
-
const [highlightedIndex, setHighlightedIndex] =
|
|
47340
|
+
const [isOpen, setIsOpen] = React129.useState(false);
|
|
47341
|
+
const [highlightedIndex, setHighlightedIndex] = React129.useState(-1);
|
|
47389
47342
|
const keyboardPadding = _chunkNK3M6F5Acjs.useKeyboardCollisionPadding.call(void 0, );
|
|
47390
|
-
const containerRef =
|
|
47343
|
+
const containerRef = React129.useRef(null);
|
|
47391
47344
|
const currentPlaceholder = filterChips.length > 0 ? "Add filter..." : placeholder;
|
|
47392
47345
|
const {
|
|
47393
47346
|
visibleCount: rawVisibleCount,
|
|
@@ -47404,10 +47357,10 @@ function SearchInput({
|
|
|
47404
47357
|
placeholder: filterChips.length > 0 ? "" : placeholder
|
|
47405
47358
|
});
|
|
47406
47359
|
const visibleCount = filterChips.length > 0 ? Math.max(1, rawVisibleCount) : rawVisibleCount;
|
|
47407
|
-
const hiddenTagsRef =
|
|
47408
|
-
const hiddenTagsPopupRef =
|
|
47409
|
-
const [showHiddenTags, setShowHiddenTags] =
|
|
47410
|
-
|
|
47360
|
+
const hiddenTagsRef = React129.useRef(null);
|
|
47361
|
+
const hiddenTagsPopupRef = React129.useRef(null);
|
|
47362
|
+
const [showHiddenTags, setShowHiddenTags] = React129.useState(false);
|
|
47363
|
+
React129.useEffect(() => {
|
|
47411
47364
|
if (!showHiddenTags) return;
|
|
47412
47365
|
const handleClick = (e) => {
|
|
47413
47366
|
const target = e.target;
|
|
@@ -47421,7 +47374,7 @@ function SearchInput({
|
|
|
47421
47374
|
const hiddenCount = filterChips.length - visibleCount;
|
|
47422
47375
|
const visibleChips = filterChips.slice(0, visibleCount);
|
|
47423
47376
|
const hiddenChips = filterChips.slice(visibleCount);
|
|
47424
|
-
const { flatResults, groups } =
|
|
47377
|
+
const { flatResults, groups } = React129.useMemo(() => {
|
|
47425
47378
|
if (!groupBy) return { flatResults: results, groups: null };
|
|
47426
47379
|
const grouped = /* @__PURE__ */ new Map();
|
|
47427
47380
|
for (const r of results) {
|
|
@@ -47438,7 +47391,7 @@ function SearchInput({
|
|
|
47438
47391
|
const meetsMinQuery = debouncedValue.length >= minQueryLength;
|
|
47439
47392
|
const autoShow = meetsMinQuery;
|
|
47440
47393
|
const dropdownVisible = _nullishCoalesce(showDropdownProp, () => ( (isOpen && autoShow)));
|
|
47441
|
-
|
|
47394
|
+
React129.useEffect(() => {
|
|
47442
47395
|
setHighlightedIndex(-1);
|
|
47443
47396
|
}, [flatResults.length]);
|
|
47444
47397
|
const handleChange = (e) => {
|
|
@@ -47768,7 +47721,7 @@ function FilterListItem({
|
|
|
47768
47721
|
"flex items-start gap-[var(--spacing-system-xxs)] text-h6",
|
|
47769
47722
|
selected ? "text-ods-accent" : "text-ods-text-secondary"
|
|
47770
47723
|
),
|
|
47771
|
-
children: meta.map((item, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
47724
|
+
children: meta.map((item, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, React130.Fragment, { children: [
|
|
47772
47725
|
index > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { "aria-hidden": "true", children: "\u2022" }),
|
|
47773
47726
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: item })
|
|
47774
47727
|
] }, index))
|
|
@@ -48363,11 +48316,11 @@ function FileUpload({
|
|
|
48363
48316
|
acceptWindowDrops = false,
|
|
48364
48317
|
pickFiles
|
|
48365
48318
|
}) {
|
|
48366
|
-
const [dragActive, setDragActive] =
|
|
48367
|
-
const [validationError, setValidationError] =
|
|
48368
|
-
const fileInputRef =
|
|
48319
|
+
const [dragActive, setDragActive] = React132.useState(false);
|
|
48320
|
+
const [validationError, setValidationError] = React132.useState(null);
|
|
48321
|
+
const fileInputRef = React132.useRef(null);
|
|
48369
48322
|
const isManaged = managedFiles !== void 0;
|
|
48370
|
-
const files =
|
|
48323
|
+
const files = React132.useMemo(() => {
|
|
48371
48324
|
if (!value) return [];
|
|
48372
48325
|
return Array.isArray(value) ? value : [value];
|
|
48373
48326
|
}, [value]);
|
|
@@ -48415,7 +48368,7 @@ function FileUpload({
|
|
|
48415
48368
|
fileInputRef.current.value = "";
|
|
48416
48369
|
}
|
|
48417
48370
|
};
|
|
48418
|
-
const handleFilesRef =
|
|
48371
|
+
const handleFilesRef = React132.useRef(handleFiles);
|
|
48419
48372
|
handleFilesRef.current = handleFiles;
|
|
48420
48373
|
const handleDrag = (e) => {
|
|
48421
48374
|
e.preventDefault();
|
|
@@ -48436,7 +48389,7 @@ function FileUpload({
|
|
|
48436
48389
|
handleFiles(e.dataTransfer.files);
|
|
48437
48390
|
}
|
|
48438
48391
|
};
|
|
48439
|
-
|
|
48392
|
+
React132.useEffect(() => {
|
|
48440
48393
|
if (!acceptWindowDrops || disabled) return;
|
|
48441
48394
|
let dragCounter = 0;
|
|
48442
48395
|
const onWindowDragEnter = (e) => {
|
|
@@ -48513,7 +48466,7 @@ function FileUpload({
|
|
|
48513
48466
|
const displayError = error || validationError || void 0;
|
|
48514
48467
|
const hasFiles = isManaged ? managedFiles.length > 0 : files.length > 0;
|
|
48515
48468
|
const showDropzone = multiple || !hasFiles;
|
|
48516
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
48469
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkWPPBPRFUcjs.FieldWrapper, { label: fieldLabel, error: displayError, className, children: [
|
|
48517
48470
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
48518
48471
|
"input",
|
|
48519
48472
|
{
|
|
@@ -48679,10 +48632,10 @@ function ImageUploader({
|
|
|
48679
48632
|
className,
|
|
48680
48633
|
dropzoneClassName
|
|
48681
48634
|
}) {
|
|
48682
|
-
const inputRef =
|
|
48683
|
-
const [dragActive, setDragActive] =
|
|
48684
|
-
const [pressed, setPressed] =
|
|
48685
|
-
const [validationError, setValidationError] =
|
|
48635
|
+
const inputRef = React133.useRef(null);
|
|
48636
|
+
const [dragActive, setDragActive] = React133.useState(false);
|
|
48637
|
+
const [pressed, setPressed] = React133.useState(false);
|
|
48638
|
+
const [validationError, setValidationError] = React133.useState(null);
|
|
48686
48639
|
const interactive = !disabled && !loading;
|
|
48687
48640
|
const resolvedValue = _chunkNK3M6F5Acjs.useAuthedImageSrc.call(void 0, value);
|
|
48688
48641
|
const hasImage = Boolean(value);
|
|
@@ -48731,7 +48684,7 @@ function ImageUploader({
|
|
|
48731
48684
|
}
|
|
48732
48685
|
};
|
|
48733
48686
|
const isActionState = dragActive || pressed && !hasImage;
|
|
48734
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
48687
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkWPPBPRFUcjs.FieldWrapper, { label: fieldLabel, error: displayError, className, children: [
|
|
48735
48688
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
48736
48689
|
"input",
|
|
48737
48690
|
{
|
|
@@ -48858,7 +48811,7 @@ _chunkKI4EGKNVcjs.init_cn.call(void 0, );
|
|
|
48858
48811
|
|
|
48859
48812
|
var Popover2 = PopoverPrimitive7.Root;
|
|
48860
48813
|
var PopoverTrigger = PopoverPrimitive7.Trigger;
|
|
48861
|
-
var PopoverContent =
|
|
48814
|
+
var PopoverContent = React134.forwardRef(({ className, align = "center", sideOffset = 4, collisionPadding, ...props }, ref) => {
|
|
48862
48815
|
const keyboardPadding = _chunkNK3M6F5Acjs.useKeyboardCollisionPadding.call(void 0, );
|
|
48863
48816
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, PopoverPrimitive7.Portal, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
48864
48817
|
PopoverPrimitive7.Content,
|
|
@@ -48959,15 +48912,15 @@ var FORMATS = ["HEX", "RGB", "HSL"];
|
|
|
48959
48912
|
var channelInputClass = "flex-1 min-w-0 [&_input]:text-center [&_input]:tabular-nums";
|
|
48960
48913
|
var hexInputClass = "flex-1 min-w-0 [&_input]:uppercase";
|
|
48961
48914
|
function HexInputs({ value, onChange }) {
|
|
48962
|
-
const [draft, setDraft] =
|
|
48963
|
-
|
|
48915
|
+
const [draft, setDraft] = React135.useState(value);
|
|
48916
|
+
React135.useEffect(() => setDraft(value), [value]);
|
|
48964
48917
|
const commit = () => {
|
|
48965
48918
|
const candidate = (draft.startsWith("#") ? draft : `#${draft}`).toLowerCase();
|
|
48966
48919
|
if (HEX_PATTERN.test(candidate)) onChange(candidate);
|
|
48967
48920
|
else setDraft(value);
|
|
48968
48921
|
};
|
|
48969
48922
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
48970
|
-
|
|
48923
|
+
_chunkWPPBPRFUcjs.Input,
|
|
48971
48924
|
{
|
|
48972
48925
|
type: "text",
|
|
48973
48926
|
value: draft,
|
|
@@ -48992,8 +48945,8 @@ function ChannelInput({
|
|
|
48992
48945
|
ariaLabel,
|
|
48993
48946
|
onCommit
|
|
48994
48947
|
}) {
|
|
48995
|
-
const [draft, setDraft] =
|
|
48996
|
-
|
|
48948
|
+
const [draft, setDraft] = React135.useState(String(value));
|
|
48949
|
+
React135.useEffect(() => setDraft(String(value)), [value]);
|
|
48997
48950
|
const commit = () => {
|
|
48998
48951
|
const parsed = Number.parseInt(draft, 10);
|
|
48999
48952
|
if (!Number.isFinite(parsed)) {
|
|
@@ -49003,7 +48956,7 @@ function ChannelInput({
|
|
|
49003
48956
|
onCommit(Math.max(min, Math.min(max, parsed)));
|
|
49004
48957
|
};
|
|
49005
48958
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
49006
|
-
|
|
48959
|
+
_chunkWPPBPRFUcjs.Input,
|
|
49007
48960
|
{
|
|
49008
48961
|
type: "text",
|
|
49009
48962
|
inputMode: "numeric",
|
|
@@ -49053,8 +49006,8 @@ function HslInputs({ value, onChange }) {
|
|
|
49053
49006
|
] });
|
|
49054
49007
|
}
|
|
49055
49008
|
function ColorPickerInput({ value, onChange, disabled, className }) {
|
|
49056
|
-
const [open, setOpen] =
|
|
49057
|
-
const [format3, setFormat] =
|
|
49009
|
+
const [open, setOpen] = React135.useState(false);
|
|
49010
|
+
const [format3, setFormat] = React135.useState("HEX");
|
|
49058
49011
|
const formatGroups = [
|
|
49059
49012
|
{
|
|
49060
49013
|
items: FORMATS.map((f) => ({
|
|
@@ -49162,7 +49115,7 @@ function TicketStatusConfigRow({
|
|
|
49162
49115
|
) }),
|
|
49163
49116
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-wrap items-start gap-x-3 gap-y-4 md:flex-nowrap md:gap-[var(--spacing-system-m)]", children: [
|
|
49164
49117
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkKI4EGKNVcjs.cn.call(void 0, "flex flex-col gap-[var(--spacing-system-xxs)]", colClass), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
49165
|
-
|
|
49118
|
+
_chunkWPPBPRFUcjs.Input,
|
|
49166
49119
|
{
|
|
49167
49120
|
value: name,
|
|
49168
49121
|
onChange: (e) => _optionalChain([onNameChange, 'optionalCall', _1236 => _1236(e.target.value)]),
|
|
@@ -49232,8 +49185,8 @@ function TestResultsSkeleton() {
|
|
|
49232
49185
|
] }) });
|
|
49233
49186
|
}
|
|
49234
49187
|
function TestResultsTable({ rows, loading }) {
|
|
49235
|
-
const columnKeys =
|
|
49236
|
-
const columns =
|
|
49188
|
+
const columnKeys = React136.useMemo(() => rows.length > 0 ? Object.keys(rows[0]) : [], [rows]);
|
|
49189
|
+
const columns = React136.useMemo(() => {
|
|
49237
49190
|
return columnKeys.map((key) => ({
|
|
49238
49191
|
id: key,
|
|
49239
49192
|
accessorFn: (row) => row[key],
|
|
@@ -49326,10 +49279,10 @@ function TestRunStatusStat({ status, className }) {
|
|
|
49326
49279
|
] });
|
|
49327
49280
|
}
|
|
49328
49281
|
function useTestRunState(campaign) {
|
|
49329
|
-
const [hasRun, setHasRun] =
|
|
49330
|
-
const [isStarting, setIsStarting] =
|
|
49331
|
-
const [durationMs, setDurationMs] =
|
|
49332
|
-
|
|
49282
|
+
const [hasRun, setHasRun] = React136.useState(false);
|
|
49283
|
+
const [isStarting, setIsStarting] = React136.useState(false);
|
|
49284
|
+
const [durationMs, setDurationMs] = React136.useState(0);
|
|
49285
|
+
React136.useEffect(() => {
|
|
49333
49286
|
if (!campaign.startedAt || !campaign.isRunning) {
|
|
49334
49287
|
if (campaign.startedAt && !campaign.isRunning) {
|
|
49335
49288
|
setDurationMs(Date.now() - campaign.startedAt.getTime());
|
|
@@ -49342,7 +49295,7 @@ function useTestRunState(campaign) {
|
|
|
49342
49295
|
}, 1e3);
|
|
49343
49296
|
return () => clearInterval(interval);
|
|
49344
49297
|
}, [campaign.startedAt, campaign.isRunning]);
|
|
49345
|
-
const run =
|
|
49298
|
+
const run = React136.useCallback(async (start) => {
|
|
49346
49299
|
setHasRun(true);
|
|
49347
49300
|
setDurationMs(0);
|
|
49348
49301
|
setIsStarting(true);
|
|
@@ -49352,11 +49305,11 @@ function useTestRunState(campaign) {
|
|
|
49352
49305
|
setIsStarting(false);
|
|
49353
49306
|
}
|
|
49354
49307
|
}, []);
|
|
49355
|
-
const stop =
|
|
49308
|
+
const stop = React136.useCallback(() => {
|
|
49356
49309
|
setIsStarting(false);
|
|
49357
49310
|
campaign.stopCampaign();
|
|
49358
49311
|
}, [campaign.stopCampaign]);
|
|
49359
|
-
const reset =
|
|
49312
|
+
const reset = React136.useCallback(() => {
|
|
49360
49313
|
setIsStarting(false);
|
|
49361
49314
|
campaign.stopCampaign();
|
|
49362
49315
|
setDurationMs(0);
|
|
@@ -49370,7 +49323,7 @@ function useTestRunState(campaign) {
|
|
|
49370
49323
|
const showTiming = hasRun && campaign.startedAt !== null && (campaign.isRunning || isFinished);
|
|
49371
49324
|
const startedLabel = showTiming && campaign.startedAt ? formatTime(campaign.startedAt) : "00:00 PM";
|
|
49372
49325
|
const durationLabel = showTiming ? formatTestRunDuration(durationMs) : "00:00:00";
|
|
49373
|
-
const displayRows =
|
|
49326
|
+
const displayRows = React136.useMemo(
|
|
49374
49327
|
() => campaign.results.map(
|
|
49375
49328
|
(row) => Object.fromEntries(Object.entries(row).map(([key, value]) => [key.replace(/_/g, " "), value]))
|
|
49376
49329
|
),
|
|
@@ -49484,8 +49437,8 @@ _chunkKI4EGKNVcjs.init_cn.call(void 0, );
|
|
|
49484
49437
|
_chunkKI4EGKNVcjs.init_cn.call(void 0, );
|
|
49485
49438
|
|
|
49486
49439
|
function TicketNoteCard({ note, onEdit, onDelete, className }) {
|
|
49487
|
-
const [isEditing, setIsEditing] =
|
|
49488
|
-
const [editText, setEditText] =
|
|
49440
|
+
const [isEditing, setIsEditing] = React137.useState(false);
|
|
49441
|
+
const [editText, setEditText] = React137.useState(note.text);
|
|
49489
49442
|
const handleSave = () => {
|
|
49490
49443
|
const trimmed = editText.trim();
|
|
49491
49444
|
if (!trimmed || !onEdit) return;
|
|
@@ -49527,7 +49480,7 @@ function TicketNoteCard({ note, onEdit, onDelete, className }) {
|
|
|
49527
49480
|
),
|
|
49528
49481
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex-1 min-w-0 overflow-hidden", children: isEditing ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
|
|
49529
49482
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
49530
|
-
|
|
49483
|
+
_chunkWPPBPRFUcjs.Input,
|
|
49531
49484
|
{
|
|
49532
49485
|
value: editText,
|
|
49533
49486
|
onChange: (e) => setEditText(e.target.value),
|
|
@@ -49608,7 +49561,7 @@ function TicketNotesSection({
|
|
|
49608
49561
|
isAddingNote,
|
|
49609
49562
|
className
|
|
49610
49563
|
}) {
|
|
49611
|
-
const [noteText, setNoteText] =
|
|
49564
|
+
const [noteText, setNoteText] = React138.useState("");
|
|
49612
49565
|
const handleSend = () => {
|
|
49613
49566
|
const trimmed = noteText.trim();
|
|
49614
49567
|
if (!trimmed || !onAddNote || isAddingNote) return;
|
|
@@ -49633,7 +49586,7 @@ function TicketNotesSection({
|
|
|
49633
49586
|
)),
|
|
49634
49587
|
onAddNote && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
|
|
49635
49588
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
49636
|
-
|
|
49589
|
+
_chunkWPPBPRFUcjs.Input,
|
|
49637
49590
|
{
|
|
49638
49591
|
value: noteText,
|
|
49639
49592
|
onChange: (e) => setNoteText(e.target.value),
|
|
@@ -49839,9 +49792,9 @@ function TakeOverTicketModal({
|
|
|
49839
49792
|
isPending = false,
|
|
49840
49793
|
onConfirm
|
|
49841
49794
|
}) {
|
|
49842
|
-
const [statusId, setStatusId] =
|
|
49843
|
-
const [assigneeId, setAssigneeId] =
|
|
49844
|
-
|
|
49795
|
+
const [statusId, setStatusId] = React139.useState(null);
|
|
49796
|
+
const [assigneeId, setAssigneeId] = React139.useState(null);
|
|
49797
|
+
React139.useEffect(() => {
|
|
49845
49798
|
if (!isOpen) return;
|
|
49846
49799
|
setStatusId(_nullishCoalesce(initialStatusId, () => ( null)));
|
|
49847
49800
|
setAssigneeId(_nullishCoalesce(initialAssigneeId, () => ( null)));
|
|
@@ -49933,10 +49886,10 @@ function ReopenTicketModal({
|
|
|
49933
49886
|
isPending = false,
|
|
49934
49887
|
onConfirm
|
|
49935
49888
|
}) {
|
|
49936
|
-
const [statusId, setStatusId] =
|
|
49937
|
-
const [assigneeId, setAssigneeId] =
|
|
49938
|
-
const [reason, setReason] =
|
|
49939
|
-
|
|
49889
|
+
const [statusId, setStatusId] = React140.useState(null);
|
|
49890
|
+
const [assigneeId, setAssigneeId] = React140.useState(null);
|
|
49891
|
+
const [reason, setReason] = React140.useState("");
|
|
49892
|
+
React140.useEffect(() => {
|
|
49940
49893
|
if (!isOpen) return;
|
|
49941
49894
|
setStatusId(_nullishCoalesce(initialStatusId, () => ( null)));
|
|
49942
49895
|
setAssigneeId(_nullishCoalesce(initialAssigneeId, () => ( null)));
|
|
@@ -50040,9 +49993,9 @@ function ReopenTicketRequestModal({
|
|
|
50040
49993
|
isPending = false,
|
|
50041
49994
|
onConfirm
|
|
50042
49995
|
}) {
|
|
50043
|
-
const [reason, setReason] =
|
|
50044
|
-
const [handoff, setHandoff] =
|
|
50045
|
-
|
|
49996
|
+
const [reason, setReason] = React141.useState("");
|
|
49997
|
+
const [handoff, setHandoff] = React141.useState(false);
|
|
49998
|
+
React141.useEffect(() => {
|
|
50046
49999
|
if (!isOpen) return;
|
|
50047
50000
|
setReason("");
|
|
50048
50001
|
setHandoff(false);
|
|
@@ -50572,7 +50525,7 @@ function parseRepoFromUrl(url) {
|
|
|
50572
50525
|
if (u.host !== "github.com") return null;
|
|
50573
50526
|
const parts = u.pathname.split("/").filter(Boolean);
|
|
50574
50527
|
if (parts.length >= 2) return `${parts[0]}/${parts[1]}`;
|
|
50575
|
-
} catch (
|
|
50528
|
+
} catch (e83) {
|
|
50576
50529
|
}
|
|
50577
50530
|
return null;
|
|
50578
50531
|
}
|
|
@@ -50703,7 +50656,7 @@ function GitHubActivityCard({ item, variant = "compact", className, anchorProps
|
|
|
50703
50656
|
reviewState ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ReviewStateBadge, { state: reviewState }) : null,
|
|
50704
50657
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: COMPACT_CARD_TITLE, children: primaryText })
|
|
50705
50658
|
] }),
|
|
50706
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: COMPACT_CARD_META_ROW, children: metaParts.map((part, i) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
50659
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: COMPACT_CARD_META_ROW, children: metaParts.map((part, i) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, React127.default.Fragment, { children: [
|
|
50707
50660
|
i > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-text-secondary/40 shrink-0", children: "\xB7" }) : null,
|
|
50708
50661
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 truncate", children: part })
|
|
50709
50662
|
] }, i)) }) }),
|
|
@@ -50760,7 +50713,7 @@ function parseChannelFromUrl(url) {
|
|
|
50760
50713
|
const parts = u.pathname.split("/").filter(Boolean);
|
|
50761
50714
|
const archivesIdx = parts.indexOf("archives");
|
|
50762
50715
|
if (archivesIdx !== -1 && parts.length > archivesIdx + 1) return parts[archivesIdx + 1];
|
|
50763
|
-
} catch (
|
|
50716
|
+
} catch (e84) {
|
|
50764
50717
|
}
|
|
50765
50718
|
return null;
|
|
50766
50719
|
}
|
|
@@ -50795,7 +50748,7 @@ function SlackMessageCard({ item, variant = "compact", className, anchorProps })
|
|
|
50795
50748
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: COMPACT_CARD_TEXT_COL, children: [
|
|
50796
50749
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: COMPACT_CARD_TITLE, children: item.title }) }),
|
|
50797
50750
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: COMPACT_CARD_SUMMARY, children: item.preview || COMPACT_CARD_ROW_FILLER }) }),
|
|
50798
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: COMPACT_CARD_META_ROW, children: metaParts.length > 0 ? metaParts.map((part, i) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
50751
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: COMPACT_CARD_META_ROW, children: metaParts.length > 0 ? metaParts.map((part, i) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, React127.default.Fragment, { children: [
|
|
50799
50752
|
i > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-text-secondary/40 shrink-0", children: "\xB7" }) : null,
|
|
50800
50753
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 truncate", children: part })
|
|
50801
50754
|
] }, i)) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: COMPACT_CARD_SUMMARY, children: COMPACT_CARD_ROW_FILLER }) }) })
|
|
@@ -50907,7 +50860,7 @@ function HubspotTicketCard({ item, variant = "compact", className, anchorProps }
|
|
|
50907
50860
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 truncate", children: item.customerEmail })
|
|
50908
50861
|
] }) : null,
|
|
50909
50862
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "line-clamp-4 whitespace-pre-wrap break-words text-h6 text-ods-text-secondary", children: item.preview || /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "italic text-ods-text-secondary/60", children: "No description provided." }) }) }),
|
|
50910
|
-
metaParts.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: COMPACT_CARD_META_ROW, children: metaParts.map((part, i) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
50863
|
+
metaParts.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: COMPACT_CARD_META_ROW, children: metaParts.map((part, i) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, React127.default.Fragment, { children: [
|
|
50911
50864
|
i > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-text-secondary/40 shrink-0", children: "\xB7" }) : null,
|
|
50912
50865
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 truncate", children: part })
|
|
50913
50866
|
] }, i)) }) }) : null
|
|
@@ -52730,7 +52683,7 @@ function ProgramCard({
|
|
|
52730
52683
|
const compactDate = (() => {
|
|
52731
52684
|
try {
|
|
52732
52685
|
return formatUtc(new Date(item.date), "MMM d, yyyy");
|
|
52733
|
-
} catch (
|
|
52686
|
+
} catch (e85) {
|
|
52734
52687
|
return "";
|
|
52735
52688
|
}
|
|
52736
52689
|
})();
|
|
@@ -53427,7 +53380,7 @@ function decodeVideoMarkerId(id) {
|
|
|
53427
53380
|
const url = atob(b64);
|
|
53428
53381
|
if (!/^https:\/\//.test(url)) return null;
|
|
53429
53382
|
return { videoUrl: url };
|
|
53430
|
-
} catch (
|
|
53383
|
+
} catch (e86) {
|
|
53431
53384
|
return null;
|
|
53432
53385
|
}
|
|
53433
53386
|
}
|
|
@@ -54306,7 +54259,7 @@ function ChatCardLoader({
|
|
|
54306
54259
|
extras
|
|
54307
54260
|
}) {
|
|
54308
54261
|
const runtime = _chunkCEAAOVCVcjs.useRequiredChatRuntime.call(void 0, );
|
|
54309
|
-
const resolvedChatRef =
|
|
54262
|
+
const resolvedChatRef = React127.default.useMemo(() => {
|
|
54310
54263
|
const cta = resolveSourceRowCTA(
|
|
54311
54264
|
{
|
|
54312
54265
|
sourceRepo: chatRef.sourceRepo,
|
|
@@ -54876,7 +54829,7 @@ function useJetStreamDialogSubscription({
|
|
|
54876
54829
|
if (subscriptionRef.current) {
|
|
54877
54830
|
try {
|
|
54878
54831
|
subscriptionRef.current.unsubscribe();
|
|
54879
|
-
} catch (
|
|
54832
|
+
} catch (e87) {
|
|
54880
54833
|
}
|
|
54881
54834
|
subscriptionRef.current = null;
|
|
54882
54835
|
}
|
|
@@ -54971,7 +54924,7 @@ function useJetStreamDialogSubscription({
|
|
|
54971
54924
|
if (subscriptionRef.current) {
|
|
54972
54925
|
try {
|
|
54973
54926
|
subscriptionRef.current.unsubscribe();
|
|
54974
|
-
} catch (
|
|
54927
|
+
} catch (e88) {
|
|
54975
54928
|
}
|
|
54976
54929
|
subscriptionRef.current = null;
|
|
54977
54930
|
}
|
|
@@ -55008,7 +54961,7 @@ function useJetStreamDialogSubscription({
|
|
|
55008
54961
|
parsed.streamSeq = streamSeq;
|
|
55009
54962
|
}
|
|
55010
54963
|
cb(parsed, topic);
|
|
55011
|
-
} catch (
|
|
54964
|
+
} catch (e89) {
|
|
55012
54965
|
}
|
|
55013
54966
|
},
|
|
55014
54967
|
{
|
|
@@ -55032,14 +54985,14 @@ function useJetStreamDialogSubscription({
|
|
|
55032
54985
|
if (cancelled) {
|
|
55033
54986
|
try {
|
|
55034
54987
|
handle.unsubscribe();
|
|
55035
|
-
} catch (
|
|
54988
|
+
} catch (e90) {
|
|
55036
54989
|
}
|
|
55037
54990
|
return;
|
|
55038
54991
|
}
|
|
55039
54992
|
subscriptionRef.current = handle;
|
|
55040
54993
|
setIsSubscribed(true);
|
|
55041
54994
|
_optionalChain([onSubscribedRef, 'access', _1452 => _1452.current, 'optionalCall', _1453 => _1453()]);
|
|
55042
|
-
} catch (
|
|
54995
|
+
} catch (e91) {
|
|
55043
54996
|
if (!cancelled) {
|
|
55044
54997
|
setIsSubscribed(false);
|
|
55045
54998
|
}
|
|
@@ -55051,7 +55004,7 @@ function useJetStreamDialogSubscription({
|
|
|
55051
55004
|
if (subscriptionRef.current) {
|
|
55052
55005
|
try {
|
|
55053
55006
|
subscriptionRef.current.unsubscribe();
|
|
55054
|
-
} catch (
|
|
55007
|
+
} catch (e92) {
|
|
55055
55008
|
}
|
|
55056
55009
|
subscriptionRef.current = null;
|
|
55057
55010
|
}
|
|
@@ -55153,7 +55106,7 @@ function useNatsDialogSubscription({
|
|
|
55153
55106
|
subscriptionRefs.current.forEach((sub) => {
|
|
55154
55107
|
try {
|
|
55155
55108
|
_optionalChain([sub, 'optionalAccess', _1454 => _1454.unsubscribe, 'call', _1455 => _1455()]);
|
|
55156
|
-
} catch (
|
|
55109
|
+
} catch (e93) {
|
|
55157
55110
|
}
|
|
55158
55111
|
});
|
|
55159
55112
|
subscriptionRefs.current.clear();
|
|
@@ -55220,7 +55173,7 @@ function useNatsDialogSubscription({
|
|
|
55220
55173
|
subscriptionRefs.current.forEach((sub) => {
|
|
55221
55174
|
try {
|
|
55222
55175
|
_optionalChain([sub, 'optionalAccess', _1465 => _1465.unsubscribe, 'call', _1466 => _1466()]);
|
|
55223
|
-
} catch (
|
|
55176
|
+
} catch (e94) {
|
|
55224
55177
|
}
|
|
55225
55178
|
});
|
|
55226
55179
|
subscriptionRefs.current.clear();
|
|
@@ -55238,7 +55191,7 @@ function useNatsDialogSubscription({
|
|
|
55238
55191
|
subscriptionRefs.current.forEach((sub) => {
|
|
55239
55192
|
try {
|
|
55240
55193
|
_optionalChain([sub, 'optionalAccess', _1470 => _1470.unsubscribe, 'call', _1471 => _1471()]);
|
|
55241
|
-
} catch (
|
|
55194
|
+
} catch (e95) {
|
|
55242
55195
|
}
|
|
55243
55196
|
});
|
|
55244
55197
|
subscriptionRefs.current.clear();
|
|
@@ -55261,7 +55214,7 @@ function useNatsDialogSubscription({
|
|
|
55261
55214
|
const dataStr = decoder.decode(msg.data);
|
|
55262
55215
|
const parsed = JSON.parse(dataStr);
|
|
55263
55216
|
onEventRef.current(parsed, messageType);
|
|
55264
|
-
} catch (
|
|
55217
|
+
} catch (e96) {
|
|
55265
55218
|
}
|
|
55266
55219
|
};
|
|
55267
55220
|
topicsRef.current.forEach((topic) => {
|
|
@@ -55285,7 +55238,7 @@ function useNatsDialogSubscription({
|
|
|
55285
55238
|
subscriptionRefs.current.forEach((sub) => {
|
|
55286
55239
|
try {
|
|
55287
55240
|
_optionalChain([sub, 'optionalAccess', _1477 => _1477.unsubscribe, 'call', _1478 => _1478()]);
|
|
55288
|
-
} catch (
|
|
55241
|
+
} catch (e97) {
|
|
55289
55242
|
}
|
|
55290
55243
|
});
|
|
55291
55244
|
subscriptionRefs.current.clear();
|
|
@@ -55312,7 +55265,7 @@ function useNatsDialogSubscription({
|
|
|
55312
55265
|
const dataStr = decoder.decode(msg.data);
|
|
55313
55266
|
const parsed = JSON.parse(dataStr);
|
|
55314
55267
|
onEventRef.current(parsed, messageType);
|
|
55315
|
-
} catch (
|
|
55268
|
+
} catch (e98) {
|
|
55316
55269
|
}
|
|
55317
55270
|
};
|
|
55318
55271
|
topicsRef.current.forEach((topic) => {
|
|
@@ -56146,7 +56099,7 @@ async function readServerErrorMessage(response) {
|
|
|
56146
56099
|
try {
|
|
56147
56100
|
const body = await response.json();
|
|
56148
56101
|
if (typeof _optionalChain([body, 'optionalAccess', _1522 => _1522.error]) === "string" && body.error.length > 0) return body.error;
|
|
56149
|
-
} catch (
|
|
56102
|
+
} catch (e99) {
|
|
56150
56103
|
}
|
|
56151
56104
|
return null;
|
|
56152
56105
|
}
|
|
@@ -56302,7 +56255,7 @@ function createSseFrameDecoder() {
|
|
|
56302
56255
|
let meta;
|
|
56303
56256
|
try {
|
|
56304
56257
|
meta = JSON.parse(metaStr);
|
|
56305
|
-
} catch (
|
|
56258
|
+
} catch (e100) {
|
|
56306
56259
|
inText = true;
|
|
56307
56260
|
out.push({ type: "turn-start", implicit: true });
|
|
56308
56261
|
if (buffer.length > 0) {
|
|
@@ -56353,7 +56306,7 @@ function createSseFrameDecoder() {
|
|
|
56353
56306
|
debug: meta.debug
|
|
56354
56307
|
});
|
|
56355
56308
|
}
|
|
56356
|
-
} catch (
|
|
56309
|
+
} catch (e101) {
|
|
56357
56310
|
}
|
|
56358
56311
|
}
|
|
56359
56312
|
return out;
|
|
@@ -56394,7 +56347,7 @@ function pruneStaleChatConversationStorage(source) {
|
|
|
56394
56347
|
for (const k of toRemove) {
|
|
56395
56348
|
window.localStorage.removeItem(k);
|
|
56396
56349
|
}
|
|
56397
|
-
} catch (
|
|
56350
|
+
} catch (e102) {
|
|
56398
56351
|
}
|
|
56399
56352
|
}
|
|
56400
56353
|
|
|
@@ -56457,7 +56410,7 @@ function useChatHistoryHydration({
|
|
|
56457
56410
|
sendCountRef.current = userTurns;
|
|
56458
56411
|
hydrateMessages(hydrated, Array.from(sourcesSeed.entries()));
|
|
56459
56412
|
bumpMetaTick();
|
|
56460
|
-
} catch (
|
|
56413
|
+
} catch (e103) {
|
|
56461
56414
|
} finally {
|
|
56462
56415
|
if (!cancelled) setIsHydratingHistory(false);
|
|
56463
56416
|
}
|
|
@@ -57888,7 +57841,7 @@ function createChatStreamReducer(options = {}) {
|
|
|
57888
57841
|
if (event.details) {
|
|
57889
57842
|
try {
|
|
57890
57843
|
message2 = _optionalChain([JSON, 'access', _1574 => _1574.parse, 'call', _1575 => _1575(event.details), 'optionalAccess', _1576 => _1576.error, 'optionalAccess', _1577 => _1577.message]);
|
|
57891
|
-
} catch (
|
|
57844
|
+
} catch (e104) {
|
|
57892
57845
|
message2 = event.details;
|
|
57893
57846
|
}
|
|
57894
57847
|
}
|
|
@@ -59788,7 +59741,7 @@ function applyHistoryEvent(event, accumulator, approvalStatuses, options, escala
|
|
|
59788
59741
|
if (event.details) {
|
|
59789
59742
|
try {
|
|
59790
59743
|
message2 = _optionalChain([JSON, 'access', _1648 => _1648.parse, 'call', _1649 => _1649(event.details), 'optionalAccess', _1650 => _1650.error, 'optionalAccess', _1651 => _1651.message]);
|
|
59791
|
-
} catch (
|
|
59744
|
+
} catch (e105) {
|
|
59792
59745
|
message2 = event.details;
|
|
59793
59746
|
}
|
|
59794
59747
|
}
|
|
@@ -61115,7 +61068,7 @@ var NODES = [
|
|
|
61115
61068
|
];
|
|
61116
61069
|
var Primitive = NODES.reduce((primitive, node) => {
|
|
61117
61070
|
const Slot2 = _reactslot.createSlot.call(void 0, `Primitive.${node}`);
|
|
61118
|
-
const Node2 =
|
|
61071
|
+
const Node2 = React148.forwardRef((props, forwardedRef) => {
|
|
61119
61072
|
const { asChild, ...primitiveProps } = props;
|
|
61120
61073
|
const Comp = asChild ? Slot2 : node;
|
|
61121
61074
|
if (typeof window !== "undefined") {
|
|
@@ -61148,7 +61101,7 @@ var VISUALLY_HIDDEN_STYLES = Object.freeze({
|
|
|
61148
61101
|
whiteSpace: "nowrap",
|
|
61149
61102
|
wordWrap: "normal"
|
|
61150
61103
|
});
|
|
61151
|
-
var VisuallyHidden = /* @__PURE__ */
|
|
61104
|
+
var VisuallyHidden = /* @__PURE__ */ React149.forwardRef(
|
|
61152
61105
|
/* @__PURE__ */ __name4(function VisuallyHidden2(props, forwardedRef) {
|
|
61153
61106
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
61154
61107
|
Primitive.span,
|
|
@@ -61647,7 +61600,7 @@ function SourceChips({
|
|
|
61647
61600
|
)
|
|
61648
61601
|
] });
|
|
61649
61602
|
}
|
|
61650
|
-
var EmbeddableChat =
|
|
61603
|
+
var EmbeddableChat = React127.default.forwardRef(function EmbeddableChat2(props, ref) {
|
|
61651
61604
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, EmbeddableChatInner, { ...props, handleRef: ref });
|
|
61652
61605
|
});
|
|
61653
61606
|
function EmbeddableChatInner({
|
|
@@ -62205,7 +62158,7 @@ function EmbeddableChatInner({
|
|
|
62205
62158
|
try {
|
|
62206
62159
|
if (window.localStorage.getItem(RAIL_COLLAPSED_STORAGE_KEY) === "1")
|
|
62207
62160
|
setRailCollapsed(true);
|
|
62208
|
-
} catch (
|
|
62161
|
+
} catch (e106) {
|
|
62209
62162
|
}
|
|
62210
62163
|
}, []);
|
|
62211
62164
|
const toggleRailCollapsed = _react.useCallback.call(void 0, () => {
|
|
@@ -62213,7 +62166,7 @@ function EmbeddableChatInner({
|
|
|
62213
62166
|
const next = !prev;
|
|
62214
62167
|
try {
|
|
62215
62168
|
window.localStorage.setItem(RAIL_COLLAPSED_STORAGE_KEY, next ? "1" : "0");
|
|
62216
|
-
} catch (
|
|
62169
|
+
} catch (e107) {
|
|
62217
62170
|
}
|
|
62218
62171
|
return next;
|
|
62219
62172
|
});
|
|
@@ -62295,7 +62248,7 @@ function EmbeddableChatInner({
|
|
|
62295
62248
|
onCopyLink: headerOnCopyLink,
|
|
62296
62249
|
onOpenArchive: headerOnOpenArchive
|
|
62297
62250
|
};
|
|
62298
|
-
const body = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
62251
|
+
const body = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWPPBPRFUcjs.PortalContainerContext.Provider, { value: portalHost, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkWPPBPRFUcjs.CollisionBoundaryContext.Provider, { value: panelBoundary, children: [
|
|
62299
62252
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
62300
62253
|
"div",
|
|
62301
62254
|
{
|
|
@@ -63921,4 +63874,4 @@ function EmbeddableChatInner({
|
|
|
63921
63874
|
|
|
63922
63875
|
|
|
63923
63876
|
exports.AllowedDomainsInput = AllowedDomainsInput; exports.AnnouncementBarView = AnnouncementBarView; exports.FloatingTooltip = FloatingTooltip; exports.TruncateText = TruncateText; exports.HiddenTagsPopup = HiddenTagsPopup; exports.tagVariants = tagVariants; exports.Tag = Tag; exports.Autocomplete = Autocomplete; exports.Card = Card; exports.CardHeader = CardHeader; exports.CardTitle = CardTitle; exports.CardDescription = CardDescription; exports.CardContent = CardContent; exports.CardFooter = CardFooter; exports.CardHorizontal = CardHorizontal; exports.CheckboxBlock = CheckboxBlock; exports.CheckboxWithDescription = CheckboxWithDescription; exports.Select = Select; exports.SelectGroup = SelectGroup; exports.SelectValue = SelectValue; exports.SelectTrigger = SelectTrigger; exports.SelectScrollUpButton = SelectScrollUpButton; exports.SelectScrollDownButton = SelectScrollDownButton; exports.SelectContent = SelectContent; exports.SelectLabel = SelectLabel; exports.SelectItem = SelectItem; exports.SelectSeparator = SelectSeparator; exports.DatePickerCalendar = DatePickerCalendar; exports.DatePicker = DatePicker; exports.DatePickerInput = DatePickerInput; exports.DatePickerInputSimple = DatePickerInputSimple; exports.DateFilterPanel = DateFilterPanel; exports.DateFilterMenu = DateFilterMenu; exports.DurationInput = DurationInput; exports.InfoHint = InfoHint; exports.Field = Field; exports.HoneypotField = HoneypotField; 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.JsonDetailList = JsonDetailList; exports.ProgressBar = ProgressBar; exports.InfoCard = InfoCard; exports.InfoRow = InfoRow; exports.DeletedUserAvatar = DeletedUserAvatar; exports.SearchableSelect = SearchableSelect; exports.formatDate = formatDate2; exports.formatNumber = formatNumber; exports.formatPrice = formatPrice; exports.formatBytes = formatBytes; exports.formatBytesShort = formatBytesShort; exports.formatFileSize = formatFileSize; exports.formatLargeNumber = formatLargeNumber; exports.formatAbbreviatedNumber = formatAbbreviatedNumber; exports.getFirstLastInitials = getFirstLastInitials; exports.nameInitials = nameInitials; exports.formatDurationMMSS = formatDurationMMSS; exports.formatDurationCompact = formatDurationCompact; exports.formatTimeWithTimezone = formatTimeWithTimezone; exports.formatDurationFromRange = formatDurationFromRange; exports.formatDateUTC = formatDateUTC; exports.formatEntryMonthUTC = formatEntryMonthUTC; exports.formatLegalDate = formatLegalDate; exports.formatCurrency = formatCurrency; exports.formatPercent = formatPercent; exports.formatWholeDollars = formatWholeDollars; exports.formatCompactMetric = formatCompactMetric; exports.getTrendColors = getTrendColors; exports.formatDateRange = formatDateRange; exports.formatDateTimeAt = formatDateTimeAt; exports.formatDurationFromMs = formatDurationFromMs; exports.formatDuration = formatDuration; exports.titleCaseFromSlug = titleCaseFromSlug; exports.formatUnderscoreText = formatUnderscoreText; exports.stripHtml = stripHtml; exports.formatClassification = formatClassification; exports.formatPricingModel = formatPricingModel; exports.formatBioText = formatBioText; exports.SquareAvatar = SquareAvatar; exports.AssigneeDropdown = AssigneeDropdown; exports.DESIGN_PALETTE = DESIGN_PALETTE; exports.getContrastRatio = getContrastRatio; exports.pickReadableTextColor = pickReadableTextColor; exports.extractDominantColor = extractDominantColor; exports.getBestContrastColor = getBestContrastColor; exports.analyzeImageColor = analyzeImageColor; exports.extractImageEdgeColorAsync = extractImageEdgeColorAsync; exports.getPlatformAccentColor = getPlatformAccentColor; exports.getCurrentPlatform = getCurrentPlatform; exports.getReadableTextColor = getReadableTextColor; exports.HEX_PATTERN = HEX_PATTERN; exports.hexToRgb = hexToRgb2; exports.rgbToHex = rgbToHex; exports.deriveHoverColor = deriveHoverColor; exports.deriveActiveColor = deriveActiveColor; 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.InfoSection = InfoSection; exports.InputTrigger = InputTrigger; exports.InteractiveCard = InteractiveCard; exports.MediaTypeSelector = MediaTypeSelector; exports.noDataIconClasses = noDataIconClasses; exports.noDataActionsVariants = noDataActionsVariants; exports.NoDataMessage = NoDataMessage; exports.NoDataAction = NoDataAction; exports.NoDataActions = NoDataActions; exports.NoData = NoData; exports.PageLoader = PageLoader; exports.CompactPageLoader = CompactPageLoader; exports.RadioGroup = RadioGroup; exports.RadioGroupItem = RadioGroupItem; exports.RadioGroupBlock = RadioGroupBlock; exports.useScrollFade = useScrollFade; exports.ScrollFadeOverlay = ScrollFadeOverlay; exports.ScrollShadow = ScrollShadow; exports.Switch = Switch; exports.TagSelectDropdown = TagSelectDropdown; exports.badgeVariants = badgeVariants; exports.Badge = Badge; exports.TagsInput = TagsInput; exports.TagsManager = TagsManager; exports.Textarea = Textarea; exports.AlertDialog = AlertDialog; exports.AlertDialogTrigger = AlertDialogTrigger; exports.AlertDialogPortal = AlertDialogPortal; exports.AlertDialogOverlay = AlertDialogOverlay; exports.AlertDialogContent = AlertDialogContent; exports.AlertDialogHeader = AlertDialogHeader; exports.AlertDialogFooter = AlertDialogFooter; exports.AlertDialogTitle = AlertDialogTitle; exports.AlertDialogDescription = AlertDialogDescription; exports.AlertDialogAction = AlertDialogAction; exports.AlertDialogCancel = AlertDialogCancel; exports.AspectRatio = AspectRatio; exports.Dialog = Dialog; exports.DialogTrigger = DialogTrigger; exports.DialogPortal = DialogPortal; exports.DialogClose = DialogClose; exports.DialogOverlay = DialogOverlay; exports.DialogContent = DialogContent; exports.DialogHeader = DialogHeader; exports.DialogFooter = DialogFooter; exports.DialogTitle = DialogTitle; exports.DialogDescription = DialogDescription; exports.ImageGalleryModal = ImageGalleryModal; exports.Modal = Modal2; exports.ModalContent = ModalContent2; exports.ModalHeader = ModalHeader2; exports.ModalTitle = ModalTitle2; exports.ModalFooter = ModalFooter2; exports.Modal2 = Modal; exports.ModalContent2 = ModalContent; exports.ModalTwoColumn = ModalTwoColumn; exports.ModalHeader2 = ModalHeader; exports.ModalTitle2 = ModalTitle; exports.ModalFooter2 = ModalFooter; exports.useConfirm = useConfirm; exports.useGuardedClose = useGuardedClose; exports.UnsavedChangesChip = UnsavedChangesChip; exports.AdminFormModal = AdminFormModal; exports.Separator = Separator2; exports.Sheet = Sheet; exports.SheetTrigger = SheetTrigger; exports.SheetClose = SheetClose; exports.SheetPortal = SheetPortal; exports.SheetOverlay = SheetOverlay; exports.SheetContent = SheetContent; exports.SheetHeader = SheetHeader; exports.SheetFooter = SheetFooter; exports.SheetTitle = SheetTitle; exports.SheetDescription = SheetDescription; 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.Accordion = Accordion; exports.AccordionItem = AccordionItem; exports.AccordionTrigger = AccordionTrigger; exports.AccordionContent = AccordionContent; exports.Breadcrumb = Breadcrumb; exports.BreadcrumbList = BreadcrumbList; exports.BreadcrumbItem = BreadcrumbItem; exports.BreadcrumbLink = BreadcrumbLink; exports.BreadcrumbPage = BreadcrumbPage; exports.BreadcrumbSeparator = BreadcrumbSeparator; exports.BreadcrumbEllipsis = BreadcrumbEllipsis; exports.MenubarMenu = MenubarMenu; exports.MenubarGroup = MenubarGroup; exports.MenubarPortal = MenubarPortal; exports.MenubarSub = MenubarSub; exports.MenubarRadioGroup = MenubarRadioGroup; exports.Menubar = Menubar; exports.MenubarTrigger = MenubarTrigger; exports.MenubarSubTrigger = MenubarSubTrigger; exports.MenubarSubContent = MenubarSubContent; exports.MenubarContent = MenubarContent; exports.MenubarItem = MenubarItem; exports.MenubarCheckboxItem = MenubarCheckboxItem; exports.MenubarRadioItem = MenubarRadioItem; exports.MenubarLabel = MenubarLabel; exports.MenubarSeparator = MenubarSeparator; exports.MenubarShortcut = MenubarShortcut; exports.NavigationMenu = NavigationMenu; exports.NavigationMenuList = NavigationMenuList; exports.NavigationMenuItem = NavigationMenuItem; exports.navigationMenuTriggerStyle = navigationMenuTriggerStyle; exports.NavigationMenuTrigger = NavigationMenuTrigger; exports.NavigationMenuContent = NavigationMenuContent; exports.NavigationMenuLink = NavigationMenuLink; exports.NavigationMenuViewport = NavigationMenuViewport; exports.NavigationMenuIndicator = NavigationMenuIndicator; exports.CrossfadePanels = CrossfadePanels; exports.TabContent = TabContent; exports.TabNavigation = TabNavigation; exports.getTabById = getTabById; exports.getTabComponent = getTabComponent; exports.Alert = Alert; exports.AlertTitle = AlertTitle; exports.AlertDescription = AlertDescription; exports.AIGeneratedBadge = AIGeneratedBadge; exports.FadePreview = FadePreview; exports.Progress = Progress; 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.TEXT_SIZE_PRESETS = TEXT_SIZE_PRESETS; exports.resolveTextSizeConfig = resolveTextSizeConfig; exports.stripInlineMarkdown = stripInlineMarkdown; exports.markdownToPlainText = markdownToPlainText; exports.buildHeadingIdMap = buildHeadingIdMap; exports.useHeadingIdMap = useHeadingIdMap; exports.extractText = extractText; exports.MermaidDiagram = MermaidDiagram; exports.splitStreamingBlocks = splitStreamingBlocks; exports.completeStreamingTail = completeStreamingTail; exports.MarkdownEngine = MarkdownEngine; exports.SimpleMarkdownRenderer = SimpleMarkdownRenderer; exports.RichMarkdownRuntimeProvider = RichMarkdownRuntimeProvider; exports.useRichMarkdownRuntime = useRichMarkdownRuntime; exports.VideoPlayBadge = VideoPlayBadge; exports.VideoUnmuteGlyph = VideoUnmuteGlyph; 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.extractYouTubeId = extractYouTubeId; exports.Video = Video2; exports.MediaCarousel = MediaCarousel; exports.EMBED_SIZES = EMBED_SIZES; exports.EmbedContainer = EmbedContainer; exports.YouTubeContainer = YouTubeContainer; exports.TwitterContainer = TwitterContainer; exports.RedditContainer = RedditContainer; exports.LinkPreviewContainer = LinkPreviewContainer; exports.LinkedInContainer = LinkedInContainer; exports.RedditEmbedClient = RedditEmbedClient; exports.TwitterEmbedClient = TwitterEmbedClient; exports.LinkedInEmbedClient = LinkedInEmbedClient; exports.OGLinkErrorBoundary = OGLinkErrorBoundary; exports.OGLinkPreview = OGLinkPreview; exports.toGoogleSheetsEmbedUrl = toGoogleSheetsEmbedUrl; exports.toGoogleSheetsOriginalUrl = toGoogleSheetsOriginalUrl; exports.toFigmaEmbedUrl = toFigmaEmbedUrl; exports.isFigmaSlidesUrl = isFigmaSlidesUrl; exports.toFigmaOriginalUrl = toFigmaOriginalUrl; exports.toClaudeEmbedUrl = toClaudeEmbedUrl; exports.EmbedIframe = EmbedIframe; exports.EmbedViewerFrame = EmbedViewerFrame; exports.FigmaEmbed = FigmaEmbed; exports.ClaudeEmbed = ClaudeEmbed; exports.MarkdownImage = MarkdownImage; exports.processShortcodes = processShortcodes; exports.RichMarkdownRenderer = RichMarkdownRenderer; exports.ReleaseChangelogSection = ReleaseChangelogSection; exports.StackedRowsPanel = StackedRowsPanel; exports.SlackChannelChip = SlackChannelChip; exports.statusBadgeVariants = statusBadgeVariants; exports.genBadgeBgOpacity = genBadgeBgOpacity; exports.generationTierFromLabel = generationTierFromLabel; exports.StatusBadge = StatusBadge; exports.StatusIndicator = StatusIndicator; 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.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.GuideDisplay = GuideDisplay; 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.resolveIcon = resolveIcon; exports.ICON_OPTIONS = ICON_OPTIONS; exports.SlashCommandSuggestions = SlashCommandSuggestions; exports.ChatInput = ChatInput; exports.ToolExecutionDisplay = ToolExecutionDisplay; exports.remarkCardLinks = remarkCardLinks; exports.remarkMentionChips = remarkMentionChips; exports.BlockCard = BlockCard; 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.MemoizedChatMessageEnhanced = MemoizedChatMessageEnhanced; exports.ChatMessageSkeleton = ChatMessageSkeleton; exports.ChatMessageListSkeleton = ChatMessageListSkeleton; exports.ChatMessageList = ChatMessageList; exports.getProxiedImageUrl = getProxiedImageUrl; exports.urlPathLooksLikeSvg = urlPathLooksLikeSvg; exports.shouldProxyImage = shouldProxyImage; exports.generateImageSizes = generateImageSizes; 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.isCrossOriginUrl = isCrossOriginUrl; exports.decideNewTab = decideNewTab; exports.computeIsNewTab = computeIsNewTab; exports.newTabAnchorAttrs = newTabAnchorAttrs; exports.buildAnchorProps = buildAnchorProps; 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.EMPTY_AUTHOR_PLACEHOLDER = EMPTY_AUTHOR_PLACEHOLDER; exports.EntityMetadataValueCell = EntityMetadataValueCell; exports.EntityMetadataAuthorCell = EntityMetadataAuthorCell; exports.EntityAuthorCard = EntityAuthorCard; exports.BlogImagePlaceholder = BlogImagePlaceholder; exports.useCoverImageFallback = useCoverImageFallback; exports.hideOnError = hideOnError; exports.EntityPortraitCard = EntityPortraitCard; exports.FlamingoLogo = FlamingoLogo2; exports.PlatformBadge = PlatformBadge; exports.AdminContentCard = AdminContentCard; exports.getProxiedImageUrl2 = getProxiedImageUrl2; exports.EmployeeEntryBadge = EmployeeEntryBadge; exports.EmployeeEntryCard = EmployeeEntryCard; exports.EmployeeEntryCardSkeleton = EmployeeEntryCardSkeleton; exports.WhatIShippedCard = WhatIShippedCard; exports.WhatIShippedCardSkeleton = WhatIShippedCardSkeleton; exports.HowIWorkCard = HowIWorkCard; exports.HowIWorkCardSkeleton = HowIWorkCardSkeleton; exports.getCaptionsUrl = getCaptionsUrl; exports.rebaseCaptionsUrl = rebaseCaptionsUrl; exports.buildCaptionsUrl = buildCaptionsUrl; exports.getEntityCaptionUrls = getEntityCaptionUrls; exports.getEntityCaptionUrlsById = getEntityCaptionUrlsById; exports.captionsEntityTypeForDocType = captionsEntityTypeForDocType; exports.useCaptions = useCaptions; exports.VideoHoverPreviewSurface = VideoHoverPreviewSurface; exports.CardHitLayer = CardHitLayer; 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.DEFAULT_VIDEO_BITES_TITLE = DEFAULT_VIDEO_BITES_TITLE; exports.toStripProfile = toStripProfile; exports.sortBitesByCreatedAtDesc = sortBitesByCreatedAtDesc; exports.sortBitesByFeaturedAtDesc = sortBitesByFeaturedAtDesc; exports.PAGE_HEADING_CLASS = PAGE_HEADING_CLASS; exports.SECTION_HEADING_CLASS = SECTION_HEADING_CLASS; exports.PageHeading = PageHeading; exports.STRIP_CELL_MAX_WIDTH = STRIP_CELL_MAX_WIDTH; exports.CardsStrip = CardsStrip; exports.UserDisplay = UserDisplay; exports.VideoBitesStrip = VideoBitesStrip; exports.VideoBiteCard = VideoBiteCard; exports.EntityVideoSection = EntityVideoSection; exports.ChatVideoEntityCard = ChatVideoEntityCard; exports.ProductReleaseCard = ProductReleaseCard; exports.ProductReleaseCardSkeleton = ProductReleaseCardSkeleton; exports.formatReleaseDate = formatReleaseDate; exports.formatDateShort = formatDateShort; exports.formatDateSlashUTC = formatDateSlashUTC; exports.resolveReleaseCover = resolveReleaseCover; exports.releaseTypeToBadgeColor = releaseTypeToBadgeColor; exports.defaultBuildProductReleaseCardProps = defaultBuildProductReleaseCardProps; exports.buildProductReleaseCardProps = buildProductReleaseCardProps; exports.useEntityCardLink = useEntityCardLink; exports.COMPACT_CARD_OUTER = COMPACT_CARD_OUTER; exports.COMPACT_CARD_OUTER_STATIC = COMPACT_CARD_OUTER_STATIC; exports.COMPACT_CARD_SKELETON_OUTER = COMPACT_CARD_SKELETON_OUTER; exports.COMPACT_CARD_IMAGE_SLOT = COMPACT_CARD_IMAGE_SLOT; exports.COMPACT_CARD_SKELETON_IMAGE_SLOT = COMPACT_CARD_SKELETON_IMAGE_SLOT; exports.COMPACT_CARD_ICON_SLOT = COMPACT_CARD_ICON_SLOT; exports.COMPACT_CARD_TEXT_COL = COMPACT_CARD_TEXT_COL; exports.COMPACT_CARD_TITLE_ROW = COMPACT_CARD_TITLE_ROW; exports.COMPACT_CARD_META_ROW_BOX = COMPACT_CARD_META_ROW_BOX; exports.COMPACT_CARD_TITLE = COMPACT_CARD_TITLE; exports.COMPACT_CARD_SUBTITLE = COMPACT_CARD_SUBTITLE; exports.COMPACT_CARD_SUMMARY = COMPACT_CARD_SUMMARY; exports.COMPACT_CARD_META_ROW = COMPACT_CARD_META_ROW; exports.COMPACT_CARD_ROW_FILLER = COMPACT_CARD_ROW_FILLER; exports.safeHref = safeHref; exports.BlogCardSkeleton = BlogCardSkeleton; exports.BlogCard = BlogCard; exports.CaseStudyCardSkeleton = CaseStudyCardSkeleton; exports.CaseStudyCard = CaseStudyCard; exports.CustomerInterviewCardSkeleton = CustomerInterviewCardSkeleton; exports.CustomerInterviewCard = CustomerInterviewCard; exports.formatInvestorUpdatePeriod = formatInvestorUpdatePeriod; exports.InvestorUpdateCardSkeleton = InvestorUpdateCardSkeleton; exports.InvestorUpdateCard = InvestorUpdateCard; exports.OnboardingGuideCardSkeleton = OnboardingGuideCardSkeleton; exports.OnboardingGuideCard = OnboardingGuideCard; exports.RoadmapVoteButton = RoadmapVoteButton; exports.AvatarStack = AvatarStack; exports.getStatusColorScheme = getStatusColorScheme; exports.CUSTOM_ITEM_ID = CUSTOM_ITEM_ID; exports.getTaskTypeLabel = getTaskTypeLabel; exports.TaskTypeIcon = TaskTypeIcon; exports.RoadmapCardSkeleton = RoadmapCardSkeleton; exports.RoadmapCard = RoadmapCard; 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.programItemToStripProfile = programItemToStripProfile; exports.transformEventToProgram = transformEventToProgram; exports.transformPodcastToProgram = transformPodcastToProgram; exports.transformWebinarToProgram = transformWebinarToProgram; exports.ProgramCardSkeleton = ProgramCardSkeleton; exports.ProgramCard = ProgramCard; exports.CampaignCardAdmin = CampaignCardAdmin; exports.CampaignCardAdminSkeleton = CampaignCardAdminSkeleton; exports.GenericEntityCard = GenericEntityCard; exports.GenericEntityCardSkeleton = GenericEntityCardSkeleton; exports.extractItems = extractItems; exports.extractItemId = extractItemId; exports.useChatCardItem = useChatCardItem; 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.canonicalContentRefType = canonicalContentRefType; exports.buildListUrl = buildListUrl; exports.resolveSourceRowCTA = resolveSourceRowCTA; exports.resolveSourceIcon = resolveSourceIcon; exports.readFetchedCardTitle = readFetchedCardTitle; exports.resolveFetchedCardHref = resolveFetchedCardHref; exports.faqSectionSlug = faqSectionSlug; exports.faqItemAnchor = faqItemAnchor; exports.parseFaqHash = parseFaqHash; exports.clickupTaskUrl = clickupTaskUrl; 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.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.AUTO_CONTINUATION_DIRECTIVE_PREFIX = AUTO_CONTINUATION_DIRECTIVE_PREFIX; exports.buildAutoContinuationDirective = buildAutoContinuationDirective; exports.parseWireCommandOverride = parseWireCommandOverride; exports.sanitizeTitleForChat = sanitizeTitleForChat; exports.formatSingularLookupInvocation = formatSingularLookupInvocation; exports.extractEntityIdFilter = extractEntityIdFilter; exports.buildDiscussAddendum = buildDiscussAddendum; exports.buildDiscussPrompt = buildDiscussPrompt; 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.isGuideApproval = isGuideApproval; exports.guideApprovalOrigin = guideApprovalOrigin; exports.approvalDisplaysInline = approvalDisplaysInline; exports.isGuideApprovalSegment = isGuideApprovalSegment; 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.useSseChatAdapter = useSseChatAdapter; exports.decodeHistoricalMessageData = decodeHistoricalMessageData; exports.processHistoricalMessages = processHistoricalMessages; exports.extractErrorMessages = extractErrorMessages; exports.processHistoricalMessagesWithErrors = processHistoricalMessagesWithErrors; exports.extractIncompleteMessageState = extractIncompleteMessageState; exports.extractIncompleteTailState = extractIncompleteTailState; exports.mapProcessedToUnified = mapProcessedToUnified; exports.historicalToUnified = historicalToUnified; exports.useNatsChatAdapter = useNatsChatAdapter; 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.BackButton = BackButton; exports.FilterCheckboxItem = FilterCheckboxItem; exports.TagKeyValueFilter = TagKeyValueFilter; exports.FilterModal = FilterModal; exports.PageActions = PageActions; exports.usePageActionsBottomPadding = usePageActionsBottomPadding; exports.PageContainer = PageContainer; exports.ListPageContainer = ListPageContainer; exports.DetailPageContainer = DetailPageContainer; exports.FormPageContainer = FormPageContainer; exports.ContentPageContainer = ContentPageContainer; exports.ListPageLayout = ListPageLayout; exports.EntityImage = EntityImage; exports.TITLE_BLOCK_MIN_HEIGHT = TITLE_BLOCK_MIN_HEIGHT; exports.TitleBlock = TitleBlock; exports.PageLayout = PageLayout; exports.PageShell = PageShell; exports.ArticleDetailLayout = ArticleDetailLayout; exports.toggleVariants = toggleVariants; exports.Toggle = Toggle; exports.ToggleGroup = ToggleGroup; exports.ToggleGroupItem = ToggleGroupItem; exports.delay = delay; exports.generateRandomString = generateRandomString; exports.truncateString = truncateString; exports.serializeJsonLd = serializeJsonLd; exports.deepClone = deepClone; exports.getSlackCommunityJoinUrl = getSlackCommunityJoinUrl; exports.SEO_TITLE_MAX_LENGTH = SEO_TITLE_MAX_LENGTH; exports.SEO_DESCRIPTION_MAX_LENGTH = SEO_DESCRIPTION_MAX_LENGTH; exports.BRAND_MARK_SVGS = BRAND_MARK_SVGS; exports.brandMarkDataUri = brandMarkDataUri; exports.OS_PLATFORMS = OS_PLATFORMS; exports.DEFAULT_OS_PLATFORM = DEFAULT_OS_PLATFORM; exports.isValidEmailDomain = isValidEmailDomain; exports.validateEmailDomain = validateEmailDomain; exports.validateEmailDomainList = validateEmailDomainList; exports.cleanEmailDomain = cleanEmailDomain; exports.getConfidenceColorClass = getConfidenceColorClass; exports.getConfidenceLevel = getConfidenceLevel; exports.getConfidenceBorderClass = getConfidenceBorderClass; exports.getConfidenceTextClass = getConfidenceTextClass; exports.getConfidenceBgClass = getConfidenceBgClass; exports.getConfidenceLabel = getConfidenceLabel; exports.DEV_SECTION_PARAM_KEYS = DEV_SECTION_PARAM_KEYS; exports.devSectionAnchorId = devSectionAnchorId; exports.TICKET_OPEN_PARAM = TICKET_OPEN_PARAM; exports.buildTicketOpenHref = buildTicketOpenHref; exports.normalizeToolType = normalizeToolType; exports.normalizeToolTypeWithFallback = normalizeToolTypeWithFallback; exports.toToolLabel = toToolLabel; exports.isValidToolType = isValidToolType; exports.getToolTypeAliases = getToolTypeAliases; exports.getToolLabel = getToolLabel; exports.ShellTypeValues = ShellTypeValues; exports.SHELL_TYPES = SHELL_TYPES; exports.shellLabels = shellLabels; exports.getShellLabel = getShellLabel; exports.getShellIcon = getShellIcon; exports.BITE_ID_RE = BITE_ID_RE; exports.generateBiteId = generateBiteId; exports.ensureBiteIds = ensureBiteIds; exports.matchBiteElement = matchBiteElement; exports.OSTypeValues = OSTypeValues; exports.OS_TYPES = OS_TYPES; exports.osLabels = osLabels; exports.normalizeOSType = normalizeOSType; exports.getOSLabel = getOSLabel; exports.getOSIcon = getOSIcon; exports.getOSTypeDefinition = getOSTypeDefinition; exports.getOSPlatformId = getOSPlatformId; exports.isOSPlatform = isOSPlatform; exports.getCountryPhoneData = getCountryPhoneData; exports.getCountryByCode = getCountryByCode; exports.validatePhoneNumber = validatePhoneNumber; exports.formatPhoneE164 = formatPhoneE164; exports.GENERIC_EMAIL_DOMAINS = GENERIC_EMAIL_DOMAINS; exports.extractDomainFromEmail = extractDomainFromEmail; exports.normalizeDomain = normalizeDomain; exports.isGenericDomain = isGenericDomain; exports.hasGenericEmailDomain = hasGenericEmailDomain; exports.isGenericWebsiteDomain = isGenericWebsiteDomain; exports.isDismissedCookieValue = isDismissedCookieValue; exports.readDismissCookie = readDismissCookie; exports.writeDismissCookie = writeDismissCookie; exports.clearDismissCookie = clearDismissCookie; exports.announcementDismissCookieName = announcementDismissCookieName; exports.dismissAnnouncement = dismissAnnouncement; exports.isAnnouncementDismissed = isAnnouncementDismissed; exports.clearAnnouncementDismissals = clearAnnouncementDismissals; exports.clearLegacyAnnouncementCache = clearLegacyAnnouncementCache; exports.WALKTHROUGH_VIDEO_DISMISS_KEY = WALKTHROUGH_VIDEO_DISMISS_KEY; exports.walkthroughDismissCookieName = walkthroughDismissCookieName; exports.isWalkthroughDismissed = isWalkthroughDismissed; exports.dismissWalkthrough = dismissWalkthrough; exports.clearWalkthroughDismissal = clearWalkthroughDismissal; exports.WALKTHROUGH_OPEN_QUERY_PARAM = WALKTHROUGH_OPEN_QUERY_PARAM; exports.withWalkthroughOpenParam = withWalkthroughOpenParam; exports.createSseSubscription = createSseSubscription; exports.readLeadingDecisionFrame = readLeadingDecisionFrame; exports.ANNOUNCEMENT_CTA_DEFAULTS = ANNOUNCEMENT_CTA_DEFAULTS; exports.AVAILABLE_SVG_ICONS = AVAILABLE_SVG_ICONS; exports.releaseTypeOptions = releaseTypeOptions; exports.releaseStatusOptions = releaseStatusOptions; exports.changelogLabels = changelogLabels; exports.SEMVER_REGEX = SEMVER_REGEX; exports.TASK_TYPE_LABELS = TASK_TYPE_LABELS; exports.TASK_TYPE_TEXT_COLORS = TASK_TYPE_TEXT_COLORS; exports.TMCG_ROLES = TMCG_ROLES; exports.TMCG_ROLE_DISPLAY_NAMES = TMCG_ROLE_DISPLAY_NAMES; exports.TMCG_SOCIAL_PLATFORMS = TMCG_SOCIAL_PLATFORMS; exports.ROADMAP_STATUS_OPTIONS = ROADMAP_STATUS_OPTIONS; exports.DELIVERY_TASK_TYPE_OPTIONS = DELIVERY_TASK_TYPE_OPTIONS; exports.TICKET_STATUS_OPTIONS = TICKET_STATUS_OPTIONS; exports.OPENFRAME_DEV_SECTIONS = OPENFRAME_DEV_SECTIONS; exports.CONTENT_REF_GROUPS = CONTENT_REF_GROUPS; exports.getContentRefLabel = getContentRefLabel; exports.getContentRefLabelOrTitleCase = getContentRefLabelOrTitleCase; exports.orderContentRefTypes = orderContentRefTypes; exports.buildSuggestionUrl = buildSuggestionUrl; exports.DEFAULT_CONTENT_SUFFIXES = DEFAULT_CONTENT_SUFFIXES; exports.makeComposeContentUrl = makeComposeContentUrl; exports.buildDefaultHref = buildDefaultHref; exports.resolveContentHref = resolveContentHref; exports.DEFAULT_FOLDER_INDEX_FILE = DEFAULT_FOLDER_INDEX_FILE; exports.stripFolderIndexFromPath = stripFolderIndexFromPath; exports.findDocNodeByPath = findDocNodeByPath; exports.getDocAncestorNodeIds = getDocAncestorNodeIds; exports.resolveContentFetchPath = resolveContentFetchPath; exports.getInitialExpandedNodeIds = getInitialExpandedNodeIds; exports.getDocSourceDefaultPath = getDocSourceDefaultPath; exports.toDocSlug = toDocSlug; exports.pathToNodeId = pathToNodeId; exports.normalizeDocPath = normalizeDocPath; exports.formatDocName = formatDocName; exports.sortTreeChildren = sortTreeChildren; exports.buildDocumentTree = buildDocumentTree; exports.extractSections = extractSections; exports.SCHEDULING_SLUG_SHAPE = SCHEDULING_SLUG_SHAPE; exports.MAX_MONTH_OFFSET = MAX_MONTH_OFFSET; exports.isValidSchedulingSlug = isValidSchedulingSlug; exports.parseSchedulingLinkName = parseSchedulingLinkName; exports.isListedSchedulingName = isListedSchedulingName; exports.schedulingAudienceKey = schedulingAudienceKey; exports.SECTION_HERO_ICON_CLASS = SECTION_HERO_ICON_CLASS; exports.FIRST_TOUCH_ATTRIBUTION_KEY = FIRST_TOUCH_ATTRIBUTION_KEY; exports.sanitizeLandingUrl = sanitizeLandingUrl; exports.parseAttributionFromUrl = parseAttributionFromUrl; exports.captureFirstTouchAttribution = captureFirstTouchAttribution; exports.getFirstTouchAttribution = getFirstTouchAttribution; exports.withFirstTouchAttribution = withFirstTouchAttribution; exports.clearFirstTouchAttribution = clearFirstTouchAttribution; exports.BenefitCard = BenefitCard; exports.BenefitCardGrid = BenefitCardGrid; exports.BrandAssociationCard = BrandAssociationCard; exports.BrandAssociationGrid = BrandAssociationGrid; exports.BulletList = BulletList; exports.ChevronButton = ChevronButton; exports.CircularProgress = CircularProgress; exports.CheckIcon = CheckIcon2; exports.XIcon = XIcon2; exports.MinusIcon = MinusIcon; exports.CheckCircleIcon = CheckCircleIcon2; exports.XCircleIcon = XCircleIcon; exports.DashboardInfoCard = DashboardInfoCard; exports.InfoCardRow = InfoCardRow; exports.OSTypeBadge = OSTypeBadge; exports.OSTypeIcon = OSTypeIcon; exports.OSTypeLabel = OSTypeLabel; exports.DeviceCard = DeviceCard; exports.DeviceCardCompact = DeviceCardCompact; exports.FeatureCardGrid = FeatureCardGrid; exports.FeatureList = FeatureList; exports.SourceTooltip = SourceTooltip; exports.HighlightCard = HighlightCard; exports.HighlightCardGrid = HighlightCardGrid; exports.IconsBlock = IconsBlock; exports.DropdownButton = DropdownButton; exports.MoreActionsMenu = MoreActionsMenu; exports.OrganizationCard = OrganizationCard; exports.ServiceCard = ServiceCard; exports.Slider = Slider; exports.TitleContentBlock = TitleContentBlock; exports.TouchFriendlyTooltip = TouchFriendlyTooltip; exports.ErrorState = ErrorState; exports.PageError = PageError; exports.LoadError = LoadError; exports.NotFoundError = NotFoundError; exports.ContentLoader = ContentLoader; exports.CardLoader = CardLoader; exports.FormLoader = FormLoader; exports.DetailLoader = DetailLoader; exports.ListLoader = ListLoader; exports.Pagination = Pagination; exports.PaginationContent = PaginationContent; exports.PaginationItem = PaginationItem; exports.PaginationLink = PaginationLink; exports.PaginationEllipsis = PaginationEllipsis; exports.PaginationPrevious = PaginationPrevious; exports.PaginationNext = PaginationNext; exports.init_pagination = init_pagination; exports.CursorPagination = CursorPagination; exports.CursorPaginationSimple = CursorPaginationSimple; exports.TableEmptyState = TableEmptyState; exports.DynamicThemeProvider = DynamicThemeProvider; exports.useDynamicTheme = useDynamicTheme; exports.THEME_STORAGE_KEY = THEME_STORAGE_KEY; exports.THEME_ATTRIBUTE = THEME_ATTRIBUTE; exports.DEFAULT_THEME = DEFAULT_THEME; exports.ThemeProvider = ThemeProvider; exports.useTheme = useTheme; exports.useThemeToggle = useThemeToggle; exports.ArrayEntryManager = ArrayEntryManager; exports.AuthBenefitsPanel = AuthBenefitsPanel; exports.OpenFrameWordmark = OpenFrameWordmark; exports.PoweredByFlamingo = PoweredByFlamingo; exports.AuthShell = AuthShell; exports.BackToLoginLink = BackToLoginLink; exports.PasswordInput = PasswordInput; exports.PROVIDER_META = PROVIDER_META; exports.SsoProviderButtons = SsoProviderButtons; exports.CompleteAccountForm = CompleteAccountForm; exports.TermsAgreementLabel = TermsAgreementLabel; exports.CreateOrganizationForm = CreateOrganizationForm; exports.InviteLinkInvalidModal = InviteLinkInvalidModal; exports.LoginForm = LoginForm; exports.OpenFrameSsoLoginForm = OpenFrameSsoLoginForm; exports.OpenFrameSsoSignUpForm = OpenFrameSsoSignUpForm; exports.PasswordResetForm = PasswordResetForm; exports.SsoAuthShell = SsoAuthShell; exports.ProviderButton = ProviderButton; exports.AuthProvidersList = AuthProvidersList; exports.ChangelogManager = ChangelogManager; exports.ChangelogSectionsManager = ChangelogSectionsManager; exports.ClickUpTasksManager = ClickUpTasksManager; exports.CommandBox = CommandBox; exports.TAG_BADGE_CLASS = TAG_BADGE_CLASS; exports.EntityTagBadges = EntityTagBadges; exports.ErrorBoundary = ErrorBoundary; exports.SectionSelector = SectionSelector; exports.FigmaPrototypeViewer = FigmaPrototypeViewer; exports.FiltersDropdown = FiltersDropdown; exports.useFiltersDropdown = useFiltersDropdown; exports.GitHubReleasesManager = GitHubReleasesManager; exports.KnowledgeBaseLinksManager = KnowledgeBaseLinksManager; exports.LoadingProvider = LoadingProvider; exports.useLoading = useLoading; exports.MediaGalleryManager = MediaGalleryManager; exports.MoreAboutButton = MoreAboutButton; exports.OSTypeBadgeGroup = OSTypeBadgeGroup; exports.ParallaxImageShowcase = ParallaxImageShowcase; exports.PathsDisplay = PathsDisplay; exports.OPENFRAME_PATHS = OPENFRAME_PATHS; exports.getOpenFramePaths = getOpenFramePaths; exports.OPENFRAME_DOCTOR_COMMANDS = OPENFRAME_DOCTOR_COMMANDS; exports.getOpenFrameDoctorCommand = getOpenFrameDoctorCommand; exports.PlatformFilterComponent = PlatformFilterComponent; exports.PushButtonSelector = PushButtonSelector; exports.ReleaseMediaManager = ReleaseMediaManager; exports.SelectButton = SelectButton; exports.SEOEditorPreview = SEOEditorPreview; exports.SocialLinksManager = SocialLinksManager; exports.StartWithOpenFrameButton = StartWithOpenFrameButton; exports.StatusFilterComponent = StatusFilterComponent; exports.TagsSelector = TagsSelector; exports.WarningBlock = WarningBlock; exports.VideoBitesDisplay = VideoBitesDisplay; exports.FloatingWalkthroughVideo = FloatingWalkthroughVideo; exports.InlineWalkthroughVideo = InlineWalkthroughVideo; exports.useWalkthroughVideo = useWalkthroughVideo; exports.VideoSourceSelector = VideoSourceSelector; exports.ConfidenceBadge = ConfidenceBadge; exports.SubtitlesEditor = SubtitlesEditor; exports.TranscriptSummaryEditor = TranscriptSummaryEditor; exports.AIEnrichButton = AIEnrichButton; exports.AIWarningsSection = AIWarningsSection; exports.AIEnrichSection = AIEnrichSection; exports.HighlightVideoSection = HighlightVideoSection; exports.HighlightConfigSection = HighlightConfigSection; exports.EntitySummaryEditor = EntitySummaryEditor; exports.AIStatusIndicator = AIStatusIndicator; exports.AIRequiredBadge = AIRequiredBadge; exports.TranscribeSummarizeSection = TranscribeSummarizeSection; exports.VideoClipsSection = VideoClipsSection; exports.HighlightGenerationSection = HighlightGenerationSection; exports.HighlightVideoPreview = HighlightVideoPreview; exports.TranscribeAndSummarizeCombinedSection = TranscribeAndSummarizeCombinedSection; exports.HighlightVideoCombinedSection = HighlightVideoCombinedSection; exports.ViewToggle = ViewToggle; exports.PolicyConfigurationPanel = PolicyConfigurationPanel; exports.PhoneInput = PhoneInput; exports.WaitlistForm = WaitlistForm; exports.NotificationsProvider = NotificationsProvider; exports.useNotifications = useNotifications; exports.useOptionalNotifications = useOptionalNotifications; exports.useAppLayoutDrawerContainer = useAppLayoutDrawerContainer; exports.AppLayoutDrawerRoot = AppLayoutDrawerRoot; exports.AppLayoutDrawerTrigger = AppLayoutDrawerTrigger; exports.AppLayoutDrawerClose = AppLayoutDrawerClose; exports.AppLayoutDrawerContent = AppLayoutDrawerContent; exports.AppLayoutDrawerHeader = AppLayoutDrawerHeader; exports.AppLayoutDrawerTitle = AppLayoutDrawerTitle; exports.AppLayoutDrawerDescription = AppLayoutDrawerDescription; exports.AppLayoutDrawerBody = AppLayoutDrawerBody; exports.AppLayoutDrawerFooter = AppLayoutDrawerFooter; exports.NotificationTile = NotificationTile; exports.NotificationDrawer = NotificationDrawer; exports.NotificationPopups = NotificationPopups; exports.ADMIN_APPROVAL_REQUEST_CONTEXT_TYPE = ADMIN_APPROVAL_REQUEST_CONTEXT_TYPE; exports.isApprovalNotification = isApprovalNotification; exports.getApprovalMeta = getApprovalMeta; exports.resolutionToStatus = resolutionToStatus; exports.approvalMetaToBatchData = approvalMetaToBatchData; exports.ApprovalRequestNotificationTile = ApprovalRequestNotificationTile; exports.TimeTrackerProvider = TimeTrackerProvider; exports.useTimeTracker = useTimeTracker; exports.useOptionalTimeTracker = useOptionalTimeTracker; exports.useTrackerClock = useTrackerClock; exports.TimeTrackerPanel = TimeTrackerPanel; exports.UnreadDot = UnreadDot; exports.UnreadCountBadge = UnreadCountBadge; exports.HeaderButton = HeaderButton; exports.TimeTrackerHeaderButton = TimeTrackerHeaderButton; exports.BoardColumnHeader = BoardColumnHeader; exports.tintOnDark = tintOnDark; exports.BoardTicketApproval = BoardTicketApproval; exports.TicketCardBody = TicketCardBody; exports.TicketCardView = TicketCardView; exports.TicketCard = TicketCard; exports.TicketCardSkeleton = TicketCardSkeleton; exports.BoardColumn = BoardColumn; exports.useBoardCollapse = useBoardCollapse; exports.Board = Board; exports.columnFromTicketStatus = columnFromTicketStatus; exports.groupTicketsByStatus = groupTicketsByStatus; exports.SLOT_STICKINESS = SLOT_STICKINESS; exports.SortableList = SortableList; exports.useSortableItem = useSortableItem; exports.TicketStatusConfigList = TicketStatusConfigList; exports.TableHeader = TableHeader; exports.TableCell = TableCell; exports.COMPACT_ROW_MIN_HEIGHT_PX = COMPACT_ROW_MIN_HEIGHT_PX; exports.TableCardSkeleton = TableCardSkeleton; exports.TableRow = TableRow; exports.Table = Table; exports.TableDescriptionCell = TableDescriptionCell; exports.TableTimestampCell = TableTimestampCell; exports.QueryReportTableHeader = QueryReportTableHeader; exports.QueryReportTableRow = QueryReportTableRow; exports.QueryReportTableSkeleton = QueryReportTableSkeleton; exports.deriveColumns = deriveColumns; exports.exportToCSV = exportToCSV; exports.QueryReportTable = QueryReportTable; exports.useDataTableContext = useDataTableContext; exports.DataTableRoot = DataTableRoot; exports.getHideClasses = getHideClasses2; exports.alignJustify = alignJustify; exports.multiSelectFilterFn = multiSelectFilterFn; exports.DataTableHeader = DataTableHeader; exports.DataTableEmpty = DataTableEmpty; exports.ROW_HEIGHT_DESKTOP = ROW_HEIGHT_DESKTOP2; exports.ROW_HEIGHT_MOBILE = ROW_HEIGHT_MOBILE2; exports.ROW_SHELL_CLASSES = ROW_SHELL_CLASSES; exports.DataTableSkeleton = DataTableSkeleton; exports.DataTableRow = DataTableRow; exports.DataTableBody = DataTableBody; exports.DataTableInfiniteFooter = DataTableInfiniteFooter; exports.DataTableCursorFooter = DataTableCursorFooter; exports.DataTableRowCount = DataTableRowCount; exports.useDataTable = useDataTable; exports.DataTable = DataTable; exports.flexRender = _reacttable.flexRender; exports.createColumnHelper = _reacttable.createColumnHelper; exports.getCoreRowModel = _reacttable.getCoreRowModel; exports.getExpandedRowModel = _reacttable.getExpandedRowModel; exports.getFacetedRowModel = _reacttable.getFacetedRowModel; exports.getFacetedUniqueValues = _reacttable.getFacetedUniqueValues; exports.getFilteredRowModel = _reacttable.getFilteredRowModel; exports.getGroupedRowModel = _reacttable.getGroupedRowModel; exports.getPaginationRowModel = _reacttable.getPaginationRowModel; exports.getSortedRowModel = _reacttable.getSortedRowModel; exports.SearchInput = SearchInput; exports.FilterListItem = FilterListItem; exports.FilterList = FilterList; exports.TagSearchInput = TagSearchInput; exports.MarkdownEditor = MarkdownEditor; exports.FileUpload = FileUpload; exports.ImageUploader = ImageUploader; exports.TICKET_STATUS_COLOR_PRESETS = TICKET_STATUS_COLOR_PRESETS; exports.CUSTOM_PRESET_KEY = CUSTOM_PRESET_KEY; exports.DEFAULT_CUSTOM_STATUS_COLOR = DEFAULT_CUSTOM_STATUS_COLOR; exports.ColorPresetSelect = ColorPresetSelect; exports.ColorPickerInput = ColorPickerInput; exports.TicketStatusConfigRow = TicketStatusConfigRow; exports.formatTestRunDuration = formatTestRunDuration; exports.TestResultsSkeleton = TestResultsSkeleton; exports.TestResultsTable = TestResultsTable; exports.TestRunErrorBanner = TestRunErrorBanner; exports.TestRunResults = TestRunResults; exports.TimingStat = TimingStat; exports.TestRunStatusStat = TestRunStatusStat; exports.useTestRunState = useTestRunState; exports.TicketAttachmentsList = TicketAttachmentsList; exports.TicketDetailSection = TicketDetailSection; exports.TicketNoteCard = TicketNoteCard; exports.TicketNotesSection = TicketNotesSection; exports.TicketInfoSection = TicketInfoSection; exports.renderTicketStatusOption = renderTicketStatusOption; exports.renderTicketAssigneeOption = renderTicketAssigneeOption; exports.TakeOverTicketModal = TakeOverTicketModal; exports.ReopenTicketModal = ReopenTicketModal; exports.ReopenTicketRequestModal = ReopenTicketRequestModal; exports.FilterPillRow = FilterPillRow; exports.MingoAiButton = MingoAiButton; exports.MOBILE_NAV_PANEL_ID = MOBILE_NAV_PANEL_ID; exports.MobileNavPanel = MobileNavPanel; exports.useOptionalTicketLive = useOptionalTicketLive; exports.useTicketLive = useTicketLive; exports.TicketLiveProvider = TicketLiveProvider; exports.isOptimistic = isOptimistic; exports.TICKET_TEXT_MAX_CHARS = TICKET_TEXT_MAX_CHARS; exports.TICKET_MARK_READ_DEBOUNCE_MS = TICKET_MARK_READ_DEBOUNCE_MS; exports.TOAST_COPY = TOAST_COPY; exports.TicketAlertsButton = TicketAlertsButton; exports.TopNavigation = TopNavigation; exports.Header = Header2; exports.HeaderSkeleton = HeaderSkeleton; exports.ClientOnlyHeader = ClientOnlyHeader; exports.SlidingSidebar = SlidingSidebar; exports.StickySectionNav = StickySectionNav; exports.useSectionNavigation = useSectionNavigation; exports.NAVIGATION_SIDEBAR_WIDTH_VAR = NAVIGATION_SIDEBAR_WIDTH_VAR; exports.NavigationSidebar = NavigationSidebar; exports.HeaderGlobalSearch = HeaderGlobalSearch; exports.HeaderMingoButton = HeaderMingoButton; exports.HeaderOrganizationFilter = HeaderOrganizationFilter; exports.AppHeader = AppHeader; exports.MobileBurgerMenu = MobileBurgerMenu; exports.AppLayout = AppLayout; exports.MultiLevelNavigation = MultiLevelNavigation; exports.MobileNavigationDropdown = MobileNavigationDropdown; exports.SoftwareInfo = SoftwareInfo; exports.SoftwareSourceBadge = SoftwareSourceBadge; exports.CveLink = CveLink; exports.ToolBadge = ToolBadge; exports.ShellTypeBadge = ShellTypeBadge; exports.ScriptInfoSection = ScriptInfoSection; exports.ScriptArguments = ScriptArguments; exports.OnboardingStepCard = OnboardingStepCard; exports.OnboardingWalkthrough = OnboardingWalkthrough; exports.LOG_SEVERITY_COLORS = LOG_SEVERITY_COLORS; exports.LOG_SEVERITY_LABELS = LOG_SEVERITY_LABELS; exports.LogSeverityDot = LogSeverityDot; exports.LogsList = LogsList; exports.assets = assets;
|
|
63924
|
-
//# sourceMappingURL=chunk-
|
|
63877
|
+
//# sourceMappingURL=chunk-6RSKK4E7.cjs.map
|