import{__assign as t,__spread as r}from"../../../../../node_modules/tslib/tslib.es6.js";import{number as e,scale as o,alpha as i}from"../../../../../../style-value-types/dist/es/numbers/index.js";import{color as n}from"../../../../../../style-value-types/dist/es/color/index.js";import{complex as s}from"../../../../../../style-value-types/dist/es/complex/index.js";import{px as d,degrees as a,progressPercentage as l,percent as u,vw as m,vh as p}from"../../../../../../style-value-types/dist/es/numbers/units.js";import{filter as f}from"../../../../../../style-value-types/dist/es/complex/filter.js";var c={test:function(t){return"auto"===t},parse:function(t){return t}},b=t(t({},e),{transform:Math.round}),g={color:n,backgroundColor:n,outlineColor:n,fill:n,stroke:n,borderColor:n,borderTopColor:n,borderRightColor:n,borderBottomColor:n,borderLeftColor:n,borderWidth:d,borderTopWidth:d,borderRightWidth:d,borderBottomWidth:d,borderLeftWidth:d,borderRadius:d,radius:d,borderTopLeftRadius:d,borderTopRightRadius:d,borderBottomRightRadius:d,borderBottomLeftRadius:d,width:d,maxWidth:d,height:d,maxHeight:d,size:d,top:d,right:d,bottom:d,left:d,padding:d,paddingTop:d,paddingRight:d,paddingBottom:d,paddingLeft:d,margin:d,marginTop:d,marginRight:d,marginBottom:d,marginLeft:d,rotate:a,rotateX:a,rotateY:a,rotateZ:a,scale:o,scaleX:o,scaleY:o,scaleZ:o,skew:a,skewX:a,skewY:a,distance:d,translateX:d,translateY:d,translateZ:d,x:d,y:d,z:d,perspective:d,transformPerspective:d,opacity:i,originX:l,originY:l,originZ:d,zIndex:b,filter:f,WebkitFilter:f,fillOpacity:i,strokeOpacity:i,numOctaves:b},h=[e,d,u,a,m,p,c],y=function(t){return function(r){return r.test(t)}},v=function(t){return h.find(y(t))},R=r(h,[n,s]),x=function(t){return R.find(y(t))},k=function(t){return g[t]},C=function(t,r){return r&&"number"==typeof t?r.transform(t):t};function W(t,r){var e,o=k(t);return o!==f&&(o=s),null===(e=o.getAnimatableNone)||void 0===e?void 0:e.call(o,r)}export{c as auto,v as findDimensionValueType,x as findValueType,W as getAnimatableNone,k as getDefaultValueType,C as getValueAsType};
//# sourceMappingURL=value-types.js.map
