Loading
function(e,t,n){n.d(t,{t:()=>i});function i(e,t,n,i){let l=function(e,t,n){function i(e){let{x:i,y:l}=e;return{x:i/100*t,y:l/100*n}}return{topLeft:i(e.topLeft),topRight:i(e.topRight),bottomRight:i(e.bottomRight),bottomLeft:i(e.bottomLeft)}}(e,t,n),a=t/i;return{originX:e.topLeft.x,originY:e.topLeft.y,matrix:function(e,t,n){let{topLeft:i,topRight:l,bottomRight:a,bottomLeft:s}=e,r=l.x-i.x,o=l.y-i.y,d=a.x-i.x,c=a.y-i.y,u=s.x-i.x,h=s.y-i.y,p=r-d,m=u-d,A=-r+d-u,f=o-c,g=h-c,x=-o+c-h,C=0,y=0;if(0!==A||0!==x){let e=p*g-f*m;C=(A*g-m*x)/e,y=(p*x-f*A)/e}let j=r+C*r,I=u+y*u,N=o+C*o,v=h+y*h,E=C/t,b=y/n;return`matrix3d(${[j/t,N/t,0,E,I/n,v/n,0,b,0,0,1,0,0,0,0,1].join(", ")})`}(l,t,a)}}}