agentation 2.3.1 → 2.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +577 -578
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +560 -561
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
|
|
3
3
|
// src/components/page-toolbar-css/index.tsx
|
|
4
|
-
import { useState as
|
|
5
|
-
import { createPortal } from "react-dom";
|
|
4
|
+
import { useState as useState3, useCallback as useCallback2, useEffect as useEffect3, useRef as useRef3 } from "react";
|
|
5
|
+
import { createPortal as createPortal2 } from "react-dom";
|
|
6
6
|
|
|
7
7
|
// src/components/annotation-popup-css/index.tsx
|
|
8
8
|
import { useState, useRef, useEffect, useCallback, forwardRef, useImperativeHandle } from "react";
|
|
9
9
|
|
|
10
10
|
// src/components/annotation-popup-css/styles.module.scss
|
|
11
|
-
var css = 'svg[fill=none] {\n fill: none !important;\n}\n\n@keyframes styles-module__popupEnter___AuQDN {\n from {\n opacity: 0;\n transform: translateX(-50%) scale(0.95) translateY(4px);\n }\n to {\n opacity: 1;\n transform: translateX(-50%) scale(1) translateY(0);\n }\n}\n@keyframes styles-module__popupExit___JJKQX {\n from {\n opacity: 1;\n transform: translateX(-50%) scale(1) translateY(0);\n }\n to {\n opacity: 0;\n transform: translateX(-50%) scale(0.95) translateY(4px);\n }\n}\n@keyframes styles-module__shake___jdbWe {\n 0%, 100% {\n transform: translateX(-50%) scale(1) translateY(0) translateX(0);\n }\n 20% {\n transform: translateX(-50%) scale(1) translateY(0) translateX(-3px);\n }\n 40% {\n transform: translateX(-50%) scale(1) translateY(0) translateX(3px);\n }\n 60% {\n transform: translateX(-50%) scale(1) translateY(0) translateX(-2px);\n }\n 80% {\n transform: translateX(-50%) scale(1) translateY(0) translateX(2px);\n }\n}\n.styles-module__popup___IhzrD {\n position: fixed;\n transform: translateX(-50%);\n width: 280px;\n padding: 0.75rem 1rem 14px;\n background: #1a1a1a;\n border-radius: 16px;\n box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.08);\n cursor: default;\n z-index: 100001;\n font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;\n will-change: transform, opacity;\n opacity: 0;\n}\n.styles-module__popup___IhzrD.styles-module__enter___L7U7N {\n animation: styles-module__popupEnter___AuQDN 0.2s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;\n}\n.styles-module__popup___IhzrD.styles-module__entered___COX-w {\n opacity: 1;\n transform: translateX(-50%) scale(1) translateY(0);\n}\n.styles-module__popup___IhzrD.styles-module__exit___5eGjE {\n animation: styles-module__popupExit___JJKQX 0.15s ease-in forwards;\n}\n.styles-module__popup___IhzrD.styles-module__entered___COX-w.styles-module__shake___jdbWe {\n animation: styles-module__shake___jdbWe 0.25s ease-out;\n}\n\n.styles-module__header___wWsSi {\n display: flex;\n align-items: center;\n justify-content: space-between;\n margin-bottom: 0.5625rem;\n}\n\n.styles-module__element___fTV2z {\n font-size: 0.75rem;\n font-weight: 400;\n color: rgba(255, 255, 255, 0.5);\n max-width: 100%;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n flex: 1;\n}\n\n.styles-module__headerToggle___WpW0b {\n display: flex;\n align-items: center;\n gap: 0.25rem;\n background: none;\n border: none;\n padding: 0;\n cursor: pointer;\n flex: 1;\n min-width: 0;\n text-align: left;\n}\n.styles-module__headerToggle___WpW0b .styles-module__element___fTV2z {\n flex: 1;\n}\n\n.styles-module__chevron___ZZJlR {\n color: rgba(255, 255, 255, 0.5);\n transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);\n flex-shrink: 0;\n}\n.styles-module__chevron___ZZJlR.styles-module__expanded___2Hxgv {\n transform: rotate(90deg);\n}\n\n.styles-module__stylesWrapper___pnHgy {\n display: grid;\n grid-template-rows: 0fr;\n transition: grid-template-rows 0.3s cubic-bezier(0.16, 1, 0.3, 1);\n}\n.styles-module__stylesWrapper___pnHgy.styles-module__expanded___2Hxgv {\n grid-template-rows: 1fr;\n}\n\n.styles-module__stylesInner___YYZe2 {\n overflow: hidden;\n}\n\n.styles-module__stylesBlock___VfQKn {\n background: rgba(255, 255, 255, 0.05);\n border-radius: 0.375rem;\n padding: 0.5rem 0.625rem;\n margin-bottom: 0.5rem;\n font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;\n font-size: 0.6875rem;\n line-height: 1.5;\n}\n\n.styles-module__styleLine___1YQiD {\n color: rgba(255, 255, 255, 0.85);\n word-break: break-word;\n}\n\n.styles-module__styleProperty___84L1i {\n color: #c792ea;\n}\n\n.styles-module__styleValue___q51-h {\n color: rgba(255, 255, 255, 0.85);\n}\n\n.styles-module__timestamp___Dtpsv {\n font-size: 0.625rem;\n font-weight: 500;\n color: rgba(255, 255, 255, 0.35);\n font-variant-numeric: tabular-nums;\n margin-left: 0.5rem;\n flex-shrink: 0;\n}\n\n.styles-module__quote___mcMmQ {\n font-size: 12px;\n font-style: italic;\n color: rgba(255, 255, 255, 0.6);\n margin-bottom: 0.5rem;\n padding: 0.4rem 0.5rem;\n background: rgba(255, 255, 255, 0.05);\n border-radius: 0.25rem;\n line-height: 1.45;\n}\n\n.styles-module__textarea___jrSae {\n width: 100%;\n padding: 0.5rem 0.625rem;\n font-size: 0.8125rem;\n font-family: inherit;\n background: rgba(255, 255, 255, 0.05);\n color: #fff;\n border: 1px solid rgba(255, 255, 255, 0.15);\n border-radius: 8px;\n resize: none;\n outline: none;\n transition: border-color 0.15s ease;\n}\n.styles-module__textarea___jrSae:focus {\n border-color:
|
|
11
|
+
var css = '.styles-module__popup___IhzrD svg[fill=none] {\n fill: none !important;\n}\n.styles-module__popup___IhzrD svg[fill=none] :not([fill]) {\n fill: none !important;\n}\n\n@keyframes styles-module__popupEnter___AuQDN {\n from {\n opacity: 0;\n transform: translateX(-50%) scale(0.95) translateY(4px);\n }\n to {\n opacity: 1;\n transform: translateX(-50%) scale(1) translateY(0);\n }\n}\n@keyframes styles-module__popupExit___JJKQX {\n from {\n opacity: 1;\n transform: translateX(-50%) scale(1) translateY(0);\n }\n to {\n opacity: 0;\n transform: translateX(-50%) scale(0.95) translateY(4px);\n }\n}\n@keyframes styles-module__shake___jdbWe {\n 0%, 100% {\n transform: translateX(-50%) scale(1) translateY(0) translateX(0);\n }\n 20% {\n transform: translateX(-50%) scale(1) translateY(0) translateX(-3px);\n }\n 40% {\n transform: translateX(-50%) scale(1) translateY(0) translateX(3px);\n }\n 60% {\n transform: translateX(-50%) scale(1) translateY(0) translateX(-2px);\n }\n 80% {\n transform: translateX(-50%) scale(1) translateY(0) translateX(2px);\n }\n}\n.styles-module__popup___IhzrD {\n position: fixed;\n transform: translateX(-50%);\n width: 280px;\n padding: 0.75rem 1rem 14px;\n background: #1a1a1a;\n border-radius: 16px;\n box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.08);\n cursor: default;\n z-index: 100001;\n font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;\n will-change: transform, opacity;\n opacity: 0;\n}\n.styles-module__popup___IhzrD.styles-module__enter___L7U7N {\n animation: styles-module__popupEnter___AuQDN 0.2s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;\n}\n.styles-module__popup___IhzrD.styles-module__entered___COX-w {\n opacity: 1;\n transform: translateX(-50%) scale(1) translateY(0);\n}\n.styles-module__popup___IhzrD.styles-module__exit___5eGjE {\n animation: styles-module__popupExit___JJKQX 0.15s ease-in forwards;\n}\n.styles-module__popup___IhzrD.styles-module__entered___COX-w.styles-module__shake___jdbWe {\n animation: styles-module__shake___jdbWe 0.25s ease-out;\n}\n\n.styles-module__header___wWsSi {\n display: flex;\n align-items: center;\n justify-content: space-between;\n margin-bottom: 0.5625rem;\n}\n\n.styles-module__element___fTV2z {\n font-size: 0.75rem;\n font-weight: 400;\n color: rgba(255, 255, 255, 0.5);\n max-width: 100%;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n flex: 1;\n}\n\n.styles-module__headerToggle___WpW0b {\n display: flex;\n align-items: center;\n gap: 0.25rem;\n background: none;\n border: none;\n padding: 0;\n cursor: pointer;\n flex: 1;\n min-width: 0;\n text-align: left;\n}\n.styles-module__headerToggle___WpW0b .styles-module__element___fTV2z {\n flex: 1;\n}\n\n.styles-module__chevron___ZZJlR {\n color: rgba(255, 255, 255, 0.5);\n transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);\n flex-shrink: 0;\n}\n.styles-module__chevron___ZZJlR.styles-module__expanded___2Hxgv {\n transform: rotate(90deg);\n}\n\n.styles-module__stylesWrapper___pnHgy {\n display: grid;\n grid-template-rows: 0fr;\n transition: grid-template-rows 0.3s cubic-bezier(0.16, 1, 0.3, 1);\n}\n.styles-module__stylesWrapper___pnHgy.styles-module__expanded___2Hxgv {\n grid-template-rows: 1fr;\n}\n\n.styles-module__stylesInner___YYZe2 {\n overflow: hidden;\n}\n\n.styles-module__stylesBlock___VfQKn {\n background: rgba(255, 255, 255, 0.05);\n border-radius: 0.375rem;\n padding: 0.5rem 0.625rem;\n margin-bottom: 0.5rem;\n font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;\n font-size: 0.6875rem;\n line-height: 1.5;\n}\n\n.styles-module__styleLine___1YQiD {\n color: rgba(255, 255, 255, 0.85);\n word-break: break-word;\n}\n\n.styles-module__styleProperty___84L1i {\n color: #c792ea;\n}\n\n.styles-module__styleValue___q51-h {\n color: rgba(255, 255, 255, 0.85);\n}\n\n.styles-module__timestamp___Dtpsv {\n font-size: 0.625rem;\n font-weight: 500;\n color: rgba(255, 255, 255, 0.35);\n font-variant-numeric: tabular-nums;\n margin-left: 0.5rem;\n flex-shrink: 0;\n}\n\n.styles-module__quote___mcMmQ {\n font-size: 12px;\n font-style: italic;\n color: rgba(255, 255, 255, 0.6);\n margin-bottom: 0.5rem;\n padding: 0.4rem 0.5rem;\n background: rgba(255, 255, 255, 0.05);\n border-radius: 0.25rem;\n line-height: 1.45;\n}\n\n.styles-module__textarea___jrSae {\n width: 100%;\n padding: 0.5rem 0.625rem;\n font-size: 0.8125rem;\n font-family: inherit;\n background: rgba(255, 255, 255, 0.05);\n color: #fff;\n border: 1px solid rgba(255, 255, 255, 0.15);\n border-radius: 8px;\n resize: none;\n outline: none;\n transition: border-color 0.15s ease;\n}\n.styles-module__textarea___jrSae:focus {\n border-color: var(--agentation-color-blue);\n}\n.styles-module__textarea___jrSae.styles-module__green___99l3h:focus {\n border-color: var(--agentation-color-green);\n}\n.styles-module__textarea___jrSae::placeholder {\n color: rgba(255, 255, 255, 0.35);\n}\n.styles-module__textarea___jrSae::-webkit-scrollbar {\n width: 6px;\n}\n.styles-module__textarea___jrSae::-webkit-scrollbar-track {\n background: transparent;\n}\n.styles-module__textarea___jrSae::-webkit-scrollbar-thumb {\n background: rgba(255, 255, 255, 0.2);\n border-radius: 3px;\n}\n\n.styles-module__actions___D6x3f {\n display: flex;\n justify-content: flex-end;\n gap: 0.375rem;\n margin-top: 0.5rem;\n}\n\n.styles-module__cancel___hRjnL,\n.styles-module__submit___K-mIR {\n padding: 0.4rem 0.875rem;\n font-size: 0.75rem;\n font-weight: 500;\n border-radius: 1rem;\n border: none;\n cursor: pointer;\n transition: background-color 0.15s ease, color 0.15s ease, opacity 0.15s ease;\n}\n\n.styles-module__cancel___hRjnL {\n background: transparent;\n color: rgba(255, 255, 255, 0.5);\n}\n.styles-module__cancel___hRjnL:hover {\n background: rgba(255, 255, 255, 0.1);\n color: rgba(255, 255, 255, 0.8);\n}\n\n.styles-module__submit___K-mIR {\n color: white;\n}\n.styles-module__submit___K-mIR:hover:not(:disabled) {\n filter: brightness(0.9);\n}\n.styles-module__submit___K-mIR:disabled {\n cursor: not-allowed;\n}\n\n.styles-module__deleteWrapper___oSjdo {\n margin-right: auto;\n}\n\n.styles-module__deleteButton___4VuAE {\n cursor: pointer;\n display: flex;\n align-items: center;\n justify-content: center;\n width: 28px;\n height: 28px;\n border-radius: 50%;\n border: none;\n background: transparent;\n color: rgba(255, 255, 255, 0.4);\n transition: background-color 0.15s ease, color 0.15s ease, transform 0.1s ease;\n}\n.styles-module__deleteButton___4VuAE:hover {\n background-color: color-mix(in srgb, var(--agentation-color-red) 25%, transparent);\n color: var(--agentation-color-red);\n}\n.styles-module__deleteButton___4VuAE:active {\n transform: scale(0.92);\n}\n\n.styles-module__light___6AaSQ.styles-module__popup___IhzrD {\n background: #fff;\n box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.06);\n}\n.styles-module__light___6AaSQ .styles-module__element___fTV2z {\n color: rgba(0, 0, 0, 0.6);\n}\n.styles-module__light___6AaSQ .styles-module__timestamp___Dtpsv {\n color: rgba(0, 0, 0, 0.4);\n}\n.styles-module__light___6AaSQ .styles-module__chevron___ZZJlR {\n color: rgba(0, 0, 0, 0.4);\n}\n.styles-module__light___6AaSQ .styles-module__stylesBlock___VfQKn {\n background: rgba(0, 0, 0, 0.03);\n}\n.styles-module__light___6AaSQ .styles-module__styleLine___1YQiD {\n color: rgba(0, 0, 0, 0.75);\n}\n.styles-module__light___6AaSQ .styles-module__styleProperty___84L1i {\n color: #7c3aed;\n}\n.styles-module__light___6AaSQ .styles-module__styleValue___q51-h {\n color: rgba(0, 0, 0, 0.75);\n}\n.styles-module__light___6AaSQ .styles-module__quote___mcMmQ {\n color: rgba(0, 0, 0, 0.55);\n background: rgba(0, 0, 0, 0.04);\n}\n.styles-module__light___6AaSQ .styles-module__textarea___jrSae {\n background: rgba(0, 0, 0, 0.03);\n color: #1a1a1a;\n border-color: rgba(0, 0, 0, 0.12);\n}\n.styles-module__light___6AaSQ .styles-module__textarea___jrSae::placeholder {\n color: rgba(0, 0, 0, 0.4);\n}\n.styles-module__light___6AaSQ .styles-module__textarea___jrSae::-webkit-scrollbar-thumb {\n background: rgba(0, 0, 0, 0.15);\n}\n.styles-module__light___6AaSQ .styles-module__cancel___hRjnL {\n color: rgba(0, 0, 0, 0.5);\n}\n.styles-module__light___6AaSQ .styles-module__cancel___hRjnL:hover {\n background: rgba(0, 0, 0, 0.06);\n color: rgba(0, 0, 0, 0.75);\n}\n.styles-module__light___6AaSQ .styles-module__deleteButton___4VuAE {\n color: rgba(0, 0, 0, 0.4);\n}\n.styles-module__light___6AaSQ .styles-module__deleteButton___4VuAE:hover {\n background-color: color-mix(in srgb, var(--agentation-color-red) 25%, transparent);\n color: var(--agentation-color-red);\n}';
|
|
12
12
|
var classNames = { "popup": "styles-module__popup___IhzrD", "enter": "styles-module__enter___L7U7N", "popupEnter": "styles-module__popupEnter___AuQDN", "entered": "styles-module__entered___COX-w", "exit": "styles-module__exit___5eGjE", "popupExit": "styles-module__popupExit___JJKQX", "shake": "styles-module__shake___jdbWe", "header": "styles-module__header___wWsSi", "element": "styles-module__element___fTV2z", "headerToggle": "styles-module__headerToggle___WpW0b", "chevron": "styles-module__chevron___ZZJlR", "expanded": "styles-module__expanded___2Hxgv", "stylesWrapper": "styles-module__stylesWrapper___pnHgy", "stylesInner": "styles-module__stylesInner___YYZe2", "stylesBlock": "styles-module__stylesBlock___VfQKn", "styleLine": "styles-module__styleLine___1YQiD", "styleProperty": "styles-module__styleProperty___84L1i", "styleValue": "styles-module__styleValue___q51-h", "timestamp": "styles-module__timestamp___Dtpsv", "quote": "styles-module__quote___mcMmQ", "textarea": "styles-module__textarea___jrSae", "green": "styles-module__green___99l3h", "actions": "styles-module__actions___D6x3f", "cancel": "styles-module__cancel___hRjnL", "submit": "styles-module__submit___K-mIR", "deleteWrapper": "styles-module__deleteWrapper___oSjdo", "deleteButton": "styles-module__deleteButton___4VuAE", "light": "styles-module__light___6AaSQ" };
|
|
13
13
|
if (typeof document !== "undefined") {
|
|
14
14
|
let style = document.getElementById("feedback-tool-styles-annotation-popup-css-styles");
|
|
@@ -21,6 +21,20 @@ if (typeof document !== "undefined") {
|
|
|
21
21
|
}
|
|
22
22
|
var styles_module_default = classNames;
|
|
23
23
|
|
|
24
|
+
// src/components/icon-transitions.module.scss
|
|
25
|
+
var css2 = ".icon-transitions-module__iconState___uqK9J {\n transition: opacity 0.2s ease, transform 0.2s ease;\n transform-origin: center;\n}\n\n.icon-transitions-module__iconStateFast___HxlMm {\n transition: opacity 0.15s ease, transform 0.15s ease;\n transform-origin: center;\n}\n\n.icon-transitions-module__iconFade___nPwXg {\n transition: opacity 0.2s ease;\n}\n\n.icon-transitions-module__iconFadeFast___Ofb2t {\n transition: opacity 0.15s ease;\n}\n\n.icon-transitions-module__visible___PlHsU {\n opacity: 1 !important;\n}\n\n.icon-transitions-module__visibleScaled___8Qog- {\n opacity: 1 !important;\n transform: scale(1);\n}\n\n.icon-transitions-module__hidden___ETykt {\n opacity: 0 !important;\n}\n\n.icon-transitions-module__hiddenScaled___JXn-m {\n opacity: 0 !important;\n transform: scale(0.8);\n}\n\n.icon-transitions-module__sending___uaLN- {\n opacity: 0.5 !important;\n transform: scale(0.8);\n}";
|
|
26
|
+
var classNames2 = { "iconState": "icon-transitions-module__iconState___uqK9J", "iconStateFast": "icon-transitions-module__iconStateFast___HxlMm", "iconFade": "icon-transitions-module__iconFade___nPwXg", "iconFadeFast": "icon-transitions-module__iconFadeFast___Ofb2t", "visible": "icon-transitions-module__visible___PlHsU", "visibleScaled": "icon-transitions-module__visibleScaled___8Qog-", "hidden": "icon-transitions-module__hidden___ETykt", "hiddenScaled": "icon-transitions-module__hiddenScaled___JXn-m", "sending": "icon-transitions-module__sending___uaLN-" };
|
|
27
|
+
if (typeof document !== "undefined") {
|
|
28
|
+
let style = document.getElementById("feedback-tool-styles-components-icon-transitions");
|
|
29
|
+
if (!style) {
|
|
30
|
+
style = document.createElement("style");
|
|
31
|
+
style.id = "feedback-tool-styles-components-icon-transitions";
|
|
32
|
+
style.textContent = css2;
|
|
33
|
+
document.head.appendChild(style);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
var icon_transitions_module_default = classNames2;
|
|
37
|
+
|
|
24
38
|
// src/components/icons.tsx
|
|
25
39
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
26
40
|
var IconClose = ({ size = 16 }) => /* @__PURE__ */ jsx("svg", { width: size, height: size, viewBox: "0 0 16 16", fill: "none", children: /* @__PURE__ */ jsx(
|
|
@@ -108,28 +122,10 @@ var IconListSparkle = ({
|
|
|
108
122
|
] }),
|
|
109
123
|
/* @__PURE__ */ jsx("defs", { children: /* @__PURE__ */ jsx("clipPath", { id: "clip0_list_sparkle", children: /* @__PURE__ */ jsx("rect", { width: "24", height: "24", fill: "white" }) }) })
|
|
110
124
|
] });
|
|
111
|
-
var IconHelp = ({ size = 20 }) => /* @__PURE__ */ jsxs("svg", { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: [
|
|
112
|
-
/* @__PURE__ */ jsx(
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
cx: "10",
|
|
116
|
-
cy: "10.5",
|
|
117
|
-
r: "5.25",
|
|
118
|
-
stroke: "currentColor",
|
|
119
|
-
strokeWidth: "1.25"
|
|
120
|
-
}
|
|
121
|
-
),
|
|
122
|
-
/* @__PURE__ */ jsx(
|
|
123
|
-
"path",
|
|
124
|
-
{
|
|
125
|
-
d: "M8.5 8.75C8.5 7.92 9.17 7.25 10 7.25C10.83 7.25 11.5 7.92 11.5 8.75C11.5 9.58 10.83 10.25 10 10.25V11",
|
|
126
|
-
stroke: "currentColor",
|
|
127
|
-
strokeWidth: "1.25",
|
|
128
|
-
strokeLinecap: "round",
|
|
129
|
-
strokeLinejoin: "round"
|
|
130
|
-
}
|
|
131
|
-
),
|
|
132
|
-
/* @__PURE__ */ jsx("circle", { cx: "10", cy: "13", r: "0.75", fill: "currentColor" })
|
|
125
|
+
var IconHelp = ({ size = 20, ...props }) => /* @__PURE__ */ jsxs("svg", { width: size, height: size, viewBox: "0 0 20 20", fill: "none", ...props, children: [
|
|
126
|
+
/* @__PURE__ */ jsx("circle", { cx: "10", cy: "10", r: "6", stroke: "currentColor", strokeWidth: "1.25" }),
|
|
127
|
+
/* @__PURE__ */ jsx("path", { d: "M8.24 8.19C8.38 7.78 8.66 7.44 9.03 7.23C9.4 7.01 9.84 6.93 10.26 7C10.68 7.07 11.06 7.29 11.34 7.62C11.61 7.95 11.76 8.36 11.76 8.79152C11.76 10 10 10.6 10 10.6V10.83", stroke: "currentColor", strokeWidth: "1.25", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
128
|
+
/* @__PURE__ */ jsx("circle", { cx: "10", cy: "13", r: "0.625", fill: "currentColor" })
|
|
133
129
|
] });
|
|
134
130
|
var IconCheckSmallAnimated = ({ size = 14 }) => /* @__PURE__ */ jsxs("svg", { width: size, height: size, viewBox: "0 0 14 14", fill: "none", children: [
|
|
135
131
|
/* @__PURE__ */ jsx("style", { children: `
|
|
@@ -196,12 +192,7 @@ var IconCopyAlt = ({ size = 16 }) => /* @__PURE__ */ jsxs("svg", { width: size,
|
|
|
196
192
|
)
|
|
197
193
|
] });
|
|
198
194
|
var IconCopyAnimated = ({ size = 24, copied = false }) => /* @__PURE__ */ jsxs("svg", { width: size, height: size, viewBox: "0 0 24 24", fill: "none", children: [
|
|
199
|
-
/* @__PURE__ */
|
|
200
|
-
.copy-icon, .check-icon {
|
|
201
|
-
transition: opacity 0.2s ease, transform 0.2s ease;
|
|
202
|
-
}
|
|
203
|
-
` }),
|
|
204
|
-
/* @__PURE__ */ jsxs("g", { className: "copy-icon", style: { opacity: copied ? 0 : 1, transform: copied ? "scale(0.8)" : "scale(1)", transformOrigin: "center" }, children: [
|
|
195
|
+
/* @__PURE__ */ jsxs("g", { className: `${icon_transitions_module_default.iconState} ${copied ? icon_transitions_module_default.hiddenScaled : icon_transitions_module_default.visibleScaled}`, children: [
|
|
205
196
|
/* @__PURE__ */ jsx(
|
|
206
197
|
"path",
|
|
207
198
|
{
|
|
@@ -220,12 +211,12 @@ var IconCopyAnimated = ({ size = 24, copied = false }) => /* @__PURE__ */ jsxs("
|
|
|
220
211
|
}
|
|
221
212
|
)
|
|
222
213
|
] }),
|
|
223
|
-
/* @__PURE__ */ jsxs("g", { className:
|
|
214
|
+
/* @__PURE__ */ jsxs("g", { className: `${icon_transitions_module_default.iconState} ${copied ? icon_transitions_module_default.visibleScaled : icon_transitions_module_default.hiddenScaled}`, children: [
|
|
224
215
|
/* @__PURE__ */ jsx(
|
|
225
216
|
"path",
|
|
226
217
|
{
|
|
227
218
|
d: "M12 20C7.58172 20 4 16.4182 4 12C4 7.58172 7.58172 4 12 4C16.4182 4 20 7.58172 20 12C20 16.4182 16.4182 20 12 20Z",
|
|
228
|
-
stroke: "
|
|
219
|
+
stroke: "var(--agentation-color-green)",
|
|
229
220
|
strokeWidth: "1.5",
|
|
230
221
|
strokeLinecap: "round",
|
|
231
222
|
strokeLinejoin: "round"
|
|
@@ -235,7 +226,7 @@ var IconCopyAnimated = ({ size = 24, copied = false }) => /* @__PURE__ */ jsxs("
|
|
|
235
226
|
"path",
|
|
236
227
|
{
|
|
237
228
|
d: "M15 10L11 14.25L9.25 12.25",
|
|
238
|
-
stroke: "
|
|
229
|
+
stroke: "var(--agentation-color-green)",
|
|
239
230
|
strokeWidth: "1.5",
|
|
240
231
|
strokeLinecap: "round",
|
|
241
232
|
strokeLinejoin: "round"
|
|
@@ -252,16 +243,7 @@ var IconSendArrow = ({
|
|
|
252
243
|
const showError = state === "failed";
|
|
253
244
|
const isSending = state === "sending";
|
|
254
245
|
return /* @__PURE__ */ jsxs("svg", { width: size, height: size, viewBox: "0 0 24 24", fill: "none", children: [
|
|
255
|
-
/* @__PURE__ */ jsx("
|
|
256
|
-
.send-arrow-icon, .send-check-icon, .send-error-icon {
|
|
257
|
-
transition: opacity 0.15s ease, transform 0.15s ease;
|
|
258
|
-
}
|
|
259
|
-
` }),
|
|
260
|
-
/* @__PURE__ */ jsx("g", { className: "send-arrow-icon", style: {
|
|
261
|
-
opacity: showArrow ? 1 : isSending ? 0.5 : 0,
|
|
262
|
-
transform: showArrow ? "scale(1)" : "scale(0.8)",
|
|
263
|
-
transformOrigin: "center"
|
|
264
|
-
}, children: /* @__PURE__ */ jsx(
|
|
246
|
+
/* @__PURE__ */ jsx("g", { className: `${icon_transitions_module_default.iconStateFast} ${showArrow ? icon_transitions_module_default.visibleScaled : isSending ? icon_transitions_module_default.sending : icon_transitions_module_default.hiddenScaled}`, children: /* @__PURE__ */ jsx(
|
|
265
247
|
"path",
|
|
266
248
|
{
|
|
267
249
|
d: "M9.875 14.125L12.3506 19.6951C12.7184 20.5227 13.9091 20.4741 14.2083 19.6193L18.8139 6.46032C19.0907 5.6695 18.3305 4.90933 17.5397 5.18611L4.38072 9.79174C3.52589 10.0909 3.47731 11.2816 4.30494 11.6494L9.875 14.125ZM9.875 14.125L13.375 10.625",
|
|
@@ -271,16 +253,12 @@ var IconSendArrow = ({
|
|
|
271
253
|
strokeLinejoin: "round"
|
|
272
254
|
}
|
|
273
255
|
) }),
|
|
274
|
-
/* @__PURE__ */ jsxs("g", { className:
|
|
275
|
-
opacity: showCheck ? 1 : 0,
|
|
276
|
-
transform: showCheck ? "scale(1)" : "scale(0.8)",
|
|
277
|
-
transformOrigin: "center"
|
|
278
|
-
}, children: [
|
|
256
|
+
/* @__PURE__ */ jsxs("g", { className: `${icon_transitions_module_default.iconStateFast} ${showCheck ? icon_transitions_module_default.visibleScaled : icon_transitions_module_default.hiddenScaled}`, children: [
|
|
279
257
|
/* @__PURE__ */ jsx(
|
|
280
258
|
"path",
|
|
281
259
|
{
|
|
282
260
|
d: "M12 20C7.58172 20 4 16.4182 4 12C4 7.58172 7.58172 4 12 4C16.4182 4 20 7.58172 20 12C20 16.4182 16.4182 20 12 20Z",
|
|
283
|
-
stroke: "
|
|
261
|
+
stroke: "var(--agentation-color-green)",
|
|
284
262
|
strokeWidth: "1.5",
|
|
285
263
|
strokeLinecap: "round",
|
|
286
264
|
strokeLinejoin: "round"
|
|
@@ -290,23 +268,19 @@ var IconSendArrow = ({
|
|
|
290
268
|
"path",
|
|
291
269
|
{
|
|
292
270
|
d: "M15 10L11 14.25L9.25 12.25",
|
|
293
|
-
stroke: "
|
|
271
|
+
stroke: "var(--agentation-color-green)",
|
|
294
272
|
strokeWidth: "1.5",
|
|
295
273
|
strokeLinecap: "round",
|
|
296
274
|
strokeLinejoin: "round"
|
|
297
275
|
}
|
|
298
276
|
)
|
|
299
277
|
] }),
|
|
300
|
-
/* @__PURE__ */ jsxs("g", { className:
|
|
301
|
-
opacity: showError ? 1 : 0,
|
|
302
|
-
transform: showError ? "scale(1)" : "scale(0.8)",
|
|
303
|
-
transformOrigin: "center"
|
|
304
|
-
}, children: [
|
|
278
|
+
/* @__PURE__ */ jsxs("g", { className: `${icon_transitions_module_default.iconStateFast} ${showError ? icon_transitions_module_default.visibleScaled : icon_transitions_module_default.hiddenScaled}`, children: [
|
|
305
279
|
/* @__PURE__ */ jsx(
|
|
306
280
|
"path",
|
|
307
281
|
{
|
|
308
282
|
d: "M12 20C7.58172 20 4 16.4182 4 12C4 7.58172 7.58172 4 12 4C16.4182 4 20 7.58172 20 12C20 16.4182 16.4182 20 12 20Z",
|
|
309
|
-
stroke: "
|
|
283
|
+
stroke: "var(--agentation-color-red)",
|
|
310
284
|
strokeWidth: "1.5",
|
|
311
285
|
strokeLinecap: "round",
|
|
312
286
|
strokeLinejoin: "round"
|
|
@@ -316,22 +290,17 @@ var IconSendArrow = ({
|
|
|
316
290
|
"path",
|
|
317
291
|
{
|
|
318
292
|
d: "M12 8V12",
|
|
319
|
-
stroke: "
|
|
293
|
+
stroke: "var(--agentation-color-red)",
|
|
320
294
|
strokeWidth: "1.5",
|
|
321
295
|
strokeLinecap: "round"
|
|
322
296
|
}
|
|
323
297
|
),
|
|
324
|
-
/* @__PURE__ */ jsx("circle", { cx: "12", cy: "15", r: "0.5", fill: "
|
|
298
|
+
/* @__PURE__ */ jsx("circle", { cx: "12", cy: "15", r: "0.5", fill: "var(--agentation-color-red)", stroke: "var(--agentation-color-red)", strokeWidth: "1" })
|
|
325
299
|
] })
|
|
326
300
|
] });
|
|
327
301
|
};
|
|
328
302
|
var IconSendAnimated = ({ size = 24, sent = false }) => /* @__PURE__ */ jsxs("svg", { width: size, height: size, viewBox: "0 0 22 21", fill: "none", children: [
|
|
329
|
-
/* @__PURE__ */
|
|
330
|
-
.send-icon, .sent-icon {
|
|
331
|
-
transition: opacity 0.2s ease, transform 0.2s ease;
|
|
332
|
-
}
|
|
333
|
-
` }),
|
|
334
|
-
/* @__PURE__ */ jsxs("g", { className: "send-icon", style: { opacity: sent ? 0 : 1, transform: sent ? "scale(0.8)" : "scale(1)", transformOrigin: "center" }, children: [
|
|
303
|
+
/* @__PURE__ */ jsxs("g", { className: `${icon_transitions_module_default.iconState} ${sent ? icon_transitions_module_default.hiddenScaled : icon_transitions_module_default.visibleScaled}`, children: [
|
|
335
304
|
/* @__PURE__ */ jsx(
|
|
336
305
|
"path",
|
|
337
306
|
{
|
|
@@ -370,7 +339,7 @@ var IconSendAnimated = ({ size = 24, sent = false }) => /* @__PURE__ */ jsxs("sv
|
|
|
370
339
|
}
|
|
371
340
|
)
|
|
372
341
|
] }),
|
|
373
|
-
/* @__PURE__ */ jsxs("g", { className:
|
|
342
|
+
/* @__PURE__ */ jsxs("g", { className: `${icon_transitions_module_default.iconState} ${sent ? icon_transitions_module_default.visibleScaled : icon_transitions_module_default.hiddenScaled}`, children: [
|
|
374
343
|
/* @__PURE__ */ jsx(
|
|
375
344
|
"path",
|
|
376
345
|
{
|
|
@@ -456,12 +425,7 @@ var IconEyeClosed = ({ size = 24 }) => /* @__PURE__ */ jsxs("svg", { width: size
|
|
|
456
425
|
)
|
|
457
426
|
] });
|
|
458
427
|
var IconEyeAnimated = ({ size = 24, isOpen = true }) => /* @__PURE__ */ jsxs("svg", { width: size, height: size, viewBox: "0 0 24 24", fill: "none", children: [
|
|
459
|
-
/* @__PURE__ */
|
|
460
|
-
.eye-open, .eye-closed {
|
|
461
|
-
transition: opacity 0.2s ease;
|
|
462
|
-
}
|
|
463
|
-
` }),
|
|
464
|
-
/* @__PURE__ */ jsxs("g", { className: "eye-open", style: { opacity: isOpen ? 1 : 0 }, children: [
|
|
428
|
+
/* @__PURE__ */ jsxs("g", { className: `${icon_transitions_module_default.iconFade} ${isOpen ? icon_transitions_module_default.visible : icon_transitions_module_default.hidden}`, children: [
|
|
465
429
|
/* @__PURE__ */ jsx(
|
|
466
430
|
"path",
|
|
467
431
|
{
|
|
@@ -483,7 +447,7 @@ var IconEyeAnimated = ({ size = 24, isOpen = true }) => /* @__PURE__ */ jsxs("sv
|
|
|
483
447
|
}
|
|
484
448
|
)
|
|
485
449
|
] }),
|
|
486
|
-
/* @__PURE__ */ jsxs("g", { className:
|
|
450
|
+
/* @__PURE__ */ jsxs("g", { className: `${icon_transitions_module_default.iconFade} ${isOpen ? icon_transitions_module_default.hidden : icon_transitions_module_default.visible}`, children: [
|
|
487
451
|
/* @__PURE__ */ jsx(
|
|
488
452
|
"path",
|
|
489
453
|
{
|
|
@@ -503,41 +467,33 @@ var IconEyeAnimated = ({ size = 24, isOpen = true }) => /* @__PURE__ */ jsxs("sv
|
|
|
503
467
|
] })
|
|
504
468
|
] });
|
|
505
469
|
var IconPausePlayAnimated = ({ size = 24, isPaused = false }) => /* @__PURE__ */ jsxs("svg", { width: size, height: size, viewBox: "0 0 24 24", fill: "none", children: [
|
|
506
|
-
/* @__PURE__ */
|
|
507
|
-
|
|
508
|
-
|
|
470
|
+
/* @__PURE__ */ jsxs("g", { className: `${icon_transitions_module_default.iconFadeFast} ${isPaused ? icon_transitions_module_default.hidden : icon_transitions_module_default.visible}`, children: [
|
|
471
|
+
/* @__PURE__ */ jsx(
|
|
472
|
+
"path",
|
|
473
|
+
{
|
|
474
|
+
d: "M8 6L8 18",
|
|
475
|
+
stroke: "currentColor",
|
|
476
|
+
strokeWidth: "1.5",
|
|
477
|
+
strokeLinecap: "round"
|
|
509
478
|
}
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
),
|
|
522
|
-
/* @__PURE__ */ jsx(
|
|
523
|
-
"path",
|
|
524
|
-
{
|
|
525
|
-
className: "pause-bar",
|
|
526
|
-
d: "M16 18L16 6",
|
|
527
|
-
stroke: "currentColor",
|
|
528
|
-
strokeWidth: "1.5",
|
|
529
|
-
strokeLinecap: "round",
|
|
530
|
-
style: { opacity: isPaused ? 0 : 1 }
|
|
531
|
-
}
|
|
532
|
-
),
|
|
479
|
+
),
|
|
480
|
+
/* @__PURE__ */ jsx(
|
|
481
|
+
"path",
|
|
482
|
+
{
|
|
483
|
+
d: "M16 18L16 6",
|
|
484
|
+
stroke: "currentColor",
|
|
485
|
+
strokeWidth: "1.5",
|
|
486
|
+
strokeLinecap: "round"
|
|
487
|
+
}
|
|
488
|
+
)
|
|
489
|
+
] }),
|
|
533
490
|
/* @__PURE__ */ jsx(
|
|
534
491
|
"path",
|
|
535
492
|
{
|
|
536
|
-
className:
|
|
493
|
+
className: `${icon_transitions_module_default.iconFadeFast} ${isPaused ? icon_transitions_module_default.visible : icon_transitions_module_default.hidden}`,
|
|
537
494
|
d: "M17.75 10.701C18.75 11.2783 18.75 12.7217 17.75 13.299L8.75 18.4952C7.75 19.0725 6.5 18.3509 6.5 17.1962L6.5 6.80384C6.5 5.64914 7.75 4.92746 8.75 5.50481L17.75 10.701Z",
|
|
538
495
|
stroke: "currentColor",
|
|
539
|
-
strokeWidth: "1.5"
|
|
540
|
-
style: { opacity: isPaused ? 1 : 0 }
|
|
496
|
+
strokeWidth: "1.5"
|
|
541
497
|
}
|
|
542
498
|
)
|
|
543
499
|
] });
|
|
@@ -1143,6 +1099,18 @@ function unfreeze() {
|
|
|
1143
1099
|
|
|
1144
1100
|
// src/components/annotation-popup-css/index.tsx
|
|
1145
1101
|
import { jsx as jsx2, jsxs as jsxs2 } from "react/jsx-runtime";
|
|
1102
|
+
function focusBypassingTraps(el) {
|
|
1103
|
+
if (!el) return;
|
|
1104
|
+
const trap = (e) => e.stopImmediatePropagation();
|
|
1105
|
+
document.addEventListener("focusin", trap, true);
|
|
1106
|
+
document.addEventListener("focusout", trap, true);
|
|
1107
|
+
try {
|
|
1108
|
+
el.focus();
|
|
1109
|
+
} finally {
|
|
1110
|
+
document.removeEventListener("focusin", trap, true);
|
|
1111
|
+
document.removeEventListener("focusout", trap, true);
|
|
1112
|
+
}
|
|
1113
|
+
}
|
|
1146
1114
|
var AnnotationPopupCSS = forwardRef(
|
|
1147
1115
|
function AnnotationPopupCSS2({
|
|
1148
1116
|
element,
|
|
@@ -1184,7 +1152,7 @@ var AnnotationPopupCSS = forwardRef(
|
|
|
1184
1152
|
const focusTimer = originalSetTimeout(() => {
|
|
1185
1153
|
const textarea = textareaRef.current;
|
|
1186
1154
|
if (textarea) {
|
|
1187
|
-
textarea
|
|
1155
|
+
focusBypassingTraps(textarea);
|
|
1188
1156
|
textarea.selectionStart = textarea.selectionEnd = textarea.value.length;
|
|
1189
1157
|
textarea.scrollTop = textarea.scrollHeight;
|
|
1190
1158
|
}
|
|
@@ -1201,7 +1169,7 @@ var AnnotationPopupCSS = forwardRef(
|
|
|
1201
1169
|
setIsShaking(true);
|
|
1202
1170
|
shakeTimerRef.current = originalSetTimeout(() => {
|
|
1203
1171
|
setIsShaking(false);
|
|
1204
|
-
textareaRef.current
|
|
1172
|
+
focusBypassingTraps(textareaRef.current);
|
|
1205
1173
|
}, 250);
|
|
1206
1174
|
}, []);
|
|
1207
1175
|
useImperativeHandle(ref, () => ({
|
|
@@ -1257,7 +1225,7 @@ var AnnotationPopupCSS = forwardRef(
|
|
|
1257
1225
|
const wasExpanded = isStylesExpanded;
|
|
1258
1226
|
setIsStylesExpanded(!isStylesExpanded);
|
|
1259
1227
|
if (wasExpanded) {
|
|
1260
|
-
originalSetTimeout(() => textareaRef.current
|
|
1228
|
+
originalSetTimeout(() => focusBypassingTraps(textareaRef.current), 0);
|
|
1261
1229
|
}
|
|
1262
1230
|
},
|
|
1263
1231
|
type: "button",
|
|
@@ -1997,6 +1965,10 @@ var DEFAULT_SKIP_PATTERNS = [
|
|
|
1997
1965
|
// AppRouter, BrowserRouter
|
|
1998
1966
|
/^Client(Page|Segment|Root)/,
|
|
1999
1967
|
// ClientPageRoot, ClientSegmentRoot
|
|
1968
|
+
/^Segment(ViewNode|Node)$/,
|
|
1969
|
+
// Next.js App Router internals
|
|
1970
|
+
/^LayoutSegment/,
|
|
1971
|
+
// Next.js layout segment wrappers
|
|
2000
1972
|
/^Server(Root|Component|Render)/,
|
|
2001
1973
|
// ServerRoot (not ServerStatus)
|
|
2002
1974
|
/^RSC/,
|
|
@@ -2660,21 +2632,136 @@ function findNearestComponentSource(element, maxAncestors = 10) {
|
|
|
2660
2632
|
}
|
|
2661
2633
|
|
|
2662
2634
|
// src/components/page-toolbar-css/styles.module.scss
|
|
2663
|
-
var css2 = 'svg[fill=none] {\n fill: none !important;\n}\n\n.styles-module__toolbar___wNsdK :where(button, input, select, textarea, label) {\n background: unset;\n border: unset;\n border-radius: unset;\n padding: unset;\n margin: unset;\n color: unset;\n font: unset;\n letter-spacing: unset;\n text-transform: unset;\n text-decoration: unset;\n box-shadow: unset;\n outline: unset;\n}\n\n@keyframes styles-module__toolbarEnter___u8RRu {\n from {\n opacity: 0;\n transform: scale(0.5) rotate(90deg);\n }\n to {\n opacity: 1;\n transform: scale(1) rotate(0deg);\n }\n}\n@keyframes styles-module__toolbarHide___y8kaT {\n from {\n opacity: 1;\n transform: scale(1);\n }\n to {\n opacity: 0;\n transform: scale(0.8);\n }\n}\n@keyframes styles-module__badgeEnter___mVQLj {\n from {\n opacity: 0;\n transform: scale(0);\n }\n to {\n opacity: 1;\n transform: scale(1);\n }\n}\n@keyframes styles-module__scaleIn___c-r1K {\n from {\n opacity: 0;\n transform: scale(0.85);\n }\n to {\n opacity: 1;\n transform: scale(1);\n }\n}\n@keyframes styles-module__scaleOut___Wctwz {\n from {\n opacity: 1;\n transform: scale(1);\n }\n to {\n opacity: 0;\n transform: scale(0.85);\n }\n}\n@keyframes styles-module__slideUp___kgD36 {\n from {\n opacity: 0;\n transform: scale(0.85) translateY(8px);\n }\n to {\n opacity: 1;\n transform: scale(1) translateY(0);\n }\n}\n@keyframes styles-module__slideDown___zcdje {\n from {\n opacity: 1;\n transform: scale(1) translateY(0);\n }\n to {\n opacity: 0;\n transform: scale(0.85) translateY(8px);\n }\n}\n@keyframes styles-module__markerIn___5FaAP {\n 0% {\n opacity: 0;\n transform: translate(-50%, -50%) scale(0.3);\n }\n 100% {\n opacity: 1;\n transform: translate(-50%, -50%) scale(1);\n }\n}\n@keyframes styles-module__markerOut___GU5jX {\n 0% {\n opacity: 1;\n transform: translate(-50%, -50%) scale(1);\n }\n 100% {\n opacity: 0;\n transform: translate(-50%, -50%) scale(0.3);\n }\n}\n@keyframes styles-module__fadeIn___b9qmf {\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n}\n@keyframes styles-module__fadeOut___6Ut6- {\n from {\n opacity: 1;\n }\n to {\n opacity: 0;\n }\n}\n@keyframes styles-module__tooltipIn___0N31w {\n from {\n opacity: 0;\n transform: translateX(-50%) translateY(2px) scale(0.891);\n }\n to {\n opacity: 1;\n transform: translateX(-50%) translateY(0) scale(0.909);\n }\n}\n@keyframes styles-module__hoverHighlightIn___6WYHY {\n from {\n opacity: 0;\n transform: scale(0.98);\n }\n to {\n opacity: 1;\n transform: scale(1);\n }\n}\n@keyframes styles-module__hoverTooltipIn___FYGQx {\n from {\n opacity: 0;\n transform: scale(0.95) translateY(4px);\n }\n to {\n opacity: 1;\n transform: scale(1) translateY(0);\n }\n}\n@keyframes styles-module__settingsPanelIn___MGfO8 {\n from {\n opacity: 0;\n transform: translateY(10px) scale(0.95);\n filter: blur(5px);\n }\n to {\n opacity: 1;\n transform: translateY(0) scale(1);\n filter: blur(0px);\n }\n}\n@keyframes styles-module__settingsPanelOut___Zfymi {\n from {\n opacity: 1;\n transform: translateY(0) scale(1);\n filter: blur(0px);\n }\n to {\n opacity: 0;\n transform: translateY(20px) scale(0.95);\n filter: blur(5px);\n }\n}\n.styles-module__toolbar___wNsdK {\n position: fixed;\n bottom: 1.25rem;\n right: 1.25rem;\n width: 297px;\n z-index: 100000;\n font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;\n pointer-events: none;\n transition: left 0s, top 0s, right 0s, bottom 0s;\n}\n\n.styles-module__toolbarContainer___dIhma {\n user-select: none;\n margin-left: auto;\n align-self: flex-end;\n display: flex;\n align-items: center;\n justify-content: center;\n background: #1a1a1a;\n color: #fff;\n border: none;\n box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2), 0 4px 16px rgba(0, 0, 0, 0.1);\n pointer-events: auto;\n cursor: grab;\n transition: width 0.4s cubic-bezier(0.19, 1, 0.22, 1), transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);\n}\n.styles-module__toolbarContainer___dIhma.styles-module__dragging___xrolZ {\n transition: width 0.4s cubic-bezier(0.19, 1, 0.22, 1);\n cursor: grabbing;\n}\n.styles-module__toolbarContainer___dIhma.styles-module__entrance___sgHd8 {\n animation: styles-module__toolbarEnter___u8RRu 0.5s cubic-bezier(0.34, 1.2, 0.64, 1) forwards;\n}\n.styles-module__toolbarContainer___dIhma.styles-module__hiding___1td44 {\n animation: styles-module__toolbarHide___y8kaT 0.4s cubic-bezier(0.4, 0, 1, 1) forwards;\n pointer-events: none;\n}\n.styles-module__toolbarContainer___dIhma.styles-module__collapsed___Rydsn {\n width: 44px;\n height: 44px;\n border-radius: 22px;\n padding: 0;\n cursor: pointer;\n}\n.styles-module__toolbarContainer___dIhma.styles-module__collapsed___Rydsn svg {\n margin-top: -1px;\n}\n.styles-module__toolbarContainer___dIhma.styles-module__collapsed___Rydsn:hover {\n background: #2a2a2a;\n}\n.styles-module__toolbarContainer___dIhma.styles-module__collapsed___Rydsn:active {\n transform: scale(0.95);\n}\n.styles-module__toolbarContainer___dIhma.styles-module__expanded___ofKPx {\n height: 44px;\n border-radius: 1.5rem;\n padding: 0.375rem;\n width: 257px;\n}\n.styles-module__toolbarContainer___dIhma.styles-module__expanded___ofKPx.styles-module__serverConnected___Gfbou {\n width: 297px;\n}\n\n.styles-module__toggleContent___0yfyP {\n position: absolute;\n display: flex;\n align-items: center;\n justify-content: center;\n transition: opacity 0.1s cubic-bezier(0.19, 1, 0.22, 1);\n}\n.styles-module__toggleContent___0yfyP.styles-module__visible___KHwEW {\n opacity: 1;\n visibility: visible;\n pointer-events: auto;\n}\n.styles-module__toggleContent___0yfyP.styles-module__hidden___Ae8H4 {\n opacity: 0;\n pointer-events: none;\n}\n\n.styles-module__controlsContent___9GJWU {\n display: flex;\n align-items: center;\n gap: 0.375rem;\n transition: filter 0.8s cubic-bezier(0.19, 1, 0.22, 1), opacity 0.8s cubic-bezier(0.19, 1, 0.22, 1), transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);\n}\n.styles-module__controlsContent___9GJWU.styles-module__visible___KHwEW {\n opacity: 1;\n filter: blur(0px);\n transform: scale(1);\n visibility: visible;\n pointer-events: auto;\n}\n.styles-module__controlsContent___9GJWU.styles-module__hidden___Ae8H4 {\n pointer-events: none;\n opacity: 0;\n filter: blur(10px);\n transform: scale(0.4);\n}\n\n.styles-module__badge___2XsgF {\n position: absolute;\n top: -13px;\n right: -13px;\n user-select: none;\n min-width: 18px;\n height: 18px;\n padding: 0 5px;\n border-radius: 9px;\n background: #3c82f7;\n color: white;\n font-size: 0.625rem;\n font-weight: 600;\n display: flex;\n align-items: center;\n justify-content: center;\n box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15), inset 0 0 0 1px rgba(255, 255, 255, 0.04);\n opacity: 1;\n transition: transform 0.3s ease, opacity 0.2s ease;\n transform: scale(1);\n}\n.styles-module__badge___2XsgF.styles-module__fadeOut___6Ut6- {\n opacity: 0;\n transform: scale(0);\n pointer-events: none;\n}\n.styles-module__badge___2XsgF.styles-module__entrance___sgHd8 {\n animation: styles-module__badgeEnter___mVQLj 0.3s cubic-bezier(0.34, 1.2, 0.64, 1) 0.4s both;\n}\n\n.styles-module__controlButton___8Q0jc {\n position: relative;\n cursor: pointer !important;\n display: flex;\n align-items: center;\n justify-content: center;\n width: 34px;\n height: 34px;\n border-radius: 50%;\n border: none;\n background: transparent;\n color: rgba(255, 255, 255, 0.85);\n transition: background-color 0.15s ease, color 0.15s ease, transform 0.1s ease, opacity 0.2s ease;\n}\n.styles-module__controlButton___8Q0jc:hover:not(:disabled):not([data-active=true]):not([data-failed=true]):not([data-auto-sync=true]):not([data-error=true]):not([data-no-hover=true]) {\n background: rgba(255, 255, 255, 0.12);\n color: #fff;\n}\n.styles-module__controlButton___8Q0jc:active:not(:disabled) {\n transform: scale(0.92);\n}\n.styles-module__controlButton___8Q0jc:disabled {\n opacity: 0.35;\n cursor: not-allowed;\n}\n.styles-module__controlButton___8Q0jc[data-active=true] {\n color: #3c82f7;\n background: rgba(60, 130, 247, 0.25);\n}\n.styles-module__controlButton___8Q0jc[data-error=true] {\n color: #ff3b30;\n background: rgba(255, 59, 48, 0.25);\n}\n.styles-module__controlButton___8Q0jc[data-danger]:hover:not(:disabled):not([data-active=true]):not([data-failed=true]) {\n background: rgba(255, 59, 48, 0.25);\n color: #ff3b30;\n}\n.styles-module__controlButton___8Q0jc[data-no-hover=true], .styles-module__controlButton___8Q0jc.styles-module__statusShowing___te6iu {\n cursor: default !important;\n pointer-events: none;\n background: transparent !important;\n}\n.styles-module__controlButton___8Q0jc[data-auto-sync=true] {\n color: #34c759;\n background: transparent;\n cursor: default;\n}\n.styles-module__controlButton___8Q0jc[data-failed=true] {\n color: #ff3b30;\n background: rgba(255, 59, 48, 0.25);\n}\n\n.styles-module__buttonBadge___NeFWb {\n position: absolute;\n top: 0px;\n right: 0px;\n min-width: 16px;\n height: 16px;\n padding: 0 4px;\n border-radius: 8px;\n background: #3c82f7;\n color: white;\n font-size: 0.625rem;\n font-weight: 600;\n display: flex;\n align-items: center;\n justify-content: center;\n box-shadow: 0 0 0 2px #1a1a1a, 0 1px 3px rgba(0, 0, 0, 0.2);\n pointer-events: none;\n}\n.styles-module__buttonBadge___NeFWb.styles-module__light___r6n4Y {\n box-shadow: 0 0 0 2px #fff, 0 1px 3px rgba(0, 0, 0, 0.2);\n}\n\n@keyframes styles-module__mcpIndicatorPulseConnected___EDodZ {\n 0%, 100% {\n box-shadow: 0 0 0 0 rgba(52, 199, 89, 0.5);\n }\n 50% {\n box-shadow: 0 0 0 5px rgba(52, 199, 89, 0);\n }\n}\n@keyframes styles-module__mcpIndicatorPulseConnecting___cCYte {\n 0%, 100% {\n box-shadow: 0 0 0 0 rgba(245, 166, 35, 0.5);\n }\n 50% {\n box-shadow: 0 0 0 5px rgba(245, 166, 35, 0);\n }\n}\n.styles-module__mcpIndicator___zGJeL {\n position: absolute;\n top: 3px;\n right: 3px;\n width: 6px;\n height: 6px;\n border-radius: 50%;\n pointer-events: none;\n transition: background 0.3s ease, opacity 0.15s ease, transform 0.15s ease;\n opacity: 1;\n transform: scale(1);\n}\n.styles-module__mcpIndicator___zGJeL.styles-module__connected___7c28g {\n background: #34c759;\n animation: styles-module__mcpIndicatorPulseConnected___EDodZ 2.5s ease-in-out infinite;\n}\n.styles-module__mcpIndicator___zGJeL.styles-module__connecting___uo-CW {\n background: #f5a623;\n animation: styles-module__mcpIndicatorPulseConnecting___cCYte 1.5s ease-in-out infinite;\n}\n.styles-module__mcpIndicator___zGJeL.styles-module__hidden___Ae8H4 {\n opacity: 0;\n transform: scale(0);\n animation: none;\n}\n\n@keyframes styles-module__connectionPulse___-Zycw {\n 0%, 100% {\n opacity: 1;\n transform: scale(1);\n }\n 50% {\n opacity: 0.6;\n transform: scale(0.9);\n }\n}\n.styles-module__connectionIndicatorWrapper___L-e-3 {\n width: 8px;\n height: 34px;\n margin-left: 6px;\n margin-right: 6px;\n}\n\n.styles-module__connectionIndicator___afk9p {\n position: relative;\n width: 8px;\n height: 8px;\n border-radius: 50%;\n opacity: 0;\n transition: opacity 0.3s ease, background 0.3s ease;\n cursor: default;\n}\n\n.styles-module__connectionIndicatorVisible___C-i5B {\n opacity: 1;\n}\n\n.styles-module__connectionIndicatorConnected___IY8pR {\n background: #34c759;\n animation: styles-module__connectionPulse___-Zycw 2.5s ease-in-out infinite;\n}\n\n.styles-module__connectionIndicatorDisconnected___kmpaZ {\n background: #ff3b30;\n animation: none;\n}\n\n.styles-module__connectionIndicatorConnecting___QmSLH {\n background: #f59e0b;\n animation: styles-module__connectionPulse___-Zycw 1s ease-in-out infinite;\n}\n\n.styles-module__buttonWrapper___rBcdv {\n position: relative;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n.styles-module__buttonWrapper___rBcdv:hover .styles-module__buttonTooltip___Burd9 {\n opacity: 1;\n visibility: visible;\n transform: translateX(-50%) scale(1);\n transition-delay: 0.85s;\n}\n.styles-module__buttonWrapper___rBcdv:has(.styles-module__controlButton___8Q0jc:disabled):hover .styles-module__buttonTooltip___Burd9 {\n opacity: 0;\n visibility: hidden;\n}\n\n.styles-module__tooltipsInSession___-0lHH .styles-module__buttonWrapper___rBcdv:hover .styles-module__buttonTooltip___Burd9 {\n transition-delay: 0s;\n}\n\n.styles-module__sendButtonWrapper___UUxG6 {\n width: 0;\n opacity: 0;\n overflow: hidden;\n pointer-events: none;\n margin-left: -0.375rem;\n transition: width 0.4s cubic-bezier(0.19, 1, 0.22, 1), opacity 0.3s cubic-bezier(0.19, 1, 0.22, 1), margin 0.4s cubic-bezier(0.19, 1, 0.22, 1);\n}\n.styles-module__sendButtonWrapper___UUxG6 .styles-module__controlButton___8Q0jc {\n transform: scale(0.8);\n transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);\n}\n.styles-module__sendButtonWrapper___UUxG6.styles-module__sendButtonVisible___WPSQU {\n width: 34px;\n opacity: 1;\n overflow: visible;\n pointer-events: auto;\n margin-left: 0;\n}\n.styles-module__sendButtonWrapper___UUxG6.styles-module__sendButtonVisible___WPSQU .styles-module__controlButton___8Q0jc {\n transform: scale(1);\n}\n\n.styles-module__buttonTooltip___Burd9 {\n position: absolute;\n bottom: calc(100% + 14px);\n left: 50%;\n transform: translateX(-50%) scale(0.95);\n padding: 6px 10px;\n background: #1a1a1a;\n color: rgba(255, 255, 255, 0.9);\n font-size: 12px;\n font-weight: 500;\n border-radius: 8px;\n white-space: nowrap;\n opacity: 0;\n visibility: hidden;\n pointer-events: none;\n z-index: 100001;\n box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);\n transition: opacity 0.135s ease, transform 0.135s ease, visibility 0.135s ease;\n}\n.styles-module__buttonTooltip___Burd9::after {\n content: "";\n position: absolute;\n top: calc(100% - 4px);\n left: 50%;\n transform: translateX(-50%) rotate(45deg);\n width: 8px;\n height: 8px;\n background: #1a1a1a;\n border-radius: 0 0 2px 0;\n}\n\n.styles-module__shortcut___lEAQk {\n margin-left: 4px;\n opacity: 0.5;\n}\n\n.styles-module__tooltipBelow___m6ats .styles-module__buttonTooltip___Burd9 {\n bottom: auto;\n top: calc(100% + 14px);\n transform: translateX(-50%) scale(0.95);\n}\n.styles-module__tooltipBelow___m6ats .styles-module__buttonTooltip___Burd9::after {\n top: -4px;\n bottom: auto;\n border-radius: 2px 0 0 0;\n}\n\n.styles-module__tooltipBelow___m6ats .styles-module__buttonWrapper___rBcdv:hover .styles-module__buttonTooltip___Burd9 {\n transform: translateX(-50%) scale(1);\n}\n\n.styles-module__tooltipsHidden___VtLJG .styles-module__buttonTooltip___Burd9 {\n opacity: 0 !important;\n visibility: hidden !important;\n transition: none !important;\n}\n\n.styles-module__tooltipVisible___0jcCv,\n.styles-module__tooltipsHidden___VtLJG .styles-module__tooltipVisible___0jcCv {\n opacity: 1 !important;\n visibility: visible !important;\n transform: translateX(-50%) scale(1) !important;\n transition-delay: 0s !important;\n}\n\n.styles-module__buttonWrapperAlignLeft___myzIp .styles-module__buttonTooltip___Burd9 {\n left: 50%;\n transform: translateX(-12px) scale(0.95);\n}\n.styles-module__buttonWrapperAlignLeft___myzIp .styles-module__buttonTooltip___Burd9::after {\n left: 16px;\n}\n.styles-module__buttonWrapperAlignLeft___myzIp:hover .styles-module__buttonTooltip___Burd9 {\n transform: translateX(-12px) scale(1);\n}\n\n.styles-module__tooltipBelow___m6ats .styles-module__buttonWrapperAlignLeft___myzIp .styles-module__buttonTooltip___Burd9 {\n transform: translateX(-12px) scale(0.95);\n}\n.styles-module__tooltipBelow___m6ats .styles-module__buttonWrapperAlignLeft___myzIp:hover .styles-module__buttonTooltip___Burd9 {\n transform: translateX(-12px) scale(1);\n}\n\n.styles-module__buttonWrapperAlignRight___HCQFR .styles-module__buttonTooltip___Burd9 {\n left: 50%;\n transform: translateX(calc(-100% + 12px)) scale(0.95);\n}\n.styles-module__buttonWrapperAlignRight___HCQFR .styles-module__buttonTooltip___Burd9::after {\n left: auto;\n right: 8px;\n}\n.styles-module__buttonWrapperAlignRight___HCQFR:hover .styles-module__buttonTooltip___Burd9 {\n transform: translateX(calc(-100% + 12px)) scale(1);\n}\n\n.styles-module__tooltipBelow___m6ats .styles-module__buttonWrapperAlignRight___HCQFR .styles-module__buttonTooltip___Burd9 {\n transform: translateX(calc(-100% + 12px)) scale(0.95);\n}\n.styles-module__tooltipBelow___m6ats .styles-module__buttonWrapperAlignRight___HCQFR:hover .styles-module__buttonTooltip___Burd9 {\n transform: translateX(calc(-100% + 12px)) scale(1);\n}\n\n.styles-module__divider___c--s1 {\n width: 1px;\n height: 12px;\n background: rgba(255, 255, 255, 0.15);\n margin: 0 0.125rem;\n}\n\n.styles-module__overlay___Q1O9y {\n position: fixed;\n inset: 0;\n z-index: 99997;\n pointer-events: none;\n}\n.styles-module__overlay___Q1O9y > * {\n pointer-events: auto;\n}\n\n.styles-module__hoverHighlight___ogakW {\n position: fixed;\n border: 2px solid rgba(60, 130, 247, 0.5);\n border-radius: 4px;\n pointer-events: none !important;\n background: rgba(60, 130, 247, 0.04);\n box-sizing: border-box;\n will-change: opacity;\n contain: layout style;\n}\n.styles-module__hoverHighlight___ogakW.styles-module__enter___WFIki {\n animation: styles-module__hoverHighlightIn___6WYHY 0.12s ease-out forwards;\n}\n\n.styles-module__multiSelectOutline___cSJ-m {\n position: fixed;\n border: 2px dashed rgba(52, 199, 89, 0.6);\n border-radius: 4px;\n pointer-events: none !important;\n background: rgba(52, 199, 89, 0.05);\n box-sizing: border-box;\n will-change: opacity;\n}\n.styles-module__multiSelectOutline___cSJ-m.styles-module__enter___WFIki {\n animation: styles-module__fadeIn___b9qmf 0.15s ease-out forwards;\n}\n.styles-module__multiSelectOutline___cSJ-m.styles-module__exit___fyOJ0 {\n animation: styles-module__fadeOut___6Ut6- 0.15s ease-out forwards;\n}\n\n.styles-module__singleSelectOutline___QhX-O {\n position: fixed;\n border: 2px solid rgba(60, 130, 247, 0.6);\n border-radius: 4px;\n pointer-events: none !important;\n background: rgba(60, 130, 247, 0.05);\n box-sizing: border-box;\n will-change: opacity;\n}\n.styles-module__singleSelectOutline___QhX-O.styles-module__enter___WFIki {\n animation: styles-module__fadeIn___b9qmf 0.15s ease-out forwards;\n}\n.styles-module__singleSelectOutline___QhX-O.styles-module__exit___fyOJ0 {\n animation: styles-module__fadeOut___6Ut6- 0.15s ease-out forwards;\n}\n\n.styles-module__hoverTooltip___bvLk7 {\n position: fixed;\n font-size: 0.6875rem;\n font-weight: 500;\n color: #fff;\n background: rgba(0, 0, 0, 0.85);\n padding: 0.35rem 0.6rem;\n border-radius: 0.375rem;\n pointer-events: none !important;\n white-space: nowrap;\n max-width: 280px;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n.styles-module__hoverTooltip___bvLk7.styles-module__enter___WFIki {\n animation: styles-module__hoverTooltipIn___FYGQx 0.1s ease-out forwards;\n}\n\n.styles-module__hoverReactPath___gx1IJ {\n font-size: 0.625rem;\n color: rgba(255, 255, 255, 0.6);\n margin-bottom: 0.15rem;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.styles-module__hoverElementName___QMLMl {\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.styles-module__markersLayer___-25j1 {\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n height: 0;\n z-index: 99998;\n pointer-events: none;\n}\n.styles-module__markersLayer___-25j1 > * {\n pointer-events: auto;\n}\n\n.styles-module__fixedMarkersLayer___ffyX6 {\n position: fixed;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n z-index: 99998;\n pointer-events: none;\n}\n.styles-module__fixedMarkersLayer___ffyX6 > * {\n pointer-events: auto;\n}\n\n.styles-module__marker___6sQrs {\n position: absolute;\n width: 22px;\n height: 22px;\n background: #3c82f7;\n color: white;\n border-radius: 50%;\n display: flex;\n align-items: center;\n justify-content: center;\n font-size: 0.6875rem;\n font-weight: 600;\n transform: translate(-50%, -50%) scale(1);\n opacity: 1;\n cursor: pointer;\n box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2), inset 0 0 0 1px rgba(0, 0, 0, 0.04);\n user-select: none;\n will-change: transform, opacity;\n contain: layout style;\n z-index: 1;\n}\n.styles-module__marker___6sQrs:hover {\n z-index: 2;\n}\n.styles-module__marker___6sQrs:not(.styles-module__enter___WFIki):not(.styles-module__exit___fyOJ0):not(.styles-module__clearing___FQ--7) {\n transition: background-color 0.15s ease, transform 0.1s ease;\n}\n.styles-module__marker___6sQrs.styles-module__enter___WFIki {\n animation: styles-module__markerIn___5FaAP 0.25s cubic-bezier(0.22, 1, 0.36, 1) both;\n}\n.styles-module__marker___6sQrs.styles-module__exit___fyOJ0 {\n animation: styles-module__markerOut___GU5jX 0.2s ease-out both;\n pointer-events: none;\n}\n.styles-module__marker___6sQrs.styles-module__clearing___FQ--7 {\n animation: styles-module__markerOut___GU5jX 0.15s ease-out both;\n pointer-events: none;\n}\n.styles-module__marker___6sQrs:not(.styles-module__enter___WFIki):not(.styles-module__exit___fyOJ0):not(.styles-module__clearing___FQ--7):hover {\n transform: translate(-50%, -50%) scale(1.1);\n}\n.styles-module__marker___6sQrs.styles-module__pending___2IHLC {\n position: fixed;\n background: #3c82f7;\n}\n.styles-module__marker___6sQrs.styles-module__fixed___dBMHC {\n position: fixed;\n}\n.styles-module__marker___6sQrs.styles-module__multiSelect___YWiuz {\n background: #34c759;\n width: 26px;\n height: 26px;\n border-radius: 6px;\n font-size: 0.75rem;\n}\n.styles-module__marker___6sQrs.styles-module__multiSelect___YWiuz.styles-module__pending___2IHLC {\n background: #34c759;\n}\n.styles-module__marker___6sQrs.styles-module__hovered___ZgXIy {\n background: #ff3b30;\n}\n\n.styles-module__renumber___nCTxD {\n display: block;\n animation: styles-module__renumberRoll___Wgbq3 0.2s ease-out;\n}\n\n@keyframes styles-module__renumberRoll___Wgbq3 {\n 0% {\n transform: translateX(-40%);\n opacity: 0;\n }\n 100% {\n transform: translateX(0);\n opacity: 1;\n }\n}\n.styles-module__markerTooltip___aLJID {\n position: absolute;\n top: calc(100% + 10px);\n left: 50%;\n transform: translateX(-50%) scale(0.909);\n z-index: 100002;\n background: #1a1a1a;\n padding: 8px 0.75rem;\n border-radius: 0.75rem;\n font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;\n font-weight: 400;\n color: #fff;\n box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.08);\n min-width: 120px;\n max-width: 200px;\n pointer-events: none;\n cursor: default;\n}\n.styles-module__markerTooltip___aLJID.styles-module__enter___WFIki {\n animation: styles-module__tooltipIn___0N31w 0.1s ease-out forwards;\n}\n\n.styles-module__markerQuote___FHmrz {\n display: block;\n font-size: 12px;\n font-style: italic;\n color: rgba(255, 255, 255, 0.6);\n margin-bottom: 0.3125rem;\n line-height: 1.4;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.styles-module__markerNote___QkrrS {\n display: block;\n font-size: 13px;\n font-weight: 400;\n line-height: 1.4;\n color: #fff;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n padding-bottom: 2px;\n}\n\n.styles-module__markerHint___2iF-6 {\n display: block;\n font-size: 0.625rem;\n font-weight: 400;\n color: rgba(255, 255, 255, 0.6);\n margin-top: 0.375rem;\n white-space: nowrap;\n}\n\n.styles-module__settingsPanel___OxX3Y {\n position: absolute;\n right: 5px;\n bottom: calc(100% + 0.5rem);\n z-index: 1;\n overflow: hidden;\n background: #1c1c1c;\n border-radius: 1rem;\n padding: 13px 0 16px;\n min-width: 205px;\n cursor: default;\n opacity: 1;\n box-shadow: 0 1px 8px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.04);\n transition: background 0.25s ease, box-shadow 0.25s ease;\n}\n.styles-module__settingsPanel___OxX3Y::before, .styles-module__settingsPanel___OxX3Y::after {\n content: "";\n position: absolute;\n top: 0;\n bottom: 0;\n width: 16px;\n z-index: 2;\n pointer-events: none;\n}\n.styles-module__settingsPanel___OxX3Y::before {\n left: 0;\n background: linear-gradient(to right, #1c1c1c 0%, transparent 100%);\n}\n.styles-module__settingsPanel___OxX3Y::after {\n right: 0;\n background: linear-gradient(to left, #1c1c1c 0%, transparent 100%);\n}\n.styles-module__settingsPanel___OxX3Y .styles-module__settingsHeader___pwDY9,\n.styles-module__settingsPanel___OxX3Y .styles-module__settingsBrand___0gJeM,\n.styles-module__settingsPanel___OxX3Y .styles-module__settingsBrandSlash___uTG18,\n.styles-module__settingsPanel___OxX3Y .styles-module__settingsVersion___TUcFq,\n.styles-module__settingsPanel___OxX3Y .styles-module__settingsSection___m-YM2,\n.styles-module__settingsPanel___OxX3Y .styles-module__settingsLabel___8UjfX,\n.styles-module__settingsPanel___OxX3Y .styles-module__cycleButton___FMKfw,\n.styles-module__settingsPanel___OxX3Y .styles-module__cycleDot___nPgLY,\n.styles-module__settingsPanel___OxX3Y .styles-module__dropdownButton___16NPz,\n.styles-module__settingsPanel___OxX3Y .styles-module__toggleLabel___Xm8Aa,\n.styles-module__settingsPanel___OxX3Y .styles-module__customCheckbox___U39ax,\n.styles-module__settingsPanel___OxX3Y .styles-module__sliderLabel___U8sPr,\n.styles-module__settingsPanel___OxX3Y .styles-module__slider___GLdxp,\n.styles-module__settingsPanel___OxX3Y .styles-module__helpIcon___xQg56,\n.styles-module__settingsPanel___OxX3Y .styles-module__themeToggle___2rUjA {\n transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;\n}\n.styles-module__settingsPanel___OxX3Y.styles-module__enter___WFIki {\n opacity: 1;\n transform: translateY(0) scale(1);\n filter: blur(0px);\n transition: opacity 0.2s ease, transform 0.2s ease, filter 0.2s ease;\n}\n.styles-module__settingsPanel___OxX3Y.styles-module__exit___fyOJ0 {\n opacity: 0;\n transform: translateY(8px) scale(0.95);\n filter: blur(5px);\n pointer-events: none;\n transition: opacity 0.1s ease, transform 0.1s ease, filter 0.1s ease;\n}\n.styles-module__settingsPanel___OxX3Y.styles-module__dark___ILIQf {\n background: #1a1a1a;\n box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.08);\n}\n.styles-module__settingsPanel___OxX3Y.styles-module__dark___ILIQf .styles-module__settingsLabel___8UjfX {\n color: rgba(255, 255, 255, 0.6);\n}\n.styles-module__settingsPanel___OxX3Y.styles-module__dark___ILIQf .styles-module__settingsOption___UNa12 {\n color: rgba(255, 255, 255, 0.85);\n}\n.styles-module__settingsPanel___OxX3Y.styles-module__dark___ILIQf .styles-module__settingsOption___UNa12:hover {\n background: rgba(255, 255, 255, 0.1);\n}\n.styles-module__settingsPanel___OxX3Y.styles-module__dark___ILIQf .styles-module__settingsOption___UNa12.styles-module__selected___OwRqP {\n background: rgba(255, 255, 255, 0.15);\n color: #fff;\n}\n.styles-module__settingsPanel___OxX3Y.styles-module__dark___ILIQf .styles-module__toggleLabel___Xm8Aa {\n color: rgba(255, 255, 255, 0.85);\n}\n\n.styles-module__settingsPanelContainer___Xksv8 {\n overflow: visible;\n position: relative;\n display: flex;\n padding: 0 1rem;\n}\n.styles-module__settingsPanelContainer___Xksv8.styles-module__transitioning___qxzCk {\n overflow-x: clip;\n overflow-y: visible;\n}\n\n.styles-module__settingsPage___6YfHH {\n min-width: 100%;\n flex-shrink: 0;\n transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1), opacity 0.2s ease-out;\n opacity: 1;\n}\n\n.styles-module__settingsPage___6YfHH.styles-module__slideLeft___Ps01J {\n transform: translateX(-100%);\n opacity: 0;\n}\n\n.styles-module__automationsPage___uvCq6 {\n position: absolute;\n top: 0;\n left: 100%;\n width: 100%;\n height: 100%;\n padding: 3px 1rem 0;\n box-sizing: border-box;\n display: flex;\n flex-direction: column;\n transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1), opacity 0.25s ease-out 0.1s;\n opacity: 0;\n}\n\n.styles-module__automationsPage___uvCq6.styles-module__slideIn___4-qXe {\n transform: translateX(-100%);\n opacity: 1;\n}\n\n.styles-module__settingsNavLink___wCzJt {\n display: flex;\n align-items: center;\n justify-content: space-between;\n width: 100%;\n padding: 0;\n border: none;\n background: transparent;\n font-family: inherit;\n font-size: 0.8125rem;\n font-weight: 400;\n color: rgba(255, 255, 255, 0.5);\n cursor: pointer;\n transition: color 0.15s ease;\n}\n.styles-module__settingsNavLink___wCzJt:hover {\n color: rgba(255, 255, 255, 0.9);\n}\n.styles-module__settingsNavLink___wCzJt.styles-module__light___r6n4Y {\n color: rgba(0, 0, 0, 0.5);\n}\n.styles-module__settingsNavLink___wCzJt.styles-module__light___r6n4Y:hover {\n color: rgba(0, 0, 0, 0.8);\n}\n.styles-module__settingsNavLink___wCzJt svg {\n color: rgba(255, 255, 255, 0.4);\n transition: color 0.15s ease;\n}\n.styles-module__settingsNavLink___wCzJt:hover svg {\n color: #fff;\n}\n.styles-module__settingsNavLink___wCzJt.styles-module__light___r6n4Y svg {\n color: rgba(0, 0, 0, 0.25);\n}\n.styles-module__settingsNavLink___wCzJt.styles-module__light___r6n4Y:hover svg {\n color: rgba(0, 0, 0, 0.8);\n}\n\n.styles-module__settingsNavLinkRight___ZWwhj {\n display: flex;\n align-items: center;\n gap: 6px;\n}\n\n.styles-module__mcpNavIndicator___cl9pO {\n width: 8px;\n height: 8px;\n border-radius: 50%;\n flex-shrink: 0;\n}\n.styles-module__mcpNavIndicator___cl9pO.styles-module__connected___7c28g {\n background: #34c759;\n animation: styles-module__mcpPulse___uNggr 2.5s ease-in-out infinite;\n}\n.styles-module__mcpNavIndicator___cl9pO.styles-module__connecting___uo-CW {\n background: #f5a623;\n animation: styles-module__mcpPulse___uNggr 1.5s ease-in-out infinite;\n}\n\n.styles-module__settingsBackButton___bIe2j {\n display: flex;\n align-items: center;\n gap: 4px;\n padding: 6px 0 12px 0;\n margin: -6px 0 0.5rem 0;\n border: none;\n border-bottom: 1px solid rgba(255, 255, 255, 0.07);\n border-radius: 0;\n background: transparent;\n font-family: inherit;\n font-size: 0.8125rem;\n font-weight: 500;\n letter-spacing: -0.15px;\n color: #fff;\n cursor: pointer;\n transition: transform 0.12s cubic-bezier(0.32, 0.72, 0, 1);\n}\n.styles-module__settingsBackButton___bIe2j svg {\n opacity: 0.4;\n flex-shrink: 0;\n transition: opacity 0.15s ease, transform 0.18s cubic-bezier(0.32, 0.72, 0, 1);\n}\n.styles-module__settingsBackButton___bIe2j:hover {\n border-bottom-color: rgba(255, 255, 255, 0.07);\n}\n.styles-module__settingsBackButton___bIe2j:hover svg {\n opacity: 1;\n}\n.styles-module__settingsBackButton___bIe2j.styles-module__light___r6n4Y {\n color: rgba(0, 0, 0, 0.85);\n border-bottom-color: rgba(0, 0, 0, 0.08);\n}\n.styles-module__settingsBackButton___bIe2j.styles-module__light___r6n4Y:hover {\n border-bottom-color: rgba(0, 0, 0, 0.08);\n}\n\n.styles-module__automationHeader___InP0r {\n display: flex;\n align-items: center;\n gap: 0.125rem;\n font-size: 0.8125rem;\n font-weight: 400;\n color: #fff;\n}\n.styles-module__automationHeader___InP0r .styles-module__helpIcon___xQg56 svg {\n transform: none;\n}\n.styles-module__automationHeader___InP0r.styles-module__light___r6n4Y {\n color: rgba(0, 0, 0, 0.85);\n}\n\n.styles-module__automationDescription___NKlmo {\n font-size: 0.6875rem;\n font-weight: 300;\n color: rgba(255, 255, 255, 0.5);\n margin-top: 2px;\n line-height: 14px;\n}\n.styles-module__automationDescription___NKlmo.styles-module__light___r6n4Y {\n color: rgba(0, 0, 0, 0.5);\n}\n\n.styles-module__learnMoreLink___8xv-x {\n color: rgba(255, 255, 255, 0.8);\n text-decoration: underline dotted;\n text-decoration-color: rgba(255, 255, 255, 0.2);\n text-underline-offset: 2px;\n transition: color 0.15s ease;\n}\n.styles-module__learnMoreLink___8xv-x:hover {\n color: #fff;\n}\n.styles-module__learnMoreLink___8xv-x.styles-module__light___r6n4Y {\n color: rgba(0, 0, 0, 0.6);\n text-decoration-color: rgba(0, 0, 0, 0.2);\n}\n.styles-module__learnMoreLink___8xv-x.styles-module__light___r6n4Y:hover {\n color: rgba(0, 0, 0, 0.85);\n}\n\n.styles-module__autoSendRow___UblX5 {\n display: flex;\n align-items: center;\n gap: 8px;\n}\n\n.styles-module__autoSendLabel___icDc2 {\n font-size: 0.6875rem;\n font-weight: 400;\n color: rgba(255, 255, 255, 0.4);\n transition: color 0.15s ease;\n}\n.styles-module__autoSendLabel___icDc2.styles-module__active___-zoN6 {\n color: #66b8ff;\n}\n.styles-module__autoSendLabel___icDc2.styles-module__light___r6n4Y {\n color: rgba(0, 0, 0, 0.4);\n}\n.styles-module__autoSendLabel___icDc2.styles-module__light___r6n4Y.styles-module__active___-zoN6 {\n color: #3c82f7;\n}\n\n.styles-module__webhookUrlInput___2375C {\n display: block;\n width: 100%;\n flex: 1;\n min-height: 60px;\n box-sizing: border-box;\n margin-top: 11px;\n padding: 8px 10px;\n border: 1px solid rgba(255, 255, 255, 0.1);\n border-radius: 6px;\n background: rgba(255, 255, 255, 0.03);\n font-family: inherit;\n font-size: 0.75rem;\n font-weight: 400;\n color: #fff;\n outline: none;\n resize: none;\n cursor: text !important;\n user-select: text;\n transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;\n}\n.styles-module__webhookUrlInput___2375C::placeholder {\n color: rgba(255, 255, 255, 0.3);\n}\n.styles-module__webhookUrlInput___2375C:focus {\n border-color: rgba(255, 255, 255, 0.3);\n background: rgba(255, 255, 255, 0.08);\n}\n.styles-module__webhookUrlInput___2375C.styles-module__light___r6n4Y {\n border-color: rgba(0, 0, 0, 0.1);\n background: rgba(0, 0, 0, 0.03);\n color: rgba(0, 0, 0, 0.85);\n}\n.styles-module__webhookUrlInput___2375C.styles-module__light___r6n4Y::placeholder {\n color: rgba(0, 0, 0, 0.3);\n}\n.styles-module__webhookUrlInput___2375C.styles-module__light___r6n4Y:focus {\n border-color: rgba(0, 0, 0, 0.25);\n background: rgba(0, 0, 0, 0.05);\n}\n\n.styles-module__settingsHeader___pwDY9 {\n display: flex;\n align-items: center;\n justify-content: space-between;\n min-height: 24px;\n margin-bottom: 0.5rem;\n padding-bottom: 9px;\n border-bottom: 1px solid rgba(255, 255, 255, 0.07);\n}\n\n.styles-module__settingsBrand___0gJeM {\n font-size: 0.8125rem;\n font-weight: 600;\n letter-spacing: -0.0094em;\n color: #fff;\n}\n\n.styles-module__settingsBrandSlash___uTG18 {\n color: rgba(255, 255, 255, 0.5);\n}\n\n.styles-module__settingsVersion___TUcFq {\n font-size: 11px;\n font-weight: 400;\n color: rgba(255, 255, 255, 0.4);\n margin-left: auto;\n letter-spacing: -0.0094em;\n}\n\n.styles-module__settingsSection___m-YM2 + .styles-module__settingsSection___m-YM2 {\n margin-top: 0.5rem;\n padding-top: 0.5rem;\n border-top: 1px solid rgba(255, 255, 255, 0.07);\n}\n.styles-module__settingsSection___m-YM2.styles-module__settingsSectionExtraPadding___jdhFV {\n padding-top: calc(0.5rem + 4px);\n}\n\n.styles-module__settingsSectionGrow___h-5HZ {\n flex: 1;\n display: flex;\n flex-direction: column;\n}\n\n.styles-module__settingsRow___3sdhc {\n display: flex;\n align-items: center;\n justify-content: space-between;\n min-height: 24px;\n}\n.styles-module__settingsRow___3sdhc.styles-module__settingsRowMarginTop___zA0Sp {\n margin-top: 8px;\n}\n\n.styles-module__dropdownContainer___BVnxe {\n position: relative;\n}\n\n.styles-module__dropdownButton___16NPz {\n display: flex;\n align-items: center;\n gap: 0.5rem;\n padding: 0.25rem 0.5rem;\n border: none;\n border-radius: 0.375rem;\n background: transparent;\n font-size: 0.8125rem;\n font-weight: 600;\n color: #fff;\n cursor: pointer;\n transition: background-color 0.15s ease, color 0.15s ease;\n letter-spacing: -0.0094em;\n}\n.styles-module__dropdownButton___16NPz:hover {\n background: rgba(255, 255, 255, 0.08);\n}\n.styles-module__dropdownButton___16NPz svg {\n opacity: 0.6;\n}\n\n.styles-module__cycleButton___FMKfw {\n display: flex;\n align-items: center;\n gap: 0.5rem;\n padding: 0;\n border: none;\n background: transparent;\n font-size: 0.8125rem;\n font-weight: 500;\n color: #fff;\n cursor: pointer;\n letter-spacing: -0.0094em;\n}\n.styles-module__cycleButton___FMKfw.styles-module__light___r6n4Y {\n color: rgba(0, 0, 0, 0.85);\n}\n.styles-module__cycleButton___FMKfw:disabled {\n opacity: 0.35;\n cursor: not-allowed;\n}\n\n.styles-module__settingsRowDisabled___EgS0V .styles-module__settingsLabel___8UjfX {\n color: rgba(255, 255, 255, 0.2);\n}\n.styles-module__settingsRowDisabled___EgS0V .styles-module__settingsLabel___8UjfX.styles-module__light___r6n4Y {\n color: rgba(0, 0, 0, 0.2);\n}\n.styles-module__settingsRowDisabled___EgS0V .styles-module__toggleSwitch___l4Ygm {\n opacity: 0.4;\n cursor: not-allowed;\n}\n\n@keyframes styles-module__cycleTextIn___Q6zJf {\n 0% {\n opacity: 0;\n transform: translateY(-6px);\n }\n 100% {\n opacity: 1;\n transform: translateY(0);\n }\n}\n.styles-module__cycleButtonText___fD1LR {\n display: inline-block;\n animation: styles-module__cycleTextIn___Q6zJf 0.2s ease-out;\n}\n\n.styles-module__cycleDots___LWuoQ {\n display: flex;\n flex-direction: column;\n gap: 2px;\n}\n\n.styles-module__cycleDot___nPgLY {\n width: 3px;\n height: 3px;\n border-radius: 50%;\n background: rgba(255, 255, 255, 0.3);\n transform: scale(0.667);\n transition: background-color 0.25s ease-out, transform 0.25s ease-out;\n}\n.styles-module__cycleDot___nPgLY.styles-module__active___-zoN6 {\n background: #fff;\n transform: scale(1);\n}\n.styles-module__cycleDot___nPgLY.styles-module__light___r6n4Y {\n background: rgba(0, 0, 0, 0.2);\n}\n.styles-module__cycleDot___nPgLY.styles-module__light___r6n4Y.styles-module__active___-zoN6 {\n background: rgba(0, 0, 0, 0.7);\n}\n\n.styles-module__dropdownMenu___k73ER {\n position: absolute;\n right: 0;\n top: calc(100% + 0.25rem);\n background: #1a1a1a;\n border-radius: 0.5rem;\n padding: 0.25rem;\n min-width: 120px;\n box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.1);\n z-index: 10;\n animation: styles-module__scaleIn___c-r1K 0.15s ease-out;\n}\n\n.styles-module__dropdownItem___ylsLj {\n width: 100%;\n display: flex;\n align-items: center;\n padding: 0.5rem 0.625rem;\n border: none;\n border-radius: 0.375rem;\n background: transparent;\n font-size: 0.8125rem;\n font-weight: 500;\n color: rgba(255, 255, 255, 0.85);\n cursor: pointer;\n text-align: left;\n transition: background-color 0.15s ease, color 0.15s ease;\n letter-spacing: -0.0094em;\n}\n.styles-module__dropdownItem___ylsLj:hover {\n background: rgba(255, 255, 255, 0.08);\n}\n.styles-module__dropdownItem___ylsLj.styles-module__selected___OwRqP {\n background: rgba(255, 255, 255, 0.12);\n color: #fff;\n font-weight: 600;\n}\n\n.styles-module__settingsLabel___8UjfX {\n font-size: 0.8125rem;\n font-weight: 400;\n letter-spacing: -0.0094em;\n color: rgba(255, 255, 255, 0.5);\n display: flex;\n align-items: center;\n gap: 0.125rem;\n}\n.styles-module__settingsLabel___8UjfX.styles-module__light___r6n4Y {\n color: rgba(0, 0, 0, 0.5);\n}\n\n.styles-module__settingsLabelMarker___ewdtV {\n padding-top: 3px;\n margin-bottom: 10px;\n}\n\n.styles-module__settingsOptions___LyrBA {\n display: flex;\n gap: 0.25rem;\n}\n\n.styles-module__settingsOption___UNa12 {\n flex: 1;\n display: flex;\n align-items: center;\n justify-content: center;\n gap: 0.25rem;\n padding: 0.375rem 0.5rem;\n border: none;\n border-radius: 0.375rem;\n background: transparent;\n font-size: 0.6875rem;\n font-weight: 500;\n color: rgba(0, 0, 0, 0.7);\n cursor: pointer;\n transition: background-color 0.15s ease, color 0.15s ease;\n}\n.styles-module__settingsOption___UNa12:hover {\n background: rgba(0, 0, 0, 0.05);\n}\n.styles-module__settingsOption___UNa12.styles-module__selected___OwRqP {\n background: rgba(60, 130, 247, 0.15);\n color: #3c82f7;\n}\n\n.styles-module__sliderContainer___ducXj {\n display: flex;\n flex-direction: column;\n gap: 0.5rem;\n}\n\n.styles-module__slider___GLdxp {\n -webkit-appearance: none;\n appearance: none;\n width: 100%;\n height: 4px;\n background: rgba(255, 255, 255, 0.15);\n border-radius: 2px;\n outline: none;\n cursor: pointer;\n}\n.styles-module__slider___GLdxp::-webkit-slider-thumb {\n -webkit-appearance: none;\n appearance: none;\n width: 14px;\n height: 14px;\n background: white;\n border-radius: 50%;\n cursor: pointer;\n transition: transform 0.15s ease, box-shadow 0.15s ease;\n box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);\n}\n.styles-module__slider___GLdxp::-moz-range-thumb {\n width: 14px;\n height: 14px;\n background: white;\n border: none;\n border-radius: 50%;\n cursor: pointer;\n transition: transform 0.15s ease, box-shadow 0.15s ease;\n box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);\n}\n.styles-module__slider___GLdxp:hover::-webkit-slider-thumb {\n transform: scale(1.15);\n box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);\n}\n.styles-module__slider___GLdxp:hover::-moz-range-thumb {\n transform: scale(1.15);\n box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);\n}\n\n.styles-module__sliderLabels___FhLDB {\n display: flex;\n justify-content: space-between;\n}\n\n.styles-module__sliderLabel___U8sPr {\n font-size: 0.625rem;\n font-weight: 500;\n color: rgba(255, 255, 255, 0.4);\n cursor: pointer;\n transition: color 0.15s ease;\n}\n.styles-module__sliderLabel___U8sPr:hover {\n color: rgba(255, 255, 255, 0.7);\n}\n.styles-module__sliderLabel___U8sPr.styles-module__active___-zoN6 {\n color: rgba(255, 255, 255, 0.9);\n}\n\n.styles-module__colorOptions___iHCNX {\n display: flex;\n gap: 0.5rem;\n margin-top: 0.375rem;\n margin-bottom: 1px;\n}\n\n.styles-module__colorOption___IodiY {\n display: block;\n width: 20px;\n height: 20px;\n border-radius: 50%;\n border: 2px solid transparent;\n cursor: pointer;\n transition: transform 0.2s cubic-bezier(0.25, 1, 0.5, 1);\n}\n.styles-module__colorOption___IodiY:hover {\n transform: scale(1.15);\n}\n.styles-module__colorOption___IodiY.styles-module__selected___OwRqP {\n transform: scale(0.83);\n}\n\n.styles-module__colorOptionRing___U2xpo {\n display: flex;\n width: 24px;\n height: 24px;\n border: 2px solid transparent;\n border-radius: 50%;\n transition: border-color 0.3s ease;\n}\n.styles-module__settingsToggle___fBrFn {\n display: flex;\n align-items: center;\n gap: 0.5rem;\n cursor: pointer;\n}\n.styles-module__settingsToggle___fBrFn + .styles-module__settingsToggle___fBrFn {\n margin-top: calc(0.5rem + 6px);\n}\n.styles-module__settingsToggle___fBrFn input[type=checkbox] {\n position: absolute;\n opacity: 0;\n width: 0;\n height: 0;\n}\n.styles-module__settingsToggle___fBrFn.styles-module__settingsToggleMarginBottom___MZUyF {\n margin-bottom: calc(0.5rem + 6px);\n}\n\n.styles-module__customCheckbox___U39ax {\n position: relative;\n width: 14px;\n height: 14px;\n border: 1px solid rgba(255, 255, 255, 0.2);\n border-radius: 4px;\n background: rgba(255, 255, 255, 0.05);\n display: flex;\n align-items: center;\n justify-content: center;\n flex-shrink: 0;\n transition: background 0.25s ease, border-color 0.25s ease;\n}\n.styles-module__customCheckbox___U39ax svg {\n color: #1a1a1a;\n opacity: 1;\n transition: opacity 0.15s ease;\n}\ninput[type=checkbox]:checked + .styles-module__customCheckbox___U39ax {\n border-color: rgba(255, 255, 255, 0.3);\n background: rgb(255, 255, 255);\n}\n.styles-module__customCheckbox___U39ax.styles-module__light___r6n4Y {\n border: 1px solid rgba(0, 0, 0, 0.15);\n background: #fff;\n}\n.styles-module__customCheckbox___U39ax.styles-module__light___r6n4Y.styles-module__checked___mnZLo {\n border-color: #1a1a1a;\n background: #1a1a1a;\n}\n.styles-module__customCheckbox___U39ax.styles-module__light___r6n4Y.styles-module__checked___mnZLo svg {\n color: #fff;\n}\n\n.styles-module__toggleLabel___Xm8Aa {\n font-size: 0.8125rem;\n font-weight: 400;\n color: rgba(255, 255, 255, 0.5);\n letter-spacing: -0.0094em;\n display: flex;\n align-items: center;\n gap: 0.25rem;\n}\n.styles-module__toggleLabel___Xm8Aa.styles-module__light___r6n4Y {\n color: rgba(0, 0, 0, 0.5);\n}\n\n.styles-module__toggleSwitch___l4Ygm {\n position: relative;\n display: inline-block;\n width: 24px;\n height: 16px;\n flex-shrink: 0;\n cursor: pointer;\n transition: opacity 0.15s ease;\n}\n.styles-module__toggleSwitch___l4Ygm input {\n opacity: 0;\n width: 0;\n height: 0;\n}\n.styles-module__toggleSwitch___l4Ygm input:checked + .styles-module__toggleSlider___wprIn {\n background: #3c82f7;\n}\n.styles-module__toggleSwitch___l4Ygm input:checked + .styles-module__toggleSlider___wprIn::before {\n transform: translateX(8px);\n}\n.styles-module__toggleSwitch___l4Ygm.styles-module__disabled___332Jw {\n opacity: 0.4;\n pointer-events: none;\n}\n.styles-module__toggleSwitch___l4Ygm.styles-module__disabled___332Jw .styles-module__toggleSlider___wprIn {\n cursor: not-allowed;\n}\n\n.styles-module__toggleSlider___wprIn {\n position: absolute;\n cursor: pointer;\n inset: 0;\n border-radius: 16px;\n background: #484848;\n}\n.styles-module__light___r6n4Y .styles-module__toggleSlider___wprIn {\n background: #dddddd;\n}\n.styles-module__toggleSlider___wprIn::before {\n content: "";\n position: absolute;\n height: 12px;\n width: 12px;\n left: 2px;\n bottom: 2px;\n background: white;\n border-radius: 50%;\n transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);\n box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);\n}\n\n@keyframes styles-module__mcpPulse___uNggr {\n 0% {\n box-shadow: 0 0 0 0 rgba(52, 199, 89, 0.5);\n }\n 70% {\n box-shadow: 0 0 0 6px rgba(52, 199, 89, 0);\n }\n 100% {\n box-shadow: 0 0 0 0 rgba(52, 199, 89, 0);\n }\n}\n@keyframes styles-module__mcpPulseError___fov9B {\n 0% {\n box-shadow: 0 0 0 0 rgba(255, 59, 48, 0.5);\n }\n 70% {\n box-shadow: 0 0 0 6px rgba(255, 59, 48, 0);\n }\n 100% {\n box-shadow: 0 0 0 0 rgba(255, 59, 48, 0);\n }\n}\n.styles-module__mcpStatusDot___ibgkc {\n width: 8px;\n height: 8px;\n border-radius: 50%;\n flex-shrink: 0;\n}\n.styles-module__mcpStatusDot___ibgkc.styles-module__connecting___uo-CW {\n background: #f5a623;\n animation: styles-module__mcpPulse___uNggr 1.5s infinite;\n}\n.styles-module__mcpStatusDot___ibgkc.styles-module__connected___7c28g {\n background: #34c759;\n animation: styles-module__mcpPulse___uNggr 2.5s ease-in-out infinite;\n}\n.styles-module__mcpStatusDot___ibgkc.styles-module__disconnected___cHPxR {\n background: #ff3b30;\n animation: styles-module__mcpPulseError___fov9B 2s infinite;\n}\n\n.styles-module__helpIcon___xQg56 {\n position: relative;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n cursor: help;\n margin-left: 0;\n}\n.styles-module__helpIcon___xQg56 svg {\n display: block;\n transform: translateY(1px);\n color: rgba(255, 255, 255, 0.2);\n transition: color 0.15s ease;\n}\n.styles-module__helpIcon___xQg56:hover svg {\n color: rgba(255, 255, 255, 0.5);\n}\n.styles-module__helpIcon___xQg56.styles-module__helpIconNudgeDown___0cqpM svg {\n transform: translateY(1px);\n}\n.styles-module__helpIcon___xQg56.styles-module__helpIconNoNudge___abogC svg {\n transform: translateY(0.5px);\n}\n.styles-module__helpIcon___xQg56.styles-module__helpIconNudge1-5___DM2TQ svg {\n transform: translateY(1.5px);\n}\n.styles-module__helpIcon___xQg56.styles-module__helpIconNudge2___TfWgC svg {\n transform: translateY(2px);\n}\n\n.styles-module__dragSelection___kZLq2 {\n position: fixed;\n top: 0;\n left: 0;\n border: 2px solid rgba(52, 199, 89, 0.6);\n border-radius: 4px;\n background: rgba(52, 199, 89, 0.08);\n pointer-events: none;\n z-index: 99997;\n will-change: transform, width, height;\n contain: layout style;\n}\n\n.styles-module__dragCount___KM90j {\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n background: #34c759;\n color: white;\n font-size: 0.875rem;\n font-weight: 600;\n padding: 0.25rem 0.5rem;\n border-radius: 1rem;\n min-width: 1.5rem;\n text-align: center;\n}\n\n.styles-module__highlightsContainer___-0xzG {\n position: fixed;\n top: 0;\n left: 0;\n pointer-events: none;\n z-index: 99996;\n}\n\n.styles-module__selectedElementHighlight___fyVlI {\n position: fixed;\n top: 0;\n left: 0;\n border: 2px solid rgba(52, 199, 89, 0.5);\n border-radius: 4px;\n background: rgba(52, 199, 89, 0.06);\n pointer-events: none;\n will-change: transform, width, height;\n contain: layout style;\n}\n\n.styles-module__light___r6n4Y.styles-module__toolbarContainer___dIhma {\n background: #fff;\n color: rgba(0, 0, 0, 0.85);\n box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08), 0 4px 16px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(0, 0, 0, 0.04);\n}\n.styles-module__light___r6n4Y.styles-module__toolbarContainer___dIhma.styles-module__collapsed___Rydsn:hover {\n background: #f5f5f5;\n}\n.styles-module__light___r6n4Y.styles-module__controlButton___8Q0jc {\n color: rgba(0, 0, 0, 0.5);\n}\n.styles-module__light___r6n4Y.styles-module__controlButton___8Q0jc:hover:not(:disabled):not([data-active=true]):not([data-failed=true]):not([data-auto-sync=true]):not([data-error=true]):not([data-no-hover=true]) {\n background: rgba(0, 0, 0, 0.06);\n color: rgba(0, 0, 0, 0.85);\n}\n.styles-module__light___r6n4Y.styles-module__controlButton___8Q0jc[data-active=true] {\n color: #3c82f7;\n background: rgba(60, 130, 247, 0.15);\n}\n.styles-module__light___r6n4Y.styles-module__controlButton___8Q0jc[data-error=true] {\n color: #ff3b30;\n background: rgba(255, 59, 48, 0.15);\n}\n.styles-module__light___r6n4Y.styles-module__controlButton___8Q0jc[data-danger]:hover:not(:disabled):not([data-active=true]):not([data-failed=true]) {\n background: rgba(255, 59, 48, 0.15);\n color: #ff3b30;\n}\n.styles-module__light___r6n4Y.styles-module__controlButton___8Q0jc[data-auto-sync=true] {\n color: #34c759;\n background: transparent;\n}\n.styles-module__light___r6n4Y.styles-module__controlButton___8Q0jc[data-failed=true] {\n color: #ff3b30;\n background: rgba(255, 59, 48, 0.15);\n}\n.styles-module__light___r6n4Y.styles-module__buttonTooltip___Burd9 {\n background: #fff;\n color: rgba(0, 0, 0, 0.85);\n box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08), 0 4px 16px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(0, 0, 0, 0.04);\n}\n.styles-module__light___r6n4Y.styles-module__buttonTooltip___Burd9::after {\n background: #fff;\n}\n.styles-module__light___r6n4Y.styles-module__divider___c--s1 {\n background: rgba(0, 0, 0, 0.1);\n}\n.styles-module__light___r6n4Y.styles-module__markerTooltip___aLJID {\n background: #fff;\n box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.06);\n}\n.styles-module__light___r6n4Y.styles-module__markerTooltip___aLJID .styles-module__markerQuote___FHmrz {\n color: rgba(0, 0, 0, 0.5);\n}\n.styles-module__light___r6n4Y.styles-module__markerTooltip___aLJID .styles-module__markerNote___QkrrS {\n color: rgba(0, 0, 0, 0.85);\n}\n.styles-module__light___r6n4Y.styles-module__markerTooltip___aLJID .styles-module__markerHint___2iF-6 {\n color: rgba(0, 0, 0, 0.35);\n}\n.styles-module__light___r6n4Y.styles-module__settingsPanel___OxX3Y {\n background: #fff;\n box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08), 0 4px 16px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(0, 0, 0, 0.04);\n}\n.styles-module__light___r6n4Y.styles-module__settingsPanel___OxX3Y::before {\n background: linear-gradient(to right, #fff 0%, transparent 100%);\n}\n.styles-module__light___r6n4Y.styles-module__settingsPanel___OxX3Y::after {\n background: linear-gradient(to left, #fff 0%, transparent 100%);\n}\n.styles-module__light___r6n4Y.styles-module__settingsPanel___OxX3Y .styles-module__settingsHeader___pwDY9 {\n border-bottom-color: rgba(0, 0, 0, 0.08);\n}\n.styles-module__light___r6n4Y.styles-module__settingsPanel___OxX3Y .styles-module__settingsBrand___0gJeM {\n color: rgba(0, 0, 0, 0.85);\n}\n.styles-module__light___r6n4Y.styles-module__settingsPanel___OxX3Y .styles-module__settingsBrandSlash___uTG18 {\n color: rgba(0, 0, 0, 0.4);\n}\n.styles-module__light___r6n4Y.styles-module__settingsPanel___OxX3Y .styles-module__settingsVersion___TUcFq {\n color: rgba(0, 0, 0, 0.4);\n}\n.styles-module__light___r6n4Y.styles-module__settingsPanel___OxX3Y .styles-module__settingsSection___m-YM2 {\n border-top-color: rgba(0, 0, 0, 0.08);\n}\n.styles-module__light___r6n4Y.styles-module__settingsPanel___OxX3Y .styles-module__settingsLabel___8UjfX {\n color: rgba(0, 0, 0, 0.5);\n}\n.styles-module__light___r6n4Y.styles-module__settingsPanel___OxX3Y .styles-module__cycleButton___FMKfw {\n color: rgba(0, 0, 0, 0.85);\n}\n.styles-module__light___r6n4Y.styles-module__settingsPanel___OxX3Y .styles-module__cycleDot___nPgLY {\n background: rgba(0, 0, 0, 0.2);\n}\n.styles-module__light___r6n4Y.styles-module__settingsPanel___OxX3Y .styles-module__cycleDot___nPgLY.styles-module__active___-zoN6 {\n background: rgba(0, 0, 0, 0.7);\n}\n.styles-module__light___r6n4Y.styles-module__settingsPanel___OxX3Y .styles-module__dropdownButton___16NPz {\n color: rgba(0, 0, 0, 0.85);\n}\n.styles-module__light___r6n4Y.styles-module__settingsPanel___OxX3Y .styles-module__dropdownButton___16NPz:hover {\n background: rgba(0, 0, 0, 0.05);\n}\n.styles-module__light___r6n4Y.styles-module__settingsPanel___OxX3Y .styles-module__toggleLabel___Xm8Aa {\n color: rgba(0, 0, 0, 0.5);\n}\n.styles-module__light___r6n4Y.styles-module__settingsPanel___OxX3Y .styles-module__customCheckbox___U39ax {\n border: 1px solid rgba(0, 0, 0, 0.15);\n background: #fff;\n}\n.styles-module__light___r6n4Y.styles-module__settingsPanel___OxX3Y .styles-module__customCheckbox___U39ax.styles-module__checked___mnZLo {\n border-color: #1a1a1a;\n background: #1a1a1a;\n}\n.styles-module__light___r6n4Y.styles-module__settingsPanel___OxX3Y .styles-module__customCheckbox___U39ax.styles-module__checked___mnZLo svg {\n color: #fff;\n}\n.styles-module__light___r6n4Y.styles-module__settingsPanel___OxX3Y .styles-module__sliderLabel___U8sPr {\n color: rgba(0, 0, 0, 0.4);\n}\n.styles-module__light___r6n4Y.styles-module__settingsPanel___OxX3Y .styles-module__sliderLabel___U8sPr:hover {\n color: rgba(0, 0, 0, 0.7);\n}\n.styles-module__light___r6n4Y.styles-module__settingsPanel___OxX3Y .styles-module__sliderLabel___U8sPr.styles-module__active___-zoN6 {\n color: rgba(0, 0, 0, 0.9);\n}\n.styles-module__light___r6n4Y.styles-module__settingsPanel___OxX3Y .styles-module__slider___GLdxp {\n background: rgba(0, 0, 0, 0.1);\n}\n.styles-module__light___r6n4Y.styles-module__settingsPanel___OxX3Y .styles-module__slider___GLdxp::-webkit-slider-thumb {\n background: #1a1a1a;\n}\n.styles-module__light___r6n4Y.styles-module__settingsPanel___OxX3Y .styles-module__slider___GLdxp::-moz-range-thumb {\n background: #1a1a1a;\n}\n.styles-module__light___r6n4Y.styles-module__settingsPanel___OxX3Y .styles-module__helpIcon___xQg56 svg {\n color: rgba(0, 0, 0, 0.2);\n}\n.styles-module__light___r6n4Y.styles-module__settingsPanel___OxX3Y .styles-module__helpIcon___xQg56:hover svg {\n color: rgba(0, 0, 0, 0.5);\n}\n\n.styles-module__themeToggle___2rUjA {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 22px;\n height: 22px;\n margin-left: 0.5rem;\n border: none;\n border-radius: 6px;\n background: transparent;\n color: rgba(255, 255, 255, 0.4);\n cursor: pointer;\n transition: background-color 0.15s ease, color 0.15s ease;\n}\n.styles-module__themeToggle___2rUjA:hover {\n background: rgba(255, 255, 255, 0.1);\n color: rgba(255, 255, 255, 0.8);\n}\n.styles-module__light___r6n4Y .styles-module__themeToggle___2rUjA {\n color: rgba(0, 0, 0, 0.4);\n}\n.styles-module__light___r6n4Y .styles-module__themeToggle___2rUjA:hover {\n background: rgba(0, 0, 0, 0.06);\n color: rgba(0, 0, 0, 0.7);\n}\n\n.styles-module__themeIconWrapper___LsJIM {\n display: flex;\n align-items: center;\n justify-content: center;\n position: relative;\n width: 20px;\n height: 20px;\n}\n\n.styles-module__themeIcon___lCCmo {\n display: flex;\n align-items: center;\n justify-content: center;\n animation: styles-module__themeIconIn___TU6ML 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;\n}\n\n@keyframes styles-module__themeIconIn___TU6ML {\n 0% {\n opacity: 0;\n transform: scale(0.8) rotate(-30deg);\n }\n 100% {\n opacity: 1;\n transform: scale(1) rotate(0deg);\n }\n}';
|
|
2664
|
-
var
|
|
2635
|
+
var css3 = '.styles-module__toolbar___wNsdK svg[fill=none],\n.styles-module__markersLayer___-25j1 svg[fill=none],\n.styles-module__fixedMarkersLayer___ffyX6 svg[fill=none] {\n fill: none !important;\n}\n.styles-module__toolbar___wNsdK svg[fill=none] :not([fill]),\n.styles-module__markersLayer___-25j1 svg[fill=none] :not([fill]),\n.styles-module__fixedMarkersLayer___ffyX6 svg[fill=none] :not([fill]) {\n fill: none !important;\n}\n\n.styles-module__toolbar___wNsdK :where(button, input, select, textarea, label) {\n background: unset;\n border: unset;\n border-radius: unset;\n padding: unset;\n margin: unset;\n color: unset;\n font: unset;\n letter-spacing: unset;\n text-transform: unset;\n text-decoration: unset;\n box-shadow: unset;\n outline: unset;\n}\n\n@keyframes styles-module__toolbarEnter___u8RRu {\n from {\n opacity: 0;\n transform: scale(0.5) rotate(90deg);\n }\n to {\n opacity: 1;\n transform: scale(1) rotate(0deg);\n }\n}\n@keyframes styles-module__toolbarHide___y8kaT {\n from {\n opacity: 1;\n transform: scale(1);\n }\n to {\n opacity: 0;\n transform: scale(0.8);\n }\n}\n@keyframes styles-module__badgeEnter___mVQLj {\n from {\n opacity: 0;\n transform: scale(0);\n }\n to {\n opacity: 1;\n transform: scale(1);\n }\n}\n@keyframes styles-module__scaleIn___c-r1K {\n from {\n opacity: 0;\n transform: scale(0.85);\n }\n to {\n opacity: 1;\n transform: scale(1);\n }\n}\n@keyframes styles-module__scaleOut___Wctwz {\n from {\n opacity: 1;\n transform: scale(1);\n }\n to {\n opacity: 0;\n transform: scale(0.85);\n }\n}\n@keyframes styles-module__slideUp___kgD36 {\n from {\n opacity: 0;\n transform: scale(0.85) translateY(8px);\n }\n to {\n opacity: 1;\n transform: scale(1) translateY(0);\n }\n}\n@keyframes styles-module__slideDown___zcdje {\n from {\n opacity: 1;\n transform: scale(1) translateY(0);\n }\n to {\n opacity: 0;\n transform: scale(0.85) translateY(8px);\n }\n}\n@keyframes styles-module__markerIn___5FaAP {\n 0% {\n opacity: 0;\n transform: translate(-50%, -50%) scale(0.3);\n }\n 100% {\n opacity: 1;\n transform: translate(-50%, -50%) scale(1);\n }\n}\n@keyframes styles-module__markerOut___GU5jX {\n 0% {\n opacity: 1;\n transform: translate(-50%, -50%) scale(1);\n }\n 100% {\n opacity: 0;\n transform: translate(-50%, -50%) scale(0.3);\n }\n}\n@keyframes styles-module__fadeIn___b9qmf {\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n}\n@keyframes styles-module__fadeOut___6Ut6- {\n from {\n opacity: 1;\n }\n to {\n opacity: 0;\n }\n}\n@keyframes styles-module__tooltipIn___0N31w {\n from {\n opacity: 0;\n transform: translateX(-50%) translateY(2px) scale(0.891);\n }\n to {\n opacity: 1;\n transform: translateX(-50%) translateY(0) scale(0.909);\n }\n}\n@keyframes styles-module__hoverHighlightIn___6WYHY {\n from {\n opacity: 0;\n transform: scale(0.98);\n }\n to {\n opacity: 1;\n transform: scale(1);\n }\n}\n@keyframes styles-module__hoverTooltipIn___FYGQx {\n from {\n opacity: 0;\n transform: scale(0.95) translateY(4px);\n }\n to {\n opacity: 1;\n transform: scale(1) translateY(0);\n }\n}\n@keyframes styles-module__settingsPanelIn___MGfO8 {\n from {\n opacity: 0;\n transform: translateY(10px) scale(0.95);\n filter: blur(5px);\n }\n to {\n opacity: 1;\n transform: translateY(0) scale(1);\n filter: blur(0px);\n }\n}\n@keyframes styles-module__settingsPanelOut___Zfymi {\n from {\n opacity: 1;\n transform: translateY(0) scale(1);\n filter: blur(0px);\n }\n to {\n opacity: 0;\n transform: translateY(20px) scale(0.95);\n filter: blur(5px);\n }\n}\n.styles-module__disableTransitions___EopxO :is(*, *::before, *::after) {\n transition: none !important;\n}\n\n.styles-module__toolbar___wNsdK {\n position: fixed;\n width: 297px;\n z-index: 100000;\n font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;\n pointer-events: none;\n transition: left 0s, top 0s, right 0s, bottom 0s;\n}\n\n:where(.styles-module__toolbar___wNsdK) {\n bottom: 1.25rem;\n right: 1.25rem;\n}\n\n.styles-module__toolbarContainer___dIhma {\n user-select: none;\n margin-left: auto;\n align-self: flex-end;\n display: flex;\n align-items: center;\n justify-content: center;\n background: #1a1a1a;\n color: #fff;\n border: none;\n box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2), 0 4px 16px rgba(0, 0, 0, 0.1);\n pointer-events: auto;\n cursor: grab;\n transition: width 0.4s cubic-bezier(0.19, 1, 0.22, 1), transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);\n}\n.styles-module__toolbarContainer___dIhma.styles-module__dragging___xrolZ {\n transition: width 0.4s cubic-bezier(0.19, 1, 0.22, 1);\n cursor: grabbing;\n}\n.styles-module__toolbarContainer___dIhma.styles-module__entrance___sgHd8 {\n animation: styles-module__toolbarEnter___u8RRu 0.5s cubic-bezier(0.34, 1.2, 0.64, 1) forwards;\n}\n.styles-module__toolbarContainer___dIhma.styles-module__hiding___1td44 {\n animation: styles-module__toolbarHide___y8kaT 0.4s cubic-bezier(0.4, 0, 1, 1) forwards;\n pointer-events: none;\n}\n.styles-module__toolbarContainer___dIhma.styles-module__collapsed___Rydsn {\n width: 44px;\n height: 44px;\n border-radius: 22px;\n padding: 0;\n cursor: pointer;\n}\n.styles-module__toolbarContainer___dIhma.styles-module__collapsed___Rydsn svg {\n margin-top: -1px;\n}\n.styles-module__toolbarContainer___dIhma.styles-module__collapsed___Rydsn:hover {\n background: #2a2a2a;\n}\n.styles-module__toolbarContainer___dIhma.styles-module__collapsed___Rydsn:active {\n transform: scale(0.95);\n}\n.styles-module__toolbarContainer___dIhma.styles-module__expanded___ofKPx {\n height: 44px;\n border-radius: 1.5rem;\n padding: 0.375rem;\n width: 257px;\n}\n.styles-module__toolbarContainer___dIhma.styles-module__expanded___ofKPx.styles-module__serverConnected___Gfbou {\n width: 297px;\n}\n\n.styles-module__toggleContent___0yfyP {\n position: absolute;\n display: flex;\n align-items: center;\n justify-content: center;\n transition: opacity 0.1s cubic-bezier(0.19, 1, 0.22, 1);\n}\n.styles-module__toggleContent___0yfyP.styles-module__visible___KHwEW {\n opacity: 1;\n visibility: visible;\n pointer-events: auto;\n}\n.styles-module__toggleContent___0yfyP.styles-module__hidden___Ae8H4 {\n opacity: 0;\n pointer-events: none;\n}\n\n.styles-module__controlsContent___9GJWU {\n display: flex;\n align-items: center;\n gap: 0.375rem;\n transition: filter 0.8s cubic-bezier(0.19, 1, 0.22, 1), opacity 0.8s cubic-bezier(0.19, 1, 0.22, 1), transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);\n}\n.styles-module__controlsContent___9GJWU.styles-module__visible___KHwEW {\n opacity: 1;\n filter: blur(0px);\n transform: scale(1);\n visibility: visible;\n pointer-events: auto;\n}\n.styles-module__controlsContent___9GJWU.styles-module__hidden___Ae8H4 {\n pointer-events: none;\n opacity: 0;\n filter: blur(10px);\n transform: scale(0.4);\n}\n\n.styles-module__badge___2XsgF {\n position: absolute;\n top: -13px;\n right: -13px;\n user-select: none;\n min-width: 18px;\n height: 18px;\n padding: 0 5px;\n border-radius: 9px;\n background-color: var(--agentation-color-accent);\n color: white;\n font-size: 0.625rem;\n font-weight: 600;\n display: flex;\n align-items: center;\n justify-content: center;\n box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15), inset 0 0 0 1px rgba(255, 255, 255, 0.04);\n opacity: 1;\n transition: transform 0.3s ease, opacity 0.2s ease;\n transform: scale(1);\n}\n.styles-module__badge___2XsgF.styles-module__fadeOut___6Ut6- {\n opacity: 0;\n transform: scale(0);\n pointer-events: none;\n}\n.styles-module__badge___2XsgF.styles-module__entrance___sgHd8 {\n animation: styles-module__badgeEnter___mVQLj 0.3s cubic-bezier(0.34, 1.2, 0.64, 1) 0.4s both;\n}\n\n.styles-module__controlButton___8Q0jc {\n position: relative;\n cursor: pointer !important;\n display: flex;\n align-items: center;\n justify-content: center;\n width: 34px;\n height: 34px;\n border-radius: 50%;\n border: none;\n background: transparent;\n color: rgba(255, 255, 255, 0.85);\n transition: background-color 0.15s ease, color 0.15s ease, transform 0.1s ease, opacity 0.2s ease;\n}\n.styles-module__controlButton___8Q0jc:hover:not(:disabled):not([data-active=true]):not([data-failed=true]):not([data-auto-sync=true]):not([data-error=true]):not([data-no-hover=true]) {\n background: rgba(255, 255, 255, 0.12);\n color: #fff;\n}\n.styles-module__controlButton___8Q0jc:active:not(:disabled) {\n transform: scale(0.92);\n}\n.styles-module__controlButton___8Q0jc:disabled {\n opacity: 0.35;\n cursor: not-allowed;\n}\n.styles-module__controlButton___8Q0jc[data-active=true] {\n color: var(--agentation-color-blue);\n background-color: color-mix(in srgb, var(--agentation-color-blue) 25%, transparent);\n}\n.styles-module__controlButton___8Q0jc[data-error=true] {\n color: var(--agentation-color-red);\n background-color: color-mix(in srgb, var(--agentation-color-red) 25%, transparent);\n}\n.styles-module__controlButton___8Q0jc[data-danger]:hover:not(:disabled):not([data-active=true]):not([data-failed=true]) {\n background-color: color-mix(in srgb, var(--agentation-color-red) 25%, transparent);\n color: var(--agentation-color-red);\n}\n.styles-module__controlButton___8Q0jc[data-no-hover=true], .styles-module__controlButton___8Q0jc.styles-module__statusShowing___te6iu {\n cursor: default !important;\n pointer-events: none;\n background: transparent !important;\n}\n.styles-module__controlButton___8Q0jc[data-auto-sync=true] {\n color: var(--agentation-color-green);\n background: transparent;\n cursor: default;\n}\n.styles-module__controlButton___8Q0jc[data-failed=true] {\n color: var(--agentation-color-red);\n background-color: color-mix(in srgb, var(--agentation-color-red) 25%, transparent);\n}\n\n.styles-module__buttonBadge___NeFWb {\n position: absolute;\n top: 0px;\n right: 0px;\n min-width: 16px;\n height: 16px;\n padding: 0 4px;\n border-radius: 8px;\n background-color: var(--agentation-color-accent);\n color: white;\n font-size: 0.625rem;\n font-weight: 600;\n display: flex;\n align-items: center;\n justify-content: center;\n box-shadow: 0 0 0 2px #1a1a1a, 0 1px 3px rgba(0, 0, 0, 0.2);\n pointer-events: none;\n}\n[data-agentation-theme=light] .styles-module__buttonBadge___NeFWb {\n box-shadow: 0 0 0 2px #fff, 0 1px 3px rgba(0, 0, 0, 0.2);\n}\n\n@keyframes styles-module__mcpIndicatorPulseConnected___EDodZ {\n 0%, 100% {\n box-shadow: 0 0 0 0 color-mix(in srgb, var(--agentation-color-green) 50%, transparent);\n }\n 50% {\n box-shadow: 0 0 0 5px color-mix(in srgb, var(--agentation-color-green) 0%, transparent);\n }\n}\n@keyframes styles-module__mcpIndicatorPulseConnecting___cCYte {\n 0%, 100% {\n box-shadow: 0 0 0 0 color-mix(in srgb, var(--agentation-color-yellow) 50%, transparent);\n }\n 50% {\n box-shadow: 0 0 0 5px color-mix(in srgb, var(--agentation-color-yellow) 0%, transparent);\n }\n}\n.styles-module__mcpIndicator___zGJeL {\n position: absolute;\n top: 3px;\n right: 3px;\n width: 6px;\n height: 6px;\n border-radius: 50%;\n pointer-events: none;\n transition: background-color 0.3s ease, opacity 0.15s ease, transform 0.15s ease;\n opacity: 1;\n transform: scale(1);\n}\n.styles-module__mcpIndicator___zGJeL.styles-module__connected___7c28g {\n background-color: var(--agentation-color-green);\n animation: styles-module__mcpIndicatorPulseConnected___EDodZ 2.5s ease-in-out infinite;\n}\n.styles-module__mcpIndicator___zGJeL.styles-module__connecting___uo-CW {\n background-color: var(--agentation-color-yellow);\n animation: styles-module__mcpIndicatorPulseConnecting___cCYte 1.5s ease-in-out infinite;\n}\n.styles-module__mcpIndicator___zGJeL.styles-module__hidden___Ae8H4 {\n opacity: 0;\n transform: scale(0);\n animation: none;\n}\n\n@keyframes styles-module__connectionPulse___-Zycw {\n 0%, 100% {\n opacity: 1;\n transform: scale(1);\n }\n 50% {\n opacity: 0.6;\n transform: scale(0.9);\n }\n}\n.styles-module__connectionIndicatorWrapper___L-e-3 {\n width: 8px;\n height: 34px;\n margin-left: 6px;\n margin-right: 6px;\n}\n\n.styles-module__connectionIndicator___afk9p {\n position: relative;\n width: 8px;\n height: 8px;\n border-radius: 50%;\n opacity: 0;\n transition: opacity 0.3s ease, background-color 0.3s ease;\n cursor: default;\n}\n\n.styles-module__connectionIndicatorVisible___C-i5B {\n opacity: 1;\n}\n\n.styles-module__connectionIndicatorConnected___IY8pR {\n background-color: var(--agentation-color-green);\n animation: styles-module__connectionPulse___-Zycw 2.5s ease-in-out infinite;\n}\n\n.styles-module__connectionIndicatorDisconnected___kmpaZ {\n background-color: var(--agentation-color-red);\n animation: none;\n}\n\n.styles-module__connectionIndicatorConnecting___QmSLH {\n background-color: var(--agentation-color-yellow);\n animation: styles-module__connectionPulse___-Zycw 1s ease-in-out infinite;\n}\n\n.styles-module__buttonWrapper___rBcdv {\n position: relative;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n.styles-module__buttonWrapper___rBcdv:hover .styles-module__buttonTooltip___Burd9 {\n opacity: 1;\n visibility: visible;\n transform: translateX(-50%) scale(1);\n transition-delay: 0.85s;\n}\n.styles-module__buttonWrapper___rBcdv:has(.styles-module__controlButton___8Q0jc:disabled):hover .styles-module__buttonTooltip___Burd9 {\n opacity: 0;\n visibility: hidden;\n}\n\n.styles-module__tooltipsInSession___-0lHH .styles-module__buttonWrapper___rBcdv:hover .styles-module__buttonTooltip___Burd9 {\n transition-delay: 0s;\n}\n\n.styles-module__sendButtonWrapper___UUxG6 {\n width: 0;\n opacity: 0;\n overflow: hidden;\n pointer-events: none;\n margin-left: -0.375rem;\n transition: width 0.4s cubic-bezier(0.19, 1, 0.22, 1), opacity 0.3s cubic-bezier(0.19, 1, 0.22, 1), margin 0.4s cubic-bezier(0.19, 1, 0.22, 1);\n}\n.styles-module__sendButtonWrapper___UUxG6 .styles-module__controlButton___8Q0jc {\n transform: scale(0.8);\n transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);\n}\n.styles-module__sendButtonWrapper___UUxG6.styles-module__sendButtonVisible___WPSQU {\n width: 34px;\n opacity: 1;\n overflow: visible;\n pointer-events: auto;\n margin-left: 0;\n}\n.styles-module__sendButtonWrapper___UUxG6.styles-module__sendButtonVisible___WPSQU .styles-module__controlButton___8Q0jc {\n transform: scale(1);\n}\n\n.styles-module__buttonTooltip___Burd9 {\n position: absolute;\n bottom: calc(100% + 14px);\n left: 50%;\n transform: translateX(-50%) scale(0.95);\n padding: 6px 10px;\n background: #1a1a1a;\n color: rgba(255, 255, 255, 0.9);\n font-size: 12px;\n font-weight: 500;\n border-radius: 8px;\n white-space: nowrap;\n opacity: 0;\n visibility: hidden;\n pointer-events: none;\n z-index: 100001;\n box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);\n transition: opacity 0.135s ease, transform 0.135s ease, visibility 0.135s ease;\n}\n.styles-module__buttonTooltip___Burd9::after {\n content: "";\n position: absolute;\n top: calc(100% - 4px);\n left: 50%;\n transform: translateX(-50%) rotate(45deg);\n width: 8px;\n height: 8px;\n background: #1a1a1a;\n border-radius: 0 0 2px 0;\n}\n\n.styles-module__shortcut___lEAQk {\n margin-left: 4px;\n opacity: 0.5;\n}\n\n.styles-module__tooltipBelow___m6ats .styles-module__buttonTooltip___Burd9 {\n bottom: auto;\n top: calc(100% + 14px);\n transform: translateX(-50%) scale(0.95);\n}\n.styles-module__tooltipBelow___m6ats .styles-module__buttonTooltip___Burd9::after {\n top: -4px;\n bottom: auto;\n border-radius: 2px 0 0 0;\n}\n\n.styles-module__tooltipBelow___m6ats .styles-module__buttonWrapper___rBcdv:hover .styles-module__buttonTooltip___Burd9 {\n transform: translateX(-50%) scale(1);\n}\n\n.styles-module__tooltipsHidden___VtLJG .styles-module__buttonTooltip___Burd9 {\n opacity: 0 !important;\n visibility: hidden !important;\n transition: none !important;\n}\n\n.styles-module__tooltipVisible___0jcCv,\n.styles-module__tooltipsHidden___VtLJG .styles-module__tooltipVisible___0jcCv {\n opacity: 1 !important;\n visibility: visible !important;\n transform: translateX(-50%) scale(1) !important;\n transition-delay: 0s !important;\n}\n\n.styles-module__buttonWrapperAlignLeft___myzIp .styles-module__buttonTooltip___Burd9 {\n left: 50%;\n transform: translateX(-12px) scale(0.95);\n}\n.styles-module__buttonWrapperAlignLeft___myzIp .styles-module__buttonTooltip___Burd9::after {\n left: 16px;\n}\n.styles-module__buttonWrapperAlignLeft___myzIp:hover .styles-module__buttonTooltip___Burd9 {\n transform: translateX(-12px) scale(1);\n}\n\n.styles-module__tooltipBelow___m6ats .styles-module__buttonWrapperAlignLeft___myzIp .styles-module__buttonTooltip___Burd9 {\n transform: translateX(-12px) scale(0.95);\n}\n.styles-module__tooltipBelow___m6ats .styles-module__buttonWrapperAlignLeft___myzIp:hover .styles-module__buttonTooltip___Burd9 {\n transform: translateX(-12px) scale(1);\n}\n\n.styles-module__buttonWrapperAlignRight___HCQFR .styles-module__buttonTooltip___Burd9 {\n left: 50%;\n transform: translateX(calc(-100% + 12px)) scale(0.95);\n}\n.styles-module__buttonWrapperAlignRight___HCQFR .styles-module__buttonTooltip___Burd9::after {\n left: auto;\n right: 8px;\n}\n.styles-module__buttonWrapperAlignRight___HCQFR:hover .styles-module__buttonTooltip___Burd9 {\n transform: translateX(calc(-100% + 12px)) scale(1);\n}\n\n.styles-module__tooltipBelow___m6ats .styles-module__buttonWrapperAlignRight___HCQFR .styles-module__buttonTooltip___Burd9 {\n transform: translateX(calc(-100% + 12px)) scale(0.95);\n}\n.styles-module__tooltipBelow___m6ats .styles-module__buttonWrapperAlignRight___HCQFR:hover .styles-module__buttonTooltip___Burd9 {\n transform: translateX(calc(-100% + 12px)) scale(1);\n}\n\n.styles-module__divider___c--s1 {\n width: 1px;\n height: 12px;\n background: rgba(255, 255, 255, 0.15);\n margin: 0 0.125rem;\n}\n\n.styles-module__overlay___Q1O9y {\n position: fixed;\n inset: 0;\n z-index: 99997;\n pointer-events: none;\n}\n.styles-module__overlay___Q1O9y > * {\n pointer-events: auto;\n}\n\n.styles-module__hoverHighlight___ogakW {\n position: fixed;\n border: 2px solid color-mix(in srgb, var(--agentation-color-accent) 50%, transparent);\n border-radius: 4px;\n background-color: color-mix(in srgb, var(--agentation-color-accent) 4%, transparent);\n pointer-events: none !important;\n box-sizing: border-box;\n will-change: opacity;\n contain: layout style;\n}\n.styles-module__hoverHighlight___ogakW.styles-module__enter___WFIki {\n animation: styles-module__hoverHighlightIn___6WYHY 0.12s ease-out forwards;\n}\n\n.styles-module__multiSelectOutline___cSJ-m {\n position: fixed;\n border: 2px dashed color-mix(in srgb, var(--agentation-color-green) 60%, transparent);\n border-radius: 4px;\n pointer-events: none !important;\n background-color: color-mix(in srgb, var(--agentation-color-green) 5%, transparent);\n box-sizing: border-box;\n will-change: opacity;\n}\n.styles-module__multiSelectOutline___cSJ-m.styles-module__enter___WFIki {\n animation: styles-module__fadeIn___b9qmf 0.15s ease-out forwards;\n}\n.styles-module__multiSelectOutline___cSJ-m.styles-module__exit___fyOJ0 {\n animation: styles-module__fadeOut___6Ut6- 0.15s ease-out forwards;\n}\n\n.styles-module__singleSelectOutline___QhX-O {\n position: fixed;\n border: 2px solid color-mix(in srgb, var(--agentation-color-blue) 60%, transparent);\n border-radius: 4px;\n pointer-events: none !important;\n background-color: color-mix(in srgb, var(--agentation-color-blue) 5%, transparent);\n box-sizing: border-box;\n will-change: opacity;\n}\n.styles-module__singleSelectOutline___QhX-O.styles-module__enter___WFIki {\n animation: styles-module__fadeIn___b9qmf 0.15s ease-out forwards;\n}\n.styles-module__singleSelectOutline___QhX-O.styles-module__exit___fyOJ0 {\n animation: styles-module__fadeOut___6Ut6- 0.15s ease-out forwards;\n}\n\n.styles-module__hoverTooltip___bvLk7 {\n position: fixed;\n font-size: 0.6875rem;\n font-weight: 500;\n color: #fff;\n background: rgba(0, 0, 0, 0.85);\n padding: 0.35rem 0.6rem;\n border-radius: 0.375rem;\n pointer-events: none !important;\n white-space: nowrap;\n max-width: 280px;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n.styles-module__hoverTooltip___bvLk7.styles-module__enter___WFIki {\n animation: styles-module__hoverTooltipIn___FYGQx 0.1s ease-out forwards;\n}\n\n.styles-module__hoverReactPath___gx1IJ {\n font-size: 0.625rem;\n color: rgba(255, 255, 255, 0.6);\n margin-bottom: 0.15rem;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.styles-module__hoverElementName___QMLMl {\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.styles-module__markersLayer___-25j1 {\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n height: 0;\n z-index: 99998;\n pointer-events: none;\n}\n.styles-module__markersLayer___-25j1 > * {\n pointer-events: auto;\n}\n\n.styles-module__fixedMarkersLayer___ffyX6 {\n position: fixed;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n z-index: 99998;\n pointer-events: none;\n}\n.styles-module__fixedMarkersLayer___ffyX6 > * {\n pointer-events: auto;\n}\n\n.styles-module__marker___6sQrs {\n position: absolute;\n width: 22px;\n height: 22px;\n background: var(--agentation-color-blue);\n color: white;\n border-radius: 50%;\n display: flex;\n align-items: center;\n justify-content: center;\n font-size: 0.6875rem;\n font-weight: 600;\n transform: translate(-50%, -50%) scale(1);\n opacity: 1;\n cursor: pointer;\n box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2), inset 0 0 0 1px rgba(0, 0, 0, 0.04);\n user-select: none;\n will-change: transform, opacity;\n contain: layout style;\n z-index: 1;\n}\n.styles-module__marker___6sQrs:hover {\n z-index: 2;\n}\n.styles-module__marker___6sQrs:not(.styles-module__enter___WFIki):not(.styles-module__exit___fyOJ0):not(.styles-module__clearing___FQ--7) {\n transition: background-color 0.15s ease, transform 0.1s ease;\n}\n.styles-module__marker___6sQrs.styles-module__enter___WFIki {\n animation: styles-module__markerIn___5FaAP 0.25s cubic-bezier(0.22, 1, 0.36, 1) both;\n}\n.styles-module__marker___6sQrs.styles-module__exit___fyOJ0 {\n animation: styles-module__markerOut___GU5jX 0.2s ease-out both;\n pointer-events: none;\n}\n.styles-module__marker___6sQrs.styles-module__clearing___FQ--7 {\n animation: styles-module__markerOut___GU5jX 0.15s ease-out both;\n pointer-events: none;\n}\n.styles-module__marker___6sQrs:not(.styles-module__enter___WFIki):not(.styles-module__exit___fyOJ0):not(.styles-module__clearing___FQ--7):hover {\n transform: translate(-50%, -50%) scale(1.1);\n}\n.styles-module__marker___6sQrs.styles-module__pending___2IHLC {\n position: fixed;\n background-color: var(--agentation-color-blue);\n}\n.styles-module__marker___6sQrs.styles-module__fixed___dBMHC {\n position: fixed;\n}\n.styles-module__marker___6sQrs.styles-module__multiSelect___YWiuz {\n background-color: var(--agentation-color-green);\n width: 26px;\n height: 26px;\n border-radius: 6px;\n font-size: 0.75rem;\n}\n.styles-module__marker___6sQrs.styles-module__multiSelect___YWiuz.styles-module__pending___2IHLC {\n background-color: var(--agentation-color-green);\n}\n.styles-module__marker___6sQrs.styles-module__hovered___ZgXIy {\n background-color: var(--agentation-color-red);\n}\n\n.styles-module__renumber___nCTxD {\n display: block;\n animation: styles-module__renumberRoll___Wgbq3 0.2s ease-out;\n}\n\n@keyframes styles-module__renumberRoll___Wgbq3 {\n 0% {\n transform: translateX(-40%);\n opacity: 0;\n }\n 100% {\n transform: translateX(0);\n opacity: 1;\n }\n}\n.styles-module__markerTooltip___aLJID {\n position: absolute;\n top: calc(100% + 10px);\n left: 50%;\n transform: translateX(-50%) scale(0.909);\n z-index: 100002;\n background: #1a1a1a;\n padding: 8px 0.75rem;\n border-radius: 0.75rem;\n font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;\n font-weight: 400;\n color: #fff;\n box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.08);\n min-width: 120px;\n max-width: 200px;\n pointer-events: none;\n cursor: default;\n}\n.styles-module__markerTooltip___aLJID.styles-module__enter___WFIki {\n animation: styles-module__tooltipIn___0N31w 0.1s ease-out forwards;\n}\n\n.styles-module__markerQuote___FHmrz {\n display: block;\n font-size: 12px;\n font-style: italic;\n color: rgba(255, 255, 255, 0.6);\n margin-bottom: 0.3125rem;\n line-height: 1.4;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.styles-module__markerNote___QkrrS {\n display: block;\n font-size: 13px;\n font-weight: 400;\n line-height: 1.4;\n color: #fff;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n padding-bottom: 2px;\n}\n\n.styles-module__markerHint___2iF-6 {\n display: block;\n font-size: 0.625rem;\n font-weight: 400;\n color: rgba(255, 255, 255, 0.6);\n margin-top: 0.375rem;\n white-space: nowrap;\n}\n\n.styles-module__settingsPanel___OxX3Y {\n position: absolute;\n right: 5px;\n bottom: calc(100% + 0.5rem);\n z-index: 1;\n overflow: hidden;\n background: #1c1c1c;\n border-radius: 1rem;\n padding: 13px 0 16px;\n min-width: 205px;\n cursor: default;\n opacity: 1;\n box-shadow: 0 1px 8px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.04);\n transition: background-color 0.25s ease, box-shadow 0.25s ease;\n}\n.styles-module__settingsPanel___OxX3Y::before, .styles-module__settingsPanel___OxX3Y::after {\n content: "";\n position: absolute;\n top: 0;\n bottom: 0;\n width: 16px;\n z-index: 2;\n pointer-events: none;\n}\n.styles-module__settingsPanel___OxX3Y::before {\n left: 0;\n background: linear-gradient(to right, #1c1c1c 0%, transparent 100%);\n}\n.styles-module__settingsPanel___OxX3Y::after {\n right: 0;\n background: linear-gradient(to left, #1c1c1c 0%, transparent 100%);\n}\n.styles-module__settingsPanel___OxX3Y .styles-module__settingsHeader___pwDY9,\n.styles-module__settingsPanel___OxX3Y .styles-module__settingsBrand___0gJeM,\n.styles-module__settingsPanel___OxX3Y .styles-module__settingsBrandSlash___uTG18,\n.styles-module__settingsPanel___OxX3Y .styles-module__settingsVersion___TUcFq,\n.styles-module__settingsPanel___OxX3Y .styles-module__settingsSection___m-YM2,\n.styles-module__settingsPanel___OxX3Y .styles-module__settingsLabel___8UjfX,\n.styles-module__settingsPanel___OxX3Y .styles-module__cycleButton___FMKfw,\n.styles-module__settingsPanel___OxX3Y .styles-module__cycleDot___nPgLY,\n.styles-module__settingsPanel___OxX3Y .styles-module__dropdownButton___16NPz,\n.styles-module__settingsPanel___OxX3Y .styles-module__toggleLabel___Xm8Aa,\n.styles-module__settingsPanel___OxX3Y .styles-module__customCheckbox___U39ax,\n.styles-module__settingsPanel___OxX3Y .styles-module__sliderLabel___U8sPr,\n.styles-module__settingsPanel___OxX3Y .styles-module__slider___GLdxp,\n.styles-module__settingsPanel___OxX3Y .styles-module__themeToggle___2rUjA {\n transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;\n}\n.styles-module__settingsPanel___OxX3Y.styles-module__enter___WFIki {\n opacity: 1;\n transform: translateY(0) scale(1);\n filter: blur(0px);\n transition: opacity 0.2s ease, transform 0.2s ease, filter 0.2s ease;\n}\n.styles-module__settingsPanel___OxX3Y.styles-module__exit___fyOJ0 {\n opacity: 0;\n transform: translateY(8px) scale(0.95);\n filter: blur(5px);\n pointer-events: none;\n transition: opacity 0.1s ease, transform 0.1s ease, filter 0.1s ease;\n}\n[data-agentation-theme=dark] .styles-module__settingsPanel___OxX3Y {\n background: #1a1a1a;\n box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.08);\n}\n[data-agentation-theme=dark] .styles-module__settingsPanel___OxX3Y .styles-module__settingsLabel___8UjfX {\n color: rgba(255, 255, 255, 0.6);\n}\n[data-agentation-theme=dark] .styles-module__settingsPanel___OxX3Y .styles-module__settingsOption___UNa12 {\n color: rgba(255, 255, 255, 0.85);\n}\n[data-agentation-theme=dark] .styles-module__settingsPanel___OxX3Y .styles-module__settingsOption___UNa12:hover {\n background: rgba(255, 255, 255, 0.1);\n}\n[data-agentation-theme=dark] .styles-module__settingsPanel___OxX3Y .styles-module__settingsOption___UNa12.styles-module__selected___OwRqP {\n background: rgba(255, 255, 255, 0.15);\n color: #fff;\n}\n[data-agentation-theme=dark] .styles-module__settingsPanel___OxX3Y .styles-module__toggleLabel___Xm8Aa {\n color: rgba(255, 255, 255, 0.85);\n}\n\n.styles-module__settingsPanelContainer___Xksv8 {\n overflow: visible;\n position: relative;\n display: flex;\n padding: 0 1rem;\n}\n\n.styles-module__settingsPage___6YfHH {\n min-width: 100%;\n flex-shrink: 0;\n transition: transform 0.2s ease, opacity 0.2s ease;\n transition-delay: 0s;\n opacity: 1;\n}\n\n.styles-module__settingsPage___6YfHH.styles-module__slideLeft___Ps01J {\n transform: translateX(-24px);\n opacity: 0;\n pointer-events: none;\n}\n\n.styles-module__automationsPage___uvCq6 {\n position: absolute;\n top: 0;\n left: 24px;\n width: 100%;\n height: 100%;\n padding: 3px 1rem 0;\n box-sizing: border-box;\n display: flex;\n flex-direction: column;\n transition: transform 0.2s ease, opacity 0.2s ease;\n opacity: 0;\n pointer-events: none;\n}\n\n.styles-module__automationsPage___uvCq6.styles-module__slideIn___4-qXe {\n transform: translateX(-24px);\n opacity: 1;\n pointer-events: auto;\n}\n\n.styles-module__settingsNavLink___wCzJt {\n display: flex;\n align-items: center;\n justify-content: space-between;\n width: 100%;\n padding: 0;\n border: none;\n background: transparent;\n font-family: inherit;\n font-size: 0.8125rem;\n font-weight: 400;\n color: rgba(255, 255, 255, 0.5);\n cursor: pointer;\n transition: color 0.15s ease;\n}\n.styles-module__settingsNavLink___wCzJt:hover {\n color: rgba(255, 255, 255, 0.9);\n}\n[data-agentation-theme=light] .styles-module__settingsNavLink___wCzJt {\n color: rgba(0, 0, 0, 0.5);\n}\n[data-agentation-theme=light] .styles-module__settingsNavLink___wCzJt:hover {\n color: rgba(0, 0, 0, 0.8);\n}\n.styles-module__settingsNavLink___wCzJt svg {\n color: rgba(255, 255, 255, 0.4);\n transition: color 0.15s ease;\n}\n.styles-module__settingsNavLink___wCzJt:hover svg {\n color: #fff;\n}\n[data-agentation-theme=light] .styles-module__settingsNavLink___wCzJt svg {\n color: rgba(0, 0, 0, 0.25);\n}\n[data-agentation-theme=light] .styles-module__settingsNavLink___wCzJt:hover svg {\n color: rgba(0, 0, 0, 0.8);\n}\n\n.styles-module__settingsNavLinkRight___ZWwhj {\n display: flex;\n align-items: center;\n gap: 6px;\n}\n\n.styles-module__mcpNavIndicator___cl9pO {\n width: 8px;\n height: 8px;\n border-radius: 50%;\n flex-shrink: 0;\n}\n.styles-module__mcpNavIndicator___cl9pO.styles-module__connected___7c28g {\n background-color: var(--agentation-color-green);\n animation: styles-module__mcpPulse___uNggr 2.5s ease-in-out infinite;\n}\n.styles-module__mcpNavIndicator___cl9pO.styles-module__connecting___uo-CW {\n background-color: var(--agentation-color-yellow);\n animation: styles-module__mcpPulse___uNggr 1.5s ease-in-out infinite;\n}\n\n.styles-module__settingsBackButton___bIe2j {\n display: flex;\n align-items: center;\n gap: 4px;\n padding: 6px 0 12px 0;\n margin: -6px 0 0.5rem 0;\n border: none;\n border-bottom: 1px solid rgba(255, 255, 255, 0.07);\n border-radius: 0;\n background: transparent;\n font-family: inherit;\n font-size: 0.8125rem;\n font-weight: 500;\n letter-spacing: -0.15px;\n color: #fff;\n cursor: pointer;\n transition: transform 0.12s cubic-bezier(0.32, 0.72, 0, 1);\n}\n.styles-module__settingsBackButton___bIe2j svg {\n opacity: 0.4;\n flex-shrink: 0;\n transition: opacity 0.15s ease, transform 0.18s cubic-bezier(0.32, 0.72, 0, 1);\n}\n.styles-module__settingsBackButton___bIe2j:hover {\n border-bottom-color: rgba(255, 255, 255, 0.07);\n}\n.styles-module__settingsBackButton___bIe2j:hover svg {\n opacity: 1;\n}\n[data-agentation-theme=light] .styles-module__settingsBackButton___bIe2j {\n color: rgba(0, 0, 0, 0.85);\n border-bottom-color: rgba(0, 0, 0, 0.08);\n}\n[data-agentation-theme=light] .styles-module__settingsBackButton___bIe2j:hover {\n border-bottom-color: rgba(0, 0, 0, 0.08);\n}\n\n.styles-module__automationHeader___InP0r {\n display: flex;\n align-items: center;\n gap: 0.125rem;\n font-size: 0.8125rem;\n font-weight: 400;\n color: #fff;\n}\n[data-agentation-theme=light] .styles-module__automationHeader___InP0r {\n color: rgba(0, 0, 0, 0.85);\n}\n\n.styles-module__automationDescription___NKlmo {\n font-size: 0.6875rem;\n font-weight: 300;\n color: rgba(255, 255, 255, 0.5);\n margin-top: 2px;\n line-height: 14px;\n}\n[data-agentation-theme=light] .styles-module__automationDescription___NKlmo {\n color: rgba(0, 0, 0, 0.5);\n}\n\n.styles-module__learnMoreLink___8xv-x {\n color: rgba(255, 255, 255, 0.8);\n text-decoration: underline dotted;\n text-decoration-color: rgba(255, 255, 255, 0.2);\n text-underline-offset: 2px;\n transition: color 0.15s ease;\n}\n.styles-module__learnMoreLink___8xv-x:hover {\n color: #fff;\n}\n[data-agentation-theme=light] .styles-module__learnMoreLink___8xv-x {\n color: rgba(0, 0, 0, 0.6);\n text-decoration-color: rgba(0, 0, 0, 0.2);\n}\n[data-agentation-theme=light] .styles-module__learnMoreLink___8xv-x:hover {\n color: rgba(0, 0, 0, 0.85);\n}\n\n.styles-module__autoSendRow___UblX5 {\n display: flex;\n align-items: center;\n gap: 8px;\n}\n\n.styles-module__autoSendLabel___icDc2 {\n font-size: 0.6875rem;\n font-weight: 400;\n color: rgba(255, 255, 255, 0.4);\n transition: color 0.15s ease;\n}\n.styles-module__autoSendLabel___icDc2.styles-module__active___-zoN6 {\n color: #66b8ff;\n color: color(display-p3 0.4 0.72 1);\n}\n[data-agentation-theme=light] .styles-module__autoSendLabel___icDc2 {\n color: rgba(0, 0, 0, 0.4);\n}\n[data-agentation-theme=light] .styles-module__autoSendLabel___icDc2.styles-module__active___-zoN6 {\n color: var(--agentation-color-blue);\n}\n\n.styles-module__webhookUrlInput___2375C {\n display: block;\n width: 100%;\n flex: 1;\n min-height: 60px;\n box-sizing: border-box;\n margin-top: 11px;\n padding: 8px 10px;\n border: 1px solid rgba(255, 255, 255, 0.1);\n border-radius: 6px;\n background: rgba(255, 255, 255, 0.03);\n font-family: inherit;\n font-size: 0.75rem;\n font-weight: 400;\n color: #fff;\n outline: none;\n resize: none;\n cursor: text !important;\n user-select: text;\n transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;\n}\n.styles-module__webhookUrlInput___2375C::placeholder {\n color: rgba(255, 255, 255, 0.3);\n}\n.styles-module__webhookUrlInput___2375C:focus {\n border-color: rgba(255, 255, 255, 0.3);\n background: rgba(255, 255, 255, 0.08);\n}\n[data-agentation-theme=light] .styles-module__webhookUrlInput___2375C {\n border-color: rgba(0, 0, 0, 0.1);\n background: rgba(0, 0, 0, 0.03);\n color: rgba(0, 0, 0, 0.85);\n}\n[data-agentation-theme=light] .styles-module__webhookUrlInput___2375C::placeholder {\n color: rgba(0, 0, 0, 0.3);\n}\n[data-agentation-theme=light] .styles-module__webhookUrlInput___2375C:focus {\n border-color: rgba(0, 0, 0, 0.25);\n background: rgba(0, 0, 0, 0.05);\n}\n\n.styles-module__settingsHeader___pwDY9 {\n display: flex;\n align-items: center;\n justify-content: space-between;\n min-height: 24px;\n margin-bottom: 0.5rem;\n padding-bottom: 9px;\n border-bottom: 1px solid rgba(255, 255, 255, 0.07);\n}\n\n.styles-module__settingsBrand___0gJeM {\n font-size: 0.8125rem;\n font-weight: 600;\n letter-spacing: -0.0094em;\n color: #fff;\n}\n\n.styles-module__settingsBrandSlash___uTG18 {\n color: var(--agentation-color-accent);\n transition: color 0.2s ease;\n}\n\n.styles-module__settingsVersion___TUcFq {\n font-size: 11px;\n font-weight: 400;\n color: rgba(255, 255, 255, 0.4);\n margin-left: auto;\n letter-spacing: -0.0094em;\n}\n\n.styles-module__settingsSection___m-YM2 + .styles-module__settingsSection___m-YM2 {\n margin-top: 0.5rem;\n padding-top: 0.5rem;\n border-top: 1px solid rgba(255, 255, 255, 0.07);\n}\n.styles-module__settingsSection___m-YM2.styles-module__settingsSectionExtraPadding___jdhFV {\n padding-top: calc(0.5rem + 4px);\n}\n\n.styles-module__settingsSectionGrow___h-5HZ {\n flex: 1;\n display: flex;\n flex-direction: column;\n}\n\n.styles-module__settingsRow___3sdhc {\n display: flex;\n align-items: center;\n justify-content: space-between;\n min-height: 24px;\n}\n.styles-module__settingsRow___3sdhc.styles-module__settingsRowMarginTop___zA0Sp {\n margin-top: 8px;\n}\n\n.styles-module__dropdownContainer___BVnxe {\n position: relative;\n}\n\n.styles-module__dropdownButton___16NPz {\n display: flex;\n align-items: center;\n gap: 0.5rem;\n padding: 0.25rem 0.5rem;\n border: none;\n border-radius: 0.375rem;\n background: transparent;\n font-size: 0.8125rem;\n font-weight: 600;\n color: #fff;\n cursor: pointer;\n transition: background-color 0.15s ease, color 0.15s ease;\n letter-spacing: -0.0094em;\n}\n.styles-module__dropdownButton___16NPz:hover {\n background: rgba(255, 255, 255, 0.08);\n}\n.styles-module__dropdownButton___16NPz svg {\n opacity: 0.6;\n}\n\n.styles-module__cycleButton___FMKfw {\n display: flex;\n align-items: center;\n gap: 0.5rem;\n padding: 0;\n border: none;\n background: transparent;\n font-size: 0.8125rem;\n font-weight: 500;\n color: #fff;\n cursor: pointer;\n letter-spacing: -0.0094em;\n}\n[data-agentation-theme=light] .styles-module__cycleButton___FMKfw {\n color: rgba(0, 0, 0, 0.85);\n}\n.styles-module__cycleButton___FMKfw:disabled {\n opacity: 0.35;\n cursor: not-allowed;\n}\n\n.styles-module__settingsRowDisabled___EgS0V .styles-module__settingsLabel___8UjfX {\n color: rgba(255, 255, 255, 0.2);\n}\n[data-agentation-theme=light] .styles-module__settingsRowDisabled___EgS0V .styles-module__settingsLabel___8UjfX {\n color: rgba(0, 0, 0, 0.2);\n}\n.styles-module__settingsRowDisabled___EgS0V .styles-module__toggleSwitch___l4Ygm {\n opacity: 0.4;\n cursor: not-allowed;\n}\n\n@keyframes styles-module__cycleTextIn___Q6zJf {\n 0% {\n opacity: 0;\n transform: translateY(-6px);\n }\n 100% {\n opacity: 1;\n transform: translateY(0);\n }\n}\n.styles-module__cycleButtonText___fD1LR {\n display: inline-block;\n animation: styles-module__cycleTextIn___Q6zJf 0.2s ease-out;\n}\n\n.styles-module__cycleDots___LWuoQ {\n display: flex;\n flex-direction: column;\n gap: 2px;\n}\n\n.styles-module__cycleDot___nPgLY {\n width: 3px;\n height: 3px;\n border-radius: 50%;\n background: rgba(255, 255, 255, 0.3);\n transform: scale(0.667);\n transition: background-color 0.25s ease-out, transform 0.25s ease-out;\n}\n.styles-module__cycleDot___nPgLY.styles-module__active___-zoN6 {\n background: #fff;\n transform: scale(1);\n}\n[data-agentation-theme=light] .styles-module__cycleDot___nPgLY {\n background: rgba(0, 0, 0, 0.2);\n}\n[data-agentation-theme=light] .styles-module__cycleDot___nPgLY.styles-module__active___-zoN6 {\n background: rgba(0, 0, 0, 0.7);\n}\n\n.styles-module__dropdownMenu___k73ER {\n position: absolute;\n right: 0;\n top: calc(100% + 0.25rem);\n background: #1a1a1a;\n border-radius: 0.5rem;\n padding: 0.25rem;\n min-width: 120px;\n box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.1);\n z-index: 10;\n animation: styles-module__scaleIn___c-r1K 0.15s ease-out;\n}\n\n.styles-module__dropdownItem___ylsLj {\n width: 100%;\n display: flex;\n align-items: center;\n padding: 0.5rem 0.625rem;\n border: none;\n border-radius: 0.375rem;\n background: transparent;\n font-size: 0.8125rem;\n font-weight: 500;\n color: rgba(255, 255, 255, 0.85);\n cursor: pointer;\n text-align: left;\n transition: background-color 0.15s ease, color 0.15s ease;\n letter-spacing: -0.0094em;\n}\n.styles-module__dropdownItem___ylsLj:hover {\n background: rgba(255, 255, 255, 0.08);\n}\n.styles-module__dropdownItem___ylsLj.styles-module__selected___OwRqP {\n background: rgba(255, 255, 255, 0.12);\n color: #fff;\n font-weight: 600;\n}\n\n.styles-module__settingsLabel___8UjfX {\n font-size: 0.8125rem;\n font-weight: 400;\n letter-spacing: -0.0094em;\n color: rgba(255, 255, 255, 0.5);\n display: flex;\n align-items: center;\n gap: 0.125rem;\n}\n[data-agentation-theme=light] .styles-module__settingsLabel___8UjfX {\n color: rgba(0, 0, 0, 0.5);\n}\n\n.styles-module__settingsLabelMarker___ewdtV {\n padding-top: 3px;\n margin-bottom: 10px;\n}\n\n.styles-module__settingsOptions___LyrBA {\n display: flex;\n gap: 0.25rem;\n}\n\n.styles-module__settingsOption___UNa12 {\n flex: 1;\n display: flex;\n align-items: center;\n justify-content: center;\n gap: 0.25rem;\n padding: 0.375rem 0.5rem;\n border: none;\n border-radius: 0.375rem;\n background: transparent;\n font-size: 0.6875rem;\n font-weight: 500;\n color: rgba(0, 0, 0, 0.7);\n cursor: pointer;\n transition: background-color 0.15s ease, color 0.15s ease;\n}\n.styles-module__settingsOption___UNa12:hover {\n background: rgba(0, 0, 0, 0.05);\n}\n.styles-module__settingsOption___UNa12.styles-module__selected___OwRqP {\n background: color-mix(in srgb, var(--agentation-color-blue) 15%, transparent);\n color: var(--agentation-color-blue);\n}\n\n.styles-module__sliderContainer___ducXj {\n display: flex;\n flex-direction: column;\n gap: 0.5rem;\n}\n\n.styles-module__slider___GLdxp {\n -webkit-appearance: none;\n appearance: none;\n width: 100%;\n height: 4px;\n background: rgba(255, 255, 255, 0.15);\n border-radius: 2px;\n outline: none;\n cursor: pointer;\n}\n.styles-module__slider___GLdxp::-webkit-slider-thumb {\n -webkit-appearance: none;\n appearance: none;\n width: 14px;\n height: 14px;\n background: white;\n border-radius: 50%;\n cursor: pointer;\n transition: transform 0.15s ease, box-shadow 0.15s ease;\n box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);\n}\n.styles-module__slider___GLdxp::-moz-range-thumb {\n width: 14px;\n height: 14px;\n background: white;\n border: none;\n border-radius: 50%;\n cursor: pointer;\n transition: transform 0.15s ease, box-shadow 0.15s ease;\n box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);\n}\n.styles-module__slider___GLdxp:hover::-webkit-slider-thumb {\n transform: scale(1.15);\n box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);\n}\n.styles-module__slider___GLdxp:hover::-moz-range-thumb {\n transform: scale(1.15);\n box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);\n}\n\n.styles-module__sliderLabels___FhLDB {\n display: flex;\n justify-content: space-between;\n}\n\n.styles-module__sliderLabel___U8sPr {\n font-size: 0.625rem;\n font-weight: 500;\n color: rgba(255, 255, 255, 0.4);\n cursor: pointer;\n transition: color 0.15s ease;\n}\n.styles-module__sliderLabel___U8sPr:hover {\n color: rgba(255, 255, 255, 0.7);\n}\n.styles-module__sliderLabel___U8sPr.styles-module__active___-zoN6 {\n color: rgba(255, 255, 255, 0.9);\n}\n\n.styles-module__colorOptions___iHCNX {\n display: flex;\n gap: 0.5rem;\n margin-top: 0.375rem;\n margin-bottom: 1px;\n}\n\n.styles-module__colorOption___IodiY {\n display: block;\n width: 20px;\n height: 20px;\n border-radius: 50%;\n border: 2px solid transparent;\n background-color: var(--swatch);\n cursor: pointer;\n transition: transform 0.2s cubic-bezier(0.25, 1, 0.5, 1);\n}\n@supports (color: color(display-p3 0 0 0)) {\n .styles-module__colorOption___IodiY {\n background-color: var(--swatch-p3);\n }\n}\n.styles-module__colorOption___IodiY:hover {\n transform: scale(1.15);\n}\n.styles-module__colorOption___IodiY.styles-module__selected___OwRqP {\n transform: scale(0.83);\n}\n\n.styles-module__colorOptionRing___U2xpo {\n display: flex;\n width: 24px;\n height: 24px;\n border: 2px solid transparent;\n border-radius: 50%;\n transition: border-color 0.3s ease;\n}\n.styles-module__colorOptionRing___U2xpo.styles-module__selected___OwRqP {\n border-color: var(--swatch);\n}\n@supports (color: color(display-p3 0 0 0)) {\n .styles-module__colorOptionRing___U2xpo.styles-module__selected___OwRqP {\n border-color: var(--swatch-p3);\n }\n}\n\n.styles-module__settingsToggle___fBrFn {\n display: flex;\n align-items: center;\n gap: 0.5rem;\n cursor: pointer;\n}\n.styles-module__settingsToggle___fBrFn + .styles-module__settingsToggle___fBrFn {\n margin-top: calc(0.5rem + 6px);\n}\n.styles-module__settingsToggle___fBrFn input[type=checkbox] {\n position: absolute;\n opacity: 0;\n width: 0;\n height: 0;\n}\n.styles-module__settingsToggle___fBrFn.styles-module__settingsToggleMarginBottom___MZUyF {\n margin-bottom: calc(0.5rem + 6px);\n}\n\n.styles-module__customCheckbox___U39ax {\n position: relative;\n width: 14px;\n height: 14px;\n border: 1px solid rgba(255, 255, 255, 0.2);\n border-radius: 4px;\n background: rgba(255, 255, 255, 0.05);\n display: flex;\n align-items: center;\n justify-content: center;\n flex-shrink: 0;\n transition: background-color 0.25s ease, border-color 0.25s ease;\n}\n.styles-module__customCheckbox___U39ax svg {\n color: #1a1a1a;\n opacity: 1;\n transition: opacity 0.15s ease;\n}\ninput[type=checkbox]:checked + .styles-module__customCheckbox___U39ax {\n border-color: rgba(255, 255, 255, 0.3);\n background: rgb(255, 255, 255);\n}\n[data-agentation-theme=light] .styles-module__customCheckbox___U39ax {\n border: 1px solid rgba(0, 0, 0, 0.15);\n background: #fff;\n}\n[data-agentation-theme=light] .styles-module__customCheckbox___U39ax.styles-module__checked___mnZLo {\n border-color: #1a1a1a;\n background: #1a1a1a;\n}\n[data-agentation-theme=light] .styles-module__customCheckbox___U39ax.styles-module__checked___mnZLo svg {\n color: #fff;\n}\n\n.styles-module__toggleLabel___Xm8Aa {\n font-size: 0.8125rem;\n font-weight: 400;\n color: rgba(255, 255, 255, 0.5);\n letter-spacing: -0.0094em;\n display: flex;\n align-items: center;\n gap: 0.25rem;\n}\n[data-agentation-theme=light] .styles-module__toggleLabel___Xm8Aa {\n color: rgba(0, 0, 0, 0.5);\n}\n\n.styles-module__toggleSwitch___l4Ygm {\n position: relative;\n display: inline-block;\n width: 24px;\n height: 16px;\n flex-shrink: 0;\n cursor: pointer;\n transition: background-color 0.2s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);\n}\n.styles-module__toggleSwitch___l4Ygm input {\n opacity: 0;\n width: 0;\n height: 0;\n}\n.styles-module__toggleSwitch___l4Ygm input:checked + .styles-module__toggleSlider___wprIn {\n background-color: var(--agentation-color-blue);\n}\n.styles-module__toggleSwitch___l4Ygm input:checked + .styles-module__toggleSlider___wprIn::before {\n transform: translateX(8px);\n}\n.styles-module__toggleSwitch___l4Ygm.styles-module__disabled___332Jw {\n opacity: 0.4;\n pointer-events: none;\n}\n.styles-module__toggleSwitch___l4Ygm.styles-module__disabled___332Jw .styles-module__toggleSlider___wprIn {\n cursor: not-allowed;\n}\n\n.styles-module__toggleSlider___wprIn {\n position: absolute;\n cursor: pointer;\n inset: 0;\n border-radius: 16px;\n background: #484848;\n}\n[data-agentation-theme=light] .styles-module__toggleSlider___wprIn {\n background: #dddddd;\n}\n.styles-module__toggleSlider___wprIn::before {\n content: "";\n position: absolute;\n height: 12px;\n width: 12px;\n left: 2px;\n bottom: 2px;\n background: white;\n border-radius: 50%;\n transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);\n}\n\n@keyframes styles-module__mcpPulse___uNggr {\n 0% {\n box-shadow: 0 0 0 0 color-mix(in srgb, var(--agentation-color-green) 50%, transparent);\n }\n 70% {\n box-shadow: 0 0 0 6px color-mix(in srgb, var(--agentation-color-green) 0%, transparent);\n }\n 100% {\n box-shadow: 0 0 0 0 color-mix(in srgb, var(--agentation-color-green) 0%, transparent);\n }\n}\n@keyframes styles-module__mcpPulseError___fov9B {\n 0% {\n box-shadow: 0 0 0 0 color-mix(in srgb, var(--agentation-color-red) 50%, transparent);\n }\n 70% {\n box-shadow: 0 0 0 6px color-mix(in srgb, var(--agentation-color-red) 0%, transparent);\n }\n 100% {\n box-shadow: 0 0 0 0 color-mix(in srgb, var(--agentation-color-red) 0%, transparent);\n }\n}\n.styles-module__mcpStatusDot___ibgkc {\n width: 8px;\n height: 8px;\n border-radius: 50%;\n flex-shrink: 0;\n}\n.styles-module__mcpStatusDot___ibgkc.styles-module__connecting___uo-CW {\n background-color: var(--agentation-color-yellow);\n animation: styles-module__mcpPulse___uNggr 1.5s infinite;\n}\n.styles-module__mcpStatusDot___ibgkc.styles-module__connected___7c28g {\n background-color: var(--agentation-color-green);\n animation: styles-module__mcpPulse___uNggr 2.5s ease-in-out infinite;\n}\n.styles-module__mcpStatusDot___ibgkc.styles-module__disconnected___cHPxR {\n background-color: var(--agentation-color-red);\n animation: styles-module__mcpPulseError___fov9B 2s infinite;\n}\n\n.styles-module__dragSelection___kZLq2 {\n position: fixed;\n top: 0;\n left: 0;\n border: 2px solid color-mix(in srgb, var(--agentation-color-green) 60%, transparent);\n border-radius: 4px;\n background-color: color-mix(in srgb, var(--agentation-color-green) 8%, transparent);\n pointer-events: none;\n z-index: 99997;\n will-change: transform, width, height;\n contain: layout style;\n}\n\n.styles-module__dragCount___KM90j {\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n background-color: var(--agentation-color-green);\n color: white;\n font-size: 0.875rem;\n font-weight: 600;\n padding: 0.25rem 0.5rem;\n border-radius: 1rem;\n min-width: 1.5rem;\n text-align: center;\n}\n\n.styles-module__highlightsContainer___-0xzG {\n position: fixed;\n top: 0;\n left: 0;\n pointer-events: none;\n z-index: 99996;\n}\n\n.styles-module__selectedElementHighlight___fyVlI {\n position: fixed;\n top: 0;\n left: 0;\n border: 2px solid color-mix(in srgb, var(--agentation-color-green) 50%, transparent);\n border-radius: 4px;\n background: color-mix(in srgb, var(--agentation-color-green) 6%, transparent);\n pointer-events: none;\n will-change: transform, width, height;\n contain: layout style;\n}\n\n[data-agentation-theme=light] .styles-module__toolbarContainer___dIhma {\n background: #fff;\n color: rgba(0, 0, 0, 0.85);\n box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08), 0 4px 16px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(0, 0, 0, 0.04);\n}\n[data-agentation-theme=light] .styles-module__toolbarContainer___dIhma.styles-module__collapsed___Rydsn:hover {\n background: #f5f5f5;\n}\n[data-agentation-theme=light] .styles-module__controlButton___8Q0jc {\n color: rgba(0, 0, 0, 0.5);\n}\n[data-agentation-theme=light] .styles-module__controlButton___8Q0jc:hover:not(:disabled):not([data-active=true]):not([data-failed=true]):not([data-auto-sync=true]):not([data-error=true]):not([data-no-hover=true]) {\n background: rgba(0, 0, 0, 0.06);\n color: rgba(0, 0, 0, 0.85);\n}\n[data-agentation-theme=light] .styles-module__controlButton___8Q0jc[data-active=true] {\n color: var(--agentation-color-blue);\n background: color-mix(in srgb, var(--agentation-color-blue) 15%, transparent);\n}\n[data-agentation-theme=light] .styles-module__controlButton___8Q0jc[data-error=true] {\n color: var(--agentation-color-red);\n background: color-mix(in srgb, var(--agentation-color-red) 15%, transparent);\n}\n[data-agentation-theme=light] .styles-module__controlButton___8Q0jc[data-danger]:hover:not(:disabled):not([data-active=true]):not([data-failed=true]) {\n color: var(--agentation-color-red);\n background: color-mix(in srgb, var(--agentation-color-red) 15%, transparent);\n}\n[data-agentation-theme=light] .styles-module__controlButton___8Q0jc[data-auto-sync=true] {\n color: var(--agentation-color-green);\n background: transparent;\n}\n[data-agentation-theme=light] .styles-module__controlButton___8Q0jc[data-failed=true] {\n color: var(--agentation-color-red);\n background: color-mix(in srgb, var(--agentation-color-red) 15%, transparent);\n}\n[data-agentation-theme=light] .styles-module__buttonTooltip___Burd9 {\n background: #fff;\n color: rgba(0, 0, 0, 0.85);\n box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08), 0 4px 16px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(0, 0, 0, 0.04);\n}\n[data-agentation-theme=light] .styles-module__buttonTooltip___Burd9::after {\n background: #fff;\n}\n[data-agentation-theme=light] .styles-module__divider___c--s1 {\n background: rgba(0, 0, 0, 0.1);\n}\n[data-agentation-theme=light] .styles-module__markerTooltip___aLJID {\n background: #fff;\n box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.06);\n}\n[data-agentation-theme=light] .styles-module__markerTooltip___aLJID .styles-module__markerQuote___FHmrz {\n color: rgba(0, 0, 0, 0.5);\n}\n[data-agentation-theme=light] .styles-module__markerTooltip___aLJID .styles-module__markerNote___QkrrS {\n color: rgba(0, 0, 0, 0.85);\n}\n[data-agentation-theme=light] .styles-module__markerTooltip___aLJID .styles-module__markerHint___2iF-6 {\n color: rgba(0, 0, 0, 0.35);\n}\n[data-agentation-theme=light] .styles-module__settingsPanel___OxX3Y {\n background: #fff;\n box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08), 0 4px 16px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(0, 0, 0, 0.04);\n}\n[data-agentation-theme=light] .styles-module__settingsPanel___OxX3Y::before {\n background: linear-gradient(to right, #fff 0%, transparent 100%);\n}\n[data-agentation-theme=light] .styles-module__settingsPanel___OxX3Y::after {\n background: linear-gradient(to left, #fff 0%, transparent 100%);\n}\n[data-agentation-theme=light] .styles-module__settingsPanel___OxX3Y .styles-module__settingsHeader___pwDY9 {\n border-bottom-color: rgba(0, 0, 0, 0.08);\n}\n[data-agentation-theme=light] .styles-module__settingsPanel___OxX3Y .styles-module__settingsBrand___0gJeM {\n color: rgba(0, 0, 0, 0.85);\n}\n[data-agentation-theme=light] .styles-module__settingsPanel___OxX3Y .styles-module__settingsVersion___TUcFq {\n color: rgba(0, 0, 0, 0.4);\n}\n[data-agentation-theme=light] .styles-module__settingsPanel___OxX3Y .styles-module__settingsSection___m-YM2 {\n border-top-color: rgba(0, 0, 0, 0.08);\n}\n[data-agentation-theme=light] .styles-module__settingsPanel___OxX3Y .styles-module__settingsLabel___8UjfX {\n color: rgba(0, 0, 0, 0.5);\n}\n[data-agentation-theme=light] .styles-module__settingsPanel___OxX3Y .styles-module__cycleButton___FMKfw {\n color: rgba(0, 0, 0, 0.85);\n}\n[data-agentation-theme=light] .styles-module__settingsPanel___OxX3Y .styles-module__cycleDot___nPgLY {\n background: rgba(0, 0, 0, 0.2);\n}\n[data-agentation-theme=light] .styles-module__settingsPanel___OxX3Y .styles-module__cycleDot___nPgLY.styles-module__active___-zoN6 {\n background: rgba(0, 0, 0, 0.7);\n}\n[data-agentation-theme=light] .styles-module__settingsPanel___OxX3Y .styles-module__dropdownButton___16NPz {\n color: rgba(0, 0, 0, 0.85);\n}\n[data-agentation-theme=light] .styles-module__settingsPanel___OxX3Y .styles-module__dropdownButton___16NPz:hover {\n background: rgba(0, 0, 0, 0.05);\n}\n[data-agentation-theme=light] .styles-module__settingsPanel___OxX3Y .styles-module__toggleLabel___Xm8Aa {\n color: rgba(0, 0, 0, 0.5);\n}\n[data-agentation-theme=light] .styles-module__settingsPanel___OxX3Y .styles-module__customCheckbox___U39ax {\n border: 1px solid rgba(0, 0, 0, 0.15);\n background: #fff;\n}\n[data-agentation-theme=light] .styles-module__settingsPanel___OxX3Y .styles-module__customCheckbox___U39ax.styles-module__checked___mnZLo {\n border-color: #1a1a1a;\n background: #1a1a1a;\n}\n[data-agentation-theme=light] .styles-module__settingsPanel___OxX3Y .styles-module__customCheckbox___U39ax.styles-module__checked___mnZLo svg {\n color: #fff;\n}\n[data-agentation-theme=light] .styles-module__settingsPanel___OxX3Y .styles-module__sliderLabel___U8sPr {\n color: rgba(0, 0, 0, 0.4);\n}\n[data-agentation-theme=light] .styles-module__settingsPanel___OxX3Y .styles-module__sliderLabel___U8sPr:hover {\n color: rgba(0, 0, 0, 0.7);\n}\n[data-agentation-theme=light] .styles-module__settingsPanel___OxX3Y .styles-module__sliderLabel___U8sPr.styles-module__active___-zoN6 {\n color: rgba(0, 0, 0, 0.9);\n}\n[data-agentation-theme=light] .styles-module__settingsPanel___OxX3Y .styles-module__slider___GLdxp {\n background: rgba(0, 0, 0, 0.1);\n}\n[data-agentation-theme=light] .styles-module__settingsPanel___OxX3Y .styles-module__slider___GLdxp::-webkit-slider-thumb {\n background: #1a1a1a;\n}\n[data-agentation-theme=light] .styles-module__settingsPanel___OxX3Y .styles-module__slider___GLdxp::-moz-range-thumb {\n background: #1a1a1a;\n}\n\n.styles-module__themeToggle___2rUjA {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 22px;\n height: 22px;\n margin-left: 0.5rem;\n border: none;\n border-radius: 6px;\n background: transparent;\n color: rgba(255, 255, 255, 0.4);\n cursor: pointer;\n transition: background-color 0.15s ease, color 0.15s ease;\n}\n.styles-module__themeToggle___2rUjA:hover {\n background: rgba(255, 255, 255, 0.1);\n color: rgba(255, 255, 255, 0.8);\n}\n[data-agentation-theme=light] .styles-module__themeToggle___2rUjA {\n color: rgba(0, 0, 0, 0.4);\n}\n[data-agentation-theme=light] .styles-module__themeToggle___2rUjA:hover {\n background: rgba(0, 0, 0, 0.06);\n color: rgba(0, 0, 0, 0.7);\n}\n\n.styles-module__themeIconWrapper___LsJIM {\n display: flex;\n align-items: center;\n justify-content: center;\n position: relative;\n width: 20px;\n height: 20px;\n}\n\n.styles-module__themeIcon___lCCmo {\n display: flex;\n align-items: center;\n justify-content: center;\n animation: styles-module__themeIconIn___TU6ML 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;\n}\n\n@keyframes styles-module__themeIconIn___TU6ML {\n 0% {\n opacity: 0;\n transform: scale(0.8) rotate(-30deg);\n }\n 100% {\n opacity: 1;\n transform: scale(1) rotate(0deg);\n }\n}';
|
|
2636
|
+
var classNames3 = { "toolbar": "styles-module__toolbar___wNsdK", "markersLayer": "styles-module__markersLayer___-25j1", "fixedMarkersLayer": "styles-module__fixedMarkersLayer___ffyX6", "disableTransitions": "styles-module__disableTransitions___EopxO", "toolbarContainer": "styles-module__toolbarContainer___dIhma", "dragging": "styles-module__dragging___xrolZ", "entrance": "styles-module__entrance___sgHd8", "toolbarEnter": "styles-module__toolbarEnter___u8RRu", "hiding": "styles-module__hiding___1td44", "toolbarHide": "styles-module__toolbarHide___y8kaT", "collapsed": "styles-module__collapsed___Rydsn", "expanded": "styles-module__expanded___ofKPx", "serverConnected": "styles-module__serverConnected___Gfbou", "toggleContent": "styles-module__toggleContent___0yfyP", "visible": "styles-module__visible___KHwEW", "hidden": "styles-module__hidden___Ae8H4", "controlsContent": "styles-module__controlsContent___9GJWU", "badge": "styles-module__badge___2XsgF", "fadeOut": "styles-module__fadeOut___6Ut6-", "badgeEnter": "styles-module__badgeEnter___mVQLj", "controlButton": "styles-module__controlButton___8Q0jc", "statusShowing": "styles-module__statusShowing___te6iu", "buttonBadge": "styles-module__buttonBadge___NeFWb", "mcpIndicator": "styles-module__mcpIndicator___zGJeL", "connected": "styles-module__connected___7c28g", "mcpIndicatorPulseConnected": "styles-module__mcpIndicatorPulseConnected___EDodZ", "connecting": "styles-module__connecting___uo-CW", "mcpIndicatorPulseConnecting": "styles-module__mcpIndicatorPulseConnecting___cCYte", "connectionIndicatorWrapper": "styles-module__connectionIndicatorWrapper___L-e-3", "connectionIndicator": "styles-module__connectionIndicator___afk9p", "connectionIndicatorVisible": "styles-module__connectionIndicatorVisible___C-i5B", "connectionIndicatorConnected": "styles-module__connectionIndicatorConnected___IY8pR", "connectionPulse": "styles-module__connectionPulse___-Zycw", "connectionIndicatorDisconnected": "styles-module__connectionIndicatorDisconnected___kmpaZ", "connectionIndicatorConnecting": "styles-module__connectionIndicatorConnecting___QmSLH", "buttonWrapper": "styles-module__buttonWrapper___rBcdv", "buttonTooltip": "styles-module__buttonTooltip___Burd9", "tooltipsInSession": "styles-module__tooltipsInSession___-0lHH", "sendButtonWrapper": "styles-module__sendButtonWrapper___UUxG6", "sendButtonVisible": "styles-module__sendButtonVisible___WPSQU", "shortcut": "styles-module__shortcut___lEAQk", "tooltipBelow": "styles-module__tooltipBelow___m6ats", "tooltipsHidden": "styles-module__tooltipsHidden___VtLJG", "tooltipVisible": "styles-module__tooltipVisible___0jcCv", "buttonWrapperAlignLeft": "styles-module__buttonWrapperAlignLeft___myzIp", "buttonWrapperAlignRight": "styles-module__buttonWrapperAlignRight___HCQFR", "divider": "styles-module__divider___c--s1", "overlay": "styles-module__overlay___Q1O9y", "hoverHighlight": "styles-module__hoverHighlight___ogakW", "enter": "styles-module__enter___WFIki", "hoverHighlightIn": "styles-module__hoverHighlightIn___6WYHY", "multiSelectOutline": "styles-module__multiSelectOutline___cSJ-m", "fadeIn": "styles-module__fadeIn___b9qmf", "exit": "styles-module__exit___fyOJ0", "singleSelectOutline": "styles-module__singleSelectOutline___QhX-O", "hoverTooltip": "styles-module__hoverTooltip___bvLk7", "hoverTooltipIn": "styles-module__hoverTooltipIn___FYGQx", "hoverReactPath": "styles-module__hoverReactPath___gx1IJ", "hoverElementName": "styles-module__hoverElementName___QMLMl", "marker": "styles-module__marker___6sQrs", "clearing": "styles-module__clearing___FQ--7", "markerIn": "styles-module__markerIn___5FaAP", "markerOut": "styles-module__markerOut___GU5jX", "pending": "styles-module__pending___2IHLC", "fixed": "styles-module__fixed___dBMHC", "multiSelect": "styles-module__multiSelect___YWiuz", "hovered": "styles-module__hovered___ZgXIy", "renumber": "styles-module__renumber___nCTxD", "renumberRoll": "styles-module__renumberRoll___Wgbq3", "markerTooltip": "styles-module__markerTooltip___aLJID", "tooltipIn": "styles-module__tooltipIn___0N31w", "markerQuote": "styles-module__markerQuote___FHmrz", "markerNote": "styles-module__markerNote___QkrrS", "markerHint": "styles-module__markerHint___2iF-6", "settingsPanel": "styles-module__settingsPanel___OxX3Y", "settingsHeader": "styles-module__settingsHeader___pwDY9", "settingsBrand": "styles-module__settingsBrand___0gJeM", "settingsBrandSlash": "styles-module__settingsBrandSlash___uTG18", "settingsVersion": "styles-module__settingsVersion___TUcFq", "settingsSection": "styles-module__settingsSection___m-YM2", "settingsLabel": "styles-module__settingsLabel___8UjfX", "cycleButton": "styles-module__cycleButton___FMKfw", "cycleDot": "styles-module__cycleDot___nPgLY", "dropdownButton": "styles-module__dropdownButton___16NPz", "toggleLabel": "styles-module__toggleLabel___Xm8Aa", "customCheckbox": "styles-module__customCheckbox___U39ax", "sliderLabel": "styles-module__sliderLabel___U8sPr", "slider": "styles-module__slider___GLdxp", "themeToggle": "styles-module__themeToggle___2rUjA", "settingsOption": "styles-module__settingsOption___UNa12", "selected": "styles-module__selected___OwRqP", "settingsPanelContainer": "styles-module__settingsPanelContainer___Xksv8", "settingsPage": "styles-module__settingsPage___6YfHH", "slideLeft": "styles-module__slideLeft___Ps01J", "automationsPage": "styles-module__automationsPage___uvCq6", "slideIn": "styles-module__slideIn___4-qXe", "settingsNavLink": "styles-module__settingsNavLink___wCzJt", "settingsNavLinkRight": "styles-module__settingsNavLinkRight___ZWwhj", "mcpNavIndicator": "styles-module__mcpNavIndicator___cl9pO", "mcpPulse": "styles-module__mcpPulse___uNggr", "settingsBackButton": "styles-module__settingsBackButton___bIe2j", "automationHeader": "styles-module__automationHeader___InP0r", "automationDescription": "styles-module__automationDescription___NKlmo", "learnMoreLink": "styles-module__learnMoreLink___8xv-x", "autoSendRow": "styles-module__autoSendRow___UblX5", "autoSendLabel": "styles-module__autoSendLabel___icDc2", "active": "styles-module__active___-zoN6", "webhookUrlInput": "styles-module__webhookUrlInput___2375C", "settingsSectionExtraPadding": "styles-module__settingsSectionExtraPadding___jdhFV", "settingsSectionGrow": "styles-module__settingsSectionGrow___h-5HZ", "settingsRow": "styles-module__settingsRow___3sdhc", "settingsRowMarginTop": "styles-module__settingsRowMarginTop___zA0Sp", "dropdownContainer": "styles-module__dropdownContainer___BVnxe", "settingsRowDisabled": "styles-module__settingsRowDisabled___EgS0V", "toggleSwitch": "styles-module__toggleSwitch___l4Ygm", "cycleButtonText": "styles-module__cycleButtonText___fD1LR", "cycleTextIn": "styles-module__cycleTextIn___Q6zJf", "cycleDots": "styles-module__cycleDots___LWuoQ", "dropdownMenu": "styles-module__dropdownMenu___k73ER", "scaleIn": "styles-module__scaleIn___c-r1K", "dropdownItem": "styles-module__dropdownItem___ylsLj", "settingsLabelMarker": "styles-module__settingsLabelMarker___ewdtV", "settingsOptions": "styles-module__settingsOptions___LyrBA", "sliderContainer": "styles-module__sliderContainer___ducXj", "sliderLabels": "styles-module__sliderLabels___FhLDB", "colorOptions": "styles-module__colorOptions___iHCNX", "colorOption": "styles-module__colorOption___IodiY", "colorOptionRing": "styles-module__colorOptionRing___U2xpo", "settingsToggle": "styles-module__settingsToggle___fBrFn", "settingsToggleMarginBottom": "styles-module__settingsToggleMarginBottom___MZUyF", "checked": "styles-module__checked___mnZLo", "toggleSlider": "styles-module__toggleSlider___wprIn", "disabled": "styles-module__disabled___332Jw", "mcpStatusDot": "styles-module__mcpStatusDot___ibgkc", "disconnected": "styles-module__disconnected___cHPxR", "mcpPulseError": "styles-module__mcpPulseError___fov9B", "dragSelection": "styles-module__dragSelection___kZLq2", "dragCount": "styles-module__dragCount___KM90j", "highlightsContainer": "styles-module__highlightsContainer___-0xzG", "selectedElementHighlight": "styles-module__selectedElementHighlight___fyVlI", "themeIconWrapper": "styles-module__themeIconWrapper___LsJIM", "themeIcon": "styles-module__themeIcon___lCCmo", "themeIconIn": "styles-module__themeIconIn___TU6ML", "scaleOut": "styles-module__scaleOut___Wctwz", "slideUp": "styles-module__slideUp___kgD36", "slideDown": "styles-module__slideDown___zcdje", "settingsPanelIn": "styles-module__settingsPanelIn___MGfO8", "settingsPanelOut": "styles-module__settingsPanelOut___Zfymi" };
|
|
2665
2637
|
if (typeof document !== "undefined") {
|
|
2666
2638
|
let style = document.getElementById("feedback-tool-styles-page-toolbar-css-styles");
|
|
2667
2639
|
if (!style) {
|
|
2668
2640
|
style = document.createElement("style");
|
|
2669
2641
|
style.id = "feedback-tool-styles-page-toolbar-css-styles";
|
|
2670
|
-
style.textContent =
|
|
2642
|
+
style.textContent = css3;
|
|
2671
2643
|
document.head.appendChild(style);
|
|
2672
2644
|
}
|
|
2673
2645
|
}
|
|
2674
|
-
var styles_module_default2 =
|
|
2646
|
+
var styles_module_default2 = classNames3;
|
|
2675
2647
|
|
|
2676
|
-
// src/components/
|
|
2648
|
+
// src/components/tooltip/index.tsx
|
|
2649
|
+
import { useEffect as useEffect2, useRef as useRef2, useState as useState2 } from "react";
|
|
2650
|
+
import { createPortal } from "react-dom";
|
|
2677
2651
|
import { Fragment, jsx as jsx3, jsxs as jsxs3 } from "react/jsx-runtime";
|
|
2652
|
+
var Tooltip = ({
|
|
2653
|
+
content,
|
|
2654
|
+
children,
|
|
2655
|
+
...props
|
|
2656
|
+
}) => {
|
|
2657
|
+
const [visible, setVisible] = useState2(false);
|
|
2658
|
+
const [shouldRender, setShouldRender] = useState2(false);
|
|
2659
|
+
const [position, setPosition] = useState2({ top: 0, right: 0 });
|
|
2660
|
+
const triggerRef = useRef2(null);
|
|
2661
|
+
const timeoutRef = useRef2(null);
|
|
2662
|
+
const exitTimeoutRef = useRef2(null);
|
|
2663
|
+
const updatePosition = () => {
|
|
2664
|
+
if (triggerRef.current) {
|
|
2665
|
+
const rect = triggerRef.current.getBoundingClientRect();
|
|
2666
|
+
setPosition({
|
|
2667
|
+
top: rect.top + rect.height / 2,
|
|
2668
|
+
right: window.innerWidth - rect.left + 8
|
|
2669
|
+
});
|
|
2670
|
+
}
|
|
2671
|
+
};
|
|
2672
|
+
const handleMouseEnter = () => {
|
|
2673
|
+
setShouldRender(true);
|
|
2674
|
+
if (exitTimeoutRef.current) {
|
|
2675
|
+
clearTimeout(exitTimeoutRef.current);
|
|
2676
|
+
exitTimeoutRef.current = null;
|
|
2677
|
+
}
|
|
2678
|
+
updatePosition();
|
|
2679
|
+
timeoutRef.current = originalSetTimeout(() => {
|
|
2680
|
+
setVisible(true);
|
|
2681
|
+
}, 500);
|
|
2682
|
+
};
|
|
2683
|
+
const handleMouseLeave = () => {
|
|
2684
|
+
if (timeoutRef.current) {
|
|
2685
|
+
clearTimeout(timeoutRef.current);
|
|
2686
|
+
timeoutRef.current = null;
|
|
2687
|
+
}
|
|
2688
|
+
setVisible(false);
|
|
2689
|
+
exitTimeoutRef.current = originalSetTimeout(() => {
|
|
2690
|
+
setShouldRender(false);
|
|
2691
|
+
}, 150);
|
|
2692
|
+
};
|
|
2693
|
+
useEffect2(() => {
|
|
2694
|
+
return () => {
|
|
2695
|
+
if (timeoutRef.current) clearTimeout(timeoutRef.current);
|
|
2696
|
+
if (exitTimeoutRef.current) clearTimeout(exitTimeoutRef.current);
|
|
2697
|
+
};
|
|
2698
|
+
}, []);
|
|
2699
|
+
return /* @__PURE__ */ jsxs3(Fragment, { children: [
|
|
2700
|
+
/* @__PURE__ */ jsx3(
|
|
2701
|
+
"span",
|
|
2702
|
+
{
|
|
2703
|
+
ref: triggerRef,
|
|
2704
|
+
onMouseEnter: handleMouseEnter,
|
|
2705
|
+
onMouseLeave: handleMouseLeave,
|
|
2706
|
+
...props,
|
|
2707
|
+
children
|
|
2708
|
+
}
|
|
2709
|
+
),
|
|
2710
|
+
shouldRender && createPortal(
|
|
2711
|
+
/* @__PURE__ */ jsx3(
|
|
2712
|
+
"div",
|
|
2713
|
+
{
|
|
2714
|
+
"data-feedback-toolbar": true,
|
|
2715
|
+
style: {
|
|
2716
|
+
position: "fixed",
|
|
2717
|
+
top: position.top,
|
|
2718
|
+
right: position.right,
|
|
2719
|
+
transform: "translateY(-50%)",
|
|
2720
|
+
padding: "6px 10px",
|
|
2721
|
+
background: "#383838",
|
|
2722
|
+
color: "rgba(255, 255, 255, 0.7)",
|
|
2723
|
+
fontSize: "11px",
|
|
2724
|
+
fontWeight: 400,
|
|
2725
|
+
lineHeight: "14px",
|
|
2726
|
+
borderRadius: "10px",
|
|
2727
|
+
width: "180px",
|
|
2728
|
+
textAlign: "left",
|
|
2729
|
+
zIndex: 100020,
|
|
2730
|
+
pointerEvents: "none",
|
|
2731
|
+
boxShadow: "0px 1px 8px rgba(0, 0, 0, 0.28)",
|
|
2732
|
+
opacity: visible ? 1 : 0,
|
|
2733
|
+
transition: "opacity 0.15s ease"
|
|
2734
|
+
},
|
|
2735
|
+
children: content
|
|
2736
|
+
}
|
|
2737
|
+
),
|
|
2738
|
+
document.body
|
|
2739
|
+
)
|
|
2740
|
+
] });
|
|
2741
|
+
};
|
|
2742
|
+
|
|
2743
|
+
// src/components/help-tooltip/styles.module.scss
|
|
2744
|
+
var css4 = ".styles-module__tooltip___mcXL2 {\n display: flex;\n justify-content: center;\n align-items: center;\n cursor: help;\n}\n\n.styles-module__tooltipIcon___Nq2nD {\n transform: translateY(0.5px);\n color: #fff;\n opacity: 0.2;\n transition: opacity 0.15s ease;\n will-change: transform;\n}\n.styles-module__tooltip___mcXL2:hover .styles-module__tooltipIcon___Nq2nD {\n opacity: 0.5;\n}\n[data-agentation-theme=light] .styles-module__tooltipIcon___Nq2nD {\n color: #000;\n}";
|
|
2745
|
+
var classNames4 = { "tooltip": "styles-module__tooltip___mcXL2", "tooltipIcon": "styles-module__tooltipIcon___Nq2nD" };
|
|
2746
|
+
if (typeof document !== "undefined") {
|
|
2747
|
+
let style = document.getElementById("feedback-tool-styles-help-tooltip-styles");
|
|
2748
|
+
if (!style) {
|
|
2749
|
+
style = document.createElement("style");
|
|
2750
|
+
style.id = "feedback-tool-styles-help-tooltip-styles";
|
|
2751
|
+
style.textContent = css4;
|
|
2752
|
+
document.head.appendChild(style);
|
|
2753
|
+
}
|
|
2754
|
+
}
|
|
2755
|
+
var styles_module_default3 = classNames4;
|
|
2756
|
+
|
|
2757
|
+
// src/components/help-tooltip/index.tsx
|
|
2758
|
+
import { jsx as jsx4 } from "react/jsx-runtime";
|
|
2759
|
+
var HelpTooltip = ({ content }) => {
|
|
2760
|
+
return /* @__PURE__ */ jsx4(Tooltip, { className: styles_module_default3.tooltip, content, children: /* @__PURE__ */ jsx4(IconHelp, { className: styles_module_default3.tooltipIcon }) });
|
|
2761
|
+
};
|
|
2762
|
+
|
|
2763
|
+
// src/components/page-toolbar-css/index.tsx
|
|
2764
|
+
import { Fragment as Fragment2, jsx as jsx5, jsxs as jsxs4 } from "react/jsx-runtime";
|
|
2678
2765
|
function identifyElementWithReact(element, reactMode = "filtered") {
|
|
2679
2766
|
const { name: elementName, path } = identifyElement(element);
|
|
2680
2767
|
if (reactMode === "off") {
|
|
@@ -2692,7 +2779,7 @@ var hasPlayedEntranceAnimation = false;
|
|
|
2692
2779
|
var DEFAULT_SETTINGS = {
|
|
2693
2780
|
outputDetail: "standard",
|
|
2694
2781
|
autoClearAfterCopy: false,
|
|
2695
|
-
|
|
2782
|
+
annotationColorId: "blue",
|
|
2696
2783
|
blockInteractions: true,
|
|
2697
2784
|
reactEnabled: true,
|
|
2698
2785
|
markerClickBehavior: "edit",
|
|
@@ -2721,14 +2808,43 @@ var OUTPUT_DETAIL_OPTIONS = [
|
|
|
2721
2808
|
{ value: "forensic", label: "Forensic" }
|
|
2722
2809
|
];
|
|
2723
2810
|
var COLOR_OPTIONS = [
|
|
2724
|
-
{
|
|
2725
|
-
{
|
|
2726
|
-
{
|
|
2727
|
-
{
|
|
2728
|
-
{
|
|
2729
|
-
{
|
|
2730
|
-
{
|
|
2811
|
+
{ id: "indigo", label: "Indigo", srgb: "#6155F5", p3: "color(display-p3 0.38 0.33 0.96)" },
|
|
2812
|
+
{ id: "blue", label: "Blue", srgb: "#0088FF", p3: "color(display-p3 0.00 0.53 1.00)" },
|
|
2813
|
+
{ id: "cyan", label: "Cyan", srgb: "#00C3D0", p3: "color(display-p3 0.00 0.76 0.82)" },
|
|
2814
|
+
{ id: "green", label: "Green", srgb: "#34C759", p3: "color(display-p3 0.20 0.78 0.35)" },
|
|
2815
|
+
{ id: "yellow", label: "Yellow", srgb: "#FFCC00", p3: "color(display-p3 1.00 0.80 0.00)" },
|
|
2816
|
+
{ id: "orange", label: "Orange", srgb: "#FF8D28", p3: "color(display-p3 1.00 0.55 0.16)" },
|
|
2817
|
+
{ id: "red", label: "Red", srgb: "#FF383C", p3: "color(display-p3 1.00 0.22 0.24)" }
|
|
2731
2818
|
];
|
|
2819
|
+
var injectAgentationColorTokens = () => {
|
|
2820
|
+
if (typeof document === "undefined") return;
|
|
2821
|
+
if (document.getElementById("agentation-color-tokens")) return;
|
|
2822
|
+
const style = document.createElement("style");
|
|
2823
|
+
style.id = "agentation-color-tokens";
|
|
2824
|
+
style.textContent = [
|
|
2825
|
+
...COLOR_OPTIONS.map((c) => `
|
|
2826
|
+
[data-agentation-accent="${c.id}"] {
|
|
2827
|
+
--agentation-color-accent: ${c.srgb};
|
|
2828
|
+
}
|
|
2829
|
+
|
|
2830
|
+
@supports (color: color(display-p3 0 0 0)) {
|
|
2831
|
+
[data-agentation-accent="${c.id}"] {
|
|
2832
|
+
--agentation-color-accent: ${c.p3};
|
|
2833
|
+
}
|
|
2834
|
+
}
|
|
2835
|
+
`),
|
|
2836
|
+
`:root {
|
|
2837
|
+
${COLOR_OPTIONS.map((c) => `--agentation-color-${c.id}: ${c.srgb};`).join("\n")}
|
|
2838
|
+
}`,
|
|
2839
|
+
`@supports (color: color(display-p3 0 0 0)) {
|
|
2840
|
+
:root {
|
|
2841
|
+
${COLOR_OPTIONS.map((c) => `--agentation-color-${c.id}: ${c.p3};`).join("\n")}
|
|
2842
|
+
}
|
|
2843
|
+
}`
|
|
2844
|
+
].join("");
|
|
2845
|
+
document.head.appendChild(style);
|
|
2846
|
+
};
|
|
2847
|
+
injectAgentationColorTokens();
|
|
2732
2848
|
function deepElementFromPoint(x, y) {
|
|
2733
2849
|
let element = document.elementFromPoint(x, y);
|
|
2734
2850
|
if (!element) return null;
|
|
@@ -2905,13 +3021,13 @@ function PageFeedbackToolbarCSS({
|
|
|
2905
3021
|
webhookUrl,
|
|
2906
3022
|
className: userClassName
|
|
2907
3023
|
} = {}) {
|
|
2908
|
-
const [isActive, setIsActive] =
|
|
2909
|
-
const [annotations, setAnnotations] =
|
|
2910
|
-
const [showMarkers, setShowMarkers] =
|
|
2911
|
-
const [isToolbarHidden, setIsToolbarHidden] =
|
|
2912
|
-
const [isToolbarHiding, setIsToolbarHiding] =
|
|
2913
|
-
const portalWrapperRef =
|
|
2914
|
-
|
|
3024
|
+
const [isActive, setIsActive] = useState3(false);
|
|
3025
|
+
const [annotations, setAnnotations] = useState3([]);
|
|
3026
|
+
const [showMarkers, setShowMarkers] = useState3(true);
|
|
3027
|
+
const [isToolbarHidden, setIsToolbarHidden] = useState3(() => loadToolbarHidden());
|
|
3028
|
+
const [isToolbarHiding, setIsToolbarHiding] = useState3(false);
|
|
3029
|
+
const portalWrapperRef = useRef3(null);
|
|
3030
|
+
useEffect3(() => {
|
|
2915
3031
|
const stop = (e) => {
|
|
2916
3032
|
const wrapper = portalWrapperRef.current;
|
|
2917
3033
|
if (wrapper && wrapper.contains(e.target)) {
|
|
@@ -2924,42 +3040,41 @@ function PageFeedbackToolbarCSS({
|
|
|
2924
3040
|
events.forEach((evt) => document.body.removeEventListener(evt, stop));
|
|
2925
3041
|
};
|
|
2926
3042
|
}, []);
|
|
2927
|
-
const [markersVisible, setMarkersVisible] =
|
|
2928
|
-
const [markersExiting, setMarkersExiting] =
|
|
2929
|
-
const [hoverInfo, setHoverInfo] =
|
|
2930
|
-
const [hoverPosition, setHoverPosition] =
|
|
2931
|
-
const [pendingAnnotation, setPendingAnnotation] =
|
|
2932
|
-
const [copied, setCopied] =
|
|
2933
|
-
const [sendState, setSendState] =
|
|
2934
|
-
const [cleared, setCleared] =
|
|
2935
|
-
const [isClearing, setIsClearing] =
|
|
2936
|
-
const [hoveredMarkerId, setHoveredMarkerId] =
|
|
2937
|
-
const [hoveredTargetElement, setHoveredTargetElement] =
|
|
2938
|
-
const [hoveredTargetElements, setHoveredTargetElements] =
|
|
2939
|
-
const [deletingMarkerId, setDeletingMarkerId] =
|
|
2940
|
-
const [renumberFrom, setRenumberFrom] =
|
|
2941
|
-
const [editingAnnotation, setEditingAnnotation] =
|
|
3043
|
+
const [markersVisible, setMarkersVisible] = useState3(false);
|
|
3044
|
+
const [markersExiting, setMarkersExiting] = useState3(false);
|
|
3045
|
+
const [hoverInfo, setHoverInfo] = useState3(null);
|
|
3046
|
+
const [hoverPosition, setHoverPosition] = useState3({ x: 0, y: 0 });
|
|
3047
|
+
const [pendingAnnotation, setPendingAnnotation] = useState3(null);
|
|
3048
|
+
const [copied, setCopied] = useState3(false);
|
|
3049
|
+
const [sendState, setSendState] = useState3("idle");
|
|
3050
|
+
const [cleared, setCleared] = useState3(false);
|
|
3051
|
+
const [isClearing, setIsClearing] = useState3(false);
|
|
3052
|
+
const [hoveredMarkerId, setHoveredMarkerId] = useState3(null);
|
|
3053
|
+
const [hoveredTargetElement, setHoveredTargetElement] = useState3(null);
|
|
3054
|
+
const [hoveredTargetElements, setHoveredTargetElements] = useState3([]);
|
|
3055
|
+
const [deletingMarkerId, setDeletingMarkerId] = useState3(null);
|
|
3056
|
+
const [renumberFrom, setRenumberFrom] = useState3(null);
|
|
3057
|
+
const [editingAnnotation, setEditingAnnotation] = useState3(
|
|
2942
3058
|
null
|
|
2943
3059
|
);
|
|
2944
|
-
const [editingTargetElement, setEditingTargetElement] =
|
|
2945
|
-
const [editingTargetElements, setEditingTargetElements] =
|
|
2946
|
-
const [scrollY, setScrollY] =
|
|
2947
|
-
const [isScrolling, setIsScrolling] =
|
|
2948
|
-
const [mounted, setMounted] =
|
|
2949
|
-
const [isFrozen, setIsFrozen] =
|
|
2950
|
-
const [showSettings, setShowSettings] =
|
|
2951
|
-
const [showSettingsVisible, setShowSettingsVisible] =
|
|
2952
|
-
const [settingsPage, setSettingsPage] =
|
|
3060
|
+
const [editingTargetElement, setEditingTargetElement] = useState3(null);
|
|
3061
|
+
const [editingTargetElements, setEditingTargetElements] = useState3([]);
|
|
3062
|
+
const [scrollY, setScrollY] = useState3(0);
|
|
3063
|
+
const [isScrolling, setIsScrolling] = useState3(false);
|
|
3064
|
+
const [mounted, setMounted] = useState3(false);
|
|
3065
|
+
const [isFrozen, setIsFrozen] = useState3(false);
|
|
3066
|
+
const [showSettings, setShowSettings] = useState3(false);
|
|
3067
|
+
const [showSettingsVisible, setShowSettingsVisible] = useState3(false);
|
|
3068
|
+
const [settingsPage, setSettingsPage] = useState3(
|
|
2953
3069
|
"main"
|
|
2954
3070
|
);
|
|
2955
|
-
const [
|
|
2956
|
-
const [
|
|
2957
|
-
const
|
|
2958
|
-
const tooltipSessionTimerRef = useRef2(
|
|
3071
|
+
const [tooltipsHidden, setTooltipsHidden] = useState3(false);
|
|
3072
|
+
const [tooltipSessionActive, setTooltipSessionActive] = useState3(false);
|
|
3073
|
+
const tooltipSessionTimerRef = useRef3(
|
|
2959
3074
|
null
|
|
2960
3075
|
);
|
|
2961
|
-
const [pendingMultiSelectElements, setPendingMultiSelectElements] =
|
|
2962
|
-
const modifiersHeldRef =
|
|
3076
|
+
const [pendingMultiSelectElements, setPendingMultiSelectElements] = useState3([]);
|
|
3077
|
+
const modifiersHeldRef = useRef3({ cmd: false, shift: false });
|
|
2963
3078
|
const hideTooltipsUntilMouseLeave = () => {
|
|
2964
3079
|
setTooltipsHidden(true);
|
|
2965
3080
|
};
|
|
@@ -2982,140 +3097,67 @@ function PageFeedbackToolbarCSS({
|
|
|
2982
3097
|
setTooltipSessionActive(false);
|
|
2983
3098
|
showTooltipsAgain();
|
|
2984
3099
|
};
|
|
2985
|
-
|
|
3100
|
+
useEffect3(() => {
|
|
2986
3101
|
return () => {
|
|
2987
3102
|
if (tooltipSessionTimerRef.current)
|
|
2988
3103
|
clearTimeout(tooltipSessionTimerRef.current);
|
|
2989
3104
|
};
|
|
2990
3105
|
}, []);
|
|
2991
|
-
const
|
|
2992
|
-
|
|
2993
|
-
|
|
2994
|
-
|
|
2995
|
-
|
|
2996
|
-
|
|
2997
|
-
|
|
2998
|
-
const [position, setPosition] = useState2({ top: 0, right: 0 });
|
|
2999
|
-
const triggerRef = useRef2(null);
|
|
3000
|
-
const timeoutRef = useRef2(null);
|
|
3001
|
-
const exitTimeoutRef = useRef2(null);
|
|
3002
|
-
const updatePosition = () => {
|
|
3003
|
-
if (triggerRef.current) {
|
|
3004
|
-
const rect = triggerRef.current.getBoundingClientRect();
|
|
3005
|
-
setPosition({
|
|
3006
|
-
top: rect.top + rect.height / 2,
|
|
3007
|
-
right: window.innerWidth - rect.left + 8
|
|
3008
|
-
});
|
|
3009
|
-
}
|
|
3010
|
-
};
|
|
3011
|
-
const handleMouseEnter = () => {
|
|
3012
|
-
setIsHovering(true);
|
|
3013
|
-
setShouldRender(true);
|
|
3014
|
-
if (exitTimeoutRef.current) {
|
|
3015
|
-
clearTimeout(exitTimeoutRef.current);
|
|
3016
|
-
exitTimeoutRef.current = null;
|
|
3017
|
-
}
|
|
3018
|
-
updatePosition();
|
|
3019
|
-
timeoutRef.current = originalSetTimeout(() => {
|
|
3020
|
-
setVisible(true);
|
|
3021
|
-
}, 500);
|
|
3022
|
-
};
|
|
3023
|
-
const handleMouseLeave = () => {
|
|
3024
|
-
setIsHovering(false);
|
|
3025
|
-
if (timeoutRef.current) {
|
|
3026
|
-
clearTimeout(timeoutRef.current);
|
|
3027
|
-
timeoutRef.current = null;
|
|
3028
|
-
}
|
|
3029
|
-
setVisible(false);
|
|
3030
|
-
exitTimeoutRef.current = originalSetTimeout(() => {
|
|
3031
|
-
setShouldRender(false);
|
|
3032
|
-
}, 150);
|
|
3033
|
-
};
|
|
3034
|
-
useEffect2(() => {
|
|
3035
|
-
return () => {
|
|
3036
|
-
if (timeoutRef.current) clearTimeout(timeoutRef.current);
|
|
3037
|
-
if (exitTimeoutRef.current) clearTimeout(exitTimeoutRef.current);
|
|
3106
|
+
const [settings, setSettings] = useState3(() => {
|
|
3107
|
+
try {
|
|
3108
|
+
const saved = JSON.parse(localStorage.getItem("feedback-toolbar-settings") ?? "");
|
|
3109
|
+
return {
|
|
3110
|
+
...DEFAULT_SETTINGS,
|
|
3111
|
+
...saved,
|
|
3112
|
+
annotationColorId: COLOR_OPTIONS.find((c) => c.id === saved.annotationColorId) ? saved.annotationColorId : DEFAULT_SETTINGS.annotationColorId
|
|
3038
3113
|
};
|
|
3039
|
-
}
|
|
3040
|
-
|
|
3041
|
-
|
|
3042
|
-
|
|
3043
|
-
|
|
3044
|
-
|
|
3045
|
-
|
|
3046
|
-
|
|
3047
|
-
|
|
3048
|
-
|
|
3049
|
-
)
|
|
3050
|
-
|
|
3051
|
-
/* @__PURE__ */ jsx3(
|
|
3052
|
-
"div",
|
|
3053
|
-
{
|
|
3054
|
-
"data-feedback-toolbar": true,
|
|
3055
|
-
style: {
|
|
3056
|
-
position: "fixed",
|
|
3057
|
-
top: position.top,
|
|
3058
|
-
right: position.right,
|
|
3059
|
-
transform: "translateY(-50%)",
|
|
3060
|
-
padding: "6px 10px",
|
|
3061
|
-
background: "#383838",
|
|
3062
|
-
color: "rgba(255, 255, 255, 0.7)",
|
|
3063
|
-
fontSize: "11px",
|
|
3064
|
-
fontWeight: 400,
|
|
3065
|
-
lineHeight: "14px",
|
|
3066
|
-
borderRadius: "10px",
|
|
3067
|
-
width: "180px",
|
|
3068
|
-
textAlign: "left",
|
|
3069
|
-
zIndex: 100020,
|
|
3070
|
-
pointerEvents: "none",
|
|
3071
|
-
boxShadow: "0px 1px 8px rgba(0, 0, 0, 0.28)",
|
|
3072
|
-
opacity: visible && !isTransitioning ? 1 : 0,
|
|
3073
|
-
transition: "opacity 0.15s ease"
|
|
3074
|
-
},
|
|
3075
|
-
children: content
|
|
3076
|
-
}
|
|
3077
|
-
),
|
|
3078
|
-
document.body
|
|
3079
|
-
)
|
|
3080
|
-
] });
|
|
3114
|
+
} catch {
|
|
3115
|
+
return DEFAULT_SETTINGS;
|
|
3116
|
+
}
|
|
3117
|
+
});
|
|
3118
|
+
const [isDarkMode, setIsDarkMode] = useState3(true);
|
|
3119
|
+
const [showEntranceAnimation, setShowEntranceAnimation] = useState3(false);
|
|
3120
|
+
const toggleTheme = () => {
|
|
3121
|
+
portalWrapperRef.current?.classList.add(styles_module_default2.disableTransitions);
|
|
3122
|
+
setIsDarkMode((previous) => !previous);
|
|
3123
|
+
requestAnimationFrame(() => {
|
|
3124
|
+
portalWrapperRef.current?.classList.remove(styles_module_default2.disableTransitions);
|
|
3125
|
+
});
|
|
3081
3126
|
};
|
|
3082
|
-
const [settings, setSettings] = useState2(DEFAULT_SETTINGS);
|
|
3083
|
-
const [isDarkMode, setIsDarkMode] = useState2(true);
|
|
3084
|
-
const [showEntranceAnimation, setShowEntranceAnimation] = useState2(false);
|
|
3085
3127
|
const isDevMode = process.env.NODE_ENV === "development";
|
|
3086
3128
|
const effectiveReactMode = isDevMode && settings.reactEnabled ? OUTPUT_TO_REACT_MODE[settings.outputDetail] : "off";
|
|
3087
|
-
const [currentSessionId, setCurrentSessionId] =
|
|
3129
|
+
const [currentSessionId, setCurrentSessionId] = useState3(
|
|
3088
3130
|
initialSessionId ?? null
|
|
3089
3131
|
);
|
|
3090
|
-
const sessionInitializedRef =
|
|
3091
|
-
const [connectionStatus, setConnectionStatus] =
|
|
3092
|
-
const [toolbarPosition, setToolbarPosition] =
|
|
3093
|
-
const [isDraggingToolbar, setIsDraggingToolbar] =
|
|
3094
|
-
const [dragStartPos, setDragStartPos] =
|
|
3095
|
-
const [dragRotation, setDragRotation] =
|
|
3096
|
-
const justFinishedToolbarDragRef =
|
|
3097
|
-
const [animatedMarkers, setAnimatedMarkers] =
|
|
3132
|
+
const sessionInitializedRef = useRef3(false);
|
|
3133
|
+
const [connectionStatus, setConnectionStatus] = useState3(endpoint ? "connecting" : "disconnected");
|
|
3134
|
+
const [toolbarPosition, setToolbarPosition] = useState3(null);
|
|
3135
|
+
const [isDraggingToolbar, setIsDraggingToolbar] = useState3(false);
|
|
3136
|
+
const [dragStartPos, setDragStartPos] = useState3(null);
|
|
3137
|
+
const [dragRotation, setDragRotation] = useState3(0);
|
|
3138
|
+
const justFinishedToolbarDragRef = useRef3(false);
|
|
3139
|
+
const [animatedMarkers, setAnimatedMarkers] = useState3(
|
|
3098
3140
|
/* @__PURE__ */ new Set()
|
|
3099
3141
|
);
|
|
3100
|
-
const [exitingMarkers, setExitingMarkers] =
|
|
3101
|
-
const [pendingExiting, setPendingExiting] =
|
|
3102
|
-
const [editExiting, setEditExiting] =
|
|
3103
|
-
const [isDragging, setIsDragging] =
|
|
3104
|
-
const mouseDownPosRef =
|
|
3105
|
-
const dragStartRef =
|
|
3106
|
-
const dragRectRef =
|
|
3107
|
-
const highlightsContainerRef =
|
|
3108
|
-
const justFinishedDragRef =
|
|
3109
|
-
const lastElementUpdateRef =
|
|
3110
|
-
const recentlyAddedIdRef =
|
|
3111
|
-
const prevConnectionStatusRef =
|
|
3142
|
+
const [exitingMarkers, setExitingMarkers] = useState3(/* @__PURE__ */ new Set());
|
|
3143
|
+
const [pendingExiting, setPendingExiting] = useState3(false);
|
|
3144
|
+
const [editExiting, setEditExiting] = useState3(false);
|
|
3145
|
+
const [isDragging, setIsDragging] = useState3(false);
|
|
3146
|
+
const mouseDownPosRef = useRef3(null);
|
|
3147
|
+
const dragStartRef = useRef3(null);
|
|
3148
|
+
const dragRectRef = useRef3(null);
|
|
3149
|
+
const highlightsContainerRef = useRef3(null);
|
|
3150
|
+
const justFinishedDragRef = useRef3(false);
|
|
3151
|
+
const lastElementUpdateRef = useRef3(0);
|
|
3152
|
+
const recentlyAddedIdRef = useRef3(null);
|
|
3153
|
+
const prevConnectionStatusRef = useRef3(null);
|
|
3112
3154
|
const DRAG_THRESHOLD = 8;
|
|
3113
3155
|
const ELEMENT_UPDATE_THROTTLE = 50;
|
|
3114
|
-
const popupRef =
|
|
3115
|
-
const editPopupRef =
|
|
3116
|
-
const scrollTimeoutRef =
|
|
3156
|
+
const popupRef = useRef3(null);
|
|
3157
|
+
const editPopupRef = useRef3(null);
|
|
3158
|
+
const scrollTimeoutRef = useRef3(null);
|
|
3117
3159
|
const pathname = typeof window !== "undefined" ? window.location.pathname : "/";
|
|
3118
|
-
|
|
3160
|
+
useEffect3(() => {
|
|
3119
3161
|
if (showSettings) {
|
|
3120
3162
|
setShowSettingsVisible(true);
|
|
3121
3163
|
} else {
|
|
@@ -3125,13 +3167,8 @@ function PageFeedbackToolbarCSS({
|
|
|
3125
3167
|
return () => clearTimeout(timer);
|
|
3126
3168
|
}
|
|
3127
3169
|
}, [showSettings]);
|
|
3128
|
-
useEffect2(() => {
|
|
3129
|
-
setIsTransitioning(true);
|
|
3130
|
-
const timer = originalSetTimeout(() => setIsTransitioning(false), 350);
|
|
3131
|
-
return () => clearTimeout(timer);
|
|
3132
|
-
}, [settingsPage]);
|
|
3133
3170
|
const shouldShowMarkers = isActive && showMarkers;
|
|
3134
|
-
|
|
3171
|
+
useEffect3(() => {
|
|
3135
3172
|
if (shouldShowMarkers) {
|
|
3136
3173
|
setMarkersExiting(false);
|
|
3137
3174
|
setMarkersVisible(true);
|
|
@@ -3153,7 +3190,7 @@ function PageFeedbackToolbarCSS({
|
|
|
3153
3190
|
return () => clearTimeout(timer);
|
|
3154
3191
|
}
|
|
3155
3192
|
}, [shouldShowMarkers]);
|
|
3156
|
-
|
|
3193
|
+
useEffect3(() => {
|
|
3157
3194
|
setMounted(true);
|
|
3158
3195
|
setScrollY(window.scrollY);
|
|
3159
3196
|
const stored = loadAnnotations(pathname);
|
|
@@ -3163,13 +3200,6 @@ function PageFeedbackToolbarCSS({
|
|
|
3163
3200
|
hasPlayedEntranceAnimation = true;
|
|
3164
3201
|
originalSetTimeout(() => setShowEntranceAnimation(false), 750);
|
|
3165
3202
|
}
|
|
3166
|
-
try {
|
|
3167
|
-
const storedSettings = localStorage.getItem("feedback-toolbar-settings");
|
|
3168
|
-
if (storedSettings) {
|
|
3169
|
-
setSettings({ ...DEFAULT_SETTINGS, ...JSON.parse(storedSettings) });
|
|
3170
|
-
}
|
|
3171
|
-
} catch (e) {
|
|
3172
|
-
}
|
|
3173
3203
|
try {
|
|
3174
3204
|
const savedTheme = localStorage.getItem("feedback-toolbar-theme");
|
|
3175
3205
|
if (savedTheme !== null) {
|
|
@@ -3188,7 +3218,7 @@ function PageFeedbackToolbarCSS({
|
|
|
3188
3218
|
} catch (e) {
|
|
3189
3219
|
}
|
|
3190
3220
|
}, [pathname]);
|
|
3191
|
-
|
|
3221
|
+
useEffect3(() => {
|
|
3192
3222
|
if (mounted) {
|
|
3193
3223
|
localStorage.setItem(
|
|
3194
3224
|
"feedback-toolbar-settings",
|
|
@@ -3196,7 +3226,7 @@ function PageFeedbackToolbarCSS({
|
|
|
3196
3226
|
);
|
|
3197
3227
|
}
|
|
3198
3228
|
}, [settings, mounted]);
|
|
3199
|
-
|
|
3229
|
+
useEffect3(() => {
|
|
3200
3230
|
if (mounted) {
|
|
3201
3231
|
localStorage.setItem(
|
|
3202
3232
|
"feedback-toolbar-theme",
|
|
@@ -3204,8 +3234,8 @@ function PageFeedbackToolbarCSS({
|
|
|
3204
3234
|
);
|
|
3205
3235
|
}
|
|
3206
3236
|
}, [isDarkMode, mounted]);
|
|
3207
|
-
const prevDraggingRef =
|
|
3208
|
-
|
|
3237
|
+
const prevDraggingRef = useRef3(false);
|
|
3238
|
+
useEffect3(() => {
|
|
3209
3239
|
const wasDragging = prevDraggingRef.current;
|
|
3210
3240
|
prevDraggingRef.current = isDraggingToolbar;
|
|
3211
3241
|
if (wasDragging && !isDraggingToolbar && toolbarPosition && mounted) {
|
|
@@ -3215,7 +3245,7 @@ function PageFeedbackToolbarCSS({
|
|
|
3215
3245
|
);
|
|
3216
3246
|
}
|
|
3217
3247
|
}, [isDraggingToolbar, toolbarPosition, mounted]);
|
|
3218
|
-
|
|
3248
|
+
useEffect3(() => {
|
|
3219
3249
|
if (!endpoint || !mounted || sessionInitializedRef.current) return;
|
|
3220
3250
|
sessionInitializedRef.current = true;
|
|
3221
3251
|
setConnectionStatus("connecting");
|
|
@@ -3367,7 +3397,7 @@ function PageFeedbackToolbarCSS({
|
|
|
3367
3397
|
};
|
|
3368
3398
|
initSession();
|
|
3369
3399
|
}, [endpoint, initialSessionId, mounted, onSessionCreated, pathname]);
|
|
3370
|
-
|
|
3400
|
+
useEffect3(() => {
|
|
3371
3401
|
if (!endpoint || !mounted) return;
|
|
3372
3402
|
const checkHealth = async () => {
|
|
3373
3403
|
try {
|
|
@@ -3385,7 +3415,7 @@ function PageFeedbackToolbarCSS({
|
|
|
3385
3415
|
const interval = originalSetInterval(checkHealth, 1e4);
|
|
3386
3416
|
return () => clearInterval(interval);
|
|
3387
3417
|
}, [endpoint, mounted]);
|
|
3388
|
-
|
|
3418
|
+
useEffect3(() => {
|
|
3389
3419
|
if (!endpoint || !mounted || !currentSessionId) return;
|
|
3390
3420
|
const eventSource = new EventSource(
|
|
3391
3421
|
`${endpoint}/sessions/${currentSessionId}/events`
|
|
@@ -3415,7 +3445,7 @@ function PageFeedbackToolbarCSS({
|
|
|
3415
3445
|
eventSource.close();
|
|
3416
3446
|
};
|
|
3417
3447
|
}, [endpoint, mounted, currentSessionId]);
|
|
3418
|
-
|
|
3448
|
+
useEffect3(() => {
|
|
3419
3449
|
if (!endpoint || !mounted) return;
|
|
3420
3450
|
const wasDisconnected = prevConnectionStatusRef.current === "disconnected";
|
|
3421
3451
|
const isNowConnected = connectionStatus === "connected";
|
|
@@ -3491,7 +3521,7 @@ function PageFeedbackToolbarCSS({
|
|
|
3491
3521
|
setIsToolbarHiding(false);
|
|
3492
3522
|
}, 400);
|
|
3493
3523
|
}, [isToolbarHiding]);
|
|
3494
|
-
|
|
3524
|
+
useEffect3(() => {
|
|
3495
3525
|
if (!enableDemoMode) return;
|
|
3496
3526
|
if (!mounted || !demoAnnotations || demoAnnotations.length === 0) return;
|
|
3497
3527
|
if (annotations.length > 0) return;
|
|
@@ -3535,7 +3565,7 @@ function PageFeedbackToolbarCSS({
|
|
|
3535
3565
|
timeoutIds.forEach(clearTimeout);
|
|
3536
3566
|
};
|
|
3537
3567
|
}, [enableDemoMode, mounted, demoAnnotations, demoDelay]);
|
|
3538
|
-
|
|
3568
|
+
useEffect3(() => {
|
|
3539
3569
|
const handleScroll = () => {
|
|
3540
3570
|
setScrollY(window.scrollY);
|
|
3541
3571
|
setIsScrolling(true);
|
|
@@ -3554,7 +3584,7 @@ function PageFeedbackToolbarCSS({
|
|
|
3554
3584
|
}
|
|
3555
3585
|
};
|
|
3556
3586
|
}, []);
|
|
3557
|
-
|
|
3587
|
+
useEffect3(() => {
|
|
3558
3588
|
if (mounted && annotations.length > 0) {
|
|
3559
3589
|
if (currentSessionId) {
|
|
3560
3590
|
saveAnnotationsWithSyncMarker(pathname, annotations, currentSessionId);
|
|
@@ -3668,7 +3698,7 @@ function PageFeedbackToolbarCSS({
|
|
|
3668
3698
|
setPendingMultiSelectElements([]);
|
|
3669
3699
|
setHoverInfo(null);
|
|
3670
3700
|
}, [pendingMultiSelectElements]);
|
|
3671
|
-
|
|
3701
|
+
useEffect3(() => {
|
|
3672
3702
|
if (!isActive) {
|
|
3673
3703
|
setPendingAnnotation(null);
|
|
3674
3704
|
setEditingAnnotation(null);
|
|
@@ -3683,12 +3713,12 @@ function PageFeedbackToolbarCSS({
|
|
|
3683
3713
|
}
|
|
3684
3714
|
}
|
|
3685
3715
|
}, [isActive, isFrozen, unfreezeAnimations]);
|
|
3686
|
-
|
|
3716
|
+
useEffect3(() => {
|
|
3687
3717
|
return () => {
|
|
3688
3718
|
unfreeze();
|
|
3689
3719
|
};
|
|
3690
3720
|
}, []);
|
|
3691
|
-
|
|
3721
|
+
useEffect3(() => {
|
|
3692
3722
|
if (!isActive) return;
|
|
3693
3723
|
const style = document.createElement("style");
|
|
3694
3724
|
style.id = "feedback-cursor-styles";
|
|
@@ -3708,7 +3738,7 @@ function PageFeedbackToolbarCSS({
|
|
|
3708
3738
|
cursor: text !important;
|
|
3709
3739
|
}
|
|
3710
3740
|
[data-feedback-toolbar], [data-feedback-toolbar] * {
|
|
3711
|
-
cursor:
|
|
3741
|
+
cursor: auto !important;
|
|
3712
3742
|
}
|
|
3713
3743
|
[data-feedback-toolbar] textarea,
|
|
3714
3744
|
[data-feedback-toolbar] input[type="text"],
|
|
@@ -3735,7 +3765,7 @@ function PageFeedbackToolbarCSS({
|
|
|
3735
3765
|
if (existingStyle) existingStyle.remove();
|
|
3736
3766
|
};
|
|
3737
3767
|
}, [isActive]);
|
|
3738
|
-
|
|
3768
|
+
useEffect3(() => {
|
|
3739
3769
|
if (!isActive || pendingAnnotation) return;
|
|
3740
3770
|
const handleMouseMove = (e) => {
|
|
3741
3771
|
const target = e.composedPath()[0] || e.target;
|
|
@@ -3762,7 +3792,7 @@ function PageFeedbackToolbarCSS({
|
|
|
3762
3792
|
document.addEventListener("mousemove", handleMouseMove);
|
|
3763
3793
|
return () => document.removeEventListener("mousemove", handleMouseMove);
|
|
3764
3794
|
}, [isActive, pendingAnnotation, effectiveReactMode]);
|
|
3765
|
-
|
|
3795
|
+
useEffect3(() => {
|
|
3766
3796
|
if (!isActive) return;
|
|
3767
3797
|
const handleClick = (e) => {
|
|
3768
3798
|
if (justFinishedDragRef.current) {
|
|
@@ -3884,7 +3914,7 @@ function PageFeedbackToolbarCSS({
|
|
|
3884
3914
|
effectiveReactMode,
|
|
3885
3915
|
pendingMultiSelectElements
|
|
3886
3916
|
]);
|
|
3887
|
-
|
|
3917
|
+
useEffect3(() => {
|
|
3888
3918
|
if (!isActive) return;
|
|
3889
3919
|
const handleKeyDown = (e) => {
|
|
3890
3920
|
if (e.key === "Meta") modifiersHeldRef.current.cmd = true;
|
|
@@ -3912,7 +3942,7 @@ function PageFeedbackToolbarCSS({
|
|
|
3912
3942
|
window.removeEventListener("blur", handleBlur);
|
|
3913
3943
|
};
|
|
3914
3944
|
}, [isActive, pendingMultiSelectElements, createMultiSelectPendingAnnotation]);
|
|
3915
|
-
|
|
3945
|
+
useEffect3(() => {
|
|
3916
3946
|
if (!isActive || pendingAnnotation) return;
|
|
3917
3947
|
const handleMouseDown = (e) => {
|
|
3918
3948
|
const target = e.composedPath()[0] || e.target;
|
|
@@ -3966,7 +3996,7 @@ function PageFeedbackToolbarCSS({
|
|
|
3966
3996
|
document.addEventListener("mousedown", handleMouseDown);
|
|
3967
3997
|
return () => document.removeEventListener("mousedown", handleMouseDown);
|
|
3968
3998
|
}, [isActive, pendingAnnotation]);
|
|
3969
|
-
|
|
3999
|
+
useEffect3(() => {
|
|
3970
4000
|
if (!isActive || pendingAnnotation) return;
|
|
3971
4001
|
const handleMouseMove = (e) => {
|
|
3972
4002
|
if (!mouseDownPosRef.current) return;
|
|
@@ -4111,7 +4141,7 @@ function PageFeedbackToolbarCSS({
|
|
|
4111
4141
|
document.addEventListener("mousemove", handleMouseMove, { passive: true });
|
|
4112
4142
|
return () => document.removeEventListener("mousemove", handleMouseMove);
|
|
4113
4143
|
}, [isActive, pendingAnnotation, isDragging, DRAG_THRESHOLD]);
|
|
4114
|
-
|
|
4144
|
+
useEffect3(() => {
|
|
4115
4145
|
if (!isActive) return;
|
|
4116
4146
|
const handleMouseUp = (e) => {
|
|
4117
4147
|
const wasDragging = isDragging;
|
|
@@ -4582,7 +4612,7 @@ function PageFeedbackToolbarCSS({
|
|
|
4582
4612
|
settings.autoClearAfterCopy,
|
|
4583
4613
|
clearAll
|
|
4584
4614
|
]);
|
|
4585
|
-
|
|
4615
|
+
useEffect3(() => {
|
|
4586
4616
|
if (!dragStartPos) return;
|
|
4587
4617
|
const DRAG_THRESHOLD2 = 10;
|
|
4588
4618
|
const handleMouseMove = (e) => {
|
|
@@ -4645,7 +4675,7 @@ function PageFeedbackToolbarCSS({
|
|
|
4645
4675
|
},
|
|
4646
4676
|
[toolbarPosition]
|
|
4647
4677
|
);
|
|
4648
|
-
|
|
4678
|
+
useEffect3(() => {
|
|
4649
4679
|
if (!toolbarPosition) return;
|
|
4650
4680
|
const constrainPosition = () => {
|
|
4651
4681
|
const padding = 20;
|
|
@@ -4670,7 +4700,7 @@ function PageFeedbackToolbarCSS({
|
|
|
4670
4700
|
window.addEventListener("resize", constrainPosition);
|
|
4671
4701
|
return () => window.removeEventListener("resize", constrainPosition);
|
|
4672
4702
|
}, [toolbarPosition, isActive, connectionStatus]);
|
|
4673
|
-
|
|
4703
|
+
useEffect3(() => {
|
|
4674
4704
|
const handleKeyDown = (e) => {
|
|
4675
4705
|
const target = e.target;
|
|
4676
4706
|
const isTyping = target.tagName === "INPUT" || target.tagName === "TEXTAREA" || target.isContentEditable;
|
|
@@ -4775,9 +4805,9 @@ function PageFeedbackToolbarCSS({
|
|
|
4775
4805
|
}
|
|
4776
4806
|
return styles;
|
|
4777
4807
|
};
|
|
4778
|
-
return
|
|
4779
|
-
/* @__PURE__ */
|
|
4780
|
-
/* @__PURE__ */
|
|
4808
|
+
return createPortal2(
|
|
4809
|
+
/* @__PURE__ */ jsxs4("div", { ref: portalWrapperRef, style: { display: "contents" }, "data-agentation-theme": isDarkMode ? "dark" : "light", "data-agentation-accent": settings.annotationColorId, children: [
|
|
4810
|
+
/* @__PURE__ */ jsx5(
|
|
4781
4811
|
"div",
|
|
4782
4812
|
{
|
|
4783
4813
|
className: `${styles_module_default2.toolbar}${userClassName ? ` ${userClassName}` : ""}`,
|
|
@@ -4788,10 +4818,10 @@ function PageFeedbackToolbarCSS({
|
|
|
4788
4818
|
right: "auto",
|
|
4789
4819
|
bottom: "auto"
|
|
4790
4820
|
} : void 0,
|
|
4791
|
-
children: /* @__PURE__ */
|
|
4821
|
+
children: /* @__PURE__ */ jsxs4(
|
|
4792
4822
|
"div",
|
|
4793
4823
|
{
|
|
4794
|
-
className: `${styles_module_default2.toolbarContainer} ${
|
|
4824
|
+
className: `${styles_module_default2.toolbarContainer} ${isActive ? styles_module_default2.expanded : styles_module_default2.collapsed} ${showEntranceAnimation ? styles_module_default2.entrance : ""} ${isToolbarHiding ? styles_module_default2.hiding : ""} ${isDraggingToolbar ? styles_module_default2.dragging : ""} ${!settings.webhooksEnabled && (isValidUrl(settings.webhookUrl) || isValidUrl(webhookUrl || "")) ? styles_module_default2.serverConnected : ""}`,
|
|
4795
4825
|
onClick: !isActive ? (e) => {
|
|
4796
4826
|
if (justFinishedToolbarDragRef.current) {
|
|
4797
4827
|
justFinishedToolbarDragRef.current = false;
|
|
@@ -4811,79 +4841,78 @@ function PageFeedbackToolbarCSS({
|
|
|
4811
4841
|
}
|
|
4812
4842
|
},
|
|
4813
4843
|
children: [
|
|
4814
|
-
/* @__PURE__ */
|
|
4844
|
+
/* @__PURE__ */ jsxs4(
|
|
4815
4845
|
"div",
|
|
4816
4846
|
{
|
|
4817
4847
|
className: `${styles_module_default2.toggleContent} ${!isActive ? styles_module_default2.visible : styles_module_default2.hidden}`,
|
|
4818
4848
|
children: [
|
|
4819
|
-
/* @__PURE__ */
|
|
4820
|
-
hasAnnotations && /* @__PURE__ */
|
|
4849
|
+
/* @__PURE__ */ jsx5(IconListSparkle, { size: 24 }),
|
|
4850
|
+
hasAnnotations && /* @__PURE__ */ jsx5(
|
|
4821
4851
|
"span",
|
|
4822
4852
|
{
|
|
4823
4853
|
className: `${styles_module_default2.badge} ${isActive ? styles_module_default2.fadeOut : ""} ${showEntranceAnimation ? styles_module_default2.entrance : ""}`,
|
|
4824
|
-
style: { backgroundColor: settings.annotationColor },
|
|
4825
4854
|
children: annotations.length
|
|
4826
4855
|
}
|
|
4827
4856
|
)
|
|
4828
4857
|
]
|
|
4829
4858
|
}
|
|
4830
4859
|
),
|
|
4831
|
-
/* @__PURE__ */
|
|
4860
|
+
/* @__PURE__ */ jsxs4(
|
|
4832
4861
|
"div",
|
|
4833
4862
|
{
|
|
4834
4863
|
className: `${styles_module_default2.controlsContent} ${isActive ? styles_module_default2.visible : styles_module_default2.hidden} ${toolbarPosition && toolbarPosition.y < 100 ? styles_module_default2.tooltipBelow : ""} ${tooltipsHidden || showSettings ? styles_module_default2.tooltipsHidden : ""} ${tooltipSessionActive ? styles_module_default2.tooltipsInSession : ""}`,
|
|
4835
4864
|
onMouseEnter: handleControlsMouseEnter,
|
|
4836
4865
|
onMouseLeave: handleControlsMouseLeave,
|
|
4837
4866
|
children: [
|
|
4838
|
-
/* @__PURE__ */
|
|
4867
|
+
/* @__PURE__ */ jsxs4(
|
|
4839
4868
|
"div",
|
|
4840
4869
|
{
|
|
4841
4870
|
className: `${styles_module_default2.buttonWrapper} ${toolbarPosition && toolbarPosition.x < 120 ? styles_module_default2.buttonWrapperAlignLeft : ""}`,
|
|
4842
4871
|
children: [
|
|
4843
|
-
/* @__PURE__ */
|
|
4872
|
+
/* @__PURE__ */ jsx5(
|
|
4844
4873
|
"button",
|
|
4845
4874
|
{
|
|
4846
|
-
className:
|
|
4875
|
+
className: styles_module_default2.controlButton,
|
|
4847
4876
|
onClick: (e) => {
|
|
4848
4877
|
e.stopPropagation();
|
|
4849
4878
|
hideTooltipsUntilMouseLeave();
|
|
4850
4879
|
toggleFreeze();
|
|
4851
4880
|
},
|
|
4852
4881
|
"data-active": isFrozen,
|
|
4853
|
-
children: /* @__PURE__ */
|
|
4882
|
+
children: /* @__PURE__ */ jsx5(IconPausePlayAnimated, { size: 24, isPaused: isFrozen })
|
|
4854
4883
|
}
|
|
4855
4884
|
),
|
|
4856
|
-
/* @__PURE__ */
|
|
4885
|
+
/* @__PURE__ */ jsxs4("span", { className: styles_module_default2.buttonTooltip, children: [
|
|
4857
4886
|
isFrozen ? "Resume animations" : "Pause animations",
|
|
4858
|
-
/* @__PURE__ */
|
|
4887
|
+
/* @__PURE__ */ jsx5("span", { className: styles_module_default2.shortcut, children: "P" })
|
|
4859
4888
|
] })
|
|
4860
4889
|
]
|
|
4861
4890
|
}
|
|
4862
4891
|
),
|
|
4863
|
-
/* @__PURE__ */
|
|
4864
|
-
/* @__PURE__ */
|
|
4892
|
+
/* @__PURE__ */ jsxs4("div", { className: styles_module_default2.buttonWrapper, children: [
|
|
4893
|
+
/* @__PURE__ */ jsx5(
|
|
4865
4894
|
"button",
|
|
4866
4895
|
{
|
|
4867
|
-
className:
|
|
4896
|
+
className: styles_module_default2.controlButton,
|
|
4868
4897
|
onClick: (e) => {
|
|
4869
4898
|
e.stopPropagation();
|
|
4870
4899
|
hideTooltipsUntilMouseLeave();
|
|
4871
4900
|
setShowMarkers(!showMarkers);
|
|
4872
4901
|
},
|
|
4873
4902
|
disabled: !hasAnnotations,
|
|
4874
|
-
children: /* @__PURE__ */
|
|
4903
|
+
children: /* @__PURE__ */ jsx5(IconEyeAnimated, { size: 24, isOpen: showMarkers })
|
|
4875
4904
|
}
|
|
4876
4905
|
),
|
|
4877
|
-
/* @__PURE__ */
|
|
4906
|
+
/* @__PURE__ */ jsxs4("span", { className: styles_module_default2.buttonTooltip, children: [
|
|
4878
4907
|
showMarkers ? "Hide markers" : "Show markers",
|
|
4879
|
-
/* @__PURE__ */
|
|
4908
|
+
/* @__PURE__ */ jsx5("span", { className: styles_module_default2.shortcut, children: "H" })
|
|
4880
4909
|
] })
|
|
4881
4910
|
] }),
|
|
4882
|
-
/* @__PURE__ */
|
|
4883
|
-
/* @__PURE__ */
|
|
4911
|
+
/* @__PURE__ */ jsxs4("div", { className: styles_module_default2.buttonWrapper, children: [
|
|
4912
|
+
/* @__PURE__ */ jsx5(
|
|
4884
4913
|
"button",
|
|
4885
4914
|
{
|
|
4886
|
-
className: `${styles_module_default2.controlButton} ${
|
|
4915
|
+
className: `${styles_module_default2.controlButton} ${copied ? styles_module_default2.statusShowing : ""}`,
|
|
4887
4916
|
onClick: (e) => {
|
|
4888
4917
|
e.stopPropagation();
|
|
4889
4918
|
hideTooltipsUntilMouseLeave();
|
|
@@ -4891,23 +4920,23 @@ function PageFeedbackToolbarCSS({
|
|
|
4891
4920
|
},
|
|
4892
4921
|
disabled: !hasAnnotations,
|
|
4893
4922
|
"data-active": copied,
|
|
4894
|
-
children: /* @__PURE__ */
|
|
4923
|
+
children: /* @__PURE__ */ jsx5(IconCopyAnimated, { size: 24, copied })
|
|
4895
4924
|
}
|
|
4896
4925
|
),
|
|
4897
|
-
/* @__PURE__ */
|
|
4926
|
+
/* @__PURE__ */ jsxs4("span", { className: styles_module_default2.buttonTooltip, children: [
|
|
4898
4927
|
"Copy feedback",
|
|
4899
|
-
/* @__PURE__ */
|
|
4928
|
+
/* @__PURE__ */ jsx5("span", { className: styles_module_default2.shortcut, children: "C" })
|
|
4900
4929
|
] })
|
|
4901
4930
|
] }),
|
|
4902
|
-
/* @__PURE__ */
|
|
4931
|
+
/* @__PURE__ */ jsxs4(
|
|
4903
4932
|
"div",
|
|
4904
4933
|
{
|
|
4905
4934
|
className: `${styles_module_default2.buttonWrapper} ${styles_module_default2.sendButtonWrapper} ${isActive && !settings.webhooksEnabled && (isValidUrl(settings.webhookUrl) || isValidUrl(webhookUrl || "")) ? styles_module_default2.sendButtonVisible : ""}`,
|
|
4906
4935
|
children: [
|
|
4907
|
-
/* @__PURE__ */
|
|
4936
|
+
/* @__PURE__ */ jsxs4(
|
|
4908
4937
|
"button",
|
|
4909
4938
|
{
|
|
4910
|
-
className: `${styles_module_default2.controlButton} ${
|
|
4939
|
+
className: `${styles_module_default2.controlButton} ${sendState === "sent" || sendState === "failed" ? styles_module_default2.statusShowing : ""}`,
|
|
4911
4940
|
onClick: (e) => {
|
|
4912
4941
|
e.stopPropagation();
|
|
4913
4942
|
hideTooltipsUntilMouseLeave();
|
|
@@ -4917,30 +4946,29 @@ function PageFeedbackToolbarCSS({
|
|
|
4917
4946
|
"data-no-hover": sendState === "sent" || sendState === "failed",
|
|
4918
4947
|
tabIndex: isValidUrl(settings.webhookUrl) || isValidUrl(webhookUrl || "") ? 0 : -1,
|
|
4919
4948
|
children: [
|
|
4920
|
-
/* @__PURE__ */
|
|
4921
|
-
hasAnnotations && sendState === "idle" && /* @__PURE__ */
|
|
4949
|
+
/* @__PURE__ */ jsx5(IconSendArrow, { size: 24, state: sendState }),
|
|
4950
|
+
hasAnnotations && sendState === "idle" && /* @__PURE__ */ jsx5(
|
|
4922
4951
|
"span",
|
|
4923
4952
|
{
|
|
4924
|
-
className:
|
|
4925
|
-
style: { backgroundColor: settings.annotationColor },
|
|
4953
|
+
className: styles_module_default2.buttonBadge,
|
|
4926
4954
|
children: annotations.length
|
|
4927
4955
|
}
|
|
4928
4956
|
)
|
|
4929
4957
|
]
|
|
4930
4958
|
}
|
|
4931
4959
|
),
|
|
4932
|
-
/* @__PURE__ */
|
|
4960
|
+
/* @__PURE__ */ jsxs4("span", { className: styles_module_default2.buttonTooltip, children: [
|
|
4933
4961
|
"Send Annotations",
|
|
4934
|
-
/* @__PURE__ */
|
|
4962
|
+
/* @__PURE__ */ jsx5("span", { className: styles_module_default2.shortcut, children: "S" })
|
|
4935
4963
|
] })
|
|
4936
4964
|
]
|
|
4937
4965
|
}
|
|
4938
4966
|
),
|
|
4939
|
-
/* @__PURE__ */
|
|
4940
|
-
/* @__PURE__ */
|
|
4967
|
+
/* @__PURE__ */ jsxs4("div", { className: styles_module_default2.buttonWrapper, children: [
|
|
4968
|
+
/* @__PURE__ */ jsx5(
|
|
4941
4969
|
"button",
|
|
4942
4970
|
{
|
|
4943
|
-
className:
|
|
4971
|
+
className: styles_module_default2.controlButton,
|
|
4944
4972
|
onClick: (e) => {
|
|
4945
4973
|
e.stopPropagation();
|
|
4946
4974
|
hideTooltipsUntilMouseLeave();
|
|
@@ -4948,62 +4976,62 @@ function PageFeedbackToolbarCSS({
|
|
|
4948
4976
|
},
|
|
4949
4977
|
disabled: !hasAnnotations,
|
|
4950
4978
|
"data-danger": true,
|
|
4951
|
-
children: /* @__PURE__ */
|
|
4979
|
+
children: /* @__PURE__ */ jsx5(IconTrashAlt, { size: 24 })
|
|
4952
4980
|
}
|
|
4953
4981
|
),
|
|
4954
|
-
/* @__PURE__ */
|
|
4982
|
+
/* @__PURE__ */ jsxs4("span", { className: styles_module_default2.buttonTooltip, children: [
|
|
4955
4983
|
"Clear all",
|
|
4956
|
-
/* @__PURE__ */
|
|
4984
|
+
/* @__PURE__ */ jsx5("span", { className: styles_module_default2.shortcut, children: "X" })
|
|
4957
4985
|
] })
|
|
4958
4986
|
] }),
|
|
4959
|
-
/* @__PURE__ */
|
|
4960
|
-
/* @__PURE__ */
|
|
4987
|
+
/* @__PURE__ */ jsxs4("div", { className: styles_module_default2.buttonWrapper, children: [
|
|
4988
|
+
/* @__PURE__ */ jsx5(
|
|
4961
4989
|
"button",
|
|
4962
4990
|
{
|
|
4963
|
-
className:
|
|
4991
|
+
className: styles_module_default2.controlButton,
|
|
4964
4992
|
onClick: (e) => {
|
|
4965
4993
|
e.stopPropagation();
|
|
4966
4994
|
hideTooltipsUntilMouseLeave();
|
|
4967
4995
|
setShowSettings(!showSettings);
|
|
4968
4996
|
},
|
|
4969
|
-
children: /* @__PURE__ */
|
|
4997
|
+
children: /* @__PURE__ */ jsx5(IconGear, { size: 24 })
|
|
4970
4998
|
}
|
|
4971
4999
|
),
|
|
4972
|
-
endpoint && connectionStatus !== "disconnected" && /* @__PURE__ */
|
|
5000
|
+
endpoint && connectionStatus !== "disconnected" && /* @__PURE__ */ jsx5(
|
|
4973
5001
|
"span",
|
|
4974
5002
|
{
|
|
4975
|
-
className: `${styles_module_default2.mcpIndicator} ${
|
|
5003
|
+
className: `${styles_module_default2.mcpIndicator} ${styles_module_default2[connectionStatus]} ${showSettings ? styles_module_default2.hidden : ""}`,
|
|
4976
5004
|
title: connectionStatus === "connected" ? "MCP Connected" : "MCP Connecting..."
|
|
4977
5005
|
}
|
|
4978
5006
|
),
|
|
4979
|
-
/* @__PURE__ */
|
|
5007
|
+
/* @__PURE__ */ jsx5("span", { className: styles_module_default2.buttonTooltip, children: "Settings" })
|
|
4980
5008
|
] }),
|
|
4981
|
-
/* @__PURE__ */
|
|
5009
|
+
/* @__PURE__ */ jsx5(
|
|
4982
5010
|
"div",
|
|
4983
5011
|
{
|
|
4984
|
-
className:
|
|
5012
|
+
className: styles_module_default2.divider
|
|
4985
5013
|
}
|
|
4986
5014
|
),
|
|
4987
|
-
/* @__PURE__ */
|
|
5015
|
+
/* @__PURE__ */ jsxs4(
|
|
4988
5016
|
"div",
|
|
4989
5017
|
{
|
|
4990
5018
|
className: `${styles_module_default2.buttonWrapper} ${toolbarPosition && typeof window !== "undefined" && toolbarPosition.x > window.innerWidth - 120 ? styles_module_default2.buttonWrapperAlignRight : ""}`,
|
|
4991
5019
|
children: [
|
|
4992
|
-
/* @__PURE__ */
|
|
5020
|
+
/* @__PURE__ */ jsx5(
|
|
4993
5021
|
"button",
|
|
4994
5022
|
{
|
|
4995
|
-
className:
|
|
5023
|
+
className: styles_module_default2.controlButton,
|
|
4996
5024
|
onClick: (e) => {
|
|
4997
5025
|
e.stopPropagation();
|
|
4998
5026
|
hideTooltipsUntilMouseLeave();
|
|
4999
5027
|
setIsActive(false);
|
|
5000
5028
|
},
|
|
5001
|
-
children: /* @__PURE__ */
|
|
5029
|
+
children: /* @__PURE__ */ jsx5(IconXmarkLarge, { size: 24 })
|
|
5002
5030
|
}
|
|
5003
5031
|
),
|
|
5004
|
-
/* @__PURE__ */
|
|
5032
|
+
/* @__PURE__ */ jsxs4("span", { className: styles_module_default2.buttonTooltip, children: [
|
|
5005
5033
|
"Exit",
|
|
5006
|
-
/* @__PURE__ */
|
|
5034
|
+
/* @__PURE__ */ jsx5("span", { className: styles_module_default2.shortcut, children: "Esc" })
|
|
5007
5035
|
] })
|
|
5008
5036
|
]
|
|
5009
5037
|
}
|
|
@@ -5011,77 +5039,73 @@ function PageFeedbackToolbarCSS({
|
|
|
5011
5039
|
]
|
|
5012
5040
|
}
|
|
5013
5041
|
),
|
|
5014
|
-
/* @__PURE__ */
|
|
5042
|
+
/* @__PURE__ */ jsx5(
|
|
5015
5043
|
"div",
|
|
5016
5044
|
{
|
|
5017
|
-
className: `${styles_module_default2.settingsPanel} ${
|
|
5045
|
+
className: `${styles_module_default2.settingsPanel} ${showSettingsVisible ? styles_module_default2.enter : styles_module_default2.exit}`,
|
|
5018
5046
|
onClick: (e) => e.stopPropagation(),
|
|
5019
5047
|
style: toolbarPosition && toolbarPosition.y < 230 ? {
|
|
5020
5048
|
bottom: "auto",
|
|
5021
5049
|
top: "calc(100% + 0.5rem)"
|
|
5022
5050
|
} : void 0,
|
|
5023
|
-
children: /* @__PURE__ */
|
|
5051
|
+
children: /* @__PURE__ */ jsxs4(
|
|
5024
5052
|
"div",
|
|
5025
5053
|
{
|
|
5026
|
-
className:
|
|
5054
|
+
className: styles_module_default2.settingsPanelContainer,
|
|
5027
5055
|
children: [
|
|
5028
|
-
/* @__PURE__ */
|
|
5056
|
+
/* @__PURE__ */ jsxs4(
|
|
5029
5057
|
"div",
|
|
5030
5058
|
{
|
|
5031
5059
|
className: `${styles_module_default2.settingsPage} ${settingsPage === "automations" ? styles_module_default2.slideLeft : ""}`,
|
|
5032
5060
|
children: [
|
|
5033
|
-
/* @__PURE__ */
|
|
5034
|
-
/* @__PURE__ */
|
|
5035
|
-
/* @__PURE__ */
|
|
5061
|
+
/* @__PURE__ */ jsxs4("div", { className: styles_module_default2.settingsHeader, children: [
|
|
5062
|
+
/* @__PURE__ */ jsxs4("span", { className: styles_module_default2.settingsBrand, children: [
|
|
5063
|
+
/* @__PURE__ */ jsx5(
|
|
5036
5064
|
"span",
|
|
5037
5065
|
{
|
|
5038
5066
|
className: styles_module_default2.settingsBrandSlash,
|
|
5039
|
-
style: {
|
|
5040
|
-
color: settings.annotationColor,
|
|
5041
|
-
transition: "color 0.2s ease"
|
|
5042
|
-
},
|
|
5043
5067
|
children: "/"
|
|
5044
5068
|
}
|
|
5045
5069
|
),
|
|
5046
5070
|
"agentation"
|
|
5047
5071
|
] }),
|
|
5048
|
-
/* @__PURE__ */
|
|
5072
|
+
/* @__PURE__ */ jsxs4("span", { className: styles_module_default2.settingsVersion, children: [
|
|
5049
5073
|
"v",
|
|
5050
|
-
"2.3.
|
|
5074
|
+
"2.3.3"
|
|
5051
5075
|
] }),
|
|
5052
|
-
/* @__PURE__ */
|
|
5076
|
+
/* @__PURE__ */ jsx5(
|
|
5053
5077
|
"button",
|
|
5054
5078
|
{
|
|
5055
5079
|
className: styles_module_default2.themeToggle,
|
|
5056
|
-
onClick:
|
|
5080
|
+
onClick: toggleTheme,
|
|
5057
5081
|
title: isDarkMode ? "Switch to light mode" : "Switch to dark mode",
|
|
5058
|
-
children: /* @__PURE__ */
|
|
5082
|
+
children: /* @__PURE__ */ jsx5("span", { className: styles_module_default2.themeIconWrapper, children: /* @__PURE__ */ jsx5(
|
|
5059
5083
|
"span",
|
|
5060
5084
|
{
|
|
5061
5085
|
className: styles_module_default2.themeIcon,
|
|
5062
|
-
children: isDarkMode ? /* @__PURE__ */
|
|
5086
|
+
children: isDarkMode ? /* @__PURE__ */ jsx5(IconSun, { size: 20 }) : /* @__PURE__ */ jsx5(IconMoon, { size: 20 })
|
|
5063
5087
|
},
|
|
5064
5088
|
isDarkMode ? "sun" : "moon"
|
|
5065
5089
|
) })
|
|
5066
5090
|
}
|
|
5067
5091
|
)
|
|
5068
5092
|
] }),
|
|
5069
|
-
/* @__PURE__ */
|
|
5070
|
-
/* @__PURE__ */
|
|
5071
|
-
/* @__PURE__ */
|
|
5093
|
+
/* @__PURE__ */ jsxs4("div", { className: styles_module_default2.settingsSection, children: [
|
|
5094
|
+
/* @__PURE__ */ jsxs4("div", { className: styles_module_default2.settingsRow, children: [
|
|
5095
|
+
/* @__PURE__ */ jsxs4(
|
|
5072
5096
|
"div",
|
|
5073
5097
|
{
|
|
5074
|
-
className:
|
|
5098
|
+
className: styles_module_default2.settingsLabel,
|
|
5075
5099
|
children: [
|
|
5076
5100
|
"Output Detail",
|
|
5077
|
-
/* @__PURE__ */
|
|
5101
|
+
/* @__PURE__ */ jsx5(HelpTooltip, { content: "Controls how much detail is included in the copied output" })
|
|
5078
5102
|
]
|
|
5079
5103
|
}
|
|
5080
5104
|
),
|
|
5081
|
-
/* @__PURE__ */
|
|
5105
|
+
/* @__PURE__ */ jsxs4(
|
|
5082
5106
|
"button",
|
|
5083
5107
|
{
|
|
5084
|
-
className:
|
|
5108
|
+
className: styles_module_default2.cycleButton,
|
|
5085
5109
|
onClick: () => {
|
|
5086
5110
|
const currentIndex = OUTPUT_DETAIL_OPTIONS.findIndex(
|
|
5087
5111
|
(opt) => opt.value === settings.outputDetail
|
|
@@ -5093,7 +5117,7 @@ function PageFeedbackToolbarCSS({
|
|
|
5093
5117
|
}));
|
|
5094
5118
|
},
|
|
5095
5119
|
children: [
|
|
5096
|
-
/* @__PURE__ */
|
|
5120
|
+
/* @__PURE__ */ jsx5(
|
|
5097
5121
|
"span",
|
|
5098
5122
|
{
|
|
5099
5123
|
className: styles_module_default2.cycleButtonText,
|
|
@@ -5103,10 +5127,10 @@ function PageFeedbackToolbarCSS({
|
|
|
5103
5127
|
},
|
|
5104
5128
|
settings.outputDetail
|
|
5105
5129
|
),
|
|
5106
|
-
/* @__PURE__ */
|
|
5130
|
+
/* @__PURE__ */ jsx5("span", { className: styles_module_default2.cycleDots, children: OUTPUT_DETAIL_OPTIONS.map((option, i) => /* @__PURE__ */ jsx5(
|
|
5107
5131
|
"span",
|
|
5108
5132
|
{
|
|
5109
|
-
className: `${styles_module_default2.cycleDot} ${
|
|
5133
|
+
className: `${styles_module_default2.cycleDot} ${settings.outputDetail === option.value ? styles_module_default2.active : ""}`
|
|
5110
5134
|
},
|
|
5111
5135
|
option.value
|
|
5112
5136
|
)) })
|
|
@@ -5114,33 +5138,32 @@ function PageFeedbackToolbarCSS({
|
|
|
5114
5138
|
}
|
|
5115
5139
|
)
|
|
5116
5140
|
] }),
|
|
5117
|
-
/* @__PURE__ */
|
|
5141
|
+
/* @__PURE__ */ jsxs4(
|
|
5118
5142
|
"div",
|
|
5119
5143
|
{
|
|
5120
5144
|
className: `${styles_module_default2.settingsRow} ${styles_module_default2.settingsRowMarginTop} ${!isDevMode ? styles_module_default2.settingsRowDisabled : ""}`,
|
|
5121
5145
|
children: [
|
|
5122
|
-
/* @__PURE__ */
|
|
5146
|
+
/* @__PURE__ */ jsxs4(
|
|
5123
5147
|
"div",
|
|
5124
5148
|
{
|
|
5125
|
-
className:
|
|
5149
|
+
className: styles_module_default2.settingsLabel,
|
|
5126
5150
|
children: [
|
|
5127
5151
|
"React Components",
|
|
5128
|
-
/* @__PURE__ */
|
|
5129
|
-
|
|
5152
|
+
/* @__PURE__ */ jsx5(
|
|
5153
|
+
HelpTooltip,
|
|
5130
5154
|
{
|
|
5131
|
-
content: !isDevMode ? "Disabled \u2014 production builds minify component names, making detection unreliable. Use in development mode." : "Include React component names in annotations"
|
|
5132
|
-
children: /* @__PURE__ */ jsx3("span", { className: styles_module_default2.helpIcon, children: /* @__PURE__ */ jsx3(IconHelp, { size: 20 }) })
|
|
5155
|
+
content: !isDevMode ? "Disabled \u2014 production builds minify component names, making detection unreliable. Use in development mode." : "Include React component names in annotations"
|
|
5133
5156
|
}
|
|
5134
5157
|
)
|
|
5135
5158
|
]
|
|
5136
5159
|
}
|
|
5137
5160
|
),
|
|
5138
|
-
/* @__PURE__ */
|
|
5161
|
+
/* @__PURE__ */ jsxs4(
|
|
5139
5162
|
"label",
|
|
5140
5163
|
{
|
|
5141
5164
|
className: `${styles_module_default2.toggleSwitch} ${!isDevMode ? styles_module_default2.disabled : ""}`,
|
|
5142
5165
|
children: [
|
|
5143
|
-
/* @__PURE__ */
|
|
5166
|
+
/* @__PURE__ */ jsx5(
|
|
5144
5167
|
"input",
|
|
5145
5168
|
{
|
|
5146
5169
|
type: "checkbox",
|
|
@@ -5152,26 +5175,26 @@ function PageFeedbackToolbarCSS({
|
|
|
5152
5175
|
}))
|
|
5153
5176
|
}
|
|
5154
5177
|
),
|
|
5155
|
-
/* @__PURE__ */
|
|
5178
|
+
/* @__PURE__ */ jsx5("span", { className: styles_module_default2.toggleSlider })
|
|
5156
5179
|
]
|
|
5157
5180
|
}
|
|
5158
5181
|
)
|
|
5159
5182
|
]
|
|
5160
5183
|
}
|
|
5161
5184
|
),
|
|
5162
|
-
/* @__PURE__ */
|
|
5163
|
-
/* @__PURE__ */
|
|
5185
|
+
/* @__PURE__ */ jsxs4("div", { className: `${styles_module_default2.settingsRow} ${styles_module_default2.settingsRowMarginTop}`, children: [
|
|
5186
|
+
/* @__PURE__ */ jsxs4(
|
|
5164
5187
|
"div",
|
|
5165
5188
|
{
|
|
5166
|
-
className:
|
|
5189
|
+
className: styles_module_default2.settingsLabel,
|
|
5167
5190
|
children: [
|
|
5168
5191
|
"Hide Until Restart",
|
|
5169
|
-
/* @__PURE__ */
|
|
5192
|
+
/* @__PURE__ */ jsx5(HelpTooltip, { content: "Hides the toolbar until you open a new tab" })
|
|
5170
5193
|
]
|
|
5171
5194
|
}
|
|
5172
5195
|
),
|
|
5173
|
-
/* @__PURE__ */
|
|
5174
|
-
/* @__PURE__ */
|
|
5196
|
+
/* @__PURE__ */ jsxs4("label", { className: styles_module_default2.toggleSwitch, children: [
|
|
5197
|
+
/* @__PURE__ */ jsx5(
|
|
5175
5198
|
"input",
|
|
5176
5199
|
{
|
|
5177
5200
|
type: "checkbox",
|
|
@@ -5183,45 +5206,42 @@ function PageFeedbackToolbarCSS({
|
|
|
5183
5206
|
}
|
|
5184
5207
|
}
|
|
5185
5208
|
),
|
|
5186
|
-
/* @__PURE__ */
|
|
5209
|
+
/* @__PURE__ */ jsx5("span", { className: styles_module_default2.toggleSlider })
|
|
5187
5210
|
] })
|
|
5188
5211
|
] })
|
|
5189
5212
|
] }),
|
|
5190
|
-
/* @__PURE__ */
|
|
5191
|
-
/* @__PURE__ */
|
|
5213
|
+
/* @__PURE__ */ jsxs4("div", { className: styles_module_default2.settingsSection, children: [
|
|
5214
|
+
/* @__PURE__ */ jsx5(
|
|
5192
5215
|
"div",
|
|
5193
5216
|
{
|
|
5194
|
-
className: `${styles_module_default2.settingsLabel} ${styles_module_default2.settingsLabelMarker}
|
|
5195
|
-
children: "Marker
|
|
5217
|
+
className: `${styles_module_default2.settingsLabel} ${styles_module_default2.settingsLabelMarker}`,
|
|
5218
|
+
children: "Marker Color"
|
|
5196
5219
|
}
|
|
5197
5220
|
),
|
|
5198
|
-
/* @__PURE__ */
|
|
5221
|
+
/* @__PURE__ */ jsx5("div", { className: styles_module_default2.colorOptions, children: COLOR_OPTIONS.map((color) => /* @__PURE__ */ jsx5(
|
|
5199
5222
|
"div",
|
|
5200
5223
|
{
|
|
5201
5224
|
role: "button",
|
|
5202
|
-
onClick: () => setSettings((s) => ({
|
|
5203
|
-
...s,
|
|
5204
|
-
annotationColor: color.value
|
|
5205
|
-
})),
|
|
5225
|
+
onClick: () => setSettings((s) => ({ ...s, annotationColorId: color.id })),
|
|
5206
5226
|
style: {
|
|
5207
|
-
|
|
5227
|
+
"--swatch": color.srgb,
|
|
5228
|
+
"--swatch-p3": color.p3
|
|
5208
5229
|
},
|
|
5209
|
-
className: `${styles_module_default2.colorOptionRing} ${settings.
|
|
5210
|
-
children: /* @__PURE__ */
|
|
5230
|
+
className: `${styles_module_default2.colorOptionRing} ${settings.annotationColorId === color.id ? styles_module_default2.selected : ""}`,
|
|
5231
|
+
children: /* @__PURE__ */ jsx5(
|
|
5211
5232
|
"div",
|
|
5212
5233
|
{
|
|
5213
|
-
className: `${styles_module_default2.colorOption} ${settings.
|
|
5214
|
-
style: { backgroundColor: color.value },
|
|
5234
|
+
className: `${styles_module_default2.colorOption} ${settings.annotationColorId === color.id ? styles_module_default2.selected : ""}`,
|
|
5215
5235
|
title: color.label
|
|
5216
5236
|
}
|
|
5217
5237
|
)
|
|
5218
5238
|
},
|
|
5219
|
-
color.
|
|
5239
|
+
color.id
|
|
5220
5240
|
)) })
|
|
5221
5241
|
] }),
|
|
5222
|
-
/* @__PURE__ */
|
|
5223
|
-
/* @__PURE__ */
|
|
5224
|
-
/* @__PURE__ */
|
|
5242
|
+
/* @__PURE__ */ jsxs4("div", { className: styles_module_default2.settingsSection, children: [
|
|
5243
|
+
/* @__PURE__ */ jsxs4("label", { className: styles_module_default2.settingsToggle, children: [
|
|
5244
|
+
/* @__PURE__ */ jsx5(
|
|
5225
5245
|
"input",
|
|
5226
5246
|
{
|
|
5227
5247
|
type: "checkbox",
|
|
@@ -5233,37 +5253,31 @@ function PageFeedbackToolbarCSS({
|
|
|
5233
5253
|
}))
|
|
5234
5254
|
}
|
|
5235
5255
|
),
|
|
5236
|
-
/* @__PURE__ */
|
|
5256
|
+
/* @__PURE__ */ jsx5(
|
|
5237
5257
|
"label",
|
|
5238
5258
|
{
|
|
5239
5259
|
className: `${styles_module_default2.customCheckbox} ${settings.autoClearAfterCopy ? styles_module_default2.checked : ""}`,
|
|
5240
5260
|
htmlFor: "autoClearAfterCopy",
|
|
5241
|
-
children: settings.autoClearAfterCopy && /* @__PURE__ */
|
|
5261
|
+
children: settings.autoClearAfterCopy && /* @__PURE__ */ jsx5(IconCheckSmallAnimated, { size: 14 })
|
|
5242
5262
|
}
|
|
5243
5263
|
),
|
|
5244
|
-
/* @__PURE__ */
|
|
5264
|
+
/* @__PURE__ */ jsxs4(
|
|
5245
5265
|
"span",
|
|
5246
5266
|
{
|
|
5247
|
-
className:
|
|
5267
|
+
className: styles_module_default2.toggleLabel,
|
|
5248
5268
|
children: [
|
|
5249
5269
|
"Clear on copy/send",
|
|
5250
|
-
/* @__PURE__ */
|
|
5251
|
-
"span",
|
|
5252
|
-
{
|
|
5253
|
-
className: `${styles_module_default2.helpIcon} ${styles_module_default2.helpIconNudge2}`,
|
|
5254
|
-
children: /* @__PURE__ */ jsx3(IconHelp, { size: 20 })
|
|
5255
|
-
}
|
|
5256
|
-
) })
|
|
5270
|
+
/* @__PURE__ */ jsx5(HelpTooltip, { content: "Automatically clear annotations after copying" })
|
|
5257
5271
|
]
|
|
5258
5272
|
}
|
|
5259
5273
|
)
|
|
5260
5274
|
] }),
|
|
5261
|
-
/* @__PURE__ */
|
|
5275
|
+
/* @__PURE__ */ jsxs4(
|
|
5262
5276
|
"label",
|
|
5263
5277
|
{
|
|
5264
5278
|
className: `${styles_module_default2.settingsToggle} ${styles_module_default2.settingsToggleMarginBottom}`,
|
|
5265
5279
|
children: [
|
|
5266
|
-
/* @__PURE__ */
|
|
5280
|
+
/* @__PURE__ */ jsx5(
|
|
5267
5281
|
"input",
|
|
5268
5282
|
{
|
|
5269
5283
|
type: "checkbox",
|
|
@@ -5275,18 +5289,18 @@ function PageFeedbackToolbarCSS({
|
|
|
5275
5289
|
}))
|
|
5276
5290
|
}
|
|
5277
5291
|
),
|
|
5278
|
-
/* @__PURE__ */
|
|
5292
|
+
/* @__PURE__ */ jsx5(
|
|
5279
5293
|
"label",
|
|
5280
5294
|
{
|
|
5281
5295
|
className: `${styles_module_default2.customCheckbox} ${settings.blockInteractions ? styles_module_default2.checked : ""}`,
|
|
5282
5296
|
htmlFor: "blockInteractions",
|
|
5283
|
-
children: settings.blockInteractions && /* @__PURE__ */
|
|
5297
|
+
children: settings.blockInteractions && /* @__PURE__ */ jsx5(IconCheckSmallAnimated, { size: 14 })
|
|
5284
5298
|
}
|
|
5285
5299
|
),
|
|
5286
|
-
/* @__PURE__ */
|
|
5300
|
+
/* @__PURE__ */ jsx5(
|
|
5287
5301
|
"span",
|
|
5288
5302
|
{
|
|
5289
|
-
className:
|
|
5303
|
+
className: styles_module_default2.toggleLabel,
|
|
5290
5304
|
children: "Block page interactions"
|
|
5291
5305
|
}
|
|
5292
5306
|
)
|
|
@@ -5294,25 +5308,25 @@ function PageFeedbackToolbarCSS({
|
|
|
5294
5308
|
}
|
|
5295
5309
|
)
|
|
5296
5310
|
] }),
|
|
5297
|
-
/* @__PURE__ */
|
|
5311
|
+
/* @__PURE__ */ jsx5(
|
|
5298
5312
|
"div",
|
|
5299
5313
|
{
|
|
5300
5314
|
className: `${styles_module_default2.settingsSection} ${styles_module_default2.settingsSectionExtraPadding}`,
|
|
5301
|
-
children: /* @__PURE__ */
|
|
5315
|
+
children: /* @__PURE__ */ jsxs4(
|
|
5302
5316
|
"button",
|
|
5303
5317
|
{
|
|
5304
|
-
className:
|
|
5318
|
+
className: styles_module_default2.settingsNavLink,
|
|
5305
5319
|
onClick: () => setSettingsPage("automations"),
|
|
5306
5320
|
children: [
|
|
5307
|
-
/* @__PURE__ */
|
|
5308
|
-
/* @__PURE__ */
|
|
5309
|
-
endpoint && connectionStatus !== "disconnected" && /* @__PURE__ */
|
|
5321
|
+
/* @__PURE__ */ jsx5("span", { children: "Manage MCP & Webhooks" }),
|
|
5322
|
+
/* @__PURE__ */ jsxs4("span", { className: styles_module_default2.settingsNavLinkRight, children: [
|
|
5323
|
+
endpoint && connectionStatus !== "disconnected" && /* @__PURE__ */ jsx5(
|
|
5310
5324
|
"span",
|
|
5311
5325
|
{
|
|
5312
5326
|
className: `${styles_module_default2.mcpNavIndicator} ${styles_module_default2[connectionStatus]}`
|
|
5313
5327
|
}
|
|
5314
5328
|
),
|
|
5315
|
-
/* @__PURE__ */
|
|
5329
|
+
/* @__PURE__ */ jsx5("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ jsx5("path", { d: "M7.5 12.5L12 8L7.5 3.5", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }) })
|
|
5316
5330
|
] })
|
|
5317
5331
|
]
|
|
5318
5332
|
}
|
|
@@ -5322,41 +5336,35 @@ function PageFeedbackToolbarCSS({
|
|
|
5322
5336
|
]
|
|
5323
5337
|
}
|
|
5324
5338
|
),
|
|
5325
|
-
/* @__PURE__ */
|
|
5339
|
+
/* @__PURE__ */ jsxs4(
|
|
5326
5340
|
"div",
|
|
5327
5341
|
{
|
|
5328
5342
|
className: `${styles_module_default2.settingsPage} ${styles_module_default2.automationsPage} ${settingsPage === "automations" ? styles_module_default2.slideIn : ""}`,
|
|
5329
5343
|
children: [
|
|
5330
|
-
/* @__PURE__ */
|
|
5344
|
+
/* @__PURE__ */ jsxs4(
|
|
5331
5345
|
"button",
|
|
5332
5346
|
{
|
|
5333
|
-
className:
|
|
5347
|
+
className: styles_module_default2.settingsBackButton,
|
|
5334
5348
|
onClick: () => setSettingsPage("main"),
|
|
5335
5349
|
children: [
|
|
5336
|
-
/* @__PURE__ */
|
|
5337
|
-
/* @__PURE__ */
|
|
5350
|
+
/* @__PURE__ */ jsx5(IconChevronLeft, { size: 16 }),
|
|
5351
|
+
/* @__PURE__ */ jsx5("span", { children: "Manage MCP & Webhooks" })
|
|
5338
5352
|
]
|
|
5339
5353
|
}
|
|
5340
5354
|
),
|
|
5341
|
-
/* @__PURE__ */
|
|
5342
|
-
/* @__PURE__ */
|
|
5343
|
-
/* @__PURE__ */
|
|
5355
|
+
/* @__PURE__ */ jsxs4("div", { className: styles_module_default2.settingsSection, children: [
|
|
5356
|
+
/* @__PURE__ */ jsxs4("div", { className: styles_module_default2.settingsRow, children: [
|
|
5357
|
+
/* @__PURE__ */ jsxs4(
|
|
5344
5358
|
"span",
|
|
5345
5359
|
{
|
|
5346
|
-
className:
|
|
5360
|
+
className: styles_module_default2.automationHeader,
|
|
5347
5361
|
children: [
|
|
5348
5362
|
"MCP Connection",
|
|
5349
|
-
/* @__PURE__ */
|
|
5350
|
-
"span",
|
|
5351
|
-
{
|
|
5352
|
-
className: `${styles_module_default2.helpIcon} ${styles_module_default2.helpIconNudgeDown}`,
|
|
5353
|
-
children: /* @__PURE__ */ jsx3(IconHelp, { size: 20 })
|
|
5354
|
-
}
|
|
5355
|
-
) })
|
|
5363
|
+
/* @__PURE__ */ jsx5(HelpTooltip, { content: "Connect via Model Context Protocol to let AI agents like Claude Code receive annotations in real-time." })
|
|
5356
5364
|
]
|
|
5357
5365
|
}
|
|
5358
5366
|
),
|
|
5359
|
-
endpoint && /* @__PURE__ */
|
|
5367
|
+
endpoint && /* @__PURE__ */ jsx5(
|
|
5360
5368
|
"div",
|
|
5361
5369
|
{
|
|
5362
5370
|
className: `${styles_module_default2.mcpStatusDot} ${styles_module_default2[connectionStatus]}`,
|
|
@@ -5364,21 +5372,21 @@ function PageFeedbackToolbarCSS({
|
|
|
5364
5372
|
}
|
|
5365
5373
|
)
|
|
5366
5374
|
] }),
|
|
5367
|
-
/* @__PURE__ */
|
|
5375
|
+
/* @__PURE__ */ jsxs4(
|
|
5368
5376
|
"p",
|
|
5369
5377
|
{
|
|
5370
|
-
className:
|
|
5378
|
+
className: styles_module_default2.automationDescription,
|
|
5371
5379
|
style: { paddingBottom: 6 },
|
|
5372
5380
|
children: [
|
|
5373
5381
|
"MCP connection allows agents to receive and act on annotations.",
|
|
5374
5382
|
" ",
|
|
5375
|
-
/* @__PURE__ */
|
|
5383
|
+
/* @__PURE__ */ jsx5(
|
|
5376
5384
|
"a",
|
|
5377
5385
|
{
|
|
5378
5386
|
href: "https://agentation.dev/mcp",
|
|
5379
5387
|
target: "_blank",
|
|
5380
5388
|
rel: "noopener noreferrer",
|
|
5381
|
-
className:
|
|
5389
|
+
className: styles_module_default2.learnMoreLink,
|
|
5382
5390
|
children: "Learn more"
|
|
5383
5391
|
}
|
|
5384
5392
|
)
|
|
@@ -5386,42 +5394,36 @@ function PageFeedbackToolbarCSS({
|
|
|
5386
5394
|
}
|
|
5387
5395
|
)
|
|
5388
5396
|
] }),
|
|
5389
|
-
/* @__PURE__ */
|
|
5397
|
+
/* @__PURE__ */ jsxs4(
|
|
5390
5398
|
"div",
|
|
5391
5399
|
{
|
|
5392
5400
|
className: `${styles_module_default2.settingsSection} ${styles_module_default2.settingsSectionGrow}`,
|
|
5393
5401
|
children: [
|
|
5394
|
-
/* @__PURE__ */
|
|
5395
|
-
/* @__PURE__ */
|
|
5402
|
+
/* @__PURE__ */ jsxs4("div", { className: styles_module_default2.settingsRow, children: [
|
|
5403
|
+
/* @__PURE__ */ jsxs4(
|
|
5396
5404
|
"span",
|
|
5397
5405
|
{
|
|
5398
|
-
className:
|
|
5406
|
+
className: styles_module_default2.automationHeader,
|
|
5399
5407
|
children: [
|
|
5400
5408
|
"Webhooks",
|
|
5401
|
-
/* @__PURE__ */
|
|
5402
|
-
"span",
|
|
5403
|
-
{
|
|
5404
|
-
className: `${styles_module_default2.helpIcon} ${styles_module_default2.helpIconNoNudge}`,
|
|
5405
|
-
children: /* @__PURE__ */ jsx3(IconHelp, { size: 20 })
|
|
5406
|
-
}
|
|
5407
|
-
) })
|
|
5409
|
+
/* @__PURE__ */ jsx5(HelpTooltip, { content: "Send annotation data to any URL endpoint when annotations change. Useful for custom integrations." })
|
|
5408
5410
|
]
|
|
5409
5411
|
}
|
|
5410
5412
|
),
|
|
5411
|
-
/* @__PURE__ */
|
|
5412
|
-
/* @__PURE__ */
|
|
5413
|
+
/* @__PURE__ */ jsxs4("div", { className: styles_module_default2.autoSendRow, children: [
|
|
5414
|
+
/* @__PURE__ */ jsx5(
|
|
5413
5415
|
"span",
|
|
5414
5416
|
{
|
|
5415
|
-
className: `${styles_module_default2.autoSendLabel} ${
|
|
5417
|
+
className: `${styles_module_default2.autoSendLabel} ${settings.webhooksEnabled ? styles_module_default2.active : ""}`,
|
|
5416
5418
|
children: "Auto-Send"
|
|
5417
5419
|
}
|
|
5418
5420
|
),
|
|
5419
|
-
/* @__PURE__ */
|
|
5421
|
+
/* @__PURE__ */ jsxs4(
|
|
5420
5422
|
"label",
|
|
5421
5423
|
{
|
|
5422
5424
|
className: `${styles_module_default2.toggleSwitch} ${!settings.webhookUrl ? styles_module_default2.disabled : ""}`,
|
|
5423
5425
|
children: [
|
|
5424
|
-
/* @__PURE__ */
|
|
5426
|
+
/* @__PURE__ */ jsx5(
|
|
5425
5427
|
"input",
|
|
5426
5428
|
{
|
|
5427
5429
|
type: "checkbox",
|
|
@@ -5433,28 +5435,25 @@ function PageFeedbackToolbarCSS({
|
|
|
5433
5435
|
}))
|
|
5434
5436
|
}
|
|
5435
5437
|
),
|
|
5436
|
-
/* @__PURE__ */
|
|
5438
|
+
/* @__PURE__ */ jsx5("span", { className: styles_module_default2.toggleSlider })
|
|
5437
5439
|
]
|
|
5438
5440
|
}
|
|
5439
5441
|
)
|
|
5440
5442
|
] })
|
|
5441
5443
|
] }),
|
|
5442
|
-
/* @__PURE__ */
|
|
5444
|
+
/* @__PURE__ */ jsx5(
|
|
5443
5445
|
"p",
|
|
5444
5446
|
{
|
|
5445
|
-
className:
|
|
5447
|
+
className: styles_module_default2.automationDescription,
|
|
5446
5448
|
children: "The webhook URL will receive live annotation changes and annotation data."
|
|
5447
5449
|
}
|
|
5448
5450
|
),
|
|
5449
|
-
/* @__PURE__ */
|
|
5451
|
+
/* @__PURE__ */ jsx5(
|
|
5450
5452
|
"textarea",
|
|
5451
5453
|
{
|
|
5452
|
-
className:
|
|
5454
|
+
className: styles_module_default2.webhookUrlInput,
|
|
5453
5455
|
placeholder: "Webhook URL",
|
|
5454
5456
|
value: settings.webhookUrl,
|
|
5455
|
-
style: {
|
|
5456
|
-
"--marker-color": settings.annotationColor
|
|
5457
|
-
},
|
|
5458
5457
|
onKeyDown: (e) => e.stopPropagation(),
|
|
5459
5458
|
onChange: (e) => setSettings((s) => ({
|
|
5460
5459
|
...s,
|
|
@@ -5478,20 +5477,20 @@ function PageFeedbackToolbarCSS({
|
|
|
5478
5477
|
)
|
|
5479
5478
|
}
|
|
5480
5479
|
),
|
|
5481
|
-
/* @__PURE__ */
|
|
5480
|
+
/* @__PURE__ */ jsxs4("div", { className: styles_module_default2.markersLayer, "data-feedback-toolbar": true, children: [
|
|
5482
5481
|
markersVisible && visibleAnnotations.filter((a) => !a.isFixed).map((annotation, index) => {
|
|
5483
5482
|
const isHovered = !markersExiting && hoveredMarkerId === annotation.id;
|
|
5484
5483
|
const isDeleting = deletingMarkerId === annotation.id;
|
|
5485
5484
|
const showDeleteState = (isHovered || isDeleting) && !editingAnnotation;
|
|
5486
5485
|
const isMulti = annotation.isMultiSelect;
|
|
5487
|
-
const markerColor = isMulti ? "
|
|
5486
|
+
const markerColor = isMulti ? "var(--agentation-color-green)" : "var(--agentation-color-accent)";
|
|
5488
5487
|
const globalIndex = annotations.findIndex(
|
|
5489
5488
|
(a) => a.id === annotation.id
|
|
5490
5489
|
);
|
|
5491
5490
|
const needsEnterAnimation = !animatedMarkers.has(annotation.id);
|
|
5492
5491
|
const animClass = markersExiting ? styles_module_default2.exit : isClearing ? styles_module_default2.clearing : needsEnterAnimation ? styles_module_default2.enter : "";
|
|
5493
5492
|
const showDeleteHover = showDeleteState && settings.markerClickBehavior === "delete";
|
|
5494
|
-
return /* @__PURE__ */
|
|
5493
|
+
return /* @__PURE__ */ jsxs4(
|
|
5495
5494
|
"div",
|
|
5496
5495
|
{
|
|
5497
5496
|
className: `${styles_module_default2.marker} ${isMulti ? styles_module_default2.multiSelect : ""} ${animClass} ${showDeleteHover ? styles_module_default2.hovered : ""}`,
|
|
@@ -5522,24 +5521,24 @@ function PageFeedbackToolbarCSS({
|
|
|
5522
5521
|
}
|
|
5523
5522
|
},
|
|
5524
5523
|
children: [
|
|
5525
|
-
showDeleteState ? showDeleteHover ? /* @__PURE__ */
|
|
5524
|
+
showDeleteState ? showDeleteHover ? /* @__PURE__ */ jsx5(IconXmark, { size: isMulti ? 18 : 16 }) : /* @__PURE__ */ jsx5(IconEdit, { size: 16 }) : /* @__PURE__ */ jsx5(
|
|
5526
5525
|
"span",
|
|
5527
5526
|
{
|
|
5528
5527
|
className: renumberFrom !== null && globalIndex >= renumberFrom ? styles_module_default2.renumber : void 0,
|
|
5529
5528
|
children: globalIndex + 1
|
|
5530
5529
|
}
|
|
5531
5530
|
),
|
|
5532
|
-
isHovered && !editingAnnotation && /* @__PURE__ */
|
|
5531
|
+
isHovered && !editingAnnotation && /* @__PURE__ */ jsxs4(
|
|
5533
5532
|
"div",
|
|
5534
5533
|
{
|
|
5535
|
-
className: `${styles_module_default2.markerTooltip} ${
|
|
5534
|
+
className: `${styles_module_default2.markerTooltip} ${styles_module_default2.enter}`,
|
|
5536
5535
|
style: getTooltipPosition(annotation),
|
|
5537
5536
|
children: [
|
|
5538
|
-
/* @__PURE__ */
|
|
5537
|
+
/* @__PURE__ */ jsxs4("span", { className: styles_module_default2.markerQuote, children: [
|
|
5539
5538
|
annotation.element,
|
|
5540
5539
|
annotation.selectedText && ` "${annotation.selectedText.slice(0, 30)}${annotation.selectedText.length > 30 ? "..." : ""}"`
|
|
5541
5540
|
] }),
|
|
5542
|
-
/* @__PURE__ */
|
|
5541
|
+
/* @__PURE__ */ jsx5("span", { className: styles_module_default2.markerNote, children: annotation.comment })
|
|
5543
5542
|
]
|
|
5544
5543
|
}
|
|
5545
5544
|
)
|
|
@@ -5550,7 +5549,7 @@ function PageFeedbackToolbarCSS({
|
|
|
5550
5549
|
}),
|
|
5551
5550
|
markersVisible && !markersExiting && exitingAnnotationsList.filter((a) => !a.isFixed).map((annotation) => {
|
|
5552
5551
|
const isMulti = annotation.isMultiSelect;
|
|
5553
|
-
return /* @__PURE__ */
|
|
5552
|
+
return /* @__PURE__ */ jsx5(
|
|
5554
5553
|
"div",
|
|
5555
5554
|
{
|
|
5556
5555
|
className: `${styles_module_default2.marker} ${styles_module_default2.hovered} ${isMulti ? styles_module_default2.multiSelect : ""} ${styles_module_default2.exit}`,
|
|
@@ -5559,13 +5558,13 @@ function PageFeedbackToolbarCSS({
|
|
|
5559
5558
|
left: `${annotation.x}%`,
|
|
5560
5559
|
top: annotation.y
|
|
5561
5560
|
},
|
|
5562
|
-
children: /* @__PURE__ */
|
|
5561
|
+
children: /* @__PURE__ */ jsx5(IconXmark, { size: isMulti ? 12 : 10 })
|
|
5563
5562
|
},
|
|
5564
5563
|
annotation.id
|
|
5565
5564
|
);
|
|
5566
5565
|
})
|
|
5567
5566
|
] }),
|
|
5568
|
-
/* @__PURE__ */
|
|
5567
|
+
/* @__PURE__ */ jsxs4("div", { className: styles_module_default2.fixedMarkersLayer, "data-feedback-toolbar": true, children: [
|
|
5569
5568
|
markersVisible && visibleAnnotations.filter((a) => a.isFixed).map((annotation, index) => {
|
|
5570
5569
|
const fixedAnnotations = visibleAnnotations.filter(
|
|
5571
5570
|
(a) => a.isFixed
|
|
@@ -5574,14 +5573,14 @@ function PageFeedbackToolbarCSS({
|
|
|
5574
5573
|
const isDeleting = deletingMarkerId === annotation.id;
|
|
5575
5574
|
const showDeleteState = (isHovered || isDeleting) && !editingAnnotation;
|
|
5576
5575
|
const isMulti = annotation.isMultiSelect;
|
|
5577
|
-
const markerColor = isMulti ? "
|
|
5576
|
+
const markerColor = isMulti ? "var(--agentation-color-green)" : "var(--agentation-color-accent)";
|
|
5578
5577
|
const globalIndex = annotations.findIndex(
|
|
5579
5578
|
(a) => a.id === annotation.id
|
|
5580
5579
|
);
|
|
5581
5580
|
const needsEnterAnimation = !animatedMarkers.has(annotation.id);
|
|
5582
5581
|
const animClass = markersExiting ? styles_module_default2.exit : isClearing ? styles_module_default2.clearing : needsEnterAnimation ? styles_module_default2.enter : "";
|
|
5583
5582
|
const showDeleteHover = showDeleteState && settings.markerClickBehavior === "delete";
|
|
5584
|
-
return /* @__PURE__ */
|
|
5583
|
+
return /* @__PURE__ */ jsxs4(
|
|
5585
5584
|
"div",
|
|
5586
5585
|
{
|
|
5587
5586
|
className: `${styles_module_default2.marker} ${styles_module_default2.fixed} ${isMulti ? styles_module_default2.multiSelect : ""} ${animClass} ${showDeleteHover ? styles_module_default2.hovered : ""}`,
|
|
@@ -5612,24 +5611,24 @@ function PageFeedbackToolbarCSS({
|
|
|
5612
5611
|
}
|
|
5613
5612
|
},
|
|
5614
5613
|
children: [
|
|
5615
|
-
showDeleteState ? showDeleteHover ? /* @__PURE__ */
|
|
5614
|
+
showDeleteState ? showDeleteHover ? /* @__PURE__ */ jsx5(IconXmark, { size: isMulti ? 18 : 16 }) : /* @__PURE__ */ jsx5(IconEdit, { size: 16 }) : /* @__PURE__ */ jsx5(
|
|
5616
5615
|
"span",
|
|
5617
5616
|
{
|
|
5618
5617
|
className: renumberFrom !== null && globalIndex >= renumberFrom ? styles_module_default2.renumber : void 0,
|
|
5619
5618
|
children: globalIndex + 1
|
|
5620
5619
|
}
|
|
5621
5620
|
),
|
|
5622
|
-
isHovered && !editingAnnotation && /* @__PURE__ */
|
|
5621
|
+
isHovered && !editingAnnotation && /* @__PURE__ */ jsxs4(
|
|
5623
5622
|
"div",
|
|
5624
5623
|
{
|
|
5625
|
-
className: `${styles_module_default2.markerTooltip} ${
|
|
5624
|
+
className: `${styles_module_default2.markerTooltip} ${styles_module_default2.enter}`,
|
|
5626
5625
|
style: getTooltipPosition(annotation),
|
|
5627
5626
|
children: [
|
|
5628
|
-
/* @__PURE__ */
|
|
5627
|
+
/* @__PURE__ */ jsxs4("span", { className: styles_module_default2.markerQuote, children: [
|
|
5629
5628
|
annotation.element,
|
|
5630
5629
|
annotation.selectedText && ` "${annotation.selectedText.slice(0, 30)}${annotation.selectedText.length > 30 ? "..." : ""}"`
|
|
5631
5630
|
] }),
|
|
5632
|
-
/* @__PURE__ */
|
|
5631
|
+
/* @__PURE__ */ jsx5("span", { className: styles_module_default2.markerNote, children: annotation.comment })
|
|
5633
5632
|
]
|
|
5634
5633
|
}
|
|
5635
5634
|
)
|
|
@@ -5640,7 +5639,7 @@ function PageFeedbackToolbarCSS({
|
|
|
5640
5639
|
}),
|
|
5641
5640
|
markersVisible && !markersExiting && exitingAnnotationsList.filter((a) => a.isFixed).map((annotation) => {
|
|
5642
5641
|
const isMulti = annotation.isMultiSelect;
|
|
5643
|
-
return /* @__PURE__ */
|
|
5642
|
+
return /* @__PURE__ */ jsx5(
|
|
5644
5643
|
"div",
|
|
5645
5644
|
{
|
|
5646
5645
|
className: `${styles_module_default2.marker} ${styles_module_default2.fixed} ${styles_module_default2.hovered} ${isMulti ? styles_module_default2.multiSelect : ""} ${styles_module_default2.exit}`,
|
|
@@ -5649,20 +5648,20 @@ function PageFeedbackToolbarCSS({
|
|
|
5649
5648
|
left: `${annotation.x}%`,
|
|
5650
5649
|
top: annotation.y
|
|
5651
5650
|
},
|
|
5652
|
-
children: /* @__PURE__ */
|
|
5651
|
+
children: /* @__PURE__ */ jsx5(IconClose, { size: isMulti ? 12 : 10 })
|
|
5653
5652
|
},
|
|
5654
5653
|
annotation.id
|
|
5655
5654
|
);
|
|
5656
5655
|
})
|
|
5657
5656
|
] }),
|
|
5658
|
-
isActive && /* @__PURE__ */
|
|
5657
|
+
isActive && /* @__PURE__ */ jsxs4(
|
|
5659
5658
|
"div",
|
|
5660
5659
|
{
|
|
5661
5660
|
className: styles_module_default2.overlay,
|
|
5662
5661
|
"data-feedback-toolbar": true,
|
|
5663
5662
|
style: pendingAnnotation || editingAnnotation ? { zIndex: 99999 } : void 0,
|
|
5664
5663
|
children: [
|
|
5665
|
-
hoverInfo?.rect && !pendingAnnotation && !isScrolling && !isDragging && /* @__PURE__ */
|
|
5664
|
+
hoverInfo?.rect && !pendingAnnotation && !isScrolling && !isDragging && /* @__PURE__ */ jsx5(
|
|
5666
5665
|
"div",
|
|
5667
5666
|
{
|
|
5668
5667
|
className: `${styles_module_default2.hoverHighlight} ${styles_module_default2.enter}`,
|
|
@@ -5671,15 +5670,15 @@ function PageFeedbackToolbarCSS({
|
|
|
5671
5670
|
top: hoverInfo.rect.top,
|
|
5672
5671
|
width: hoverInfo.rect.width,
|
|
5673
5672
|
height: hoverInfo.rect.height,
|
|
5674
|
-
borderColor:
|
|
5675
|
-
backgroundColor:
|
|
5673
|
+
borderColor: "color-mix(in srgb, var(--agentation-color-accent) 50%, transparent)",
|
|
5674
|
+
backgroundColor: "color-mix(in srgb, var(--agentation-color-accent) 4%, transparent)"
|
|
5676
5675
|
}
|
|
5677
5676
|
}
|
|
5678
5677
|
),
|
|
5679
5678
|
pendingMultiSelectElements.filter((item) => document.contains(item.element)).map((item, index) => {
|
|
5680
5679
|
const rect = item.element.getBoundingClientRect();
|
|
5681
5680
|
const isMulti = pendingMultiSelectElements.length > 1;
|
|
5682
|
-
return /* @__PURE__ */
|
|
5681
|
+
return /* @__PURE__ */ jsx5(
|
|
5683
5682
|
"div",
|
|
5684
5683
|
{
|
|
5685
5684
|
className: isMulti ? styles_module_default2.multiSelectOutline : styles_module_default2.singleSelectOutline,
|
|
@@ -5690,8 +5689,8 @@ function PageFeedbackToolbarCSS({
|
|
|
5690
5689
|
width: rect.width,
|
|
5691
5690
|
height: rect.height,
|
|
5692
5691
|
...isMulti ? {} : {
|
|
5693
|
-
borderColor:
|
|
5694
|
-
backgroundColor:
|
|
5692
|
+
borderColor: "color-mix(in srgb, var(--agentation-color-accent) 60%, transparent)",
|
|
5693
|
+
backgroundColor: "color-mix(in srgb, var(--agentation-color-accent) 5%, transparent)"
|
|
5695
5694
|
}
|
|
5696
5695
|
}
|
|
5697
5696
|
},
|
|
@@ -5707,7 +5706,7 @@ function PageFeedbackToolbarCSS({
|
|
|
5707
5706
|
if (hoveredTargetElements.length > 0) {
|
|
5708
5707
|
return hoveredTargetElements.filter((el) => document.contains(el)).map((el, index) => {
|
|
5709
5708
|
const rect2 = el.getBoundingClientRect();
|
|
5710
|
-
return /* @__PURE__ */
|
|
5709
|
+
return /* @__PURE__ */ jsx5(
|
|
5711
5710
|
"div",
|
|
5712
5711
|
{
|
|
5713
5712
|
className: `${styles_module_default2.multiSelectOutline} ${styles_module_default2.enter}`,
|
|
@@ -5723,7 +5722,7 @@ function PageFeedbackToolbarCSS({
|
|
|
5723
5722
|
});
|
|
5724
5723
|
}
|
|
5725
5724
|
return hoveredAnnotation.elementBoundingBoxes.map(
|
|
5726
|
-
(bb2, index) => /* @__PURE__ */
|
|
5725
|
+
(bb2, index) => /* @__PURE__ */ jsx5(
|
|
5727
5726
|
"div",
|
|
5728
5727
|
{
|
|
5729
5728
|
className: `${styles_module_default2.multiSelectOutline} ${styles_module_default2.enter}`,
|
|
@@ -5746,7 +5745,7 @@ function PageFeedbackToolbarCSS({
|
|
|
5746
5745
|
height: hoveredAnnotation.boundingBox.height
|
|
5747
5746
|
};
|
|
5748
5747
|
const isMulti = hoveredAnnotation.isMultiSelect;
|
|
5749
|
-
return /* @__PURE__ */
|
|
5748
|
+
return /* @__PURE__ */ jsx5(
|
|
5750
5749
|
"div",
|
|
5751
5750
|
{
|
|
5752
5751
|
className: `${isMulti ? styles_module_default2.multiSelectOutline : styles_module_default2.singleSelectOutline} ${styles_module_default2.enter}`,
|
|
@@ -5756,14 +5755,14 @@ function PageFeedbackToolbarCSS({
|
|
|
5756
5755
|
width: bb.width,
|
|
5757
5756
|
height: bb.height,
|
|
5758
5757
|
...isMulti ? {} : {
|
|
5759
|
-
borderColor:
|
|
5760
|
-
backgroundColor:
|
|
5758
|
+
borderColor: "color-mix(in srgb, var(--agentation-color-accent) 60%, transparent)",
|
|
5759
|
+
backgroundColor: "color-mix(in srgb, var(--agentation-color-accent) 5%, transparent)"
|
|
5761
5760
|
}
|
|
5762
5761
|
}
|
|
5763
5762
|
}
|
|
5764
5763
|
);
|
|
5765
5764
|
})(),
|
|
5766
|
-
hoverInfo && !pendingAnnotation && !isScrolling && !isDragging && /* @__PURE__ */
|
|
5765
|
+
hoverInfo && !pendingAnnotation && !isScrolling && !isDragging && /* @__PURE__ */ jsxs4(
|
|
5767
5766
|
"div",
|
|
5768
5767
|
{
|
|
5769
5768
|
className: `${styles_module_default2.hoverTooltip} ${styles_module_default2.enter}`,
|
|
@@ -5778,17 +5777,17 @@ function PageFeedbackToolbarCSS({
|
|
|
5778
5777
|
)
|
|
5779
5778
|
},
|
|
5780
5779
|
children: [
|
|
5781
|
-
hoverInfo.reactComponents && /* @__PURE__ */
|
|
5782
|
-
/* @__PURE__ */
|
|
5780
|
+
hoverInfo.reactComponents && /* @__PURE__ */ jsx5("div", { className: styles_module_default2.hoverReactPath, children: hoverInfo.reactComponents }),
|
|
5781
|
+
/* @__PURE__ */ jsx5("div", { className: styles_module_default2.hoverElementName, children: hoverInfo.elementName })
|
|
5783
5782
|
]
|
|
5784
5783
|
}
|
|
5785
5784
|
),
|
|
5786
|
-
pendingAnnotation && /* @__PURE__ */
|
|
5785
|
+
pendingAnnotation && /* @__PURE__ */ jsxs4(Fragment2, { children: [
|
|
5787
5786
|
pendingAnnotation.multiSelectElements?.length ? (
|
|
5788
5787
|
// Cmd+shift+click multi-select: show individual boxes with live positions
|
|
5789
5788
|
pendingAnnotation.multiSelectElements.filter((el) => document.contains(el)).map((el, index) => {
|
|
5790
5789
|
const rect = el.getBoundingClientRect();
|
|
5791
|
-
return /* @__PURE__ */
|
|
5790
|
+
return /* @__PURE__ */ jsx5(
|
|
5792
5791
|
"div",
|
|
5793
5792
|
{
|
|
5794
5793
|
className: `${styles_module_default2.multiSelectOutline} ${pendingExiting ? styles_module_default2.exit : styles_module_default2.enter}`,
|
|
@@ -5808,7 +5807,7 @@ function PageFeedbackToolbarCSS({
|
|
|
5808
5807
|
// Single-click: use live getBoundingClientRect for consistent positioning
|
|
5809
5808
|
(() => {
|
|
5810
5809
|
const rect = pendingAnnotation.targetElement.getBoundingClientRect();
|
|
5811
|
-
return /* @__PURE__ */
|
|
5810
|
+
return /* @__PURE__ */ jsx5(
|
|
5812
5811
|
"div",
|
|
5813
5812
|
{
|
|
5814
5813
|
className: `${styles_module_default2.singleSelectOutline} ${pendingExiting ? styles_module_default2.exit : styles_module_default2.enter}`,
|
|
@@ -5817,15 +5816,15 @@ function PageFeedbackToolbarCSS({
|
|
|
5817
5816
|
top: rect.top,
|
|
5818
5817
|
width: rect.width,
|
|
5819
5818
|
height: rect.height,
|
|
5820
|
-
borderColor:
|
|
5821
|
-
backgroundColor:
|
|
5819
|
+
borderColor: "color-mix(in srgb, var(--agentation-color-accent) 60%, transparent)",
|
|
5820
|
+
backgroundColor: "color-mix(in srgb, var(--agentation-color-accent) 5%, transparent)"
|
|
5822
5821
|
}
|
|
5823
5822
|
}
|
|
5824
5823
|
);
|
|
5825
5824
|
})()
|
|
5826
5825
|
) : (
|
|
5827
5826
|
// Drag selection or fallback: use stored boundingBox
|
|
5828
|
-
pendingAnnotation.boundingBox && /* @__PURE__ */
|
|
5827
|
+
pendingAnnotation.boundingBox && /* @__PURE__ */ jsx5(
|
|
5829
5828
|
"div",
|
|
5830
5829
|
{
|
|
5831
5830
|
className: `${pendingAnnotation.isMultiSelect ? styles_module_default2.multiSelectOutline : styles_module_default2.singleSelectOutline} ${pendingExiting ? styles_module_default2.exit : styles_module_default2.enter}`,
|
|
@@ -5835,8 +5834,8 @@ function PageFeedbackToolbarCSS({
|
|
|
5835
5834
|
width: pendingAnnotation.boundingBox.width,
|
|
5836
5835
|
height: pendingAnnotation.boundingBox.height,
|
|
5837
5836
|
...pendingAnnotation.isMultiSelect ? {} : {
|
|
5838
|
-
borderColor:
|
|
5839
|
-
backgroundColor:
|
|
5837
|
+
borderColor: "color-mix(in srgb, var(--agentation-color-accent) 60%, transparent)",
|
|
5838
|
+
backgroundColor: "color-mix(in srgb, var(--agentation-color-accent) 5%, transparent)"
|
|
5840
5839
|
}
|
|
5841
5840
|
}
|
|
5842
5841
|
}
|
|
@@ -5846,20 +5845,20 @@ function PageFeedbackToolbarCSS({
|
|
|
5846
5845
|
(() => {
|
|
5847
5846
|
const markerX = pendingAnnotation.x;
|
|
5848
5847
|
const markerY = pendingAnnotation.isFixed ? pendingAnnotation.y : pendingAnnotation.y - scrollY;
|
|
5849
|
-
return /* @__PURE__ */
|
|
5850
|
-
/* @__PURE__ */
|
|
5848
|
+
return /* @__PURE__ */ jsxs4(Fragment2, { children: [
|
|
5849
|
+
/* @__PURE__ */ jsx5(
|
|
5851
5850
|
"div",
|
|
5852
5851
|
{
|
|
5853
5852
|
className: `${styles_module_default2.marker} ${styles_module_default2.pending} ${pendingAnnotation.isMultiSelect ? styles_module_default2.multiSelect : ""} ${pendingExiting ? styles_module_default2.exit : styles_module_default2.enter}`,
|
|
5854
5853
|
style: {
|
|
5855
5854
|
left: `${markerX}%`,
|
|
5856
5855
|
top: markerY,
|
|
5857
|
-
backgroundColor: pendingAnnotation.isMultiSelect ? "
|
|
5856
|
+
backgroundColor: pendingAnnotation.isMultiSelect ? "var(--agentation-color-green)" : "var(--agentation-color-accent)"
|
|
5858
5857
|
},
|
|
5859
|
-
children: /* @__PURE__ */
|
|
5858
|
+
children: /* @__PURE__ */ jsx5(IconPlus, { size: 12 })
|
|
5860
5859
|
}
|
|
5861
5860
|
),
|
|
5862
|
-
/* @__PURE__ */
|
|
5861
|
+
/* @__PURE__ */ jsx5(
|
|
5863
5862
|
AnnotationPopupCSS,
|
|
5864
5863
|
{
|
|
5865
5864
|
ref: popupRef,
|
|
@@ -5871,7 +5870,7 @@ function PageFeedbackToolbarCSS({
|
|
|
5871
5870
|
onCancel: cancelAnnotation,
|
|
5872
5871
|
isExiting: pendingExiting,
|
|
5873
5872
|
lightMode: !isDarkMode,
|
|
5874
|
-
accentColor: pendingAnnotation.isMultiSelect ? "
|
|
5873
|
+
accentColor: pendingAnnotation.isMultiSelect ? "var(--agentation-color-green)" : "var(--agentation-color-accent)",
|
|
5875
5874
|
style: {
|
|
5876
5875
|
// Popup is 280px wide, centered with translateX(-50%), so 140px each side
|
|
5877
5876
|
// Clamp so popup stays 20px from viewport edges
|
|
@@ -5890,14 +5889,14 @@ function PageFeedbackToolbarCSS({
|
|
|
5890
5889
|
] });
|
|
5891
5890
|
})()
|
|
5892
5891
|
] }),
|
|
5893
|
-
editingAnnotation && /* @__PURE__ */
|
|
5892
|
+
editingAnnotation && /* @__PURE__ */ jsxs4(Fragment2, { children: [
|
|
5894
5893
|
editingAnnotation.elementBoundingBoxes?.length ? (
|
|
5895
5894
|
// Cmd+shift+click: show individual element boxes (use live rects when available)
|
|
5896
5895
|
(() => {
|
|
5897
5896
|
if (editingTargetElements.length > 0) {
|
|
5898
5897
|
return editingTargetElements.filter((el) => document.contains(el)).map((el, index) => {
|
|
5899
5898
|
const rect = el.getBoundingClientRect();
|
|
5900
|
-
return /* @__PURE__ */
|
|
5899
|
+
return /* @__PURE__ */ jsx5(
|
|
5901
5900
|
"div",
|
|
5902
5901
|
{
|
|
5903
5902
|
className: `${styles_module_default2.multiSelectOutline} ${styles_module_default2.enter}`,
|
|
@@ -5913,7 +5912,7 @@ function PageFeedbackToolbarCSS({
|
|
|
5913
5912
|
});
|
|
5914
5913
|
}
|
|
5915
5914
|
return editingAnnotation.elementBoundingBoxes.map(
|
|
5916
|
-
(bb, index) => /* @__PURE__ */
|
|
5915
|
+
(bb, index) => /* @__PURE__ */ jsx5(
|
|
5917
5916
|
"div",
|
|
5918
5917
|
{
|
|
5919
5918
|
className: `${styles_module_default2.multiSelectOutline} ${styles_module_default2.enter}`,
|
|
@@ -5939,7 +5938,7 @@ function PageFeedbackToolbarCSS({
|
|
|
5939
5938
|
height: editingAnnotation.boundingBox.height
|
|
5940
5939
|
} : null;
|
|
5941
5940
|
if (!bb) return null;
|
|
5942
|
-
return /* @__PURE__ */
|
|
5941
|
+
return /* @__PURE__ */ jsx5(
|
|
5943
5942
|
"div",
|
|
5944
5943
|
{
|
|
5945
5944
|
className: `${editingAnnotation.isMultiSelect ? styles_module_default2.multiSelectOutline : styles_module_default2.singleSelectOutline} ${styles_module_default2.enter}`,
|
|
@@ -5949,15 +5948,15 @@ function PageFeedbackToolbarCSS({
|
|
|
5949
5948
|
width: bb.width,
|
|
5950
5949
|
height: bb.height,
|
|
5951
5950
|
...editingAnnotation.isMultiSelect ? {} : {
|
|
5952
|
-
borderColor:
|
|
5953
|
-
backgroundColor:
|
|
5951
|
+
borderColor: "color-mix(in srgb, var(--agentation-color-accent) 60%, transparent)",
|
|
5952
|
+
backgroundColor: "color-mix(in srgb, var(--agentation-color-accent) 5%, transparent)"
|
|
5954
5953
|
}
|
|
5955
5954
|
}
|
|
5956
5955
|
}
|
|
5957
5956
|
);
|
|
5958
5957
|
})()
|
|
5959
5958
|
),
|
|
5960
|
-
/* @__PURE__ */
|
|
5959
|
+
/* @__PURE__ */ jsx5(
|
|
5961
5960
|
AnnotationPopupCSS,
|
|
5962
5961
|
{
|
|
5963
5962
|
ref: editPopupRef,
|
|
@@ -5974,7 +5973,7 @@ function PageFeedbackToolbarCSS({
|
|
|
5974
5973
|
onDelete: () => deleteAnnotation2(editingAnnotation.id),
|
|
5975
5974
|
isExiting: editExiting,
|
|
5976
5975
|
lightMode: !isDarkMode,
|
|
5977
|
-
accentColor: editingAnnotation.isMultiSelect ? "
|
|
5976
|
+
accentColor: editingAnnotation.isMultiSelect ? "var(--agentation-color-green)" : "var(--agentation-color-accent)",
|
|
5978
5977
|
style: (() => {
|
|
5979
5978
|
const markerY = editingAnnotation.isFixed ? editingAnnotation.y : editingAnnotation.y - scrollY;
|
|
5980
5979
|
return {
|
|
@@ -5994,9 +5993,9 @@ function PageFeedbackToolbarCSS({
|
|
|
5994
5993
|
}
|
|
5995
5994
|
)
|
|
5996
5995
|
] }),
|
|
5997
|
-
isDragging && /* @__PURE__ */
|
|
5998
|
-
/* @__PURE__ */
|
|
5999
|
-
/* @__PURE__ */
|
|
5996
|
+
isDragging && /* @__PURE__ */ jsxs4(Fragment2, { children: [
|
|
5997
|
+
/* @__PURE__ */ jsx5("div", { ref: dragRectRef, className: styles_module_default2.dragSelection }),
|
|
5998
|
+
/* @__PURE__ */ jsx5(
|
|
6000
5999
|
"div",
|
|
6001
6000
|
{
|
|
6002
6001
|
ref: highlightsContainerRef,
|