"use strict";// ref: https://github.com/tc39/proposal-globalvargetGlobal=function(){// the only reliable means to get the global object is// `Function('return this')()`// However, this causes CSP violations in Chrome apps.if(typeofself!=='undefined'){returnself;}if(typeofwindow!=='undefined'){returnwindow;}if(typeofglobal!=='undefined'){returnglobal;}thrownewError('unable to locate global object');}varglobal=getGlobal();module.exports=exports=global.fetch;// Needed for TypeScript and Webpack.exports.default=global.fetch.bind(global);exports.Headers=global.Headers;exports.Request=global.Request;exports.Response=global.Response;