添加静态资源

This commit is contained in:
eoao
2025-08-28 22:28:00 +08:00
parent 859bcf0d1c
commit 99eca7893d
82 changed files with 153 additions and 150 deletions
+1
View File
@@ -0,0 +1 @@
import{a8 as s}from"./index-BtzXKQwE.js";const r=(n,e)=>{if(!s||!n||!e)return!1;const t=n.getBoundingClientRect();let o;return e instanceof Element?o=e.getBoundingClientRect():o={top:0,right:window.innerWidth,bottom:window.innerHeight,left:0},t.top<o.bottom&&t.bottom>o.top&&t.right>o.left&&t.left<o.right},i=n=>{let e=0,t=n;for(;t;)e+=t.offsetTop,t=t.offsetParent;return e},l=(n,e)=>Math.abs(i(n)-i(e));export{l as g,r as i};