Liferay.Loader.define("commerce-dashboard-web$d3-fetch@1.1.2/src/image", ['module', 'exports', 'require'], function (module, exports, require) {
  var define = undefined;
  var global = window;
  {
    export default function (input, init) {
      return new Promise(function (resolve, reject) {
        var image = new Image();
        for (var key in init) image[key] = init[key];
        image.onerror = reject;
        image.onload = function () {
          resolve(image);
        };
        image.src = input;
      });
    }
  }
});
//# sourceMappingURL=image.js.map