Liferay.Loader.define("commerce-dashboard-web$d3-fetch@1.1.2/src/json", ['module', 'exports', 'require'], function (module, exports, require) {
  var define = undefined;
  var global = window;
  {
    function responseJson(response) {
      if (!response.ok) throw new Error(response.status + " " + response.statusText);
      return response.json();
    }

    export default function (input, init) {
      return fetch(input, init).then(responseJson);
    }
  }
});
//# sourceMappingURL=json.js.map