"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("@vueuse/core"),d=require("lodash-unified"),s=require("vue"),f=require("./is.js");function a(e){return e?.parentNode??document.body}function p(e){const t={};return Object.keys(e).map(n=>{t[n]=s.unref(e[n])}),t}function y(e,t=[],n){const o=Object.assign({},e),r=Object.keys(o);for(let u=0;u<r.length;u+=1){const i=r[u];(t.includes(i)||n?.(i,o[i]))&&delete o[i]}return o}function g(e){return/^[A-Z][A-Za-z]*$/.test(e)}function c(e){if(Array.isArray(e))return e.map(t=>c(t));if(typeof e=="object"&&e!==null){const t={};for(const n in e)t[n]=c(e[n]);return s.markRaw(t)}return e}function m(e){const t={...e};for(const n of Object.keys(t))d.isUndefined(t[n])&&delete t[n];return t}function w(e,...t){return typeof e=="function"?e(...t):e}function h(){const e="history";return typeof window>"u"?e:window.location.href.includes("#/")?"hash":e}function b(){if(!l.isClient)return 15;const e=document.createElement("div");e.style.width="100px",e.style.height="100px",e.style.overflow="scroll",e.style.position="absolute",e.style.top="-9999px",document.body.appendChild(e);const t=e.offsetHeight-e.clientHeight;return document.body.removeChild(e),t}function v(){return(window.top!==window?window.top:window)??window}const P="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";function R(e=16,t=P){let n="",o=e;const r=t.length;for(;o--;)n+=t[Math.random()*r|0];return n}function x(e){return e===void 0||typeof e=="number"?e:Number(e.replace(/px/g,""))}exports.isDef=f.isDef;exports.convertReactiveToRaw=c;exports.getDynamicProps=p;exports.getNumberPx=x;exports.getPopupContainer=a;exports.getRouteType=h;exports.getScrollbarSize=b;exports.getTopWindow=v;exports.isPascalCase=g;exports.omitUndefined=m;exports.omitWhen=y;exports.randomStr=R;exports.runFunction=w;
