{"version":3,"file":"cleanupSvgAttribute.min.mjs","sources":["../../../../src/util/internals/cleanupSvgAttribute.ts"],"sourcesContent":["import { reNum } from '../../parser/constants';\n\nexport const cleanupSvgAttribute = (attributeValue: string) =>\n  attributeValue\n    .replace(new RegExp(`(${reNum})`, 'gi'), ' $1 ')\n    // replace annoying commas and arbitrary whitespace with single spaces\n    .replace(/,/gi, ' ')\n    .replace(/\\s+/gi, ' ');\n"],"names":["cleanupSvgAttribute","attributeValue","replace","RegExp","concat","reNum"],"mappings":"6DAEaA,EAAuBC,GAClCA,EACGC,QAAQ,IAAIC,OAAM,IAAAC,OAAKC,OAAU,MAAO,QAExCH,QAAQ,MAAO,KACfA,QAAQ,QAAS"}