@flamingo-stack/openframe-frontend-core 0.0.651 → 0.0.652-2252.6520.1
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-RRIJPDW2.cjs → chunk-27OZEE3E.cjs} +3 -3
- package/dist/{chunk-RRIJPDW2.cjs.map → chunk-27OZEE3E.cjs.map} +1 -1
- package/dist/{chunk-W6XVMTJX.js → chunk-2FWS52HR.js} +3 -3
- package/dist/{chunk-765P644V.cjs → chunk-4T7E2SWL.cjs} +13 -13
- package/dist/{chunk-765P644V.cjs.map → chunk-4T7E2SWL.cjs.map} +1 -1
- package/dist/{chunk-K4HT2U2O.js → chunk-74EGKPX3.js} +2 -2
- package/dist/{chunk-RRKQL65P.cjs → chunk-AAITIXRL.cjs} +17 -17
- package/dist/{chunk-RRKQL65P.cjs.map → chunk-AAITIXRL.cjs.map} +1 -1
- package/dist/{chunk-7G6SBEX5.js → chunk-ADXTLFG7.js} +5 -5
- package/dist/{chunk-JTBLAQPZ.js → chunk-AGQZRNYV.js} +4 -4
- package/dist/{chunk-S7NRYXGG.js → chunk-BRIJIC6E.js} +4 -4
- package/dist/{chunk-YWAZDKPP.cjs → chunk-BXE3DLIC.cjs} +17 -17
- package/dist/{chunk-YWAZDKPP.cjs.map → chunk-BXE3DLIC.cjs.map} +1 -1
- package/dist/{chunk-ITQCUJW7.cjs → chunk-DVT5JCLD.cjs} +3 -3
- package/dist/{chunk-ITQCUJW7.cjs.map → chunk-DVT5JCLD.cjs.map} +1 -1
- package/dist/{chunk-TD3K7HLZ.cjs → chunk-ERFHLMWM.cjs} +182 -146
- package/dist/chunk-ERFHLMWM.cjs.map +1 -0
- package/dist/{chunk-TVUKPILJ.cjs → chunk-EY2OVL3Z.cjs} +10 -10
- package/dist/{chunk-TVUKPILJ.cjs.map → chunk-EY2OVL3Z.cjs.map} +1 -1
- package/dist/{chunk-VSE47UQ4.cjs → chunk-FBKB4HCZ.cjs} +3 -3
- package/dist/{chunk-VSE47UQ4.cjs.map → chunk-FBKB4HCZ.cjs.map} +1 -1
- package/dist/{chunk-KXKRR6GZ.js → chunk-HM6D2YHS.js} +2 -2
- package/dist/{chunk-OL7PTXX5.js → chunk-HSPLCV56.js} +2 -2
- package/dist/{chunk-P2BO5XWB.cjs → chunk-I3KD7T6K.cjs} +36 -36
- package/dist/{chunk-P2BO5XWB.cjs.map → chunk-I3KD7T6K.cjs.map} +1 -1
- package/dist/{chunk-SIYE64HI.cjs → chunk-I5Y6ZALR.cjs} +51 -51
- package/dist/{chunk-SIYE64HI.cjs.map → chunk-I5Y6ZALR.cjs.map} +1 -1
- package/dist/{chunk-WYF5TVYX.cjs → chunk-JCVGQDQV.cjs} +33 -33
- package/dist/{chunk-WYF5TVYX.cjs.map → chunk-JCVGQDQV.cjs.map} +1 -1
- package/dist/{chunk-OU6VI2QH.cjs → chunk-JWY5ES3H.cjs} +4 -4
- package/dist/{chunk-OU6VI2QH.cjs.map → chunk-JWY5ES3H.cjs.map} +1 -1
- package/dist/{chunk-R54B74M4.js → chunk-LDC37FG4.js} +2 -2
- package/dist/{chunk-PAY4RZPD.js → chunk-LECSFMGM.js} +183 -147
- package/dist/{chunk-PAY4RZPD.js.map → chunk-LECSFMGM.js.map} +1 -1
- package/dist/{chunk-RDNO3KCF.js → chunk-LUEURQOY.js} +5 -5
- package/dist/{chunk-DAOL4ZRO.js → chunk-N4RVPWPM.js} +2 -2
- package/dist/{chunk-O4J4V5YL.js → chunk-NTJUFHX2.js} +2 -2
- package/dist/{chunk-JAMRFKAS.js → chunk-QUNY6URW.js} +2 -2
- package/dist/{chunk-XRMFLKI5.js → chunk-QZJ4K7SG.js} +2 -2
- package/dist/{chunk-QWCWFAGZ.js → chunk-TGHSQUTD.js} +2 -2
- package/dist/{chunk-PQZH3476.cjs → chunk-UEFHMMJX.cjs} +18 -18
- package/dist/{chunk-PQZH3476.cjs.map → chunk-UEFHMMJX.cjs.map} +1 -1
- package/dist/{chunk-GKSPWGB2.cjs → chunk-VIHX7ADQ.cjs} +3 -3
- package/dist/{chunk-GKSPWGB2.cjs.map → chunk-VIHX7ADQ.cjs.map} +1 -1
- package/dist/{chunk-SH7SZZC4.cjs → chunk-ZVLOG2AV.cjs} +4 -4
- package/dist/{chunk-SH7SZZC4.cjs.map → chunk-ZVLOG2AV.cjs.map} +1 -1
- package/dist/components/case-studies/index.cjs +11 -11
- package/dist/components/case-studies/index.js +2 -2
- package/dist/components/contact/index.cjs +3 -3
- package/dist/components/contact/index.js +2 -2
- package/dist/components/docs/index.cjs +6 -6
- package/dist/components/docs/index.js +5 -5
- package/dist/components/embeds/index.cjs +3 -3
- package/dist/components/embeds/index.js +2 -2
- package/dist/components/faq/index.cjs +3 -3
- package/dist/components/faq/index.js +2 -2
- package/dist/components/features/index.cjs +2 -2
- package/dist/components/features/index.js +1 -1
- package/dist/components/features/section-selector.d.ts +13 -0
- package/dist/components/features/section-selector.d.ts.map +1 -1
- package/dist/components/help-center-pages/index.cjs +22 -22
- package/dist/components/help-center-pages/index.js +13 -13
- package/dist/components/index.cjs +31 -31
- package/dist/components/index.js +12 -12
- package/dist/components/meeting-scheduler/index.cjs +21 -21
- package/dist/components/meeting-scheduler/index.js +1 -1
- package/dist/components/navigation/index.cjs +5 -5
- package/dist/components/navigation/index.js +4 -4
- package/dist/components/onboarding-guides/index.cjs +5 -5
- package/dist/components/onboarding-guides/index.js +4 -4
- package/dist/components/tickets/index.cjs +6 -6
- package/dist/components/tickets/index.js +5 -5
- package/dist/components/ui/index.cjs +2 -2
- package/dist/components/ui/index.js +1 -1
- package/dist/index.cjs +6 -6
- package/dist/index.js +5 -5
- package/package.json +1 -1
- package/src/components/features/section-selector.tsx +79 -6
- package/dist/chunk-TD3K7HLZ.cjs.map +0 -1
- /package/dist/{chunk-W6XVMTJX.js.map → chunk-2FWS52HR.js.map} +0 -0
- /package/dist/{chunk-K4HT2U2O.js.map → chunk-74EGKPX3.js.map} +0 -0
- /package/dist/{chunk-7G6SBEX5.js.map → chunk-ADXTLFG7.js.map} +0 -0
- /package/dist/{chunk-JTBLAQPZ.js.map → chunk-AGQZRNYV.js.map} +0 -0
- /package/dist/{chunk-S7NRYXGG.js.map → chunk-BRIJIC6E.js.map} +0 -0
- /package/dist/{chunk-KXKRR6GZ.js.map → chunk-HM6D2YHS.js.map} +0 -0
- /package/dist/{chunk-OL7PTXX5.js.map → chunk-HSPLCV56.js.map} +0 -0
- /package/dist/{chunk-R54B74M4.js.map → chunk-LDC37FG4.js.map} +0 -0
- /package/dist/{chunk-RDNO3KCF.js.map → chunk-LUEURQOY.js.map} +0 -0
- /package/dist/{chunk-DAOL4ZRO.js.map → chunk-N4RVPWPM.js.map} +0 -0
- /package/dist/{chunk-O4J4V5YL.js.map → chunk-NTJUFHX2.js.map} +0 -0
- /package/dist/{chunk-JAMRFKAS.js.map → chunk-QUNY6URW.js.map} +0 -0
- /package/dist/{chunk-XRMFLKI5.js.map → chunk-QZJ4K7SG.js.map} +0 -0
- /package/dist/{chunk-QWCWFAGZ.js.map → chunk-TGHSQUTD.js.map} +0 -0
|
@@ -19783,11 +19783,13 @@ var ErrorBoundary = class extends _react.Component {
|
|
|
19783
19783
|
|
|
19784
19784
|
// src/components/features/section-selector.tsx
|
|
19785
19785
|
|
|
19786
|
+
|
|
19786
19787
|
var SectionButton = ({
|
|
19787
19788
|
section,
|
|
19788
19789
|
isActive,
|
|
19789
19790
|
disabled,
|
|
19790
19791
|
onClick,
|
|
19792
|
+
isTabStop,
|
|
19791
19793
|
layout,
|
|
19792
19794
|
widthClasses,
|
|
19793
19795
|
buttonClassName,
|
|
@@ -19805,16 +19807,24 @@ var SectionButton = ({
|
|
|
19805
19807
|
onClick,
|
|
19806
19808
|
disabled: isDisabled,
|
|
19807
19809
|
variant: "outline",
|
|
19810
|
+
role: "tab",
|
|
19811
|
+
"aria-selected": isActive,
|
|
19812
|
+
tabIndex: isTabStop ? 0 : -1,
|
|
19808
19813
|
className: _chunkX7CEWD6Vcjs.cn.call(void 0,
|
|
19809
19814
|
"!items-start !justify-start bg-ods-card !text-left shadow-ods-card hover:bg-ods-card-hover",
|
|
19810
19815
|
isActive && "border-ods-accent",
|
|
19811
19816
|
widthClasses,
|
|
19812
19817
|
buttonClassName,
|
|
19813
19818
|
isActive && activeButtonClassName,
|
|
19814
|
-
layout === "vertical" ?
|
|
19819
|
+
layout === "vertical" ? (
|
|
19820
|
+
// Strip below lg: a compact, non-shrinking tab. Side list from lg: the full card.
|
|
19821
|
+
"!h-auto !min-h-12 shrink-0 !px-[var(--spacing-system-mf)] !py-[var(--spacing-system-sf)] lg:!min-h-[var(--section-min-height)] lg:shrink lg:!py-[var(--spacing-system-mf)]"
|
|
19822
|
+
) : "!h-auto !min-h-[76px] !whitespace-normal !text-left"
|
|
19815
19823
|
),
|
|
19816
19824
|
style: {
|
|
19817
|
-
|
|
19825
|
+
// The side list's height is a CSS variable so the strip can ignore it; an
|
|
19826
|
+
// inline `minHeight` would make every strip tab as tall as a side card.
|
|
19827
|
+
...layout === "vertical" ? { "--section-min-height": minHeight } : { minHeight },
|
|
19818
19828
|
touchAction: "manipulation",
|
|
19819
19829
|
WebkitTapHighlightColor: "transparent",
|
|
19820
19830
|
textAlign: "left",
|
|
@@ -19828,7 +19838,7 @@ var SectionButton = ({
|
|
|
19828
19838
|
section.number && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkX7CEWD6Vcjs.cn.call(void 0, numberClasses, "shrink-0 text-h3"), children: section.number }),
|
|
19829
19839
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "min-w-0 flex-1 text-left", children: [
|
|
19830
19840
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-wrap items-center gap-2", children: [
|
|
19831
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: _chunkX7CEWD6Vcjs.cn.call(void 0, titleClasses, "whitespace-normal break-words
|
|
19841
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: _chunkX7CEWD6Vcjs.cn.call(void 0, titleClasses, "whitespace-nowrap text-h4 lg:whitespace-normal lg:break-words"), children: section.title }),
|
|
19832
19842
|
section.badge && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19833
19843
|
_chunkEX5PJGVAcjs.StatusBadge,
|
|
19834
19844
|
{
|
|
@@ -19838,7 +19848,7 @@ var SectionButton = ({
|
|
|
19838
19848
|
}
|
|
19839
19849
|
)
|
|
19840
19850
|
] }),
|
|
19841
|
-
section.description && showDescription && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: _chunkX7CEWD6Vcjs.cn.call(void 0, subtitleClasses, "mt-1 whitespace-normal break-words text-h6"), children: section.description })
|
|
19851
|
+
section.description && showDescription && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: _chunkX7CEWD6Vcjs.cn.call(void 0, subtitleClasses, "mt-1 hidden whitespace-normal break-words text-h6 lg:block"), children: section.description })
|
|
19842
19852
|
] })
|
|
19843
19853
|
] })
|
|
19844
19854
|
) : (
|
|
@@ -19878,9 +19888,34 @@ var SectionSelector = ({
|
|
|
19878
19888
|
showDescription = true
|
|
19879
19889
|
}) => {
|
|
19880
19890
|
const containerClasses = _chunkX7CEWD6Vcjs.cn.call(void 0,
|
|
19881
|
-
layout === "wrap" ? "flex flex-wrap gap-2 md:gap-4 lg:gap-6" : "flex flex-
|
|
19891
|
+
layout === "wrap" ? "flex flex-wrap gap-2 md:gap-4 lg:gap-6" : "flex flex-row gap-[var(--spacing-system-xsf)] overflow-x-auto [scrollbar-width:none] lg:flex-col lg:overflow-visible [&::-webkit-scrollbar]:hidden",
|
|
19882
19892
|
className
|
|
19883
19893
|
);
|
|
19894
|
+
const listRef = _react.useRef.call(void 0, null);
|
|
19895
|
+
_react.useEffect.call(void 0, () => {
|
|
19896
|
+
const list = listRef.current;
|
|
19897
|
+
const active = _optionalChain([list, 'optionalAccess', _439 => _439.querySelector, 'call', _440 => _440('[role="tab"][aria-selected="true"]')]);
|
|
19898
|
+
if (!list || !active || list.scrollWidth <= list.clientWidth) return;
|
|
19899
|
+
const offset = active.getBoundingClientRect().left - list.getBoundingClientRect().left;
|
|
19900
|
+
list.scrollLeft += offset - (list.clientWidth - active.clientWidth) / 2;
|
|
19901
|
+
}, [activeSection]);
|
|
19902
|
+
const enabled = sections.filter((section) => !section.disabled && !disabled);
|
|
19903
|
+
const tabStopId = enabled.some((section) => section.id === activeSection) ? activeSection : _optionalChain([enabled, 'access', _441 => _441[0], 'optionalAccess', _442 => _442.id]);
|
|
19904
|
+
const onKeyDown = (event) => {
|
|
19905
|
+
const step = event.key === "ArrowRight" || event.key === "ArrowDown" ? 1 : event.key === "ArrowLeft" || event.key === "ArrowUp" ? -1 : 0;
|
|
19906
|
+
if (!step && event.key !== "Home" && event.key !== "End") return;
|
|
19907
|
+
if (enabled.length === 0) return;
|
|
19908
|
+
event.preventDefault();
|
|
19909
|
+
const at = Math.max(
|
|
19910
|
+
0,
|
|
19911
|
+
enabled.findIndex((section) => section.id === activeSection)
|
|
19912
|
+
);
|
|
19913
|
+
const next = event.key === "Home" ? enabled[0] : event.key === "End" ? enabled[enabled.length - 1] : enabled[(at + step + enabled.length) % enabled.length];
|
|
19914
|
+
onSectionChange(next.id);
|
|
19915
|
+
requestAnimationFrame(
|
|
19916
|
+
() => _optionalChain([listRef, 'access', _443 => _443.current, 'optionalAccess', _444 => _444.querySelector, 'call', _445 => _445('[role="tab"][aria-selected="true"]'), 'optionalAccess', _446 => _446.focus, 'call', _447 => _447()])
|
|
19917
|
+
);
|
|
19918
|
+
};
|
|
19884
19919
|
const getButtonWidthClasses = () => {
|
|
19885
19920
|
switch (buttonWidth) {
|
|
19886
19921
|
case "full":
|
|
@@ -19892,7 +19927,7 @@ var SectionSelector = ({
|
|
|
19892
19927
|
}
|
|
19893
19928
|
};
|
|
19894
19929
|
const widthClasses = getButtonWidthClasses();
|
|
19895
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: containerClasses, children: sections.map((section) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19930
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: listRef, role: "tablist", onKeyDown, className: containerClasses, children: sections.map((section) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19896
19931
|
SectionButton,
|
|
19897
19932
|
{
|
|
19898
19933
|
section,
|
|
@@ -19904,7 +19939,8 @@ var SectionSelector = ({
|
|
|
19904
19939
|
buttonClassName,
|
|
19905
19940
|
activeButtonClassName,
|
|
19906
19941
|
minHeight,
|
|
19907
|
-
showDescription
|
|
19942
|
+
showDescription,
|
|
19943
|
+
isTabStop: section.id === tabStopId
|
|
19908
19944
|
},
|
|
19909
19945
|
section.id
|
|
19910
19946
|
)) });
|
|
@@ -19920,10 +19956,10 @@ var getContentDimensions = (config) => {
|
|
|
19920
19956
|
const envMobileHeight = process.env.NEXT_PUBLIC_FIGMA_MOBILE_HEIGHT ? parseInt(process.env.NEXT_PUBLIC_FIGMA_MOBILE_HEIGHT) : null;
|
|
19921
19957
|
const envDesktopWidth = process.env.NEXT_PUBLIC_FIGMA_DESKTOP_WIDTH ? parseInt(process.env.NEXT_PUBLIC_FIGMA_DESKTOP_WIDTH) : null;
|
|
19922
19958
|
const envDesktopHeight = process.env.NEXT_PUBLIC_FIGMA_DESKTOP_HEIGHT ? parseInt(process.env.NEXT_PUBLIC_FIGMA_DESKTOP_HEIGHT) : null;
|
|
19923
|
-
const mobileWidth = _nullishCoalesce(_nullishCoalesce(envMobileWidth, () => ( _optionalChain([config, 'optionalAccess',
|
|
19924
|
-
const mobileHeight = _nullishCoalesce(_nullishCoalesce(envMobileHeight, () => ( _optionalChain([config, 'optionalAccess',
|
|
19925
|
-
const desktopWidth = _nullishCoalesce(_nullishCoalesce(envDesktopWidth, () => ( _optionalChain([config, 'optionalAccess',
|
|
19926
|
-
const desktopHeight = _nullishCoalesce(_nullishCoalesce(envDesktopHeight, () => ( _optionalChain([config, 'optionalAccess',
|
|
19959
|
+
const mobileWidth = _nullishCoalesce(_nullishCoalesce(envMobileWidth, () => ( _optionalChain([config, 'optionalAccess', _448 => _448.mobileContentDimensions, 'optionalAccess', _449 => _449.width]))), () => ( defaultMobile.width));
|
|
19960
|
+
const mobileHeight = _nullishCoalesce(_nullishCoalesce(envMobileHeight, () => ( _optionalChain([config, 'optionalAccess', _450 => _450.mobileContentDimensions, 'optionalAccess', _451 => _451.height]))), () => ( defaultMobile.height));
|
|
19961
|
+
const desktopWidth = _nullishCoalesce(_nullishCoalesce(envDesktopWidth, () => ( _optionalChain([config, 'optionalAccess', _452 => _452.desktopContentDimensions, 'optionalAccess', _453 => _453.width]))), () => ( defaultDesktop.width));
|
|
19962
|
+
const desktopHeight = _nullishCoalesce(_nullishCoalesce(envDesktopHeight, () => ( _optionalChain([config, 'optionalAccess', _454 => _454.desktopContentDimensions, 'optionalAccess', _455 => _455.height]))), () => ( defaultDesktop.height));
|
|
19927
19963
|
return {
|
|
19928
19964
|
mobile: { width: mobileWidth, height: mobileHeight },
|
|
19929
19965
|
desktop: { width: desktopWidth, height: desktopHeight }
|
|
@@ -20079,7 +20115,7 @@ function UnifiedUI({ state, handlers, config, iframeRef }) {
|
|
|
20079
20115
|
const contentDimensions = getContentDimensions(config);
|
|
20080
20116
|
const mobileHeight = contentDimensions.mobile.height;
|
|
20081
20117
|
const calculatedHeight = Math.max(mobileHeight + 100, 400);
|
|
20082
|
-
return `${Math.min(calculatedHeight, _optionalChain([window, 'optionalAccess',
|
|
20118
|
+
return `${Math.min(calculatedHeight, _optionalChain([window, 'optionalAccess', _456 => _456.innerHeight]) * 0.85 || 650)}px`;
|
|
20083
20119
|
})(),
|
|
20084
20120
|
minHeight: viewMode === "DESKTOP" ? "auto" : (() => {
|
|
20085
20121
|
const contentDimensions = getContentDimensions(config);
|
|
@@ -20182,7 +20218,7 @@ var FigmaPrototypeViewer = ({
|
|
|
20182
20218
|
const [isInitialized, setIsInitialized] = _react.useState.call(void 0, false);
|
|
20183
20219
|
const [currentNodeId, setCurrentNodeId] = _react.useState.call(void 0, null);
|
|
20184
20220
|
const [internalActiveSection, setInternalActiveSection] = _react.useState.call(void 0,
|
|
20185
|
-
config.defaultSectionId || _optionalChain([config, 'access',
|
|
20221
|
+
config.defaultSectionId || _optionalChain([config, 'access', _457 => _457.sections, 'access', _458 => _458[0], 'optionalAccess', _459 => _459.id]) || ""
|
|
20186
20222
|
);
|
|
20187
20223
|
const activeSection = externalActiveSection || internalActiveSection;
|
|
20188
20224
|
const [isNavigating, setIsNavigating] = _react.useState.call(void 0, false);
|
|
@@ -20280,19 +20316,19 @@ var FigmaPrototypeViewer = ({
|
|
|
20280
20316
|
setIframeState("READY");
|
|
20281
20317
|
break;
|
|
20282
20318
|
case "PRESENTED_NODE_CHANGED":
|
|
20283
|
-
if (_optionalChain([figmaEvent, 'access',
|
|
20319
|
+
if (_optionalChain([figmaEvent, 'access', _460 => _460.data, 'optionalAccess', _461 => _461.presentedNodeId])) {
|
|
20284
20320
|
setCurrentNodeId(figmaEvent.data.presentedNodeId);
|
|
20285
20321
|
if (!isNavigating) {
|
|
20286
20322
|
const matchingSection = configSections.find((s) => {
|
|
20287
|
-
const desktopMatch = s.startingNodeId === _optionalChain([figmaEvent, 'access',
|
|
20288
|
-
const mobileMatch = s.mobileStartingNodeId === _optionalChain([figmaEvent, 'access',
|
|
20323
|
+
const desktopMatch = s.startingNodeId === _optionalChain([figmaEvent, 'access', _462 => _462.data, 'optionalAccess', _463 => _463.presentedNodeId]) || s.startingNodeId.replace(":", "-") === _optionalChain([figmaEvent, 'access', _464 => _464.data, 'optionalAccess', _465 => _465.presentedNodeId]);
|
|
20324
|
+
const mobileMatch = s.mobileStartingNodeId === _optionalChain([figmaEvent, 'access', _466 => _466.data, 'optionalAccess', _467 => _467.presentedNodeId]) || _optionalChain([s, 'access', _468 => _468.mobileStartingNodeId, 'optionalAccess', _469 => _469.replace, 'call', _470 => _470(":", "-")]) === _optionalChain([figmaEvent, 'access', _471 => _471.data, 'optionalAccess', _472 => _472.presentedNodeId]);
|
|
20289
20325
|
return desktopMatch || mobileMatch;
|
|
20290
20326
|
});
|
|
20291
20327
|
if (matchingSection && matchingSection.id !== activeSection) {
|
|
20292
20328
|
if (!externalActiveSection) {
|
|
20293
20329
|
setInternalActiveSection(matchingSection.id);
|
|
20294
20330
|
}
|
|
20295
|
-
_optionalChain([onSectionChange, 'optionalCall',
|
|
20331
|
+
_optionalChain([onSectionChange, 'optionalCall', _473 => _473(matchingSection.id)]);
|
|
20296
20332
|
}
|
|
20297
20333
|
}
|
|
20298
20334
|
}
|
|
@@ -20306,7 +20342,7 @@ var FigmaPrototypeViewer = ({
|
|
|
20306
20342
|
const navigateToSection = _react.useCallback.call(void 0,
|
|
20307
20343
|
(sectionId) => {
|
|
20308
20344
|
const section = config.sections.find((s) => s.id === sectionId);
|
|
20309
|
-
if (!section || !_optionalChain([iframeRef, 'access',
|
|
20345
|
+
if (!section || !_optionalChain([iframeRef, 'access', _474 => _474.current, 'optionalAccess', _475 => _475.contentWindow]) || !isInitialized) {
|
|
20310
20346
|
return;
|
|
20311
20347
|
}
|
|
20312
20348
|
setIsNavigating(true);
|
|
@@ -20314,7 +20350,7 @@ var FigmaPrototypeViewer = ({
|
|
|
20314
20350
|
if (!externalActiveSection) {
|
|
20315
20351
|
setInternalActiveSection(sectionId);
|
|
20316
20352
|
}
|
|
20317
|
-
_optionalChain([config, 'access',
|
|
20353
|
+
_optionalChain([config, 'access', _476 => _476.onSectionChange, 'optionalCall', _477 => _477(sectionId)]);
|
|
20318
20354
|
const command = {
|
|
20319
20355
|
type: "NAVIGATE_TO_FRAME_AND_CLOSE_OVERLAYS",
|
|
20320
20356
|
data: { nodeId }
|
|
@@ -20651,7 +20687,7 @@ var FiltersDropdown = ({
|
|
|
20651
20687
|
defaults[section.id] = section.defaultSelected || [];
|
|
20652
20688
|
});
|
|
20653
20689
|
setSelectedFilters(defaults);
|
|
20654
|
-
_optionalChain([onReset, 'optionalCall',
|
|
20690
|
+
_optionalChain([onReset, 'optionalCall', _478 => _478()]);
|
|
20655
20691
|
setIsOpen(false);
|
|
20656
20692
|
};
|
|
20657
20693
|
const handleApply = () => {
|
|
@@ -20900,7 +20936,7 @@ function MediaGalleryManager({
|
|
|
20900
20936
|
const [draggedIndex, setDraggedIndex] = _react.useState.call(void 0, null);
|
|
20901
20937
|
const handleFileSelect = _react.useCallback.call(void 0,
|
|
20902
20938
|
async (event) => {
|
|
20903
|
-
const file = _optionalChain([event, 'access',
|
|
20939
|
+
const file = _optionalChain([event, 'access', _479 => _479.target, 'access', _480 => _480.files, 'optionalAccess', _481 => _481[0]]);
|
|
20904
20940
|
if (!file) return;
|
|
20905
20941
|
let mediaType;
|
|
20906
20942
|
if (file.type.startsWith("image/")) {
|
|
@@ -21025,7 +21061,7 @@ function MediaGalleryManager({
|
|
|
21025
21061
|
{
|
|
21026
21062
|
type: "button",
|
|
21027
21063
|
variant: "outline",
|
|
21028
|
-
onClick: () => _optionalChain([fileInputRef, 'access',
|
|
21064
|
+
onClick: () => _optionalChain([fileInputRef, 'access', _482 => _482.current, 'optionalAccess', _483 => _483.click, 'call', _484 => _484()]),
|
|
21029
21065
|
disabled: isUploading,
|
|
21030
21066
|
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Plus, { className: "h-4 w-4" }),
|
|
21031
21067
|
className: "font-bold text-h6",
|
|
@@ -23150,9 +23186,9 @@ function PushButtonSelector({
|
|
|
23150
23186
|
}) {
|
|
23151
23187
|
const scrollRef = _react.useRef.call(void 0, null);
|
|
23152
23188
|
const sentinelRef = _react.useRef.call(void 0, null);
|
|
23153
|
-
const lazyHasMore = _nullishCoalesce(_optionalChain([lazyLoad, 'optionalAccess',
|
|
23154
|
-
const lazyFetching = _nullishCoalesce(_optionalChain([lazyLoad, 'optionalAccess',
|
|
23155
|
-
const onLoadMore = _optionalChain([lazyLoad, 'optionalAccess',
|
|
23189
|
+
const lazyHasMore = _nullishCoalesce(_optionalChain([lazyLoad, 'optionalAccess', _485 => _485.hasMore]), () => ( false));
|
|
23190
|
+
const lazyFetching = _nullishCoalesce(_optionalChain([lazyLoad, 'optionalAccess', _486 => _486.isFetchingMore]), () => ( false));
|
|
23191
|
+
const onLoadMore = _optionalChain([lazyLoad, 'optionalAccess', _487 => _487.onLoadMore]);
|
|
23156
23192
|
const optionCount = options.length;
|
|
23157
23193
|
_react.useEffect.call(void 0, () => {
|
|
23158
23194
|
const sentinel = sentinelRef.current;
|
|
@@ -23323,7 +23359,7 @@ function ReleaseMediaManager({ media, onChange, onUpload, className = "" }) {
|
|
|
23323
23359
|
const fileInputRef = _react.useRef.call(void 0, null);
|
|
23324
23360
|
const [uploadingIndex, setUploadingIndex] = _react.useState.call(void 0, null);
|
|
23325
23361
|
const handleFileSelect = async (event) => {
|
|
23326
|
-
const file = _optionalChain([event, 'access',
|
|
23362
|
+
const file = _optionalChain([event, 'access', _488 => _488.target, 'access', _489 => _489.files, 'optionalAccess', _490 => _490[0]]);
|
|
23327
23363
|
if (!file) return;
|
|
23328
23364
|
let mediaType;
|
|
23329
23365
|
if (file.type.startsWith("image/")) {
|
|
@@ -23405,7 +23441,7 @@ function ReleaseMediaManager({ media, onChange, onUpload, className = "" }) {
|
|
|
23405
23441
|
{
|
|
23406
23442
|
type: "button",
|
|
23407
23443
|
variant: "outline",
|
|
23408
|
-
onClick: () => _optionalChain([fileInputRef, 'access',
|
|
23444
|
+
onClick: () => _optionalChain([fileInputRef, 'access', _491 => _491.current, 'optionalAccess', _492 => _492.click, 'call', _493 => _493()]),
|
|
23409
23445
|
disabled: uploadingIndex !== null,
|
|
23410
23446
|
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Plus, { className: "h-4 w-4" }),
|
|
23411
23447
|
className: "font-bold text-h6",
|
|
@@ -23686,7 +23722,7 @@ function SEOEditorPreview({
|
|
|
23686
23722
|
const displayImage = hasOgImage || hasFeaturedImage;
|
|
23687
23723
|
const handleImageUpload = async (event) => {
|
|
23688
23724
|
if (!onOgImageUpload) return;
|
|
23689
|
-
const file = _optionalChain([event, 'access',
|
|
23725
|
+
const file = _optionalChain([event, 'access', _494 => _494.target, 'access', _495 => _495.files, 'optionalAccess', _496 => _496[0]]);
|
|
23690
23726
|
if (!file) return;
|
|
23691
23727
|
setIsUploading(true);
|
|
23692
23728
|
try {
|
|
@@ -23843,7 +23879,7 @@ function SEOEditorPreview({
|
|
|
23843
23879
|
type: "button",
|
|
23844
23880
|
variant: "outline",
|
|
23845
23881
|
size: "icon",
|
|
23846
|
-
onClick: () => _optionalChain([fileInputRef, 'optionalAccess',
|
|
23882
|
+
onClick: () => _optionalChain([fileInputRef, 'optionalAccess', _497 => _497.click, 'call', _498 => _498()]),
|
|
23847
23883
|
disabled: disabled || isUploading,
|
|
23848
23884
|
className: "rounded-full bg-white text-black opacity-0 hover:bg-gray-100 group-hover:opacity-100",
|
|
23849
23885
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Upload, { className: "h-4 w-4" })
|
|
@@ -23869,7 +23905,7 @@ function SEOEditorPreview({
|
|
|
23869
23905
|
SEO_MEDIA_BOX_HEIGHT,
|
|
23870
23906
|
"flex cursor-pointer flex-col items-center justify-center rounded-lg border-2 border-dashed border-ods-border bg-ods-bg-hover transition-colors hover:border-ods-accent"
|
|
23871
23907
|
),
|
|
23872
|
-
onClick: () => onOgImageUpload && _optionalChain([fileInputRef, 'optionalAccess',
|
|
23908
|
+
onClick: () => onOgImageUpload && _optionalChain([fileInputRef, 'optionalAccess', _499 => _499.click, 'call', _500 => _500()]),
|
|
23873
23909
|
children: isUploading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Loader2, { className: "h-8 w-8 animate-spin text-ods-accent" }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
23874
23910
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Upload, { className: "mb-2 h-8 w-8 text-ods-text-secondary" }),
|
|
23875
23911
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-text-secondary text-h6", children: onOgImageUpload ? "Click to upload OG image" : "No image" })
|
|
@@ -24030,7 +24066,7 @@ function SocialLinksManager({
|
|
|
24030
24066
|
className = ""
|
|
24031
24067
|
}) {
|
|
24032
24068
|
const addLink = () => {
|
|
24033
|
-
const firstPlatform = _optionalChain([platforms, 'access',
|
|
24069
|
+
const firstPlatform = _optionalChain([platforms, 'access', _501 => _501[0], 'optionalAccess', _502 => _502.name]) || "website";
|
|
24034
24070
|
onChange([...links, { platform: firstPlatform, url: "" }]);
|
|
24035
24071
|
};
|
|
24036
24072
|
const removeLink = (index) => {
|
|
@@ -24042,7 +24078,7 @@ function SocialLinksManager({
|
|
|
24042
24078
|
onChange(updated);
|
|
24043
24079
|
};
|
|
24044
24080
|
const getIcon = (link, platform) => {
|
|
24045
|
-
const iconKey = _optionalChain([platform, 'optionalAccess',
|
|
24081
|
+
const iconKey = _optionalChain([platform, 'optionalAccess', _503 => _503.icon_name]) || link.platform;
|
|
24046
24082
|
const key = normalizeSocialPlatform(iconKey);
|
|
24047
24083
|
if (!key) return null;
|
|
24048
24084
|
const IconComponent = SOCIAL_ICON_COMPONENTS[key];
|
|
@@ -24066,7 +24102,7 @@ function SocialLinksManager({
|
|
|
24066
24102
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24067
24103
|
_chunkYWUZL3RTcjs.Input,
|
|
24068
24104
|
{
|
|
24069
|
-
placeholder: _optionalChain([platform, 'optionalAccess',
|
|
24105
|
+
placeholder: _optionalChain([platform, 'optionalAccess', _504 => _504.placeholder]) || "Profile URL",
|
|
24070
24106
|
value: link.url,
|
|
24071
24107
|
onChange: (e) => updateLink(index, "url", e.target.value),
|
|
24072
24108
|
onKeyDown: (e) => {
|
|
@@ -24462,8 +24498,8 @@ function VideoBitesDisplay({
|
|
|
24462
24498
|
|
|
24463
24499
|
var isAtEnd = (duration, time) => duration > 0 && duration - time < 1;
|
|
24464
24500
|
function theaterSeedFromLive(live, fallbackTime, fallbackMuted) {
|
|
24465
|
-
const time = _nullishCoalesce(_optionalChain([live, 'optionalAccess',
|
|
24466
|
-
const atEnd = isAtEnd(_nullishCoalesce(_optionalChain([live, 'optionalAccess',
|
|
24501
|
+
const time = _nullishCoalesce(_optionalChain([live, 'optionalAccess', _505 => _505.getCurrentTime, 'call', _506 => _506()]), () => ( 0));
|
|
24502
|
+
const atEnd = isAtEnd(_nullishCoalesce(_optionalChain([live, 'optionalAccess', _507 => _507.getDuration, 'call', _508 => _508()]), () => ( 0)), time);
|
|
24467
24503
|
return {
|
|
24468
24504
|
// At end -> start over, never rewind to an unrelated older anchor.
|
|
24469
24505
|
time: atEnd ? 0 : time > 0.5 ? time : fallbackTime,
|
|
@@ -24495,11 +24531,11 @@ function WalkthroughVideo({
|
|
|
24495
24531
|
const inline = placement === "inline";
|
|
24496
24532
|
const dismissEnabled = dismissal !== false;
|
|
24497
24533
|
const storageKey = dismissEnabled && dismissal.storageKey || WALKTHROUGH_VIDEO_DISMISS_KEY;
|
|
24498
|
-
const dismissalId = _optionalChain([video, 'optionalAccess',
|
|
24534
|
+
const dismissalId = _optionalChain([video, 'optionalAccess', _509 => _509.id]) != null ? String(video.id) : "dismissed";
|
|
24499
24535
|
const [mounted, setMounted] = _react.useState.call(void 0, false);
|
|
24500
24536
|
const [dismissed, setDismissed] = _react.useState.call(void 0, false);
|
|
24501
24537
|
const hasVideo = video != null;
|
|
24502
|
-
const videoId = _optionalChain([video, 'optionalAccess',
|
|
24538
|
+
const videoId = _optionalChain([video, 'optionalAccess', _510 => _510.id]);
|
|
24503
24539
|
_react.useEffect.call(void 0, () => {
|
|
24504
24540
|
let idleHandle = null;
|
|
24505
24541
|
if (!hasVideo) return void 0;
|
|
@@ -24526,9 +24562,9 @@ function WalkthroughVideo({
|
|
|
24526
24562
|
const previewSuppressed = _react.useMemo.call(void 0, () => {
|
|
24527
24563
|
if (!hydrated) return false;
|
|
24528
24564
|
try {
|
|
24529
|
-
const reducedMotion = _nullishCoalesce(_optionalChain([window, 'access',
|
|
24565
|
+
const reducedMotion = _nullishCoalesce(_optionalChain([window, 'access', _511 => _511.matchMedia, 'optionalCall', _512 => _512("(prefers-reduced-motion: reduce)"), 'access', _513 => _513.matches]), () => ( false));
|
|
24530
24566
|
const conn = navigator.connection;
|
|
24531
|
-
const saveData = _optionalChain([conn, 'optionalAccess',
|
|
24567
|
+
const saveData = _optionalChain([conn, 'optionalAccess', _514 => _514.saveData]) === true || _optionalChain([conn, 'optionalAccess', _515 => _515.effectiveType]) === "2g" || _optionalChain([conn, 'optionalAccess', _516 => _516.effectiveType]) === "slow-2g";
|
|
24532
24568
|
return Boolean(reducedMotion || saveData);
|
|
24533
24569
|
} catch (e28) {
|
|
24534
24570
|
return false;
|
|
@@ -24561,18 +24597,18 @@ function WalkthroughVideo({
|
|
|
24561
24597
|
const [cardMuted, setCardMuted] = _react.useState.call(void 0, false);
|
|
24562
24598
|
const [cardPaused, setCardPaused] = _react.useState.call(void 0, false);
|
|
24563
24599
|
const [userMuted, setUserMuted] = _react.useState.call(void 0, false);
|
|
24564
|
-
const isYouTube = Boolean(_optionalChain([video, 'optionalAccess',
|
|
24600
|
+
const isYouTube = Boolean(_optionalChain([video, 'optionalAccess', _517 => _517.youtubeUrl]));
|
|
24565
24601
|
const resumeMode = !open && handoff !== null && !isYouTube;
|
|
24566
24602
|
const previewAllowed = !previewSuppressed && !isYouTube;
|
|
24567
24603
|
const footerFadeKey = `${mounted ? 1 : 0}|${inline ? 1 : 0}|${hideNearSelector}|${pathname}`;
|
|
24568
|
-
const footerHidden = _optionalChain([footerObservation, 'optionalAccess',
|
|
24604
|
+
const footerHidden = _optionalChain([footerObservation, 'optionalAccess', _518 => _518.key]) === footerFadeKey && footerObservation.hidden;
|
|
24569
24605
|
_react.useEffect.call(void 0, () => {
|
|
24570
24606
|
if (!mounted) return void 0;
|
|
24571
24607
|
if (inline) return void 0;
|
|
24572
24608
|
const el = typeof document !== "undefined" ? document.querySelector(hideNearSelector) : null;
|
|
24573
24609
|
if (!el || typeof IntersectionObserver === "undefined") return void 0;
|
|
24574
24610
|
const io = new IntersectionObserver(
|
|
24575
|
-
(entries) => setFooterObservation({ key: footerFadeKey, hidden: _nullishCoalesce(_optionalChain([entries, 'access',
|
|
24611
|
+
(entries) => setFooterObservation({ key: footerFadeKey, hidden: _nullishCoalesce(_optionalChain([entries, 'access', _519 => _519[0], 'optionalAccess', _520 => _520.isIntersecting]), () => ( false)) }),
|
|
24576
24612
|
{ rootMargin: "0px 0px -40px 0px" }
|
|
24577
24613
|
);
|
|
24578
24614
|
io.observe(el);
|
|
@@ -24598,7 +24634,7 @@ function WalkthroughVideo({
|
|
|
24598
24634
|
if (!footerHidden) return;
|
|
24599
24635
|
const h = _nullishCoalesce(resumeHandleRef.current, () => ( previewHandleRef.current));
|
|
24600
24636
|
try {
|
|
24601
|
-
_optionalChain([h, 'optionalAccess',
|
|
24637
|
+
_optionalChain([h, 'optionalAccess', _521 => _521.pause, 'call', _522 => _522()]);
|
|
24602
24638
|
} catch (e30) {
|
|
24603
24639
|
}
|
|
24604
24640
|
}, [footerHidden, resumeMode, hovered]);
|
|
@@ -24617,30 +24653,30 @@ function WalkthroughVideo({
|
|
|
24617
24653
|
}, 400);
|
|
24618
24654
|
}
|
|
24619
24655
|
if (openProp === void 0) setOpenState(next);
|
|
24620
|
-
_optionalChain([onOpenChange, 'optionalCall',
|
|
24656
|
+
_optionalChain([onOpenChange, 'optionalCall', _523 => _523(next)]);
|
|
24621
24657
|
},
|
|
24622
24658
|
[openProp, onOpenChange]
|
|
24623
24659
|
);
|
|
24624
24660
|
const pausePreviewNow = _react.useCallback.call(void 0, () => {
|
|
24625
24661
|
const h = _nullishCoalesce(resumeHandleRef.current, () => ( previewHandleRef.current));
|
|
24626
24662
|
try {
|
|
24627
|
-
_optionalChain([h, 'optionalAccess',
|
|
24663
|
+
_optionalChain([h, 'optionalAccess', _524 => _524.pause, 'call', _525 => _525()]);
|
|
24628
24664
|
} catch (e31) {
|
|
24629
24665
|
}
|
|
24630
24666
|
setCardPaused(true);
|
|
24631
24667
|
}, [setCardPaused]);
|
|
24632
24668
|
const openTheater = _react.useCallback.call(void 0, () => {
|
|
24633
24669
|
const handleBeforePause = _nullishCoalesce(resumeHandleRef.current, () => ( previewHandleRef.current));
|
|
24634
|
-
const liveWasPlaying = _optionalChain([handleBeforePause, 'optionalAccess',
|
|
24670
|
+
const liveWasPlaying = _optionalChain([handleBeforePause, 'optionalAccess', _526 => _526.getPaused, 'call', _527 => _527()]) === false;
|
|
24635
24671
|
pausePreviewNow();
|
|
24636
24672
|
const liveHandle = _nullishCoalesce(resumeHandleRef.current, () => ( (cardModeRef.current === "preview" ? previewHandleRef.current : null)));
|
|
24637
|
-
const liveTime = _nullishCoalesce(_optionalChain([liveHandle, 'optionalAccess',
|
|
24638
|
-
const liveDuration = _nullishCoalesce(_optionalChain([liveHandle, 'optionalAccess',
|
|
24673
|
+
const liveTime = _nullishCoalesce(_optionalChain([liveHandle, 'optionalAccess', _528 => _528.getCurrentTime, 'call', _529 => _529()]), () => ( 0));
|
|
24674
|
+
const liveDuration = _nullishCoalesce(_optionalChain([liveHandle, 'optionalAccess', _530 => _530.getDuration, 'call', _531 => _531()]), () => ( 0));
|
|
24639
24675
|
const liveAtEnd = isAtEnd(liveDuration, liveTime);
|
|
24640
24676
|
const start = {
|
|
24641
24677
|
// At end -> start over. Falling back to `handoff.time` here would rewind
|
|
24642
24678
|
// to an unrelated older anchor (e.g. 3:20) instead of restarting.
|
|
24643
|
-
time: liveAtEnd ? 0 : liveTime > 0.5 ? liveTime : _nullishCoalesce(_optionalChain([handoff, 'optionalAccess',
|
|
24679
|
+
time: liveAtEnd ? 0 : liveTime > 0.5 ? liveTime : _nullishCoalesce(_optionalChain([handoff, 'optionalAccess', _532 => _532.time]), () => ( 0)),
|
|
24644
24680
|
// Live element wins over remembered intent (the theater's own chrome may
|
|
24645
24681
|
// have changed it) — EXCEPT when the element is muted only because
|
|
24646
24682
|
// autoplay policy forced it, which is not intent.
|
|
@@ -24668,7 +24704,7 @@ function WalkthroughVideo({
|
|
|
24668
24704
|
const selfDriven = selfDrivenFor === open;
|
|
24669
24705
|
if (openProp !== void 0 && !selfDriven) {
|
|
24670
24706
|
if (open) {
|
|
24671
|
-
setTheaterStart(theaterSeedFromLive(resumeHandleRef.current, _nullishCoalesce(_optionalChain([handoff, 'optionalAccess',
|
|
24707
|
+
setTheaterStart(theaterSeedFromLive(resumeHandleRef.current, _nullishCoalesce(_optionalChain([handoff, 'optionalAccess', _533 => _533.time]), () => ( 0)), userMuted));
|
|
24672
24708
|
setHovered(false);
|
|
24673
24709
|
setSuspended(false);
|
|
24674
24710
|
setHandoff(null);
|
|
@@ -24754,8 +24790,8 @@ function WalkthroughVideo({
|
|
|
24754
24790
|
});
|
|
24755
24791
|
_react.useEffect.call(void 0, () => {
|
|
24756
24792
|
if (resumeMode) {
|
|
24757
|
-
setCardMuted(_nullishCoalesce(_optionalChain([handoffRef, 'access',
|
|
24758
|
-
setCardPaused(_optionalChain([handoffRef, 'access',
|
|
24793
|
+
setCardMuted(_nullishCoalesce(_optionalChain([handoffRef, 'access', _534 => _534.current, 'optionalAccess', _535 => _535.muted]), () => ( false)));
|
|
24794
|
+
setCardPaused(_optionalChain([handoffRef, 'access', _536 => _536.current, 'optionalAccess', _537 => _537.playing]) === false);
|
|
24759
24795
|
}
|
|
24760
24796
|
}, [resumeMode]);
|
|
24761
24797
|
const [hoverSeeded, setHoverSeeded] = _react.useState.call(void 0, hovered);
|
|
@@ -24837,11 +24873,11 @@ function WalkthroughVideo({
|
|
|
24837
24873
|
},
|
|
24838
24874
|
[cardFallback.blocked, cardPaused, activeHandle, setCardPaused]
|
|
24839
24875
|
);
|
|
24840
|
-
const summaryTitle = _optionalChain([video, 'optionalAccess',
|
|
24841
|
-
const presenterAvatarSrc = _nullishCoalesce(_optionalChain([video, 'optionalAccess',
|
|
24876
|
+
const summaryTitle = _optionalChain([video, 'optionalAccess', _538 => _538.title]) || void 0;
|
|
24877
|
+
const presenterAvatarSrc = _nullishCoalesce(_optionalChain([video, 'optionalAccess', _539 => _539.presenterAvatarUrl]), () => ( null));
|
|
24842
24878
|
const embedUrlKey = _react.useMemo.call(void 0,
|
|
24843
|
-
() => `${_nullishCoalesce(_optionalChain([video, 'optionalAccess',
|
|
24844
|
-
[_optionalChain([video, 'optionalAccess',
|
|
24879
|
+
() => `${_nullishCoalesce(_optionalChain([video, 'optionalAccess', _540 => _540.mainVideoUrl]), () => ( ""))}|${_nullishCoalesce(_optionalChain([video, 'optionalAccess', _541 => _541.youtubeUrl]), () => ( ""))}`,
|
|
24880
|
+
[_optionalChain([video, 'optionalAccess', _542 => _542.mainVideoUrl]), _optionalChain([video, 'optionalAccess', _543 => _543.youtubeUrl])]
|
|
24845
24881
|
);
|
|
24846
24882
|
const cardActive = !open && previewAllowed && hovered && !resumeMode;
|
|
24847
24883
|
const cardMode = resumeMode ? "resume" : cardActive ? "preview" : "poster";
|
|
@@ -24900,7 +24936,7 @@ function WalkthroughVideo({
|
|
|
24900
24936
|
const el = e.target;
|
|
24901
24937
|
let keyboard = false;
|
|
24902
24938
|
try {
|
|
24903
|
-
keyboard = _nullishCoalesce(_optionalChain([el, 'access',
|
|
24939
|
+
keyboard = _nullishCoalesce(_optionalChain([el, 'access', _544 => _544.matches, 'optionalCall', _545 => _545(":focus-visible")]), () => ( false));
|
|
24904
24940
|
} catch (e36) {
|
|
24905
24941
|
keyboard = false;
|
|
24906
24942
|
}
|
|
@@ -24934,9 +24970,9 @@ function WalkthroughVideo({
|
|
|
24934
24970
|
previewHandleRef: cardMode === "resume" ? resumeHandleRef : previewHandleRef,
|
|
24935
24971
|
mutedIntent: userMuted,
|
|
24936
24972
|
continuation: cardMode === "resume",
|
|
24937
|
-
autoPlay: cardMode === "resume" && _optionalChain([handoff, 'optionalAccess',
|
|
24938
|
-
startTime: _optionalChain([resumeHandoff, 'optionalAccess',
|
|
24939
|
-
startMuted: _nullishCoalesce(_optionalChain([resumeHandoff, 'optionalAccess',
|
|
24973
|
+
autoPlay: cardMode === "resume" && _optionalChain([handoff, 'optionalAccess', _546 => _546.playing]) !== false && !footerHidden,
|
|
24974
|
+
startTime: _optionalChain([resumeHandoff, 'optionalAccess', _547 => _547.time]),
|
|
24975
|
+
startMuted: _nullishCoalesce(_optionalChain([resumeHandoff, 'optionalAccess', _548 => _548.muted]), () => ( false)),
|
|
24940
24976
|
onEnded: cardMode === "resume" ? () => setHandoff(null) : () => setCardPaused(true)
|
|
24941
24977
|
},
|
|
24942
24978
|
`card-${embedUrlKey}`
|
|
@@ -25033,7 +25069,7 @@ function WalkthroughVideo({
|
|
|
25033
25069
|
{
|
|
25034
25070
|
onOpenAutoFocus: (e) => {
|
|
25035
25071
|
e.preventDefault();
|
|
25036
|
-
_optionalChain([closeButtonRef, 'access',
|
|
25072
|
+
_optionalChain([closeButtonRef, 'access', _549 => _549.current, 'optionalAccess', _550 => _550.focus, 'call', _551 => _551()]);
|
|
25037
25073
|
},
|
|
25038
25074
|
className: _chunkX7CEWD6Vcjs.cn.call(void 0,
|
|
25039
25075
|
// PURE theater: just the video, centered on a dimmed backdrop.
|
|
@@ -25127,14 +25163,14 @@ function useWalkthroughVideo(opts) {
|
|
|
25127
25163
|
if (res.status === 404) return null;
|
|
25128
25164
|
if (!res.ok) throw new Error(`Walkthrough video request failed (${res.status})`);
|
|
25129
25165
|
const body = await res.json();
|
|
25130
|
-
return _nullishCoalesce(_optionalChain([body, 'optionalAccess',
|
|
25166
|
+
return _nullishCoalesce(_optionalChain([body, 'optionalAccess', _552 => _552.walkthroughVideo]), () => ( null));
|
|
25131
25167
|
},
|
|
25132
25168
|
// Per-observer transform — NEVER mutate the cached data. `select` also runs
|
|
25133
25169
|
// over `initialData`, so the SSR seed is rewritten too. Keeping the proxy
|
|
25134
25170
|
// rewrite here (not in queryFn) means a second consumer of the same
|
|
25135
25171
|
// endpoint can't inherit this observer's proxied captionsUrl from the cache.
|
|
25136
25172
|
select: (video) => {
|
|
25137
|
-
if (!_optionalChain([video, 'optionalAccess',
|
|
25173
|
+
if (!_optionalChain([video, 'optionalAccess', _553 => _553.captionsUrl])) return video;
|
|
25138
25174
|
if (transformCaptionsUrl && video.captionsUrl.startsWith("/")) {
|
|
25139
25175
|
return { ...video, captionsUrl: transformCaptionsUrl(video.captionsUrl) };
|
|
25140
25176
|
}
|
|
@@ -25181,7 +25217,7 @@ function VideoSourceSelector({
|
|
|
25181
25217
|
input.accept = "video/*";
|
|
25182
25218
|
input.onchange = async (e) => {
|
|
25183
25219
|
const target = e.target;
|
|
25184
|
-
const file = _optionalChain([target, 'access',
|
|
25220
|
+
const file = _optionalChain([target, 'access', _554 => _554.files, 'optionalAccess', _555 => _555[0]]);
|
|
25185
25221
|
if (!file) return;
|
|
25186
25222
|
setIsUploading(true);
|
|
25187
25223
|
setUploadProgress(0);
|
|
@@ -25357,7 +25393,7 @@ function SubtitlesEditor({
|
|
|
25357
25393
|
{
|
|
25358
25394
|
id,
|
|
25359
25395
|
value: subtitles || "",
|
|
25360
|
-
onChange: (e) => _optionalChain([onSubtitlesChange, 'optionalCall',
|
|
25396
|
+
onChange: (e) => _optionalChain([onSubtitlesChange, 'optionalCall', _556 => _556(e.target.value)]),
|
|
25361
25397
|
placeholder,
|
|
25362
25398
|
disabled: disabled || !onSubtitlesChange,
|
|
25363
25399
|
className: "h-full w-full resize-none border-0 bg-transparent p-4 text-ods-text-primary text-code placeholder:text-ods-text-secondary/50 focus:outline-none focus:ring-0",
|
|
@@ -25586,7 +25622,7 @@ var AIEnrichSection = ({
|
|
|
25586
25622
|
}) => {
|
|
25587
25623
|
const hasResults = status === "success" || status === "error";
|
|
25588
25624
|
const shouldDisable = disabled || !canEnrich;
|
|
25589
|
-
const unfilledFields = _optionalChain([requiredFields, 'optionalAccess',
|
|
25625
|
+
const unfilledFields = _optionalChain([requiredFields, 'optionalAccess', _557 => _557.filter, 'call', _558 => _558((f) => !f.isFilled)]) || [];
|
|
25590
25626
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
25591
25627
|
"div",
|
|
25592
25628
|
{
|
|
@@ -25618,7 +25654,7 @@ var AIEnrichSection = ({
|
|
|
25618
25654
|
{
|
|
25619
25655
|
id: "ai-enrich-custom-instructions",
|
|
25620
25656
|
value: _nullishCoalesce(customInstructions, () => ( "")),
|
|
25621
|
-
onChange: (e) => _optionalChain([onCustomInstructionsChange, 'optionalCall',
|
|
25657
|
+
onChange: (e) => _optionalChain([onCustomInstructionsChange, 'optionalCall', _559 => _559(e.target.value)]),
|
|
25622
25658
|
placeholder: customInstructionsPlaceholder,
|
|
25623
25659
|
disabled: loading,
|
|
25624
25660
|
maxLength: customInstructionsMaxLength,
|
|
@@ -25740,7 +25776,7 @@ function HighlightVideoSection({
|
|
|
25740
25776
|
input.accept = "video/*";
|
|
25741
25777
|
input.onchange = async (e) => {
|
|
25742
25778
|
const target = e.target;
|
|
25743
|
-
const file = _optionalChain([target, 'access',
|
|
25779
|
+
const file = _optionalChain([target, 'access', _560 => _560.files, 'optionalAccess', _561 => _561[0]]);
|
|
25744
25780
|
if (!file) return;
|
|
25745
25781
|
setUploadError(null);
|
|
25746
25782
|
try {
|
|
@@ -26167,7 +26203,7 @@ function HighlightVideoPreview({
|
|
|
26167
26203
|
input.accept = "video/*";
|
|
26168
26204
|
input.onchange = async (e) => {
|
|
26169
26205
|
const target = e.target;
|
|
26170
|
-
const file = _optionalChain([target, 'access',
|
|
26206
|
+
const file = _optionalChain([target, 'access', _562 => _562.files, 'optionalAccess', _563 => _563[0]]);
|
|
26171
26207
|
if (!file) return;
|
|
26172
26208
|
await onUpload(file);
|
|
26173
26209
|
};
|
|
@@ -26351,7 +26387,7 @@ function HighlightVideoCombinedSection({
|
|
|
26351
26387
|
input.accept = "video/*";
|
|
26352
26388
|
input.onchange = async (e) => {
|
|
26353
26389
|
const target = e.target;
|
|
26354
|
-
const file = _optionalChain([target, 'access',
|
|
26390
|
+
const file = _optionalChain([target, 'access', _564 => _564.files, 'optionalAccess', _565 => _565[0]]);
|
|
26355
26391
|
if (!file) return;
|
|
26356
26392
|
await onUpload(file);
|
|
26357
26393
|
};
|
|
@@ -27030,19 +27066,19 @@ function NotificationsProvider({
|
|
|
27030
27066
|
}, []);
|
|
27031
27067
|
const markRead = _react.useCallback.call(void 0, (id) => {
|
|
27032
27068
|
dispatch({ type: "markRead", id });
|
|
27033
|
-
void _optionalChain([actionsRef, 'access',
|
|
27069
|
+
void _optionalChain([actionsRef, 'access', _566 => _566.current, 'optionalAccess', _567 => _567.onMarkRead, 'optionalCall', _568 => _568(id)]);
|
|
27034
27070
|
}, []);
|
|
27035
27071
|
const markAllRead = _react.useCallback.call(void 0, () => {
|
|
27036
27072
|
dispatch({ type: "markAllRead" });
|
|
27037
|
-
void _optionalChain([actionsRef, 'access',
|
|
27073
|
+
void _optionalChain([actionsRef, 'access', _569 => _569.current, 'optionalAccess', _570 => _570.onMarkAllRead, 'optionalCall', _571 => _571()]);
|
|
27038
27074
|
}, []);
|
|
27039
27075
|
const markSettled = _react.useCallback.call(void 0, (id) => {
|
|
27040
27076
|
dispatch({ type: "markSettled", id });
|
|
27041
|
-
void _optionalChain([actionsRef, 'access',
|
|
27077
|
+
void _optionalChain([actionsRef, 'access', _572 => _572.current, 'optionalAccess', _573 => _573.onMarkSettled, 'optionalCall', _574 => _574(id)]);
|
|
27042
27078
|
}, []);
|
|
27043
27079
|
const remove = _react.useCallback.call(void 0, (id) => {
|
|
27044
27080
|
dispatch({ type: "remove", id });
|
|
27045
|
-
void _optionalChain([actionsRef, 'access',
|
|
27081
|
+
void _optionalChain([actionsRef, 'access', _575 => _575.current, 'optionalAccess', _576 => _576.onRemove, 'optionalCall', _577 => _577(id)]);
|
|
27046
27082
|
}, []);
|
|
27047
27083
|
const clear = _react.useCallback.call(void 0, () => dispatch({ type: "clear" }), []);
|
|
27048
27084
|
const open = _react.useCallback.call(void 0, () => setIsOpen(true), []);
|
|
@@ -27051,14 +27087,14 @@ function NotificationsProvider({
|
|
|
27051
27087
|
const setShowPopups = _react.useCallback.call(void 0,
|
|
27052
27088
|
(value2) => {
|
|
27053
27089
|
setShowPopupsState(value2);
|
|
27054
|
-
_optionalChain([onShowPopupsChange, 'optionalCall',
|
|
27090
|
+
_optionalChain([onShowPopupsChange, 'optionalCall', _578 => _578(value2)]);
|
|
27055
27091
|
},
|
|
27056
27092
|
[onShowPopupsChange]
|
|
27057
27093
|
);
|
|
27058
27094
|
const setShowDesktopPopups = _react.useCallback.call(void 0,
|
|
27059
27095
|
(value2) => {
|
|
27060
27096
|
setShowDesktopPopupsState(value2);
|
|
27061
|
-
_optionalChain([onShowDesktopPopupsChange, 'optionalCall',
|
|
27097
|
+
_optionalChain([onShowDesktopPopupsChange, 'optionalCall', _579 => _579(value2)]);
|
|
27062
27098
|
},
|
|
27063
27099
|
[onShowDesktopPopupsChange]
|
|
27064
27100
|
);
|
|
@@ -27174,7 +27210,7 @@ var AppLayoutDrawerRoot = ({
|
|
|
27174
27210
|
const handleOpenChange = _react.useCallback.call(void 0,
|
|
27175
27211
|
(next) => {
|
|
27176
27212
|
if (!isControlled) setInternalOpen(next);
|
|
27177
|
-
_optionalChain([onOpenChange, 'optionalCall',
|
|
27213
|
+
_optionalChain([onOpenChange, 'optionalCall', _580 => _580(next)]);
|
|
27178
27214
|
},
|
|
27179
27215
|
[isControlled, onOpenChange]
|
|
27180
27216
|
);
|
|
@@ -27191,9 +27227,9 @@ var AppLayoutDrawerRoot = ({
|
|
|
27191
27227
|
}
|
|
27192
27228
|
}));
|
|
27193
27229
|
_react.useEffect.call(void 0, () => {
|
|
27194
|
-
if (open) _optionalChain([coordination, 'optionalAccess',
|
|
27230
|
+
if (open) _optionalChain([coordination, 'optionalAccess', _581 => _581.notifyDrawerDidOpen, 'call', _582 => _582(selfHandle)]);
|
|
27195
27231
|
}, [open, coordination, selfHandle]);
|
|
27196
|
-
_react.useEffect.call(void 0, () => _optionalChain([coordination, 'optionalAccess',
|
|
27232
|
+
_react.useEffect.call(void 0, () => _optionalChain([coordination, 'optionalAccess', _583 => _583.registerDrawer, 'call', _584 => _584(selfHandle)]), [coordination, selfHandle]);
|
|
27197
27233
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DrawerOpenContext.Provider, { value: open, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DialogPrimitive3.Root, { ...rest, open, onOpenChange: handleOpenChange, modal, children }) });
|
|
27198
27234
|
};
|
|
27199
27235
|
AppLayoutDrawerRoot.displayName = "AppLayoutDrawer";
|
|
@@ -27542,10 +27578,10 @@ var AppLayoutDrawerContent = _react.forwardRef.call(void 0,
|
|
|
27542
27578
|
),
|
|
27543
27579
|
style,
|
|
27544
27580
|
onInteractOutside: (event) => {
|
|
27545
|
-
_optionalChain([onInteractOutside, 'optionalCall',
|
|
27581
|
+
_optionalChain([onInteractOutside, 'optionalCall', _585 => _585(event)]);
|
|
27546
27582
|
if (event.defaultPrevented) return;
|
|
27547
27583
|
const target = event.target;
|
|
27548
|
-
const isInsideContainer = !!target && !!_optionalChain([portalContainer, 'optionalAccess',
|
|
27584
|
+
const isInsideContainer = !!target && !!_optionalChain([portalContainer, 'optionalAccess', _586 => _586.contains, 'call', _587 => _587(target)]);
|
|
27549
27585
|
if (!isInsideContainer) {
|
|
27550
27586
|
event.preventDefault();
|
|
27551
27587
|
return;
|
|
@@ -27649,7 +27685,7 @@ function NotificationTile({
|
|
|
27649
27685
|
if (!counting) return void 0;
|
|
27650
27686
|
const remaining = Math.max(0, liveDurationMs - initialElapsed);
|
|
27651
27687
|
const timer = window.setTimeout(() => {
|
|
27652
|
-
_optionalChain([onSettle, 'optionalCall',
|
|
27688
|
+
_optionalChain([onSettle, 'optionalCall', _588 => _588(id)]);
|
|
27653
27689
|
}, remaining);
|
|
27654
27690
|
return () => window.clearTimeout(timer);
|
|
27655
27691
|
}, [id, counting, initialElapsed, liveDurationMs, onSettle]);
|
|
@@ -27689,7 +27725,7 @@ function NotificationTile({
|
|
|
27689
27725
|
active: isLive,
|
|
27690
27726
|
label: "Dismiss notification",
|
|
27691
27727
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.XmarkIcon, { size: 16 }),
|
|
27692
|
-
onClick: () => _optionalChain([onSettle, 'optionalCall',
|
|
27728
|
+
onClick: () => _optionalChain([onSettle, 'optionalCall', _589 => _589(id)])
|
|
27693
27729
|
},
|
|
27694
27730
|
{
|
|
27695
27731
|
active: !isLive,
|
|
@@ -27887,7 +27923,7 @@ function DrawerScrollList({
|
|
|
27887
27923
|
if (!sentinel || !root) return void 0;
|
|
27888
27924
|
const observer = new IntersectionObserver(
|
|
27889
27925
|
(entries) => {
|
|
27890
|
-
if (_optionalChain([entries, 'access',
|
|
27926
|
+
if (_optionalChain([entries, 'access', _590 => _590[0], 'optionalAccess', _591 => _591.isIntersecting])) _optionalChain([loadMoreRef, 'access', _592 => _592.current, 'optionalCall', _593 => _593()]);
|
|
27891
27927
|
},
|
|
27892
27928
|
{ root, rootMargin: loadMoreRootMargin }
|
|
27893
27929
|
);
|
|
@@ -27902,7 +27938,7 @@ function DrawerScrollList({
|
|
|
27902
27938
|
className: "flex flex-1 flex-col gap-[var(--spacing-system-xs)] overflow-y-auto px-[var(--spacing-system-m)]",
|
|
27903
27939
|
children: isEmpty && !isLoadingMore ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, EmptyState, {}) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
27904
27940
|
unreadNotifications.map((n) => {
|
|
27905
|
-
const custom = _optionalChain([renderTile, 'optionalCall',
|
|
27941
|
+
const custom = _optionalChain([renderTile, 'optionalCall', _594 => _594(n, { onComplete, onSettle, liveDurationMs })]);
|
|
27906
27942
|
if (custom) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { children: custom }, n.id);
|
|
27907
27943
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
27908
27944
|
NotificationTile,
|
|
@@ -28022,7 +28058,7 @@ function NotificationPopups({
|
|
|
28022
28058
|
}) {
|
|
28023
28059
|
const ctx = useOptionalNotifications();
|
|
28024
28060
|
const [now, setNow] = _react.useState.call(void 0, () => Date.now());
|
|
28025
|
-
const hasAgeingNotifications = Boolean(_optionalChain([ctx, 'optionalAccess',
|
|
28061
|
+
const hasAgeingNotifications = Boolean(_optionalChain([ctx, 'optionalAccess', _595 => _595.notifications, 'access', _596 => _596.some, 'call', _597 => _597((n) => !n.read && !n.settled)]));
|
|
28026
28062
|
_react.useEffect.call(void 0, () => {
|
|
28027
28063
|
if (!hasAgeingNotifications) return void 0;
|
|
28028
28064
|
const id = setInterval(() => setNow(Date.now()), 500);
|
|
@@ -28065,7 +28101,7 @@ function NotificationPopups({
|
|
|
28065
28101
|
className
|
|
28066
28102
|
),
|
|
28067
28103
|
children: live.map((n) => {
|
|
28068
|
-
const custom = _optionalChain([renderTile, 'optionalCall',
|
|
28104
|
+
const custom = _optionalChain([renderTile, 'optionalCall', _598 => _598(n, { onComplete: markRead, onSettle: markSettled, liveDurationMs })]);
|
|
28069
28105
|
if (custom) {
|
|
28070
28106
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pointer-events-auto", children: custom }, n.id);
|
|
28071
28107
|
}
|
|
@@ -28112,21 +28148,21 @@ function isApprovalNotificationType(type) {
|
|
|
28112
28148
|
return typeof type === "string" && APPROVAL_REQUEST_TYPES.has(type);
|
|
28113
28149
|
}
|
|
28114
28150
|
function isApprovalNotification(notification) {
|
|
28115
|
-
return isApprovalNotificationType(_optionalChain([notification, 'access',
|
|
28151
|
+
return isApprovalNotificationType(_optionalChain([notification, 'access', _599 => _599.meta, 'optionalAccess', _600 => _600.notificationType]));
|
|
28116
28152
|
}
|
|
28117
28153
|
function getApprovalMeta(notification) {
|
|
28118
28154
|
if (!isApprovalNotification(notification)) return null;
|
|
28119
28155
|
const meta = notification.meta;
|
|
28120
|
-
const approvalRequestId = _optionalChain([meta, 'optionalAccess',
|
|
28121
|
-
const toolCalls = _optionalChain([meta, 'optionalAccess',
|
|
28156
|
+
const approvalRequestId = _optionalChain([meta, 'optionalAccess', _601 => _601.approvalRequestId]);
|
|
28157
|
+
const toolCalls = _optionalChain([meta, 'optionalAccess', _602 => _602.toolCalls]);
|
|
28122
28158
|
if (typeof approvalRequestId !== "string" || !Array.isArray(toolCalls)) return null;
|
|
28123
28159
|
return {
|
|
28124
28160
|
approvalRequestId,
|
|
28125
|
-
dialogId: _nullishCoalesce(_optionalChain([meta, 'optionalAccess',
|
|
28126
|
-
ticketId: _nullishCoalesce(_optionalChain([meta, 'optionalAccess',
|
|
28127
|
-
approvalType: _nullishCoalesce(_optionalChain([meta, 'optionalAccess',
|
|
28128
|
-
resolution: _nullishCoalesce(_optionalChain([meta, 'optionalAccess',
|
|
28129
|
-
resolvedByName: _nullishCoalesce(_optionalChain([meta, 'optionalAccess',
|
|
28161
|
+
dialogId: _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _603 => _603.dialogId]), () => ( null)),
|
|
28162
|
+
ticketId: _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _604 => _604.ticketId]), () => ( null)),
|
|
28163
|
+
approvalType: _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _605 => _605.approvalType]), () => ( null)),
|
|
28164
|
+
resolution: _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _606 => _606.resolution]), () => ( null)),
|
|
28165
|
+
resolvedByName: _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _607 => _607.resolvedByName]), () => ( null)),
|
|
28130
28166
|
toolCalls
|
|
28131
28167
|
};
|
|
28132
28168
|
}
|
|
@@ -28177,7 +28213,7 @@ function ApprovalRequestNotificationTile({
|
|
|
28177
28213
|
const [processing, setProcessing] = _react.useState.call(void 0, false);
|
|
28178
28214
|
const [localStatus, setLocalStatus] = _react.useState.call(void 0, null);
|
|
28179
28215
|
const approval = getApprovalMeta(notification);
|
|
28180
|
-
const resolvedStatus = resolutionToStatus(_optionalChain([approval, 'optionalAccess',
|
|
28216
|
+
const resolvedStatus = resolutionToStatus(_optionalChain([approval, 'optionalAccess', _608 => _608.resolution]));
|
|
28181
28217
|
const status = resolvedStatus !== "pending" ? resolvedStatus : _nullishCoalesce(localStatus, () => ( "pending"));
|
|
28182
28218
|
const batchData = _react.useMemo.call(void 0, () => approval ? approvalMetaToBatchData(approval) : null, [approval]);
|
|
28183
28219
|
const { innerRef, containerStyle } = _chunkOFLGZRJWcjs.useCollapsible.call(void 0, { expanded });
|
|
@@ -28505,7 +28541,7 @@ function TimeTrackerPanel({
|
|
|
28505
28541
|
error: showFieldError ? "Required if no notes added" : void 0,
|
|
28506
28542
|
disableClientFilter: !!onTicketSearch,
|
|
28507
28543
|
onInputChange: (value, reason) => {
|
|
28508
|
-
if (reason === "input") _optionalChain([onTicketSearch, 'optionalCall',
|
|
28544
|
+
if (reason === "input") _optionalChain([onTicketSearch, 'optionalCall', _609 => _609(value)]);
|
|
28509
28545
|
}
|
|
28510
28546
|
}
|
|
28511
28547
|
),
|
|
@@ -28520,7 +28556,7 @@ function TimeTrackerPanel({
|
|
|
28520
28556
|
disabled: customerLocked,
|
|
28521
28557
|
disableClientFilter: !!onCustomerSearch,
|
|
28522
28558
|
onInputChange: (value, reason) => {
|
|
28523
|
-
if (reason === "input") _optionalChain([onCustomerSearch, 'optionalCall',
|
|
28559
|
+
if (reason === "input") _optionalChain([onCustomerSearch, 'optionalCall', _610 => _610(value)]);
|
|
28524
28560
|
},
|
|
28525
28561
|
startAdornment: customerStartAdornment,
|
|
28526
28562
|
renderOption: renderCustomerOption
|
|
@@ -28622,7 +28658,7 @@ function LastEntryRow({ entry, onClick }) {
|
|
|
28622
28658
|
{
|
|
28623
28659
|
variant: "outline",
|
|
28624
28660
|
size: "icon",
|
|
28625
|
-
onClick: () => _optionalChain([onClick, 'optionalCall',
|
|
28661
|
+
onClick: () => _optionalChain([onClick, 'optionalCall', _611 => _611(entry)]),
|
|
28626
28662
|
disabled: !onClick,
|
|
28627
28663
|
"aria-label": `Open entry: ${entry.title}`,
|
|
28628
28664
|
className: "h-12 w-12 shrink-0 [&_svg]:!size-6",
|
|
@@ -28706,28 +28742,28 @@ function HeaderButton({
|
|
|
28706
28742
|
function TimeTrackerHeaderButton({ className, disabled }) {
|
|
28707
28743
|
const ctx = useOptionalTimeTracker();
|
|
28708
28744
|
const elapsedLabel = useTrackerClock({
|
|
28709
|
-
status: _nullishCoalesce(_optionalChain([ctx, 'optionalAccess',
|
|
28710
|
-
runningSince: _optionalChain([ctx, 'optionalAccess',
|
|
28711
|
-
accumulatedMs: _optionalChain([ctx, 'optionalAccess',
|
|
28745
|
+
status: _nullishCoalesce(_optionalChain([ctx, 'optionalAccess', _612 => _612.status]), () => ( "ready")),
|
|
28746
|
+
runningSince: _optionalChain([ctx, 'optionalAccess', _613 => _613.runningSince]),
|
|
28747
|
+
accumulatedMs: _optionalChain([ctx, 'optionalAccess', _614 => _614.accumulatedMs])
|
|
28712
28748
|
});
|
|
28713
28749
|
const layoutContainer = useAppLayoutDrawerContainer();
|
|
28714
28750
|
const coordination = useAppLayoutDrawerCoordination();
|
|
28715
|
-
const isOpen = _nullishCoalesce(_optionalChain([ctx, 'optionalAccess',
|
|
28751
|
+
const isOpen = _nullishCoalesce(_optionalChain([ctx, 'optionalAccess', _615 => _615.isOpen]), () => ( false));
|
|
28716
28752
|
const isOpenRef = _react.useRef.call(void 0, isOpen);
|
|
28717
|
-
const closeRef = _react.useRef.call(void 0, _optionalChain([ctx, 'optionalAccess',
|
|
28753
|
+
const closeRef = _react.useRef.call(void 0, _optionalChain([ctx, 'optionalAccess', _616 => _616.close]));
|
|
28718
28754
|
_react.useEffect.call(void 0, () => {
|
|
28719
28755
|
isOpenRef.current = isOpen;
|
|
28720
|
-
closeRef.current = _optionalChain([ctx, 'optionalAccess',
|
|
28756
|
+
closeRef.current = _optionalChain([ctx, 'optionalAccess', _617 => _617.close]);
|
|
28721
28757
|
});
|
|
28722
28758
|
const [selfHandle] = _react.useState.call(void 0, () => ({
|
|
28723
28759
|
close: () => {
|
|
28724
|
-
if (isOpenRef.current) _optionalChain([closeRef, 'access',
|
|
28760
|
+
if (isOpenRef.current) _optionalChain([closeRef, 'access', _618 => _618.current, 'optionalCall', _619 => _619()]);
|
|
28725
28761
|
}
|
|
28726
28762
|
}));
|
|
28727
28763
|
_react.useEffect.call(void 0, () => {
|
|
28728
|
-
if (isOpen) _optionalChain([coordination, 'optionalAccess',
|
|
28764
|
+
if (isOpen) _optionalChain([coordination, 'optionalAccess', _620 => _620.notifyDrawerDidOpen, 'call', _621 => _621(selfHandle)]);
|
|
28729
28765
|
}, [isOpen, coordination, selfHandle]);
|
|
28730
|
-
_react.useEffect.call(void 0, () => _optionalChain([coordination, 'optionalAccess',
|
|
28766
|
+
_react.useEffect.call(void 0, () => _optionalChain([coordination, 'optionalAccess', _622 => _622.registerDrawer, 'call', _623 => _623(selfHandle)]), [coordination, selfHandle]);
|
|
28731
28767
|
if (!ctx) return null;
|
|
28732
28768
|
const { open, close, status } = ctx;
|
|
28733
28769
|
const isPaused = status === "paused";
|
|
@@ -28859,7 +28895,7 @@ function autoScrollAncestors(element) {
|
|
|
28859
28895
|
|
|
28860
28896
|
// src/components/features/board/aim.ts
|
|
28861
28897
|
var _closestedge = require('@atlaskit/pragmatic-drag-and-drop-hitbox/closest-edge');
|
|
28862
|
-
var othersIn = (columns, columnId, ticketId) => (_nullishCoalesce(_optionalChain([columns, 'access',
|
|
28898
|
+
var othersIn = (columns, columnId, ticketId) => (_nullishCoalesce(_optionalChain([columns, 'access', _624 => _624.find, 'call', _625 => _625((c) => c.id === columnId), 'optionalAccess', _626 => _626.tickets]), () => ( []))).filter((t) => t.id !== ticketId);
|
|
28863
28899
|
function laneOf(columns, ticketId) {
|
|
28864
28900
|
return _nullishCoalesce(columns.find((c) => c.tickets.some((t) => t.id === ticketId)), () => ( null));
|
|
28865
28901
|
}
|
|
@@ -28903,11 +28939,11 @@ function aimToChange(columns, ticketId, aim) {
|
|
|
28903
28939
|
const lane = laneOf(columns, ticketId);
|
|
28904
28940
|
if (!lane) return null;
|
|
28905
28941
|
const others = othersIn(columns, aim.columnId, ticketId);
|
|
28906
|
-
const afterTicketId = _nullishCoalesce(_optionalChain([others, 'access',
|
|
28907
|
-
const beforeTicketId = _nullishCoalesce(_optionalChain([others, 'access',
|
|
28942
|
+
const afterTicketId = _nullishCoalesce(_optionalChain([others, 'access', _627 => _627[aim.index - 1], 'optionalAccess', _628 => _628.id]), () => ( null));
|
|
28943
|
+
const beforeTicketId = _nullishCoalesce(_optionalChain([others, 'access', _629 => _629[aim.index], 'optionalAccess', _630 => _630.id]), () => ( null));
|
|
28908
28944
|
if (lane.id === aim.columnId) {
|
|
28909
28945
|
const currentIndex = lane.tickets.findIndex((t) => t.id === ticketId);
|
|
28910
|
-
if ((_nullishCoalesce(_optionalChain([lane, 'access',
|
|
28946
|
+
if ((_nullishCoalesce(_optionalChain([lane, 'access', _631 => _631.tickets, 'access', _632 => _632[currentIndex - 1], 'optionalAccess', _633 => _633.id]), () => ( null))) === afterTicketId) return null;
|
|
28911
28947
|
}
|
|
28912
28948
|
return { ticketId, fromColumnId: lane.id, toColumnId: aim.columnId, afterTicketId, beforeTicketId };
|
|
28913
28949
|
}
|
|
@@ -29178,14 +29214,14 @@ function useIsLanding(ticketId) {
|
|
|
29178
29214
|
return _react.useContext.call(void 0, LandingCardContext) === ticketId;
|
|
29179
29215
|
}
|
|
29180
29216
|
function hasMoveSettled(columns, move) {
|
|
29181
|
-
const tickets = _optionalChain([columns, 'access',
|
|
29217
|
+
const tickets = _optionalChain([columns, 'access', _634 => _634.find, 'call', _635 => _635((c) => c.id === move.toColumnId), 'optionalAccess', _636 => _636.tickets]);
|
|
29182
29218
|
if (!tickets) return false;
|
|
29183
29219
|
const index = tickets.findIndex((t) => t.id === move.ticketId);
|
|
29184
29220
|
if (index < 0) return false;
|
|
29185
29221
|
if (move.fromColumnId === move.toColumnId) {
|
|
29186
|
-
return (_nullishCoalesce(_optionalChain([tickets, 'access',
|
|
29222
|
+
return (_nullishCoalesce(_optionalChain([tickets, 'access', _637 => _637[index - 1], 'optionalAccess', _638 => _638.id]), () => ( null))) === move.afterTicketId;
|
|
29187
29223
|
}
|
|
29188
|
-
return !_optionalChain([columns, 'access',
|
|
29224
|
+
return !_optionalChain([columns, 'access', _639 => _639.find, 'call', _640 => _640((c) => c.id === move.fromColumnId), 'optionalAccess', _641 => _641.tickets, 'access', _642 => _642.some, 'call', _643 => _643((t) => t.id === move.ticketId)]);
|
|
29189
29225
|
}
|
|
29190
29226
|
|
|
29191
29227
|
// src/components/features/board/ticket-card.tsx
|
|
@@ -29210,9 +29246,9 @@ var TICKET_CARD_SHELL = "relative flex flex-col gap-[var(--spacing-system-sf)] r
|
|
|
29210
29246
|
function TicketCardBody({ ticket, columnColor, renderAssignSlot, onApprove, onReject }) {
|
|
29211
29247
|
const showNewMessage = !!ticket.hasNewMessage && !!columnColor;
|
|
29212
29248
|
const newMessageTextColor = columnColor ? _chunkOFLGZRJWcjs.getReadableTextColor.call(void 0, columnColor) : void 0;
|
|
29213
|
-
const showDeviceRow = !!(_optionalChain([ticket, 'access',
|
|
29214
|
-
const deviceText = [_optionalChain([ticket, 'access',
|
|
29215
|
-
const hasRightSection = !!(ticket.priority || _optionalChain([ticket, 'access',
|
|
29249
|
+
const showDeviceRow = !!(_optionalChain([ticket, 'access', _644 => _644.deviceHostnames, 'optionalAccess', _645 => _645.length]) || ticket.organizationName);
|
|
29250
|
+
const deviceText = [_optionalChain([ticket, 'access', _646 => _646.deviceHostnames, 'optionalAccess', _647 => _647.join, 'call', _648 => _648(", ")]), ticket.organizationName].filter(Boolean).join(", ");
|
|
29251
|
+
const hasRightSection = !!(ticket.priority || _optionalChain([ticket, 'access', _649 => _649.assignees, 'optionalAccess', _650 => _650.length]) || renderAssignSlot);
|
|
29216
29252
|
const rightSection = hasRightSection ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "pointer-events-auto flex shrink-0 items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
29217
29253
|
ticket.priority && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29218
29254
|
_chunkYRTMAXLEcjs.Flag02Icon,
|
|
@@ -29221,7 +29257,7 @@ function TicketCardBody({ ticket, columnColor, renderAssignSlot, onApprove, onRe
|
|
|
29221
29257
|
"aria-label": `Priority: ${ticket.priority}`
|
|
29222
29258
|
}
|
|
29223
29259
|
),
|
|
29224
|
-
renderAssignSlot ? renderAssignSlot(ticket) : _optionalChain([ticket, 'access',
|
|
29260
|
+
renderAssignSlot ? renderAssignSlot(ticket) : _optionalChain([ticket, 'access', _651 => _651.assignees, 'optionalAccess', _652 => _652.length]) ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex -space-x-2", children: [
|
|
29225
29261
|
ticket.assignees.slice(0, MAX_VISIBLE_ASSIGNEES).map(
|
|
29226
29262
|
(a) => a.deleted ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29227
29263
|
DeletedUserAvatar,
|
|
@@ -29262,7 +29298,7 @@ function TicketCardBody({ ticket, columnColor, renderAssignSlot, onApprove, onRe
|
|
|
29262
29298
|
] }),
|
|
29263
29299
|
rightSection
|
|
29264
29300
|
] }),
|
|
29265
|
-
_optionalChain([ticket, 'access',
|
|
29301
|
+
_optionalChain([ticket, 'access', _653 => _653.tags, 'optionalAccess', _654 => _654.length]) ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketTagRow, { tags: ticket.tags }) : null,
|
|
29266
29302
|
metaLabel && (tooltipLabel ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOFLGZRJWcjs.TooltipProvider, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkOFLGZRJWcjs.Tooltip, { children: [
|
|
29267
29303
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOFLGZRJWcjs.TooltipTrigger, { asChild: true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "pointer-events-auto truncate text-ods-text-secondary text-h6", children: metaLabel }) }),
|
|
29268
29304
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOFLGZRJWcjs.TooltipContent, { children: tooltipLabel })
|
|
@@ -29329,7 +29365,7 @@ var TicketCard = _react.memo.call(void 0, function TicketCardImpl({
|
|
|
29329
29365
|
const isLanding = useIsLanding(ticket.id);
|
|
29330
29366
|
const aim = useDropAim();
|
|
29331
29367
|
const closestEdge = aim && aim.columnId === columnId && aim.ticketId === ticket.id ? aim.edge : null;
|
|
29332
|
-
const isSource = isDragging || _optionalChain([aim, 'optionalAccess',
|
|
29368
|
+
const isSource = isDragging || _optionalChain([aim, 'optionalAccess', _655 => _655.ticket, 'access', _656 => _656.id]) === ticket.id;
|
|
29333
29369
|
const lift = useBoardLift();
|
|
29334
29370
|
const handleKeyDown = (e) => {
|
|
29335
29371
|
if (e.key !== " " || dragDisabled || !lift) return;
|
|
@@ -29582,7 +29618,7 @@ var BoardColumn = _react.memo.call(void 0, function BoardColumnImpl({
|
|
|
29582
29618
|
// large ones like the only thing that did.
|
|
29583
29619
|
getData: ({ input, element: lane, source }) => {
|
|
29584
29620
|
const nearest = nearestCardIn(lane, input.clientY, String(source.data.ticketId));
|
|
29585
|
-
const ticketId = _optionalChain([nearest, 'optionalAccess',
|
|
29621
|
+
const ticketId = _optionalChain([nearest, 'optionalAccess', _657 => _657.dataset, 'access', _658 => _658.ticketId]);
|
|
29586
29622
|
if (!nearest || !ticketId) return { type: "column", columnId: column.id };
|
|
29587
29623
|
return _closestedge.attachClosestEdge.call(void 0,
|
|
29588
29624
|
{ type: "ticket", ticketId, columnId: column.id },
|
|
@@ -29594,7 +29630,7 @@ var BoardColumn = _react.memo.call(void 0, function BoardColumnImpl({
|
|
|
29594
29630
|
onDrop: () => setIsOver(false)
|
|
29595
29631
|
});
|
|
29596
29632
|
}, [column.id, column.dropDisabled, column.allowedFromColumns, collapsed, touchMode]);
|
|
29597
|
-
const handleToggleCollapse = _react.useCallback.call(void 0, () => _optionalChain([onToggleCollapse, 'optionalCall',
|
|
29633
|
+
const handleToggleCollapse = _react.useCallback.call(void 0, () => _optionalChain([onToggleCollapse, 'optionalCall', _659 => _659(column.id)]), [onToggleCollapse, column.id]);
|
|
29598
29634
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
29599
29635
|
"div",
|
|
29600
29636
|
{
|
|
@@ -29673,7 +29709,7 @@ function ColumnBody({
|
|
|
29673
29709
|
const observer = new IntersectionObserver(
|
|
29674
29710
|
(entries) => {
|
|
29675
29711
|
if (entries.some((e) => e.isIntersecting)) {
|
|
29676
|
-
_optionalChain([loadMoreRef, 'access',
|
|
29712
|
+
_optionalChain([loadMoreRef, 'access', _660 => _660.current, 'optionalCall', _661 => _661(columnIdRef.current)]);
|
|
29677
29713
|
}
|
|
29678
29714
|
},
|
|
29679
29715
|
{ root, rootMargin: loadMoreRootMargin }
|
|
@@ -29698,7 +29734,7 @@ function ColumnBody({
|
|
|
29698
29734
|
ticket: t,
|
|
29699
29735
|
columnId: column.id,
|
|
29700
29736
|
columnColor: column.color,
|
|
29701
|
-
href: _optionalChain([getTicketHref, 'optionalCall',
|
|
29737
|
+
href: _optionalChain([getTicketHref, 'optionalCall', _662 => _662(t.id)]),
|
|
29702
29738
|
renderAssignSlot,
|
|
29703
29739
|
onApprove,
|
|
29704
29740
|
onReject,
|
|
@@ -29875,7 +29911,7 @@ function DragBoard({
|
|
|
29875
29911
|
const [landing, setLanding] = _react.useState.call(void 0, null);
|
|
29876
29912
|
const landingTimer = _react.useRef.call(void 0, null);
|
|
29877
29913
|
const pointRef = _react.useRef.call(void 0, { x: 0, y: 0 });
|
|
29878
|
-
const laneLabel = _react.useCallback.call(void 0, (columnId) => _nullishCoalesce(_optionalChain([view, 'access',
|
|
29914
|
+
const laneLabel = _react.useCallback.call(void 0, (columnId) => _nullishCoalesce(_optionalChain([view, 'access', _663 => _663.find, 'call', _664 => _664((c) => c.id === columnId), 'optionalAccess', _665 => _665.label]), () => ( columnId)), [view]);
|
|
29879
29915
|
const acceptsLifted = _react.useCallback.call(void 0,
|
|
29880
29916
|
(fromColumnId) => (column) => {
|
|
29881
29917
|
if (column.dropDisabled || collapsed[column.id]) return false;
|
|
@@ -29889,7 +29925,7 @@ function DragBoard({
|
|
|
29889
29925
|
const start = initialAim(view, ticketId);
|
|
29890
29926
|
if (!start) return;
|
|
29891
29927
|
setLifted({ ticketId, aim: start });
|
|
29892
|
-
const title = _nullishCoalesce(_optionalChain([laneOf, 'call',
|
|
29928
|
+
const title = _nullishCoalesce(_optionalChain([laneOf, 'call', _666 => _666(view, ticketId), 'optionalAccess', _667 => _667.tickets, 'access', _668 => _668.find, 'call', _669 => _669((t) => t.id === ticketId), 'optionalAccess', _670 => _670.title]), () => ( "Ticket"));
|
|
29893
29929
|
setAnnouncement(`${title} lifted. Use the arrow keys to move it, space to drop it, escape to put it back.`);
|
|
29894
29930
|
},
|
|
29895
29931
|
[view]
|
|
@@ -29914,11 +29950,11 @@ function DragBoard({
|
|
|
29914
29950
|
const walk = _react.useCallback.call(void 0,
|
|
29915
29951
|
(key) => {
|
|
29916
29952
|
if (!lifted) return;
|
|
29917
|
-
const from = _nullishCoalesce(_optionalChain([laneOf, 'call',
|
|
29953
|
+
const from = _nullishCoalesce(_optionalChain([laneOf, 'call', _671 => _671(view, lifted.ticketId), 'optionalAccess', _672 => _672.id]), () => ( lifted.aim.columnId));
|
|
29918
29954
|
const next = moveAim(view, lifted.ticketId, lifted.aim, key, acceptsLifted(from));
|
|
29919
29955
|
if (next === lifted.aim) return;
|
|
29920
29956
|
setLifted({ ...lifted, aim: next });
|
|
29921
|
-
const total = (_nullishCoalesce(_optionalChain([view, 'access',
|
|
29957
|
+
const total = (_nullishCoalesce(_optionalChain([view, 'access', _673 => _673.find, 'call', _674 => _674((c) => c.id === next.columnId), 'optionalAccess', _675 => _675.tickets]), () => ( []))).filter(
|
|
29922
29958
|
(t) => t.id !== lifted.ticketId
|
|
29923
29959
|
).length;
|
|
29924
29960
|
setAnnouncement(`${laneLabel(next.columnId)}, position ${next.index + 1} of ${total + 1}.`);
|
|
@@ -29945,11 +29981,11 @@ function DragBoard({
|
|
|
29945
29981
|
}, [lifted, drop, walk]);
|
|
29946
29982
|
_react.useEffect.call(void 0, () => {
|
|
29947
29983
|
if (!lifted) return;
|
|
29948
|
-
_optionalChain([boardRef, 'access',
|
|
29984
|
+
_optionalChain([boardRef, 'access', _676 => _676.current, 'optionalAccess', _677 => _677.querySelector, 'call', _678 => _678(`[${DROP_LINE_ATTRIBUTE}]`), 'optionalAccess', _679 => _679.scrollIntoView, 'call', _680 => _680({ block: "nearest", inline: "nearest" })]);
|
|
29949
29985
|
}, [lifted]);
|
|
29950
29986
|
const keyboardAim = _react.useMemo.call(void 0, () => {
|
|
29951
29987
|
if (!lifted) return null;
|
|
29952
|
-
const ticket = _optionalChain([laneOf, 'call',
|
|
29988
|
+
const ticket = _optionalChain([laneOf, 'call', _681 => _681(view, lifted.ticketId), 'optionalAccess', _682 => _682.tickets, 'access', _683 => _683.find, 'call', _684 => _684((t) => t.id === lifted.ticketId)]);
|
|
29953
29989
|
if (!ticket) return null;
|
|
29954
29990
|
const anchor = aimToChange(view, lifted.ticketId, lifted.aim) ? aimAnchor(view, lifted.ticketId, lifted.aim) : { ticketId: null, edge: null };
|
|
29955
29991
|
return { columnId: lifted.aim.columnId, ...anchor, ticket };
|
|
@@ -29971,7 +30007,7 @@ function DragBoard({
|
|
|
29971
30007
|
return { columnId: slot.columnId, ...anchor, ticket };
|
|
29972
30008
|
};
|
|
29973
30009
|
const aimAt = (source, targets) => {
|
|
29974
|
-
const next = readAim(source, _optionalChain([targets, 'access',
|
|
30010
|
+
const next = readAim(source, _optionalChain([targets, 'access', _685 => _685[0], 'optionalAccess', _686 => _686.data]));
|
|
29975
30011
|
setAim((prev) => isSameAim(prev, next) ? prev : next);
|
|
29976
30012
|
};
|
|
29977
30013
|
return _combine.combine.call(void 0,
|
|
@@ -30000,7 +30036,7 @@ function DragBoard({
|
|
|
30000
30036
|
setLanding(null);
|
|
30001
30037
|
dragGeometry.current = {
|
|
30002
30038
|
ticket,
|
|
30003
|
-
columnColor: _optionalChain([columnsRef, 'access',
|
|
30039
|
+
columnColor: _optionalChain([columnsRef, 'access', _687 => _687.current, 'access', _688 => _688.find, 'call', _689 => _689((c) => c.id === source.data.columnId), 'optionalAccess', _690 => _690.color]),
|
|
30004
30040
|
width: rect.width,
|
|
30005
30041
|
grabX: clientX - rect.left,
|
|
30006
30042
|
grabY: clientY - rect.top
|
|
@@ -30017,7 +30053,7 @@ function DragBoard({
|
|
|
30017
30053
|
setAim(null);
|
|
30018
30054
|
const change = resolveBoardDrop(columnsRef.current, {
|
|
30019
30055
|
source: source.data,
|
|
30020
|
-
target: _optionalChain([location, 'access',
|
|
30056
|
+
target: _optionalChain([location, 'access', _691 => _691.current, 'access', _692 => _692.dropTargets, 'access', _693 => _693[0], 'optionalAccess', _694 => _694.data])
|
|
30021
30057
|
});
|
|
30022
30058
|
if (!change) return;
|
|
30023
30059
|
setPendingMove({
|
|
@@ -30050,7 +30086,7 @@ function DragBoard({
|
|
|
30050
30086
|
return void 0;
|
|
30051
30087
|
}
|
|
30052
30088
|
const to = card.getBoundingClientRect();
|
|
30053
|
-
const lane = _optionalChain([nearestScrollableAncestor, 'call',
|
|
30089
|
+
const lane = _optionalChain([nearestScrollableAncestor, 'call', _695 => _695(card), 'optionalAccess', _696 => _696.getBoundingClientRect, 'call', _697 => _697()]);
|
|
30054
30090
|
if (lane && (to.top < lane.top || to.bottom > lane.bottom)) {
|
|
30055
30091
|
finish();
|
|
30056
30092
|
return void 0;
|
|
@@ -30109,8 +30145,8 @@ function DragBoard({
|
|
|
30109
30145
|
children: view.map((column, i) => {
|
|
30110
30146
|
const prev = view[i - 1];
|
|
30111
30147
|
const next = view[i + 1];
|
|
30112
|
-
const joinLeft = !!(column.system && _optionalChain([prev, 'optionalAccess',
|
|
30113
|
-
const joinRight = !!(column.system && _optionalChain([next, 'optionalAccess',
|
|
30148
|
+
const joinLeft = !!(column.system && _optionalChain([prev, 'optionalAccess', _698 => _698.system]));
|
|
30149
|
+
const joinRight = !!(column.system && _optionalChain([next, 'optionalAccess', _699 => _699.system]));
|
|
30114
30150
|
const showGap = i > 0 && !joinLeft;
|
|
30115
30151
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _react.Fragment, { children: [
|
|
30116
30152
|
showGap && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "aria-hidden": true, className: "w-[var(--spacing-system-mf)] shrink-0" }),
|
|
@@ -30291,13 +30327,13 @@ function SortableList({ onReorder, getItemLabel, disabled = false, className, ch
|
|
|
30291
30327
|
const [flipTick, setFlipTick] = _react.useState.call(void 0, 0);
|
|
30292
30328
|
const flipTimer = _react.useRef.call(void 0, null);
|
|
30293
30329
|
const readItems = _react.useCallback.call(void 0,
|
|
30294
|
-
() => [..._nullishCoalesce(_optionalChain([listRef, 'access',
|
|
30330
|
+
() => [..._nullishCoalesce(_optionalChain([listRef, 'access', _700 => _700.current, 'optionalAccess', _701 => _701.querySelectorAll, 'call', _702 => _702(`[${SORTABLE_ITEM_ATTRIBUTE}]`)]), () => ( []))],
|
|
30295
30331
|
[]
|
|
30296
30332
|
);
|
|
30297
30333
|
const reorder = _react.useCallback.call(void 0,
|
|
30298
30334
|
(from, to) => {
|
|
30299
30335
|
if (from === to) return;
|
|
30300
|
-
const label = _nullishCoalesce(_optionalChain([getItemLabelRef, 'access',
|
|
30336
|
+
const label = _nullishCoalesce(_optionalChain([getItemLabelRef, 'access', _703 => _703.current, 'optionalCall', _704 => _704(from)]), () => ( "Item"));
|
|
30301
30337
|
setAnnouncement(`${label} moved to position ${to + 1} of ${readItems().length}.`);
|
|
30302
30338
|
onReorderRef.current(from, to);
|
|
30303
30339
|
},
|
|
@@ -30385,7 +30421,7 @@ function SortableList({ onReorder, getItemLabel, disabled = false, className, ch
|
|
|
30385
30421
|
moving.push(item);
|
|
30386
30422
|
}
|
|
30387
30423
|
if (moving.length === 0) return;
|
|
30388
|
-
void _optionalChain([listRef, 'access',
|
|
30424
|
+
void _optionalChain([listRef, 'access', _705 => _705.current, 'optionalAccess', _706 => _706.offsetHeight]);
|
|
30389
30425
|
for (const item of moving) {
|
|
30390
30426
|
item.style.transition = `transform ${DROP_MS2}ms ${EASING}`;
|
|
30391
30427
|
item.style.transform = "";
|
|
@@ -30422,8 +30458,8 @@ function SortableMoveButtons({ index, count, label, className }) {
|
|
|
30422
30458
|
if (to < 0 || to >= count) return;
|
|
30423
30459
|
reorder(index, to);
|
|
30424
30460
|
requestAnimationFrame(() => {
|
|
30425
|
-
if (step === -1 && to === 0) _optionalChain([downRef, 'access',
|
|
30426
|
-
if (step === 1 && to === count - 1) _optionalChain([upRef, 'access',
|
|
30461
|
+
if (step === -1 && to === 0) _optionalChain([downRef, 'access', _707 => _707.current, 'optionalAccess', _708 => _708.focus, 'call', _709 => _709()]);
|
|
30462
|
+
if (step === 1 && to === count - 1) _optionalChain([upRef, 'access', _710 => _710.current, 'optionalAccess', _711 => _711.focus, 'call', _712 => _712()]);
|
|
30427
30463
|
});
|
|
30428
30464
|
};
|
|
30429
30465
|
const subject = _nullishCoalesce(label, () => ( "item"));
|
|
@@ -30471,7 +30507,7 @@ function useSortableItem() {
|
|
|
30471
30507
|
const [handle, setHandle] = _react.useState.call(void 0, null);
|
|
30472
30508
|
const [isDragging, setIsDragging] = _react.useState.call(void 0, false);
|
|
30473
30509
|
const itemRef = _react.useCallback.call(void 0, (node) => {
|
|
30474
|
-
_optionalChain([node, 'optionalAccess',
|
|
30510
|
+
_optionalChain([node, 'optionalAccess', _713 => _713.setAttribute, 'call', _714 => _714(SORTABLE_ITEM_ATTRIBUTE, "")]);
|
|
30475
30511
|
setItem(node);
|
|
30476
30512
|
}, []);
|
|
30477
30513
|
_react.useEffect.call(void 0, () => {
|
|
@@ -30501,7 +30537,7 @@ function useSortableItem() {
|
|
|
30501
30537
|
if (from < 0 || to < 0 || to >= items.length) return;
|
|
30502
30538
|
event.preventDefault();
|
|
30503
30539
|
reorder(from, to);
|
|
30504
|
-
requestAnimationFrame(() => _optionalChain([handle, 'optionalAccess',
|
|
30540
|
+
requestAnimationFrame(() => _optionalChain([handle, 'optionalAccess', _715 => _715.focus, 'call', _716 => _716()]));
|
|
30505
30541
|
},
|
|
30506
30542
|
[inert, readItems, reorder, handle]
|
|
30507
30543
|
);
|
|
@@ -30523,7 +30559,7 @@ function TicketStatusConfigList({
|
|
|
30523
30559
|
onReorder,
|
|
30524
30560
|
getItemLabel,
|
|
30525
30561
|
className: _chunkX7CEWD6Vcjs.cn.call(void 0, "flex w-full flex-col gap-[var(--spacing-system-xs)]", className),
|
|
30526
|
-
children: items.map((item, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SortableRow, { index, count: items.length, label: _optionalChain([getItemLabel, 'optionalCall',
|
|
30562
|
+
children: items.map((item, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SortableRow, { index, count: items.length, label: _optionalChain([getItemLabel, 'optionalCall', _717 => _717(index)]), children: (args) => renderRow(item, args) }, item.id))
|
|
30527
30563
|
}
|
|
30528
30564
|
);
|
|
30529
30565
|
}
|
|
@@ -31192,4 +31228,4 @@ function SortableRow({
|
|
|
31192
31228
|
|
|
31193
31229
|
|
|
31194
31230
|
exports.AllowedDomainsInput = AllowedDomainsInput; exports.AnnouncementBarView = AnnouncementBarView; exports.HiddenTagsPopup = HiddenTagsPopup; exports.TruncateText = TruncateText; exports.Autocomplete = Autocomplete; 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.JsonDetailList = JsonDetailList; exports.ProgressBar = ProgressBar; exports.InfoCard = InfoCard; exports.InfoRow = InfoRow; exports.DeletedUserAvatar = DeletedUserAvatar; exports.SearchableSelect = SearchableSelect; exports.AssigneeDropdown = AssigneeDropdown; exports.InfoSection = InfoSection; exports.InputTrigger = InputTrigger; exports.MediaTypeSelector = MediaTypeSelector; exports.noDataIconClasses = noDataIconClasses; exports.noDataActionsVariants = noDataActionsVariants; exports.NoDataAction = NoDataAction; exports.NoDataActions = NoDataActions; exports.NoDataMessage = NoDataMessage; exports.NoData = NoData; exports.PageLoader = PageLoader; exports.CompactPageLoader = CompactPageLoader; exports.RadioGroup = RadioGroup; exports.RadioGroupItem = RadioGroupItem; exports.RadioGroupBlock = RadioGroupBlock; 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.useConfirm = useConfirm; exports.useGuardedClose = useGuardedClose; exports.UnsavedChangesChip = UnsavedChangesChip; exports.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS = HUBSPOT_DO_NOT_COLLECT_FORM_PROPS; 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.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.NavigationMenuViewport = NavigationMenuViewport; exports.NavigationMenu = NavigationMenu; exports.NavigationMenuList = NavigationMenuList; exports.NavigationMenuItem = NavigationMenuItem; exports.navigationMenuTriggerStyle = navigationMenuTriggerStyle; exports.NavigationMenuTrigger = NavigationMenuTrigger; exports.NavigationMenuContent = NavigationMenuContent; exports.NavigationMenuLink = NavigationMenuLink; 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.RichMarkdownRuntimeProvider = RichMarkdownRuntimeProvider; exports.useRichMarkdownRuntime = useRichMarkdownRuntime; exports.FullscreenSwitchController = FullscreenSwitchController; exports.EmbedIframe = EmbedIframe; exports.EmbedViewerFrame = EmbedViewerFrame; exports.ClaudeEmbed = ClaudeEmbed; exports.FigmaEmbed = FigmaEmbed; exports.EMBED_SIZES = EMBED_SIZES; exports.EmbedContainer = EmbedContainer; exports.YouTubeContainer = YouTubeContainer; exports.TwitterContainer = TwitterContainer; exports.RedditContainer = RedditContainer; exports.LinkPreviewContainer = LinkPreviewContainer; exports.LinkedInContainer = LinkedInContainer; exports.LinkedInEmbedClient = LinkedInEmbedClient; exports.MarkdownImage = MarkdownImage; exports.OGLinkErrorBoundary = OGLinkErrorBoundary; exports.OGLinkPreview = OGLinkPreview; exports.MediaCarousel = MediaCarousel; exports.RedditEmbedClient = RedditEmbedClient; exports.TwitterEmbedClient = TwitterEmbedClient; exports.SOCIAL_PLATFORM_ALIASES = SOCIAL_PLATFORM_ALIASES; exports.normalizeSocialPlatform = normalizeSocialPlatform; exports.hostMatches = hostMatches; exports.SOCIAL_PLATFORM_ALT_HOSTS = SOCIAL_PLATFORM_ALT_HOSTS; exports.socialPlatformHosts = socialPlatformHosts; exports.classifySocialHost = classifySocialHost; exports.pickSocialLink = pickSocialLink; exports.processShortcodes = processShortcodes; exports.RichMarkdownRenderer = RichMarkdownRenderer; exports.ReleaseChangelogSection = ReleaseChangelogSection; exports.StackedRowsPanel = StackedRowsPanel; exports.SlackChannelChip = SlackChannelChip; exports.StatusIndicator = StatusIndicator; exports.BackButton = BackButton; exports.ErrorState = ErrorState; exports.PageError = PageError; exports.LoadError = LoadError; exports.NotFoundError = NotFoundError; 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.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.ENTITY_QUOTES_TITLE = ENTITY_QUOTES_TITLE; exports.TMCG_ROLES = TMCG_ROLES; exports.TMCG_ROLE_DISPLAY_NAMES = TMCG_ROLE_DISPLAY_NAMES; 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.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.normalizeSchedulingSlug = normalizeSchedulingSlug; 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.ODS_SPACING_TOKENS = ODS_SPACING_TOKENS; exports.ODS_SPACING_TOKEN_PATTERN = ODS_SPACING_TOKEN_PATTERN; exports.ODS_SPACING_PROPS = ODS_SPACING_PROPS; exports.TAILWIND_STEP_TO_ODS_TOKEN = TAILWIND_STEP_TO_ODS_TOKEN; exports.CSV_CONTENT_TYPE = CSV_CONTENT_TYPE; exports.csvEscape = csvEscape; exports.toCsv = toCsv; exports.BenefitCard = BenefitCard; exports.benefitCardBorderClass = benefitCardBorderClass; 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.PersonCell = PersonCell; exports.PeopleCell = PeopleCell; exports.TitleContentBlock = TitleContentBlock; exports.TouchFriendlyTooltip = TouchFriendlyTooltip; exports.ContentLoader = ContentLoader; exports.CardLoader = CardLoader; exports.FormLoader = FormLoader; exports.DetailLoader = DetailLoader; exports.ListLoader = ListLoader; exports.CursorPagination = CursorPagination; exports.CursorPaginationSimple = CursorPaginationSimple; exports.useDataTableContext = useDataTableContext; exports.DataTableRoot = DataTableRoot; exports.getHideClasses = getHideClasses; exports.alignJustify = alignJustify; exports.multiSelectFilterFn = multiSelectFilterFn; exports.ROW_HEIGHT_DESKTOP = ROW_HEIGHT_DESKTOP; exports.ROW_HEIGHT_MOBILE = ROW_HEIGHT_MOBILE; exports.ROW_SHELL_CLASSES = ROW_SHELL_CLASSES; exports.DataTableSkeleton = DataTableSkeleton; 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.PasswordInput = PasswordInput; exports.AccountDetailsFields = AccountDetailsFields; exports.AuthBenefitsPanel = AuthBenefitsPanel; exports.OpenFrameWordmark = OpenFrameWordmark; exports.PoweredByFlamingo = PoweredByFlamingo; exports.AuthShell = AuthShell; exports.BackToLoginLink = BackToLoginLink; exports.CompactAuthShell = CompactAuthShell; exports.LabeledDivider = LabeledDivider; exports.PROVIDER_META = PROVIDER_META; exports.SsoProviderButtons = SsoProviderButtons; exports.CompleteAccountForm = CompleteAccountForm; exports.PolicyLink = PolicyLink; exports.TermsAgreementLabel = TermsAgreementLabel; exports.CreateOrganizationForm = CreateOrganizationForm; exports.InviteLinkInvalidModal = InviteLinkInvalidModal; exports.LegalLinks = LegalLinks; exports.LoginForm = LoginForm; exports.NoAccountNotice = NoAccountNotice; exports.OpenFrameSsoLoginForm = OpenFrameSsoLoginForm; exports.OpenFrameSsoSignUpForm = OpenFrameSsoSignUpForm; exports.PasswordResetForm = PasswordResetForm; exports.SsoAuthShell = SsoAuthShell; exports.SsoJoinForm = SsoJoinForm; 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.UnifiedSkeleton = UnifiedSkeleton; exports.TextSkeleton = TextSkeleton; exports.InteractiveSkeleton = InteractiveSkeleton; exports.MediaSkeleton = MediaSkeleton; exports.CardSkeleton = CardSkeleton; exports.CardSkeletonGrid = CardSkeletonGrid; exports.AnnouncementBarSkeleton = AnnouncementBarSkeleton; exports.HeroSkeleton = HeroSkeleton; exports.SearchContainerSkeleton = SearchContainerSkeleton; exports.CategorySidebarSkeleton = CategorySidebarSkeleton; exports.BreadcrumbSkeleton = BreadcrumbSkeleton; exports.ResultsHeaderSkeleton = ResultsHeaderSkeleton; exports.TwoColumnLayoutSkeleton = TwoColumnLayoutSkeleton; exports.ArticleLayoutSkeleton = ArticleLayoutSkeleton; exports.VendorDetailLayoutSkeleton = VendorDetailLayoutSkeleton; exports.StatsSectionSkeleton = StatsSectionSkeleton; exports.BlogCardGridSkeleton = BlogCardGridSkeleton; exports.VendorGridSkeleton = VendorGridSkeleton; exports.SlackCommunitySkeleton = SlackCommunitySkeleton; exports.ContentLoadingContainer = ContentLoadingContainer; exports.useContentLoading = useContentLoading; exports.ParagraphSkeleton = ParagraphSkeleton; exports.ListSkeleton = ListSkeleton; exports.TableSkeleton = TableSkeleton; exports.FormSkeleton = FormSkeleton; exports.NavigationSkeleton = NavigationSkeleton; exports.ProfileSkeleton = ProfileSkeleton; exports.CommentSkeleton = CommentSkeleton; exports.FeatureListSkeleton = FeatureListSkeleton; exports.TimelineSkeleton = TimelineSkeleton; exports.PricingSkeleton = PricingSkeleton; exports.ProfileLoadingSkeleton = ProfileLoadingSkeleton; exports.MspProfileFormSkeleton = MspProfileFormSkeleton; exports.CategoryCardSkeleton = CategoryCardSkeleton; exports.CategoryVendorSelectorSkeleton = CategoryVendorSelectorSkeleton; exports.WizardLayoutSkeleton = WizardLayoutSkeleton; exports.MarginReportSkeleton = MarginReportSkeleton; exports.UsersGridSkeleton = UsersGridSkeleton; exports.DynamicSkeleton = DynamicSkeleton; exports.SkeletonPresets = SkeletonPresets; exports.PlatformSkeletonContainer = PlatformSkeletonContainer; exports.ProgressiveSkeleton = ProgressiveSkeleton; exports.OrganizationIconSkeleton = OrganizationIconSkeleton; exports.OrganizationCardSkeleton = OrganizationCardSkeleton; exports.OrganizationCardSkeletonGrid = OrganizationCardSkeletonGrid; exports.DeviceCardSkeleton = DeviceCardSkeleton; exports.DeviceCardSkeletonGrid = DeviceCardSkeletonGrid; exports.PushButtonSelector = PushButtonSelector; exports.ReleaseMediaManager = ReleaseMediaManager; exports.SelectButton = SelectButton; exports.ConfidenceBadge = ConfidenceBadge; exports.SEOEditorPreview = SEOEditorPreview; exports.SOCIAL_ICON_COMPONENTS = SOCIAL_ICON_COMPONENTS; exports.SocialIconRow = SocialIconRow; 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.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.AppLayoutDrawerContainerContext = AppLayoutDrawerContainerContext; exports.useAppLayoutDrawerContainer = useAppLayoutDrawerContainer; exports.AppLayoutDrawerCoordinationContext = AppLayoutDrawerCoordinationContext; 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.TICKET_APPROVAL_REQUEST_TYPE = TICKET_APPROVAL_REQUEST_TYPE; exports.MINGO_APPROVAL_REQUEST_TYPE = MINGO_APPROVAL_REQUEST_TYPE; exports.isApprovalNotificationType = isApprovalNotificationType; 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.SortableMoveButtons = SortableMoveButtons; exports.useSortableItem = useSortableItem; exports.TicketStatusConfigList = TicketStatusConfigList; exports.TableHeader = TableHeader; exports.TableCell = TableCell; 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.DataTableEmpty = DataTableEmpty; exports.DataTableRow = DataTableRow; exports.DataTableBody = DataTableBody; exports.DataTableCursorFooter = DataTableCursorFooter; exports.DataTableHeader = DataTableHeader; exports.DATA_TABLE_HEADER_LABEL_CLASS = DATA_TABLE_HEADER_LABEL_CLASS; exports.DataTableInfiniteFooter = DataTableInfiniteFooter; 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.LazyMount = LazyMount; exports.IconTile = IconTile;
|
|
31195
|
-
//# sourceMappingURL=chunk-
|
|
31231
|
+
//# sourceMappingURL=chunk-ERFHLMWM.cjs.map
|