let r="",t=null;function o(){var n;const e=document.querySelector('[data-selected="true"] .conversation-title')??document.querySelector(".conversation-title");return((n=e==null?void 0:e.textContent)==null?void 0:n.trim())||null}function i(e){chrome.runtime.sendMessage({type:"titleOverride",url:location.href,title:e}).catch(()=>{})}function c(){const e=o();e&&e!==r&&(r=e,i(e))}function u(){t!==null&&clearTimeout(t),t=setTimeout(c,500)}c();new MutationObserver(u).observe(document.documentElement,{subtree:!0,childList:!0,characterData:!0});
//# sourceMappingURL=chunk-CmH6gwcK.js.map
