import{u as o}from"./chunk-DhYw-kuD.js";function a(t,r){const e=t.style;for(const n in r)e[n]=r[n]}function s(t){if(t==null)return;if(typeof t=="string")try{return document.querySelector(t)||void 0}catch{return}const r=o(t);if(r)return r.$el||r}function c(t,r){if(t==null||t.contains(r)===!0)return!0;for(let e=t.nextElementSibling;e!==null;e=e.nextElementSibling)if(e.contains(r))return!0;return!1}function f(t){if(Object(t.$parent)===t.$parent)return t.$parent;let{parent:r}=t.$;for(;Object(r)===r;){if(Object(r.proxy)===r.proxy)return r.proxy;r=r.parent}}function i(t,r){typeof r.type=="symbol"?Array.isArray(r.children)===!0&&r.children.forEach(e=>{i(t,e)}):t.add(r)}function l(t){const r=new Set;return t.forEach(e=>{i(r,e)}),Array.from(r)}function d(t){return t.appContext.config.globalProperties.$router!==void 0}function p(t){return t.isUnmounted===!0||t.isDeactivated===!0}export{f as a,s as b,c,a as d,p as e,l as g,d as v};
