{"version":3,"file":"prefixProperty.cjs","sources":["../../../../../../../../../.yarn/berry/cache/inline-style-prefixer-npm-5.1.2-a7cf2cf492-10c0.zip/node_modules/inline-style-prefixer/es/utils/prefixProperty.js"],"sourcesContent":["import capitalizeString from './capitalizeString';\n\n\nexport default function prefixProperty(prefixProperties, property, style) {\n  if (prefixProperties.hasOwnProperty(property)) {\n    var newStyle = {};\n    var requiredPrefixes = prefixProperties[property];\n    var capitalizedProperty = capitalizeString(property);\n    var keys = Object.keys(style);\n    for (var i = 0; i < keys.length; i++) {\n      var styleProperty = keys[i];\n      if (styleProperty === property) {\n        for (var j = 0; j < requiredPrefixes.length; j++) {\n          newStyle[requiredPrefixes[j] + capitalizedProperty] = style[property];\n        }\n      }\n      newStyle[styleProperty] = style[styleProperty];\n    }\n    return newStyle;\n  }\n  return style;\n}"],"names":[],"mappings":";;AAGe,SAAS,eAAe,kBAAkB,UAAU,OAAO;AACxE,MAAI,iBAAiB,eAAe,QAAQ,GAAG;AAC7C,QAAI,WAAW,CAAA;AACf,QAAI,mBAAmB,iBAAiB,QAAQ;AAChD,QAAI,sBAAsB,iBAAiB,QAAQ;AACnD,QAAI,OAAO,OAAO,KAAK,KAAK;AAC5B,aAAS,IAAI,GAAG,IAAI,KAAK,QAAQ,KAAK;AACpC,UAAI,gBAAgB,KAAK,CAAC;AAC1B,UAAI,kBAAkB,UAAU;AAC9B,iBAAS,IAAI,GAAG,IAAI,iBAAiB,QAAQ,KAAK;AAChD,mBAAS,iBAAiB,CAAC,IAAI,mBAAmB,IAAI,MAAM,QAAQ;AAAA,QACtE;AAAA,MACF;AACA,eAAS,aAAa,IAAI,MAAM,aAAa;AAAA,IAC/C;AACA,WAAO;AAAA,EACT;AACA,SAAO;AACT;;","x_google_ignoreList":[0]}