define(["require","exports"],(function(V,n){"use strict";if(typeof w>"u")var w=window.Vue;function c(e,t,...r){const l=document.createElement(e);for(const i in t)i.indexOf("on")===0?l[i]=t[i]:l.setAttribute(i,t[i]);return r.forEach(i=>{typeof i=="string"?l.insertAdjacentHTML("beforeend",i):l.append(i)}),l}function u(e){if(!e)return!1;const t=e.getBoundingClientRect();return!!(t.width||t.height)}function a(e){const t=e.getBoundingClientRect();return{top:t.top+window.scrollY,left:t.left+window.scrollX}}function f(e,t){return window.getComputedStyle(e).getPropertyValue(t)}function s(e,t){return parseInt(f(e,t))}function d(e,t){const r=document.createElement(t);return e.after(r),r.append(e),r}function g(e,t){return o(e,t).find(u)||null}function b(e,t){return o(e,t).findLast(u)||null}function y(e,t){return o(e,t).filter(u)}function o(e,t){return e?[...e.querySelectorAll(t)]:[]}function S(e,t="common",r=void 0){if(e)return e.topData||(e.topData={}),r&&(e.topData[t]=r),r===null&&delete e.topData[t],e.topData[t]}function q(e){e&&delete e.topData}const p={genEl:c,isVisible:u,offset:a,css:f,cssNumber:s,wrap:d,querySelectorVisible:g,querySelectorVisibleLast:b,querySelectorAllVisible:y,querySelectorAllArray:o,storage:S,storageClear:q};n.css=f,n.cssNumber=s,n.default=p,n.genEl=c,n.isVisible=u,n.offset=a,n.querySelectorAllArray=o,n.querySelectorAllVisible=y,n.querySelectorVisible=g,n.querySelectorVisibleLast=b,n.storage=S,n.storageClear=q,n.wrap=d,Object.defineProperties(n,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})}));
//# sourceMappingURL=dom.amd.js.map
