feat: add new file

This commit is contained in:
Daniel
2026-03-24 10:35:58 +08:00
commit 2788fc468f
9058 changed files with 896924 additions and 0 deletions

15
frontend/node_modules/dom-helpers/cjs/isVisible.js generated vendored Normal file
View File

@@ -0,0 +1,15 @@
"use strict";
exports.__esModule = true;
exports.default = isVisible;
/**
* Checks if a given element is currently visible.
*
* @param node the element to check
*/
function isVisible(node) {
return node ? !!(node.offsetWidth || node.offsetHeight || node.getClientRects().length) : false;
}
module.exports = exports["default"];