import{createPluginContext as t,isDisabled as e,resetState as n,flow as o,isMoveOrEndOrCancel as a,getStatusName as s}from"@any-touch/shared";import{ComputeVectorForMutli as r,ComputeAngle as c}from"@any-touch/compute";const h={name:"rotate",threshold:0,pointLength:2};function i(i,m){const u=t(h,m);return i.compute([r,c],(t=>{if(e(u))return;n(u);const r=function(){const{pointLength:e,angle:n}=t;return u.pointLength===e&&u.threshold