{"version":3,"file":"parseStyleObject.mjs","names":[],"sources":["../../../src/parser/parseStyleObject.ts"],"sourcesContent":["/**\n * Takes a style object and parses it in one that has only defined values\n * and lowercases properties\n * @param style\n * @param oStyle\n */\nexport function parseStyleObject(\n  style: Record<string, any>,\n  oStyle: Record<string, any>,\n): void {\n  Object.entries(style).forEach(([prop, value]) => {\n    if (value === undefined) {\n      return;\n    }\n    oStyle[prop.toLowerCase()] = value;\n  });\n}\n"],"mappings":";;;;;;;AAMA,SAAgB,iBACd,OACA,QACM;AACN,QAAO,QAAQ,MAAM,CAAC,SAAS,CAAC,MAAM,WAAW;AAC/C,MAAI,UAAU,KAAA,EACZ;AAEF,SAAO,KAAK,aAAa,IAAI;GAC7B"}