import{__assign as r}from"../../../node_modules/tslib/tslib.es6.js";import{complex as t}from"./index.js";import{floatRegex as a}from"../utils.js";var e=new Set(["brightness","contrast","saturate","opacity"]);function i(r){var t=r.slice(0,-1).split("("),i=t[0],o=t[1];if("drop-shadow"===i)return r;var n=(o.match(a)||[])[0];if(!n)return r;var s=o.replace(n,""),m=e.has(i)?1:0;return n!==o&&(m*=100),i+"("+m+s+")"}var o=/([a-z-]*)\(.*?\)/g,n=r(r({},t),{getAnimatableNone:function(r){var t=r.match(o);return t?t.map(i).join(" "):r}});export{n as filter};
//# sourceMappingURL=filter.js.map
