/*!
 * Copyright (c) 2026 Vertex Software LLC. All rights reserved.
 */
import{p as n}from"./p-DfdVaPrt.js";function t(t,r){const e=n.create(t.clientX,t.clientY);if(r==null){return e}else{return n.subtract(e,n.create(r.left,r.top))}}function r(n){const{x:t,y:r}=n;return`translate(-50%, -50%) translate(${t}px, ${r}px)`}function e(n){var t,r;if(typeof n==="string"){return n}else{const e=[`url("${n.url}")`,(t=n.offsetX)!==null&&t!==void 0?t:0,(r=n.offsetY)!==null&&r!==void 0?r:0,", auto"];return e.join(" ")}}function o(){if(typeof window!=="undefined"){return window.devicePixelRatio}return 1}export{r as a,o as b,e as c,t as g};
//# sourceMappingURL=p-p0obU98x.js.map