text: if (typeof global.__coverage__ === 'undefined') { global.__coverage__ = {}; }
  if (!global.__coverage__['/Users/deepsweet/Documents/projects/svgo-stable/lib/svgo/tools.js']) {
     global.__coverage__['/Users/deepsweet/Documents/projects/svgo-stable/lib/svgo/tools.js'] = {"path":"/Users/deepsweet/Documents/projects/svgo-stable/lib/svgo/tools.js","s":{"1":0,"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0},"b":{"1":[0,0],"2":[0,0],"3":[0,0],"4":[0,0],"5":[0,0],"6":[0,0],"7":[0,0],"8":[0,0],"9":[0,0],"10":[0,0],"11":[0,0,0,0,0],"12":[0,0],"13":[0,0],"14":[0,0],"15":[0,0],"16":[0,0]},"f":{"1":0,"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0},"fnMap":{"1":{"name":"(anonymous_1)","line":10,"loc":{"start":{"line":10,"column":27},"end":{"line":10,"column":47}}},"2":{"name":"(anonymous_2)","line":43,"loc":{"start":{"line":43,"column":27},"end":{"line":43,"column":41}}},"3":{"name":"(anonymous_3)","line":68,"loc":{"start":{"line":68,"column":26},"end":{"line":68,"column":42}}},"4":{"name":"(anonymous_4)","line":71,"loc":{"start":{"line":71,"column":18},"end":{"line":71,"column":33}}},"5":{"name":"(anonymous_5)","line":81,"loc":{"start":{"line":81,"column":26},"end":{"line":81,"column":41}}},"6":{"name":"(anonymous_6)","line":82,"loc":{"start":{"line":82,"column":20},"end":{"line":82,"column":32}}},"7":{"name":"(anonymous_7)","line":87,"loc":{"start":{"line":87,"column":25},"end":{"line":87,"column":48}}},"8":{"name":"(anonymous_8)","line":93,"loc":{"start":{"line":93,"column":17},"end":{"line":93,"column":35}}},"9":{"name":"(anonymous_9)","line":145,"loc":{"start":{"line":145,"column":52},"end":{"line":145,"column":66}}}},"statementMap":{"1":{"start":{"line":1,"column":0},"end":{"line":1,"column":13}},"2":{"start":{"line":10,"column":0},"end":{"line":35,"column":2}},"3":{"start":{"line":12,"column":4},"end":{"line":12,"column":38}},"4":{"start":{"line":15,"column":4},"end":{"line":31,"column":5}},"5":{"start":{"line":17,"column":8},"end":{"line":17,"column":29}},"6":{"start":{"line":19,"column":8},"end":{"line":19,"column":58}},"7":{"start":{"line":22,"column":11},"end":{"line":31,"column":5}},"8":{"start":{"line":24,"column":8},"end":{"line":24,"column":53}},"9":{"start":{"line":27,"column":11},"end":{"line":31,"column":5}},"10":{"start":{"line":29,"column":8},"end":{"line":29,"column":33}},"11":{"start":{"line":33,"column":4},"end":{"line":33,"column":15}},"12":{"start":{"line":43,"column":0},"end":{"line":66,"column":2}},"13":{"start":{"line":45,"column":4},"end":{"line":45,"column":38}},"14":{"start":{"line":48,"column":4},"end":{"line":62,"column":5}},"15":{"start":{"line":50,"column":8},"end":{"line":50,"column":71}},"16":{"start":{"line":53,"column":11},"end":{"line":62,"column":5}},"17":{"start":{"line":55,"column":8},"end":{"line":55,"column":52}},"18":{"start":{"line":58,"column":11},"end":{"line":62,"column":5}},"19":{"start":{"line":60,"column":8},"end":{"line":60,"column":32}},"20":{"start":{"line":64,"column":4},"end":{"line":64,"column":15}},"21":{"start":{"line":68,"column":0},"end":{"line":79,"column":2}},"22":{"start":{"line":69,"column":4},"end":{"line":69,"column":20}},"23":{"start":{"line":71,"column":4},"end":{"line":76,"column":7}},"24":{"start":{"line":72,"column":8},"end":{"line":75,"column":10}},"25":{"start":{"line":78,"column":4},"end":{"line":78,"column":18}},"26":{"start":{"line":81,"column":0},"end":{"line":85,"column":2}},"27":{"start":{"line":82,"column":4},"end":{"line":84,"column":7}},"28":{"start":{"line":83,"column":8},"end":{"line":83,"column":33}},"29":{"start":{"line":87,"column":0},"end":{"line":130,"column":2}},"30":{"start":{"line":89,"column":4},"end":{"line":91,"column":13}},"31":{"start":{"line":93,"column":4},"end":{"line":126,"column":7}},"32":{"start":{"line":96,"column":8},"end":{"line":96,"column":24}},"33":{"start":{"line":99,"column":8},"end":{"line":101,"column":9}},"34":{"start":{"line":100,"column":12},"end":{"line":100,"column":27}},"35":{"start":{"line":105,"column":8},"end":{"line":112,"column":9}},"36":{"start":{"line":111,"column":12},"end":{"line":111,"column":27}},"37":{"start":{"line":115,"column":8},"end":{"line":115,"column":20}},"38":{"start":{"line":120,"column":8},"end":{"line":122,"column":9}},"39":{"start":{"line":121,"column":12},"end":{"line":121,"column":43}},"40":{"start":{"line":124,"column":8},"end":{"line":124,"column":32}},"41":{"start":{"line":128,"column":4},"end":{"line":128,"column":15}},"42":{"start":{"line":145,"column":0},"end":{"line":155,"column":2}},"43":{"start":{"line":147,"column":4},"end":{"line":151,"column":5}},"44":{"start":{"line":148,"column":8},"end":{"line":148,"column":34}},"45":{"start":{"line":149,"column":11},"end":{"line":151,"column":5}},"46":{"start":{"line":150,"column":8},"end":{"line":150,"column":40}},"47":{"start":{"line":153,"column":4},"end":{"line":153,"column":15}}},"branchMap":{"1":{"line":15,"type":"if","locations":[{"start":{"line":15,"column":4},"end":{"line":15,"column":4}},{"start":{"line":15,"column":4},"end":{"line":15,"column":4}}]},"2":{"line":15,"type":"binary-expr","locations":[{"start":{"line":15,"column":8},"end":{"line":15,"column":13}},{"start":{"line":15,"column":17},"end":{"line":15,"column":34}}]},"3":{"line":22,"type":"if","locations":[{"start":{"line":22,"column":11},"end":{"line":22,"column":11}},{"start":{"line":22,"column":11},"end":{"line":22,"column":11}}]},"4":{"line":27,"type":"if","locations":[{"start":{"line":27,"column":11},"end":{"line":27,"column":11}},{"start":{"line":27,"column":11},"end":{"line":27,"column":11}}]},"5":{"line":48,"type":"if","locations":[{"start":{"line":48,"column":4},"end":{"line":48,"column":4}},{"start":{"line":48,"column":4},"end":{"line":48,"column":4}}]},"6":{"line":53,"type":"if","locations":[{"start":{"line":53,"column":11},"end":{"line":53,"column":11}},{"start":{"line":53,"column":11},"end":{"line":53,"column":11}}]},"7":{"line":58,"type":"if","locations":[{"start":{"line":58,"column":11},"end":{"line":58,"column":11}},{"start":{"line":58,"column":11},"end":{"line":58,"column":11}}]},"8":{"line":74,"type":"cond-expr","locations":[{"start":{"line":74,"column":34},"end":{"line":74,"column":38}},{"start":{"line":74,"column":41},"end":{"line":74,"column":47}}]},"9":{"line":99,"type":"if","locations":[{"start":{"line":99,"column":8},"end":{"line":99,"column":8}},{"start":{"line":99,"column":8},"end":{"line":99,"column":8}}]},"10":{"line":105,"type":"if","locations":[{"start":{"line":105,"column":8},"end":{"line":105,"column":8}},{"start":{"line":105,"column":8},"end":{"line":105,"column":8}}]},"11":{"line":106,"type":"binary-expr","locations":[{"start":{"line":106,"column":12},"end":{"line":106,"column":37}},{"start":{"line":107,"column":13},"end":{"line":107,"column":21}},{"start":{"line":108,"column":14},"end":{"line":108,"column":22}},{"start":{"line":108,"column":26},"end":{"line":108,"column":34}},{"start":{"line":108,"column":38},"end":{"line":108,"column":52}}]},"12":{"line":120,"type":"if","locations":[{"start":{"line":120,"column":8},"end":{"line":120,"column":8}},{"start":{"line":120,"column":8},"end":{"line":120,"column":8}}]},"13":{"line":147,"type":"if","locations":[{"start":{"line":147,"column":4},"end":{"line":147,"column":4}},{"start":{"line":147,"column":4},"end":{"line":147,"column":4}}]},"14":{"line":147,"type":"binary-expr","locations":[{"start":{"line":147,"column":8},"end":{"line":147,"column":15}},{"start":{"line":147,"column":19},"end":{"line":147,"column":26}}]},"15":{"line":149,"type":"if","locations":[{"start":{"line":149,"column":11},"end":{"line":149,"column":11}},{"start":{"line":149,"column":11},"end":{"line":149,"column":11}}]},"16":{"line":149,"type":"binary-expr","locations":[{"start":{"line":149,"column":15},"end":{"line":149,"column":22}},{"start":{"line":149,"column":26},"end":{"line":149,"column":34}}]}}};
  }
  var __cov_kdpVQfBNDg4qiKaFLdPCOA = global.__coverage__['/Users/deepsweet/Documents/projects/svgo-stable/lib/svgo/tools.js'];
  __cov_kdpVQfBNDg4qiKaFLdPCOA.s['1']++;
  'use strict';
  __cov_kdpVQfBNDg4qiKaFLdPCOA.s['2']++;
  exports.encodeSVGDatauri = function (str, type) {
      __cov_kdpVQfBNDg4qiKaFLdPCOA.f['1']++;
      __cov_kdpVQfBNDg4qiKaFLdPCOA.s['3']++;
      var prefix = 'data:image/svg+xml';
      __cov_kdpVQfBNDg4qiKaFLdPCOA.s['4']++;
      if ((__cov_kdpVQfBNDg4qiKaFLdPCOA.b['2'][0]++, !type) || (__cov_kdpVQfBNDg4qiKaFLdPCOA.b['2'][1]++, type === 'base64')) {
          __cov_kdpVQfBNDg4qiKaFLdPCOA.b['1'][0]++;
          __cov_kdpVQfBNDg4qiKaFLdPCOA.s['5']++;
          prefix += ';base64,';
          __cov_kdpVQfBNDg4qiKaFLdPCOA.s['6']++;
          str = prefix + new Buffer(str).toString('base64');
      } else {
          __cov_kdpVQfBNDg4qiKaFLdPCOA.b['1'][1]++;
          __cov_kdpVQfBNDg4qiKaFLdPCOA.s['7']++;
          if (type === 'enc') {
              __cov_kdpVQfBNDg4qiKaFLdPCOA.b['3'][0]++;
              __cov_kdpVQfBNDg4qiKaFLdPCOA.s['8']++;
              str = prefix + ',' + encodeURIComponent(str);
          } else {
              __cov_kdpVQfBNDg4qiKaFLdPCOA.b['3'][1]++;
              __cov_kdpVQfBNDg4qiKaFLdPCOA.s['9']++;
              if (type === 'unenc') {
                  __cov_kdpVQfBNDg4qiKaFLdPCOA.b['4'][0]++;
                  __cov_kdpVQfBNDg4qiKaFLdPCOA.s['10']++;
                  str = prefix + ',' + str;
              } else {
                  __cov_kdpVQfBNDg4qiKaFLdPCOA.b['4'][1]++;
              }
          }
      }
      __cov_kdpVQfBNDg4qiKaFLdPCOA.s['11']++;
      return str;
  };
  __cov_kdpVQfBNDg4qiKaFLdPCOA.s['12']++;
  exports.decodeSVGDatauri = function (str) {
      __cov_kdpVQfBNDg4qiKaFLdPCOA.f['2']++;
      __cov_kdpVQfBNDg4qiKaFLdPCOA.s['13']++;
      var prefix = 'data:image/svg+xml';
      __cov_kdpVQfBNDg4qiKaFLdPCOA.s['14']++;
      if (str.substring(0, 26) === prefix + ';base64,') {
          __cov_kdpVQfBNDg4qiKaFLdPCOA.b['5'][0]++;
          __cov_kdpVQfBNDg4qiKaFLdPCOA.s['15']++;
          str = new Buffer(str.substring(26), 'base64').toString('utf8');
      } else {
          __cov_kdpVQfBNDg4qiKaFLdPCOA.b['5'][1]++;
          __cov_kdpVQfBNDg4qiKaFLdPCOA.s['16']++;
          if (str.substring(0, 20) === prefix + ',%') {
              __cov_kdpVQfBNDg4qiKaFLdPCOA.b['6'][0]++;
              __cov_kdpVQfBNDg4qiKaFLdPCOA.s['17']++;
              str = decodeURIComponent(str.substring(19));
          } else {
              __cov_kdpVQfBNDg4qiKaFLdPCOA.b['6'][1]++;
              __cov_kdpVQfBNDg4qiKaFLdPCOA.s['18']++;
              if (str.substring(0, 20) === prefix + ',<') {
                  __cov_kdpVQfBNDg4qiKaFLdPCOA.b['7'][0]++;
                  __cov_kdpVQfBNDg4qiKaFLdPCOA.s['19']++;
                  str = str.substring(19);
              } else {
                  __cov_kdpVQfBNDg4qiKaFLdPCOA.b['7'][1]++;
              }
          }
      }
      __cov_kdpVQfBNDg4qiKaFLdPCOA.s['20']++;
      return str;
  };
  __cov_kdpVQfBNDg4qiKaFLdPCOA.s['21']++;
  exports.flattenOneLevel = function (array) {
      __cov_kdpVQfBNDg4qiKaFLdPCOA.f['3']++;
      __cov_kdpVQfBNDg4qiKaFLdPCOA.s['22']++;
      var result = [];
      __cov_kdpVQfBNDg4qiKaFLdPCOA.s['23']++;
      array.forEach(function (item) {
          __cov_kdpVQfBNDg4qiKaFLdPCOA.f['4']++;
          __cov_kdpVQfBNDg4qiKaFLdPCOA.s['24']++;
          Array.prototype.push.apply(result, Array.isArray(item) ? (__cov_kdpVQfBNDg4qiKaFLdPCOA.b['8'][0]++, item) : (__cov_kdpVQfBNDg4qiKaFLdPCOA.b['8'][1]++, [item]));
      });
      __cov_kdpVQfBNDg4qiKaFLdPCOA.s['25']++;
      return result;
  };
  __cov_kdpVQfBNDg4qiKaFLdPCOA.s['26']++;
  exports.intersectArrays = function (a, b) {
      __cov_kdpVQfBNDg4qiKaFLdPCOA.f['5']++;
      __cov_kdpVQfBNDg4qiKaFLdPCOA.s['27']++;
      return a.filter(function (n) {
          __cov_kdpVQfBNDg4qiKaFLdPCOA.f['6']++;
          __cov_kdpVQfBNDg4qiKaFLdPCOA.s['28']++;
          return b.indexOf(n) > -1;
      });
  };
  __cov_kdpVQfBNDg4qiKaFLdPCOA.s['29']++;
  exports.cleanupOutData = function (data, params) {
      __cov_kdpVQfBNDg4qiKaFLdPCOA.f['7']++;
      __cov_kdpVQfBNDg4qiKaFLdPCOA.s['30']++;
      var str = '', delimiter, prev;
      __cov_kdpVQfBNDg4qiKaFLdPCOA.s['31']++;
      data.forEach(function (item, i) {
          __cov_kdpVQfBNDg4qiKaFLdPCOA.f['8']++;
          __cov_kdpVQfBNDg4qiKaFLdPCOA.s['32']++;
          delimiter = ' ';
          __cov_kdpVQfBNDg4qiKaFLdPCOA.s['33']++;
          if (i === 0) {
              __cov_kdpVQfBNDg4qiKaFLdPCOA.b['9'][0]++;
              __cov_kdpVQfBNDg4qiKaFLdPCOA.s['34']++;
              delimiter = '';
          } else {
              __cov_kdpVQfBNDg4qiKaFLdPCOA.b['9'][1]++;
          }
          __cov_kdpVQfBNDg4qiKaFLdPCOA.s['35']++;
          if ((__cov_kdpVQfBNDg4qiKaFLdPCOA.b['11'][0]++, params.negativeExtraSpace) && ((__cov_kdpVQfBNDg4qiKaFLdPCOA.b['11'][1]++, item < 0) || (__cov_kdpVQfBNDg4qiKaFLdPCOA.b['11'][2]++, item > 0) && (__cov_kdpVQfBNDg4qiKaFLdPCOA.b['11'][3]++, item < 1) && (__cov_kdpVQfBNDg4qiKaFLdPCOA.b['11'][4]++, prev % 1 !== 0))) {
              __cov_kdpVQfBNDg4qiKaFLdPCOA.b['10'][0]++;
              __cov_kdpVQfBNDg4qiKaFLdPCOA.s['36']++;
              delimiter = '';
          } else {
              __cov_kdpVQfBNDg4qiKaFLdPCOA.b['10'][1]++;
          }
          __cov_kdpVQfBNDg4qiKaFLdPCOA.s['37']++;
          prev = item;
          __cov_kdpVQfBNDg4qiKaFLdPCOA.s['38']++;
          if (params.leadingZero) {
              __cov_kdpVQfBNDg4qiKaFLdPCOA.b['12'][0]++;
              __cov_kdpVQfBNDg4qiKaFLdPCOA.s['39']++;
              item = removeLeadingZero(item);
          } else {
              __cov_kdpVQfBNDg4qiKaFLdPCOA.b['12'][1]++;
          }
          __cov_kdpVQfBNDg4qiKaFLdPCOA.s['40']++;
          str += delimiter + item;
      });
      __cov_kdpVQfBNDg4qiKaFLdPCOA.s['41']++;
      return str;
  };
  __cov_kdpVQfBNDg4qiKaFLdPCOA.s['42']++;
  var removeLeadingZero = exports.removeLeadingZero = function (num) {
          __cov_kdpVQfBNDg4qiKaFLdPCOA.f['9']++;
          __cov_kdpVQfBNDg4qiKaFLdPCOA.s['43']++;
          if ((__cov_kdpVQfBNDg4qiKaFLdPCOA.b['14'][0]++, num > 0) && (__cov_kdpVQfBNDg4qiKaFLdPCOA.b['14'][1]++, num < 1)) {
              __cov_kdpVQfBNDg4qiKaFLdPCOA.b['13'][0]++;
              __cov_kdpVQfBNDg4qiKaFLdPCOA.s['44']++;
              num = ('' + num).slice(1);
          } else {
              __cov_kdpVQfBNDg4qiKaFLdPCOA.b['13'][1]++;
              __cov_kdpVQfBNDg4qiKaFLdPCOA.s['45']++;
              if ((__cov_kdpVQfBNDg4qiKaFLdPCOA.b['16'][0]++, num < 0) && (__cov_kdpVQfBNDg4qiKaFLdPCOA.b['16'][1]++, num > -1)) {
                  __cov_kdpVQfBNDg4qiKaFLdPCOA.b['15'][0]++;
                  __cov_kdpVQfBNDg4qiKaFLdPCOA.s['46']++;
                  num = '-' + ('' + num).slice(2);
              } else {
                  __cov_kdpVQfBNDg4qiKaFLdPCOA.b['15'][1]++;
              }
          }
          __cov_kdpVQfBNDg4qiKaFLdPCOA.s['47']++;
          return num;
      };
  