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.js
CHANGED
|
@@ -84,14 +84,14 @@ __export(index_exports, {
|
|
|
84
84
|
module.exports = __toCommonJS(index_exports);
|
|
85
85
|
|
|
86
86
|
// src/components/page-toolbar-css/index.tsx
|
|
87
|
-
var
|
|
88
|
-
var
|
|
87
|
+
var import_react4 = require("react");
|
|
88
|
+
var import_react_dom2 = require("react-dom");
|
|
89
89
|
|
|
90
90
|
// src/components/annotation-popup-css/index.tsx
|
|
91
91
|
var import_react = require("react");
|
|
92
92
|
|
|
93
93
|
// src/components/annotation-popup-css/styles.module.scss
|
|
94
|
-
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:
|
|
94
|
+
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}';
|
|
95
95
|
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" };
|
|
96
96
|
if (typeof document !== "undefined") {
|
|
97
97
|
let style = document.getElementById("feedback-tool-styles-annotation-popup-css-styles");
|
|
@@ -205,28 +205,10 @@ var IconListSparkle = ({
|
|
|
205
205
|
] }),
|
|
206
206
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("clipPath", { id: "clip0_list_sparkle", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("rect", { width: "24", height: "24", fill: "white" }) }) })
|
|
207
207
|
] });
|
|
208
|
-
var IconHelp = ({ size = 20 }) => /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("svg", { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: [
|
|
209
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
cx: "10",
|
|
213
|
-
cy: "10.5",
|
|
214
|
-
r: "5.25",
|
|
215
|
-
stroke: "currentColor",
|
|
216
|
-
strokeWidth: "1.25"
|
|
217
|
-
}
|
|
218
|
-
),
|
|
219
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
220
|
-
"path",
|
|
221
|
-
{
|
|
222
|
-
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",
|
|
223
|
-
stroke: "currentColor",
|
|
224
|
-
strokeWidth: "1.25",
|
|
225
|
-
strokeLinecap: "round",
|
|
226
|
-
strokeLinejoin: "round"
|
|
227
|
-
}
|
|
228
|
-
),
|
|
229
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("circle", { cx: "10", cy: "13", r: "0.75", fill: "currentColor" })
|
|
208
|
+
var IconHelp = ({ size = 20, ...props }) => /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("svg", { width: size, height: size, viewBox: "0 0 20 20", fill: "none", ...props, children: [
|
|
209
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("circle", { cx: "10", cy: "10", r: "6", stroke: "currentColor", strokeWidth: "1.25" }),
|
|
210
|
+
/* @__PURE__ */ (0, import_jsx_runtime.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" }),
|
|
211
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("circle", { cx: "10", cy: "13", r: "0.625", fill: "currentColor" })
|
|
230
212
|
] });
|
|
231
213
|
var IconCheckSmallAnimated = ({ size = 14 }) => /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("svg", { width: size, height: size, viewBox: "0 0 14 14", fill: "none", children: [
|
|
232
214
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("style", { children: `
|
|
@@ -317,7 +299,7 @@ var IconCopyAnimated = ({ size = 24, copied = false }) => /* @__PURE__ */ (0, im
|
|
|
317
299
|
"path",
|
|
318
300
|
{
|
|
319
301
|
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",
|
|
320
|
-
stroke: "
|
|
302
|
+
stroke: "var(--agentation-color-green)",
|
|
321
303
|
strokeWidth: "1.5",
|
|
322
304
|
strokeLinecap: "round",
|
|
323
305
|
strokeLinejoin: "round"
|
|
@@ -327,7 +309,7 @@ var IconCopyAnimated = ({ size = 24, copied = false }) => /* @__PURE__ */ (0, im
|
|
|
327
309
|
"path",
|
|
328
310
|
{
|
|
329
311
|
d: "M15 10L11 14.25L9.25 12.25",
|
|
330
|
-
stroke: "
|
|
312
|
+
stroke: "var(--agentation-color-green)",
|
|
331
313
|
strokeWidth: "1.5",
|
|
332
314
|
strokeLinecap: "round",
|
|
333
315
|
strokeLinejoin: "round"
|
|
@@ -359,7 +341,7 @@ var IconSendArrow = ({
|
|
|
359
341
|
"path",
|
|
360
342
|
{
|
|
361
343
|
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",
|
|
362
|
-
stroke: "
|
|
344
|
+
stroke: "var(--agentation-color-green)",
|
|
363
345
|
strokeWidth: "1.5",
|
|
364
346
|
strokeLinecap: "round",
|
|
365
347
|
strokeLinejoin: "round"
|
|
@@ -369,7 +351,7 @@ var IconSendArrow = ({
|
|
|
369
351
|
"path",
|
|
370
352
|
{
|
|
371
353
|
d: "M15 10L11 14.25L9.25 12.25",
|
|
372
|
-
stroke: "
|
|
354
|
+
stroke: "var(--agentation-color-green)",
|
|
373
355
|
strokeWidth: "1.5",
|
|
374
356
|
strokeLinecap: "round",
|
|
375
357
|
strokeLinejoin: "round"
|
|
@@ -381,7 +363,7 @@ var IconSendArrow = ({
|
|
|
381
363
|
"path",
|
|
382
364
|
{
|
|
383
365
|
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",
|
|
384
|
-
stroke: "
|
|
366
|
+
stroke: "var(--agentation-color-red)",
|
|
385
367
|
strokeWidth: "1.5",
|
|
386
368
|
strokeLinecap: "round",
|
|
387
369
|
strokeLinejoin: "round"
|
|
@@ -391,12 +373,12 @@ var IconSendArrow = ({
|
|
|
391
373
|
"path",
|
|
392
374
|
{
|
|
393
375
|
d: "M12 8V12",
|
|
394
|
-
stroke: "
|
|
376
|
+
stroke: "var(--agentation-color-red)",
|
|
395
377
|
strokeWidth: "1.5",
|
|
396
378
|
strokeLinecap: "round"
|
|
397
379
|
}
|
|
398
380
|
),
|
|
399
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("circle", { cx: "12", cy: "15", r: "0.5", fill: "
|
|
381
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("circle", { cx: "12", cy: "15", r: "0.5", fill: "var(--agentation-color-red)", stroke: "var(--agentation-color-red)", strokeWidth: "1" })
|
|
400
382
|
] })
|
|
401
383
|
] });
|
|
402
384
|
};
|
|
@@ -2733,8 +2715,8 @@ function findNearestComponentSource(element, maxAncestors = 10) {
|
|
|
2733
2715
|
}
|
|
2734
2716
|
|
|
2735
2717
|
// src/components/page-toolbar-css/styles.module.scss
|
|
2736
|
-
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}';
|
|
2737
|
-
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", "
|
|
2718
|
+
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}';
|
|
2719
|
+
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" };
|
|
2738
2720
|
if (typeof document !== "undefined") {
|
|
2739
2721
|
let style = document.getElementById("feedback-tool-styles-page-toolbar-css-styles");
|
|
2740
2722
|
if (!style) {
|
|
@@ -2746,8 +2728,123 @@ if (typeof document !== "undefined") {
|
|
|
2746
2728
|
}
|
|
2747
2729
|
var styles_module_default2 = classNames3;
|
|
2748
2730
|
|
|
2749
|
-
// src/components/
|
|
2731
|
+
// src/components/tooltip/index.tsx
|
|
2732
|
+
var import_react3 = require("react");
|
|
2733
|
+
var import_react_dom = require("react-dom");
|
|
2750
2734
|
var import_jsx_runtime3 = require("react/jsx-runtime");
|
|
2735
|
+
var Tooltip = ({
|
|
2736
|
+
content,
|
|
2737
|
+
children,
|
|
2738
|
+
...props
|
|
2739
|
+
}) => {
|
|
2740
|
+
const [visible, setVisible] = (0, import_react3.useState)(false);
|
|
2741
|
+
const [shouldRender, setShouldRender] = (0, import_react3.useState)(false);
|
|
2742
|
+
const [position, setPosition] = (0, import_react3.useState)({ top: 0, right: 0 });
|
|
2743
|
+
const triggerRef = (0, import_react3.useRef)(null);
|
|
2744
|
+
const timeoutRef = (0, import_react3.useRef)(null);
|
|
2745
|
+
const exitTimeoutRef = (0, import_react3.useRef)(null);
|
|
2746
|
+
const updatePosition = () => {
|
|
2747
|
+
if (triggerRef.current) {
|
|
2748
|
+
const rect = triggerRef.current.getBoundingClientRect();
|
|
2749
|
+
setPosition({
|
|
2750
|
+
top: rect.top + rect.height / 2,
|
|
2751
|
+
right: window.innerWidth - rect.left + 8
|
|
2752
|
+
});
|
|
2753
|
+
}
|
|
2754
|
+
};
|
|
2755
|
+
const handleMouseEnter = () => {
|
|
2756
|
+
setShouldRender(true);
|
|
2757
|
+
if (exitTimeoutRef.current) {
|
|
2758
|
+
clearTimeout(exitTimeoutRef.current);
|
|
2759
|
+
exitTimeoutRef.current = null;
|
|
2760
|
+
}
|
|
2761
|
+
updatePosition();
|
|
2762
|
+
timeoutRef.current = originalSetTimeout(() => {
|
|
2763
|
+
setVisible(true);
|
|
2764
|
+
}, 500);
|
|
2765
|
+
};
|
|
2766
|
+
const handleMouseLeave = () => {
|
|
2767
|
+
if (timeoutRef.current) {
|
|
2768
|
+
clearTimeout(timeoutRef.current);
|
|
2769
|
+
timeoutRef.current = null;
|
|
2770
|
+
}
|
|
2771
|
+
setVisible(false);
|
|
2772
|
+
exitTimeoutRef.current = originalSetTimeout(() => {
|
|
2773
|
+
setShouldRender(false);
|
|
2774
|
+
}, 150);
|
|
2775
|
+
};
|
|
2776
|
+
(0, import_react3.useEffect)(() => {
|
|
2777
|
+
return () => {
|
|
2778
|
+
if (timeoutRef.current) clearTimeout(timeoutRef.current);
|
|
2779
|
+
if (exitTimeoutRef.current) clearTimeout(exitTimeoutRef.current);
|
|
2780
|
+
};
|
|
2781
|
+
}, []);
|
|
2782
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(import_jsx_runtime3.Fragment, { children: [
|
|
2783
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
2784
|
+
"span",
|
|
2785
|
+
{
|
|
2786
|
+
ref: triggerRef,
|
|
2787
|
+
onMouseEnter: handleMouseEnter,
|
|
2788
|
+
onMouseLeave: handleMouseLeave,
|
|
2789
|
+
...props,
|
|
2790
|
+
children
|
|
2791
|
+
}
|
|
2792
|
+
),
|
|
2793
|
+
shouldRender && (0, import_react_dom.createPortal)(
|
|
2794
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
2795
|
+
"div",
|
|
2796
|
+
{
|
|
2797
|
+
"data-feedback-toolbar": true,
|
|
2798
|
+
style: {
|
|
2799
|
+
position: "fixed",
|
|
2800
|
+
top: position.top,
|
|
2801
|
+
right: position.right,
|
|
2802
|
+
transform: "translateY(-50%)",
|
|
2803
|
+
padding: "6px 10px",
|
|
2804
|
+
background: "#383838",
|
|
2805
|
+
color: "rgba(255, 255, 255, 0.7)",
|
|
2806
|
+
fontSize: "11px",
|
|
2807
|
+
fontWeight: 400,
|
|
2808
|
+
lineHeight: "14px",
|
|
2809
|
+
borderRadius: "10px",
|
|
2810
|
+
width: "180px",
|
|
2811
|
+
textAlign: "left",
|
|
2812
|
+
zIndex: 100020,
|
|
2813
|
+
pointerEvents: "none",
|
|
2814
|
+
boxShadow: "0px 1px 8px rgba(0, 0, 0, 0.28)",
|
|
2815
|
+
opacity: visible ? 1 : 0,
|
|
2816
|
+
transition: "opacity 0.15s ease"
|
|
2817
|
+
},
|
|
2818
|
+
children: content
|
|
2819
|
+
}
|
|
2820
|
+
),
|
|
2821
|
+
document.body
|
|
2822
|
+
)
|
|
2823
|
+
] });
|
|
2824
|
+
};
|
|
2825
|
+
|
|
2826
|
+
// src/components/help-tooltip/styles.module.scss
|
|
2827
|
+
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}";
|
|
2828
|
+
var classNames4 = { "tooltip": "styles-module__tooltip___mcXL2", "tooltipIcon": "styles-module__tooltipIcon___Nq2nD" };
|
|
2829
|
+
if (typeof document !== "undefined") {
|
|
2830
|
+
let style = document.getElementById("feedback-tool-styles-help-tooltip-styles");
|
|
2831
|
+
if (!style) {
|
|
2832
|
+
style = document.createElement("style");
|
|
2833
|
+
style.id = "feedback-tool-styles-help-tooltip-styles";
|
|
2834
|
+
style.textContent = css4;
|
|
2835
|
+
document.head.appendChild(style);
|
|
2836
|
+
}
|
|
2837
|
+
}
|
|
2838
|
+
var styles_module_default3 = classNames4;
|
|
2839
|
+
|
|
2840
|
+
// src/components/help-tooltip/index.tsx
|
|
2841
|
+
var import_jsx_runtime4 = require("react/jsx-runtime");
|
|
2842
|
+
var HelpTooltip = ({ content }) => {
|
|
2843
|
+
return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(Tooltip, { className: styles_module_default3.tooltip, content, children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(IconHelp, { className: styles_module_default3.tooltipIcon }) });
|
|
2844
|
+
};
|
|
2845
|
+
|
|
2846
|
+
// src/components/page-toolbar-css/index.tsx
|
|
2847
|
+
var import_jsx_runtime5 = require("react/jsx-runtime");
|
|
2751
2848
|
function identifyElementWithReact(element, reactMode = "filtered") {
|
|
2752
2849
|
const { name: elementName, path } = identifyElement(element);
|
|
2753
2850
|
if (reactMode === "off") {
|
|
@@ -2765,7 +2862,7 @@ var hasPlayedEntranceAnimation = false;
|
|
|
2765
2862
|
var DEFAULT_SETTINGS = {
|
|
2766
2863
|
outputDetail: "standard",
|
|
2767
2864
|
autoClearAfterCopy: false,
|
|
2768
|
-
|
|
2865
|
+
annotationColorId: "blue",
|
|
2769
2866
|
blockInteractions: true,
|
|
2770
2867
|
reactEnabled: true,
|
|
2771
2868
|
markerClickBehavior: "edit",
|
|
@@ -2794,14 +2891,43 @@ var OUTPUT_DETAIL_OPTIONS = [
|
|
|
2794
2891
|
{ value: "forensic", label: "Forensic" }
|
|
2795
2892
|
];
|
|
2796
2893
|
var COLOR_OPTIONS = [
|
|
2797
|
-
{
|
|
2798
|
-
{
|
|
2799
|
-
{
|
|
2800
|
-
{
|
|
2801
|
-
{
|
|
2802
|
-
{
|
|
2803
|
-
{
|
|
2894
|
+
{ id: "indigo", label: "Indigo", srgb: "#6155F5", p3: "color(display-p3 0.38 0.33 0.96)" },
|
|
2895
|
+
{ id: "blue", label: "Blue", srgb: "#0088FF", p3: "color(display-p3 0.00 0.53 1.00)" },
|
|
2896
|
+
{ id: "cyan", label: "Cyan", srgb: "#00C3D0", p3: "color(display-p3 0.00 0.76 0.82)" },
|
|
2897
|
+
{ id: "green", label: "Green", srgb: "#34C759", p3: "color(display-p3 0.20 0.78 0.35)" },
|
|
2898
|
+
{ id: "yellow", label: "Yellow", srgb: "#FFCC00", p3: "color(display-p3 1.00 0.80 0.00)" },
|
|
2899
|
+
{ id: "orange", label: "Orange", srgb: "#FF8D28", p3: "color(display-p3 1.00 0.55 0.16)" },
|
|
2900
|
+
{ id: "red", label: "Red", srgb: "#FF383C", p3: "color(display-p3 1.00 0.22 0.24)" }
|
|
2804
2901
|
];
|
|
2902
|
+
var injectAgentationColorTokens = () => {
|
|
2903
|
+
if (typeof document === "undefined") return;
|
|
2904
|
+
if (document.getElementById("agentation-color-tokens")) return;
|
|
2905
|
+
const style = document.createElement("style");
|
|
2906
|
+
style.id = "agentation-color-tokens";
|
|
2907
|
+
style.textContent = [
|
|
2908
|
+
...COLOR_OPTIONS.map((c) => `
|
|
2909
|
+
[data-agentation-accent="${c.id}"] {
|
|
2910
|
+
--agentation-color-accent: ${c.srgb};
|
|
2911
|
+
}
|
|
2912
|
+
|
|
2913
|
+
@supports (color: color(display-p3 0 0 0)) {
|
|
2914
|
+
[data-agentation-accent="${c.id}"] {
|
|
2915
|
+
--agentation-color-accent: ${c.p3};
|
|
2916
|
+
}
|
|
2917
|
+
}
|
|
2918
|
+
`),
|
|
2919
|
+
`:root {
|
|
2920
|
+
${COLOR_OPTIONS.map((c) => `--agentation-color-${c.id}: ${c.srgb};`).join("\n")}
|
|
2921
|
+
}`,
|
|
2922
|
+
`@supports (color: color(display-p3 0 0 0)) {
|
|
2923
|
+
:root {
|
|
2924
|
+
${COLOR_OPTIONS.map((c) => `--agentation-color-${c.id}: ${c.p3};`).join("\n")}
|
|
2925
|
+
}
|
|
2926
|
+
}`
|
|
2927
|
+
].join("");
|
|
2928
|
+
document.head.appendChild(style);
|
|
2929
|
+
};
|
|
2930
|
+
injectAgentationColorTokens();
|
|
2805
2931
|
function deepElementFromPoint(x, y) {
|
|
2806
2932
|
let element = document.elementFromPoint(x, y);
|
|
2807
2933
|
if (!element) return null;
|
|
@@ -2978,13 +3104,13 @@ function PageFeedbackToolbarCSS({
|
|
|
2978
3104
|
webhookUrl,
|
|
2979
3105
|
className: userClassName
|
|
2980
3106
|
} = {}) {
|
|
2981
|
-
const [isActive, setIsActive] = (0,
|
|
2982
|
-
const [annotations, setAnnotations] = (0,
|
|
2983
|
-
const [showMarkers, setShowMarkers] = (0,
|
|
2984
|
-
const [isToolbarHidden, setIsToolbarHidden] = (0,
|
|
2985
|
-
const [isToolbarHiding, setIsToolbarHiding] = (0,
|
|
2986
|
-
const portalWrapperRef = (0,
|
|
2987
|
-
(0,
|
|
3107
|
+
const [isActive, setIsActive] = (0, import_react4.useState)(false);
|
|
3108
|
+
const [annotations, setAnnotations] = (0, import_react4.useState)([]);
|
|
3109
|
+
const [showMarkers, setShowMarkers] = (0, import_react4.useState)(true);
|
|
3110
|
+
const [isToolbarHidden, setIsToolbarHidden] = (0, import_react4.useState)(() => loadToolbarHidden());
|
|
3111
|
+
const [isToolbarHiding, setIsToolbarHiding] = (0, import_react4.useState)(false);
|
|
3112
|
+
const portalWrapperRef = (0, import_react4.useRef)(null);
|
|
3113
|
+
(0, import_react4.useEffect)(() => {
|
|
2988
3114
|
const stop = (e) => {
|
|
2989
3115
|
const wrapper = portalWrapperRef.current;
|
|
2990
3116
|
if (wrapper && wrapper.contains(e.target)) {
|
|
@@ -2997,42 +3123,41 @@ function PageFeedbackToolbarCSS({
|
|
|
2997
3123
|
events.forEach((evt) => document.body.removeEventListener(evt, stop));
|
|
2998
3124
|
};
|
|
2999
3125
|
}, []);
|
|
3000
|
-
const [markersVisible, setMarkersVisible] = (0,
|
|
3001
|
-
const [markersExiting, setMarkersExiting] = (0,
|
|
3002
|
-
const [hoverInfo, setHoverInfo] = (0,
|
|
3003
|
-
const [hoverPosition, setHoverPosition] = (0,
|
|
3004
|
-
const [pendingAnnotation, setPendingAnnotation] = (0,
|
|
3005
|
-
const [copied, setCopied] = (0,
|
|
3006
|
-
const [sendState, setSendState] = (0,
|
|
3007
|
-
const [cleared, setCleared] = (0,
|
|
3008
|
-
const [isClearing, setIsClearing] = (0,
|
|
3009
|
-
const [hoveredMarkerId, setHoveredMarkerId] = (0,
|
|
3010
|
-
const [hoveredTargetElement, setHoveredTargetElement] = (0,
|
|
3011
|
-
const [hoveredTargetElements, setHoveredTargetElements] = (0,
|
|
3012
|
-
const [deletingMarkerId, setDeletingMarkerId] = (0,
|
|
3013
|
-
const [renumberFrom, setRenumberFrom] = (0,
|
|
3014
|
-
const [editingAnnotation, setEditingAnnotation] = (0,
|
|
3126
|
+
const [markersVisible, setMarkersVisible] = (0, import_react4.useState)(false);
|
|
3127
|
+
const [markersExiting, setMarkersExiting] = (0, import_react4.useState)(false);
|
|
3128
|
+
const [hoverInfo, setHoverInfo] = (0, import_react4.useState)(null);
|
|
3129
|
+
const [hoverPosition, setHoverPosition] = (0, import_react4.useState)({ x: 0, y: 0 });
|
|
3130
|
+
const [pendingAnnotation, setPendingAnnotation] = (0, import_react4.useState)(null);
|
|
3131
|
+
const [copied, setCopied] = (0, import_react4.useState)(false);
|
|
3132
|
+
const [sendState, setSendState] = (0, import_react4.useState)("idle");
|
|
3133
|
+
const [cleared, setCleared] = (0, import_react4.useState)(false);
|
|
3134
|
+
const [isClearing, setIsClearing] = (0, import_react4.useState)(false);
|
|
3135
|
+
const [hoveredMarkerId, setHoveredMarkerId] = (0, import_react4.useState)(null);
|
|
3136
|
+
const [hoveredTargetElement, setHoveredTargetElement] = (0, import_react4.useState)(null);
|
|
3137
|
+
const [hoveredTargetElements, setHoveredTargetElements] = (0, import_react4.useState)([]);
|
|
3138
|
+
const [deletingMarkerId, setDeletingMarkerId] = (0, import_react4.useState)(null);
|
|
3139
|
+
const [renumberFrom, setRenumberFrom] = (0, import_react4.useState)(null);
|
|
3140
|
+
const [editingAnnotation, setEditingAnnotation] = (0, import_react4.useState)(
|
|
3015
3141
|
null
|
|
3016
3142
|
);
|
|
3017
|
-
const [editingTargetElement, setEditingTargetElement] = (0,
|
|
3018
|
-
const [editingTargetElements, setEditingTargetElements] = (0,
|
|
3019
|
-
const [scrollY, setScrollY] = (0,
|
|
3020
|
-
const [isScrolling, setIsScrolling] = (0,
|
|
3021
|
-
const [mounted, setMounted] = (0,
|
|
3022
|
-
const [isFrozen, setIsFrozen] = (0,
|
|
3023
|
-
const [showSettings, setShowSettings] = (0,
|
|
3024
|
-
const [showSettingsVisible, setShowSettingsVisible] = (0,
|
|
3025
|
-
const [settingsPage, setSettingsPage] = (0,
|
|
3143
|
+
const [editingTargetElement, setEditingTargetElement] = (0, import_react4.useState)(null);
|
|
3144
|
+
const [editingTargetElements, setEditingTargetElements] = (0, import_react4.useState)([]);
|
|
3145
|
+
const [scrollY, setScrollY] = (0, import_react4.useState)(0);
|
|
3146
|
+
const [isScrolling, setIsScrolling] = (0, import_react4.useState)(false);
|
|
3147
|
+
const [mounted, setMounted] = (0, import_react4.useState)(false);
|
|
3148
|
+
const [isFrozen, setIsFrozen] = (0, import_react4.useState)(false);
|
|
3149
|
+
const [showSettings, setShowSettings] = (0, import_react4.useState)(false);
|
|
3150
|
+
const [showSettingsVisible, setShowSettingsVisible] = (0, import_react4.useState)(false);
|
|
3151
|
+
const [settingsPage, setSettingsPage] = (0, import_react4.useState)(
|
|
3026
3152
|
"main"
|
|
3027
3153
|
);
|
|
3028
|
-
const [
|
|
3029
|
-
const [
|
|
3030
|
-
const
|
|
3031
|
-
const tooltipSessionTimerRef = (0, import_react3.useRef)(
|
|
3154
|
+
const [tooltipsHidden, setTooltipsHidden] = (0, import_react4.useState)(false);
|
|
3155
|
+
const [tooltipSessionActive, setTooltipSessionActive] = (0, import_react4.useState)(false);
|
|
3156
|
+
const tooltipSessionTimerRef = (0, import_react4.useRef)(
|
|
3032
3157
|
null
|
|
3033
3158
|
);
|
|
3034
|
-
const [pendingMultiSelectElements, setPendingMultiSelectElements] = (0,
|
|
3035
|
-
const modifiersHeldRef = (0,
|
|
3159
|
+
const [pendingMultiSelectElements, setPendingMultiSelectElements] = (0, import_react4.useState)([]);
|
|
3160
|
+
const modifiersHeldRef = (0, import_react4.useRef)({ cmd: false, shift: false });
|
|
3036
3161
|
const hideTooltipsUntilMouseLeave = () => {
|
|
3037
3162
|
setTooltipsHidden(true);
|
|
3038
3163
|
};
|
|
@@ -3055,140 +3180,67 @@ function PageFeedbackToolbarCSS({
|
|
|
3055
3180
|
setTooltipSessionActive(false);
|
|
3056
3181
|
showTooltipsAgain();
|
|
3057
3182
|
};
|
|
3058
|
-
(0,
|
|
3183
|
+
(0, import_react4.useEffect)(() => {
|
|
3059
3184
|
return () => {
|
|
3060
3185
|
if (tooltipSessionTimerRef.current)
|
|
3061
3186
|
clearTimeout(tooltipSessionTimerRef.current);
|
|
3062
3187
|
};
|
|
3063
3188
|
}, []);
|
|
3064
|
-
const
|
|
3065
|
-
|
|
3066
|
-
|
|
3067
|
-
|
|
3068
|
-
|
|
3069
|
-
|
|
3070
|
-
|
|
3071
|
-
const [position, setPosition] = (0, import_react3.useState)({ top: 0, right: 0 });
|
|
3072
|
-
const triggerRef = (0, import_react3.useRef)(null);
|
|
3073
|
-
const timeoutRef = (0, import_react3.useRef)(null);
|
|
3074
|
-
const exitTimeoutRef = (0, import_react3.useRef)(null);
|
|
3075
|
-
const updatePosition = () => {
|
|
3076
|
-
if (triggerRef.current) {
|
|
3077
|
-
const rect = triggerRef.current.getBoundingClientRect();
|
|
3078
|
-
setPosition({
|
|
3079
|
-
top: rect.top + rect.height / 2,
|
|
3080
|
-
right: window.innerWidth - rect.left + 8
|
|
3081
|
-
});
|
|
3082
|
-
}
|
|
3083
|
-
};
|
|
3084
|
-
const handleMouseEnter = () => {
|
|
3085
|
-
setIsHovering(true);
|
|
3086
|
-
setShouldRender(true);
|
|
3087
|
-
if (exitTimeoutRef.current) {
|
|
3088
|
-
clearTimeout(exitTimeoutRef.current);
|
|
3089
|
-
exitTimeoutRef.current = null;
|
|
3090
|
-
}
|
|
3091
|
-
updatePosition();
|
|
3092
|
-
timeoutRef.current = originalSetTimeout(() => {
|
|
3093
|
-
setVisible(true);
|
|
3094
|
-
}, 500);
|
|
3095
|
-
};
|
|
3096
|
-
const handleMouseLeave = () => {
|
|
3097
|
-
setIsHovering(false);
|
|
3098
|
-
if (timeoutRef.current) {
|
|
3099
|
-
clearTimeout(timeoutRef.current);
|
|
3100
|
-
timeoutRef.current = null;
|
|
3101
|
-
}
|
|
3102
|
-
setVisible(false);
|
|
3103
|
-
exitTimeoutRef.current = originalSetTimeout(() => {
|
|
3104
|
-
setShouldRender(false);
|
|
3105
|
-
}, 150);
|
|
3106
|
-
};
|
|
3107
|
-
(0, import_react3.useEffect)(() => {
|
|
3108
|
-
return () => {
|
|
3109
|
-
if (timeoutRef.current) clearTimeout(timeoutRef.current);
|
|
3110
|
-
if (exitTimeoutRef.current) clearTimeout(exitTimeoutRef.current);
|
|
3189
|
+
const [settings, setSettings] = (0, import_react4.useState)(() => {
|
|
3190
|
+
try {
|
|
3191
|
+
const saved = JSON.parse(localStorage.getItem("feedback-toolbar-settings") ?? "");
|
|
3192
|
+
return {
|
|
3193
|
+
...DEFAULT_SETTINGS,
|
|
3194
|
+
...saved,
|
|
3195
|
+
annotationColorId: COLOR_OPTIONS.find((c) => c.id === saved.annotationColorId) ? saved.annotationColorId : DEFAULT_SETTINGS.annotationColorId
|
|
3111
3196
|
};
|
|
3112
|
-
}
|
|
3113
|
-
|
|
3114
|
-
|
|
3115
|
-
|
|
3116
|
-
|
|
3117
|
-
|
|
3118
|
-
|
|
3119
|
-
|
|
3120
|
-
|
|
3121
|
-
|
|
3122
|
-
)
|
|
3123
|
-
|
|
3124
|
-
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
3125
|
-
"div",
|
|
3126
|
-
{
|
|
3127
|
-
"data-feedback-toolbar": true,
|
|
3128
|
-
style: {
|
|
3129
|
-
position: "fixed",
|
|
3130
|
-
top: position.top,
|
|
3131
|
-
right: position.right,
|
|
3132
|
-
transform: "translateY(-50%)",
|
|
3133
|
-
padding: "6px 10px",
|
|
3134
|
-
background: "#383838",
|
|
3135
|
-
color: "rgba(255, 255, 255, 0.7)",
|
|
3136
|
-
fontSize: "11px",
|
|
3137
|
-
fontWeight: 400,
|
|
3138
|
-
lineHeight: "14px",
|
|
3139
|
-
borderRadius: "10px",
|
|
3140
|
-
width: "180px",
|
|
3141
|
-
textAlign: "left",
|
|
3142
|
-
zIndex: 100020,
|
|
3143
|
-
pointerEvents: "none",
|
|
3144
|
-
boxShadow: "0px 1px 8px rgba(0, 0, 0, 0.28)",
|
|
3145
|
-
opacity: visible && !isTransitioning ? 1 : 0,
|
|
3146
|
-
transition: "opacity 0.15s ease"
|
|
3147
|
-
},
|
|
3148
|
-
children: content
|
|
3149
|
-
}
|
|
3150
|
-
),
|
|
3151
|
-
document.body
|
|
3152
|
-
)
|
|
3153
|
-
] });
|
|
3197
|
+
} catch {
|
|
3198
|
+
return DEFAULT_SETTINGS;
|
|
3199
|
+
}
|
|
3200
|
+
});
|
|
3201
|
+
const [isDarkMode, setIsDarkMode] = (0, import_react4.useState)(true);
|
|
3202
|
+
const [showEntranceAnimation, setShowEntranceAnimation] = (0, import_react4.useState)(false);
|
|
3203
|
+
const toggleTheme = () => {
|
|
3204
|
+
portalWrapperRef.current?.classList.add(styles_module_default2.disableTransitions);
|
|
3205
|
+
setIsDarkMode((previous) => !previous);
|
|
3206
|
+
requestAnimationFrame(() => {
|
|
3207
|
+
portalWrapperRef.current?.classList.remove(styles_module_default2.disableTransitions);
|
|
3208
|
+
});
|
|
3154
3209
|
};
|
|
3155
|
-
const [settings, setSettings] = (0, import_react3.useState)(DEFAULT_SETTINGS);
|
|
3156
|
-
const [isDarkMode, setIsDarkMode] = (0, import_react3.useState)(true);
|
|
3157
|
-
const [showEntranceAnimation, setShowEntranceAnimation] = (0, import_react3.useState)(false);
|
|
3158
3210
|
const isDevMode = process.env.NODE_ENV === "development";
|
|
3159
3211
|
const effectiveReactMode = isDevMode && settings.reactEnabled ? OUTPUT_TO_REACT_MODE[settings.outputDetail] : "off";
|
|
3160
|
-
const [currentSessionId, setCurrentSessionId] = (0,
|
|
3212
|
+
const [currentSessionId, setCurrentSessionId] = (0, import_react4.useState)(
|
|
3161
3213
|
initialSessionId ?? null
|
|
3162
3214
|
);
|
|
3163
|
-
const sessionInitializedRef = (0,
|
|
3164
|
-
const [connectionStatus, setConnectionStatus] = (0,
|
|
3165
|
-
const [toolbarPosition, setToolbarPosition] = (0,
|
|
3166
|
-
const [isDraggingToolbar, setIsDraggingToolbar] = (0,
|
|
3167
|
-
const [dragStartPos, setDragStartPos] = (0,
|
|
3168
|
-
const [dragRotation, setDragRotation] = (0,
|
|
3169
|
-
const justFinishedToolbarDragRef = (0,
|
|
3170
|
-
const [animatedMarkers, setAnimatedMarkers] = (0,
|
|
3215
|
+
const sessionInitializedRef = (0, import_react4.useRef)(false);
|
|
3216
|
+
const [connectionStatus, setConnectionStatus] = (0, import_react4.useState)(endpoint ? "connecting" : "disconnected");
|
|
3217
|
+
const [toolbarPosition, setToolbarPosition] = (0, import_react4.useState)(null);
|
|
3218
|
+
const [isDraggingToolbar, setIsDraggingToolbar] = (0, import_react4.useState)(false);
|
|
3219
|
+
const [dragStartPos, setDragStartPos] = (0, import_react4.useState)(null);
|
|
3220
|
+
const [dragRotation, setDragRotation] = (0, import_react4.useState)(0);
|
|
3221
|
+
const justFinishedToolbarDragRef = (0, import_react4.useRef)(false);
|
|
3222
|
+
const [animatedMarkers, setAnimatedMarkers] = (0, import_react4.useState)(
|
|
3171
3223
|
/* @__PURE__ */ new Set()
|
|
3172
3224
|
);
|
|
3173
|
-
const [exitingMarkers, setExitingMarkers] = (0,
|
|
3174
|
-
const [pendingExiting, setPendingExiting] = (0,
|
|
3175
|
-
const [editExiting, setEditExiting] = (0,
|
|
3176
|
-
const [isDragging, setIsDragging] = (0,
|
|
3177
|
-
const mouseDownPosRef = (0,
|
|
3178
|
-
const dragStartRef = (0,
|
|
3179
|
-
const dragRectRef = (0,
|
|
3180
|
-
const highlightsContainerRef = (0,
|
|
3181
|
-
const justFinishedDragRef = (0,
|
|
3182
|
-
const lastElementUpdateRef = (0,
|
|
3183
|
-
const recentlyAddedIdRef = (0,
|
|
3184
|
-
const prevConnectionStatusRef = (0,
|
|
3225
|
+
const [exitingMarkers, setExitingMarkers] = (0, import_react4.useState)(/* @__PURE__ */ new Set());
|
|
3226
|
+
const [pendingExiting, setPendingExiting] = (0, import_react4.useState)(false);
|
|
3227
|
+
const [editExiting, setEditExiting] = (0, import_react4.useState)(false);
|
|
3228
|
+
const [isDragging, setIsDragging] = (0, import_react4.useState)(false);
|
|
3229
|
+
const mouseDownPosRef = (0, import_react4.useRef)(null);
|
|
3230
|
+
const dragStartRef = (0, import_react4.useRef)(null);
|
|
3231
|
+
const dragRectRef = (0, import_react4.useRef)(null);
|
|
3232
|
+
const highlightsContainerRef = (0, import_react4.useRef)(null);
|
|
3233
|
+
const justFinishedDragRef = (0, import_react4.useRef)(false);
|
|
3234
|
+
const lastElementUpdateRef = (0, import_react4.useRef)(0);
|
|
3235
|
+
const recentlyAddedIdRef = (0, import_react4.useRef)(null);
|
|
3236
|
+
const prevConnectionStatusRef = (0, import_react4.useRef)(null);
|
|
3185
3237
|
const DRAG_THRESHOLD = 8;
|
|
3186
3238
|
const ELEMENT_UPDATE_THROTTLE = 50;
|
|
3187
|
-
const popupRef = (0,
|
|
3188
|
-
const editPopupRef = (0,
|
|
3189
|
-
const scrollTimeoutRef = (0,
|
|
3239
|
+
const popupRef = (0, import_react4.useRef)(null);
|
|
3240
|
+
const editPopupRef = (0, import_react4.useRef)(null);
|
|
3241
|
+
const scrollTimeoutRef = (0, import_react4.useRef)(null);
|
|
3190
3242
|
const pathname = typeof window !== "undefined" ? window.location.pathname : "/";
|
|
3191
|
-
(0,
|
|
3243
|
+
(0, import_react4.useEffect)(() => {
|
|
3192
3244
|
if (showSettings) {
|
|
3193
3245
|
setShowSettingsVisible(true);
|
|
3194
3246
|
} else {
|
|
@@ -3198,13 +3250,8 @@ function PageFeedbackToolbarCSS({
|
|
|
3198
3250
|
return () => clearTimeout(timer);
|
|
3199
3251
|
}
|
|
3200
3252
|
}, [showSettings]);
|
|
3201
|
-
(0, import_react3.useEffect)(() => {
|
|
3202
|
-
setIsTransitioning(true);
|
|
3203
|
-
const timer = originalSetTimeout(() => setIsTransitioning(false), 350);
|
|
3204
|
-
return () => clearTimeout(timer);
|
|
3205
|
-
}, [settingsPage]);
|
|
3206
3253
|
const shouldShowMarkers = isActive && showMarkers;
|
|
3207
|
-
(0,
|
|
3254
|
+
(0, import_react4.useEffect)(() => {
|
|
3208
3255
|
if (shouldShowMarkers) {
|
|
3209
3256
|
setMarkersExiting(false);
|
|
3210
3257
|
setMarkersVisible(true);
|
|
@@ -3226,7 +3273,7 @@ function PageFeedbackToolbarCSS({
|
|
|
3226
3273
|
return () => clearTimeout(timer);
|
|
3227
3274
|
}
|
|
3228
3275
|
}, [shouldShowMarkers]);
|
|
3229
|
-
(0,
|
|
3276
|
+
(0, import_react4.useEffect)(() => {
|
|
3230
3277
|
setMounted(true);
|
|
3231
3278
|
setScrollY(window.scrollY);
|
|
3232
3279
|
const stored = loadAnnotations(pathname);
|
|
@@ -3236,13 +3283,6 @@ function PageFeedbackToolbarCSS({
|
|
|
3236
3283
|
hasPlayedEntranceAnimation = true;
|
|
3237
3284
|
originalSetTimeout(() => setShowEntranceAnimation(false), 750);
|
|
3238
3285
|
}
|
|
3239
|
-
try {
|
|
3240
|
-
const storedSettings = localStorage.getItem("feedback-toolbar-settings");
|
|
3241
|
-
if (storedSettings) {
|
|
3242
|
-
setSettings({ ...DEFAULT_SETTINGS, ...JSON.parse(storedSettings) });
|
|
3243
|
-
}
|
|
3244
|
-
} catch (e) {
|
|
3245
|
-
}
|
|
3246
3286
|
try {
|
|
3247
3287
|
const savedTheme = localStorage.getItem("feedback-toolbar-theme");
|
|
3248
3288
|
if (savedTheme !== null) {
|
|
@@ -3261,7 +3301,7 @@ function PageFeedbackToolbarCSS({
|
|
|
3261
3301
|
} catch (e) {
|
|
3262
3302
|
}
|
|
3263
3303
|
}, [pathname]);
|
|
3264
|
-
(0,
|
|
3304
|
+
(0, import_react4.useEffect)(() => {
|
|
3265
3305
|
if (mounted) {
|
|
3266
3306
|
localStorage.setItem(
|
|
3267
3307
|
"feedback-toolbar-settings",
|
|
@@ -3269,7 +3309,7 @@ function PageFeedbackToolbarCSS({
|
|
|
3269
3309
|
);
|
|
3270
3310
|
}
|
|
3271
3311
|
}, [settings, mounted]);
|
|
3272
|
-
(0,
|
|
3312
|
+
(0, import_react4.useEffect)(() => {
|
|
3273
3313
|
if (mounted) {
|
|
3274
3314
|
localStorage.setItem(
|
|
3275
3315
|
"feedback-toolbar-theme",
|
|
@@ -3277,8 +3317,8 @@ function PageFeedbackToolbarCSS({
|
|
|
3277
3317
|
);
|
|
3278
3318
|
}
|
|
3279
3319
|
}, [isDarkMode, mounted]);
|
|
3280
|
-
const prevDraggingRef = (0,
|
|
3281
|
-
(0,
|
|
3320
|
+
const prevDraggingRef = (0, import_react4.useRef)(false);
|
|
3321
|
+
(0, import_react4.useEffect)(() => {
|
|
3282
3322
|
const wasDragging = prevDraggingRef.current;
|
|
3283
3323
|
prevDraggingRef.current = isDraggingToolbar;
|
|
3284
3324
|
if (wasDragging && !isDraggingToolbar && toolbarPosition && mounted) {
|
|
@@ -3288,7 +3328,7 @@ function PageFeedbackToolbarCSS({
|
|
|
3288
3328
|
);
|
|
3289
3329
|
}
|
|
3290
3330
|
}, [isDraggingToolbar, toolbarPosition, mounted]);
|
|
3291
|
-
(0,
|
|
3331
|
+
(0, import_react4.useEffect)(() => {
|
|
3292
3332
|
if (!endpoint || !mounted || sessionInitializedRef.current) return;
|
|
3293
3333
|
sessionInitializedRef.current = true;
|
|
3294
3334
|
setConnectionStatus("connecting");
|
|
@@ -3440,7 +3480,7 @@ function PageFeedbackToolbarCSS({
|
|
|
3440
3480
|
};
|
|
3441
3481
|
initSession();
|
|
3442
3482
|
}, [endpoint, initialSessionId, mounted, onSessionCreated, pathname]);
|
|
3443
|
-
(0,
|
|
3483
|
+
(0, import_react4.useEffect)(() => {
|
|
3444
3484
|
if (!endpoint || !mounted) return;
|
|
3445
3485
|
const checkHealth = async () => {
|
|
3446
3486
|
try {
|
|
@@ -3458,7 +3498,7 @@ function PageFeedbackToolbarCSS({
|
|
|
3458
3498
|
const interval = originalSetInterval(checkHealth, 1e4);
|
|
3459
3499
|
return () => clearInterval(interval);
|
|
3460
3500
|
}, [endpoint, mounted]);
|
|
3461
|
-
(0,
|
|
3501
|
+
(0, import_react4.useEffect)(() => {
|
|
3462
3502
|
if (!endpoint || !mounted || !currentSessionId) return;
|
|
3463
3503
|
const eventSource = new EventSource(
|
|
3464
3504
|
`${endpoint}/sessions/${currentSessionId}/events`
|
|
@@ -3488,7 +3528,7 @@ function PageFeedbackToolbarCSS({
|
|
|
3488
3528
|
eventSource.close();
|
|
3489
3529
|
};
|
|
3490
3530
|
}, [endpoint, mounted, currentSessionId]);
|
|
3491
|
-
(0,
|
|
3531
|
+
(0, import_react4.useEffect)(() => {
|
|
3492
3532
|
if (!endpoint || !mounted) return;
|
|
3493
3533
|
const wasDisconnected = prevConnectionStatusRef.current === "disconnected";
|
|
3494
3534
|
const isNowConnected = connectionStatus === "connected";
|
|
@@ -3553,7 +3593,7 @@ function PageFeedbackToolbarCSS({
|
|
|
3553
3593
|
syncLocalAnnotations();
|
|
3554
3594
|
}
|
|
3555
3595
|
}, [connectionStatus, endpoint, mounted, currentSessionId, pathname]);
|
|
3556
|
-
const hideToolbarTemporarily = (0,
|
|
3596
|
+
const hideToolbarTemporarily = (0, import_react4.useCallback)(() => {
|
|
3557
3597
|
if (isToolbarHiding) return;
|
|
3558
3598
|
setIsToolbarHiding(true);
|
|
3559
3599
|
setShowSettings(false);
|
|
@@ -3564,7 +3604,7 @@ function PageFeedbackToolbarCSS({
|
|
|
3564
3604
|
setIsToolbarHiding(false);
|
|
3565
3605
|
}, 400);
|
|
3566
3606
|
}, [isToolbarHiding]);
|
|
3567
|
-
(0,
|
|
3607
|
+
(0, import_react4.useEffect)(() => {
|
|
3568
3608
|
if (!enableDemoMode) return;
|
|
3569
3609
|
if (!mounted || !demoAnnotations || demoAnnotations.length === 0) return;
|
|
3570
3610
|
if (annotations.length > 0) return;
|
|
@@ -3608,7 +3648,7 @@ function PageFeedbackToolbarCSS({
|
|
|
3608
3648
|
timeoutIds.forEach(clearTimeout);
|
|
3609
3649
|
};
|
|
3610
3650
|
}, [enableDemoMode, mounted, demoAnnotations, demoDelay]);
|
|
3611
|
-
(0,
|
|
3651
|
+
(0, import_react4.useEffect)(() => {
|
|
3612
3652
|
const handleScroll = () => {
|
|
3613
3653
|
setScrollY(window.scrollY);
|
|
3614
3654
|
setIsScrolling(true);
|
|
@@ -3627,7 +3667,7 @@ function PageFeedbackToolbarCSS({
|
|
|
3627
3667
|
}
|
|
3628
3668
|
};
|
|
3629
3669
|
}, []);
|
|
3630
|
-
(0,
|
|
3670
|
+
(0, import_react4.useEffect)(() => {
|
|
3631
3671
|
if (mounted && annotations.length > 0) {
|
|
3632
3672
|
if (currentSessionId) {
|
|
3633
3673
|
saveAnnotationsWithSyncMarker(pathname, annotations, currentSessionId);
|
|
@@ -3638,24 +3678,24 @@ function PageFeedbackToolbarCSS({
|
|
|
3638
3678
|
localStorage.removeItem(getStorageKey(pathname));
|
|
3639
3679
|
}
|
|
3640
3680
|
}, [annotations, pathname, mounted, currentSessionId]);
|
|
3641
|
-
const freezeAnimations = (0,
|
|
3681
|
+
const freezeAnimations = (0, import_react4.useCallback)(() => {
|
|
3642
3682
|
if (isFrozen) return;
|
|
3643
3683
|
freeze();
|
|
3644
3684
|
setIsFrozen(true);
|
|
3645
3685
|
}, [isFrozen]);
|
|
3646
|
-
const unfreezeAnimations = (0,
|
|
3686
|
+
const unfreezeAnimations = (0, import_react4.useCallback)(() => {
|
|
3647
3687
|
if (!isFrozen) return;
|
|
3648
3688
|
unfreeze();
|
|
3649
3689
|
setIsFrozen(false);
|
|
3650
3690
|
}, [isFrozen]);
|
|
3651
|
-
const toggleFreeze = (0,
|
|
3691
|
+
const toggleFreeze = (0, import_react4.useCallback)(() => {
|
|
3652
3692
|
if (isFrozen) {
|
|
3653
3693
|
unfreezeAnimations();
|
|
3654
3694
|
} else {
|
|
3655
3695
|
freezeAnimations();
|
|
3656
3696
|
}
|
|
3657
3697
|
}, [isFrozen, freezeAnimations, unfreezeAnimations]);
|
|
3658
|
-
const createMultiSelectPendingAnnotation = (0,
|
|
3698
|
+
const createMultiSelectPendingAnnotation = (0, import_react4.useCallback)(() => {
|
|
3659
3699
|
if (pendingMultiSelectElements.length === 0) return;
|
|
3660
3700
|
const firstItem = pendingMultiSelectElements[0];
|
|
3661
3701
|
const firstEl = firstItem.element;
|
|
@@ -3741,7 +3781,7 @@ function PageFeedbackToolbarCSS({
|
|
|
3741
3781
|
setPendingMultiSelectElements([]);
|
|
3742
3782
|
setHoverInfo(null);
|
|
3743
3783
|
}, [pendingMultiSelectElements]);
|
|
3744
|
-
(0,
|
|
3784
|
+
(0, import_react4.useEffect)(() => {
|
|
3745
3785
|
if (!isActive) {
|
|
3746
3786
|
setPendingAnnotation(null);
|
|
3747
3787
|
setEditingAnnotation(null);
|
|
@@ -3756,12 +3796,12 @@ function PageFeedbackToolbarCSS({
|
|
|
3756
3796
|
}
|
|
3757
3797
|
}
|
|
3758
3798
|
}, [isActive, isFrozen, unfreezeAnimations]);
|
|
3759
|
-
(0,
|
|
3799
|
+
(0, import_react4.useEffect)(() => {
|
|
3760
3800
|
return () => {
|
|
3761
3801
|
unfreeze();
|
|
3762
3802
|
};
|
|
3763
3803
|
}, []);
|
|
3764
|
-
(0,
|
|
3804
|
+
(0, import_react4.useEffect)(() => {
|
|
3765
3805
|
if (!isActive) return;
|
|
3766
3806
|
const style = document.createElement("style");
|
|
3767
3807
|
style.id = "feedback-cursor-styles";
|
|
@@ -3781,7 +3821,7 @@ function PageFeedbackToolbarCSS({
|
|
|
3781
3821
|
cursor: text !important;
|
|
3782
3822
|
}
|
|
3783
3823
|
[data-feedback-toolbar], [data-feedback-toolbar] * {
|
|
3784
|
-
cursor:
|
|
3824
|
+
cursor: auto !important;
|
|
3785
3825
|
}
|
|
3786
3826
|
[data-feedback-toolbar] textarea,
|
|
3787
3827
|
[data-feedback-toolbar] input[type="text"],
|
|
@@ -3808,7 +3848,7 @@ function PageFeedbackToolbarCSS({
|
|
|
3808
3848
|
if (existingStyle) existingStyle.remove();
|
|
3809
3849
|
};
|
|
3810
3850
|
}, [isActive]);
|
|
3811
|
-
(0,
|
|
3851
|
+
(0, import_react4.useEffect)(() => {
|
|
3812
3852
|
if (!isActive || pendingAnnotation) return;
|
|
3813
3853
|
const handleMouseMove = (e) => {
|
|
3814
3854
|
const target = e.composedPath()[0] || e.target;
|
|
@@ -3835,7 +3875,7 @@ function PageFeedbackToolbarCSS({
|
|
|
3835
3875
|
document.addEventListener("mousemove", handleMouseMove);
|
|
3836
3876
|
return () => document.removeEventListener("mousemove", handleMouseMove);
|
|
3837
3877
|
}, [isActive, pendingAnnotation, effectiveReactMode]);
|
|
3838
|
-
(0,
|
|
3878
|
+
(0, import_react4.useEffect)(() => {
|
|
3839
3879
|
if (!isActive) return;
|
|
3840
3880
|
const handleClick = (e) => {
|
|
3841
3881
|
if (justFinishedDragRef.current) {
|
|
@@ -3957,7 +3997,7 @@ function PageFeedbackToolbarCSS({
|
|
|
3957
3997
|
effectiveReactMode,
|
|
3958
3998
|
pendingMultiSelectElements
|
|
3959
3999
|
]);
|
|
3960
|
-
(0,
|
|
4000
|
+
(0, import_react4.useEffect)(() => {
|
|
3961
4001
|
if (!isActive) return;
|
|
3962
4002
|
const handleKeyDown = (e) => {
|
|
3963
4003
|
if (e.key === "Meta") modifiersHeldRef.current.cmd = true;
|
|
@@ -3985,7 +4025,7 @@ function PageFeedbackToolbarCSS({
|
|
|
3985
4025
|
window.removeEventListener("blur", handleBlur);
|
|
3986
4026
|
};
|
|
3987
4027
|
}, [isActive, pendingMultiSelectElements, createMultiSelectPendingAnnotation]);
|
|
3988
|
-
(0,
|
|
4028
|
+
(0, import_react4.useEffect)(() => {
|
|
3989
4029
|
if (!isActive || pendingAnnotation) return;
|
|
3990
4030
|
const handleMouseDown = (e) => {
|
|
3991
4031
|
const target = e.composedPath()[0] || e.target;
|
|
@@ -4039,7 +4079,7 @@ function PageFeedbackToolbarCSS({
|
|
|
4039
4079
|
document.addEventListener("mousedown", handleMouseDown);
|
|
4040
4080
|
return () => document.removeEventListener("mousedown", handleMouseDown);
|
|
4041
4081
|
}, [isActive, pendingAnnotation]);
|
|
4042
|
-
(0,
|
|
4082
|
+
(0, import_react4.useEffect)(() => {
|
|
4043
4083
|
if (!isActive || pendingAnnotation) return;
|
|
4044
4084
|
const handleMouseMove = (e) => {
|
|
4045
4085
|
if (!mouseDownPosRef.current) return;
|
|
@@ -4184,7 +4224,7 @@ function PageFeedbackToolbarCSS({
|
|
|
4184
4224
|
document.addEventListener("mousemove", handleMouseMove, { passive: true });
|
|
4185
4225
|
return () => document.removeEventListener("mousemove", handleMouseMove);
|
|
4186
4226
|
}, [isActive, pendingAnnotation, isDragging, DRAG_THRESHOLD]);
|
|
4187
|
-
(0,
|
|
4227
|
+
(0, import_react4.useEffect)(() => {
|
|
4188
4228
|
if (!isActive) return;
|
|
4189
4229
|
const handleMouseUp = (e) => {
|
|
4190
4230
|
const wasDragging = isDragging;
|
|
@@ -4293,7 +4333,7 @@ function PageFeedbackToolbarCSS({
|
|
|
4293
4333
|
document.addEventListener("mouseup", handleMouseUp);
|
|
4294
4334
|
return () => document.removeEventListener("mouseup", handleMouseUp);
|
|
4295
4335
|
}, [isActive, isDragging]);
|
|
4296
|
-
const fireWebhook = (0,
|
|
4336
|
+
const fireWebhook = (0, import_react4.useCallback)(
|
|
4297
4337
|
async (event, payload, force) => {
|
|
4298
4338
|
const targetUrl = settings.webhookUrl || webhookUrl;
|
|
4299
4339
|
if (!targetUrl || !settings.webhooksEnabled && !force) return false;
|
|
@@ -4316,7 +4356,7 @@ function PageFeedbackToolbarCSS({
|
|
|
4316
4356
|
},
|
|
4317
4357
|
[webhookUrl, settings.webhookUrl, settings.webhooksEnabled]
|
|
4318
4358
|
);
|
|
4319
|
-
const addAnnotation = (0,
|
|
4359
|
+
const addAnnotation = (0, import_react4.useCallback)(
|
|
4320
4360
|
(comment) => {
|
|
4321
4361
|
if (!pendingAnnotation) return;
|
|
4322
4362
|
const newAnnotation = {
|
|
@@ -4391,14 +4431,14 @@ function PageFeedbackToolbarCSS({
|
|
|
4391
4431
|
currentSessionId
|
|
4392
4432
|
]
|
|
4393
4433
|
);
|
|
4394
|
-
const cancelAnnotation = (0,
|
|
4434
|
+
const cancelAnnotation = (0, import_react4.useCallback)(() => {
|
|
4395
4435
|
setPendingExiting(true);
|
|
4396
4436
|
originalSetTimeout(() => {
|
|
4397
4437
|
setPendingAnnotation(null);
|
|
4398
4438
|
setPendingExiting(false);
|
|
4399
4439
|
}, 150);
|
|
4400
4440
|
}, []);
|
|
4401
|
-
const deleteAnnotation2 = (0,
|
|
4441
|
+
const deleteAnnotation2 = (0, import_react4.useCallback)(
|
|
4402
4442
|
(id) => {
|
|
4403
4443
|
const deletedIndex = annotations.findIndex((a) => a.id === id);
|
|
4404
4444
|
const deletedAnnotation = annotations[deletedIndex];
|
|
@@ -4441,7 +4481,7 @@ function PageFeedbackToolbarCSS({
|
|
|
4441
4481
|
},
|
|
4442
4482
|
[annotations, editingAnnotation, onAnnotationDelete, fireWebhook, endpoint]
|
|
4443
4483
|
);
|
|
4444
|
-
const startEditAnnotation = (0,
|
|
4484
|
+
const startEditAnnotation = (0, import_react4.useCallback)((annotation) => {
|
|
4445
4485
|
setEditingAnnotation(annotation);
|
|
4446
4486
|
setHoveredMarkerId(null);
|
|
4447
4487
|
setHoveredTargetElement(null);
|
|
@@ -4479,7 +4519,7 @@ function PageFeedbackToolbarCSS({
|
|
|
4479
4519
|
setEditingTargetElements([]);
|
|
4480
4520
|
}
|
|
4481
4521
|
}, []);
|
|
4482
|
-
const handleMarkerHover = (0,
|
|
4522
|
+
const handleMarkerHover = (0, import_react4.useCallback)(
|
|
4483
4523
|
(annotation) => {
|
|
4484
4524
|
if (!annotation) {
|
|
4485
4525
|
setHoveredMarkerId(null);
|
|
@@ -4526,7 +4566,7 @@ function PageFeedbackToolbarCSS({
|
|
|
4526
4566
|
},
|
|
4527
4567
|
[]
|
|
4528
4568
|
);
|
|
4529
|
-
const updateAnnotation2 = (0,
|
|
4569
|
+
const updateAnnotation2 = (0, import_react4.useCallback)(
|
|
4530
4570
|
(newComment) => {
|
|
4531
4571
|
if (!editingAnnotation) return;
|
|
4532
4572
|
const updatedAnnotation = { ...editingAnnotation, comment: newComment };
|
|
@@ -4557,7 +4597,7 @@ function PageFeedbackToolbarCSS({
|
|
|
4557
4597
|
},
|
|
4558
4598
|
[editingAnnotation, onAnnotationUpdate, fireWebhook, endpoint]
|
|
4559
4599
|
);
|
|
4560
|
-
const cancelEditAnnotation = (0,
|
|
4600
|
+
const cancelEditAnnotation = (0, import_react4.useCallback)(() => {
|
|
4561
4601
|
setEditExiting(true);
|
|
4562
4602
|
originalSetTimeout(() => {
|
|
4563
4603
|
setEditingAnnotation(null);
|
|
@@ -4566,7 +4606,7 @@ function PageFeedbackToolbarCSS({
|
|
|
4566
4606
|
setEditExiting(false);
|
|
4567
4607
|
}, 150);
|
|
4568
4608
|
}, []);
|
|
4569
|
-
const clearAll = (0,
|
|
4609
|
+
const clearAll = (0, import_react4.useCallback)(() => {
|
|
4570
4610
|
const count = annotations.length;
|
|
4571
4611
|
if (count === 0) return;
|
|
4572
4612
|
onAnnotationsClear?.(annotations);
|
|
@@ -4594,7 +4634,7 @@ function PageFeedbackToolbarCSS({
|
|
|
4594
4634
|
}, totalAnimationTime);
|
|
4595
4635
|
originalSetTimeout(() => setCleared(false), 1500);
|
|
4596
4636
|
}, [pathname, annotations, onAnnotationsClear, fireWebhook, endpoint]);
|
|
4597
|
-
const copyOutput = (0,
|
|
4637
|
+
const copyOutput = (0, import_react4.useCallback)(async () => {
|
|
4598
4638
|
const displayUrl = typeof window !== "undefined" ? window.location.pathname + window.location.search + window.location.hash : pathname;
|
|
4599
4639
|
const output = generateOutput(
|
|
4600
4640
|
annotations,
|
|
@@ -4625,7 +4665,7 @@ function PageFeedbackToolbarCSS({
|
|
|
4625
4665
|
copyToClipboard,
|
|
4626
4666
|
onCopy
|
|
4627
4667
|
]);
|
|
4628
|
-
const sendToWebhook = (0,
|
|
4668
|
+
const sendToWebhook = (0, import_react4.useCallback)(async () => {
|
|
4629
4669
|
const displayUrl = typeof window !== "undefined" ? window.location.pathname + window.location.search + window.location.hash : pathname;
|
|
4630
4670
|
const output = generateOutput(
|
|
4631
4671
|
annotations,
|
|
@@ -4655,7 +4695,7 @@ function PageFeedbackToolbarCSS({
|
|
|
4655
4695
|
settings.autoClearAfterCopy,
|
|
4656
4696
|
clearAll
|
|
4657
4697
|
]);
|
|
4658
|
-
(0,
|
|
4698
|
+
(0, import_react4.useEffect)(() => {
|
|
4659
4699
|
if (!dragStartPos) return;
|
|
4660
4700
|
const DRAG_THRESHOLD2 = 10;
|
|
4661
4701
|
const handleMouseMove = (e) => {
|
|
@@ -4697,7 +4737,7 @@ function PageFeedbackToolbarCSS({
|
|
|
4697
4737
|
document.removeEventListener("mouseup", handleMouseUp);
|
|
4698
4738
|
};
|
|
4699
4739
|
}, [dragStartPos, isDraggingToolbar, isActive, connectionStatus]);
|
|
4700
|
-
const handleToolbarMouseDown = (0,
|
|
4740
|
+
const handleToolbarMouseDown = (0, import_react4.useCallback)(
|
|
4701
4741
|
(e) => {
|
|
4702
4742
|
if (e.target.closest("button") || e.target.closest(`.${styles_module_default2.settingsPanel}`)) {
|
|
4703
4743
|
return;
|
|
@@ -4718,7 +4758,7 @@ function PageFeedbackToolbarCSS({
|
|
|
4718
4758
|
},
|
|
4719
4759
|
[toolbarPosition]
|
|
4720
4760
|
);
|
|
4721
|
-
(0,
|
|
4761
|
+
(0, import_react4.useEffect)(() => {
|
|
4722
4762
|
if (!toolbarPosition) return;
|
|
4723
4763
|
const constrainPosition = () => {
|
|
4724
4764
|
const padding = 20;
|
|
@@ -4743,7 +4783,7 @@ function PageFeedbackToolbarCSS({
|
|
|
4743
4783
|
window.addEventListener("resize", constrainPosition);
|
|
4744
4784
|
return () => window.removeEventListener("resize", constrainPosition);
|
|
4745
4785
|
}, [toolbarPosition, isActive, connectionStatus]);
|
|
4746
|
-
(0,
|
|
4786
|
+
(0, import_react4.useEffect)(() => {
|
|
4747
4787
|
const handleKeyDown = (e) => {
|
|
4748
4788
|
const target = e.target;
|
|
4749
4789
|
const isTyping = target.tagName === "INPUT" || target.tagName === "TEXTAREA" || target.isContentEditable;
|
|
@@ -4848,9 +4888,9 @@ function PageFeedbackToolbarCSS({
|
|
|
4848
4888
|
}
|
|
4849
4889
|
return styles;
|
|
4850
4890
|
};
|
|
4851
|
-
return (0,
|
|
4852
|
-
/* @__PURE__ */ (0,
|
|
4853
|
-
/* @__PURE__ */ (0,
|
|
4891
|
+
return (0, import_react_dom2.createPortal)(
|
|
4892
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("div", { ref: portalWrapperRef, style: { display: "contents" }, "data-agentation-theme": isDarkMode ? "dark" : "light", "data-agentation-accent": settings.annotationColorId, children: [
|
|
4893
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
4854
4894
|
"div",
|
|
4855
4895
|
{
|
|
4856
4896
|
className: `${styles_module_default2.toolbar}${userClassName ? ` ${userClassName}` : ""}`,
|
|
@@ -4861,10 +4901,10 @@ function PageFeedbackToolbarCSS({
|
|
|
4861
4901
|
right: "auto",
|
|
4862
4902
|
bottom: "auto"
|
|
4863
4903
|
} : void 0,
|
|
4864
|
-
children: /* @__PURE__ */ (0,
|
|
4904
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(
|
|
4865
4905
|
"div",
|
|
4866
4906
|
{
|
|
4867
|
-
className: `${styles_module_default2.toolbarContainer} ${
|
|
4907
|
+
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 : ""}`,
|
|
4868
4908
|
onClick: !isActive ? (e) => {
|
|
4869
4909
|
if (justFinishedToolbarDragRef.current) {
|
|
4870
4910
|
justFinishedToolbarDragRef.current = false;
|
|
@@ -4884,79 +4924,78 @@ function PageFeedbackToolbarCSS({
|
|
|
4884
4924
|
}
|
|
4885
4925
|
},
|
|
4886
4926
|
children: [
|
|
4887
|
-
/* @__PURE__ */ (0,
|
|
4927
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(
|
|
4888
4928
|
"div",
|
|
4889
4929
|
{
|
|
4890
4930
|
className: `${styles_module_default2.toggleContent} ${!isActive ? styles_module_default2.visible : styles_module_default2.hidden}`,
|
|
4891
4931
|
children: [
|
|
4892
|
-
/* @__PURE__ */ (0,
|
|
4893
|
-
hasAnnotations && /* @__PURE__ */ (0,
|
|
4932
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(IconListSparkle, { size: 24 }),
|
|
4933
|
+
hasAnnotations && /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
4894
4934
|
"span",
|
|
4895
4935
|
{
|
|
4896
4936
|
className: `${styles_module_default2.badge} ${isActive ? styles_module_default2.fadeOut : ""} ${showEntranceAnimation ? styles_module_default2.entrance : ""}`,
|
|
4897
|
-
style: { backgroundColor: settings.annotationColor },
|
|
4898
4937
|
children: annotations.length
|
|
4899
4938
|
}
|
|
4900
4939
|
)
|
|
4901
4940
|
]
|
|
4902
4941
|
}
|
|
4903
4942
|
),
|
|
4904
|
-
/* @__PURE__ */ (0,
|
|
4943
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(
|
|
4905
4944
|
"div",
|
|
4906
4945
|
{
|
|
4907
4946
|
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 : ""}`,
|
|
4908
4947
|
onMouseEnter: handleControlsMouseEnter,
|
|
4909
4948
|
onMouseLeave: handleControlsMouseLeave,
|
|
4910
4949
|
children: [
|
|
4911
|
-
/* @__PURE__ */ (0,
|
|
4950
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(
|
|
4912
4951
|
"div",
|
|
4913
4952
|
{
|
|
4914
4953
|
className: `${styles_module_default2.buttonWrapper} ${toolbarPosition && toolbarPosition.x < 120 ? styles_module_default2.buttonWrapperAlignLeft : ""}`,
|
|
4915
4954
|
children: [
|
|
4916
|
-
/* @__PURE__ */ (0,
|
|
4955
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
4917
4956
|
"button",
|
|
4918
4957
|
{
|
|
4919
|
-
className:
|
|
4958
|
+
className: styles_module_default2.controlButton,
|
|
4920
4959
|
onClick: (e) => {
|
|
4921
4960
|
e.stopPropagation();
|
|
4922
4961
|
hideTooltipsUntilMouseLeave();
|
|
4923
4962
|
toggleFreeze();
|
|
4924
4963
|
},
|
|
4925
4964
|
"data-active": isFrozen,
|
|
4926
|
-
children: /* @__PURE__ */ (0,
|
|
4965
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(IconPausePlayAnimated, { size: 24, isPaused: isFrozen })
|
|
4927
4966
|
}
|
|
4928
4967
|
),
|
|
4929
|
-
/* @__PURE__ */ (0,
|
|
4968
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("span", { className: styles_module_default2.buttonTooltip, children: [
|
|
4930
4969
|
isFrozen ? "Resume animations" : "Pause animations",
|
|
4931
|
-
/* @__PURE__ */ (0,
|
|
4970
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("span", { className: styles_module_default2.shortcut, children: "P" })
|
|
4932
4971
|
] })
|
|
4933
4972
|
]
|
|
4934
4973
|
}
|
|
4935
4974
|
),
|
|
4936
|
-
/* @__PURE__ */ (0,
|
|
4937
|
-
/* @__PURE__ */ (0,
|
|
4975
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("div", { className: styles_module_default2.buttonWrapper, children: [
|
|
4976
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
4938
4977
|
"button",
|
|
4939
4978
|
{
|
|
4940
|
-
className:
|
|
4979
|
+
className: styles_module_default2.controlButton,
|
|
4941
4980
|
onClick: (e) => {
|
|
4942
4981
|
e.stopPropagation();
|
|
4943
4982
|
hideTooltipsUntilMouseLeave();
|
|
4944
4983
|
setShowMarkers(!showMarkers);
|
|
4945
4984
|
},
|
|
4946
4985
|
disabled: !hasAnnotations,
|
|
4947
|
-
children: /* @__PURE__ */ (0,
|
|
4986
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(IconEyeAnimated, { size: 24, isOpen: showMarkers })
|
|
4948
4987
|
}
|
|
4949
4988
|
),
|
|
4950
|
-
/* @__PURE__ */ (0,
|
|
4989
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("span", { className: styles_module_default2.buttonTooltip, children: [
|
|
4951
4990
|
showMarkers ? "Hide markers" : "Show markers",
|
|
4952
|
-
/* @__PURE__ */ (0,
|
|
4991
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("span", { className: styles_module_default2.shortcut, children: "H" })
|
|
4953
4992
|
] })
|
|
4954
4993
|
] }),
|
|
4955
|
-
/* @__PURE__ */ (0,
|
|
4956
|
-
/* @__PURE__ */ (0,
|
|
4994
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("div", { className: styles_module_default2.buttonWrapper, children: [
|
|
4995
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
4957
4996
|
"button",
|
|
4958
4997
|
{
|
|
4959
|
-
className: `${styles_module_default2.controlButton} ${
|
|
4998
|
+
className: `${styles_module_default2.controlButton} ${copied ? styles_module_default2.statusShowing : ""}`,
|
|
4960
4999
|
onClick: (e) => {
|
|
4961
5000
|
e.stopPropagation();
|
|
4962
5001
|
hideTooltipsUntilMouseLeave();
|
|
@@ -4964,23 +5003,23 @@ function PageFeedbackToolbarCSS({
|
|
|
4964
5003
|
},
|
|
4965
5004
|
disabled: !hasAnnotations,
|
|
4966
5005
|
"data-active": copied,
|
|
4967
|
-
children: /* @__PURE__ */ (0,
|
|
5006
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(IconCopyAnimated, { size: 24, copied })
|
|
4968
5007
|
}
|
|
4969
5008
|
),
|
|
4970
|
-
/* @__PURE__ */ (0,
|
|
5009
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("span", { className: styles_module_default2.buttonTooltip, children: [
|
|
4971
5010
|
"Copy feedback",
|
|
4972
|
-
/* @__PURE__ */ (0,
|
|
5011
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("span", { className: styles_module_default2.shortcut, children: "C" })
|
|
4973
5012
|
] })
|
|
4974
5013
|
] }),
|
|
4975
|
-
/* @__PURE__ */ (0,
|
|
5014
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(
|
|
4976
5015
|
"div",
|
|
4977
5016
|
{
|
|
4978
5017
|
className: `${styles_module_default2.buttonWrapper} ${styles_module_default2.sendButtonWrapper} ${isActive && !settings.webhooksEnabled && (isValidUrl(settings.webhookUrl) || isValidUrl(webhookUrl || "")) ? styles_module_default2.sendButtonVisible : ""}`,
|
|
4979
5018
|
children: [
|
|
4980
|
-
/* @__PURE__ */ (0,
|
|
5019
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(
|
|
4981
5020
|
"button",
|
|
4982
5021
|
{
|
|
4983
|
-
className: `${styles_module_default2.controlButton} ${
|
|
5022
|
+
className: `${styles_module_default2.controlButton} ${sendState === "sent" || sendState === "failed" ? styles_module_default2.statusShowing : ""}`,
|
|
4984
5023
|
onClick: (e) => {
|
|
4985
5024
|
e.stopPropagation();
|
|
4986
5025
|
hideTooltipsUntilMouseLeave();
|
|
@@ -4990,30 +5029,29 @@ function PageFeedbackToolbarCSS({
|
|
|
4990
5029
|
"data-no-hover": sendState === "sent" || sendState === "failed",
|
|
4991
5030
|
tabIndex: isValidUrl(settings.webhookUrl) || isValidUrl(webhookUrl || "") ? 0 : -1,
|
|
4992
5031
|
children: [
|
|
4993
|
-
/* @__PURE__ */ (0,
|
|
4994
|
-
hasAnnotations && sendState === "idle" && /* @__PURE__ */ (0,
|
|
5032
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(IconSendArrow, { size: 24, state: sendState }),
|
|
5033
|
+
hasAnnotations && sendState === "idle" && /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
4995
5034
|
"span",
|
|
4996
5035
|
{
|
|
4997
|
-
className:
|
|
4998
|
-
style: { backgroundColor: settings.annotationColor },
|
|
5036
|
+
className: styles_module_default2.buttonBadge,
|
|
4999
5037
|
children: annotations.length
|
|
5000
5038
|
}
|
|
5001
5039
|
)
|
|
5002
5040
|
]
|
|
5003
5041
|
}
|
|
5004
5042
|
),
|
|
5005
|
-
/* @__PURE__ */ (0,
|
|
5043
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("span", { className: styles_module_default2.buttonTooltip, children: [
|
|
5006
5044
|
"Send Annotations",
|
|
5007
|
-
/* @__PURE__ */ (0,
|
|
5045
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("span", { className: styles_module_default2.shortcut, children: "S" })
|
|
5008
5046
|
] })
|
|
5009
5047
|
]
|
|
5010
5048
|
}
|
|
5011
5049
|
),
|
|
5012
|
-
/* @__PURE__ */ (0,
|
|
5013
|
-
/* @__PURE__ */ (0,
|
|
5050
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("div", { className: styles_module_default2.buttonWrapper, children: [
|
|
5051
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
5014
5052
|
"button",
|
|
5015
5053
|
{
|
|
5016
|
-
className:
|
|
5054
|
+
className: styles_module_default2.controlButton,
|
|
5017
5055
|
onClick: (e) => {
|
|
5018
5056
|
e.stopPropagation();
|
|
5019
5057
|
hideTooltipsUntilMouseLeave();
|
|
@@ -5021,62 +5059,62 @@ function PageFeedbackToolbarCSS({
|
|
|
5021
5059
|
},
|
|
5022
5060
|
disabled: !hasAnnotations,
|
|
5023
5061
|
"data-danger": true,
|
|
5024
|
-
children: /* @__PURE__ */ (0,
|
|
5062
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(IconTrashAlt, { size: 24 })
|
|
5025
5063
|
}
|
|
5026
5064
|
),
|
|
5027
|
-
/* @__PURE__ */ (0,
|
|
5065
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("span", { className: styles_module_default2.buttonTooltip, children: [
|
|
5028
5066
|
"Clear all",
|
|
5029
|
-
/* @__PURE__ */ (0,
|
|
5067
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("span", { className: styles_module_default2.shortcut, children: "X" })
|
|
5030
5068
|
] })
|
|
5031
5069
|
] }),
|
|
5032
|
-
/* @__PURE__ */ (0,
|
|
5033
|
-
/* @__PURE__ */ (0,
|
|
5070
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("div", { className: styles_module_default2.buttonWrapper, children: [
|
|
5071
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
5034
5072
|
"button",
|
|
5035
5073
|
{
|
|
5036
|
-
className:
|
|
5074
|
+
className: styles_module_default2.controlButton,
|
|
5037
5075
|
onClick: (e) => {
|
|
5038
5076
|
e.stopPropagation();
|
|
5039
5077
|
hideTooltipsUntilMouseLeave();
|
|
5040
5078
|
setShowSettings(!showSettings);
|
|
5041
5079
|
},
|
|
5042
|
-
children: /* @__PURE__ */ (0,
|
|
5080
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(IconGear, { size: 24 })
|
|
5043
5081
|
}
|
|
5044
5082
|
),
|
|
5045
|
-
endpoint && connectionStatus !== "disconnected" && /* @__PURE__ */ (0,
|
|
5083
|
+
endpoint && connectionStatus !== "disconnected" && /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
5046
5084
|
"span",
|
|
5047
5085
|
{
|
|
5048
|
-
className: `${styles_module_default2.mcpIndicator} ${
|
|
5086
|
+
className: `${styles_module_default2.mcpIndicator} ${styles_module_default2[connectionStatus]} ${showSettings ? styles_module_default2.hidden : ""}`,
|
|
5049
5087
|
title: connectionStatus === "connected" ? "MCP Connected" : "MCP Connecting..."
|
|
5050
5088
|
}
|
|
5051
5089
|
),
|
|
5052
|
-
/* @__PURE__ */ (0,
|
|
5090
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("span", { className: styles_module_default2.buttonTooltip, children: "Settings" })
|
|
5053
5091
|
] }),
|
|
5054
|
-
/* @__PURE__ */ (0,
|
|
5092
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
5055
5093
|
"div",
|
|
5056
5094
|
{
|
|
5057
|
-
className:
|
|
5095
|
+
className: styles_module_default2.divider
|
|
5058
5096
|
}
|
|
5059
5097
|
),
|
|
5060
|
-
/* @__PURE__ */ (0,
|
|
5098
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(
|
|
5061
5099
|
"div",
|
|
5062
5100
|
{
|
|
5063
5101
|
className: `${styles_module_default2.buttonWrapper} ${toolbarPosition && typeof window !== "undefined" && toolbarPosition.x > window.innerWidth - 120 ? styles_module_default2.buttonWrapperAlignRight : ""}`,
|
|
5064
5102
|
children: [
|
|
5065
|
-
/* @__PURE__ */ (0,
|
|
5103
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
5066
5104
|
"button",
|
|
5067
5105
|
{
|
|
5068
|
-
className:
|
|
5106
|
+
className: styles_module_default2.controlButton,
|
|
5069
5107
|
onClick: (e) => {
|
|
5070
5108
|
e.stopPropagation();
|
|
5071
5109
|
hideTooltipsUntilMouseLeave();
|
|
5072
5110
|
setIsActive(false);
|
|
5073
5111
|
},
|
|
5074
|
-
children: /* @__PURE__ */ (0,
|
|
5112
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(IconXmarkLarge, { size: 24 })
|
|
5075
5113
|
}
|
|
5076
5114
|
),
|
|
5077
|
-
/* @__PURE__ */ (0,
|
|
5115
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("span", { className: styles_module_default2.buttonTooltip, children: [
|
|
5078
5116
|
"Exit",
|
|
5079
|
-
/* @__PURE__ */ (0,
|
|
5117
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("span", { className: styles_module_default2.shortcut, children: "Esc" })
|
|
5080
5118
|
] })
|
|
5081
5119
|
]
|
|
5082
5120
|
}
|
|
@@ -5084,77 +5122,73 @@ function PageFeedbackToolbarCSS({
|
|
|
5084
5122
|
]
|
|
5085
5123
|
}
|
|
5086
5124
|
),
|
|
5087
|
-
/* @__PURE__ */ (0,
|
|
5125
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
5088
5126
|
"div",
|
|
5089
5127
|
{
|
|
5090
|
-
className: `${styles_module_default2.settingsPanel} ${
|
|
5128
|
+
className: `${styles_module_default2.settingsPanel} ${showSettingsVisible ? styles_module_default2.enter : styles_module_default2.exit}`,
|
|
5091
5129
|
onClick: (e) => e.stopPropagation(),
|
|
5092
5130
|
style: toolbarPosition && toolbarPosition.y < 230 ? {
|
|
5093
5131
|
bottom: "auto",
|
|
5094
5132
|
top: "calc(100% + 0.5rem)"
|
|
5095
5133
|
} : void 0,
|
|
5096
|
-
children: /* @__PURE__ */ (0,
|
|
5134
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(
|
|
5097
5135
|
"div",
|
|
5098
5136
|
{
|
|
5099
|
-
className:
|
|
5137
|
+
className: styles_module_default2.settingsPanelContainer,
|
|
5100
5138
|
children: [
|
|
5101
|
-
/* @__PURE__ */ (0,
|
|
5139
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(
|
|
5102
5140
|
"div",
|
|
5103
5141
|
{
|
|
5104
5142
|
className: `${styles_module_default2.settingsPage} ${settingsPage === "automations" ? styles_module_default2.slideLeft : ""}`,
|
|
5105
5143
|
children: [
|
|
5106
|
-
/* @__PURE__ */ (0,
|
|
5107
|
-
/* @__PURE__ */ (0,
|
|
5108
|
-
/* @__PURE__ */ (0,
|
|
5144
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("div", { className: styles_module_default2.settingsHeader, children: [
|
|
5145
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("span", { className: styles_module_default2.settingsBrand, children: [
|
|
5146
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
5109
5147
|
"span",
|
|
5110
5148
|
{
|
|
5111
5149
|
className: styles_module_default2.settingsBrandSlash,
|
|
5112
|
-
style: {
|
|
5113
|
-
color: settings.annotationColor,
|
|
5114
|
-
transition: "color 0.2s ease"
|
|
5115
|
-
},
|
|
5116
5150
|
children: "/"
|
|
5117
5151
|
}
|
|
5118
5152
|
),
|
|
5119
5153
|
"agentation"
|
|
5120
5154
|
] }),
|
|
5121
|
-
/* @__PURE__ */ (0,
|
|
5155
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("span", { className: styles_module_default2.settingsVersion, children: [
|
|
5122
5156
|
"v",
|
|
5123
|
-
"2.3.
|
|
5157
|
+
"2.3.3"
|
|
5124
5158
|
] }),
|
|
5125
|
-
/* @__PURE__ */ (0,
|
|
5159
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
5126
5160
|
"button",
|
|
5127
5161
|
{
|
|
5128
5162
|
className: styles_module_default2.themeToggle,
|
|
5129
|
-
onClick:
|
|
5163
|
+
onClick: toggleTheme,
|
|
5130
5164
|
title: isDarkMode ? "Switch to light mode" : "Switch to dark mode",
|
|
5131
|
-
children: /* @__PURE__ */ (0,
|
|
5165
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("span", { className: styles_module_default2.themeIconWrapper, children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
5132
5166
|
"span",
|
|
5133
5167
|
{
|
|
5134
5168
|
className: styles_module_default2.themeIcon,
|
|
5135
|
-
children: isDarkMode ? /* @__PURE__ */ (0,
|
|
5169
|
+
children: isDarkMode ? /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(IconSun, { size: 20 }) : /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(IconMoon, { size: 20 })
|
|
5136
5170
|
},
|
|
5137
5171
|
isDarkMode ? "sun" : "moon"
|
|
5138
5172
|
) })
|
|
5139
5173
|
}
|
|
5140
5174
|
)
|
|
5141
5175
|
] }),
|
|
5142
|
-
/* @__PURE__ */ (0,
|
|
5143
|
-
/* @__PURE__ */ (0,
|
|
5144
|
-
/* @__PURE__ */ (0,
|
|
5176
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("div", { className: styles_module_default2.settingsSection, children: [
|
|
5177
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("div", { className: styles_module_default2.settingsRow, children: [
|
|
5178
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(
|
|
5145
5179
|
"div",
|
|
5146
5180
|
{
|
|
5147
|
-
className:
|
|
5181
|
+
className: styles_module_default2.settingsLabel,
|
|
5148
5182
|
children: [
|
|
5149
5183
|
"Output Detail",
|
|
5150
|
-
/* @__PURE__ */ (0,
|
|
5184
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(HelpTooltip, { content: "Controls how much detail is included in the copied output" })
|
|
5151
5185
|
]
|
|
5152
5186
|
}
|
|
5153
5187
|
),
|
|
5154
|
-
/* @__PURE__ */ (0,
|
|
5188
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(
|
|
5155
5189
|
"button",
|
|
5156
5190
|
{
|
|
5157
|
-
className:
|
|
5191
|
+
className: styles_module_default2.cycleButton,
|
|
5158
5192
|
onClick: () => {
|
|
5159
5193
|
const currentIndex = OUTPUT_DETAIL_OPTIONS.findIndex(
|
|
5160
5194
|
(opt) => opt.value === settings.outputDetail
|
|
@@ -5166,7 +5200,7 @@ function PageFeedbackToolbarCSS({
|
|
|
5166
5200
|
}));
|
|
5167
5201
|
},
|
|
5168
5202
|
children: [
|
|
5169
|
-
/* @__PURE__ */ (0,
|
|
5203
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
5170
5204
|
"span",
|
|
5171
5205
|
{
|
|
5172
5206
|
className: styles_module_default2.cycleButtonText,
|
|
@@ -5176,10 +5210,10 @@ function PageFeedbackToolbarCSS({
|
|
|
5176
5210
|
},
|
|
5177
5211
|
settings.outputDetail
|
|
5178
5212
|
),
|
|
5179
|
-
/* @__PURE__ */ (0,
|
|
5213
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("span", { className: styles_module_default2.cycleDots, children: OUTPUT_DETAIL_OPTIONS.map((option, i) => /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
5180
5214
|
"span",
|
|
5181
5215
|
{
|
|
5182
|
-
className: `${styles_module_default2.cycleDot} ${
|
|
5216
|
+
className: `${styles_module_default2.cycleDot} ${settings.outputDetail === option.value ? styles_module_default2.active : ""}`
|
|
5183
5217
|
},
|
|
5184
5218
|
option.value
|
|
5185
5219
|
)) })
|
|
@@ -5187,33 +5221,32 @@ function PageFeedbackToolbarCSS({
|
|
|
5187
5221
|
}
|
|
5188
5222
|
)
|
|
5189
5223
|
] }),
|
|
5190
|
-
/* @__PURE__ */ (0,
|
|
5224
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(
|
|
5191
5225
|
"div",
|
|
5192
5226
|
{
|
|
5193
5227
|
className: `${styles_module_default2.settingsRow} ${styles_module_default2.settingsRowMarginTop} ${!isDevMode ? styles_module_default2.settingsRowDisabled : ""}`,
|
|
5194
5228
|
children: [
|
|
5195
|
-
/* @__PURE__ */ (0,
|
|
5229
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(
|
|
5196
5230
|
"div",
|
|
5197
5231
|
{
|
|
5198
|
-
className:
|
|
5232
|
+
className: styles_module_default2.settingsLabel,
|
|
5199
5233
|
children: [
|
|
5200
5234
|
"React Components",
|
|
5201
|
-
/* @__PURE__ */ (0,
|
|
5202
|
-
|
|
5235
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
5236
|
+
HelpTooltip,
|
|
5203
5237
|
{
|
|
5204
|
-
content: !isDevMode ? "Disabled \u2014 production builds minify component names, making detection unreliable. Use in development mode." : "Include React component names in annotations"
|
|
5205
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("span", { className: styles_module_default2.helpIcon, children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(IconHelp, { size: 20 }) })
|
|
5238
|
+
content: !isDevMode ? "Disabled \u2014 production builds minify component names, making detection unreliable. Use in development mode." : "Include React component names in annotations"
|
|
5206
5239
|
}
|
|
5207
5240
|
)
|
|
5208
5241
|
]
|
|
5209
5242
|
}
|
|
5210
5243
|
),
|
|
5211
|
-
/* @__PURE__ */ (0,
|
|
5244
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(
|
|
5212
5245
|
"label",
|
|
5213
5246
|
{
|
|
5214
5247
|
className: `${styles_module_default2.toggleSwitch} ${!isDevMode ? styles_module_default2.disabled : ""}`,
|
|
5215
5248
|
children: [
|
|
5216
|
-
/* @__PURE__ */ (0,
|
|
5249
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
5217
5250
|
"input",
|
|
5218
5251
|
{
|
|
5219
5252
|
type: "checkbox",
|
|
@@ -5225,26 +5258,26 @@ function PageFeedbackToolbarCSS({
|
|
|
5225
5258
|
}))
|
|
5226
5259
|
}
|
|
5227
5260
|
),
|
|
5228
|
-
/* @__PURE__ */ (0,
|
|
5261
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("span", { className: styles_module_default2.toggleSlider })
|
|
5229
5262
|
]
|
|
5230
5263
|
}
|
|
5231
5264
|
)
|
|
5232
5265
|
]
|
|
5233
5266
|
}
|
|
5234
5267
|
),
|
|
5235
|
-
/* @__PURE__ */ (0,
|
|
5236
|
-
/* @__PURE__ */ (0,
|
|
5268
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("div", { className: `${styles_module_default2.settingsRow} ${styles_module_default2.settingsRowMarginTop}`, children: [
|
|
5269
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(
|
|
5237
5270
|
"div",
|
|
5238
5271
|
{
|
|
5239
|
-
className:
|
|
5272
|
+
className: styles_module_default2.settingsLabel,
|
|
5240
5273
|
children: [
|
|
5241
5274
|
"Hide Until Restart",
|
|
5242
|
-
/* @__PURE__ */ (0,
|
|
5275
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(HelpTooltip, { content: "Hides the toolbar until you open a new tab" })
|
|
5243
5276
|
]
|
|
5244
5277
|
}
|
|
5245
5278
|
),
|
|
5246
|
-
/* @__PURE__ */ (0,
|
|
5247
|
-
/* @__PURE__ */ (0,
|
|
5279
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("label", { className: styles_module_default2.toggleSwitch, children: [
|
|
5280
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
5248
5281
|
"input",
|
|
5249
5282
|
{
|
|
5250
5283
|
type: "checkbox",
|
|
@@ -5256,45 +5289,42 @@ function PageFeedbackToolbarCSS({
|
|
|
5256
5289
|
}
|
|
5257
5290
|
}
|
|
5258
5291
|
),
|
|
5259
|
-
/* @__PURE__ */ (0,
|
|
5292
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("span", { className: styles_module_default2.toggleSlider })
|
|
5260
5293
|
] })
|
|
5261
5294
|
] })
|
|
5262
5295
|
] }),
|
|
5263
|
-
/* @__PURE__ */ (0,
|
|
5264
|
-
/* @__PURE__ */ (0,
|
|
5296
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("div", { className: styles_module_default2.settingsSection, children: [
|
|
5297
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
5265
5298
|
"div",
|
|
5266
5299
|
{
|
|
5267
|
-
className: `${styles_module_default2.settingsLabel} ${styles_module_default2.settingsLabelMarker}
|
|
5268
|
-
children: "Marker
|
|
5300
|
+
className: `${styles_module_default2.settingsLabel} ${styles_module_default2.settingsLabelMarker}`,
|
|
5301
|
+
children: "Marker Color"
|
|
5269
5302
|
}
|
|
5270
5303
|
),
|
|
5271
|
-
/* @__PURE__ */ (0,
|
|
5304
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("div", { className: styles_module_default2.colorOptions, children: COLOR_OPTIONS.map((color) => /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
5272
5305
|
"div",
|
|
5273
5306
|
{
|
|
5274
5307
|
role: "button",
|
|
5275
|
-
onClick: () => setSettings((s) => ({
|
|
5276
|
-
...s,
|
|
5277
|
-
annotationColor: color.value
|
|
5278
|
-
})),
|
|
5308
|
+
onClick: () => setSettings((s) => ({ ...s, annotationColorId: color.id })),
|
|
5279
5309
|
style: {
|
|
5280
|
-
|
|
5310
|
+
"--swatch": color.srgb,
|
|
5311
|
+
"--swatch-p3": color.p3
|
|
5281
5312
|
},
|
|
5282
|
-
className: `${styles_module_default2.colorOptionRing} ${settings.
|
|
5283
|
-
children: /* @__PURE__ */ (0,
|
|
5313
|
+
className: `${styles_module_default2.colorOptionRing} ${settings.annotationColorId === color.id ? styles_module_default2.selected : ""}`,
|
|
5314
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
5284
5315
|
"div",
|
|
5285
5316
|
{
|
|
5286
|
-
className: `${styles_module_default2.colorOption} ${settings.
|
|
5287
|
-
style: { backgroundColor: color.value },
|
|
5317
|
+
className: `${styles_module_default2.colorOption} ${settings.annotationColorId === color.id ? styles_module_default2.selected : ""}`,
|
|
5288
5318
|
title: color.label
|
|
5289
5319
|
}
|
|
5290
5320
|
)
|
|
5291
5321
|
},
|
|
5292
|
-
color.
|
|
5322
|
+
color.id
|
|
5293
5323
|
)) })
|
|
5294
5324
|
] }),
|
|
5295
|
-
/* @__PURE__ */ (0,
|
|
5296
|
-
/* @__PURE__ */ (0,
|
|
5297
|
-
/* @__PURE__ */ (0,
|
|
5325
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("div", { className: styles_module_default2.settingsSection, children: [
|
|
5326
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("label", { className: styles_module_default2.settingsToggle, children: [
|
|
5327
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
5298
5328
|
"input",
|
|
5299
5329
|
{
|
|
5300
5330
|
type: "checkbox",
|
|
@@ -5306,37 +5336,31 @@ function PageFeedbackToolbarCSS({
|
|
|
5306
5336
|
}))
|
|
5307
5337
|
}
|
|
5308
5338
|
),
|
|
5309
|
-
/* @__PURE__ */ (0,
|
|
5339
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
5310
5340
|
"label",
|
|
5311
5341
|
{
|
|
5312
5342
|
className: `${styles_module_default2.customCheckbox} ${settings.autoClearAfterCopy ? styles_module_default2.checked : ""}`,
|
|
5313
5343
|
htmlFor: "autoClearAfterCopy",
|
|
5314
|
-
children: settings.autoClearAfterCopy && /* @__PURE__ */ (0,
|
|
5344
|
+
children: settings.autoClearAfterCopy && /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(IconCheckSmallAnimated, { size: 14 })
|
|
5315
5345
|
}
|
|
5316
5346
|
),
|
|
5317
|
-
/* @__PURE__ */ (0,
|
|
5347
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(
|
|
5318
5348
|
"span",
|
|
5319
5349
|
{
|
|
5320
|
-
className:
|
|
5350
|
+
className: styles_module_default2.toggleLabel,
|
|
5321
5351
|
children: [
|
|
5322
5352
|
"Clear on copy/send",
|
|
5323
|
-
/* @__PURE__ */ (0,
|
|
5324
|
-
"span",
|
|
5325
|
-
{
|
|
5326
|
-
className: `${styles_module_default2.helpIcon} ${styles_module_default2.helpIconNudge2}`,
|
|
5327
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(IconHelp, { size: 20 })
|
|
5328
|
-
}
|
|
5329
|
-
) })
|
|
5353
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(HelpTooltip, { content: "Automatically clear annotations after copying" })
|
|
5330
5354
|
]
|
|
5331
5355
|
}
|
|
5332
5356
|
)
|
|
5333
5357
|
] }),
|
|
5334
|
-
/* @__PURE__ */ (0,
|
|
5358
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(
|
|
5335
5359
|
"label",
|
|
5336
5360
|
{
|
|
5337
5361
|
className: `${styles_module_default2.settingsToggle} ${styles_module_default2.settingsToggleMarginBottom}`,
|
|
5338
5362
|
children: [
|
|
5339
|
-
/* @__PURE__ */ (0,
|
|
5363
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
5340
5364
|
"input",
|
|
5341
5365
|
{
|
|
5342
5366
|
type: "checkbox",
|
|
@@ -5348,18 +5372,18 @@ function PageFeedbackToolbarCSS({
|
|
|
5348
5372
|
}))
|
|
5349
5373
|
}
|
|
5350
5374
|
),
|
|
5351
|
-
/* @__PURE__ */ (0,
|
|
5375
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
5352
5376
|
"label",
|
|
5353
5377
|
{
|
|
5354
5378
|
className: `${styles_module_default2.customCheckbox} ${settings.blockInteractions ? styles_module_default2.checked : ""}`,
|
|
5355
5379
|
htmlFor: "blockInteractions",
|
|
5356
|
-
children: settings.blockInteractions && /* @__PURE__ */ (0,
|
|
5380
|
+
children: settings.blockInteractions && /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(IconCheckSmallAnimated, { size: 14 })
|
|
5357
5381
|
}
|
|
5358
5382
|
),
|
|
5359
|
-
/* @__PURE__ */ (0,
|
|
5383
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
5360
5384
|
"span",
|
|
5361
5385
|
{
|
|
5362
|
-
className:
|
|
5386
|
+
className: styles_module_default2.toggleLabel,
|
|
5363
5387
|
children: "Block page interactions"
|
|
5364
5388
|
}
|
|
5365
5389
|
)
|
|
@@ -5367,25 +5391,25 @@ function PageFeedbackToolbarCSS({
|
|
|
5367
5391
|
}
|
|
5368
5392
|
)
|
|
5369
5393
|
] }),
|
|
5370
|
-
/* @__PURE__ */ (0,
|
|
5394
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
5371
5395
|
"div",
|
|
5372
5396
|
{
|
|
5373
5397
|
className: `${styles_module_default2.settingsSection} ${styles_module_default2.settingsSectionExtraPadding}`,
|
|
5374
|
-
children: /* @__PURE__ */ (0,
|
|
5398
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(
|
|
5375
5399
|
"button",
|
|
5376
5400
|
{
|
|
5377
|
-
className:
|
|
5401
|
+
className: styles_module_default2.settingsNavLink,
|
|
5378
5402
|
onClick: () => setSettingsPage("automations"),
|
|
5379
5403
|
children: [
|
|
5380
|
-
/* @__PURE__ */ (0,
|
|
5381
|
-
/* @__PURE__ */ (0,
|
|
5382
|
-
endpoint && connectionStatus !== "disconnected" && /* @__PURE__ */ (0,
|
|
5404
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("span", { children: "Manage MCP & Webhooks" }),
|
|
5405
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("span", { className: styles_module_default2.settingsNavLinkRight, children: [
|
|
5406
|
+
endpoint && connectionStatus !== "disconnected" && /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
5383
5407
|
"span",
|
|
5384
5408
|
{
|
|
5385
5409
|
className: `${styles_module_default2.mcpNavIndicator} ${styles_module_default2[connectionStatus]}`
|
|
5386
5410
|
}
|
|
5387
5411
|
),
|
|
5388
|
-
/* @__PURE__ */ (0,
|
|
5412
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M7.5 12.5L12 8L7.5 3.5", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }) })
|
|
5389
5413
|
] })
|
|
5390
5414
|
]
|
|
5391
5415
|
}
|
|
@@ -5395,41 +5419,35 @@ function PageFeedbackToolbarCSS({
|
|
|
5395
5419
|
]
|
|
5396
5420
|
}
|
|
5397
5421
|
),
|
|
5398
|
-
/* @__PURE__ */ (0,
|
|
5422
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(
|
|
5399
5423
|
"div",
|
|
5400
5424
|
{
|
|
5401
5425
|
className: `${styles_module_default2.settingsPage} ${styles_module_default2.automationsPage} ${settingsPage === "automations" ? styles_module_default2.slideIn : ""}`,
|
|
5402
5426
|
children: [
|
|
5403
|
-
/* @__PURE__ */ (0,
|
|
5427
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(
|
|
5404
5428
|
"button",
|
|
5405
5429
|
{
|
|
5406
|
-
className:
|
|
5430
|
+
className: styles_module_default2.settingsBackButton,
|
|
5407
5431
|
onClick: () => setSettingsPage("main"),
|
|
5408
5432
|
children: [
|
|
5409
|
-
/* @__PURE__ */ (0,
|
|
5410
|
-
/* @__PURE__ */ (0,
|
|
5433
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(IconChevronLeft, { size: 16 }),
|
|
5434
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("span", { children: "Manage MCP & Webhooks" })
|
|
5411
5435
|
]
|
|
5412
5436
|
}
|
|
5413
5437
|
),
|
|
5414
|
-
/* @__PURE__ */ (0,
|
|
5415
|
-
/* @__PURE__ */ (0,
|
|
5416
|
-
/* @__PURE__ */ (0,
|
|
5438
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("div", { className: styles_module_default2.settingsSection, children: [
|
|
5439
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("div", { className: styles_module_default2.settingsRow, children: [
|
|
5440
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(
|
|
5417
5441
|
"span",
|
|
5418
5442
|
{
|
|
5419
|
-
className:
|
|
5443
|
+
className: styles_module_default2.automationHeader,
|
|
5420
5444
|
children: [
|
|
5421
5445
|
"MCP Connection",
|
|
5422
|
-
/* @__PURE__ */ (0,
|
|
5423
|
-
"span",
|
|
5424
|
-
{
|
|
5425
|
-
className: `${styles_module_default2.helpIcon} ${styles_module_default2.helpIconNudgeDown}`,
|
|
5426
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(IconHelp, { size: 20 })
|
|
5427
|
-
}
|
|
5428
|
-
) })
|
|
5446
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(HelpTooltip, { content: "Connect via Model Context Protocol to let AI agents like Claude Code receive annotations in real-time." })
|
|
5429
5447
|
]
|
|
5430
5448
|
}
|
|
5431
5449
|
),
|
|
5432
|
-
endpoint && /* @__PURE__ */ (0,
|
|
5450
|
+
endpoint && /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
5433
5451
|
"div",
|
|
5434
5452
|
{
|
|
5435
5453
|
className: `${styles_module_default2.mcpStatusDot} ${styles_module_default2[connectionStatus]}`,
|
|
@@ -5437,21 +5455,21 @@ function PageFeedbackToolbarCSS({
|
|
|
5437
5455
|
}
|
|
5438
5456
|
)
|
|
5439
5457
|
] }),
|
|
5440
|
-
/* @__PURE__ */ (0,
|
|
5458
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(
|
|
5441
5459
|
"p",
|
|
5442
5460
|
{
|
|
5443
|
-
className:
|
|
5461
|
+
className: styles_module_default2.automationDescription,
|
|
5444
5462
|
style: { paddingBottom: 6 },
|
|
5445
5463
|
children: [
|
|
5446
5464
|
"MCP connection allows agents to receive and act on annotations.",
|
|
5447
5465
|
" ",
|
|
5448
|
-
/* @__PURE__ */ (0,
|
|
5466
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
5449
5467
|
"a",
|
|
5450
5468
|
{
|
|
5451
5469
|
href: "https://agentation.dev/mcp",
|
|
5452
5470
|
target: "_blank",
|
|
5453
5471
|
rel: "noopener noreferrer",
|
|
5454
|
-
className:
|
|
5472
|
+
className: styles_module_default2.learnMoreLink,
|
|
5455
5473
|
children: "Learn more"
|
|
5456
5474
|
}
|
|
5457
5475
|
)
|
|
@@ -5459,42 +5477,36 @@ function PageFeedbackToolbarCSS({
|
|
|
5459
5477
|
}
|
|
5460
5478
|
)
|
|
5461
5479
|
] }),
|
|
5462
|
-
/* @__PURE__ */ (0,
|
|
5480
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(
|
|
5463
5481
|
"div",
|
|
5464
5482
|
{
|
|
5465
5483
|
className: `${styles_module_default2.settingsSection} ${styles_module_default2.settingsSectionGrow}`,
|
|
5466
5484
|
children: [
|
|
5467
|
-
/* @__PURE__ */ (0,
|
|
5468
|
-
/* @__PURE__ */ (0,
|
|
5485
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("div", { className: styles_module_default2.settingsRow, children: [
|
|
5486
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(
|
|
5469
5487
|
"span",
|
|
5470
5488
|
{
|
|
5471
|
-
className:
|
|
5489
|
+
className: styles_module_default2.automationHeader,
|
|
5472
5490
|
children: [
|
|
5473
5491
|
"Webhooks",
|
|
5474
|
-
/* @__PURE__ */ (0,
|
|
5475
|
-
"span",
|
|
5476
|
-
{
|
|
5477
|
-
className: `${styles_module_default2.helpIcon} ${styles_module_default2.helpIconNoNudge}`,
|
|
5478
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(IconHelp, { size: 20 })
|
|
5479
|
-
}
|
|
5480
|
-
) })
|
|
5492
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(HelpTooltip, { content: "Send annotation data to any URL endpoint when annotations change. Useful for custom integrations." })
|
|
5481
5493
|
]
|
|
5482
5494
|
}
|
|
5483
5495
|
),
|
|
5484
|
-
/* @__PURE__ */ (0,
|
|
5485
|
-
/* @__PURE__ */ (0,
|
|
5496
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("div", { className: styles_module_default2.autoSendRow, children: [
|
|
5497
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
5486
5498
|
"span",
|
|
5487
5499
|
{
|
|
5488
|
-
className: `${styles_module_default2.autoSendLabel} ${
|
|
5500
|
+
className: `${styles_module_default2.autoSendLabel} ${settings.webhooksEnabled ? styles_module_default2.active : ""}`,
|
|
5489
5501
|
children: "Auto-Send"
|
|
5490
5502
|
}
|
|
5491
5503
|
),
|
|
5492
|
-
/* @__PURE__ */ (0,
|
|
5504
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(
|
|
5493
5505
|
"label",
|
|
5494
5506
|
{
|
|
5495
5507
|
className: `${styles_module_default2.toggleSwitch} ${!settings.webhookUrl ? styles_module_default2.disabled : ""}`,
|
|
5496
5508
|
children: [
|
|
5497
|
-
/* @__PURE__ */ (0,
|
|
5509
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
5498
5510
|
"input",
|
|
5499
5511
|
{
|
|
5500
5512
|
type: "checkbox",
|
|
@@ -5506,28 +5518,25 @@ function PageFeedbackToolbarCSS({
|
|
|
5506
5518
|
}))
|
|
5507
5519
|
}
|
|
5508
5520
|
),
|
|
5509
|
-
/* @__PURE__ */ (0,
|
|
5521
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("span", { className: styles_module_default2.toggleSlider })
|
|
5510
5522
|
]
|
|
5511
5523
|
}
|
|
5512
5524
|
)
|
|
5513
5525
|
] })
|
|
5514
5526
|
] }),
|
|
5515
|
-
/* @__PURE__ */ (0,
|
|
5527
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
5516
5528
|
"p",
|
|
5517
5529
|
{
|
|
5518
|
-
className:
|
|
5530
|
+
className: styles_module_default2.automationDescription,
|
|
5519
5531
|
children: "The webhook URL will receive live annotation changes and annotation data."
|
|
5520
5532
|
}
|
|
5521
5533
|
),
|
|
5522
|
-
/* @__PURE__ */ (0,
|
|
5534
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
5523
5535
|
"textarea",
|
|
5524
5536
|
{
|
|
5525
|
-
className:
|
|
5537
|
+
className: styles_module_default2.webhookUrlInput,
|
|
5526
5538
|
placeholder: "Webhook URL",
|
|
5527
5539
|
value: settings.webhookUrl,
|
|
5528
|
-
style: {
|
|
5529
|
-
"--marker-color": settings.annotationColor
|
|
5530
|
-
},
|
|
5531
5540
|
onKeyDown: (e) => e.stopPropagation(),
|
|
5532
5541
|
onChange: (e) => setSettings((s) => ({
|
|
5533
5542
|
...s,
|
|
@@ -5551,20 +5560,20 @@ function PageFeedbackToolbarCSS({
|
|
|
5551
5560
|
)
|
|
5552
5561
|
}
|
|
5553
5562
|
),
|
|
5554
|
-
/* @__PURE__ */ (0,
|
|
5563
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("div", { className: styles_module_default2.markersLayer, "data-feedback-toolbar": true, children: [
|
|
5555
5564
|
markersVisible && visibleAnnotations.filter((a) => !a.isFixed).map((annotation, index) => {
|
|
5556
5565
|
const isHovered = !markersExiting && hoveredMarkerId === annotation.id;
|
|
5557
5566
|
const isDeleting = deletingMarkerId === annotation.id;
|
|
5558
5567
|
const showDeleteState = (isHovered || isDeleting) && !editingAnnotation;
|
|
5559
5568
|
const isMulti = annotation.isMultiSelect;
|
|
5560
|
-
const markerColor = isMulti ? "
|
|
5569
|
+
const markerColor = isMulti ? "var(--agentation-color-green)" : "var(--agentation-color-accent)";
|
|
5561
5570
|
const globalIndex = annotations.findIndex(
|
|
5562
5571
|
(a) => a.id === annotation.id
|
|
5563
5572
|
);
|
|
5564
5573
|
const needsEnterAnimation = !animatedMarkers.has(annotation.id);
|
|
5565
5574
|
const animClass = markersExiting ? styles_module_default2.exit : isClearing ? styles_module_default2.clearing : needsEnterAnimation ? styles_module_default2.enter : "";
|
|
5566
5575
|
const showDeleteHover = showDeleteState && settings.markerClickBehavior === "delete";
|
|
5567
|
-
return /* @__PURE__ */ (0,
|
|
5576
|
+
return /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(
|
|
5568
5577
|
"div",
|
|
5569
5578
|
{
|
|
5570
5579
|
className: `${styles_module_default2.marker} ${isMulti ? styles_module_default2.multiSelect : ""} ${animClass} ${showDeleteHover ? styles_module_default2.hovered : ""}`,
|
|
@@ -5595,24 +5604,24 @@ function PageFeedbackToolbarCSS({
|
|
|
5595
5604
|
}
|
|
5596
5605
|
},
|
|
5597
5606
|
children: [
|
|
5598
|
-
showDeleteState ? showDeleteHover ? /* @__PURE__ */ (0,
|
|
5607
|
+
showDeleteState ? showDeleteHover ? /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(IconXmark, { size: isMulti ? 18 : 16 }) : /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(IconEdit, { size: 16 }) : /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
5599
5608
|
"span",
|
|
5600
5609
|
{
|
|
5601
5610
|
className: renumberFrom !== null && globalIndex >= renumberFrom ? styles_module_default2.renumber : void 0,
|
|
5602
5611
|
children: globalIndex + 1
|
|
5603
5612
|
}
|
|
5604
5613
|
),
|
|
5605
|
-
isHovered && !editingAnnotation && /* @__PURE__ */ (0,
|
|
5614
|
+
isHovered && !editingAnnotation && /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(
|
|
5606
5615
|
"div",
|
|
5607
5616
|
{
|
|
5608
|
-
className: `${styles_module_default2.markerTooltip} ${
|
|
5617
|
+
className: `${styles_module_default2.markerTooltip} ${styles_module_default2.enter}`,
|
|
5609
5618
|
style: getTooltipPosition(annotation),
|
|
5610
5619
|
children: [
|
|
5611
|
-
/* @__PURE__ */ (0,
|
|
5620
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("span", { className: styles_module_default2.markerQuote, children: [
|
|
5612
5621
|
annotation.element,
|
|
5613
5622
|
annotation.selectedText && ` "${annotation.selectedText.slice(0, 30)}${annotation.selectedText.length > 30 ? "..." : ""}"`
|
|
5614
5623
|
] }),
|
|
5615
|
-
/* @__PURE__ */ (0,
|
|
5624
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("span", { className: styles_module_default2.markerNote, children: annotation.comment })
|
|
5616
5625
|
]
|
|
5617
5626
|
}
|
|
5618
5627
|
)
|
|
@@ -5623,7 +5632,7 @@ function PageFeedbackToolbarCSS({
|
|
|
5623
5632
|
}),
|
|
5624
5633
|
markersVisible && !markersExiting && exitingAnnotationsList.filter((a) => !a.isFixed).map((annotation) => {
|
|
5625
5634
|
const isMulti = annotation.isMultiSelect;
|
|
5626
|
-
return /* @__PURE__ */ (0,
|
|
5635
|
+
return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
5627
5636
|
"div",
|
|
5628
5637
|
{
|
|
5629
5638
|
className: `${styles_module_default2.marker} ${styles_module_default2.hovered} ${isMulti ? styles_module_default2.multiSelect : ""} ${styles_module_default2.exit}`,
|
|
@@ -5632,13 +5641,13 @@ function PageFeedbackToolbarCSS({
|
|
|
5632
5641
|
left: `${annotation.x}%`,
|
|
5633
5642
|
top: annotation.y
|
|
5634
5643
|
},
|
|
5635
|
-
children: /* @__PURE__ */ (0,
|
|
5644
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(IconXmark, { size: isMulti ? 12 : 10 })
|
|
5636
5645
|
},
|
|
5637
5646
|
annotation.id
|
|
5638
5647
|
);
|
|
5639
5648
|
})
|
|
5640
5649
|
] }),
|
|
5641
|
-
/* @__PURE__ */ (0,
|
|
5650
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("div", { className: styles_module_default2.fixedMarkersLayer, "data-feedback-toolbar": true, children: [
|
|
5642
5651
|
markersVisible && visibleAnnotations.filter((a) => a.isFixed).map((annotation, index) => {
|
|
5643
5652
|
const fixedAnnotations = visibleAnnotations.filter(
|
|
5644
5653
|
(a) => a.isFixed
|
|
@@ -5647,14 +5656,14 @@ function PageFeedbackToolbarCSS({
|
|
|
5647
5656
|
const isDeleting = deletingMarkerId === annotation.id;
|
|
5648
5657
|
const showDeleteState = (isHovered || isDeleting) && !editingAnnotation;
|
|
5649
5658
|
const isMulti = annotation.isMultiSelect;
|
|
5650
|
-
const markerColor = isMulti ? "
|
|
5659
|
+
const markerColor = isMulti ? "var(--agentation-color-green)" : "var(--agentation-color-accent)";
|
|
5651
5660
|
const globalIndex = annotations.findIndex(
|
|
5652
5661
|
(a) => a.id === annotation.id
|
|
5653
5662
|
);
|
|
5654
5663
|
const needsEnterAnimation = !animatedMarkers.has(annotation.id);
|
|
5655
5664
|
const animClass = markersExiting ? styles_module_default2.exit : isClearing ? styles_module_default2.clearing : needsEnterAnimation ? styles_module_default2.enter : "";
|
|
5656
5665
|
const showDeleteHover = showDeleteState && settings.markerClickBehavior === "delete";
|
|
5657
|
-
return /* @__PURE__ */ (0,
|
|
5666
|
+
return /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(
|
|
5658
5667
|
"div",
|
|
5659
5668
|
{
|
|
5660
5669
|
className: `${styles_module_default2.marker} ${styles_module_default2.fixed} ${isMulti ? styles_module_default2.multiSelect : ""} ${animClass} ${showDeleteHover ? styles_module_default2.hovered : ""}`,
|
|
@@ -5685,24 +5694,24 @@ function PageFeedbackToolbarCSS({
|
|
|
5685
5694
|
}
|
|
5686
5695
|
},
|
|
5687
5696
|
children: [
|
|
5688
|
-
showDeleteState ? showDeleteHover ? /* @__PURE__ */ (0,
|
|
5697
|
+
showDeleteState ? showDeleteHover ? /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(IconXmark, { size: isMulti ? 18 : 16 }) : /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(IconEdit, { size: 16 }) : /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
5689
5698
|
"span",
|
|
5690
5699
|
{
|
|
5691
5700
|
className: renumberFrom !== null && globalIndex >= renumberFrom ? styles_module_default2.renumber : void 0,
|
|
5692
5701
|
children: globalIndex + 1
|
|
5693
5702
|
}
|
|
5694
5703
|
),
|
|
5695
|
-
isHovered && !editingAnnotation && /* @__PURE__ */ (0,
|
|
5704
|
+
isHovered && !editingAnnotation && /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(
|
|
5696
5705
|
"div",
|
|
5697
5706
|
{
|
|
5698
|
-
className: `${styles_module_default2.markerTooltip} ${
|
|
5707
|
+
className: `${styles_module_default2.markerTooltip} ${styles_module_default2.enter}`,
|
|
5699
5708
|
style: getTooltipPosition(annotation),
|
|
5700
5709
|
children: [
|
|
5701
|
-
/* @__PURE__ */ (0,
|
|
5710
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("span", { className: styles_module_default2.markerQuote, children: [
|
|
5702
5711
|
annotation.element,
|
|
5703
5712
|
annotation.selectedText && ` "${annotation.selectedText.slice(0, 30)}${annotation.selectedText.length > 30 ? "..." : ""}"`
|
|
5704
5713
|
] }),
|
|
5705
|
-
/* @__PURE__ */ (0,
|
|
5714
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("span", { className: styles_module_default2.markerNote, children: annotation.comment })
|
|
5706
5715
|
]
|
|
5707
5716
|
}
|
|
5708
5717
|
)
|
|
@@ -5713,7 +5722,7 @@ function PageFeedbackToolbarCSS({
|
|
|
5713
5722
|
}),
|
|
5714
5723
|
markersVisible && !markersExiting && exitingAnnotationsList.filter((a) => a.isFixed).map((annotation) => {
|
|
5715
5724
|
const isMulti = annotation.isMultiSelect;
|
|
5716
|
-
return /* @__PURE__ */ (0,
|
|
5725
|
+
return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
5717
5726
|
"div",
|
|
5718
5727
|
{
|
|
5719
5728
|
className: `${styles_module_default2.marker} ${styles_module_default2.fixed} ${styles_module_default2.hovered} ${isMulti ? styles_module_default2.multiSelect : ""} ${styles_module_default2.exit}`,
|
|
@@ -5722,20 +5731,20 @@ function PageFeedbackToolbarCSS({
|
|
|
5722
5731
|
left: `${annotation.x}%`,
|
|
5723
5732
|
top: annotation.y
|
|
5724
5733
|
},
|
|
5725
|
-
children: /* @__PURE__ */ (0,
|
|
5734
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(IconClose, { size: isMulti ? 12 : 10 })
|
|
5726
5735
|
},
|
|
5727
5736
|
annotation.id
|
|
5728
5737
|
);
|
|
5729
5738
|
})
|
|
5730
5739
|
] }),
|
|
5731
|
-
isActive && /* @__PURE__ */ (0,
|
|
5740
|
+
isActive && /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(
|
|
5732
5741
|
"div",
|
|
5733
5742
|
{
|
|
5734
5743
|
className: styles_module_default2.overlay,
|
|
5735
5744
|
"data-feedback-toolbar": true,
|
|
5736
5745
|
style: pendingAnnotation || editingAnnotation ? { zIndex: 99999 } : void 0,
|
|
5737
5746
|
children: [
|
|
5738
|
-
hoverInfo?.rect && !pendingAnnotation && !isScrolling && !isDragging && /* @__PURE__ */ (0,
|
|
5747
|
+
hoverInfo?.rect && !pendingAnnotation && !isScrolling && !isDragging && /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
5739
5748
|
"div",
|
|
5740
5749
|
{
|
|
5741
5750
|
className: `${styles_module_default2.hoverHighlight} ${styles_module_default2.enter}`,
|
|
@@ -5744,15 +5753,15 @@ function PageFeedbackToolbarCSS({
|
|
|
5744
5753
|
top: hoverInfo.rect.top,
|
|
5745
5754
|
width: hoverInfo.rect.width,
|
|
5746
5755
|
height: hoverInfo.rect.height,
|
|
5747
|
-
borderColor:
|
|
5748
|
-
backgroundColor:
|
|
5756
|
+
borderColor: "color-mix(in srgb, var(--agentation-color-accent) 50%, transparent)",
|
|
5757
|
+
backgroundColor: "color-mix(in srgb, var(--agentation-color-accent) 4%, transparent)"
|
|
5749
5758
|
}
|
|
5750
5759
|
}
|
|
5751
5760
|
),
|
|
5752
5761
|
pendingMultiSelectElements.filter((item) => document.contains(item.element)).map((item, index) => {
|
|
5753
5762
|
const rect = item.element.getBoundingClientRect();
|
|
5754
5763
|
const isMulti = pendingMultiSelectElements.length > 1;
|
|
5755
|
-
return /* @__PURE__ */ (0,
|
|
5764
|
+
return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
5756
5765
|
"div",
|
|
5757
5766
|
{
|
|
5758
5767
|
className: isMulti ? styles_module_default2.multiSelectOutline : styles_module_default2.singleSelectOutline,
|
|
@@ -5763,8 +5772,8 @@ function PageFeedbackToolbarCSS({
|
|
|
5763
5772
|
width: rect.width,
|
|
5764
5773
|
height: rect.height,
|
|
5765
5774
|
...isMulti ? {} : {
|
|
5766
|
-
borderColor:
|
|
5767
|
-
backgroundColor:
|
|
5775
|
+
borderColor: "color-mix(in srgb, var(--agentation-color-accent) 60%, transparent)",
|
|
5776
|
+
backgroundColor: "color-mix(in srgb, var(--agentation-color-accent) 5%, transparent)"
|
|
5768
5777
|
}
|
|
5769
5778
|
}
|
|
5770
5779
|
},
|
|
@@ -5780,7 +5789,7 @@ function PageFeedbackToolbarCSS({
|
|
|
5780
5789
|
if (hoveredTargetElements.length > 0) {
|
|
5781
5790
|
return hoveredTargetElements.filter((el) => document.contains(el)).map((el, index) => {
|
|
5782
5791
|
const rect2 = el.getBoundingClientRect();
|
|
5783
|
-
return /* @__PURE__ */ (0,
|
|
5792
|
+
return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
5784
5793
|
"div",
|
|
5785
5794
|
{
|
|
5786
5795
|
className: `${styles_module_default2.multiSelectOutline} ${styles_module_default2.enter}`,
|
|
@@ -5796,7 +5805,7 @@ function PageFeedbackToolbarCSS({
|
|
|
5796
5805
|
});
|
|
5797
5806
|
}
|
|
5798
5807
|
return hoveredAnnotation.elementBoundingBoxes.map(
|
|
5799
|
-
(bb2, index) => /* @__PURE__ */ (0,
|
|
5808
|
+
(bb2, index) => /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
5800
5809
|
"div",
|
|
5801
5810
|
{
|
|
5802
5811
|
className: `${styles_module_default2.multiSelectOutline} ${styles_module_default2.enter}`,
|
|
@@ -5819,7 +5828,7 @@ function PageFeedbackToolbarCSS({
|
|
|
5819
5828
|
height: hoveredAnnotation.boundingBox.height
|
|
5820
5829
|
};
|
|
5821
5830
|
const isMulti = hoveredAnnotation.isMultiSelect;
|
|
5822
|
-
return /* @__PURE__ */ (0,
|
|
5831
|
+
return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
5823
5832
|
"div",
|
|
5824
5833
|
{
|
|
5825
5834
|
className: `${isMulti ? styles_module_default2.multiSelectOutline : styles_module_default2.singleSelectOutline} ${styles_module_default2.enter}`,
|
|
@@ -5829,14 +5838,14 @@ function PageFeedbackToolbarCSS({
|
|
|
5829
5838
|
width: bb.width,
|
|
5830
5839
|
height: bb.height,
|
|
5831
5840
|
...isMulti ? {} : {
|
|
5832
|
-
borderColor:
|
|
5833
|
-
backgroundColor:
|
|
5841
|
+
borderColor: "color-mix(in srgb, var(--agentation-color-accent) 60%, transparent)",
|
|
5842
|
+
backgroundColor: "color-mix(in srgb, var(--agentation-color-accent) 5%, transparent)"
|
|
5834
5843
|
}
|
|
5835
5844
|
}
|
|
5836
5845
|
}
|
|
5837
5846
|
);
|
|
5838
5847
|
})(),
|
|
5839
|
-
hoverInfo && !pendingAnnotation && !isScrolling && !isDragging && /* @__PURE__ */ (0,
|
|
5848
|
+
hoverInfo && !pendingAnnotation && !isScrolling && !isDragging && /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(
|
|
5840
5849
|
"div",
|
|
5841
5850
|
{
|
|
5842
5851
|
className: `${styles_module_default2.hoverTooltip} ${styles_module_default2.enter}`,
|
|
@@ -5851,17 +5860,17 @@ function PageFeedbackToolbarCSS({
|
|
|
5851
5860
|
)
|
|
5852
5861
|
},
|
|
5853
5862
|
children: [
|
|
5854
|
-
hoverInfo.reactComponents && /* @__PURE__ */ (0,
|
|
5855
|
-
/* @__PURE__ */ (0,
|
|
5863
|
+
hoverInfo.reactComponents && /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("div", { className: styles_module_default2.hoverReactPath, children: hoverInfo.reactComponents }),
|
|
5864
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("div", { className: styles_module_default2.hoverElementName, children: hoverInfo.elementName })
|
|
5856
5865
|
]
|
|
5857
5866
|
}
|
|
5858
5867
|
),
|
|
5859
|
-
pendingAnnotation && /* @__PURE__ */ (0,
|
|
5868
|
+
pendingAnnotation && /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_jsx_runtime5.Fragment, { children: [
|
|
5860
5869
|
pendingAnnotation.multiSelectElements?.length ? (
|
|
5861
5870
|
// Cmd+shift+click multi-select: show individual boxes with live positions
|
|
5862
5871
|
pendingAnnotation.multiSelectElements.filter((el) => document.contains(el)).map((el, index) => {
|
|
5863
5872
|
const rect = el.getBoundingClientRect();
|
|
5864
|
-
return /* @__PURE__ */ (0,
|
|
5873
|
+
return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
5865
5874
|
"div",
|
|
5866
5875
|
{
|
|
5867
5876
|
className: `${styles_module_default2.multiSelectOutline} ${pendingExiting ? styles_module_default2.exit : styles_module_default2.enter}`,
|
|
@@ -5881,7 +5890,7 @@ function PageFeedbackToolbarCSS({
|
|
|
5881
5890
|
// Single-click: use live getBoundingClientRect for consistent positioning
|
|
5882
5891
|
(() => {
|
|
5883
5892
|
const rect = pendingAnnotation.targetElement.getBoundingClientRect();
|
|
5884
|
-
return /* @__PURE__ */ (0,
|
|
5893
|
+
return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
5885
5894
|
"div",
|
|
5886
5895
|
{
|
|
5887
5896
|
className: `${styles_module_default2.singleSelectOutline} ${pendingExiting ? styles_module_default2.exit : styles_module_default2.enter}`,
|
|
@@ -5890,15 +5899,15 @@ function PageFeedbackToolbarCSS({
|
|
|
5890
5899
|
top: rect.top,
|
|
5891
5900
|
width: rect.width,
|
|
5892
5901
|
height: rect.height,
|
|
5893
|
-
borderColor:
|
|
5894
|
-
backgroundColor:
|
|
5902
|
+
borderColor: "color-mix(in srgb, var(--agentation-color-accent) 60%, transparent)",
|
|
5903
|
+
backgroundColor: "color-mix(in srgb, var(--agentation-color-accent) 5%, transparent)"
|
|
5895
5904
|
}
|
|
5896
5905
|
}
|
|
5897
5906
|
);
|
|
5898
5907
|
})()
|
|
5899
5908
|
) : (
|
|
5900
5909
|
// Drag selection or fallback: use stored boundingBox
|
|
5901
|
-
pendingAnnotation.boundingBox && /* @__PURE__ */ (0,
|
|
5910
|
+
pendingAnnotation.boundingBox && /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
5902
5911
|
"div",
|
|
5903
5912
|
{
|
|
5904
5913
|
className: `${pendingAnnotation.isMultiSelect ? styles_module_default2.multiSelectOutline : styles_module_default2.singleSelectOutline} ${pendingExiting ? styles_module_default2.exit : styles_module_default2.enter}`,
|
|
@@ -5908,8 +5917,8 @@ function PageFeedbackToolbarCSS({
|
|
|
5908
5917
|
width: pendingAnnotation.boundingBox.width,
|
|
5909
5918
|
height: pendingAnnotation.boundingBox.height,
|
|
5910
5919
|
...pendingAnnotation.isMultiSelect ? {} : {
|
|
5911
|
-
borderColor:
|
|
5912
|
-
backgroundColor:
|
|
5920
|
+
borderColor: "color-mix(in srgb, var(--agentation-color-accent) 60%, transparent)",
|
|
5921
|
+
backgroundColor: "color-mix(in srgb, var(--agentation-color-accent) 5%, transparent)"
|
|
5913
5922
|
}
|
|
5914
5923
|
}
|
|
5915
5924
|
}
|
|
@@ -5919,20 +5928,20 @@ function PageFeedbackToolbarCSS({
|
|
|
5919
5928
|
(() => {
|
|
5920
5929
|
const markerX = pendingAnnotation.x;
|
|
5921
5930
|
const markerY = pendingAnnotation.isFixed ? pendingAnnotation.y : pendingAnnotation.y - scrollY;
|
|
5922
|
-
return /* @__PURE__ */ (0,
|
|
5923
|
-
/* @__PURE__ */ (0,
|
|
5931
|
+
return /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_jsx_runtime5.Fragment, { children: [
|
|
5932
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
5924
5933
|
"div",
|
|
5925
5934
|
{
|
|
5926
5935
|
className: `${styles_module_default2.marker} ${styles_module_default2.pending} ${pendingAnnotation.isMultiSelect ? styles_module_default2.multiSelect : ""} ${pendingExiting ? styles_module_default2.exit : styles_module_default2.enter}`,
|
|
5927
5936
|
style: {
|
|
5928
5937
|
left: `${markerX}%`,
|
|
5929
5938
|
top: markerY,
|
|
5930
|
-
backgroundColor: pendingAnnotation.isMultiSelect ? "
|
|
5939
|
+
backgroundColor: pendingAnnotation.isMultiSelect ? "var(--agentation-color-green)" : "var(--agentation-color-accent)"
|
|
5931
5940
|
},
|
|
5932
|
-
children: /* @__PURE__ */ (0,
|
|
5941
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(IconPlus, { size: 12 })
|
|
5933
5942
|
}
|
|
5934
5943
|
),
|
|
5935
|
-
/* @__PURE__ */ (0,
|
|
5944
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
5936
5945
|
AnnotationPopupCSS,
|
|
5937
5946
|
{
|
|
5938
5947
|
ref: popupRef,
|
|
@@ -5944,7 +5953,7 @@ function PageFeedbackToolbarCSS({
|
|
|
5944
5953
|
onCancel: cancelAnnotation,
|
|
5945
5954
|
isExiting: pendingExiting,
|
|
5946
5955
|
lightMode: !isDarkMode,
|
|
5947
|
-
accentColor: pendingAnnotation.isMultiSelect ? "
|
|
5956
|
+
accentColor: pendingAnnotation.isMultiSelect ? "var(--agentation-color-green)" : "var(--agentation-color-accent)",
|
|
5948
5957
|
style: {
|
|
5949
5958
|
// Popup is 280px wide, centered with translateX(-50%), so 140px each side
|
|
5950
5959
|
// Clamp so popup stays 20px from viewport edges
|
|
@@ -5963,14 +5972,14 @@ function PageFeedbackToolbarCSS({
|
|
|
5963
5972
|
] });
|
|
5964
5973
|
})()
|
|
5965
5974
|
] }),
|
|
5966
|
-
editingAnnotation && /* @__PURE__ */ (0,
|
|
5975
|
+
editingAnnotation && /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_jsx_runtime5.Fragment, { children: [
|
|
5967
5976
|
editingAnnotation.elementBoundingBoxes?.length ? (
|
|
5968
5977
|
// Cmd+shift+click: show individual element boxes (use live rects when available)
|
|
5969
5978
|
(() => {
|
|
5970
5979
|
if (editingTargetElements.length > 0) {
|
|
5971
5980
|
return editingTargetElements.filter((el) => document.contains(el)).map((el, index) => {
|
|
5972
5981
|
const rect = el.getBoundingClientRect();
|
|
5973
|
-
return /* @__PURE__ */ (0,
|
|
5982
|
+
return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
5974
5983
|
"div",
|
|
5975
5984
|
{
|
|
5976
5985
|
className: `${styles_module_default2.multiSelectOutline} ${styles_module_default2.enter}`,
|
|
@@ -5986,7 +5995,7 @@ function PageFeedbackToolbarCSS({
|
|
|
5986
5995
|
});
|
|
5987
5996
|
}
|
|
5988
5997
|
return editingAnnotation.elementBoundingBoxes.map(
|
|
5989
|
-
(bb, index) => /* @__PURE__ */ (0,
|
|
5998
|
+
(bb, index) => /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
5990
5999
|
"div",
|
|
5991
6000
|
{
|
|
5992
6001
|
className: `${styles_module_default2.multiSelectOutline} ${styles_module_default2.enter}`,
|
|
@@ -6012,7 +6021,7 @@ function PageFeedbackToolbarCSS({
|
|
|
6012
6021
|
height: editingAnnotation.boundingBox.height
|
|
6013
6022
|
} : null;
|
|
6014
6023
|
if (!bb) return null;
|
|
6015
|
-
return /* @__PURE__ */ (0,
|
|
6024
|
+
return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
6016
6025
|
"div",
|
|
6017
6026
|
{
|
|
6018
6027
|
className: `${editingAnnotation.isMultiSelect ? styles_module_default2.multiSelectOutline : styles_module_default2.singleSelectOutline} ${styles_module_default2.enter}`,
|
|
@@ -6022,15 +6031,15 @@ function PageFeedbackToolbarCSS({
|
|
|
6022
6031
|
width: bb.width,
|
|
6023
6032
|
height: bb.height,
|
|
6024
6033
|
...editingAnnotation.isMultiSelect ? {} : {
|
|
6025
|
-
borderColor:
|
|
6026
|
-
backgroundColor:
|
|
6034
|
+
borderColor: "color-mix(in srgb, var(--agentation-color-accent) 60%, transparent)",
|
|
6035
|
+
backgroundColor: "color-mix(in srgb, var(--agentation-color-accent) 5%, transparent)"
|
|
6027
6036
|
}
|
|
6028
6037
|
}
|
|
6029
6038
|
}
|
|
6030
6039
|
);
|
|
6031
6040
|
})()
|
|
6032
6041
|
),
|
|
6033
|
-
/* @__PURE__ */ (0,
|
|
6042
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
6034
6043
|
AnnotationPopupCSS,
|
|
6035
6044
|
{
|
|
6036
6045
|
ref: editPopupRef,
|
|
@@ -6047,7 +6056,7 @@ function PageFeedbackToolbarCSS({
|
|
|
6047
6056
|
onDelete: () => deleteAnnotation2(editingAnnotation.id),
|
|
6048
6057
|
isExiting: editExiting,
|
|
6049
6058
|
lightMode: !isDarkMode,
|
|
6050
|
-
accentColor: editingAnnotation.isMultiSelect ? "
|
|
6059
|
+
accentColor: editingAnnotation.isMultiSelect ? "var(--agentation-color-green)" : "var(--agentation-color-accent)",
|
|
6051
6060
|
style: (() => {
|
|
6052
6061
|
const markerY = editingAnnotation.isFixed ? editingAnnotation.y : editingAnnotation.y - scrollY;
|
|
6053
6062
|
return {
|
|
@@ -6067,9 +6076,9 @@ function PageFeedbackToolbarCSS({
|
|
|
6067
6076
|
}
|
|
6068
6077
|
)
|
|
6069
6078
|
] }),
|
|
6070
|
-
isDragging && /* @__PURE__ */ (0,
|
|
6071
|
-
/* @__PURE__ */ (0,
|
|
6072
|
-
/* @__PURE__ */ (0,
|
|
6079
|
+
isDragging && /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_jsx_runtime5.Fragment, { children: [
|
|
6080
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("div", { ref: dragRectRef, className: styles_module_default2.dragSelection }),
|
|
6081
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
6073
6082
|
"div",
|
|
6074
6083
|
{
|
|
6075
6084
|
ref: highlightsContainerRef,
|