function e(e,t,n){let r=t;return!r&&n&&(r=`${e}-${n}`),r}var t=-1;function n(){return t+=1,t}function r(e,t){let n=e[`page${t?`Y`:`X`}Offset`],r=`scroll${t?`Top`:`Left`}`;if(typeof n!=`number`){let t=e.document;n=t.documentElement[r],typeof n!=`number`&&(n=t.body[r])}return n}function i(e){let t=e.getBoundingClientRect(),n={left:t.left,top:t.top},i=e.ownerDocument,a=i.defaultView||i.parentWindow;return n.left+=r(a),n.top+=r(a,!0),n}exports.getMotionName=e,exports.getUUID=n,exports.offset=i;