Initial commit

This commit is contained in:
Marek Lesko
2025-08-19 16:58:51 +02:00
commit a2f7e2285a
908 changed files with 160315 additions and 0 deletions

View File

@@ -0,0 +1 @@
import getBoundingClientRect from"./getBoundingClientRect.js";export default function getLayoutRect(t){var e=getBoundingClientRect(t),i=t.offsetWidth,h=t.offsetHeight;return Math.abs(e.width-i)<=1&&(i=e.width),Math.abs(e.height-h)<=1&&(h=e.height),{x:t.offsetLeft,y:t.offsetTop,width:i,height:h}}