"use strict";

exports.__esModule = true;
exports.getUniDriverStyle = void 0;
const getUniDriverStyle = async el => {
  const style = await el.attr('style');
  return (style ?? '').split(';').reduce((acc, prop) => {
    const [key = '', value = ''] = prop.split(':');
    acc[key.trim()] = value.trim();
    return acc;
  }, {});
};
exports.getUniDriverStyle = getUniDriverStyle;
//# sourceMappingURL=getUniDriverStyle.js.map