{"version":3,"sources":["webpack:///webpack/bootstrap 05327333d6945d305846","webpack:///./index.js","webpack:///./fetch.js?6cb3","webpack:///./fetch.js","webpack:///./request.js","webpack:///./headers.js","webpack:///./response.js","webpack:///./headers.js?97f4","webpack:///./request.js?29fb","webpack:///./response.js?6ce2"],"names":[],"mappings":";AAAA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,uBAAe;AACf;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;;AAGA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;;;;;;;;;;;ACtCA,oBAAO,CAAC,6BAAsB,CAAC,CAAC;AAChC,oBAAO,CAAC,iCAA0B,CAAC,CAAC;AACpC,oBAAO,CAAC,iCAA0B,CAAC,CAAC;AACpC,oBAAO,CAAC,mCAA4B,CAAC,C;;;;;;;;;ACHrC,sJ;;;;;;;;;;;;;;;sBCGwB,KAAK;AAH7B,KAAM,OAAO,GAAG,mBAAO,CAAC,kBAAW,CAAC,CAAC;AACrC,KAAM,QAAQ,GAAG,mBAAO,CAAC,mBAAY,CAAC,CAAC;;AAExB,UAAS,KAAK,CAAC,KAAK,EAAE,IAAI,EAAE;AACzC,OAAM,GAAG,GAAG,IAAI,OAAO,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC;AACrC,OAAM,GAAG,GAAG,IAAI,QAAQ,EAAE,CAAC;;AAE3B,UAAO,IAAI,OAAO,CAAC,UAAC,OAAO,EAAE,MAAM,EAAK;AACtC,YAAO,wBAAwB,CAAC,GAAG,EAAE,GAAG,EAAE,aAAG,EAAI;AAC/C,WAAI,GAAG,EAAE;AACP,gBAAO,MAAM,CAAC,GAAG,CAAC,CAAC;QACpB;;AAED,cAAO,OAAO,CAAC,GAAG,CAAC,CAAC;MACrB,CAAC,CAAC;IACJ,CAAC,CAAC;EACJ;;;;;;;;;;;;;;;;;;;AChBD,KAAM,OAAO,GAAG,mBAAO,CAAC,kBAAW,CAAC,CAAC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O,IAAI,OAAO,CAAC,iBAAO;gBAAI,OAAO,CAAC,MAAK,KAAK,CAAC;QAAA,CAAC,CAAC;MACpD;;;YAEG,gBAAG;AACL,cAAO,IAAI,CAAC,IAAI,EAAE,CAAC,IAAI,CAAC,WAAC;gBAAI,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC;QAAA,CAAC,CAAC;MAC7C;;;UAnBkB,QAAQ;;;sBAAR,QAAQ;;;;;;;;;;ACF7B,0J;;;;;;;;;;ACAA,0J;;;;;;;;;;ACAA,4J","file":"bundle.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId])\n \t\t\treturn installedModules[moduleId].exports;\n\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\texports: {},\n \t\t\tid: moduleId,\n \t\t\tloaded: false\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.loaded = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(0);\n\n\n\n/** WEBPACK FOOTER **\n ** webpack/bootstrap 05327333d6945d305846\n **/","require('expose?fetch!./fetch');\nrequire('expose?Headers!./headers');\nrequire('expose?Request!./request');\nrequire('expose?Response!./response');\n\n\n\n/** WEBPACK FOOTER **\n ** ./index.js\n **/","module.exports = global[\"fetch\"] = require(\"-!/Users/conrad/Work/go/src/fknsrs.biz/p/ottoext/fetch/js/node_modules/babel-loader/index.js?stage=0!/Users/conrad/Work/go/src/fknsrs.biz/p/ottoext/fetch/js/fetch.js\");\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/expose-loader?fetch!./fetch.js\n ** module id = 1\n ** module chunks = 0\n **/","const Request = require('./request');\nconst Response = require('./response');\n\nexport default function fetch(input, init) {\n const req = new Request(input, init);\n const res = new Response();\n\n return new Promise((resolve, reject) => {\n return __private__fetch_execute(req, res, err => {\n if (err) {\n return reject(err);\n }\n\n return resolve(res);\n });\n });\n}\n\n\n\n/** WEBPACK FOOTER **\n ** ./fetch.js\n **/","const Headers = require('./headers');\n\nexport default class Request {\n constructor(input, {method, headers, redirect, body}={}) {\n this.method = 'GET';\n this.headers = new Headers({});\n this.redirect = 'manual';\n this.body = null;\n\n if (input instanceof Request) {\n this.url = input.url;\n this.method = input.method;\n this.headers = new Headers(input.headers);\n this.redirect = input.redirect;\n } else {\n this.url = input;\n }\n\n if (method) {\n this.method = method;\n }\n\n if (headers) {\n this.headers = new Headers(headers);\n }\n\n if (redirect) {\n this.redirect = redirect;\n }\n\n if (body) {\n this.body = body;\n }\n }\n}\n\n\n/** WEBPACK FOOTER **\n ** ./request.js\n **/","export default class Headers {\n _headers = {};\n\n constructor(init) {\n if (init instanceof Headers) {\n init = init._headers;\n }\n\n if (typeof init === 'object' && init !== null) {\n for (var k in init) {\n var v = init[k];\n if (!Array.isArray(v)) {\n v = [v];\n }\n\n v.forEach(e => this.append(k, e));\n }\n }\n }\n\n append(name, value) {\n const normalisedName = Headers.normaliseName(name);\n\n if (!Object.hasOwnProperty.call(this._headers, normalisedName)) {\n this._headers[normalisedName] = [];\n }\n\n this._headers[normalisedName].push(value);\n }\n\n delete(name) {\n delete this._headers[Headers.normaliseName(name)];\n }\n\n get(name) {\n const normalisedName = Headers.normaliseName(name);\n\n if (this._headers[normalisedName]) {\n return this._headers[normalisedName][0];\n }\n }\n\n getAll(name) {\n return this._headers[Headers.normaliseName(name)] || [];\n }\n\n has(name) {\n const normalisedName = Headers.normaliseName(name);\n\n return Array.isArray(this._headers[normalisedName]);\n }\n\n set(name, value) {\n const normalisedName = Headers.normaliseName(name);\n\n this._headers[normalisedName] = [value];\n }\n\n static normaliseName(name) {\n return name.toLowerCase();\n }\n}\n\n\n\n/** WEBPACK FOOTER **\n ** ./headers.js\n **/","const Headers = require('./headers');\n\nexport default class Response {\n bodyUsed = true;\n\n _body = null;\n\n constructor(body, {status=200, statusText='OK', headers={}}={}) {\n this.headers = new Headers(headers);\n this.ok = status >= 200 && status < 300;\n this.status = status;\n this.statusText = statusText;\n this.type = this.headers.get('content-type');\n }\n\n text() {\n return new Promise(resolve => resolve(this._body));\n }\n\n json() {\n return this.text().then(d => JSON.parse(d));\n }\n}\n\n\n\n/** WEBPACK FOOTER **\n ** ./response.js\n **/","module.exports = global[\"Headers\"] = require(\"-!/Users/conrad/Work/go/src/fknsrs.biz/p/ottoext/fetch/js/node_modules/babel-loader/index.js?stage=0!/Users/conrad/Work/go/src/fknsrs.biz/p/ottoext/fetch/js/headers.js\");\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/expose-loader?Headers!./headers.js\n ** module id = 6\n ** module chunks = 0\n **/","module.exports = global[\"Request\"] = require(\"-!/Users/conrad/Work/go/src/fknsrs.biz/p/ottoext/fetch/js/node_modules/babel-loader/index.js?stage=0!/Users/conrad/Work/go/src/fknsrs.biz/p/ottoext/fetch/js/request.js\");\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/expose-loader?Request!./request.js\n ** module id = 7\n ** module chunks = 0\n **/","module.exports = global[\"Response\"] = require(\"-!/Users/conrad/Work/go/src/fknsrs.biz/p/ottoext/fetch/js/node_modules/babel-loader/index.js?stage=0!/Users/conrad/Work/go/src/fknsrs.biz/p/ottoext/fetch/js/response.js\");\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/expose-loader?Response!./response.js\n ** module id = 8\n ** module chunks = 0\n **/"],"sourceRoot":""}