import{T as t,an as e,q as n,k as s,o,I as a}from"./index-WdfADTOW.js";let i=0;const c={},m=n=>{const s=(i++).toString(),o=[];for(const t in c)c[t]&&(o.push(t),c[t]=!1);c[s]=!0,"function"==typeof n?t(()=>{c[s]&&(document.title=n())}):document.title=n,e(()=>{delete c[s];for(const t in o)c[t]=!0})},l=()=>{const t=n(),{pathname:e}=s();m(()=>`${"/"===e()?t("manage.sidemenu.home"):o(e())} | ${a("site_title")}`)},r=t=>{const e=n();m(()=>`${e(t)} | ${e("manage.title")}`)};export{m as a,r as b,l as u};
