(()=>{"use strict";var e={};function t(){if(!window.AgentsManagerSidebarOpenWatcherData)throw new Error("AgentsManagerSidebarOpenWatcherData is not defined");const{cookieKey:e,cookiePath:t,sidebarOpenClass:n}=window.AgentsManagerSidebarOpenWatcherData;function a(){const a=document.body.classList.contains(n);document.cookie=a?`${e}=1; path=${t}; samesite=lax`:`${e}=; path=${t}; samesite=lax`}const o=new window.MutationObserver(function(){a()});o.observe(document.body,{attributes:!0,attributeFilter:["class"]}),a(),window.addEventListener("pagehide",function(){o.disconnect()})}e.d=(t,n)=>{for(var a in n)e.o(n,a)&&!e.o(t,a)&&Object.defineProperty(t,a,{enumerable:!0,get:n[a]})},e.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),"loading"===document.readyState?document.addEventListener("DOMContentLoaded",t):t()})();