dsh-talk-map 0.1.55 → 0.1.56
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/README.md +2 -0
- package/README.zh.md +2 -0
- package/client/client.js +377 -160
- package/package.json +1 -1
package/client/client.js
CHANGED
|
@@ -63,12 +63,12 @@ var require_use_sync_external_store_shim_production = __commonJS({
|
|
|
63
63
|
return x === y && (0 !== x || 1 / x === 1 / y) || x !== x && y !== y;
|
|
64
64
|
}
|
|
65
65
|
var objectIs = "function" === typeof Object.is ? Object.is : is;
|
|
66
|
-
var
|
|
67
|
-
var
|
|
66
|
+
var useState9 = React.useState;
|
|
67
|
+
var useEffect12 = React.useEffect;
|
|
68
68
|
var useLayoutEffect3 = React.useLayoutEffect;
|
|
69
69
|
var useDebugValue2 = React.useDebugValue;
|
|
70
70
|
function useSyncExternalStore$2(subscribe2, getSnapshot2) {
|
|
71
|
-
var value = getSnapshot2(), _useState =
|
|
71
|
+
var value = getSnapshot2(), _useState = useState9({ inst: { value, getSnapshot: getSnapshot2 } }), inst = _useState[0].inst, forceUpdate = _useState[1];
|
|
72
72
|
useLayoutEffect3(
|
|
73
73
|
function() {
|
|
74
74
|
inst.value = value;
|
|
@@ -77,7 +77,7 @@ var require_use_sync_external_store_shim_production = __commonJS({
|
|
|
77
77
|
},
|
|
78
78
|
[subscribe2, value, getSnapshot2]
|
|
79
79
|
);
|
|
80
|
-
|
|
80
|
+
useEffect12(
|
|
81
81
|
function() {
|
|
82
82
|
checkIfSnapshotChanged(inst) && forceUpdate({ inst });
|
|
83
83
|
return subscribe2(function() {
|
|
@@ -130,17 +130,17 @@ var require_with_selector_production = __commonJS({
|
|
|
130
130
|
}
|
|
131
131
|
var objectIs = "function" === typeof Object.is ? Object.is : is;
|
|
132
132
|
var useSyncExternalStore5 = shim.useSyncExternalStore;
|
|
133
|
-
var
|
|
134
|
-
var
|
|
135
|
-
var
|
|
133
|
+
var useRef8 = React.useRef;
|
|
134
|
+
var useEffect12 = React.useEffect;
|
|
135
|
+
var useMemo4 = React.useMemo;
|
|
136
136
|
var useDebugValue2 = React.useDebugValue;
|
|
137
137
|
exports.useSyncExternalStoreWithSelector = function(subscribe2, getSnapshot2, getServerSnapshot, selector, isEqual) {
|
|
138
|
-
var instRef =
|
|
138
|
+
var instRef = useRef8(null);
|
|
139
139
|
if (null === instRef.current) {
|
|
140
140
|
var inst = { hasValue: false, value: null };
|
|
141
141
|
instRef.current = inst;
|
|
142
142
|
} else inst = instRef.current;
|
|
143
|
-
instRef =
|
|
143
|
+
instRef = useMemo4(
|
|
144
144
|
function() {
|
|
145
145
|
function memoizedSelector(nextSnapshot) {
|
|
146
146
|
if (!hasMemo) {
|
|
@@ -175,7 +175,7 @@ var require_with_selector_production = __commonJS({
|
|
|
175
175
|
[getSnapshot2, getServerSnapshot, selector, isEqual]
|
|
176
176
|
);
|
|
177
177
|
var value = useSyncExternalStore5(subscribe2, instRef[0], instRef[1]);
|
|
178
|
-
|
|
178
|
+
useEffect12(
|
|
179
179
|
function() {
|
|
180
180
|
inst.hasValue = true;
|
|
181
181
|
inst.value = value;
|
|
@@ -326,6 +326,14 @@ var zh = {
|
|
|
326
326
|
"map.back": "返回",
|
|
327
327
|
"map.toggle": "对话地图",
|
|
328
328
|
"map.empty": "地图是空的 —— 右键导入工作区或对话;双击空白直接开新对话",
|
|
329
|
+
"statusRail.title": "有状态的卡片",
|
|
330
|
+
"statusRail.open": "展开状态栏",
|
|
331
|
+
"statusRail.close": "收起状态栏",
|
|
332
|
+
"statusRail.empty": "暂时没有带状态的卡片",
|
|
333
|
+
"statusRail.lamp.running": "运行中",
|
|
334
|
+
"statusRail.lamp.waiting": "等你回复",
|
|
335
|
+
"statusRail.lamp.done": "待查看",
|
|
336
|
+
"statusRail.lamp.error": "异常终止",
|
|
329
337
|
"map.sessions": "个会话",
|
|
330
338
|
"map.loading": "正在加载地图……",
|
|
331
339
|
"map.retry": "重试",
|
|
@@ -448,7 +456,7 @@ var zh = {
|
|
|
448
456
|
"digest.empty": "这条对话还没有摘要,先刷新摘要再来看。",
|
|
449
457
|
"digest.copy": "复制",
|
|
450
458
|
"digest.close": "关闭",
|
|
451
|
-
"global.searchPlaceholder": "
|
|
459
|
+
"global.searchPlaceholder": "b56 · 搜地图上的卡片(标题/正文)",
|
|
452
460
|
"global.searchRun": "搜索",
|
|
453
461
|
"global.searchTitle": "搜索地图",
|
|
454
462
|
"font.group": "文字大小",
|
|
@@ -484,6 +492,14 @@ var en = {
|
|
|
484
492
|
"map.back": "Back",
|
|
485
493
|
"map.toggle": "Talk Map",
|
|
486
494
|
"map.empty": "The map is empty — right-click to import a workspace or conversation; double-click to start a chat",
|
|
495
|
+
"statusRail.title": "Cards with a status",
|
|
496
|
+
"statusRail.open": "Open the status rail",
|
|
497
|
+
"statusRail.close": "Close the status rail",
|
|
498
|
+
"statusRail.empty": "No card carries a status right now",
|
|
499
|
+
"statusRail.lamp.running": "running",
|
|
500
|
+
"statusRail.lamp.waiting": "waiting",
|
|
501
|
+
"statusRail.lamp.done": "unread",
|
|
502
|
+
"statusRail.lamp.error": "error",
|
|
487
503
|
"map.sessions": "sessions",
|
|
488
504
|
"map.loading": "Loading map…",
|
|
489
505
|
"map.retry": "Retry",
|
|
@@ -599,7 +615,7 @@ var en = {
|
|
|
599
615
|
"menu.noGroup": "Remove from group (free card)",
|
|
600
616
|
"menu.open": "Open conversation",
|
|
601
617
|
"menu.markUnread": "Mark as unread",
|
|
602
|
-
"global.searchPlaceholder": "
|
|
618
|
+
"global.searchPlaceholder": "b56 · Search cards on the map",
|
|
603
619
|
"global.searchRun": "Search",
|
|
604
620
|
"global.searchTitle": "Search the map",
|
|
605
621
|
"font.group": "Text size",
|
|
@@ -1245,7 +1261,7 @@ function allCards() {
|
|
|
1245
1261
|
}
|
|
1246
1262
|
|
|
1247
1263
|
// src/client/MapOverlay.tsx
|
|
1248
|
-
var
|
|
1264
|
+
var import_react15 = require("react");
|
|
1249
1265
|
|
|
1250
1266
|
// src/client/font-scale.ts
|
|
1251
1267
|
var STORAGE_KEY = "dsh.talk-map.font-step";
|
|
@@ -1363,7 +1379,7 @@ function cleanSnippet(raw, query) {
|
|
|
1363
1379
|
|
|
1364
1380
|
// dsh-css:dsh-css:src/client/talk-map.module.css
|
|
1365
1381
|
var __tagId = "dsh-talk-map/talk-map.module.css";
|
|
1366
|
-
var __css = `.tm_toggleButton { display: flex; align-items: center; justify-content: center; gap: 6px; width: 32px; height: 32px; padding: 0; border: none; border-radius: 8px; background: transparent; color: var(--dsw-alias-label-secondary); cursor: pointer; } .tm_toggleButton:hover { background: var(--dsw-alias-interactive-bg-hover); color: var(--dsw-alias-label-primary); } .tm_toggleButtonActive { background: var(--dsw-alias-interactive-bg-active); color: var(--dsw-alias-brand-primary); } .tm_toggleRow { display: flex; align-items: center; gap: 8px; width: 100%; padding: 6px 10px; border: none; border-radius: 8px; background: transparent; color: var(--dsw-alias-label-secondary); font-size: calc(13px + var(--tm-font-step, 0px)); cursor: pointer; text-align: left; } .tm_toggleRow:hover { background: var(--dsw-alias-interactive-bg-hover); color: var(--dsw-alias-label-primary); } .tm_toggleLabel { white-space: nowrap; } .tm_toggleIcon { width: 18px; height: 18px; flex: none; } .tm_panel { height: 100%; min-height: 0; box-sizing: border-box; display: flex; flex-direction: column; background: var(--dsw-alias-bg-base); color: var(--dsw-alias-label-primary); } .tm_header { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--dsw-alias-border-l1); background: var(--dsw-alias-bg-layer-1); flex: none; } .tm_backButton { display: inline-flex; align-items: center; gap: 6px; flex: none; height: 38px; padding: 0 18px 0 12px; border: 1px solid var(--dsw-alias-border-l2); border-radius: 999px; background: transparent; color: var(--dsw-alias-label-secondary); font-size: calc(14px + var(--tm-font-step, 0px)); font-weight: 600; line-height: 1; cursor: pointer; } .tm_backButton:hover { background: var(--dsw-alias-interactive-bg-hover); color: var(--dsw-alias-label-primary); } .tm_globalSearch { position: relative; display: flex; align-items: center; gap: 6px; margin-right: 8px; } .tm_globalSearchInput { width: 200px; font: inherit; font-size: calc(12px + var(--tm-font-step, 0px)); color: var(--dsw-alias-label-primary); background: var(--dsw-alias-bg-layer-2, rgba(255, 255, 255, 0.06)); border: 1px solid var(--dsw-alias-border-l2); border-radius: 8px; padding: 5px 9px; outline: none; } .tm_globalSearchInput:focus { border-color: var(--dsw-alias-border-l3, rgba(255, 255, 255, 0.3)); } .tm_globalSearchButton { font: inherit; font-size: calc(11.5px + var(--tm-font-step, 0px)); color: var(--dsw-alias-label-secondary); background: transparent; border: 1px solid var(--dsw-alias-border-l2); border-radius: 8px; padding: 5px 10px; cursor: pointer; } .tm_globalSearchButton:hover { color: var(--dsw-alias-label-primary); } .tm_globalSearchBackdrop { position: fixed; inset: 0; z-index: 70; background: rgba(0, 0, 0, 0.45); display: flex; align-items: flex-start; justify-content: center; padding-top: 9vh; } .tm_globalSearchPanel { width: min(980px, 92vw); max-height: 76vh; display: flex; flex-direction: column; border-radius: 14px; border: 1px solid var(--dsw-alias-border-l2); background: var(--dsw-alias-bg-layer-1); box-shadow: 0 22px 60px rgba(0, 0, 0, 0.5); overflow: hidden; } .tm_globalSearchHead { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--dsw-alias-border-l2); } .tm_globalSearchTitle { font-size: calc(13px + var(--tm-font-step, 0px)); font-weight: 600; color: var(--dsw-alias-label-primary); } .tm_globalSearchBody { padding: 0 16px 14px; overflow-y: auto; overscroll-behavior: contain; } .tm_searchInlineLoading { display: flex; align-items: center; padding: 4px 0 2px 10px; } .tm_searchInlineLoading > span { width: 62%; } .tm_drawerScrollSensor { width: 100%; height: 1px; opacity: 0; } .tm_fontGroup { display: flex; align-items: center; gap: 4px; margin-right: 6px; } .tm_fontButton { display: inline-flex; align-items: center; justify-content: center; gap: 3px; min-width: 46px; height: 28px; padding: 0 8px; line-height: 1; border: 1px solid var(--dsw-alias-border-l2); border-radius: 8px; background: transparent; color: var(--dsw-alias-label-secondary); font: inherit; font-size: calc(12px + var(--tm-font-step, 0px)); cursor: pointer; } .tm_fontButton:hover:not(:disabled) { color: var(--dsw-alias-label-primary); border-color: var(--dsw-alias-border-l3, rgba(255, 255, 255, 0.3)); } .tm_fontButton:disabled { opacity: 0.4; cursor: default; } .tm_fontGlyphSmall, .tm_fontGlyphLarge { display: inline-block; width: calc(9px + 0px); text-align: center; line-height: 1; } .tm_fontGlyphSmall, .tm_fontGlyphLarge { font-size: calc(13px + var(--tm-font-step, 0px)); } .tm_fontSign { display: inline-block; font-size: calc(10px + var(--tm-font-step, 0px)); line-height: 1; transform: translateY(-3px); } .tm_fontReset { min-width: 50px; } .tm_fontReset { min-width: 44px; } .tm_headerSpace { flex: 1; } .tm_langButton { flex: none; min-width: 72px; height: 34px; padding: 0 14px; border: 1px solid var(--dsw-alias-border-l2); border-radius: 999px; background: transparent; color: var(--dsw-alias-label-secondary); font-size: calc(13px + var(--tm-font-step, 0px)); cursor: pointer; white-space: nowrap; } .tm_langButton:hover { background: var(--dsw-alias-interactive-bg-hover); color: var(--dsw-alias-label-primary); } .tm_closeButton { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 38px; height: 38px; padding: 0; border: 1px solid var(--dsw-alias-border-l2); border-radius: 999px; background: transparent; color: var(--dsw-alias-label-secondary); cursor: pointer; } .tm_closeButton:hover { background: var(--dsw-alias-interactive-bg-hover); color: var(--dsw-alias-label-primary); } .tm_zoomResetLabel { font-size: calc(9px + var(--tm-font-step, 0px)); font-weight: 700; letter-spacing: -0.5px; } .tm_canvas { flex: 1; min-height: 0; position: relative; } @media (prefers-reduced-motion: reduce) { .tm_canvas .react-flow__edge circle { opacity: 0.28; } } .tm_canvas .react-flow__node { transition: transform 200ms cubic-bezier(0.2, 0.8, 0.25, 1); } .tm_canvas .react-flow__node.dragging, .tm_canvas .react-flow__node.tmDragging { transition: none; } .tm_canvas .react-flow__nodesselection, .tm_canvas .react-flow__nodesselection-rect { display: none !important; pointer-events: none !important; } .tm_card { position: relative; width: 224px; min-height: 104px; display: flex; flex-direction: column; gap: 6px; padding: 10px 12px; border: 1px solid var(--dsw-alias-border-l2); border-radius: 10px; background: var(--dsw-alias-bg-layer-1); color: var(--dsw-alias-label-primary); box-shadow: 0 1px 3px var(--dsw-alias-bg-mask-1); font-size: calc(13px + var(--tm-font-step, 0px)); } .tm_cardSelected { border-color: var(--dsw-alias-brand-primary); } .tm_cardGhost { opacity: 0.55; border-style: dashed; } .tm_cardTop { display: flex; align-items: center; gap: 6px; min-width: 0; } .tm_cardTitle { font-weight: 600; font-size: calc(13px + var(--tm-font-step, 0px)); line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; word-break: break-word; } .tm_runningDot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: #ffffff; animation: tm_talkmap-pulse 1.6s ease-in-out infinite; } @keyframes tm_talkmap-pulse { 50% { opacity: 0.35; } } .tm_cardNext { display: flex; align-items: baseline; gap: 6px; font-size: calc(12px + var(--tm-font-step, 0px)); color: var(--dsw-alias-label-secondary); min-width: 0; } .tm_cardNextLabel { flex: none; font-size: calc(11px + var(--tm-font-step, 0px)); color: var(--dsw-alias-brand-primary); font-weight: 600; } .tm_cardNextText { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; } .tm_cardStale { flex: none; color: var(--dsw-alias-state-warn-primary); font-size: calc(12px + var(--tm-font-step, 0px)); } .tm_cardFooter { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: calc(11px + var(--tm-font-step, 0px)); color: var(--dsw-alias-label-tertiary); } .tm_cardTime { flex: none; } .tm_cardChip { display: inline-flex; align-items: center; gap: 5px; padding: 1px 8px; border-radius: 999px; font-size: calc(10px + var(--tm-font-step, 0px)); font-weight: 600; white-space: nowrap; border: 1px solid transparent; } .tm_cardChipRunning { color: #ffffff; background: rgba(255, 255, 255, 0.14); border-color: rgba(255, 255, 255, 0.35); } .tm_cardChipWaiting { color: rgb(245, 178, 46); background: rgba(245, 178, 46, 0.14); border-color: rgba(245, 178, 46, 0.42); } .tm_cardChipDone { color: rgb(52, 199, 89); background: rgba(52, 199, 89, 0.14); border-color: rgba(52, 199, 89, 0.42); } .tm_cardChipError { color: rgb(242, 78, 78); background: rgba(242, 78, 78, 0.14); border-color: rgba(242, 78, 78, 0.45); } .tm_cardChipDraft { color: rgb(255, 197, 61); background: rgba(255, 197, 61, 0.18); border-color: rgba(255, 197, 61, 0.5); } .tm_cardChipInterrupted { color: rgb(214, 158, 92); background: rgba(214, 158, 92, 0.14); border-color: rgba(214, 158, 92, 0.42); } .tm_cardSummary { font-size: calc(12px + var(--tm-font-step, 0px)); line-height: 1.45; color: var(--dsw-alias-label-secondary); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; word-break: break-word; } .tm_cardBadgeWaiting { padding: 1px 7px; border-radius: 999px; font-size: calc(10px + var(--tm-font-step, 0px)); color: var(--dsw-alias-state-warn-label); background: var(--dsw-alias-state-warn-tertiary); } .tm_cardBadgeDone { padding: 1px 7px; border-radius: 999px; font-size: calc(10px + var(--tm-font-step, 0px)); color: var(--dsw-alias-state-success-primary); background: var(--dsw-alias-state-success-tertiary); } .tm_cardLampRunning { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.34), 0 0 16px 2px rgba(255, 255, 255, 0.2), 0 0 40px 9px rgba(255, 255, 255, 0.1); } .tm_dialogBackdrop { position: fixed; inset: 0; z-index: 80; display: flex; align-items: center; justify-content: center; background: rgba(0, 0, 0, 0.45); backdrop-filter: blur(2px); animation: tm_tmFadeIn 140ms ease-out; } .tm_digestDialog { width: min(720px, 86vw); max-height: 82vh; display: flex; flex-direction: column; gap: 8px; padding: 16px 18px 14px; border-radius: 14px; background: var(--dsw-alias-bg-elevated, #232323); border: 1px solid rgba(255, 255, 255, 0.09); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45); animation: tm_tmRiseIn 200ms cubic-bezier(0.16, 1, 0.3, 1); } .tm_digestDialogHead { display: flex; align-items: baseline; gap: 8px; min-width: 0; } .tm_digestDialogTitle { font-size: calc(13px + var(--tm-font-step, 0px)); font-weight: 600; color: var(--dsw-alias-label-primary); } .tm_digestDialogFrom { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: calc(11px + var(--tm-font-step, 0px)); color: var(--dsw-alias-label-secondary); } .tm_digestLabel { margin-top: 4px; font-size: calc(10.5px + var(--tm-font-step, 0px)); color: var(--dsw-alias-label-tertiary, rgba(255, 255, 255, 0.5)); } .tm_digestText { width: 100%; min-height: 96px; max-height: 30vh; padding: 10px 12px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.08); background: rgba(255, 255, 255, 0.04); color: var(--dsw-alias-label-primary); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: calc(11.5px + var(--tm-font-step, 0px)); line-height: 1.62; resize: none; } .tm_digestEmpty { padding: 18px 4px; font-size: calc(12px + var(--tm-font-step, 0px)); color: var(--dsw-alias-label-secondary); } .tm_digestActions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 4px; } .tm_renameBackdrop { position: fixed; inset: 0; z-index: 40; background: rgba(0, 0, 0, 0.42); display: flex; align-items: flex-start; justify-content: center; padding-top: 22vh; } .tm_renameDialog { width: min(420px, 90vw); background: var(--dsw-alias-bg-layer-1); border: 1px solid var(--dsw-alias-border-l2); border-radius: 12px; box-shadow: 0 18px 42px rgba(0, 0, 0, 0.42); padding: 16px 16px 12px; display: flex; flex-direction: column; gap: 10px; } .tm_renameHeading { font-size: calc(13px + var(--tm-font-step, 0px)); font-weight: 600; color: var(--dsw-alias-label-primary); } .tm_renameInput { width: 100%; box-sizing: border-box; font: inherit; font-size: calc(13px + var(--tm-font-step, 0px)); color: var(--dsw-alias-label-primary); background: var(--dsw-alias-bg-layer-2, rgba(255, 255, 255, 0.06)); border: 1px solid var(--dsw-alias-border-l2); border-radius: 8px; padding: 8px 10px; outline: none; } .tm_renameInput:focus { border-color: var(--dsw-alias-border-l3, rgba(255, 255, 255, 0.35)); } .tm_renameError { font-size: calc(12px + var(--tm-font-step, 0px)); color: rgb(242, 78, 78); } .tm_renameActions { display: flex; justify-content: flex-end; gap: 8px; } .tm_renameButton { font: inherit; font-size: calc(12.5px + var(--tm-font-step, 0px)); color: var(--dsw-alias-label-secondary); background: transparent; border: 1px solid var(--dsw-alias-border-l2); border-radius: 8px; padding: 6px 12px; cursor: pointer; } .tm_renameButton:hover { color: var(--dsw-alias-label-primary); } .tm_renamePrimary { color: #0b0b0c; background: rgb(255, 214, 106); border-color: rgb(255, 214, 106); } .tm_renamePrimary:disabled { opacity: 0.5; cursor: default; } .tm_cardPin { display: inline-flex; align-items: center; flex: none; color: rgb(255, 214, 106); filter: drop-shadow(0 0 5px rgba(255, 214, 106, 0.85)); animation: tm_talkmap-pin-glow 2.6s ease-in-out infinite; } @keyframes tm_talkmap-pin-glow { 0%, 100% { filter: drop-shadow(0 0 4px rgba(255, 214, 106, 0.6)); opacity: 0.92; } 50% { filter: drop-shadow(0 0 9px rgba(255, 214, 106, 1)); opacity: 1; } } .tm_cardReticle { position: absolute; inset: -5px; pointer-events: none; filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.45)); } .tm_cardReticle i { position: absolute; width: 13px; height: 13px; border: 2px solid rgba(255, 255, 255, 0.9); } .tm_cardReticle i:nth-child(1) { left: 0; top: 0; border-right: 0; border-bottom: 0; border-top-left-radius: 4px; } .tm_cardReticle i:nth-child(2) { right: 0; top: 0; border-left: 0; border-bottom: 0; border-top-right-radius: 4px; } .tm_cardReticle i:nth-child(3) { left: 0; bottom: 0; border-right: 0; border-top: 0; border-bottom-left-radius: 4px; } .tm_cardReticle i:nth-child(4) { right: 0; bottom: 0; border-left: 0; border-top: 0; border-bottom-right-radius: 4px; } .tm_cardQuiet { opacity: 0.62; transition: opacity 140ms ease; } .tm_cardQuiet:hover { opacity: 1; } .tm_stackBadgeBusy { color: rgb(255, 197, 61); border-color: rgba(255, 197, 61, 0.5); } @property --tm-ring-angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; } .tm_cardLampRunning::after { content: ''; position: absolute; inset: -2px; border-radius: 12px; padding: 2px; background: conic-gradient( from var(--tm-ring-angle), rgba(255, 255, 255, 0) 0deg, rgba(255, 255, 255, 0) 190deg, rgba(255, 255, 255, 0.18) 250deg, rgba(255, 255, 255, 0.55) 292deg, rgba(255, 255, 255, 1) 325deg, rgba(255, 255, 255, 0.4) 352deg, rgba(255, 255, 255, 0) 360deg ); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: tm_talkmap-ring-sweep 1.8s linear infinite; pointer-events: none; } @keyframes tm_talkmap-ring-sweep { to { --tm-ring-angle: 360deg; } } .tm_cardLampDone { animation: tm_talkmap-lamp-green 2.8s ease-in-out infinite; } .tm_cardLampError { animation: tm_talkmap-lamp-red 1.9s ease-in-out infinite; } .tm_cardLampWaiting { animation: tm_talkmap-lamp-amber 3.4s ease-in-out infinite; } @keyframes tm_talkmap-lamp-green { 0%, 100% { box-shadow: inset 0 0 0 1px rgba(52, 199, 89, 0.40), 0 0 14px 1px rgba(52, 199, 89, 0.26), 0 0 34px 8px rgba(52, 199, 89, 0.11); } 50% { box-shadow: inset 0 0 0 1px rgba(52, 199, 89, 0.72), 0 0 24px 5px rgba(52, 199, 89, 0.46), 0 0 62px 20px rgba(52, 199, 89, 0.22); } } @keyframes tm_talkmap-lamp-amber { 0%, 100% { box-shadow: inset 0 0 0 1px rgba(245, 178, 46, 0.42), 0 0 14px 1px rgba(245, 178, 46, 0.24), 0 0 34px 8px rgba(245, 178, 46, 0.11); } 50% { box-shadow: inset 0 0 0 1px rgba(245, 178, 46, 0.72), 0 0 24px 5px rgba(245, 178, 46, 0.44), 0 0 60px 19px rgba(245, 178, 46, 0.20); } } @keyframes tm_talkmap-lamp-red { 0%, 100% { box-shadow: inset 0 0 0 1px rgba(242, 78, 78, 0.46), 0 0 14px 1px rgba(242, 78, 78, 0.28), 0 0 34px 8px rgba(242, 78, 78, 0.12); } 50% { box-shadow: inset 0 0 0 1px rgba(242, 78, 78, 0.80), 0 0 26px 6px rgba(242, 78, 78, 0.52), 0 0 66px 22px rgba(242, 78, 78, 0.26); } } .tm_cardRemove { align-self: flex-start; padding: 3px 8px; border: 1px solid var(--dsw-alias-border-l2); border-radius: 6px; background: transparent; color: var(--dsw-alias-label-secondary); font-size: calc(12px + var(--tm-font-step, 0px)); cursor: pointer; } .tm_cardRemove:hover { background: var(--dsw-alias-interactive-bg-hover-danger); color: var(--dsw-alias-state-error-primary); } .tm_cardHandle { width: 10px; height: 10px; background: var(--dsw-alias-border-l3); border: 2px solid var(--dsw-alias-bg-layer-1); opacity: 0; } .tm_card:hover .tm_cardHandle, .tm_canvasConnecting .tm_cardHandle { opacity: 1; } .tm_cardHandle:hover { background: var(--dsw-alias-brand-primary); } .tm_cardRefresh { flex: none; margin-left: auto; width: 22px; height: 22px; padding: 0; border: none; border-radius: 6px; background: transparent; color: var(--dsw-alias-label-tertiary); font-size: calc(13px + var(--tm-font-step, 0px)); line-height: 1; cursor: pointer; opacity: 0; transition: opacity 120ms ease; } .tm_card:hover .tm_cardRefresh { opacity: 1; } .tm_cardRefresh:hover { background: var(--dsw-alias-interactive-bg-hover); color: var(--dsw-alias-label-primary); } .tm_cardRefreshBusy { opacity: 1; animation: tm_talkmap-spin 1s linear infinite; } @keyframes tm_talkmap-spin { to { transform: rotate(360deg); } } .tm_spawnPanel { position: absolute; right: 24px; top: 24px; z-index: 6; width: 420px; max-width: calc(100% - 48px); display: flex; flex-direction: column; gap: 8px; padding: 16px; border: 1px solid var(--dsw-alias-border-l2); border-radius: 12px; background: var(--dsw-alias-bg-layer-1); box-shadow: 0 8px 30px var(--dsw-alias-bg-mask-2); } .tm_spawnHeading { font-size: calc(14px + var(--tm-font-step, 0px)); font-weight: 600; color: var(--dsw-alias-label-primary); } .tm_spawnFrom { font-size: calc(12px + var(--tm-font-step, 0px)); color: var(--dsw-alias-label-secondary); } .tm_spawnModes { display: flex; gap: 6px; } .tm_spawnModeBtn { flex: 1; padding: 5px 0; border: 1px solid var(--dsw-alias-border-l2); border-radius: 8px; background: transparent; color: var(--dsw-alias-label-secondary); font-size: calc(12px + var(--tm-font-step, 0px)); cursor: pointer; } .tm_spawnModeBtn:hover { background: var(--dsw-alias-interactive-bg-hover); } .tm_spawnModeActive { border-color: var(--dsw-alias-brand-primary); color: var(--dsw-alias-brand-primary); background: var(--dsw-alias-interactive-bg-active); } .tm_spawnHint { font-size: calc(12px + var(--tm-font-step, 0px)); color: var(--dsw-alias-label-tertiary); } .tm_spawnTextarea { width: 100%; resize: vertical; min-height: 140px; padding: 10px; border: 1px solid var(--dsw-alias-border-l2); border-radius: 8px; background: var(--dsw-alias-bg-base); color: var(--dsw-alias-label-primary); font-size: calc(13px + var(--tm-font-step, 0px)); line-height: 1.5; font-family: inherit; } .tm_spawnError { font-size: calc(12px + var(--tm-font-step, 0px)); color: var(--dsw-alias-state-error-primary); word-break: break-all; } .tm_spawnActions { display: flex; justify-content: flex-end; gap: 8px; } .tm_spawnBtnPrimary { padding: 6px 16px; border: none; border-radius: 8px; background: var(--dsw-alias-button-primary-fill); color: var(--dsw-alias-label-primary-foreground); font-size: calc(13px + var(--tm-font-step, 0px)); cursor: pointer; } .tm_spawnBtnPrimary:hover { background: var(--dsw-alias-button-primary-hover); } .tm_spawnBtnPrimary:disabled { background: var(--dsw-alias-button-primary-dimmed); cursor: default; } .tm_spawnBtnGhost { padding: 6px 16px; border: 1px solid var(--dsw-alias-border-l2); border-radius: 8px; background: transparent; color: var(--dsw-alias-label-secondary); font-size: calc(13px + var(--tm-font-step, 0px)); cursor: pointer; } .tm_spawnBtnGhost:hover { background: var(--dsw-alias-interactive-bg-hover); } .tm_wsFrame { position: relative; border: 1.5px dashed var(--dsw-alias-border-l2); border-radius: 16px; background: transparent; } .tm_wsFrameBlocked { border-color: rgb(242, 78, 78) !important; box-shadow: 0 0 0 1px rgba(242, 78, 78, 0.45) inset; } .tm_wsFrameSelected { border-style: solid; border-color: var(--dsw-alias-brand-primary); } .tm_wsFrameLabel { position: absolute; top: -12px; left: 14px; display: flex; align-items: center; gap: 6px; padding: 2px 10px; border-radius: 999px; border: 1px solid var(--dsw-alias-border-l1); background: var(--dsw-alias-bg-layer-1); font-size: calc(12px + var(--tm-font-step, 0px)); font-weight: 600; color: var(--dsw-alias-label-secondary); white-space: nowrap; pointer-events: auto; cursor: grab; z-index: 5; } .tm_wsFrameLabel:active { cursor: grabbing; } .tm_wsFrameEdge { position: absolute; pointer-events: auto; cursor: grab; } .tm_wsFrameEdge:active { cursor: grabbing; } .tm_wsFrameCount { font-weight: 400; color: var(--dsw-alias-label-tertiary); } .tm_menu { position: absolute; z-index: 60; min-width: 200px; max-width: 280px; max-height: 380px; overflow-y: auto; display: flex; flex-direction: column; padding: 6px; border: 1px solid var(--dsw-alias-border-l1); border-radius: 10px; background: var(--dsw-alias-bg-layer-1); box-shadow: 0 8px 30px var(--dsw-alias-bg-mask-2); } .tm_menuTitle { flex: none; padding: 4px 10px 6px; font-size: calc(11px + var(--tm-font-step, 0px)); color: var(--dsw-alias-label-tertiary); } .tm_menuSearch { flex: none; box-sizing: border-box; width: calc(100% - 8px); margin: 2px 4px 6px; padding: 5px 8px; border: 1px solid var(--dsw-alias-border-l2); border-radius: 7px; background: var(--dsw-alias-bg-base); color: var(--dsw-alias-label-primary); font-size: calc(12px + var(--tm-font-step, 0px)); font-family: inherit; } .tm_menuHint { font-size: calc(11px + var(--tm-font-step, 0px)); color: var(--dsw-alias-label-dimmed); } .tm_menuPreview { flex: none; padding: 0 10px 4px; font-size: calc(11px + var(--tm-font-step, 0px)); color: var(--dsw-alias-label-tertiary); word-break: break-all; } .tm_menuError { flex: none; padding: 0 10px 4px; font-size: calc(11px + var(--tm-font-step, 0px)); color: var(--dsw-alias-state-error-primary); word-break: break-all; } .tm_menuEmpty { padding: 8px 10px; font-size: calc(12px + var(--tm-font-step, 0px)); color: var(--dsw-alias-label-tertiary); } .tm_menuItem { flex: none; display: flex; align-items: center; gap: 8px; width: 100%; text-align: left; padding: 6px 10px; border: none; border-radius: 7px; background: transparent; color: var(--dsw-alias-label-primary); font-size: calc(13px + var(--tm-font-step, 0px)); cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .tm_menuIcon { flex: none; width: 14px; height: 14px; color: var(--dsw-alias-label-secondary); } .tm_menuItemDanger { color: rgb(242, 78, 78); } .tm_menuItemDanger .tm_menuIcon { color: rgb(242, 78, 78); } .tm_menuItem:hover:not(:disabled) { background: var(--dsw-alias-interactive-bg-hover); } .tm_menuItem:disabled { color: var(--dsw-alias-label-dimmed); cursor: default; } .tm_wsFrameHidden { font-weight: 400; color: var(--dsw-alias-state-warn-primary); } .tm_emptyHint { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-size: calc(13px + var(--tm-font-step, 0px)); color: var(--dsw-alias-label-tertiary); pointer-events: none; z-index: 4; } .tm_toast { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 8; max-width: 70%; padding: 7px 16px; border: 1px solid var(--dsw-alias-border-l1); border-radius: 999px; background: var(--dsw-alias-bg-layer-1); box-shadow: 0 4px 16px var(--dsw-alias-bg-mask-2); font-size: calc(12px + var(--tm-font-step, 0px)); color: var(--dsw-alias-label-primary); pointer-events: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .tm_stackCell { position: relative; width: 224px; height: 104px; cursor: pointer; } .tm_stackSheetBack, .tm_stackSheetMid { position: absolute; inset: 0; border-radius: 12px; border: 1px solid var(--dsw-alias-border-l2); background: var(--dsw-alias-bg-layer-1); } .tm_stackSheetBack { transform: translate(11px, 11px) scale(0.95); opacity: 0.35; } .tm_stackSheetMid { transform: translate(5px, 5px) scale(0.977); opacity: 0.6; } .tm_stackFace { position: absolute; inset: 0; box-sizing: border-box; display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; padding: 12px; border: 1px solid var(--dsw-alias-border-l2); border-radius: 12px; background: var(--dsw-alias-bg-layer-1); transition: border-color 140ms ease, transform 140ms ease; } .tm_stackCell:hover .tm_stackFace { border-color: var(--dsw-alias-brand-primary); transform: translateY(-1px); } .tm_stackFaceTitle { font-size: calc(13px + var(--tm-font-step, 0px)); font-weight: 600; color: var(--dsw-alias-label-primary); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; } .tm_stackBadge { flex: none; padding: 1px 8px; border-radius: 999px; border: 1px solid var(--dsw-alias-border-l2); color: var(--dsw-alias-label-secondary); font-size: calc(11px + var(--tm-font-step, 0px)); font-variant-numeric: tabular-nums; } .tm_drawerBackdrop { position: absolute; inset: 0; z-index: 30; display: flex; align-items: center; justify-content: center; background: var(--dsw-alias-bg-mask-2); } .tm_drawer { width: min(1120px, 94%); max-height: 84%; box-sizing: border-box; display: flex; flex-direction: column; border: 1px solid var(--dsw-alias-border-l1); border-radius: 16px; background: var(--dsw-alias-bg-layer-1); box-shadow: 0 18px 48px var(--dsw-alias-bg-mask-2); overflow: hidden; } .tm_drawerHead { display: flex; align-items: center; gap: 10px; flex: none; padding: 12px 14px; border-bottom: 1px solid var(--dsw-alias-border-l1); } .tm_drawerTitle { font-size: calc(14px + var(--tm-font-step, 0px)); font-weight: 600; color: var(--dsw-alias-label-primary); } .tm_drawerCount { font-size: calc(12px + var(--tm-font-step, 0px)); color: var(--dsw-alias-label-tertiary); } .tm_drawerSpace { flex: 1; } .tm_drawerHint { font-size: calc(11px + var(--tm-font-step, 0px)); color: var(--dsw-alias-label-tertiary); } .tm_drawerClose { flex: none; width: 30px; height: 30px; padding: 0; border: 1px solid var(--dsw-alias-border-l2); border-radius: 999px; background: transparent; color: var(--dsw-alias-label-secondary); font-size: calc(16px + var(--tm-font-step, 0px)); line-height: 1; cursor: pointer; } .tm_drawerClose:hover { background: var(--dsw-alias-interactive-bg-hover); color: var(--dsw-alias-label-primary); } .tm_drawerHits > .tm_drawerHit { animation: tm_tmPopIn 240ms cubic-bezier(0.16, 1, 0.3, 1) both; } .tm_drawerHits > .tm_drawerHit:nth-child(1) { animation-delay: 20ms; } .tm_drawerHits > .tm_drawerHit:nth-child(2) { animation-delay: 34ms; } .tm_drawerHits > .tm_drawerHit:nth-child(3) { animation-delay: 48ms; } .tm_drawerHits > .tm_drawerHit:nth-child(4) { animation-delay: 62ms; } .tm_drawerHits > .tm_drawerHit:nth-child(5) { animation-delay: 76ms; } .tm_drawerHits > .tm_drawerHit:nth-child(n+6) { animation-delay: 90ms; } .tm_searchLoading { display: flex; flex-direction: column; gap: 8px; padding: 6px 0 2px; } .tm_searchLoadingBar { position: relative; height: 2px; border-radius: 2px; overflow: hidden; background: rgba(255, 255, 255, 0.07); } .tm_searchLoadingBar > i { position: absolute; inset: 0 auto 0 0; width: 34%; border-radius: 2px; background: linear-gradient(90deg, transparent, var(--dsw-alias-brand-primary), transparent); animation: tm_tmSlideBar 1150ms cubic-bezier(0.4, 0, 0.2, 1) infinite; } @keyframes tm_tmSlideBar { 0% { transform: translateX(-100%); } 100% { transform: translateX(320%); } } .tm_searchSkeletonRow { display: flex; flex-direction: column; gap: 6px; padding: 9px 10px; border: 1px solid var(--dsw-alias-border-l2); border-radius: 9px; } .tm_searchSkeletonTitle, .tm_searchSkeletonLine { display: block; height: 9px; border-radius: 4px; background: linear-gradient(90deg, rgba(255,255,255,0.05), rgba(255,255,255,0.12), rgba(255,255,255,0.05)); background-size: 220% 100%; animation: tm_tmShimmer 1300ms ease-in-out infinite; } .tm_searchSkeletonTitle { width: 38%; } .tm_searchSkeletonLine { width: 78%; } @keyframes tm_tmShimmer { 0% { background-position: 120% 0; } 100% { background-position: -60% 0; } } @media (prefers-reduced-motion: reduce) { .tm_drawerHits > .tm_drawerHit, .tm_searchLoadingBar > i, .tm_searchSkeletonTitle, .tm_searchSkeletonLine { animation: none; } } @keyframes tm_tmFadeIn { from { opacity: 0; } to { opacity: 1; } } @keyframes tm_tmFadeOut { from { opacity: 1; } to { opacity: 0; } } @keyframes tm_tmRiseIn { from { opacity: 0; transform: translateY(26px) scale(0.94); } 60% { opacity: 1; } to { opacity: 1; transform: none; } } @keyframes tm_tmRiseOut { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateY(10px) scale(0.985); } } @keyframes tm_tmPopIn { from { opacity: 0; transform: translateY(6px) scale(0.97); } to { opacity: 1; transform: none; } } @keyframes tm_tmCardIn { from { opacity: 0; transform: translateY(6px) scale(0.99); } to { opacity: 1; transform: none; } } .tm_drawerBackdrop { animation: tm_tmFadeIn 180ms cubic-bezier(0.16, 1, 0.3, 1) both; } .tm_drawerBackdropOut { animation: tm_tmFadeOut 130ms ease-in both; } .tm_drawer { animation: tm_tmRiseIn 260ms cubic-bezier(0.16, 1, 0.3, 1) both; will-change: transform, opacity; } .tm_drawerOut { animation: tm_tmRiseOut 150ms cubic-bezier(0.4, 0, 0.7, 0.2) both; } .tm_globalSearchBackdrop { animation: tm_tmFadeIn 130ms ease-out both; } .tm_globalSearchPanel { animation: tm_tmRiseIn 240ms cubic-bezier(0.16, 1, 0.3, 1) both; will-change: transform, opacity; } .tm_menu { animation: tm_tmPopIn 120ms cubic-bezier(0.2, 0.9, 0.25, 1) both; } .tm_card { transition: transform 120ms ease-out, box-shadow 160ms ease-out, opacity 160ms ease-out; } .tm_card:hover { transform: translateY(-1px); } .tm_reactFlowNodeEnter { animation: tm_tmCardIn 170ms cubic-bezier(0.2, 0.9, 0.25, 1) both; } .tm_stackCell { transition: transform 120ms ease-out, box-shadow 160ms ease-out; } .tm_stackCell:hover { transform: translateY(-2px); } .tm_wsFrameLabel { transition: color 120ms ease-out, background 120ms ease-out, box-shadow 120ms ease-out; } .tm_wsFrameLabel:hover { box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35); } .tm_toast { animation: tm_tmRiseIn 160ms cubic-bezier(0.2, 0.9, 0.25, 1) both; } .tm_snippetCode { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.94em; padding: 0 3px; border-radius: 4px; background: rgba(255, 255, 255, 0.08); } .tm_snippetLink { color: var(--dsw-alias-brand-primary); } @media (prefers-reduced-motion: reduce) { .tm_drawerBackdrop, .tm_drawerBackdropOut, .tm_drawer, .tm_drawerOut, .tm_globalSearchBackdrop, .tm_globalSearchPanel, .tm_menu, .tm_toast, .tm_reactFlowNodeEnter { animation: none; } .tm_card, .tm_stackCell, .tm_wsFrameLabel { transition: none; } .tm_card:hover, .tm_stackCell:hover { transform: none; } } .tm_drawerSearchRow { display: flex; align-items: center; gap: 8px; padding: 0 14px 8px; } .tm_drawerSearch { flex: 1; min-width: 0; font: inherit; font-size: calc(12.5px + var(--tm-font-step, 0px)); color: var(--dsw-alias-label-primary); background: var(--dsw-alias-bg-layer-2, rgba(255, 255, 255, 0.06)); border: 1px solid var(--dsw-alias-border-l2); border-radius: 8px; padding: 6px 10px; outline: none; } .tm_drawerSearch:focus { border-color: var(--dsw-alias-border-l3, rgba(255, 255, 255, 0.3)); } .tm_drawerSearchGo { flex: none; font: inherit; font-size: calc(11.5px + var(--tm-font-step, 0px)); color: var(--dsw-alias-label-secondary); background: transparent; border: 1px solid var(--dsw-alias-border-l2); border-radius: 8px; padding: 5px 10px; cursor: pointer; } .tm_drawerSearchGo:hover { color: var(--dsw-alias-label-primary); } .tm_drawerSearchState { font-size: calc(11px + var(--tm-font-step, 0px)); color: var(--dsw-alias-label-secondary); flex: none; } .tm_drawerSearchError { flex: none; max-width: 52%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: calc(11px + var(--tm-font-step, 0px)); color: rgb(242, 78, 78); } .tm_drawerEmpty { grid-column: 1 / -1; padding: 10px 4px; font-size: calc(12px + var(--tm-font-step, 0px)); color: var(--dsw-alias-label-secondary); } .tm_drawerHits { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 6px; margin-top: 6px; padding-top: 10px; border-top: 1px solid var(--dsw-alias-border-l2); } .tm_drawerHitsHead { font-size: calc(11px + var(--tm-font-step, 0px)); color: var(--dsw-alias-label-secondary); letter-spacing: 0.04em; } .tm_drawerHit { display: flex; flex-direction: column; gap: 3px; text-align: left; padding: 8px 10px; border: 1px solid var(--dsw-alias-border-l2); border-radius: 9px; background: transparent; color: var(--dsw-alias-label-primary); font: inherit; cursor: pointer; } .tm_drawerHit:hover { border-color: var(--dsw-alias-border-l3, rgba(255, 255, 255, 0.3)); } .tm_drawerRoleChip { flex: none; margin-right: 6px; padding: 0 5px; border-radius: 4px; font-size: calc(9.5px + var(--tm-font-step, 0px)); line-height: 1.6; color: var(--dsw-alias-label-secondary); background: rgba(255, 255, 255, 0.07); } .tm_drawerRoleChip[data-talkmap-role="user"] { color: rgba(160, 210, 255, 0.95); background: rgba(90, 160, 255, 0.14); } .tm_hitMark { color: #0b0b0c; background: rgb(255, 214, 106); border-radius: 3px; padding: 0 2px; } .tm_drawerHitHead { display: flex; align-items: center; gap: 6px; min-width: 0; } .tm_drawerAgentChip { flex: none; padding: 1px 6px; border-radius: 999px; border: 1px solid var(--dsw-alias-border-l2); font-size: calc(10px + var(--tm-font-step, 0px)); line-height: 1.5; color: var(--dsw-alias-label-secondary); letter-spacing: 0.02em; } .tm_drawerAgentChipSub { color: rgb(255, 214, 106); border-color: rgba(255, 214, 106, 0.5); background: rgba(255, 214, 106, 0.1); } .tm_drawerHitTitle { display: block; width: 100%; text-align: left; font: inherit; font-size: calc(12.5px + var(--tm-font-step, 0px)); font-weight: 600; color: var(--dsw-alias-label-primary); background: transparent; border: none; padding: 0 0 2px; cursor: pointer; } .tm_drawerHitTitle:hover { color: var(--dsw-alias-brand-primary); } .tm_peek { position: fixed; z-index: 80; width: min(500px, 88vw); max-height: 42vh; overflow-y: auto; display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--dsw-alias-border-l2); background: var(--dsw-alias-bg-layer-1); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55); } .tm_peekTitle { font-size: calc(11.5px + var(--tm-font-step, 0px)); font-weight: 600; color: var(--dsw-alias-label-secondary); padding-bottom: 4px; margin-bottom: 2px; border-bottom: 1px solid var(--dsw-alias-border-l2); } .tm_peekLine { font-size: calc(12px + var(--tm-font-step, 0px)); line-height: 1.55; color: var(--dsw-alias-label-primary); white-space: pre-wrap; word-break: break-word; } .tm_peekHint { margin-top: 6px; font-size: calc(10.5px + var(--tm-font-step, 0px)); color: var(--dsw-alias-label-secondary); opacity: 0.7; } .tm_drawerHitMore { align-self: flex-start; margin-top: 2px; font: inherit; font-size: calc(11px + var(--tm-font-step, 0px)); color: var(--dsw-alias-label-secondary); background: transparent; border: none; padding: 2px 0 2px 10px; cursor: pointer; } .tm_drawerHitMore:hover { color: var(--dsw-alias-brand-primary); } .tm_drawerHitBlock { display: flex; flex-direction: column; gap: 1px; margin-top: 4px; padding-left: 2px; } .tm_drawerHitLine { display: block; width: 100%; text-align: left; font: inherit; font-size: calc(11.5px + var(--tm-font-step, 0px)); color: var(--dsw-alias-label-secondary); background: transparent; border: none; padding: 2px 0 2px 10px; border-left: 2px solid var(--dsw-alias-border-l2); cursor: pointer; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .tm_drawerHitLine:hover { color: var(--dsw-alias-label-primary); border-left-color: var(--dsw-alias-brand-primary); } .tm_drawerScroll { overscroll-behavior: contain; scroll-behavior: auto; flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scroll-snap-type: y proximity; display: grid; grid-template-columns: repeat(auto-fill, 224px); justify-content: center; align-content: start; gap: 12px; padding: 16px; } .tm_drawerCard[draggable="true"] { cursor: grab; } .tm_drawerCard[data-talkmap-drag="1"] { cursor: grabbing; opacity: 0.55; transform: scale(0.98); } .tm_cardLinks { display: flex; flex-wrap: wrap; gap: 4px; margin: 2px 0 4px; } .tm_cardLinkChip { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 0 6px; border-radius: 4px; font-size: calc(9.5px + var(--tm-font-step, 0px)); line-height: 1.7; color: var(--dsw-alias-label-secondary); background: rgba(255, 255, 255, 0.06); } .tm_cardLinkChip[data-talkmap-link="out"] { color: rgba(255, 214, 106, 0.9); background: rgba(255, 214, 106, 0.12); } .tm_drawerCard { width: 224px; box-sizing: border-box; scroll-snap-align: start; text-align: left; font: inherit; cursor: pointer; background: var(--dsw-alias-bg-layer-1); } .tm_drawerCard:hover { border-color: var(--dsw-alias-brand-primary); } .tm_wsFrameResize { position: absolute; z-index: 2; pointer-events: auto; opacity: 0.5; } .tm_wsFrameResize:hover { opacity: 1; border-color: var(--dsw-alias-brand-primary); } .tm_wsFrameResizeN { cursor: ns-resize; border-top: 3px solid var(--dsw-alias-border-l3); border-radius: 14px 14px 0 0; } .tm_wsFrameResizeS { cursor: ns-resize; border-bottom: 3px solid var(--dsw-alias-border-l3); border-radius: 0 0 14px 14px; } .tm_wsFrameResizeW { cursor: ew-resize; border-left: 3px solid var(--dsw-alias-border-l3); border-radius: 14px 0 0 14px; } .tm_wsFrameResizeE { cursor: ew-resize; border-right: 3px solid var(--dsw-alias-border-l3); border-radius: 0 14px 14px 0; } .tm_wsFrameResizeNw, .tm_wsFrameResizeNe, .tm_wsFrameResizeSw, .tm_wsFrameResizeSe { width: 26px; height: 26px; z-index: 3; } .tm_wsFrameResizeNw { cursor: nwse-resize; border-left: 3px solid var(--dsw-alias-border-l3); border-top: 3px solid var(--dsw-alias-border-l3); border-top-left-radius: 14px; } .tm_wsFrameResizeNe { cursor: nesw-resize; border-right: 3px solid var(--dsw-alias-border-l3); border-top: 3px solid var(--dsw-alias-border-l3); border-top-right-radius: 14px; } .tm_wsFrameResizeSw { cursor: nesw-resize; border-left: 3px solid var(--dsw-alias-border-l3); border-bottom: 3px solid var(--dsw-alias-border-l3); border-bottom-left-radius: 14px; } .tm_wsFrameResizeSe { cursor: nwse-resize; border-right: 3px solid var(--dsw-alias-border-l3); border-bottom: 3px solid var(--dsw-alias-border-l3); border-bottom-right-radius: 14px; } .tm_batchBar { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 20; display: flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid var(--dsw-alias-border-l1); border-radius: 999px; background: var(--dsw-alias-bg-layer-1); box-shadow: 0 8px 24px var(--dsw-alias-bg-mask-2); } .tm_batchCount { font-size: calc(12px + var(--tm-font-step, 0px)); color: var(--dsw-alias-label-secondary); white-space: nowrap; } .tm_batchSpace { width: 6px; } .tm_batchAction { padding: 5px 14px; border: 1px solid var(--dsw-alias-border-l2); border-radius: 999px; background: transparent; color: var(--dsw-alias-label-primary); font-size: calc(12px + var(--tm-font-step, 0px)); cursor: pointer; white-space: nowrap; } .tm_batchAction:hover:not(:disabled) { background: var(--dsw-alias-interactive-bg-hover); } .tm_batchAction:disabled { opacity: 0.5; cursor: default; } .tm_batchDanger { color: var(--dsw-alias-state-error-primary); } .tm_pickBox { position: absolute; top: 6px; right: 6px; width: 16px; height: 16px; display: flex; align-items: center; justify-content: center; border: 1.5px solid var(--dsw-alias-border-l3); border-radius: 4px; background: var(--dsw-alias-bg-base); color: transparent; font-size: calc(11px + var(--tm-font-step, 0px)); line-height: 1; pointer-events: none; } .tm_pickBoxChecked { border-color: var(--dsw-alias-brand-primary); background: var(--dsw-alias-brand-primary); color: #fff; } .tm_colorToolbar { position: absolute; top: 12px; left: 12px; z-index: 20; display: flex; align-items: center; gap: 6px; padding: 6px 10px; border: 1px solid var(--dsw-alias-border-l1); border-radius: 999px; background: var(--dsw-alias-bg-layer-1); box-shadow: 0 6px 20px var(--dsw-alias-bg-mask-2); } .tm_colorToolbarLabel { font-size: calc(11px + var(--tm-font-step, 0px)); color: var(--dsw-alias-label-tertiary); margin-right: 2px; white-space: nowrap; } .tm_colorSwatch { width: 16px; height: 16px; padding: 0; border: 1px solid var(--dsw-alias-border-l2); border-radius: 50%; cursor: pointer; } .tm_colorSwatch:hover { transform: scale(1.15); } .tm_colorSwatchClear { display: flex; align-items: center; justify-content: center; background: transparent; color: var(--dsw-alias-label-secondary); font-size: calc(12px + var(--tm-font-step, 0px)); line-height: 1; } .tm_colorSwatchClear:hover { color: var(--dsw-alias-label-primary); background: var(--dsw-alias-interactive-bg-hover); } .tm_drawerWires { position: absolute; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; overflow: visible; } .tm_drawerScroll { position: relative; } .tm_drawerScroll > .tm_card, .tm_drawerScroll > [data-stack-card] { position: relative; z-index: 1; } .tm_canvas .react-flow__edges { z-index: 0 !important; } .tm_canvas .react-flow__nodes { z-index: 1 !important; }`;
|
|
1382
|
+
var __css = `.tm_toggleButton { display: flex; align-items: center; justify-content: center; gap: 6px; width: 32px; height: 32px; padding: 0; border: none; border-radius: 8px; background: transparent; color: var(--dsw-alias-label-secondary); cursor: pointer; } .tm_toggleButton:hover { background: var(--dsw-alias-interactive-bg-hover); color: var(--dsw-alias-label-primary); } .tm_toggleButtonActive { background: var(--dsw-alias-interactive-bg-active); color: var(--dsw-alias-brand-primary); } .tm_toggleRow { display: flex; align-items: center; gap: 8px; width: 100%; padding: 6px 10px; border: none; border-radius: 8px; background: transparent; color: var(--dsw-alias-label-secondary); font-size: calc(13px + var(--tm-font-step, 0px)); cursor: pointer; text-align: left; } .tm_toggleRow:hover { background: var(--dsw-alias-interactive-bg-hover); color: var(--dsw-alias-label-primary); } .tm_toggleLabel { white-space: nowrap; } .tm_toggleIcon { width: 18px; height: 18px; flex: none; } .tm_panel { height: 100%; min-height: 0; box-sizing: border-box; display: flex; flex-direction: column; background: var(--dsw-alias-bg-base); color: var(--dsw-alias-label-primary); } .tm_header { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--dsw-alias-border-l1); background: var(--dsw-alias-bg-layer-1); flex: none; } .tm_backButton { display: inline-flex; align-items: center; gap: 6px; flex: none; height: 38px; padding: 0 18px 0 12px; border: 1px solid var(--dsw-alias-border-l2); border-radius: 999px; background: transparent; color: var(--dsw-alias-label-secondary); font-size: calc(14px + var(--tm-font-step, 0px)); font-weight: 600; line-height: 1; cursor: pointer; } .tm_backButton:hover { background: var(--dsw-alias-interactive-bg-hover); color: var(--dsw-alias-label-primary); } .tm_globalSearch { position: relative; display: flex; align-items: center; gap: 6px; margin-right: 8px; } .tm_globalSearchInput { width: 200px; font: inherit; font-size: calc(12px + var(--tm-font-step, 0px)); color: var(--dsw-alias-label-primary); background: var(--dsw-alias-bg-layer-2, rgba(255, 255, 255, 0.06)); border: 1px solid var(--dsw-alias-border-l2); border-radius: 8px; padding: 5px 9px; outline: none; } .tm_globalSearchInput:focus { border-color: var(--dsw-alias-border-l3, rgba(255, 255, 255, 0.3)); } .tm_globalSearchButton { font: inherit; font-size: calc(11.5px + var(--tm-font-step, 0px)); color: var(--dsw-alias-label-secondary); background: transparent; border: 1px solid var(--dsw-alias-border-l2); border-radius: 8px; padding: 5px 10px; cursor: pointer; } .tm_globalSearchButton:hover { color: var(--dsw-alias-label-primary); } .tm_globalSearchBackdrop { position: fixed; inset: 0; z-index: 70; background: rgba(0, 0, 0, 0.45); display: flex; align-items: flex-start; justify-content: center; padding-top: 9vh; } .tm_globalSearchPanel { width: min(980px, 92vw); max-height: 76vh; display: flex; flex-direction: column; border-radius: 14px; border: 1px solid var(--dsw-alias-border-l2); background: var(--dsw-alias-bg-layer-1); box-shadow: 0 22px 60px rgba(0, 0, 0, 0.5); overflow: hidden; } .tm_globalSearchHead { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--dsw-alias-border-l2); } .tm_globalSearchTitle { font-size: calc(13px + var(--tm-font-step, 0px)); font-weight: 600; color: var(--dsw-alias-label-primary); } .tm_globalSearchBody { padding: 0 16px 14px; overflow-y: auto; overscroll-behavior: contain; } .tm_searchInlineLoading { display: flex; align-items: center; padding: 4px 0 2px 10px; } .tm_searchInlineLoading > span { width: 62%; } .tm_drawerScrollSensor { width: 100%; height: 1px; opacity: 0; } .tm_fontGroup { display: flex; align-items: center; gap: 4px; margin-right: 6px; } .tm_fontButton { display: inline-flex; align-items: center; justify-content: center; gap: 3px; min-width: 46px; height: 28px; padding: 0 8px; line-height: 1; border: 1px solid var(--dsw-alias-border-l2); border-radius: 8px; background: transparent; color: var(--dsw-alias-label-secondary); font: inherit; font-size: calc(12px + var(--tm-font-step, 0px)); cursor: pointer; } .tm_fontButton:hover:not(:disabled) { color: var(--dsw-alias-label-primary); border-color: var(--dsw-alias-border-l3, rgba(255, 255, 255, 0.3)); } .tm_fontButton:disabled { opacity: 0.4; cursor: default; } .tm_fontGlyphSmall, .tm_fontGlyphLarge { display: inline-block; width: calc(9px + 0px); text-align: center; line-height: 1; } .tm_fontGlyphSmall, .tm_fontGlyphLarge { font-size: calc(13px + var(--tm-font-step, 0px)); } .tm_fontSign { display: inline-block; font-size: calc(10px + var(--tm-font-step, 0px)); line-height: 1; transform: translateY(-3px); } .tm_fontReset { min-width: 50px; } .tm_fontReset { min-width: 44px; } .tm_headerSpace { flex: 1; } .tm_langButton { flex: none; min-width: 72px; height: 34px; padding: 0 14px; border: 1px solid var(--dsw-alias-border-l2); border-radius: 999px; background: transparent; color: var(--dsw-alias-label-secondary); font-size: calc(13px + var(--tm-font-step, 0px)); cursor: pointer; white-space: nowrap; } .tm_langButton:hover { background: var(--dsw-alias-interactive-bg-hover); color: var(--dsw-alias-label-primary); } .tm_closeButton { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 38px; height: 38px; padding: 0; border: 1px solid var(--dsw-alias-border-l2); border-radius: 999px; background: transparent; color: var(--dsw-alias-label-secondary); cursor: pointer; } .tm_closeButton:hover { background: var(--dsw-alias-interactive-bg-hover); color: var(--dsw-alias-label-primary); } .tm_zoomResetLabel { font-size: calc(9px + var(--tm-font-step, 0px)); font-weight: 700; letter-spacing: -0.5px; } .tm_canvas { flex: 1; min-height: 0; position: relative; } @media (prefers-reduced-motion: reduce) { .tm_canvas .react-flow__edge circle { opacity: 0.28; } } .tm_canvas .react-flow__node { transition: transform 200ms cubic-bezier(0.2, 0.8, 0.25, 1); } .tm_canvas .react-flow__node.dragging, .tm_canvas .react-flow__node.tmDragging { transition: none; } .tm_canvas .react-flow__nodesselection, .tm_canvas .react-flow__nodesselection-rect { display: none !important; pointer-events: none !important; } .tm_card { position: relative; width: 224px; min-height: 104px; display: flex; flex-direction: column; gap: 6px; padding: 10px 12px; border: 1px solid var(--dsw-alias-border-l2); border-radius: 10px; background: var(--dsw-alias-bg-layer-1); color: var(--dsw-alias-label-primary); box-shadow: 0 1px 3px var(--dsw-alias-bg-mask-1); font-size: calc(13px + var(--tm-font-step, 0px)); } .tm_cardSelected { border-color: var(--dsw-alias-brand-primary); } .tm_cardGhost { opacity: 0.55; border-style: dashed; } .tm_cardTop { display: flex; align-items: center; gap: 6px; min-width: 0; } .tm_cardTitle { font-weight: 600; font-size: calc(13px + var(--tm-font-step, 0px)); line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; word-break: break-word; } .tm_runningDot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: #ffffff; animation: tm_talkmap-pulse 1.6s ease-in-out infinite; } @keyframes tm_talkmap-pulse { 50% { opacity: 0.35; } } .tm_cardNext { display: flex; align-items: baseline; gap: 6px; font-size: calc(12px + var(--tm-font-step, 0px)); color: var(--dsw-alias-label-secondary); min-width: 0; } .tm_cardNextLabel { flex: none; font-size: calc(11px + var(--tm-font-step, 0px)); color: var(--dsw-alias-brand-primary); font-weight: 600; } .tm_cardNextText { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; } .tm_cardStale { flex: none; color: var(--dsw-alias-state-warn-primary); font-size: calc(12px + var(--tm-font-step, 0px)); } .tm_cardFooter { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: calc(11px + var(--tm-font-step, 0px)); color: var(--dsw-alias-label-tertiary); } .tm_cardTime { flex: none; } .tm_cardChip { display: inline-flex; align-items: center; gap: 5px; padding: 1px 8px; border-radius: 999px; font-size: calc(10px + var(--tm-font-step, 0px)); font-weight: 600; white-space: nowrap; border: 1px solid transparent; } .tm_cardChipRunning { color: #ffffff; background: rgba(255, 255, 255, 0.14); border-color: rgba(255, 255, 255, 0.35); } .tm_cardChipWaiting { color: rgb(245, 178, 46); background: rgba(245, 178, 46, 0.14); border-color: rgba(245, 178, 46, 0.42); } .tm_cardChipDone { color: rgb(52, 199, 89); background: rgba(52, 199, 89, 0.14); border-color: rgba(52, 199, 89, 0.42); } .tm_cardChipError { color: rgb(242, 78, 78); background: rgba(242, 78, 78, 0.14); border-color: rgba(242, 78, 78, 0.45); } .tm_cardChipDraft { color: rgb(255, 197, 61); background: rgba(255, 197, 61, 0.18); border-color: rgba(255, 197, 61, 0.5); } .tm_cardChipInterrupted { color: rgb(214, 158, 92); background: rgba(214, 158, 92, 0.14); border-color: rgba(214, 158, 92, 0.42); } .tm_cardSummary { font-size: calc(12px + var(--tm-font-step, 0px)); line-height: 1.45; color: var(--dsw-alias-label-secondary); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; word-break: break-word; } .tm_cardBadgeWaiting { padding: 1px 7px; border-radius: 999px; font-size: calc(10px + var(--tm-font-step, 0px)); color: var(--dsw-alias-state-warn-label); background: var(--dsw-alias-state-warn-tertiary); } .tm_cardBadgeDone { padding: 1px 7px; border-radius: 999px; font-size: calc(10px + var(--tm-font-step, 0px)); color: var(--dsw-alias-state-success-primary); background: var(--dsw-alias-state-success-tertiary); } .tm_cardLampRunning { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.34), 0 0 16px 2px rgba(255, 255, 255, 0.2), 0 0 40px 9px rgba(255, 255, 255, 0.1); } .tm_dialogBackdrop { position: fixed; inset: 0; z-index: 80; display: flex; align-items: center; justify-content: center; background: rgba(0, 0, 0, 0.45); backdrop-filter: blur(2px); animation: tm_tmFadeIn 140ms ease-out; } .tm_digestDialog { width: min(720px, 86vw); max-height: 82vh; display: flex; flex-direction: column; gap: 8px; padding: 16px 18px 14px; border-radius: 14px; background: var(--dsw-alias-bg-elevated, #232323); border: 1px solid rgba(255, 255, 255, 0.09); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45); animation: tm_tmRiseIn 200ms cubic-bezier(0.16, 1, 0.3, 1); } .tm_digestDialogHead { display: flex; align-items: baseline; gap: 8px; min-width: 0; } .tm_digestDialogTitle { font-size: calc(13px + var(--tm-font-step, 0px)); font-weight: 600; color: var(--dsw-alias-label-primary); } .tm_digestDialogFrom { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: calc(11px + var(--tm-font-step, 0px)); color: var(--dsw-alias-label-secondary); } .tm_digestLabel { margin-top: 4px; font-size: calc(10.5px + var(--tm-font-step, 0px)); color: var(--dsw-alias-label-tertiary, rgba(255, 255, 255, 0.5)); } .tm_digestText { width: 100%; min-height: 96px; max-height: 30vh; padding: 10px 12px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.08); background: rgba(255, 255, 255, 0.04); color: var(--dsw-alias-label-primary); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: calc(11.5px + var(--tm-font-step, 0px)); line-height: 1.62; resize: none; } .tm_digestEmpty { padding: 18px 4px; font-size: calc(12px + var(--tm-font-step, 0px)); color: var(--dsw-alias-label-secondary); } .tm_digestActions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 4px; } .tm_renameBackdrop { position: fixed; inset: 0; z-index: 40; background: rgba(0, 0, 0, 0.42); display: flex; align-items: flex-start; justify-content: center; padding-top: 22vh; } .tm_renameDialog { width: min(420px, 90vw); background: var(--dsw-alias-bg-layer-1); border: 1px solid var(--dsw-alias-border-l2); border-radius: 12px; box-shadow: 0 18px 42px rgba(0, 0, 0, 0.42); padding: 16px 16px 12px; display: flex; flex-direction: column; gap: 10px; } .tm_renameHeading { font-size: calc(13px + var(--tm-font-step, 0px)); font-weight: 600; color: var(--dsw-alias-label-primary); } .tm_renameInput { width: 100%; box-sizing: border-box; font: inherit; font-size: calc(13px + var(--tm-font-step, 0px)); color: var(--dsw-alias-label-primary); background: var(--dsw-alias-bg-layer-2, rgba(255, 255, 255, 0.06)); border: 1px solid var(--dsw-alias-border-l2); border-radius: 8px; padding: 8px 10px; outline: none; } .tm_renameInput:focus { border-color: var(--dsw-alias-border-l3, rgba(255, 255, 255, 0.35)); } .tm_renameError { font-size: calc(12px + var(--tm-font-step, 0px)); color: rgb(242, 78, 78); } .tm_renameActions { display: flex; justify-content: flex-end; gap: 8px; } .tm_renameButton { font: inherit; font-size: calc(12.5px + var(--tm-font-step, 0px)); color: var(--dsw-alias-label-secondary); background: transparent; border: 1px solid var(--dsw-alias-border-l2); border-radius: 8px; padding: 6px 12px; cursor: pointer; } .tm_renameButton:hover { color: var(--dsw-alias-label-primary); } .tm_renamePrimary { color: #0b0b0c; background: rgb(255, 214, 106); border-color: rgb(255, 214, 106); } .tm_renamePrimary:disabled { opacity: 0.5; cursor: default; } .tm_cardPin { display: inline-flex; align-items: center; flex: none; color: rgb(255, 214, 106); filter: drop-shadow(0 0 5px rgba(255, 214, 106, 0.85)); animation: tm_talkmap-pin-glow 2.6s ease-in-out infinite; } @keyframes tm_talkmap-pin-glow { 0%, 100% { filter: drop-shadow(0 0 4px rgba(255, 214, 106, 0.6)); opacity: 0.92; } 50% { filter: drop-shadow(0 0 9px rgba(255, 214, 106, 1)); opacity: 1; } } .tm_cardReticle { position: absolute; inset: -5px; pointer-events: none; filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.45)); } .tm_cardReticle i { position: absolute; width: 13px; height: 13px; border: 2px solid rgba(255, 255, 255, 0.9); } .tm_cardReticle i:nth-child(1) { left: 0; top: 0; border-right: 0; border-bottom: 0; border-top-left-radius: 4px; } .tm_cardReticle i:nth-child(2) { right: 0; top: 0; border-left: 0; border-bottom: 0; border-top-right-radius: 4px; } .tm_cardReticle i:nth-child(3) { left: 0; bottom: 0; border-right: 0; border-top: 0; border-bottom-left-radius: 4px; } .tm_cardReticle i:nth-child(4) { right: 0; bottom: 0; border-left: 0; border-top: 0; border-bottom-right-radius: 4px; } .tm_cardQuiet { opacity: 0.62; transition: opacity 140ms ease; } .tm_cardQuiet:hover { opacity: 1; } .tm_stackBadgeBusy { color: rgb(255, 197, 61); border-color: rgba(255, 197, 61, 0.5); } @property --tm-ring-angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; } .tm_cardLampRunning::after { content: ''; position: absolute; inset: -2px; border-radius: 12px; padding: 2px; background: conic-gradient( from var(--tm-ring-angle), rgba(255, 255, 255, 0) 0deg, rgba(255, 255, 255, 0) 190deg, rgba(255, 255, 255, 0.18) 250deg, rgba(255, 255, 255, 0.55) 292deg, rgba(255, 255, 255, 1) 325deg, rgba(255, 255, 255, 0.4) 352deg, rgba(255, 255, 255, 0) 360deg ); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: tm_talkmap-ring-sweep 1.8s linear infinite; pointer-events: none; } @keyframes tm_talkmap-ring-sweep { to { --tm-ring-angle: 360deg; } } .tm_cardLampDone { animation: tm_talkmap-lamp-green 2.8s ease-in-out infinite; } .tm_cardLampError { animation: tm_talkmap-lamp-red 1.9s ease-in-out infinite; } .tm_cardLampWaiting { animation: tm_talkmap-lamp-amber 3.4s ease-in-out infinite; } @keyframes tm_talkmap-lamp-green { 0%, 100% { box-shadow: inset 0 0 0 1px rgba(52, 199, 89, 0.40), 0 0 14px 1px rgba(52, 199, 89, 0.26), 0 0 34px 8px rgba(52, 199, 89, 0.11); } 50% { box-shadow: inset 0 0 0 1px rgba(52, 199, 89, 0.72), 0 0 24px 5px rgba(52, 199, 89, 0.46), 0 0 62px 20px rgba(52, 199, 89, 0.22); } } @keyframes tm_talkmap-lamp-amber { 0%, 100% { box-shadow: inset 0 0 0 1px rgba(245, 178, 46, 0.42), 0 0 14px 1px rgba(245, 178, 46, 0.24), 0 0 34px 8px rgba(245, 178, 46, 0.11); } 50% { box-shadow: inset 0 0 0 1px rgba(245, 178, 46, 0.72), 0 0 24px 5px rgba(245, 178, 46, 0.44), 0 0 60px 19px rgba(245, 178, 46, 0.20); } } @keyframes tm_talkmap-lamp-red { 0%, 100% { box-shadow: inset 0 0 0 1px rgba(242, 78, 78, 0.46), 0 0 14px 1px rgba(242, 78, 78, 0.28), 0 0 34px 8px rgba(242, 78, 78, 0.12); } 50% { box-shadow: inset 0 0 0 1px rgba(242, 78, 78, 0.80), 0 0 26px 6px rgba(242, 78, 78, 0.52), 0 0 66px 22px rgba(242, 78, 78, 0.26); } } .tm_cardRemove { align-self: flex-start; padding: 3px 8px; border: 1px solid var(--dsw-alias-border-l2); border-radius: 6px; background: transparent; color: var(--dsw-alias-label-secondary); font-size: calc(12px + var(--tm-font-step, 0px)); cursor: pointer; } .tm_cardRemove:hover { background: var(--dsw-alias-interactive-bg-hover-danger); color: var(--dsw-alias-state-error-primary); } .tm_cardHandle { width: 10px; height: 10px; background: var(--dsw-alias-border-l3); border: 2px solid var(--dsw-alias-bg-layer-1); opacity: 0; } .tm_card:hover .tm_cardHandle, .tm_canvasConnecting .tm_cardHandle { opacity: 1; } .tm_cardHandle:hover { background: var(--dsw-alias-brand-primary); } .tm_cardRefresh { flex: none; margin-left: auto; width: 22px; height: 22px; padding: 0; border: none; border-radius: 6px; background: transparent; color: var(--dsw-alias-label-tertiary); font-size: calc(13px + var(--tm-font-step, 0px)); line-height: 1; cursor: pointer; opacity: 0; transition: opacity 120ms ease; } .tm_card:hover .tm_cardRefresh { opacity: 1; } .tm_cardRefresh:hover { background: var(--dsw-alias-interactive-bg-hover); color: var(--dsw-alias-label-primary); } .tm_cardRefreshBusy { opacity: 1; animation: tm_talkmap-spin 1s linear infinite; } @keyframes tm_talkmap-spin { to { transform: rotate(360deg); } } .tm_spawnPanel { position: absolute; right: 24px; top: 24px; z-index: 6; width: 420px; max-width: calc(100% - 48px); display: flex; flex-direction: column; gap: 8px; padding: 16px; border: 1px solid var(--dsw-alias-border-l2); border-radius: 12px; background: var(--dsw-alias-bg-layer-1); box-shadow: 0 8px 30px var(--dsw-alias-bg-mask-2); } .tm_spawnHeading { font-size: calc(14px + var(--tm-font-step, 0px)); font-weight: 600; color: var(--dsw-alias-label-primary); } .tm_spawnFrom { font-size: calc(12px + var(--tm-font-step, 0px)); color: var(--dsw-alias-label-secondary); } .tm_spawnModes { display: flex; gap: 6px; } .tm_spawnModeBtn { flex: 1; padding: 5px 0; border: 1px solid var(--dsw-alias-border-l2); border-radius: 8px; background: transparent; color: var(--dsw-alias-label-secondary); font-size: calc(12px + var(--tm-font-step, 0px)); cursor: pointer; } .tm_spawnModeBtn:hover { background: var(--dsw-alias-interactive-bg-hover); } .tm_spawnModeActive { border-color: var(--dsw-alias-brand-primary); color: var(--dsw-alias-brand-primary); background: var(--dsw-alias-interactive-bg-active); } .tm_spawnHint { font-size: calc(12px + var(--tm-font-step, 0px)); color: var(--dsw-alias-label-tertiary); } .tm_spawnTextarea { width: 100%; resize: vertical; min-height: 140px; padding: 10px; border: 1px solid var(--dsw-alias-border-l2); border-radius: 8px; background: var(--dsw-alias-bg-base); color: var(--dsw-alias-label-primary); font-size: calc(13px + var(--tm-font-step, 0px)); line-height: 1.5; font-family: inherit; } .tm_spawnError { font-size: calc(12px + var(--tm-font-step, 0px)); color: var(--dsw-alias-state-error-primary); word-break: break-all; } .tm_spawnActions { display: flex; justify-content: flex-end; gap: 8px; } .tm_spawnBtnPrimary { padding: 6px 16px; border: none; border-radius: 8px; background: var(--dsw-alias-button-primary-fill); color: var(--dsw-alias-label-primary-foreground); font-size: calc(13px + var(--tm-font-step, 0px)); cursor: pointer; } .tm_spawnBtnPrimary:hover { background: var(--dsw-alias-button-primary-hover); } .tm_spawnBtnPrimary:disabled { background: var(--dsw-alias-button-primary-dimmed); cursor: default; } .tm_spawnBtnGhost { padding: 6px 16px; border: 1px solid var(--dsw-alias-border-l2); border-radius: 8px; background: transparent; color: var(--dsw-alias-label-secondary); font-size: calc(13px + var(--tm-font-step, 0px)); cursor: pointer; } .tm_spawnBtnGhost:hover { background: var(--dsw-alias-interactive-bg-hover); } .tm_wsFrame { position: relative; border: 1.5px dashed var(--dsw-alias-border-l2); border-radius: 16px; background: transparent; } .tm_wsFrameBlocked { border-color: rgb(242, 78, 78) !important; box-shadow: 0 0 0 1px rgba(242, 78, 78, 0.45) inset; } .tm_wsFrameSelected { border-style: solid; border-color: var(--dsw-alias-brand-primary); } .tm_wsFrameLabel { position: absolute; top: -12px; left: 14px; display: flex; align-items: center; gap: 6px; padding: 2px 10px; border-radius: 999px; border: 1px solid var(--dsw-alias-border-l1); background: var(--dsw-alias-bg-layer-1); font-size: calc(12px + var(--tm-font-step, 0px)); font-weight: 600; color: var(--dsw-alias-label-secondary); white-space: nowrap; pointer-events: auto; cursor: grab; z-index: 5; } .tm_wsFrameLabel:active { cursor: grabbing; } .tm_wsFrameEdge { position: absolute; pointer-events: auto; cursor: grab; } .tm_wsFrameEdge:active { cursor: grabbing; } .tm_wsFrameCount { font-weight: 400; color: var(--dsw-alias-label-tertiary); } .tm_menu { position: absolute; z-index: 60; min-width: 200px; max-width: 280px; max-height: 380px; overflow-y: auto; display: flex; flex-direction: column; padding: 6px; border: 1px solid var(--dsw-alias-border-l1); border-radius: 10px; background: var(--dsw-alias-bg-layer-1); box-shadow: 0 8px 30px var(--dsw-alias-bg-mask-2); } .tm_menuTitle { flex: none; padding: 4px 10px 6px; font-size: calc(11px + var(--tm-font-step, 0px)); color: var(--dsw-alias-label-tertiary); } .tm_menuSearch { flex: none; box-sizing: border-box; width: calc(100% - 8px); margin: 2px 4px 6px; padding: 5px 8px; border: 1px solid var(--dsw-alias-border-l2); border-radius: 7px; background: var(--dsw-alias-bg-base); color: var(--dsw-alias-label-primary); font-size: calc(12px + var(--tm-font-step, 0px)); font-family: inherit; } .tm_menuHint { font-size: calc(11px + var(--tm-font-step, 0px)); color: var(--dsw-alias-label-dimmed); } .tm_menuPreview { flex: none; padding: 0 10px 4px; font-size: calc(11px + var(--tm-font-step, 0px)); color: var(--dsw-alias-label-tertiary); word-break: break-all; } .tm_menuError { flex: none; padding: 0 10px 4px; font-size: calc(11px + var(--tm-font-step, 0px)); color: var(--dsw-alias-state-error-primary); word-break: break-all; } .tm_menuEmpty { padding: 8px 10px; font-size: calc(12px + var(--tm-font-step, 0px)); color: var(--dsw-alias-label-tertiary); } .tm_menuItem { flex: none; display: flex; align-items: center; gap: 8px; width: 100%; text-align: left; padding: 6px 10px; border: none; border-radius: 7px; background: transparent; color: var(--dsw-alias-label-primary); font-size: calc(13px + var(--tm-font-step, 0px)); cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .tm_menuIcon { flex: none; width: 14px; height: 14px; color: var(--dsw-alias-label-secondary); } .tm_menuItemDanger { color: rgb(242, 78, 78); } .tm_menuItemDanger .tm_menuIcon { color: rgb(242, 78, 78); } .tm_menuItem:hover:not(:disabled) { background: var(--dsw-alias-interactive-bg-hover); } .tm_menuItem:disabled { color: var(--dsw-alias-label-dimmed); cursor: default; } .tm_wsFrameHidden { font-weight: 400; color: var(--dsw-alias-state-warn-primary); } .tm_emptyHint { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-size: calc(13px + var(--tm-font-step, 0px)); color: var(--dsw-alias-label-tertiary); pointer-events: none; z-index: 4; } .tm_toast { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 8; max-width: 70%; padding: 7px 16px; border: 1px solid var(--dsw-alias-border-l1); border-radius: 999px; background: var(--dsw-alias-bg-layer-1); box-shadow: 0 4px 16px var(--dsw-alias-bg-mask-2); font-size: calc(12px + var(--tm-font-step, 0px)); color: var(--dsw-alias-label-primary); pointer-events: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .tm_stackCell { position: relative; width: 224px; height: 104px; cursor: pointer; } .tm_stackSheetBack, .tm_stackSheetMid { position: absolute; inset: 0; border-radius: 12px; border: 1px solid var(--dsw-alias-border-l2); background: var(--dsw-alias-bg-layer-1); } .tm_stackSheetBack { transform: translate(11px, 11px) scale(0.95); opacity: 0.35; } .tm_stackSheetMid { transform: translate(5px, 5px) scale(0.977); opacity: 0.6; } .tm_stackFace { position: absolute; inset: 0; box-sizing: border-box; display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; padding: 12px; border: 1px solid var(--dsw-alias-border-l2); border-radius: 12px; background: var(--dsw-alias-bg-layer-1); transition: border-color 140ms ease, transform 140ms ease; } .tm_stackCell:hover .tm_stackFace { border-color: var(--dsw-alias-brand-primary); transform: translateY(-1px); } .tm_stackFaceTitle { font-size: calc(13px + var(--tm-font-step, 0px)); font-weight: 600; color: var(--dsw-alias-label-primary); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; } .tm_stackBadge { flex: none; padding: 1px 8px; border-radius: 999px; border: 1px solid var(--dsw-alias-border-l2); color: var(--dsw-alias-label-secondary); font-size: calc(11px + var(--tm-font-step, 0px)); font-variant-numeric: tabular-nums; } .tm_drawerBackdrop { position: absolute; inset: 0; z-index: 30; display: flex; align-items: center; justify-content: center; background: var(--dsw-alias-bg-mask-2); } .tm_drawer { width: min(1120px, 94%); max-height: 84%; box-sizing: border-box; display: flex; flex-direction: column; border: 1px solid var(--dsw-alias-border-l1); border-radius: 16px; background: var(--dsw-alias-bg-layer-1); box-shadow: 0 18px 48px var(--dsw-alias-bg-mask-2); overflow: hidden; } .tm_drawerHead { display: flex; align-items: center; gap: 10px; flex: none; padding: 12px 14px; border-bottom: 1px solid var(--dsw-alias-border-l1); } .tm_drawerTitle { font-size: calc(14px + var(--tm-font-step, 0px)); font-weight: 600; color: var(--dsw-alias-label-primary); } .tm_drawerCount { font-size: calc(12px + var(--tm-font-step, 0px)); color: var(--dsw-alias-label-tertiary); } .tm_drawerSpace { flex: 1; } .tm_drawerHint { font-size: calc(11px + var(--tm-font-step, 0px)); color: var(--dsw-alias-label-tertiary); } .tm_drawerClose { flex: none; width: 30px; height: 30px; padding: 0; border: 1px solid var(--dsw-alias-border-l2); border-radius: 999px; background: transparent; color: var(--dsw-alias-label-secondary); font-size: calc(16px + var(--tm-font-step, 0px)); line-height: 1; cursor: pointer; } .tm_drawerClose:hover { background: var(--dsw-alias-interactive-bg-hover); color: var(--dsw-alias-label-primary); } .tm_drawerHits > .tm_drawerHit { animation: tm_tmPopIn 240ms cubic-bezier(0.16, 1, 0.3, 1) both; } .tm_drawerHits > .tm_drawerHit:nth-child(1) { animation-delay: 20ms; } .tm_drawerHits > .tm_drawerHit:nth-child(2) { animation-delay: 34ms; } .tm_drawerHits > .tm_drawerHit:nth-child(3) { animation-delay: 48ms; } .tm_drawerHits > .tm_drawerHit:nth-child(4) { animation-delay: 62ms; } .tm_drawerHits > .tm_drawerHit:nth-child(5) { animation-delay: 76ms; } .tm_drawerHits > .tm_drawerHit:nth-child(n+6) { animation-delay: 90ms; } .tm_searchLoading { display: flex; flex-direction: column; gap: 8px; padding: 6px 0 2px; } .tm_searchLoadingBar { position: relative; height: 2px; border-radius: 2px; overflow: hidden; background: rgba(255, 255, 255, 0.07); } .tm_searchLoadingBar > i { position: absolute; inset: 0 auto 0 0; width: 34%; border-radius: 2px; background: linear-gradient(90deg, transparent, var(--dsw-alias-brand-primary), transparent); animation: tm_tmSlideBar 1150ms cubic-bezier(0.4, 0, 0.2, 1) infinite; } @keyframes tm_tmSlideBar { 0% { transform: translateX(-100%); } 100% { transform: translateX(320%); } } .tm_searchSkeletonRow { display: flex; flex-direction: column; gap: 6px; padding: 9px 10px; border: 1px solid var(--dsw-alias-border-l2); border-radius: 9px; } .tm_searchSkeletonTitle, .tm_searchSkeletonLine { display: block; height: 9px; border-radius: 4px; background: linear-gradient(90deg, rgba(255,255,255,0.05), rgba(255,255,255,0.12), rgba(255,255,255,0.05)); background-size: 220% 100%; animation: tm_tmShimmer 1300ms ease-in-out infinite; } .tm_searchSkeletonTitle { width: 38%; } .tm_searchSkeletonLine { width: 78%; } @keyframes tm_tmShimmer { 0% { background-position: 120% 0; } 100% { background-position: -60% 0; } } @media (prefers-reduced-motion: reduce) { .tm_drawerHits > .tm_drawerHit, .tm_searchLoadingBar > i, .tm_searchSkeletonTitle, .tm_searchSkeletonLine { animation: none; } } @keyframes tm_tmFadeIn { from { opacity: 0; } to { opacity: 1; } } @keyframes tm_tmFadeOut { from { opacity: 1; } to { opacity: 0; } } @keyframes tm_tmRiseIn { from { opacity: 0; transform: translateY(26px) scale(0.94); } 60% { opacity: 1; } to { opacity: 1; transform: none; } } @keyframes tm_tmRiseOut { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateY(10px) scale(0.985); } } @keyframes tm_tmPopIn { from { opacity: 0; transform: translateY(6px) scale(0.97); } to { opacity: 1; transform: none; } } @keyframes tm_tmCardIn { from { opacity: 0; transform: translateY(6px) scale(0.99); } to { opacity: 1; transform: none; } } .tm_drawerBackdrop { animation: tm_tmFadeIn 180ms cubic-bezier(0.16, 1, 0.3, 1) both; } .tm_drawerBackdropOut { animation: tm_tmFadeOut 130ms ease-in both; } .tm_drawer { animation: tm_tmRiseIn 260ms cubic-bezier(0.16, 1, 0.3, 1) both; will-change: transform, opacity; } .tm_drawerOut { animation: tm_tmRiseOut 150ms cubic-bezier(0.4, 0, 0.7, 0.2) both; } .tm_globalSearchBackdrop { animation: tm_tmFadeIn 130ms ease-out both; } .tm_globalSearchPanel { animation: tm_tmRiseIn 240ms cubic-bezier(0.16, 1, 0.3, 1) both; will-change: transform, opacity; } .tm_menu { animation: tm_tmPopIn 120ms cubic-bezier(0.2, 0.9, 0.25, 1) both; } .tm_card { transition: transform 120ms ease-out, box-shadow 160ms ease-out, opacity 160ms ease-out; } .tm_card:hover { transform: translateY(-1px); } .tm_reactFlowNodeEnter { animation: tm_tmCardIn 170ms cubic-bezier(0.2, 0.9, 0.25, 1) both; } .tm_stackCell { transition: transform 120ms ease-out, box-shadow 160ms ease-out; } .tm_stackCell:hover { transform: translateY(-2px); } .tm_wsFrameLabel { transition: color 120ms ease-out, background 120ms ease-out, box-shadow 120ms ease-out; } .tm_wsFrameLabel:hover { box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35); } .tm_toast { animation: tm_tmRiseIn 160ms cubic-bezier(0.2, 0.9, 0.25, 1) both; } .tm_snippetCode { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.94em; padding: 0 3px; border-radius: 4px; background: rgba(255, 255, 255, 0.08); } .tm_snippetLink { color: var(--dsw-alias-brand-primary); } @media (prefers-reduced-motion: reduce) { .tm_drawerBackdrop, .tm_drawerBackdropOut, .tm_drawer, .tm_drawerOut, .tm_globalSearchBackdrop, .tm_globalSearchPanel, .tm_menu, .tm_toast, .tm_reactFlowNodeEnter { animation: none; } .tm_card, .tm_stackCell, .tm_wsFrameLabel { transition: none; } .tm_card:hover, .tm_stackCell:hover { transform: none; } } .tm_drawerSearchRow { display: flex; align-items: center; gap: 8px; padding: 0 14px 8px; } .tm_drawerSearch { flex: 1; min-width: 0; font: inherit; font-size: calc(12.5px + var(--tm-font-step, 0px)); color: var(--dsw-alias-label-primary); background: var(--dsw-alias-bg-layer-2, rgba(255, 255, 255, 0.06)); border: 1px solid var(--dsw-alias-border-l2); border-radius: 8px; padding: 6px 10px; outline: none; } .tm_drawerSearch:focus { border-color: var(--dsw-alias-border-l3, rgba(255, 255, 255, 0.3)); } .tm_drawerSearchGo { flex: none; font: inherit; font-size: calc(11.5px + var(--tm-font-step, 0px)); color: var(--dsw-alias-label-secondary); background: transparent; border: 1px solid var(--dsw-alias-border-l2); border-radius: 8px; padding: 5px 10px; cursor: pointer; } .tm_drawerSearchGo:hover { color: var(--dsw-alias-label-primary); } .tm_drawerSearchState { font-size: calc(11px + var(--tm-font-step, 0px)); color: var(--dsw-alias-label-secondary); flex: none; } .tm_drawerSearchError { flex: none; max-width: 52%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: calc(11px + var(--tm-font-step, 0px)); color: rgb(242, 78, 78); } .tm_drawerEmpty { grid-column: 1 / -1; padding: 10px 4px; font-size: calc(12px + var(--tm-font-step, 0px)); color: var(--dsw-alias-label-secondary); } .tm_drawerHits { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 6px; margin-top: 6px; padding-top: 10px; border-top: 1px solid var(--dsw-alias-border-l2); } .tm_drawerHitsHead { font-size: calc(11px + var(--tm-font-step, 0px)); color: var(--dsw-alias-label-secondary); letter-spacing: 0.04em; } .tm_drawerHit { display: flex; flex-direction: column; gap: 3px; text-align: left; padding: 8px 10px; border: 1px solid var(--dsw-alias-border-l2); border-radius: 9px; background: transparent; color: var(--dsw-alias-label-primary); font: inherit; cursor: pointer; } .tm_drawerHit:hover { border-color: var(--dsw-alias-border-l3, rgba(255, 255, 255, 0.3)); } .tm_drawerRoleChip { flex: none; margin-right: 6px; padding: 0 5px; border-radius: 4px; font-size: calc(9.5px + var(--tm-font-step, 0px)); line-height: 1.6; color: var(--dsw-alias-label-secondary); background: rgba(255, 255, 255, 0.07); } .tm_drawerRoleChip[data-talkmap-role="user"] { color: rgba(160, 210, 255, 0.95); background: rgba(90, 160, 255, 0.14); } .tm_hitMark { color: #0b0b0c; background: rgb(255, 214, 106); border-radius: 3px; padding: 0 2px; } .tm_drawerHitHead { display: flex; align-items: center; gap: 6px; min-width: 0; } .tm_drawerAgentChip { flex: none; padding: 1px 6px; border-radius: 999px; border: 1px solid var(--dsw-alias-border-l2); font-size: calc(10px + var(--tm-font-step, 0px)); line-height: 1.5; color: var(--dsw-alias-label-secondary); letter-spacing: 0.02em; } .tm_drawerAgentChipSub { color: rgb(255, 214, 106); border-color: rgba(255, 214, 106, 0.5); background: rgba(255, 214, 106, 0.1); } .tm_drawerHitTitle { display: block; width: 100%; text-align: left; font: inherit; font-size: calc(12.5px + var(--tm-font-step, 0px)); font-weight: 600; color: var(--dsw-alias-label-primary); background: transparent; border: none; padding: 0 0 2px; cursor: pointer; } .tm_drawerHitTitle:hover { color: var(--dsw-alias-brand-primary); } .tm_peek { position: fixed; z-index: 80; width: min(500px, 88vw); max-height: 42vh; overflow-y: auto; display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--dsw-alias-border-l2); background: var(--dsw-alias-bg-layer-1); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55); } .tm_peekTitle { font-size: calc(11.5px + var(--tm-font-step, 0px)); font-weight: 600; color: var(--dsw-alias-label-secondary); padding-bottom: 4px; margin-bottom: 2px; border-bottom: 1px solid var(--dsw-alias-border-l2); } .tm_peekLine { font-size: calc(12px + var(--tm-font-step, 0px)); line-height: 1.55; color: var(--dsw-alias-label-primary); white-space: pre-wrap; word-break: break-word; } .tm_peekHint { margin-top: 6px; font-size: calc(10.5px + var(--tm-font-step, 0px)); color: var(--dsw-alias-label-secondary); opacity: 0.7; } .tm_drawerHitMore { align-self: flex-start; margin-top: 2px; font: inherit; font-size: calc(11px + var(--tm-font-step, 0px)); color: var(--dsw-alias-label-secondary); background: transparent; border: none; padding: 2px 0 2px 10px; cursor: pointer; } .tm_drawerHitMore:hover { color: var(--dsw-alias-brand-primary); } .tm_drawerHitBlock { display: flex; flex-direction: column; gap: 1px; margin-top: 4px; padding-left: 2px; } .tm_drawerHitLine { display: block; width: 100%; text-align: left; font: inherit; font-size: calc(11.5px + var(--tm-font-step, 0px)); color: var(--dsw-alias-label-secondary); background: transparent; border: none; padding: 2px 0 2px 10px; border-left: 2px solid var(--dsw-alias-border-l2); cursor: pointer; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .tm_drawerHitLine:hover { color: var(--dsw-alias-label-primary); border-left-color: var(--dsw-alias-brand-primary); } .tm_drawerScroll { overscroll-behavior: contain; scroll-behavior: auto; flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scroll-snap-type: y proximity; display: grid; grid-template-columns: repeat(auto-fill, 224px); justify-content: center; align-content: start; gap: 12px; padding: 16px; } .tm_drawerCard[draggable="true"] { cursor: grab; } .tm_drawerCard[data-talkmap-drag="1"] { cursor: grabbing; opacity: 0.55; transform: scale(0.98); } .tm_cardLinks { display: flex; flex-wrap: wrap; gap: 4px; margin: 2px 0 4px; } .tm_cardLinkChip { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 0 6px; border-radius: 4px; font-size: calc(9.5px + var(--tm-font-step, 0px)); line-height: 1.7; color: var(--dsw-alias-label-secondary); background: rgba(255, 255, 255, 0.06); } .tm_cardLinkChip[data-talkmap-link="out"] { color: rgba(255, 214, 106, 0.9); background: rgba(255, 214, 106, 0.12); } .tm_drawerCard { width: 224px; box-sizing: border-box; scroll-snap-align: start; text-align: left; font: inherit; cursor: pointer; background: var(--dsw-alias-bg-layer-1); } .tm_drawerCard:hover { border-color: var(--dsw-alias-brand-primary); } .tm_wsFrameResize { position: absolute; z-index: 2; pointer-events: auto; opacity: 0.5; } .tm_wsFrameResize:hover { opacity: 1; border-color: var(--dsw-alias-brand-primary); } .tm_wsFrameResizeN { cursor: ns-resize; border-top: 3px solid var(--dsw-alias-border-l3); border-radius: 14px 14px 0 0; } .tm_wsFrameResizeS { cursor: ns-resize; border-bottom: 3px solid var(--dsw-alias-border-l3); border-radius: 0 0 14px 14px; } .tm_wsFrameResizeW { cursor: ew-resize; border-left: 3px solid var(--dsw-alias-border-l3); border-radius: 14px 0 0 14px; } .tm_wsFrameResizeE { cursor: ew-resize; border-right: 3px solid var(--dsw-alias-border-l3); border-radius: 0 14px 14px 0; } .tm_wsFrameResizeNw, .tm_wsFrameResizeNe, .tm_wsFrameResizeSw, .tm_wsFrameResizeSe { width: 26px; height: 26px; z-index: 3; } .tm_wsFrameResizeNw { cursor: nwse-resize; border-left: 3px solid var(--dsw-alias-border-l3); border-top: 3px solid var(--dsw-alias-border-l3); border-top-left-radius: 14px; } .tm_wsFrameResizeNe { cursor: nesw-resize; border-right: 3px solid var(--dsw-alias-border-l3); border-top: 3px solid var(--dsw-alias-border-l3); border-top-right-radius: 14px; } .tm_wsFrameResizeSw { cursor: nesw-resize; border-left: 3px solid var(--dsw-alias-border-l3); border-bottom: 3px solid var(--dsw-alias-border-l3); border-bottom-left-radius: 14px; } .tm_wsFrameResizeSe { cursor: nwse-resize; border-right: 3px solid var(--dsw-alias-border-l3); border-bottom: 3px solid var(--dsw-alias-border-l3); border-bottom-right-radius: 14px; } .tm_batchBar { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 20; display: flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid var(--dsw-alias-border-l1); border-radius: 999px; background: var(--dsw-alias-bg-layer-1); box-shadow: 0 8px 24px var(--dsw-alias-bg-mask-2); } .tm_batchCount { font-size: calc(12px + var(--tm-font-step, 0px)); color: var(--dsw-alias-label-secondary); white-space: nowrap; } .tm_batchSpace { width: 6px; } .tm_batchAction { padding: 5px 14px; border: 1px solid var(--dsw-alias-border-l2); border-radius: 999px; background: transparent; color: var(--dsw-alias-label-primary); font-size: calc(12px + var(--tm-font-step, 0px)); cursor: pointer; white-space: nowrap; } .tm_batchAction:hover:not(:disabled) { background: var(--dsw-alias-interactive-bg-hover); } .tm_batchAction:disabled { opacity: 0.5; cursor: default; } .tm_batchDanger { color: var(--dsw-alias-state-error-primary); } .tm_pickBox { position: absolute; top: 6px; right: 6px; width: 16px; height: 16px; display: flex; align-items: center; justify-content: center; border: 1.5px solid var(--dsw-alias-border-l3); border-radius: 4px; background: var(--dsw-alias-bg-base); color: transparent; font-size: calc(11px + var(--tm-font-step, 0px)); line-height: 1; pointer-events: none; } .tm_pickBoxChecked { border-color: var(--dsw-alias-brand-primary); background: var(--dsw-alias-brand-primary); color: #fff; } .tm_colorToolbar { position: absolute; top: 12px; left: 12px; z-index: 20; display: flex; align-items: center; gap: 6px; padding: 6px 10px; border: 1px solid var(--dsw-alias-border-l1); border-radius: 999px; background: var(--dsw-alias-bg-layer-1); box-shadow: 0 6px 20px var(--dsw-alias-bg-mask-2); } .tm_colorToolbarLabel { font-size: calc(11px + var(--tm-font-step, 0px)); color: var(--dsw-alias-label-tertiary); margin-right: 2px; white-space: nowrap; } .tm_colorSwatch { width: 16px; height: 16px; padding: 0; border: 1px solid var(--dsw-alias-border-l2); border-radius: 50%; cursor: pointer; } .tm_colorSwatch:hover { transform: scale(1.15); } .tm_colorSwatchClear { display: flex; align-items: center; justify-content: center; background: transparent; color: var(--dsw-alias-label-secondary); font-size: calc(12px + var(--tm-font-step, 0px)); line-height: 1; } .tm_colorSwatchClear:hover { color: var(--dsw-alias-label-primary); background: var(--dsw-alias-interactive-bg-hover); } .tm_drawerWires { position: absolute; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; overflow: visible; } .tm_drawerScroll { position: relative; } .tm_drawerScroll > .tm_card, .tm_drawerScroll > [data-stack-card] { position: relative; z-index: 1; } .tm_canvas .react-flow__edges { z-index: 0 !important; } .tm_canvas .react-flow__nodes { z-index: 1 !important; } .tm_statusRail { position: absolute; left: 0; top: 50%; transform: translateY(-50%); z-index: 6; display: flex; align-items: flex-start; pointer-events: none; } .tm_statusRailTab { pointer-events: auto; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 6px; border: 1px solid var(--dsw-alias-border-secondary); border-left: none; border-radius: 0 10px 10px 0; background: var(--dsw-alias-interactive-bg-hover); color: var(--dsw-alias-label-secondary); cursor: pointer; font: inherit; transition: color 120ms ease, background 120ms ease; } .tm_statusRailTab:hover { color: var(--dsw-alias-label-primary); background: var(--dsw-alias-interactive-bg-active); } .tm_statusRailOpen .tm_statusRailTab { color: var(--dsw-alias-brand-primary); background: var(--dsw-alias-interactive-bg-active); } .tm_statusRailTabIcon { font-size: 13px; line-height: 1; } .tm_statusRailTabCount { font-size: 10px; line-height: 1; padding: 2px 4px; border-radius: 999px; background: var(--dsw-alias-brand-primary); color: var(--dsw-alias-label-onbrand, #0b0d12); font-variant-numeric: tabular-nums; } .tm_statusRailPanel { pointer-events: auto; width: 232px; max-height: 60vh; overflow-y: auto; margin-left: 6px; padding: 8px; border: 1px solid var(--dsw-alias-border-secondary); border-radius: 12px; background: var(--dsw-alias-bg-elevated, rgba(20, 22, 28, 0.96)); box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35); backdrop-filter: blur(8px); } .tm_statusRailHead { display: flex; align-items: center; gap: 6px; padding: 2px 2px 8px; } .tm_statusRailTitle { flex: 1; font-size: 12px; color: var(--dsw-alias-label-secondary); } .tm_statusRailClose { border: none; background: transparent; color: var(--dsw-alias-label-secondary); cursor: pointer; font-size: 14px; line-height: 1; padding: 2px 4px; border-radius: 6px; } .tm_statusRailClose:hover { color: var(--dsw-alias-label-primary); background: var(--dsw-alias-interactive-bg-hover); } .tm_statusRailEmpty { padding: 10px 6px 12px; font-size: 12px; line-height: 1.5; color: var(--dsw-alias-label-secondary); } .tm_statusRailRow { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 8px; cursor: grab; font-size: 12px; color: var(--dsw-alias-label-primary); } .tm_statusRailRow:hover { background: var(--dsw-alias-interactive-bg-hover); } .tm_statusRailRow:active { cursor: grabbing; } .tm_statusRailLamp { flex: none; width: 7px; height: 7px; border-radius: 999px; background: var(--dsw-alias-label-tertiary, #6b7280); } .tm_statusRailLamp_running { background: #e9ecf3; box-shadow: 0 0 6px rgba(233, 236, 243, 0.7); } .tm_statusRailLamp_waiting { background: #f5b22e; box-shadow: 0 0 6px rgba(245, 178, 46, 0.7); } .tm_statusRailLamp_done { background: #34c759; box-shadow: 0 0 6px rgba(52, 199, 89, 0.6); } .tm_statusRailLamp_error { background: #f24e4e; box-shadow: 0 0 6px rgba(242, 78, 78, 0.7); } .tm_statusRailRowTitle { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .tm_statusRailRowLamp { flex: none; font-size: 10px; color: var(--dsw-alias-label-secondary); }`;
|
|
1367
1383
|
if (typeof document !== "undefined") {
|
|
1368
1384
|
const __selector = "style[data-plugin-css=" + JSON.stringify(__tagId) + "]";
|
|
1369
1385
|
if (document.querySelector(__selector) === null) {
|
|
@@ -1374,7 +1390,7 @@ if (typeof document !== "undefined") {
|
|
|
1374
1390
|
document.head.appendChild(__tag);
|
|
1375
1391
|
}
|
|
1376
1392
|
}
|
|
1377
|
-
var talk_map_default = { "backButton": "tm_backButton", "batchAction": "tm_batchAction", "batchBar": "tm_batchBar", "batchCount": "tm_batchCount", "batchDanger": "tm_batchDanger", "batchSpace": "tm_batchSpace", "canvas": "tm_canvas", "canvasConnecting": "tm_canvasConnecting", "card": "tm_card", "cardBadgeDone": "tm_cardBadgeDone", "cardBadgeWaiting": "tm_cardBadgeWaiting", "cardChip": "tm_cardChip", "cardChipDone": "tm_cardChipDone", "cardChipDraft": "tm_cardChipDraft", "cardChipError": "tm_cardChipError", "cardChipInterrupted": "tm_cardChipInterrupted", "cardChipRunning": "tm_cardChipRunning", "cardChipWaiting": "tm_cardChipWaiting", "cardFooter": "tm_cardFooter", "cardGhost": "tm_cardGhost", "cardHandle": "tm_cardHandle", "cardLampDone": "tm_cardLampDone", "cardLampError": "tm_cardLampError", "cardLampRunning": "tm_cardLampRunning", "cardLampWaiting": "tm_cardLampWaiting", "cardLinkChip": "tm_cardLinkChip", "cardLinks": "tm_cardLinks", "cardNext": "tm_cardNext", "cardNextLabel": "tm_cardNextLabel", "cardNextText": "tm_cardNextText", "cardPin": "tm_cardPin", "cardQuiet": "tm_cardQuiet", "cardRefresh": "tm_cardRefresh", "cardRefreshBusy": "tm_cardRefreshBusy", "cardRemove": "tm_cardRemove", "cardReticle": "tm_cardReticle", "cardSelected": "tm_cardSelected", "cardStale": "tm_cardStale", "cardSummary": "tm_cardSummary", "cardTime": "tm_cardTime", "cardTitle": "tm_cardTitle", "cardTop": "tm_cardTop", "closeButton": "tm_closeButton", "colorSwatch": "tm_colorSwatch", "colorSwatchClear": "tm_colorSwatchClear", "colorToolbar": "tm_colorToolbar", "colorToolbarLabel": "tm_colorToolbarLabel", "dialogBackdrop": "tm_dialogBackdrop", "digestActions": "tm_digestActions", "digestDialog": "tm_digestDialog", "digestDialogFrom": "tm_digestDialogFrom", "digestDialogHead": "tm_digestDialogHead", "digestDialogTitle": "tm_digestDialogTitle", "digestEmpty": "tm_digestEmpty", "digestLabel": "tm_digestLabel", "digestText": "tm_digestText", "drawer": "tm_drawer", "drawerAgentChip": "tm_drawerAgentChip", "drawerAgentChipSub": "tm_drawerAgentChipSub", "drawerBackdrop": "tm_drawerBackdrop", "drawerBackdropOut": "tm_drawerBackdropOut", "drawerCard": "tm_drawerCard", "drawerClose": "tm_drawerClose", "drawerCount": "tm_drawerCount", "drawerEmpty": "tm_drawerEmpty", "drawerHead": "tm_drawerHead", "drawerHint": "tm_drawerHint", "drawerHit": "tm_drawerHit", "drawerHitBlock": "tm_drawerHitBlock", "drawerHitHead": "tm_drawerHitHead", "drawerHitLine": "tm_drawerHitLine", "drawerHitMore": "tm_drawerHitMore", "drawerHitTitle": "tm_drawerHitTitle", "drawerHits": "tm_drawerHits", "drawerHitsHead": "tm_drawerHitsHead", "drawerOut": "tm_drawerOut", "drawerRoleChip": "tm_drawerRoleChip", "drawerScroll": "tm_drawerScroll", "drawerScrollSensor": "tm_drawerScrollSensor", "drawerSearch": "tm_drawerSearch", "drawerSearchError": "tm_drawerSearchError", "drawerSearchGo": "tm_drawerSearchGo", "drawerSearchRow": "tm_drawerSearchRow", "drawerSearchState": "tm_drawerSearchState", "drawerSpace": "tm_drawerSpace", "drawerTitle": "tm_drawerTitle", "drawerWires": "tm_drawerWires", "emptyHint": "tm_emptyHint", "fontButton": "tm_fontButton", "fontGlyphLarge": "tm_fontGlyphLarge", "fontGlyphSmall": "tm_fontGlyphSmall", "fontGroup": "tm_fontGroup", "fontReset": "tm_fontReset", "fontSign": "tm_fontSign", "globalSearch": "tm_globalSearch", "globalSearchBackdrop": "tm_globalSearchBackdrop", "globalSearchBody": "tm_globalSearchBody", "globalSearchButton": "tm_globalSearchButton", "globalSearchHead": "tm_globalSearchHead", "globalSearchInput": "tm_globalSearchInput", "globalSearchPanel": "tm_globalSearchPanel", "globalSearchTitle": "tm_globalSearchTitle", "header": "tm_header", "headerSpace": "tm_headerSpace", "hitMark": "tm_hitMark", "langButton": "tm_langButton", "menu": "tm_menu", "menuEmpty": "tm_menuEmpty", "menuError": "tm_menuError", "menuHint": "tm_menuHint", "menuIcon": "tm_menuIcon", "menuItem": "tm_menuItem", "menuItemDanger": "tm_menuItemDanger", "menuPreview": "tm_menuPreview", "menuSearch": "tm_menuSearch", "menuTitle": "tm_menuTitle", "panel": "tm_panel", "peek": "tm_peek", "peekHint": "tm_peekHint", "peekLine": "tm_peekLine", "peekTitle": "tm_peekTitle", "pickBox": "tm_pickBox", "pickBoxChecked": "tm_pickBoxChecked", "reactFlowNodeEnter": "tm_reactFlowNodeEnter", "renameActions": "tm_renameActions", "renameBackdrop": "tm_renameBackdrop", "renameButton": "tm_renameButton", "renameDialog": "tm_renameDialog", "renameError": "tm_renameError", "renameHeading": "tm_renameHeading", "renameInput": "tm_renameInput", "renamePrimary": "tm_renamePrimary", "runningDot": "tm_runningDot", "searchInlineLoading": "tm_searchInlineLoading", "searchLoading": "tm_searchLoading", "searchLoadingBar": "tm_searchLoadingBar", "searchSkeletonLine": "tm_searchSkeletonLine", "searchSkeletonRow": "tm_searchSkeletonRow", "searchSkeletonTitle": "tm_searchSkeletonTitle", "snippetCode": "tm_snippetCode", "snippetLink": "tm_snippetLink", "spawnActions": "tm_spawnActions", "spawnBtnGhost": "tm_spawnBtnGhost", "spawnBtnPrimary": "tm_spawnBtnPrimary", "spawnError": "tm_spawnError", "spawnFrom": "tm_spawnFrom", "spawnHeading": "tm_spawnHeading", "spawnHint": "tm_spawnHint", "spawnModeActive": "tm_spawnModeActive", "spawnModeBtn": "tm_spawnModeBtn", "spawnModes": "tm_spawnModes", "spawnPanel": "tm_spawnPanel", "spawnTextarea": "tm_spawnTextarea", "stackBadge": "tm_stackBadge", "stackBadgeBusy": "tm_stackBadgeBusy", "stackCell": "tm_stackCell", "stackFace": "tm_stackFace", "stackFaceTitle": "tm_stackFaceTitle", "stackSheetBack": "tm_stackSheetBack", "stackSheetMid": "tm_stackSheetMid", "toast": "tm_toast", "toggleButton": "tm_toggleButton", "toggleButtonActive": "tm_toggleButtonActive", "toggleIcon": "tm_toggleIcon", "toggleLabel": "tm_toggleLabel", "toggleRow": "tm_toggleRow", "wsFrame": "tm_wsFrame", "wsFrameBlocked": "tm_wsFrameBlocked", "wsFrameCount": "tm_wsFrameCount", "wsFrameEdge": "tm_wsFrameEdge", "wsFrameHidden": "tm_wsFrameHidden", "wsFrameLabel": "tm_wsFrameLabel", "wsFrameResize": "tm_wsFrameResize", "wsFrameResizeE": "tm_wsFrameResizeE", "wsFrameResizeN": "tm_wsFrameResizeN", "wsFrameResizeNe": "tm_wsFrameResizeNe", "wsFrameResizeNw": "tm_wsFrameResizeNw", "wsFrameResizeS": "tm_wsFrameResizeS", "wsFrameResizeSe": "tm_wsFrameResizeSe", "wsFrameResizeSw": "tm_wsFrameResizeSw", "wsFrameResizeW": "tm_wsFrameResizeW", "wsFrameSelected": "tm_wsFrameSelected", "zoomResetLabel": "tm_zoomResetLabel" };
|
|
1393
|
+
var talk_map_default = { "backButton": "tm_backButton", "batchAction": "tm_batchAction", "batchBar": "tm_batchBar", "batchCount": "tm_batchCount", "batchDanger": "tm_batchDanger", "batchSpace": "tm_batchSpace", "canvas": "tm_canvas", "canvasConnecting": "tm_canvasConnecting", "card": "tm_card", "cardBadgeDone": "tm_cardBadgeDone", "cardBadgeWaiting": "tm_cardBadgeWaiting", "cardChip": "tm_cardChip", "cardChipDone": "tm_cardChipDone", "cardChipDraft": "tm_cardChipDraft", "cardChipError": "tm_cardChipError", "cardChipInterrupted": "tm_cardChipInterrupted", "cardChipRunning": "tm_cardChipRunning", "cardChipWaiting": "tm_cardChipWaiting", "cardFooter": "tm_cardFooter", "cardGhost": "tm_cardGhost", "cardHandle": "tm_cardHandle", "cardLampDone": "tm_cardLampDone", "cardLampError": "tm_cardLampError", "cardLampRunning": "tm_cardLampRunning", "cardLampWaiting": "tm_cardLampWaiting", "cardLinkChip": "tm_cardLinkChip", "cardLinks": "tm_cardLinks", "cardNext": "tm_cardNext", "cardNextLabel": "tm_cardNextLabel", "cardNextText": "tm_cardNextText", "cardPin": "tm_cardPin", "cardQuiet": "tm_cardQuiet", "cardRefresh": "tm_cardRefresh", "cardRefreshBusy": "tm_cardRefreshBusy", "cardRemove": "tm_cardRemove", "cardReticle": "tm_cardReticle", "cardSelected": "tm_cardSelected", "cardStale": "tm_cardStale", "cardSummary": "tm_cardSummary", "cardTime": "tm_cardTime", "cardTitle": "tm_cardTitle", "cardTop": "tm_cardTop", "closeButton": "tm_closeButton", "colorSwatch": "tm_colorSwatch", "colorSwatchClear": "tm_colorSwatchClear", "colorToolbar": "tm_colorToolbar", "colorToolbarLabel": "tm_colorToolbarLabel", "dialogBackdrop": "tm_dialogBackdrop", "digestActions": "tm_digestActions", "digestDialog": "tm_digestDialog", "digestDialogFrom": "tm_digestDialogFrom", "digestDialogHead": "tm_digestDialogHead", "digestDialogTitle": "tm_digestDialogTitle", "digestEmpty": "tm_digestEmpty", "digestLabel": "tm_digestLabel", "digestText": "tm_digestText", "drawer": "tm_drawer", "drawerAgentChip": "tm_drawerAgentChip", "drawerAgentChipSub": "tm_drawerAgentChipSub", "drawerBackdrop": "tm_drawerBackdrop", "drawerBackdropOut": "tm_drawerBackdropOut", "drawerCard": "tm_drawerCard", "drawerClose": "tm_drawerClose", "drawerCount": "tm_drawerCount", "drawerEmpty": "tm_drawerEmpty", "drawerHead": "tm_drawerHead", "drawerHint": "tm_drawerHint", "drawerHit": "tm_drawerHit", "drawerHitBlock": "tm_drawerHitBlock", "drawerHitHead": "tm_drawerHitHead", "drawerHitLine": "tm_drawerHitLine", "drawerHitMore": "tm_drawerHitMore", "drawerHitTitle": "tm_drawerHitTitle", "drawerHits": "tm_drawerHits", "drawerHitsHead": "tm_drawerHitsHead", "drawerOut": "tm_drawerOut", "drawerRoleChip": "tm_drawerRoleChip", "drawerScroll": "tm_drawerScroll", "drawerScrollSensor": "tm_drawerScrollSensor", "drawerSearch": "tm_drawerSearch", "drawerSearchError": "tm_drawerSearchError", "drawerSearchGo": "tm_drawerSearchGo", "drawerSearchRow": "tm_drawerSearchRow", "drawerSearchState": "tm_drawerSearchState", "drawerSpace": "tm_drawerSpace", "drawerTitle": "tm_drawerTitle", "drawerWires": "tm_drawerWires", "emptyHint": "tm_emptyHint", "fontButton": "tm_fontButton", "fontGlyphLarge": "tm_fontGlyphLarge", "fontGlyphSmall": "tm_fontGlyphSmall", "fontGroup": "tm_fontGroup", "fontReset": "tm_fontReset", "fontSign": "tm_fontSign", "globalSearch": "tm_globalSearch", "globalSearchBackdrop": "tm_globalSearchBackdrop", "globalSearchBody": "tm_globalSearchBody", "globalSearchButton": "tm_globalSearchButton", "globalSearchHead": "tm_globalSearchHead", "globalSearchInput": "tm_globalSearchInput", "globalSearchPanel": "tm_globalSearchPanel", "globalSearchTitle": "tm_globalSearchTitle", "header": "tm_header", "headerSpace": "tm_headerSpace", "hitMark": "tm_hitMark", "langButton": "tm_langButton", "menu": "tm_menu", "menuEmpty": "tm_menuEmpty", "menuError": "tm_menuError", "menuHint": "tm_menuHint", "menuIcon": "tm_menuIcon", "menuItem": "tm_menuItem", "menuItemDanger": "tm_menuItemDanger", "menuPreview": "tm_menuPreview", "menuSearch": "tm_menuSearch", "menuTitle": "tm_menuTitle", "panel": "tm_panel", "peek": "tm_peek", "peekHint": "tm_peekHint", "peekLine": "tm_peekLine", "peekTitle": "tm_peekTitle", "pickBox": "tm_pickBox", "pickBoxChecked": "tm_pickBoxChecked", "reactFlowNodeEnter": "tm_reactFlowNodeEnter", "renameActions": "tm_renameActions", "renameBackdrop": "tm_renameBackdrop", "renameButton": "tm_renameButton", "renameDialog": "tm_renameDialog", "renameError": "tm_renameError", "renameHeading": "tm_renameHeading", "renameInput": "tm_renameInput", "renamePrimary": "tm_renamePrimary", "runningDot": "tm_runningDot", "searchInlineLoading": "tm_searchInlineLoading", "searchLoading": "tm_searchLoading", "searchLoadingBar": "tm_searchLoadingBar", "searchSkeletonLine": "tm_searchSkeletonLine", "searchSkeletonRow": "tm_searchSkeletonRow", "searchSkeletonTitle": "tm_searchSkeletonTitle", "snippetCode": "tm_snippetCode", "snippetLink": "tm_snippetLink", "spawnActions": "tm_spawnActions", "spawnBtnGhost": "tm_spawnBtnGhost", "spawnBtnPrimary": "tm_spawnBtnPrimary", "spawnError": "tm_spawnError", "spawnFrom": "tm_spawnFrom", "spawnHeading": "tm_spawnHeading", "spawnHint": "tm_spawnHint", "spawnModeActive": "tm_spawnModeActive", "spawnModeBtn": "tm_spawnModeBtn", "spawnModes": "tm_spawnModes", "spawnPanel": "tm_spawnPanel", "spawnTextarea": "tm_spawnTextarea", "stackBadge": "tm_stackBadge", "stackBadgeBusy": "tm_stackBadgeBusy", "stackCell": "tm_stackCell", "stackFace": "tm_stackFace", "stackFaceTitle": "tm_stackFaceTitle", "stackSheetBack": "tm_stackSheetBack", "stackSheetMid": "tm_stackSheetMid", "statusRail": "tm_statusRail", "statusRailClose": "tm_statusRailClose", "statusRailEmpty": "tm_statusRailEmpty", "statusRailHead": "tm_statusRailHead", "statusRailLamp": "tm_statusRailLamp", "statusRailLamp_done": "tm_statusRailLamp_done", "statusRailLamp_error": "tm_statusRailLamp_error", "statusRailLamp_running": "tm_statusRailLamp_running", "statusRailLamp_waiting": "tm_statusRailLamp_waiting", "statusRailOpen": "tm_statusRailOpen", "statusRailPanel": "tm_statusRailPanel", "statusRailRow": "tm_statusRailRow", "statusRailRowLamp": "tm_statusRailRowLamp", "statusRailRowTitle": "tm_statusRailRowTitle", "statusRailTab": "tm_statusRailTab", "statusRailTabCount": "tm_statusRailTabCount", "statusRailTabIcon": "tm_statusRailTabIcon", "statusRailTitle": "tm_statusRailTitle", "toast": "tm_toast", "toggleButton": "tm_toggleButton", "toggleButtonActive": "tm_toggleButtonActive", "toggleIcon": "tm_toggleIcon", "toggleLabel": "tm_toggleLabel", "toggleRow": "tm_toggleRow", "wsFrame": "tm_wsFrame", "wsFrameBlocked": "tm_wsFrameBlocked", "wsFrameCount": "tm_wsFrameCount", "wsFrameEdge": "tm_wsFrameEdge", "wsFrameHidden": "tm_wsFrameHidden", "wsFrameLabel": "tm_wsFrameLabel", "wsFrameResize": "tm_wsFrameResize", "wsFrameResizeE": "tm_wsFrameResizeE", "wsFrameResizeN": "tm_wsFrameResizeN", "wsFrameResizeNe": "tm_wsFrameResizeNe", "wsFrameResizeNw": "tm_wsFrameResizeNw", "wsFrameResizeS": "tm_wsFrameResizeS", "wsFrameResizeSe": "tm_wsFrameResizeSe", "wsFrameResizeSw": "tm_wsFrameResizeSw", "wsFrameResizeW": "tm_wsFrameResizeW", "wsFrameSelected": "tm_wsFrameSelected", "zoomResetLabel": "tm_zoomResetLabel" };
|
|
1378
1394
|
|
|
1379
1395
|
// src/client/markdown-inline.tsx
|
|
1380
1396
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
@@ -1651,7 +1667,7 @@ function GlobalSearch(props) {
|
|
|
1651
1667
|
}
|
|
1652
1668
|
|
|
1653
1669
|
// src/client/MapCanvas.tsx
|
|
1654
|
-
var
|
|
1670
|
+
var import_react13 = require("react");
|
|
1655
1671
|
|
|
1656
1672
|
// node_modules/@xyflow/react/dist/esm/index.js
|
|
1657
1673
|
var import_jsx_runtime4 = require("react/jsx-runtime");
|
|
@@ -13654,8 +13670,182 @@ function StackNode(props) {
|
|
|
13654
13670
|
);
|
|
13655
13671
|
}
|
|
13656
13672
|
|
|
13657
|
-
// src/client/
|
|
13673
|
+
// src/client/StatusRail.tsx
|
|
13658
13674
|
var import_react11 = require("react");
|
|
13675
|
+
var import_jsx_runtime15 = require("react/jsx-runtime");
|
|
13676
|
+
var OPEN_KEY = "dsh.talk-map.status-rail.open.v1";
|
|
13677
|
+
var ORDER_KEY = "dsh.talk-map.status-rail.order.v1";
|
|
13678
|
+
function readOpen() {
|
|
13679
|
+
if (typeof window === "undefined") return false;
|
|
13680
|
+
try {
|
|
13681
|
+
return window.localStorage.getItem(OPEN_KEY) === "1";
|
|
13682
|
+
} catch {
|
|
13683
|
+
return false;
|
|
13684
|
+
}
|
|
13685
|
+
}
|
|
13686
|
+
function writeOpen(open) {
|
|
13687
|
+
try {
|
|
13688
|
+
window.localStorage.setItem(OPEN_KEY, open ? "1" : "0");
|
|
13689
|
+
} catch {
|
|
13690
|
+
}
|
|
13691
|
+
}
|
|
13692
|
+
function readOrder() {
|
|
13693
|
+
if (typeof window === "undefined") return [];
|
|
13694
|
+
try {
|
|
13695
|
+
const raw = window.localStorage.getItem(ORDER_KEY);
|
|
13696
|
+
const parsed = raw === null ? [] : JSON.parse(raw);
|
|
13697
|
+
return Array.isArray(parsed) ? parsed.filter((item) => typeof item === "string") : [];
|
|
13698
|
+
} catch {
|
|
13699
|
+
return [];
|
|
13700
|
+
}
|
|
13701
|
+
}
|
|
13702
|
+
function writeOrder(order) {
|
|
13703
|
+
try {
|
|
13704
|
+
window.localStorage.setItem(ORDER_KEY, JSON.stringify(order));
|
|
13705
|
+
} catch {
|
|
13706
|
+
}
|
|
13707
|
+
}
|
|
13708
|
+
function lampLabel(lamp) {
|
|
13709
|
+
return t(`statusRail.lamp.${lamp}`);
|
|
13710
|
+
}
|
|
13711
|
+
function StatusRail(props) {
|
|
13712
|
+
const [open, setOpen] = (0, import_react11.useState)(() => readOpen());
|
|
13713
|
+
const [order, setOrder] = (0, import_react11.useState)(() => readOrder());
|
|
13714
|
+
const seenRef = (0, import_react11.useRef)(/* @__PURE__ */ new Map());
|
|
13715
|
+
const dragFrom = (0, import_react11.useRef)(null);
|
|
13716
|
+
const signature = (0, import_react11.useMemo)(
|
|
13717
|
+
() => props.entries.map((entry) => `${entry.cardId}:${entry.lamp}:${entry.stamp}`).join("|"),
|
|
13718
|
+
[props.entries]
|
|
13719
|
+
);
|
|
13720
|
+
(0, import_react11.useEffect)(() => {
|
|
13721
|
+
const seen = seenRef.current;
|
|
13722
|
+
const fresh = [];
|
|
13723
|
+
for (const entry of props.entries) {
|
|
13724
|
+
const before = seen.get(entry.cardId);
|
|
13725
|
+
const now2 = `${entry.lamp}:${entry.stamp}`;
|
|
13726
|
+
if (before !== now2) fresh.push(entry.cardId);
|
|
13727
|
+
seen.set(entry.cardId, now2);
|
|
13728
|
+
}
|
|
13729
|
+
const alive = new Set(props.entries.map((entry) => entry.cardId));
|
|
13730
|
+
setOrder((current) => {
|
|
13731
|
+
const kept = current.filter((cardId) => alive.has(cardId));
|
|
13732
|
+
const next = [...fresh.filter((cardId) => alive.has(cardId)).reverse(), ...kept];
|
|
13733
|
+
for (const entry of props.entries) {
|
|
13734
|
+
if (!next.includes(entry.cardId)) next.push(entry.cardId);
|
|
13735
|
+
}
|
|
13736
|
+
const deduped = [...new Set(next)];
|
|
13737
|
+
if (deduped.length === kept.length && deduped.every((cardId, index2) => cardId === kept[index2])) return kept;
|
|
13738
|
+
writeOrder(deduped);
|
|
13739
|
+
return deduped;
|
|
13740
|
+
});
|
|
13741
|
+
for (const cardId of [...seen.keys()]) {
|
|
13742
|
+
if (!alive.has(cardId)) seen.delete(cardId);
|
|
13743
|
+
}
|
|
13744
|
+
}, [signature]);
|
|
13745
|
+
const ordered = (0, import_react11.useMemo)(() => {
|
|
13746
|
+
const byId2 = new Map(props.entries.map((entry) => [entry.cardId, entry]));
|
|
13747
|
+
const rows = [];
|
|
13748
|
+
for (const cardId of order) {
|
|
13749
|
+
const entry = byId2.get(cardId);
|
|
13750
|
+
if (entry !== void 0) rows.push(entry);
|
|
13751
|
+
}
|
|
13752
|
+
for (const entry of props.entries) {
|
|
13753
|
+
if (!order.includes(entry.cardId)) rows.push(entry);
|
|
13754
|
+
}
|
|
13755
|
+
return rows;
|
|
13756
|
+
}, [order, props.entries]);
|
|
13757
|
+
const toggle = (0, import_react11.useCallback)(() => {
|
|
13758
|
+
setOpen((current) => {
|
|
13759
|
+
writeOpen(!current);
|
|
13760
|
+
return !current;
|
|
13761
|
+
});
|
|
13762
|
+
}, []);
|
|
13763
|
+
const move = (0, import_react11.useCallback)((from, to) => {
|
|
13764
|
+
if (from === to) return;
|
|
13765
|
+
setOrder((current) => {
|
|
13766
|
+
const alive = current.filter((cardId) => cardId !== from);
|
|
13767
|
+
const at = alive.indexOf(to);
|
|
13768
|
+
if (at < 0) return current;
|
|
13769
|
+
const next = [...alive.slice(0, at), from, ...alive.slice(at)];
|
|
13770
|
+
writeOrder(next);
|
|
13771
|
+
return next;
|
|
13772
|
+
});
|
|
13773
|
+
}, []);
|
|
13774
|
+
const count = props.entries.length;
|
|
13775
|
+
return /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("div", { className: `${talk_map_default["statusRail"]}${open ? ` ${talk_map_default["statusRailOpen"]}` : ""}`, children: [
|
|
13776
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsxs)(
|
|
13777
|
+
"button",
|
|
13778
|
+
{
|
|
13779
|
+
type: "button",
|
|
13780
|
+
className: talk_map_default["statusRailTab"],
|
|
13781
|
+
"aria-expanded": open,
|
|
13782
|
+
"aria-label": open ? t("statusRail.close") : t("statusRail.open"),
|
|
13783
|
+
title: open ? t("statusRail.close") : t("statusRail.open"),
|
|
13784
|
+
onClick: toggle,
|
|
13785
|
+
children: [
|
|
13786
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("span", { className: talk_map_default["statusRailTabIcon"], "aria-hidden": "true", children: "◧" }),
|
|
13787
|
+
count > 0 ? /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("span", { className: talk_map_default["statusRailTabCount"], children: count }) : null
|
|
13788
|
+
]
|
|
13789
|
+
}
|
|
13790
|
+
),
|
|
13791
|
+
open ? /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("div", { className: talk_map_default["statusRailPanel"], role: "list", children: [
|
|
13792
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("div", { className: talk_map_default["statusRailHead"], children: [
|
|
13793
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("span", { className: talk_map_default["statusRailTitle"], children: t("statusRail.title") }),
|
|
13794
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
|
|
13795
|
+
"button",
|
|
13796
|
+
{
|
|
13797
|
+
type: "button",
|
|
13798
|
+
className: talk_map_default["statusRailClose"],
|
|
13799
|
+
"aria-label": t("statusRail.close"),
|
|
13800
|
+
onClick: toggle,
|
|
13801
|
+
children: "×"
|
|
13802
|
+
}
|
|
13803
|
+
)
|
|
13804
|
+
] }),
|
|
13805
|
+
ordered.length === 0 ? /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("div", { className: talk_map_default["statusRailEmpty"], children: t("statusRail.empty") }) : null,
|
|
13806
|
+
ordered.map((entry) => /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)(
|
|
13807
|
+
"div",
|
|
13808
|
+
{
|
|
13809
|
+
role: "listitem",
|
|
13810
|
+
className: talk_map_default["statusRailRow"],
|
|
13811
|
+
draggable: true,
|
|
13812
|
+
onDragStart: (event) => {
|
|
13813
|
+
dragFrom.current = entry.cardId;
|
|
13814
|
+
event.dataTransfer.effectAllowed = "move";
|
|
13815
|
+
event.dataTransfer.setData("text/plain", entry.cardId);
|
|
13816
|
+
},
|
|
13817
|
+
onDragOver: (event) => {
|
|
13818
|
+
if (dragFrom.current === null) return;
|
|
13819
|
+
event.preventDefault();
|
|
13820
|
+
event.dataTransfer.dropEffect = "move";
|
|
13821
|
+
},
|
|
13822
|
+
onDrop: (event) => {
|
|
13823
|
+
event.preventDefault();
|
|
13824
|
+
const from = dragFrom.current ?? event.dataTransfer.getData("text/plain");
|
|
13825
|
+
dragFrom.current = null;
|
|
13826
|
+
if (from !== "") move(from, entry.cardId);
|
|
13827
|
+
},
|
|
13828
|
+
onDragEnd: () => {
|
|
13829
|
+
dragFrom.current = null;
|
|
13830
|
+
},
|
|
13831
|
+
onClick: () => {
|
|
13832
|
+
props.onFocus(entry.cardId);
|
|
13833
|
+
},
|
|
13834
|
+
title: entry.title,
|
|
13835
|
+
children: [
|
|
13836
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("span", { className: `${talk_map_default["statusRailLamp"]} ${talk_map_default[`statusRailLamp_${entry.lamp}`] ?? ""}`, "aria-hidden": "true" }),
|
|
13837
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("span", { className: talk_map_default["statusRailRowTitle"], children: entry.title }),
|
|
13838
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("span", { className: talk_map_default["statusRailRowLamp"], children: lampLabel(entry.lamp) })
|
|
13839
|
+
]
|
|
13840
|
+
},
|
|
13841
|
+
entry.cardId
|
|
13842
|
+
))
|
|
13843
|
+
] }) : null
|
|
13844
|
+
] });
|
|
13845
|
+
}
|
|
13846
|
+
|
|
13847
|
+
// src/client/use-dark.ts
|
|
13848
|
+
var import_react12 = require("react");
|
|
13659
13849
|
var DARK_ATTRIBUTE = "data-ds-dark-theme";
|
|
13660
13850
|
function subscribe(listener) {
|
|
13661
13851
|
if (typeof document === "undefined") return () => {
|
|
@@ -13671,11 +13861,11 @@ function getSnapshot() {
|
|
|
13671
13861
|
return document.body.hasAttribute(DARK_ATTRIBUTE);
|
|
13672
13862
|
}
|
|
13673
13863
|
function useDsDarkTheme() {
|
|
13674
|
-
return (0,
|
|
13864
|
+
return (0, import_react12.useSyncExternalStore)(subscribe, getSnapshot);
|
|
13675
13865
|
}
|
|
13676
13866
|
|
|
13677
13867
|
// src/client/MapCanvas.tsx
|
|
13678
|
-
var
|
|
13868
|
+
var import_jsx_runtime16 = require("react/jsx-runtime");
|
|
13679
13869
|
var TALK_MAP_EDGE_TYPE = "talkMap";
|
|
13680
13870
|
var nodeTypes = {
|
|
13681
13871
|
sessionCard: SessionCardNode,
|
|
@@ -13730,14 +13920,14 @@ function fitRect(members) {
|
|
|
13730
13920
|
}
|
|
13731
13921
|
function CanvasInner(props) {
|
|
13732
13922
|
const dark = useDsDarkTheme();
|
|
13733
|
-
const canvasState = (0,
|
|
13923
|
+
const canvasState = (0, import_react13.useSyncExternalStore)(canvas.subscribe, canvas.get);
|
|
13734
13924
|
const sessions = props.useSessions((state3) => state3);
|
|
13735
13925
|
const workspaces = props.useWorkspaces((state3) => state3);
|
|
13736
13926
|
const statusById = typeof props.useSessionStatus === "function" ? props.useSessionStatus((status) => status) : EMPTY_SESSION_STATUS;
|
|
13737
|
-
const alertById = (0,
|
|
13738
|
-
const finishedById = (0,
|
|
13739
|
-
const interruptedById = (0,
|
|
13740
|
-
(0,
|
|
13927
|
+
const alertById = (0, import_react13.useSyncExternalStore)(sessionAlerts.subscribe, sessionAlerts.getSnapshot);
|
|
13928
|
+
const finishedById = (0, import_react13.useSyncExternalStore)(sessionActivity.subscribe, sessionActivity.getSnapshot);
|
|
13929
|
+
const interruptedById = (0, import_react13.useSyncExternalStore)(sessionActivity.subscribe, sessionActivity.getInterrupted);
|
|
13930
|
+
(0, import_react13.useEffect)(() => {
|
|
13741
13931
|
const onUnload = () => {
|
|
13742
13932
|
sessionActivity.recordShutdown(statusById, sessions.byId);
|
|
13743
13933
|
};
|
|
@@ -13746,14 +13936,14 @@ function CanvasInner(props) {
|
|
|
13746
13936
|
window.removeEventListener("beforeunload", onUnload);
|
|
13747
13937
|
};
|
|
13748
13938
|
}, [statusById, sessions]);
|
|
13749
|
-
(0,
|
|
13939
|
+
(0, import_react13.useEffect)(() => {
|
|
13750
13940
|
sessionActivity.beginPanelSession();
|
|
13751
13941
|
}, []);
|
|
13752
|
-
(0,
|
|
13942
|
+
(0, import_react13.useEffect)(() => {
|
|
13753
13943
|
sessionActivity.observe(statusById, sessions.byId);
|
|
13754
13944
|
}, [statusById, sessions]);
|
|
13755
|
-
const draftSessions = (0,
|
|
13756
|
-
(0,
|
|
13945
|
+
const draftSessions = (0, import_react13.useSyncExternalStore)(draftWatch.subscribe, draftWatch.getSnapshot);
|
|
13946
|
+
(0, import_react13.useEffect)(() => {
|
|
13757
13947
|
draftWatch.refresh();
|
|
13758
13948
|
const timer4 = setInterval(() => {
|
|
13759
13949
|
draftWatch.refresh();
|
|
@@ -13762,22 +13952,22 @@ function CanvasInner(props) {
|
|
|
13762
13952
|
clearInterval(timer4);
|
|
13763
13953
|
};
|
|
13764
13954
|
}, []);
|
|
13765
|
-
const [previews, setPreviews] = (0,
|
|
13766
|
-
const previewStamp = (0,
|
|
13955
|
+
const [previews, setPreviews] = (0, import_react13.useState)(readPreviewTexts);
|
|
13956
|
+
const previewStamp = (0, import_react13.useRef)(
|
|
13767
13957
|
// Only entries that still make a usable body count as cached: a rule fix that
|
|
13768
13958
|
// empties an old entry must trigger a refetch, not leave a blank card.
|
|
13769
13959
|
new Map(Object.entries(loadPreviewCache()).filter(([, entry]) => typeof entry?.text === "string" && cleanPreviewText(entry.text) !== "").map(([sessionId, entry]) => [sessionId, entry.stamp]))
|
|
13770
13960
|
);
|
|
13771
|
-
const { screenToFlowPosition, zoomTo, setNodes } = useReactFlow();
|
|
13772
|
-
const [selectedIds, setSelectedIds] = (0,
|
|
13773
|
-
const [selectedEdgeIds, setSelectedEdgeIds] = (0,
|
|
13774
|
-
const [connecting, setConnecting] = (0,
|
|
13775
|
-
const connectCancelledRef = (0,
|
|
13776
|
-
const [toast, setToast] = (0,
|
|
13777
|
-
const toastTimer = (0,
|
|
13778
|
-
const [pendingSpawn, setPendingSpawn] = (0,
|
|
13779
|
-
const [menu, setMenu] = (0,
|
|
13780
|
-
const [drawer, setDrawer] = (0,
|
|
13961
|
+
const { screenToFlowPosition, zoomTo, setNodes, setCenter, getZoom } = useReactFlow();
|
|
13962
|
+
const [selectedIds, setSelectedIds] = (0, import_react13.useState)(/* @__PURE__ */ new Set());
|
|
13963
|
+
const [selectedEdgeIds, setSelectedEdgeIds] = (0, import_react13.useState)(/* @__PURE__ */ new Set());
|
|
13964
|
+
const [connecting, setConnecting] = (0, import_react13.useState)(false);
|
|
13965
|
+
const connectCancelledRef = (0, import_react13.useRef)(false);
|
|
13966
|
+
const [toast, setToast] = (0, import_react13.useState)(null);
|
|
13967
|
+
const toastTimer = (0, import_react13.useRef)(void 0);
|
|
13968
|
+
const [pendingSpawn, setPendingSpawn] = (0, import_react13.useState)(null);
|
|
13969
|
+
const [menu, setMenu] = (0, import_react13.useState)(null);
|
|
13970
|
+
const [drawer, setDrawer] = (0, import_react13.useState)(() => {
|
|
13781
13971
|
const remembered = drawerState.readGroup();
|
|
13782
13972
|
return remembered === null ? null : { groupId: remembered };
|
|
13783
13973
|
});
|
|
@@ -13785,11 +13975,11 @@ function CanvasInner(props) {
|
|
|
13785
13975
|
setDrawer(null);
|
|
13786
13976
|
drawerState.clear();
|
|
13787
13977
|
};
|
|
13788
|
-
const [digestTarget, setDigestTarget] = (0,
|
|
13789
|
-
const [pushEpoch, setPushEpoch] = (0,
|
|
13978
|
+
const [digestTarget, setDigestTarget] = (0, import_react13.useState)(null);
|
|
13979
|
+
const [pushEpoch, setPushEpoch] = (0, import_react13.useState)(0);
|
|
13790
13980
|
const LINEAGE_KEY = "dsh.talk-map.lineage-hidden.v1";
|
|
13791
13981
|
const LINEAGE_CUT_KEY = "dsh.talk-map.lineage-cut.v1";
|
|
13792
|
-
const [lineageCut, setLineageCut] = (0,
|
|
13982
|
+
const [lineageCut, setLineageCut] = (0, import_react13.useState)(() => {
|
|
13793
13983
|
try {
|
|
13794
13984
|
const raw = window.localStorage.getItem(LINEAGE_CUT_KEY);
|
|
13795
13985
|
const parsed = raw === null ? [] : JSON.parse(raw);
|
|
@@ -13810,7 +14000,7 @@ function CanvasInner(props) {
|
|
|
13810
14000
|
return next;
|
|
13811
14001
|
});
|
|
13812
14002
|
};
|
|
13813
|
-
const [lineageHidden, setLineageHiddenState] = (0,
|
|
14003
|
+
const [lineageHidden, setLineageHiddenState] = (0, import_react13.useState)(() => {
|
|
13814
14004
|
try {
|
|
13815
14005
|
return localStorage.getItem("dsh.talk-map.lineage-hidden.v1") === "1";
|
|
13816
14006
|
} catch {
|
|
@@ -13824,34 +14014,34 @@ function CanvasInner(props) {
|
|
|
13824
14014
|
} catch {
|
|
13825
14015
|
}
|
|
13826
14016
|
};
|
|
13827
|
-
const [renameTarget, setRenameTarget] = (0,
|
|
13828
|
-
const [renamedTitles, setRenamedTitles] = (0,
|
|
13829
|
-
const [renamedWorkspaces, setRenamedWorkspaces] = (0,
|
|
13830
|
-
const [batchMode, setBatchMode] = (0,
|
|
13831
|
-
const [batchPicks, setBatchPicks] = (0,
|
|
13832
|
-
const [batchBusy, setBatchBusy] = (0,
|
|
13833
|
-
const wrapperRef = (0,
|
|
13834
|
-
const [draggingCardId, setDraggingCardId] = (0,
|
|
13835
|
-
const [liveFrame, setLiveFrame] = (0,
|
|
13836
|
-
const [blockedFrame, setBlockedFrame] = (0,
|
|
13837
|
-
const [dragCenter, setDragCenter] = (0,
|
|
13838
|
-
const [isSelecting, setIsSelecting] = (0,
|
|
13839
|
-
const frozenRef = (0,
|
|
13840
|
-
const locale = (0,
|
|
13841
|
-
const sessionWs = (0,
|
|
13842
|
-
const wsTitles = (0,
|
|
14017
|
+
const [renameTarget, setRenameTarget] = (0, import_react13.useState)(null);
|
|
14018
|
+
const [renamedTitles, setRenamedTitles] = (0, import_react13.useState)({});
|
|
14019
|
+
const [renamedWorkspaces, setRenamedWorkspaces] = (0, import_react13.useState)({});
|
|
14020
|
+
const [batchMode, setBatchMode] = (0, import_react13.useState)(false);
|
|
14021
|
+
const [batchPicks, setBatchPicks] = (0, import_react13.useState)(/* @__PURE__ */ new Set());
|
|
14022
|
+
const [batchBusy, setBatchBusy] = (0, import_react13.useState)(false);
|
|
14023
|
+
const wrapperRef = (0, import_react13.useRef)(null);
|
|
14024
|
+
const [draggingCardId, setDraggingCardId] = (0, import_react13.useState)(null);
|
|
14025
|
+
const [liveFrame, setLiveFrame] = (0, import_react13.useState)(null);
|
|
14026
|
+
const [blockedFrame, setBlockedFrame] = (0, import_react13.useState)(null);
|
|
14027
|
+
const [dragCenter, setDragCenter] = (0, import_react13.useState)(null);
|
|
14028
|
+
const [isSelecting, setIsSelecting] = (0, import_react13.useState)(false);
|
|
14029
|
+
const frozenRef = (0, import_react13.useRef)(null);
|
|
14030
|
+
const locale = (0, import_react13.useSyncExternalStore)(subscribeLocale, activeLocale, activeLocale);
|
|
14031
|
+
const sessionWs = (0, import_react13.useMemo)(() => sessionWorkspaceIndex(workspaces), [workspaces]);
|
|
14032
|
+
const wsTitles = (0, import_react13.useMemo)(
|
|
13843
14033
|
() => new Map(workspaces.items.map((item) => [item.workspaceId, item.title])),
|
|
13844
14034
|
[workspaces]
|
|
13845
14035
|
);
|
|
13846
14036
|
const workspacesReady = workspaces.baselinesReady !== false;
|
|
13847
|
-
const pinnedSessions = (0,
|
|
13848
|
-
const boardSessionIds = (0,
|
|
14037
|
+
const pinnedSessions = (0, import_react13.useMemo)(() => new Set(workspaces.pinnedSessionIds ?? []), [workspaces]);
|
|
14038
|
+
const boardSessionIds = (0, import_react13.useMemo)(
|
|
13849
14039
|
() => new Set(Object.values(canvasState.cards).map((card) => card.sessionId)),
|
|
13850
14040
|
[canvasState.cards]
|
|
13851
14041
|
);
|
|
13852
14042
|
const wsFrames = canvasState.global?.wsFrames ?? {};
|
|
13853
14043
|
const layoutVersion = canvasState.global?.layoutVersion ?? 1;
|
|
13854
|
-
(0,
|
|
14044
|
+
(0, import_react13.useEffect)(() => {
|
|
13855
14045
|
if (canvasState.phase !== "ready" || layoutVersion >= LAYOUT_VERSION || !workspacesReady) return;
|
|
13856
14046
|
const byGroup = /* @__PURE__ */ new Map();
|
|
13857
14047
|
for (const card of Object.values(canvasState.cards)) {
|
|
@@ -13870,7 +14060,7 @@ function CanvasInner(props) {
|
|
|
13870
14060
|
}
|
|
13871
14061
|
canvas.patchGlobalNow({ layoutVersion: LAYOUT_VERSION, wsFrames: framesNext });
|
|
13872
14062
|
}, [canvasState.phase, layoutVersion, workspacesReady, canvasState.cards, canvasState.global, sessionWs]);
|
|
13873
|
-
const visibleCards = (0,
|
|
14063
|
+
const visibleCards = (0, import_react13.useMemo)(() => {
|
|
13874
14064
|
const out = {};
|
|
13875
14065
|
for (const [cardId, card] of Object.entries(canvasState.cards)) {
|
|
13876
14066
|
if (sessions.byId[card.sessionId]?.blank === true) continue;
|
|
@@ -13878,11 +14068,11 @@ function CanvasInner(props) {
|
|
|
13878
14068
|
}
|
|
13879
14069
|
return out;
|
|
13880
14070
|
}, [canvasState.cards, sessions]);
|
|
13881
|
-
const previewInputs = (0,
|
|
14071
|
+
const previewInputs = (0, import_react13.useRef)({ cards: visibleCards, sessions });
|
|
13882
14072
|
previewInputs.current = { cards: visibleCards, sessions };
|
|
13883
|
-
const previewTick = (0,
|
|
14073
|
+
const previewTick = (0, import_react13.useRef)(() => {
|
|
13884
14074
|
});
|
|
13885
|
-
(0,
|
|
14075
|
+
(0, import_react13.useEffect)(() => {
|
|
13886
14076
|
const tick = () => {
|
|
13887
14077
|
const { cards, sessions: latest } = previewInputs.current;
|
|
13888
14078
|
const pending = [];
|
|
@@ -13914,10 +14104,10 @@ function CanvasInner(props) {
|
|
|
13914
14104
|
clearInterval(timer4);
|
|
13915
14105
|
};
|
|
13916
14106
|
}, []);
|
|
13917
|
-
(0,
|
|
14107
|
+
(0, import_react13.useEffect)(() => {
|
|
13918
14108
|
previewTick.current();
|
|
13919
14109
|
}, [visibleCards]);
|
|
13920
|
-
const membersByGroup = (0,
|
|
14110
|
+
const membersByGroup = (0, import_react13.useMemo)(() => {
|
|
13921
14111
|
const index2 = /* @__PURE__ */ new Map();
|
|
13922
14112
|
for (const [cardId, card] of Object.entries(visibleCards)) {
|
|
13923
14113
|
const groupId = sessionWs.get(card.sessionId);
|
|
@@ -13926,7 +14116,7 @@ function CanvasInner(props) {
|
|
|
13926
14116
|
}
|
|
13927
14117
|
return index2;
|
|
13928
14118
|
}, [visibleCards, sessionWs]);
|
|
13929
|
-
const frameRects = (0,
|
|
14119
|
+
const frameRects = (0, import_react13.useMemo)(() => {
|
|
13930
14120
|
const out = {};
|
|
13931
14121
|
for (const [groupId, stored] of Object.entries(wsFrames)) {
|
|
13932
14122
|
const base = liveFrame !== null && liveFrame.groupId === groupId ? liveFrame.rect : stored;
|
|
@@ -13934,7 +14124,7 @@ function CanvasInner(props) {
|
|
|
13934
14124
|
}
|
|
13935
14125
|
return out;
|
|
13936
14126
|
}, [wsFrames, liveFrame]);
|
|
13937
|
-
const folderLayouts = (0,
|
|
14127
|
+
const folderLayouts = (0, import_react13.useMemo)(() => {
|
|
13938
14128
|
const out = {};
|
|
13939
14129
|
for (const [groupId, rect] of Object.entries(frameRects)) {
|
|
13940
14130
|
const members = (membersByGroup.get(groupId) ?? []).map((cardId) => {
|
|
@@ -13966,21 +14156,21 @@ function CanvasInner(props) {
|
|
|
13966
14156
|
}
|
|
13967
14157
|
return out;
|
|
13968
14158
|
}, [frameRects, membersByGroup, visibleCards, pinnedSessions, draggingCardId, dragCenter]);
|
|
13969
|
-
const cardLayout = (0,
|
|
14159
|
+
const cardLayout = (0, import_react13.useMemo)(() => {
|
|
13970
14160
|
const out = {};
|
|
13971
14161
|
for (const layout of Object.values(folderLayouts)) {
|
|
13972
14162
|
Object.assign(out, layoutFor(layout.rect, layout.ordered));
|
|
13973
14163
|
}
|
|
13974
14164
|
return out;
|
|
13975
14165
|
}, [folderLayouts]);
|
|
13976
|
-
const foldedCards = (0,
|
|
14166
|
+
const foldedCards = (0, import_react13.useMemo)(() => {
|
|
13977
14167
|
const out = {};
|
|
13978
14168
|
for (const [groupId, layout] of Object.entries(folderLayouts)) {
|
|
13979
14169
|
if (layout.folded.length > 0) out[groupId] = layout.folded;
|
|
13980
14170
|
}
|
|
13981
14171
|
return out;
|
|
13982
14172
|
}, [folderLayouts]);
|
|
13983
|
-
(0,
|
|
14173
|
+
(0, import_react13.useEffect)(() => {
|
|
13984
14174
|
if (canvasState.phase !== "ready") return;
|
|
13985
14175
|
if (draggingCardId !== null || liveFrame !== null) return;
|
|
13986
14176
|
const timer4 = window.setTimeout(() => {
|
|
@@ -13995,8 +14185,8 @@ function CanvasInner(props) {
|
|
|
13995
14185
|
}, 140);
|
|
13996
14186
|
return () => window.clearTimeout(timer4);
|
|
13997
14187
|
}, [cardLayout, canvasState.cards, canvasState.phase, draggingCardId, liveFrame]);
|
|
13998
|
-
const foldedSet = (0,
|
|
13999
|
-
(0,
|
|
14188
|
+
const foldedSet = (0, import_react13.useMemo)(() => new Set(Object.values(foldedCards).flat()), [foldedCards]);
|
|
14189
|
+
(0, import_react13.useEffect)(() => {
|
|
14000
14190
|
if (canvasState.phase !== "ready") return;
|
|
14001
14191
|
if (draggingCardId !== null || liveFrame !== null) return;
|
|
14002
14192
|
const seen = lastActivitySeen;
|
|
@@ -14031,8 +14221,8 @@ function CanvasInner(props) {
|
|
|
14031
14221
|
for (const [sessionId, stamp] of stamps) seen.set(sessionId, stamp);
|
|
14032
14222
|
if (Object.keys(promoted).length > 0) canvas.moveCards(promoted);
|
|
14033
14223
|
}, [canvasState.phase, visibleCards, sessions, folderLayouts, draggingCardId, liveFrame, pinnedSessions]);
|
|
14034
|
-
const autoSyncedRef = (0,
|
|
14035
|
-
(0,
|
|
14224
|
+
const autoSyncedRef = (0, import_react13.useRef)(false);
|
|
14225
|
+
(0, import_react13.useEffect)(() => {
|
|
14036
14226
|
if (canvasState.phase !== "ready" || !workspacesReady || autoSyncedRef.current) return;
|
|
14037
14227
|
autoSyncedRef.current = true;
|
|
14038
14228
|
const remembered = canvasState.global?.layoutMemory ?? {};
|
|
@@ -14092,7 +14282,7 @@ function CanvasInner(props) {
|
|
|
14092
14282
|
}
|
|
14093
14283
|
if (Object.keys(added).length > 0) canvas.addCards(added);
|
|
14094
14284
|
}, [canvasState.phase, canvasState.cards, canvasState.global, workspacesReady, wsFrames, frameRects, membersByGroup, sessions, sessionWs, boardSessionIds]);
|
|
14095
|
-
(0,
|
|
14285
|
+
(0, import_react13.useEffect)(() => {
|
|
14096
14286
|
if (!connecting) return;
|
|
14097
14287
|
const release = mapUi.claimEscape("connecting");
|
|
14098
14288
|
const onKeyDown = (event) => {
|
|
@@ -14113,7 +14303,7 @@ function CanvasInner(props) {
|
|
|
14113
14303
|
release();
|
|
14114
14304
|
};
|
|
14115
14305
|
}, [connecting]);
|
|
14116
|
-
(0,
|
|
14306
|
+
(0, import_react13.useEffect)(() => {
|
|
14117
14307
|
const onKeyDown = (event) => {
|
|
14118
14308
|
if (!(event.metaKey || event.ctrlKey) || event.code !== "KeyZ") return;
|
|
14119
14309
|
const target = event.target;
|
|
@@ -14128,7 +14318,7 @@ function CanvasInner(props) {
|
|
|
14128
14318
|
window.removeEventListener("keydown", onKeyDown, { capture: true });
|
|
14129
14319
|
};
|
|
14130
14320
|
}, []);
|
|
14131
|
-
const liveSelectedIds = (0,
|
|
14321
|
+
const liveSelectedIds = (0, import_react13.useMemo)(() => {
|
|
14132
14322
|
const next = /* @__PURE__ */ new Set();
|
|
14133
14323
|
for (const id2 of selectedIds) {
|
|
14134
14324
|
if (id2.startsWith("frame-")) {
|
|
@@ -14139,7 +14329,7 @@ function CanvasInner(props) {
|
|
|
14139
14329
|
}
|
|
14140
14330
|
return next;
|
|
14141
14331
|
}, [selectedIds, visibleCards, wsFrames]);
|
|
14142
|
-
const liveSelectedEdgeIds = (0,
|
|
14332
|
+
const liveSelectedEdgeIds = (0, import_react13.useMemo)(() => {
|
|
14143
14333
|
const next = /* @__PURE__ */ new Set();
|
|
14144
14334
|
for (const id2 of selectedEdgeIds) {
|
|
14145
14335
|
if (canvasState.edges[id2] !== void 0) next.add(id2);
|
|
@@ -14147,7 +14337,7 @@ function CanvasInner(props) {
|
|
|
14147
14337
|
return next;
|
|
14148
14338
|
}, [selectedEdgeIds, canvasState.edges]);
|
|
14149
14339
|
const hasSelection = liveSelectedIds.size > 0 || liveSelectedEdgeIds.size > 0;
|
|
14150
|
-
(0,
|
|
14340
|
+
(0, import_react13.useEffect)(() => {
|
|
14151
14341
|
if (!hasSelection) return;
|
|
14152
14342
|
const release = mapUi.claimEscape("selection");
|
|
14153
14343
|
const onKeyDown = (event) => {
|
|
@@ -14176,7 +14366,7 @@ function CanvasInner(props) {
|
|
|
14176
14366
|
release();
|
|
14177
14367
|
};
|
|
14178
14368
|
});
|
|
14179
|
-
(0,
|
|
14369
|
+
(0, import_react13.useEffect)(() => {
|
|
14180
14370
|
if (!batchMode) return;
|
|
14181
14371
|
const release = mapUi.claimEscape("batch-mode");
|
|
14182
14372
|
const onKeyDown = (event) => {
|
|
@@ -14269,7 +14459,33 @@ function CanvasInner(props) {
|
|
|
14269
14459
|
if (status?.completionUnread === true || finishedById.has(sessionId)) return "done";
|
|
14270
14460
|
return void 0;
|
|
14271
14461
|
};
|
|
14272
|
-
const
|
|
14462
|
+
const statusEntries = (0, import_react13.useMemo)(() => {
|
|
14463
|
+
const rows = [];
|
|
14464
|
+
for (const [cardId, card] of Object.entries(visibleCards)) {
|
|
14465
|
+
if (card.boardId !== INBOX_BOARD_ID) continue;
|
|
14466
|
+
const lamp = glowOf(card.sessionId);
|
|
14467
|
+
if (lamp === void 0) continue;
|
|
14468
|
+
const summary = sessions.byId[card.sessionId];
|
|
14469
|
+
rows.push({
|
|
14470
|
+
cardId,
|
|
14471
|
+
sessionId: card.sessionId,
|
|
14472
|
+
title: renamedTitles[card.sessionId] ?? summary?.displayTitle ?? card.sessionId,
|
|
14473
|
+
lamp,
|
|
14474
|
+
stamp: summary?.updatedAt ?? 0,
|
|
14475
|
+
...summary?.updatedAt !== void 0 ? { updatedAt: summary.updatedAt } : {}
|
|
14476
|
+
});
|
|
14477
|
+
}
|
|
14478
|
+
return rows;
|
|
14479
|
+
}, [visibleCards, sessions, renamedTitles, statusById, alertById, finishedById]);
|
|
14480
|
+
const focusCard = (0, import_react13.useCallback)((cardId) => {
|
|
14481
|
+
const slot = cardLayout[cardId];
|
|
14482
|
+
const card = visibleCards[cardId];
|
|
14483
|
+
const point = slot ?? (card === void 0 ? void 0 : { x: card.x, y: card.y });
|
|
14484
|
+
setSelectedIds([cardId]);
|
|
14485
|
+
if (point === void 0) return;
|
|
14486
|
+
setCenter(point.x + CARD_W / 2, point.y + CARD_H / 2, { zoom: getZoom(), duration: 320 });
|
|
14487
|
+
}, [cardLayout, visibleCards, setCenter, getZoom, setSelectedIds]);
|
|
14488
|
+
const liveNodes = (0, import_react13.useMemo)(() => {
|
|
14273
14489
|
const wsColors = canvasState.global?.wsColors ?? {};
|
|
14274
14490
|
const frameNodes = Object.entries(frameRects).map(([groupId, rect]) => {
|
|
14275
14491
|
const members = membersByGroup.get(groupId) ?? [];
|
|
@@ -14380,7 +14596,7 @@ function CanvasInner(props) {
|
|
|
14380
14596
|
});
|
|
14381
14597
|
return [...frameNodes, ...cardNodes, ...stackNodes];
|
|
14382
14598
|
}, [frameRects, folderLayouts, foldedCards, foldedSet, cardLayout, draggingCardId, membersByGroup, wsTitles, visibleCards, canvasState.digests, canvasState.global, sessions, statusById, alertById, finishedById, interruptedById, draftSessions, previews, pinnedSessions, renamedTitles, renamedWorkspaces, liveSelectedIds, batchMode, batchPicks, locale]);
|
|
14383
|
-
const sessionIdToCardId = (0,
|
|
14599
|
+
const sessionIdToCardId = (0, import_react13.useMemo)(() => {
|
|
14384
14600
|
const index2 = /* @__PURE__ */ new Map();
|
|
14385
14601
|
for (const [cardId, card] of Object.entries(visibleCards)) {
|
|
14386
14602
|
if (!index2.has(card.sessionId)) index2.set(card.sessionId, cardId);
|
|
@@ -14414,8 +14630,8 @@ function CanvasInner(props) {
|
|
|
14414
14630
|
};
|
|
14415
14631
|
const CARD_PAINTED_W = 250;
|
|
14416
14632
|
const CARD_PAINTED_H = 129;
|
|
14417
|
-
const [boardTick, setBoardTick] = (0,
|
|
14418
|
-
(0,
|
|
14633
|
+
const [boardTick, setBoardTick] = (0, import_react13.useState)(0);
|
|
14634
|
+
(0, import_react13.useEffect)(() => {
|
|
14419
14635
|
const timer4 = window.setTimeout(() => setBoardTick((value) => value + 1), 150);
|
|
14420
14636
|
return () => window.clearTimeout(timer4);
|
|
14421
14637
|
}, []);
|
|
@@ -14453,7 +14669,7 @@ function CanvasInner(props) {
|
|
|
14453
14669
|
const picked = sideHandles(fromCardId, toCardId);
|
|
14454
14670
|
return { sourceHandle: picked.fromHandle, targetHandle: picked.toHandle };
|
|
14455
14671
|
};
|
|
14456
|
-
const liveEdges = (0,
|
|
14672
|
+
const liveEdges = (0, import_react13.useMemo)(() => {
|
|
14457
14673
|
const out = [];
|
|
14458
14674
|
const present = new Set(Object.keys(visibleCards).filter((cardId) => !foldedSet.has(cardId)));
|
|
14459
14675
|
const explicitPairs = /* @__PURE__ */ new Set();
|
|
@@ -14557,7 +14773,7 @@ function CanvasInner(props) {
|
|
|
14557
14773
|
}
|
|
14558
14774
|
return out;
|
|
14559
14775
|
}, [visibleCards, canvasState.edges, sessions, sessionIdToCardId, liveSelectedEdgeIds, foldedSet, locale, pushEpoch, lineageHidden, liveNodes, boardTick]);
|
|
14560
|
-
const drawerWireLinks = (0,
|
|
14776
|
+
const drawerWireLinks = (0, import_react13.useMemo)(() => {
|
|
14561
14777
|
if (drawer === null) return [];
|
|
14562
14778
|
const layout = folderLayouts[drawer.groupId];
|
|
14563
14779
|
const inFolder = new Set(layout === void 0 ? [] : [...layout.shown, ...layout.folded]);
|
|
@@ -14687,8 +14903,8 @@ function CanvasInner(props) {
|
|
|
14687
14903
|
}
|
|
14688
14904
|
if (removedIds.length > 0) canvas.removeEdges(removedIds);
|
|
14689
14905
|
};
|
|
14690
|
-
const mountedRef = (0,
|
|
14691
|
-
(0,
|
|
14906
|
+
const mountedRef = (0, import_react13.useRef)(true);
|
|
14907
|
+
(0, import_react13.useEffect)(() => {
|
|
14692
14908
|
mountedRef.current = true;
|
|
14693
14909
|
return () => {
|
|
14694
14910
|
mountedRef.current = false;
|
|
@@ -14844,7 +15060,7 @@ function CanvasInner(props) {
|
|
|
14844
15060
|
agent: hit.agent,
|
|
14845
15061
|
depth: hit.depth
|
|
14846
15062
|
});
|
|
14847
|
-
(0,
|
|
15063
|
+
(0, import_react13.useEffect)(() => {
|
|
14848
15064
|
setTitleResolver((sessionId) => renamedTitles[sessionId] ?? sessions.byId[sessionId]?.displayTitle);
|
|
14849
15065
|
setCardTable(Object.entries(canvasState.cards).map(([cardId, card]) => ({
|
|
14850
15066
|
cardId,
|
|
@@ -14954,11 +15170,11 @@ function CanvasInner(props) {
|
|
|
14954
15170
|
canvas.moveCard(id2, point.x, point.y);
|
|
14955
15171
|
});
|
|
14956
15172
|
};
|
|
14957
|
-
const selectedCardIds = (0,
|
|
15173
|
+
const selectedCardIds = (0, import_react13.useMemo)(
|
|
14958
15174
|
() => [...batchPicks].filter((id2) => visibleCards[id2] !== void 0),
|
|
14959
15175
|
[batchPicks, visibleCards]
|
|
14960
15176
|
);
|
|
14961
|
-
const selectedFrameWs = (0,
|
|
15177
|
+
const selectedFrameWs = (0, import_react13.useMemo)(
|
|
14962
15178
|
() => [...liveSelectedIds].filter((id2) => id2.startsWith("frame-")).map((id2) => id2.slice("frame-".length)),
|
|
14963
15179
|
[liveSelectedIds]
|
|
14964
15180
|
);
|
|
@@ -15095,7 +15311,7 @@ function CanvasInner(props) {
|
|
|
15095
15311
|
view: "root"
|
|
15096
15312
|
});
|
|
15097
15313
|
};
|
|
15098
|
-
const menuState = (0,
|
|
15314
|
+
const menuState = (0, import_react13.useMemo)(() => {
|
|
15099
15315
|
if (menu === null) return null;
|
|
15100
15316
|
const close = () => {
|
|
15101
15317
|
setMenu(null);
|
|
@@ -15367,7 +15583,7 @@ function CanvasInner(props) {
|
|
|
15367
15583
|
}, [menu, workspaces.items, sessions, boardSessionIds, wsFrames, wsTitles, canvasState.cards, canvasState.edges, canvasState.digests, pinnedSessions, locale]);
|
|
15368
15584
|
const savedCamera = canvas.savedCamera(INBOX_BOARD_ID);
|
|
15369
15585
|
const hasContent = Object.keys(visibleCards).length > 0 || Object.keys(wsFrames).length > 0;
|
|
15370
|
-
return /* @__PURE__ */ (0,
|
|
15586
|
+
return /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(
|
|
15371
15587
|
"div",
|
|
15372
15588
|
{
|
|
15373
15589
|
ref: wrapperRef,
|
|
@@ -15391,7 +15607,7 @@ function CanvasInner(props) {
|
|
|
15391
15607
|
if (menu !== null) setMenu(null);
|
|
15392
15608
|
},
|
|
15393
15609
|
children: [
|
|
15394
|
-
/* @__PURE__ */ (0,
|
|
15610
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(
|
|
15395
15611
|
index,
|
|
15396
15612
|
{
|
|
15397
15613
|
nodes,
|
|
@@ -15459,14 +15675,15 @@ function CanvasInner(props) {
|
|
|
15459
15675
|
proOptions: { hideAttribution: true },
|
|
15460
15676
|
...savedCamera !== void 0 ? { defaultViewport: savedCamera } : { fitView: hasContent },
|
|
15461
15677
|
children: [
|
|
15462
|
-
/* @__PURE__ */ (0,
|
|
15463
|
-
/* @__PURE__ */ (0,
|
|
15678
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)(Background, { variant: BackgroundVariant.Dots, gap: GRID, size: 1 }),
|
|
15679
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)(Controls, { showInteractive: false, children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(ControlButton, { title: t("map.zoom100"), onClick: () => {
|
|
15464
15680
|
void zoomTo(1, { duration: 200 });
|
|
15465
|
-
}, children: /* @__PURE__ */ (0,
|
|
15681
|
+
}, children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("span", { className: talk_map_default["zoomResetLabel"], children: "1:1" }) }) })
|
|
15466
15682
|
]
|
|
15467
15683
|
}
|
|
15468
15684
|
),
|
|
15469
|
-
|
|
15685
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)(StatusRail, { entries: statusEntries, onFocus: focusCard }),
|
|
15686
|
+
batchMode ? /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
|
|
15470
15687
|
BatchBar,
|
|
15471
15688
|
{
|
|
15472
15689
|
count: selectedCardIds.length,
|
|
@@ -15483,14 +15700,14 @@ function CanvasInner(props) {
|
|
|
15483
15700
|
}
|
|
15484
15701
|
}
|
|
15485
15702
|
) : null,
|
|
15486
|
-
hasContent ? null : /* @__PURE__ */ (0,
|
|
15487
|
-
menuState !== null ? /* @__PURE__ */ (0,
|
|
15703
|
+
hasContent ? null : /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("div", { className: talk_map_default["emptyHint"], children: t("map.empty") }),
|
|
15704
|
+
menuState !== null ? /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(ContextMenu, { menu: menuState, onClose: () => {
|
|
15488
15705
|
setMenu(null);
|
|
15489
15706
|
} }, menu?.view ?? "root") : null,
|
|
15490
|
-
pendingSpawn !== null ? /* @__PURE__ */ (0,
|
|
15707
|
+
pendingSpawn !== null ? /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(SpawnPreview, { pending: pendingSpawn, onClose: () => {
|
|
15491
15708
|
setPendingSpawn(null);
|
|
15492
15709
|
} }) : null,
|
|
15493
|
-
digestTarget !== null ? /* @__PURE__ */ (0,
|
|
15710
|
+
digestTarget !== null ? /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
|
|
15494
15711
|
DigestDialog,
|
|
15495
15712
|
{
|
|
15496
15713
|
title: digestTarget.title,
|
|
@@ -15500,7 +15717,7 @@ function CanvasInner(props) {
|
|
|
15500
15717
|
}
|
|
15501
15718
|
}
|
|
15502
15719
|
) : null,
|
|
15503
|
-
renameTarget !== null ? /* @__PURE__ */ (0,
|
|
15720
|
+
renameTarget !== null ? /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
|
|
15504
15721
|
RenameDialog,
|
|
15505
15722
|
{
|
|
15506
15723
|
target: renameTarget,
|
|
@@ -15517,7 +15734,7 @@ function CanvasInner(props) {
|
|
|
15517
15734
|
}
|
|
15518
15735
|
}
|
|
15519
15736
|
) : null,
|
|
15520
|
-
drawer !== null ? /* @__PURE__ */ (0,
|
|
15737
|
+
drawer !== null ? /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
|
|
15521
15738
|
StackDrawer,
|
|
15522
15739
|
{
|
|
15523
15740
|
workspaceTitle: renamedWorkspaces[drawer.groupId] ?? wsTitles.get(drawer.groupId) ?? t("frame.unknown"),
|
|
@@ -15542,16 +15759,16 @@ function CanvasInner(props) {
|
|
|
15542
15759
|
onClose: closeDrawer
|
|
15543
15760
|
}
|
|
15544
15761
|
) : null,
|
|
15545
|
-
toast !== null ? /* @__PURE__ */ (0,
|
|
15762
|
+
toast !== null ? /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("div", { className: talk_map_default["toast"], children: toast }) : null
|
|
15546
15763
|
]
|
|
15547
15764
|
}
|
|
15548
15765
|
);
|
|
15549
15766
|
}
|
|
15550
15767
|
function BatchBar(props) {
|
|
15551
|
-
return /* @__PURE__ */ (0,
|
|
15552
|
-
/* @__PURE__ */ (0,
|
|
15553
|
-
/* @__PURE__ */ (0,
|
|
15554
|
-
/* @__PURE__ */ (0,
|
|
15768
|
+
return /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("div", { className: talk_map_default["batchBar"], role: "toolbar", "aria-label": t("batch.title"), children: [
|
|
15769
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)("span", { className: talk_map_default["batchCount"], children: t("batch.count", { n: String(props.count) }) }),
|
|
15770
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)("span", { className: talk_map_default["batchSpace"] }),
|
|
15771
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
|
|
15555
15772
|
"button",
|
|
15556
15773
|
{
|
|
15557
15774
|
type: "button",
|
|
@@ -15561,7 +15778,7 @@ function BatchBar(props) {
|
|
|
15561
15778
|
children: t("batch.archive")
|
|
15562
15779
|
}
|
|
15563
15780
|
),
|
|
15564
|
-
/* @__PURE__ */ (0,
|
|
15781
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
|
|
15565
15782
|
"button",
|
|
15566
15783
|
{
|
|
15567
15784
|
type: "button",
|
|
@@ -15571,7 +15788,7 @@ function BatchBar(props) {
|
|
|
15571
15788
|
children: t("batch.delete")
|
|
15572
15789
|
}
|
|
15573
15790
|
),
|
|
15574
|
-
/* @__PURE__ */ (0,
|
|
15791
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
|
|
15575
15792
|
"button",
|
|
15576
15793
|
{
|
|
15577
15794
|
type: "button",
|
|
@@ -15585,18 +15802,18 @@ function BatchBar(props) {
|
|
|
15585
15802
|
}
|
|
15586
15803
|
var DRAW_LINEAGE_LINKS = true;
|
|
15587
15804
|
function MapCanvas(props) {
|
|
15588
|
-
const canvasState = (0,
|
|
15589
|
-
(0,
|
|
15805
|
+
const canvasState = (0, import_react13.useSyncExternalStore)(canvas.subscribe, canvas.get);
|
|
15806
|
+
(0, import_react13.useEffect)(() => {
|
|
15590
15807
|
canvas.ensureLoaded();
|
|
15591
15808
|
canvas.refresh();
|
|
15592
15809
|
return canvas.connect();
|
|
15593
15810
|
}, []);
|
|
15594
15811
|
if (canvasState.phase === "error") {
|
|
15595
|
-
return /* @__PURE__ */ (0,
|
|
15812
|
+
return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("div", { className: talk_map_default["canvas"], children: /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("div", { className: talk_map_default["emptyHint"], children: [
|
|
15596
15813
|
t("map.loadError"),
|
|
15597
15814
|
" ",
|
|
15598
15815
|
canvasState.error,
|
|
15599
|
-
/* @__PURE__ */ (0,
|
|
15816
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
|
|
15600
15817
|
"button",
|
|
15601
15818
|
{
|
|
15602
15819
|
type: "button",
|
|
@@ -15611,17 +15828,17 @@ function MapCanvas(props) {
|
|
|
15611
15828
|
] }) });
|
|
15612
15829
|
}
|
|
15613
15830
|
if (canvasState.phase !== "ready") {
|
|
15614
|
-
return /* @__PURE__ */ (0,
|
|
15831
|
+
return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("div", { className: talk_map_default["canvas"], children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("div", { className: talk_map_default["emptyHint"], children: t("map.loading") }) });
|
|
15615
15832
|
}
|
|
15616
|
-
return /* @__PURE__ */ (0,
|
|
15833
|
+
return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(ReactFlowProvider, { children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(CanvasInner, { ...props }) });
|
|
15617
15834
|
}
|
|
15618
15835
|
|
|
15619
15836
|
// src/client/MapOverlay.tsx
|
|
15620
|
-
var
|
|
15837
|
+
var import_jsx_runtime17 = require("react/jsx-runtime");
|
|
15621
15838
|
function FontSizeButtons() {
|
|
15622
|
-
const step2 = (0,
|
|
15623
|
-
return /* @__PURE__ */ (0,
|
|
15624
|
-
/* @__PURE__ */ (0,
|
|
15839
|
+
const step2 = (0, import_react15.useSyncExternalStore)(fontScale.subscribe, fontScale.getSnapshot);
|
|
15840
|
+
return /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("div", { className: talk_map_default["fontGroup"], role: "group", "aria-label": t("font.group"), children: [
|
|
15841
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(
|
|
15625
15842
|
"button",
|
|
15626
15843
|
{
|
|
15627
15844
|
type: "button",
|
|
@@ -15633,12 +15850,12 @@ function FontSizeButtons() {
|
|
|
15633
15850
|
fontScale.decrease();
|
|
15634
15851
|
},
|
|
15635
15852
|
children: [
|
|
15636
|
-
/* @__PURE__ */ (0,
|
|
15637
|
-
/* @__PURE__ */ (0,
|
|
15853
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("span", { className: talk_map_default["fontGlyphSmall"], children: "A" }),
|
|
15854
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("span", { className: talk_map_default["fontSign"], children: "−" })
|
|
15638
15855
|
]
|
|
15639
15856
|
}
|
|
15640
15857
|
),
|
|
15641
|
-
/* @__PURE__ */ (0,
|
|
15858
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(
|
|
15642
15859
|
"button",
|
|
15643
15860
|
{
|
|
15644
15861
|
type: "button",
|
|
@@ -15650,12 +15867,12 @@ function FontSizeButtons() {
|
|
|
15650
15867
|
fontScale.increase();
|
|
15651
15868
|
},
|
|
15652
15869
|
children: [
|
|
15653
|
-
/* @__PURE__ */ (0,
|
|
15654
|
-
/* @__PURE__ */ (0,
|
|
15870
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("span", { className: talk_map_default["fontGlyphLarge"], children: "A" }),
|
|
15871
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("span", { className: talk_map_default["fontSign"], children: "+" })
|
|
15655
15872
|
]
|
|
15656
15873
|
}
|
|
15657
15874
|
),
|
|
15658
|
-
/* @__PURE__ */ (0,
|
|
15875
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
15659
15876
|
"button",
|
|
15660
15877
|
{
|
|
15661
15878
|
type: "button",
|
|
@@ -15672,15 +15889,15 @@ function FontSizeButtons() {
|
|
|
15672
15889
|
] });
|
|
15673
15890
|
}
|
|
15674
15891
|
function BackIcon() {
|
|
15675
|
-
return /* @__PURE__ */ (0,
|
|
15892
|
+
return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("svg", { width: "18", height: "18", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("path", { d: "M15 5l-7 7 7 7" }) });
|
|
15676
15893
|
}
|
|
15677
15894
|
function CloseIcon() {
|
|
15678
|
-
return /* @__PURE__ */ (0,
|
|
15895
|
+
return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("svg", { width: "18", height: "18", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", "aria-hidden": "true", children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("path", { d: "M6 6l12 12M18 6L6 18" }) });
|
|
15679
15896
|
}
|
|
15680
15897
|
function MapOverlay(props) {
|
|
15681
|
-
(0,
|
|
15682
|
-
const fontStep = (0,
|
|
15683
|
-
(0,
|
|
15898
|
+
(0, import_react15.useSyncExternalStore)(subscribeLocale, activeLocale, activeLocale);
|
|
15899
|
+
const fontStep = (0, import_react15.useSyncExternalStore)(fontScale.subscribe, fontScale.getSnapshot);
|
|
15900
|
+
(0, import_react15.useEffect)(() => {
|
|
15684
15901
|
mapUi.setOpen(true);
|
|
15685
15902
|
hideSidebarForMap();
|
|
15686
15903
|
return () => {
|
|
@@ -15688,7 +15905,7 @@ function MapOverlay(props) {
|
|
|
15688
15905
|
restoreSidebarAfterMap();
|
|
15689
15906
|
};
|
|
15690
15907
|
}, []);
|
|
15691
|
-
(0,
|
|
15908
|
+
(0, import_react15.useEffect)(() => {
|
|
15692
15909
|
const onKeyDown = (event) => {
|
|
15693
15910
|
if (event.key !== "Escape") return;
|
|
15694
15911
|
if (mapUi.escapeClaimed()) return;
|
|
@@ -15700,7 +15917,7 @@ function MapOverlay(props) {
|
|
|
15700
15917
|
window.removeEventListener("keydown", onKeyDown, { capture: true });
|
|
15701
15918
|
};
|
|
15702
15919
|
}, []);
|
|
15703
|
-
return /* @__PURE__ */ (0,
|
|
15920
|
+
return /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(
|
|
15704
15921
|
"div",
|
|
15705
15922
|
{
|
|
15706
15923
|
className: talk_map_default["panel"],
|
|
@@ -15709,8 +15926,8 @@ function MapOverlay(props) {
|
|
|
15709
15926
|
"aria-label": t("map.title"),
|
|
15710
15927
|
style: { "--tm-font-step": `${fontStep}px` },
|
|
15711
15928
|
children: [
|
|
15712
|
-
/* @__PURE__ */ (0,
|
|
15713
|
-
/* @__PURE__ */ (0,
|
|
15929
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("div", { className: talk_map_default["header"], children: [
|
|
15930
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(
|
|
15714
15931
|
"button",
|
|
15715
15932
|
{
|
|
15716
15933
|
type: "button",
|
|
@@ -15719,17 +15936,17 @@ function MapOverlay(props) {
|
|
|
15719
15936
|
"aria-label": t("map.back"),
|
|
15720
15937
|
onClick: closeMapPanel,
|
|
15721
15938
|
children: [
|
|
15722
|
-
/* @__PURE__ */ (0,
|
|
15723
|
-
/* @__PURE__ */ (0,
|
|
15939
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(BackIcon, {}),
|
|
15940
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("span", { children: t("map.back") })
|
|
15724
15941
|
]
|
|
15725
15942
|
}
|
|
15726
15943
|
),
|
|
15727
|
-
/* @__PURE__ */ (0,
|
|
15728
|
-
/* @__PURE__ */ (0,
|
|
15944
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("span", { className: talk_map_default["headerSpace"] }),
|
|
15945
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(GlobalSearch, { onOpenSession: (sessionId) => {
|
|
15729
15946
|
openSessionInUi(sessionId);
|
|
15730
15947
|
} }),
|
|
15731
|
-
/* @__PURE__ */ (0,
|
|
15732
|
-
/* @__PURE__ */ (0,
|
|
15948
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(FontSizeButtons, {}),
|
|
15949
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
15733
15950
|
"button",
|
|
15734
15951
|
{
|
|
15735
15952
|
type: "button",
|
|
@@ -15737,36 +15954,36 @@ function MapOverlay(props) {
|
|
|
15737
15954
|
title: t("map.close"),
|
|
15738
15955
|
"aria-label": t("map.close"),
|
|
15739
15956
|
onClick: closeMapPanel,
|
|
15740
|
-
children: /* @__PURE__ */ (0,
|
|
15957
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(CloseIcon, {})
|
|
15741
15958
|
}
|
|
15742
15959
|
)
|
|
15743
15960
|
] }),
|
|
15744
|
-
/* @__PURE__ */ (0,
|
|
15961
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(MapCanvas, { ...props })
|
|
15745
15962
|
]
|
|
15746
15963
|
}
|
|
15747
15964
|
);
|
|
15748
15965
|
}
|
|
15749
15966
|
|
|
15750
15967
|
// src/client/MapToggleButton.tsx
|
|
15751
|
-
var
|
|
15752
|
-
var
|
|
15968
|
+
var import_react16 = require("react");
|
|
15969
|
+
var import_jsx_runtime18 = require("react/jsx-runtime");
|
|
15753
15970
|
function MapIcon() {
|
|
15754
|
-
return /* @__PURE__ */ (0,
|
|
15755
|
-
/* @__PURE__ */ (0,
|
|
15756
|
-
/* @__PURE__ */ (0,
|
|
15757
|
-
/* @__PURE__ */ (0,
|
|
15971
|
+
return /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("svg", { className: talk_map_default["toggleIcon"], viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.8", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
15972
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("path", { d: "M9 4 3.5 6v14L9 18l6 2 5.5-2V4L15 6 9 4Z" }),
|
|
15973
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("path", { d: "M9 4v14" }),
|
|
15974
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("path", { d: "M15 6v14" })
|
|
15758
15975
|
] });
|
|
15759
15976
|
}
|
|
15760
15977
|
function MapToggleButton(props) {
|
|
15761
|
-
const open = (0,
|
|
15762
|
-
const locale = (0,
|
|
15978
|
+
const open = (0, import_react16.useSyncExternalStore)(mapUi.subscribe, () => mapUi.get().open);
|
|
15979
|
+
const locale = (0, import_react16.useSyncExternalStore)(subscribeLocale, activeLocale, activeLocale);
|
|
15763
15980
|
const wide = props.wide;
|
|
15764
|
-
(0,
|
|
15981
|
+
(0, import_react16.useEffect)(() => {
|
|
15765
15982
|
reportSidebarWide(wide);
|
|
15766
15983
|
}, [wide]);
|
|
15767
15984
|
const classNames = [wide ? talk_map_default["toggleRow"] : talk_map_default["toggleButton"]];
|
|
15768
15985
|
if (open) classNames.push(talk_map_default["toggleButtonActive"]);
|
|
15769
|
-
return /* @__PURE__ */ (0,
|
|
15986
|
+
return /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(
|
|
15770
15987
|
"button",
|
|
15771
15988
|
{
|
|
15772
15989
|
type: "button",
|
|
@@ -15779,8 +15996,8 @@ function MapToggleButton(props) {
|
|
|
15779
15996
|
mapUi.toggle();
|
|
15780
15997
|
},
|
|
15781
15998
|
children: [
|
|
15782
|
-
/* @__PURE__ */ (0,
|
|
15783
|
-
wide ? /* @__PURE__ */ (0,
|
|
15999
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)(MapIcon, {}),
|
|
16000
|
+
wide ? /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("span", { className: talk_map_default["toggleLabel"], children: t("map.toggle") }) : null
|
|
15784
16001
|
]
|
|
15785
16002
|
}
|
|
15786
16003
|
);
|