!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,i){functiono(s,a){if(!r[s]){if(!t[s]){varc="function"==typeofrequire&&require;if(!a&&c)returnc(s,!0);if(n)returnn(s,!0);varl=newError("Cannot find module '"+s+"'");throwl.code="MODULE_NOT_FOUND",l}varu=r[s]={exports:{}};t[s][0].call(u.exports,(function(e){returno(t[s][1][e]||e)}),u,u.exports,e,t,r,i)}returnr[s].exports}for(varn="function"==typeofrequire&&require,s=0;s<i.length;s++)o(i[s]);returno}({1:[function(e,t,r){"use strict";consti=e("./core");classoextendsError{constructor(e,...t){letr;super(...t),Error.captureStackTrace&&Error.captureStackTrace(this,o),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=i(((e,t,r,i,n)=>async(s,a,c={})=>{s=n+(s||"");letl=newURL(s);if(i||(i={}),l.username&&(i.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),i["Content-Type"]="application/json"}c=newHeaders({...i||{},...c});constu=awaitfetch(l,{method:t,headers:c,body:a});if(u.statusCode=u.status,!e.has(u.status))thrownewo(u);return"json"===r?u.json():"buffer"===r?u.arrayBuffer():"string"===r?u.text():u}))},{"./core":2}],2:[function(e,t,r){"use strict";consti=newSet(["json","buffer","string"]);t.exports=e=>(...t)=>{constr=newSet;leto,n,s,a="";returnt.forEach((e=>{if("string"==typeofe)if(e.toUpperCase()===e){if(o){thrownewError(`Can't set method to ${e}, already set to ${o}.`)}o=e}elseif(e.startsWith("http:")||e.startsWith("https:"))a=e;else{if(!i.has(e))thrownewError("Unknown encoding, "+e);n=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(s)thrownewError("Cannot set headers twice.");s=e}}})),o||(o="GET"),0===r.size&&r.add(200),e(r,o,n,s,a)}},{}],3:[function(e,t,r){},{}],4:[function(e,t,r){"use strict";vari="%[a-f0-9]{2}",o=newRegExp(i,"gi"),n=newRegExp("("+i+")+","gi");functions(e,t){try{returndecodeURIComponent(e.join(""))}catch(e){}if(1===e.length)returne;t=t||1;varr=e.slice(0,t),i=e.slice(t);returnArray.prototype.concat.call([],s(r),s(i))}functiona(e){try{returndecodeURIComponent(e)}catch(i){for(vart=e.match(o),r=1;r<t.length;r++)t=(e=s(t,r).join("")).match(o);returne}}t.exports=function(e){if("string"!=typeofe)thrownewTypeError("Expected `encodedURI` to be of type `string`, got `"+typeofe+"`");try{returne=e.replace(/\+/g," "),decodeURIComponent(e)}catch(t){returnfunction(e){for(vart={"%FE%FF":"<22><>","%FF%FE":"<22><>"},r=n.exec(e);r;){try{t[r[0]]=decodeURIComponent(r[0])}catch(e){vari=a(r[0]);i!==r[0]&&(t[r[0]]=i)}r=n.exec(e)}t["%C2"]="<22>";for(varo=Object.keys(t),s=0;s<o.length;s++){varc=o[s];e=e.replace(newRegExp(c,"g"),t[c])}returne}(e)}}},{}],5:[function(e,t,r){"use strict";t.exports=function(e,t){for(varr={},i=Object.keys(e),o=Array.isArray(t),n=0;n<i.length;n++){vars=i[n],a=e[s];(o?-1!==t.indexOf(s):t(s,a,e))&&(r[s]=a)}returnr}},{}],6:[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}},{}],7:[function(e,t,r){"use strict";consti=e("is-plain-obj"),{hasOwnProperty:o}=Object.prototype,{propertyIs