import{G as f,Z as d,r as i,e as p,g as h,h as v,j as y,k as m,l as g,n as b,A as w}from"./CChoqk00.js";let H;function _(){return H}function j(e){return typeof e=="function"?e():f(e)}function r(e){if(e instanceof Promise||e instanceof Date||e instanceof RegExp)return e;const n=j(e);if(!e||!n)return n;if(Array.isArray(n))return n.map(t=>r(t));if(typeof n=="object"){const t={};for(const o in n)if(Object.prototype.hasOwnProperty.call(n,o)){if(o==="titleTemplate"||o[0]==="o"&&o[1]==="n"){t[o]=f(n[o]);continue}t[o]=r(n[o])}return t}return n}const A="usehead",c=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},u="__unhead_injection_handler__";function I(){return u in c?c[u]():d(A)||_()}function U(e,n={}){const t=n.head||I();if(t)return t.ssr?t.push(e,n):S(t,e,n)}function S(e,n,t={}){const o=i(!1),a=i({});p(()=>{a.value=o.value?{}:r(n)});const s=e.push(a.value,t);return h(a,l=>{s.patch(l)}),g()&&(v(()=>{s.dispose()}),y(()=>{o.value=!0}),m(()=>{o.value=!1})),s}const x=e=>{var a;const n=b(),{t}=w(),o=((a=n.cnameConfig)==null?void 0:a.companyName)||"360 Monitoring";U({title:t(e,{brandName:o})})};export{x as u};
