PageSourceSearch

https://spedy.ai/_next/static/chunks/2569729d-e2d5de8a65d1f7c0.js

js spedy.ai collected 2026-10-02 00:42:12 UTC 182,520 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="ed7f6ff9-ec27-48be-af6b-2c5d5b451f79",e._sentryDebugIdIdentifier="sentry-dbid-ed7f6ff9-ec27-48be-af6b-2c5d5b451f79")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[80919],{12205:(e,t,n)=>{n.d(t,{zI:()=>eW});var o=n(25238),l=n(4323),a=n(53430);if("undefined"!=typeof document){let e=document.getElementById("feedback-tool-styles-annotation-popup-css-styles");e||((e=document.createElement("style")).id="feedback-tool-styles-annotation-popup-css-styles",e.textContent='.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}
1\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}',document.head.appendChild(e))}var s={popup:"styles-module__popup___IhzrD",enter:"styles-module__enter___L7U7N",entered:"styles-module__entered___COX-w",exit:"styles-module__exit___5eGjE",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",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"};if("undefined"!=typeof document){let e=document.getElementById("feedback-tool-styles-components-icon-transitions");e||((e=document.createElement("style")).id="feedback-tool-styles-components-icon-transitions",e.textContent=".icon-transitions-module__iconState___uqK9J {\n  transition: opacity 0.2s ease, transform 0.2s ease;\n  transform-origin: center;\n}\n\n.icon-transitions-module__iconStateFast___HxlMm {\n  transition: opacity 0.15s ease, transform 0.15s ease;\n  transform-origin: center;\n}\n\n.icon-transitions-module__iconFade___nPwXg {\n  transition: opacity 0.2s ease;\n}\n\n.icon-transitions-module__iconFadeFast___Ofb2t {\n  transition: opacity 0.15s ease;\n}\n\n.icon-transitions-module__visible___PlHsU {\n  opacity: 1 !important;\n}\n\n.icon-transitions-module__visibleScaled___8Qog- {\n  opacity: 1 !important;\n  transform: scale(1);\n}\n\n.icon-transitions-module__hidden___ETykt {\n  opacity: 0 !important;\n}\n\n.icon-transitions-module__hiddenScaled___JXn-m {\n  opacity: 0 !important;\n  transform: scale(0.8);\n}\n\n.icon-transitions-module__sending___uaLN- {\n  opacity: 0.5 !important;\n  transform: scale(0.8);\n}",document.head.appendChild(e))}
1var r={iconState:"icon-transitions-module__iconState___uqK9J",iconStateFast:"icon-transitions-module__iconStateFast___HxlMm",iconFade:"icon-transitions-module__iconFade___nPwXg",iconFadeFast:"icon-transitions-module__iconFadeFast___Ofb2t",visible:"icon-transitions-module__visible___PlHsU",visibleScaled:"icon-transitions-module__visibleScaled___8Qog-",hidden:"icon-transitions-module__hidden___ETykt",hiddenScaled:"icon-transitions-module__hiddenScaled___JXn-m",sending:"icon-transitions-module__sending___uaLN-"},i=e=>{let{size:t=16}=e;return(0,a.jsx)("svg",{width:t,height:t,viewBox:"0 0 16 16",fill:"none",children:(0,a.jsx)("path",{d:"M4 4l8 8M12 4l-8 8",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"})})},c=e=>{let{size:t=16}=e;return(0,a.jsx)("svg",{width:t,height:t,viewBox:"0 0 16 16",fill:"none",children:(0,a.jsx)("path",{d:"M8 3v10M3 8h10",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"})})},_=e=>{let{size:t=24,style:n={}}=e;return(0,a.jsxs)("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",style:n,children:[(0,a.jsxs)("g",{clipPath:"url(#clip0_list_sparkle)",children:[(0,a.jsx)("path",{d:"M11.5 12L5.5 12",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,a.jsx)("path",{d:"M18.5 6.75L5.5 6.75",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,a.jsx)("path",{d:"M9.25 17.25L5.5 17.25",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,a.jsx)("path",{d:"M16 12.75L16.5179 13.9677C16.8078 14.6494 17.3506 15.1922 18.0323 15.4821L19.25 16L18.0323 16.5179C17.3506 16.8078 16.8078 17.3506 16.5179 18.0323L16 19.25L15.4821 18.0323C15.1922 17.3506 14.6494 16.8078 13.9677 16.5179L12.75 16L13.9677 15.4821C14.6494 15.1922 15.1922 14.6494 15.4821 13.9677L16 12.75Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinejoin:"round"})]}),(0,a.jsx)("defs",{children:(0,a.jsx)("clipPath",{id:"clip0_list_sparkle",children:(0,a.jsx)("rect",{width:"24",height:"24",fill:"white"})})})]})},d=e=>{let{size:t=20,...n}=e;return(0,a.jsxs)("svg",{width:t,height:t,viewBox:"0 0 20 20",fill:"none",...n,children:[(0,a.jsx)("circle",{cx:"10",cy:"10",r:"6",stroke:"currentColor",strokeWidth:"1.25"}),(0,a.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"}),(0,a.jsx)("circle",{cx:"10",cy:"13",r:"0.625",fill:"currentColor"})]})},u=e=>{let{size:t=14}=e;return(0,a.jsxs)("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",children:[(0,a.jsx)("style",{children:"\n      @keyframes checkDraw {\n        0% {\n          stroke-dashoffset: 12;\n        }\n        100% {\n          stroke-dashoffset: 0;\n        }\n      }\n      @keyframes checkBounce {\n        0% {\n          transform: scale(0.5);\n          opacity: 0;\n        }\n        50% {\n          transform: scale(1.12);\n          opacity: 1;\n        }\n        75% {\n          transform: scale(0.95);\n        }\n        100% {\n          transform: scale(1);\n        }\n      }\n      .check-path-animated {\n        stroke-dasharray: 12;\n        stroke-dashoffset: 0;\n        transform-origin: center;\n        animation: checkDraw 0.18s ease-out, checkBounce 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);\n      }\n    "}),(0,a.jsx)("path",{className:"check-path-animated",d:"M3.9375 7L6.125 9.1875L10.5 4.8125",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})},m=e=>{let{size:t=24,copied:n=!1}=e;return(0,a.jsxs)("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",children:[(0,a.jsxs)("g",{className:"".concat(r.iconState," ").concat(n?r.hiddenScaled:r.visibleScaled),children:[(0,a.jsx)("path",{d:"M4.75 11.25C4.75 10.4216 5.42157 9.75 6.25 9.75H12.75C13.5784 9.75 14.25 10.4216 14.25 11.25V17.75C14.25 18.5784 13.5784 19.25 12.75 19.25H6.25C5.42157 19.25 4.75 18.5784 4.75 17.75V11.25Z",stroke:"currentColor",strokeWidth:"1.5"}),(0,a.jsx)("path",{d:"M17.25 14.25H17.75C18.5784 14.25 19.25 13.5784 19.25 12.75V6.25C19.25 5.42157 18.5784 4.75 17.75 4.75H11.25C10.4216 4.75 9.75 5.42157 9.75 6.25V6.75",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"})]}),(0,a.jsxs)("g",{className:"".concat(r.iconState," ").concat(n?r.visibleScaled:r.hiddenScaled),children:[(0,a.jsx)("path",{d:"M12 20C
17.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",stroke:"var(--agentation-color-green)",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,a.jsx)("path",{d:"M15 10L11 14.25L9.25 12.25",stroke:"var(--agentation-color-green)",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})]})},g=e=>{let{size:t=24,state:n="idle"}=e;return(0,a.jsxs)("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",children:[(0,a.jsx)("g",{className:"".concat(r.iconStateFast," ").concat("idle"===n?r.visibleScaled:"sending"===n?r.sending:r.hiddenScaled),children:(0,a.jsx)("path",{d:"M9.875 14.125L12.3506 19.6951C12.7184 20.5227 13.9091 20.4741 14.2083 19.6193L18.8139 6.46032C19.0907 5.6695 18.3305 4.90933 17.5397 5.18611L4.38072 9.79174C3.52589 10.0909 3.47731 11.2816 4.30494 11.6494L9.875 14.125ZM9.875 14.125L13.375 10.625",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})}),(0,a.jsxs)("g",{className:"".concat(r.iconStateFast," ").concat("sent"===n?r.visibleScaled:r.hiddenScaled),children:[(0,a.jsx)("path",{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",stroke:"var(--agentation-color-green)",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,a.jsx)("path",{d:"M15 10L11 14.25L9.25 12.25",stroke:"var(--agentation-color-green)",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),(0,a.jsxs)("g",{className:"".concat(r.iconStateFast," ").concat("failed"===n?r.visibleScaled:r.hiddenScaled),children:[(0,a.jsx)("path",{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",stroke:"var(--agentation-color-red)",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,a.jsx)("path",{d:"M12 8V12",stroke:"var(--agentation-color-red)",strokeWidth:"1.5",strokeLinecap:"round"}),(0,a.jsx)("circle",{cx:"12",cy:"15",r:"0.5",fill:"var(--agentation-color-red)",stroke:"var(--agentation-color-red)",strokeWidth:"1"})]})]})},p=e=>{let{size:t=24,isOpen:n=!0}=e;return(0,a.jsxs)("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",children:[(0,a.jsxs)("g",{className:"".concat(r.iconFade," ").concat(n?r.visible:r.hidden),children:[(0,a.jsx)("path",{d:"M3.91752 12.7539C3.65127 12.2996 3.65037 11.7515 3.9149 11.2962C4.9042 9.59346 7.72688 5.49994 12 5.49994C16.2731 5.49994 19.0958 9.59346 20.0851 11.2962C20.3496 11.7515 20.3487 12.2996 20.0825 12.7539C19.0908 14.4459 16.2694 18.4999 12 18.4999C7.73064 18.4999 4.90918 14.4459 3.91752 12.7539Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,a.jsx)("path",{d:"M12 14.8261C13.5608 14.8261 14.8261 13.5608 14.8261 12C14.8261 10.4392 13.5608 9.17392 12 9.17392C10.4392 9.17392 9.17391 10.4392 9.17391 12C9.17391 13.5608 10.4392 14.8261 12 14.8261Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),(0,a.jsxs)("g",{className:"".concat(r.iconFade," ").concat(n?r.hidden:r.visible),children:[(0,a.jsx)("path",{d:"M18.6025 9.28503C18.9174 8.9701 19.4364 8.99481 19.7015 9.35271C20.1484 9.95606 20.4943 10.507 20.7342 10.9199C21.134 11.6086 21.1329 12.4454 20.7303 13.1328C20.2144 14.013 19.2151 15.5225 17.7723 16.8193C16.3293 18.1162 14.3852 19.2497 12.0008 19.25C11.4192 19.25 10.8638 19.1823 10.3355 19.0613C9.77966 18.934 9.63498 18.2525 10.0382 17.8493C10.2412 17.6463 10.5374 17.573 10.8188 17.6302C11.1993 17.7076 11.5935 17.75 12.0008 17.75C13.8848 17.7497 15.4867 16.8568 16.7693 15.7041C18.0522 14.5511 18.9606 13.1867 19.4363 12.375C19.5656 12.1543 19.5659 11.8943 19.4373 11.6729C19.2235 11.3049 18.921 10.8242 18.5364 10.3003C18.3085 9.98991 18.3302 9.5573 18.6025 9.28503ZM12.0008 4.75C12.5814 4.75006 13.1358 4.81803 13.6632 4.93953C14.2182 5.06741 14.362 5.74812 13.9593 6.15091C13.7558 6.35435 13.4589 6.42748 13.1771 6.36984C12.7983 6.29239 12.4061 6.25006 12.0008 6.25C10.1167 6.25 8.51415 7.15145 7.23028 8.31543C5.94678 9.47919 5.03918 10.8555 4.56426 11.6729C4.43551 11.8945 4.43582 12.1542 4.56524 12.375C4.77587 12.7343 5.07189 13.2012 5.44718 13.7105C5.67623 14.0213 5.65493 14.4552 5.38193 14.7282C5.0671 15.0431 4.54833 15.0189 4.28292 14.6614C3.84652 14.0736 3.50813 13.5369 3.27129 13.1328C2.86831 12.4451 2.86717 11.6088 3.26739 10.9199C3.78185 10.0345 4.77959 8.51239 6.22247 7.2041C7.66547 5.89584 9.61202 4.75 12.0008 4.75Z",fill:"currentColor"}),(0,a.jsx)("path",{d:"M5 19L19 5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"})]})]})},h=e=>{let{size:t=24,isPaused:n=!1}
1=e;return(0,a.jsxs)("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",children:[(0,a.jsxs)("g",{className:"".concat(r.iconFadeFast," ").concat(n?r.hidden:r.visible),children:[(0,a.jsx)("path",{d:"M8 6L8 18",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"}),(0,a.jsx)("path",{d:"M16 18L16 6",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"})]}),(0,a.jsx)("path",{className:"".concat(r.iconFadeFast," ").concat(n?r.visible:r.hidden),d:"M17.75 10.701C18.75 11.2783 18.75 12.7217 17.75 13.299L8.75 18.4952C7.75 19.0725 6.5 18.3509 6.5 17.1962L6.5 6.80384C6.5 5.64914 7.75 4.92746 8.75 5.50481L17.75 10.701Z",stroke:"currentColor",strokeWidth:"1.5"})]})},y=e=>{let{size:t=16}=e;return(0,a.jsxs)("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",children:[(0,a.jsx)("path",{d:"M10.6504 5.81117C10.9939 4.39628 13.0061 4.39628 13.3496 5.81117C13.5715 6.72517 14.6187 7.15891 15.4219 6.66952C16.6652 5.91193 18.0881 7.33479 17.3305 8.57815C16.8411 9.38134 17.2748 10.4285 18.1888 10.6504C19.6037 10.9939 19.6037 13.0061 18.1888 13.3496C17.2748 13.5715 16.8411 14.6187 17.3305 15.4219C18.0881 16.6652 16.6652 18.0881 15.4219 17.3305C14.6187 16.8411 13.5715 17.2748 13.3496 18.1888C13.0061 19.6037 10.9939 19.6037 10.6504 18.1888C10.4285 17.2748 9.38135 16.8411 8.57815 17.3305C7.33479 18.0881 5.91193 16.6652 6.66952 15.4219C7.15891 14.6187 6.72517 13.5715 5.81117 13.3496C4.39628 13.0061 4.39628 10.9939 5.81117 10.6504C6.72517 10.4285 7.15891 9.38134 6.66952 8.57815C5.91193 7.33479 7.33479 5.91192 8.57815 6.66952C9.38135 7.15891 10.4285 6.72517 10.6504 5.81117Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,a.jsx)("circle",{cx:"12",cy:"12",r:"2.5",stroke:"currentColor",strokeWidth:"1.5"})]})},f=e=>{let{size:t=16}=e;return(0,a.jsx)("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",children:(0,a.jsx)("path",{d:"M13.5 4C14.7426 4 15.75 5.00736 15.75 6.25V7H18.5C18.9142 7 19.25 7.33579 19.25 7.75C19.25 8.16421 18.9142 8.5 18.5 8.5H17.9678L17.6328 16.2217C17.61 16.7475 17.5912 17.1861 17.5469 17.543C17.5015 17.9087 17.4225 18.2506 17.2461 18.5723C16.9747 19.0671 16.5579 19.4671 16.0518 19.7168C15.7227 19.8791 15.3772 19.9422 15.0098 19.9717C14.6514 20.0004 14.2126 20 13.6865 20H10.3135C9.78735 20 9.34856 20.0004 8.99023 19.9717C8.62278 19.9422 8.27729 19.8791 7.94824 19.7168C7.44205 19.4671 7.02532 19.0671 6.75391 18.5723C6.57751 18.2506 6.49853 17.9087 6.45312 17.543C6.40883 17.1861 6.39005 16.7475 6.36719 16.2217L6.03223 8.5H5.5C5.08579 8.5 4.75 8.16421 4.75 7.75C4.75 7.33579 5.08579 7 5.5 7H8.25V6.25C8.25 5.00736 9.25736 4 10.5 4H13.5ZM7.86621 16.1562C7.89013 16.7063 7.90624 17.0751 7.94141 17.3584C7.97545 17.6326 8.02151 17.7644 8.06934 17.8516C8.19271 18.0763 8.38239 18.2577 8.6123 18.3711C8.70153 18.4151 8.83504 18.4545 9.11035 18.4766C9.39482 18.4994 9.76335 18.5 10.3135 18.5H13.6865C14.2367 18.5 14.6052 18.4994 14.8896 18.4766C15.165 18.4545 15.2985 18.4151 15.3877 18.3711C15.6176 18.2577 15.8073 18.0763 15.9307 17.8516C15.9785 17.7644 16.0245 17.6326 16.0586 17.3584C16.0938 17.0751 16.1099 16.7063 16.1338 16.1562L16.4668 8.5H7.5332L7.86621 16.1562ZM9.97656 10.75C10.3906 10.7371 10.7371 11.0626 10.75 11.4766L10.875 15.4766C10.8879 15.8906 10.5624 16.2371 10.1484 16.25C9.73443 16.2629 9.38794 15.9374 9.375 15.5234L9.25 11.5234C9.23706 11.1094 9.56255 10.7629 9.97656 10.75ZM14.0244 10.75C14.4384 10.7635 14.7635 11.1105 14.75 11.5244L14.6201 15.5244C14.6066 15.9384 14.2596 16.2634 13.8457 16.25C13.4317 16.2365 13.1067 15.8896 13.1201 15.4756L13.251 11.4756C13.2645 11.0617 13.6105 10.7366 14.0244 10.75ZM10.5 5.5C10.0858 5.5 9.75 5.83579 9.75 6.25V7H14.25V6.25C14.25 5.83579 13.9142 5.5 13.5 5.5H10.5Z",fill:"currentColor"})})},b=e=>{let{size:t=16}=e;return(0,a.jsxs)("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",children:[(0,a.jsxs)("g",{clipPath:"url(#clip0_2_53)",children:[(0,a.jsx)("path",{d:"M16.25 16.25L7.75 7.75",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,a.jsx)("path",{d:"M7.75 16.25L16.25 7.75",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),(0,a.jsx)("defs",{children:(0,a.jsx)("clipPath",{id:"clip0_2_53",children:(0,a.jsx)("rect",{width:"24",height:"24",fill:"white"})})})]})},x=e=>{let{size:t=24}=e;return(0,a.jsx)("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",children:(0,a.jsx)("path",{d:"M16.7198 6.21973C17.0127 5.92683 17.4874 5.92683 17.7803 6.21973C18.0732 6.51262 18.0732 6.9874 17.7803 7.28027L13.0606 12L17.7803 16.7197C18.0732 17.0126 18.0732 17.4874 17.7803 17.7803C17.4875 18.0731 17.0127 18.0731 16.7198 17.7803L12.0001 13.0605L7.28033 17.7803C6.98746 18.0731 6.51268 18.0731 6.21979 17.7803C5.92689 17.4874 5.92689 17.0126 6.21979 16.7197L10.9395 12L6.21979 7.28027C5.92689 6.98738 5.92689 6.51262 6.21979 6.21973C6.51268 5.92683 6.98744 5.92683 7.28033 6.21973L12.0001 10.9395L16.7198 6.21973Z",fill:"currentColor"})})},w=e=>{let{size:t=16}=e;return(0,a.jsxs)("svg",{width:t,height:t,viewBox:"0 0 20 20",fill:"none",children:[(0,a.jsx)("path",{d:"M9.99999 12.7082C11.4958 12.7082 12.7083 11.4956 12.7083 9.99984C12.7083 8.50407 11.4958 7.2915 9.99999 7.2915C8.50422 7.2915 7.29166 8.50407 7.29166 9.99984C7.29166 11.4956 8.50422 12.7082 9.99999 12.7082Z",stroke:"currentColor",strokeWidth:"1.25",strokeLinecap:"round",strokeLinejoin:"round"}),(0,a.jsx)("path",{d:"M10 3.9585V5.05698",stroke:"currentColor",strokeWidth:"1.25",strokeLinecap:"round",strokeLinejoin:"round"}),(0,a.jsx)("path",{d:"M10 14.9429V16.0414",stroke:"currentColor",strokeWidth:"1.25",strokeLinecap:"round",strokeLinejoin:"round"}),(0,a.jsx)("path",{d:"M5.7269 5.72656L6.50682 6.50649",stroke:"currentColor",strokeWidth:"1.25",strokeLinecap:"round",strokeLinejoin:"round"}),(0,a.jsx)("path",{d:"M13.4932 13.4932L14.2731 14.2731",stroke:"currentColor",strokeWidth:"1.25",strokeLinecap:"round",strokeLinejoin:"round"}),(0,a.jsx)("path",{d:"M3.95834 10H5.05683",stroke:"currentColor",strokeWidth:"1.25",strokeLinecap:"round",strokeLinejoin:"round"}),(0,a.jsx)("path",{d:"M14.9432 10H16.0417",stroke:"currentColor",strokeWidth:"1.25",strokeLinecap:"round",strokeLinejoin:"round"}),(0,a.jsx)("path",{d:"M5.7269 14.2731L6.50682 13.4932",stroke:"currentColor",strokeWidth:"1.25",strokeLinecap:"round",strokeLinejoin:"round"}),(0,a.jsx)("path",{d:"M13.4932 6.50649L14.2731 5.72656",stroke:"currentColor",strokeWidth:"1.25",strokeLinecap:"round",strokeLinejoin:"round"})]})},k=e=>{let{size:t=16}=e;return(0,a.jsx)("svg",{width:t,height:t,viewBox:"0 0 20 20",fill:"none",children:(0,a.jsx)("path",{d:"M15.5 10.4955C15.4037 11.5379 15.0124 12.5314 14.3721 13.3596C13.7317 14.1878 12.8688 14.8165 11.8841 15.1722C10.8995 15.5278 9.83397 15.5957 8.81217 15.3679C7.79038 15.1401 6.8546 14.6259 6.11434 13.8857C5.37408 13.1454 4.85995 12.2096 4.63211 11.1878C4.40427 10.166 4.47215 9.10048 4.82781 8.11585C5.18346 7.13123 5.81218 6.26825 6.64039 5.62791C7.4686 4.98756 8.46206 4.59634 9.5045 4.5C8.89418 5.32569 8.60049 6.34302 8.67685 7.36695C8.75321 8.39087 9.19454 9.35339 9.92058 10.0794C10.6466 10.8055 11.6091 11.2468 12.6331 11.323
11C13.657 11.3995 14.6743 11.1058 15.5 10.4955Z",stroke:"currentColor",strokeWidth:"1.13793",strokeLinecap:"round",strokeLinejoin:"round"})})},v=e=>{let{size:t=16}=e;return(0,a.jsx)("svg",{width:t,height:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{d:"M11.3799 6.9572L9.05645 4.63375M11.3799 6.9572L6.74949 11.5699C6.61925 11.6996 6.45577 11.791 6.277 11.8339L4.29549 12.3092C3.93194 12.3964 3.60478 12.0683 3.69297 11.705L4.16585 9.75693C4.20893 9.57947 4.29978 9.4172 4.42854 9.28771L9.05645 4.63375M11.3799 6.9572L12.3455 5.98759C12.9839 5.34655 12.9839 4.31002 12.3455 3.66897C11.7033 3.02415 10.6594 3.02415 10.0172 3.66897L9.06126 4.62892L9.05645 4.63375",stroke:"currentColor",strokeWidth:"0.9",strokeLinecap:"round",strokeLinejoin:"round"})})},C=e=>{let{size:t=24}=e;return(0,a.jsx)("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{d:"M13.5 4C14.7426 4 15.75 5.00736 15.75 6.25V7H18.5C18.9142 7 19.25 7.33579 19.25 7.75C19.25 8.16421 18.9142 8.5 18.5 8.5H17.9678L17.6328 16.2217C17.61 16.7475 17.5912 17.1861 17.5469 17.543C17.5015 17.9087 17.4225 18.2506 17.2461 18.5723C16.9747 19.0671 16.5579 19.4671 16.0518 19.7168C15.7227 19.8791 15.3772 19.9422 15.0098 19.9717C14.6514 20.0004 14.2126 20 13.6865 20H10.3135C9.78735 20 9.34856 20.0004 8.99023 19.9717C8.62278 19.9422 8.27729 19.8791 7.94824 19.7168C7.44205 19.4671 7.02532 19.0671 6.75391 18.5723C6.57751 18.2506 6.49853 17.9087 6.45312 17.543C6.40883 17.1861 6.39005 16.7475 6.36719 16.2217L6.03223 8.5H5.5C5.08579 8.5 4.75 8.16421 4.75 7.75C4.75 7.33579 5.08579 7 5.5 7H8.25V6.25C8.25 5.00736 9.25736 4 10.5 4H13.5ZM7.86621 16.1562C7.89013 16.7063 7.90624 17.0751 7.94141 17.3584C7.97545 17.6326 8.02151 17.7644 8.06934 17.8516C8.19271 18.0763 8.38239 18.2577 8.6123 18.3711C8.70153 18.4151 8.83504 18.4545 9.11035 18.4766C9.39482 18.4994 9.76335 18.5 10.3135 18.5H13.6865C14.2367 18.5 14.6052 18.4994 14.8896 18.4766C15.165 18.4545 15.2985 18.4151 15.3877 18.3711C15.6176 18.2577 15.8073 18.0763 15.9307 17.8516C15.9785 17.7644 16.0245 17.6326 16.0586 17.3584C16.0938 17.0751 16.1099 16.7063 16.1338 16.1562L16.4668 8.5H7.5332L7.86621 16.1562ZM9.97656 10.75C10.3906 10.7371 10.7371 11.0626 10.75 11.4766L10.875 15.4766C10.8879 15.8906 10.5624 16.2371 10.1484 16.25C9.73443 16.2629 9.38794 15.9374 9.375 15.5234L9.25 11.5234C9.23706 11.1094 9.56255 10.7629 9.97656 10.75ZM14.0244 10.75C14.4383 10.7635 14.7635 11.1105 14.75 11.5244L14.6201 15.5244C14.6066 15.9384 14.2596 16.2634 13.8457 16.25C13.4317 16.2365 13.1067 15.8896 13.1201 15.4756L13.251 11.4756C13.2645 11.0617 13.6105 10.7366 14.0244 10.75ZM10.5 5.5C10.0858 5.5 9.75 5.83579 9.75 6.25V7H14.25V6.25C14.25 5.83579 13.9142 5.5 13.5 5.5H10.5Z",fill:"currentColor"})})},j=e=>{let{size:t=16}=e;return(0,a.jsx)("svg",{width:t,height:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{d:"M8.5 3.5L4 8L8.5 12.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})},S=["data-feedback-toolbar","data-annotation-popup","data-annotation-marker"],L=S.flatMap(e=>[":not([".concat(e,"])"),":not([".concat(e,"] *)")]).join(""),N="feedback-freeze-styles",I="__agentation_freeze",B=function(){if("undefined"==typeof window)return{frozen:!1,installed:!0,origSetTimeout:setTimeout,origSetInterval:setInterval,origRAF:e=>0,pausedAnimations:[],frozenTimeoutQueue:[],frozenRAFQueue:[]};let e=window;return e[I]||(e[I]={frozen:!1,installed:!1,origSetTimeout:null,origSetInterval:null,origRAF:null,pausedAnimations:[],frozenTimeoutQueue:[],frozenRAFQueue:[]}),e[I]}();"undefined"==typeof window||B.installed||(B.origSetTimeout=window.setTimeout.bind(window),B.origSetInterval=window.setInterval.bind(window),B.origRAF=window.requestAnimationFrame.bind(window),window.setTimeout=function(e,t){for(var n=arguments.length,o=Array(n>2?n-2:0),l=2;l<n;l++)o[l-2]=arguments[l];return"string"==typeof e?B.origSetTimeout(e,t):B.origSetTimeout(function(){for(var t=arguments.length,n=Array(t),o=0;o<t;o++)n[o]=arguments[o];B.frozen?B.frozenTimeoutQueue.push(()=>e(...n)):e(...n)},t,...o)},window.setInterval=function(e,t){for(var n=arguments.length,o=Array(n>2?n-2:0),l=2;l<n;l++)o[l-2]=arguments[l];return"string"==typeof e?B.origSetInterval(e,t):B.origSetInterval(function(){for(var t=arguments.length,n=Array(t),o=0;o<t;o++)n[o]=arguments[o];B.frozen||e(...n)},t,...o)},window.requestAnimationFrame=e=>B.origRAF(t=>{B.frozen?B.frozenRAFQueue.push(e):e(t)}),B.installed=!0);var P=B.origSetTimeout,E=B.origSetInterval;function M(){var e;if("undefined"==typeof document||!B.frozen)return;B.frozen=!1;let t=B.frozenTimeoutQueue;for(let e of(B.frozenTimeoutQueue=[],t))B.origSetTimeout(()=>{if(B.frozen)return void B.frozenTimeoutQueue.push(e);try{e()}catch(e){console.warn("[agentation] Error replaying queued timeout:",e)}},0);let n=B.frozenRAFQueue;for(let e of(B.frozenRAFQueue=[],n))B.origRAF(t=>{if(B.frozen)return void B.frozenRAFQueue.push(e);e(t)});for(let e of B.pausedAnimations)try{e.play()}catch(e){console.warn("[agentation] Error resuming animation:",e)}
1B.pausedAnimations=[],null==(e=document.getElementById(N))||e.remove(),document.querySelectorAll("video").forEach(e=>{"false"===e.dataset.wasPaused&&(e.play().catch(()=>{}),delete e.dataset.wasPaused)})}function T(e){if(!e)return;let t=e=>e.stopImmediatePropagation();document.addEventListener("focusin",t,!0),document.addEventListener("focusout",t,!0);try{e.focus()}finally{document.removeEventListener("focusin",t,!0),document.removeEventListener("focusout",t,!0)}}var z=(0,o.forwardRef)(function(e,t){let{element:n,timestamp:l,selectedText:r,placeholder:i="What should change?",initialValue:c="",submitLabel:_="Add",onSubmit:d,onCancel:u,onDelete:m,style:g,accentColor:p="#3c82f7",isExiting:h=!1,lightMode:y=!1,computedStyles:f}=e,[b,x]=(0,o.useState)(c),[w,k]=(0,o.useState)(!1),[v,j]=(0,o.useState)("initial"),[S,L]=(0,o.useState)(!1),[N,I]=(0,o.useState)(!1),B=(0,o.useRef)(null),E=(0,o.useRef)(null),M=(0,o.useRef)(null),z=(0,o.useRef)(null);(0,o.useEffect)(()=>{h&&"exit"!==v&&j("exit")},[h,v]),(0,o.useEffect)(()=>{P(()=>{j("enter")},0);let e=P(()=>{j("entered")},200),t=P(()=>{let e=B.current;e&&(T(e),e.selectionStart=e.selectionEnd=e.value.length,e.scrollTop=e.scrollHeight)},50);return()=>{clearTimeout(e),clearTimeout(t),M.current&&clearTimeout(M.current),z.current&&clearTimeout(z.current)}},[]);let R=(0,o.useCallback)(()=>{z.current&&clearTimeout(z.current),k(!0),z.current=P(()=>{k(!1),T(B.current)},250)},[]);(0,o.useImperativeHandle)(t,()=>({shake:R}),[R]);let O=(0,o.useCallback)(()=>{j("exit"),M.current=P(()=>{u()},150)},[u]),F=(0,o.useCallback)(()=>{b.trim()&&d(b.trim())},[b,d]),W=(0,o.useCallback)(e=>{e.stopPropagation(),e.nativeEvent.isComposing||("Enter"!==e.key||e.shiftKey||(e.preventDefault(),F()),"Escape"===e.key&&O())},[F,O]),A=[s.popup,y?s.light:"","enter"===v?s.enter:"","entered"===v?s.entered:"","exit"===v?s.exit:"",w?s.shake:""].filter(Boolean).join(" ");return(0,a.jsxs)("div",{ref:E,className:A,"data-annotation-popup":!0,style:g,onClick:e=>e.stopPropagation(),children:[(0,a.jsxs)("div",{className:s.header,children:[f&&Object.keys(f).length>0?(0,a.jsxs)("button",{className:s.headerToggle,onClick:()=>{I(!N),N&&P(()=>T(B.current),0)},type:"button",children:[(0,a.jsx)("svg",{className:"".concat(s.chevron," ").concat(N?s.expanded:""),width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{d:"M5.5 10.25L9 7.25L5.75 4",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})}),(0,a.jsx)("span",{className:s.element,children:n})]}):(0,a.jsx)("span",{className:s.element,children:n}),l&&(0,a.jsx)("span",{className:s.timestamp,children:l})]}),f&&Object.keys(f).length>0&&(0,a.jsx)("div",{className:"".concat(s.stylesWrapper," ").concat(N?s.expanded:""),children:(0,a.jsx)("div",{className:s.stylesInner,children:(0,a.jsx)("div",{className:s.stylesBlock,children:Object.entries(f).map(e=>{let[t,n]=e;return(0,a.jsxs)("div",{className:s.styleLine,children:[(0,a.jsx)("span",{className:s.styleProperty,children:t.replace(/([A-Z])/g,"-$1").toLowerCase()}),": ",(0,a.jsx)("span",{className:s.styleValue,children:n}),";"]},t)})})})}),r&&(0,a.jsxs)("div",{className:s.quote,children:["“",r.slice(0,80),r.length>80?"...":"","”"]}),(0,a.jsx)("textarea",{ref:B,className:s.textarea,style:{borderColor:S?p:void 0},placeholder:i,value:b,onChange:e=>x(e.target.value),onFocus:()=>L(!0),onBlur:()=>L(!1),rows:2,onKeyDown:W}),(0,a.jsxs)("div",{className:s.actions,children:[m&&(0,a.jsx)("div",{className:s.deleteWrapper,children:(0,a.jsx)("button",{className:s.deleteButton,onClick:m,type:"button",children:(0,a.jsx)(C,{size:22})})}),(0,a.jsx)("button",{className:s.cancel,onClick:O,children:"Cancel"}),(0,a.jsx)("button",{className:s.submit,style:{backgroundColor:p,opacity:b.trim()?1:.4},onClick:F,disabled:!b.trim(),children:_})]})]})});function R(e){if(e.parentElement)return e.parentElement;let t=e.getRootNode();return t instanceof ShadowRoot?t.host:null}function O(e,t){let n=e;for(;n;){if(n.matches(t))return n;n=R(n)}return null}function F(e){var t,n,o,l,a,s,r,i;let c=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:4,n=[],o=e,l=0;for(;o&&l<t;){let e=o.tagName.toLowerCase();if("html"===e||"body"===e)break;let t=e;if(o.id)t="#".concat(o.id);else if(o.className&&"string"==typeof o.className){let e=o.className.split(/\s+/).find(e=>e.length>2&&!e.match(/^[a-z]{1,2}$/)&&!e.match(/[A-Z0-9]{5,}/));e&&(t=".".concat(e.split("_")[0]))}let a=R(o);!o.parentElement&&a&&(t="⟨shadow⟩ ".concat(t)),n.unshift(t),o=a,l++}return n.join(" > ")}(e);if(e.dataset.element)return{name:e.dataset.element,path:c};let _=e.tagName.toLowerCase();if(["path","circle","rect","line","g"].includes(_)){let t=O(e,"svg");if(t){let e=R(t);if(e instanceof HTMLElement){let t=F(e).name;return{name:"graphic in ".concat(t),path:c}}}return{name:"graphic element",path:c}}if("svg"===_){let n=R(e);if((null==n?void 0:n.tagName.toLowerCase())==="button"){let e=null==(t=n.textContent)?void 0:t.trim();return{name:e?'icon in "'.concat(e,'" button'):"button icon",path:c}}return{name:"icon",path:c}}if("button"===_){let t=null==(n=e.textContent)?void 0:n.trim(),o=e.getAttribute("aria-label");return o?{name:"button [".concat(o,"]"),path:c}:{name:t?'button "'.concat(t.slice(0,25),'"'):"button",path:c}}if("a"===_){let t=null==(o=e.textContent)?void 0:o.trim(),n=e.getAttribute("href");return t?{name:'link "'.concat(t.slice(0,25),'"'),path:c}:n?{name:"link to ".concat(n.slice(0,30)),path:c}:{name:"link",path:c}}if("input"===_){let t=e.getAttribute("type")||"text",n=e.getAttribute("placeholder"),o=e.getAttribute("name");return n?{name:'input "'.concat(n,'"'),path:c}:o?{name:"input [".concat(o,"]"),path:c}:{name:"".concat(t," input"),path:c}}if(["h1","h2","h3","h4","h5","h6"].includes(_)){let t=null==(l=e.textContent)?void 0:l.trim();return{name:t?"".concat(_,' "').concat(t.slice(0,35),'"'):_,path:c}}if("p"===_){let t=null==(a=e.textContent)?void 0:a.trim();return t?{name:'paragraph: "'.concat(t.slice(0,40)).concat(t.length>40?"...":"",'"'),path:c}:{name:"paragraph",path:c}}if("span"===_||"label"===_){let t=null==(s=e.textContent)?void 0:s.trim();return t&&t.length<40?{name:'"'.concat(t,'"'),path:c}:{name:_,path:c}}if("li"===_){let t=null==(r=e.textContent)?void 0:r.trim();return t&&t.length<40?{name:'list item: "'.concat(t.slice(0,35),'"'),path:c}:{name:"list item",path:c}}if("blockquote"===_)return{name:"blockquote",path:c};if("code"===_){let t=null==(i=e.textContent)?void 0:i.trim();return t&&t.length<30?{name:"code: `".concat(t,"`"),path:c}:{name:"code",path:c}}if("pre"===_)return{name:"code block",path:c};if("img"===_){let t=e.getAttribute("alt");return{name:t?'image "'.concat(t.slice(0,30),'"'):"image",path:c}}if("video"===_)return{name:"video",path:c};if(["div","section","article","nav","header","footer","aside","main"].includes(_)){let t=e.className,n=e.getAttribute("role"),o=e.getAttribute("aria-label");if(o)return{name:"".concat(_," [").concat(o,"]"),path:c};if(n)return{name:"".concat(n),path:c};if("string"==typeof t&&t){let e=t.split(/[\s_-]+/).map(e=>e.replace(/[A-Z0-9]{5,}.*$/,"")).filter(e=>e.length>2&&!/^[a-z]{1,2}$/.test(e)).slice(0,2);if(e.length>0)return{name:e.join(" "),path:c}}return{name:"div"===_?"container":_,path:c}}return{name:_,path:c}}function W(e){var t,n,o;let l=[],a=null==(t=e.textContent)?void 0:t.trim();a&&a.length<100&&l.push(a);let s=e.previousElementSibling;if(s){let e=null==(n=s.textContent)?void 0:n.trim();e&&e.length<50&&l.unshift('[before: "'.concat(e.slice(0,40),'"]'))}let r=e.nextElementSibling;if(r){let e=null==(o=r.textContent)?void 0:o.trim();e&&e.length<50&&l.push('[after: "'.concat(e.slice(0,40),'"]'))}return l.join(" ")}function A(e){let t=R(e);if(!t)return"";let n=(e.getRootNode()instanceof ShadowRoot&&e.parentElement?Array.from(e.parentElement.children):Array.from(t.children)).filter(t=>t!==e&&t instanceof HTMLElement);if(0===n.length)return"";let o=n.slice(0,4).map(e=>{let t=e.tagName.toLowerCase(),n=e.className,o="";if("string"==typeof n&&n){let e=n.split(/\s+/).map(e=>e.replace(/[_][a-zA-Z0-9]{5,}.*$/,"")).find(e=>e.length>2&&!/^[a-z]{1,2}$/.test(e));e&&(o=".".concat(e))}if("button"===t||"a"===t){var l;let n=null==(l=e.textContent)?void 0:l.trim().slice(0,15);if(n)return"".concat(t).concat(o,' "').concat(n,'"')}return"".concat(t).concat(o)}),l=t.tagName.toLowerCase();if("string"==typeof t.className&&t.className){let e=t.className.split(/\s+/).map(e=>e.replace(/[_][a-zA-Z0-9]{5,}.*$/,"")).find(e=>e.length>2&&!/^[a-z]{1,2}$/.test(e));e&&(l=".".concat(e))}let a=t.children.length,s=a>o.length+1?" (".concat(a," total in ").concat(l,")"):"";return o.join(", ")+s}function H(e){let t=e.className;return"string"==typeof t&&t?t.split(/\s+/).filter(e=>e.length>0).map(e=>{let t=e.match(/^([a-zA-Z][a-zA-Z0-9_-]*?)(?:_[a-zA-Z0-9]{5,})?$/);return t?t[1]:e}
1).filter((e,t,n)=>n.indexOf(e)===t).join(", "):""}var Y=new Set(["none","normal","auto","0px","rgba(0, 0, 0, 0)","transparent","static","visible"]),D=new Set(["p","span","h1","h2","h3","h4","h5","h6","label","li","td","th","blockquote","figcaption","caption","legend","dt","dd","pre","code","em","strong","b","i","a","time","cite","q"]),X=new Set(["input","textarea","select"]),U=new Set(["img","video","canvas","svg"]),Q=new Set(["div","section","article","nav","header","footer","aside","main","ul","ol","form","fieldset"]);function V(e){if("undefined"==typeof window)return{};let t=window.getComputedStyle(e),n={},o=e.tagName.toLowerCase();for(let l of D.has(o)?["color","fontSize","fontWeight","fontFamily","lineHeight"]:"button"===o||"a"===o&&"button"===e.getAttribute("role")||X.has(o)?["backgroundColor","color","padding","borderRadius","fontSize"]:U.has(o)?["width","height","objectFit","borderRadius"]:Q.has(o)?["display","padding","margin","gap","backgroundColor"]:["color","fontSize","margin","padding","backgroundColor"]){let e=l.replace(/([A-Z])/g,"-$1").toLowerCase(),o=t.getPropertyValue(e);o&&!Y.has(o)&&(n[l]=o)}return n}var Z=["color","backgroundColor","borderColor","fontSize","fontWeight","fontFamily","lineHeight","letterSpacing","textAlign","width","height","padding","margin","border","borderRadius","display","position","top","right","bottom","left","zIndex","flexDirection","justifyContent","alignItems","gap","opacity","visibility","overflow","boxShadow","transform"];function J(e){if("undefined"==typeof window)return"";let t=window.getComputedStyle(e),n=[];for(let e of Z){let o=e.replace(/([A-Z])/g,"-$1").toLowerCase(),l=t.getPropertyValue(o);l&&!Y.has(l)&&n.push("".concat(o,": ").concat(l))}return n.join("; ")}function q(e){let t=[],n=e.getAttribute("role"),o=e.getAttribute("aria-label"),l=e.getAttribute("aria-describedby"),a=e.getAttribute("tabindex"),s=e.getAttribute("aria-hidden");return n&&t.push('role="'.concat(n,'"')),o&&t.push('aria-label="'.concat(o,'"')),l&&t.push('aria-describedby="'.concat(l,'"')),a&&t.push("tabindex=".concat(a)),"true"===s&&t.push("aria-hidden"),e.matches("a, button, input, select, textarea, [tabindex]")&&t.push("focusable"),t.join(", ")}function $(e){let t=[],n=e;for(;n&&"html"!==n.tagName.toLowerCase();){let e=n.tagName.toLowerCase(),o=e;if(n.id)o="".concat(e,"#").concat(n.id);else if(n.className&&"string"==typeof n.className){let t=n.className.split(/\s+/).map(e=>e.replace(/[_][a-zA-Z0-9]{5,}.*$/,"")).find(e=>e.length>2);t&&(o="".concat(e,".").concat(t))}let l=R(n);!n.parentElement&&l&&(o="⟨shadow⟩ ".concat(o)),t.unshift(o),n=l}return t.join(" > ")}var G="feedback-annotations-";function K(e){return"".concat(G).concat(e)}function ee(e){if("undefined"==typeof window)return[];try{let t=localStorage.getItem(K(e));if(!t)return[];let n=JSON.parse(t),o=Date.now()-6048e5;return n.filter(e=>!e.timestamp||e.timestamp>o)}catch(e){return[]}}function et(e,t){if("undefined"!=typeof window)try{localStorage.setItem(K(e),JSON.stringify(t))}catch(e){}}function en(e,t,n){et(e,t.map(e=>({...e,_syncedTo:n})))}var eo="agentation-session-";function el(e){return"".concat(eo).concat(e)}function ea(e,t){if("undefined"!=typeof window)try{localStorage.setItem(el(e),t)}catch(e){}}var es="".concat(eo,"toolbar-hidden");async function er(e,t){let n=await fetch("".concat(e,"/sessions"),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({url:t})});if(!n.ok)throw Error("Failed to create session: ".concat(n.status));return n.json()}async function ei(e,t){let n=await fetch("".concat(e,"/sessions/").concat(t));if(!n.ok)throw Error("Failed to get session: ".concat(n.status));return n.json()}async function ec(e,t,n){let o=await fetch("".concat(e,"/sessions/").concat(t,"/annotations"),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(n)});if(!o.ok)throw Error("Failed to sync annotation: ".concat(o.status));return o.json()}async function e_(e,t,n){let o=await fetch("".concat(e,"/annotations/").concat(t),{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify(n)});if(!o.ok)throw Error("Failed to update annotation: ".concat(o.status));return o.json()}async function ed(e,t){let n=await fetch("".concat(e,"/annotations/").concat(t),{method:"DELETE"});if(!n.ok)throw Error("Failed to delete annotation: ".concat(n.status))}var eu={FunctionComponent:0,ClassComponent:1,IndeterminateComponent:2,HostRoot:3,HostPortal:4,HostComponent:5,HostText:6,Fragment:7,Mode:8,ContextConsumer:9,ContextProvider:10,ForwardRef:11,Profiler:12,SuspenseComponent:13,MemoComponent:14,SimpleMemoComponent:15,LazyComponent:16,IncompleteClassComponent:17,DehydratedFragment:18,SuspenseListComponent:19,ScopeComponent:21,OffscreenComponent:22,LegacyHiddenComponent:23,CacheComponent:24,TracingMarkerComponent:25,HostHoistable:26,HostSingleton:27,IncompleteFunctionComponent:28,Throw:29,ViewTransitionComponent:30,ActivityComponent:31},em=new Set(["Component","PureComponent","Fragment","Suspense","Profiler","StrictMode","Routes","Route","Outlet","Root","ErrorBoundaryHandler","HotReload","Hot"]),eg=[/Boundary$/,/BoundaryHandler$/,/Provider$/,/Consumer$/,/^(Inner|Outer)/,/Router$/,/^Client(Page|Segment|Root)/,/^Segment(ViewNode|Node)$/,/^LayoutSegment/,/^Server(Root|Component|Render)/,/^RSC/,/Context$/,/^Hot(Reload)?$/,/^(Dev|React)(Overlay|Tools|Root)/,/Overlay$/,/Handler$/,/^With[A-Z]/,/Wrapper$/,/^Root$/],ep=[/Page$/,/View$/,/Screen$/,/Section$/,/Card$/,/List$/,/Item$/,/Form$/,/Modal$/,/Dialog$/,/Button$/,/Nav$/,/Header$/,/Footer$/,/Layout$/,/Panel$/,/Tab$/,/Menu$/],eh=null;function ey(e){return Object.keys(e).some(e=>e.startsWith("__reactFiber$")||e.startsWith("__reactInternalInstance$")||e.startsWith("__reactProps$"))}var ef={map:new WeakMap};
1function eb(e){return e?e.displayName?e.displayName:e.name?e.name:null:null}var ex={FunctionComponent:0,IndeterminateComponent:2,ForwardRef:11,MemoComponent:14,SimpleMemoComponent:15};function ew(e){if(!e.type||"string"==typeof e.type)return null;if("object"==typeof e.type||"function"==typeof e.type){let t=e.type;if(t.displayName)return t.displayName;if(t.name)return t.name}return null}var ek=new Map;function ev(e){let t=function(e){if(!e||"object"!=typeof e)return null;let t=Object.keys(e),n=t.find(e=>e.startsWith("__reactFiber$"));if(n)return e[n]||null;let o=t.find(e=>e.startsWith("__reactInternalInstance$"));if(o)return e[o]||null;let l=t.find(t=>{if(!t.startsWith("__react"))return!1;let n=e[t];return n&&"object"==typeof n&&"_debugSource"in n});return l&&e[l]||null}(e);if(!t)return{found:!1,reason:"no-fiber",isReactApp:!1,isProduction:!1};let n=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:50,n=e,o=0;for(;n&&o<t;){var l;if(n._debugSource)return{source:n._debugSource,componentName:ew(n)};if(null==(l=n._debugOwner)?void 0:l._debugSource)return{source:n._debugOwner._debugSource,componentName:ew(n._debugOwner)};n=n.return,o++}return null}(t);if(n||(n=function(e){let t=e,n=0;for(;t&&n<50;){let e=t;for(let n of["_debugSource","__source","_source","debugSource"]){let o=e[n];if(o&&"object"==typeof o&&"fileName"in o)return{source:o,componentName:ew(t)}}if(t.memoizedProps){let e=t.memoizedProps;if(e.__source&&"object"==typeof e.__source){let n=e.__source;if(n.fileName&&n.lineNumber)return{source:{fileName:n.fileName,lineNumber:n.lineNumber,columnNumber:n.columnNumber},componentName:ew(t)}}}t=t.return,n++}return null}(t)),null==n?void 0:n.source)return{found:!0,source:{fileName:n.source.fileName,lineNumber:n.source.lineNumber,columnNumber:n.source.columnNumber,componentName:n.componentName||void 0},isReactApp:!0,isProduction:!1};let l=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:15,n=e,l=0;for(;n&&l<t;){let e=function(e){let t=function(e){var t;let n=e.tag,o=e.type,l=e.elementType;if("string"==typeof o||null==o||"function"==typeof o&&(null==(t=o.prototype)?void 0:t.isReactComponent))return null;if((n===ex.FunctionComponent||n===ex.IndeterminateComponent)&&"function"==typeof o)return o;if(n===ex.ForwardRef&&l){let e=l.render;if("function"==typeof e)return e}if((n===ex.MemoComponent||n===ex.SimpleMemoComponent)&&l){let e=l.type;if("function"==typeof e)return e}return"function"==typeof o?o:null}(e);if(!t)return null;if(ek.has(t))return ek.get(t);let n=function(){let e=o.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;if(e&&"H"in e)return{get:()=>e.H,set:t=>{e.H=t}};let t=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;if(t){let e=t.ReactCurrentDispatcher;if(e&&"current"in e)return{get:()=>e.current,set:t=>{e.current=t}}}return null}();if(!n)return ek.set(t,null),null;let l=n.get(),a=null;try{let o=new Proxy({},{get(){throw Error("probe")}});n.set(o);try{t({})}catch(t){if(t instanceof Error&&"probe"===t.message&&t.stack){let n=function(e){let t=e.split("\n"),n=[/source-location/,/\/dist\/index\./,/node_modules\//,/react-dom/,/react\.development/,/react\.production/,/chunk-[A-Z0-9]+/i,/react-stack-bottom-frame/,/react-reconciler/,/scheduler/,/<anonymous>/],o=/^\s*at\s+(?:.*?\s+\()?(.+?):(\d+):(\d+)\)?$/,l=/^[^@]*@(.+?):(\d+):(\d+)$/;for(let e of t){let t=e.trim();if(!t||n.some(e=>e.test(t)))continue;let a=o.exec(t)||l.exec(t);if(a)return{fileName:a[1],line:parseInt(a[2],10),column:parseInt(a[3],10)}}return null}(t.stack);n&&(a={fileName:n.fileName.replace(/[?#].*$/,"").replace(/^turbopack:\/\/\/\[project\]\//,"").replace(/^webpack-internal:\/\/\/\.\//,"").replace(/^webpack-internal:\/\/\//,"").replace(/^webpack:\/\/\/\.\//,"").replace(/^webpack:\/\/\//,"").replace(/^turbopack:\/\/\//,"").replace(/^https?:\/\/[^/]+\//,"").replace(/^file:\/\/\//,"/").replace(/^\([^)]+\)\/\.\//,"").replace(/^\.\//,""),lineNumber:n.line,columnNumber:n.column,componentName:ew(e)||void 0})}}}finally{n.set(l)}return ek.set(t,a),a}(n);if(e)return e;n=n.return,l++}return null}(t);return l?{found:!0,source:l,isReactApp:!0,isProduction:!1}:{found:!1,reason:"no-debug-source",isReactApp:!0,isProduction:!1}}if("undefined"!=typeof document){let e=document.getElementById("feedback-tool-styles-page-toolbar-css-styles");e||((e=document.createElement("style")).id="feedback-tool-styles-page-toolbar-css-styles",e.textContent='.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: -1
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;
1\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;
1\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}
1\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;
1\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}
1\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}
1\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;
1\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  
1color: #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}',document.head.appendChild(e))}var eC={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"},ej=e=>{let{content:t,children:n,...s}=e,[r,i]=(0,o.useState)(!1),[c,_]=(0,o.useState)(!1),[d,u]=(0,o.useState)({top:0,right:0}),m=(0,o.useRef)(null),g=(0,o.useRef)(null),p=(0,o.useRef)(null);return(0,o.useEffect)(()=>()=>{g.current&&clearTimeout(g.current),p.current&&clearTimeout(p.current)},[]),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("span",{ref:m,onMouseEnter:()=>{_(!0),p.current&&(clearTimeout(p.current),p.current=null),(()=>{if(m.current){let e=m.current.getBoundingClientRect();u({top:e.top+e.height/2,right:window.innerWidth-e.left+8})}})(),g.current=P(()=>{i(!0)},500)},onMouseLeave:()=>{g.current&&(clearTimeout(g.current),g.current=null),i(!1),p.current=P(()=>{_(!1)},150)},...s,children:n}),c&&(0,l.createPortal)((0,a.jsx)("div",{"data-feedback-toolbar":!0,style:{position:"fixed",top:d.top,right:d.right,transform:"translateY(-50%)",padding:"6px 10px",background:"#383838",color:"rgba(255, 255, 255, 0.7)",fontSize:"11px",fontWeight:400,lineHeight:"14px",borderRadius:"10px",width:"180px",textAlign:"left",zIndex:100020,pointerEvents:"none",boxShadow:"0px 1px 8px rgba(0, 0, 0, 0.28)",opacity:+!!r,transition:"opacity 0.15s ease"},children:t}),document.body)]})};if("undefined"!=typeof document){let e=document.getElementById("feedback-tool-styles-help-tooltip-styles");e||((e=document.createElement("style")).id="feedback-tool-styles-help-tooltip-styles",e.textContent=".styles-module__tooltip___mcXL2 {\n  display: flex;\n  justify-content: center;\n  align-items: center;
1\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}",document.head.appendChild(e))}var eS={tooltip:"styles-module__tooltip___mcXL2",tooltipIcon:"styles-module__tooltipIcon___Nq2nD"},eL=e=>{let{content:t}=e;return(0,a.jsx)(ej,{className:eS.tooltip,content:t,children:(0,a.jsx)(d,{className:eS.tooltipIcon})})};function eN(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"filtered",{name:n,path:o}=F(e);if("off"===t)return{name:n,elementName:n,path:o,reactComponents:null};let l=function(e,t){let n=function(e){var t,n,o,l;let a=null!=(t=null==e?void 0:e.mode)?t:"filtered",s=em;return(null==e?void 0:e.skipExact)&&(s=new Set([...em,...e.skipExact instanceof Set?e.skipExact:new Set(e.skipExact)])),{maxComponents:null!=(n=null==e?void 0:e.maxComponents)?n:6,maxDepth:null!=(o=null==e?void 0:e.maxDepth)?o:30,mode:a,skipExact:s,skipPatterns:(null==e?void 0:e.skipPatterns)?[...eg,...e.skipPatterns]:eg,userPatterns:null!=(l=null==e?void 0:e.userPatterns)?l:ep,filter:null==e?void 0:e.filter}}(t),o="all"===n.mode;if(o){let t=ef.map.get(e);if(void 0!==t)return t}if(!function(){if(null!==eh)return eh;if("undefined"==typeof document)return!1;if(document.body&&ey(document.body))return eh=!0,!0;for(let e of["#root","#app","#__next","[data-reactroot]"]){let t=document.querySelector(e);if(t&&ey(t))return eh=!0,!0}if(document.body){for(let e of document.body.children)if(ey(e))return eh=!0,!0}return eh=!1,!1}()){let t={path:null,components:[]};return o&&ef.map.set(e,t),t}let l="smart"===n.mode?function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:10,n=new Set,o=e,l=0;for(;o&&l<t;)o.className&&"string"==typeof o.className&&o.className.split(/\s+/).forEach(e=>{if(e.length>1){let t=e.replace(/[_][a-zA-Z0-9]{5,}.*$/,"").toLowerCase();t.length>1&&n.add(t)}}),o=o.parentElement,l++;return n}(e):void 0,a=[];try{let t=function(e){let t=Object.keys(e).find(e=>e.startsWith("__reactFiber$")||e.startsWith("__reactInternalInstance$"))||null;return t?e[t]:null}(e),o=0;for(;t&&o<n.maxDepth&&a.length<n.maxComponents;){let e=function(e){let{tag:t,type:n,elementType:o}=e;if(t===eu.HostComponent||t===eu.HostText||t===eu.HostHoistable||t===eu.HostSingleton||t===eu.Fragment||t===eu.Mode||t===eu.Profiler||t===eu.DehydratedFragment||t===eu.HostRoot||t===eu.HostPortal||t===eu.ScopeComponent||t===eu.OffscreenComponent||t===eu.LegacyHiddenComponent||t===eu.CacheComponent||t===eu.TracingMarkerComponent||t===eu.Throw||t===eu.ViewTransitionComponent||t===eu.ActivityComponent)return null;if(t===eu.ForwardRef){if(null==o?void 0:o.render){let e=eb(o.render);if(e)return e}return(null==o?void 0:o.displayName)?o.displayName:eb(n)}if(t===eu.MemoComponent||t===eu.SimpleMemoComponent){if(null==o?void 0:o.type){let e=eb(o.type);if(e)return e}return(null==o?void 0:o.displayName)?o.displayName:eb(n)}if(t===eu.ContextProvider){var l;return(null==n||null==(l=n._context)?void 0:l.displayName)?"".concat(n._context.displayName,".Provider"):null}return t===eu.ContextConsumer?(null==n?void 0:n.displayName)?"".concat(n.displayName,".Consumer"):null:t===eu.LazyComponent?(null==o?void 0:o._status)===1&&o._result?eb(o._result):null:t===eu.SuspenseComponent||t===eu.SuspenseListComponent?null:t===eu.IncompleteClassComponent||t===eu.IncompleteFunctionComponent||t===eu.FunctionComponent||t===eu.ClassComponent||t===eu.IndeterminateComponent?eb(n):null}(t);e&&!(e.length<=2||e.length<=3&&e===e.toLowerCase())&&function(e,t,n,o){if(n.filter)return n.filter(e,t);switch(n.mode){case"all":default:return!0;case"filtered":if(n.skipExact.has(e)||n.skipPatterns.some(t=>t.test(e)))return!1;return!0;case"smart":if(n.skipExact.has(e)||n.skipPatterns.some(t=>t.test(e)))return!1;if(o&&function(e,t){let n=e.replace(/([a-z])([A-Z])/g,"$1-$2").replace(/([A-Z])([A-Z][a-z])/g,"$1-$2").toLowerCase();for(let e of t){if(e===n)return!0;let t=n.split("-").filter(e=>e.length>2),o=e.split("-").filter(e=>e.length>2);for(let e of t)for(let t of o)if(e===t||e.includes(t)||t.includes(e))return!0}return!1}(e,o)||n.userPatterns.some(t=>t.test(e)))return!0;return!1}}(e,o,n,l)&&a.push(e),t=t.return,o++}}catch(n){let t={path:null,components:[]};return o&&ef.map.set(e,t),t}if(0===a.length){let t={path:null,components:[]};return o&&ef.map.set(e,t),t}let s={path:a.slice().reverse().map(e=>"<".concat(e,">")).join(" "),components:a};return o&&ef.map.set(e,s),s}(e,{mode:t});return{name:l.path?"".concat(l.path," ").concat(n):n,elementName:n,path:o,reactComponents:l.path}}var eI=!1,eB={outputDetail:"standard",autoClearAfterCopy:!1,annotationColorId:"blue",blockInteractions:!0,reactEnabled:!0,markerClickBehavior:"edit",webhookUrl:"",webhooksEnabled:!0},eP=e=>{if(!e||!e.trim())return!1;try{let t=new URL(e.trim());return"http:"===t.protocol||"https:"===t.protocol}catch(e){return!1}},eE=[{value:"compact",label:"Compact"},{value:"standard",label:"Standard"},{value:"detailed",label:"Detailed"},{value:"forensic",label:"Forensic"}],eM=[{id:"indigo",label:"Indigo",srgb:"#6155F5",p3:"color(display-p3 0.38 0.33 0.96)"},{id:"blue",label:"Blue",srgb:"#0088FF",p3:"color(display-p3 0.00 0.53 1.00)"},{id:"cyan",label:"Cyan",srgb:"#00C3D0",p3:"color(display-p3 0.00 0.76 0.82)"},{id:"green",label:"Green",srgb:"#34C759",p3:"color(display-p3 0.20 0.78 0.35)"},{id:"yellow",label:"Yellow",srgb:"#FFCC00",p3:"color(display-p3 1.00 0.80 0.00)"},{id:"orange",label:"Orange",srgb:"#FF8D28",p3:"color(display-p3 1.00 0.55 0.16)"},{id:"red",label:"Red",srgb:"#FF383C",p3:"color(display-p3 1.00 0.22 0.24)"}];function eT(e,t){let n=document.elementFromPoint(e,t);if(!n)return null;for(;null==n?void 0:n.shadowRoot;){let o=n.shadowRoot.elementFromPoint(e,t);if(!o||o===n)break;n=o}return n}function ez(e){let t=e;for(;t&&t!==document.body;){let e=window.getComputedStyle(t).position;if("fixed"===e||"sticky"===e)return!0;t=t.parentElement}return!1}function eR(e){return"resolved"!==e.status&&"dismissed"!==e.status}function eO(e){let t=ev(e),n=t.found?t:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:10,n=e,o=0;for(;n&&o<t;){let e=ev(n);if(e.found)return e;n=n.parentElement,o++}return ev(e)}(e);if(n.found&&n.source)return function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"path",{fileName:n,lineNumber:o,columnNumber:l}=e,a="".concat(n,":").concat(o);return(void 0!==l&&(a+=":".concat(l)),"vscode"===t)?"vscode://file".concat(n.startsWith("/")?"":"/").concat(a):a}(n.source,"path")}function eF(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"standard";if(arguments.length>3&&void 0!==arguments[3]&&arguments[3],0===e.length)return"";let o="undefined"!=typeof window?"".concat(window.innerWidth,"\xd7").concat(window.innerHeight):"unknown",l="## Page Feedback: ".concat(t,"\n");return"forensic"===n?(l+="\n**Environment:**\n",l+="- Viewport: ".concat(o,"\n"),"undefined"!=typeof window&&(l+="- URL: ".concat(window.location.href,"\n"),l+="- User Agent: ".concat(navigator.userAgent,"\n"),l+="- Timestamp: ".concat(new Date().toISOString(),"\n"),l+="- Device Pixel Ratio: ".concat(window.devicePixelRatio,"\n")),l+="\n---\n"):"compact"!==n&&(l+="**Viewport:** ".concat(o,"\n")),l+="\n",e.forEach((e,t)=>{"compact"===n?(l+="".concat(t+1,". **").concat(e.element,"**").concat(e.sourceFile?" (".concat(e.sourceFile,")"):"",": ").concat(e.comment),e.selectedText&&(l+=' (re: "'.concat(e.selectedText.slice(0,30)).concat(e.selectedText.length>30?"...":"",'")')),l+="\n"):("forensic"===n?(l+="### ".concat(t+1,". ").concat(e.element,"\n"),e.isMultiSelect&&e.fullPath&&(l+="*Forensic data shown for first element of selection*\n"),e.fullPath&&(l+="**Full DOM Path:** ".concat(e.fullPath,"\n")),e.cssClasse
1s&&(l+="**CSS Classes:** ".concat(e.cssClasses,"\n")),e.boundingBox&&(l+="**Position:** x:".concat(Math.round(e.boundingBox.x),", y:").concat(Math.round(e.boundingBox.y)," (").concat(Math.round(e.boundingBox.width),"\xd7").concat(Math.round(e.boundingBox.height),"px)\n")),l+="**Annotation at:** ".concat(e.x.toFixed(1),"% from left, ").concat(Math.round(e.y),"px from top\n"),e.selectedText&&(l+='**Selected text:** "'.concat(e.selectedText,'"\n')),e.nearbyText&&!e.selectedText&&(l+="**Context:** ".concat(e.nearbyText.slice(0,100),"\n")),e.computedStyles&&(l+="**Computed Styles:** ".concat(e.computedStyles,"\n")),e.accessibility&&(l+="**Accessibility:** ".concat(e.accessibility,"\n")),e.nearbyElements&&(l+="**Nearby Elements:** ".concat(e.nearbyElements,"\n")),e.sourceFile&&(l+="**Source:** ".concat(e.sourceFile,"\n")),e.reactComponents&&(l+="**React:** ".concat(e.reactComponents,"\n"))):(l+="### ".concat(t+1,". ").concat(e.element,"\n"),l+="**Location:** ".concat(e.elementPath,"\n"),e.sourceFile&&(l+="**Source:** ".concat(e.sourceFile,"\n")),e.reactComponents&&(l+="**React:** ".concat(e.reactComponents,"\n")),"detailed"===n&&(e.cssClasses&&(l+="**Classes:** ".concat(e.cssClasses,"\n")),e.boundingBox&&(l+="**Position:** ".concat(Math.round(e.boundingBox.x),"px, ").concat(Math.round(e.boundingBox.y),"px (").concat(Math.round(e.boundingBox.width),"\xd7").concat(Math.round(e.boundingBox.height),"px)\n"))),e.selectedText&&(l+='**Selected text:** "'.concat(e.selectedText,'"\n')),"detailed"===n&&e.nearbyText&&!e.selectedText&&(l+="**Context:** ".concat(e.nearbyText.slice(0,100),"\n"))),l+="**Feedback:** ".concat(e.comment,"\n\n"))}),l.trim()}function eW(){var e,t,n;let{demoAnnotations:s,demoDelay:r=1e3,enableDemoMode:d=!1,onAnnotationAdd:C,onAnnotationDelete:I,onAnnotationUpdate:T,onAnnotationsClear:R,onCopy:Y,onSubmit:D,copyToClipboard:X=!0,endpoint:U,sessionId:Q,onSessionCreated:Z,webhookUrl:eo,className:eu}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},[em,eg]=(0,o.useState)(!1),[ep,eh]=(0,o.useState)([]),[ey,ef]=(0,o.useState)(!0),[eb,ex]=(0,o.useState)(()=>(function(){if("undefined"==typeof window)return!1;try{return"1"===sessionStorage.getItem(es)}catch(e){return!1}})()),[ew,ek]=(0,o.useState)(!1),ev=(0,o.useRef)(null);(0,o.useEffect)(()=>{let e=e=>{let t=ev.current;t&&t.contains(e.target)&&e.stopPropagation()},t=["mousedown","click","pointerdown"];return t.forEach(t=>document.body.addEventListener(t,e)),()=>{t.forEach(t=>document.body.removeEventListener(t,e))}},[]);let[ej,eS]=(0,o.useState)(!1),[eW,eA]=(0,o.useState)(!1),[eH,eY]=(0,o.useState)(null),[eD,eX]=(0,o.useState)({x:0,y:0}),[eU,eQ]=(0,o.useState)(null),[eV,eZ]=(0,o.useState)(!1),[eJ,eq]=(0,o.useState)("idle"),[e$,eG]=(0,o.useState)(!1),[eK,e0]=(0,o.useState)(!1),[e1,e5]=(0,o.useState)(null),[e2,e6]=(0,o.useState)(null),[e7,e4]=(0,o.useState)([]),[e8,e3]=(0,o.useState)(null),[e9,te]=(0,o.useState)(null),[tt,tn]=(0,o.useState)(null),[to,tl]=(0,o.useState)(null),[ta,ts]=(0,o.useState)([]),[tr,ti]=(0,o.useState)(0),[tc,t_]=(0,o.useState)(!1),[td,tu]=(0,o.useState)(!1),[tm,tg]=(0,o.useState)(!1),[tp,th]=(0,o.useState)(!1),[ty,tf]=(0,o.useState)(!1),[tb,tx]=(0,o.useState)("main"),[tw,tk]=(0,o.useState)(!1),[tv,tC]=(0,o.useState)(!1),tj=(0,o.useRef)(null),[tS,tL]=(0,o.useState)([]),tN=(0,o.useRef)({cmd:!1,shift:!1}),tI=()=>{tk(!0)};(0,o.useEffect)(()=>()=>{tj.current&&clearTimeout(tj.current)},[]);let[tB,tP]=(0,o.useState)(()=>{try{var e;let t=JSON.parse(null!=(e=localStorage.getItem("feedback-toolbar-settings"))?e:"");return{...eB,...t,annotationColorId:eM.find(e=>e.id===t.annotationColorId)?t.annotationColorId:eB.annotationColorId}}catch(e){return eB}}),[tE,tM]=(0,o.useState)(!0),[tT,tz]=(0,o.useState)(!1),[tR,tO]=(0,o.useState)(null!=Q?Q:null),tF=(0,o.useRef)(!1),[tW,tA]=(0,o.useState)(U?"connecting":"disconnected"),[tH,tY]=(0,o.useState)(null),[tD,tX]=(0,o.useState)(!1),[tU,tQ]=(0,o.useState)(null),[tV,tZ]=(0,o.useState)(0),tJ=(0,o.useRef)(!1),[tq,t$]=(0,o.useState)(new Set),[tG,tK]=(0,o.useState)(new Set),[t0,t1]=(0,o.useState)(!1),[t5,t2]=(0,o.useState)(!1),[t6,t7]=(0,o.useState)(!1),t4=(0,o.useRef)(null),t8=(0,o.useRef)(null),t3=(0,o.useRef)(null),t9=(0,o.useRef)(null),ne=(0,o.useRef)(!1),nt=(0,o.useRef)(0),nn=(0,o.useRef)(null),no=(0,o.useRef)(null),nl=(0,o.useRef)(null),na=(0,o.useRef)(null),ns=(0,o.useRef)(null),nr="undefined"!=typeof window?window.location.pathname:"/";(0,o.useEffect)(()=>
1{if(tp)tf(!0);else{tk(!1),tx("main");let e=P(()=>tf(!1),0);return()=>clearTimeout(e)}},[tp]);let ni=em&&ey;(0,o.useEffect)(()=>{if(ni){eA(!1),eS(!0),t$(new Set);let e=P(()=>{t$(e=>{let t=new Set(e);return ep.forEach(e=>t.add(e.id)),t})},350);return()=>clearTimeout(e)}if(ej){eA(!0);let e=P(()=>{eS(!1),eA(!1)},250);return()=>clearTimeout(e)}},[ni]),(0,o.useEffect)(()=>{tu(!0),ti(window.scrollY),eh(ee(nr).filter(eR)),eI||(tz(!0),eI=!0,P(()=>tz(!1),750));try{let e=localStorage.getItem("feedback-toolbar-theme");null!==e&&tM("dark"===e)}catch(e){}try{let e=localStorage.getItem("feedback-toolbar-position");if(e){let t=JSON.parse(e);"number"==typeof t.x&&"number"==typeof t.y&&tY(t)}}catch(e){}},[nr]),(0,o.useEffect)(()=>{td&&localStorage.setItem("feedback-toolbar-settings",JSON.stringify(tB))},[tB,td]),(0,o.useEffect)(()=>{td&&localStorage.setItem("feedback-toolbar-theme",tE?"dark":"light")},[tE,td]);let nc=(0,o.useRef)(!1);(0,o.useEffect)(()=>{let e=nc.current;nc.current=tD,e&&!tD&&tH&&td&&localStorage.setItem("feedback-toolbar-position",JSON.stringify(tH))},[tD,tH,td]),(0,o.useEffect)(()=>{U&&td&&!tF.current&&(tF.current=!0,tA("connecting"),(async()=>{try{let e=function(e){if("undefined"==typeof window)return null;try{return localStorage.getItem(el(e))}catch(e){return null}}(nr),t=Q||e,n=!1;if(t)try{let e=await ei(U,t);tO(e.id),tA("connected"),ea(nr,e.id),n=!0;let o=ee(nr),l=new Set(e.annotations.map(e=>e.id)),a=o.filter(e=>!l.has(e.id));if(a.length>0){let t="undefined"!=typeof window?window.location.origin:"",n="".concat(t).concat(nr),o=(await Promise.allSettled(a.map(t=>ec(U,e.id,{...t,sessionId:e.id,url:n})))).map((e,t)=>"fulfilled"===e.status?e.value:(console.warn("[Agentation] Failed to sync annotation:",e.reason),a[t])),l=[...e.annotations,...o];eh(l.filter(eR)),en(nr,l.filter(eR),e.id)}else eh(e.annotations.filter(eR)),en(nr,e.annotations.filter(eR),e.id)}catch(e){console.warn("[Agentation] Could not join session, creating new:",e);if("undefined"!=typeof window)try{localStorage.removeItem(el(nr))}catch(e){}}if(!n){let e="undefined"!=typeof window?window.location.href:"/",t=await er(U,e);tO(t.id),tA("connected"),ea(nr,t.id),null==Z||Z(t.id);let n=function(){let e=new Map;if("undefined"==typeof window)return e;try{let t=Date.now()-6048e5;for(let n=0;n<localStorage.length;n++){let o=localStorage.key(n);if(null==o?void 0:o.startsWith(G)){let n=o.slice(G.length),l=localStorage.getItem(o);if(l){let o=JSON.parse(l).filter(e=>!e.timestamp||e.timestamp>t);o.length>0&&e.set(n,o)}}}}catch(e){}return e}(),o="undefined"!=typeof window?window.location.origin:"",l=[];for(let[e,a]of n){let n=a.filter(e=>!e._syncedTo);if(0===n.length)continue;let s="".concat(o).concat(e),r=e===nr;l.push((async()=>{try{let o=r?t:await er(U,s),l=(await Promise.allSettled(n.map(e=>ec(U,o.id,{...e,sessionId:o.id,url:s})))).map((e,t)=>"fulfilled"===e.status?e.value:(console.warn("[Agentation] Failed to sync annotation:",e.reason),n[t])).filter(eR);if(en(e,l,o.id),r){let e=new Set(n.map(e=>e.id));eh(t=>{let n=t.filter(t=>!e.has(t.id));return[...l,...n]})}}catch(t){console.warn("[Agentation] Failed to sync annotations for ".concat(e,":"),t)}})())}await Promise.allSettled(l)}}catch(e){tA("disconnected"),console.warn("[Agentation] Failed to initialize session, using local storage:",e)}})())},[U,Q,td,Z,nr]),(0,o.useEffect)(()=>{if(!U||!td)return;let e=async()=>{try{(await fetch("".concat(U,"/health"))).ok?tA("connected"):tA("disconnected")}catch(e){tA("disconnected")}};e();let t=E(e,1e4);return()=>clearInterval(t)},[U,td]),(0,o.useEffect)(()=>{if(!U||!td||!tR)return;let e=new EventSource("".concat(U,"/sessions/").concat(tR,"/events")),t=["resolved","dismissed"],n=e=>{try{var n;let o=JSON.parse(e.data);if(t.includes(null==(n=o.payload)?void 0:n.status)){let e=o.payload.id;tK(t=>new Set(t).add(e)),P(()=>{eh(t=>t.filter(t=>t.id!==e)),tK(t=>{let n=new Set(t);return n.delete(e),n})},150)}}catch(e){}};return e.addEventListener("annotation.updated",n),()=>{e.removeEventListener("annotation.updated",n),e.close()}},[U,td,tR]),(0,o.useEffect)(()=>{if(!U||!td)return;let e="disconnected"===no.current,t="connected"===tW;no.current=tW,e&&t&&(async()=>{try{let e=ee(nr);if(0===e.length)return;let t="undefined"!=typeof window?window.location.origin:"",n="".concat(t).concat(nr),o=tR,l=[];
1if(o)try{l=(await ei(U,o)).annotations}catch(e){o=null}o||(o=(await er(U,n)).id,tO(o),ea(nr,o));let a=new Set(l.map(e=>e.id)),s=e.filter(e=>!a.has(e.id));if(s.length>0){let e=(await Promise.allSettled(s.map(e=>ec(U,o,{...e,sessionId:o,url:n})))).map((e,t)=>"fulfilled"===e.status?e.value:(console.warn("[Agentation] Failed to sync annotation on reconnect:",e.reason),s[t])),t=[...l,...e].filter(eR);eh(t),en(nr,t,o)}}catch(e){console.warn("[Agentation] Failed to sync on reconnect:",e)}})()},[tW,U,td,tR,nr]);let n_=(0,o.useCallback)(()=>{ew||(ek(!0),th(!1),eg(!1),P(()=>{if("undefined"!=typeof window)try{sessionStorage.setItem(es,"1")}catch(e){}ex(!0),ek(!1)},400))},[ew]);(0,o.useEffect)(()=>{if(!d||!td||!s||0===s.length||ep.length>0)return;let e=[];return e.push(P(()=>{eg(!0)},r-200)),s.forEach((t,n)=>{e.push(P(()=>{let e=document.querySelector(t.selector);if(!e)return;let o=e.getBoundingClientRect(),{name:l,path:a}=F(e),s={id:"demo-".concat(Date.now(),"-").concat(n),x:(o.left+o.width/2)/window.innerWidth*100,y:o.top+o.height/2+window.scrollY,comment:t.comment,element:l,elementPath:a,timestamp:Date.now(),selectedText:t.selectedText,boundingBox:{x:o.left,y:o.top+window.scrollY,width:o.width,height:o.height},nearbyText:W(e),cssClasses:H(e)};eh(e=>[...e,s])},r+300*n))}),()=>{e.forEach(clearTimeout)}},[d,td,s,r]),(0,o.useEffect)(()=>{let e=()=>{ti(window.scrollY),t_(!0),ns.current&&clearTimeout(ns.current),ns.current=P(()=>{t_(!1)},150)};return window.addEventListener("scroll",e,{passive:!0}),()=>{window.removeEventListener("scroll",e),ns.current&&clearTimeout(ns.current)}},[]),(0,o.useEffect)(()=>{td&&ep.length>0?tR?en(nr,ep,tR):et(nr,ep):td&&0===ep.length&&localStorage.removeItem(K(nr))},[ep,nr,td,tR]);let nd=(0,o.useCallback)(()=>{tm||(!function(){if("undefined"==typeof document||B.frozen)return;B.frozen=!0,B.frozenTimeoutQueue=[],B.frozenRAFQueue=[];let e=document.getElementById(N);e||((e=document.createElement("style")).id=N),e.textContent="\n    *".concat(L,",\n    *").concat(L,"::before,\n    *").concat(L,"::after {\n      animation-play-state: paused !important;\n      transition: none !important;\n    }\n  "),document.head.appendChild(e),B.pausedAnimations=[];try{document.getAnimations().forEach(e=>{var t,n;"running"===e.playState&&((n=null==(t=e.effect)?void 0:t.target)&&S.some(e=>{var t;return!!(null==(t=n.closest)?void 0:t.call(n,"[".concat(e,"]")))})||(e.pause(),B.pausedAnimations.push(e)))})}catch(e){}document.querySelectorAll("video").forEach(e=>{e.paused||(e.dataset.wasPaused="false",e.pause())})}(),tg(!0))},[tm]),nu=(0,o.useCallback)(()=>{tm&&(M(),tg(!1))},[tm]),nm=(0,o.useCallback)(()=>{tm?nu():nd()},[tm,nd,nu]),ng=(0,o.useCallback)(()=>{if(0===tS.length)return;let e=tS[0],t=e.element,n=tS.length>1,o=tS.map(e=>e.element.getBoundingClientRect());if(n){let e={left:Math.min(...o.map(e=>e.left)),top:Math.min(...o.map(e=>e.top)),right:Math.max(...o.map(e=>e.right)),bottom:Math.max(...o.map(e=>e.bottom))},n=tS.slice(0,5).map(e=>e.name).join(", "),l=tS.length>5?" +".concat(tS.length-5," more"):"",a=o.map(e=>({x:e.left,y:e.top+window.scrollY,width:e.width,height:e.height}
1)),s=tS[tS.length-1].element,r=o[o.length-1],i=r.left+r.width/2,c=r.top+r.height/2,_=ez(s);eQ({x:i/window.innerWidth*100,y:_?c:c+window.scrollY,clientY:c,element:"".concat(tS.length," elements: ").concat(n).concat(l),elementPath:"multi-select",boundingBox:{x:e.left,y:e.top+window.scrollY,width:e.right-e.left,height:e.bottom-e.top},isMultiSelect:!0,isFixed:_,elementBoundingBoxes:a,multiSelectElements:tS.map(e=>e.element),targetElement:s,fullPath:$(t),accessibility:q(t),computedStyles:J(t),computedStylesObj:V(t),nearbyElements:A(t),cssClasses:H(t),nearbyText:W(t),sourceFile:eO(t)})}else{let n=o[0],l=ez(t);eQ({x:n.left/window.innerWidth*100,y:l?n.top:n.top+window.scrollY,clientY:n.top,element:e.name,elementPath:e.path,boundingBox:{x:n.left,y:l?n.top:n.top+window.scrollY,width:n.width,height:n.height},isFixed:l,fullPath:$(t),accessibility:q(t),computedStyles:J(t),computedStylesObj:V(t),nearbyElements:A(t),cssClasses:H(t),nearbyText:W(t),reactComponents:e.reactComponents,sourceFile:eO(t)})}tL([]),eY(null)},[tS]);(0,o.useEffect)(()=>{!em&&(eQ(null),tn(null),tl(null),ts([]),eY(null),th(!1),tL([]),tN.current={cmd:!1,shift:!1},tm&&nu())},[em,tm,nu]),(0,o.useEffect)(()=>()=>{M()},[]),(0,o.useEffect)(()=>{if(!em)return;let e=document.createElement("style");return e.id="feedback-cursor-styles",e.textContent='\n      body * {\n        cursor: crosshair !important;\n      }\n      body p, body span, body h1, body h2, body h3, body h4, body h5, body h6,\n      body li, body td, body th, body label, body blockquote, body figcaption,\n      body caption, body legend, body dt, body dd, body pre, body code,\n      body em, body strong, body b, body i, body u, body s, body a,\n      body time, body address, body cite, body q, body abbr, body dfn,\n      body mark, body small, body sub, body sup, body [contenteditable],\n      body p *, body span *, body h1 *, body h2 *, body h3 *, body h4 *,\n      body h5 *, body h6 *, body li *, body a *, body label *, body pre *,\n      body code *, body blockquote *, body [contenteditable] * {\n        cursor: text !important;\n      }\n      [data-feedback-toolbar], [data-feedback-toolbar] * {\n        cursor: auto !important;\n      }\n      [data-feedback-toolbar] textarea,\n      [data-feedback-toolbar] input[type="text"],\n      [data-feedback-toolbar] input[type="url"] {\n        cursor: text !important;\n      }\n      [data-feedback-toolbar] button,\n      [data-feedback-toolbar] button *,\n      [data-feedback-toolbar] label,\n      [data-feedback-toolbar] label *,\n      [data-feedback-toolbar] a,\n      [data-feedback-toolbar] a *,\n      [data-feedback-toolbar] [role="button"],\n      [data-feedback-toolbar] [role="button"] * {\n        cursor: pointer !important;\n      }\n      [data-annotation-marker], [data-annotation-marker] * {\n        cursor: pointer !important;\n      }\n    ',document.head.appendChild(e),()=>{let e=document.getElementById("feedback-cursor-styles");e&&e.remove()}},[em]),(0,o.useEffect)(()=>{if(!em||eU)return;let e=e=>{if(O(e.composedPath()[0]||e.target,"[data-feedback-toolbar]"))return void eY(null);let t=eT(e.clientX,e.clientY);if(!t||O(t,"[data-feedback-toolbar]"))return void eY(null);let{name:n,elementName:o,path:l,reactComponents:a}=eN(t,"off");eY({element:n,elementName:o,elementPath:l,rect:t.getBoundingClientRect(),reactComponents:a}),eX({x:e.clientX,y:e.clientY})};return document.addEventListener("mousemove",e),()=>document.removeEventListener("mousemove",e)},[em,eU,"off"]),(0,o.useEffect)(()=>{if(!em)return;let e=e=>{var t,n;let o;if(ne.current){ne.current=!1;return}let l=e.composedPath()[0]||e.target;if(O(l,"[data-feedback-toolbar]")||O(l,"[data-annotation-popup]")||O(l,"[data-annotation-marker]"))return;if(e.metaKey&&e.shiftKey&&!eU&&!tt){e.preventDefault(),e.stopPropagation();let t=eT(e.clientX,e.clientY);if(!t)return;let n=t.getBoundingClientRect(),{name:o,path:l,reactComponents:a}=eN(t,"off"),s=tS.findIndex(e=>e.element===t);s>=0?tL(e=>e.filter((e,t)=>t!==s)):tL(e=>[...e,{element:t,rect:n,name:o,path:l,reactComponents:null!=a?a:void 0}]);return}let a=O(l,"button, a, input, select, textarea, [role='button'], [onclick]");if(tB.blockInteractions&&a&&(e.preventDefault(),e.stopPropagation()),eU){if
1(a&&!tB.blockInteractions)return;e.preventDefault(),null==(t=nl.current)||t.shake();return}if(tt){if(a&&!tB.blockInteractions)return;e.preventDefault(),null==(n=na.current)||n.shake();return}e.preventDefault();let s=eT(e.clientX,e.clientY);if(!s)return;let{name:r,path:i,reactComponents:c}=eN(s,"off"),_=s.getBoundingClientRect(),d=e.clientX/window.innerWidth*100,u=ez(s),m=u?e.clientY:e.clientY+window.scrollY,g=window.getSelection();g&&g.toString().trim().length>0&&(o=g.toString().trim().slice(0,500));let p=V(s),h=J(s);eQ({x:d,y:m,clientY:e.clientY,element:r,elementPath:i,selectedText:o,boundingBox:{x:_.left,y:u?_.top:_.top+window.scrollY,width:_.width,height:_.height},nearbyText:W(s),cssClasses:H(s),isFixed:u,fullPath:$(s),accessibility:q(s),computedStyles:h,computedStylesObj:p,nearbyElements:A(s),reactComponents:null!=c?c:void 0,sourceFile:eO(s),targetElement:s}),eY(null)};return document.addEventListener("click",e,!0),()=>document.removeEventListener("click",e,!0)},[em,eU,tt,tB.blockInteractions,"off",tS]),(0,o.useEffect)(()=>{if(!em)return;let e=e=>{"Meta"===e.key&&(tN.current.cmd=!0),"Shift"===e.key&&(tN.current.shift=!0)},t=e=>{let t=tN.current.cmd&&tN.current.shift;"Meta"===e.key&&(tN.current.cmd=!1),"Shift"===e.key&&(tN.current.shift=!1);let n=tN.current.cmd&&tN.current.shift;t&&!n&&tS.length>0&&ng()},n=()=>{tN.current={cmd:!1,shift:!1},tL([])};return document.addEventListener("keydown",e),document.addEventListener("keyup",t),window.addEventListener("blur",n),()=>{document.removeEventListener("keydown",e),document.removeEventListener("keyup",t),window.removeEventListener("blur",n)}},[em,tS,ng]),(0,o.useEffect)(()=>{if(!em||eU)return;let e=e=>{let t=e.composedPath()[0]||e.target;!(O(t,"[data-feedback-toolbar]")||O(t,"[data-annotation-marker]")||O(t,"[data-annotation-popup]"))&&(new Set(["P","SPAN","H1","H2","H3","H4","H5","H6","LI","TD","TH","LABEL","BLOCKQUOTE","FIGCAPTION","CAPTION","LEGEND","DT","DD","PRE","CODE","EM","STRONG","B","I","U","S","A","TIME","ADDRESS","CITE","Q","ABBR","DFN","MARK","SMALL","SUB","SUP"]).has(t.tagName)||t.isContentEditable||(t4.current={x:e.clientX,y:e.clientY}))};return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)},[em,eU]),(0,o.useEffect)(()=>{if(!em||eU)return;let e=e=>{if(!t4.current)return;let t=e.clientX-t4.current.x,n=e.clientY-t4.current.y,o=t*t+n*n;if(!t6&&o>=64&&(t8.current=t4.current,t7(!0)),(t6||o>=64)&&t8.current){if(t3.current){let t=Math.min(t8.current.x,e.clientX),n=Math.min(t8.current.y,e.clientY),o=Math.abs(e.clientX-t8.current.x),l=Math.abs(e.clientY-t8.current.y);t3.current.style.transform="translate(".concat(t,"px, ").concat(n,"px)"),t3.current.style.width="".concat(o,"px"),t3.current.style.height="".concat(l,"px")}let t=Date.now();if(t-nt.current<50)return;nt.current=t;let n=t8.current.x,o=t8.current.y,l=Math.min(n,e.clientX),a=Math.min(o,e.clientY),s=Math.max(n,e.clientX),r=Math.max(o,e.clientY),i=(l+s)/2,c=(a+r)/2,_=new Set;for(let[e,t]of[[l,a],[s,a],[l,r],[s,r],[i,c],[i,a],[i,r],[l,c],[s,c]])for(let n of document.elementsFromPoint(e,t))n instanceof HTMLElement&&_.add(n);for(let e of document.querySelectorAll("button, a, input, img, p, h1, h2, h3, h4, h5, h6, li, label, td, th, div, span, section, article, aside, nav"))if(e instanceof HTMLElement){let t=e.getBoundingClientRect(),n=t.left+t.width/2,o=t.top+t.height/2,i=n>=l&&n<=s&&o>=a&&o<=r,c=Math.min(t.right,s)-Math.max(t.left,l),d=Math.min(t.bottom,r)-Math.max(t.top,a),u=c>0&&d>0?c*d:0,m=t.width*t.height,g=m>0?u/m:0;(i||g>.5)&&_.add(e)}let d=[],u=new Set(["BUTTON","A","INPUT","IMG","P","H1","H2","H3","H4","H5","H6","LI","LABEL","TD","TH","SECTION","ARTICLE","ASIDE","NAV"]);for(let e of _){if(O(e,"[data-feedback-toolbar]")||O(e,"[data-annotation-marker]"))continue;let t=e.getBoundingClientRect();if((!(t.width>.8*window.innerWidth)||!(t.height>.5*window.innerHeight))&&!(t.width<10)&&!(t.height<10)&&t.left<s&&t.right>l&&t.top<r&&t.bottom>a){let n=e.tagName,o=u.has(n);if(!o&&("DIV"===n||"SPAN"===n)){let t=e.textContent&&e.textContent.trim().length>0,n=null!==e.onclick||"button"===e.getAttribute("role")||"link"===e.getAttribute("role")||e.classList.contains("clickable")||e.hasAttribute("data-clickable");(t||n)&&!e.querySelector("p, h1, h2, h3, h4, h5, h6, button, a")&&(o=!0)}if(o){let e=!1;for(let n of d)if(n.left<=t.left&&n.right>=t.right&&n.top<=t.top&&n.bottom>=t.bottom){e=!0;break}e||d.push(t)}}}if(t9.current){let e=t9.current;for(;e.children.length>d.length;)e.removeChild(e.lastChild);d.forEach((t,n)=>{let o=e.children[n];o||((o=document.createElement("div")).className=eC.selectedElementHighlight,e.appendChild(o)),o.style.transform="translate(".concat(t.left,"px, ").concat(t.top,"px)"),o.style.width="".concat(t.width,"px"),o.style.height="".concat(t.height,"px")})}}};return document.addEventListener("mousemove",e,{passive:!0}),()=>document.removeEventListener("mousemove",e)},[em,eU,t6,8]),(0,o.useEffect)(()=>
1{if(!em)return;let e=e=>{let t=t8.current;if(t6&&t){ne.current=!0;let n=Math.min(t.x,e.clientX),o=Math.min(t.y,e.clientY),l=Math.max(t.x,e.clientX),a=Math.max(t.y,e.clientY),s=[];document.querySelectorAll("button, a, input, img, p, h1, h2, h3, h4, h5, h6, li, label, td, th").forEach(e=>{if(!(e instanceof HTMLElement)||O(e,"[data-feedback-toolbar]")||O(e,"[data-annotation-marker]"))return;let t=e.getBoundingClientRect();(!(t.width>.8*window.innerWidth)||!(t.height>.5*window.innerHeight))&&!(t.width<10)&&!(t.height<10)&&t.left<l&&t.right>n&&t.top<a&&t.bottom>o&&s.push({element:e,rect:t})});let r=s.filter(e=>{let{element:t}=e;return!s.some(e=>{let{element:n}=e;return n!==t&&t.contains(n)})}),i=e.clientX/window.innerWidth*100,c=e.clientY+window.scrollY;if(r.length>0){let t=r.reduce((e,t)=>{let{rect:n}=t;return{left:Math.min(e.left,n.left),top:Math.min(e.top,n.top),right:Math.max(e.right,n.right),bottom:Math.max(e.bottom,n.bottom)}},{left:1/0,top:1/0,right:-1/0,bottom:-1/0}),n=r.slice(0,5).map(e=>{let{element:t}=e;return F(t).name}).join(", "),o=r.length>5?" +".concat(r.length-5," more"):"",l=r[0].element,a=V(l),s=J(l);eQ({x:i,y:c,clientY:e.clientY,element:"".concat(r.length," elements: ").concat(n).concat(o),elementPath:"multi-select",boundingBox:{x:t.left,y:t.top+window.scrollY,width:t.right-t.left,height:t.bottom-t.top},isMultiSelect:!0,fullPath:$(l),accessibility:q(l),computedStyles:s,computedStylesObj:a,nearbyElements:A(l),cssClasses:H(l),nearbyText:W(l),sourceFile:eO(l)})}else{let t=Math.abs(l-n),s=Math.abs(a-o);t>20&&s>20&&eQ({x:i,y:c,clientY:e.clientY,element:"Area selection",elementPath:"region at (".concat(Math.round(n),", ").concat(Math.round(o),")"),boundingBox:{x:n,y:o+window.scrollY,width:t,height:s},isMultiSelect:!0})}eY(null)}else t6&&(ne.current=!0);t4.current=null,t8.current=null,t7(!1),t9.current&&(t9.current.innerHTML="")};return document.addEventListener("mouseup",e),()=>document.removeEventListener("mouseup",e)},[em,t6]);let np=(0,o.useCallback)(async(e,t,n)=>{let o=tB.webhookUrl||eo;if(!o||!tB.webhooksEnabled&&!n)return!1;try{return(await fetch(o,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({event:e,timestamp:Date.now(),url:"undefined"!=typeof window?window.location.href:void 0,...t})})).ok}catch(e){return console.warn("[Agentation] Webhook failed:",e),!1}},[eo,tB.webhookUrl,tB.webhooksEnabled]),nh=(0,o.useCallback)(e=>{var t;if(!eU)return;let n={id:Date.now().toString(),x:eU.x,y:eU.y,comment:e,element:eU.element,elementPath:eU.elementPath,timestamp:Date.now(),selectedText:eU.selectedText,boundingBox:eU.boundingBox,nearbyText:eU.nearbyText,cssClasses:eU.cssClasses,isMultiSelect:eU.isMultiSelect,isFixed:eU.isFixed,fullPath:eU.fullPath,accessibility:eU.accessibility,computedStyles:eU.computedStyles,nearbyElements:eU.nearbyElements,reactComponents:eU.reactComponents,sourceFile:eU.sourceFile,elementBoundingBoxes:eU.elementBoundingBoxes,...U&&tR?{sessionId:tR,url:"undefined"!=typeof window?window.location.href:void 0,status:"pending"}:{}};eh(e=>[...e,n]),nn.current=n.id,P(()=>{nn.current=null},300),P(()=>{t$(e=>new Set(e).add(n.id))},250),null==C||C(n),np("annotation.add",{annotation:n}),t1(!0),P(()=>{eQ(null),t1(!1)},150),null==(t=window.getSelection())||t.removeAllRanges(),U&&tR&&ec(U,tR,n).then(e=>{e.id!==n.id&&(eh(t=>t.map(t=>t.id===n.id?{...t,id:e.id}:t)),t$(t=>{let o=new Set(t);return o.delete(n.id),o.add(e.id),o}))}).catch(e=>{console.warn("[Agentation] Failed to sync annotation:",e)})},[eU,C,np,U,tR]),ny=(0,o.useCallback)(()=>{t1(!0),P(()=>{eQ(null),t1(!1)},150)},[]),nf=(0,o.useCallback)(e=>{let t=ep.findIndex(t=>t.id===e),n=ep[t];(null==tt?void 0:tt.id)===e&&(t2(!0),P(()=>{tn(null),tl(null),ts([]),t2(!1)},150)),e3(e),tK(t=>new Set(t).add(e)),n&&(null==I||I(n),np("annotation.delete",{annotation:n})),U&&ed(U,e).catch(e=>{console.warn("[Agentation] Failed to delete annotation from server:",e)}),P(()=>{eh(t=>t.filter(t=>t.id!==e)),tK(t=>{let n=new Set(t);return n.delete(e),n}),e3(null),t<ep.length-1&&(te(t),P(()=>te(null),200))},150)},[ep,tt,I,np,U]),nb=(0,o.useCallback)(e=>{var t;if(tn(e),e5(null),e6(null),e4([]),null==(t=e.elementBoundingBoxes)?void 0:t.length){let t=[];for(let n of e.elementBoundingBoxes){let e=eT(n.x+n.width/2,n.y+n.height/2-window.scrollY);e&&t.push(e)}ts(t),tl(null)}else if(e.boundingBox){let t=e.boundingBox,n=eT(t.x+t.width/2,e.isFixed?t.y+t.height/2:t.y+t.height/2-window.scrollY);if(n){let e=n.getBoundingClientRect(),o=e.width/t.width,l=e.height/t.height;o<.5||l<.5?tl(null):tl(n)}else tl(null);ts([])}else tl(null),ts([])},[]),nx=(0,o.useCallback)(e=>{var t;if(!e){e5(null),e6(null),e4([]);return}if(e5(e.id),null==(t=e.elementBoundingBoxes)?void 0:t.length){let t=[];for(let n of e.elementBoundingBoxes){let e=n.x+n.width/2,o=n.y+n.height/2-window.scrollY,l=document.elementsFromPoint(e,o).find(e=>!e.closest("[data-annotation-marker]")&&!e.closest("[data-agentation-root]"));l&&t.push(l)}e4(t),e6(null)}else if(e.boundingBox){let t=e.boundingBox,n=eT(t.x+t.width/2,e.isFixed?t.y+t.height/2:t.y+t.height/2-window.scrollY);if(n){let e=n.getBoundingClientRect(),o=e.width/t.width,l=e.height/t.height;o<.5||l<.5?e6(null):e6(n)}else e6(null);e4([])}else e6(null),e4([])},[]),nw=(0,o.useCallback)(e=>{if(!tt)return;let t={...tt,comment:e};eh(e=>e.map(e=>e.id===tt.id?t:e)),null==T||T(t),np("annotation.update",{annotation:t}),U&&e_(U,tt.id,{comment:e}).catch(e=>{console.warn("[Agentation] Failed to update annotation on server:",e)}),t2(!0),P(()=>{tn(null),tl(null),ts([]),t2(!1)},150)},[tt,T,np,U]),nk=(0,o.useCallback)(()=>{t2(!0),P(()=>{tn(null),tl(null),ts([]),t2(!1)},150)},[]),nv=(0,o.useCallback)(()=>{let e=ep.length;0!==e&&(null==R||R(ep),np("annotations.clear",{annotations:ep}),U&&Promise.all(ep.map(e=>ed(U,e.id).catch(e=>{console.warn("[Agentation] Failed to delete annotation from server:",e)}))),e0(!0),eG(!0),P(()=>{eh([]),t$(new Set),localStorage.removeItem(K(nr)),e0(!1)},30*e+200),P(()=>eG(!1),1500))},[nr,ep,R,np,U]),nC=(0,o.useCallback)(async()=>{let e=eF(ep,"undefined"!=typeof window?window.location.pathname+window.location.search+window.location.hash:nr,tB.outputDetail,"off");if(e){if(X)try{await navigator.clipboard.writeText(e)}catch(e){}null==Y||Y(e),eZ(!0),P(()=>eZ(!1),2e3),tB.autoClearAfterCopy&&P(()=>nv(),500)}},[ep,nr,tB.outputDetail,"off",tB.autoClearAfterCopy,nv,X,Y]),nj=(0,o.useCallback)(async()=>{let e=eF(ep,"undefined"!=typeof window?window.location.pathname+window.location.search+window.location.hash:nr,tB.outputDetail,"off");if(!e)return;D&&D(e,ep),eq("sending"),await new Promise(e=>P(e,150));let t=await np("submit",{output:e,annotations:ep},!0);eq(t?"sent":"failed"),P(()=>eq("idle"),2500),t&&tB.autoClearAfterCopy&&P(()=>nv(),500)},[D,np,ep,nr,tB.outputDetail,"off",tB.autoClearAfterCopy,nv]);(0,o.useEffect)(()=>
1{if(!tU)return;let e=e=>{let t=e.clientX-tU.x,n=e.clientY-tU.y,o=Math.sqrt(t*t+n*n);if(!tD&&o>10&&tX(!0),tD||o>10){let e=tU.toolbarX+t,o=tU.toolbarY+n;tY({x:e=Math.max(20-(297-(em?"connected"===tW?297:257:44)),Math.min(window.innerWidth-20-297,e)),y:o=Math.max(20,Math.min(window.innerHeight-44-20,o))})}},t=()=>{tD&&(tJ.current=!0),tX(!1),tQ(null)};return document.addEventListener("mousemove",e),document.addEventListener("mouseup",t),()=>{document.removeEventListener("mousemove",e),document.removeEventListener("mouseup",t)}},[tU,tD,em,tW]);let nS=(0,o.useCallback)(e=>{var t,n;if(e.target.closest("button")||e.target.closest(".".concat(eC.settingsPanel)))return;let o=e.currentTarget.parentElement;if(!o)return;let l=o.getBoundingClientRect(),a=null!=(t=null==tH?void 0:tH.x)?t:l.left,s=null!=(n=null==tH?void 0:tH.y)?n:l.top;tZ((Math.random()-.5)*10),tQ({x:e.clientX,y:e.clientY,toolbarX:a,toolbarY:s})},[tH]);if((0,o.useEffect)(()=>{if(!tH)return;let e=()=>{let e=tH.x,t=tH.y;e=Math.max(20-(297-(em?"connected"===tW?297:257:44)),Math.min(window.innerWidth-20-297,e)),t=Math.max(20,Math.min(window.innerHeight-44-20,t)),(e!==tH.x||t!==tH.y)&&tY({x:e,y:t})};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[tH,em,tW]),(0,o.useEffect)(()=>{let e=e=>{let t=e.target,n="INPUT"===t.tagName||"TEXTAREA"===t.tagName||t.isContentEditable;if("Escape"===e.key){if(tS.length>0)return void tL([]);eU||em&&(tI(),eg(!1))}if((e.metaKey||e.ctrlKey)&&e.shiftKey&&("f"===e.key||"F"===e.key)){e.preventDefault(),tI(),eg(e=>!e);return}if(!n&&!e.metaKey&&!e.ctrlKey&&(("p"===e.key||"P"===e.key)&&(e.preventDefault(),tI(),nm()),("h"===e.key||"H"===e.key)&&ep.length>0&&(e.preventDefault(),tI(),ef(e=>!e)),("c"===e.key||"C"===e.key)&&ep.length>0&&(e.preventDefault(),tI(),nC()),("x"===e.key||"X"===e.key)&&ep.length>0&&(e.preventDefault(),tI(),nv()),"s"===e.key||"S"===e.key)){let t=eP(tB.webhookUrl)||eP(eo||"");ep.length>0&&t&&"idle"===eJ&&(e.preventDefault(),tI(),nj())}};return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)},[em,eU,ep.length,tB.webhookUrl,eo,eJ,nj,nm,nC,nv,tS]),!td||eb)return null;let nL=ep.length>0,nN=ep.filter(e=>!tG.has(e.id)&&eR(e)),nI=ep.filter(e=>tG.has(e.id)),nB=e=>{let t=e.x/100*window.innerWidth,n="string"==typeof e.y?parseFloat(e.y):e.y,o={};window.innerHeight-n-22-10<80&&(o.top="auto",o.bottom="calc(100% + ".concat(10,"px)"));let l=t-100;if(l<10)o.left="calc(50% + ".concat(10-l,"px)");else if(l+200>window.innerWidth-10){let e=l+200-(window.innerWidth-10);o.left="calc(50% - ".concat(e,"px)")}return o};return(0,l.createPortal)((0,a.jsxs)("div",{ref:ev,style:{display:"contents"},"data-agentation-theme":tE?"dark":"light","data-agentation-accent":tB.annotationColorId,children:[(0,a.jsx)("div",{className:"".concat(eC.toolbar).concat(eu?" ".concat(eu):""),"data-feedback-toolbar":!0,style:tH?{left:tH.x,top:tH.y,right:"auto",bottom:"auto"}:void 0,children:(0,a.jsxs)("div",{className:"".concat(eC.toolbarContainer," ").concat(em?eC.expanded:eC.collapsed," ").concat(tT?eC.entrance:""," ").concat(ew?eC.hiding:""," ").concat(tD?eC.dragging:""," ").concat(!tB.webhooksEnabled&&(eP(tB.webhookUrl)||eP(eo||""))?eC.serverConnected:""),onClick:em?void 0:e=>{if(tJ.current){tJ.current=!1,e.preventDefault();return}eg(!0)},onMouseDown:nS,role:em?void 0:"button",tabIndex:em?-1:0,title:em?void 0:"Start feedback mode",style:{...tD&&{transform:"scale(1.05) rotate(".concat(tV,"deg)"),cursor:"grabbing"}},children:[(0,a.jsxs)("div",{className:"".concat(eC.toggleContent," ").concat(em?eC.hidden:eC.visible),children:[(0,a.jsx)(_,{size:24}),nL&&(0,a.jsx)("span",{className:"".concat(eC.badge," ").concat(em?eC.fadeOut:""," ").concat(tT?eC.entrance:""),children:ep.length})]}),(0,a.jsxs)("div",{className:"".concat(eC.controlsContent," ").concat(em?eC.visible:eC.hidden," ").concat(tH&&tH.y<100?eC.tooltipBelow:""," ").concat(tw||tp?eC.tooltipsHidden:""," ").concat(tv?eC.tooltipsInSession:""),onMouseEnter:()=>{tv||(tj.current=setTimeout(()=>tC(!0),850))},onMouseLeave:()=>{tj.current&&(clearTimeout(tj.current),tj.current=null),tC(!1),tk(!1)},children:[(0,a.jsxs)("div",{className:"".concat(eC.buttonWrapper," ").concat(tH&&tH.x<120?eC.buttonWrapperAlignLeft:""),children:[(0,a.jsx)("button",{className:eC.controlButton,onClick:e=>{e.stopPropagation(),tI(),nm()},"data-active":tm,children:(0,a.jsx)(h,{size:24,isPaused:tm})}),(0,a.jsxs)("span",{className:eC.buttonTooltip,children:[tm?"Resume animations":"Pause animations",(0,a.jsx)("span",{className:eC.shortcut,children:"P"})]})]}),(0,a.jsxs)("div",{className:eC.buttonWrapper,children:[(0,a.jsx)("button",{className:eC.controlButton,onClick:e=>{e.stopPropagation(),tI(),ef(!ey)},disabled:!nL,children:(0,a.jsx)(p,{size:24,isOpen:ey})}),(0,a.jsxs)("span",{className:eC.buttonTooltip,children:[ey?"Hide markers":"Show markers",(0,a.jsx)("span",{className:eC.shortcut,children:"H"})]})]}),(0,a.jsxs)("div",{className:eC.buttonWrapper,children:[(0,a.jsx)("button",{className:"".concat(eC.controlButton," ").concat(eV?eC.statusShowing:""),onClick:e=>{e.stopPropagation(),tI(),nC()},disabled:!nL,"data-active":eV,children:(0,a.jsx)(m,{size:24,copied:eV})}),(0,a.jsxs)("span",{className:eC.buttonTooltip,children:["Copy feedback",(0,a.jsx)("span",{className:eC.shortcut,children:"C"})]})]}),(0,a.jsxs)("div",{className:"".concat(eC.buttonWrapper," ").concat(eC.sendButtonWrapper," ").concat(em&&!tB.webhooksEnabled&&(eP(tB.webhookUrl)||eP(eo||""))?eC.sendButtonVisible:""),children:[(0,a.jsxs)("button",{className:"".concat(eC.controlButton," ").concat("sent"===eJ||"failed"===eJ?eC.statusShowing:""),onClick:e=>{e.stopPropagation(),tI(),nj()},disabled:!nL||!eP(tB.webhookUrl)&&!eP(eo||"")||"sending"===eJ,"data-no-hover":"sent"===eJ||"failed"===eJ,tabIndex:eP(tB.webhookUrl)||eP(eo||"")?0:-1,children:[(0,a.jsx)(g,{size:24,state:eJ}),nL&&"idle"===eJ&&(0,a.jsx)("span",{className:eC.buttonBadge,children:ep.length})]}),(0,a.jsxs)("span",{className:eC.buttonTooltip,children:["Send Annotations",(0,a.jsx)("span",{className:eC.shortcut,children:"S"})]})]}),(0,a.jsxs)("div",{className:eC.buttonWrapper,children:[(0,a.jsx)("button",{className:eC.controlButton,onClick:e=>{e.stopPropagation(),tI(),nv()},disabled:!nL,"data-danger":!0,children:(0,a.jsx)(f,{size:24})}),(0,a.jsxs)("span",{className:eC.buttonTooltip,children:["Clear all",(0,a.jsx)("span",{className:eC.shortcut,children:"X"})]})]}),(0,a.jsxs)("div",{className:eC.buttonWrapper,children:[(0,a.jsx)("button",{className:eC.controlButton,onClick:e=>{e.stopPropagation(),tI(),th(!tp)},children:(0,a.jsx)(y,{size:24})}),U&&"disconnected"!==tW&&(0,a.jsx)("span",{className:"".concat(eC.mcpIndicator," ").concat(eC[tW]," ").concat(tp?eC.hidden:""),title:"connected"===tW?"MCP Connected":"MCP Connecting..."}),(0,a.jsx)("span",{className:eC.buttonTooltip,children:"Settings"})]}),(0,a.jsx)("div",{className:eC.divider}),(0,a.jsxs)("div",{className:"".concat(eC.buttonWrapper," ").concat(tH&&"undefined"!=typeof window&&tH.x>window.innerWidth-120?eC.buttonWrapperAlignRight:""),children:[(0,a.jsx)("button",{className:eC.controlButton,onClick:e=>{e.stopPropagation(),tI(),eg(!1)},children:(0,a.jsx)(x,{size:24})}),(0,a.jsxs)("span",{className:eC.buttonTooltip,children:["Exit",(0,a.jsx)("span",{className:eC.shortcut,children:"Esc"})]})]})]}),(0,a.jsx)("div",{className:"".concat(eC.settingsPanel," ").concat(ty?eC.enter:eC.exit),onClick:e=>e.stopPropagation(),style:tH&&tH.y<230?{bottom:"auto",top:"calc(100% + 0.5rem)"}:void 0,children:(0,a.jsxs)("div",{className:eC.settingsPanelContainer,children:[(0,a.jsxs)("div",{className:"".concat(eC.settingsPage," ").concat("automations"===tb?eC.slideLeft:""),children:[(0,a.jsxs)("div",{className:eC.settingsHeader,children:[(0,a.jsxs)("span",{className:eC.settingsBrand,children:[(0,a.jsx)("span",{className:eC.settingsBrandSlash,children:"/"}),"agentation"]}),(0,a.jsxs)("span",{className:eC.settingsVersion,children:["v","2.3.3"]}),(0,a.jsx)("button",{className:eC.themeToggle,onClick:()=>{var e;null==(e=ev.current)||e.classList.add(eC.disableTransitions),tM(e=>!e),requestAnimationFrame(()=>{var e;null==(e=ev.current)||e.classList.remove(eC.disableTransitions)})},title:tE?"Switch to light mode":"Switch to dark mode",children:(0,a.jsx)("span",{className:eC.themeIconWrapper,children:(0,a.jsx)("span",{className:eC.themeIcon,children:tE?(0,a.jsx)(w,{size:20}):(0,a.jsx)(k,{size:20})},tE?"sun":"moon")})})]}),(0,a.jsxs)("div",{className:eC.settingsSection,children:[(0,a.jsxs)("div",{className:eC.settingsRow,children:[(0,a.jsxs)("div",{className:eC.settingsLabel,children:["Output Detail",(0,a.jsx)(eL,{content:"Controls how much detail is included in the copied output"})]}),(0,a.jsxs)("button",{className:eC.cycleButton,onClick:()=>{let e=(eE.findIndex(e=>e.value===tB.outputDetail)+1)%eE.length;tP(t=>({...t,outputDetail:eE[e].value}))},children:[(0,a.jsx)("span",{className:eC.cycleButtonText,children:null==(e=eE.find(e=>e.value===tB.outputDetail))?void 0:e.label},tB.outputDetail),(0,a.jsx)("span",{className:eC.cycleDots,children:eE.map((e,t)=>(0,a.jsx)("span",{className:"".concat(eC.cycleDot," ").concat(tB.outputDetail===e.value?eC.active:"")},e.value))})]})]}),(0,a.jsxs)("div",{className:"".concat(eC.settingsRow," ").concat(eC.settingsRowMarginTop," ").concat(eC.settingsRowDisabled),children:[(0,a.jsxs)("div",{className:eC.settingsLabel,children:["React Components",(0,a.jsx)(eL,{content:"Disabled — production builds minify component names, making detection unreliable. Use in development mode."})]}),(0,a.jsxs)("label",{className:"".concat(eC.toggleSwitch," ").concat(eC.disabled),children:[(0,a.jsx)("input",{type:"checkbox",checked:!1,disabled:!0,onChange:()=>tP(e=>({...e,reactEnabled:!e.reactEnabled}))}),(0,a.jsx)("span",{className:eC.toggleSlider})]})]}),(0,a.jsxs)("div",{className:"".concat(eC.settingsRow," ").concat(eC.settingsRowMarginTop),children:[(0,a.jsxs)("div",{className:eC.settingsLabel,children:["Hide Until Restart",(0,a.jsx)(eL,{content:"Hides the toolbar until you open a new tab"})]}),(0,a.jsxs)("label",{className:eC.toggleSwitch,children:[(0,a.jsx)("input",{type:"checkbox",checked:!1,onChange:e=>{e.target.checked&&n_()}}),(0,a.jsx)("span",{className:eC.toggleSlider})]})]})]}),(0,a.jsxs)("div",{className:eC.settingsSection,children:[(0,a.jsx)("div",{className:"".concat(eC.settingsLabel," ").concat(eC.settingsLabelMarker),children:"Marker Color"}),(0,a.jsx)("div",{className:eC.colorOptions,children:eM.map(e=>(0,a.jsx)("div",{role:"button",onClick:()=>tP(t=>({...t,annotationColorId:e.id})),style:{"--swatch":e.srgb,"--swatch-p3":e.p3},className:"".concat(eC.colorOptionRing," ").concat(tB.annotationColorId===e.id?eC.selected:""),children:(0,a.jsx)("div",{className:"".concat(eC.colorOption," ").concat(tB.annotationColorId===e.id?eC.selected:""),title:e.label})},e.id))})]}),(0,a.jsxs)("div",{className:eC.settingsSection,children:[(0,a.jsxs)("label",{className:eC.settingsToggle,children:[(0,a.jsx)("input",{type:"checkbox",id:"autoClearAfterCopy",checked:tB.autoClearAfterCopy,onChange:e=>tP(t=>({...t,autoClearAfterCopy:e.target.checked}))}),(0,a.jsx)("label",{className:"".concat(eC.customCheckbox," ").concat(tB.autoClearAfterCopy?eC.checked:""),htmlFor:"autoClearAfterCopy",children:tB.autoClearAfterCopy&&(0,a.jsx)(u,{size:14})}),(0,a.jsxs)("span",{className:eC.toggleLabel,children:["Clear on copy/send",(0,a.jsx)(eL,{content:"Automatically clear annotations after copying"})]})]}),(0,a.jsxs)("label",{className:"".concat(eC.settingsToggle," ").concat(eC.settingsToggleMarginBottom),children:[(0,a.jsx)("input",{type:"checkbox",id:"blockInteractions",checked:tB.blockInteractions,onChange:e=>tP(t=>({...t,blockInteractions:e.target.checked}))}),(0,a.jsx)("label",{className:"".concat(eC.customCheckbox," ").concat(tB.blockInteractions?eC.checked:""),htmlFor:"blockInteractions",children:tB.blockInteractions&&(0,a.jsx)(u,{size:14})}),(0,a.jsx)("span",{className:eC.toggleLabel,children:"Block page interactions"})]})]}),(0,a.jsx)("div",{className:"".concat(eC.settingsSection," ").concat(eC.settingsSectionExtraPadding),children:(0,a.jsxs)("button",{className:eC.settingsNavLink,onClick:()=>tx("automations"),children:[(0,a.jsx)("span",{children:"Manage MCP & Webhooks"}),(0,a.jsxs)("span",{className:eC.settingsNavLinkRight,children:[U&&"disconnected"!==tW&&(0,a.jsx)("span",{className:"".concat(eC.mcpNavIndicator," ").concat(eC[tW])}),(0,a.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{d:"M7.5 12.5L12 8L7.5 3.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})]})]})})]}),(0,a.jsxs)("div",{className:"".concat(eC.settingsPage," ").concat(eC.automationsPage," ").concat("automations"===tb?eC.slideIn:""),children:[(0,a.jsxs)("button",{className:eC.settingsBackButton,onClick:()=>tx("main"),children:[(0,a.jsx)(j,{size:16}),(0,a.jsx)("span",{children:"Manage MCP & Webhooks"})]}),(0,a.jsxs)("div",{className:eC.settingsSection,children:[(0,a.jsxs)("div",{className:eC.settingsRow,children:[(0,a.jsxs)("span",{className:eC.automationHeader,children:["MCP Connection",(0,a.jsx)(eL,{content:"Connect via Model Context Protocol to let AI agents like Claude Code receive annotations in real-time."})]}),U&&(0,a.jsx)("div",{className:"".concat(eC.mcpStatusDot," ").concat(eC[tW]),title:"connected"===tW?"Connected":"connecting"===tW?"Connecting...":"Disconnected"})]}),(0,a.jsxs)("p",{className:eC.automationDescription,style:{paddingBottom:6},children:["MCP connection allows agents to receive and act on annotations."," ",(0,a.jsx)("a",{href:"https://agentation.dev/mcp",target:"_blank",rel:"noopener noreferrer",className:eC.learnMoreLink,children:"Learn more"})]})]}),(0,a.jsxs)("div",{className:"".concat(eC.settingsSection," ").concat(eC.settingsSectionGrow),children:[(0,a.jsxs)("div",{className:eC.settingsRow,children:[(0,a.jsxs)("span",{className:eC.automationHeader,children:["Webhooks",(0,a.jsx)(eL,{content:"Send annotation data to any URL endpoint when annotations change. Useful for custom integrations."})]}),(0,a.jsxs)("div",{className:eC.autoSendRow,children:[(0,a.jsx)("span",{className:"".concat(eC.autoSendLabel," ").concat(tB.webhooksEnabled?eC.active:""),children:"Auto-Send"}),(0,a.jsxs)("label",{className:"".concat(eC.toggleSwitch," ").concat(tB.webhookUrl?"":eC.disabled),children:[(0,a.jsx)("input",{type:"checkbox",checked:tB.webhooksEnabled,disabled:!tB.webhookUrl,onChange:()=>tP(e=>({...e,webhooksEnabled:!e.webhooksEnabled}))}),(0,a.jsx)("span",{className:eC.toggleSlider})]})]})]}),(0,a.jsx)("p",{className:eC.automationDescription,children:"The webhook URL will receive live annotation changes and annotation data."}),(0,a.jsx)("textarea",{className:eC.webhookUrlInput,placeholder:"Webhook URL",value:tB.webhookUrl,onKeyDown:e=>e.stopPropagation(),onChange:e=>tP(t=>({...t,webhookUrl:e.target.value}))})]})]})]})})]})}),(0,a.jsxs)("div",{className:eC.markersLayer,"data-feedback-toolbar":!0,children:[ej&&nN.filter(e=>!e.isFixed).map((e,t)=>{let n=!eW&&e1===e.id,o=e8===e.id,l=(n||o)&&!tt,s=e.isMultiSelect,r=ep.findIndex(t=>t.id===e.id),i=!tq.has(e.id),c=eW?eC.exit:eK?eC.clearing:i?eC.enter:"",_=l&&"delete"===tB.markerClickBehavior;return(0,a.jsxs)("div",{className:"".concat(eC.marker," ").concat(s?eC.multiSelect:""," ").concat(c," ").concat(_?eC.hovered:""),"data-annotation-marker":!0,style:{left:"".concat(e.x,"%"),top:e.y,backgroundColor:_?void 0:s?"var(--agentation-color-green)":"var(--agentation-color-accent)",animationDelay:eW?"".concat((nN.length-1-t)*20,"ms"):"".concat(20*t,"ms")},onMouseEnter:()=>!eW&&e.id!==nn.current&&nx(e),onMouseLeave:()=>nx(null),onClick:t=>{t.stopPropagation(),eW||("delete"===tB.markerClickBehavior?nf(e.id):nb(e))},onContextMenu:t=>{"delete"===tB.markerClickBehavior&&(t.preventDefault(),t.stopPropagation(),eW||nb(e))},children:[l?_?(0,a.jsx)(b,{size:s?18:16}):(0,a.jsx)(v,{size:16}):(0,a.jsx)("span",{className:null!==e9&&r>=e9?eC.renumber:void 0,children:r+1}),n&&!tt&&(0,a.jsxs)("div",{className:"".concat(eC.markerTooltip," ").concat(eC.enter),style:nB(e),children:[(0,a.jsxs)("span",{className:eC.markerQuote,children:[e.element,e.selectedText&&' "'.concat(e.selectedText.slice(0,30)).concat(e.selectedText.length>30?"...":"",'"')]}),(0,a.jsx)("span",{className:eC.markerNote,ch
1ildren:e.comment})]})]},e.id)}),ej&&!eW&&nI.filter(e=>!e.isFixed).map(e=>{let t=e.isMultiSelect;return(0,a.jsx)("div",{className:"".concat(eC.marker," ").concat(eC.hovered," ").concat(t?eC.multiSelect:""," ").concat(eC.exit),"data-annotation-marker":!0,style:{left:"".concat(e.x,"%"),top:e.y},children:(0,a.jsx)(b,{size:t?12:10})},e.id)})]}),(0,a.jsxs)("div",{className:eC.fixedMarkersLayer,"data-feedback-toolbar":!0,children:[ej&&nN.filter(e=>e.isFixed).map((e,t)=>{let n=nN.filter(e=>e.isFixed),o=!eW&&e1===e.id,l=e8===e.id,s=(o||l)&&!tt,r=e.isMultiSelect,i=ep.findIndex(t=>t.id===e.id),c=!tq.has(e.id),_=eW?eC.exit:eK?eC.clearing:c?eC.enter:"",d=s&&"delete"===tB.markerClickBehavior;return(0,a.jsxs)("div",{className:"".concat(eC.marker," ").concat(eC.fixed," ").concat(r?eC.multiSelect:""," ").concat(_," ").concat(d?eC.hovered:""),"data-annotation-marker":!0,style:{left:"".concat(e.x,"%"),top:e.y,backgroundColor:d?void 0:r?"var(--agentation-color-green)":"var(--agentation-color-accent)",animationDelay:eW?"".concat((n.length-1-t)*20,"ms"):"".concat(20*t,"ms")},onMouseEnter:()=>!eW&&e.id!==nn.current&&nx(e),onMouseLeave:()=>nx(null),onClick:t=>{t.stopPropagation(),eW||("delete"===tB.markerClickBehavior?nf(e.id):nb(e))},onContextMenu:t=>{"delete"===tB.markerClickBehavior&&(t.preventDefault(),t.stopPropagation(),eW||nb(e))},children:[s?d?(0,a.jsx)(b,{size:r?18:16}):(0,a.jsx)(v,{size:16}):(0,a.jsx)("span",{className:null!==e9&&i>=e9?eC.renumber:void 0,children:i+1}),o&&!tt&&(0,a.jsxs)("div",{className:"".concat(eC.markerTooltip," ").concat(eC.enter),style:nB(e),children:[(0,a.jsxs)("span",{className:eC.markerQuote,children:[e.element,e.selectedText&&' "'.concat(e.selectedText.slice(0,30)).concat(e.selectedText.length>30?"...":"",'"')]}),(0,a.jsx)("span",{className:eC.markerNote,children:e.comment})]})]},e.id)}),ej&&!eW&&nI.filter(e=>e.isFixed).map(e=>{let t=e.isMultiSelect;return(0,a.jsx)("div",{className:"".concat(eC.marker," ").concat(eC.fixed," ").concat(eC.hovered," ").concat(t?eC.multiSelect:""," ").concat(eC.exit),"data-annotation-marker":!0,style:{left:"".concat(e.x,"%"),top:e.y},children:(0,a.jsx)(i,{size:t?12:10})},e.id)})]}),em&&(0,a.jsxs)("div",{className:eC.overlay,"data-feedback-toolbar":!0,style:eU||tt?{zIndex:99999}:void 0,children:[(null==eH?void 0:eH.rect)&&!eU&&!tc&&!t6&&(0,a.jsx)("div",{className:"".concat(eC.hoverHighlight," ").concat(eC.enter),style:{left:eH.rect.left,top:eH.rect.top,width:eH.rect.width,height:eH.rect.height,borderColor:"color-mix(in srgb, var(--agentation-color-accent) 50%, transparent)",backgroundColor:"color-mix(in srgb, var(--agentation-color-accent) 4%, transparent)"}}),tS.filter(e=>document.contains(e.element)).map((e,t)=>{let n=e.element.getBoundingClientRect(),o=tS.length>1;return(0,a.jsx)("div",{className:o?eC.multiSelectOutline:eC.singleSelectOutline,style:{position:"fixed",left:n.left,top:n.top,width:n.width,height:n.height,...o?{}:{borderColor:"color-mix(in srgb, var(--agentation-color-accent) 60%, transparent)",backgroundColor:"color-mix(in srgb, var(--agentation-color-accent) 5%, transparent)"}}},t)}),e1&&!eU&&(()=>{var e;let t=ep.find(e=>e.id===e1);if(!(null==t?void 0:t.boundingBox))return null;if(null==(e=t.elementBoundingBoxes)?void 0:e.length)return e7.length>0?e7.filter(e=>document.contains(e)).map((e,t)=>{let n=e.getBoundingClientRect();return(0,a.jsx)("div",{className:"".concat(eC.multiSelectOutline," ").concat(eC.enter),style:{left:n.left,top:n.top,width:n.width,height:n.height}},"hover-outline-live-".concat(t))}):t.elementBoundingBoxes.map((e,t)=>(0,a.jsx)("div",{className:"".concat(eC.multiSelectOutline," ").concat(eC.enter),style:{left:e.x,top:e.y-tr,width:e.width,height:e.height}},"hover-outline-".concat(t)));let n=e2&&document.contains(e2)?e2.getBoundingClientRect():null,o=n?{x:n.left,y:n.top,width:n.width,height:n.height}:{x:t.boundingBox.x,y:t.isFixed?t.boundingBox.y:t.boundingBox.y-tr,width:t.boundingBox.width,height:t.boundingBox.height},l=t.isMultiSelect;return(0,a.jsx)("div",{className:"".concat(l?eC.multiSelectOutline:eC.singleSelectOutline," ").concat(eC.enter),style:{left:o.x,top:o.y,width:o.width,height:o.height,...l?{}:{borderColor:"color-mix(in srgb, var(--agentation-color-accent) 60%, transparent)",backgroundColor:"color-mix(in srgb, var(--agentation-color-accent) 5%, transparent)"}}})})(),eH&&!eU&&!tc&&!t6&&(0,a.jsxs)("div",{className:"".concat(eC.hoverTooltip," ").concat(eC.enter),style:{left:Math.max(8,Math.min(eD.x,window.innerWidth-100)),top:Math.max(eD.y-(eH.reactComponents?48:32),8)},children:[eH.reactComponents&&(0,a.jsx)("div",{className:eC.hoverReactPath,children:eH.reactComponents}),(0,a.jsx)("div",{className:eC.hoverElementName,children:eH.elementName})]}),eU&&(0,a.jsxs)(a.Fragment,{children:[(null==(t=eU.multiSelectElements)?void 0:t.length)?eU.multiSelectElements.filter(e=>document.contains(e)).map((e,t)=>{let n=e.getBoundingClientRect();return(0,a.jsx)("div",{className:"".concat(eC.multiSelectOutline," ").concat(t0?eC.exit:eC.enter),style:{left:n.left,top:n.top,width:n.width,height:n.height}},"pending-multi-".concat(t))}):eU.targetElement&&document.contains(eU.targetElement)?(()=>{let e=eU.targetElement.getBoundingClientRect();return(0,a.jsx)("div",{className:"".concat(eC.singleSelectOutline," ").concat(t0?eC.exit:eC.enter),style:{left:e.left,top:e.top,width:e.width,height:e.height,borderColor:"color-mix(in srgb, var(--agentation-color-accent) 60%, transparent)",backgroundColor:"color-mix(in srgb, var(--agentation-color-accent) 5%, transparent)"}})}
1)():eU.boundingBox&&(0,a.jsx)("div",{className:"".concat(eU.isMultiSelect?eC.multiSelectOutline:eC.singleSelectOutline," ").concat(t0?eC.exit:eC.enter),style:{left:eU.boundingBox.x,top:eU.boundingBox.y-tr,width:eU.boundingBox.width,height:eU.boundingBox.height,...eU.isMultiSelect?{}:{borderColor:"color-mix(in srgb, var(--agentation-color-accent) 60%, transparent)",backgroundColor:"color-mix(in srgb, var(--agentation-color-accent) 5%, transparent)"}}}),(()=>{let e=eU.x,t=eU.isFixed?eU.y:eU.y-tr;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:"".concat(eC.marker," ").concat(eC.pending," ").concat(eU.isMultiSelect?eC.multiSelect:""," ").concat(t0?eC.exit:eC.enter),style:{left:"".concat(e,"%"),top:t,backgroundColor:eU.isMultiSelect?"var(--agentation-color-green)":"var(--agentation-color-accent)"},children:(0,a.jsx)(c,{size:12})}),(0,a.jsx)(z,{ref:nl,element:eU.element,selectedText:eU.selectedText,computedStyles:eU.computedStylesObj,placeholder:"Area selection"===eU.element?"What should change in this area?":eU.isMultiSelect?"Feedback for this group of elements...":"What should change?",onSubmit:nh,onCancel:ny,isExiting:t0,lightMode:!tE,accentColor:eU.isMultiSelect?"var(--agentation-color-green)":"var(--agentation-color-accent)",style:{left:Math.max(160,Math.min(window.innerWidth-160,e/100*window.innerWidth)),...t>window.innerHeight-290?{bottom:window.innerHeight-t+20}:{top:t+20}}})]})})()]}),tt&&(0,a.jsxs)(a.Fragment,{children:[(null==(n=tt.elementBoundingBoxes)?void 0:n.length)?ta.length>0?ta.filter(e=>document.contains(e)).map((e,t)=>{let n=e.getBoundingClientRect();return(0,a.jsx)("div",{className:"".concat(eC.multiSelectOutline," ").concat(eC.enter),style:{left:n.left,top:n.top,width:n.width,height:n.height}},"edit-multi-live-".concat(t))}):tt.elementBoundingBoxes.map((e,t)=>(0,a.jsx)("div",{className:"".concat(eC.multiSelectOutline," ").concat(eC.enter),style:{left:e.x,top:e.y-tr,width:e.width,height:e.height}},"edit-multi-".concat(t))):(()=>{let e=to&&document.contains(to)?to.getBoundingClientRect():null,t=e?{x:e.left,y:e.top,width:e.width,height:e.height}:tt.boundingBox?{x:tt.boundingBox.x,y:tt.isFixed?tt.boundingBox.y:tt.boundingBox.y-tr,width:tt.boundingBox.width,height:tt.boundingBox.height}:null;return t?(0,a.jsx)("div",{className:"".concat(tt.isMultiSelect?eC.multiSelectOutline:eC.singleSelectOutline," ").concat(eC.enter),style:{left:t.x,top:t.y,width:t.width,height:t.height,...tt.isMultiSelect?{}:{borderColor:"color-mix(in srgb, var(--agentation-color-accent) 60%, transparent)",backgroundColor:"color-mix(in srgb, var(--agentation-color-accent) 5%, transparent)"}}}):null})(),(0,a.jsx)(z,{ref:na,element:tt.element,selectedText:tt.selectedText,computedStyles:function(e){if(!e)return;let t={};for(let n of e.split(";").map(e=>e.trim()).filter(Boolean)){let e=n.indexOf(":");if(e>0){let o=n.slice(0,e).trim(),l=n.slice(e+1).trim();o&&l&&(t[o]=l)}}return Object.keys(t).length>0?t:void 0}(tt.computedStyles),placeholder:"Edit your feedback...",initialValue:tt.comment,submitLabel:"Save",onSubmit:nw,onCancel:nk,onDelete:()=>nf(tt.id),isExiting:t5,lightMode:!tE,accentColor:tt.isMultiSelect?"var(--agentation-color-green)":"var(--agentation-color-accent)",style:(()=>{let e=tt.isFixed?tt.y:tt.y-tr;return{left:Math.max(160,Math.min(window.innerWidth-160,tt.x/100*window.innerWidth)),...e>window.innerHeight-290?{bottom:window.innerHeight-e+20}:{top:e+20}}})()})]}),t6&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{ref:t3,className:eC.dragSelection}),(0,a.jsx)("div",{ref:t9,className:eC.highlightsContainer})]})]})]}),document.body)}(()=>{if("undefined"==typeof document||document.getElementById("agentation-color-tokens"))return;let e=document.createElement("style");e.id="agentation-color-tokens",e.textContent=[...eM.map(e=>'\n      [data-agentation-accent="'.concat(e.id,'"] {\n        --agentation-color-accent: ').concat(e.srgb,';\n      }\n\n      @supports (color: color(display-p3 0 0 0)) {\n        [data-agentation-accent="').concat(e.id,'"] {\n          --agentation-color-accent: ').concat(e.p3,";\n        }\n      }\n    ")),":root {\n      ".concat(eM.map(e=>"--agentation-color-".concat(e.id,": ").concat(e.srgb,";")).join("\n"),"\n    }"),"@supports (color: color(display-p3 0 0 0)) {\n      :root {\n        ".concat(eM.map(e=>"--agentation-color-".concat(e.id,": ").concat(e.p3,";")).join("\n"),"\n      }\n    }")].join(""),document.head.appendChild(e)})()}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.