!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?n(exports,require("jss")):"function"==typeof define&&define.amd?define(["exports","jss"],n):n((e="undefined"!=typeof globalThis?globalThis:e||self).jssPluginRuleValueFunction={},e.jss)}(this,(function(e,n){"use strict";var t=Date.now(),o="fnValues"+t,r="fnStyle"+ ++t;e.default=function(){return{onCreateRule:function(e,t,o){if("function"!=typeof t)return null;var f=n.createRule(e,{},o);return f[r]=t,f},onProcessStyle:function(e,n){if(o in n||r in n)return e;var t={};for(var f in e){var u=e[f];"function"==typeof u&&(delete e[f],t[f]=u)}return n[o]=t,e},onUpdate:function(e,n,t,f){var u=n,i=u[r];i&&(u.style=i(e)||{});var s=u[o];if(s)for(var l in s)u.prop(l,s[l](e),f)}}},Object.defineProperty(e,"__esModule",{value:!0})}));