agentation 2.3.2 → 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 +512 -503
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +495 -486
- 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 = '.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:
|
|
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");
|
|
@@ -122,28 +122,10 @@ var IconListSparkle = ({
|
|
|
122
122
|
] }),
|
|
123
123
|
/* @__PURE__ */ jsx("defs", { children: /* @__PURE__ */ jsx("clipPath", { id: "clip0_list_sparkle", children: /* @__PURE__ */ jsx("rect", { width: "24", height: "24", fill: "white" }) }) })
|
|
124
124
|
] });
|
|
125
|
-
var IconHelp = ({ size = 20 }) => /* @__PURE__ */ jsxs("svg", { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: [
|
|
126
|
-
/* @__PURE__ */ jsx(
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
cx: "10",
|
|
130
|
-
cy: "10.5",
|
|
131
|
-
r: "5.25",
|
|
132
|
-
stroke: "currentColor",
|
|
133
|
-
strokeWidth: "1.25"
|
|
134
|
-
}
|
|
135
|
-
),
|
|
136
|
-
/* @__PURE__ */ jsx(
|
|
137
|
-
"path",
|
|
138
|
-
{
|
|
139
|
-
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",
|
|
140
|
-
stroke: "currentColor",
|
|
141
|
-
strokeWidth: "1.25",
|
|
142
|
-
strokeLinecap: "round",
|
|
143
|
-
strokeLinejoin: "round"
|
|
144
|
-
}
|
|
145
|
-
),
|
|
146
|
-
/* @__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" })
|
|
147
129
|
] });
|
|
148
130
|
var IconCheckSmallAnimated = ({ size = 14 }) => /* @__PURE__ */ jsxs("svg", { width: size, height: size, viewBox: "0 0 14 14", fill: "none", children: [
|
|
149
131
|
/* @__PURE__ */ jsx("style", { children: `
|
|
@@ -234,7 +216,7 @@ var IconCopyAnimated = ({ size = 24, copied = false }) => /* @__PURE__ */ jsxs("
|
|
|
234
216
|
"path",
|
|
235
217
|
{
|
|
236
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",
|
|
237
|
-
stroke: "
|
|
219
|
+
stroke: "var(--agentation-color-green)",
|
|
238
220
|
strokeWidth: "1.5",
|
|
239
221
|
strokeLinecap: "round",
|
|
240
222
|
strokeLinejoin: "round"
|
|
@@ -244,7 +226,7 @@ var IconCopyAnimated = ({ size = 24, copied = false }) => /* @__PURE__ */ jsxs("
|
|
|
244
226
|
"path",
|
|
245
227
|
{
|
|
246
228
|
d: "M15 10L11 14.25L9.25 12.25",
|
|
247
|
-
stroke: "
|
|
229
|
+
stroke: "var(--agentation-color-green)",
|
|
248
230
|
strokeWidth: "1.5",
|
|
249
231
|
strokeLinecap: "round",
|
|
250
232
|
strokeLinejoin: "round"
|
|
@@ -276,7 +258,7 @@ var IconSendArrow = ({
|
|
|
276
258
|
"path",
|
|
277
259
|
{
|
|
278
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",
|
|
279
|
-
stroke: "
|
|
261
|
+
stroke: "var(--agentation-color-green)",
|
|
280
262
|
strokeWidth: "1.5",
|
|
281
263
|
strokeLinecap: "round",
|
|
282
264
|
strokeLinejoin: "round"
|
|
@@ -286,7 +268,7 @@ var IconSendArrow = ({
|
|
|
286
268
|
"path",
|
|
287
269
|
{
|
|
288
270
|
d: "M15 10L11 14.25L9.25 12.25",
|
|
289
|
-
stroke: "
|
|
271
|
+
stroke: "var(--agentation-color-green)",
|
|
290
272
|
strokeWidth: "1.5",
|
|
291
273
|
strokeLinecap: "round",
|
|
292
274
|
strokeLinejoin: "round"
|
|
@@ -298,7 +280,7 @@ var IconSendArrow = ({
|
|
|
298
280
|
"path",
|
|
299
281
|
{
|
|
300
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",
|
|
301
|
-
stroke: "
|
|
283
|
+
stroke: "var(--agentation-color-red)",
|
|
302
284
|
strokeWidth: "1.5",
|
|
303
285
|
strokeLinecap: "round",
|
|
304
286
|
strokeLinejoin: "round"
|
|
@@ -308,12 +290,12 @@ var IconSendArrow = ({
|
|
|
308
290
|
"path",
|
|
309
291
|
{
|
|
310
292
|
d: "M12 8V12",
|
|
311
|
-
stroke: "
|
|
293
|
+
stroke: "var(--agentation-color-red)",
|
|
312
294
|
strokeWidth: "1.5",
|
|
313
295
|
strokeLinecap: "round"
|
|
314
296
|
}
|
|
315
297
|
),
|
|
316
|
-
/* @__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" })
|
|
317
299
|
] })
|
|
318
300
|
] });
|
|
319
301
|
};
|
|
@@ -2650,8 +2632,8 @@ function findNearestComponentSource(element, maxAncestors = 10) {
|
|
|
2650
2632
|
}
|
|
2651
2633
|
|
|
2652
2634
|
// src/components/page-toolbar-css/styles.module.scss
|
|
2653
|
-
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__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}';
|
|
2654
|
-
var classNames3 = { "toolbar": "styles-module__toolbar___wNsdK", "markersLayer": "styles-module__markersLayer___-25j1", "fixedMarkersLayer": "styles-module__fixedMarkersLayer___ffyX6", "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", "
|
|
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" };
|
|
2655
2637
|
if (typeof document !== "undefined") {
|
|
2656
2638
|
let style = document.getElementById("feedback-tool-styles-page-toolbar-css-styles");
|
|
2657
2639
|
if (!style) {
|
|
@@ -2663,8 +2645,123 @@ if (typeof document !== "undefined") {
|
|
|
2663
2645
|
}
|
|
2664
2646
|
var styles_module_default2 = classNames3;
|
|
2665
2647
|
|
|
2666
|
-
// 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";
|
|
2667
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";
|
|
2668
2765
|
function identifyElementWithReact(element, reactMode = "filtered") {
|
|
2669
2766
|
const { name: elementName, path } = identifyElement(element);
|
|
2670
2767
|
if (reactMode === "off") {
|
|
@@ -2682,7 +2779,7 @@ var hasPlayedEntranceAnimation = false;
|
|
|
2682
2779
|
var DEFAULT_SETTINGS = {
|
|
2683
2780
|
outputDetail: "standard",
|
|
2684
2781
|
autoClearAfterCopy: false,
|
|
2685
|
-
|
|
2782
|
+
annotationColorId: "blue",
|
|
2686
2783
|
blockInteractions: true,
|
|
2687
2784
|
reactEnabled: true,
|
|
2688
2785
|
markerClickBehavior: "edit",
|
|
@@ -2711,14 +2808,43 @@ var OUTPUT_DETAIL_OPTIONS = [
|
|
|
2711
2808
|
{ value: "forensic", label: "Forensic" }
|
|
2712
2809
|
];
|
|
2713
2810
|
var COLOR_OPTIONS = [
|
|
2714
|
-
{
|
|
2715
|
-
{
|
|
2716
|
-
{
|
|
2717
|
-
{
|
|
2718
|
-
{
|
|
2719
|
-
{
|
|
2720
|
-
{
|
|
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)" }
|
|
2721
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();
|
|
2722
2848
|
function deepElementFromPoint(x, y) {
|
|
2723
2849
|
let element = document.elementFromPoint(x, y);
|
|
2724
2850
|
if (!element) return null;
|
|
@@ -2895,13 +3021,13 @@ function PageFeedbackToolbarCSS({
|
|
|
2895
3021
|
webhookUrl,
|
|
2896
3022
|
className: userClassName
|
|
2897
3023
|
} = {}) {
|
|
2898
|
-
const [isActive, setIsActive] =
|
|
2899
|
-
const [annotations, setAnnotations] =
|
|
2900
|
-
const [showMarkers, setShowMarkers] =
|
|
2901
|
-
const [isToolbarHidden, setIsToolbarHidden] =
|
|
2902
|
-
const [isToolbarHiding, setIsToolbarHiding] =
|
|
2903
|
-
const portalWrapperRef =
|
|
2904
|
-
|
|
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(() => {
|
|
2905
3031
|
const stop = (e) => {
|
|
2906
3032
|
const wrapper = portalWrapperRef.current;
|
|
2907
3033
|
if (wrapper && wrapper.contains(e.target)) {
|
|
@@ -2914,42 +3040,41 @@ function PageFeedbackToolbarCSS({
|
|
|
2914
3040
|
events.forEach((evt) => document.body.removeEventListener(evt, stop));
|
|
2915
3041
|
};
|
|
2916
3042
|
}, []);
|
|
2917
|
-
const [markersVisible, setMarkersVisible] =
|
|
2918
|
-
const [markersExiting, setMarkersExiting] =
|
|
2919
|
-
const [hoverInfo, setHoverInfo] =
|
|
2920
|
-
const [hoverPosition, setHoverPosition] =
|
|
2921
|
-
const [pendingAnnotation, setPendingAnnotation] =
|
|
2922
|
-
const [copied, setCopied] =
|
|
2923
|
-
const [sendState, setSendState] =
|
|
2924
|
-
const [cleared, setCleared] =
|
|
2925
|
-
const [isClearing, setIsClearing] =
|
|
2926
|
-
const [hoveredMarkerId, setHoveredMarkerId] =
|
|
2927
|
-
const [hoveredTargetElement, setHoveredTargetElement] =
|
|
2928
|
-
const [hoveredTargetElements, setHoveredTargetElements] =
|
|
2929
|
-
const [deletingMarkerId, setDeletingMarkerId] =
|
|
2930
|
-
const [renumberFrom, setRenumberFrom] =
|
|
2931
|
-
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(
|
|
2932
3058
|
null
|
|
2933
3059
|
);
|
|
2934
|
-
const [editingTargetElement, setEditingTargetElement] =
|
|
2935
|
-
const [editingTargetElements, setEditingTargetElements] =
|
|
2936
|
-
const [scrollY, setScrollY] =
|
|
2937
|
-
const [isScrolling, setIsScrolling] =
|
|
2938
|
-
const [mounted, setMounted] =
|
|
2939
|
-
const [isFrozen, setIsFrozen] =
|
|
2940
|
-
const [showSettings, setShowSettings] =
|
|
2941
|
-
const [showSettingsVisible, setShowSettingsVisible] =
|
|
2942
|
-
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(
|
|
2943
3069
|
"main"
|
|
2944
3070
|
);
|
|
2945
|
-
const [
|
|
2946
|
-
const [
|
|
2947
|
-
const
|
|
2948
|
-
const tooltipSessionTimerRef = useRef2(
|
|
3071
|
+
const [tooltipsHidden, setTooltipsHidden] = useState3(false);
|
|
3072
|
+
const [tooltipSessionActive, setTooltipSessionActive] = useState3(false);
|
|
3073
|
+
const tooltipSessionTimerRef = useRef3(
|
|
2949
3074
|
null
|
|
2950
3075
|
);
|
|
2951
|
-
const [pendingMultiSelectElements, setPendingMultiSelectElements] =
|
|
2952
|
-
const modifiersHeldRef =
|
|
3076
|
+
const [pendingMultiSelectElements, setPendingMultiSelectElements] = useState3([]);
|
|
3077
|
+
const modifiersHeldRef = useRef3({ cmd: false, shift: false });
|
|
2953
3078
|
const hideTooltipsUntilMouseLeave = () => {
|
|
2954
3079
|
setTooltipsHidden(true);
|
|
2955
3080
|
};
|
|
@@ -2972,140 +3097,67 @@ function PageFeedbackToolbarCSS({
|
|
|
2972
3097
|
setTooltipSessionActive(false);
|
|
2973
3098
|
showTooltipsAgain();
|
|
2974
3099
|
};
|
|
2975
|
-
|
|
3100
|
+
useEffect3(() => {
|
|
2976
3101
|
return () => {
|
|
2977
3102
|
if (tooltipSessionTimerRef.current)
|
|
2978
3103
|
clearTimeout(tooltipSessionTimerRef.current);
|
|
2979
3104
|
};
|
|
2980
3105
|
}, []);
|
|
2981
|
-
const
|
|
2982
|
-
|
|
2983
|
-
|
|
2984
|
-
|
|
2985
|
-
|
|
2986
|
-
|
|
2987
|
-
|
|
2988
|
-
const [position, setPosition] = useState2({ top: 0, right: 0 });
|
|
2989
|
-
const triggerRef = useRef2(null);
|
|
2990
|
-
const timeoutRef = useRef2(null);
|
|
2991
|
-
const exitTimeoutRef = useRef2(null);
|
|
2992
|
-
const updatePosition = () => {
|
|
2993
|
-
if (triggerRef.current) {
|
|
2994
|
-
const rect = triggerRef.current.getBoundingClientRect();
|
|
2995
|
-
setPosition({
|
|
2996
|
-
top: rect.top + rect.height / 2,
|
|
2997
|
-
right: window.innerWidth - rect.left + 8
|
|
2998
|
-
});
|
|
2999
|
-
}
|
|
3000
|
-
};
|
|
3001
|
-
const handleMouseEnter = () => {
|
|
3002
|
-
setIsHovering(true);
|
|
3003
|
-
setShouldRender(true);
|
|
3004
|
-
if (exitTimeoutRef.current) {
|
|
3005
|
-
clearTimeout(exitTimeoutRef.current);
|
|
3006
|
-
exitTimeoutRef.current = null;
|
|
3007
|
-
}
|
|
3008
|
-
updatePosition();
|
|
3009
|
-
timeoutRef.current = originalSetTimeout(() => {
|
|
3010
|
-
setVisible(true);
|
|
3011
|
-
}, 500);
|
|
3012
|
-
};
|
|
3013
|
-
const handleMouseLeave = () => {
|
|
3014
|
-
setIsHovering(false);
|
|
3015
|
-
if (timeoutRef.current) {
|
|
3016
|
-
clearTimeout(timeoutRef.current);
|
|
3017
|
-
timeoutRef.current = null;
|
|
3018
|
-
}
|
|
3019
|
-
setVisible(false);
|
|
3020
|
-
exitTimeoutRef.current = originalSetTimeout(() => {
|
|
3021
|
-
setShouldRender(false);
|
|
3022
|
-
}, 150);
|
|
3023
|
-
};
|
|
3024
|
-
useEffect2(() => {
|
|
3025
|
-
return () => {
|
|
3026
|
-
if (timeoutRef.current) clearTimeout(timeoutRef.current);
|
|
3027
|
-
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
|
|
3028
3113
|
};
|
|
3029
|
-
}
|
|
3030
|
-
|
|
3031
|
-
|
|
3032
|
-
|
|
3033
|
-
|
|
3034
|
-
|
|
3035
|
-
|
|
3036
|
-
|
|
3037
|
-
|
|
3038
|
-
|
|
3039
|
-
)
|
|
3040
|
-
|
|
3041
|
-
/* @__PURE__ */ jsx3(
|
|
3042
|
-
"div",
|
|
3043
|
-
{
|
|
3044
|
-
"data-feedback-toolbar": true,
|
|
3045
|
-
style: {
|
|
3046
|
-
position: "fixed",
|
|
3047
|
-
top: position.top,
|
|
3048
|
-
right: position.right,
|
|
3049
|
-
transform: "translateY(-50%)",
|
|
3050
|
-
padding: "6px 10px",
|
|
3051
|
-
background: "#383838",
|
|
3052
|
-
color: "rgba(255, 255, 255, 0.7)",
|
|
3053
|
-
fontSize: "11px",
|
|
3054
|
-
fontWeight: 400,
|
|
3055
|
-
lineHeight: "14px",
|
|
3056
|
-
borderRadius: "10px",
|
|
3057
|
-
width: "180px",
|
|
3058
|
-
textAlign: "left",
|
|
3059
|
-
zIndex: 100020,
|
|
3060
|
-
pointerEvents: "none",
|
|
3061
|
-
boxShadow: "0px 1px 8px rgba(0, 0, 0, 0.28)",
|
|
3062
|
-
opacity: visible && !isTransitioning ? 1 : 0,
|
|
3063
|
-
transition: "opacity 0.15s ease"
|
|
3064
|
-
},
|
|
3065
|
-
children: content
|
|
3066
|
-
}
|
|
3067
|
-
),
|
|
3068
|
-
document.body
|
|
3069
|
-
)
|
|
3070
|
-
] });
|
|
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
|
+
});
|
|
3071
3126
|
};
|
|
3072
|
-
const [settings, setSettings] = useState2(DEFAULT_SETTINGS);
|
|
3073
|
-
const [isDarkMode, setIsDarkMode] = useState2(true);
|
|
3074
|
-
const [showEntranceAnimation, setShowEntranceAnimation] = useState2(false);
|
|
3075
3127
|
const isDevMode = process.env.NODE_ENV === "development";
|
|
3076
3128
|
const effectiveReactMode = isDevMode && settings.reactEnabled ? OUTPUT_TO_REACT_MODE[settings.outputDetail] : "off";
|
|
3077
|
-
const [currentSessionId, setCurrentSessionId] =
|
|
3129
|
+
const [currentSessionId, setCurrentSessionId] = useState3(
|
|
3078
3130
|
initialSessionId ?? null
|
|
3079
3131
|
);
|
|
3080
|
-
const sessionInitializedRef =
|
|
3081
|
-
const [connectionStatus, setConnectionStatus] =
|
|
3082
|
-
const [toolbarPosition, setToolbarPosition] =
|
|
3083
|
-
const [isDraggingToolbar, setIsDraggingToolbar] =
|
|
3084
|
-
const [dragStartPos, setDragStartPos] =
|
|
3085
|
-
const [dragRotation, setDragRotation] =
|
|
3086
|
-
const justFinishedToolbarDragRef =
|
|
3087
|
-
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(
|
|
3088
3140
|
/* @__PURE__ */ new Set()
|
|
3089
3141
|
);
|
|
3090
|
-
const [exitingMarkers, setExitingMarkers] =
|
|
3091
|
-
const [pendingExiting, setPendingExiting] =
|
|
3092
|
-
const [editExiting, setEditExiting] =
|
|
3093
|
-
const [isDragging, setIsDragging] =
|
|
3094
|
-
const mouseDownPosRef =
|
|
3095
|
-
const dragStartRef =
|
|
3096
|
-
const dragRectRef =
|
|
3097
|
-
const highlightsContainerRef =
|
|
3098
|
-
const justFinishedDragRef =
|
|
3099
|
-
const lastElementUpdateRef =
|
|
3100
|
-
const recentlyAddedIdRef =
|
|
3101
|
-
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);
|
|
3102
3154
|
const DRAG_THRESHOLD = 8;
|
|
3103
3155
|
const ELEMENT_UPDATE_THROTTLE = 50;
|
|
3104
|
-
const popupRef =
|
|
3105
|
-
const editPopupRef =
|
|
3106
|
-
const scrollTimeoutRef =
|
|
3156
|
+
const popupRef = useRef3(null);
|
|
3157
|
+
const editPopupRef = useRef3(null);
|
|
3158
|
+
const scrollTimeoutRef = useRef3(null);
|
|
3107
3159
|
const pathname = typeof window !== "undefined" ? window.location.pathname : "/";
|
|
3108
|
-
|
|
3160
|
+
useEffect3(() => {
|
|
3109
3161
|
if (showSettings) {
|
|
3110
3162
|
setShowSettingsVisible(true);
|
|
3111
3163
|
} else {
|
|
@@ -3115,13 +3167,8 @@ function PageFeedbackToolbarCSS({
|
|
|
3115
3167
|
return () => clearTimeout(timer);
|
|
3116
3168
|
}
|
|
3117
3169
|
}, [showSettings]);
|
|
3118
|
-
useEffect2(() => {
|
|
3119
|
-
setIsTransitioning(true);
|
|
3120
|
-
const timer = originalSetTimeout(() => setIsTransitioning(false), 350);
|
|
3121
|
-
return () => clearTimeout(timer);
|
|
3122
|
-
}, [settingsPage]);
|
|
3123
3170
|
const shouldShowMarkers = isActive && showMarkers;
|
|
3124
|
-
|
|
3171
|
+
useEffect3(() => {
|
|
3125
3172
|
if (shouldShowMarkers) {
|
|
3126
3173
|
setMarkersExiting(false);
|
|
3127
3174
|
setMarkersVisible(true);
|
|
@@ -3143,7 +3190,7 @@ function PageFeedbackToolbarCSS({
|
|
|
3143
3190
|
return () => clearTimeout(timer);
|
|
3144
3191
|
}
|
|
3145
3192
|
}, [shouldShowMarkers]);
|
|
3146
|
-
|
|
3193
|
+
useEffect3(() => {
|
|
3147
3194
|
setMounted(true);
|
|
3148
3195
|
setScrollY(window.scrollY);
|
|
3149
3196
|
const stored = loadAnnotations(pathname);
|
|
@@ -3153,13 +3200,6 @@ function PageFeedbackToolbarCSS({
|
|
|
3153
3200
|
hasPlayedEntranceAnimation = true;
|
|
3154
3201
|
originalSetTimeout(() => setShowEntranceAnimation(false), 750);
|
|
3155
3202
|
}
|
|
3156
|
-
try {
|
|
3157
|
-
const storedSettings = localStorage.getItem("feedback-toolbar-settings");
|
|
3158
|
-
if (storedSettings) {
|
|
3159
|
-
setSettings({ ...DEFAULT_SETTINGS, ...JSON.parse(storedSettings) });
|
|
3160
|
-
}
|
|
3161
|
-
} catch (e) {
|
|
3162
|
-
}
|
|
3163
3203
|
try {
|
|
3164
3204
|
const savedTheme = localStorage.getItem("feedback-toolbar-theme");
|
|
3165
3205
|
if (savedTheme !== null) {
|
|
@@ -3178,7 +3218,7 @@ function PageFeedbackToolbarCSS({
|
|
|
3178
3218
|
} catch (e) {
|
|
3179
3219
|
}
|
|
3180
3220
|
}, [pathname]);
|
|
3181
|
-
|
|
3221
|
+
useEffect3(() => {
|
|
3182
3222
|
if (mounted) {
|
|
3183
3223
|
localStorage.setItem(
|
|
3184
3224
|
"feedback-toolbar-settings",
|
|
@@ -3186,7 +3226,7 @@ function PageFeedbackToolbarCSS({
|
|
|
3186
3226
|
);
|
|
3187
3227
|
}
|
|
3188
3228
|
}, [settings, mounted]);
|
|
3189
|
-
|
|
3229
|
+
useEffect3(() => {
|
|
3190
3230
|
if (mounted) {
|
|
3191
3231
|
localStorage.setItem(
|
|
3192
3232
|
"feedback-toolbar-theme",
|
|
@@ -3194,8 +3234,8 @@ function PageFeedbackToolbarCSS({
|
|
|
3194
3234
|
);
|
|
3195
3235
|
}
|
|
3196
3236
|
}, [isDarkMode, mounted]);
|
|
3197
|
-
const prevDraggingRef =
|
|
3198
|
-
|
|
3237
|
+
const prevDraggingRef = useRef3(false);
|
|
3238
|
+
useEffect3(() => {
|
|
3199
3239
|
const wasDragging = prevDraggingRef.current;
|
|
3200
3240
|
prevDraggingRef.current = isDraggingToolbar;
|
|
3201
3241
|
if (wasDragging && !isDraggingToolbar && toolbarPosition && mounted) {
|
|
@@ -3205,7 +3245,7 @@ function PageFeedbackToolbarCSS({
|
|
|
3205
3245
|
);
|
|
3206
3246
|
}
|
|
3207
3247
|
}, [isDraggingToolbar, toolbarPosition, mounted]);
|
|
3208
|
-
|
|
3248
|
+
useEffect3(() => {
|
|
3209
3249
|
if (!endpoint || !mounted || sessionInitializedRef.current) return;
|
|
3210
3250
|
sessionInitializedRef.current = true;
|
|
3211
3251
|
setConnectionStatus("connecting");
|
|
@@ -3357,7 +3397,7 @@ function PageFeedbackToolbarCSS({
|
|
|
3357
3397
|
};
|
|
3358
3398
|
initSession();
|
|
3359
3399
|
}, [endpoint, initialSessionId, mounted, onSessionCreated, pathname]);
|
|
3360
|
-
|
|
3400
|
+
useEffect3(() => {
|
|
3361
3401
|
if (!endpoint || !mounted) return;
|
|
3362
3402
|
const checkHealth = async () => {
|
|
3363
3403
|
try {
|
|
@@ -3375,7 +3415,7 @@ function PageFeedbackToolbarCSS({
|
|
|
3375
3415
|
const interval = originalSetInterval(checkHealth, 1e4);
|
|
3376
3416
|
return () => clearInterval(interval);
|
|
3377
3417
|
}, [endpoint, mounted]);
|
|
3378
|
-
|
|
3418
|
+
useEffect3(() => {
|
|
3379
3419
|
if (!endpoint || !mounted || !currentSessionId) return;
|
|
3380
3420
|
const eventSource = new EventSource(
|
|
3381
3421
|
`${endpoint}/sessions/${currentSessionId}/events`
|
|
@@ -3405,7 +3445,7 @@ function PageFeedbackToolbarCSS({
|
|
|
3405
3445
|
eventSource.close();
|
|
3406
3446
|
};
|
|
3407
3447
|
}, [endpoint, mounted, currentSessionId]);
|
|
3408
|
-
|
|
3448
|
+
useEffect3(() => {
|
|
3409
3449
|
if (!endpoint || !mounted) return;
|
|
3410
3450
|
const wasDisconnected = prevConnectionStatusRef.current === "disconnected";
|
|
3411
3451
|
const isNowConnected = connectionStatus === "connected";
|
|
@@ -3481,7 +3521,7 @@ function PageFeedbackToolbarCSS({
|
|
|
3481
3521
|
setIsToolbarHiding(false);
|
|
3482
3522
|
}, 400);
|
|
3483
3523
|
}, [isToolbarHiding]);
|
|
3484
|
-
|
|
3524
|
+
useEffect3(() => {
|
|
3485
3525
|
if (!enableDemoMode) return;
|
|
3486
3526
|
if (!mounted || !demoAnnotations || demoAnnotations.length === 0) return;
|
|
3487
3527
|
if (annotations.length > 0) return;
|
|
@@ -3525,7 +3565,7 @@ function PageFeedbackToolbarCSS({
|
|
|
3525
3565
|
timeoutIds.forEach(clearTimeout);
|
|
3526
3566
|
};
|
|
3527
3567
|
}, [enableDemoMode, mounted, demoAnnotations, demoDelay]);
|
|
3528
|
-
|
|
3568
|
+
useEffect3(() => {
|
|
3529
3569
|
const handleScroll = () => {
|
|
3530
3570
|
setScrollY(window.scrollY);
|
|
3531
3571
|
setIsScrolling(true);
|
|
@@ -3544,7 +3584,7 @@ function PageFeedbackToolbarCSS({
|
|
|
3544
3584
|
}
|
|
3545
3585
|
};
|
|
3546
3586
|
}, []);
|
|
3547
|
-
|
|
3587
|
+
useEffect3(() => {
|
|
3548
3588
|
if (mounted && annotations.length > 0) {
|
|
3549
3589
|
if (currentSessionId) {
|
|
3550
3590
|
saveAnnotationsWithSyncMarker(pathname, annotations, currentSessionId);
|
|
@@ -3658,7 +3698,7 @@ function PageFeedbackToolbarCSS({
|
|
|
3658
3698
|
setPendingMultiSelectElements([]);
|
|
3659
3699
|
setHoverInfo(null);
|
|
3660
3700
|
}, [pendingMultiSelectElements]);
|
|
3661
|
-
|
|
3701
|
+
useEffect3(() => {
|
|
3662
3702
|
if (!isActive) {
|
|
3663
3703
|
setPendingAnnotation(null);
|
|
3664
3704
|
setEditingAnnotation(null);
|
|
@@ -3673,12 +3713,12 @@ function PageFeedbackToolbarCSS({
|
|
|
3673
3713
|
}
|
|
3674
3714
|
}
|
|
3675
3715
|
}, [isActive, isFrozen, unfreezeAnimations]);
|
|
3676
|
-
|
|
3716
|
+
useEffect3(() => {
|
|
3677
3717
|
return () => {
|
|
3678
3718
|
unfreeze();
|
|
3679
3719
|
};
|
|
3680
3720
|
}, []);
|
|
3681
|
-
|
|
3721
|
+
useEffect3(() => {
|
|
3682
3722
|
if (!isActive) return;
|
|
3683
3723
|
const style = document.createElement("style");
|
|
3684
3724
|
style.id = "feedback-cursor-styles";
|
|
@@ -3698,7 +3738,7 @@ function PageFeedbackToolbarCSS({
|
|
|
3698
3738
|
cursor: text !important;
|
|
3699
3739
|
}
|
|
3700
3740
|
[data-feedback-toolbar], [data-feedback-toolbar] * {
|
|
3701
|
-
cursor:
|
|
3741
|
+
cursor: auto !important;
|
|
3702
3742
|
}
|
|
3703
3743
|
[data-feedback-toolbar] textarea,
|
|
3704
3744
|
[data-feedback-toolbar] input[type="text"],
|
|
@@ -3725,7 +3765,7 @@ function PageFeedbackToolbarCSS({
|
|
|
3725
3765
|
if (existingStyle) existingStyle.remove();
|
|
3726
3766
|
};
|
|
3727
3767
|
}, [isActive]);
|
|
3728
|
-
|
|
3768
|
+
useEffect3(() => {
|
|
3729
3769
|
if (!isActive || pendingAnnotation) return;
|
|
3730
3770
|
const handleMouseMove = (e) => {
|
|
3731
3771
|
const target = e.composedPath()[0] || e.target;
|
|
@@ -3752,7 +3792,7 @@ function PageFeedbackToolbarCSS({
|
|
|
3752
3792
|
document.addEventListener("mousemove", handleMouseMove);
|
|
3753
3793
|
return () => document.removeEventListener("mousemove", handleMouseMove);
|
|
3754
3794
|
}, [isActive, pendingAnnotation, effectiveReactMode]);
|
|
3755
|
-
|
|
3795
|
+
useEffect3(() => {
|
|
3756
3796
|
if (!isActive) return;
|
|
3757
3797
|
const handleClick = (e) => {
|
|
3758
3798
|
if (justFinishedDragRef.current) {
|
|
@@ -3874,7 +3914,7 @@ function PageFeedbackToolbarCSS({
|
|
|
3874
3914
|
effectiveReactMode,
|
|
3875
3915
|
pendingMultiSelectElements
|
|
3876
3916
|
]);
|
|
3877
|
-
|
|
3917
|
+
useEffect3(() => {
|
|
3878
3918
|
if (!isActive) return;
|
|
3879
3919
|
const handleKeyDown = (e) => {
|
|
3880
3920
|
if (e.key === "Meta") modifiersHeldRef.current.cmd = true;
|
|
@@ -3902,7 +3942,7 @@ function PageFeedbackToolbarCSS({
|
|
|
3902
3942
|
window.removeEventListener("blur", handleBlur);
|
|
3903
3943
|
};
|
|
3904
3944
|
}, [isActive, pendingMultiSelectElements, createMultiSelectPendingAnnotation]);
|
|
3905
|
-
|
|
3945
|
+
useEffect3(() => {
|
|
3906
3946
|
if (!isActive || pendingAnnotation) return;
|
|
3907
3947
|
const handleMouseDown = (e) => {
|
|
3908
3948
|
const target = e.composedPath()[0] || e.target;
|
|
@@ -3956,7 +3996,7 @@ function PageFeedbackToolbarCSS({
|
|
|
3956
3996
|
document.addEventListener("mousedown", handleMouseDown);
|
|
3957
3997
|
return () => document.removeEventListener("mousedown", handleMouseDown);
|
|
3958
3998
|
}, [isActive, pendingAnnotation]);
|
|
3959
|
-
|
|
3999
|
+
useEffect3(() => {
|
|
3960
4000
|
if (!isActive || pendingAnnotation) return;
|
|
3961
4001
|
const handleMouseMove = (e) => {
|
|
3962
4002
|
if (!mouseDownPosRef.current) return;
|
|
@@ -4101,7 +4141,7 @@ function PageFeedbackToolbarCSS({
|
|
|
4101
4141
|
document.addEventListener("mousemove", handleMouseMove, { passive: true });
|
|
4102
4142
|
return () => document.removeEventListener("mousemove", handleMouseMove);
|
|
4103
4143
|
}, [isActive, pendingAnnotation, isDragging, DRAG_THRESHOLD]);
|
|
4104
|
-
|
|
4144
|
+
useEffect3(() => {
|
|
4105
4145
|
if (!isActive) return;
|
|
4106
4146
|
const handleMouseUp = (e) => {
|
|
4107
4147
|
const wasDragging = isDragging;
|
|
@@ -4572,7 +4612,7 @@ function PageFeedbackToolbarCSS({
|
|
|
4572
4612
|
settings.autoClearAfterCopy,
|
|
4573
4613
|
clearAll
|
|
4574
4614
|
]);
|
|
4575
|
-
|
|
4615
|
+
useEffect3(() => {
|
|
4576
4616
|
if (!dragStartPos) return;
|
|
4577
4617
|
const DRAG_THRESHOLD2 = 10;
|
|
4578
4618
|
const handleMouseMove = (e) => {
|
|
@@ -4635,7 +4675,7 @@ function PageFeedbackToolbarCSS({
|
|
|
4635
4675
|
},
|
|
4636
4676
|
[toolbarPosition]
|
|
4637
4677
|
);
|
|
4638
|
-
|
|
4678
|
+
useEffect3(() => {
|
|
4639
4679
|
if (!toolbarPosition) return;
|
|
4640
4680
|
const constrainPosition = () => {
|
|
4641
4681
|
const padding = 20;
|
|
@@ -4660,7 +4700,7 @@ function PageFeedbackToolbarCSS({
|
|
|
4660
4700
|
window.addEventListener("resize", constrainPosition);
|
|
4661
4701
|
return () => window.removeEventListener("resize", constrainPosition);
|
|
4662
4702
|
}, [toolbarPosition, isActive, connectionStatus]);
|
|
4663
|
-
|
|
4703
|
+
useEffect3(() => {
|
|
4664
4704
|
const handleKeyDown = (e) => {
|
|
4665
4705
|
const target = e.target;
|
|
4666
4706
|
const isTyping = target.tagName === "INPUT" || target.tagName === "TEXTAREA" || target.isContentEditable;
|
|
@@ -4765,9 +4805,9 @@ function PageFeedbackToolbarCSS({
|
|
|
4765
4805
|
}
|
|
4766
4806
|
return styles;
|
|
4767
4807
|
};
|
|
4768
|
-
return
|
|
4769
|
-
/* @__PURE__ */
|
|
4770
|
-
/* @__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(
|
|
4771
4811
|
"div",
|
|
4772
4812
|
{
|
|
4773
4813
|
className: `${styles_module_default2.toolbar}${userClassName ? ` ${userClassName}` : ""}`,
|
|
@@ -4778,10 +4818,10 @@ function PageFeedbackToolbarCSS({
|
|
|
4778
4818
|
right: "auto",
|
|
4779
4819
|
bottom: "auto"
|
|
4780
4820
|
} : void 0,
|
|
4781
|
-
children: /* @__PURE__ */
|
|
4821
|
+
children: /* @__PURE__ */ jsxs4(
|
|
4782
4822
|
"div",
|
|
4783
4823
|
{
|
|
4784
|
-
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 : ""}`,
|
|
4785
4825
|
onClick: !isActive ? (e) => {
|
|
4786
4826
|
if (justFinishedToolbarDragRef.current) {
|
|
4787
4827
|
justFinishedToolbarDragRef.current = false;
|
|
@@ -4801,79 +4841,78 @@ function PageFeedbackToolbarCSS({
|
|
|
4801
4841
|
}
|
|
4802
4842
|
},
|
|
4803
4843
|
children: [
|
|
4804
|
-
/* @__PURE__ */
|
|
4844
|
+
/* @__PURE__ */ jsxs4(
|
|
4805
4845
|
"div",
|
|
4806
4846
|
{
|
|
4807
4847
|
className: `${styles_module_default2.toggleContent} ${!isActive ? styles_module_default2.visible : styles_module_default2.hidden}`,
|
|
4808
4848
|
children: [
|
|
4809
|
-
/* @__PURE__ */
|
|
4810
|
-
hasAnnotations && /* @__PURE__ */
|
|
4849
|
+
/* @__PURE__ */ jsx5(IconListSparkle, { size: 24 }),
|
|
4850
|
+
hasAnnotations && /* @__PURE__ */ jsx5(
|
|
4811
4851
|
"span",
|
|
4812
4852
|
{
|
|
4813
4853
|
className: `${styles_module_default2.badge} ${isActive ? styles_module_default2.fadeOut : ""} ${showEntranceAnimation ? styles_module_default2.entrance : ""}`,
|
|
4814
|
-
style: { backgroundColor: settings.annotationColor },
|
|
4815
4854
|
children: annotations.length
|
|
4816
4855
|
}
|
|
4817
4856
|
)
|
|
4818
4857
|
]
|
|
4819
4858
|
}
|
|
4820
4859
|
),
|
|
4821
|
-
/* @__PURE__ */
|
|
4860
|
+
/* @__PURE__ */ jsxs4(
|
|
4822
4861
|
"div",
|
|
4823
4862
|
{
|
|
4824
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 : ""}`,
|
|
4825
4864
|
onMouseEnter: handleControlsMouseEnter,
|
|
4826
4865
|
onMouseLeave: handleControlsMouseLeave,
|
|
4827
4866
|
children: [
|
|
4828
|
-
/* @__PURE__ */
|
|
4867
|
+
/* @__PURE__ */ jsxs4(
|
|
4829
4868
|
"div",
|
|
4830
4869
|
{
|
|
4831
4870
|
className: `${styles_module_default2.buttonWrapper} ${toolbarPosition && toolbarPosition.x < 120 ? styles_module_default2.buttonWrapperAlignLeft : ""}`,
|
|
4832
4871
|
children: [
|
|
4833
|
-
/* @__PURE__ */
|
|
4872
|
+
/* @__PURE__ */ jsx5(
|
|
4834
4873
|
"button",
|
|
4835
4874
|
{
|
|
4836
|
-
className:
|
|
4875
|
+
className: styles_module_default2.controlButton,
|
|
4837
4876
|
onClick: (e) => {
|
|
4838
4877
|
e.stopPropagation();
|
|
4839
4878
|
hideTooltipsUntilMouseLeave();
|
|
4840
4879
|
toggleFreeze();
|
|
4841
4880
|
},
|
|
4842
4881
|
"data-active": isFrozen,
|
|
4843
|
-
children: /* @__PURE__ */
|
|
4882
|
+
children: /* @__PURE__ */ jsx5(IconPausePlayAnimated, { size: 24, isPaused: isFrozen })
|
|
4844
4883
|
}
|
|
4845
4884
|
),
|
|
4846
|
-
/* @__PURE__ */
|
|
4885
|
+
/* @__PURE__ */ jsxs4("span", { className: styles_module_default2.buttonTooltip, children: [
|
|
4847
4886
|
isFrozen ? "Resume animations" : "Pause animations",
|
|
4848
|
-
/* @__PURE__ */
|
|
4887
|
+
/* @__PURE__ */ jsx5("span", { className: styles_module_default2.shortcut, children: "P" })
|
|
4849
4888
|
] })
|
|
4850
4889
|
]
|
|
4851
4890
|
}
|
|
4852
4891
|
),
|
|
4853
|
-
/* @__PURE__ */
|
|
4854
|
-
/* @__PURE__ */
|
|
4892
|
+
/* @__PURE__ */ jsxs4("div", { className: styles_module_default2.buttonWrapper, children: [
|
|
4893
|
+
/* @__PURE__ */ jsx5(
|
|
4855
4894
|
"button",
|
|
4856
4895
|
{
|
|
4857
|
-
className:
|
|
4896
|
+
className: styles_module_default2.controlButton,
|
|
4858
4897
|
onClick: (e) => {
|
|
4859
4898
|
e.stopPropagation();
|
|
4860
4899
|
hideTooltipsUntilMouseLeave();
|
|
4861
4900
|
setShowMarkers(!showMarkers);
|
|
4862
4901
|
},
|
|
4863
4902
|
disabled: !hasAnnotations,
|
|
4864
|
-
children: /* @__PURE__ */
|
|
4903
|
+
children: /* @__PURE__ */ jsx5(IconEyeAnimated, { size: 24, isOpen: showMarkers })
|
|
4865
4904
|
}
|
|
4866
4905
|
),
|
|
4867
|
-
/* @__PURE__ */
|
|
4906
|
+
/* @__PURE__ */ jsxs4("span", { className: styles_module_default2.buttonTooltip, children: [
|
|
4868
4907
|
showMarkers ? "Hide markers" : "Show markers",
|
|
4869
|
-
/* @__PURE__ */
|
|
4908
|
+
/* @__PURE__ */ jsx5("span", { className: styles_module_default2.shortcut, children: "H" })
|
|
4870
4909
|
] })
|
|
4871
4910
|
] }),
|
|
4872
|
-
/* @__PURE__ */
|
|
4873
|
-
/* @__PURE__ */
|
|
4911
|
+
/* @__PURE__ */ jsxs4("div", { className: styles_module_default2.buttonWrapper, children: [
|
|
4912
|
+
/* @__PURE__ */ jsx5(
|
|
4874
4913
|
"button",
|
|
4875
4914
|
{
|
|
4876
|
-
className: `${styles_module_default2.controlButton} ${
|
|
4915
|
+
className: `${styles_module_default2.controlButton} ${copied ? styles_module_default2.statusShowing : ""}`,
|
|
4877
4916
|
onClick: (e) => {
|
|
4878
4917
|
e.stopPropagation();
|
|
4879
4918
|
hideTooltipsUntilMouseLeave();
|
|
@@ -4881,23 +4920,23 @@ function PageFeedbackToolbarCSS({
|
|
|
4881
4920
|
},
|
|
4882
4921
|
disabled: !hasAnnotations,
|
|
4883
4922
|
"data-active": copied,
|
|
4884
|
-
children: /* @__PURE__ */
|
|
4923
|
+
children: /* @__PURE__ */ jsx5(IconCopyAnimated, { size: 24, copied })
|
|
4885
4924
|
}
|
|
4886
4925
|
),
|
|
4887
|
-
/* @__PURE__ */
|
|
4926
|
+
/* @__PURE__ */ jsxs4("span", { className: styles_module_default2.buttonTooltip, children: [
|
|
4888
4927
|
"Copy feedback",
|
|
4889
|
-
/* @__PURE__ */
|
|
4928
|
+
/* @__PURE__ */ jsx5("span", { className: styles_module_default2.shortcut, children: "C" })
|
|
4890
4929
|
] })
|
|
4891
4930
|
] }),
|
|
4892
|
-
/* @__PURE__ */
|
|
4931
|
+
/* @__PURE__ */ jsxs4(
|
|
4893
4932
|
"div",
|
|
4894
4933
|
{
|
|
4895
4934
|
className: `${styles_module_default2.buttonWrapper} ${styles_module_default2.sendButtonWrapper} ${isActive && !settings.webhooksEnabled && (isValidUrl(settings.webhookUrl) || isValidUrl(webhookUrl || "")) ? styles_module_default2.sendButtonVisible : ""}`,
|
|
4896
4935
|
children: [
|
|
4897
|
-
/* @__PURE__ */
|
|
4936
|
+
/* @__PURE__ */ jsxs4(
|
|
4898
4937
|
"button",
|
|
4899
4938
|
{
|
|
4900
|
-
className: `${styles_module_default2.controlButton} ${
|
|
4939
|
+
className: `${styles_module_default2.controlButton} ${sendState === "sent" || sendState === "failed" ? styles_module_default2.statusShowing : ""}`,
|
|
4901
4940
|
onClick: (e) => {
|
|
4902
4941
|
e.stopPropagation();
|
|
4903
4942
|
hideTooltipsUntilMouseLeave();
|
|
@@ -4907,30 +4946,29 @@ function PageFeedbackToolbarCSS({
|
|
|
4907
4946
|
"data-no-hover": sendState === "sent" || sendState === "failed",
|
|
4908
4947
|
tabIndex: isValidUrl(settings.webhookUrl) || isValidUrl(webhookUrl || "") ? 0 : -1,
|
|
4909
4948
|
children: [
|
|
4910
|
-
/* @__PURE__ */
|
|
4911
|
-
hasAnnotations && sendState === "idle" && /* @__PURE__ */
|
|
4949
|
+
/* @__PURE__ */ jsx5(IconSendArrow, { size: 24, state: sendState }),
|
|
4950
|
+
hasAnnotations && sendState === "idle" && /* @__PURE__ */ jsx5(
|
|
4912
4951
|
"span",
|
|
4913
4952
|
{
|
|
4914
|
-
className:
|
|
4915
|
-
style: { backgroundColor: settings.annotationColor },
|
|
4953
|
+
className: styles_module_default2.buttonBadge,
|
|
4916
4954
|
children: annotations.length
|
|
4917
4955
|
}
|
|
4918
4956
|
)
|
|
4919
4957
|
]
|
|
4920
4958
|
}
|
|
4921
4959
|
),
|
|
4922
|
-
/* @__PURE__ */
|
|
4960
|
+
/* @__PURE__ */ jsxs4("span", { className: styles_module_default2.buttonTooltip, children: [
|
|
4923
4961
|
"Send Annotations",
|
|
4924
|
-
/* @__PURE__ */
|
|
4962
|
+
/* @__PURE__ */ jsx5("span", { className: styles_module_default2.shortcut, children: "S" })
|
|
4925
4963
|
] })
|
|
4926
4964
|
]
|
|
4927
4965
|
}
|
|
4928
4966
|
),
|
|
4929
|
-
/* @__PURE__ */
|
|
4930
|
-
/* @__PURE__ */
|
|
4967
|
+
/* @__PURE__ */ jsxs4("div", { className: styles_module_default2.buttonWrapper, children: [
|
|
4968
|
+
/* @__PURE__ */ jsx5(
|
|
4931
4969
|
"button",
|
|
4932
4970
|
{
|
|
4933
|
-
className:
|
|
4971
|
+
className: styles_module_default2.controlButton,
|
|
4934
4972
|
onClick: (e) => {
|
|
4935
4973
|
e.stopPropagation();
|
|
4936
4974
|
hideTooltipsUntilMouseLeave();
|
|
@@ -4938,62 +4976,62 @@ function PageFeedbackToolbarCSS({
|
|
|
4938
4976
|
},
|
|
4939
4977
|
disabled: !hasAnnotations,
|
|
4940
4978
|
"data-danger": true,
|
|
4941
|
-
children: /* @__PURE__ */
|
|
4979
|
+
children: /* @__PURE__ */ jsx5(IconTrashAlt, { size: 24 })
|
|
4942
4980
|
}
|
|
4943
4981
|
),
|
|
4944
|
-
/* @__PURE__ */
|
|
4982
|
+
/* @__PURE__ */ jsxs4("span", { className: styles_module_default2.buttonTooltip, children: [
|
|
4945
4983
|
"Clear all",
|
|
4946
|
-
/* @__PURE__ */
|
|
4984
|
+
/* @__PURE__ */ jsx5("span", { className: styles_module_default2.shortcut, children: "X" })
|
|
4947
4985
|
] })
|
|
4948
4986
|
] }),
|
|
4949
|
-
/* @__PURE__ */
|
|
4950
|
-
/* @__PURE__ */
|
|
4987
|
+
/* @__PURE__ */ jsxs4("div", { className: styles_module_default2.buttonWrapper, children: [
|
|
4988
|
+
/* @__PURE__ */ jsx5(
|
|
4951
4989
|
"button",
|
|
4952
4990
|
{
|
|
4953
|
-
className:
|
|
4991
|
+
className: styles_module_default2.controlButton,
|
|
4954
4992
|
onClick: (e) => {
|
|
4955
4993
|
e.stopPropagation();
|
|
4956
4994
|
hideTooltipsUntilMouseLeave();
|
|
4957
4995
|
setShowSettings(!showSettings);
|
|
4958
4996
|
},
|
|
4959
|
-
children: /* @__PURE__ */
|
|
4997
|
+
children: /* @__PURE__ */ jsx5(IconGear, { size: 24 })
|
|
4960
4998
|
}
|
|
4961
4999
|
),
|
|
4962
|
-
endpoint && connectionStatus !== "disconnected" && /* @__PURE__ */
|
|
5000
|
+
endpoint && connectionStatus !== "disconnected" && /* @__PURE__ */ jsx5(
|
|
4963
5001
|
"span",
|
|
4964
5002
|
{
|
|
4965
|
-
className: `${styles_module_default2.mcpIndicator} ${
|
|
5003
|
+
className: `${styles_module_default2.mcpIndicator} ${styles_module_default2[connectionStatus]} ${showSettings ? styles_module_default2.hidden : ""}`,
|
|
4966
5004
|
title: connectionStatus === "connected" ? "MCP Connected" : "MCP Connecting..."
|
|
4967
5005
|
}
|
|
4968
5006
|
),
|
|
4969
|
-
/* @__PURE__ */
|
|
5007
|
+
/* @__PURE__ */ jsx5("span", { className: styles_module_default2.buttonTooltip, children: "Settings" })
|
|
4970
5008
|
] }),
|
|
4971
|
-
/* @__PURE__ */
|
|
5009
|
+
/* @__PURE__ */ jsx5(
|
|
4972
5010
|
"div",
|
|
4973
5011
|
{
|
|
4974
|
-
className:
|
|
5012
|
+
className: styles_module_default2.divider
|
|
4975
5013
|
}
|
|
4976
5014
|
),
|
|
4977
|
-
/* @__PURE__ */
|
|
5015
|
+
/* @__PURE__ */ jsxs4(
|
|
4978
5016
|
"div",
|
|
4979
5017
|
{
|
|
4980
5018
|
className: `${styles_module_default2.buttonWrapper} ${toolbarPosition && typeof window !== "undefined" && toolbarPosition.x > window.innerWidth - 120 ? styles_module_default2.buttonWrapperAlignRight : ""}`,
|
|
4981
5019
|
children: [
|
|
4982
|
-
/* @__PURE__ */
|
|
5020
|
+
/* @__PURE__ */ jsx5(
|
|
4983
5021
|
"button",
|
|
4984
5022
|
{
|
|
4985
|
-
className:
|
|
5023
|
+
className: styles_module_default2.controlButton,
|
|
4986
5024
|
onClick: (e) => {
|
|
4987
5025
|
e.stopPropagation();
|
|
4988
5026
|
hideTooltipsUntilMouseLeave();
|
|
4989
5027
|
setIsActive(false);
|
|
4990
5028
|
},
|
|
4991
|
-
children: /* @__PURE__ */
|
|
5029
|
+
children: /* @__PURE__ */ jsx5(IconXmarkLarge, { size: 24 })
|
|
4992
5030
|
}
|
|
4993
5031
|
),
|
|
4994
|
-
/* @__PURE__ */
|
|
5032
|
+
/* @__PURE__ */ jsxs4("span", { className: styles_module_default2.buttonTooltip, children: [
|
|
4995
5033
|
"Exit",
|
|
4996
|
-
/* @__PURE__ */
|
|
5034
|
+
/* @__PURE__ */ jsx5("span", { className: styles_module_default2.shortcut, children: "Esc" })
|
|
4997
5035
|
] })
|
|
4998
5036
|
]
|
|
4999
5037
|
}
|
|
@@ -5001,77 +5039,73 @@ function PageFeedbackToolbarCSS({
|
|
|
5001
5039
|
]
|
|
5002
5040
|
}
|
|
5003
5041
|
),
|
|
5004
|
-
/* @__PURE__ */
|
|
5042
|
+
/* @__PURE__ */ jsx5(
|
|
5005
5043
|
"div",
|
|
5006
5044
|
{
|
|
5007
|
-
className: `${styles_module_default2.settingsPanel} ${
|
|
5045
|
+
className: `${styles_module_default2.settingsPanel} ${showSettingsVisible ? styles_module_default2.enter : styles_module_default2.exit}`,
|
|
5008
5046
|
onClick: (e) => e.stopPropagation(),
|
|
5009
5047
|
style: toolbarPosition && toolbarPosition.y < 230 ? {
|
|
5010
5048
|
bottom: "auto",
|
|
5011
5049
|
top: "calc(100% + 0.5rem)"
|
|
5012
5050
|
} : void 0,
|
|
5013
|
-
children: /* @__PURE__ */
|
|
5051
|
+
children: /* @__PURE__ */ jsxs4(
|
|
5014
5052
|
"div",
|
|
5015
5053
|
{
|
|
5016
|
-
className:
|
|
5054
|
+
className: styles_module_default2.settingsPanelContainer,
|
|
5017
5055
|
children: [
|
|
5018
|
-
/* @__PURE__ */
|
|
5056
|
+
/* @__PURE__ */ jsxs4(
|
|
5019
5057
|
"div",
|
|
5020
5058
|
{
|
|
5021
5059
|
className: `${styles_module_default2.settingsPage} ${settingsPage === "automations" ? styles_module_default2.slideLeft : ""}`,
|
|
5022
5060
|
children: [
|
|
5023
|
-
/* @__PURE__ */
|
|
5024
|
-
/* @__PURE__ */
|
|
5025
|
-
/* @__PURE__ */
|
|
5061
|
+
/* @__PURE__ */ jsxs4("div", { className: styles_module_default2.settingsHeader, children: [
|
|
5062
|
+
/* @__PURE__ */ jsxs4("span", { className: styles_module_default2.settingsBrand, children: [
|
|
5063
|
+
/* @__PURE__ */ jsx5(
|
|
5026
5064
|
"span",
|
|
5027
5065
|
{
|
|
5028
5066
|
className: styles_module_default2.settingsBrandSlash,
|
|
5029
|
-
style: {
|
|
5030
|
-
color: settings.annotationColor,
|
|
5031
|
-
transition: "color 0.2s ease"
|
|
5032
|
-
},
|
|
5033
5067
|
children: "/"
|
|
5034
5068
|
}
|
|
5035
5069
|
),
|
|
5036
5070
|
"agentation"
|
|
5037
5071
|
] }),
|
|
5038
|
-
/* @__PURE__ */
|
|
5072
|
+
/* @__PURE__ */ jsxs4("span", { className: styles_module_default2.settingsVersion, children: [
|
|
5039
5073
|
"v",
|
|
5040
|
-
"2.3.
|
|
5074
|
+
"2.3.3"
|
|
5041
5075
|
] }),
|
|
5042
|
-
/* @__PURE__ */
|
|
5076
|
+
/* @__PURE__ */ jsx5(
|
|
5043
5077
|
"button",
|
|
5044
5078
|
{
|
|
5045
5079
|
className: styles_module_default2.themeToggle,
|
|
5046
|
-
onClick:
|
|
5080
|
+
onClick: toggleTheme,
|
|
5047
5081
|
title: isDarkMode ? "Switch to light mode" : "Switch to dark mode",
|
|
5048
|
-
children: /* @__PURE__ */
|
|
5082
|
+
children: /* @__PURE__ */ jsx5("span", { className: styles_module_default2.themeIconWrapper, children: /* @__PURE__ */ jsx5(
|
|
5049
5083
|
"span",
|
|
5050
5084
|
{
|
|
5051
5085
|
className: styles_module_default2.themeIcon,
|
|
5052
|
-
children: isDarkMode ? /* @__PURE__ */
|
|
5086
|
+
children: isDarkMode ? /* @__PURE__ */ jsx5(IconSun, { size: 20 }) : /* @__PURE__ */ jsx5(IconMoon, { size: 20 })
|
|
5053
5087
|
},
|
|
5054
5088
|
isDarkMode ? "sun" : "moon"
|
|
5055
5089
|
) })
|
|
5056
5090
|
}
|
|
5057
5091
|
)
|
|
5058
5092
|
] }),
|
|
5059
|
-
/* @__PURE__ */
|
|
5060
|
-
/* @__PURE__ */
|
|
5061
|
-
/* @__PURE__ */
|
|
5093
|
+
/* @__PURE__ */ jsxs4("div", { className: styles_module_default2.settingsSection, children: [
|
|
5094
|
+
/* @__PURE__ */ jsxs4("div", { className: styles_module_default2.settingsRow, children: [
|
|
5095
|
+
/* @__PURE__ */ jsxs4(
|
|
5062
5096
|
"div",
|
|
5063
5097
|
{
|
|
5064
|
-
className:
|
|
5098
|
+
className: styles_module_default2.settingsLabel,
|
|
5065
5099
|
children: [
|
|
5066
5100
|
"Output Detail",
|
|
5067
|
-
/* @__PURE__ */
|
|
5101
|
+
/* @__PURE__ */ jsx5(HelpTooltip, { content: "Controls how much detail is included in the copied output" })
|
|
5068
5102
|
]
|
|
5069
5103
|
}
|
|
5070
5104
|
),
|
|
5071
|
-
/* @__PURE__ */
|
|
5105
|
+
/* @__PURE__ */ jsxs4(
|
|
5072
5106
|
"button",
|
|
5073
5107
|
{
|
|
5074
|
-
className:
|
|
5108
|
+
className: styles_module_default2.cycleButton,
|
|
5075
5109
|
onClick: () => {
|
|
5076
5110
|
const currentIndex = OUTPUT_DETAIL_OPTIONS.findIndex(
|
|
5077
5111
|
(opt) => opt.value === settings.outputDetail
|
|
@@ -5083,7 +5117,7 @@ function PageFeedbackToolbarCSS({
|
|
|
5083
5117
|
}));
|
|
5084
5118
|
},
|
|
5085
5119
|
children: [
|
|
5086
|
-
/* @__PURE__ */
|
|
5120
|
+
/* @__PURE__ */ jsx5(
|
|
5087
5121
|
"span",
|
|
5088
5122
|
{
|
|
5089
5123
|
className: styles_module_default2.cycleButtonText,
|
|
@@ -5093,10 +5127,10 @@ function PageFeedbackToolbarCSS({
|
|
|
5093
5127
|
},
|
|
5094
5128
|
settings.outputDetail
|
|
5095
5129
|
),
|
|
5096
|
-
/* @__PURE__ */
|
|
5130
|
+
/* @__PURE__ */ jsx5("span", { className: styles_module_default2.cycleDots, children: OUTPUT_DETAIL_OPTIONS.map((option, i) => /* @__PURE__ */ jsx5(
|
|
5097
5131
|
"span",
|
|
5098
5132
|
{
|
|
5099
|
-
className: `${styles_module_default2.cycleDot} ${
|
|
5133
|
+
className: `${styles_module_default2.cycleDot} ${settings.outputDetail === option.value ? styles_module_default2.active : ""}`
|
|
5100
5134
|
},
|
|
5101
5135
|
option.value
|
|
5102
5136
|
)) })
|
|
@@ -5104,33 +5138,32 @@ function PageFeedbackToolbarCSS({
|
|
|
5104
5138
|
}
|
|
5105
5139
|
)
|
|
5106
5140
|
] }),
|
|
5107
|
-
/* @__PURE__ */
|
|
5141
|
+
/* @__PURE__ */ jsxs4(
|
|
5108
5142
|
"div",
|
|
5109
5143
|
{
|
|
5110
5144
|
className: `${styles_module_default2.settingsRow} ${styles_module_default2.settingsRowMarginTop} ${!isDevMode ? styles_module_default2.settingsRowDisabled : ""}`,
|
|
5111
5145
|
children: [
|
|
5112
|
-
/* @__PURE__ */
|
|
5146
|
+
/* @__PURE__ */ jsxs4(
|
|
5113
5147
|
"div",
|
|
5114
5148
|
{
|
|
5115
|
-
className:
|
|
5149
|
+
className: styles_module_default2.settingsLabel,
|
|
5116
5150
|
children: [
|
|
5117
5151
|
"React Components",
|
|
5118
|
-
/* @__PURE__ */
|
|
5119
|
-
|
|
5152
|
+
/* @__PURE__ */ jsx5(
|
|
5153
|
+
HelpTooltip,
|
|
5120
5154
|
{
|
|
5121
|
-
content: !isDevMode ? "Disabled \u2014 production builds minify component names, making detection unreliable. Use in development mode." : "Include React component names in annotations"
|
|
5122
|
-
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"
|
|
5123
5156
|
}
|
|
5124
5157
|
)
|
|
5125
5158
|
]
|
|
5126
5159
|
}
|
|
5127
5160
|
),
|
|
5128
|
-
/* @__PURE__ */
|
|
5161
|
+
/* @__PURE__ */ jsxs4(
|
|
5129
5162
|
"label",
|
|
5130
5163
|
{
|
|
5131
5164
|
className: `${styles_module_default2.toggleSwitch} ${!isDevMode ? styles_module_default2.disabled : ""}`,
|
|
5132
5165
|
children: [
|
|
5133
|
-
/* @__PURE__ */
|
|
5166
|
+
/* @__PURE__ */ jsx5(
|
|
5134
5167
|
"input",
|
|
5135
5168
|
{
|
|
5136
5169
|
type: "checkbox",
|
|
@@ -5142,26 +5175,26 @@ function PageFeedbackToolbarCSS({
|
|
|
5142
5175
|
}))
|
|
5143
5176
|
}
|
|
5144
5177
|
),
|
|
5145
|
-
/* @__PURE__ */
|
|
5178
|
+
/* @__PURE__ */ jsx5("span", { className: styles_module_default2.toggleSlider })
|
|
5146
5179
|
]
|
|
5147
5180
|
}
|
|
5148
5181
|
)
|
|
5149
5182
|
]
|
|
5150
5183
|
}
|
|
5151
5184
|
),
|
|
5152
|
-
/* @__PURE__ */
|
|
5153
|
-
/* @__PURE__ */
|
|
5185
|
+
/* @__PURE__ */ jsxs4("div", { className: `${styles_module_default2.settingsRow} ${styles_module_default2.settingsRowMarginTop}`, children: [
|
|
5186
|
+
/* @__PURE__ */ jsxs4(
|
|
5154
5187
|
"div",
|
|
5155
5188
|
{
|
|
5156
|
-
className:
|
|
5189
|
+
className: styles_module_default2.settingsLabel,
|
|
5157
5190
|
children: [
|
|
5158
5191
|
"Hide Until Restart",
|
|
5159
|
-
/* @__PURE__ */
|
|
5192
|
+
/* @__PURE__ */ jsx5(HelpTooltip, { content: "Hides the toolbar until you open a new tab" })
|
|
5160
5193
|
]
|
|
5161
5194
|
}
|
|
5162
5195
|
),
|
|
5163
|
-
/* @__PURE__ */
|
|
5164
|
-
/* @__PURE__ */
|
|
5196
|
+
/* @__PURE__ */ jsxs4("label", { className: styles_module_default2.toggleSwitch, children: [
|
|
5197
|
+
/* @__PURE__ */ jsx5(
|
|
5165
5198
|
"input",
|
|
5166
5199
|
{
|
|
5167
5200
|
type: "checkbox",
|
|
@@ -5173,45 +5206,42 @@ function PageFeedbackToolbarCSS({
|
|
|
5173
5206
|
}
|
|
5174
5207
|
}
|
|
5175
5208
|
),
|
|
5176
|
-
/* @__PURE__ */
|
|
5209
|
+
/* @__PURE__ */ jsx5("span", { className: styles_module_default2.toggleSlider })
|
|
5177
5210
|
] })
|
|
5178
5211
|
] })
|
|
5179
5212
|
] }),
|
|
5180
|
-
/* @__PURE__ */
|
|
5181
|
-
/* @__PURE__ */
|
|
5213
|
+
/* @__PURE__ */ jsxs4("div", { className: styles_module_default2.settingsSection, children: [
|
|
5214
|
+
/* @__PURE__ */ jsx5(
|
|
5182
5215
|
"div",
|
|
5183
5216
|
{
|
|
5184
|
-
className: `${styles_module_default2.settingsLabel} ${styles_module_default2.settingsLabelMarker}
|
|
5185
|
-
children: "Marker
|
|
5217
|
+
className: `${styles_module_default2.settingsLabel} ${styles_module_default2.settingsLabelMarker}`,
|
|
5218
|
+
children: "Marker Color"
|
|
5186
5219
|
}
|
|
5187
5220
|
),
|
|
5188
|
-
/* @__PURE__ */
|
|
5221
|
+
/* @__PURE__ */ jsx5("div", { className: styles_module_default2.colorOptions, children: COLOR_OPTIONS.map((color) => /* @__PURE__ */ jsx5(
|
|
5189
5222
|
"div",
|
|
5190
5223
|
{
|
|
5191
5224
|
role: "button",
|
|
5192
|
-
onClick: () => setSettings((s) => ({
|
|
5193
|
-
...s,
|
|
5194
|
-
annotationColor: color.value
|
|
5195
|
-
})),
|
|
5225
|
+
onClick: () => setSettings((s) => ({ ...s, annotationColorId: color.id })),
|
|
5196
5226
|
style: {
|
|
5197
|
-
|
|
5227
|
+
"--swatch": color.srgb,
|
|
5228
|
+
"--swatch-p3": color.p3
|
|
5198
5229
|
},
|
|
5199
|
-
className: `${styles_module_default2.colorOptionRing} ${settings.
|
|
5200
|
-
children: /* @__PURE__ */
|
|
5230
|
+
className: `${styles_module_default2.colorOptionRing} ${settings.annotationColorId === color.id ? styles_module_default2.selected : ""}`,
|
|
5231
|
+
children: /* @__PURE__ */ jsx5(
|
|
5201
5232
|
"div",
|
|
5202
5233
|
{
|
|
5203
|
-
className: `${styles_module_default2.colorOption} ${settings.
|
|
5204
|
-
style: { backgroundColor: color.value },
|
|
5234
|
+
className: `${styles_module_default2.colorOption} ${settings.annotationColorId === color.id ? styles_module_default2.selected : ""}`,
|
|
5205
5235
|
title: color.label
|
|
5206
5236
|
}
|
|
5207
5237
|
)
|
|
5208
5238
|
},
|
|
5209
|
-
color.
|
|
5239
|
+
color.id
|
|
5210
5240
|
)) })
|
|
5211
5241
|
] }),
|
|
5212
|
-
/* @__PURE__ */
|
|
5213
|
-
/* @__PURE__ */
|
|
5214
|
-
/* @__PURE__ */
|
|
5242
|
+
/* @__PURE__ */ jsxs4("div", { className: styles_module_default2.settingsSection, children: [
|
|
5243
|
+
/* @__PURE__ */ jsxs4("label", { className: styles_module_default2.settingsToggle, children: [
|
|
5244
|
+
/* @__PURE__ */ jsx5(
|
|
5215
5245
|
"input",
|
|
5216
5246
|
{
|
|
5217
5247
|
type: "checkbox",
|
|
@@ -5223,37 +5253,31 @@ function PageFeedbackToolbarCSS({
|
|
|
5223
5253
|
}))
|
|
5224
5254
|
}
|
|
5225
5255
|
),
|
|
5226
|
-
/* @__PURE__ */
|
|
5256
|
+
/* @__PURE__ */ jsx5(
|
|
5227
5257
|
"label",
|
|
5228
5258
|
{
|
|
5229
5259
|
className: `${styles_module_default2.customCheckbox} ${settings.autoClearAfterCopy ? styles_module_default2.checked : ""}`,
|
|
5230
5260
|
htmlFor: "autoClearAfterCopy",
|
|
5231
|
-
children: settings.autoClearAfterCopy && /* @__PURE__ */
|
|
5261
|
+
children: settings.autoClearAfterCopy && /* @__PURE__ */ jsx5(IconCheckSmallAnimated, { size: 14 })
|
|
5232
5262
|
}
|
|
5233
5263
|
),
|
|
5234
|
-
/* @__PURE__ */
|
|
5264
|
+
/* @__PURE__ */ jsxs4(
|
|
5235
5265
|
"span",
|
|
5236
5266
|
{
|
|
5237
|
-
className:
|
|
5267
|
+
className: styles_module_default2.toggleLabel,
|
|
5238
5268
|
children: [
|
|
5239
5269
|
"Clear on copy/send",
|
|
5240
|
-
/* @__PURE__ */
|
|
5241
|
-
"span",
|
|
5242
|
-
{
|
|
5243
|
-
className: `${styles_module_default2.helpIcon} ${styles_module_default2.helpIconNudge2}`,
|
|
5244
|
-
children: /* @__PURE__ */ jsx3(IconHelp, { size: 20 })
|
|
5245
|
-
}
|
|
5246
|
-
) })
|
|
5270
|
+
/* @__PURE__ */ jsx5(HelpTooltip, { content: "Automatically clear annotations after copying" })
|
|
5247
5271
|
]
|
|
5248
5272
|
}
|
|
5249
5273
|
)
|
|
5250
5274
|
] }),
|
|
5251
|
-
/* @__PURE__ */
|
|
5275
|
+
/* @__PURE__ */ jsxs4(
|
|
5252
5276
|
"label",
|
|
5253
5277
|
{
|
|
5254
5278
|
className: `${styles_module_default2.settingsToggle} ${styles_module_default2.settingsToggleMarginBottom}`,
|
|
5255
5279
|
children: [
|
|
5256
|
-
/* @__PURE__ */
|
|
5280
|
+
/* @__PURE__ */ jsx5(
|
|
5257
5281
|
"input",
|
|
5258
5282
|
{
|
|
5259
5283
|
type: "checkbox",
|
|
@@ -5265,18 +5289,18 @@ function PageFeedbackToolbarCSS({
|
|
|
5265
5289
|
}))
|
|
5266
5290
|
}
|
|
5267
5291
|
),
|
|
5268
|
-
/* @__PURE__ */
|
|
5292
|
+
/* @__PURE__ */ jsx5(
|
|
5269
5293
|
"label",
|
|
5270
5294
|
{
|
|
5271
5295
|
className: `${styles_module_default2.customCheckbox} ${settings.blockInteractions ? styles_module_default2.checked : ""}`,
|
|
5272
5296
|
htmlFor: "blockInteractions",
|
|
5273
|
-
children: settings.blockInteractions && /* @__PURE__ */
|
|
5297
|
+
children: settings.blockInteractions && /* @__PURE__ */ jsx5(IconCheckSmallAnimated, { size: 14 })
|
|
5274
5298
|
}
|
|
5275
5299
|
),
|
|
5276
|
-
/* @__PURE__ */
|
|
5300
|
+
/* @__PURE__ */ jsx5(
|
|
5277
5301
|
"span",
|
|
5278
5302
|
{
|
|
5279
|
-
className:
|
|
5303
|
+
className: styles_module_default2.toggleLabel,
|
|
5280
5304
|
children: "Block page interactions"
|
|
5281
5305
|
}
|
|
5282
5306
|
)
|
|
@@ -5284,25 +5308,25 @@ function PageFeedbackToolbarCSS({
|
|
|
5284
5308
|
}
|
|
5285
5309
|
)
|
|
5286
5310
|
] }),
|
|
5287
|
-
/* @__PURE__ */
|
|
5311
|
+
/* @__PURE__ */ jsx5(
|
|
5288
5312
|
"div",
|
|
5289
5313
|
{
|
|
5290
5314
|
className: `${styles_module_default2.settingsSection} ${styles_module_default2.settingsSectionExtraPadding}`,
|
|
5291
|
-
children: /* @__PURE__ */
|
|
5315
|
+
children: /* @__PURE__ */ jsxs4(
|
|
5292
5316
|
"button",
|
|
5293
5317
|
{
|
|
5294
|
-
className:
|
|
5318
|
+
className: styles_module_default2.settingsNavLink,
|
|
5295
5319
|
onClick: () => setSettingsPage("automations"),
|
|
5296
5320
|
children: [
|
|
5297
|
-
/* @__PURE__ */
|
|
5298
|
-
/* @__PURE__ */
|
|
5299
|
-
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(
|
|
5300
5324
|
"span",
|
|
5301
5325
|
{
|
|
5302
5326
|
className: `${styles_module_default2.mcpNavIndicator} ${styles_module_default2[connectionStatus]}`
|
|
5303
5327
|
}
|
|
5304
5328
|
),
|
|
5305
|
-
/* @__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" }) })
|
|
5306
5330
|
] })
|
|
5307
5331
|
]
|
|
5308
5332
|
}
|
|
@@ -5312,41 +5336,35 @@ function PageFeedbackToolbarCSS({
|
|
|
5312
5336
|
]
|
|
5313
5337
|
}
|
|
5314
5338
|
),
|
|
5315
|
-
/* @__PURE__ */
|
|
5339
|
+
/* @__PURE__ */ jsxs4(
|
|
5316
5340
|
"div",
|
|
5317
5341
|
{
|
|
5318
5342
|
className: `${styles_module_default2.settingsPage} ${styles_module_default2.automationsPage} ${settingsPage === "automations" ? styles_module_default2.slideIn : ""}`,
|
|
5319
5343
|
children: [
|
|
5320
|
-
/* @__PURE__ */
|
|
5344
|
+
/* @__PURE__ */ jsxs4(
|
|
5321
5345
|
"button",
|
|
5322
5346
|
{
|
|
5323
|
-
className:
|
|
5347
|
+
className: styles_module_default2.settingsBackButton,
|
|
5324
5348
|
onClick: () => setSettingsPage("main"),
|
|
5325
5349
|
children: [
|
|
5326
|
-
/* @__PURE__ */
|
|
5327
|
-
/* @__PURE__ */
|
|
5350
|
+
/* @__PURE__ */ jsx5(IconChevronLeft, { size: 16 }),
|
|
5351
|
+
/* @__PURE__ */ jsx5("span", { children: "Manage MCP & Webhooks" })
|
|
5328
5352
|
]
|
|
5329
5353
|
}
|
|
5330
5354
|
),
|
|
5331
|
-
/* @__PURE__ */
|
|
5332
|
-
/* @__PURE__ */
|
|
5333
|
-
/* @__PURE__ */
|
|
5355
|
+
/* @__PURE__ */ jsxs4("div", { className: styles_module_default2.settingsSection, children: [
|
|
5356
|
+
/* @__PURE__ */ jsxs4("div", { className: styles_module_default2.settingsRow, children: [
|
|
5357
|
+
/* @__PURE__ */ jsxs4(
|
|
5334
5358
|
"span",
|
|
5335
5359
|
{
|
|
5336
|
-
className:
|
|
5360
|
+
className: styles_module_default2.automationHeader,
|
|
5337
5361
|
children: [
|
|
5338
5362
|
"MCP Connection",
|
|
5339
|
-
/* @__PURE__ */
|
|
5340
|
-
"span",
|
|
5341
|
-
{
|
|
5342
|
-
className: `${styles_module_default2.helpIcon} ${styles_module_default2.helpIconNudgeDown}`,
|
|
5343
|
-
children: /* @__PURE__ */ jsx3(IconHelp, { size: 20 })
|
|
5344
|
-
}
|
|
5345
|
-
) })
|
|
5363
|
+
/* @__PURE__ */ jsx5(HelpTooltip, { content: "Connect via Model Context Protocol to let AI agents like Claude Code receive annotations in real-time." })
|
|
5346
5364
|
]
|
|
5347
5365
|
}
|
|
5348
5366
|
),
|
|
5349
|
-
endpoint && /* @__PURE__ */
|
|
5367
|
+
endpoint && /* @__PURE__ */ jsx5(
|
|
5350
5368
|
"div",
|
|
5351
5369
|
{
|
|
5352
5370
|
className: `${styles_module_default2.mcpStatusDot} ${styles_module_default2[connectionStatus]}`,
|
|
@@ -5354,21 +5372,21 @@ function PageFeedbackToolbarCSS({
|
|
|
5354
5372
|
}
|
|
5355
5373
|
)
|
|
5356
5374
|
] }),
|
|
5357
|
-
/* @__PURE__ */
|
|
5375
|
+
/* @__PURE__ */ jsxs4(
|
|
5358
5376
|
"p",
|
|
5359
5377
|
{
|
|
5360
|
-
className:
|
|
5378
|
+
className: styles_module_default2.automationDescription,
|
|
5361
5379
|
style: { paddingBottom: 6 },
|
|
5362
5380
|
children: [
|
|
5363
5381
|
"MCP connection allows agents to receive and act on annotations.",
|
|
5364
5382
|
" ",
|
|
5365
|
-
/* @__PURE__ */
|
|
5383
|
+
/* @__PURE__ */ jsx5(
|
|
5366
5384
|
"a",
|
|
5367
5385
|
{
|
|
5368
5386
|
href: "https://agentation.dev/mcp",
|
|
5369
5387
|
target: "_blank",
|
|
5370
5388
|
rel: "noopener noreferrer",
|
|
5371
|
-
className:
|
|
5389
|
+
className: styles_module_default2.learnMoreLink,
|
|
5372
5390
|
children: "Learn more"
|
|
5373
5391
|
}
|
|
5374
5392
|
)
|
|
@@ -5376,42 +5394,36 @@ function PageFeedbackToolbarCSS({
|
|
|
5376
5394
|
}
|
|
5377
5395
|
)
|
|
5378
5396
|
] }),
|
|
5379
|
-
/* @__PURE__ */
|
|
5397
|
+
/* @__PURE__ */ jsxs4(
|
|
5380
5398
|
"div",
|
|
5381
5399
|
{
|
|
5382
5400
|
className: `${styles_module_default2.settingsSection} ${styles_module_default2.settingsSectionGrow}`,
|
|
5383
5401
|
children: [
|
|
5384
|
-
/* @__PURE__ */
|
|
5385
|
-
/* @__PURE__ */
|
|
5402
|
+
/* @__PURE__ */ jsxs4("div", { className: styles_module_default2.settingsRow, children: [
|
|
5403
|
+
/* @__PURE__ */ jsxs4(
|
|
5386
5404
|
"span",
|
|
5387
5405
|
{
|
|
5388
|
-
className:
|
|
5406
|
+
className: styles_module_default2.automationHeader,
|
|
5389
5407
|
children: [
|
|
5390
5408
|
"Webhooks",
|
|
5391
|
-
/* @__PURE__ */
|
|
5392
|
-
"span",
|
|
5393
|
-
{
|
|
5394
|
-
className: `${styles_module_default2.helpIcon} ${styles_module_default2.helpIconNoNudge}`,
|
|
5395
|
-
children: /* @__PURE__ */ jsx3(IconHelp, { size: 20 })
|
|
5396
|
-
}
|
|
5397
|
-
) })
|
|
5409
|
+
/* @__PURE__ */ jsx5(HelpTooltip, { content: "Send annotation data to any URL endpoint when annotations change. Useful for custom integrations." })
|
|
5398
5410
|
]
|
|
5399
5411
|
}
|
|
5400
5412
|
),
|
|
5401
|
-
/* @__PURE__ */
|
|
5402
|
-
/* @__PURE__ */
|
|
5413
|
+
/* @__PURE__ */ jsxs4("div", { className: styles_module_default2.autoSendRow, children: [
|
|
5414
|
+
/* @__PURE__ */ jsx5(
|
|
5403
5415
|
"span",
|
|
5404
5416
|
{
|
|
5405
|
-
className: `${styles_module_default2.autoSendLabel} ${
|
|
5417
|
+
className: `${styles_module_default2.autoSendLabel} ${settings.webhooksEnabled ? styles_module_default2.active : ""}`,
|
|
5406
5418
|
children: "Auto-Send"
|
|
5407
5419
|
}
|
|
5408
5420
|
),
|
|
5409
|
-
/* @__PURE__ */
|
|
5421
|
+
/* @__PURE__ */ jsxs4(
|
|
5410
5422
|
"label",
|
|
5411
5423
|
{
|
|
5412
5424
|
className: `${styles_module_default2.toggleSwitch} ${!settings.webhookUrl ? styles_module_default2.disabled : ""}`,
|
|
5413
5425
|
children: [
|
|
5414
|
-
/* @__PURE__ */
|
|
5426
|
+
/* @__PURE__ */ jsx5(
|
|
5415
5427
|
"input",
|
|
5416
5428
|
{
|
|
5417
5429
|
type: "checkbox",
|
|
@@ -5423,28 +5435,25 @@ function PageFeedbackToolbarCSS({
|
|
|
5423
5435
|
}))
|
|
5424
5436
|
}
|
|
5425
5437
|
),
|
|
5426
|
-
/* @__PURE__ */
|
|
5438
|
+
/* @__PURE__ */ jsx5("span", { className: styles_module_default2.toggleSlider })
|
|
5427
5439
|
]
|
|
5428
5440
|
}
|
|
5429
5441
|
)
|
|
5430
5442
|
] })
|
|
5431
5443
|
] }),
|
|
5432
|
-
/* @__PURE__ */
|
|
5444
|
+
/* @__PURE__ */ jsx5(
|
|
5433
5445
|
"p",
|
|
5434
5446
|
{
|
|
5435
|
-
className:
|
|
5447
|
+
className: styles_module_default2.automationDescription,
|
|
5436
5448
|
children: "The webhook URL will receive live annotation changes and annotation data."
|
|
5437
5449
|
}
|
|
5438
5450
|
),
|
|
5439
|
-
/* @__PURE__ */
|
|
5451
|
+
/* @__PURE__ */ jsx5(
|
|
5440
5452
|
"textarea",
|
|
5441
5453
|
{
|
|
5442
|
-
className:
|
|
5454
|
+
className: styles_module_default2.webhookUrlInput,
|
|
5443
5455
|
placeholder: "Webhook URL",
|
|
5444
5456
|
value: settings.webhookUrl,
|
|
5445
|
-
style: {
|
|
5446
|
-
"--marker-color": settings.annotationColor
|
|
5447
|
-
},
|
|
5448
5457
|
onKeyDown: (e) => e.stopPropagation(),
|
|
5449
5458
|
onChange: (e) => setSettings((s) => ({
|
|
5450
5459
|
...s,
|
|
@@ -5468,20 +5477,20 @@ function PageFeedbackToolbarCSS({
|
|
|
5468
5477
|
)
|
|
5469
5478
|
}
|
|
5470
5479
|
),
|
|
5471
|
-
/* @__PURE__ */
|
|
5480
|
+
/* @__PURE__ */ jsxs4("div", { className: styles_module_default2.markersLayer, "data-feedback-toolbar": true, children: [
|
|
5472
5481
|
markersVisible && visibleAnnotations.filter((a) => !a.isFixed).map((annotation, index) => {
|
|
5473
5482
|
const isHovered = !markersExiting && hoveredMarkerId === annotation.id;
|
|
5474
5483
|
const isDeleting = deletingMarkerId === annotation.id;
|
|
5475
5484
|
const showDeleteState = (isHovered || isDeleting) && !editingAnnotation;
|
|
5476
5485
|
const isMulti = annotation.isMultiSelect;
|
|
5477
|
-
const markerColor = isMulti ? "
|
|
5486
|
+
const markerColor = isMulti ? "var(--agentation-color-green)" : "var(--agentation-color-accent)";
|
|
5478
5487
|
const globalIndex = annotations.findIndex(
|
|
5479
5488
|
(a) => a.id === annotation.id
|
|
5480
5489
|
);
|
|
5481
5490
|
const needsEnterAnimation = !animatedMarkers.has(annotation.id);
|
|
5482
5491
|
const animClass = markersExiting ? styles_module_default2.exit : isClearing ? styles_module_default2.clearing : needsEnterAnimation ? styles_module_default2.enter : "";
|
|
5483
5492
|
const showDeleteHover = showDeleteState && settings.markerClickBehavior === "delete";
|
|
5484
|
-
return /* @__PURE__ */
|
|
5493
|
+
return /* @__PURE__ */ jsxs4(
|
|
5485
5494
|
"div",
|
|
5486
5495
|
{
|
|
5487
5496
|
className: `${styles_module_default2.marker} ${isMulti ? styles_module_default2.multiSelect : ""} ${animClass} ${showDeleteHover ? styles_module_default2.hovered : ""}`,
|
|
@@ -5512,24 +5521,24 @@ function PageFeedbackToolbarCSS({
|
|
|
5512
5521
|
}
|
|
5513
5522
|
},
|
|
5514
5523
|
children: [
|
|
5515
|
-
showDeleteState ? showDeleteHover ? /* @__PURE__ */
|
|
5524
|
+
showDeleteState ? showDeleteHover ? /* @__PURE__ */ jsx5(IconXmark, { size: isMulti ? 18 : 16 }) : /* @__PURE__ */ jsx5(IconEdit, { size: 16 }) : /* @__PURE__ */ jsx5(
|
|
5516
5525
|
"span",
|
|
5517
5526
|
{
|
|
5518
5527
|
className: renumberFrom !== null && globalIndex >= renumberFrom ? styles_module_default2.renumber : void 0,
|
|
5519
5528
|
children: globalIndex + 1
|
|
5520
5529
|
}
|
|
5521
5530
|
),
|
|
5522
|
-
isHovered && !editingAnnotation && /* @__PURE__ */
|
|
5531
|
+
isHovered && !editingAnnotation && /* @__PURE__ */ jsxs4(
|
|
5523
5532
|
"div",
|
|
5524
5533
|
{
|
|
5525
|
-
className: `${styles_module_default2.markerTooltip} ${
|
|
5534
|
+
className: `${styles_module_default2.markerTooltip} ${styles_module_default2.enter}`,
|
|
5526
5535
|
style: getTooltipPosition(annotation),
|
|
5527
5536
|
children: [
|
|
5528
|
-
/* @__PURE__ */
|
|
5537
|
+
/* @__PURE__ */ jsxs4("span", { className: styles_module_default2.markerQuote, children: [
|
|
5529
5538
|
annotation.element,
|
|
5530
5539
|
annotation.selectedText && ` "${annotation.selectedText.slice(0, 30)}${annotation.selectedText.length > 30 ? "..." : ""}"`
|
|
5531
5540
|
] }),
|
|
5532
|
-
/* @__PURE__ */
|
|
5541
|
+
/* @__PURE__ */ jsx5("span", { className: styles_module_default2.markerNote, children: annotation.comment })
|
|
5533
5542
|
]
|
|
5534
5543
|
}
|
|
5535
5544
|
)
|
|
@@ -5540,7 +5549,7 @@ function PageFeedbackToolbarCSS({
|
|
|
5540
5549
|
}),
|
|
5541
5550
|
markersVisible && !markersExiting && exitingAnnotationsList.filter((a) => !a.isFixed).map((annotation) => {
|
|
5542
5551
|
const isMulti = annotation.isMultiSelect;
|
|
5543
|
-
return /* @__PURE__ */
|
|
5552
|
+
return /* @__PURE__ */ jsx5(
|
|
5544
5553
|
"div",
|
|
5545
5554
|
{
|
|
5546
5555
|
className: `${styles_module_default2.marker} ${styles_module_default2.hovered} ${isMulti ? styles_module_default2.multiSelect : ""} ${styles_module_default2.exit}`,
|
|
@@ -5549,13 +5558,13 @@ function PageFeedbackToolbarCSS({
|
|
|
5549
5558
|
left: `${annotation.x}%`,
|
|
5550
5559
|
top: annotation.y
|
|
5551
5560
|
},
|
|
5552
|
-
children: /* @__PURE__ */
|
|
5561
|
+
children: /* @__PURE__ */ jsx5(IconXmark, { size: isMulti ? 12 : 10 })
|
|
5553
5562
|
},
|
|
5554
5563
|
annotation.id
|
|
5555
5564
|
);
|
|
5556
5565
|
})
|
|
5557
5566
|
] }),
|
|
5558
|
-
/* @__PURE__ */
|
|
5567
|
+
/* @__PURE__ */ jsxs4("div", { className: styles_module_default2.fixedMarkersLayer, "data-feedback-toolbar": true, children: [
|
|
5559
5568
|
markersVisible && visibleAnnotations.filter((a) => a.isFixed).map((annotation, index) => {
|
|
5560
5569
|
const fixedAnnotations = visibleAnnotations.filter(
|
|
5561
5570
|
(a) => a.isFixed
|
|
@@ -5564,14 +5573,14 @@ function PageFeedbackToolbarCSS({
|
|
|
5564
5573
|
const isDeleting = deletingMarkerId === annotation.id;
|
|
5565
5574
|
const showDeleteState = (isHovered || isDeleting) && !editingAnnotation;
|
|
5566
5575
|
const isMulti = annotation.isMultiSelect;
|
|
5567
|
-
const markerColor = isMulti ? "
|
|
5576
|
+
const markerColor = isMulti ? "var(--agentation-color-green)" : "var(--agentation-color-accent)";
|
|
5568
5577
|
const globalIndex = annotations.findIndex(
|
|
5569
5578
|
(a) => a.id === annotation.id
|
|
5570
5579
|
);
|
|
5571
5580
|
const needsEnterAnimation = !animatedMarkers.has(annotation.id);
|
|
5572
5581
|
const animClass = markersExiting ? styles_module_default2.exit : isClearing ? styles_module_default2.clearing : needsEnterAnimation ? styles_module_default2.enter : "";
|
|
5573
5582
|
const showDeleteHover = showDeleteState && settings.markerClickBehavior === "delete";
|
|
5574
|
-
return /* @__PURE__ */
|
|
5583
|
+
return /* @__PURE__ */ jsxs4(
|
|
5575
5584
|
"div",
|
|
5576
5585
|
{
|
|
5577
5586
|
className: `${styles_module_default2.marker} ${styles_module_default2.fixed} ${isMulti ? styles_module_default2.multiSelect : ""} ${animClass} ${showDeleteHover ? styles_module_default2.hovered : ""}`,
|
|
@@ -5602,24 +5611,24 @@ function PageFeedbackToolbarCSS({
|
|
|
5602
5611
|
}
|
|
5603
5612
|
},
|
|
5604
5613
|
children: [
|
|
5605
|
-
showDeleteState ? showDeleteHover ? /* @__PURE__ */
|
|
5614
|
+
showDeleteState ? showDeleteHover ? /* @__PURE__ */ jsx5(IconXmark, { size: isMulti ? 18 : 16 }) : /* @__PURE__ */ jsx5(IconEdit, { size: 16 }) : /* @__PURE__ */ jsx5(
|
|
5606
5615
|
"span",
|
|
5607
5616
|
{
|
|
5608
5617
|
className: renumberFrom !== null && globalIndex >= renumberFrom ? styles_module_default2.renumber : void 0,
|
|
5609
5618
|
children: globalIndex + 1
|
|
5610
5619
|
}
|
|
5611
5620
|
),
|
|
5612
|
-
isHovered && !editingAnnotation && /* @__PURE__ */
|
|
5621
|
+
isHovered && !editingAnnotation && /* @__PURE__ */ jsxs4(
|
|
5613
5622
|
"div",
|
|
5614
5623
|
{
|
|
5615
|
-
className: `${styles_module_default2.markerTooltip} ${
|
|
5624
|
+
className: `${styles_module_default2.markerTooltip} ${styles_module_default2.enter}`,
|
|
5616
5625
|
style: getTooltipPosition(annotation),
|
|
5617
5626
|
children: [
|
|
5618
|
-
/* @__PURE__ */
|
|
5627
|
+
/* @__PURE__ */ jsxs4("span", { className: styles_module_default2.markerQuote, children: [
|
|
5619
5628
|
annotation.element,
|
|
5620
5629
|
annotation.selectedText && ` "${annotation.selectedText.slice(0, 30)}${annotation.selectedText.length > 30 ? "..." : ""}"`
|
|
5621
5630
|
] }),
|
|
5622
|
-
/* @__PURE__ */
|
|
5631
|
+
/* @__PURE__ */ jsx5("span", { className: styles_module_default2.markerNote, children: annotation.comment })
|
|
5623
5632
|
]
|
|
5624
5633
|
}
|
|
5625
5634
|
)
|
|
@@ -5630,7 +5639,7 @@ function PageFeedbackToolbarCSS({
|
|
|
5630
5639
|
}),
|
|
5631
5640
|
markersVisible && !markersExiting && exitingAnnotationsList.filter((a) => a.isFixed).map((annotation) => {
|
|
5632
5641
|
const isMulti = annotation.isMultiSelect;
|
|
5633
|
-
return /* @__PURE__ */
|
|
5642
|
+
return /* @__PURE__ */ jsx5(
|
|
5634
5643
|
"div",
|
|
5635
5644
|
{
|
|
5636
5645
|
className: `${styles_module_default2.marker} ${styles_module_default2.fixed} ${styles_module_default2.hovered} ${isMulti ? styles_module_default2.multiSelect : ""} ${styles_module_default2.exit}`,
|
|
@@ -5639,20 +5648,20 @@ function PageFeedbackToolbarCSS({
|
|
|
5639
5648
|
left: `${annotation.x}%`,
|
|
5640
5649
|
top: annotation.y
|
|
5641
5650
|
},
|
|
5642
|
-
children: /* @__PURE__ */
|
|
5651
|
+
children: /* @__PURE__ */ jsx5(IconClose, { size: isMulti ? 12 : 10 })
|
|
5643
5652
|
},
|
|
5644
5653
|
annotation.id
|
|
5645
5654
|
);
|
|
5646
5655
|
})
|
|
5647
5656
|
] }),
|
|
5648
|
-
isActive && /* @__PURE__ */
|
|
5657
|
+
isActive && /* @__PURE__ */ jsxs4(
|
|
5649
5658
|
"div",
|
|
5650
5659
|
{
|
|
5651
5660
|
className: styles_module_default2.overlay,
|
|
5652
5661
|
"data-feedback-toolbar": true,
|
|
5653
5662
|
style: pendingAnnotation || editingAnnotation ? { zIndex: 99999 } : void 0,
|
|
5654
5663
|
children: [
|
|
5655
|
-
hoverInfo?.rect && !pendingAnnotation && !isScrolling && !isDragging && /* @__PURE__ */
|
|
5664
|
+
hoverInfo?.rect && !pendingAnnotation && !isScrolling && !isDragging && /* @__PURE__ */ jsx5(
|
|
5656
5665
|
"div",
|
|
5657
5666
|
{
|
|
5658
5667
|
className: `${styles_module_default2.hoverHighlight} ${styles_module_default2.enter}`,
|
|
@@ -5661,15 +5670,15 @@ function PageFeedbackToolbarCSS({
|
|
|
5661
5670
|
top: hoverInfo.rect.top,
|
|
5662
5671
|
width: hoverInfo.rect.width,
|
|
5663
5672
|
height: hoverInfo.rect.height,
|
|
5664
|
-
borderColor:
|
|
5665
|
-
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)"
|
|
5666
5675
|
}
|
|
5667
5676
|
}
|
|
5668
5677
|
),
|
|
5669
5678
|
pendingMultiSelectElements.filter((item) => document.contains(item.element)).map((item, index) => {
|
|
5670
5679
|
const rect = item.element.getBoundingClientRect();
|
|
5671
5680
|
const isMulti = pendingMultiSelectElements.length > 1;
|
|
5672
|
-
return /* @__PURE__ */
|
|
5681
|
+
return /* @__PURE__ */ jsx5(
|
|
5673
5682
|
"div",
|
|
5674
5683
|
{
|
|
5675
5684
|
className: isMulti ? styles_module_default2.multiSelectOutline : styles_module_default2.singleSelectOutline,
|
|
@@ -5680,8 +5689,8 @@ function PageFeedbackToolbarCSS({
|
|
|
5680
5689
|
width: rect.width,
|
|
5681
5690
|
height: rect.height,
|
|
5682
5691
|
...isMulti ? {} : {
|
|
5683
|
-
borderColor:
|
|
5684
|
-
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)"
|
|
5685
5694
|
}
|
|
5686
5695
|
}
|
|
5687
5696
|
},
|
|
@@ -5697,7 +5706,7 @@ function PageFeedbackToolbarCSS({
|
|
|
5697
5706
|
if (hoveredTargetElements.length > 0) {
|
|
5698
5707
|
return hoveredTargetElements.filter((el) => document.contains(el)).map((el, index) => {
|
|
5699
5708
|
const rect2 = el.getBoundingClientRect();
|
|
5700
|
-
return /* @__PURE__ */
|
|
5709
|
+
return /* @__PURE__ */ jsx5(
|
|
5701
5710
|
"div",
|
|
5702
5711
|
{
|
|
5703
5712
|
className: `${styles_module_default2.multiSelectOutline} ${styles_module_default2.enter}`,
|
|
@@ -5713,7 +5722,7 @@ function PageFeedbackToolbarCSS({
|
|
|
5713
5722
|
});
|
|
5714
5723
|
}
|
|
5715
5724
|
return hoveredAnnotation.elementBoundingBoxes.map(
|
|
5716
|
-
(bb2, index) => /* @__PURE__ */
|
|
5725
|
+
(bb2, index) => /* @__PURE__ */ jsx5(
|
|
5717
5726
|
"div",
|
|
5718
5727
|
{
|
|
5719
5728
|
className: `${styles_module_default2.multiSelectOutline} ${styles_module_default2.enter}`,
|
|
@@ -5736,7 +5745,7 @@ function PageFeedbackToolbarCSS({
|
|
|
5736
5745
|
height: hoveredAnnotation.boundingBox.height
|
|
5737
5746
|
};
|
|
5738
5747
|
const isMulti = hoveredAnnotation.isMultiSelect;
|
|
5739
|
-
return /* @__PURE__ */
|
|
5748
|
+
return /* @__PURE__ */ jsx5(
|
|
5740
5749
|
"div",
|
|
5741
5750
|
{
|
|
5742
5751
|
className: `${isMulti ? styles_module_default2.multiSelectOutline : styles_module_default2.singleSelectOutline} ${styles_module_default2.enter}`,
|
|
@@ -5746,14 +5755,14 @@ function PageFeedbackToolbarCSS({
|
|
|
5746
5755
|
width: bb.width,
|
|
5747
5756
|
height: bb.height,
|
|
5748
5757
|
...isMulti ? {} : {
|
|
5749
|
-
borderColor:
|
|
5750
|
-
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)"
|
|
5751
5760
|
}
|
|
5752
5761
|
}
|
|
5753
5762
|
}
|
|
5754
5763
|
);
|
|
5755
5764
|
})(),
|
|
5756
|
-
hoverInfo && !pendingAnnotation && !isScrolling && !isDragging && /* @__PURE__ */
|
|
5765
|
+
hoverInfo && !pendingAnnotation && !isScrolling && !isDragging && /* @__PURE__ */ jsxs4(
|
|
5757
5766
|
"div",
|
|
5758
5767
|
{
|
|
5759
5768
|
className: `${styles_module_default2.hoverTooltip} ${styles_module_default2.enter}`,
|
|
@@ -5768,17 +5777,17 @@ function PageFeedbackToolbarCSS({
|
|
|
5768
5777
|
)
|
|
5769
5778
|
},
|
|
5770
5779
|
children: [
|
|
5771
|
-
hoverInfo.reactComponents && /* @__PURE__ */
|
|
5772
|
-
/* @__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 })
|
|
5773
5782
|
]
|
|
5774
5783
|
}
|
|
5775
5784
|
),
|
|
5776
|
-
pendingAnnotation && /* @__PURE__ */
|
|
5785
|
+
pendingAnnotation && /* @__PURE__ */ jsxs4(Fragment2, { children: [
|
|
5777
5786
|
pendingAnnotation.multiSelectElements?.length ? (
|
|
5778
5787
|
// Cmd+shift+click multi-select: show individual boxes with live positions
|
|
5779
5788
|
pendingAnnotation.multiSelectElements.filter((el) => document.contains(el)).map((el, index) => {
|
|
5780
5789
|
const rect = el.getBoundingClientRect();
|
|
5781
|
-
return /* @__PURE__ */
|
|
5790
|
+
return /* @__PURE__ */ jsx5(
|
|
5782
5791
|
"div",
|
|
5783
5792
|
{
|
|
5784
5793
|
className: `${styles_module_default2.multiSelectOutline} ${pendingExiting ? styles_module_default2.exit : styles_module_default2.enter}`,
|
|
@@ -5798,7 +5807,7 @@ function PageFeedbackToolbarCSS({
|
|
|
5798
5807
|
// Single-click: use live getBoundingClientRect for consistent positioning
|
|
5799
5808
|
(() => {
|
|
5800
5809
|
const rect = pendingAnnotation.targetElement.getBoundingClientRect();
|
|
5801
|
-
return /* @__PURE__ */
|
|
5810
|
+
return /* @__PURE__ */ jsx5(
|
|
5802
5811
|
"div",
|
|
5803
5812
|
{
|
|
5804
5813
|
className: `${styles_module_default2.singleSelectOutline} ${pendingExiting ? styles_module_default2.exit : styles_module_default2.enter}`,
|
|
@@ -5807,15 +5816,15 @@ function PageFeedbackToolbarCSS({
|
|
|
5807
5816
|
top: rect.top,
|
|
5808
5817
|
width: rect.width,
|
|
5809
5818
|
height: rect.height,
|
|
5810
|
-
borderColor:
|
|
5811
|
-
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)"
|
|
5812
5821
|
}
|
|
5813
5822
|
}
|
|
5814
5823
|
);
|
|
5815
5824
|
})()
|
|
5816
5825
|
) : (
|
|
5817
5826
|
// Drag selection or fallback: use stored boundingBox
|
|
5818
|
-
pendingAnnotation.boundingBox && /* @__PURE__ */
|
|
5827
|
+
pendingAnnotation.boundingBox && /* @__PURE__ */ jsx5(
|
|
5819
5828
|
"div",
|
|
5820
5829
|
{
|
|
5821
5830
|
className: `${pendingAnnotation.isMultiSelect ? styles_module_default2.multiSelectOutline : styles_module_default2.singleSelectOutline} ${pendingExiting ? styles_module_default2.exit : styles_module_default2.enter}`,
|
|
@@ -5825,8 +5834,8 @@ function PageFeedbackToolbarCSS({
|
|
|
5825
5834
|
width: pendingAnnotation.boundingBox.width,
|
|
5826
5835
|
height: pendingAnnotation.boundingBox.height,
|
|
5827
5836
|
...pendingAnnotation.isMultiSelect ? {} : {
|
|
5828
|
-
borderColor:
|
|
5829
|
-
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)"
|
|
5830
5839
|
}
|
|
5831
5840
|
}
|
|
5832
5841
|
}
|
|
@@ -5836,20 +5845,20 @@ function PageFeedbackToolbarCSS({
|
|
|
5836
5845
|
(() => {
|
|
5837
5846
|
const markerX = pendingAnnotation.x;
|
|
5838
5847
|
const markerY = pendingAnnotation.isFixed ? pendingAnnotation.y : pendingAnnotation.y - scrollY;
|
|
5839
|
-
return /* @__PURE__ */
|
|
5840
|
-
/* @__PURE__ */
|
|
5848
|
+
return /* @__PURE__ */ jsxs4(Fragment2, { children: [
|
|
5849
|
+
/* @__PURE__ */ jsx5(
|
|
5841
5850
|
"div",
|
|
5842
5851
|
{
|
|
5843
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}`,
|
|
5844
5853
|
style: {
|
|
5845
5854
|
left: `${markerX}%`,
|
|
5846
5855
|
top: markerY,
|
|
5847
|
-
backgroundColor: pendingAnnotation.isMultiSelect ? "
|
|
5856
|
+
backgroundColor: pendingAnnotation.isMultiSelect ? "var(--agentation-color-green)" : "var(--agentation-color-accent)"
|
|
5848
5857
|
},
|
|
5849
|
-
children: /* @__PURE__ */
|
|
5858
|
+
children: /* @__PURE__ */ jsx5(IconPlus, { size: 12 })
|
|
5850
5859
|
}
|
|
5851
5860
|
),
|
|
5852
|
-
/* @__PURE__ */
|
|
5861
|
+
/* @__PURE__ */ jsx5(
|
|
5853
5862
|
AnnotationPopupCSS,
|
|
5854
5863
|
{
|
|
5855
5864
|
ref: popupRef,
|
|
@@ -5861,7 +5870,7 @@ function PageFeedbackToolbarCSS({
|
|
|
5861
5870
|
onCancel: cancelAnnotation,
|
|
5862
5871
|
isExiting: pendingExiting,
|
|
5863
5872
|
lightMode: !isDarkMode,
|
|
5864
|
-
accentColor: pendingAnnotation.isMultiSelect ? "
|
|
5873
|
+
accentColor: pendingAnnotation.isMultiSelect ? "var(--agentation-color-green)" : "var(--agentation-color-accent)",
|
|
5865
5874
|
style: {
|
|
5866
5875
|
// Popup is 280px wide, centered with translateX(-50%), so 140px each side
|
|
5867
5876
|
// Clamp so popup stays 20px from viewport edges
|
|
@@ -5880,14 +5889,14 @@ function PageFeedbackToolbarCSS({
|
|
|
5880
5889
|
] });
|
|
5881
5890
|
})()
|
|
5882
5891
|
] }),
|
|
5883
|
-
editingAnnotation && /* @__PURE__ */
|
|
5892
|
+
editingAnnotation && /* @__PURE__ */ jsxs4(Fragment2, { children: [
|
|
5884
5893
|
editingAnnotation.elementBoundingBoxes?.length ? (
|
|
5885
5894
|
// Cmd+shift+click: show individual element boxes (use live rects when available)
|
|
5886
5895
|
(() => {
|
|
5887
5896
|
if (editingTargetElements.length > 0) {
|
|
5888
5897
|
return editingTargetElements.filter((el) => document.contains(el)).map((el, index) => {
|
|
5889
5898
|
const rect = el.getBoundingClientRect();
|
|
5890
|
-
return /* @__PURE__ */
|
|
5899
|
+
return /* @__PURE__ */ jsx5(
|
|
5891
5900
|
"div",
|
|
5892
5901
|
{
|
|
5893
5902
|
className: `${styles_module_default2.multiSelectOutline} ${styles_module_default2.enter}`,
|
|
@@ -5903,7 +5912,7 @@ function PageFeedbackToolbarCSS({
|
|
|
5903
5912
|
});
|
|
5904
5913
|
}
|
|
5905
5914
|
return editingAnnotation.elementBoundingBoxes.map(
|
|
5906
|
-
(bb, index) => /* @__PURE__ */
|
|
5915
|
+
(bb, index) => /* @__PURE__ */ jsx5(
|
|
5907
5916
|
"div",
|
|
5908
5917
|
{
|
|
5909
5918
|
className: `${styles_module_default2.multiSelectOutline} ${styles_module_default2.enter}`,
|
|
@@ -5929,7 +5938,7 @@ function PageFeedbackToolbarCSS({
|
|
|
5929
5938
|
height: editingAnnotation.boundingBox.height
|
|
5930
5939
|
} : null;
|
|
5931
5940
|
if (!bb) return null;
|
|
5932
|
-
return /* @__PURE__ */
|
|
5941
|
+
return /* @__PURE__ */ jsx5(
|
|
5933
5942
|
"div",
|
|
5934
5943
|
{
|
|
5935
5944
|
className: `${editingAnnotation.isMultiSelect ? styles_module_default2.multiSelectOutline : styles_module_default2.singleSelectOutline} ${styles_module_default2.enter}`,
|
|
@@ -5939,15 +5948,15 @@ function PageFeedbackToolbarCSS({
|
|
|
5939
5948
|
width: bb.width,
|
|
5940
5949
|
height: bb.height,
|
|
5941
5950
|
...editingAnnotation.isMultiSelect ? {} : {
|
|
5942
|
-
borderColor:
|
|
5943
|
-
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)"
|
|
5944
5953
|
}
|
|
5945
5954
|
}
|
|
5946
5955
|
}
|
|
5947
5956
|
);
|
|
5948
5957
|
})()
|
|
5949
5958
|
),
|
|
5950
|
-
/* @__PURE__ */
|
|
5959
|
+
/* @__PURE__ */ jsx5(
|
|
5951
5960
|
AnnotationPopupCSS,
|
|
5952
5961
|
{
|
|
5953
5962
|
ref: editPopupRef,
|
|
@@ -5964,7 +5973,7 @@ function PageFeedbackToolbarCSS({
|
|
|
5964
5973
|
onDelete: () => deleteAnnotation2(editingAnnotation.id),
|
|
5965
5974
|
isExiting: editExiting,
|
|
5966
5975
|
lightMode: !isDarkMode,
|
|
5967
|
-
accentColor: editingAnnotation.isMultiSelect ? "
|
|
5976
|
+
accentColor: editingAnnotation.isMultiSelect ? "var(--agentation-color-green)" : "var(--agentation-color-accent)",
|
|
5968
5977
|
style: (() => {
|
|
5969
5978
|
const markerY = editingAnnotation.isFixed ? editingAnnotation.y : editingAnnotation.y - scrollY;
|
|
5970
5979
|
return {
|
|
@@ -5984,9 +5993,9 @@ function PageFeedbackToolbarCSS({
|
|
|
5984
5993
|
}
|
|
5985
5994
|
)
|
|
5986
5995
|
] }),
|
|
5987
|
-
isDragging && /* @__PURE__ */
|
|
5988
|
-
/* @__PURE__ */
|
|
5989
|
-
/* @__PURE__ */
|
|
5996
|
+
isDragging && /* @__PURE__ */ jsxs4(Fragment2, { children: [
|
|
5997
|
+
/* @__PURE__ */ jsx5("div", { ref: dragRectRef, className: styles_module_default2.dragSelection }),
|
|
5998
|
+
/* @__PURE__ */ jsx5(
|
|
5990
5999
|
"div",
|
|
5991
6000
|
{
|
|
5992
6001
|
ref: highlightsContainerRef,
|