"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.buildProjectionTransform=function(e,t,r){let s="";const a=e.x.translate/t.x,o=e.y.translate/t.y,n=r?.z||0;if((a||o||n)&&(s=`translate3d(${a}px, ${o}px, ${n}px) `),1===t.x&&1===t.y||(s+=`scale(${1/t.x}, ${1/t.y}) `),r){const{transformPerspective:e,rotate:t,pathRotation:a,rotateX:o,rotateY:n,skewX:$,skewY:c}=r;e&&(s=`perspective(${e}px) ${s}`),t&&(s+=`rotate(${t}deg) `),a&&(s+=`rotate(${a}deg) `),o&&(s+=`rotateX(${o}deg) `),n&&(s+=`rotateY(${n}deg) `),$&&(s+=`skewX(${$}deg) `),c&&(s+=`skewY(${c}deg) `)}const $=e.x.scale*t.x,c=e.y.scale*t.y;return 1===$&&1===c||(s+=`scale(${$}, ${c})`),s||"none"};
//# sourceMappingURL=transform.mjs.js.map
