const e=require("../../../_virtual/_@oxc-project_runtime@0.139.0/helpers/esm/defineProperty.js"),t=require("../../warning.js");var n=0,r=class{constructor(r){e.default(this,`derivatives`,void 0),e.default(this,`id`,void 0),this.derivatives=Array.isArray(r)?r:[r],this.id=n,r.length===0&&t.default(r.length>0,`[Ant Design Vue CSS-in-JS] Theme should have at least one derivative function.`),n+=1}getDerivativeToken(e){return this.derivatives.reduce((t,n)=>n(e,t),void 0)}};exports.default=r;