!function(e){if("object"==typeofexports&&"undefined"!=typeofmodule)module.exports=e();elseif("function"==typeofdefine&&define.amd)define([],e);else{("undefined"!=typeofwindow?window:"undefined"!=typeofglobal?global:"undefined"!=typeofself?self:this).doip=e()}}((function(){returnfunctione(t,r,o){functioni(n,a){if(!r[n]){if(!t[n]){varc="function"==typeofrequire&&require;if(!a&&c)returnc(n,!0);if(s)returns(n,!0);varl=newError("Cannot find module '"+n+"'");throwl.code="MODULE_NOT_FOUND",l}varu=r[n]={exports:{}};t[n][0].call(u.exports,(function(e){returni(t[n][1][e]||e)}),u,u.exports,e,t,r,o)}returnr[n].exports}for(vars="function"==typeofrequire&&require,n=0;n<o.length;n++)i(o[n]);returni}({1:[function(e,t,r){"use strict";consto=e("./core");classiextendsError{constructor(e,...t){letr;super(...t),Error.captureStackTrace&&Error.captureStackTrace(this,i),this.name="StatusError",this.message=e.statusMessage,this.statusCode=e.status,this.res=e,this.json=e.json.bind(e),this.text=e.text.bind(e),this.arrayBuffer=e.arrayBuffer.bind(e);Object.defineProperty(this,"responseBody",{get:()=>(r||(r=this.arrayBuffer()),r)}),this.headers={};for(const[t,r]ofe.headers.entries())this.headers[t.toLowerCase()]=r}}t.exports=o(((e,t,r,o,s)=>async(n,a,c={})=>{n=s+(n||"");letl=newURL(n);if(o||(o={}),l.username&&(o.Authorization="Basic "+btoa(l.username+":"+l.password),l=newURL(l.protocol+"//"+l.host+l.pathname+l.search)),"https:"!==l.protocol&&"http:"!==l.protocol)thrownewError(`Unknown protocol, ${l.protocol}`);if(a)if(ainstanceofArrayBuffer||ArrayBuffer.isView(a)||"string"==typeofa);else{if("object"!=typeofa)thrownewError("Unknown body type.");a=JSON.stringify(a),o["Content-Type"]="application/json"}c=newHeaders({...o||{},...c});constu=awaitfetch(l,{method:t,headers:c,body:a});if(u.statusCode=u.status,!e.has(u.status))thrownewi(u);return"json"===r?u.json():"buffer"===r?u.arrayBuffer():"string"===r?u.text():u}))},{"./core":2}],2:[function(e,t,r){"use strict";consto=newSet(["json","buffer","string"]);t.exports=e=>(...t)=>{constr=newSet;leti,s,n,a="";returnt.forEach((e=>{if("string"==typeofe)if(e.toUpperCase()===e){if(i){thrownewError(`Can't set method to ${e}, already set to ${i}.`)}i=e}elseif(e.startsWith("http:")||e.startsWith("https:"))a=e;else{if(!o.has(e))thrownewError(`Unknown encoding, ${e}`);s=e}elseif("number"==typeofe)r.add(e);else{if("object"!=typeofe)thrownewError("Unknown type: "+typeofe);if(Array.isArray(e)||einstanceofSet)e.forEach((e=>r.add(e)));else{if(n)thrownewError("Cannot set headers twice.");n=e}}})),i||(i="GET"),0===r.size&&r.add(200),e(r,i,s,n,a)}},{}],3:[function(e,t,r){},{}],4:[function(e,t,r){"use strict";t.exports=e=>{if("[object Object]"!==Object.prototype.toString.call(e))return!1;constt=Object.getPrototypeOf(e);returnnull===t||t===Object.prototype}},{}],5:[function(e,t,r){"use strict";consto=e("is-plain-obj"),{hasOwnProperty:i}=Object.prototype,{propertyIsEnumerable:s}=Object,n=(e,t,r)=>Object.defineProperty(e,t,{value:r,writable:!0,enumerable:!0,configurable:!0}),a=this,c={concatArrays:!1,ignoreUndefined:!1},l=e=>{constt=[];for(constrine)i.call(e,r)&&t.push(r);if(Object.getOwnPropertySymbols){constr=Object.getOwnPropertySymbols(e);for(constoofr)s.call(e,o)&&t.push(o)}returnt};functionu(e){returnArray.isArray(e)?function(e){constt=e.slice(0,0);returnl(e).forEach((r=>{n(t,r,u(e[r]))})),t}(e):o(e)?function(e){constt=null===Object.getPrototypeOf(e)?Object.create(null):{};returnl(e).forEach((r=>{n(t,r,u(e[r]))})),t}(e):e}constp=(e,t,r,o)=>(r.forEach((r=>{void0===t[r]&&o.ignoreUndefined||(rine&&e[r]!==Object.getPrototypeOf(e)?n(e,r,d(e[r],t[r],o)):n(e,r,u(t[r])))})),e);functiond(e,t,r){returnr.concatArrays&&Array.isArray(e)&&Array.isArray(t)?((e,t,r)=>{leto=e.slice(0,0),s=0;return[e,t].forEach((t=>{consta=[];for(letr=0;r<t.length;r++)i.call(t,r)&&(a.push(String(r)),n(o,s++,t===e?t[r]:u(t[r])));o=p(o,t,l(t).filter((e=>!a.includes(e))),r)})),o})(e,t,r):o(t)&&o(e)?p(e,t,l(t),r):u(t)}t.exports=function(...e){constt=d(u(c),this!==a&&this