diff --git a/docs/openapisnippet.min.js b/docs/openapisnippet.min.js deleted file mode 100644 index e90eea8..0000000 --- a/docs/openapisnippet.min.js +++ /dev/null @@ -1,3 +0,0 @@ -/*! For license information please see openapisnippet.min.js.LICENSE.txt */ -(()=>{var e={186:function(e,t){"use strict";var a=this&&this.__read||function(e,t){var a="function"==typeof Symbol&&e[Symbol.iterator];if(!a)return e;var n,r,o=a.call(e),i=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)i.push(n.value)}catch(e){r={error:e}}finally{try{n&&!n.done&&(a=o.return)&&a.call(o)}finally{if(r)throw r.error}}return i},n=this&&this.__spreadArray||function(e,t,a){if(a||2===arguments.length)for(var n,r=0,o=t.length;r0)&&!(n=o.next()).done;)i.push(n.value)}catch(e){r={error:e}}finally{try{n&&!n.done&&(a=o.return)&&a.call(o)}finally{if(r)throw r.error}}return i},n=this&&this.__spreadArray||function(e,t,a){if(a||2===arguments.length)for(var n,r=0,o=t.length;r"~"?JSON.stringify(e).slice(1,-1):e})).join("")}t.__esModule=!0,t.escapeForDoubleQuotes=t.escapeForSingleQuotes=t.escapeString=void 0,t.escapeString=r,t.escapeForSingleQuotes=function(e){return r(e,{delimiter:"'"})},t.escapeForDoubleQuotes=function(e){return r(e,{delimiter:'"'})}},8680:function(e,t){"use strict";var a=this&&this.__generator||function(e,t){var a,n,r,o,i={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(a)throw new TypeError("Generator is already executing.");for(;i;)try{if(a=1,n&&(r=2&o[0]?n.return:o[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,o[1])).done)return r;switch(n=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return i.label++,{value:o[1],done:!1};case 5:i.label++,n=o[1],o=[0];continue;case 7:o=i.ops.pop(),i.trys.pop();continue;default:if(!((r=(r=i.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){i=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},r=this&&this.__read||function(e,t){var a="function"==typeof Symbol&&e[Symbol.iterator];if(!a)return e;var n,r,o=a.call(e),i=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)i.push(n.value)}catch(e){r={error:e}}finally{try{n&&!n.done&&(a=o.return)&&a.call(o)}finally{if(r)throw r.error}}return i};t.__esModule=!0,t.formDataIterator=t.isBlob=void 0;var o="\r\n",i="-".repeat(2),s=Symbol.toStringTag;t.isBlob=function(e){return"object"==typeof e&&"function"==typeof e.arrayBuffer&&"string"==typeof e.type&&"function"==typeof e.stream&&"function"==typeof e.constructor&&/^(Blob|File)$/.test(e[s])};var c=function(e){return"".concat(i).concat(e).concat(i).concat(o.repeat(2))},p=function(e,a,n){var r="";return r+="".concat(i).concat(e).concat(o),r+='Content-Disposition: form-data; name="'.concat(a,'"'),(0,t.isBlob)(n)&&(r+='; filename="'.concat(n.name,'"').concat(o),r+="Content-Type: ".concat(n.type||"application/octet-stream")),"".concat(r).concat(o.repeat(2))};t.formDataIterator=function(e,i){var s,l,u,d,m,f,h,y;return a(this,(function(a){switch(a.label){case 0:a.trys.push([0,10,11,12]),s=n(e),l=s.next(),a.label=1;case 1:return l.done?[3,9]:(u=r(l.value,2),d=u[0],m=u[1],[4,p(i,d,m)]);case 2:return a.sent(),(0,t.isBlob)(m)?[5,n(m.stream())]:[3,4];case 3:return a.sent(),[3,6];case 4:return[4,m];case 5:a.sent(),a.label=6;case 6:return[4,o];case 7:a.sent(),a.label=8;case 8:return l=s.next(),[3,1];case 9:return[3,12];case 10:return f=a.sent(),h={error:f},[3,12];case 11:try{l&&!l.done&&(y=s.return)&&y.call(s)}finally{if(h)throw h.error}return[7];case 12:return[4,c(i)];case 13:return a.sent(),[2]}}))}},7503:(e,t)=>{"use strict";t.__esModule=!0,t.isMimeTypeJSON=t.hasHeader=t.getHeader=t.getHeaderName=void 0,t.getHeaderName=function(e,t){return Object.keys(e).find((function(e){return e.toLowerCase()===t.toLowerCase()}))},t.getHeader=function(e,a){var n=(0,t.getHeaderName)(e,a);if(n)return e[n]},t.hasHeader=function(e,a){return Boolean((0,t.getHeaderName)(e,a))};var a=["application/json","application/x-json","text/json","text/x-json","+json"];t.isMimeTypeJSON=function(e){return a.some((function(t){return e.includes(t)}))}},8825:(e,t)=>{"use strict";t.__esModule=!0,t.reducer=void 0,t.reducer=function(e,t){var a=e[t.name];return void 0===a?(e[t.name]=t.value,e):Array.isArray(a)?(a.push(t.value),e):(e[t.name]=[a,t.value],e)}},6419:(e,t)=>{"use strict";t.__esModule=!0,t.escape=t.quote=void 0,t.quote=function(e){return void 0===e&&(e=""),/^[a-z0-9-_/.@%^=:]+$/i.test(e)?e:"'".concat(e.replace(/'/g,"'\\''"),"'")},t.escape=function(e){return e.replace(/\r/g,"\\r").replace(/\n/g,"\\n")}},7860:function(e,t,a){"use strict";var n=this&&this.__assign||function(){return n=Object.assign||function(e){for(var t,a=1,n=arguments.length;a=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};t.__esModule=!0,t.HTTPSnippet=t.isHarEntry=t.addTargetClient=t.addTarget=t.extname=t.availableTargets=void 0;var s=a(8954),c=i(a(737)),p=a(5406),l=a(2894),u=a(8835),d=a(8680),m=a(7503),f=a(8825),h=a(3988),y=a(7860);r(t,y,"availableTargets"),r(t,y,"extname");var v=a(3988);r(t,v,"addTarget"),r(t,v,"addTargetClient");var g="undefined"!=typeof window&&window.FormData?window.FormData:c.default,b=function(){};t.isHarEntry=function(e){return"object"==typeof e&&"log"in e&&"object"==typeof e.log&&"entries"in e.log&&Array.isArray(e.log.entries)};t.HTTPSnippet=function(e){var a=this;this.requests=[],this.prepare=function(e){var t,a,r,i,c,p=n(n({},e),{fullUrl:"",uriObj:{},queryObj:{},headersObj:{},cookiesObj:{},allHeaders:{}});if(p.queryString&&p.queryString.length&&(b("queryString found, constructing queryString pair map"),p.queryObj=p.queryString.reduce(f.reducer,{})),p.headers&&p.headers.length){var h=/^HTTP\/2/;p.headersObj=p.headers.reduce((function(e,t){var a,r=t.name,o=t.value,i=h.exec(p.httpVersion)?r.toLocaleLowerCase():r;return n(n({},e),((a={})[i]=o,a))}),{})}p.cookies&&p.cookies.length&&(p.cookiesObj=p.cookies.reduceRight((function(e,t){var a,r=t.name,o=t.value;return n(n({},e),((a={})[r]=o,a))}),{}));var y=null===(r=p.cookies)||void 0===r?void 0:r.map((function(e){var t=e.name,a=e.value;return"".concat(encodeURIComponent(t),"=").concat(encodeURIComponent(a))}));switch((null==y?void 0:y.length)&&(p.allHeaders.cookie=y.join("; ")),null==p?void 0:p.postData.mimeType){case"multipart/mixed":case"multipart/related":case"multipart/form-data":case"multipart/alternative":if(p.postData.text="",p.postData.mimeType="multipart/form-data",null===(i=p.postData)||void 0===i?void 0:i.params){var v=new g,x="function"==typeof v[Symbol.iterator],w="---011000010111000001101001";if(x||(v._boundary=w),null===(c=p.postData)||void 0===c||c.params.forEach((function(e){var t=e.name,a=e.value||"",n=e.fileName||null;x?(0,d.isBlob)(a)?v.append(t,a,n):v.append(t,a):v.append(t,a,{filename:n,contentType:e.contentType||null})})),x)try{for(var j=o((0,d.formDataIterator)(v,w)),k=j.next();!k.done;k=j.next()){var S=k.value;p.postData.text+=S}}catch(e){t={error:e}}finally{try{k&&!k.done&&(a=j.return)&&a.call(j)}finally{if(t)throw t.error}}else v.pipe((0,s.map)((function(e){p.postData.text+=e})));p.postData.boundary=w;var P=(0,m.getHeaderName)(p.headersObj,"content-type")||"content-type";p.headersObj[P]="multipart/form-data; boundary=".concat(w)}break;case"application/x-www-form-urlencoded":p.postData.params?(p.postData.paramsObj=p.postData.params.reduce(f.reducer,{}),p.postData.text=(0,l.stringify)(p.postData.paramsObj)):p.postData.text="";break;case"text/json":case"text/x-json":case"application/json":case"application/x-json":if(p.postData.mimeType="application/json",p.postData.text)try{p.postData.jsonObj=JSON.parse(p.postData.text)}catch(e){b(e),p.postData.mimeType="text/plain"}}var _=n(n({},p.allHeaders),p.headersObj),T=(0,u.parse)(p.url,!0,!0);p.queryObj=n(n({},p.queryObj),T.query);var O=(0,l.stringify)(p.queryObj),E=n(n({},T),{query:p.queryObj,search:O,path:O?"".concat(T.pathname,"?").concat(O):T.pathname}),A=(0,u.format)(n(n({},T),{query:null,search:null})),q=(0,u.format)(n(n({},T),E));return n(n({},p),{allHeaders:_,fullUrl:q,url:A,uriObj:E})},this.convert=function(e,t,n){!n&&t&&(n=t);var r=h.targets[e];if(!r)return!1;var o=r.clientsById[t||r.info.default].convert,i=a.requests.map((function(e){return o(e,n)}));return 1===i.length?i[0]:i},this.requests=[],((0,t.isHarEntry)(e)?e.log.entries:[{request:e}]).forEach((function(e){var t,r=e.request,o=n(n({bodySize:0,headersSize:0,headers:[],cookies:[],httpVersion:"HTTP/1.1",queryString:[]},r),{postData:(null==r?void 0:r.postData)||{mimeType:(null===(t=r.postData)||void 0===t?void 0:t.mimeType)||"application/octet-stream"}});void 0!==o.url&&null!==o.url&&""!==o.url&&(o.url.includes("{")||o.url.includes("}"))&&(o.url=o.url.replace(/{/g,"__").replace(/}/g,"__"),o.url=new URL(o.url).toString()),(0,p.validateRequest)(o)&&a.requests.push(a.prepare(o))}))}},155:function(e,t,a){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,a,n){void 0===n&&(n=a);var r=Object.getOwnPropertyDescriptor(t,a);r&&!("get"in r?!t.__esModule:r.writable||r.configurable)||(r={enumerable:!0,get:function(){return t[a]}}),Object.defineProperty(e,n,r)}:function(e,t,a,n){void 0===n&&(n=a),e[n]=t[a]});t.__esModule=!0,t.targets=t.isTarget=t.isClient=t.addTargetClient=t.addTarget=t.isHarEntry=t.HTTPSnippet=t.extname=t.availableTargets=t.getHeaderName=t.getHeader=t.escapeString=t.CodeBuilder=void 0,n(t,a(186),"CodeBuilder"),n(t,a(8910),"escapeString");var r=a(7503);n(t,r,"getHeader"),n(t,r,"getHeaderName");var o=a(7860);n(t,o,"availableTargets"),n(t,o,"extname");var i=a(5022);n(t,i,"HTTPSnippet"),n(t,i,"isHarEntry");var s=a(3988);n(t,s,"addTarget"),n(t,s,"addTargetClient"),n(t,s,"isClient"),n(t,s,"isTarget"),n(t,s,"targets")},5299:(e,t,a)=>{"use strict";t.__esModule=!0,t.libcurl=void 0;var n=a(186),r=a(8910);t.libcurl={info:{key:"libcurl",title:"Libcurl",link:"http://curl.haxx.se/libcurl",description:"Simple REST and HTTP API Client for C"},convert:function(e){var t=e.method,a=e.fullUrl,o=e.headersObj,i=e.allHeaders,s=e.postData,c=new n.CodeBuilder,p=c.push,l=c.blank,u=c.join;p("CURL *hnd = curl_easy_init();"),l(),p('curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "'.concat(t.toUpperCase(),'");')),p('curl_easy_setopt(hnd, CURLOPT_URL, "'.concat(a,'");'));var d=Object.keys(o);return d.length&&(l(),p("struct curl_slist *headers = NULL;"),d.forEach((function(e){p('headers = curl_slist_append(headers, "'.concat(e,": ").concat((0,r.escapeForDoubleQuotes)(o[e]),'");'))})),p("curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);")),i.cookie&&(l(),p('curl_easy_setopt(hnd, CURLOPT_COOKIE, "'.concat(i.cookie,'");'))),s.text&&(l(),p("curl_easy_setopt(hnd, CURLOPT_POSTFIELDS, ".concat(JSON.stringify(s.text),");"))),l(),p("CURLcode ret = curl_easy_perform(hnd);"),u()}}},7591:(e,t,a)=>{"use strict";t.__esModule=!0,t.c=void 0;var n=a(5299);t.c={info:{key:"c",title:"C",extname:".c",default:"libcurl"},clientsById:{libcurl:n.libcurl}}},6759:(e,t,a)=>{"use strict";t.__esModule=!0,t.clj_http=void 0;var n=a(186),r=a(7503),o=function(e){var t=this;this.name="",this.toString=function(){return":".concat(t.name)},this.name=e},i=function(e){var t=this;this.path="",this.toString=function(){return'(clojure.java.io/file "'.concat(t.path,'")')},this.path=e},s=function(e){return void 0===e?null:null===e?"null":e.constructor.name.toLowerCase()},c=function(e){return"object"===s(e)&&0===Object.keys(e).length},p=function(e){return Object.keys(e).filter((function(t){return c(e[t])})).forEach((function(t){delete e[t]})),e},l=function(e,t){var a=" ".repeat(e);return t.replace(/\n/g,"\n".concat(a))},u=function(e){switch(s(e)){case"string":return'"'.concat(e.replace(/"/g,'\\"'),'"');case"file":case"keyword":default:return e.toString();case"null":return"nil";case"regexp":return'#"'.concat(e.source,'"');case"object":var t=Object.keys(e).reduce((function(t,a){var n=l(a.length+2,u(e[a]));return"".concat(t,":").concat(a," ").concat(n,"\n ")}),"").trim();return"{".concat(l(1,t),"}");case"array":var a=e.reduce((function(e,t){return"".concat(e," ").concat(u(t))}),"").trim();return"[".concat(l(1,a),"]")}};t.clj_http={info:{key:"clj_http",title:"clj-http",link:"https://github.com/dakrone/clj-http",description:"An idiomatic clojure http client wrapping the apache client."},convert:function(e,t){var a=e.queryObj,s=e.method,d=e.postData,m=e.url,f=e.allHeaders,h=new n.CodeBuilder({indent:null==t?void 0:t.indent}),y=h.push,v=h.join;if(s=s.toLowerCase(),!["get","post","put","delete","patch","head","options"].includes(s))return y("Method not supported"),v();var g={headers:f,"query-params":a};switch(d.mimeType){case"application/json":g["content-type"]=new o("json"),g["form-params"]=d.jsonObj,(b=(0,r.getHeaderName)(g.headers,"content-type"))&&delete g.headers[b];break;case"application/x-www-form-urlencoded":g["form-params"]=d.paramsObj,(b=(0,r.getHeaderName)(g.headers,"content-type"))&&delete g.headers[b];break;case"text/plain":g.body=d.text,(b=(0,r.getHeaderName)(g.headers,"content-type"))&&delete g.headers[b];break;case"multipart/form-data":var b;d.params&&(g.multipart=d.params.map((function(e){return e.fileName&&!e.value?{name:e.name,content:new i(e.fileName)}:{name:e.name,content:e.value}})),(b=(0,r.getHeaderName)(g.headers,"content-type"))&&delete g.headers[b])}if("application/json"===(0,r.getHeader)(g.headers,"accept")&&(g.accept=new o("json"),(b=(0,r.getHeaderName)(g.headers,"accept"))&&delete g.headers[b]),y("(require '[clj-http.client :as client])\n"),c(p(g)))y("(client/".concat(s,' "').concat(m,'")'));else{var x=11+s.length+m.length,w=l(x,u(p(g)));y("(client/".concat(s,' "').concat(m,'" ').concat(w,")"))}return v()}}},4108:(e,t,a)=>{"use strict";t.__esModule=!0,t.clojure=void 0;var n=a(6759);t.clojure={info:{key:"clojure",title:"Clojure",extname:".clj",default:"clj_http"},clientsById:{clj_http:n.clj_http}}},2336:(e,t,a)=>{"use strict";t.__esModule=!0,t.native=void 0;var n=a(186),r=a(8910);t.native={info:{key:"native",title:"http::client",link:"https://crystal-lang.org/api/master/HTTP/Client.html",description:"Crystal HTTP client"},convert:function(e,t){var a=e.method,o=e.fullUrl,i=e.postData,s=e.allHeaders;void 0===t&&(t={});var c=t.insecureSkipVerify,p=void 0!==c&&c,l=new n.CodeBuilder,u=l.push,d=l.blank,m=l.join;u('require "http/client"'),d(),u('url = "'.concat(o,'"'));var f=Object.keys(s);f.length&&(u("headers = HTTP::Headers{"),f.forEach((function(e){u(' "'.concat(e,'" => "').concat((0,r.escapeForDoubleQuotes)(s[e]),'"'))})),u("}")),i.text&&u("reqBody = ".concat(JSON.stringify(i.text))),d();var h=a.toUpperCase(),y=f.length?", headers: headers":"",v=i.text?", body: reqBody":"",g=p?", tls: OpenSSL::SSL::Context::Client.insecure":"";return["GET","POST","HEAD","DELETE","PATCH","PUT","OPTIONS"].includes(h)?u("response = HTTP::Client.".concat(h.toLowerCase()," url").concat(y).concat(v).concat(g)):u('response = HTTP::Client.exec "'.concat(h,'", url').concat(y).concat(v).concat(g)),u("puts response.body"),m()}}},9538:(e,t,a)=>{"use strict";t.__esModule=!0,t.crystal=void 0;var n=a(2336);t.crystal={info:{key:"crystal",title:"Crystal",extname:".cr",default:"native"},clientsById:{native:n.native}}},7647:function(e,t,a){"use strict";var n=this&&this.__assign||function(){return n=Object.assign||function(e){for(var t,a=1,n=arguments.length;a",1),f("{",1),null===(a=p.params)||void 0===a||a.forEach((function(e){f('{ "'.concat(e.name,'", "').concat(e.value,'" },'),2)})),f("}),",1);break;case"multipart/form-data":f("Content = new MultipartFormDataContent",1),f("{",1),null===(s=p.params)||void 0===s||s.forEach((function(e){f("new StringContent(".concat(JSON.stringify(e.value||""),")"),2),f("{",2),f("Headers =",3),f("{",3),e.contentType&&f('ContentType = new MediaTypeHeaderValue("'.concat(e.contentType,'"),'),4),f('ContentDisposition = new ContentDispositionHeaderValue("form-data")',4),f("{",4),f('Name = "'.concat(e.name,'",'),5),e.fileName&&f('FileName = "'.concat(e.fileName,'",'),5),f("}",4),f("}",3),f("},",2)})),f("},",1);break;default:f("Content = new StringContent(".concat(JSON.stringify(p.text||""),")"),1),f("{",1),f("Headers =",2),f("{",2),f('ContentType = new MediaTypeHeaderValue("'.concat(x,'")'),3),f("}",2),f("}",1)}}return f("};"),f("using (var response = await client.SendAsync(request))"),f("{"),f("response.EnsureSuccessStatusCode();",1),f("var body = await response.Content.ReadAsStringAsync();",1),f("Console.WriteLine(body);",1),f("}"),h()}}},3226:(e,t,a)=>{"use strict";t.__esModule=!0,t.restsharp=void 0;var n=a(186),r=a(8910),o=a(7503);t.restsharp={info:{key:"restsharp",title:"RestSharp",link:"http://restsharp.org/",description:"Simple REST and HTTP API Client for .NET"},convert:function(e){var t=e.allHeaders,a=e.method,i=e.fullUrl,s=e.headersObj,c=e.cookies,p=e.postData,l=new n.CodeBuilder,u=l.push,d=l.join;if(!["GET","POST","PUT","DELETE","PATCH","HEAD","OPTIONS"].includes(a.toUpperCase()))return"Method not supported";if(u('var client = new RestClient("'.concat(i,'");')),u('var request = new RestRequest("", Method.'.concat(a.replace(/\w+/g,(function(e){return e.charAt(0).toUpperCase()+e.slice(1).toLowerCase()})),");")),Object.keys(s).forEach((function(e){u('request.AddHeader("'.concat(e,'", "').concat((0,r.escapeForDoubleQuotes)(s[e]),'");'))})),c.forEach((function(e){var t=e.name,a=e.value;u('request.AddCookie("'.concat(t,'", "').concat(a,'");'))})),p.text){var m=(0,o.getHeader)(t,"content-type"),f=JSON.stringify(p.text);u('request.AddParameter("'.concat(m,'", ').concat(f,", ParameterType.RequestBody);"))}return u("var response = client.Execute(request);"),d()}}},2971:(e,t,a)=>{"use strict";t.__esModule=!0,t.csharp=void 0;var n=a(7647),r=a(3226);t.csharp={info:{key:"csharp",title:"C#",extname:".cs",default:"restsharp"},clientsById:{httpclient:n.httpclient,restsharp:r.restsharp}}},2246:(e,t,a)=>{"use strict";t.__esModule=!0,t.native=void 0;var n=a(186),r=a(8910);t.native={info:{key:"native",title:"NewRequest",link:"http://golang.org/pkg/net/http/#NewRequest",description:"Golang HTTP client request"},convert:function(e,t){var a=e.postData,o=e.method,i=e.allHeaders,s=e.fullUrl;void 0===t&&(t={});var c=new n.CodeBuilder({indent:"\t"}),p=c.blank,l=c.push,u=c.join,d=t.showBoilerplate,m=void 0===d||d,f=t.checkErrors,h=void 0!==f&&f,y=t.printBody,v=void 0===y||y,g=t.timeout,b=void 0===g?-1:g,x=t.insecureSkipVerify,w=void 0!==x&&x,j=h?"err":"_",k=m?1:0,S=function(){h&&(l("if err != nil {",k),l("panic(err)",k+1),l("}",k))};m&&(l("package main"),p(),l("import ("),l('"fmt"',k),b>0&&l('"time"',k),w&&l('"crypto/tls"',k),a.text&&l('"strings"',k),l('"net/http"',k),v&&l('"io"',k),l(")"),p(),l("func main() {"),p()),w&&(l("insecureTransport := http.DefaultTransport.(*http.Transport).Clone()",k),l("insecureTransport.TLSClientConfig = &tls.Config{InsecureSkipVerify: true}",k));var P=b>0,_=P||w,T=_?"client":"http.DefaultClient";return _&&(l("client := http.Client{",k),P&&l("Timeout: time.Duration(".concat(b," * time.Second),"),k+1),w&&l("Transport: insecureTransport,",k+1),l("}",k),p()),l('url := "'.concat(s,'"'),k),p(),a.text?(l("payload := strings.NewReader(".concat(JSON.stringify(a.text),")"),k),p(),l("req, ".concat(j,' := http.NewRequest("').concat(o,'", url, payload)'),k),p()):(l("req, ".concat(j,' := http.NewRequest("').concat(o,'", url, nil)'),k),p()),S(),Object.keys(i).length&&(Object.keys(i).forEach((function(e){l('req.Header.Add("'.concat(e,'", "').concat((0,r.escapeForDoubleQuotes)(i[e]),'")'),k)})),p()),l("res, ".concat(j," := ").concat(T,".Do(req)"),k),S(),v&&(p(),l("defer res.Body.Close()",k),l("body, ".concat(j," := io.ReadAll(res.Body)"),k),S()),p(),l("fmt.Println(res)",k),v&&l("fmt.Println(string(body))",k),m&&(p(),l("}")),u()}}},9016:(e,t,a)=>{"use strict";t.__esModule=!0,t.go=void 0;var n=a(2246);t.go={info:{key:"go",title:"Go",extname:".go",default:"native"},clientsById:{native:n.native}}},3507:function(e,t,a){"use strict";var n=this&&this.__assign||function(){return n=Object.assign||function(e){for(var t,a=1,n=arguments.length;a{"use strict";t.__esModule=!0,t.http=void 0;var n=a(3507);t.http={info:{key:"http",title:"HTTP",extname:null,default:"1.1"},clientsById:{"http1.1":n.http11}}},6745:function(e,t,a){"use strict";var n=this&&this.__assign||function(){return n=Object.assign||function(e){for(var t,a=1,n=arguments.length;a response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());"),u("System.out.println(response.body());"),d()}}},1371:function(e,t,a){"use strict";var n=this&&this.__assign||function(){return n=Object.assign||function(e){for(var t,a=1,n=arguments.length;a{"use strict";t.__esModule=!0,t.java=void 0;var n=a(6745),r=a(8108),o=a(1371),i=a(6593);t.java={info:{key:"java",title:"Java",extname:".java",default:"unirest"},clientsById:{asynchttp:n.asynchttp,nethttp:r.nethttp,okhttp:o.okhttp,unirest:i.unirest}}},6593:function(e,t,a){"use strict";var n=this&&this.__assign||function(){return n=Object.assign||function(e){for(var t,a=1,n=arguments.length;a response = Unirest.".concat(a.toLowerCase(),'("').concat(c,'")')):d('HttpResponse response = Unirest.customMethod("'.concat(a.toUpperCase(),'","').concat(c,'")')),Object.keys(i).forEach((function(e){d('.header("'.concat(e,'", "').concat((0,o.escapeForDoubleQuotes)(i[e]),'")'),1)})),s.text&&d(".body(".concat(JSON.stringify(s.text),")"),1),d(".asString();",1),u()}}},9526:function(e,t,a){"use strict";var n=this&&this.__assign||function(){return n=Object.assign||function(e){for(var t,a=1,n=arguments.length;a{"use strict";t.__esModule=!0,t.javascript=void 0;var n=a(9526),r=a(3780),o=a(5596),i=a(5602);t.javascript={info:{key:"javascript",title:"JavaScript",extname:".js",default:"xhr"},clientsById:{xhr:i.xhr,axios:n.axios,fetch:r.fetch,jquery:o.jquery}}},5602:function(e,t,a){"use strict";var n=this&&this.__assign||function(){return n=Object.assign||function(e){for(var t,a=1,n=arguments.length;a{"use strict";t.__esModule=!0,t.kotlin=void 0;var n=a(5078);t.kotlin={info:{key:"kotlin",title:"Kotlin",extname:".kt",default:"okhttp"},clientsById:{okhttp:n.okhttp}}},947:function(e,t,a){"use strict";var n=this&&this.__assign||function(){return n=Object.assign||function(e){for(var t,a=1,n=arguments.length;a{"use strict";t.__esModule=!0,t.node=void 0;var n=a(947),r=a(7541),o=a(76),i=a(3646),s=a(5841);t.node={info:{key:"node",title:"Node.js",extname:".js",default:"native"},clientsById:{native:o.native,request:i.request,unirest:s.unirest,axios:n.axios,fetch:r.fetch}}},5841:function(e,t,a){"use strict";var n=this&&this.__assign||function(){return n=Object.assign||function(e){for(var t,a=1,n=arguments.length;a{"use strict";t.__esModule=!0,t.literalRepresentation=t.nsDeclaration=void 0,t.nsDeclaration=function(e,a,n,r){var o="".concat(e," *").concat(a," = "),i=(0,t.literalRepresentation)(n,r?o.length:void 0);return"".concat(o).concat(i,";")},t.literalRepresentation=function(e,a){var n=void 0===a?", ":",\n ".concat(" ".repeat(a));switch(Object.prototype.toString.call(e)){case"[object Number]":return"@".concat(e);case"[object Array]":var r=e.map((function(e){return(0,t.literalRepresentation)(e)}));return"@[ ".concat(r.join(n)," ]");case"[object Object]":var o=[];for(var i in e)o.push('@"'.concat(i,'": ').concat((0,t.literalRepresentation)(e[i])));return"@{ ".concat(o.join(n)," }");case"[object Boolean]":return e?"@YES":"@NO";default:return null==e?"":'@"'.concat(e.toString().replace(/"/g,'\\"'),'"')}}},9399:function(e,t,a){"use strict";var n=this&&this.__assign||function(){return n=Object.assign||function(e){for(var t,a=1,n=arguments.length;a0)&&!(n=o.next()).done;)i.push(n.value)}catch(e){r={error:e}}finally{try{n&&!n.done&&(a=o.return)&&a.call(o)}finally{if(r)throw r.error}}return i};t.__esModule=!0,t.nsurlsession=void 0;var o=a(186),i=a(9004);t.nsurlsession={info:{key:"nsurlsession",title:"NSURLSession",link:"https://developer.apple.com/library/mac/documentation/Foundation/Reference/NSURLSession_class/index.html",description:"Foundation's NSURLSession request"},convert:function(e,t){var a,s=e.allHeaders,c=e.postData,p=e.method,l=e.fullUrl,u=n({indent:" ",pretty:!0,timeout:10},t),d=new o.CodeBuilder({indent:u.indent}),m=d.push,f=d.join,h=d.blank,y={hasHeaders:!1,hasBody:!1};if(m("#import "),Object.keys(s).length&&(y.hasHeaders=!0,h(),m((0,i.nsDeclaration)("NSDictionary","headers",s,u.pretty))),c.text||c.jsonObj||c.params)switch(y.hasBody=!0,c.mimeType){case"application/x-www-form-urlencoded":if(null===(a=c.params)||void 0===a?void 0:a.length){h();var v=r(c.params),g=v[0],b=v.slice(1);m('NSMutableData *postData = [[NSMutableData alloc] initWithData:[@"'.concat(g.name,"=").concat(g.value,'" dataUsingEncoding:NSUTF8StringEncoding]];')),b.forEach((function(e){var t=e.name,a=e.value;m('[postData appendData:[@"&'.concat(t,"=").concat(a,'" dataUsingEncoding:NSUTF8StringEncoding]];'))}))}else y.hasBody=!1;break;case"application/json":c.jsonObj&&(m((0,i.nsDeclaration)("NSDictionary","parameters",c.jsonObj,u.pretty)),h(),m("NSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];"));break;case"multipart/form-data":m((0,i.nsDeclaration)("NSArray","parameters",c.params||[],u.pretty)),m('NSString *boundary = @"'.concat(c.boundary,'";')),h(),m("NSError *error;"),m("NSMutableString *body = [NSMutableString string];"),m("for (NSDictionary *param in parameters) {"),m('[body appendFormat:@"--%@\\r\\n", boundary];',1),m('if (param[@"fileName"]) {',1),m('[body appendFormat:@"Content-Disposition:form-data; name=\\"%@\\"; filename=\\"%@\\"\\r\\n", param[@"name"], param[@"fileName"]];',2),m('[body appendFormat:@"Content-Type: %@\\r\\n\\r\\n", param[@"contentType"]];',2),m('[body appendFormat:@"%@", [NSString stringWithContentsOfFile:param[@"fileName"] encoding:NSUTF8StringEncoding error:&error]];',2),m("if (error) {",2),m('NSLog(@"%@", error);',3),m("}",2),m("} else {",1),m('[body appendFormat:@"Content-Disposition:form-data; name=\\"%@\\"\\r\\n\\r\\n", param[@"name"]];',2),m('[body appendFormat:@"%@", param[@"value"]];',2),m("}",1),m("}"),m('[body appendFormat:@"\\r\\n--%@--\\r\\n", boundary];'),m("NSData *postData = [body dataUsingEncoding:NSUTF8StringEncoding];");break;default:h(),m('NSData *postData = [[NSData alloc] initWithData:[@"'.concat(c.text,'" dataUsingEncoding:NSUTF8StringEncoding]];'))}return h(),m('NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"'.concat(l,'"]')),m(" cachePolicy:NSURLRequestUseProtocolCachePolicy"),m(" timeoutInterval:".concat(u.timeout.toFixed(1),"];")),m('[request setHTTPMethod:@"'.concat(p,'"];')),y.hasHeaders&&m("[request setAllHTTPHeaderFields:headers];"),y.hasBody&&m("[request setHTTPBody:postData];"),h(),m("NSURLSession *session = [NSURLSession sharedSession];"),m("NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request"),m(" completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {"),m(" if (error) {",1),m(' NSLog(@"%@", error);',2),m(" } else {",1),m(" NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;",2),m(' NSLog(@"%@", httpResponse);',2),m(" }",1),m(" }];"),m("[dataTask resume];"),f()}}},6888:(e,t,a)=>{"use strict";t.__esModule=!0,t.objc=void 0;var n=a(9399);t.objc={info:{key:"objc",title:"Objective-C",extname:".m",default:"nsurlsession"},clientsById:{nsurlsession:n.nsurlsession}}},777:function(e,t,a){"use strict";var n=this&&this.__assign||function(){return n=Object.assign||function(e){for(var t,a=1,n=arguments.length;a1&&(u("let headers = Header.add_list (Header.init ()) ["),f.forEach((function(e){u('("'.concat(e,'", "').concat((0,o.escapeForDoubleQuotes)(i[e]),'");'),1)})),u("] in")),s.text&&u("let body = Cohttp_lwt_body.of_string ".concat(JSON.stringify(s.text)," in")),d();var h=f.length?"~headers ":"",y=s.text?"~body ":"",v=["get","post","head","delete","patch","put","options"].includes(c.toLowerCase())?"`".concat(c.toUpperCase()):'(Code.method_of_string "'.concat(c,'")');return u("Client.call ".concat(h).concat(y).concat(v," uri")),u(">>= fun (res, body_stream) ->"),u("(* Do stuff with the result *)",1),m()}}},196:(e,t,a)=>{"use strict";t.__esModule=!0,t.ocaml=void 0;var n=a(777);t.ocaml={info:{key:"ocaml",title:"OCaml",extname:".ml",default:"cohttp"},clientsById:{cohttp:n.cohttp}}},437:(e,t,a)=>{"use strict";t.__esModule=!0,t.curl=void 0;var n=a(186),r=a(8910),o=a(6404);t.curl={info:{key:"curl",title:"cURL",link:"http://php.net/manual/en/book.curl.php",description:"PHP with ext-curl"},convert:function(e,t){var a=e.uriObj,i=e.postData,s=e.fullUrl,c=e.method,p=e.httpVersion,l=e.cookies,u=e.headersObj;void 0===t&&(t={});var d=t.closingTag,m=void 0!==d&&d,f=t.indent,h=void 0===f?" ":f,y=t.maxRedirects,v=void 0===y?10:y,g=t.namedErrors,b=void 0!==g&&g,x=t.noTags,w=void 0!==x&&x,j=t.shortTags,k=void 0!==j&&j,S=t.timeout,P=void 0===S?30:S,_=new n.CodeBuilder({indent:h}),T=_.push,O=_.blank,E=_.join;w||(T(k?" ").concat(n?JSON.stringify(t):t,","))}));var R=l.map((function(e){return"".concat(encodeURIComponent(e.name),"=").concat(encodeURIComponent(e.value))}));R.length&&q.push('CURLOPT_COOKIE => "'.concat(R.join("; "),'",'));var C=Object.keys(u).sort().map((function(e){return'"'.concat(e,": ").concat((0,r.escapeForDoubleQuotes)(u[e]),'"')}));return C.length&&(q.push("CURLOPT_HTTPHEADER => ["),q.push(C.join(",\n".concat(h).concat(h)),1),q.push("],")),T(q.join(),1),T("]);"),O(),T("$response = curl_exec($curl);"),T("$err = curl_error($curl);"),O(),T("curl_close($curl);"),O(),T("if ($err) {"),T(b?'echo array_flip(get_defined_constants(true)["curl"])[$err];':'echo "cURL Error #:" . $err;',1),T("} else {"),T("echo $response;",1),T("}"),!w&&m&&(O(),T("?>")),E()}}},9822:function(e,t,a){"use strict";var n=this&&this.__assign||function(){return n=Object.assign||function(e){for(var t,a=1,n=arguments.length;a ".concat((0,s.convertType)(c.paramsObj,m.indent+m.indent,m.indent),","),1);break;case"multipart/form-data":var j=[];if(c.params&&c.params.forEach((function(e){if(e.fileName){var t={name:e.name,filename:e.fileName,contents:e.value};e.contentType&&(t.headers={"Content-Type":e.contentType}),j.push(t)}else e.value&&j.push({name:e.name,contents:e.value})})),j.length&&(x("'multipart' => ".concat((0,s.convertType)(j,m.indent+m.indent,m.indent)),1),(0,i.hasHeader)(d,"content-type")&&(null===(a=(0,i.getHeader)(d,"content-type"))||void 0===a?void 0:a.indexOf("boundary")))){var k=(0,i.getHeaderName)(d,"content-type");k&&delete d[k]}break;default:c.text&&x("'body' => ".concat((0,s.convertType)(c.text),","),1)}var S=Object.keys(d).sort().map((function(e){return"".concat(m.indent).concat(m.indent,"'").concat(e,"' => '").concat((0,o.escapeForSingleQuotes)(d[e]),"',")})),P=u.map((function(e){return"".concat(encodeURIComponent(e.name),"=").concat(encodeURIComponent(e.value))})).join("; ");return P.length&&S.push("".concat(m.indent).concat(m.indent,"'cookie' => '").concat((0,o.escapeForSingleQuotes)(P),"',")),S.length&&(x("'headers' => [",1),x(S.join("\n")),x("],",1)),h("$client = new \\GuzzleHttp\\Client();"),y(),b.length?(h("$response = $client->request('".concat(l,"', '").concat(p,"', [")),h(w()),h("]);")):h("$response = $client->request('".concat(l,"', '").concat(p,"');")),y(),h("echo $response->getBody();"),!m.noTags&&m.closingTag&&(y(),h("?>")),v()}}},6404:(e,t,a)=>{"use strict";t.__esModule=!0,t.supportedMethods=t.convertType=void 0;var n=a(8910);t.convertType=function(e,a,r){switch(r=r||"",a=a||"",Object.prototype.toString.call(e)){case"[object Null]":case"[object Undefined]":default:return"null";case"[object String]":return"'".concat((0,n.escapeString)(e,{delimiter:"'",escapeNewlines:!1}),"'");case"[object Number]":return e.toString();case"[object Array]":var o=e.map((function(e){return(0,t.convertType)(e,"".concat(a).concat(a),a)})).join(",\n".concat(a));return"[\n".concat(a).concat(o,"\n").concat(r,"]");case"[object Object]":var i=[];for(var s in e)Object.prototype.hasOwnProperty.call(e,s)&&i.push("".concat((0,t.convertType)(s,a)," => ").concat((0,t.convertType)(e[s],"".concat(a).concat(a),a)));return"[\n".concat(a).concat(i.join(",\n".concat(a)),"\n").concat(r,"]")}},t.supportedMethods=["ACL","BASELINE_CONTROL","CHECKIN","CHECKOUT","CONNECT","COPY","DELETE","GET","HEAD","LABEL","LOCK","MERGE","MKACTIVITY","MKCOL","MKWORKSPACE","MOVE","OPTIONS","POST","PROPFIND","PROPPATCH","PUT","REPORT","TRACE","UNCHECKOUT","UNLOCK","UPDATE","VERSION_CONTROL"]},7426:(e,t,a)=>{"use strict";t.__esModule=!0,t.http1=void 0;var n=a(186),r=a(6404);t.http1={info:{key:"http1",title:"HTTP v1",link:"http://php.net/manual/en/book.http.php",description:"PHP with pecl/http v1"},convert:function(e,t){var a=e.method,o=e.url,i=e.postData,s=e.queryObj,c=e.headersObj,p=e.cookiesObj;void 0===t&&(t={});var l=t.closingTag,u=void 0!==l&&l,d=t.indent,m=void 0===d?" ":d,f=t.noTags,h=void 0!==f&&f,y=t.shortTags,v=void 0!==y&&y,g=new n.CodeBuilder({indent:m}),b=g.push,x=g.blank,w=g.join;switch(h||(b(v?"setUrl(".concat((0,r.convertType)(o),");")),r.supportedMethods.includes(a.toUpperCase())?b("$request->setMethod(HTTP_METH_".concat(a.toUpperCase(),");")):b("$request->setMethod(HttpRequest::HTTP_METH_".concat(a.toUpperCase(),");")),x(),Object.keys(s).length&&(b("$request->setQueryData(".concat((0,r.convertType)(s,m),");")),x()),Object.keys(c).length&&(b("$request->setHeaders(".concat((0,r.convertType)(c,m),");")),x()),Object.keys(p).length&&(b("$request->setCookies(".concat((0,r.convertType)(p,m),");")),x()),i.mimeType){case"application/x-www-form-urlencoded":b("$request->setContentType(".concat((0,r.convertType)(i.mimeType),");")),b("$request->setPostFields(".concat((0,r.convertType)(i.paramsObj,m),");")),x();break;case"application/json":b("$request->setContentType(".concat((0,r.convertType)(i.mimeType),");")),b("$request->setBody(json_encode(".concat((0,r.convertType)(i.jsonObj,m),"));")),x();break;default:i.text&&(b("$request->setBody(".concat((0,r.convertType)(i.text),");")),x())}return b("try {"),b("$response = $request->send();",1),x(),b("echo $response->getBody();",1),b("} catch (HttpException $ex) {"),b("echo $ex;",1),b("}"),!h&&u&&(x(),b("?>")),w()}}},2921:(e,t,a)=>{"use strict";t.__esModule=!0,t.http2=void 0;var n=a(186),r=a(7503),o=a(6404);t.http2={info:{key:"http2",title:"HTTP v2",link:"http://devel-m6w6.rhcloud.com/mdref/http",description:"PHP with pecl/http v2"},convert:function(e,t){var a,i=e.postData,s=e.headersObj,c=e.method,p=e.queryObj,l=e.cookiesObj,u=e.url;void 0===t&&(t={});var d=t.closingTag,m=void 0!==d&&d,f=t.indent,h=void 0===f?" ":f,y=t.noTags,v=void 0!==y&&y,g=t.shortTags,b=void 0!==g&&g,x=new n.CodeBuilder({indent:h}),w=x.push,j=x.blank,k=x.join,S=!1;switch(v||(w(b?"append(new http\\QueryString(".concat((0,o.convertType)(i.paramsObj,h),"));")),j(),S=!0;break;case"multipart/form-data":if(!i.params)break;var P=[],_={};i.params.forEach((function(e){var t=e.name,a=e.fileName,n=e.value,r=e.contentType;a?P.push({name:t,type:r,file:a,data:n}):n&&(_[t]=n)}));var T=Object.keys(_).length?(0,o.convertType)(_,h):"null",O=P.length?(0,o.convertType)(P,h):"null";if(w("$body = new http\\Message\\Body;"),w("$body->addForm(".concat(T,", ").concat(O,");")),(0,r.hasHeader)(s,"content-type")&&(null===(a=(0,r.getHeader)(s,"content-type"))||void 0===a?void 0:a.indexOf("boundary"))){var E=(0,r.getHeaderName)(s,"content-type");E&&delete s[E]}j(),S=!0;break;case"application/json":w("$body = new http\\Message\\Body;"),w("$body->append(json_encode(".concat((0,o.convertType)(i.jsonObj,h),"));")),S=!0;break;default:i.text&&(w("$body = new http\\Message\\Body;"),w("$body->append(".concat((0,o.convertType)(i.text),");")),j(),S=!0)}return w("$request->setRequestUrl(".concat((0,o.convertType)(u),");")),w("$request->setRequestMethod(".concat((0,o.convertType)(c),");")),S&&(w("$request->setBody($body);"),j()),Object.keys(p).length&&(w("$request->setQuery(new http\\QueryString(".concat((0,o.convertType)(p,h),"));")),j()),Object.keys(s).length&&(w("$request->setHeaders(".concat((0,o.convertType)(s,h),");")),j()),Object.keys(l).length&&(j(),w("$client->setCookies(".concat((0,o.convertType)(l,h),");")),j()),w("$client->enqueue($request)->send();"),w("$response = $client->getResponse();"),j(),w("echo $response->getBody();"),!v&&m&&(j(),w("?>")),k()}}},5488:(e,t,a)=>{"use strict";t.__esModule=!0,t.php=void 0;var n=a(437),r=a(9822),o=a(7426),i=a(2921);t.php={info:{key:"php",title:"PHP",extname:".php",default:"curl"},clientsById:{curl:n.curl,guzzle:r.guzzle,http1:o.http1,http2:i.http2}}},2517:(e,t,a)=>{"use strict";t.__esModule=!0,t.generatePowershellConvert=void 0;var n=a(186),r=a(8910),o=a(7503);t.generatePowershellConvert=function(e){return function(t){var a=t.method,i=t.headersObj,s=t.cookies,c=t.uriObj,p=t.fullUrl,l=t.postData,u=t.allHeaders,d=new n.CodeBuilder,m=d.push,f=d.join,h=["DEFAULT","DELETE","GET","HEAD","MERGE","OPTIONS","PATCH","POST","PUT","TRACE"].includes(a.toUpperCase())?"-Method":"-CustomMethod",y=[],v=Object.keys(i);return v.length&&(m("$headers=@{}"),v.forEach((function(e){"connection"!==e&&m('$headers.Add("'.concat(e,'", "').concat((0,r.escapeString)(i[e],{escapeChar:"`"}),'")'))})),y.push("-Headers $headers")),s.length&&(m("$session = New-Object Microsoft.PowerShell.Commands.WebRequestSession"),s.forEach((function(e){m("$cookie = New-Object System.Net.Cookie"),m("$cookie.Name = '".concat(e.name,"'")),m("$cookie.Value = '".concat(e.value,"'")),m("$cookie.Domain = '".concat(c.host,"'")),m("$session.Cookies.Add($cookie)")})),y.push("-WebSession $session")),l.text&&(y.push("-ContentType '".concat((0,r.escapeString)((0,o.getHeader)(u,"content-type"),{delimiter:"'",escapeChar:"`"}),"'")),y.push("-Body '".concat(l.text,"'"))),m("$response = ".concat(e," -Uri '").concat(p,"' ").concat(h," ").concat(a," ").concat(y.join(" "))),f()}}},4049:(e,t,a)=>{"use strict";t.__esModule=!0,t.restmethod=void 0;var n=a(2517);t.restmethod={info:{key:"restmethod",title:"Invoke-RestMethod",link:"https://docs.microsoft.com/en-us/powershell/module/Microsoft.PowerShell.Utility/Invoke-RestMethod",description:"Powershell Invoke-RestMethod client"},convert:(0,n.generatePowershellConvert)("Invoke-RestMethod")}},969:(e,t,a)=>{"use strict";t.__esModule=!0,t.powershell=void 0;var n=a(4049),r=a(965);t.powershell={info:{key:"powershell",title:"Powershell",extname:".ps1",default:"webrequest"},clientsById:{webrequest:r.webrequest,restmethod:n.restmethod}}},965:(e,t,a)=>{"use strict";t.__esModule=!0,t.webrequest=void 0;var n=a(2517);t.webrequest={info:{key:"webrequest",title:"Invoke-WebRequest",link:"https://docs.microsoft.com/en-us/powershell/module/Microsoft.PowerShell.Utility/Invoke-WebRequest",description:"Powershell Invoke-WebRequest client"},convert:(0,n.generatePowershellConvert)("Invoke-WebRequest")}},5352:(e,t)=>{"use strict";function a(e,t,a,n,r){var o=n.repeat(r),i=n.repeat(r-1),s=a?",\n".concat(o):", ",c="object"===e?"{":"[",p="object"===e?"}":"]";return a?"".concat(c,"\n").concat(o).concat(t.join(s),"\n").concat(i).concat(p):"object"===e&&t.length>0?"".concat(c," ").concat(t.join(s)," ").concat(p):"".concat(c).concat(t.join(s)).concat(p)}t.__esModule=!0,t.literalRepresentation=void 0,t.literalRepresentation=function(e,n,r){switch(r=void 0===r?1:r+1,Object.prototype.toString.call(e)){case"[object Number]":return e;case"[object Array]":var o=!1;return a("array",e.map((function(e){return"[object Object]"===Object.prototype.toString.call(e)&&(o=Object.keys(e).length>1),(0,t.literalRepresentation)(e,n,r)})),o,n.indent,r);case"[object Object]":var i=[];for(var s in e)i.push('"'.concat(s,'": ').concat((0,t.literalRepresentation)(e[s],n,r)));return a("object",i,n.pretty&&i.length>1,n.indent,r);case"[object Null]":return"None";case"[object Boolean]":return e?"True":"False";default:return null==e?"":'"'.concat(e.toString().replace(/"/g,'\\"'),'"')}}},698:(e,t,a)=>{"use strict";t.__esModule=!0,t.python3=void 0;var n=a(186),r=a(8910);t.python3={info:{key:"python3",title:"http.client",link:"https://docs.python.org/3/library/http.client.html",description:"Python3 HTTP Client"},convert:function(e,t){var a=e.uriObj,o=a.path,i=a.protocol,s=a.host,c=e.postData,p=e.allHeaders,l=e.method;void 0===t&&(t={});var u=t.insecureSkipVerify,d=void 0!==u&&u,m=new n.CodeBuilder,f=m.push,h=m.blank,y=m.join;if(f("import http.client"),d&&f("import ssl"),h(),"https:"===i){var v=d?", context = ssl._create_unverified_context()":"";f('conn = http.client.HTTPSConnection("'.concat(s,'"').concat(v,")")),h()}else f('conn = http.client.HTTPConnection("'.concat(s,'")')),h();var g=JSON.stringify(c.text);g&&(f("payload = ".concat(g)),h());var b=p,x=Object.keys(b).length;if(1===x)for(var w in b)f("headers = { '".concat(w,"': \"").concat((0,r.escapeForDoubleQuotes)(b[w]),'" }')),h();else if(x>1){var j=1;for(var w in f("headers = {"),b)j++!==x?f(" '".concat(w,"': \"").concat((0,r.escapeForDoubleQuotes)(b[w]),'",')):f(" '".concat(w,"': \"").concat((0,r.escapeForDoubleQuotes)(b[w]),'"'));f("}"),h()}return f(g&&x?'conn.request("'.concat(l,'", "').concat(o,'", payload, headers)'):g&&!x?'conn.request("'.concat(l,'", "').concat(o,'", payload)'):!g&&x?'conn.request("'.concat(l,'", "').concat(o,'", headers=headers)'):'conn.request("'.concat(l,'", "').concat(o,'")')),h(),f("res = conn.getresponse()"),f("data = res.read()"),h(),f('print(data.decode("utf-8"))'),y()}}},1657:function(e,t,a){"use strict";var n=this&&this.__assign||function(){return n=Object.assign||function(e){for(var t,a=1,n=arguments.length;a1){var A=1;for(var E in y("headers = {"),b)y(A!==O?'"'.concat(E,'": "').concat((0,o.escapeForDoubleQuotes)(b[E]),'",'):'"'.concat(E,'": "').concat((0,o.escapeForDoubleQuotes)(b[E]),'"'),1),A+=1;y("}"),v()}var q=c.includes(m)?"response = requests.".concat(m.toLowerCase(),"(url"):'response = requests.request("'.concat(m,'", url');return k&&(q+=S?", json=payload":", data=payload"),j&&(q+=", files=files"),O>0&&(q+=", headers=headers"),a&&(q+=", params=querystring"),y(q+=")"),v(),y("print(response.json())"),g()}}},2292:(e,t,a)=>{"use strict";t.__esModule=!0,t.python=void 0;var n=a(698),r=a(1657);t.python={info:{key:"python",title:"Python",extname:".py",default:"python3"},clientsById:{python3:n.python3,requests:r.requests}}},8935:function(e,t,a){"use strict";var n=this&&this.__read||function(e,t){var a="function"==typeof Symbol&&e[Symbol.iterator];if(!a)return e;var n,r,o=a.call(e),i=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)i.push(n.value)}catch(e){r={error:e}}finally{try{n&&!n.done&&(a=o.return)&&a.call(o)}finally{if(r)throw r.error}}return i};t.__esModule=!0,t.httr=void 0;var r=a(186),o=a(8910),i=a(7503);t.httr={info:{key:"httr",title:"httr",link:"https://cran.r-project.org/web/packages/httr/vignettes/quickstart.html",description:"httr: Tools for Working with URLs and HTTP"},convert:function(e,t){var a,s=e.url,c=e.queryObj,p=e.queryString,l=e.postData,u=e.allHeaders,d=e.method;void 0===t&&(t={});var m=new r.CodeBuilder({indent:null!==(a=t.indent)&&void 0!==a?a:" "}),f=m.push,h=m.blank,y=m.join;f("library(httr)"),h(),f('url <- "'.concat(s,'"')),h();var v=c;delete c.key;var g=Object.entries(v),b=g.length;if(1===b){var x=g[0];f("queryString <- list(".concat(x[0],' = "').concat(x[1],'")')),h()}else b>1&&(f("queryString <- list("),g.forEach((function(e,t){var a=n(e,2),r=a[0],o=a[1],i=t!==b-1?",":"";f("".concat(r,' = "').concat(o,'"').concat(i),1)})),f(")"),h());var w=JSON.stringify(l.text);if(w&&(f("payload <- ".concat(w)),h()),l.text||l.jsonObj||l.params)switch(l.mimeType){case"application/x-www-form-urlencoded":f('encode <- "form"'),h();break;case"application/json":f('encode <- "json"'),h();break;case"multipart/form-data":f('encode <- "multipart"'),h();break;default:f('encode <- "raw"'),h()}var j=(0,i.getHeader)(u,"cookie"),k=(0,i.getHeader)(u,"accept"),S=j?"set_cookies(`".concat(String(j).replace(/;/g,'", `').replace(/` /g,"`").replace(/[=]/g,'` = "'),'")'):void 0,P=k?'accept("'.concat((0,o.escapeForDoubleQuotes)(k),'")'):void 0,_='content_type("'.concat((0,o.escapeForDoubleQuotes)(l.mimeType),'")'),T=Object.entries(u).filter((function(e){var t=n(e,1)[0];return!["cookie","accept","content-type"].includes(t.toLowerCase())})).map((function(e){var t=n(e,2),a=t[0],r=t[1];return"'".concat(a,"' = '").concat((0,o.escapeForSingleQuotes)(r),"'")})).join(", "),O=T?"add_headers(".concat(T,")"):void 0,E='response <- VERB("'.concat(d,'", url');w&&(E+=", body = payload"),p.length&&(E+=", query = queryString");var A=[O,_,P,S].filter((function(e){return!!e})).join(", ");return A&&(E+=", ".concat(A)),(l.text||l.jsonObj||l.params)&&(E+=", encode = encode"),f(E+=")"),h(),f('content(response, "text")'),y()}}},7542:(e,t,a)=>{"use strict";t.__esModule=!0,t.r=void 0;var n=a(8935);t.r={info:{key:"r",title:"R",extname:".r",default:"httr"},clientsById:{httr:n.httr}}},7291:(e,t,a)=>{"use strict";t.__esModule=!0,t.faraday=void 0;var n=a(186),r=a(8910);t.faraday={info:{key:"faraday",title:"faraday",link:"https://github.com/lostisland/faraday",description:"Faraday HTTP client"},convert:function(e){var t=e.uriObj,a=e.queryObj,o=e.method,i=e.postData,s=e.allHeaders,c=new n.CodeBuilder,p=c.push,l=c.blank,u=c.join,d=o.toUpperCase();if(!["GET","POST","HEAD","DELETE","PATCH","PUT","OPTIONS","COPY","LOCK","UNLOCK","MOVE","TRACE"].includes(d))return p("# Faraday cannot currently run ".concat(d," requests. Please use another client.")),u();p("require 'faraday'"),l(),"application/x-www-form-urlencoded"===i.mimeType&&i.params&&(p("data = {"),i.params.forEach((function(e){p(" :".concat(e.name," => ").concat(JSON.stringify(e.value),","))})),p("}"),l()),p("conn = Faraday.new("),p(" url: '".concat(t.protocol,"//").concat(t.host,"',")),(s["content-type"]||s["Content-Type"])&&p(" headers: {'Content-Type' => '".concat(s["content-type"]||s["Content-Type"],"'}")),p(")"),l(),p("response = conn.".concat(d.toLowerCase(),"('").concat(t.pathname,"') do |req|"));var m=Object.keys(s);switch(m.length&&m.forEach((function(e){"content-type"!==e.toLowerCase()&&p(" req.headers['".concat(e,"'] = '").concat((0,r.escapeForSingleQuotes)(s[e]),"'"))})),Object.keys(a).forEach((function(e){var t=a[e];Array.isArray(t)?p(" req.params['".concat(e,"'] = ").concat(JSON.stringify(t))):p(" req.params['".concat(e,"'] = '").concat(t,"'"))})),i.mimeType){case"application/x-www-form-urlencoded":i.params&&p(" req.body = URI.encode_www_form(data)");break;case"application/json":i.jsonObj&&p(" req.body = ".concat(JSON.stringify(i.text)));break;default:i.text&&p(" req.body = ".concat(JSON.stringify(i.text)))}return p("end"),l(),p("puts response.status"),p("puts response.body"),u()}}},8940:(e,t,a)=>{"use strict";t.__esModule=!0,t.native=void 0;var n=a(186),r=a(8910);t.native={info:{key:"native",title:"net::http",link:"http://ruby-doc.org/stdlib-2.2.1/libdoc/net/http/rdoc/Net/HTTP.html",description:"Ruby HTTP client"},convert:function(e,t){var a=e.uriObj,o=e.method,i=e.fullUrl,s=e.postData,c=e.allHeaders;void 0===t&&(t={});var p=t.insecureSkipVerify,l=void 0!==p&&p,u=new n.CodeBuilder,d=u.push,m=u.blank,f=u.join;d("require 'uri'"),d("require 'net/http'"),m();var h=o.toUpperCase(),y=h.charAt(0)+h.substring(1).toLowerCase();["GET","POST","HEAD","DELETE","PATCH","PUT","OPTIONS","COPY","LOCK","UNLOCK","MOVE","TRACE"].includes(h)||(d("class Net::HTTP::".concat(y," < Net::HTTPRequest")),d(" METHOD = '".concat(h.toUpperCase(),"'")),d(" REQUEST_HAS_BODY = '".concat(s.text?"true":"false","'")),d(" RESPONSE_HAS_BODY = true"),d("end"),m()),d('url = URI("'.concat(i,'")')),m(),d("http = Net::HTTP.new(url.host, url.port)"),"https:"===a.protocol&&(d("http.use_ssl = true"),l&&d("http.verify_mode = OpenSSL::SSL::VERIFY_NONE")),m(),d("request = Net::HTTP::".concat(y,".new(url)"));var v=Object.keys(c);return v.length&&v.forEach((function(e){d('request["'.concat(e,"\"] = '").concat((0,r.escapeForSingleQuotes)(c[e]),"'"))})),s.text&&d("request.body = ".concat(JSON.stringify(s.text))),m(),d("response = http.request(request)"),d("puts response.read_body"),f()}}},7918:(e,t,a)=>{"use strict";t.__esModule=!0,t.ruby=void 0;var n=a(7291),r=a(8940);t.ruby={info:{key:"ruby",title:"Ruby",extname:".rb",default:"native"},clientsById:{native:r.native,faraday:n.faraday}}},5920:(e,t)=>{"use strict";function a(e,t,a,n,r){var o=n.repeat(r),i=n.repeat(r-1),s=a?",\n".concat(o):", ",c="object"===e?"json!({":"(",p="object"===e?"})":")";return a?"".concat(c,"\n").concat(o).concat(t.join(s),"\n").concat(i).concat(p):"".concat(c).concat(t.join(s)).concat(p)}t.__esModule=!0,t.literalRepresentation=void 0,t.literalRepresentation=function(e,n,r){switch(r=void 0===r?1:r+1,Object.prototype.toString.call(e)){case"[object Number]":return e;case"[object Array]":var o=!1;return a("array",e.map((function(e){return"[object Object]"===Object.prototype.toString.call(e)&&(o=Object.keys(e).length>1),(0,t.literalRepresentation)(e,n,r)})),o,n.indent,r);case"[object Object]":var i=[];for(var s in e)i.push('"'.concat(s,'": ').concat((0,t.literalRepresentation)(e[s],n,r)));return a("object",i,n.pretty&&i.length>1,n.indent,r);case"[object Null]":return"json!(null)";case"[object Boolean]":return e?"true":"false";default:return null==e?"":'"'.concat(e.toString().replace(/"/g,'\\"'),'"')}}},3974:function(e,t,a){"use strict";var n=this&&this.__assign||function(){return n=Object.assign||function(e){for(var t,a=1,n=arguments.length;a=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},o=this&&this.__read||function(e,t){var a="function"==typeof Symbol&&e[Symbol.iterator];if(!a)return e;var n,r,o=a.call(e),i=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)i.push(n.value)}catch(e){r={error:e}}finally{try{n&&!n.done&&(a=o.return)&&a.call(o)}finally{if(r)throw r.error}}return i};t.__esModule=!0,t.reqwest=void 0;var i=a(186),s=a(5920);t.reqwest={info:{key:"reqwest",title:"reqwest",link:"https://docs.rs/reqwest/latest/reqwest/",description:"reqwest HTTP library"},convert:function(e,t){var a,p,l,u,d,m,f,h,y,v,g=e.queryObj,b=e.url,x=e.postData,w=e.allHeaders,j=e.method,k=n({indent:" ",pretty:!0},t),S=0,P=new i.CodeBuilder({indent:k.indent}),_=P.push,T=P.blank,O=P.join,E=P.pushToLast,A=P.unshift;_("use reqwest;",S),T(),_("#[tokio::main]",S),_("pub async fn main() {",S),S+=1,_('let url = "'.concat(b,'";'),S),T();var q=!1;if(Object.keys(g).length){q=!0,_("let querystring = [",S),S+=1;try{for(var R=r(Object.entries(g)),C=R.next();!C.done;C=R.next()){var D=o(C.value,2),L=D[0],N=D[1];_('("'.concat(L,'", "').concat(N,'"),'),S)}}catch(e){a={error:e}}finally{try{C&&!C.done&&(p=R.return)&&p.call(R)}finally{if(a)throw a.error}}_("];",S-=1),T()}var U={},I={},M=!1,B=!1,z=!1,H=!1,F=!1;switch(x.mimeType){case"application/json":x.jsonObj&&_("let payload = ".concat((0,s.literalRepresentation)(x.jsonObj,k,S),";"),S),H=!0;break;case"multipart/form-data":if(F=!0,!x.params){_("let form = reqwest::multipart::Form::new()",S),_('.text("", "");',S+1);break}if(U={},x.params.forEach((function(e){e.fileName?(I[e.name]=e.fileName,M=!0):U[e.name]=e.value})),M){try{for(var $=r(c),W=$.next();!W.done;W=$.next())_(W.value,S)}catch(e){l={error:e}}finally{try{W&&!W.done&&(u=$.return)&&u.call($)}finally{if(l)throw l.error}}T()}_("let form = reqwest::multipart::Form::new()",S);try{for(var V=r(Object.entries(I)),G=V.next();!G.done;G=V.next()){var J=o(G.value,2),K=J[0],Q=J[1];_('.part("'.concat(K,'", file_to_part("').concat(Q,'").await)'),S+1)}}catch(e){d={error:e}}finally{try{G&&!G.done&&(m=V.return)&&m.call(V)}finally{if(d)throw d.error}}try{for(var Z=r(Object.entries(U)),Y=Z.next();!Y.done;Y=Z.next()){var X=o(Y.value,2);K=X[0],N=X[1],_('.text("'.concat(K,'", "').concat(N,'")'),S+1)}}catch(e){f={error:e}}finally{try{Y&&!Y.done&&(h=Z.return)&&h.call(Z)}finally{if(f)throw f.error}}E(";");break;default:if("application/x-www-form-urlencoded"===x.mimeType&&x.paramsObj){_("let payload = ".concat((0,s.literalRepresentation)(x.paramsObj,k,S),";"),S),B=!0;break}if(x.text){_("let payload = ".concat((0,s.literalRepresentation)(x.text,k,S),";"),S),z=!0;break}}(B||H||z)&&(A("use serde_json::json;"),T());var ee=!1;if(Object.keys(w).length){ee=!0,_("let mut headers = reqwest::header::HeaderMap::new();",S);try{for(var te=r(Object.entries(w)),ae=te.next();!ae.done;ae=te.next()){var ne=o(ae.value,2);L=ne[0],N=ne[1],"content-type"===L.toLowerCase()&&F||_('headers.insert("'.concat(L,'", ').concat((0,s.literalRepresentation)(N,k),".parse().unwrap());"),S)}}catch(e){y={error:e}}finally{try{ae&&!ae.done&&(v=te.return)&&v.call(te)}finally{if(y)throw y.error}}T()}switch(_("let client = reqwest::Client::new();",S),j){case"POST":_("let response = client.post(url)",S);break;case"GET":_("let response = client.get(url)",S);break;default:_('let response = client.request(reqwest::Method::from_str("'.concat(j,'").unwrap(), url)'),S),A("use std::str::FromStr;")}return q&&_(".query(&querystring)",S+1),F&&_(".multipart(form)",S+1),ee&&_(".headers(headers)",S+1),H&&_(".json(&payload)",S+1),B&&_(".form(&payload)",S+1),z&&_(".body(payload)",S+1),_(".send()",S+1),_(".await;",S+1),T(),_("let results = response.unwrap()",S),_(".json::()",S+1),_(".await",S+1),_(".unwrap();",S+1),T(),_("dbg!(results);",S),_("}\n"),O()}};var c=["async fn file_to_part(file_name: &'static str) -> reqwest::multipart::Part {"," let file = tokio::fs::File::open(file_name).await.unwrap();"," let stream = tokio_util::codec::FramedRead::new(file, tokio_util::codec::BytesCodec::new());"," let body = reqwest::Body::wrap_stream(stream);"," reqwest::multipart::Part::stream(body)"," .file_name(file_name)",' .mime_str("text/plain").unwrap()',"}"]},2940:(e,t,a)=>{"use strict";t.__esModule=!0,t.rust=void 0;var n=a(3974);t.rust={info:{key:"rust",title:"Rust",extname:".rs",default:"reqwest"},clientsById:{reqwest:n.reqwest}}},407:function(e,t,a){"use strict";var n=this&&this.__assign||function(){return n=Object.assign||function(e){for(var t,a=1,n=arguments.length;a2&&k)try{var N=JSON.parse(m.text);L=!0;var U=JSON.stringify(N,void 0,b);m.text.indexOf("'")>0?T("".concat(D," @- <{"use strict";t.__esModule=!0,t.shell=void 0;var n=a(407),r=a(2143),o=a(3004);t.shell={info:{key:"shell",title:"Shell",extname:".sh",default:"curl"},clientsById:{curl:n.curl,httpie:r.httpie,wget:o.wget}}},3004:function(e,t,a){"use strict";var n=this&&this.__assign||function(){return n=Object.assign||function(e){for(var t,a=1,n=arguments.length;a{"use strict";t.__esModule=!0,t.literalRepresentation=t.literalDeclaration=void 0;var a=function(e,t){return t.repeat(e)},n=function(e,t,n,r){var o=a(r,n),i=a(r-1,n),s=t?",\n".concat(o):", ";return t?"[\n".concat(o).concat(e.join(s),"\n").concat(i,"]"):"[".concat(e.join(s),"]")};t.literalDeclaration=function(e,a,n){return"let ".concat(e," = ").concat((0,t.literalRepresentation)(a,n))},t.literalRepresentation=function(e,a,r){switch(r=void 0===r?1:r+1,Object.prototype.toString.call(e)){case"[object Number]":return e;case"[object Array]":var o=!1,i=e.map((function(e){return"[object Object]"===Object.prototype.toString.call(e)&&(o=Object.keys(e).length>1),(0,t.literalRepresentation)(e,a,r)}));return n(i,o,a.indent,r);case"[object Object]":var s=[];for(var c in e)s.push('"'.concat(c,'": ').concat((0,t.literalRepresentation)(e[c],a,r)));return n(s,a.pretty&&s.length>1,a.indent,r);case"[object Boolean]":return e.toString();default:return null==e?"":'"'.concat(e.toString().replace(/"/g,'\\"'),'"')}}},6172:function(e,t,a){"use strict";var n=this&&this.__assign||function(){return n=Object.assign||function(e){for(var t,a=1,n=arguments.length;a0)&&!(n=o.next()).done;)i.push(n.value)}catch(e){r={error:e}}finally{try{n&&!n.done&&(a=o.return)&&a.call(o)}finally{if(r)throw r.error}}return i};t.__esModule=!0,t.nsurlsession=void 0;var o=a(186),i=a(491);t.nsurlsession={info:{key:"nsurlsession",title:"NSURLSession",link:"https://developer.apple.com/library/mac/documentation/Foundation/Reference/NSURLSession_class/index.html",description:"Foundation's NSURLSession request"},convert:function(e,t){var a,s=e.allHeaders,c=e.postData,p=e.fullUrl,l=e.method,u=n({indent:" ",pretty:!0,timeout:"10"},t),d=new o.CodeBuilder({indent:u.indent}),m=d.push,f=d.blank,h=d.join,y={hasHeaders:!1,hasBody:!1};if(m("import Foundation"),Object.keys(s).length&&(y.hasHeaders=!0,f(),m((0,i.literalDeclaration)("headers",s,u))),c.text||c.jsonObj||c.params)switch(y.hasBody=!0,c.mimeType){case"application/x-www-form-urlencoded":if(f(),null===(a=c.params)||void 0===a?void 0:a.length){var v=r(c.params),g=v[0],b=v.slice(1);m('let postData = NSMutableData(data: "'.concat(g.name,"=").concat(g.value,'".data(using: String.Encoding.utf8)!)')),b.forEach((function(e){var t=e.name,a=e.value;m('postData.append("&'.concat(t,"=").concat(a,'".data(using: String.Encoding.utf8)!)'))}))}else y.hasBody=!1;break;case"application/json":c.jsonObj&&(m("".concat((0,i.literalDeclaration)("parameters",c.jsonObj,u)," as [String : Any]")),f(),m("let postData = JSONSerialization.data(withJSONObject: parameters, options: [])"));break;case"multipart/form-data":m((0,i.literalDeclaration)("parameters",c.params,u)),f(),m('let boundary = "'.concat(c.boundary,'"')),f(),m('var body = ""'),m("var error: NSError? = nil"),m("for param in parameters {"),m('let paramName = param["name"]!',1),m('body += "--\\(boundary)\\r\\n"',1),m('body += "Content-Disposition:form-data; name=\\"\\(paramName)\\""',1),m('if let filename = param["fileName"] {',1),m('let contentType = param["content-type"]!',2),m("let fileContent = String(contentsOfFile: filename, encoding: String.Encoding.utf8)",2),m("if (error != nil) {",2),m("print(error as Any)",3),m("}",2),m('body += "; filename=\\"\\(filename)\\"\\r\\n"',2),m('body += "Content-Type: \\(contentType)\\r\\n\\r\\n"',2),m("body += fileContent",2),m('} else if let paramValue = param["value"] {',1),m('body += "\\r\\n\\r\\n\\(paramValue)"',2),m("}",1),m("}");break;default:f(),m('let postData = NSData(data: "'.concat(c.text,'".data(using: String.Encoding.utf8)!)'))}return f(),m('let request = NSMutableURLRequest(url: NSURL(string: "'.concat(p,'")! as URL,')),m(" cachePolicy: .useProtocolCachePolicy,"),m(" timeoutInterval: ".concat(parseInt(u.timeout,10).toFixed(1),")")),m('request.httpMethod = "'.concat(l,'"')),y.hasHeaders&&m("request.allHTTPHeaderFields = headers"),y.hasBody&&m("request.httpBody = postData as Data"),f(),m("let session = URLSession.shared"),m("let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in"),m("if (error != nil) {",1),m("print(error as Any)",2),m("} else {",1),m("let httpResponse = response as? HTTPURLResponse",2),m("print(httpResponse)",2),m("}",1),m("})"),f(),m("dataTask.resume()"),h()}}},6249:(e,t,a)=>{"use strict";t.__esModule=!0,t.swift=void 0;var n=a(6172);t.swift={info:{key:"swift",title:"Swift",extname:".swift",default:"nsurlsession"},clientsById:{nsurlsession:n.nsurlsession}}},3988:(e,t,a)=>{"use strict";t.__esModule=!0,t.addTargetClient=t.isClient=t.addTarget=t.isTarget=t.targets=void 0;var n=a(7591),r=a(4108),o=a(9538),i=a(2971),s=a(9016),c=a(3262),p=a(6366),l=a(4403),u=a(553),d=a(542),m=a(6888),f=a(196),h=a(5488),y=a(969),v=a(2292),g=a(7542),b=a(7918),x=a(2940),w=a(4490),j=a(6249);t.targets={c:n.c,clojure:r.clojure,crystal:o.crystal,csharp:i.csharp,go:s.go,http:c.http,java:p.java,javascript:l.javascript,kotlin:u.kotlin,node:d.node,objc:m.objc,ocaml:f.ocaml,php:h.php,powershell:y.powershell,python:v.python,r:g.r,ruby:b.ruby,rust:x.rust,shell:w.shell,swift:j.swift},t.isTarget=function(e){if("object"!=typeof e||null===e||Array.isArray(e)){var a=null===e?"null":Array.isArray(e)?"array":typeof e;throw new Error('you tried to add a target which is not an object, got type: "'.concat(a,'"'))}if(!Object.prototype.hasOwnProperty.call(e,"info"))throw new Error("targets must contain an `info` object");if(!Object.prototype.hasOwnProperty.call(e.info,"key"))throw new Error("targets must have an `info` object with the property `key`");if(!e.info.key)throw new Error("target key must be a unique string");if(Object.prototype.hasOwnProperty.call(t.targets,e.info.key))throw new Error("a target already exists with this key, `".concat(e.info.key,"`"));if(!Object.prototype.hasOwnProperty.call(e.info,"title"))throw new Error("targets must have an `info` object with the property `title`");if(!e.info.title)throw new Error("target title must be a non-zero-length string");if(!Object.prototype.hasOwnProperty.call(e.info,"extname"))throw new Error("targets must have an `info` object with the property `extname`");if(!Object.prototype.hasOwnProperty.call(e,"clientsById")||!e.clientsById||0===Object.keys(e.clientsById).length)throw new Error("No clients provided in target ".concat(e.info.key,". You must provide the property `clientsById` containg your clients."));if(!Object.prototype.hasOwnProperty.call(e.info,"default"))throw new Error("targets must have an `info` object with the property `default`");if(!Object.prototype.hasOwnProperty.call(e.clientsById,e.info.default))throw new Error("target ".concat(e.info.key," is configured with a default client ").concat(e.info.default,", but no such client was found in the property `clientsById` (found ").concat(JSON.stringify(Object.keys(e.clientsById)),")"));return Object.values(e.clientsById).forEach(t.isClient),!0},t.addTarget=function(e){(0,t.isTarget)(e)&&(t.targets[e.info.key]=e)},t.isClient=function(e){if(!e)throw new Error("clients must be objects");if(!Object.prototype.hasOwnProperty.call(e,"info"))throw new Error("targets client must contain an `info` object");if(!Object.prototype.hasOwnProperty.call(e.info,"key"))throw new Error("targets client must have an `info` object with property `key`");if(!e.info.key)throw new Error("client.info.key must contain an identifier unique to this target");if(!Object.prototype.hasOwnProperty.call(e.info,"title"))throw new Error("targets client must have an `info` object with property `title`");if(!Object.prototype.hasOwnProperty.call(e.info,"description"))throw new Error("targets client must have an `info` object with property `description`");if(!Object.prototype.hasOwnProperty.call(e.info,"link"))throw new Error("targets client must have an `info` object with property `link`");if(!Object.prototype.hasOwnProperty.call(e,"convert")||"function"!=typeof e.convert)throw new Error("targets client must have a `convert` property containing a conversion function");return!0},t.addTargetClient=function(e,a){if((0,t.isClient)(a)){if(!Object.prototype.hasOwnProperty.call(t.targets,e))throw new Error("Sorry, but no ".concat(e," target exists to add clients to"));if(Object.prototype.hasOwnProperty.call(t.targets[e],a.info.key))throw new Error("the target ".concat(e," already has a client with the key ").concat(a.info.key,", please use a different key"));t.targets[e].clientsById[a.info.key]=a}}},1873:(e,t,a)=>{e.exports={parallel:a(8798),serial:a(2081),serialOrdered:a(28)}},4555:e=>{function t(e){"function"==typeof this.jobs[e]&&this.jobs[e]()}e.exports=function(e){Object.keys(e.jobs).forEach(t.bind(e)),e.jobs={}}},2313:(e,t,a)=>{var n=a(405);e.exports=function(e){var t=!1;return n((function(){t=!0})),function(a,r){t?e(a,r):n((function(){e(a,r)}))}}},405:(e,t,a)=>{var n=a(5606);e.exports=function(e){var t="function"==typeof setImmediate?setImmediate:"object"==typeof n&&"function"==typeof n.nextTick?n.nextTick:null;t?t(e):setTimeout(e,0)}},8051:(e,t,a)=>{var n=a(2313),r=a(4555);e.exports=function(e,t,a,o){var i=a.keyedList?a.keyedList[a.index]:a.index;a.jobs[i]=function(e,t,a,r){return 2==e.length?e(a,n(r)):e(a,t,n(r))}(t,i,e[i],(function(e,t){i in a.jobs&&(delete a.jobs[i],e?r(a):a.results[i]=t,o(e,a.results))}))}},9500:e=>{e.exports=function(e,t){var a=!Array.isArray(e),n={index:0,keyedList:a||t?Object.keys(e):null,jobs:{},results:a?{}:[],size:a?Object.keys(e).length:e.length};return t&&n.keyedList.sort(a?t:function(a,n){return t(e[a],e[n])}),n}},6276:(e,t,a)=>{var n=a(4555),r=a(2313);e.exports=function(e){Object.keys(this.jobs).length&&(this.index=this.size,n(this),r(e)(null,this.results))}},8798:(e,t,a)=>{var n=a(8051),r=a(9500),o=a(6276);e.exports=function(e,t,a){for(var i=r(e);i.index<(i.keyedList||e).length;)n(e,t,i,(function(e,t){e?a(e,t):0!==Object.keys(i.jobs).length||a(null,i.results)})),i.index++;return o.bind(i,a)}},2081:(e,t,a)=>{var n=a(28);e.exports=function(e,t,a){return n(e,t,null,a)}},28:(e,t,a)=>{var n=a(8051),r=a(9500),o=a(6276);function i(e,t){return et?1:0}e.exports=function(e,t,a,i){var s=r(e,a);return n(e,t,s,(function a(r,o){r?i(r,o):(s.index++,s.index<(s.keyedList||e).length?n(e,t,s,a):i(null,s.results))})),o.bind(s,i)},e.exports.ascending=i,e.exports.descending=function(e,t){return-1*i(e,t)}},7526:(e,t)=>{"use strict";t.byteLength=function(e){var t=s(e),a=t[0],n=t[1];return 3*(a+n)/4-n},t.toByteArray=function(e){var t,a,o=s(e),i=o[0],c=o[1],p=new r(function(e,t,a){return 3*(t+a)/4-a}(0,i,c)),l=0,u=c>0?i-4:i;for(a=0;a>16&255,p[l++]=t>>8&255,p[l++]=255&t;return 2===c&&(t=n[e.charCodeAt(a)]<<2|n[e.charCodeAt(a+1)]>>4,p[l++]=255&t),1===c&&(t=n[e.charCodeAt(a)]<<10|n[e.charCodeAt(a+1)]<<4|n[e.charCodeAt(a+2)]>>2,p[l++]=t>>8&255,p[l++]=255&t),p},t.fromByteArray=function(e){for(var t,n=e.length,r=n%3,o=[],i=16383,s=0,p=n-r;sp?p:s+i));return 1===r?(t=e[n-1],o.push(a[t>>2]+a[t<<4&63]+"==")):2===r&&(t=(e[n-2]<<8)+e[n-1],o.push(a[t>>10]+a[t>>4&63]+a[t<<2&63]+"=")),o.join("")};for(var a=[],n=[],r="undefined"!=typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",i=0;i<64;++i)a[i]=o[i],n[o.charCodeAt(i)]=i;function s(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var a=e.indexOf("=");return-1===a&&(a=t),[a,a===t?0:4-a%4]}function c(e,t,n){for(var r,o,i=[],s=t;s>18&63]+a[o>>12&63]+a[o>>6&63]+a[63&o]);return i.join("")}n["-".charCodeAt(0)]=62,n["_".charCodeAt(0)]=63},8287:(e,t,a)=>{"use strict";const n=a(7526),r=a(251),o="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;t.Buffer=c,t.SlowBuffer=function(e){return+e!=e&&(e=0),c.alloc(+e)},t.INSPECT_MAX_BYTES=50;const i=2147483647;function s(e){if(e>i)throw new RangeError('The value "'+e+'" is invalid for option "size"');const t=new Uint8Array(e);return Object.setPrototypeOf(t,c.prototype),t}function c(e,t,a){if("number"==typeof e){if("string"==typeof t)throw new TypeError('The "string" argument must be of type string. Received type number');return u(e)}return p(e,t,a)}function p(e,t,a){if("string"==typeof e)return function(e,t){if("string"==typeof t&&""!==t||(t="utf8"),!c.isEncoding(t))throw new TypeError("Unknown encoding: "+t);const a=0|h(e,t);let n=s(a);const r=n.write(e,t);return r!==a&&(n=n.slice(0,r)),n}(e,t);if(ArrayBuffer.isView(e))return function(e){if(K(e,Uint8Array)){const t=new Uint8Array(e);return m(t.buffer,t.byteOffset,t.byteLength)}return d(e)}(e);if(null==e)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(K(e,ArrayBuffer)||e&&K(e.buffer,ArrayBuffer))return m(e,t,a);if("undefined"!=typeof SharedArrayBuffer&&(K(e,SharedArrayBuffer)||e&&K(e.buffer,SharedArrayBuffer)))return m(e,t,a);if("number"==typeof e)throw new TypeError('The "value" argument must not be of type number. Received type number');const n=e.valueOf&&e.valueOf();if(null!=n&&n!==e)return c.from(n,t,a);const r=function(e){if(c.isBuffer(e)){const t=0|f(e.length),a=s(t);return 0===a.length||e.copy(a,0,0,t),a}return void 0!==e.length?"number"!=typeof e.length||Q(e.length)?s(0):d(e):"Buffer"===e.type&&Array.isArray(e.data)?d(e.data):void 0}(e);if(r)return r;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return c.from(e[Symbol.toPrimitive]("string"),t,a);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function l(e){if("number"!=typeof e)throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function u(e){return l(e),s(e<0?0:0|f(e))}function d(e){const t=e.length<0?0:0|f(e.length),a=s(t);for(let n=0;n=i)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+i.toString(16)+" bytes");return 0|e}function h(e,t){if(c.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||K(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);const a=e.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===a)return 0;let r=!1;for(;;)switch(t){case"ascii":case"latin1":case"binary":return a;case"utf8":case"utf-8":return V(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*a;case"hex":return a>>>1;case"base64":return G(e).length;default:if(r)return n?-1:V(e).length;t=(""+t).toLowerCase(),r=!0}}function y(e,t,a){let n=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===a||a>this.length)&&(a=this.length),a<=0)return"";if((a>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return A(this,t,a);case"utf8":case"utf-8":return _(this,t,a);case"ascii":return O(this,t,a);case"latin1":case"binary":return E(this,t,a);case"base64":return P(this,t,a);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return q(this,t,a);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}function v(e,t,a){const n=e[t];e[t]=e[a],e[a]=n}function g(e,t,a,n,r){if(0===e.length)return-1;if("string"==typeof a?(n=a,a=0):a>2147483647?a=2147483647:a<-2147483648&&(a=-2147483648),Q(a=+a)&&(a=r?0:e.length-1),a<0&&(a=e.length+a),a>=e.length){if(r)return-1;a=e.length-1}else if(a<0){if(!r)return-1;a=0}if("string"==typeof t&&(t=c.from(t,n)),c.isBuffer(t))return 0===t.length?-1:b(e,t,a,n,r);if("number"==typeof t)return t&=255,"function"==typeof Uint8Array.prototype.indexOf?r?Uint8Array.prototype.indexOf.call(e,t,a):Uint8Array.prototype.lastIndexOf.call(e,t,a):b(e,[t],a,n,r);throw new TypeError("val must be string, number or Buffer")}function b(e,t,a,n,r){let o,i=1,s=e.length,c=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return-1;i=2,s/=2,c/=2,a/=2}function p(e,t){return 1===i?e[t]:e.readUInt16BE(t*i)}if(r){let n=-1;for(o=a;os&&(a=s-c),o=a;o>=0;o--){let a=!0;for(let n=0;nr&&(n=r):n=r;const o=t.length;let i;for(n>o/2&&(n=o/2),i=0;i>8,r=a%256,o.push(r),o.push(n);return o}(t,e.length-a),e,a,n)}function P(e,t,a){return 0===t&&a===e.length?n.fromByteArray(e):n.fromByteArray(e.slice(t,a))}function _(e,t,a){a=Math.min(e.length,a);const n=[];let r=t;for(;r239?4:t>223?3:t>191?2:1;if(r+i<=a){let a,n,s,c;switch(i){case 1:t<128&&(o=t);break;case 2:a=e[r+1],128==(192&a)&&(c=(31&t)<<6|63&a,c>127&&(o=c));break;case 3:a=e[r+1],n=e[r+2],128==(192&a)&&128==(192&n)&&(c=(15&t)<<12|(63&a)<<6|63&n,c>2047&&(c<55296||c>57343)&&(o=c));break;case 4:a=e[r+1],n=e[r+2],s=e[r+3],128==(192&a)&&128==(192&n)&&128==(192&s)&&(c=(15&t)<<18|(63&a)<<12|(63&n)<<6|63&s,c>65535&&c<1114112&&(o=c))}}null===o?(o=65533,i=1):o>65535&&(o-=65536,n.push(o>>>10&1023|55296),o=56320|1023&o),n.push(o),r+=i}return function(e){const t=e.length;if(t<=T)return String.fromCharCode.apply(String,e);let a="",n=0;for(;nn.length?(c.isBuffer(t)||(t=c.from(t)),t.copy(n,r)):Uint8Array.prototype.set.call(n,t,r);else{if(!c.isBuffer(t))throw new TypeError('"list" argument must be an Array of Buffers');t.copy(n,r)}r+=t.length}return n},c.byteLength=h,c.prototype._isBuffer=!0,c.prototype.swap16=function(){const e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let t=0;ta&&(e+=" ... "),""},o&&(c.prototype[o]=c.prototype.inspect),c.prototype.compare=function(e,t,a,n,r){if(K(e,Uint8Array)&&(e=c.from(e,e.offset,e.byteLength)),!c.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===a&&(a=e?e.length:0),void 0===n&&(n=0),void 0===r&&(r=this.length),t<0||a>e.length||n<0||r>this.length)throw new RangeError("out of range index");if(n>=r&&t>=a)return 0;if(n>=r)return-1;if(t>=a)return 1;if(this===e)return 0;let o=(r>>>=0)-(n>>>=0),i=(a>>>=0)-(t>>>=0);const s=Math.min(o,i),p=this.slice(n,r),l=e.slice(t,a);for(let e=0;e>>=0,isFinite(a)?(a>>>=0,void 0===n&&(n="utf8")):(n=a,a=void 0)}const r=this.length-t;if((void 0===a||a>r)&&(a=r),e.length>0&&(a<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");let o=!1;for(;;)switch(n){case"hex":return x(this,e,t,a);case"utf8":case"utf-8":return w(this,e,t,a);case"ascii":case"latin1":case"binary":return j(this,e,t,a);case"base64":return k(this,e,t,a);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return S(this,e,t,a);default:if(o)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),o=!0}},c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};const T=4096;function O(e,t,a){let n="";a=Math.min(e.length,a);for(let r=t;rn)&&(a=n);let r="";for(let n=t;na)throw new RangeError("Trying to access beyond buffer length")}function C(e,t,a,n,r,o){if(!c.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>r||te.length)throw new RangeError("Index out of range")}function D(e,t,a,n,r){H(t,n,r,e,a,7);let o=Number(t&BigInt(4294967295));e[a++]=o,o>>=8,e[a++]=o,o>>=8,e[a++]=o,o>>=8,e[a++]=o;let i=Number(t>>BigInt(32)&BigInt(4294967295));return e[a++]=i,i>>=8,e[a++]=i,i>>=8,e[a++]=i,i>>=8,e[a++]=i,a}function L(e,t,a,n,r){H(t,n,r,e,a,7);let o=Number(t&BigInt(4294967295));e[a+7]=o,o>>=8,e[a+6]=o,o>>=8,e[a+5]=o,o>>=8,e[a+4]=o;let i=Number(t>>BigInt(32)&BigInt(4294967295));return e[a+3]=i,i>>=8,e[a+2]=i,i>>=8,e[a+1]=i,i>>=8,e[a]=i,a+8}function N(e,t,a,n,r,o){if(a+n>e.length)throw new RangeError("Index out of range");if(a<0)throw new RangeError("Index out of range")}function U(e,t,a,n,o){return t=+t,a>>>=0,o||N(e,0,a,4),r.write(e,t,a,n,23,4),a+4}function I(e,t,a,n,o){return t=+t,a>>>=0,o||N(e,0,a,8),r.write(e,t,a,n,52,8),a+8}c.prototype.slice=function(e,t){const a=this.length;(e=~~e)<0?(e+=a)<0&&(e=0):e>a&&(e=a),(t=void 0===t?a:~~t)<0?(t+=a)<0&&(t=0):t>a&&(t=a),t>>=0,t>>>=0,a||R(e,t,this.length);let n=this[e],r=1,o=0;for(;++o>>=0,t>>>=0,a||R(e,t,this.length);let n=this[e+--t],r=1;for(;t>0&&(r*=256);)n+=this[e+--t]*r;return n},c.prototype.readUint8=c.prototype.readUInt8=function(e,t){return e>>>=0,t||R(e,1,this.length),this[e]},c.prototype.readUint16LE=c.prototype.readUInt16LE=function(e,t){return e>>>=0,t||R(e,2,this.length),this[e]|this[e+1]<<8},c.prototype.readUint16BE=c.prototype.readUInt16BE=function(e,t){return e>>>=0,t||R(e,2,this.length),this[e]<<8|this[e+1]},c.prototype.readUint32LE=c.prototype.readUInt32LE=function(e,t){return e>>>=0,t||R(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},c.prototype.readUint32BE=c.prototype.readUInt32BE=function(e,t){return e>>>=0,t||R(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},c.prototype.readBigUInt64LE=Y((function(e){F(e>>>=0,"offset");const t=this[e],a=this[e+7];void 0!==t&&void 0!==a||$(e,this.length-8);const n=t+256*this[++e]+65536*this[++e]+this[++e]*2**24,r=this[++e]+256*this[++e]+65536*this[++e]+a*2**24;return BigInt(n)+(BigInt(r)<>>=0,"offset");const t=this[e],a=this[e+7];void 0!==t&&void 0!==a||$(e,this.length-8);const n=t*2**24+65536*this[++e]+256*this[++e]+this[++e],r=this[++e]*2**24+65536*this[++e]+256*this[++e]+a;return(BigInt(n)<>>=0,t>>>=0,a||R(e,t,this.length);let n=this[e],r=1,o=0;for(;++o=r&&(n-=Math.pow(2,8*t)),n},c.prototype.readIntBE=function(e,t,a){e>>>=0,t>>>=0,a||R(e,t,this.length);let n=t,r=1,o=this[e+--n];for(;n>0&&(r*=256);)o+=this[e+--n]*r;return r*=128,o>=r&&(o-=Math.pow(2,8*t)),o},c.prototype.readInt8=function(e,t){return e>>>=0,t||R(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},c.prototype.readInt16LE=function(e,t){e>>>=0,t||R(e,2,this.length);const a=this[e]|this[e+1]<<8;return 32768&a?4294901760|a:a},c.prototype.readInt16BE=function(e,t){e>>>=0,t||R(e,2,this.length);const a=this[e+1]|this[e]<<8;return 32768&a?4294901760|a:a},c.prototype.readInt32LE=function(e,t){return e>>>=0,t||R(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},c.prototype.readInt32BE=function(e,t){return e>>>=0,t||R(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},c.prototype.readBigInt64LE=Y((function(e){F(e>>>=0,"offset");const t=this[e],a=this[e+7];void 0!==t&&void 0!==a||$(e,this.length-8);const n=this[e+4]+256*this[e+5]+65536*this[e+6]+(a<<24);return(BigInt(n)<>>=0,"offset");const t=this[e],a=this[e+7];void 0!==t&&void 0!==a||$(e,this.length-8);const n=(t<<24)+65536*this[++e]+256*this[++e]+this[++e];return(BigInt(n)<>>=0,t||R(e,4,this.length),r.read(this,e,!0,23,4)},c.prototype.readFloatBE=function(e,t){return e>>>=0,t||R(e,4,this.length),r.read(this,e,!1,23,4)},c.prototype.readDoubleLE=function(e,t){return e>>>=0,t||R(e,8,this.length),r.read(this,e,!0,52,8)},c.prototype.readDoubleBE=function(e,t){return e>>>=0,t||R(e,8,this.length),r.read(this,e,!1,52,8)},c.prototype.writeUintLE=c.prototype.writeUIntLE=function(e,t,a,n){e=+e,t>>>=0,a>>>=0,n||C(this,e,t,a,Math.pow(2,8*a)-1,0);let r=1,o=0;for(this[t]=255&e;++o>>=0,a>>>=0,n||C(this,e,t,a,Math.pow(2,8*a)-1,0);let r=a-1,o=1;for(this[t+r]=255&e;--r>=0&&(o*=256);)this[t+r]=e/o&255;return t+a},c.prototype.writeUint8=c.prototype.writeUInt8=function(e,t,a){return e=+e,t>>>=0,a||C(this,e,t,1,255,0),this[t]=255&e,t+1},c.prototype.writeUint16LE=c.prototype.writeUInt16LE=function(e,t,a){return e=+e,t>>>=0,a||C(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},c.prototype.writeUint16BE=c.prototype.writeUInt16BE=function(e,t,a){return e=+e,t>>>=0,a||C(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},c.prototype.writeUint32LE=c.prototype.writeUInt32LE=function(e,t,a){return e=+e,t>>>=0,a||C(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},c.prototype.writeUint32BE=c.prototype.writeUInt32BE=function(e,t,a){return e=+e,t>>>=0,a||C(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},c.prototype.writeBigUInt64LE=Y((function(e,t=0){return D(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))})),c.prototype.writeBigUInt64BE=Y((function(e,t=0){return L(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))})),c.prototype.writeIntLE=function(e,t,a,n){if(e=+e,t>>>=0,!n){const n=Math.pow(2,8*a-1);C(this,e,t,a,n-1,-n)}let r=0,o=1,i=0;for(this[t]=255&e;++r>>=0,!n){const n=Math.pow(2,8*a-1);C(this,e,t,a,n-1,-n)}let r=a-1,o=1,i=0;for(this[t+r]=255&e;--r>=0&&(o*=256);)e<0&&0===i&&0!==this[t+r+1]&&(i=1),this[t+r]=(e/o|0)-i&255;return t+a},c.prototype.writeInt8=function(e,t,a){return e=+e,t>>>=0,a||C(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},c.prototype.writeInt16LE=function(e,t,a){return e=+e,t>>>=0,a||C(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},c.prototype.writeInt16BE=function(e,t,a){return e=+e,t>>>=0,a||C(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},c.prototype.writeInt32LE=function(e,t,a){return e=+e,t>>>=0,a||C(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},c.prototype.writeInt32BE=function(e,t,a){return e=+e,t>>>=0,a||C(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},c.prototype.writeBigInt64LE=Y((function(e,t=0){return D(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),c.prototype.writeBigInt64BE=Y((function(e,t=0){return L(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),c.prototype.writeFloatLE=function(e,t,a){return U(this,e,t,!0,a)},c.prototype.writeFloatBE=function(e,t,a){return U(this,e,t,!1,a)},c.prototype.writeDoubleLE=function(e,t,a){return I(this,e,t,!0,a)},c.prototype.writeDoubleBE=function(e,t,a){return I(this,e,t,!1,a)},c.prototype.copy=function(e,t,a,n){if(!c.isBuffer(e))throw new TypeError("argument should be a Buffer");if(a||(a=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n=this.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t>>=0,a=void 0===a?this.length:a>>>0,e||(e=0),"number"==typeof e)for(r=t;r=n+4;a-=3)t=`_${e.slice(a-3,a)}${t}`;return`${e.slice(0,a)}${t}`}function H(e,t,a,n,r,o){if(e>a||e3?0===t||t===BigInt(0)?`>= 0${n} and < 2${n} ** ${8*(o+1)}${n}`:`>= -(2${n} ** ${8*(o+1)-1}${n}) and < 2 ** ${8*(o+1)-1}${n}`:`>= ${t}${n} and <= ${a}${n}`,new M.ERR_OUT_OF_RANGE("value",r,e)}!function(e,t,a){F(t,"offset"),void 0!==e[t]&&void 0!==e[t+a]||$(t,e.length-(a+1))}(n,r,o)}function F(e,t){if("number"!=typeof e)throw new M.ERR_INVALID_ARG_TYPE(t,"number",e)}function $(e,t,a){if(Math.floor(e)!==e)throw F(e,a),new M.ERR_OUT_OF_RANGE(a||"offset","an integer",e);if(t<0)throw new M.ERR_BUFFER_OUT_OF_BOUNDS;throw new M.ERR_OUT_OF_RANGE(a||"offset",`>= ${a?1:0} and <= ${t}`,e)}B("ERR_BUFFER_OUT_OF_BOUNDS",(function(e){return e?`${e} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"}),RangeError),B("ERR_INVALID_ARG_TYPE",(function(e,t){return`The "${e}" argument must be of type number. Received type ${typeof t}`}),TypeError),B("ERR_OUT_OF_RANGE",(function(e,t,a){let n=`The value of "${e}" is out of range.`,r=a;return Number.isInteger(a)&&Math.abs(a)>2**32?r=z(String(a)):"bigint"==typeof a&&(r=String(a),(a>BigInt(2)**BigInt(32)||a<-(BigInt(2)**BigInt(32)))&&(r=z(r)),r+="n"),n+=` It must be ${t}. Received ${r}`,n}),RangeError);const W=/[^+/0-9A-Za-z-_]/g;function V(e,t){let a;t=t||1/0;const n=e.length;let r=null;const o=[];for(let i=0;i55295&&a<57344){if(!r){if(a>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(i+1===n){(t-=3)>-1&&o.push(239,191,189);continue}r=a;continue}if(a<56320){(t-=3)>-1&&o.push(239,191,189),r=a;continue}a=65536+(r-55296<<10|a-56320)}else r&&(t-=3)>-1&&o.push(239,191,189);if(r=null,a<128){if((t-=1)<0)break;o.push(a)}else if(a<2048){if((t-=2)<0)break;o.push(a>>6|192,63&a|128)}else if(a<65536){if((t-=3)<0)break;o.push(a>>12|224,a>>6&63|128,63&a|128)}else{if(!(a<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(a>>18|240,a>>12&63|128,a>>6&63|128,63&a|128)}}return o}function G(e){return n.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(W,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function J(e,t,a,n){let r;for(r=0;r=t.length||r>=e.length);++r)t[r+a]=e[r];return r}function K(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}function Q(e){return e!=e}const Z=function(){const e="0123456789abcdef",t=new Array(256);for(let a=0;a<16;++a){const n=16*a;for(let r=0;r<16;++r)t[n+r]=e[a]+e[r]}return t}();function Y(e){return"undefined"==typeof BigInt?X:e}function X(){throw new Error("BigInt not supported")}},6866:e=>{e.exports={100:"Continue",101:"Switching Protocols",102:"Processing",200:"OK",201:"Created",202:"Accepted",203:"Non-Authoritative Information",204:"No Content",205:"Reset Content",206:"Partial Content",207:"Multi-Status",208:"Already Reported",226:"IM Used",300:"Multiple Choices",301:"Moved Permanently",302:"Found",303:"See Other",304:"Not Modified",305:"Use Proxy",307:"Temporary Redirect",308:"Permanent Redirect",400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",406:"Not Acceptable",407:"Proxy Authentication Required",408:"Request Timeout",409:"Conflict",410:"Gone",411:"Length Required",412:"Precondition Failed",413:"Payload Too Large",414:"URI Too Long",415:"Unsupported Media Type",416:"Range Not Satisfiable",417:"Expectation Failed",418:"I'm a teapot",421:"Misdirected Request",422:"Unprocessable Entity",423:"Locked",424:"Failed Dependency",425:"Unordered Collection",426:"Upgrade Required",428:"Precondition Required",429:"Too Many Requests",431:"Request Header Fields Too Large",451:"Unavailable For Legal Reasons",500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Timeout",505:"HTTP Version Not Supported",506:"Variant Also Negotiates",507:"Insufficient Storage",508:"Loop Detected",509:"Bandwidth Limit Exceeded",510:"Not Extended",511:"Network Authentication Required"}},8075:(e,t,a)=>{"use strict";var n=a(453),r=a(487),o=r(n("String.prototype.indexOf"));e.exports=function(e,t){var a=n(e,!!t);return"function"==typeof a&&o(e,".prototype.")>-1?r(a):a}},487:(e,t,a)=>{"use strict";var n=a(6743),r=a(453),o=a(6897),i=a(9675),s=r("%Function.prototype.apply%"),c=r("%Function.prototype.call%"),p=r("%Reflect.apply%",!0)||n.call(c,s),l=a(655),u=r("%Math.max%");e.exports=function(e){if("function"!=typeof e)throw new i("a function is required");var t=p(n,c,arguments);return o(t,1+u(0,e.length-(arguments.length-1)),!0)};var d=function(){return p(n,s,arguments)};l?l(e.exports,"apply",{value:d}):e.exports.apply=d},801:(e,t,a)=>{var n=a(537),r=a(8310).Stream,o=a(8069);function i(){this.writable=!1,this.readable=!0,this.dataSize=0,this.maxDataSize=2097152,this.pauseStreams=!0,this._released=!1,this._streams=[],this._currentStream=null,this._insideLoop=!1,this._pendingNext=!1}e.exports=i,n.inherits(i,r),i.create=function(e){var t=new this;for(var a in e=e||{})t[a]=e[a];return t},i.isStreamLike=function(e){return"function"!=typeof e&&"string"!=typeof e&&"boolean"!=typeof e&&"number"!=typeof e&&!Buffer.isBuffer(e)},i.prototype.append=function(e){if(i.isStreamLike(e)){if(!(e instanceof o)){var t=o.create(e,{maxDataSize:1/0,pauseStream:this.pauseStreams});e.on("data",this._checkDataSize.bind(this)),e=t}this._handleErrors(e),this.pauseStreams&&e.pause()}return this._streams.push(e),this},i.prototype.pipe=function(e,t){return r.prototype.pipe.call(this,e,t),this.resume(),e},i.prototype._getNext=function(){if(this._currentStream=null,this._insideLoop)this._pendingNext=!0;else{this._insideLoop=!0;try{do{this._pendingNext=!1,this._realGetNext()}while(this._pendingNext)}finally{this._insideLoop=!1}}},i.prototype._realGetNext=function(){var e=this._streams.shift();void 0!==e?"function"==typeof e?e(function(e){i.isStreamLike(e)&&(e.on("data",this._checkDataSize.bind(this)),this._handleErrors(e)),this._pipeNext(e)}.bind(this)):this._pipeNext(e):this.end()},i.prototype._pipeNext=function(e){if(this._currentStream=e,i.isStreamLike(e))return e.on("end",this._getNext.bind(this)),void e.pipe(this,{end:!1});var t=e;this.write(t),this._getNext()},i.prototype._handleErrors=function(e){var t=this;e.on("error",(function(e){t._emitError(e)}))},i.prototype.write=function(e){this.emit("data",e)},i.prototype.pause=function(){this.pauseStreams&&(this.pauseStreams&&this._currentStream&&"function"==typeof this._currentStream.pause&&this._currentStream.pause(),this.emit("pause"))},i.prototype.resume=function(){this._released||(this._released=!0,this.writable=!0,this._getNext()),this.pauseStreams&&this._currentStream&&"function"==typeof this._currentStream.resume&&this._currentStream.resume(),this.emit("resume")},i.prototype.end=function(){this._reset(),this.emit("end")},i.prototype.destroy=function(){this._reset(),this.emit("close")},i.prototype._reset=function(){this.writable=!1,this._streams=[],this._currentStream=null},i.prototype._checkDataSize=function(){if(this._updateDataSize(),!(this.dataSize<=this.maxDataSize)){var e="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this._emitError(new Error(e))}},i.prototype._updateDataSize=function(){this.dataSize=0;var e=this;this._streams.forEach((function(t){t.dataSize&&(e.dataSize+=t.dataSize)})),this._currentStream&&this._currentStream.dataSize&&(this.dataSize+=this._currentStream.dataSize)},i.prototype._emitError=function(e){this._reset(),this.emit("error",e)}},41:(e,t,a)=>{"use strict";var n=a(655),r=a(8068),o=a(9675),i=a(5795);e.exports=function(e,t,a){if(!e||"object"!=typeof e&&"function"!=typeof e)throw new o("`obj` must be an object or a function`");if("string"!=typeof t&&"symbol"!=typeof t)throw new o("`property` must be a string or a symbol`");if(arguments.length>3&&"boolean"!=typeof arguments[3]&&null!==arguments[3])throw new o("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&"boolean"!=typeof arguments[4]&&null!==arguments[4])throw new o("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&"boolean"!=typeof arguments[5]&&null!==arguments[5])throw new o("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&"boolean"!=typeof arguments[6])throw new o("`loose`, if provided, must be a boolean");var s=arguments.length>3?arguments[3]:null,c=arguments.length>4?arguments[4]:null,p=arguments.length>5?arguments[5]:null,l=arguments.length>6&&arguments[6],u=!!i&&i(e,t);if(n)n(e,t,{configurable:null===p&&u?u.configurable:!p,enumerable:null===s&&u?u.enumerable:!s,value:a,writable:null===c&&u?u.writable:!c});else{if(!l&&(s||c||p))throw new r("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");e[t]=a}}},8069:(e,t,a)=>{var n=a(8310).Stream,r=a(537);function o(){this.source=null,this.dataSize=0,this.maxDataSize=1048576,this.pauseStream=!0,this._maxDataSizeExceeded=!1,this._released=!1,this._bufferedEvents=[]}e.exports=o,r.inherits(o,n),o.create=function(e,t){var a=new this;for(var n in t=t||{})a[n]=t[n];a.source=e;var r=e.emit;return e.emit=function(){return a._handleEmit(arguments),r.apply(e,arguments)},e.on("error",(function(){})),a.pauseStream&&e.pause(),a},Object.defineProperty(o.prototype,"readable",{configurable:!0,enumerable:!0,get:function(){return this.source.readable}}),o.prototype.setEncoding=function(){return this.source.setEncoding.apply(this.source,arguments)},o.prototype.resume=function(){this._released||this.release(),this.source.resume()},o.prototype.pause=function(){this.source.pause()},o.prototype.release=function(){this._released=!0,this._bufferedEvents.forEach(function(e){this.emit.apply(this,e)}.bind(this)),this._bufferedEvents=[]},o.prototype.pipe=function(){var e=n.prototype.pipe.apply(this,arguments);return this.resume(),e},o.prototype._handleEmit=function(e){this._released?this.emit.apply(this,e):("data"===e[0]&&(this.dataSize+=e[1].length,this._checkIfMaxDataSizeExceeded()),this._bufferedEvents.push(e))},o.prototype._checkIfMaxDataSizeExceeded=function(){if(!(this._maxDataSizeExceeded||this.dataSize<=this.maxDataSize)){this._maxDataSizeExceeded=!0;var e="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this.emit("error",new Error(e))}}},4928:(e,t,a)=>{var n=a(8310),r=["write","end","destroy"],o=["resume","pause"],i=["data","close"],s=Array.prototype.slice;function c(e,t){if(e.forEach)return e.forEach(t);for(var a=0;a{"use strict";var n=a(453)("%Object.defineProperty%",!0)||!1;if(n)try{n({},"a",{value:1})}catch(e){n=!1}e.exports=n},1237:e=>{"use strict";e.exports=EvalError},9383:e=>{"use strict";e.exports=Error},9290:e=>{"use strict";e.exports=RangeError},7157:e=>{"use strict";e.exports=ReferenceError},8068:e=>{"use strict";e.exports=SyntaxError},9675:e=>{"use strict";e.exports=TypeError},5345:e=>{"use strict";e.exports=URIError},8954:(e,t,a)=>{var n=a(5606),r=a(8310).Stream,o=t,i=a(1094),s=a(1813),c=a(4928),p=a(9292),l=a(6736),u=a(175),d=a(8497),m=a.g.setImmediate||n.nextTick;o.Stream=r,o.through=i,o.from=s,o.duplex=c,o.map=p,o.pause=l,o.split=u,o.pipeline=o.connect=o.pipe=d,o.concat=o.merge=function(){var e=[].slice.call(arguments);1===e.length&&e[0]instanceof Array&&(e=e[0]);var t=new r;t.setMaxListeners(0);var a=0;return t.writable=t.readable=!0,e.length?e.forEach((function(n){n.pipe(t,{end:!1});var r=!1;n.on("end",(function(){r||(r=!0,++a==e.length&&t.emit("end"))}))})):n.nextTick((function(){t.emit("end")})),t.write=function(e){this.emit("data",e)},t.destroy=function(){e.forEach((function(e){e.destroy&&e.destroy()}))},t},o.collect=o.writeArray=function(e){if("function"!=typeof e)throw new Error("function writeArray (done): done must be function");var t=new r,a=[],n=!1;return t.write=function(e){a.push(e)},t.end=function(){n=!0,e(null,a)},t.writable=!0,t.readable=!1,t.destroy=function(){t.writable=t.readable=!1,n||e(new Error("destroyed before end"),a)},t},o.readArray=function(e){var t=new r,a=0,o=!1,i=!1;if(t.readable=!0,t.writable=!1,!Array.isArray(e))throw new Error("event-stream.read expects an array");return t.resume=function(){if(!i){o=!1;for(var n=e.length;a1&&a.emit("data",r),m((function(){if(!(s||i||c))try{c=!0,e.call(a,o++,(function(){c=!1,p.apply(null,arguments)}))}catch(e){a.emit("error",e)}}))}return a.on("end",(function(){s=!0})),a.resume=function(){i=!1,p()},n.nextTick(p),a.pause=function(){i=!0},a.destroy=function(){a.emit("end"),a.emit("close"),s=!0},a},o.mapSync=function(e){return o.through((function(t){var a;try{a=e(t)}catch(e){return this.emit("error",e)}void 0!==a&&this.emit("data",a)}))},o.filterSync=function(e){return o.through((function(t){e(t)&&this.queue(t)}))},o.flatmapSync=function(e){return o.through((function(t){var a=this;t.forEach((function(t){a.queue(e(t))}))}))},o.log=function(e){return o.through((function(t){[].slice.call(arguments),e?console.error(e,t):console.error(t),this.emit("data",t)}))},o.child=function(e){return o.duplex(e.stdin,e.stdout)},o.parse=function(e){var t=!(!e||!e.error);return o.through((function(e){var a;try{e&&(a=JSON.parse(e.toString()))}catch(a){return t?this.emit("error",a):console.error(a,"attempting to parse:",e)}void 0!==a&&this.emit("data",a)}))},o.stringify=function(){var e=a(8287).Buffer;return o.mapSync((function(t){return JSON.stringify(e.isBuffer(t)?t.toString():t)+"\n"}))},o.replace=function(e,t){return o.pipeline(o.split(e),o.join(t))},o.join=function(e){if("function"==typeof e)return o.wait(e);var t=!0;return o.through((function(a){return t||this.emit("data",e),t=!1,this.emit("data",a),!0}))},o.wait=function(e){var t=[];return o.through((function(e){t.push(e)}),(function(){var a=Buffer.isBuffer(t[0])?Buffer.concat(t):t.join("");this.emit("data",a),this.emit("end"),e&&e(null,a)}))},o.pipeable=function(){throw new Error("[EVENT-STREAM] es.pipeable is deprecated")}},7007:e=>{"use strict";var t,a="object"==typeof Reflect?Reflect:null,n=a&&"function"==typeof a.apply?a.apply:function(e,t,a){return Function.prototype.apply.call(e,t,a)};t=a&&"function"==typeof a.ownKeys?a.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var r=Number.isNaN||function(e){return e!=e};function o(){o.init.call(this)}e.exports=o,e.exports.once=function(e,t){return new Promise((function(a,n){function r(a){e.removeListener(t,o),n(a)}function o(){"function"==typeof e.removeListener&&e.removeListener("error",r),a([].slice.call(arguments))}h(e,t,o,{once:!0}),"error"!==t&&function(e,t){"function"==typeof e.on&&h(e,"error",t,{once:!0})}(e,r)}))},o.EventEmitter=o,o.prototype._events=void 0,o.prototype._eventsCount=0,o.prototype._maxListeners=void 0;var i=10;function s(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function c(e){return void 0===e._maxListeners?o.defaultMaxListeners:e._maxListeners}function p(e,t,a,n){var r,o,i,p;if(s(a),void 0===(o=e._events)?(o=e._events=Object.create(null),e._eventsCount=0):(void 0!==o.newListener&&(e.emit("newListener",t,a.listener?a.listener:a),o=e._events),i=o[t]),void 0===i)i=o[t]=a,++e._eventsCount;else if("function"==typeof i?i=o[t]=n?[a,i]:[i,a]:n?i.unshift(a):i.push(a),(r=c(e))>0&&i.length>r&&!i.warned){i.warned=!0;var l=new Error("Possible EventEmitter memory leak detected. "+i.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");l.name="MaxListenersExceededWarning",l.emitter=e,l.type=t,l.count=i.length,p=l,console&&console.warn&&console.warn(p)}return e}function l(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function u(e,t,a){var n={fired:!1,wrapFn:void 0,target:e,type:t,listener:a},r=l.bind(n);return r.listener=a,n.wrapFn=r,r}function d(e,t,a){var n=e._events;if(void 0===n)return[];var r=n[t];return void 0===r?[]:"function"==typeof r?a?[r.listener||r]:[r]:a?function(e){for(var t=new Array(e.length),a=0;a0&&(i=t[0]),i instanceof Error)throw i;var s=new Error("Unhandled error."+(i?" ("+i.message+")":""));throw s.context=i,s}var c=o[e];if(void 0===c)return!1;if("function"==typeof c)n(c,this,t);else{var p=c.length,l=f(c,p);for(a=0;a=0;o--)if(a[o]===t||a[o].listener===t){i=a[o].listener,r=o;break}if(r<0)return this;0===r?a.shift():function(e,t){for(;t+1=0;n--)this.removeListener(e,t[n]);return this},o.prototype.listeners=function(e){return d(this,e,!0)},o.prototype.rawListeners=function(e){return d(this,e,!1)},o.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):m.call(e,t)},o.prototype.listenerCount=m,o.prototype.eventNames=function(){return this._eventsCount>0?t(this._events):[]}},2682:(e,t,a)=>{"use strict";var n=a(9600),r=Object.prototype.toString,o=Object.prototype.hasOwnProperty;e.exports=function(e,t,a){if(!n(t))throw new TypeError("iterator must be a function");var i;arguments.length>=3&&(i=a),"[object Array]"===r.call(e)?function(e,t,a){for(var n=0,r=e.length;n{var t=Object.prototype.hasOwnProperty,a=Object.prototype.toString;e.exports=function(e,n,r){if("[object Function]"!==a.call(n))throw new TypeError("iterator must be a function");var o=e.length;if(o===+o)for(var i=0;i{var n=a(5606),r=a(801),o=a(537),i=a(7975),s=a(1568),c=a(1083),p=a(8835).parse,l=a(2533),u=a(8310).Stream,d=a(6049),m=a(1873),f=a(1362);function h(e){if(!(this instanceof h))return new h(e);for(var t in this._overheadLength=0,this._valueLength=0,this._valuesToMeasure=[],r.call(this),e=e||{})this[t]=e[t]}e.exports=h,o.inherits(h,r),h.LINE_BREAK="\r\n",h.DEFAULT_CONTENT_TYPE="application/octet-stream",h.prototype.append=function(e,t,a){"string"==typeof(a=a||{})&&(a={filename:a});var n=r.prototype.append.bind(this);if("number"==typeof t&&(t=""+t),Array.isArray(t))this._error(new Error("Arrays are not supported."));else{var o=this._multiPartHeader(e,t,a),i=this._multiPartFooter();n(o),n(t),n(i),this._trackLength(o,t,a)}},h.prototype._trackLength=function(e,t,a){var n=0;null!=a.knownLength?n+=+a.knownLength:Buffer.isBuffer(t)?n=t.length:"string"==typeof t&&(n=Buffer.byteLength(t)),this._valueLength+=n,this._overheadLength+=Buffer.byteLength(e)+h.LINE_BREAK.length,t&&(t.path||t.readable&&t.hasOwnProperty("httpVersion")||t instanceof u)&&(a.knownLength||this._valuesToMeasure.push(t))},h.prototype._lengthRetriever=function(e,t){e.hasOwnProperty("fd")?null!=e.end&&e.end!=1/0&&null!=e.start?t(null,e.end+1-(e.start?e.start:0)):l.stat(e.path,(function(a,n){var r;a?t(a):(r=n.size-(e.start?e.start:0),t(null,r))})):e.hasOwnProperty("httpVersion")?t(null,+e.headers["content-length"]):e.hasOwnProperty("httpModule")?(e.on("response",(function(a){e.pause(),t(null,+a.headers["content-length"])})),e.resume()):t("Unknown stream")},h.prototype._multiPartHeader=function(e,t,a){if("string"==typeof a.header)return a.header;var n,r=this._getContentDisposition(t,a),o=this._getContentType(t,a),i="",s={"Content-Disposition":["form-data",'name="'+e+'"'].concat(r||[]),"Content-Type":[].concat(o||[])};for(var c in"object"==typeof a.header&&f(s,a.header),s)s.hasOwnProperty(c)&&null!=(n=s[c])&&(Array.isArray(n)||(n=[n]),n.length&&(i+=c+": "+n.join("; ")+h.LINE_BREAK));return"--"+this.getBoundary()+h.LINE_BREAK+i+h.LINE_BREAK},h.prototype._getContentDisposition=function(e,t){var a,n;return"string"==typeof t.filepath?a=i.normalize(t.filepath).replace(/\\/g,"/"):t.filename||e.name||e.path?a=i.basename(t.filename||e.name||e.path):e.readable&&e.hasOwnProperty("httpVersion")&&(a=i.basename(e.client._httpMessage.path||"")),a&&(n='filename="'+a+'"'),n},h.prototype._getContentType=function(e,t){var a=t.contentType;return!a&&e.name&&(a=d.lookup(e.name)),!a&&e.path&&(a=d.lookup(e.path)),!a&&e.readable&&e.hasOwnProperty("httpVersion")&&(a=e.headers["content-type"]),a||!t.filepath&&!t.filename||(a=d.lookup(t.filepath||t.filename)),a||"object"!=typeof e||(a=h.DEFAULT_CONTENT_TYPE),a},h.prototype._multiPartFooter=function(){return function(e){var t=h.LINE_BREAK;0===this._streams.length&&(t+=this._lastBoundary()),e(t)}.bind(this)},h.prototype._lastBoundary=function(){return"--"+this.getBoundary()+"--"+h.LINE_BREAK},h.prototype.getHeaders=function(e){var t,a={"content-type":"multipart/form-data; boundary="+this.getBoundary()};for(t in e)e.hasOwnProperty(t)&&(a[t.toLowerCase()]=e[t]);return a},h.prototype.setBoundary=function(e){this._boundary=e},h.prototype.getBoundary=function(){return this._boundary||this._generateBoundary(),this._boundary},h.prototype.getBuffer=function(){for(var e=new Buffer.alloc(0),t=this.getBoundary(),a=0,n=this._streams.length;a{e.exports=function(e,t){return Object.keys(t).forEach((function(a){e[a]=e[a]||t[a]})),e}},1813:(e,t,a)=>{"use strict";var n=a(5606),r=a(8310);e.exports=function e(t){if(Array.isArray(t)){var a=0,o=t.length;return e((function(e){return a{"use strict";var t=Object.prototype.toString,a=Math.max,n=function(e,t){for(var a=[],n=0;n{"use strict";var n=a(9353);e.exports=Function.prototype.bind||n},453:(e,t,a)=>{"use strict";var n,r=a(9383),o=a(1237),i=a(9290),s=a(7157),c=a(8068),p=a(9675),l=a(5345),u=Function,d=function(e){try{return u('"use strict"; return ('+e+").constructor;")()}catch(e){}},m=Object.getOwnPropertyDescriptor;if(m)try{m({},"")}catch(e){m=null}var f=function(){throw new p},h=m?function(){try{return f}catch(e){try{return m(arguments,"callee").get}catch(e){return f}}}():f,y=a(4039)(),v=a(24)(),g=Object.getPrototypeOf||(v?function(e){return e.__proto__}:null),b={},x="undefined"!=typeof Uint8Array&&g?g(Uint8Array):n,w={__proto__:null,"%AggregateError%":"undefined"==typeof AggregateError?n:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?n:ArrayBuffer,"%ArrayIteratorPrototype%":y&&g?g([][Symbol.iterator]()):n,"%AsyncFromSyncIteratorPrototype%":n,"%AsyncFunction%":b,"%AsyncGenerator%":b,"%AsyncGeneratorFunction%":b,"%AsyncIteratorPrototype%":b,"%Atomics%":"undefined"==typeof Atomics?n:Atomics,"%BigInt%":"undefined"==typeof BigInt?n:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?n:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?n:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?n:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":r,"%eval%":eval,"%EvalError%":o,"%Float32Array%":"undefined"==typeof Float32Array?n:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?n:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?n:FinalizationRegistry,"%Function%":u,"%GeneratorFunction%":b,"%Int8Array%":"undefined"==typeof Int8Array?n:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?n:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?n:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":y&&g?g(g([][Symbol.iterator]())):n,"%JSON%":"object"==typeof JSON?JSON:n,"%Map%":"undefined"==typeof Map?n:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&y&&g?g((new Map)[Symbol.iterator]()):n,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?n:Promise,"%Proxy%":"undefined"==typeof Proxy?n:Proxy,"%RangeError%":i,"%ReferenceError%":s,"%Reflect%":"undefined"==typeof Reflect?n:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?n:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&y&&g?g((new Set)[Symbol.iterator]()):n,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?n:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":y&&g?g(""[Symbol.iterator]()):n,"%Symbol%":y?Symbol:n,"%SyntaxError%":c,"%ThrowTypeError%":h,"%TypedArray%":x,"%TypeError%":p,"%Uint8Array%":"undefined"==typeof Uint8Array?n:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?n:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?n:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?n:Uint32Array,"%URIError%":l,"%WeakMap%":"undefined"==typeof WeakMap?n:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?n:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?n:WeakSet};if(g)try{null.error}catch(e){var j=g(g(e));w["%Error.prototype%"]=j}var k=function e(t){var a;if("%AsyncFunction%"===t)a=d("async function () {}");else if("%GeneratorFunction%"===t)a=d("function* () {}");else if("%AsyncGeneratorFunction%"===t)a=d("async function* () {}");else if("%AsyncGenerator%"===t){var n=e("%AsyncGeneratorFunction%");n&&(a=n.prototype)}else if("%AsyncIteratorPrototype%"===t){var r=e("%AsyncGenerator%");r&&g&&(a=g(r.prototype))}return w[t]=a,a},S={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},P=a(6743),_=a(9957),T=P.call(Function.call,Array.prototype.concat),O=P.call(Function.apply,Array.prototype.splice),E=P.call(Function.call,String.prototype.replace),A=P.call(Function.call,String.prototype.slice),q=P.call(Function.call,RegExp.prototype.exec),R=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,C=/\\(\\)?/g,D=function(e,t){var a,n=e;if(_(S,n)&&(n="%"+(a=S[n])[0]+"%"),_(w,n)){var r=w[n];if(r===b&&(r=k(n)),void 0===r&&!t)throw new p("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:a,name:n,value:r}}throw new c("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new p("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new p('"allowMissing" argument must be a boolean');if(null===q(/^%?[^%]*%?$/,e))throw new c("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var a=function(e){var t=A(e,0,1),a=A(e,-1);if("%"===t&&"%"!==a)throw new c("invalid intrinsic syntax, expected closing `%`");if("%"===a&&"%"!==t)throw new c("invalid intrinsic syntax, expected opening `%`");var n=[];return E(e,R,(function(e,t,a,r){n[n.length]=a?E(r,C,"$1"):t||e})),n}(e),n=a.length>0?a[0]:"",r=D("%"+n+"%",t),o=r.name,i=r.value,s=!1,l=r.alias;l&&(n=l[0],O(a,T([0,1],l)));for(var u=1,d=!0;u=a.length){var v=m(i,f);i=(d=!!v)&&"get"in v&&!("originalValue"in v.get)?v.get:i[f]}else d=_(i,f),i=i[f];d&&!s&&(w[o]=i)}}return i}},8647:(e,t)=>{"use strict";t.A=e=>Object.getOwnPropertySymbols(e).filter((t=>Object.prototype.propertyIsEnumerable.call(e,t)))},5795:(e,t,a)=>{"use strict";var n=a(453)("%Object.getOwnPropertyDescriptor%",!0);if(n)try{n([],"length")}catch(e){n=null}e.exports=n},592:(e,t,a)=>{"use strict";var n=a(655),r=function(){return!!n};r.hasArrayLengthDefineBug=function(){if(!n)return null;try{return 1!==n([],"length",{value:1}).length}catch(e){return!0}},e.exports=r},24:e=>{"use strict";var t={__proto__:null,foo:{}},a=Object;e.exports=function(){return{__proto__:t}.foo===t.foo&&!(t instanceof a)}},4039:(e,t,a)=>{"use strict";var n="undefined"!=typeof Symbol&&Symbol,r=a(1333);e.exports=function(){return"function"==typeof n&&"function"==typeof Symbol&&"symbol"==typeof n("foo")&&"symbol"==typeof Symbol("bar")&&r()}},1333:e=>{"use strict";e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),a=Object(t);if("string"==typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(a))return!1;for(t in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var n=Object.getOwnPropertySymbols(e);if(1!==n.length||n[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var r=Object.getOwnPropertyDescriptor(e,t);if(42!==r.value||!0!==r.enumerable)return!1}return!0}},9092:(e,t,a)=>{"use strict";var n=a(1333);e.exports=function(){return n()&&!!Symbol.toStringTag}},9957:(e,t,a)=>{"use strict";var n=Function.prototype.call,r=Object.prototype.hasOwnProperty,o=a(6743);e.exports=o.call(n,r)},1083:(e,t,a)=>{var n=a(1568),r=a(8835),o=e.exports;for(var i in n)n.hasOwnProperty(i)&&(o[i]=n[i]);function s(e){if("string"==typeof e&&(e=r.parse(e)),e.protocol||(e.protocol="https:"),"https:"!==e.protocol)throw new Error('Protocol "'+e.protocol+'" not supported. Expected "https:"');return e}o.request=function(e,t){return e=s(e),n.request.call(this,e,t)},o.get=function(e,t){return e=s(e),n.get.call(this,e,t)}},251:(e,t)=>{t.read=function(e,t,a,n,r){var o,i,s=8*r-n-1,c=(1<>1,l=-7,u=a?r-1:0,d=a?-1:1,m=e[t+u];for(u+=d,o=m&(1<<-l)-1,m>>=-l,l+=s;l>0;o=256*o+e[t+u],u+=d,l-=8);for(i=o&(1<<-l)-1,o>>=-l,l+=n;l>0;i=256*i+e[t+u],u+=d,l-=8);if(0===o)o=1-p;else{if(o===c)return i?NaN:1/0*(m?-1:1);i+=Math.pow(2,n),o-=p}return(m?-1:1)*i*Math.pow(2,o-n)},t.write=function(e,t,a,n,r,o){var i,s,c,p=8*o-r-1,l=(1<>1,d=23===r?Math.pow(2,-24)-Math.pow(2,-77):0,m=n?0:o-1,f=n?1:-1,h=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,i=l):(i=Math.floor(Math.log(t)/Math.LN2),t*(c=Math.pow(2,-i))<1&&(i--,c*=2),(t+=i+u>=1?d/c:d*Math.pow(2,1-u))*c>=2&&(i++,c/=2),i+u>=l?(s=0,i=l):i+u>=1?(s=(t*c-1)*Math.pow(2,r),i+=u):(s=t*Math.pow(2,u-1)*Math.pow(2,r),i=0));r>=8;e[a+m]=255&s,m+=f,s/=256,r-=8);for(i=i<0;e[a+m]=255&i,m+=f,i/=256,p-=8);e[a+m-f]|=128*h}},6698:e=>{"function"==typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var a=function(){};a.prototype=t.prototype,e.prototype=new a,e.prototype.constructor=e}}},7244:e=>{"use strict";var t="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag,a=Object.prototype.toString,n=function(e){return!(t&&e&&"object"==typeof e&&Symbol.toStringTag in e)&&"[object Arguments]"===a.call(e)},r=function(e){return!!n(e)||null!==e&&"object"==typeof e&&"number"==typeof e.length&&e.length>=0&&"[object Array]"!==a.call(e)&&"[object Function]"===a.call(e.callee)},o=function(){return n(arguments)}();n.isLegacyArguments=r,e.exports=o?n:r},9600:e=>{"use strict";var t,a,n=Function.prototype.toString,r="object"==typeof Reflect&&null!==Reflect&&Reflect.apply;if("function"==typeof r&&"function"==typeof Object.defineProperty)try{t=Object.defineProperty({},"length",{get:function(){throw a}}),a={},r((function(){throw 42}),null,t)}catch(e){e!==a&&(r=null)}else r=null;var o=/^\s*class\b/,i=function(e){try{var t=n.call(e);return o.test(t)}catch(e){return!1}},s=function(e){try{return!i(e)&&(n.call(e),!0)}catch(e){return!1}},c=Object.prototype.toString,p="function"==typeof Symbol&&!!Symbol.toStringTag,l=!(0 in[,]),u=function(){return!1};if("object"==typeof document){var d=document.all;c.call(d)===c.call(document.all)&&(u=function(e){if((l||!e)&&(void 0===e||"object"==typeof e))try{var t=c.call(e);return("[object HTMLAllCollection]"===t||"[object HTML document.all class]"===t||"[object HTMLCollection]"===t||"[object Object]"===t)&&null==e("")}catch(e){}return!1})}e.exports=r?function(e){if(u(e))return!0;if(!e)return!1;if("function"!=typeof e&&"object"!=typeof e)return!1;try{r(e,null,t)}catch(e){if(e!==a)return!1}return!i(e)&&s(e)}:function(e){if(u(e))return!0;if(!e)return!1;if("function"!=typeof e&&"object"!=typeof e)return!1;if(p)return s(e);if(i(e))return!1;var t=c.call(e);return!("[object Function]"!==t&&"[object GeneratorFunction]"!==t&&!/^\[object HTML/.test(t))&&s(e)}},8184:(e,t,a)=>{"use strict";var n,r=Object.prototype.toString,o=Function.prototype.toString,i=/^\s*(?:function)?\*/,s=a(9092)(),c=Object.getPrototypeOf;e.exports=function(e){if("function"!=typeof e)return!1;if(i.test(o.call(e)))return!0;if(!s)return"[object GeneratorFunction]"===r.call(e);if(!c)return!1;if(void 0===n){var t=function(){if(!s)return!1;try{return Function("return function*() {}")()}catch(e){}}();n=!!t&&c(t)}return c(e)===n}},8997:e=>{"use strict";e.exports=function(e){var t=typeof e;return null!==e&&("object"===t||"function"===t)}},7749:e=>{"use strict";e.exports=function(e){return"[object RegExp]"===Object.prototype.toString.call(e)}},5680:(e,t,a)=>{"use strict";var n=a(5767);e.exports=function(e){return!!n(e)}},1095:(e,t,a)=>{"use strict";var n=a(7593);function r(e,t,a){if(3===arguments.length)return r.set(e,t,a);if(2===arguments.length)return r.get(e,t);var n=r.bind(r,e);for(var o in r)r.hasOwnProperty(o)&&(n[o]=r[o].bind(n,e));return n}e.exports=r,r.get=function(e,t){for(var a=Array.isArray(t)?t:r.parse(t),n=0;n{var n=a(5606),r=a(8310).Stream;e.exports=function(e,t){var a=new r,o=0,i=0,s=!1,c=!1,p=!1,l=0,u=!1,d=(t=t||{}).failures?"failure":"error",m={};function f(e,t){var n=l+1;if(t===n?(void 0!==e&&a.emit.apply(a,["data",e]),l++,n++):m[t]=e,m.hasOwnProperty(n)){var r=m[n];return delete m[n],f(r,n)}i++,o===i&&(c&&(c=!1,a.emit("drain")),s&&y())}function h(e,n,r){p||(u=!0,e&&!t.failures||f(n,r),e&&a.emit.apply(a,[d,e]),u=!1)}function y(e){if(s=!0,a.writable=!1,void 0!==e)return f(e,o);o==i&&(a.readable=!1,a.emit("end"),a.destroy())}return a.writable=!0,a.readable=!0,a.write=function(t){if(s)throw new Error("map stream is not writable");u=!1,o++;try{var a=(n=t,r=o,i=h,e.call(null,n,(function(e,t){i(e,t,r)})));return!(c=!1===a)}catch(e){if(u)throw e;return h(e),!c}var n,r,i},a.end=function(e){s||y(e)},a.destroy=function(){s=p=!0,a.writable=a.readable=c=!1,n.nextTick((function(){a.emit("close")}))},a.pause=function(){c=!0},a.resume=function(){c=!1},a}},7598:(e,t,a)=>{e.exports=a(4194)},6049:(e,t,a)=>{"use strict";var n,r,o,i=a(7598),s=a(7975).extname,c=/^\s*([^;\s]*)(?:;|\s|$)/,p=/^text\//i;function l(e){if(!e||"string"!=typeof e)return!1;var t=c.exec(e),a=t&&i[t[1].toLowerCase()];return a&&a.charset?a.charset:!(!t||!p.test(t[1]))&&"UTF-8"}t.charset=l,t.charsets={lookup:l},t.contentType=function(e){if(!e||"string"!=typeof e)return!1;var a=-1===e.indexOf("/")?t.lookup(e):e;if(!a)return!1;if(-1===a.indexOf("charset")){var n=t.charset(a);n&&(a+="; charset="+n.toLowerCase())}return a},t.extension=function(e){if(!e||"string"!=typeof e)return!1;var a=c.exec(e),n=a&&t.extensions[a[1].toLowerCase()];return!(!n||!n.length)&&n[0]},t.extensions=Object.create(null),t.lookup=function(e){if(!e||"string"!=typeof e)return!1;var a=s("x."+e).toLowerCase().substr(1);return a&&t.types[a]||!1},t.types=Object.create(null),n=t.extensions,r=t.types,o=["nginx","apache",void 0,"iana"],Object.keys(i).forEach((function(e){var t=i[e],a=t.extensions;if(a&&a.length){n[e]=a;for(var s=0;sl||p===l&&"application/"===r[c].substr(0,12)))continue}r[c]=e}}}))},7975:(e,t,a)=>{"use strict";var n=a(5606);function r(e){if("string"!=typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}function o(e,t){for(var a,n="",r=0,o=-1,i=0,s=0;s<=e.length;++s){if(s2){var c=n.lastIndexOf("/");if(c!==n.length-1){-1===c?(n="",r=0):r=(n=n.slice(0,c)).length-1-n.lastIndexOf("/"),o=s,i=0;continue}}else if(2===n.length||1===n.length){n="",r=0,o=s,i=0;continue}t&&(n.length>0?n+="/..":n="..",r=2)}else n.length>0?n+="/"+e.slice(o+1,s):n=e.slice(o+1,s),r=s-o-1;o=s,i=0}else 46===a&&-1!==i?++i:i=-1}return n}var i={resolve:function(){for(var e,t="",a=!1,i=arguments.length-1;i>=-1&&!a;i--){var s;i>=0?s=arguments[i]:(void 0===e&&(e=n.cwd()),s=e),r(s),0!==s.length&&(t=s+"/"+t,a=47===s.charCodeAt(0))}return t=o(t,!a),a?t.length>0?"/"+t:"/":t.length>0?t:"."},normalize:function(e){if(r(e),0===e.length)return".";var t=47===e.charCodeAt(0),a=47===e.charCodeAt(e.length-1);return 0!==(e=o(e,!t)).length||t||(e="."),e.length>0&&a&&(e+="/"),t?"/"+e:e},isAbsolute:function(e){return r(e),e.length>0&&47===e.charCodeAt(0)},join:function(){if(0===arguments.length)return".";for(var e,t=0;t0&&(void 0===e?e=a:e+="/"+a)}return void 0===e?".":i.normalize(e)},relative:function(e,t){if(r(e),r(t),e===t)return"";if((e=i.resolve(e))===(t=i.resolve(t)))return"";for(var a=1;ap){if(47===t.charCodeAt(s+u))return t.slice(s+u+1);if(0===u)return t.slice(s+u)}else o>p&&(47===e.charCodeAt(a+u)?l=u:0===u&&(l=0));break}var d=e.charCodeAt(a+u);if(d!==t.charCodeAt(s+u))break;47===d&&(l=u)}var m="";for(u=a+l+1;u<=n;++u)u!==n&&47!==e.charCodeAt(u)||(0===m.length?m+="..":m+="/..");return m.length>0?m+t.slice(s+l):(s+=l,47===t.charCodeAt(s)&&++s,t.slice(s))},_makeLong:function(e){return e},dirname:function(e){if(r(e),0===e.length)return".";for(var t=e.charCodeAt(0),a=47===t,n=-1,o=!0,i=e.length-1;i>=1;--i)if(47===(t=e.charCodeAt(i))){if(!o){n=i;break}}else o=!1;return-1===n?a?"/":".":a&&1===n?"//":e.slice(0,n)},basename:function(e,t){if(void 0!==t&&"string"!=typeof t)throw new TypeError('"ext" argument must be a string');r(e);var a,n=0,o=-1,i=!0;if(void 0!==t&&t.length>0&&t.length<=e.length){if(t.length===e.length&&t===e)return"";var s=t.length-1,c=-1;for(a=e.length-1;a>=0;--a){var p=e.charCodeAt(a);if(47===p){if(!i){n=a+1;break}}else-1===c&&(i=!1,c=a+1),s>=0&&(p===t.charCodeAt(s)?-1==--s&&(o=a):(s=-1,o=c))}return n===o?o=c:-1===o&&(o=e.length),e.slice(n,o)}for(a=e.length-1;a>=0;--a)if(47===e.charCodeAt(a)){if(!i){n=a+1;break}}else-1===o&&(i=!1,o=a+1);return-1===o?"":e.slice(n,o)},extname:function(e){r(e);for(var t=-1,a=0,n=-1,o=!0,i=0,s=e.length-1;s>=0;--s){var c=e.charCodeAt(s);if(47!==c)-1===n&&(o=!1,n=s+1),46===c?-1===t?t=s:1!==i&&(i=1):-1!==t&&(i=-1);else if(!o){a=s+1;break}}return-1===t||-1===n||0===i||1===i&&t===n-1&&t===a+1?"":e.slice(t,n)},format:function(e){if(null===e||"object"!=typeof e)throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof e);return function(e,t){var a=t.dir||t.root,n=t.base||(t.name||"")+(t.ext||"");return a?a===t.root?a+n:a+"/"+n:n}(0,e)},parse:function(e){r(e);var t={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return t;var a,n=e.charCodeAt(0),o=47===n;o?(t.root="/",a=1):a=0;for(var i=-1,s=0,c=-1,p=!0,l=e.length-1,u=0;l>=a;--l)if(47!==(n=e.charCodeAt(l)))-1===c&&(p=!1,c=l+1),46===n?-1===i?i=l:1!==u&&(u=1):-1!==i&&(u=-1);else if(!p){s=l+1;break}return-1===i||-1===c||0===u||1===u&&i===c-1&&i===s+1?-1!==c&&(t.base=t.name=0===s&&o?e.slice(1,c):e.slice(s,c)):(0===s&&o?(t.name=e.slice(1,i),t.base=e.slice(1,c)):(t.name=e.slice(s,i),t.base=e.slice(s,c)),t.ext=e.slice(i,c)),s>0?t.dir=e.slice(0,s-1):o&&(t.dir="/"),t},sep:"/",delimiter:":",win32:null,posix:null};i.posix=i,e.exports=i},6736:(e,t,a)=>{e.exports=a(1094)},6578:e=>{"use strict";e.exports=["Float32Array","Float64Array","Int8Array","Int16Array","Int32Array","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array"]},5606:e=>{var t,a,n=e.exports={};function r(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function i(e){if(t===setTimeout)return setTimeout(e,0);if((t===r||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(a){try{return t.call(null,e,0)}catch(a){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:r}catch(e){t=r}try{a="function"==typeof clearTimeout?clearTimeout:o}catch(e){a=o}}();var s,c=[],p=!1,l=-1;function u(){p&&s&&(p=!1,s.length?c=s.concat(c):l=-1,c.length&&d())}function d(){if(!p){var e=i(u);p=!0;for(var t=c.length;t;){for(s=c,c=[];++l1)for(var a=1;a{"use strict";var t=String.prototype.replace,a=/%20/g,n="RFC3986";e.exports={default:n,formatters:{RFC1738:function(e){return t.call(e,a,"+")},RFC3986:function(e){return String(e)}},RFC1738:"RFC1738",RFC3986:n}},5373:(e,t,a)=>{"use strict";var n=a(8636),r=a(2642),o=a(4765);e.exports={formats:o,parse:r,stringify:n}},2642:(e,t,a)=>{"use strict";var n=a(7720),r=Object.prototype.hasOwnProperty,o=Array.isArray,i={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:n.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictDepth:!1,strictNullHandling:!1},s=function(e){return e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(parseInt(t,10))}))},c=function(e,t){return e&&"string"==typeof e&&t.comma&&e.indexOf(",")>-1?e.split(","):e},p=function(e,t,a,n){if(e){var o=a.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,i=/(\[[^[\]]*])/g,s=a.depth>0&&/(\[[^[\]]*])/.exec(o),p=s?o.slice(0,s.index):o,l=[];if(p){if(!a.plainObjects&&r.call(Object.prototype,p)&&!a.allowPrototypes)return;l.push(p)}for(var u=0;a.depth>0&&null!==(s=i.exec(o))&&u=0;--o){var i,s=e[o];if("[]"===s&&a.parseArrays)i=a.allowEmptyArrays&&(""===r||a.strictNullHandling&&null===r)?[]:[].concat(r);else{i=a.plainObjects?Object.create(null):{};var p="["===s.charAt(0)&&"]"===s.charAt(s.length-1)?s.slice(1,-1):s,l=a.decodeDotInKeys?p.replace(/%2E/g,"."):p,u=parseInt(l,10);a.parseArrays||""!==l?!isNaN(u)&&s!==l&&String(u)===l&&u>=0&&a.parseArrays&&u<=a.arrayLimit?(i=[])[u]=r:"__proto__"!==l&&(i[l]=r):i={0:r}}r=i}return r}(l,t,a,n)}};e.exports=function(e,t){var a=function(e){if(!e)return i;if(void 0!==e.allowEmptyArrays&&"boolean"!=typeof e.allowEmptyArrays)throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(void 0!==e.decodeDotInKeys&&"boolean"!=typeof e.decodeDotInKeys)throw new TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");if(null!==e.decoder&&void 0!==e.decoder&&"function"!=typeof e.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var t=void 0===e.charset?i.charset:e.charset,a=void 0===e.duplicates?i.duplicates:e.duplicates;if("combine"!==a&&"first"!==a&&"last"!==a)throw new TypeError("The duplicates option must be either combine, first, or last");return{allowDots:void 0===e.allowDots?!0===e.decodeDotInKeys||i.allowDots:!!e.allowDots,allowEmptyArrays:"boolean"==typeof e.allowEmptyArrays?!!e.allowEmptyArrays:i.allowEmptyArrays,allowPrototypes:"boolean"==typeof e.allowPrototypes?e.allowPrototypes:i.allowPrototypes,allowSparse:"boolean"==typeof e.allowSparse?e.allowSparse:i.allowSparse,arrayLimit:"number"==typeof e.arrayLimit?e.arrayLimit:i.arrayLimit,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:i.charsetSentinel,comma:"boolean"==typeof e.comma?e.comma:i.comma,decodeDotInKeys:"boolean"==typeof e.decodeDotInKeys?e.decodeDotInKeys:i.decodeDotInKeys,decoder:"function"==typeof e.decoder?e.decoder:i.decoder,delimiter:"string"==typeof e.delimiter||n.isRegExp(e.delimiter)?e.delimiter:i.delimiter,depth:"number"==typeof e.depth||!1===e.depth?+e.depth:i.depth,duplicates:a,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof e.interpretNumericEntities?e.interpretNumericEntities:i.interpretNumericEntities,parameterLimit:"number"==typeof e.parameterLimit?e.parameterLimit:i.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"==typeof e.plainObjects?e.plainObjects:i.plainObjects,strictDepth:"boolean"==typeof e.strictDepth?!!e.strictDepth:i.strictDepth,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:i.strictNullHandling}}(t);if(""===e||null==e)return a.plainObjects?Object.create(null):{};for(var l="string"==typeof e?function(e,t){var a={__proto__:null},p=t.ignoreQueryPrefix?e.replace(/^\?/,""):e;p=p.replace(/%5B/gi,"[").replace(/%5D/gi,"]");var l,u=t.parameterLimit===1/0?void 0:t.parameterLimit,d=p.split(t.delimiter,u),m=-1,f=t.charset;if(t.charsetSentinel)for(l=0;l-1&&(y=o(y)?[y]:y);var x=r.call(a,h);x&&"combine"===t.duplicates?a[h]=n.combine(a[h],y):x&&"last"!==t.duplicates||(a[h]=y)}return a}(e,a):e,u=a.plainObjects?Object.create(null):{},d=Object.keys(l),m=0;m{"use strict";var n=a(920),r=a(7720),o=a(4765),i=Object.prototype.hasOwnProperty,s={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},c=Array.isArray,p=Array.prototype.push,l=function(e,t){p.apply(e,c(t)?t:[t])},u=Date.prototype.toISOString,d=o.default,m={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:r.encode,encodeValuesOnly:!1,format:d,formatter:o.formatters[d],indices:!1,serializeDate:function(e){return u.call(e)},skipNulls:!1,strictNullHandling:!1},f={},h=function e(t,a,o,i,s,p,u,d,h,y,v,g,b,x,w,j,k,S){for(var P,_=t,T=S,O=0,E=!1;void 0!==(T=T.get(f))&&!E;){var A=T.get(t);if(O+=1,void 0!==A){if(A===O)throw new RangeError("Cyclic object value");E=!0}void 0===T.get(f)&&(O=0)}if("function"==typeof y?_=y(a,_):_ instanceof Date?_=b(_):"comma"===o&&c(_)&&(_=r.maybeMap(_,(function(e){return e instanceof Date?b(e):e}))),null===_){if(p)return h&&!j?h(a,m.encoder,k,"key",x):a;_=""}if("string"==typeof(P=_)||"number"==typeof P||"boolean"==typeof P||"symbol"==typeof P||"bigint"==typeof P||r.isBuffer(_))return h?[w(j?a:h(a,m.encoder,k,"key",x))+"="+w(h(_,m.encoder,k,"value",x))]:[w(a)+"="+w(String(_))];var q,R=[];if(void 0===_)return R;if("comma"===o&&c(_))j&&h&&(_=r.maybeMap(_,h)),q=[{value:_.length>0?_.join(",")||null:void 0}];else if(c(y))q=y;else{var C=Object.keys(_);q=v?C.sort(v):C}var D=d?a.replace(/\./g,"%2E"):a,L=i&&c(_)&&1===_.length?D+"[]":D;if(s&&c(_)&&0===_.length)return L+"[]";for(var N=0;N0?x+b:""}},7720:(e,t,a)=>{"use strict";var n=a(4765),r=Object.prototype.hasOwnProperty,o=Array.isArray,i=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),s=function(e,t){for(var a=t&&t.plainObjects?Object.create(null):{},n=0;n1;){var t=e.pop(),a=t.obj[t.prop];if(o(a)){for(var n=[],r=0;r=c?s.slice(l,l+c):s,d=[],m=0;m=48&&f<=57||f>=65&&f<=90||f>=97&&f<=122||o===n.RFC1738&&(40===f||41===f)?d[d.length]=u.charAt(m):f<128?d[d.length]=i[f]:f<2048?d[d.length]=i[192|f>>6]+i[128|63&f]:f<55296||f>=57344?d[d.length]=i[224|f>>12]+i[128|f>>6&63]+i[128|63&f]:(m+=1,f=65536+((1023&f)<<10|1023&u.charCodeAt(m)),d[d.length]=i[240|f>>18]+i[128|f>>12&63]+i[128|f>>6&63]+i[128|63&f])}p+=d.join("")}return p},isBuffer:function(e){return!(!e||"object"!=typeof e||!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e)))},isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},maybeMap:function(e,t){if(o(e)){for(var a=[],n=0;n{"use strict";function t(e,t){return Object.prototype.hasOwnProperty.call(e,t)}e.exports=function(e,n,r,o){n=n||"&",r=r||"=";var i={};if("string"!=typeof e||0===e.length)return i;var s=/\+/g;e=e.split(n);var c=1e3;o&&"number"==typeof o.maxKeys&&(c=o.maxKeys);var p=e.length;c>0&&p>c&&(p=c);for(var l=0;l=0?(u=h.substr(0,y),d=h.substr(y+1)):(u=h,d=""),m=decodeURIComponent(u),f=decodeURIComponent(d),t(i,m)?a(i[m])?i[m].push(f):i[m]=[i[m],f]:i[m]=f}return i};var a=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},1590:e=>{"use strict";var t=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};e.exports=function(e,o,i,s){return o=o||"&",i=i||"=",null===e&&(e=void 0),"object"==typeof e?n(r(e),(function(r){var s=encodeURIComponent(t(r))+i;return a(e[r])?n(e[r],(function(e){return s+encodeURIComponent(t(e))})).join(o):s+encodeURIComponent(t(e[r]))})).join(o):s?encodeURIComponent(t(s))+i+encodeURIComponent(t(e)):""};var a=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};function n(e,t){if(e.map)return e.map(t);for(var a=[],n=0;n{"use strict";t.decode=t.parse=a(4930),t.encode=t.stringify=a(1590)},6048:e=>{"use strict";var t={};function a(e,a,n){n||(n=Error);var r=function(e){var t,n;function r(t,n,r){return e.call(this,function(e,t,n){return"string"==typeof a?a:a(e,t,n)}(t,n,r))||this}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,r}(n);r.prototype.name=n.name,r.prototype.code=e,t[e]=r}function n(e,t){if(Array.isArray(e)){var a=e.length;return e=e.map((function(e){return String(e)})),a>2?"one of ".concat(t," ").concat(e.slice(0,a-1).join(", "),", or ")+e[a-1]:2===a?"one of ".concat(t," ").concat(e[0]," or ").concat(e[1]):"of ".concat(t," ").concat(e[0])}return"of ".concat(t," ").concat(String(e))}a("ERR_INVALID_OPT_VALUE",(function(e,t){return'The value "'+t+'" is invalid for option "'+e+'"'}),TypeError),a("ERR_INVALID_ARG_TYPE",(function(e,t,a){var r,o,i,s,c;if("string"==typeof t&&(o="not ",t.substr(0,4)===o)?(r="must not be",t=t.replace(/^not /,"")):r="must be",function(e,t,a){return(void 0===a||a>e.length)&&(a=e.length),e.substring(a-9,a)===t}(e," argument"))i="The ".concat(e," ").concat(r," ").concat(n(t,"type"));else{var p=("number"!=typeof c&&(c=0),c+1>(s=e).length||-1===s.indexOf(".",c)?"argument":"property");i='The "'.concat(e,'" ').concat(p," ").concat(r," ").concat(n(t,"type"))}return i+". Received type ".concat(typeof a)}),TypeError),a("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),a("ERR_METHOD_NOT_IMPLEMENTED",(function(e){return"The "+e+" method is not implemented"})),a("ERR_STREAM_PREMATURE_CLOSE","Premature close"),a("ERR_STREAM_DESTROYED",(function(e){return"Cannot call "+e+" after a stream was destroyed"})),a("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),a("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),a("ERR_STREAM_WRITE_AFTER_END","write after end"),a("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),a("ERR_UNKNOWN_ENCODING",(function(e){return"Unknown encoding: "+e}),TypeError),a("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),e.exports.F=t},5382:(e,t,a)=>{"use strict";var n=a(5606),r=Object.keys||function(e){var t=[];for(var a in e)t.push(a);return t};e.exports=l;var o=a(5412),i=a(6708);a(6698)(l,o);for(var s=r(i.prototype),c=0;c{"use strict";e.exports=r;var n=a(4610);function r(e){if(!(this instanceof r))return new r(e);n.call(this,e)}a(6698)(r,n),r.prototype._transform=function(e,t,a){a(null,e)}},5412:(e,t,a)=>{"use strict";var n,r=a(5606);e.exports=P,P.ReadableState=S,a(7007).EventEmitter;var o,i=function(e,t){return e.listeners(t).length},s=a(345),c=a(8287).Buffer,p=(void 0!==a.g?a.g:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){},l=a(9838);o=l&&l.debuglog?l.debuglog("stream"):function(){};var u,d,m,f=a(2726),h=a(5896),y=a(5291).getHighWaterMark,v=a(6048).F,g=v.ERR_INVALID_ARG_TYPE,b=v.ERR_STREAM_PUSH_AFTER_EOF,x=v.ERR_METHOD_NOT_IMPLEMENTED,w=v.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;a(6698)(P,s);var j=h.errorOrDestroy,k=["error","close","destroy","pause","resume"];function S(e,t,r){n=n||a(5382),e=e||{},"boolean"!=typeof r&&(r=t instanceof n),this.objectMode=!!e.objectMode,r&&(this.objectMode=this.objectMode||!!e.readableObjectMode),this.highWaterMark=y(this,e,"readableHighWaterMark",r),this.buffer=new f,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=!1!==e.emitClose,this.autoDestroy=!!e.autoDestroy,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(u||(u=a(3141).I),this.decoder=new u(e.encoding),this.encoding=e.encoding)}function P(e){if(n=n||a(5382),!(this instanceof P))return new P(e);var t=this instanceof n;this._readableState=new S(e,this,t),this.readable=!0,e&&("function"==typeof e.read&&(this._read=e.read),"function"==typeof e.destroy&&(this._destroy=e.destroy)),s.call(this)}function _(e,t,a,n,r){o("readableAddChunk",t);var i,s=e._readableState;if(null===t)s.reading=!1,function(e,t){if(o("onEofChunk"),!t.ended){if(t.decoder){var a=t.decoder.end();a&&a.length&&(t.buffer.push(a),t.length+=t.objectMode?1:a.length)}t.ended=!0,t.sync?A(e):(t.needReadable=!1,t.emittedReadable||(t.emittedReadable=!0,q(e)))}}(e,s);else if(r||(i=function(e,t){var a,n;return n=t,c.isBuffer(n)||n instanceof p||"string"==typeof t||void 0===t||e.objectMode||(a=new g("chunk",["string","Buffer","Uint8Array"],t)),a}(s,t)),i)j(e,i);else if(s.objectMode||t&&t.length>0)if("string"==typeof t||s.objectMode||Object.getPrototypeOf(t)===c.prototype||(t=function(e){return c.from(e)}(t)),n)s.endEmitted?j(e,new w):T(e,s,t,!0);else if(s.ended)j(e,new b);else{if(s.destroyed)return!1;s.reading=!1,s.decoder&&!a?(t=s.decoder.write(t),s.objectMode||0!==t.length?T(e,s,t,!1):R(e,s)):T(e,s,t,!1)}else n||(s.reading=!1,R(e,s));return!s.ended&&(s.lengtht.highWaterMark&&(t.highWaterMark=function(e){return e>=O?e=O:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function A(e){var t=e._readableState;o("emitReadable",t.needReadable,t.emittedReadable),t.needReadable=!1,t.emittedReadable||(o("emitReadable",t.flowing),t.emittedReadable=!0,r.nextTick(q,e))}function q(e){var t=e._readableState;o("emitReadable_",t.destroyed,t.length,t.ended),t.destroyed||!t.length&&!t.ended||(e.emit("readable"),t.emittedReadable=!1),t.needReadable=!t.flowing&&!t.ended&&t.length<=t.highWaterMark,U(e)}function R(e,t){t.readingMore||(t.readingMore=!0,r.nextTick(C,e,t))}function C(e,t){for(;!t.reading&&!t.ended&&(t.length0,t.resumeScheduled&&!t.paused?t.flowing=!0:e.listenerCount("data")>0&&e.resume()}function L(e){o("readable nexttick read 0"),e.read(0)}function N(e,t){o("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),U(e),t.flowing&&!t.reading&&e.read(0)}function U(e){var t=e._readableState;for(o("flow",t.flowing);t.flowing&&null!==e.read(););}function I(e,t){return 0===t.length?null:(t.objectMode?a=t.buffer.shift():!e||e>=t.length?(a=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.first():t.buffer.concat(t.length),t.buffer.clear()):a=t.buffer.consume(e,t.decoder),a);var a}function M(e){var t=e._readableState;o("endReadable",t.endEmitted),t.endEmitted||(t.ended=!0,r.nextTick(B,t,e))}function B(e,t){if(o("endReadableNT",e.endEmitted,e.length),!e.endEmitted&&0===e.length&&(e.endEmitted=!0,t.readable=!1,t.emit("end"),e.autoDestroy)){var a=t._writableState;(!a||a.autoDestroy&&a.finished)&&t.destroy()}}function z(e,t){for(var a=0,n=e.length;a=t.highWaterMark:t.length>0)||t.ended))return o("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?M(this):A(this),null;if(0===(e=E(e,t))&&t.ended)return 0===t.length&&M(this),null;var n,r=t.needReadable;return o("need readable",r),(0===t.length||t.length-e0?I(e,t):null)?(t.needReadable=t.length<=t.highWaterMark,e=0):(t.length-=e,t.awaitDrain=0),0===t.length&&(t.ended||(t.needReadable=!0),a!==e&&t.ended&&M(this)),null!==n&&this.emit("data",n),n},P.prototype._read=function(e){j(this,new x("_read()"))},P.prototype.pipe=function(e,t){var a=this,n=this._readableState;switch(n.pipesCount){case 0:n.pipes=e;break;case 1:n.pipes=[n.pipes,e];break;default:n.pipes.push(e)}n.pipesCount+=1,o("pipe count=%d opts=%j",n.pipesCount,t);var s=t&&!1===t.end||e===r.stdout||e===r.stderr?h:c;function c(){o("onend"),e.end()}n.endEmitted?r.nextTick(s):a.once("end",s),e.on("unpipe",(function t(r,i){o("onunpipe"),r===a&&i&&!1===i.hasUnpiped&&(i.hasUnpiped=!0,o("cleanup"),e.removeListener("close",m),e.removeListener("finish",f),e.removeListener("drain",p),e.removeListener("error",d),e.removeListener("unpipe",t),a.removeListener("end",c),a.removeListener("end",h),a.removeListener("data",u),l=!0,!n.awaitDrain||e._writableState&&!e._writableState.needDrain||p())}));var p=function(e){return function(){var t=e._readableState;o("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&i(e,"data")&&(t.flowing=!0,U(e))}}(a);e.on("drain",p);var l=!1;function u(t){o("ondata");var r=e.write(t);o("dest.write",r),!1===r&&((1===n.pipesCount&&n.pipes===e||n.pipesCount>1&&-1!==z(n.pipes,e))&&!l&&(o("false write response, pause",n.awaitDrain),n.awaitDrain++),a.pause())}function d(t){o("onerror",t),h(),e.removeListener("error",d),0===i(e,"error")&&j(e,t)}function m(){e.removeListener("finish",f),h()}function f(){o("onfinish"),e.removeListener("close",m),h()}function h(){o("unpipe"),a.unpipe(e)}return a.on("data",u),function(e,t,a){if("function"==typeof e.prependListener)return e.prependListener(t,a);e._events&&e._events[t]?Array.isArray(e._events[t])?e._events[t].unshift(a):e._events[t]=[a,e._events[t]]:e.on(t,a)}(e,"error",d),e.once("close",m),e.once("finish",f),e.emit("pipe",a),n.flowing||(o("pipe resume"),a.resume()),e},P.prototype.unpipe=function(e){var t=this._readableState,a={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,a)),this;if(!e){var n=t.pipes,r=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var o=0;o0,!1!==n.flowing&&this.resume()):"readable"===e&&(n.endEmitted||n.readableListening||(n.readableListening=n.needReadable=!0,n.flowing=!1,n.emittedReadable=!1,o("on readable",n.length,n.reading),n.length?A(this):n.reading||r.nextTick(L,this))),a},P.prototype.addListener=P.prototype.on,P.prototype.removeListener=function(e,t){var a=s.prototype.removeListener.call(this,e,t);return"readable"===e&&r.nextTick(D,this),a},P.prototype.removeAllListeners=function(e){var t=s.prototype.removeAllListeners.apply(this,arguments);return"readable"!==e&&void 0!==e||r.nextTick(D,this),t},P.prototype.resume=function(){var e=this._readableState;return e.flowing||(o("resume"),e.flowing=!e.readableListening,function(e,t){t.resumeScheduled||(t.resumeScheduled=!0,r.nextTick(N,e,t))}(this,e)),e.paused=!1,this},P.prototype.pause=function(){return o("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(o("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},P.prototype.wrap=function(e){var t=this,a=this._readableState,n=!1;for(var r in e.on("end",(function(){if(o("wrapped end"),a.decoder&&!a.ended){var e=a.decoder.end();e&&e.length&&t.push(e)}t.push(null)})),e.on("data",(function(r){o("wrapped data"),a.decoder&&(r=a.decoder.write(r)),a.objectMode&&null==r||(a.objectMode||r&&r.length)&&(t.push(r)||(n=!0,e.pause()))})),e)void 0===this[r]&&"function"==typeof e[r]&&(this[r]=function(t){return function(){return e[t].apply(e,arguments)}}(r));for(var i=0;i{"use strict";e.exports=l;var n=a(6048).F,r=n.ERR_METHOD_NOT_IMPLEMENTED,o=n.ERR_MULTIPLE_CALLBACK,i=n.ERR_TRANSFORM_ALREADY_TRANSFORMING,s=n.ERR_TRANSFORM_WITH_LENGTH_0,c=a(5382);function p(e,t){var a=this._transformState;a.transforming=!1;var n=a.writecb;if(null===n)return this.emit("error",new o);a.writechunk=null,a.writecb=null,null!=t&&this.push(t),n(e);var r=this._readableState;r.reading=!1,(r.needReadable||r.length{"use strict";var n,r=a(5606);function o(e){var t=this;this.next=null,this.entry=null,this.finish=function(){!function(e,t){var a=e.entry;for(e.entry=null;a;){var n=a.callback;t.pendingcb--,n(undefined),a=a.next}t.corkedRequestsFree.next=e}(t,e)}}e.exports=P,P.WritableState=S;var i,s={deprecate:a(4643)},c=a(345),p=a(8287).Buffer,l=(void 0!==a.g?a.g:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){},u=a(5896),d=a(5291).getHighWaterMark,m=a(6048).F,f=m.ERR_INVALID_ARG_TYPE,h=m.ERR_METHOD_NOT_IMPLEMENTED,y=m.ERR_MULTIPLE_CALLBACK,v=m.ERR_STREAM_CANNOT_PIPE,g=m.ERR_STREAM_DESTROYED,b=m.ERR_STREAM_NULL_VALUES,x=m.ERR_STREAM_WRITE_AFTER_END,w=m.ERR_UNKNOWN_ENCODING,j=u.errorOrDestroy;function k(){}function S(e,t,i){n=n||a(5382),e=e||{},"boolean"!=typeof i&&(i=t instanceof n),this.objectMode=!!e.objectMode,i&&(this.objectMode=this.objectMode||!!e.writableObjectMode),this.highWaterMark=d(this,e,"writableHighWaterMark",i),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var s=!1===e.decodeStrings;this.decodeStrings=!s,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){!function(e,t){var a=e._writableState,n=a.sync,o=a.writecb;if("function"!=typeof o)throw new y;if(function(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}(a),t)!function(e,t,a,n,o){--t.pendingcb,a?(r.nextTick(o,n),r.nextTick(q,e,t),e._writableState.errorEmitted=!0,j(e,n)):(o(n),e._writableState.errorEmitted=!0,j(e,n),q(e,t))}(e,a,n,t,o);else{var i=E(a)||e.destroyed;i||a.corked||a.bufferProcessing||!a.bufferedRequest||O(e,a),n?r.nextTick(T,e,a,i,o):T(e,a,i,o)}}(t,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==e.emitClose,this.autoDestroy=!!e.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new o(this)}function P(e){var t=this instanceof(n=n||a(5382));if(!t&&!i.call(P,this))return new P(e);this._writableState=new S(e,this,t),this.writable=!0,e&&("function"==typeof e.write&&(this._write=e.write),"function"==typeof e.writev&&(this._writev=e.writev),"function"==typeof e.destroy&&(this._destroy=e.destroy),"function"==typeof e.final&&(this._final=e.final)),c.call(this)}function _(e,t,a,n,r,o,i){t.writelen=n,t.writecb=i,t.writing=!0,t.sync=!0,t.destroyed?t.onwrite(new g("write")):a?e._writev(r,t.onwrite):e._write(r,o,t.onwrite),t.sync=!1}function T(e,t,a,n){a||function(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}(e,t),t.pendingcb--,n(),q(e,t)}function O(e,t){t.bufferProcessing=!0;var a=t.bufferedRequest;if(e._writev&&a&&a.next){var n=t.bufferedRequestCount,r=new Array(n),i=t.corkedRequestsFree;i.entry=a;for(var s=0,c=!0;a;)r[s]=a,a.isBuf||(c=!1),a=a.next,s+=1;r.allBuffers=c,_(e,t,!0,t.length,r,"",i.finish),t.pendingcb++,t.lastBufferedRequest=null,i.next?(t.corkedRequestsFree=i.next,i.next=null):t.corkedRequestsFree=new o(t),t.bufferedRequestCount=0}else{for(;a;){var p=a.chunk,l=a.encoding,u=a.callback;if(_(e,t,!1,t.objectMode?1:p.length,p,l,u),a=a.next,t.bufferedRequestCount--,t.writing)break}null===a&&(t.lastBufferedRequest=null)}t.bufferedRequest=a,t.bufferProcessing=!1}function E(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function A(e,t){e._final((function(a){t.pendingcb--,a&&j(e,a),t.prefinished=!0,e.emit("prefinish"),q(e,t)}))}function q(e,t){var a=E(t);if(a&&(function(e,t){t.prefinished||t.finalCalled||("function"!=typeof e._final||t.destroyed?(t.prefinished=!0,e.emit("prefinish")):(t.pendingcb++,t.finalCalled=!0,r.nextTick(A,e,t)))}(e,t),0===t.pendingcb&&(t.finished=!0,e.emit("finish"),t.autoDestroy))){var n=e._readableState;(!n||n.autoDestroy&&n.endEmitted)&&e.destroy()}return a}a(6698)(P,c),S.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(S.prototype,"buffer",{get:s.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(i=Function.prototype[Symbol.hasInstance],Object.defineProperty(P,Symbol.hasInstance,{value:function(e){return!!i.call(this,e)||this===P&&e&&e._writableState instanceof S}})):i=function(e){return e instanceof this},P.prototype.pipe=function(){j(this,new v)},P.prototype.write=function(e,t,a){var n,o=this._writableState,i=!1,s=!o.objectMode&&(n=e,p.isBuffer(n)||n instanceof l);return s&&!p.isBuffer(e)&&(e=function(e){return p.from(e)}(e)),"function"==typeof t&&(a=t,t=null),s?t="buffer":t||(t=o.defaultEncoding),"function"!=typeof a&&(a=k),o.ending?function(e,t){var a=new x;j(e,a),r.nextTick(t,a)}(this,a):(s||function(e,t,a,n){var o;return null===a?o=new b:"string"==typeof a||t.objectMode||(o=new f("chunk",["string","Buffer"],a)),!o||(j(e,o),r.nextTick(n,o),!1)}(this,o,e,a))&&(o.pendingcb++,i=function(e,t,a,n,r,o){if(!a){var i=function(e,t,a){return e.objectMode||!1===e.decodeStrings||"string"!=typeof t||(t=p.from(t,a)),t}(t,n,r);n!==i&&(a=!0,r="buffer",n=i)}var s=t.objectMode?1:n.length;t.length+=s;var c=t.length-1))throw new w(e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(P.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(P.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),P.prototype._write=function(e,t,a){a(new h("_write()"))},P.prototype._writev=null,P.prototype.end=function(e,t,a){var n=this._writableState;return"function"==typeof e?(a=e,e=null,t=null):"function"==typeof t&&(a=t,t=null),null!=e&&this.write(e,t),n.corked&&(n.corked=1,this.uncork()),n.ending||function(e,t,a){t.ending=!0,q(e,t),a&&(t.finished?r.nextTick(a):e.once("finish",a)),t.ended=!0,e.writable=!1}(this,n,a),this},Object.defineProperty(P.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(P.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),P.prototype.destroy=u.destroy,P.prototype._undestroy=u.undestroy,P.prototype._destroy=function(e,t){t(e)}},2955:(e,t,a)=>{"use strict";var n,r=a(5606);function o(e,t,a){return(t=function(e){var t=function(e){if("object"!=typeof e||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var a=t.call(e,"string");if("object"!=typeof a)return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var i=a(6238),s=Symbol("lastResolve"),c=Symbol("lastReject"),p=Symbol("error"),l=Symbol("ended"),u=Symbol("lastPromise"),d=Symbol("handlePromise"),m=Symbol("stream");function f(e,t){return{value:e,done:t}}function h(e){var t=e[s];if(null!==t){var a=e[m].read();null!==a&&(e[u]=null,e[s]=null,e[c]=null,t(f(a,!1)))}}function y(e){r.nextTick(h,e)}var v=Object.getPrototypeOf((function(){})),g=Object.setPrototypeOf((o(n={get stream(){return this[m]},next:function(){var e=this,t=this[p];if(null!==t)return Promise.reject(t);if(this[l])return Promise.resolve(f(void 0,!0));if(this[m].destroyed)return new Promise((function(t,a){r.nextTick((function(){e[p]?a(e[p]):t(f(void 0,!0))}))}));var a,n=this[u];if(n)a=new Promise(function(e,t){return function(a,n){e.then((function(){t[l]?a(f(void 0,!0)):t[d](a,n)}),n)}}(n,this));else{var o=this[m].read();if(null!==o)return Promise.resolve(f(o,!1));a=new Promise(this[d])}return this[u]=a,a}},Symbol.asyncIterator,(function(){return this})),o(n,"return",(function(){var e=this;return new Promise((function(t,a){e[m].destroy(null,(function(e){e?a(e):t(f(void 0,!0))}))}))})),n),v);e.exports=function(e){var t,a=Object.create(g,(o(t={},m,{value:e,writable:!0}),o(t,s,{value:null,writable:!0}),o(t,c,{value:null,writable:!0}),o(t,p,{value:null,writable:!0}),o(t,l,{value:e._readableState.endEmitted,writable:!0}),o(t,d,{value:function(e,t){var n=a[m].read();n?(a[u]=null,a[s]=null,a[c]=null,e(f(n,!1))):(a[s]=e,a[c]=t)},writable:!0}),t));return a[u]=null,i(e,(function(e){if(e&&"ERR_STREAM_PREMATURE_CLOSE"!==e.code){var t=a[c];return null!==t&&(a[u]=null,a[s]=null,a[c]=null,t(e)),void(a[p]=e)}var n=a[s];null!==n&&(a[u]=null,a[s]=null,a[c]=null,n(f(void 0,!0))),a[l]=!0})),e.on("readable",y.bind(null,a)),a}},2726:(e,t,a)=>{"use strict";function n(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function r(e){for(var t=1;t0?this.tail.next=t:this.head=t,this.tail=t,++this.length}},{key:"unshift",value:function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length}},{key:"shift",value:function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(e){if(0===this.length)return"";for(var t=this.head,a=""+t.data;t=t.next;)a+=e+t.data;return a}},{key:"concat",value:function(e){if(0===this.length)return c.alloc(0);for(var t,a,n,r=c.allocUnsafe(e>>>0),o=this.head,i=0;o;)t=o.data,a=r,n=i,c.prototype.copy.call(t,a,n),i+=o.data.length,o=o.next;return r}},{key:"consume",value:function(e,t){var a;return er.length?r.length:e;if(o===r.length?n+=r:n+=r.slice(0,e),0==(e-=o)){o===r.length?(++a,t.next?this.head=t.next:this.head=this.tail=null):(this.head=t,t.data=r.slice(o));break}++a}return this.length-=a,n}},{key:"_getBuffer",value:function(e){var t=c.allocUnsafe(e),a=this.head,n=1;for(a.data.copy(t),e-=a.data.length;a=a.next;){var r=a.data,o=e>r.length?r.length:e;if(r.copy(t,t.length-e,0,o),0==(e-=o)){o===r.length?(++n,a.next?this.head=a.next:this.head=this.tail=null):(this.head=a,a.data=r.slice(o));break}++n}return this.length-=n,t}},{key:l,value:function(e,t){return p(this,r(r({},t),{},{depth:0,customInspect:!1}))}}])&&i(t.prototype,a),Object.defineProperty(t,"prototype",{writable:!1}),e}()},5896:(e,t,a)=>{"use strict";var n=a(5606);function r(e,t){i(e,t),o(e)}function o(e){e._writableState&&!e._writableState.emitClose||e._readableState&&!e._readableState.emitClose||e.emit("close")}function i(e,t){e.emit("error",t)}e.exports={destroy:function(e,t){var a=this,s=this._readableState&&this._readableState.destroyed,c=this._writableState&&this._writableState.destroyed;return s||c?(t?t(e):e&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,n.nextTick(i,this,e)):n.nextTick(i,this,e)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,(function(e){!t&&e?a._writableState?a._writableState.errorEmitted?n.nextTick(o,a):(a._writableState.errorEmitted=!0,n.nextTick(r,a,e)):n.nextTick(r,a,e):t?(n.nextTick(o,a),t(e)):n.nextTick(o,a)})),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)},errorOrDestroy:function(e,t){var a=e._readableState,n=e._writableState;a&&a.autoDestroy||n&&n.autoDestroy?e.destroy(t):e.emit("error",t)}}},6238:(e,t,a)=>{"use strict";var n=a(6048).F.ERR_STREAM_PREMATURE_CLOSE;function r(){}e.exports=function e(t,a,o){if("function"==typeof a)return e(t,null,a);a||(a={}),o=function(e){var t=!1;return function(){if(!t){t=!0;for(var a=arguments.length,n=new Array(a),r=0;r{e.exports=function(){throw new Error("Readable.from is not available in the browser")}},7758:(e,t,a)=>{"use strict";var n,r=a(6048).F,o=r.ERR_MISSING_ARGS,i=r.ERR_STREAM_DESTROYED;function s(e){if(e)throw e}function c(e){e()}function p(e,t){return e.pipe(t)}e.exports=function(){for(var e=arguments.length,t=new Array(e),r=0;r0,(function(e){l||(l=e),e&&d.forEach(c),o||(d.forEach(c),u(l))}))}));return t.reduce(p)}},5291:(e,t,a)=>{"use strict";var n=a(6048).F.ERR_INVALID_OPT_VALUE;e.exports={getHighWaterMark:function(e,t,a,r){var o=function(e,t,a){return null!=e.highWaterMark?e.highWaterMark:t?e[a]:null}(t,r,a);if(null!=o){if(!isFinite(o)||Math.floor(o)!==o||o<0)throw new n(r?a:"highWaterMark",o);return Math.floor(o)}return e.objectMode?16:16384}}},345:(e,t,a)=>{e.exports=a(7007).EventEmitter},8399:(e,t,a)=>{(t=e.exports=a(5412)).Stream=t,t.Readable=t,t.Writable=a(6708),t.Duplex=a(5382),t.Transform=a(4610),t.PassThrough=a(3600),t.finished=a(6238),t.pipeline=a(7758)},2861:(e,t,a)=>{var n=a(8287),r=n.Buffer;function o(e,t){for(var a in e)t[a]=e[a]}function i(e,t,a){return r(e,t,a)}r.from&&r.alloc&&r.allocUnsafe&&r.allocUnsafeSlow?e.exports=n:(o(n,t),t.Buffer=i),i.prototype=Object.create(r.prototype),o(r,i),i.from=function(e,t,a){if("number"==typeof e)throw new TypeError("Argument must not be a number");return r(e,t,a)},i.alloc=function(e,t,a){if("number"!=typeof e)throw new TypeError("Argument must be a number");var n=r(e);return void 0!==t?"string"==typeof a?n.fill(t,a):n.fill(t):n.fill(0),n},i.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return r(e)},i.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return n.SlowBuffer(e)}},6897:(e,t,a)=>{"use strict";var n=a(453),r=a(41),o=a(592)(),i=a(5795),s=a(9675),c=n("%Math.floor%");e.exports=function(e,t){if("function"!=typeof e)throw new s("`fn` is not a function");if("number"!=typeof t||t<0||t>4294967295||c(t)!==t)throw new s("`length` must be a positive 32-bit integer");var a=arguments.length>2&&!!arguments[2],n=!0,p=!0;if("length"in e&&i){var l=i(e,"length");l&&!l.configurable&&(n=!1),l&&!l.writable&&(p=!1)}return(n||p||!a)&&(o?r(e,"length",t,!0,!0):r(e,"length",t)),e}},920:(e,t,a)=>{"use strict";var n=a(453),r=a(8075),o=a(1850),i=a(9675),s=n("%WeakMap%",!0),c=n("%Map%",!0),p=r("WeakMap.prototype.get",!0),l=r("WeakMap.prototype.set",!0),u=r("WeakMap.prototype.has",!0),d=r("Map.prototype.get",!0),m=r("Map.prototype.set",!0),f=r("Map.prototype.has",!0),h=function(e,t){for(var a,n=e;null!==(a=n.next);n=a)if(a.key===t)return n.next=a.next,a.next=e.next,e.next=a,a};e.exports=function(){var e,t,a,n={assert:function(e){if(!n.has(e))throw new i("Side channel does not contain "+o(e))},get:function(n){if(s&&n&&("object"==typeof n||"function"==typeof n)){if(e)return p(e,n)}else if(c){if(t)return d(t,n)}else if(a)return function(e,t){var a=h(e,t);return a&&a.value}(a,n)},has:function(n){if(s&&n&&("object"==typeof n||"function"==typeof n)){if(e)return u(e,n)}else if(c){if(t)return f(t,n)}else if(a)return function(e,t){return!!h(e,t)}(a,n);return!1},set:function(n,r){s&&n&&("object"==typeof n||"function"==typeof n)?(e||(e=new s),l(e,n,r)):c?(t||(t=new c),m(t,n,r)):(a||(a={key:{},next:null}),function(e,t,a){var n=h(e,t);n?n.value=a:e.next={key:t,next:e.next,value:a}}(a,n,r))}};return n}},1850:(e,t,a)=>{var n="function"==typeof Map&&Map.prototype,r=Object.getOwnPropertyDescriptor&&n?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,o=n&&r&&"function"==typeof r.get?r.get:null,i=n&&Map.prototype.forEach,s="function"==typeof Set&&Set.prototype,c=Object.getOwnPropertyDescriptor&&s?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,p=s&&c&&"function"==typeof c.get?c.get:null,l=s&&Set.prototype.forEach,u="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,d="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,m="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,f=Boolean.prototype.valueOf,h=Object.prototype.toString,y=Function.prototype.toString,v=String.prototype.match,g=String.prototype.slice,b=String.prototype.replace,x=String.prototype.toUpperCase,w=String.prototype.toLowerCase,j=RegExp.prototype.test,k=Array.prototype.concat,S=Array.prototype.join,P=Array.prototype.slice,_=Math.floor,T="function"==typeof BigInt?BigInt.prototype.valueOf:null,O=Object.getOwnPropertySymbols,E="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,A="function"==typeof Symbol&&"object"==typeof Symbol.iterator,q="function"==typeof Symbol&&Symbol.toStringTag&&(Symbol.toStringTag,1)?Symbol.toStringTag:null,R=Object.prototype.propertyIsEnumerable,C=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function D(e,t){if(e===1/0||e===-1/0||e!=e||e&&e>-1e3&&e<1e3||j.call(/e/,t))return t;var a=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof e){var n=e<0?-_(-e):_(e);if(n!==e){var r=String(n),o=g.call(t,r.length+1);return b.call(r,a,"$&_")+"."+b.call(b.call(o,/([0-9]{3})/g,"$&_"),/_$/,"")}}return b.call(t,a,"$&_")}var L=a(1635),N=L.custom,U=H(N)?N:null;function I(e,t,a){var n="double"===(a.quoteStyle||t)?'"':"'";return n+e+n}function M(e){return b.call(String(e),/"/g,""")}function B(e){return!("[object Array]"!==W(e)||q&&"object"==typeof e&&q in e)}function z(e){return!("[object RegExp]"!==W(e)||q&&"object"==typeof e&&q in e)}function H(e){if(A)return e&&"object"==typeof e&&e instanceof Symbol;if("symbol"==typeof e)return!0;if(!e||"object"!=typeof e||!E)return!1;try{return E.call(e),!0}catch(e){}return!1}e.exports=function e(t,n,r,s){var c=n||{};if($(c,"quoteStyle")&&"single"!==c.quoteStyle&&"double"!==c.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if($(c,"maxStringLength")&&("number"==typeof c.maxStringLength?c.maxStringLength<0&&c.maxStringLength!==1/0:null!==c.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var h=!$(c,"customInspect")||c.customInspect;if("boolean"!=typeof h&&"symbol"!==h)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if($(c,"indent")&&null!==c.indent&&"\t"!==c.indent&&!(parseInt(c.indent,10)===c.indent&&c.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if($(c,"numericSeparator")&&"boolean"!=typeof c.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var x=c.numericSeparator;if(void 0===t)return"undefined";if(null===t)return"null";if("boolean"==typeof t)return t?"true":"false";if("string"==typeof t)return G(t,c);if("number"==typeof t){if(0===t)return 1/0/t>0?"0":"-0";var j=String(t);return x?D(t,j):j}if("bigint"==typeof t){var _=String(t)+"n";return x?D(t,_):_}var O=void 0===c.depth?5:c.depth;if(void 0===r&&(r=0),r>=O&&O>0&&"object"==typeof t)return B(t)?"[Array]":"[Object]";var N,F=function(e,t){var a;if("\t"===e.indent)a="\t";else{if(!("number"==typeof e.indent&&e.indent>0))return null;a=S.call(Array(e.indent+1)," ")}return{base:a,prev:S.call(Array(t+1),a)}}(c,r);if(void 0===s)s=[];else if(V(s,t)>=0)return"[Circular]";function J(t,a,n){if(a&&(s=P.call(s)).push(a),n){var o={depth:c.depth};return $(c,"quoteStyle")&&(o.quoteStyle=c.quoteStyle),e(t,o,r+1,s)}return e(t,c,r+1,s)}if("function"==typeof t&&!z(t)){var ee=function(e){if(e.name)return e.name;var t=v.call(y.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}(t),te=X(t,J);return"[Function"+(ee?": "+ee:" (anonymous)")+"]"+(te.length>0?" { "+S.call(te,", ")+" }":"")}if(H(t)){var ae=A?b.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):E.call(t);return"object"!=typeof t||A?ae:K(ae)}if((N=t)&&"object"==typeof N&&("undefined"!=typeof HTMLElement&&N instanceof HTMLElement||"string"==typeof N.nodeName&&"function"==typeof N.getAttribute)){for(var ne="<"+w.call(String(t.nodeName)),re=t.attributes||[],oe=0;oe"}if(B(t)){if(0===t.length)return"[]";var ie=X(t,J);return F&&!function(e){for(var t=0;t=0)return!1;return!0}(ie)?"["+Y(ie,F)+"]":"[ "+S.call(ie,", ")+" ]"}if(function(e){return!("[object Error]"!==W(e)||q&&"object"==typeof e&&q in e)}(t)){var se=X(t,J);return"cause"in Error.prototype||!("cause"in t)||R.call(t,"cause")?0===se.length?"["+String(t)+"]":"{ ["+String(t)+"] "+S.call(se,", ")+" }":"{ ["+String(t)+"] "+S.call(k.call("[cause]: "+J(t.cause),se),", ")+" }"}if("object"==typeof t&&h){if(U&&"function"==typeof t[U]&&L)return L(t,{depth:O-r});if("symbol"!==h&&"function"==typeof t.inspect)return t.inspect()}if(function(e){if(!o||!e||"object"!=typeof e)return!1;try{o.call(e);try{p.call(e)}catch(e){return!0}return e instanceof Map}catch(e){}return!1}(t)){var ce=[];return i&&i.call(t,(function(e,a){ce.push(J(a,t,!0)+" => "+J(e,t))})),Z("Map",o.call(t),ce,F)}if(function(e){if(!p||!e||"object"!=typeof e)return!1;try{p.call(e);try{o.call(e)}catch(e){return!0}return e instanceof Set}catch(e){}return!1}(t)){var pe=[];return l&&l.call(t,(function(e){pe.push(J(e,t))})),Z("Set",p.call(t),pe,F)}if(function(e){if(!u||!e||"object"!=typeof e)return!1;try{u.call(e,u);try{d.call(e,d)}catch(e){return!0}return e instanceof WeakMap}catch(e){}return!1}(t))return Q("WeakMap");if(function(e){if(!d||!e||"object"!=typeof e)return!1;try{d.call(e,d);try{u.call(e,u)}catch(e){return!0}return e instanceof WeakSet}catch(e){}return!1}(t))return Q("WeakSet");if(function(e){if(!m||!e||"object"!=typeof e)return!1;try{return m.call(e),!0}catch(e){}return!1}(t))return Q("WeakRef");if(function(e){return!("[object Number]"!==W(e)||q&&"object"==typeof e&&q in e)}(t))return K(J(Number(t)));if(function(e){if(!e||"object"!=typeof e||!T)return!1;try{return T.call(e),!0}catch(e){}return!1}(t))return K(J(T.call(t)));if(function(e){return!("[object Boolean]"!==W(e)||q&&"object"==typeof e&&q in e)}(t))return K(f.call(t));if(function(e){return!("[object String]"!==W(e)||q&&"object"==typeof e&&q in e)}(t))return K(J(String(t)));if("undefined"!=typeof window&&t===window)return"{ [object Window] }";if(t===a.g)return"{ [object globalThis] }";if(!function(e){return!("[object Date]"!==W(e)||q&&"object"==typeof e&&q in e)}(t)&&!z(t)){var le=X(t,J),ue=C?C(t)===Object.prototype:t instanceof Object||t.constructor===Object,de=t instanceof Object?"":"null prototype",me=!ue&&q&&Object(t)===t&&q in t?g.call(W(t),8,-1):de?"Object":"",fe=(ue||"function"!=typeof t.constructor?"":t.constructor.name?t.constructor.name+" ":"")+(me||de?"["+S.call(k.call([],me||[],de||[]),": ")+"] ":"");return 0===le.length?fe+"{}":F?fe+"{"+Y(le,F)+"}":fe+"{ "+S.call(le,", ")+" }"}return String(t)};var F=Object.prototype.hasOwnProperty||function(e){return e in this};function $(e,t){return F.call(e,t)}function W(e){return h.call(e)}function V(e,t){if(e.indexOf)return e.indexOf(t);for(var a=0,n=e.length;at.maxStringLength){var a=e.length-t.maxStringLength,n="... "+a+" more character"+(a>1?"s":"");return G(g.call(e,0,t.maxStringLength),t)+n}return I(b.call(b.call(e,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,J),"single",t)}function J(e){var t=e.charCodeAt(0),a={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return a?"\\"+a:"\\x"+(t<16?"0":"")+x.call(t.toString(16))}function K(e){return"Object("+e+")"}function Q(e){return e+" { ? }"}function Z(e,t,a,n){return e+" ("+t+") {"+(n?Y(a,n):S.call(a,", "))+"}"}function Y(e,t){if(0===e.length)return"";var a="\n"+t.prev+t.base;return a+S.call(e,","+a)+"\n"+t.prev}function X(e,t){var a=B(e),n=[];if(a){n.length=e.length;for(var r=0;r{var n=a(1094),r=a(3141).I;e.exports=function(e,t,a){var o=new r,i="",s=a&&a.maxLength,c=!a||!1!==a.trailing;function p(e,a){if(t){try{a=t(a)}catch(t){return e.emit("error",t)}void 0!==a&&e.queue(a)}else e.queue(a)}function l(t,a){var n=((null!=i?i:"")+a).split(e);if(i=n.pop(),s&&i.length>s)return t.emit("error",new Error("maximum buffer reached"));for(var r=0;r{e.exports=r;var n=a(7007).EventEmitter;function r(){n.call(this)}a(6698)(r,n),r.Readable=a(5412),r.Writable=a(6708),r.Duplex=a(5382),r.Transform=a(4610),r.PassThrough=a(3600),r.finished=a(6238),r.pipeline=a(7758),r.Stream=r,r.prototype.pipe=function(e,t){var a=this;function r(t){e.writable&&!1===e.write(t)&&a.pause&&a.pause()}function o(){a.readable&&a.resume&&a.resume()}a.on("data",r),e.on("drain",o),e._isStdio||t&&!1===t.end||(a.on("end",s),a.on("close",c));var i=!1;function s(){i||(i=!0,e.end())}function c(){i||(i=!0,"function"==typeof e.destroy&&e.destroy())}function p(e){if(l(),0===n.listenerCount(this,"error"))throw e}function l(){a.removeListener("data",r),e.removeListener("drain",o),a.removeListener("end",s),a.removeListener("close",c),a.removeListener("error",p),e.removeListener("error",p),a.removeListener("end",l),a.removeListener("close",l),e.removeListener("close",l)}return a.on("error",p),e.on("error",p),a.on("end",l),a.on("close",l),e.on("close",l),e.emit("pipe",a),e}},8497:(e,t,a)=>{var n=a(4928),r=a(1094);e.exports=function(){var e;if(0==(e=1==arguments.length&&Array.isArray(arguments[0])?arguments[0]:[].slice.call(arguments)).length)return r();if(1==e.length)return e[0];var t=e[0],a=e[e.length-1],o=n(t,a);function i(){var e=[].slice.call(arguments);e.unshift("error"),o.emit.apply(o,e)}!function e(t){t.length<2||(t[0].pipe(t[1]),e(t.slice(1)))}(e);for(var s=1;s{var n=a(5537),r=a(6917),o=a(7510),i=a(6866),s=a(8835),c=t;c.request=function(e,t){e="string"==typeof e?s.parse(e):o(e);var r=-1===a.g.location.protocol.search(/^https?:$/)?"http:":"",i=e.protocol||r,c=e.hostname||e.host,p=e.port,l=e.path||"/";c&&-1!==c.indexOf(":")&&(c="["+c+"]"),e.url=(c?i+"//"+c:"")+(p?":"+p:"")+l,e.method=(e.method||"GET").toUpperCase(),e.headers=e.headers||{};var u=new n(e);return t&&u.on("response",t),u},c.get=function(e,t){var a=c.request(e,t);return a.end(),a},c.ClientRequest=n,c.IncomingMessage=r.IncomingMessage,c.Agent=function(){},c.Agent.defaultMaxSockets=4,c.globalAgent=new c.Agent,c.STATUS_CODES=i,c.METHODS=["CHECKOUT","CONNECT","COPY","DELETE","GET","HEAD","LOCK","M-SEARCH","MERGE","MKACTIVITY","MKCOL","MOVE","NOTIFY","OPTIONS","PATCH","POST","PROPFIND","PROPPATCH","PURGE","PUT","REPORT","SEARCH","SUBSCRIBE","TRACE","UNLOCK","UNSUBSCRIBE"]},6688:(e,t,a)=>{var n;function r(){if(void 0!==n)return n;if(a.g.XMLHttpRequest){n=new a.g.XMLHttpRequest;try{n.open("GET",a.g.XDomainRequest?"/":"https://example.com")}catch(e){n=null}}else n=null;return n}function o(e){var t=r();if(!t)return!1;try{return t.responseType=e,t.responseType===e}catch(e){}return!1}function i(e){return"function"==typeof e}t.fetch=i(a.g.fetch)&&i(a.g.ReadableStream),t.writableStream=i(a.g.WritableStream),t.abortController=i(a.g.AbortController),t.arraybuffer=t.fetch||o("arraybuffer"),t.msstream=!t.fetch&&o("ms-stream"),t.mozchunkedarraybuffer=!t.fetch&&o("moz-chunked-arraybuffer"),t.overrideMimeType=t.fetch||!!r()&&i(r().overrideMimeType),n=null},5537:(e,t,a)=>{var n=a(5606),r=a(6688),o=a(6698),i=a(6917),s=a(8399),c=i.IncomingMessage,p=i.readyStates,l=e.exports=function(e){var t,a=this;s.Writable.call(a),a._opts=e,a._body=[],a._headers={},e.auth&&a.setHeader("Authorization","Basic "+Buffer.from(e.auth).toString("base64")),Object.keys(e.headers).forEach((function(t){a.setHeader(t,e.headers[t])}));var n=!0;if("disable-fetch"===e.mode||"requestTimeout"in e&&!r.abortController)n=!1,t=!0;else if("prefer-streaming"===e.mode)t=!1;else if("allow-wrong-content-type"===e.mode)t=!r.overrideMimeType;else{if(e.mode&&"default"!==e.mode&&"prefer-fast"!==e.mode)throw new Error("Invalid value for opts.mode");t=!0}a._mode=function(e,t){return r.fetch&&t?"fetch":r.mozchunkedarraybuffer?"moz-chunked-arraybuffer":r.msstream?"ms-stream":r.arraybuffer&&e?"arraybuffer":"text"}(t,n),a._fetchTimer=null,a._socketTimeout=null,a._socketTimer=null,a.on("finish",(function(){a._onFinish()}))};o(l,s.Writable),l.prototype.setHeader=function(e,t){var a=e.toLowerCase();-1===u.indexOf(a)&&(this._headers[a]={name:e,value:t})},l.prototype.getHeader=function(e){var t=this._headers[e.toLowerCase()];return t?t.value:null},l.prototype.removeHeader=function(e){delete this._headers[e.toLowerCase()]},l.prototype._onFinish=function(){var e=this;if(!e._destroyed){var t=e._opts;"timeout"in t&&0!==t.timeout&&e.setTimeout(t.timeout);var o=e._headers,i=null;"GET"!==t.method&&"HEAD"!==t.method&&(i=new Blob(e._body,{type:(o["content-type"]||{}).value||""}));var s=[];if(Object.keys(o).forEach((function(e){var t=o[e].name,a=o[e].value;Array.isArray(a)?a.forEach((function(e){s.push([t,e])})):s.push([t,a])})),"fetch"===e._mode){var c=null;if(r.abortController){var l=new AbortController;c=l.signal,e._fetchAbortController=l,"requestTimeout"in t&&0!==t.requestTimeout&&(e._fetchTimer=a.g.setTimeout((function(){e.emit("requestTimeout"),e._fetchAbortController&&e._fetchAbortController.abort()}),t.requestTimeout))}a.g.fetch(e._opts.url,{method:e._opts.method,headers:s,body:i||void 0,mode:"cors",credentials:t.withCredentials?"include":"same-origin",signal:c}).then((function(t){e._fetchResponse=t,e._resetTimers(!1),e._connect()}),(function(t){e._resetTimers(!0),e._destroyed||e.emit("error",t)}))}else{var u=e._xhr=new a.g.XMLHttpRequest;try{u.open(e._opts.method,e._opts.url,!0)}catch(t){return void n.nextTick((function(){e.emit("error",t)}))}"responseType"in u&&(u.responseType=e._mode),"withCredentials"in u&&(u.withCredentials=!!t.withCredentials),"text"===e._mode&&"overrideMimeType"in u&&u.overrideMimeType("text/plain; charset=x-user-defined"),"requestTimeout"in t&&(u.timeout=t.requestTimeout,u.ontimeout=function(){e.emit("requestTimeout")}),s.forEach((function(e){u.setRequestHeader(e[0],e[1])})),e._response=null,u.onreadystatechange=function(){switch(u.readyState){case p.LOADING:case p.DONE:e._onXHRProgress()}},"moz-chunked-arraybuffer"===e._mode&&(u.onprogress=function(){e._onXHRProgress()}),u.onerror=function(){e._destroyed||(e._resetTimers(!0),e.emit("error",new Error("XHR error")))};try{u.send(i)}catch(t){return void n.nextTick((function(){e.emit("error",t)}))}}}},l.prototype._onXHRProgress=function(){var e=this;e._resetTimers(!1),function(e){try{var t=e.status;return null!==t&&0!==t}catch(e){return!1}}(e._xhr)&&!e._destroyed&&(e._response||e._connect(),e._response._onXHRProgress(e._resetTimers.bind(e)))},l.prototype._connect=function(){var e=this;e._destroyed||(e._response=new c(e._xhr,e._fetchResponse,e._mode,e._resetTimers.bind(e)),e._response.on("error",(function(t){e.emit("error",t)})),e.emit("response",e._response))},l.prototype._write=function(e,t,a){this._body.push(e),a()},l.prototype._resetTimers=function(e){var t=this;a.g.clearTimeout(t._socketTimer),t._socketTimer=null,e?(a.g.clearTimeout(t._fetchTimer),t._fetchTimer=null):t._socketTimeout&&(t._socketTimer=a.g.setTimeout((function(){t.emit("timeout")}),t._socketTimeout))},l.prototype.abort=l.prototype.destroy=function(e){var t=this;t._destroyed=!0,t._resetTimers(!0),t._response&&(t._response._destroyed=!0),t._xhr?t._xhr.abort():t._fetchAbortController&&t._fetchAbortController.abort(),e&&t.emit("error",e)},l.prototype.end=function(e,t,a){"function"==typeof e&&(a=e,e=void 0),s.Writable.prototype.end.call(this,e,t,a)},l.prototype.setTimeout=function(e,t){var a=this;t&&a.once("timeout",t),a._socketTimeout=e,a._resetTimers(!1)},l.prototype.flushHeaders=function(){},l.prototype.setNoDelay=function(){},l.prototype.setSocketKeepAlive=function(){};var u=["accept-charset","accept-encoding","access-control-request-headers","access-control-request-method","connection","content-length","cookie","cookie2","date","dnt","expect","host","keep-alive","origin","referer","te","trailer","transfer-encoding","upgrade","via"]},6917:(e,t,a)=>{var n=a(5606),r=a(6688),o=a(6698),i=a(8399),s=t.readyStates={UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4},c=t.IncomingMessage=function(e,t,a,o){var s=this;if(i.Readable.call(s),s._mode=a,s.headers={},s.rawHeaders=[],s.trailers={},s.rawTrailers=[],s.on("end",(function(){n.nextTick((function(){s.emit("close")}))})),"fetch"===a){if(s._fetchResponse=t,s.url=t.url,s.statusCode=t.status,s.statusMessage=t.statusText,t.headers.forEach((function(e,t){s.headers[t.toLowerCase()]=e,s.rawHeaders.push(t,e)})),r.writableStream){var c=new WritableStream({write:function(e){return o(!1),new Promise((function(t,a){s._destroyed?a():s.push(Buffer.from(e))?t():s._resumeFetch=t}))},close:function(){o(!0),s._destroyed||s.push(null)},abort:function(e){o(!0),s._destroyed||s.emit("error",e)}});try{return void t.body.pipeTo(c).catch((function(e){o(!0),s._destroyed||s.emit("error",e)}))}catch(e){}}var p=t.body.getReader();!function e(){p.read().then((function(t){s._destroyed||(o(t.done),t.done?s.push(null):(s.push(Buffer.from(t.value)),e()))})).catch((function(e){o(!0),s._destroyed||s.emit("error",e)}))}()}else if(s._xhr=e,s._pos=0,s.url=e.responseURL,s.statusCode=e.status,s.statusMessage=e.statusText,e.getAllResponseHeaders().split(/\r?\n/).forEach((function(e){var t=e.match(/^([^:]+):\s*(.*)/);if(t){var a=t[1].toLowerCase();"set-cookie"===a?(void 0===s.headers[a]&&(s.headers[a]=[]),s.headers[a].push(t[2])):void 0!==s.headers[a]?s.headers[a]+=", "+t[2]:s.headers[a]=t[2],s.rawHeaders.push(t[1],t[2])}})),s._charset="x-user-defined",!r.overrideMimeType){var l=s.rawHeaders["mime-type"];if(l){var u=l.match(/;\s*charset=([^;])(;|$)/);u&&(s._charset=u[1].toLowerCase())}s._charset||(s._charset="utf-8")}};o(c,i.Readable),c.prototype._read=function(){var e=this._resumeFetch;e&&(this._resumeFetch=null,e())},c.prototype._onXHRProgress=function(e){var t=this,n=t._xhr,r=null;switch(t._mode){case"text":if((r=n.responseText).length>t._pos){var o=r.substr(t._pos);if("x-user-defined"===t._charset){for(var i=Buffer.alloc(o.length),c=0;ct._pos&&(t.push(Buffer.from(new Uint8Array(p.result.slice(t._pos)))),t._pos=p.result.byteLength)},p.onload=function(){e(!0),t.push(null)},p.readAsArrayBuffer(r)}t._xhr.readyState===s.DONE&&"ms-stream"!==t._mode&&(e(!0),t.push(null))}},3141:(e,t,a)=>{"use strict";var n=a(2861).Buffer,r=n.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function o(e){var t;switch(this.encoding=function(e){var t=function(e){if(!e)return"utf8";for(var t;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}(e);if("string"!=typeof t&&(n.isEncoding===r||!r(e)))throw new Error("Unknown encoding: "+e);return t||e}(e),this.encoding){case"utf16le":this.text=c,this.end=p,t=4;break;case"utf8":this.fillLast=s,t=4;break;case"base64":this.text=l,this.end=u,t=3;break;default:return this.write=d,void(this.end=m)}this.lastNeed=0,this.lastTotal=0,this.lastChar=n.allocUnsafe(t)}function i(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function s(e){var t=this.lastTotal-this.lastNeed,a=function(e,t){if(128!=(192&t[0]))return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if(128!=(192&t[1]))return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&128!=(192&t[2]))return e.lastNeed=2,"�"}}(this,e);return void 0!==a?a:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function c(e,t){if((e.length-t)%2==0){var a=e.toString("utf16le",t);if(a){var n=a.charCodeAt(a.length-1);if(n>=55296&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],a.slice(0,-1)}return a}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function p(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var a=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,a)}return t}function l(e,t){var a=(e.length-t)%3;return 0===a?e.toString("base64",t):(this.lastNeed=3-a,this.lastTotal=3,1===a?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-a))}function u(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function d(e){return e.toString(this.encoding)}function m(e){return e&&e.length?this.write(e):""}t.I=o,o.prototype.write=function(e){if(0===e.length)return"";var t,a;if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";a=this.lastNeed,this.lastNeed=0}else a=0;return a=0?(r>0&&(e.lastNeed=r-1),r):--n=0?(r>0&&(e.lastNeed=r-2),r):--n=0?(r>0&&(2===r?r=0:e.lastNeed=r-3),r):0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=a;var n=e.length-(a-this.lastNeed);return e.copy(this.lastChar,0,n),e.toString("utf8",t,n)},o.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}},7846:(e,t,a)=>{"use strict";const n=a(7749),r=a(8997),o=a(8647).A;e.exports=(e,t,a)=>{const i=[];return function e(t,a,s){let c;(a=a||{}).indent=a.indent||"\t",s=s||"",c=void 0===a.inlineCharacterLimit?{newLine:"\n",newLineOrSpace:"\n",pad:s,indent:s+a.indent}:{newLine:"@@__STRINGIFY_OBJECT_NEW_LINE__@@",newLineOrSpace:"@@__STRINGIFY_OBJECT_NEW_LINE_OR_SPACE__@@",pad:"@@__STRINGIFY_OBJECT_PAD__@@",indent:"@@__STRINGIFY_OBJECT_INDENT__@@"};const p=e=>{if(void 0===a.inlineCharacterLimit)return e;const t=e.replace(new RegExp(c.newLine,"g"),"").replace(new RegExp(c.newLineOrSpace,"g")," ").replace(new RegExp(c.pad+"|"+c.indent,"g"),"");return t.length<=a.inlineCharacterLimit?t:e.replace(new RegExp(c.newLine+"|"+c.newLineOrSpace,"g"),"\n").replace(new RegExp(c.pad,"g"),s).replace(new RegExp(c.indent,"g"),s+a.indent)};if(-1!==i.indexOf(t))return'"[Circular]"';if(null==t||"number"==typeof t||"boolean"==typeof t||"function"==typeof t||"symbol"==typeof t||n(t))return String(t);if(t instanceof Date)return`new Date('${t.toISOString()}')`;if(Array.isArray(t)){if(0===t.length)return"[]";i.push(t);const n="["+c.newLine+t.map(((n,r)=>{const o=t.length-1===r?c.newLine:","+c.newLineOrSpace;let i=e(n,a,s+a.indent);return a.transform&&(i=a.transform(t,r,i)),c.indent+i+o})).join("")+c.pad+"]";return i.pop(),p(n)}if(r(t)){let n=Object.keys(t).concat(o(t));if(a.filter&&(n=n.filter((e=>a.filter(t,e)))),0===n.length)return"{}";i.push(t);const r="{"+c.newLine+n.map(((r,o)=>{const i=n.length-1===o?c.newLine:","+c.newLineOrSpace,p="symbol"==typeof r,l=!p&&/^[a-z$_][a-z$_0-9]*$/i.test(r),u=p||l?r:e(r,a);let d=e(t[r],a,s+a.indent);return a.transform&&(d=a.transform(t,r,d)),c.indent+String(u)+": "+d+i})).join("")+c.pad+"}";return i.pop(),p(r)}return t=String(t).replace(/[\r\n]/g,(e=>"\n"===e?"\\n":"\\r")),!1===a.singleQuotes?`"${t=t.replace(/"/g,'\\"')}"`:`'${t=t.replace(/\\?'/g,"\\'")}'`}(e,t,a)}},1094:(e,t,a)=>{var n=a(5606),r=a(8310);function o(e,t,a){e=e||function(e){this.queue(e)},t=t||function(){this.queue(null)};var o=!1,i=!1,s=[],c=!1,p=new r;function l(){for(;s.length&&!p.paused;){var e=s.shift();if(null===e)return p.emit("end");p.emit("data",e)}}return p.readable=p.writable=!0,p.paused=!1,p.autoDestroy=!(a&&!1===a.autoDestroy),p.write=function(t){return e.call(this,t),!p.paused},p.queue=p.push=function(e){return c||(null===e&&(c=!0),s.push(e),l()),p},p.on("end",(function(){p.readable=!1,!p.writable&&p.autoDestroy&&n.nextTick((function(){p.destroy()}))})),p.end=function(e){if(!o)return o=!0,arguments.length&&p.write(e),p.writable=!1,t.call(p),!p.readable&&p.autoDestroy&&p.destroy(),p},p.destroy=function(){if(!i)return i=!0,o=!0,s.length=0,p.writable=p.readable=!1,p.emit("close"),p},p.pause=function(){if(!p.paused)return p.paused=!0,p},p.resume=function(){return p.paused&&(p.paused=!1,p.emit("resume")),l(),p.paused||p.emit("drain"),p},p}e.exports=o,o.through=o},1270:function(e,t,a){var n;e=a.nmd(e),function(){t&&t.nodeType,e&&e.nodeType;var r="object"==typeof a.g&&a.g;r.global!==r&&r.window!==r&&r.self;var o,i=2147483647,s=36,c=/^xn--/,p=/[^\x20-\x7E]/,l=/[\x2E\u3002\uFF0E\uFF61]/g,u={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},d=Math.floor,m=String.fromCharCode;function f(e){throw new RangeError(u[e])}function h(e,t){for(var a=e.length,n=[];a--;)n[a]=t(e[a]);return n}function y(e,t){var a=e.split("@"),n="";return a.length>1&&(n=a[0]+"@",e=a[1]),n+h((e=e.replace(l,".")).split("."),t).join(".")}function v(e){for(var t,a,n=[],r=0,o=e.length;r=55296&&t<=56319&&r65535&&(t+=m((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+m(e)})).join("")}function b(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function x(e,t,a){var n=0;for(e=a?d(e/700):e>>1,e+=d(e/t);e>455;n+=s)e=d(e/35);return d(n+36*e/(e+38))}function w(e){var t,a,n,r,o,c,p,l,u,m,h,y=[],v=e.length,b=0,w=128,j=72;for((a=e.lastIndexOf("-"))<0&&(a=0),n=0;n=128&&f("not-basic"),y.push(e.charCodeAt(n));for(r=a>0?a+1:0;r=v&&f("invalid-input"),((l=(h=e.charCodeAt(r++))-48<10?h-22:h-65<26?h-65:h-97<26?h-97:s)>=s||l>d((i-b)/c))&&f("overflow"),b+=l*c,!(l<(u=p<=j?1:p>=j+26?26:p-j));p+=s)c>d(i/(m=s-u))&&f("overflow"),c*=m;j=x(b-o,t=y.length+1,0==o),d(b/t)>i-w&&f("overflow"),w+=d(b/t),b%=t,y.splice(b++,0,w)}return g(y)}function j(e){var t,a,n,r,o,c,p,l,u,h,y,g,w,j,k,S=[];for(g=(e=v(e)).length,t=128,a=0,o=72,c=0;c=t&&yd((i-a)/(w=n+1))&&f("overflow"),a+=(p-t)*w,t=p,c=0;ci&&f("overflow"),y==t){for(l=a,u=s;!(l<(h=u<=o?1:u>=o+26?26:u-o));u+=s)k=l-h,j=s-h,S.push(m(b(h+k%j,0))),l=d(k/j);S.push(m(b(l,0))),o=x(a,w,n==r),a=0,++n}++a,++t}return S.join("")}o={version:"1.4.1",ucs2:{decode:v,encode:g},decode:w,encode:j,toASCII:function(e){return y(e,(function(e){return p.test(e)?"xn--"+j(e):e}))},toUnicode:function(e){return y(e,(function(e){return c.test(e)?w(e.slice(4).toLowerCase()):e}))}},void 0===(n=function(){return o}.call(t,a,t,e))||(e.exports=n)}()},8835:(e,t,a)=>{"use strict";var n=a(1270);function r(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}var o=/^([a-z0-9.+-]+:)/i,i=/:[0-9]*$/,s=/^(\/\/?(?!\/)[^?\s]*)(\?[^\s]*)?$/,c=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),p=["'"].concat(c),l=["%","/","?",";","#"].concat(p),u=["/","?","#"],d=/^[+a-z0-9A-Z_-]{0,63}$/,m=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,f={javascript:!0,"javascript:":!0},h={javascript:!0,"javascript:":!0},y={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},v=a(5373);function g(e,t,a){if(e&&"object"==typeof e&&e instanceof r)return e;var n=new r;return n.parse(e,t,a),n}r.prototype.parse=function(e,t,a){if("string"!=typeof e)throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var r=e.indexOf("?"),i=-1!==r&&r127?R+="x":R+=q[C];if(!R.match(d)){var L=E.slice(0,_),N=E.slice(_+1),U=q.match(m);U&&(L.push(U[1]),N.unshift(U[2])),N.length&&(g="/"+N.join(".")+g),this.hostname=L.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),O||(this.hostname=n.toASCII(this.hostname));var I=this.port?":"+this.port:"",M=this.hostname||"";this.host=M+I,this.href+=this.host,O&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==g[0]&&(g="/"+g))}if(!f[w])for(_=0,A=p.length;_0)&&a.host.split("@"))&&(a.auth=O.shift(),a.hostname=O.shift(),a.host=a.hostname)),a.search=e.search,a.query=e.query,null===a.pathname&&null===a.search||(a.path=(a.pathname?a.pathname:"")+(a.search?a.search:"")),a.href=a.format(),a;if(!j.length)return a.pathname=null,a.search?a.path="/"+a.search:a.path=null,a.href=a.format(),a;for(var S=j.slice(-1)[0],P=(a.host||e.host||j.length>1)&&("."===S||".."===S)||""===S,_=0,T=j.length;T>=0;T--)"."===(S=j[T])?j.splice(T,1):".."===S?(j.splice(T,1),_++):_&&(j.splice(T,1),_--);if(!x&&!w)for(;_--;_)j.unshift("..");!x||""===j[0]||j[0]&&"/"===j[0].charAt(0)||j.unshift(""),P&&"/"!==j.join("/").substr(-1)&&j.push("");var O,E=""===j[0]||j[0]&&"/"===j[0].charAt(0);return k&&(a.hostname=E?"":j.length?j.shift():"",a.host=a.hostname,(O=!!(a.host&&a.host.indexOf("@")>0)&&a.host.split("@"))&&(a.auth=O.shift(),a.hostname=O.shift(),a.host=a.hostname)),(x=x||a.host&&j.length)&&!E&&j.unshift(""),j.length>0?a.pathname=j.join("/"):(a.pathname=null,a.path=null),null===a.pathname&&null===a.search||(a.path=(a.pathname?a.pathname:"")+(a.search?a.search:"")),a.auth=e.auth||a.auth,a.slashes=a.slashes||e.slashes,a.href=a.format(),a},r.prototype.parseHost=function(){var e=this.host,t=i.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)},t.parse=g,t.resolve=function(e,t){return g(e,!1,!0).resolve(t)},t.resolveObject=function(e,t){return e?g(e,!1,!0).resolveObject(t):t},t.format=function(e){return"string"==typeof e&&(e=g(e)),e instanceof r?e.format():r.prototype.format.call(e)},t.Url=r},4643:(e,t,a)=>{function n(e){try{if(!a.g.localStorage)return!1}catch(e){return!1}var t=a.g.localStorage[e];return null!=t&&"true"===String(t).toLowerCase()}e.exports=function(e,t){if(n("noDeprecation"))return e;var a=!1;return function(){if(!a){if(n("throwDeprecation"))throw new Error(t);n("traceDeprecation")?console.trace(t):console.warn(t),a=!0}return e.apply(this,arguments)}}},1135:e=>{e.exports=function(e){return e&&"object"==typeof e&&"function"==typeof e.copy&&"function"==typeof e.fill&&"function"==typeof e.readUInt8}},9032:(e,t,a)=>{"use strict";var n=a(7244),r=a(8184),o=a(5767),i=a(5680);function s(e){return e.call.bind(e)}var c="undefined"!=typeof BigInt,p="undefined"!=typeof Symbol,l=s(Object.prototype.toString),u=s(Number.prototype.valueOf),d=s(String.prototype.valueOf),m=s(Boolean.prototype.valueOf);if(c)var f=s(BigInt.prototype.valueOf);if(p)var h=s(Symbol.prototype.valueOf);function y(e,t){if("object"!=typeof e)return!1;try{return t(e),!0}catch(e){return!1}}function v(e){return"[object Map]"===l(e)}function g(e){return"[object Set]"===l(e)}function b(e){return"[object WeakMap]"===l(e)}function x(e){return"[object WeakSet]"===l(e)}function w(e){return"[object ArrayBuffer]"===l(e)}function j(e){return"undefined"!=typeof ArrayBuffer&&(w.working?w(e):e instanceof ArrayBuffer)}function k(e){return"[object DataView]"===l(e)}function S(e){return"undefined"!=typeof DataView&&(k.working?k(e):e instanceof DataView)}t.isArgumentsObject=n,t.isGeneratorFunction=r,t.isTypedArray=i,t.isPromise=function(e){return"undefined"!=typeof Promise&&e instanceof Promise||null!==e&&"object"==typeof e&&"function"==typeof e.then&&"function"==typeof e.catch},t.isArrayBufferView=function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):i(e)||S(e)},t.isUint8Array=function(e){return"Uint8Array"===o(e)},t.isUint8ClampedArray=function(e){return"Uint8ClampedArray"===o(e)},t.isUint16Array=function(e){return"Uint16Array"===o(e)},t.isUint32Array=function(e){return"Uint32Array"===o(e)},t.isInt8Array=function(e){return"Int8Array"===o(e)},t.isInt16Array=function(e){return"Int16Array"===o(e)},t.isInt32Array=function(e){return"Int32Array"===o(e)},t.isFloat32Array=function(e){return"Float32Array"===o(e)},t.isFloat64Array=function(e){return"Float64Array"===o(e)},t.isBigInt64Array=function(e){return"BigInt64Array"===o(e)},t.isBigUint64Array=function(e){return"BigUint64Array"===o(e)},v.working="undefined"!=typeof Map&&v(new Map),t.isMap=function(e){return"undefined"!=typeof Map&&(v.working?v(e):e instanceof Map)},g.working="undefined"!=typeof Set&&g(new Set),t.isSet=function(e){return"undefined"!=typeof Set&&(g.working?g(e):e instanceof Set)},b.working="undefined"!=typeof WeakMap&&b(new WeakMap),t.isWeakMap=function(e){return"undefined"!=typeof WeakMap&&(b.working?b(e):e instanceof WeakMap)},x.working="undefined"!=typeof WeakSet&&x(new WeakSet),t.isWeakSet=function(e){return x(e)},w.working="undefined"!=typeof ArrayBuffer&&w(new ArrayBuffer),t.isArrayBuffer=j,k.working="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView&&k(new DataView(new ArrayBuffer(1),0,1)),t.isDataView=S;var P="undefined"!=typeof SharedArrayBuffer?SharedArrayBuffer:void 0;function _(e){return"[object SharedArrayBuffer]"===l(e)}function T(e){return void 0!==P&&(void 0===_.working&&(_.working=_(new P)),_.working?_(e):e instanceof P)}function O(e){return y(e,u)}function E(e){return y(e,d)}function A(e){return y(e,m)}function q(e){return c&&y(e,f)}function R(e){return p&&y(e,h)}t.isSharedArrayBuffer=T,t.isAsyncFunction=function(e){return"[object AsyncFunction]"===l(e)},t.isMapIterator=function(e){return"[object Map Iterator]"===l(e)},t.isSetIterator=function(e){return"[object Set Iterator]"===l(e)},t.isGeneratorObject=function(e){return"[object Generator]"===l(e)},t.isWebAssemblyCompiledModule=function(e){return"[object WebAssembly.Module]"===l(e)},t.isNumberObject=O,t.isStringObject=E,t.isBooleanObject=A,t.isBigIntObject=q,t.isSymbolObject=R,t.isBoxedPrimitive=function(e){return O(e)||E(e)||A(e)||q(e)||R(e)},t.isAnyArrayBuffer=function(e){return"undefined"!=typeof Uint8Array&&(j(e)||T(e))},["isProxy","isExternal","isModuleNamespaceObject"].forEach((function(e){Object.defineProperty(t,e,{enumerable:!1,value:function(){throw new Error(e+" is not supported in userland")}})}))},537:(e,t,a)=>{var n=a(5606),r=Object.getOwnPropertyDescriptors||function(e){for(var t=Object.keys(e),a={},n=0;n=r)return e;switch(e){case"%s":return String(n[a++]);case"%d":return Number(n[a++]);case"%j":try{return JSON.stringify(n[a++])}catch(e){return"[Circular]"}default:return e}})),s=n[a];a=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),y(a)?n.showHidden=a:a&&t._extend(n,a),x(n.showHidden)&&(n.showHidden=!1),x(n.depth)&&(n.depth=2),x(n.colors)&&(n.colors=!1),x(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=l),d(n,e,n.depth)}function l(e,t){var a=p.styles[t];return a?"["+p.colors[a][0]+"m"+e+"["+p.colors[a][1]+"m":e}function u(e,t){return e}function d(e,a,n){if(e.customInspect&&a&&P(a.inspect)&&a.inspect!==t.inspect&&(!a.constructor||a.constructor.prototype!==a)){var r=a.inspect(n,e);return b(r)||(r=d(e,r,n)),r}var o=function(e,t){if(x(t))return e.stylize("undefined","undefined");if(b(t)){var a="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(a,"string")}return g(t)?e.stylize(""+t,"number"):y(t)?e.stylize(""+t,"boolean"):v(t)?e.stylize("null","null"):void 0}(e,a);if(o)return o;var i=Object.keys(a),s=function(e){var t={};return e.forEach((function(e,a){t[e]=!0})),t}(i);if(e.showHidden&&(i=Object.getOwnPropertyNames(a)),S(a)&&(i.indexOf("message")>=0||i.indexOf("description")>=0))return m(a);if(0===i.length){if(P(a)){var c=a.name?": "+a.name:"";return e.stylize("[Function"+c+"]","special")}if(w(a))return e.stylize(RegExp.prototype.toString.call(a),"regexp");if(k(a))return e.stylize(Date.prototype.toString.call(a),"date");if(S(a))return m(a)}var p,l="",u=!1,j=["{","}"];return h(a)&&(u=!0,j=["[","]"]),P(a)&&(l=" [Function"+(a.name?": "+a.name:"")+"]"),w(a)&&(l=" "+RegExp.prototype.toString.call(a)),k(a)&&(l=" "+Date.prototype.toUTCString.call(a)),S(a)&&(l=" "+m(a)),0!==i.length||u&&0!=a.length?n<0?w(a)?e.stylize(RegExp.prototype.toString.call(a),"regexp"):e.stylize("[Object]","special"):(e.seen.push(a),p=u?function(e,t,a,n,r){for(var o=[],i=0,s=t.length;i60?a[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+a[1]:a[0]+t+" "+e.join(", ")+" "+a[1]}(p,l,j)):j[0]+l+j[1]}function m(e){return"["+Error.prototype.toString.call(e)+"]"}function f(e,t,a,n,r,o){var i,s,c;if((c=Object.getOwnPropertyDescriptor(t,r)||{value:t[r]}).get?s=c.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):c.set&&(s=e.stylize("[Setter]","special")),E(n,r)||(i="["+r+"]"),s||(e.seen.indexOf(c.value)<0?(s=v(a)?d(e,c.value,null):d(e,c.value,a-1)).indexOf("\n")>-1&&(s=o?s.split("\n").map((function(e){return" "+e})).join("\n").slice(2):"\n"+s.split("\n").map((function(e){return" "+e})).join("\n")):s=e.stylize("[Circular]","special")),x(i)){if(o&&r.match(/^\d+$/))return s;(i=JSON.stringify(""+r)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(i=i.slice(1,-1),i=e.stylize(i,"name")):(i=i.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),i=e.stylize(i,"string"))}return i+": "+s}function h(e){return Array.isArray(e)}function y(e){return"boolean"==typeof e}function v(e){return null===e}function g(e){return"number"==typeof e}function b(e){return"string"==typeof e}function x(e){return void 0===e}function w(e){return j(e)&&"[object RegExp]"===_(e)}function j(e){return"object"==typeof e&&null!==e}function k(e){return j(e)&&"[object Date]"===_(e)}function S(e){return j(e)&&("[object Error]"===_(e)||e instanceof Error)}function P(e){return"function"==typeof e}function _(e){return Object.prototype.toString.call(e)}function T(e){return e<10?"0"+e.toString(10):e.toString(10)}t.debuglog=function(e){if(e=e.toUpperCase(),!i[e])if(s.test(e)){var a=n.pid;i[e]=function(){var n=t.format.apply(t,arguments);console.error("%s %d: %s",e,a,n)}}else i[e]=function(){};return i[e]},t.inspect=p,p.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},p.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},t.types=a(9032),t.isArray=h,t.isBoolean=y,t.isNull=v,t.isNullOrUndefined=function(e){return null==e},t.isNumber=g,t.isString=b,t.isSymbol=function(e){return"symbol"==typeof e},t.isUndefined=x,t.isRegExp=w,t.types.isRegExp=w,t.isObject=j,t.isDate=k,t.types.isDate=k,t.isError=S,t.types.isNativeError=S,t.isFunction=P,t.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},t.isBuffer=a(1135);var O=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function E(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.log=function(){var e,a;console.log("%s - %s",(a=[T((e=new Date).getHours()),T(e.getMinutes()),T(e.getSeconds())].join(":"),[e.getDate(),O[e.getMonth()],a].join(" ")),t.format.apply(t,arguments))},t.inherits=a(6698),t._extend=function(e,t){if(!t||!j(t))return e;for(var a=Object.keys(t),n=a.length;n--;)e[a[n]]=t[a[n]];return e};var A="undefined"!=typeof Symbol?Symbol("util.promisify.custom"):void 0;function q(e,t){if(!e){var a=new Error("Promise was rejected with a falsy value");a.reason=e,e=a}return t(e)}t.promisify=function(e){if("function"!=typeof e)throw new TypeError('The "original" argument must be of type Function');if(A&&e[A]){var t;if("function"!=typeof(t=e[A]))throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(t,A,{value:t,enumerable:!1,writable:!1,configurable:!0}),t}function t(){for(var t,a,n=new Promise((function(e,n){t=e,a=n})),r=[],o=0;o{"use strict";var n=a(2682),r=a(9209),o=a(487),i=a(8075),s=a(5795),c=i("Object.prototype.toString"),p=a(9092)(),l="undefined"==typeof globalThis?a.g:globalThis,u=r(),d=i("String.prototype.slice"),m=Object.getPrototypeOf,f=i("Array.prototype.indexOf",!0)||function(e,t){for(var a=0;a-1?t:"Object"===t&&function(e){var t=!1;return n(h,(function(a,n){if(!t)try{a(e),t=d(n,1)}catch(e){}})),t}(e)}return s?function(e){var t=!1;return n(h,(function(a,n){if(!t)try{"$"+a(e)===n&&(t=d(n,1))}catch(e){}})),t}(e):null}},7510:e=>{e.exports=function(){for(var e={},a=0;a{},5340:()=>{},9838:()=>{},1635:()=>{},9209:(e,t,a)=>{"use strict";var n=a(6578),r="undefined"==typeof globalThis?a.g:globalThis;e.exports=function(){for(var e=[],t=0;t{var t,a=Object.create,n=Object.defineProperty,r=Object.defineProperties,o=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyDescriptors,s=Object.getOwnPropertyNames,c=Object.getOwnPropertySymbols,p=Object.getPrototypeOf,l=Object.prototype.hasOwnProperty,u=Object.prototype.propertyIsEnumerable,d=Math.pow,m=(e,t,a)=>t in e?n(e,t,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[t]=a,f=(e,t)=>function(){return t||(0,e[s(e)[0]])((t={exports:{}}).exports,t),t.exports},h=(e,t,a,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let i of s(t))l.call(e,i)||i===a||n(e,i,{get:()=>t[i],enumerable:!(r=o(t,i))||r.enumerable});return e},y=f({"node_modules/ajv-formats/dist/formats.js"(e){"use strict";function t(e,t){return{validate:e,compare:t}}var a,n;Object.defineProperty(e,"__esModule",{value:!0}),e.formatNames=e.fastFormats=e.fullFormats=void 0,e.fullFormats={date:t(p,f),time:t(y,v),"date-time":t((function(e){const t=e.split(g);return 2===t.length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(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?(?:\?(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i,"uri-template":/^(?:(?:[^\x00-\x20"'<>%\\^`{|}]|%[0-9a-f]{2})|\{[+#./;?&=,!@|]?(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?(?:,(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?)*\})*$/i,url:/^(?:https?|ftp):\/\/(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z0-9\u{00a1}-\u{ffff}]+-)*[a-z0-9\u{00a1}-\u{ffff}]+)(?:\.(?:[a-z0-9\u{00a1}-\u{ffff}]+-)*[a-z0-9\u{00a1}-\u{ffff}]+)*(?:\.(?:[a-z\u{00a1}-\u{ffff}]{2,})))(?::\d{2,5})?(?:\/[^\s]*)?$/iu,email:/^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/i,hostname:/^(?=.{1,253}\.?$)[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[-0-9a-z]{0,61}[0-9a-z])?)*\.?$/i,ipv4:/^(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)$/,ipv6:/^((([0-9a-f]{1,4}:){7}([0-9a-f]{1,4}|:))|(([0-9a-f]{1,4}:){6}(:[0-9a-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9a-f]{1,4}:){5}(((:[0-9a-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9a-f]{1,4}:){4}(((:[0-9a-f]{1,4}){1,3})|((:[0-9a-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){3}(((:[0-9a-f]{1,4}){1,4})|((:[0-9a-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){2}(((:[0-9a-f]{1,4}){1,5})|((:[0-9a-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){1}(((:[0-9a-f]{1,4}){1,6})|((:[0-9a-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9a-f]{1,4}){1,7})|((:[0-9a-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))$/i,regex:function(e){if(_.test(e))return!1;try{return new RegExp(e),!0}catch(e){return!1}},uuid:/^(?:urn:uuid:)?[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i,"json-pointer":/^(?:\/(?:[^~/]|~0|~1)*)*$/,"json-pointer-uri-fragment":/^#(?:\/(?:[a-z0-9_\-.!$&'()*+,;:=@]|%[0-9a-f]{2}|~0|~1)*)*$/i,"relative-json-pointer":/^(?:0|[1-9][0-9]*)(?:#|(?:\/(?:[^~/]|~0|~1)*)*)$/,byte:function(e){return j.lastIndex=0,j.test(e)},int32:{type:"number",validate:function(e){return Number.isInteger(e)&&e<=S&&e>=k}},int64:{type:"number",validate:function(e){return Number.isInteger(e)}},float:{type:"number",validate:P},double:{type:"number",validate:P},password:!0,binary:!0},e.fastFormats=(a=((e,t)=>{for(var a in t||(t={}))l.call(t,a)&&m(e,a,t[a]);if(c)for(var a of c(t))u.call(t,a)&&m(e,a,t[a]);return e})({},e.fullFormats),n={date:t(/^\d\d\d\d-[0-1]\d-[0-3]\d$/,f),time:t(/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)?$/i,v),"date-time":t(/^\d\d\d\d-[0-1]\d-[0-3]\d[t\s](?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i,b),uri:/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/)?[^\s]*$/i,"uri-reference":/^(?:(?:[a-z][a-z0-9+\-.]*:)?\/?\/)?(?:[^\\\s#][^\s#]*)?(?:#[^\\\s]*)?$/i,email:/^[a-z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)*$/i},r(a,i(n))),e.formatNames=Object.keys(e.fullFormats);var o=/^(\d\d\d\d)-(\d\d)-(\d\d)$/,s=[0,31,28,31,30,31,30,31,31,30,31,30,31];function p(e){const t=o.exec(e);if(!t)return!1;const a=+t[1],n=+t[2],r=+t[3];return n>=1&&n<=12&&r>=1&&r<=(2===n&&function(e){return e%4==0&&(e%100!=0||e%400==0)}(a)?29:s[n])}function f(e,t){if(e&&t)return e>t?1:e(t=n[1]+n[2]+n[3]+(n[4]||""))?1:e{for(var a in t)n(e,a,{get:t[a],enumerable:!0})})(g,{HARError:()=>x,default:()=>_,validate:()=>j,validateHar:()=>P,validateRequest:()=>k,validateResponse:()=>S}),e.exports=(t=g,h(n({},"__esModule",{value:!0}),t));var b=((e,t,r)=>(r=null!=e?a(p(e)):{},h(e&&e.__esModule?r:n(r,"default",{value:e,enumerable:!0}),e)))(v()),x=class extends Error{constructor(e){super(),this.name="HARError",this.message="Validation Failed",this.errors=[],this.errors=e,Error.captureStackTrace(this,this.constructor)}},w={request:b["request.json"],afterRequest:b["afterRequest.json"],beforeRequest:b["beforeRequest.json"],browser:b["browser.json"],cache:b["cache.json"],content:b["content.json"],cookie:b["cookie.json"],creator:b["creator.json"],entry:b["entry.json"],har:b["har.json"],header:b["header.json"],log:b["log.json"],page:b["page.json"],pageTimings:b["pageTimings.json"],postData:b["postData.json"],query:b["query.json"],response:b["response.json"],timings:b["timings.json"]},j=(e,t)=>{const a=w[e],n=a(t);if(!n)throw new x(a.errors);return n},k=e=>j("request",e),S=e=>j("response",e),P=e=>j("har",e),_=k},4194:e=>{"use strict";e.exports=JSON.parse('{"application/1d-interleaved-parityfec":{"source":"iana"},"application/3gpdash-qoe-report+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/3gpp-ims+xml":{"source":"iana","compressible":true},"application/3gpphal+json":{"source":"iana","compressible":true},"application/3gpphalforms+json":{"source":"iana","compressible":true},"application/a2l":{"source":"iana"},"application/ace+cbor":{"source":"iana"},"application/activemessage":{"source":"iana"},"application/activity+json":{"source":"iana","compressible":true},"application/alto-costmap+json":{"source":"iana","compressible":true},"application/alto-costmapfilter+json":{"source":"iana","compressible":true},"application/alto-directory+json":{"source":"iana","compressible":true},"application/alto-endpointcost+json":{"source":"iana","compressible":true},"application/alto-endpointcostparams+json":{"source":"iana","compressible":true},"application/alto-endpointprop+json":{"source":"iana","compressible":true},"application/alto-endpointpropparams+json":{"source":"iana","compressible":true},"application/alto-error+json":{"source":"iana","compressible":true},"application/alto-networkmap+json":{"source":"iana","compressible":true},"application/alto-networkmapfilter+json":{"source":"iana","compressible":true},"application/alto-updatestreamcontrol+json":{"source":"iana","compressible":true},"application/alto-updatestreamparams+json":{"source":"iana","compressible":true},"application/aml":{"source":"iana"},"application/andrew-inset":{"source":"iana","extensions":["ez"]},"application/applefile":{"source":"iana"},"application/applixware":{"source":"apache","extensions":["aw"]},"application/at+jwt":{"source":"iana"},"application/atf":{"source":"iana"},"application/atfx":{"source":"iana"},"application/atom+xml":{"source":"iana","compressible":true,"extensions":["atom"]},"application/atomcat+xml":{"source":"iana","compressible":true,"extensions":["atomcat"]},"application/atomdeleted+xml":{"source":"iana","compressible":true,"extensions":["atomdeleted"]},"application/atomicmail":{"source":"iana"},"application/atomsvc+xml":{"source":"iana","compressible":true,"extensions":["atomsvc"]},"application/atsc-dwd+xml":{"source":"iana","compressible":true,"extensions":["dwd"]},"application/atsc-dynamic-event-message":{"source":"iana"},"application/atsc-held+xml":{"source":"iana","compressible":true,"extensions":["held"]},"application/atsc-rdt+json":{"source":"iana","compressible":true},"application/atsc-rsat+xml":{"source":"iana","compressible":true,"extensions":["rsat"]},"application/atxml":{"source":"iana"},"application/auth-policy+xml":{"source":"iana","compressible":true},"application/bacnet-xdd+zip":{"source":"iana","compressible":false},"application/batch-smtp":{"source":"iana"},"application/bdoc":{"compressible":false,"extensions":["bdoc"]},"application/beep+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/calendar+json":{"source":"iana","compressible":true},"application/calendar+xml":{"source":"iana","compressible":true,"extensions":["xcs"]},"application/call-completion":{"source":"iana"},"application/cals-1840":{"source":"iana"},"application/captive+json":{"source":"iana","compressible":true},"application/cbor":{"source":"iana"},"application/cbor-seq":{"source":"iana"},"application/cccex":{"source":"iana"},"application/ccmp+xml":{"source":"iana","compressible":true},"application/ccxml+xml":{"source":"iana","compressible":true,"extensions":["ccxml"]},"application/cdfx+xml":{"source":"iana","compressible":true,"extensions":["cdfx"]},"application/cdmi-capability":{"source":"iana","extensions":["cdmia"]},"application/cdmi-container":{"source":"iana","extensions":["cdmic"]},"application/cdmi-domain":{"source":"iana","extensions":["cdmid"]},"application/cdmi-object":{"source":"iana","extensions":["cdmio"]},"application/cdmi-queue":{"source":"iana","extensions":["cdmiq"]},"application/cdni":{"source":"iana"},"application/cea":{"source":"iana"},"application/cea-2018+xml":{"source":"iana","compressible":true},"application/cellml+xml":{"source":"iana","compressible":true},"application/cfw":{"source":"iana"},"application/city+json":{"source":"iana","compressible":true},"application/clr":{"source":"iana"},"application/clue+xml":{"source":"iana","compressible":true},"application/clue_info+xml":{"source":"iana","compressible":true},"application/cms":{"source":"iana"},"application/cnrp+xml":{"source":"iana","compressible":true},"application/coap-group+json":{"source":"iana","compressible":true},"application/coap-payload":{"source":"iana"},"application/commonground":{"source":"iana"},"application/conference-info+xml":{"source":"iana","compressible":true},"application/cose":{"source":"iana"},"application/cose-key":{"source":"iana"},"application/cose-key-set":{"source":"iana"},"application/cpl+xml":{"source":"iana","compressible":true,"extensions":["cpl"]},"application/csrattrs":{"source":"iana"},"application/csta+xml":{"source":"iana","compressible":true},"application/cstadata+xml":{"source":"iana","compressible":true},"application/csvm+json":{"source":"iana","compressible":true},"application/cu-seeme":{"source":"apache","extensions":["cu"]},"application/cwt":{"source":"iana"},"application/cybercash":{"source":"iana"},"application/dart":{"compressible":true},"application/dash+xml":{"source":"iana","compressible":true,"extensions":["mpd"]},"application/dash-patch+xml":{"source":"iana","compressible":true,"extensions":["mpp"]},"application/dashdelta":{"source":"iana"},"application/davmount+xml":{"source":"iana","compressible":true,"extensions":["davmount"]},"application/dca-rft":{"source":"iana"},"application/dcd":{"source":"iana"},"application/dec-dx":{"source":"iana"},"application/dialog-info+xml":{"source":"iana","compressible":true},"application/dicom":{"source":"iana"},"application/dicom+json":{"source":"iana","compressible":true},"application/dicom+xml":{"source":"iana","compressible":true},"application/dii":{"source":"iana"},"application/dit":{"source":"iana"},"application/dns":{"source":"iana"},"application/dns+json":{"source":"iana","compressible":true},"application/dns-message":{"source":"iana"},"application/docbook+xml":{"source":"apache","compressible":true,"extensions":["dbk"]},"application/dots+cbor":{"source":"iana"},"application/dskpp+xml":{"source":"iana","compressible":true},"application/dssc+der":{"source":"iana","extensions":["dssc"]},"application/dssc+xml":{"source":"iana","compressible":true,"extensions":["xdssc"]},"application/dvcs":{"source":"iana"},"application/ecmascript":{"source":"iana","compressible":true,"extensions":["es","ecma"]},"application/edi-consent":{"source":"iana"},"application/edi-x12":{"source":"iana","compressible":false},"application/edifact":{"source":"iana","compressible":false},"application/efi":{"source":"iana"},"application/elm+json":{"source":"iana","charset":"UTF-8","compressible":true},"application/elm+xml":{"source":"iana","compressible":true},"application/emergencycalldata.cap+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/emergencycalldata.comment+xml":{"source":"iana","compressible":true},"application/emergencycalldata.control+xml":{"source":"iana","compressible":true},"application/emergencycalldata.deviceinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.ecall.msd":{"source":"iana"},"application/emergencycalldata.providerinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.serviceinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.subscriberinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.veds+xml":{"source":"iana","compressible":true},"application/emma+xml":{"source":"iana","compressible":true,"extensions":["emma"]},"application/emotionml+xml":{"source":"iana","compressible":true,"extensions":["emotionml"]},"application/encaprtp":{"source":"iana"},"application/epp+xml":{"source":"iana","compressible":true},"application/epub+zip":{"source":"iana","compressible":false,"extensions":["epub"]},"application/eshop":{"source":"iana"},"application/exi":{"source":"iana","extensions":["exi"]},"application/expect-ct-report+json":{"source":"iana","compressible":true},"application/express":{"source":"iana","extensions":["exp"]},"application/fastinfoset":{"source":"iana"},"application/fastsoap":{"source":"iana"},"application/fdt+xml":{"source":"iana","compressible":true,"extensions":["fdt"]},"application/fhir+json":{"source":"iana","charset":"UTF-8","compressible":true},"application/fhir+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/fido.trusted-apps+json":{"compressible":true},"application/fits":{"source":"iana"},"application/flexfec":{"source":"iana"},"application/font-sfnt":{"source":"iana"},"application/font-tdpfr":{"source":"iana","extensions":["pfr"]},"application/font-woff":{"source":"iana","compressible":false},"application/framework-attributes+xml":{"source":"iana","compressible":true},"application/geo+json":{"source":"iana","compressible":true,"extensions":["geojson"]},"application/geo+json-seq":{"source":"iana"},"application/geopackage+sqlite3":{"source":"iana"},"application/geoxacml+xml":{"source":"iana","compressible":true},"application/gltf-buffer":{"source":"iana"},"application/gml+xml":{"source":"iana","compressible":true,"extensions":["gml"]},"application/gpx+xml":{"source":"apache","compressible":true,"extensions":["gpx"]},"application/gxf":{"source":"apache","extensions":["gxf"]},"application/gzip":{"source":"iana","compressible":false,"extensions":["gz"]},"application/h224":{"source":"iana"},"application/held+xml":{"source":"iana","compressible":true},"application/hjson":{"extensions":["hjson"]},"application/http":{"source":"iana"},"application/hyperstudio":{"source":"iana","extensions":["stk"]},"application/ibe-key-request+xml":{"source":"iana","compressible":true},"application/ibe-pkg-reply+xml":{"source":"iana","compressible":true},"application/ibe-pp-data":{"source":"iana"},"application/iges":{"source":"iana"},"application/im-iscomposing+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/index":{"source":"iana"},"application/index.cmd":{"source":"iana"},"application/index.obj":{"source":"iana"},"application/index.response":{"source":"iana"},"application/index.vnd":{"source":"iana"},"application/inkml+xml":{"source":"iana","compressible":true,"extensions":["ink","inkml"]},"application/iotp":{"source":"iana"},"application/ipfix":{"source":"iana","extensions":["ipfix"]},"application/ipp":{"source":"iana"},"application/isup":{"source":"iana"},"application/its+xml":{"source":"iana","compressible":true,"extensions":["its"]},"application/java-archive":{"source":"apache","compressible":false,"extensions":["jar","war","ear"]},"application/java-serialized-object":{"source":"apache","compressible":false,"extensions":["ser"]},"application/java-vm":{"source":"apache","compressible":false,"extensions":["class"]},"application/javascript":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["js","mjs"]},"application/jf2feed+json":{"source":"iana","compressible":true},"application/jose":{"source":"iana"},"application/jose+json":{"source":"iana","compressible":true},"application/jrd+json":{"source":"iana","compressible":true},"application/jscalendar+json":{"source":"iana","compressible":true},"application/json":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["json","map"]},"application/json-patch+json":{"source":"iana","compressible":true},"application/json-seq":{"source":"iana"},"application/json5":{"extensions":["json5"]},"application/jsonml+json":{"source":"apache","compressible":true,"extensions":["jsonml"]},"application/jwk+json":{"source":"iana","compressible":true},"application/jwk-set+json":{"source":"iana","compressible":true},"application/jwt":{"source":"iana"},"application/kpml-request+xml":{"source":"iana","compressible":true},"application/kpml-response+xml":{"source":"iana","compressible":true},"application/ld+json":{"source":"iana","compressible":true,"extensions":["jsonld"]},"application/lgr+xml":{"source":"iana","compressible":true,"extensions":["lgr"]},"application/link-format":{"source":"iana"},"application/load-control+xml":{"source":"iana","compressible":true},"application/lost+xml":{"source":"iana","compressible":true,"extensions":["lostxml"]},"application/lostsync+xml":{"source":"iana","compressible":true},"application/lpf+zip":{"source":"iana","compressible":false},"application/lxf":{"source":"iana"},"application/mac-binhex40":{"source":"iana","extensions":["hqx"]},"application/mac-compactpro":{"source":"apache","extensions":["cpt"]},"application/macwriteii":{"source":"iana"},"application/mads+xml":{"source":"iana","compressible":true,"extensions":["mads"]},"application/manifest+json":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["webmanifest"]},"application/marc":{"source":"iana","extensions":["mrc"]},"application/marcxml+xml":{"source":"iana","compressible":true,"extensions":["mrcx"]},"application/mathematica":{"source":"iana","extensions":["ma","nb","mb"]},"application/mathml+xml":{"source":"iana","compressible":true,"extensions":["mathml"]},"application/mathml-content+xml":{"source":"iana","compressible":true},"application/mathml-presentation+xml":{"source":"iana","compressible":true},"application/mbms-associated-procedure-description+xml":{"source":"iana","compressible":true},"application/mbms-deregister+xml":{"source":"iana","compressible":true},"application/mbms-envelope+xml":{"source":"iana","compressible":true},"application/mbms-msk+xml":{"source":"iana","compressible":true},"application/mbms-msk-response+xml":{"source":"iana","compressible":true},"application/mbms-protection-description+xml":{"source":"iana","compressible":true},"application/mbms-reception-report+xml":{"source":"iana","compressible":true},"application/mbms-register+xml":{"source":"iana","compressible":true},"application/mbms-register-response+xml":{"source":"iana","compressible":true},"application/mbms-schedule+xml":{"source":"iana","compressible":true},"application/mbms-user-service-description+xml":{"source":"iana","compressible":true},"application/mbox":{"source":"iana","extensions":["mbox"]},"application/media-policy-dataset+xml":{"source":"iana","compressible":true,"extensions":["mpf"]},"application/media_control+xml":{"source":"iana","compressible":true},"application/mediaservercontrol+xml":{"source":"iana","compressible":true,"extensions":["mscml"]},"application/merge-patch+json":{"source":"iana","compressible":true},"application/metalink+xml":{"source":"apache","compressible":true,"extensions":["metalink"]},"application/metalink4+xml":{"source":"iana","compressible":true,"extensions":["meta4"]},"application/mets+xml":{"source":"iana","compressible":true,"extensions":["mets"]},"application/mf4":{"source":"iana"},"application/mikey":{"source":"iana"},"application/mipc":{"source":"iana"},"application/missing-blocks+cbor-seq":{"source":"iana"},"application/mmt-aei+xml":{"source":"iana","compressible":true,"extensions":["maei"]},"application/mmt-usd+xml":{"source":"iana","compressible":true,"extensions":["musd"]},"application/mods+xml":{"source":"iana","compressible":true,"extensions":["mods"]},"application/moss-keys":{"source":"iana"},"application/moss-signature":{"source":"iana"},"application/mosskey-data":{"source":"iana"},"application/mosskey-request":{"source":"iana"},"application/mp21":{"source":"iana","extensions":["m21","mp21"]},"application/mp4":{"source":"iana","extensions":["mp4s","m4p"]},"application/mpeg4-generic":{"source":"iana"},"application/mpeg4-iod":{"source":"iana"},"application/mpeg4-iod-xmt":{"source":"iana"},"application/mrb-consumer+xml":{"source":"iana","compressible":true},"application/mrb-publish+xml":{"source":"iana","compressible":true},"application/msc-ivr+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/msc-mixer+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/msword":{"source":"iana","compressible":false,"extensions":["doc","dot"]},"application/mud+json":{"source":"iana","compressible":true},"application/multipart-core":{"source":"iana"},"application/mxf":{"source":"iana","extensions":["mxf"]},"application/n-quads":{"source":"iana","extensions":["nq"]},"application/n-triples":{"source":"iana","extensions":["nt"]},"application/nasdata":{"source":"iana"},"application/news-checkgroups":{"source":"iana","charset":"US-ASCII"},"application/news-groupinfo":{"source":"iana","charset":"US-ASCII"},"application/news-transmission":{"source":"iana"},"application/nlsml+xml":{"source":"iana","compressible":true},"application/node":{"source":"iana","extensions":["cjs"]},"application/nss":{"source":"iana"},"application/oauth-authz-req+jwt":{"source":"iana"},"application/oblivious-dns-message":{"source":"iana"},"application/ocsp-request":{"source":"iana"},"application/ocsp-response":{"source":"iana"},"application/octet-stream":{"source":"iana","compressible":false,"extensions":["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"]},"application/oda":{"source":"iana","extensions":["oda"]},"application/odm+xml":{"source":"iana","compressible":true},"application/odx":{"source":"iana"},"application/oebps-package+xml":{"source":"iana","compressible":true,"extensions":["opf"]},"application/ogg":{"source":"iana","compressible":false,"extensions":["ogx"]},"application/omdoc+xml":{"source":"apache","compressible":true,"extensions":["omdoc"]},"application/onenote":{"source":"apache","extensions":["onetoc","onetoc2","onetmp","onepkg"]},"application/opc-nodeset+xml":{"source":"iana","compressible":true},"application/oscore":{"source":"iana"},"application/oxps":{"source":"iana","extensions":["oxps"]},"application/p21":{"source":"iana"},"application/p21+zip":{"source":"iana","compressible":false},"application/p2p-overlay+xml":{"source":"iana","compressible":true,"extensions":["relo"]},"application/parityfec":{"source":"iana"},"application/passport":{"source":"iana"},"application/patch-ops-error+xml":{"source":"iana","compressible":true,"extensions":["xer"]},"application/pdf":{"source":"iana","compressible":false,"extensions":["pdf"]},"application/pdx":{"source":"iana"},"application/pem-certificate-chain":{"source":"iana"},"application/pgp-encrypted":{"source":"iana","compressible":false,"extensions":["pgp"]},"application/pgp-keys":{"source":"iana","extensions":["asc"]},"application/pgp-signature":{"source":"iana","extensions":["asc","sig"]},"application/pics-rules":{"source":"apache","extensions":["prf"]},"application/pidf+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/pidf-diff+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/pkcs10":{"source":"iana","extensions":["p10"]},"application/pkcs12":{"source":"iana"},"application/pkcs7-mime":{"source":"iana","extensions":["p7m","p7c"]},"application/pkcs7-signature":{"source":"iana","extensions":["p7s"]},"application/pkcs8":{"source":"iana","extensions":["p8"]},"application/pkcs8-encrypted":{"source":"iana"},"application/pkix-attr-cert":{"source":"iana","extensions":["ac"]},"application/pkix-cert":{"source":"iana","extensions":["cer"]},"application/pkix-crl":{"source":"iana","extensions":["crl"]},"application/pkix-pkipath":{"source":"iana","extensions":["pkipath"]},"application/pkixcmp":{"source":"iana","extensions":["pki"]},"application/pls+xml":{"source":"iana","compressible":true,"extensions":["pls"]},"application/poc-settings+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/postscript":{"source":"iana","compressible":true,"extensions":["ai","eps","ps"]},"application/ppsp-tracker+json":{"source":"iana","compressible":true},"application/problem+json":{"source":"iana","compressible":true},"application/problem+xml":{"source":"iana","compressible":true},"application/provenance+xml":{"source":"iana","compressible":true,"extensions":["provx"]},"application/prs.alvestrand.titrax-sheet":{"source":"iana"},"application/prs.cww":{"source":"iana","extensions":["cww"]},"application/prs.cyn":{"source":"iana","charset":"7-BIT"},"application/prs.hpub+zip":{"source":"iana","compressible":false},"application/prs.nprend":{"source":"iana"},"application/prs.plucker":{"source":"iana"},"application/prs.rdf-xml-crypt":{"source":"iana"},"application/prs.xsf+xml":{"source":"iana","compressible":true},"application/pskc+xml":{"source":"iana","compressible":true,"extensions":["pskcxml"]},"application/pvd+json":{"source":"iana","compressible":true},"application/qsig":{"source":"iana"},"application/raml+yaml":{"compressible":true,"extensions":["raml"]},"application/raptorfec":{"source":"iana"},"application/rdap+json":{"source":"iana","compressible":true},"application/rdf+xml":{"source":"iana","compressible":true,"extensions":["rdf","owl"]},"application/reginfo+xml":{"source":"iana","compressible":true,"extensions":["rif"]},"application/relax-ng-compact-syntax":{"source":"iana","extensions":["rnc"]},"application/remote-printing":{"source":"iana"},"application/reputon+json":{"source":"iana","compressible":true},"application/resource-lists+xml":{"source":"iana","compressible":true,"extensions":["rl"]},"application/resource-lists-diff+xml":{"source":"iana","compressible":true,"extensions":["rld"]},"application/rfc+xml":{"source":"iana","compressible":true},"application/riscos":{"source":"iana"},"application/rlmi+xml":{"source":"iana","compressible":true},"application/rls-services+xml":{"source":"iana","compressible":true,"extensions":["rs"]},"application/route-apd+xml":{"source":"iana","compressible":true,"extensions":["rapd"]},"application/route-s-tsid+xml":{"source":"iana","compressible":true,"extensions":["sls"]},"application/route-usd+xml":{"source":"iana","compressible":true,"extensions":["rusd"]},"application/rpki-ghostbusters":{"source":"iana","extensions":["gbr"]},"application/rpki-manifest":{"source":"iana","extensions":["mft"]},"application/rpki-publication":{"source":"iana"},"application/rpki-roa":{"source":"iana","extensions":["roa"]},"application/rpki-updown":{"source":"iana"},"application/rsd+xml":{"source":"apache","compressible":true,"extensions":["rsd"]},"application/rss+xml":{"source":"apache","compressible":true,"extensions":["rss"]},"application/rtf":{"source":"iana","compressible":true,"extensions":["rtf"]},"application/rtploopback":{"source":"iana"},"application/rtx":{"source":"iana"},"application/samlassertion+xml":{"source":"iana","compressible":true},"application/samlmetadata+xml":{"source":"iana","compressible":true},"application/sarif+json":{"source":"iana","compressible":true},"application/sarif-external-properties+json":{"source":"iana","compressible":true},"application/sbe":{"source":"iana"},"application/sbml+xml":{"source":"iana","compressible":true,"extensions":["sbml"]},"application/scaip+xml":{"source":"iana","compressible":true},"application/scim+json":{"source":"iana","compressible":true},"application/scvp-cv-request":{"source":"iana","extensions":["scq"]},"application/scvp-cv-response":{"source":"iana","extensions":["scs"]},"application/scvp-vp-request":{"source":"iana","extensions":["spq"]},"application/scvp-vp-response":{"source":"iana","extensions":["spp"]},"application/sdp":{"source":"iana","extensions":["sdp"]},"application/secevent+jwt":{"source":"iana"},"application/senml+cbor":{"source":"iana"},"application/senml+json":{"source":"iana","compressible":true},"application/senml+xml":{"source":"iana","compressible":true,"extensions":["senmlx"]},"application/senml-etch+cbor":{"source":"iana"},"application/senml-etch+json":{"source":"iana","compressible":true},"application/senml-exi":{"source":"iana"},"application/sensml+cbor":{"source":"iana"},"application/sensml+json":{"source":"iana","compressible":true},"application/sensml+xml":{"source":"iana","compressible":true,"extensions":["sensmlx"]},"application/sensml-exi":{"source":"iana"},"application/sep+xml":{"source":"iana","compressible":true},"application/sep-exi":{"source":"iana"},"application/session-info":{"source":"iana"},"application/set-payment":{"source":"iana"},"application/set-payment-initiation":{"source":"iana","extensions":["setpay"]},"application/set-registration":{"source":"iana"},"application/set-registration-initiation":{"source":"iana","extensions":["setreg"]},"application/sgml":{"source":"iana"},"application/sgml-open-catalog":{"source":"iana"},"application/shf+xml":{"source":"iana","compressible":true,"extensions":["shf"]},"application/sieve":{"source":"iana","extensions":["siv","sieve"]},"application/simple-filter+xml":{"source":"iana","compressible":true},"application/simple-message-summary":{"source":"iana"},"application/simplesymbolcontainer":{"source":"iana"},"application/sipc":{"source":"iana"},"application/slate":{"source":"iana"},"application/smil":{"source":"iana"},"application/smil+xml":{"source":"iana","compressible":true,"extensions":["smi","smil"]},"application/smpte336m":{"source":"iana"},"application/soap+fastinfoset":{"source":"iana"},"application/soap+xml":{"source":"iana","compressible":true},"application/sparql-query":{"source":"iana","extensions":["rq"]},"application/sparql-results+xml":{"source":"iana","compressible":true,"extensions":["srx"]},"application/spdx+json":{"source":"iana","compressible":true},"application/spirits-event+xml":{"source":"iana","compressible":true},"application/sql":{"source":"iana"},"application/srgs":{"source":"iana","extensions":["gram"]},"application/srgs+xml":{"source":"iana","compressible":true,"extensions":["grxml"]},"application/sru+xml":{"source":"iana","compressible":true,"extensions":["sru"]},"application/ssdl+xml":{"source":"apache","compressible":true,"extensions":["ssdl"]},"application/ssml+xml":{"source":"iana","compressible":true,"extensions":["ssml"]},"application/stix+json":{"source":"iana","compressible":true},"application/swid+xml":{"source":"iana","compressible":true,"extensions":["swidtag"]},"application/tamp-apex-update":{"source":"iana"},"application/tamp-apex-update-confirm":{"source":"iana"},"application/tamp-community-update":{"source":"iana"},"application/tamp-community-update-confirm":{"source":"iana"},"application/tamp-error":{"source":"iana"},"application/tamp-sequence-adjust":{"source":"iana"},"application/tamp-sequence-adjust-confirm":{"source":"iana"},"application/tamp-status-query":{"source":"iana"},"application/tamp-status-response":{"source":"iana"},"application/tamp-update":{"source":"iana"},"application/tamp-update-confirm":{"source":"iana"},"application/tar":{"compressible":true},"application/taxii+json":{"source":"iana","compressible":true},"application/td+json":{"source":"iana","compressible":true},"application/tei+xml":{"source":"iana","compressible":true,"extensions":["tei","teicorpus"]},"application/tetra_isi":{"source":"iana"},"application/thraud+xml":{"source":"iana","compressible":true,"extensions":["tfi"]},"application/timestamp-query":{"source":"iana"},"application/timestamp-reply":{"source":"iana"},"application/timestamped-data":{"source":"iana","extensions":["tsd"]},"application/tlsrpt+gzip":{"source":"iana"},"application/tlsrpt+json":{"source":"iana","compressible":true},"application/tnauthlist":{"source":"iana"},"application/token-introspection+jwt":{"source":"iana"},"application/toml":{"compressible":true,"extensions":["toml"]},"application/trickle-ice-sdpfrag":{"source":"iana"},"application/trig":{"source":"iana","extensions":["trig"]},"application/ttml+xml":{"source":"iana","compressible":true,"extensions":["ttml"]},"application/tve-trigger":{"source":"iana"},"application/tzif":{"source":"iana"},"application/tzif-leap":{"source":"iana"},"application/ubjson":{"compressible":false,"extensions":["ubj"]},"application/ulpfec":{"source":"iana"},"application/urc-grpsheet+xml":{"source":"iana","compressible":true},"application/urc-ressheet+xml":{"source":"iana","compressible":true,"extensions":["rsheet"]},"application/urc-targetdesc+xml":{"source":"iana","compressible":true,"extensions":["td"]},"application/urc-uisocketdesc+xml":{"source":"iana","compressible":true},"application/vcard+json":{"source":"iana","compressible":true},"application/vcard+xml":{"source":"iana","compressible":true},"application/vemmi":{"source":"iana"},"application/vividence.scriptfile":{"source":"apache"},"application/vnd.1000minds.decision-model+xml":{"source":"iana","compressible":true,"extensions":["1km"]},"application/vnd.3gpp-prose+xml":{"source":"iana","compressible":true},"application/vnd.3gpp-prose-pc3ch+xml":{"source":"iana","compressible":true},"application/vnd.3gpp-v2x-local-service-information":{"source":"iana"},"application/vnd.3gpp.5gnas":{"source":"iana"},"application/vnd.3gpp.access-transfer-events+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.bsf+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.gmop+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.gtpc":{"source":"iana"},"application/vnd.3gpp.interworking-data":{"source":"iana"},"application/vnd.3gpp.lpp":{"source":"iana"},"application/vnd.3gpp.mc-signalling-ear":{"source":"iana"},"application/vnd.3gpp.mcdata-affiliation-command+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-payload":{"source":"iana"},"application/vnd.3gpp.mcdata-service-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-signalling":{"source":"iana"},"application/vnd.3gpp.mcdata-ue-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-user-profile+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-affiliation-command+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-floor-request+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-location-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-mbms-usage-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-service-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-signed+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-ue-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-ue-init-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-user-profile+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-affiliation-command+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-affiliation-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-location-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-mbms-usage-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-service-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-transmission-request+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-ue-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-user-profile+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mid-call+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.ngap":{"source":"iana"},"application/vnd.3gpp.pfcp":{"source":"iana"},"application/vnd.3gpp.pic-bw-large":{"source":"iana","extensions":["plb"]},"application/vnd.3gpp.pic-bw-small":{"source":"iana","extensions":["psb"]},"application/vnd.3gpp.pic-bw-var":{"source":"iana","extensions":["pvb"]},"application/vnd.3gpp.s1ap":{"source":"iana"},"application/vnd.3gpp.sms":{"source":"iana"},"application/vnd.3gpp.sms+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.srvcc-ext+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.srvcc-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.state-and-event-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.ussd+xml":{"source":"iana","compressible":true},"application/vnd.3gpp2.bcmcsinfo+xml":{"source":"iana","compressible":true},"application/vnd.3gpp2.sms":{"source":"iana"},"application/vnd.3gpp2.tcap":{"source":"iana","extensions":["tcap"]},"application/vnd.3lightssoftware.imagescal":{"source":"iana"},"application/vnd.3m.post-it-notes":{"source":"iana","extensions":["pwn"]},"application/vnd.accpac.simply.aso":{"source":"iana","extensions":["aso"]},"application/vnd.accpac.simply.imp":{"source":"iana","extensions":["imp"]},"application/vnd.acucobol":{"source":"iana","extensions":["acu"]},"application/vnd.acucorp":{"source":"iana","extensions":["atc","acutc"]},"application/vnd.adobe.air-application-installer-package+zip":{"source":"apache","compressible":false,"extensions":["air"]},"application/vnd.adobe.flash.movie":{"source":"iana"},"application/vnd.adobe.formscentral.fcdt":{"source":"iana","extensions":["fcdt"]},"application/vnd.adobe.fxp":{"source":"iana","extensions":["fxp","fxpl"]},"application/vnd.adobe.partial-upload":{"source":"iana"},"application/vnd.adobe.xdp+xml":{"source":"iana","compressible":true,"extensions":["xdp"]},"application/vnd.adobe.xfdf":{"source":"iana","extensions":["xfdf"]},"application/vnd.aether.imp":{"source":"iana"},"application/vnd.afpc.afplinedata":{"source":"iana"},"application/vnd.afpc.afplinedata-pagedef":{"source":"iana"},"application/vnd.afpc.cmoca-cmresource":{"source":"iana"},"application/vnd.afpc.foca-charset":{"source":"iana"},"application/vnd.afpc.foca-codedfont":{"source":"iana"},"application/vnd.afpc.foca-codepage":{"source":"iana"},"application/vnd.afpc.modca":{"source":"iana"},"application/vnd.afpc.modca-cmtable":{"source":"iana"},"application/vnd.afpc.modca-formdef":{"source":"iana"},"application/vnd.afpc.modca-mediummap":{"source":"iana"},"application/vnd.afpc.modca-objectcontainer":{"source":"iana"},"application/vnd.afpc.modca-overlay":{"source":"iana"},"application/vnd.afpc.modca-pagesegment":{"source":"iana"},"application/vnd.age":{"source":"iana","extensions":["age"]},"application/vnd.ah-barcode":{"source":"iana"},"application/vnd.ahead.space":{"source":"iana","extensions":["ahead"]},"application/vnd.airzip.filesecure.azf":{"source":"iana","extensions":["azf"]},"application/vnd.airzip.filesecure.azs":{"source":"iana","extensions":["azs"]},"application/vnd.amadeus+json":{"source":"iana","compressible":true},"application/vnd.amazon.ebook":{"source":"apache","extensions":["azw"]},"application/vnd.amazon.mobi8-ebook":{"source":"iana"},"application/vnd.americandynamics.acc":{"source":"iana","extensions":["acc"]},"application/vnd.amiga.ami":{"source":"iana","extensions":["ami"]},"application/vnd.amundsen.maze+xml":{"source":"iana","compressible":true},"application/vnd.android.ota":{"source":"iana"},"application/vnd.android.package-archive":{"source":"apache","compressible":false,"extensions":["apk"]},"application/vnd.anki":{"source":"iana"},"application/vnd.anser-web-certificate-issue-initiation":{"source":"iana","extensions":["cii"]},"application/vnd.anser-web-funds-transfer-initiation":{"source":"apache","extensions":["fti"]},"application/vnd.antix.game-component":{"source":"iana","extensions":["atx"]},"application/vnd.apache.arrow.file":{"source":"iana"},"application/vnd.apache.arrow.stream":{"source":"iana"},"application/vnd.apache.thrift.binary":{"source":"iana"},"application/vnd.apache.thrift.compact":{"source":"iana"},"application/vnd.apache.thrift.json":{"source":"iana"},"application/vnd.api+json":{"source":"iana","compressible":true},"application/vnd.aplextor.warrp+json":{"source":"iana","compressible":true},"application/vnd.apothekende.reservation+json":{"source":"iana","compressible":true},"application/vnd.apple.installer+xml":{"source":"iana","compressible":true,"extensions":["mpkg"]},"application/vnd.apple.keynote":{"source":"iana","extensions":["key"]},"application/vnd.apple.mpegurl":{"source":"iana","extensions":["m3u8"]},"application/vnd.apple.numbers":{"source":"iana","extensions":["numbers"]},"application/vnd.apple.pages":{"source":"iana","extensions":["pages"]},"application/vnd.apple.pkpass":{"compressible":false,"extensions":["pkpass"]},"application/vnd.arastra.swi":{"source":"iana"},"application/vnd.aristanetworks.swi":{"source":"iana","extensions":["swi"]},"application/vnd.artisan+json":{"source":"iana","compressible":true},"application/vnd.artsquare":{"source":"iana"},"application/vnd.astraea-software.iota":{"source":"iana","extensions":["iota"]},"application/vnd.audiograph":{"source":"iana","extensions":["aep"]},"application/vnd.autopackage":{"source":"iana"},"application/vnd.avalon+json":{"source":"iana","compressible":true},"application/vnd.avistar+xml":{"source":"iana","compressible":true},"application/vnd.balsamiq.bmml+xml":{"source":"iana","compressible":true,"extensions":["bmml"]},"application/vnd.balsamiq.bmpr":{"source":"iana"},"application/vnd.banana-accounting":{"source":"iana"},"application/vnd.bbf.usp.error":{"source":"iana"},"application/vnd.bbf.usp.msg":{"source":"iana"},"application/vnd.bbf.usp.msg+json":{"source":"iana","compressible":true},"application/vnd.bekitzur-stech+json":{"source":"iana","compressible":true},"application/vnd.bint.med-content":{"source":"iana"},"application/vnd.biopax.rdf+xml":{"source":"iana","compressible":true},"application/vnd.blink-idb-value-wrapper":{"source":"iana"},"application/vnd.blueice.multipass":{"source":"iana","extensions":["mpm"]},"application/vnd.bluetooth.ep.oob":{"source":"iana"},"application/vnd.bluetooth.le.oob":{"source":"iana"},"application/vnd.bmi":{"source":"iana","extensions":["bmi"]},"application/vnd.bpf":{"source":"iana"},"application/vnd.bpf3":{"source":"iana"},"application/vnd.businessobjects":{"source":"iana","extensions":["rep"]},"application/vnd.byu.uapi+json":{"source":"iana","compressible":true},"application/vnd.cab-jscript":{"source":"iana"},"application/vnd.canon-cpdl":{"source":"iana"},"application/vnd.canon-lips":{"source":"iana"},"application/vnd.capasystems-pg+json":{"source":"iana","compressible":true},"application/vnd.cendio.thinlinc.clientconf":{"source":"iana"},"application/vnd.century-systems.tcp_stream":{"source":"iana"},"application/vnd.chemdraw+xml":{"source":"iana","compressible":true,"extensions":["cdxml"]},"application/vnd.chess-pgn":{"source":"iana"},"application/vnd.chipnuts.karaoke-mmd":{"source":"iana","extensions":["mmd"]},"application/vnd.ciedi":{"source":"iana"},"application/vnd.cinderella":{"source":"iana","extensions":["cdy"]},"application/vnd.cirpack.isdn-ext":{"source":"iana"},"application/vnd.citationstyles.style+xml":{"source":"iana","compressible":true,"extensions":["csl"]},"application/vnd.claymore":{"source":"iana","extensions":["cla"]},"application/vnd.cloanto.rp9":{"source":"iana","extensions":["rp9"]},"application/vnd.clonk.c4group":{"source":"iana","extensions":["c4g","c4d","c4f","c4p","c4u"]},"application/vnd.cluetrust.cartomobile-config":{"source":"iana","extensions":["c11amc"]},"application/vnd.cluetrust.cartomobile-config-pkg":{"source":"iana","extensions":["c11amz"]},"application/vnd.coffeescript":{"source":"iana"},"application/vnd.collabio.xodocuments.document":{"source":"iana"},"application/vnd.collabio.xodocuments.document-template":{"source":"iana"},"application/vnd.collabio.xodocuments.presentation":{"source":"iana"},"application/vnd.collabio.xodocuments.presentation-template":{"source":"iana"},"application/vnd.collabio.xodocuments.spreadsheet":{"source":"iana"},"application/vnd.collabio.xodocuments.spreadsheet-template":{"source":"iana"},"application/vnd.collection+json":{"source":"iana","compressible":true},"application/vnd.collection.doc+json":{"source":"iana","compressible":true},"application/vnd.collection.next+json":{"source":"iana","compressible":true},"application/vnd.comicbook+zip":{"source":"iana","compressible":false},"application/vnd.comicbook-rar":{"source":"iana"},"application/vnd.commerce-battelle":{"source":"iana"},"application/vnd.commonspace":{"source":"iana","extensions":["csp"]},"application/vnd.contact.cmsg":{"source":"iana","extensions":["cdbcmsg"]},"application/vnd.coreos.ignition+json":{"source":"iana","compressible":true},"application/vnd.cosmocaller":{"source":"iana","extensions":["cmc"]},"application/vnd.crick.clicker":{"source":"iana","extensions":["clkx"]},"application/vnd.crick.clicker.keyboard":{"source":"iana","extensions":["clkk"]},"application/vnd.crick.clicker.palette":{"source":"iana","extensions":["clkp"]},"application/vnd.crick.clicker.template":{"source":"iana","extensions":["clkt"]},"application/vnd.crick.clicker.wordbank":{"source":"iana","extensions":["clkw"]},"application/vnd.criticaltools.wbs+xml":{"source":"iana","compressible":true,"extensions":["wbs"]},"application/vnd.cryptii.pipe+json":{"source":"iana","compressible":true},"application/vnd.crypto-shade-file":{"source":"iana"},"application/vnd.cryptomator.encrypted":{"source":"iana"},"application/vnd.cryptomator.vault":{"source":"iana"},"application/vnd.ctc-posml":{"source":"iana","extensions":["pml"]},"application/vnd.ctct.ws+xml":{"source":"iana","compressible":true},"application/vnd.cups-pdf":{"source":"iana"},"application/vnd.cups-postscript":{"source":"iana"},"application/vnd.cups-ppd":{"source":"iana","extensions":["ppd"]},"application/vnd.cups-raster":{"source":"iana"},"application/vnd.cups-raw":{"source":"iana"},"application/vnd.curl":{"source":"iana"},"application/vnd.curl.car":{"source":"apache","extensions":["car"]},"application/vnd.curl.pcurl":{"source":"apache","extensions":["pcurl"]},"application/vnd.cyan.dean.root+xml":{"source":"iana","compressible":true},"application/vnd.cybank":{"source":"iana"},"application/vnd.cyclonedx+json":{"source":"iana","compressible":true},"application/vnd.cyclonedx+xml":{"source":"iana","compressible":true},"application/vnd.d2l.coursepackage1p0+zip":{"source":"iana","compressible":false},"application/vnd.d3m-dataset":{"source":"iana"},"application/vnd.d3m-problem":{"source":"iana"},"application/vnd.dart":{"source":"iana","compressible":true,"extensions":["dart"]},"application/vnd.data-vision.rdz":{"source":"iana","extensions":["rdz"]},"application/vnd.datapackage+json":{"source":"iana","compressible":true},"application/vnd.dataresource+json":{"source":"iana","compressible":true},"application/vnd.dbf":{"source":"iana","extensions":["dbf"]},"application/vnd.debian.binary-package":{"source":"iana"},"application/vnd.dece.data":{"source":"iana","extensions":["uvf","uvvf","uvd","uvvd"]},"application/vnd.dece.ttml+xml":{"source":"iana","compressible":true,"extensions":["uvt","uvvt"]},"application/vnd.dece.unspecified":{"source":"iana","extensions":["uvx","uvvx"]},"application/vnd.dece.zip":{"source":"iana","extensions":["uvz","uvvz"]},"application/vnd.denovo.fcselayout-link":{"source":"iana","extensions":["fe_launch"]},"application/vnd.desmume.movie":{"source":"iana"},"application/vnd.dir-bi.plate-dl-nosuffix":{"source":"iana"},"application/vnd.dm.delegation+xml":{"source":"iana","compressible":true},"application/vnd.dna":{"source":"iana","extensions":["dna"]},"application/vnd.document+json":{"source":"iana","compressible":true},"application/vnd.dolby.mlp":{"source":"apache","extensions":["mlp"]},"application/vnd.dolby.mobile.1":{"source":"iana"},"application/vnd.dolby.mobile.2":{"source":"iana"},"application/vnd.doremir.scorecloud-binary-document":{"source":"iana"},"application/vnd.dpgraph":{"source":"iana","extensions":["dpg"]},"application/vnd.dreamfactory":{"source":"iana","extensions":["dfac"]},"application/vnd.drive+json":{"source":"iana","compressible":true},"application/vnd.ds-keypoint":{"source":"apache","extensions":["kpxx"]},"application/vnd.dtg.local":{"source":"iana"},"application/vnd.dtg.local.flash":{"source":"iana"},"application/vnd.dtg.local.html":{"source":"iana"},"application/vnd.dvb.ait":{"source":"iana","extensions":["ait"]},"application/vnd.dvb.dvbisl+xml":{"source":"iana","compressible":true},"application/vnd.dvb.dvbj":{"source":"iana"},"application/vnd.dvb.esgcontainer":{"source":"iana"},"application/vnd.dvb.ipdcdftnotifaccess":{"source":"iana"},"application/vnd.dvb.ipdcesgaccess":{"source":"iana"},"application/vnd.dvb.ipdcesgaccess2":{"source":"iana"},"application/vnd.dvb.ipdcesgpdd":{"source":"iana"},"application/vnd.dvb.ipdcroaming":{"source":"iana"},"application/vnd.dvb.iptv.alfec-base":{"source":"iana"},"application/vnd.dvb.iptv.alfec-enhancement":{"source":"iana"},"application/vnd.dvb.notif-aggregate-root+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-container+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-generic+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-ia-msglist+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-ia-registration-request+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-ia-registration-response+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-init+xml":{"source":"iana","compressible":true},"application/vnd.dvb.pfr":{"source":"iana"},"application/vnd.dvb.service":{"source":"iana","extensions":["svc"]},"application/vnd.dxr":{"source":"iana"},"application/vnd.dynageo":{"source":"iana","extensions":["geo"]},"application/vnd.dzr":{"source":"iana"},"application/vnd.easykaraoke.cdgdownload":{"source":"iana"},"application/vnd.ecdis-update":{"source":"iana"},"application/vnd.ecip.rlp":{"source":"iana"},"application/vnd.eclipse.ditto+json":{"source":"iana","compressible":true},"application/vnd.ecowin.chart":{"source":"iana","extensions":["mag"]},"application/vnd.ecowin.filerequest":{"source":"iana"},"application/vnd.ecowin.fileupdate":{"source":"iana"},"application/vnd.ecowin.series":{"source":"iana"},"application/vnd.ecowin.seriesrequest":{"source":"iana"},"application/vnd.ecowin.seriesupdate":{"source":"iana"},"application/vnd.efi.img":{"source":"iana"},"application/vnd.efi.iso":{"source":"iana"},"application/vnd.emclient.accessrequest+xml":{"source":"iana","compressible":true},"application/vnd.enliven":{"source":"iana","extensions":["nml"]},"application/vnd.enphase.envoy":{"source":"iana"},"application/vnd.eprints.data+xml":{"source":"iana","compressible":true},"application/vnd.epson.esf":{"source":"iana","extensions":["esf"]},"application/vnd.epson.msf":{"source":"iana","extensions":["msf"]},"application/vnd.epson.quickanime":{"source":"iana","extensions":["qam"]},"application/vnd.epson.salt":{"source":"iana","extensions":["slt"]},"application/vnd.epson.ssf":{"source":"iana","extensions":["ssf"]},"application/vnd.ericsson.quickcall":{"source":"iana"},"application/vnd.espass-espass+zip":{"source":"iana","compressible":false},"application/vnd.eszigno3+xml":{"source":"iana","compressible":true,"extensions":["es3","et3"]},"application/vnd.etsi.aoc+xml":{"source":"iana","compressible":true},"application/vnd.etsi.asic-e+zip":{"source":"iana","compressible":false},"application/vnd.etsi.asic-s+zip":{"source":"iana","compressible":false},"application/vnd.etsi.cug+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvcommand+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvdiscovery+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvprofile+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsad-bc+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsad-cod+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsad-npvr+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvservice+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsync+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvueprofile+xml":{"source":"iana","compressible":true},"application/vnd.etsi.mcid+xml":{"source":"iana","compressible":true},"application/vnd.etsi.mheg5":{"source":"iana"},"application/vnd.etsi.overload-control-policy-dataset+xml":{"source":"iana","compressible":true},"application/vnd.etsi.pstn+xml":{"source":"iana","compressible":true},"application/vnd.etsi.sci+xml":{"source":"iana","compressible":true},"application/vnd.etsi.simservs+xml":{"source":"iana","compressible":true},"application/vnd.etsi.timestamp-token":{"source":"iana"},"application/vnd.etsi.tsl+xml":{"source":"iana","compressible":true},"application/vnd.etsi.tsl.der":{"source":"iana"},"application/vnd.eu.kasparian.car+json":{"source":"iana","compressible":true},"application/vnd.eudora.data":{"source":"iana"},"application/vnd.evolv.ecig.profile":{"source":"iana"},"application/vnd.evolv.ecig.settings":{"source":"iana"},"application/vnd.evolv.ecig.theme":{"source":"iana"},"application/vnd.exstream-empower+zip":{"source":"iana","compressible":false},"application/vnd.exstream-package":{"source":"iana"},"application/vnd.ezpix-album":{"source":"iana","extensions":["ez2"]},"application/vnd.ezpix-package":{"source":"iana","extensions":["ez3"]},"application/vnd.f-secure.mobile":{"source":"iana"},"application/vnd.familysearch.gedcom+zip":{"source":"iana","compressible":false},"application/vnd.fastcopy-disk-image":{"source":"iana"},"application/vnd.fdf":{"source":"iana","extensions":["fdf"]},"application/vnd.fdsn.mseed":{"source":"iana","extensions":["mseed"]},"application/vnd.fdsn.seed":{"source":"iana","extensions":["seed","dataless"]},"application/vnd.ffsns":{"source":"iana"},"application/vnd.ficlab.flb+zip":{"source":"iana","compressible":false},"application/vnd.filmit.zfc":{"source":"iana"},"application/vnd.fints":{"source":"iana"},"application/vnd.firemonkeys.cloudcell":{"source":"iana"},"application/vnd.flographit":{"source":"iana","extensions":["gph"]},"application/vnd.fluxtime.clip":{"source":"iana","extensions":["ftc"]},"application/vnd.font-fontforge-sfd":{"source":"iana"},"application/vnd.framemaker":{"source":"iana","extensions":["fm","frame","maker","book"]},"application/vnd.frogans.fnc":{"source":"iana","extensions":["fnc"]},"application/vnd.frogans.ltf":{"source":"iana","extensions":["ltf"]},"application/vnd.fsc.weblaunch":{"source":"iana","extensions":["fsc"]},"application/vnd.fujifilm.fb.docuworks":{"source":"iana"},"application/vnd.fujifilm.fb.docuworks.binder":{"source":"iana"},"application/vnd.fujifilm.fb.docuworks.container":{"source":"iana"},"application/vnd.fujifilm.fb.jfi+xml":{"source":"iana","compressible":true},"application/vnd.fujitsu.oasys":{"source":"iana","extensions":["oas"]},"application/vnd.fujitsu.oasys2":{"source":"iana","extensions":["oa2"]},"application/vnd.fujitsu.oasys3":{"source":"iana","extensions":["oa3"]},"application/vnd.fujitsu.oasysgp":{"source":"iana","extensions":["fg5"]},"application/vnd.fujitsu.oasysprs":{"source":"iana","extensions":["bh2"]},"application/vnd.fujixerox.art-ex":{"source":"iana"},"application/vnd.fujixerox.art4":{"source":"iana"},"application/vnd.fujixerox.ddd":{"source":"iana","extensions":["ddd"]},"application/vnd.fujixerox.docuworks":{"source":"iana","extensions":["xdw"]},"application/vnd.fujixerox.docuworks.binder":{"source":"iana","extensions":["xbd"]},"application/vnd.fujixerox.docuworks.container":{"source":"iana"},"application/vnd.fujixerox.hbpl":{"source":"iana"},"application/vnd.fut-misnet":{"source":"iana"},"application/vnd.futoin+cbor":{"source":"iana"},"application/vnd.futoin+json":{"source":"iana","compressible":true},"application/vnd.fuzzysheet":{"source":"iana","extensions":["fzs"]},"application/vnd.genomatix.tuxedo":{"source":"iana","extensions":["txd"]},"application/vnd.gentics.grd+json":{"source":"iana","compressible":true},"application/vnd.geo+json":{"source":"iana","compressible":true},"application/vnd.geocube+xml":{"source":"iana","compressible":true},"application/vnd.geogebra.file":{"source":"iana","extensions":["ggb"]},"application/vnd.geogebra.slides":{"source":"iana"},"application/vnd.geogebra.tool":{"source":"iana","extensions":["ggt"]},"application/vnd.geometry-explorer":{"source":"iana","extensions":["gex","gre"]},"application/vnd.geonext":{"source":"iana","extensions":["gxt"]},"application/vnd.geoplan":{"source":"iana","extensions":["g2w"]},"application/vnd.geospace":{"source":"iana","extensions":["g3w"]},"application/vnd.gerber":{"source":"iana"},"application/vnd.globalplatform.card-content-mgt":{"source":"iana"},"application/vnd.globalplatform.card-content-mgt-response":{"source":"iana"},"application/vnd.gmx":{"source":"iana","extensions":["gmx"]},"application/vnd.google-apps.document":{"compressible":false,"extensions":["gdoc"]},"application/vnd.google-apps.presentation":{"compressible":false,"extensions":["gslides"]},"application/vnd.google-apps.spreadsheet":{"compressible":false,"extensions":["gsheet"]},"application/vnd.google-earth.kml+xml":{"source":"iana","compressible":true,"extensions":["kml"]},"application/vnd.google-earth.kmz":{"source":"iana","compressible":false,"extensions":["kmz"]},"application/vnd.gov.sk.e-form+xml":{"source":"iana","compressible":true},"application/vnd.gov.sk.e-form+zip":{"source":"iana","compressible":false},"application/vnd.gov.sk.xmldatacontainer+xml":{"source":"iana","compressible":true},"application/vnd.grafeq":{"source":"iana","extensions":["gqf","gqs"]},"application/vnd.gridmp":{"source":"iana"},"application/vnd.groove-account":{"source":"iana","extensions":["gac"]},"application/vnd.groove-help":{"source":"iana","extensions":["ghf"]},"application/vnd.groove-identity-message":{"source":"iana","extensions":["gim"]},"application/vnd.groove-injector":{"source":"iana","extensions":["grv"]},"application/vnd.groove-tool-message":{"source":"iana","extensions":["gtm"]},"application/vnd.groove-tool-template":{"source":"iana","extensions":["tpl"]},"application/vnd.groove-vcard":{"source":"iana","extensions":["vcg"]},"application/vnd.hal+json":{"source":"iana","compressible":true},"application/vnd.hal+xml":{"source":"iana","compressible":true,"extensions":["hal"]},"application/vnd.handheld-entertainment+xml":{"source":"iana","compressible":true,"extensions":["zmm"]},"application/vnd.hbci":{"source":"iana","extensions":["hbci"]},"application/vnd.hc+json":{"source":"iana","compressible":true},"application/vnd.hcl-bireports":{"source":"iana"},"application/vnd.hdt":{"source":"iana"},"application/vnd.heroku+json":{"source":"iana","compressible":true},"application/vnd.hhe.lesson-player":{"source":"iana","extensions":["les"]},"application/vnd.hl7cda+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.hl7v2+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.hp-hpgl":{"source":"iana","extensions":["hpgl"]},"application/vnd.hp-hpid":{"source":"iana","extensions":["hpid"]},"application/vnd.hp-hps":{"source":"iana","extensions":["hps"]},"application/vnd.hp-jlyt":{"source":"iana","extensions":["jlt"]},"application/vnd.hp-pcl":{"source":"iana","extensions":["pcl"]},"application/vnd.hp-pclxl":{"source":"iana","extensions":["pclxl"]},"application/vnd.httphone":{"source":"iana"},"application/vnd.hydrostatix.sof-data":{"source":"iana","extensions":["sfd-hdstx"]},"application/vnd.hyper+json":{"source":"iana","compressible":true},"application/vnd.hyper-item+json":{"source":"iana","compressible":true},"application/vnd.hyperdrive+json":{"source":"iana","compressible":true},"application/vnd.hzn-3d-crossword":{"source":"iana"},"application/vnd.ibm.afplinedata":{"source":"iana"},"application/vnd.ibm.electronic-media":{"source":"iana"},"application/vnd.ibm.minipay":{"source":"iana","extensions":["mpy"]},"application/vnd.ibm.modcap":{"source":"iana","extensions":["afp","listafp","list3820"]},"application/vnd.ibm.rights-management":{"source":"iana","extensions":["irm"]},"application/vnd.ibm.secure-container":{"source":"iana","extensions":["sc"]},"application/vnd.iccprofile":{"source":"iana","extensions":["icc","icm"]},"application/vnd.ieee.1905":{"source":"iana"},"application/vnd.igloader":{"source":"iana","extensions":["igl"]},"application/vnd.imagemeter.folder+zip":{"source":"iana","compressible":false},"application/vnd.imagemeter.image+zip":{"source":"iana","compressible":false},"application/vnd.immervision-ivp":{"source":"iana","extensions":["ivp"]},"application/vnd.immervision-ivu":{"source":"iana","extensions":["ivu"]},"application/vnd.ims.imsccv1p1":{"source":"iana"},"application/vnd.ims.imsccv1p2":{"source":"iana"},"application/vnd.ims.imsccv1p3":{"source":"iana"},"application/vnd.ims.lis.v2.result+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolconsumerprofile+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolproxy+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolproxy.id+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolsettings+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolsettings.simple+json":{"source":"iana","compressible":true},"application/vnd.informedcontrol.rms+xml":{"source":"iana","compressible":true},"application/vnd.informix-visionary":{"source":"iana"},"application/vnd.infotech.project":{"source":"iana"},"application/vnd.infotech.project+xml":{"source":"iana","compressible":true},"application/vnd.innopath.wamp.notification":{"source":"iana"},"application/vnd.insors.igm":{"source":"iana","extensions":["igm"]},"application/vnd.intercon.formnet":{"source":"iana","extensions":["xpw","xpx"]},"application/vnd.intergeo":{"source":"iana","extensions":["i2g"]},"application/vnd.intertrust.digibox":{"source":"iana"},"application/vnd.intertrust.nncp":{"source":"iana"},"application/vnd.intu.qbo":{"source":"iana","extensions":["qbo"]},"application/vnd.intu.qfx":{"source":"iana","extensions":["qfx"]},"application/vnd.iptc.g2.catalogitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.conceptitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.knowledgeitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.newsitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.newsmessage+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.packageitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.planningitem+xml":{"source":"iana","compressible":true},"application/vnd.ipunplugged.rcprofile":{"source":"iana","extensions":["rcprofile"]},"application/vnd.irepository.package+xml":{"source":"iana","compressible":true,"extensions":["irp"]},"application/vnd.is-xpr":{"source":"iana","extensions":["xpr"]},"application/vnd.isac.fcs":{"source":"iana","extensions":["fcs"]},"application/vnd.iso11783-10+zip":{"source":"iana","compressible":false},"application/vnd.jam":{"source":"iana","extensions":["jam"]},"application/vnd.japannet-directory-service":{"source":"iana"},"application/vnd.japannet-jpnstore-wakeup":{"source":"iana"},"application/vnd.japannet-payment-wakeup":{"source":"iana"},"application/vnd.japannet-registration":{"source":"iana"},"application/vnd.japannet-registration-wakeup":{"source":"iana"},"application/vnd.japannet-setstore-wakeup":{"source":"iana"},"application/vnd.japannet-verification":{"source":"iana"},"application/vnd.japannet-verification-wakeup":{"source":"iana"},"application/vnd.jcp.javame.midlet-rms":{"source":"iana","extensions":["rms"]},"application/vnd.jisp":{"source":"iana","extensions":["jisp"]},"application/vnd.joost.joda-archive":{"source":"iana","extensions":["joda"]},"application/vnd.jsk.isdn-ngn":{"source":"iana"},"application/vnd.kahootz":{"source":"iana","extensions":["ktz","ktr"]},"application/vnd.kde.karbon":{"source":"iana","extensions":["karbon"]},"application/vnd.kde.kchart":{"source":"iana","extensions":["chrt"]},"application/vnd.kde.kformula":{"source":"iana","extensions":["kfo"]},"application/vnd.kde.kivio":{"source":"iana","extensions":["flw"]},"application/vnd.kde.kontour":{"source":"iana","extensions":["kon"]},"application/vnd.kde.kpresenter":{"source":"iana","extensions":["kpr","kpt"]},"application/vnd.kde.kspread":{"source":"iana","extensions":["ksp"]},"application/vnd.kde.kword":{"source":"iana","extensions":["kwd","kwt"]},"application/vnd.kenameaapp":{"source":"iana","extensions":["htke"]},"application/vnd.kidspiration":{"source":"iana","extensions":["kia"]},"application/vnd.kinar":{"source":"iana","extensions":["kne","knp"]},"application/vnd.koan":{"source":"iana","extensions":["skp","skd","skt","skm"]},"application/vnd.kodak-descriptor":{"source":"iana","extensions":["sse"]},"application/vnd.las":{"source":"iana"},"application/vnd.las.las+json":{"source":"iana","compressible":true},"application/vnd.las.las+xml":{"source":"iana","compressible":true,"extensions":["lasxml"]},"application/vnd.laszip":{"source":"iana"},"application/vnd.leap+json":{"source":"iana","compressible":true},"application/vnd.liberty-request+xml":{"source":"iana","compressible":true},"application/vnd.llamagraphics.life-balance.desktop":{"source":"iana","extensions":["lbd"]},"application/vnd.llamagraphics.life-balance.exchange+xml":{"source":"iana","compressible":true,"extensions":["lbe"]},"application/vnd.logipipe.circuit+zip":{"source":"iana","compressible":false},"application/vnd.loom":{"source":"iana"},"application/vnd.lotus-1-2-3":{"source":"iana","extensions":["123"]},"application/vnd.lotus-approach":{"source":"iana","extensions":["apr"]},"application/vnd.lotus-freelance":{"source":"iana","extensions":["pre"]},"application/vnd.lotus-notes":{"source":"iana","extensions":["nsf"]},"application/vnd.lotus-organizer":{"source":"iana","extensions":["org"]},"application/vnd.lotus-screencam":{"source":"iana","extensions":["scm"]},"application/vnd.lotus-wordpro":{"source":"iana","extensions":["lwp"]},"application/vnd.macports.portpkg":{"source":"iana","extensions":["portpkg"]},"application/vnd.mapbox-vector-tile":{"source":"iana","extensions":["mvt"]},"application/vnd.marlin.drm.actiontoken+xml":{"source":"iana","compressible":true},"application/vnd.marlin.drm.conftoken+xml":{"source":"iana","compressible":true},"application/vnd.marlin.drm.license+xml":{"source":"iana","compressible":true},"application/vnd.marlin.drm.mdcf":{"source":"iana"},"application/vnd.mason+json":{"source":"iana","compressible":true},"application/vnd.maxar.archive.3tz+zip":{"source":"iana","compressible":false},"application/vnd.maxmind.maxmind-db":{"source":"iana"},"application/vnd.mcd":{"source":"iana","extensions":["mcd"]},"application/vnd.medcalcdata":{"source":"iana","extensions":["mc1"]},"application/vnd.mediastation.cdkey":{"source":"iana","extensions":["cdkey"]},"application/vnd.meridian-slingshot":{"source":"iana"},"application/vnd.mfer":{"source":"iana","extensions":["mwf"]},"application/vnd.mfmp":{"source":"iana","extensions":["mfm"]},"application/vnd.micro+json":{"source":"iana","compressible":true},"application/vnd.micrografx.flo":{"source":"iana","extensions":["flo"]},"application/vnd.micrografx.igx":{"source":"iana","extensions":["igx"]},"application/vnd.microsoft.portable-executable":{"source":"iana"},"application/vnd.microsoft.windows.thumbnail-cache":{"source":"iana"},"application/vnd.miele+json":{"source":"iana","compressible":true},"application/vnd.mif":{"source":"iana","extensions":["mif"]},"application/vnd.minisoft-hp3000-save":{"source":"iana"},"application/vnd.mitsubishi.misty-guard.trustweb":{"source":"iana"},"application/vnd.mobius.daf":{"source":"iana","extensions":["daf"]},"application/vnd.mobius.dis":{"source":"iana","extensions":["dis"]},"application/vnd.mobius.mbk":{"source":"iana","extensions":["mbk"]},"application/vnd.mobius.mqy":{"source":"iana","extensions":["mqy"]},"application/vnd.mobius.msl":{"source":"iana","extensions":["msl"]},"application/vnd.mobius.plc":{"source":"iana","extensions":["plc"]},"application/vnd.mobius.txf":{"source":"iana","extensions":["txf"]},"application/vnd.mophun.application":{"source":"iana","extensions":["mpn"]},"application/vnd.mophun.certificate":{"source":"iana","extensions":["mpc"]},"application/vnd.motorola.flexsuite":{"source":"iana"},"application/vnd.motorola.flexsuite.adsi":{"source":"iana"},"application/vnd.motorola.flexsuite.fis":{"source":"iana"},"application/vnd.motorola.flexsuite.gotap":{"source":"iana"},"application/vnd.motorola.flexsuite.kmr":{"source":"iana"},"application/vnd.motorola.flexsuite.ttc":{"source":"iana"},"application/vnd.motorola.flexsuite.wem":{"source":"iana"},"application/vnd.motorola.iprm":{"source":"iana"},"application/vnd.mozilla.xul+xml":{"source":"iana","compressible":true,"extensions":["xul"]},"application/vnd.ms-3mfdocument":{"source":"iana"},"application/vnd.ms-artgalry":{"source":"iana","extensions":["cil"]},"application/vnd.ms-asf":{"source":"iana"},"application/vnd.ms-cab-compressed":{"source":"iana","extensions":["cab"]},"application/vnd.ms-color.iccprofile":{"source":"apache"},"application/vnd.ms-excel":{"source":"iana","compressible":false,"extensions":["xls","xlm","xla","xlc","xlt","xlw"]},"application/vnd.ms-excel.addin.macroenabled.12":{"source":"iana","extensions":["xlam"]},"application/vnd.ms-excel.sheet.binary.macroenabled.12":{"source":"iana","extensions":["xlsb"]},"application/vnd.ms-excel.sheet.macroenabled.12":{"source":"iana","extensions":["xlsm"]},"application/vnd.ms-excel.template.macroenabled.12":{"source":"iana","extensions":["xltm"]},"application/vnd.ms-fontobject":{"source":"iana","compressible":true,"extensions":["eot"]},"application/vnd.ms-htmlhelp":{"source":"iana","extensions":["chm"]},"application/vnd.ms-ims":{"source":"iana","extensions":["ims"]},"application/vnd.ms-lrm":{"source":"iana","extensions":["lrm"]},"application/vnd.ms-office.activex+xml":{"source":"iana","compressible":true},"application/vnd.ms-officetheme":{"source":"iana","extensions":["thmx"]},"application/vnd.ms-opentype":{"source":"apache","compressible":true},"application/vnd.ms-outlook":{"compressible":false,"extensions":["msg"]},"application/vnd.ms-package.obfuscated-opentype":{"source":"apache"},"application/vnd.ms-pki.seccat":{"source":"apache","extensions":["cat"]},"application/vnd.ms-pki.stl":{"source":"apache","extensions":["stl"]},"application/vnd.ms-playready.initiator+xml":{"source":"iana","compressible":true},"application/vnd.ms-powerpoint":{"source":"iana","compressible":false,"extensions":["ppt","pps","pot"]},"application/vnd.ms-powerpoint.addin.macroenabled.12":{"source":"iana","extensions":["ppam"]},"application/vnd.ms-powerpoint.presentation.macroenabled.12":{"source":"iana","extensions":["pptm"]},"application/vnd.ms-powerpoint.slide.macroenabled.12":{"source":"iana","extensions":["sldm"]},"application/vnd.ms-powerpoint.slideshow.macroenabled.12":{"source":"iana","extensions":["ppsm"]},"application/vnd.ms-powerpoint.template.macroenabled.12":{"source":"iana","extensions":["potm"]},"application/vnd.ms-printdevicecapabilities+xml":{"source":"iana","compressible":true},"application/vnd.ms-printing.printticket+xml":{"source":"apache","compressible":true},"application/vnd.ms-printschematicket+xml":{"source":"iana","compressible":true},"application/vnd.ms-project":{"source":"iana","extensions":["mpp","mpt"]},"application/vnd.ms-tnef":{"source":"iana"},"application/vnd.ms-windows.devicepairing":{"source":"iana"},"application/vnd.ms-windows.nwprinting.oob":{"source":"iana"},"application/vnd.ms-windows.printerpairing":{"source":"iana"},"application/vnd.ms-windows.wsd.oob":{"source":"iana"},"application/vnd.ms-wmdrm.lic-chlg-req":{"source":"iana"},"application/vnd.ms-wmdrm.lic-resp":{"source":"iana"},"application/vnd.ms-wmdrm.meter-chlg-req":{"source":"iana"},"application/vnd.ms-wmdrm.meter-resp":{"source":"iana"},"application/vnd.ms-word.document.macroenabled.12":{"source":"iana","extensions":["docm"]},"application/vnd.ms-word.template.macroenabled.12":{"source":"iana","extensions":["dotm"]},"application/vnd.ms-works":{"source":"iana","extensions":["wps","wks","wcm","wdb"]},"application/vnd.ms-wpl":{"source":"iana","extensions":["wpl"]},"application/vnd.ms-xpsdocument":{"source":"iana","compressible":false,"extensions":["xps"]},"application/vnd.msa-disk-image":{"source":"iana"},"application/vnd.mseq":{"source":"iana","extensions":["mseq"]},"application/vnd.msign":{"source":"iana"},"application/vnd.multiad.creator":{"source":"iana"},"application/vnd.multiad.creator.cif":{"source":"iana"},"application/vnd.music-niff":{"source":"iana"},"application/vnd.musician":{"source":"iana","extensions":["mus"]},"application/vnd.muvee.style":{"source":"iana","extensions":["msty"]},"application/vnd.mynfc":{"source":"iana","extensions":["taglet"]},"application/vnd.nacamar.ybrid+json":{"source":"iana","compressible":true},"application/vnd.ncd.control":{"source":"iana"},"application/vnd.ncd.reference":{"source":"iana"},"application/vnd.nearst.inv+json":{"source":"iana","compressible":true},"application/vnd.nebumind.line":{"source":"iana"},"application/vnd.nervana":{"source":"iana"},"application/vnd.netfpx":{"source":"iana"},"application/vnd.neurolanguage.nlu":{"source":"iana","extensions":["nlu"]},"application/vnd.nimn":{"source":"iana"},"application/vnd.nintendo.nitro.rom":{"source":"iana"},"application/vnd.nintendo.snes.rom":{"source":"iana"},"application/vnd.nitf":{"source":"iana","extensions":["ntf","nitf"]},"application/vnd.noblenet-directory":{"source":"iana","extensions":["nnd"]},"application/vnd.noblenet-sealer":{"source":"iana","extensions":["nns"]},"application/vnd.noblenet-web":{"source":"iana","extensions":["nnw"]},"application/vnd.nokia.catalogs":{"source":"iana"},"application/vnd.nokia.conml+wbxml":{"source":"iana"},"application/vnd.nokia.conml+xml":{"source":"iana","compressible":true},"application/vnd.nokia.iptv.config+xml":{"source":"iana","compressible":true},"application/vnd.nokia.isds-radio-presets":{"source":"iana"},"application/vnd.nokia.landmark+wbxml":{"source":"iana"},"application/vnd.nokia.landmark+xml":{"source":"iana","compressible":true},"application/vnd.nokia.landmarkcollection+xml":{"source":"iana","compressible":true},"application/vnd.nokia.n-gage.ac+xml":{"source":"iana","compressible":true,"extensions":["ac"]},"application/vnd.nokia.n-gage.data":{"source":"iana","extensions":["ngdat"]},"application/vnd.nokia.n-gage.symbian.install":{"source":"iana","extensions":["n-gage"]},"application/vnd.nokia.ncd":{"source":"iana"},"application/vnd.nokia.pcd+wbxml":{"source":"iana"},"application/vnd.nokia.pcd+xml":{"source":"iana","compressible":true},"application/vnd.nokia.radio-preset":{"source":"iana","extensions":["rpst"]},"application/vnd.nokia.radio-presets":{"source":"iana","extensions":["rpss"]},"application/vnd.novadigm.edm":{"source":"iana","extensions":["edm"]},"application/vnd.novadigm.edx":{"source":"iana","extensions":["edx"]},"application/vnd.novadigm.ext":{"source":"iana","extensions":["ext"]},"application/vnd.ntt-local.content-share":{"source":"iana"},"application/vnd.ntt-local.file-transfer":{"source":"iana"},"application/vnd.ntt-local.ogw_remote-access":{"source":"iana"},"application/vnd.ntt-local.sip-ta_remote":{"source":"iana"},"application/vnd.ntt-local.sip-ta_tcp_stream":{"source":"iana"},"application/vnd.oasis.opendocument.chart":{"source":"iana","extensions":["odc"]},"application/vnd.oasis.opendocument.chart-template":{"source":"iana","extensions":["otc"]},"application/vnd.oasis.opendocument.database":{"source":"iana","extensions":["odb"]},"application/vnd.oasis.opendocument.formula":{"source":"iana","extensions":["odf"]},"application/vnd.oasis.opendocument.formula-template":{"source":"iana","extensions":["odft"]},"application/vnd.oasis.opendocument.graphics":{"source":"iana","compressible":false,"extensions":["odg"]},"application/vnd.oasis.opendocument.graphics-template":{"source":"iana","extensions":["otg"]},"application/vnd.oasis.opendocument.image":{"source":"iana","extensions":["odi"]},"application/vnd.oasis.opendocument.image-template":{"source":"iana","extensions":["oti"]},"application/vnd.oasis.opendocument.presentation":{"source":"iana","compressible":false,"extensions":["odp"]},"application/vnd.oasis.opendocument.presentation-template":{"source":"iana","extensions":["otp"]},"application/vnd.oasis.opendocument.spreadsheet":{"source":"iana","compressible":false,"extensions":["ods"]},"application/vnd.oasis.opendocument.spreadsheet-template":{"source":"iana","extensions":["ots"]},"application/vnd.oasis.opendocument.text":{"source":"iana","compressible":false,"extensions":["odt"]},"application/vnd.oasis.opendocument.text-master":{"source":"iana","extensions":["odm"]},"application/vnd.oasis.opendocument.text-template":{"source":"iana","extensions":["ott"]},"application/vnd.oasis.opendocument.text-web":{"source":"iana","extensions":["oth"]},"application/vnd.obn":{"source":"iana"},"application/vnd.ocf+cbor":{"source":"iana"},"application/vnd.oci.image.manifest.v1+json":{"source":"iana","compressible":true},"application/vnd.oftn.l10n+json":{"source":"iana","compressible":true},"application/vnd.oipf.contentaccessdownload+xml":{"source":"iana","compressible":true},"application/vnd.oipf.contentaccessstreaming+xml":{"source":"iana","compressible":true},"application/vnd.oipf.cspg-hexbinary":{"source":"iana"},"application/vnd.oipf.dae.svg+xml":{"source":"iana","compressible":true},"application/vnd.oipf.dae.xhtml+xml":{"source":"iana","compressible":true},"application/vnd.oipf.mippvcontrolmessage+xml":{"source":"iana","compressible":true},"application/vnd.oipf.pae.gem":{"source":"iana"},"application/vnd.oipf.spdiscovery+xml":{"source":"iana","compressible":true},"application/vnd.oipf.spdlist+xml":{"source":"iana","compressible":true},"application/vnd.oipf.ueprofile+xml":{"source":"iana","compressible":true},"application/vnd.oipf.userprofile+xml":{"source":"iana","compressible":true},"application/vnd.olpc-sugar":{"source":"iana","extensions":["xo"]},"application/vnd.oma-scws-config":{"source":"iana"},"application/vnd.oma-scws-http-request":{"source":"iana"},"application/vnd.oma-scws-http-response":{"source":"iana"},"application/vnd.oma.bcast.associated-procedure-parameter+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.drm-trigger+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.imd+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.ltkm":{"source":"iana"},"application/vnd.oma.bcast.notification+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.provisioningtrigger":{"source":"iana"},"application/vnd.oma.bcast.sgboot":{"source":"iana"},"application/vnd.oma.bcast.sgdd+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.sgdu":{"source":"iana"},"application/vnd.oma.bcast.simple-symbol-container":{"source":"iana"},"application/vnd.oma.bcast.smartcard-trigger+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.sprov+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.stkm":{"source":"iana"},"application/vnd.oma.cab-address-book+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-feature-handler+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-pcc+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-subs-invite+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-user-prefs+xml":{"source":"iana","compressible":true},"application/vnd.oma.dcd":{"source":"iana"},"application/vnd.oma.dcdc":{"source":"iana"},"application/vnd.oma.dd2+xml":{"source":"iana","compressible":true,"extensions":["dd2"]},"application/vnd.oma.drm.risd+xml":{"source":"iana","compressible":true},"application/vnd.oma.group-usage-list+xml":{"source":"iana","compressible":true},"application/vnd.oma.lwm2m+cbor":{"source":"iana"},"application/vnd.oma.lwm2m+json":{"source":"iana","compressible":true},"application/vnd.oma.lwm2m+tlv":{"source":"iana"},"application/vnd.oma.pal+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.detailed-progress-report+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.final-report+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.groups+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.invocation-descriptor+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.optimized-progress-report+xml":{"source":"iana","compressible":true},"application/vnd.oma.push":{"source":"iana"},"application/vnd.oma.scidm.messages+xml":{"source":"iana","compressible":true},"application/vnd.oma.xcap-directory+xml":{"source":"iana","compressible":true},"application/vnd.omads-email+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.omads-file+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.omads-folder+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.omaloc-supl-init":{"source":"iana"},"application/vnd.onepager":{"source":"iana"},"application/vnd.onepagertamp":{"source":"iana"},"application/vnd.onepagertamx":{"source":"iana"},"application/vnd.onepagertat":{"source":"iana"},"application/vnd.onepagertatp":{"source":"iana"},"application/vnd.onepagertatx":{"source":"iana"},"application/vnd.openblox.game+xml":{"source":"iana","compressible":true,"extensions":["obgx"]},"application/vnd.openblox.game-binary":{"source":"iana"},"application/vnd.openeye.oeb":{"source":"iana"},"application/vnd.openofficeorg.extension":{"source":"apache","extensions":["oxt"]},"application/vnd.openstreetmap.data+xml":{"source":"iana","compressible":true,"extensions":["osm"]},"application/vnd.opentimestamps.ots":{"source":"iana"},"application/vnd.openxmlformats-officedocument.custom-properties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.customxmlproperties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawing+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.chart+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramcolors+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramdata+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramlayout+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramstyle+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.extended-properties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.commentauthors+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.comments+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.handoutmaster+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.notesmaster+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.notesslide+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.presentation":{"source":"iana","compressible":false,"extensions":["pptx"]},"application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.presprops+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slide":{"source":"iana","extensions":["sldx"]},"application/vnd.openxmlformats-officedocument.presentationml.slide+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slidelayout+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slidemaster+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slideshow":{"source":"iana","extensions":["ppsx"]},"application/vnd.openxmlformats-officedocument.presentationml.slideshow.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slideupdateinfo+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.tablestyles+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.tags+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.template":{"source":"iana","extensions":["potx"]},"application/vnd.openxmlformats-officedocument.presentationml.template.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.viewprops+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.calcchain+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.externallink+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcachedefinition+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcacherecords+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivottable+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.querytable+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionheaders+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionlog+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedstrings+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{"source":"iana","compressible":false,"extensions":["xlsx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetmetadata+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.tablesinglecells+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.template":{"source":"iana","extensions":["xltx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.usernames+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.volatiledependencies+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.theme+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.themeoverride+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.vmldrawing":{"source":"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.document":{"source":"iana","compressible":false,"extensions":["docx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.glossary+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.fonttable+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.template":{"source":"iana","extensions":["dotx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.template.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.websettings+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-package.core-properties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-package.digital-signature-xmlsignature+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-package.relationships+xml":{"source":"iana","compressible":true},"application/vnd.oracle.resource+json":{"source":"iana","compressible":true},"application/vnd.orange.indata":{"source":"iana"},"application/vnd.osa.netdeploy":{"source":"iana"},"application/vnd.osgeo.mapguide.package":{"source":"iana","extensions":["mgp"]},"application/vnd.osgi.bundle":{"source":"iana"},"application/vnd.osgi.dp":{"source":"iana","extensions":["dp"]},"application/vnd.osgi.subsystem":{"source":"iana","extensions":["esa"]},"application/vnd.otps.ct-kip+xml":{"source":"iana","compressible":true},"application/vnd.oxli.countgraph":{"source":"iana"},"application/vnd.pagerduty+json":{"source":"iana","compressible":true},"application/vnd.palm":{"source":"iana","extensions":["pdb","pqa","oprc"]},"application/vnd.panoply":{"source":"iana"},"application/vnd.paos.xml":{"source":"iana"},"application/vnd.patentdive":{"source":"iana"},"application/vnd.patientecommsdoc":{"source":"iana"},"application/vnd.pawaafile":{"source":"iana","extensions":["paw"]},"application/vnd.pcos":{"source":"iana"},"application/vnd.pg.format":{"source":"iana","extensions":["str"]},"application/vnd.pg.osasli":{"source":"iana","extensions":["ei6"]},"application/vnd.piaccess.application-licence":{"source":"iana"},"application/vnd.picsel":{"source":"iana","extensions":["efif"]},"application/vnd.pmi.widget":{"source":"iana","extensions":["wg"]},"application/vnd.poc.group-advertisement+xml":{"source":"iana","compressible":true},"application/vnd.pocketlearn":{"source":"iana","extensions":["plf"]},"application/vnd.powerbuilder6":{"source":"iana","extensions":["pbd"]},"application/vnd.powerbuilder6-s":{"source":"iana"},"application/vnd.powerbuilder7":{"source":"iana"},"application/vnd.powerbuilder7-s":{"source":"iana"},"application/vnd.powerbuilder75":{"source":"iana"},"application/vnd.powerbuilder75-s":{"source":"iana"},"application/vnd.preminet":{"source":"iana"},"application/vnd.previewsystems.box":{"source":"iana","extensions":["box"]},"application/vnd.proteus.magazine":{"source":"iana","extensions":["mgz"]},"application/vnd.psfs":{"source":"iana"},"application/vnd.publishare-delta-tree":{"source":"iana","extensions":["qps"]},"application/vnd.pvi.ptid1":{"source":"iana","extensions":["ptid"]},"application/vnd.pwg-multiplexed":{"source":"iana"},"application/vnd.pwg-xhtml-print+xml":{"source":"iana","compressible":true},"application/vnd.qualcomm.brew-app-res":{"source":"iana"},"application/vnd.quarantainenet":{"source":"iana"},"application/vnd.quark.quarkxpress":{"source":"iana","extensions":["qxd","qxt","qwd","qwt","qxl","qxb"]},"application/vnd.quobject-quoxdocument":{"source":"iana"},"application/vnd.radisys.moml+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-conf+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-conn+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-dialog+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-stream+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-conf+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-base+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-fax-detect+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-fax-sendrecv+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-group+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-speech+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-transform+xml":{"source":"iana","compressible":true},"application/vnd.rainstor.data":{"source":"iana"},"application/vnd.rapid":{"source":"iana"},"application/vnd.rar":{"source":"iana","extensions":["rar"]},"application/vnd.realvnc.bed":{"source":"iana","extensions":["bed"]},"application/vnd.recordare.musicxml":{"source":"iana","extensions":["mxl"]},"application/vnd.recordare.musicxml+xml":{"source":"iana","compressible":true,"extensions":["musicxml"]},"application/vnd.renlearn.rlprint":{"source":"iana"},"application/vnd.resilient.logic":{"source":"iana"},"application/vnd.restful+json":{"source":"iana","compressible":true},"application/vnd.rig.cryptonote":{"source":"iana","extensions":["cryptonote"]},"application/vnd.rim.cod":{"source":"apache","extensions":["cod"]},"application/vnd.rn-realmedia":{"source":"apache","extensions":["rm"]},"application/vnd.rn-realmedia-vbr":{"source":"apache","extensions":["rmvb"]},"application/vnd.route66.link66+xml":{"source":"iana","compressible":true,"extensions":["link66"]},"application/vnd.rs-274x":{"source":"iana"},"application/vnd.ruckus.download":{"source":"iana"},"application/vnd.s3sms":{"source":"iana"},"application/vnd.sailingtracker.track":{"source":"iana","extensions":["st"]},"application/vnd.sar":{"source":"iana"},"application/vnd.sbm.cid":{"source":"iana"},"application/vnd.sbm.mid2":{"source":"iana"},"application/vnd.scribus":{"source":"iana"},"application/vnd.sealed.3df":{"source":"iana"},"application/vnd.sealed.csf":{"source":"iana"},"application/vnd.sealed.doc":{"source":"iana"},"application/vnd.sealed.eml":{"source":"iana"},"application/vnd.sealed.mht":{"source":"iana"},"application/vnd.sealed.net":{"source":"iana"},"application/vnd.sealed.ppt":{"source":"iana"},"application/vnd.sealed.tiff":{"source":"iana"},"application/vnd.sealed.xls":{"source":"iana"},"application/vnd.sealedmedia.softseal.html":{"source":"iana"},"application/vnd.sealedmedia.softseal.pdf":{"source":"iana"},"application/vnd.seemail":{"source":"iana","extensions":["see"]},"application/vnd.seis+json":{"source":"iana","compressible":true},"application/vnd.sema":{"source":"iana","extensions":["sema"]},"application/vnd.semd":{"source":"iana","extensions":["semd"]},"application/vnd.semf":{"source":"iana","extensions":["semf"]},"application/vnd.shade-save-file":{"source":"iana"},"application/vnd.shana.informed.formdata":{"source":"iana","extensions":["ifm"]},"application/vnd.shana.informed.formtemplate":{"source":"iana","extensions":["itp"]},"application/vnd.shana.informed.interchange":{"source":"iana","extensions":["iif"]},"application/vnd.shana.informed.package":{"source":"iana","extensions":["ipk"]},"application/vnd.shootproof+json":{"source":"iana","compressible":true},"application/vnd.shopkick+json":{"source":"iana","compressible":true},"application/vnd.shp":{"source":"iana"},"application/vnd.shx":{"source":"iana"},"application/vnd.sigrok.session":{"source":"iana"},"application/vnd.simtech-mindmapper":{"source":"iana","extensions":["twd","twds"]},"application/vnd.siren+json":{"source":"iana","compressible":true},"application/vnd.smaf":{"source":"iana","extensions":["mmf"]},"application/vnd.smart.notebook":{"source":"iana"},"application/vnd.smart.teacher":{"source":"iana","extensions":["teacher"]},"application/vnd.snesdev-page-table":{"source":"iana"},"application/vnd.software602.filler.form+xml":{"source":"iana","compressible":true,"extensions":["fo"]},"application/vnd.software602.filler.form-xml-zip":{"source":"iana"},"application/vnd.solent.sdkm+xml":{"source":"iana","compressible":true,"extensions":["sdkm","sdkd"]},"application/vnd.spotfire.dxp":{"source":"iana","extensions":["dxp"]},"application/vnd.spotfire.sfs":{"source":"iana","extensions":["sfs"]},"application/vnd.sqlite3":{"source":"iana"},"application/vnd.sss-cod":{"source":"iana"},"application/vnd.sss-dtf":{"source":"iana"},"application/vnd.sss-ntf":{"source":"iana"},"application/vnd.stardivision.calc":{"source":"apache","extensions":["sdc"]},"application/vnd.stardivision.draw":{"source":"apache","extensions":["sda"]},"application/vnd.stardivision.impress":{"source":"apache","extensions":["sdd"]},"application/vnd.stardivision.math":{"source":"apache","extensions":["smf"]},"application/vnd.stardivision.writer":{"source":"apache","extensions":["sdw","vor"]},"application/vnd.stardivision.writer-global":{"source":"apache","extensions":["sgl"]},"application/vnd.stepmania.package":{"source":"iana","extensions":["smzip"]},"application/vnd.stepmania.stepchart":{"source":"iana","extensions":["sm"]},"application/vnd.street-stream":{"source":"iana"},"application/vnd.sun.wadl+xml":{"source":"iana","compressible":true,"extensions":["wadl"]},"application/vnd.sun.xml.calc":{"source":"apache","extensions":["sxc"]},"application/vnd.sun.xml.calc.template":{"source":"apache","extensions":["stc"]},"application/vnd.sun.xml.draw":{"source":"apache","extensions":["sxd"]},"application/vnd.sun.xml.draw.template":{"source":"apache","extensions":["std"]},"application/vnd.sun.xml.impress":{"source":"apache","extensions":["sxi"]},"application/vnd.sun.xml.impress.template":{"source":"apache","extensions":["sti"]},"application/vnd.sun.xml.math":{"source":"apache","extensions":["sxm"]},"application/vnd.sun.xml.writer":{"source":"apache","extensions":["sxw"]},"application/vnd.sun.xml.writer.global":{"source":"apache","extensions":["sxg"]},"application/vnd.sun.xml.writer.template":{"source":"apache","extensions":["stw"]},"application/vnd.sus-calendar":{"source":"iana","extensions":["sus","susp"]},"application/vnd.svd":{"source":"iana","extensions":["svd"]},"application/vnd.swiftview-ics":{"source":"iana"},"application/vnd.sycle+xml":{"source":"iana","compressible":true},"application/vnd.syft+json":{"source":"iana","compressible":true},"application/vnd.symbian.install":{"source":"apache","extensions":["sis","sisx"]},"application/vnd.syncml+xml":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["xsm"]},"application/vnd.syncml.dm+wbxml":{"source":"iana","charset":"UTF-8","extensions":["bdm"]},"application/vnd.syncml.dm+xml":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["xdm"]},"application/vnd.syncml.dm.notification":{"source":"iana"},"application/vnd.syncml.dmddf+wbxml":{"source":"iana"},"application/vnd.syncml.dmddf+xml":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["ddf"]},"application/vnd.syncml.dmtnds+wbxml":{"source":"iana"},"application/vnd.syncml.dmtnds+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.syncml.ds.notification":{"source":"iana"},"application/vnd.tableschema+json":{"source":"iana","compressible":true},"application/vnd.tao.intent-module-archive":{"source":"iana","extensions":["tao"]},"application/vnd.tcpdump.pcap":{"source":"iana","extensions":["pcap","cap","dmp"]},"application/vnd.think-cell.ppttc+json":{"source":"iana","compressible":true},"application/vnd.tmd.mediaflex.api+xml":{"source":"iana","compressible":true},"application/vnd.tml":{"source":"iana"},"application/vnd.tmobile-livetv":{"source":"iana","extensions":["tmo"]},"application/vnd.tri.onesource":{"source":"iana"},"application/vnd.trid.tpt":{"source":"iana","extensions":["tpt"]},"application/vnd.triscape.mxs":{"source":"iana","extensions":["mxs"]},"application/vnd.trueapp":{"source":"iana","extensions":["tra"]},"application/vnd.truedoc":{"source":"iana"},"application/vnd.ubisoft.webplayer":{"source":"iana"},"application/vnd.ufdl":{"source":"iana","extensions":["ufd","ufdl"]},"application/vnd.uiq.theme":{"source":"iana","extensions":["utz"]},"application/vnd.umajin":{"source":"iana","extensions":["umj"]},"application/vnd.unity":{"source":"iana","extensions":["unityweb"]},"application/vnd.uoml+xml":{"source":"iana","compressible":true,"extensions":["uoml"]},"application/vnd.uplanet.alert":{"source":"iana"},"application/vnd.uplanet.alert-wbxml":{"source":"iana"},"application/vnd.uplanet.bearer-choice":{"source":"iana"},"application/vnd.uplanet.bearer-choice-wbxml":{"source":"iana"},"application/vnd.uplanet.cacheop":{"source":"iana"},"application/vnd.uplanet.cacheop-wbxml":{"source":"iana"},"application/vnd.uplanet.channel":{"source":"iana"},"application/vnd.uplanet.channel-wbxml":{"source":"iana"},"application/vnd.uplanet.list":{"source":"iana"},"application/vnd.uplanet.list-wbxml":{"source":"iana"},"application/vnd.uplanet.listcmd":{"source":"iana"},"application/vnd.uplanet.listcmd-wbxml":{"source":"iana"},"application/vnd.uplanet.signal":{"source":"iana"},"application/vnd.uri-map":{"source":"iana"},"application/vnd.valve.source.material":{"source":"iana"},"application/vnd.vcx":{"source":"iana","extensions":["vcx"]},"application/vnd.vd-study":{"source":"iana"},"application/vnd.vectorworks":{"source":"iana"},"application/vnd.vel+json":{"source":"iana","compressible":true},"application/vnd.verimatrix.vcas":{"source":"iana"},"application/vnd.veritone.aion+json":{"source":"iana","compressible":true},"application/vnd.veryant.thin":{"source":"iana"},"application/vnd.ves.encrypted":{"source":"iana"},"application/vnd.vidsoft.vidconference":{"source":"iana"},"application/vnd.visio":{"source":"iana","extensions":["vsd","vst","vss","vsw"]},"application/vnd.visionary":{"source":"iana","extensions":["vis"]},"application/vnd.vividence.scriptfile":{"source":"iana"},"application/vnd.vsf":{"source":"iana","extensions":["vsf"]},"application/vnd.wap.sic":{"source":"iana"},"application/vnd.wap.slc":{"source":"iana"},"application/vnd.wap.wbxml":{"source":"iana","charset":"UTF-8","extensions":["wbxml"]},"application/vnd.wap.wmlc":{"source":"iana","extensions":["wmlc"]},"application/vnd.wap.wmlscriptc":{"source":"iana","extensions":["wmlsc"]},"application/vnd.webturbo":{"source":"iana","extensions":["wtb"]},"application/vnd.wfa.dpp":{"source":"iana"},"application/vnd.wfa.p2p":{"source":"iana"},"application/vnd.wfa.wsc":{"source":"iana"},"application/vnd.windows.devicepairing":{"source":"iana"},"application/vnd.wmc":{"source":"iana"},"application/vnd.wmf.bootstrap":{"source":"iana"},"application/vnd.wolfram.mathematica":{"source":"iana"},"application/vnd.wolfram.mathematica.package":{"source":"iana"},"application/vnd.wolfram.player":{"source":"iana","extensions":["nbp"]},"application/vnd.wordperfect":{"source":"iana","extensions":["wpd"]},"application/vnd.wqd":{"source":"iana","extensions":["wqd"]},"application/vnd.wrq-hp3000-labelled":{"source":"iana"},"application/vnd.wt.stf":{"source":"iana","extensions":["stf"]},"application/vnd.wv.csp+wbxml":{"source":"iana"},"application/vnd.wv.csp+xml":{"source":"iana","compressible":true},"application/vnd.wv.ssp+xml":{"source":"iana","compressible":true},"application/vnd.xacml+json":{"source":"iana","compressible":true},"application/vnd.xara":{"source":"iana","extensions":["xar"]},"application/vnd.xfdl":{"source":"iana","extensions":["xfdl"]},"application/vnd.xfdl.webform":{"source":"iana"},"application/vnd.xmi+xml":{"source":"iana","compressible":true},"application/vnd.xmpie.cpkg":{"source":"iana"},"application/vnd.xmpie.dpkg":{"source":"iana"},"application/vnd.xmpie.plan":{"source":"iana"},"application/vnd.xmpie.ppkg":{"source":"iana"},"application/vnd.xmpie.xlim":{"source":"iana"},"application/vnd.yamaha.hv-dic":{"source":"iana","extensions":["hvd"]},"application/vnd.yamaha.hv-script":{"source":"iana","extensions":["hvs"]},"application/vnd.yamaha.hv-voice":{"source":"iana","extensions":["hvp"]},"application/vnd.yamaha.openscoreformat":{"source":"iana","extensions":["osf"]},"application/vnd.yamaha.openscoreformat.osfpvg+xml":{"source":"iana","compressible":true,"extensions":["osfpvg"]},"application/vnd.yamaha.remote-setup":{"source":"iana"},"application/vnd.yamaha.smaf-audio":{"source":"iana","extensions":["saf"]},"application/vnd.yamaha.smaf-phrase":{"source":"iana","extensions":["spf"]},"application/vnd.yamaha.through-ngn":{"source":"iana"},"application/vnd.yamaha.tunnel-udpencap":{"source":"iana"},"application/vnd.yaoweme":{"source":"iana"},"application/vnd.yellowriver-custom-menu":{"source":"iana","extensions":["cmp"]},"application/vnd.youtube.yt":{"source":"iana"},"application/vnd.zul":{"source":"iana","extensions":["zir","zirz"]},"application/vnd.zzazz.deck+xml":{"source":"iana","compressible":true,"extensions":["zaz"]},"application/voicexml+xml":{"source":"iana","compressible":true,"extensions":["vxml"]},"application/voucher-cms+json":{"source":"iana","compressible":true},"application/vq-rtcpxr":{"source":"iana"},"application/wasm":{"source":"iana","compressible":true,"extensions":["wasm"]},"application/watcherinfo+xml":{"source":"iana","compressible":true,"extensions":["wif"]},"application/webpush-options+json":{"source":"iana","compressible":true},"application/whoispp-query":{"source":"iana"},"application/whoispp-response":{"source":"iana"},"application/widget":{"source":"iana","extensions":["wgt"]},"application/winhlp":{"source":"apache","extensions":["hlp"]},"application/wita":{"source":"iana"},"application/wordperfect5.1":{"source":"iana"},"application/wsdl+xml":{"source":"iana","compressible":true,"extensions":["wsdl"]},"application/wspolicy+xml":{"source":"iana","compressible":true,"extensions":["wspolicy"]},"application/x-7z-compressed":{"source":"apache","compressible":false,"extensions":["7z"]},"application/x-abiword":{"source":"apache","extensions":["abw"]},"application/x-ace-compressed":{"source":"apache","extensions":["ace"]},"application/x-amf":{"source":"apache"},"application/x-apple-diskimage":{"source":"apache","extensions":["dmg"]},"application/x-arj":{"compressible":false,"extensions":["arj"]},"application/x-authorware-bin":{"source":"apache","extensions":["aab","x32","u32","vox"]},"application/x-authorware-map":{"source":"apache","extensions":["aam"]},"application/x-authorware-seg":{"source":"apache","extensions":["aas"]},"application/x-bcpio":{"source":"apache","extensions":["bcpio"]},"application/x-bdoc":{"compressible":false,"extensions":["bdoc"]},"application/x-bittorrent":{"source":"apache","extensions":["torrent"]},"application/x-blorb":{"source":"apache","extensions":["blb","blorb"]},"application/x-bzip":{"source":"apache","compressible":false,"extensions":["bz"]},"application/x-bzip2":{"source":"apache","compressible":false,"extensions":["bz2","boz"]},"application/x-cbr":{"source":"apache","extensions":["cbr","cba","cbt","cbz","cb7"]},"application/x-cdlink":{"source":"apache","extensions":["vcd"]},"application/x-cfs-compressed":{"source":"apache","extensions":["cfs"]},"application/x-chat":{"source":"apache","extensions":["chat"]},"application/x-chess-pgn":{"source":"apache","extensions":["pgn"]},"application/x-chrome-extension":{"extensions":["crx"]},"application/x-cocoa":{"source":"nginx","extensions":["cco"]},"application/x-compress":{"source":"apache"},"application/x-conference":{"source":"apache","extensions":["nsc"]},"application/x-cpio":{"source":"apache","extensions":["cpio"]},"application/x-csh":{"source":"apache","extensions":["csh"]},"application/x-deb":{"compressible":false},"application/x-debian-package":{"source":"apache","extensions":["deb","udeb"]},"application/x-dgc-compressed":{"source":"apache","extensions":["dgc"]},"application/x-director":{"source":"apache","extensions":["dir","dcr","dxr","cst","cct","cxt","w3d","fgd","swa"]},"application/x-doom":{"source":"apache","extensions":["wad"]},"application/x-dtbncx+xml":{"source":"apache","compressible":true,"extensions":["ncx"]},"application/x-dtbook+xml":{"source":"apache","compressible":true,"extensions":["dtb"]},"application/x-dtbresource+xml":{"source":"apache","compressible":true,"extensions":["res"]},"application/x-dvi":{"source":"apache","compressible":false,"extensions":["dvi"]},"application/x-envoy":{"source":"apache","extensions":["evy"]},"application/x-eva":{"source":"apache","extensions":["eva"]},"application/x-font-bdf":{"source":"apache","extensions":["bdf"]},"application/x-font-dos":{"source":"apache"},"application/x-font-framemaker":{"source":"apache"},"application/x-font-ghostscript":{"source":"apache","extensions":["gsf"]},"application/x-font-libgrx":{"source":"apache"},"application/x-font-linux-psf":{"source":"apache","extensions":["psf"]},"application/x-font-pcf":{"source":"apache","extensions":["pcf"]},"application/x-font-snf":{"source":"apache","extensions":["snf"]},"application/x-font-speedo":{"source":"apache"},"application/x-font-sunos-news":{"source":"apache"},"application/x-font-type1":{"source":"apache","extensions":["pfa","pfb","pfm","afm"]},"application/x-font-vfont":{"source":"apache"},"application/x-freearc":{"source":"apache","extensions":["arc"]},"application/x-futuresplash":{"source":"apache","extensions":["spl"]},"application/x-gca-compressed":{"source":"apache","extensions":["gca"]},"application/x-glulx":{"source":"apache","extensions":["ulx"]},"application/x-gnumeric":{"source":"apache","extensions":["gnumeric"]},"application/x-gramps-xml":{"source":"apache","extensions":["gramps"]},"application/x-gtar":{"source":"apache","extensions":["gtar"]},"application/x-gzip":{"source":"apache"},"application/x-hdf":{"source":"apache","extensions":["hdf"]},"application/x-httpd-php":{"compressible":true,"extensions":["php"]},"application/x-install-instructions":{"source":"apache","extensions":["install"]},"application/x-iso9660-image":{"source":"apache","extensions":["iso"]},"application/x-iwork-keynote-sffkey":{"extensions":["key"]},"application/x-iwork-numbers-sffnumbers":{"extensions":["numbers"]},"application/x-iwork-pages-sffpages":{"extensions":["pages"]},"application/x-java-archive-diff":{"source":"nginx","extensions":["jardiff"]},"application/x-java-jnlp-file":{"source":"apache","compressible":false,"extensions":["jnlp"]},"application/x-javascript":{"compressible":true},"application/x-keepass2":{"extensions":["kdbx"]},"application/x-latex":{"source":"apache","compressible":false,"extensions":["latex"]},"application/x-lua-bytecode":{"extensions":["luac"]},"application/x-lzh-compressed":{"source":"apache","extensions":["lzh","lha"]},"application/x-makeself":{"source":"nginx","extensions":["run"]},"application/x-mie":{"source":"apache","extensions":["mie"]},"application/x-mobipocket-ebook":{"source":"apache","extensions":["prc","mobi"]},"application/x-mpegurl":{"compressible":false},"application/x-ms-application":{"source":"apache","extensions":["application"]},"application/x-ms-shortcut":{"source":"apache","extensions":["lnk"]},"application/x-ms-wmd":{"source":"apache","extensions":["wmd"]},"application/x-ms-wmz":{"source":"apache","extensions":["wmz"]},"application/x-ms-xbap":{"source":"apache","extensions":["xbap"]},"application/x-msaccess":{"source":"apache","extensions":["mdb"]},"application/x-msbinder":{"source":"apache","extensions":["obd"]},"application/x-mscardfile":{"source":"apache","extensions":["crd"]},"application/x-msclip":{"source":"apache","extensions":["clp"]},"application/x-msdos-program":{"extensions":["exe"]},"application/x-msdownload":{"source":"apache","extensions":["exe","dll","com","bat","msi"]},"application/x-msmediaview":{"source":"apache","extensions":["mvb","m13","m14"]},"application/x-msmetafile":{"source":"apache","extensions":["wmf","wmz","emf","emz"]},"application/x-msmoney":{"source":"apache","extensions":["mny"]},"application/x-mspublisher":{"source":"apache","extensions":["pub"]},"application/x-msschedule":{"source":"apache","extensions":["scd"]},"application/x-msterminal":{"source":"apache","extensions":["trm"]},"application/x-mswrite":{"source":"apache","extensions":["wri"]},"application/x-netcdf":{"source":"apache","extensions":["nc","cdf"]},"application/x-ns-proxy-autoconfig":{"compressible":true,"extensions":["pac"]},"application/x-nzb":{"source":"apache","extensions":["nzb"]},"application/x-perl":{"source":"nginx","extensions":["pl","pm"]},"application/x-pilot":{"source":"nginx","extensions":["prc","pdb"]},"application/x-pkcs12":{"source":"apache","compressible":false,"extensions":["p12","pfx"]},"application/x-pkcs7-certificates":{"source":"apache","extensions":["p7b","spc"]},"application/x-pkcs7-certreqresp":{"source":"apache","extensions":["p7r"]},"application/x-pki-message":{"source":"iana"},"application/x-rar-compressed":{"source":"apache","compressible":false,"extensions":["rar"]},"application/x-redhat-package-manager":{"source":"nginx","extensions":["rpm"]},"application/x-research-info-systems":{"source":"apache","extensions":["ris"]},"application/x-sea":{"source":"nginx","extensions":["sea"]},"application/x-sh":{"source":"apache","compressible":true,"extensions":["sh"]},"application/x-shar":{"source":"apache","extensions":["shar"]},"application/x-shockwave-flash":{"source":"apache","compressible":false,"extensions":["swf"]},"application/x-silverlight-app":{"source":"apache","extensions":["xap"]},"application/x-sql":{"source":"apache","extensions":["sql"]},"application/x-stuffit":{"source":"apache","compressible":false,"extensions":["sit"]},"application/x-stuffitx":{"source":"apache","extensions":["sitx"]},"application/x-subrip":{"source":"apache","extensions":["srt"]},"application/x-sv4cpio":{"source":"apache","extensions":["sv4cpio"]},"application/x-sv4crc":{"source":"apache","extensions":["sv4crc"]},"application/x-t3vm-image":{"source":"apache","extensions":["t3"]},"application/x-tads":{"source":"apache","extensions":["gam"]},"application/x-tar":{"source":"apache","compressible":true,"extensions":["tar"]},"application/x-tcl":{"source":"apache","extensions":["tcl","tk"]},"application/x-tex":{"source":"apache","extensions":["tex"]},"application/x-tex-tfm":{"source":"apache","extensions":["tfm"]},"application/x-texinfo":{"source":"apache","extensions":["texinfo","texi"]},"application/x-tgif":{"source":"apache","extensions":["obj"]},"application/x-ustar":{"source":"apache","extensions":["ustar"]},"application/x-virtualbox-hdd":{"compressible":true,"extensions":["hdd"]},"application/x-virtualbox-ova":{"compressible":true,"extensions":["ova"]},"application/x-virtualbox-ovf":{"compressible":true,"extensions":["ovf"]},"application/x-virtualbox-vbox":{"compressible":true,"extensions":["vbox"]},"application/x-virtualbox-vbox-extpack":{"compressible":false,"extensions":["vbox-extpack"]},"application/x-virtualbox-vdi":{"compressible":true,"extensions":["vdi"]},"application/x-virtualbox-vhd":{"compressible":true,"extensions":["vhd"]},"application/x-virtualbox-vmdk":{"compressible":true,"extensions":["vmdk"]},"application/x-wais-source":{"source":"apache","extensions":["src"]},"application/x-web-app-manifest+json":{"compressible":true,"extensions":["webapp"]},"application/x-www-form-urlencoded":{"source":"iana","compressible":true},"application/x-x509-ca-cert":{"source":"iana","extensions":["der","crt","pem"]},"application/x-x509-ca-ra-cert":{"source":"iana"},"application/x-x509-next-ca-cert":{"source":"iana"},"application/x-xfig":{"source":"apache","extensions":["fig"]},"application/x-xliff+xml":{"source":"apache","compressible":true,"extensions":["xlf"]},"application/x-xpinstall":{"source":"apache","compressible":false,"extensions":["xpi"]},"application/x-xz":{"source":"apache","extensions":["xz"]},"application/x-zmachine":{"source":"apache","extensions":["z1","z2","z3","z4","z5","z6","z7","z8"]},"application/x400-bp":{"source":"iana"},"application/xacml+xml":{"source":"iana","compressible":true},"application/xaml+xml":{"source":"apache","compressible":true,"extensions":["xaml"]},"application/xcap-att+xml":{"source":"iana","compressible":true,"extensions":["xav"]},"application/xcap-caps+xml":{"source":"iana","compressible":true,"extensions":["xca"]},"application/xcap-diff+xml":{"source":"iana","compressible":true,"extensions":["xdf"]},"application/xcap-el+xml":{"source":"iana","compressible":true,"extensions":["xel"]},"application/xcap-error+xml":{"source":"iana","compressible":true},"application/xcap-ns+xml":{"source":"iana","compressible":true,"extensions":["xns"]},"application/xcon-conference-info+xml":{"source":"iana","compressible":true},"application/xcon-conference-info-diff+xml":{"source":"iana","compressible":true},"application/xenc+xml":{"source":"iana","compressible":true,"extensions":["xenc"]},"application/xhtml+xml":{"source":"iana","compressible":true,"extensions":["xhtml","xht"]},"application/xhtml-voice+xml":{"source":"apache","compressible":true},"application/xliff+xml":{"source":"iana","compressible":true,"extensions":["xlf"]},"application/xml":{"source":"iana","compressible":true,"extensions":["xml","xsl","xsd","rng"]},"application/xml-dtd":{"source":"iana","compressible":true,"extensions":["dtd"]},"application/xml-external-parsed-entity":{"source":"iana"},"application/xml-patch+xml":{"source":"iana","compressible":true},"application/xmpp+xml":{"source":"iana","compressible":true},"application/xop+xml":{"source":"iana","compressible":true,"extensions":["xop"]},"application/xproc+xml":{"source":"apache","compressible":true,"extensions":["xpl"]},"application/xslt+xml":{"source":"iana","compressible":true,"extensions":["xsl","xslt"]},"application/xspf+xml":{"source":"apache","compressible":true,"extensions":["xspf"]},"application/xv+xml":{"source":"iana","compressible":true,"extensions":["mxml","xhvml","xvml","xvm"]},"application/yang":{"source":"iana","extensions":["yang"]},"application/yang-data+json":{"source":"iana","compressible":true},"application/yang-data+xml":{"source":"iana","compressible":true},"application/yang-patch+json":{"source":"iana","compressible":true},"application/yang-patch+xml":{"source":"iana","compressible":true},"application/yin+xml":{"source":"iana","compressible":true,"extensions":["yin"]},"application/zip":{"source":"iana","compressible":false,"extensions":["zip"]},"application/zlib":{"source":"iana"},"application/zstd":{"source":"iana"},"audio/1d-interleaved-parityfec":{"source":"iana"},"audio/32kadpcm":{"source":"iana"},"audio/3gpp":{"source":"iana","compressible":false,"extensions":["3gpp"]},"audio/3gpp2":{"source":"iana"},"audio/aac":{"source":"iana"},"audio/ac3":{"source":"iana"},"audio/adpcm":{"source":"apache","extensions":["adp"]},"audio/amr":{"source":"iana","extensions":["amr"]},"audio/amr-wb":{"source":"iana"},"audio/amr-wb+":{"source":"iana"},"audio/aptx":{"source":"iana"},"audio/asc":{"source":"iana"},"audio/atrac-advanced-lossless":{"source":"iana"},"audio/atrac-x":{"source":"iana"},"audio/atrac3":{"source":"iana"},"audio/basic":{"source":"iana","compressible":false,"extensions":["au","snd"]},"audio/bv16":{"source":"iana"},"audio/bv32":{"source":"iana"},"audio/clearmode":{"source":"iana"},"audio/cn":{"source":"iana"},"audio/dat12":{"source":"iana"},"audio/dls":{"source":"iana"},"audio/dsr-es201108":{"source":"iana"},"audio/dsr-es202050":{"source":"iana"},"audio/dsr-es202211":{"source":"iana"},"audio/dsr-es202212":{"source":"iana"},"audio/dv":{"source":"iana"},"audio/dvi4":{"source":"iana"},"audio/eac3":{"source":"iana"},"audio/encaprtp":{"source":"iana"},"audio/evrc":{"source":"iana"},"audio/evrc-qcp":{"source":"iana"},"audio/evrc0":{"source":"iana"},"audio/evrc1":{"source":"iana"},"audio/evrcb":{"source":"iana"},"audio/evrcb0":{"source":"iana"},"audio/evrcb1":{"source":"iana"},"audio/evrcnw":{"source":"iana"},"audio/evrcnw0":{"source":"iana"},"audio/evrcnw1":{"source":"iana"},"audio/evrcwb":{"source":"iana"},"audio/evrcwb0":{"source":"iana"},"audio/evrcwb1":{"source":"iana"},"audio/evs":{"source":"iana"},"audio/flexfec":{"source":"iana"},"audio/fwdred":{"source":"iana"},"audio/g711-0":{"source":"iana"},"audio/g719":{"source":"iana"},"audio/g722":{"source":"iana"},"audio/g7221":{"source":"iana"},"audio/g723":{"source":"iana"},"audio/g726-16":{"source":"iana"},"audio/g726-24":{"source":"iana"},"audio/g726-32":{"source":"iana"},"audio/g726-40":{"source":"iana"},"audio/g728":{"source":"iana"},"audio/g729":{"source":"iana"},"audio/g7291":{"source":"iana"},"audio/g729d":{"source":"iana"},"audio/g729e":{"source":"iana"},"audio/gsm":{"source":"iana"},"audio/gsm-efr":{"source":"iana"},"audio/gsm-hr-08":{"source":"iana"},"audio/ilbc":{"source":"iana"},"audio/ip-mr_v2.5":{"source":"iana"},"audio/isac":{"source":"apache"},"audio/l16":{"source":"iana"},"audio/l20":{"source":"iana"},"audio/l24":{"source":"iana","compressible":false},"audio/l8":{"source":"iana"},"audio/lpc":{"source":"iana"},"audio/melp":{"source":"iana"},"audio/melp1200":{"source":"iana"},"audio/melp2400":{"source":"iana"},"audio/melp600":{"source":"iana"},"audio/mhas":{"source":"iana"},"audio/midi":{"source":"apache","extensions":["mid","midi","kar","rmi"]},"audio/mobile-xmf":{"source":"iana","extensions":["mxmf"]},"audio/mp3":{"compressible":false,"extensions":["mp3"]},"audio/mp4":{"source":"iana","compressible":false,"extensions":["m4a","mp4a"]},"audio/mp4a-latm":{"source":"iana"},"audio/mpa":{"source":"iana"},"audio/mpa-robust":{"source":"iana"},"audio/mpeg":{"source":"iana","compressible":false,"extensions":["mpga","mp2","mp2a","mp3","m2a","m3a"]},"audio/mpeg4-generic":{"source":"iana"},"audio/musepack":{"source":"apache"},"audio/ogg":{"source":"iana","compressible":false,"extensions":["oga","ogg","spx","opus"]},"audio/opus":{"source":"iana"},"audio/parityfec":{"source":"iana"},"audio/pcma":{"source":"iana"},"audio/pcma-wb":{"source":"iana"},"audio/pcmu":{"source":"iana"},"audio/pcmu-wb":{"source":"iana"},"audio/prs.sid":{"source":"iana"},"audio/qcelp":{"source":"iana"},"audio/raptorfec":{"source":"iana"},"audio/red":{"source":"iana"},"audio/rtp-enc-aescm128":{"source":"iana"},"audio/rtp-midi":{"source":"iana"},"audio/rtploopback":{"source":"iana"},"audio/rtx":{"source":"iana"},"audio/s3m":{"source":"apache","extensions":["s3m"]},"audio/scip":{"source":"iana"},"audio/silk":{"source":"apache","extensions":["sil"]},"audio/smv":{"source":"iana"},"audio/smv-qcp":{"source":"iana"},"audio/smv0":{"source":"iana"},"audio/sofa":{"source":"iana"},"audio/sp-midi":{"source":"iana"},"audio/speex":{"source":"iana"},"audio/t140c":{"source":"iana"},"audio/t38":{"source":"iana"},"audio/telephone-event":{"source":"iana"},"audio/tetra_acelp":{"source":"iana"},"audio/tetra_acelp_bb":{"source":"iana"},"audio/tone":{"source":"iana"},"audio/tsvcis":{"source":"iana"},"audio/uemclip":{"source":"iana"},"audio/ulpfec":{"source":"iana"},"audio/usac":{"source":"iana"},"audio/vdvi":{"source":"iana"},"audio/vmr-wb":{"source":"iana"},"audio/vnd.3gpp.iufp":{"source":"iana"},"audio/vnd.4sb":{"source":"iana"},"audio/vnd.audiokoz":{"source":"iana"},"audio/vnd.celp":{"source":"iana"},"audio/vnd.cisco.nse":{"source":"iana"},"audio/vnd.cmles.radio-events":{"source":"iana"},"audio/vnd.cns.anp1":{"source":"iana"},"audio/vnd.cns.inf1":{"source":"iana"},"audio/vnd.dece.audio":{"source":"iana","extensions":["uva","uvva"]},"audio/vnd.digital-winds":{"source":"iana","extensions":["eol"]},"audio/vnd.dlna.adts":{"source":"iana"},"audio/vnd.dolby.heaac.1":{"source":"iana"},"audio/vnd.dolby.heaac.2":{"source":"iana"},"audio/vnd.dolby.mlp":{"source":"iana"},"audio/vnd.dolby.mps":{"source":"iana"},"audio/vnd.dolby.pl2":{"source":"iana"},"audio/vnd.dolby.pl2x":{"source":"iana"},"audio/vnd.dolby.pl2z":{"source":"iana"},"audio/vnd.dolby.pulse.1":{"source":"iana"},"audio/vnd.dra":{"source":"iana","extensions":["dra"]},"audio/vnd.dts":{"source":"iana","extensions":["dts"]},"audio/vnd.dts.hd":{"source":"iana","extensions":["dtshd"]},"audio/vnd.dts.uhd":{"source":"iana"},"audio/vnd.dvb.file":{"source":"iana"},"audio/vnd.everad.plj":{"source":"iana"},"audio/vnd.hns.audio":{"source":"iana"},"audio/vnd.lucent.voice":{"source":"iana","extensions":["lvp"]},"audio/vnd.ms-playready.media.pya":{"source":"iana","extensions":["pya"]},"audio/vnd.nokia.mobile-xmf":{"source":"iana"},"audio/vnd.nortel.vbk":{"source":"iana"},"audio/vnd.nuera.ecelp4800":{"source":"iana","extensions":["ecelp4800"]},"audio/vnd.nuera.ecelp7470":{"source":"iana","extensions":["ecelp7470"]},"audio/vnd.nuera.ecelp9600":{"source":"iana","extensions":["ecelp9600"]},"audio/vnd.octel.sbc":{"source":"iana"},"audio/vnd.presonus.multitrack":{"source":"iana"},"audio/vnd.qcelp":{"source":"iana"},"audio/vnd.rhetorex.32kadpcm":{"source":"iana"},"audio/vnd.rip":{"source":"iana","extensions":["rip"]},"audio/vnd.rn-realaudio":{"compressible":false},"audio/vnd.sealedmedia.softseal.mpeg":{"source":"iana"},"audio/vnd.vmx.cvsd":{"source":"iana"},"audio/vnd.wave":{"compressible":false},"audio/vorbis":{"source":"iana","compressible":false},"audio/vorbis-config":{"source":"iana"},"audio/wav":{"compressible":false,"extensions":["wav"]},"audio/wave":{"compressible":false,"extensions":["wav"]},"audio/webm":{"source":"apache","compressible":false,"extensions":["weba"]},"audio/x-aac":{"source":"apache","compressible":false,"extensions":["aac"]},"audio/x-aiff":{"source":"apache","extensions":["aif","aiff","aifc"]},"audio/x-caf":{"source":"apache","compressible":false,"extensions":["caf"]},"audio/x-flac":{"source":"apache","extensions":["flac"]},"audio/x-m4a":{"source":"nginx","extensions":["m4a"]},"audio/x-matroska":{"source":"apache","extensions":["mka"]},"audio/x-mpegurl":{"source":"apache","extensions":["m3u"]},"audio/x-ms-wax":{"source":"apache","extensions":["wax"]},"audio/x-ms-wma":{"source":"apache","extensions":["wma"]},"audio/x-pn-realaudio":{"source":"apache","extensions":["ram","ra"]},"audio/x-pn-realaudio-plugin":{"source":"apache","extensions":["rmp"]},"audio/x-realaudio":{"source":"nginx","extensions":["ra"]},"audio/x-tta":{"source":"apache"},"audio/x-wav":{"source":"apache","extensions":["wav"]},"audio/xm":{"source":"apache","extensions":["xm"]},"chemical/x-cdx":{"source":"apache","extensions":["cdx"]},"chemical/x-cif":{"source":"apache","extensions":["cif"]},"chemical/x-cmdf":{"source":"apache","extensions":["cmdf"]},"chemical/x-cml":{"source":"apache","extensions":["cml"]},"chemical/x-csml":{"source":"apache","extensions":["csml"]},"chemical/x-pdb":{"source":"apache"},"chemical/x-xyz":{"source":"apache","extensions":["xyz"]},"font/collection":{"source":"iana","extensions":["ttc"]},"font/otf":{"source":"iana","compressible":true,"extensions":["otf"]},"font/sfnt":{"source":"iana"},"font/ttf":{"source":"iana","compressible":true,"extensions":["ttf"]},"font/woff":{"source":"iana","extensions":["woff"]},"font/woff2":{"source":"iana","extensions":["woff2"]},"image/aces":{"source":"iana","extensions":["exr"]},"image/apng":{"compressible":false,"extensions":["apng"]},"image/avci":{"source":"iana","extensions":["avci"]},"image/avcs":{"source":"iana","extensions":["avcs"]},"image/avif":{"source":"iana","compressible":false,"extensions":["avif"]},"image/bmp":{"source":"iana","compressible":true,"extensions":["bmp"]},"image/cgm":{"source":"iana","extensions":["cgm"]},"image/dicom-rle":{"source":"iana","extensions":["drle"]},"image/emf":{"source":"iana","extensions":["emf"]},"image/fits":{"source":"iana","extensions":["fits"]},"image/g3fax":{"source":"iana","extensions":["g3"]},"image/gif":{"source":"iana","compressible":false,"extensions":["gif"]},"image/heic":{"source":"iana","extensions":["heic"]},"image/heic-sequence":{"source":"iana","extensions":["heics"]},"image/heif":{"source":"iana","extensions":["heif"]},"image/heif-sequence":{"source":"iana","extensions":["heifs"]},"image/hej2k":{"source":"iana","extensions":["hej2"]},"image/hsj2":{"source":"iana","extensions":["hsj2"]},"image/ief":{"source":"iana","extensions":["ief"]},"image/jls":{"source":"iana","extensions":["jls"]},"image/jp2":{"source":"iana","compressible":false,"extensions":["jp2","jpg2"]},"image/jpeg":{"source":"iana","compressible":false,"extensions":["jpeg","jpg","jpe"]},"image/jph":{"source":"iana","extensions":["jph"]},"image/jphc":{"source":"iana","extensions":["jhc"]},"image/jpm":{"source":"iana","compressible":false,"extensions":["jpm"]},"image/jpx":{"source":"iana","compressible":false,"extensions":["jpx","jpf"]},"image/jxr":{"source":"iana","extensions":["jxr"]},"image/jxra":{"source":"iana","extensions":["jxra"]},"image/jxrs":{"source":"iana","extensions":["jxrs"]},"image/jxs":{"source":"iana","extensions":["jxs"]},"image/jxsc":{"source":"iana","extensions":["jxsc"]},"image/jxsi":{"source":"iana","extensions":["jxsi"]},"image/jxss":{"source":"iana","extensions":["jxss"]},"image/ktx":{"source":"iana","extensions":["ktx"]},"image/ktx2":{"source":"iana","extensions":["ktx2"]},"image/naplps":{"source":"iana"},"image/pjpeg":{"compressible":false},"image/png":{"source":"iana","compressible":false,"extensions":["png"]},"image/prs.btif":{"source":"iana","extensions":["btif"]},"image/prs.pti":{"source":"iana","extensions":["pti"]},"image/pwg-raster":{"source":"iana"},"image/sgi":{"source":"apache","extensions":["sgi"]},"image/svg+xml":{"source":"iana","compressible":true,"extensions":["svg","svgz"]},"image/t38":{"source":"iana","extensions":["t38"]},"image/tiff":{"source":"iana","compressible":false,"extensions":["tif","tiff"]},"image/tiff-fx":{"source":"iana","extensions":["tfx"]},"image/vnd.adobe.photoshop":{"source":"iana","compressible":true,"extensions":["psd"]},"image/vnd.airzip.accelerator.azv":{"source":"iana","extensions":["azv"]},"image/vnd.cns.inf2":{"source":"iana"},"image/vnd.dece.graphic":{"source":"iana","extensions":["uvi","uvvi","uvg","uvvg"]},"image/vnd.djvu":{"source":"iana","extensions":["djvu","djv"]},"image/vnd.dvb.subtitle":{"source":"iana","extensions":["sub"]},"image/vnd.dwg":{"source":"iana","extensions":["dwg"]},"image/vnd.dxf":{"source":"iana","extensions":["dxf"]},"image/vnd.fastbidsheet":{"source":"iana","extensions":["fbs"]},"image/vnd.fpx":{"source":"iana","extensions":["fpx"]},"image/vnd.fst":{"source":"iana","extensions":["fst"]},"image/vnd.fujixerox.edmics-mmr":{"source":"iana","extensions":["mmr"]},"image/vnd.fujixerox.edmics-rlc":{"source":"iana","extensions":["rlc"]},"image/vnd.globalgraphics.pgb":{"source":"iana"},"image/vnd.microsoft.icon":{"source":"iana","compressible":true,"extensions":["ico"]},"image/vnd.mix":{"source":"iana"},"image/vnd.mozilla.apng":{"source":"iana"},"image/vnd.ms-dds":{"compressible":true,"extensions":["dds"]},"image/vnd.ms-modi":{"source":"iana","extensions":["mdi"]},"image/vnd.ms-photo":{"source":"apache","extensions":["wdp"]},"image/vnd.net-fpx":{"source":"iana","extensions":["npx"]},"image/vnd.pco.b16":{"source":"iana","extensions":["b16"]},"image/vnd.radiance":{"source":"iana"},"image/vnd.sealed.png":{"source":"iana"},"image/vnd.sealedmedia.softseal.gif":{"source":"iana"},"image/vnd.sealedmedia.softseal.jpg":{"source":"iana"},"image/vnd.svf":{"source":"iana"},"image/vnd.tencent.tap":{"source":"iana","extensions":["tap"]},"image/vnd.valve.source.texture":{"source":"iana","extensions":["vtf"]},"image/vnd.wap.wbmp":{"source":"iana","extensions":["wbmp"]},"image/vnd.xiff":{"source":"iana","extensions":["xif"]},"image/vnd.zbrush.pcx":{"source":"iana","extensions":["pcx"]},"image/webp":{"source":"apache","extensions":["webp"]},"image/wmf":{"source":"iana","extensions":["wmf"]},"image/x-3ds":{"source":"apache","extensions":["3ds"]},"image/x-cmu-raster":{"source":"apache","extensions":["ras"]},"image/x-cmx":{"source":"apache","extensions":["cmx"]},"image/x-freehand":{"source":"apache","extensions":["fh","fhc","fh4","fh5","fh7"]},"image/x-icon":{"source":"apache","compressible":true,"extensions":["ico"]},"image/x-jng":{"source":"nginx","extensions":["jng"]},"image/x-mrsid-image":{"source":"apache","extensions":["sid"]},"image/x-ms-bmp":{"source":"nginx","compressible":true,"extensions":["bmp"]},"image/x-pcx":{"source":"apache","extensions":["pcx"]},"image/x-pict":{"source":"apache","extensions":["pic","pct"]},"image/x-portable-anymap":{"source":"apache","extensions":["pnm"]},"image/x-portable-bitmap":{"source":"apache","extensions":["pbm"]},"image/x-portable-graymap":{"source":"apache","extensions":["pgm"]},"image/x-portable-pixmap":{"source":"apache","extensions":["ppm"]},"image/x-rgb":{"source":"apache","extensions":["rgb"]},"image/x-tga":{"source":"apache","extensions":["tga"]},"image/x-xbitmap":{"source":"apache","extensions":["xbm"]},"image/x-xcf":{"compressible":false},"image/x-xpixmap":{"source":"apache","extensions":["xpm"]},"image/x-xwindowdump":{"source":"apache","extensions":["xwd"]},"message/cpim":{"source":"iana"},"message/delivery-status":{"source":"iana"},"message/disposition-notification":{"source":"iana","extensions":["disposition-notification"]},"message/external-body":{"source":"iana"},"message/feedback-report":{"source":"iana"},"message/global":{"source":"iana","extensions":["u8msg"]},"message/global-delivery-status":{"source":"iana","extensions":["u8dsn"]},"message/global-disposition-notification":{"source":"iana","extensions":["u8mdn"]},"message/global-headers":{"source":"iana","extensions":["u8hdr"]},"message/http":{"source":"iana","compressible":false},"message/imdn+xml":{"source":"iana","compressible":true},"message/news":{"source":"iana"},"message/partial":{"source":"iana","compressible":false},"message/rfc822":{"source":"iana","compressible":true,"extensions":["eml","mime"]},"message/s-http":{"source":"iana"},"message/sip":{"source":"iana"},"message/sipfrag":{"source":"iana"},"message/tracking-status":{"source":"iana"},"message/vnd.si.simp":{"source":"iana"},"message/vnd.wfa.wsc":{"source":"iana","extensions":["wsc"]},"model/3mf":{"source":"iana","extensions":["3mf"]},"model/e57":{"source":"iana"},"model/gltf+json":{"source":"iana","compressible":true,"extensions":["gltf"]},"model/gltf-binary":{"source":"iana","compressible":true,"extensions":["glb"]},"model/iges":{"source":"iana","compressible":false,"extensions":["igs","iges"]},"model/mesh":{"source":"iana","compressible":false,"extensions":["msh","mesh","silo"]},"model/mtl":{"source":"iana","extensions":["mtl"]},"model/obj":{"source":"iana","extensions":["obj"]},"model/step":{"source":"iana"},"model/step+xml":{"source":"iana","compressible":true,"extensions":["stpx"]},"model/step+zip":{"source":"iana","compressible":false,"extensions":["stpz"]},"model/step-xml+zip":{"source":"iana","compressible":false,"extensions":["stpxz"]},"model/stl":{"source":"iana","extensions":["stl"]},"model/vnd.collada+xml":{"source":"iana","compressible":true,"extensions":["dae"]},"model/vnd.dwf":{"source":"iana","extensions":["dwf"]},"model/vnd.flatland.3dml":{"source":"iana"},"model/vnd.gdl":{"source":"iana","extensions":["gdl"]},"model/vnd.gs-gdl":{"source":"apache"},"model/vnd.gs.gdl":{"source":"iana"},"model/vnd.gtw":{"source":"iana","extensions":["gtw"]},"model/vnd.moml+xml":{"source":"iana","compressible":true},"model/vnd.mts":{"source":"iana","extensions":["mts"]},"model/vnd.opengex":{"source":"iana","extensions":["ogex"]},"model/vnd.parasolid.transmit.binary":{"source":"iana","extensions":["x_b"]},"model/vnd.parasolid.transmit.text":{"source":"iana","extensions":["x_t"]},"model/vnd.pytha.pyox":{"source":"iana"},"model/vnd.rosette.annotated-data-model":{"source":"iana"},"model/vnd.sap.vds":{"source":"iana","extensions":["vds"]},"model/vnd.usdz+zip":{"source":"iana","compressible":false,"extensions":["usdz"]},"model/vnd.valve.source.compiled-map":{"source":"iana","extensions":["bsp"]},"model/vnd.vtu":{"source":"iana","extensions":["vtu"]},"model/vrml":{"source":"iana","compressible":false,"extensions":["wrl","vrml"]},"model/x3d+binary":{"source":"apache","compressible":false,"extensions":["x3db","x3dbz"]},"model/x3d+fastinfoset":{"source":"iana","extensions":["x3db"]},"model/x3d+vrml":{"source":"apache","compressible":false,"extensions":["x3dv","x3dvz"]},"model/x3d+xml":{"source":"iana","compressible":true,"extensions":["x3d","x3dz"]},"model/x3d-vrml":{"source":"iana","extensions":["x3dv"]},"multipart/alternative":{"source":"iana","compressible":false},"multipart/appledouble":{"source":"iana"},"multipart/byteranges":{"source":"iana"},"multipart/digest":{"source":"iana"},"multipart/encrypted":{"source":"iana","compressible":false},"multipart/form-data":{"source":"iana","compressible":false},"multipart/header-set":{"source":"iana"},"multipart/mixed":{"source":"iana"},"multipart/multilingual":{"source":"iana"},"multipart/parallel":{"source":"iana"},"multipart/related":{"source":"iana","compressible":false},"multipart/report":{"source":"iana"},"multipart/signed":{"source":"iana","compressible":false},"multipart/vnd.bint.med-plus":{"source":"iana"},"multipart/voice-message":{"source":"iana"},"multipart/x-mixed-replace":{"source":"iana"},"text/1d-interleaved-parityfec":{"source":"iana"},"text/cache-manifest":{"source":"iana","compressible":true,"extensions":["appcache","manifest"]},"text/calendar":{"source":"iana","extensions":["ics","ifb"]},"text/calender":{"compressible":true},"text/cmd":{"compressible":true},"text/coffeescript":{"extensions":["coffee","litcoffee"]},"text/cql":{"source":"iana"},"text/cql-expression":{"source":"iana"},"text/cql-identifier":{"source":"iana"},"text/css":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["css"]},"text/csv":{"source":"iana","compressible":true,"extensions":["csv"]},"text/csv-schema":{"source":"iana"},"text/directory":{"source":"iana"},"text/dns":{"source":"iana"},"text/ecmascript":{"source":"iana"},"text/encaprtp":{"source":"iana"},"text/enriched":{"source":"iana"},"text/fhirpath":{"source":"iana"},"text/flexfec":{"source":"iana"},"text/fwdred":{"source":"iana"},"text/gff3":{"source":"iana"},"text/grammar-ref-list":{"source":"iana"},"text/html":{"source":"iana","compressible":true,"extensions":["html","htm","shtml"]},"text/jade":{"extensions":["jade"]},"text/javascript":{"source":"iana","compressible":true},"text/jcr-cnd":{"source":"iana"},"text/jsx":{"compressible":true,"extensions":["jsx"]},"text/less":{"compressible":true,"extensions":["less"]},"text/markdown":{"source":"iana","compressible":true,"extensions":["markdown","md"]},"text/mathml":{"source":"nginx","extensions":["mml"]},"text/mdx":{"compressible":true,"extensions":["mdx"]},"text/mizar":{"source":"iana"},"text/n3":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["n3"]},"text/parameters":{"source":"iana","charset":"UTF-8"},"text/parityfec":{"source":"iana"},"text/plain":{"source":"iana","compressible":true,"extensions":["txt","text","conf","def","list","log","in","ini"]},"text/provenance-notation":{"source":"iana","charset":"UTF-8"},"text/prs.fallenstein.rst":{"source":"iana"},"text/prs.lines.tag":{"source":"iana","extensions":["dsc"]},"text/prs.prop.logic":{"source":"iana"},"text/raptorfec":{"source":"iana"},"text/red":{"source":"iana"},"text/rfc822-headers":{"source":"iana"},"text/richtext":{"source":"iana","compressible":true,"extensions":["rtx"]},"text/rtf":{"source":"iana","compressible":true,"extensions":["rtf"]},"text/rtp-enc-aescm128":{"source":"iana"},"text/rtploopback":{"source":"iana"},"text/rtx":{"source":"iana"},"text/sgml":{"source":"iana","extensions":["sgml","sgm"]},"text/shaclc":{"source":"iana"},"text/shex":{"source":"iana","extensions":["shex"]},"text/slim":{"extensions":["slim","slm"]},"text/spdx":{"source":"iana","extensions":["spdx"]},"text/strings":{"source":"iana"},"text/stylus":{"extensions":["stylus","styl"]},"text/t140":{"source":"iana"},"text/tab-separated-values":{"source":"iana","compressible":true,"extensions":["tsv"]},"text/troff":{"source":"iana","extensions":["t","tr","roff","man","me","ms"]},"text/turtle":{"source":"iana","charset":"UTF-8","extensions":["ttl"]},"text/ulpfec":{"source":"iana"},"text/uri-list":{"source":"iana","compressible":true,"extensions":["uri","uris","urls"]},"text/vcard":{"source":"iana","compressible":true,"extensions":["vcard"]},"text/vnd.a":{"source":"iana"},"text/vnd.abc":{"source":"iana"},"text/vnd.ascii-art":{"source":"iana"},"text/vnd.curl":{"source":"iana","extensions":["curl"]},"text/vnd.curl.dcurl":{"source":"apache","extensions":["dcurl"]},"text/vnd.curl.mcurl":{"source":"apache","extensions":["mcurl"]},"text/vnd.curl.scurl":{"source":"apache","extensions":["scurl"]},"text/vnd.debian.copyright":{"source":"iana","charset":"UTF-8"},"text/vnd.dmclientscript":{"source":"iana"},"text/vnd.dvb.subtitle":{"source":"iana","extensions":["sub"]},"text/vnd.esmertec.theme-descriptor":{"source":"iana","charset":"UTF-8"},"text/vnd.familysearch.gedcom":{"source":"iana","extensions":["ged"]},"text/vnd.ficlab.flt":{"source":"iana"},"text/vnd.fly":{"source":"iana","extensions":["fly"]},"text/vnd.fmi.flexstor":{"source":"iana","extensions":["flx"]},"text/vnd.gml":{"source":"iana"},"text/vnd.graphviz":{"source":"iana","extensions":["gv"]},"text/vnd.hans":{"source":"iana"},"text/vnd.hgl":{"source":"iana"},"text/vnd.in3d.3dml":{"source":"iana","extensions":["3dml"]},"text/vnd.in3d.spot":{"source":"iana","extensions":["spot"]},"text/vnd.iptc.newsml":{"source":"iana"},"text/vnd.iptc.nitf":{"source":"iana"},"text/vnd.latex-z":{"source":"iana"},"text/vnd.motorola.reflex":{"source":"iana"},"text/vnd.ms-mediapackage":{"source":"iana"},"text/vnd.net2phone.commcenter.command":{"source":"iana"},"text/vnd.radisys.msml-basic-layout":{"source":"iana"},"text/vnd.senx.warpscript":{"source":"iana"},"text/vnd.si.uricatalogue":{"source":"iana"},"text/vnd.sosi":{"source":"iana"},"text/vnd.sun.j2me.app-descriptor":{"source":"iana","charset":"UTF-8","extensions":["jad"]},"text/vnd.trolltech.linguist":{"source":"iana","charset":"UTF-8"},"text/vnd.wap.si":{"source":"iana"},"text/vnd.wap.sl":{"source":"iana"},"text/vnd.wap.wml":{"source":"iana","extensions":["wml"]},"text/vnd.wap.wmlscript":{"source":"iana","extensions":["wmls"]},"text/vtt":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["vtt"]},"text/x-asm":{"source":"apache","extensions":["s","asm"]},"text/x-c":{"source":"apache","extensions":["c","cc","cxx","cpp","h","hh","dic"]},"text/x-component":{"source":"nginx","extensions":["htc"]},"text/x-fortran":{"source":"apache","extensions":["f","for","f77","f90"]},"text/x-gwt-rpc":{"compressible":true},"text/x-handlebars-template":{"extensions":["hbs"]},"text/x-java-source":{"source":"apache","extensions":["java"]},"text/x-jquery-tmpl":{"compressible":true},"text/x-lua":{"extensions":["lua"]},"text/x-markdown":{"compressible":true,"extensions":["mkd"]},"text/x-nfo":{"source":"apache","extensions":["nfo"]},"text/x-opml":{"source":"apache","extensions":["opml"]},"text/x-org":{"compressible":true,"extensions":["org"]},"text/x-pascal":{"source":"apache","extensions":["p","pas"]},"text/x-processing":{"compressible":true,"extensions":["pde"]},"text/x-sass":{"extensions":["sass"]},"text/x-scss":{"extensions":["scss"]},"text/x-setext":{"source":"apache","extensions":["etx"]},"text/x-sfv":{"source":"apache","extensions":["sfv"]},"text/x-suse-ymp":{"compressible":true,"extensions":["ymp"]},"text/x-uuencode":{"source":"apache","extensions":["uu"]},"text/x-vcalendar":{"source":"apache","extensions":["vcs"]},"text/x-vcard":{"source":"apache","extensions":["vcf"]},"text/xml":{"source":"iana","compressible":true,"extensions":["xml"]},"text/xml-external-parsed-entity":{"source":"iana"},"text/yaml":{"compressible":true,"extensions":["yaml","yml"]},"video/1d-interleaved-parityfec":{"source":"iana"},"video/3gpp":{"source":"iana","extensions":["3gp","3gpp"]},"video/3gpp-tt":{"source":"iana"},"video/3gpp2":{"source":"iana","extensions":["3g2"]},"video/av1":{"source":"iana"},"video/bmpeg":{"source":"iana"},"video/bt656":{"source":"iana"},"video/celb":{"source":"iana"},"video/dv":{"source":"iana"},"video/encaprtp":{"source":"iana"},"video/ffv1":{"source":"iana"},"video/flexfec":{"source":"iana"},"video/h261":{"source":"iana","extensions":["h261"]},"video/h263":{"source":"iana","extensions":["h263"]},"video/h263-1998":{"source":"iana"},"video/h263-2000":{"source":"iana"},"video/h264":{"source":"iana","extensions":["h264"]},"video/h264-rcdo":{"source":"iana"},"video/h264-svc":{"source":"iana"},"video/h265":{"source":"iana"},"video/iso.segment":{"source":"iana","extensions":["m4s"]},"video/jpeg":{"source":"iana","extensions":["jpgv"]},"video/jpeg2000":{"source":"iana"},"video/jpm":{"source":"apache","extensions":["jpm","jpgm"]},"video/jxsv":{"source":"iana"},"video/mj2":{"source":"iana","extensions":["mj2","mjp2"]},"video/mp1s":{"source":"iana"},"video/mp2p":{"source":"iana"},"video/mp2t":{"source":"iana","extensions":["ts"]},"video/mp4":{"source":"iana","compressible":false,"extensions":["mp4","mp4v","mpg4"]},"video/mp4v-es":{"source":"iana"},"video/mpeg":{"source":"iana","compressible":false,"extensions":["mpeg","mpg","mpe","m1v","m2v"]},"video/mpeg4-generic":{"source":"iana"},"video/mpv":{"source":"iana"},"video/nv":{"source":"iana"},"video/ogg":{"source":"iana","compressible":false,"extensions":["ogv"]},"video/parityfec":{"source":"iana"},"video/pointer":{"source":"iana"},"video/quicktime":{"source":"iana","compressible":false,"extensions":["qt","mov"]},"video/raptorfec":{"source":"iana"},"video/raw":{"source":"iana"},"video/rtp-enc-aescm128":{"source":"iana"},"video/rtploopback":{"source":"iana"},"video/rtx":{"source":"iana"},"video/scip":{"source":"iana"},"video/smpte291":{"source":"iana"},"video/smpte292m":{"source":"iana"},"video/ulpfec":{"source":"iana"},"video/vc1":{"source":"iana"},"video/vc2":{"source":"iana"},"video/vnd.cctv":{"source":"iana"},"video/vnd.dece.hd":{"source":"iana","extensions":["uvh","uvvh"]},"video/vnd.dece.mobile":{"source":"iana","extensions":["uvm","uvvm"]},"video/vnd.dece.mp4":{"source":"iana"},"video/vnd.dece.pd":{"source":"iana","extensions":["uvp","uvvp"]},"video/vnd.dece.sd":{"source":"iana","extensions":["uvs","uvvs"]},"video/vnd.dece.video":{"source":"iana","extensions":["uvv","uvvv"]},"video/vnd.directv.mpeg":{"source":"iana"},"video/vnd.directv.mpeg-tts":{"source":"iana"},"video/vnd.dlna.mpeg-tts":{"source":"iana"},"video/vnd.dvb.file":{"source":"iana","extensions":["dvb"]},"video/vnd.fvt":{"source":"iana","extensions":["fvt"]},"video/vnd.hns.video":{"source":"iana"},"video/vnd.iptvforum.1dparityfec-1010":{"source":"iana"},"video/vnd.iptvforum.1dparityfec-2005":{"source":"iana"},"video/vnd.iptvforum.2dparityfec-1010":{"source":"iana"},"video/vnd.iptvforum.2dparityfec-2005":{"source":"iana"},"video/vnd.iptvforum.ttsavc":{"source":"iana"},"video/vnd.iptvforum.ttsmpeg2":{"source":"iana"},"video/vnd.motorola.video":{"source":"iana"},"video/vnd.motorola.videop":{"source":"iana"},"video/vnd.mpegurl":{"source":"iana","extensions":["mxu","m4u"]},"video/vnd.ms-playready.media.pyv":{"source":"iana","extensions":["pyv"]},"video/vnd.nokia.interleaved-multimedia":{"source":"iana"},"video/vnd.nokia.mp4vr":{"source":"iana"},"video/vnd.nokia.videovoip":{"source":"iana"},"video/vnd.objectvideo":{"source":"iana"},"video/vnd.radgamettools.bink":{"source":"iana"},"video/vnd.radgamettools.smacker":{"source":"iana"},"video/vnd.sealed.mpeg1":{"source":"iana"},"video/vnd.sealed.mpeg4":{"source":"iana"},"video/vnd.sealed.swf":{"source":"iana"},"video/vnd.sealedmedia.softseal.mov":{"source":"iana"},"video/vnd.uvvu.mp4":{"source":"iana","extensions":["uvu","uvvu"]},"video/vnd.vivo":{"source":"iana","extensions":["viv"]},"video/vnd.youtube.yt":{"source":"iana"},"video/vp8":{"source":"iana"},"video/vp9":{"source":"iana"},"video/webm":{"source":"apache","compressible":false,"extensions":["webm"]},"video/x-f4v":{"source":"apache","extensions":["f4v"]},"video/x-fli":{"source":"apache","extensions":["fli"]},"video/x-flv":{"source":"apache","compressible":false,"extensions":["flv"]},"video/x-m4v":{"source":"apache","extensions":["m4v"]},"video/x-matroska":{"source":"apache","compressible":false,"extensions":["mkv","mk3d","mks"]},"video/x-mng":{"source":"apache","extensions":["mng"]},"video/x-ms-asf":{"source":"apache","extensions":["asf","asx"]},"video/x-ms-vob":{"source":"apache","extensions":["vob"]},"video/x-ms-wm":{"source":"apache","extensions":["wm"]},"video/x-ms-wmv":{"source":"apache","compressible":false,"extensions":["wmv"]},"video/x-ms-wmx":{"source":"apache","extensions":["wmx"]},"video/x-ms-wvx":{"source":"apache","extensions":["wvx"]},"video/x-msvideo":{"source":"apache","extensions":["avi"]},"video/x-sgi-movie":{"source":"apache","extensions":["movie"]},"video/x-smv":{"source":"apache","extensions":["smv"]},"x-conference/x-cooltalk":{"source":"apache","extensions":["ice"]},"x-shader/x-fragment":{"compressible":true},"x-shader/x-vertex":{"compressible":true}}')}},t={};function a(n){var r=t[n];if(void 0!==r)return r.exports;var o=t[n]={id:n,loaded:!1,exports:{}};return e[n].call(o.exports,o,o.exports,a),o.loaded=!0,o.exports}a.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return a.d(t,{a:t}),t},a.d=(e,t)=>{for(var n in t)a.o(t,n)&&!a.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},a.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),a.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{"use strict";function e(e){return e<10?"0"+e:e}function t(e,t){return t>e.length?e.repeat(Math.trunc(t/e.length)+1).substring(0,t):e}function n(...e){const t=e=>e&&"object"==typeof e;return e.reduce(((e,a)=>(Object.keys(a||{}).forEach((r=>{const o=e[r],i=a[r];t(o)&&t(i)?e[r]=n(o,i):e[r]=i})),e)),Array.isArray(e[e.length-1])?[]:{})}function r(e){return{value:"object"===e?{}:"array"===e?[]:void 0}}function o(e,t){t&&e.pop()}const i={multipleOf:"number",maximum:"number",exclusiveMaximum:"number",minimum:"number",exclusiveMinimum:"number",maxLength:"string",minLength:"string",pattern:"string",items:"array",maxItems:"array",minItems:"array",uniqueItems:"array",additionalItems:"array",maxProperties:"object",minProperties:"object",required:"object",additionalProperties:"object",properties:"object",patternProperties:"object",dependencies:"object"};function s(e){if(void 0!==e.type)return Array.isArray(e.type)?0===e.type.length?null:e.type[0]:e.type;const t=Object.keys(i);for(var a=0;at.maxSampleDepth)return o(u,i),r(s(e));if(e.$ref){if(!a)throw new Error("Your schema contains $ref. You must provide full specification in the third parameter.");let n=decodeURIComponent(e.$ref);n.startsWith("#")&&(n=n.substring(1));const c=p().get(a,n);let d;return!0!==l[n]?(l[n]=!0,d=f(c,t,a,i),l[n]=!1):d=r(s(c)),o(u,i),d}if(void 0!==e.example)return o(u,i),{value:e.example,readOnly:e.readOnly,writeOnly:e.writeOnly,type:e.type};if(void 0!==e.allOf)return o(u,i),m(e)||function(e,t,a,r,o){let i=f(e,a,r);const s=[];for(let e of t){const{type:t,readOnly:n,writeOnly:c,value:p}=f({type:i.type,...e},a,r,o);i.type&&t&&t!==i.type&&(console.warn("allOf: schemas with different types can't be merged"),i.type=t),i.type=i.type||t,i.readOnly=i.readOnly||n,i.writeOnly=i.writeOnly||c,null!=p&&s.push(p)}if("object"===i.type)return i.value=n(i.value||{},...s.filter((e=>"object"==typeof e))),i;{"array"===i.type&&(a.quiet||console.warn('OpenAPI Sampler: found allOf with "array" type. Result may be incorrect'));const e=s[s.length-1];return i.value=null!=e?e:i.value,i}}({...e,allOf:void 0},e.allOf,t,a,i);if(e.oneOf&&e.oneOf.length)return e.anyOf&&(t.quiet||console.warn("oneOf and anyOf are not supported on the same level. Skipping anyOf")),o(u,i),y(e,Object.assign({readOnly:e.readOnly,writeOnly:e.writeOnly},e.oneOf[0]));if(e.anyOf&&e.anyOf.length)return o(u,i),y(e,Object.assign({readOnly:e.readOnly,writeOnly:e.writeOnly},e.anyOf[0]));if(e.if&&e.then){o(u,i);const{if:r,then:s,...c}=e;return f(n(c,r,s),t,a,i)}let c=d(e),h=null;if(void 0===c){c=null,h=e.type,Array.isArray(h)&&e.type.length>0&&(h=e.type[0]),h||(h=s(e));let n=w[h];n&&(c=n(e,t,a,i))}return o(u,i),{value:c,readOnly:e.readOnly,writeOnly:e.writeOnly,type:h};function y(e,r){const o=m(e);if(void 0!==o)return o;const s=f({...e,oneOf:void 0,anyOf:void 0},t,a,i),c=f(r,t,a,i);if("object"==typeof s.value&&"object"==typeof c.value){const e=n(s.value,c.value);return{...c,value:e}}return c}}function h(e){let t=0;if("number"!==e.type||"float"!==e.format&&"double"!==e.format||(t=.1),"boolean"==typeof e.exclusiveMinimum||"boolean"==typeof e.exclusiveMaximum){if(e.maximum&&e.minimum)return t=e.exclusiveMinimum?Math.floor(e.minimum)+1:e.minimum,(e.exclusiveMaximum&&t>=e.maximum||!e.exclusiveMaximum&&t>e.maximum)&&(t=(e.maximum+e.minimum)/2),t;if(e.minimum)return e.exclusiveMinimum?Math.floor(e.minimum)+1:e.minimum;if(e.maximum)return e.exclusiveMaximum?e.maximum>0?0:Math.floor(e.maximum)-1:e.maximum>0?0:e.maximum}else{if(e.minimum)return e.minimum;e.exclusiveMinimum?(t=Math.floor(e.exclusiveMinimum)+1,t===e.exclusiveMaximum&&(t=(t+Math.floor(e.exclusiveMaximum)-1)/2)):e.exclusiveMaximum?t=Math.floor(e.exclusiveMaximum)-1:e.maximum&&(t=e.maximum)}return t}function y(e,t){return e}function v(e,t,a){let n=1;if(e)switch(e){case"?":n=0;break;case"*":n=y(0);break;case"+":n=y(1);break;default:throw new Error("Unknown quantifier symbol provided.")}else null!=t&&null!=a?n=y(parseInt(t),parseInt(a)):null!=t&&null==a&&(n=parseInt(t));return n}function g({min:t,max:a,omitTime:n,omitDate:r}){let o=function(t,a,n){var r=n?"":t.getUTCFullYear()+"-"+e(t.getUTCMonth()+1)+"-"+e(t.getUTCDate());return a||(r+="T"+e(t.getUTCHours())+":"+e(t.getUTCMinutes())+":"+e(t.getUTCSeconds())+"Z"),r}(new Date("2019-08-24T14:15:22.123Z"),n,r);return o.lengtha&&console.warn(`Using maxLength = ${a} is incorrect with format "date-time"`),o}function b(e,a,n,r,o=!1){if(r&&o)return function(e){let t,a,n,r=!1;e instanceof RegExp&&(r=e.flags.includes("i"),e=e.toString(),e=e.match(/\/(.+?)\//)?.[1]??"");const o=/([.A-Za-z0-9])(?:\{(\d+)(?:\,(\d+)|)\}|(\?|\*|\+))(?![^[]*]|[^{]*})/;let i=e.match(o);for(;null!=i;){const t=i[2],a=i[3];n=v(i[4],t,a),e=e.slice(0,i.index)+i[1].repeat(n)+e.slice(i.index+i[0].length),i=e.match(o)}const s=/(\d-\d|\w-\w|\d|\w|[-!@#$&()`.+,/"])/,c=/\[(\^|)(-|)(.+?)\](?:\{(\d+)(?:\,(\d+)|)\}|(\?|\*|\+)|)/;for(i=e.match(c);null!=i;){const o="^"===i[1],p="-"===i[2],l=i[4],u=i[5],d=i[6],m=[];let f=i[3],h=f.match(s);for(p&&m.push(45);null!=h;){if(-1===h[0].indexOf("-"))r&&isNaN(Number(h[0]))?(m.push(h[0].toUpperCase().charCodeAt(0)),m.push(h[0].toLowerCase().charCodeAt(0))):m.push(h[0].charCodeAt(0));else{const e=h[0].split("-").map((e=>e.charCodeAt(0)));if(t=e[0],a=e[1],t>a)throw new Error("Character range provided is out of order.");for(let e=t;e<=a;e++)if(r&&isNaN(Number(String.fromCharCode(e)))){const t=String.fromCharCode(e);m.push(t.toUpperCase().charCodeAt(0)),m.push(t.toLowerCase().charCodeAt(0))}else m.push(e)}f=f.substring(h[0].length),h=f.match(s)}if(n=v(d,l,u),o){let e=-1;for(let t=48;t<=57;t++)e=m.indexOf(t),e>-1?m.splice(e,1):m.push(t);for(let t=65;t<=90;t++)e=m.indexOf(t),e>-1?m.splice(e,1):m.push(t);for(let t=97;t<=122;t++)e=m.indexOf(t),e>-1?m.splice(e,1):m.push(t)}const g=Array.from({length:n},(()=>String.fromCharCode(m[y(0,m.length)]))).join("");i=(e=e.slice(0,i.index)+g+e.slice(i.index+i[0].length)).match(c)}const p=/(.)\{(\d+)\,(\d+)\}/;for(i=e.match(p);null!=i;){if(t=parseInt(i[2]),a=parseInt(i[3]),t>a)throw new Error("Numbers out of order in {} quantifier.");n=y(t),e=e.slice(0,i.index)+i[1].repeat(n)+e.slice(i.index+i[0].length),i=e.match(p)}const l=/(.)\{(\d+)\}/;for(i=e.match(l);null!=i;)n=parseInt(i[2]),e=e.slice(0,i.index)+i[1].repeat(n)+e.slice(i.index+i[0].length),i=e.match(l);return e}(r);let i=t("string",e);return a&&i.length>a&&(i=i.substring(0,a)),i}const x={email:function(){return"user@example.com"},"idn-email":function(){return"пошта@укр.нет"},password:function(e,a){let n="pa$$word";return e>n.length&&(n+="_",n+=t("qwerty!@#$%^123456",e-n.length).substring(0,e-n.length)),n},"date-time":function(e,t){return g({min:e,max:t,omitTime:!1,omitDate:!1})},date:function(e,t){return g({min:e,max:t,omitTime:!0,omitDate:!1})},time:function(e,t){return g({min:e,max:t,omitTime:!1,omitDate:!0}).slice(1)},ipv4:function(){return"192.168.0.1"},ipv6:function(){return"2001:0db8:85a3:0000:0000:8a2e:0370:7334"},hostname:function(){return"example.com"},"idn-hostname":function(){return"приклад.укр"},iri:function(){return"http://example.com/entity/1"},"iri-reference":function(){return"/entity/1"},uri:function(){return"http://example.com"},"uri-reference":function(){return"../dictionary"},"uri-template":function(){return"http://example.com/{endpoint}"},uuid:function(e,t,a){return s=function(e){var t=0;if(0==e.length)return t;for(var a=0;a>>5)|0;return n=r^((o|=0)<<17|o>>>15),r=o+(i|=0)|0,o=i+e|0,((i=n+e|0)>>>0)/4294967296},p="xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(e=>{var t=16*c()%16|0;return("x"==e?t:3&t|8).toString(16)})),p;var n,r,o,i,s,c,p},default:b,"json-pointer":function(){return"/json/pointer"},"relative-json-pointer":function(){return"1/relative/json/pointer"},regex:function(){return"/regex/"}};var w={};const j={skipReadOnly:!1,maxSampleDepth:15};function k(e,t,a){let n=Object.assign({},j,t);return l={},u=[],f(e,n,a).value}function S(e,t){w[e]=t}S("array",(function(e,t={},a,n){const r=n&&n.depth||1;let o=Math.min(null!=e.maxItems?e.maxItems:1/0,e.minItems||1);const i=e.prefixItems||e.items||e.contains;Array.isArray(i)&&(o=Math.max(o,i.length));let s=[];if(!i)return s;for(let e=0;e{if(t.skipNonRequired&&!i.hasOwnProperty(n))return;const s=f(e.properties[n],t,a,{propertyName:n,depth:o+1});t.skipReadOnly&&s.readOnly||t.skipWriteOnly&&s.writeOnly||(r[n]=s.value)}))}if(e&&"object"==typeof e.additionalProperties){const n=e.additionalProperties["x-additionalPropertiesName"]||"property";r[`${String(n)}1`]=f(e.additionalProperties,t,a,{depth:o+1}).value,r[`${String(n)}2`]=f(e.additionalProperties,t,a,{depth:o+1}).value}if(e&&"object"==typeof e.properties&&void 0!==e.maxProperties&&Object.keys(r).length>e.maxProperties){const t={};let a=0;(Array.isArray(e.required)?e.required:[]).forEach((e=>{void 0!==r[e]&&(t[e]=r[e],a++)})),Object.keys(r).forEach((n=>{a0)for(let e in s){const t=s[e],a=JSON.parse(JSON.stringify(o));a.postData=t,a.comment=t.mimeType,a.headers.push({name:"content-type",value:t.mimeType}),i.push(a)}else i=[o];return i},_=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:",",a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:",";return Object.entries(e).map((e=>{let[a,n]=e;return`${a}${t}${n}`})).join(a)},T=function(e,t,a){if(void 0!==e.paths[t][a].parameters)for(let n in e.paths[t][a].parameters){const r=e.paths[t][a].parameters[n];if(void 0!==r.in&&"body"===r.in.toLowerCase()&&void 0!==r.schema)try{const t=k(r.schema,{skipReadOnly:!0},e);return[{mimeType:"application/json",text:JSON.stringify(t)}]}catch(e){return console.log(e),null}}e.paths[t][a].requestBody&&e.paths[t][a].requestBody.$ref&&(e.paths[t][a].requestBody=N(e,e.paths[t][a].requestBody.$ref));const n=[];return e.paths[t][a].requestBody&&e.paths[t][a].requestBody.content&&["application/json","application/x-www-form-urlencoded","multipart/form-data"].forEach((r=>{const o=e.paths[t][a].requestBody.content[r];if(o&&o.schema){const t=k(o.schema,{skipReadOnly:!0},e);if("application/json"===r)n.push({mimeType:r,text:JSON.stringify(t)});else if("multipart/form-data"===r){if(void 0!==t){const e=[];Object.keys(t).forEach((a=>{let n=t[a];"string"!=typeof t[a]&&(n=JSON.stringify(t[a])),e.push({name:a,value:n})})),n.push({mimeType:r,params:e})}}else if("application/x-www-form-urlencoded"==r){if(void 0===t)return null;const e=function(e){const t=[];return Object.keys(e).map((a=>{Array.isArray(e[a])?e[a].forEach((e=>{t.push({name:`${a}[]`,value:e})})):"[object Object]"===Object.prototype.toString.call(e[a])?Object.keys(e[a]).map((n=>{Array.isArray(e[a][n])?e[a][n].forEach((e=>{t.push({name:`${a}[${n}][]`,value:e})})):t.push({name:a+"["+n+"]",value:e[a][n]})})):t.push({name:a,value:e[a]})})),t}(t);n.push({mimeType:"application/x-www-form-urlencoded",params:e,text:Object.keys(e).map((e=>e+"="+t[e])).join("&")})}}})),n},O=function(e,t,a){if(e.paths[t][a].servers)return e.paths[t][a].servers[0].url;if(e.paths[t].servers)return e.paths[t].servers[0].url;if(e.servers)return e.servers[0].url;let n="";return void 0!==e.schemes?n+=e.schemes[0]:n+="http","/"===e.basePath?n+="://"+e.host:n+="://"+e.host+e.basePath,n},E=function(e,t,a,n){let r="SOME_"+(t.type||t.schema.type).toUpperCase()+"_VALUE";if("path"===a&&(r=`{${t.name}}`),n&&void 0!==n[t.name])r=n[t.name];else if(void 0!==t.example)r=t.example;else if(void 0!==t.examples){let a=Object.values(t.examples)[0];"string"==typeof a.$ref&&/^#/.test(a.$ref)&&(a=N(e,a.$ref)),r=a.value}else void 0!==t.schema&&void 0!==t.schema.example?r=t.schema.example:void 0!==t.default&&(r=t.default);return function(e,t){let{name:a,in:n,style:r,explode:o}=e;if(!a||!n||void 0===t)throw"Required parameters missing";const i=function(e){return"label"===e?".":"matrix"===e?";":""}(r),s=function(e,t){return"matrix"===e?`${t}=`:""}(r,a);if(function(e){if(null===e)return!0;const t=typeof e;return"function"!==t&&"object"!==t}(t))return[{name:a,value:i+s+t}];const c=[];if(r=r||function(e){return"path"===e||"header"===e?"simple":"query"===e||"cookie"===e?"form":void 0}(n),o=o||function(e){return"form"===e}(r),"query"===n||"cookie"===n){const e=function(e){let t=",";return"spaceDelimited"===e?t=" ":"pipeDelimited"===e&&(t="|"),t}(r);Array.isArray(t)?o?c.push(...t.map((e=>({name:a,value:e+""})))):c.push({name:a,value:t.join(e)}):t&&"object"==typeof t&&("deepObject"===r?c.push(...Object.entries(t).map((e=>{let[t,n]=e;return{name:`${a}[${t}]`,value:n+""}}))):o?c.push(...Object.entries(t).map((e=>{let[t,a]=e;return{name:t,value:a+""}}))):c.push({name:a,value:_(t)}))}else if("path"===n||"header"===n){const e=function(e){return"label"===e?".":"matrix"===e?";":","}(r);Array.isArray(t)?c.push({name:a,value:i+s+t.join(o?e+s:",")}):t&&"object"==typeof t&&(o?c.push({name:a,value:i+_(t,"=",e)}):c.push({name:a,value:i+s+_(t)}))}return c}(t,r)},A=function(e,t,a,n){const r={};for(let o in t){let i=t[o];"string"==typeof i.$ref&&/^#/.test(i.$ref)&&(i=N(e,i.$ref)),void 0!==i.schema&&"string"==typeof i.schema.$ref&&/^#/.test(i.schema.$ref)&&(i.schema=N(e,i.schema.$ref),void 0===i.schema.type&&(i.schema.type="object")),void 0!==i.in&&i.in.toLowerCase()===a&&(r[i.name]=E(e,i,a,n))}return r},q=function(e,t,a,n,r){void 0===r&&(r={});let o={},i={};void 0!==e.paths[t].parameters&&(o=A(e,e.paths[t].parameters,n,r)),void 0!==e.paths[t][a].parameters&&(i=A(e,e.paths[t][a].parameters,n,r));const s=Object.assign(o,i);return Object.values(s).flatMap((e=>e))},R=function(e,t,a,n){return q(e,t,a,"query",n)},C=function(e,t,a){let n=t;return q(e,t,a,"path").forEach((e=>{let{name:t,value:a}=e;n=n.replace("{"+t+"}",a)})),n},D=function(e,t,a){return q(e,t,a,"cookie")},L=function(e,t,a){const n=[],r=e.paths[t][a];if(void 0!==r.consumes)for(let e in r.consumes){const t=r.consumes[e];n.push({name:"accept",value:t})}let o,i,s;if(n.push(...q(e,t,a,"header")),void 0!==r.security)for(var c in r.security){const t=Object.keys(r.security[c])[0],a=e.securityDefinitions?e.securityDefinitions[t]:e.components.securitySchemes[t],n=a.type.toLowerCase();let p=null;switch("apikey"!==n&&null!=a.scheme&&(p=a.scheme.toLowerCase()),n){case"basic":o=t;break;case"apikey":"header"===a.in&&(i=a);break;case"oauth2":s=t;break;case"http":switch(p){case"bearer":s=t;break;case"basic":o=t}}}else if(void 0!==e.security)for(let t in e.security){const a=Object.keys(e.security[t])[0],n=e.components.securitySchemes[a],r=n.type.toLowerCase();let c=null;switch("apikey"!==r&&"oauth2"!==r&&(c=n.scheme.toLowerCase()),r){case"http":switch(c){case"bearer":s=a;break;case"basic":o=a}break;case"basic":o=a;break;case"apikey":"header"===n.in&&(i=n);break;case"oauth2":s=a}}return o?n.push({name:"Authorization",value:"Basic REPLACE_BASIC_AUTH"}):i?n.push({name:i.name,value:"REPLACE_KEY_VALUE"}):s&&n.push({name:"Authorization",value:"Bearer REPLACE_BEARER_TOKEN"}),n},N=function(e,t){const a=t.split("/");if(a.length<=1)return{};const n=function(e,t){if(t+1=0;e--){const a=t[e];if(""!==a&&!/^{/.test(a))return a}},B=function(e){const t=e.split("_")[0],a=H(t);let n=e.split("_")[1];const r=(0,I.availableTargets)();let o=!1,i=!1;for(let e in r){const a=r[e];if(t===a.key)if(o=!0,void 0===n)n=a.default,i=!0;else for(let e in a.clients)if(n===a.clients[e].key){i=!0;break}}return o&&i?{title:void 0!==n?a+" + "+H(n):a,language:t,library:n}:null},z=function(e,t,a){const n=[];let r={};for(let o in e){const i=B(e[o]);if(!i)throw new Error("Invalid target: "+e[o]);"Shell + Curl"===i.title?r.short=!0:r={},n.push({id:e[o],...void 0!==a&&{mimeType:a},title:i.title,content:t.convert(i.language,void 0!==i.library?i.library:null,r)})}return n},H=function(e){return e.charAt(0).toUpperCase()+e.slice(1)},F={getSnippets:function(e,t){const a=function(e){try{const t=[];for(let a in e.paths)for(let n in e.paths[a]){const r=O(e,a,n)+a,o=P(e,a,n);t.push({method:n.toUpperCase(),url:r,description:e.paths[a][n].description||"No description available",hars:o})}return t}catch(e){console.log(e)}}(e),n=[];for(let e in a){const r=a[e],o=[];for(const e of r.hars){const a=new I.HTTPSnippet(e);o.push(...z(t,a,e.comment))}n.push({method:r.method,url:r.url,description:r.description,resource:M(r.url),snippets:o})}return n.sort(((e,t)=>e.resourcet.resource?1:function(e,t){const a=["get","post","put","delete","patch"];return-1===a.indexOf(e)?1:-1===a.indexOf(t)||a.indexOf(e)a.indexOf(t)?1:0}(e.method.toLowerCase(),t.method.toLowerCase()))),n},getEndpointSnippets:function(e,t,a,n,r){void 0===r&&(r={});const o=U(e,t,a,r),i=[];for(const e of o){const t=new I.HTTPSnippet(e);i.push(...z(n,t,e.comment?e.comment:void 0))}return{method:o[0].method,url:o[0].url,description:o[0].description,resource:M(o[0].url),snippets:i}}};"undefined"!=typeof window&&(window.OpenAPISnippets=F)})()})(); -//# sourceMappingURL=openapisnippet.min.js.map \ No newline at end of file diff --git a/docs/openapisnippet.min.js.map b/docs/openapisnippet.min.js.map deleted file mode 100644 index 2ebdbbe..0000000 --- a/docs/openapisnippet.min.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"openapisnippet.min.js","mappings":";4CACA,IAAIA,EAAUC,MAAQA,KAAKD,QAAW,SAAUE,EAAGC,GAC/C,IAAIC,EAAsB,mBAAXC,QAAyBH,EAAEG,OAAOC,UACjD,IAAKF,EAAG,OAAOF,EACf,IAAmBK,EAAYC,EAA3BC,EAAIL,EAAEM,KAAKR,GAAOS,EAAK,GAC3B,IACI,WAAc,IAANR,GAAgBA,KAAM,MAAQI,EAAIE,EAAEG,QAAQC,MAAMF,EAAGG,KAAKP,EAAEQ,MACxE,CACA,MAAOC,GAASR,EAAI,CAAEQ,MAAOA,EAAS,CACtC,QACI,IACQT,IAAMA,EAAEM,OAAST,EAAIK,EAAU,SAAIL,EAAEM,KAAKD,EAClD,CACA,QAAU,GAAID,EAAG,MAAMA,EAAEQ,KAAO,CACpC,CACA,OAAOL,CACX,EACIM,EAAiBhB,MAAQA,KAAKgB,eAAkB,SAAUC,EAAIC,EAAMC,GACpE,GAAIA,GAA6B,IAArBC,UAAUC,OAAc,IAAK,IAA4BX,EAAxBF,EAAI,EAAGc,EAAIJ,EAAKG,OAAYb,EAAIc,EAAGd,KACxEE,GAAQF,KAAKU,IACRR,IAAIA,EAAKa,MAAMC,UAAUC,MAAMhB,KAAKS,EAAM,EAAGV,IAClDE,EAAGF,GAAKU,EAAKV,IAGrB,OAAOS,EAAGS,OAAOhB,GAAMa,MAAMC,UAAUC,MAAMhB,KAAKS,GACtD,EACAS,EAAQC,YAAa,E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,EAgBU,SAAUnjE,EAAGhM,GAClC,MAAMovE,EAAQ,CAAC,MAAO,OAAQ,MAAO,SAAU,SAC/C,OAA0B,IAAtBA,EAAM/tE,QAAQ2K,GACT,GACwB,IAAtBojE,EAAM/tE,QAAQrB,IAEdovE,EAAM/tE,QAAQ2K,GAAKojE,EAAM/tE,QAAQrB,IADlC,EAGCovE,EAAM/tE,QAAQ2K,GAAKojE,EAAM/tE,QAAQrB,GACnC,EAEA,CAEX,CA3BaqvE,CAAerjE,EAAE9U,OAAOhI,cAAe8Q,EAAE9I,OAAOhI,iBAIpDgH,CACT,EAiIEo5E,oBA1MiC,SAAU5F,EAAS7zE,EAAMqB,EAAQzG,EAASiS,QAErD,IAAXA,IACTA,EAAS,CAAC,GAGZ,MAAMynE,EAAOyD,EAAYlE,EAAS7zE,EAAMqB,EAAQwL,GAE1CisE,EAAW,GACjB,IAAK,MAAMnN,KAAO2I,EAAM,CAEtB,MAAMuE,EAAU,IAAI98E,EAAAA,YAAY4vE,GAChCmN,EAASnmF,QACJimF,EACDh+E,EACAi+E,EACAlN,EAAI9M,QAAU8M,EAAI9M,aAAU9kE,GAGlC,CAIA,MAAO,CACLsH,OAAQizE,EAAK,GAAGjzE,OAChBxB,IAAKy0E,EAAK,GAAGz0E,IACbuB,YAAakzE,EAAK,GAAGlzE,YACrBk4E,SAAUtB,EAAgB1D,EAAK,GAAGz0E,KAClCi5E,SAAUA,EAEd,GAgLsB,oBAAXh8E,SAETA,OAAOk8E,gBAAkBA","sources":["webpack://openapi-snippet/./node_modules/@sctg/httpsnippet/dist/helpers/code-builder.js","webpack://openapi-snippet/./node_modules/@sctg/httpsnippet/dist/helpers/escape.js","webpack://openapi-snippet/./node_modules/@sctg/httpsnippet/dist/helpers/form-data.js","webpack://openapi-snippet/./node_modules/@sctg/httpsnippet/dist/helpers/headers.js","webpack://openapi-snippet/./node_modules/@sctg/httpsnippet/dist/helpers/reducer.js","webpack://openapi-snippet/./node_modules/@sctg/httpsnippet/dist/helpers/shell.js","webpack://openapi-snippet/./node_modules/@sctg/httpsnippet/dist/helpers/utils.js","webpack://openapi-snippet/./node_modules/@sctg/httpsnippet/dist/httpsnippet.js","webpack://openapi-snippet/./node_modules/@sctg/httpsnippet/dist/index.js","webpack://openapi-snippet/./node_modules/@sctg/httpsnippet/dist/targets/c/libcurl/client.js","webpack://openapi-snippet/./node_modules/@sctg/httpsnippet/dist/targets/c/target.js","webpack://openapi-snippet/./node_modules/@sctg/httpsnippet/dist/targets/clojure/clj_http/client.js","webpack://openapi-snippet/./node_modules/@sctg/httpsnippet/dist/targets/clojure/target.js","webpack://openapi-snippet/./node_modules/@sctg/httpsnippet/dist/targets/crystal/native/client.js","webpack://openapi-snippet/./node_modules/@sctg/httpsnippet/dist/targets/crystal/target.js","webpack://openapi-snippet/./node_modules/@sctg/httpsnippet/dist/targets/csharp/httpclient/client.js","webpack://openapi-snippet/./node_modules/@sctg/httpsnippet/dist/targets/csharp/restsharp/client.js","webpack://openapi-snippet/./node_modules/@sctg/httpsnippet/dist/targets/csharp/target.js","webpack://openapi-snippet/./node_modules/@sctg/httpsnippet/dist/targets/go/native/client.js","webpack://openapi-snippet/./node_modules/@sctg/httpsnippet/dist/targets/go/target.js","webpack://openapi-snippet/./node_modules/@sctg/httpsnippet/dist/targets/http/http1.1/client.js","webpack://openapi-snippet/./node_modules/@sctg/httpsnippet/dist/targets/http/target.js","webpack://openapi-snippet/./node_modules/@sctg/httpsnippet/dist/targets/java/asynchttp/client.js","webpack://openapi-snippet/./node_modules/@sctg/httpsnippet/dist/targets/java/nethttp/client.js","webpack://openapi-snippet/./node_modules/@sctg/httpsnippet/dist/targets/java/okhttp/client.js","webpack://openapi-snippet/./node_modules/@sctg/httpsnippet/dist/targets/java/target.js","webpack://openapi-snippet/./node_modules/@sctg/httpsnippet/dist/targets/java/unirest/client.js","webpack://openapi-snippet/./node_modules/@sctg/httpsnippet/dist/targets/javascript/axios/client.js","webpack://openapi-snippet/./node_modules/@sctg/httpsnippet/dist/targets/javascript/fetch/client.js","webpack://openapi-snippet/./node_modules/@sctg/httpsnippet/dist/targets/javascript/jquery/client.js","webpack://openapi-snippet/./node_modules/@sctg/httpsnippet/dist/targets/javascript/target.js","webpack://openapi-snippet/./node_modules/@sctg/httpsnippet/dist/targets/javascript/xhr/client.js","webpack://openapi-snippet/./node_modules/@sctg/httpsnippet/dist/targets/kotlin/okhttp/client.js","webpack://openapi-snippet/./node_modules/@sctg/httpsnippet/dist/targets/kotlin/target.js","webpack://openapi-snippet/./node_modules/@sctg/httpsnippet/dist/targets/node/axios/client.js","webpack://openapi-snippet/./node_modules/@sctg/httpsnippet/dist/targets/node/fetch/client.js","webpack://openapi-snippet/./node_modules/@sctg/httpsnippet/dist/targets/node/native/client.js","webpack://openapi-snippet/./node_modules/@sctg/httpsnippet/dist/targets/node/request/client.js","webpack://openapi-snippet/./node_modules/@sctg/httpsnippet/dist/targets/node/target.js","webpack://openapi-snippet/./node_modules/@sctg/httpsnippet/dist/targets/node/unirest/client.js","webpack://openapi-snippet/./node_modules/@sctg/httpsnippet/dist/targets/objc/helpers.js","webpack://openapi-snippet/./node_modules/@sctg/httpsnippet/dist/targets/objc/nsurlsession/client.js","webpack://openapi-snippet/./node_modules/@sctg/httpsnippet/dist/targets/objc/target.js","webpack://openapi-snippet/./node_modules/@sctg/httpsnippet/dist/targets/ocaml/cohttp/client.js","webpack://openapi-snippet/./node_modules/@sctg/httpsnippet/dist/targets/ocaml/target.js","webpack://openapi-snippet/./node_modules/@sctg/httpsnippet/dist/targets/php/curl/client.js","webpack://openapi-snippet/./node_modules/@sctg/httpsnippet/dist/targets/php/guzzle/client.js","webpack://openapi-snippet/./node_modules/@sctg/httpsnippet/dist/targets/php/helpers.js","webpack://openapi-snippet/./node_modules/@sctg/httpsnippet/dist/targets/php/http1/client.js","webpack://openapi-snippet/./node_modules/@sctg/httpsnippet/dist/targets/php/http2/client.js","webpack://openapi-snippet/./node_modules/@sctg/httpsnippet/dist/targets/php/target.js","webpack://openapi-snippet/./node_modules/@sctg/httpsnippet/dist/targets/powershell/common.js","webpack://openapi-snippet/./node_modules/@sctg/httpsnippet/dist/targets/powershell/restmethod/client.js","webpack://openapi-snippet/./node_modules/@sctg/httpsnippet/dist/targets/powershell/target.js","webpack://openapi-snippet/./node_modules/@sctg/httpsnippet/dist/targets/powershell/webrequest/client.js","webpack://openapi-snippet/./node_modules/@sctg/httpsnippet/dist/targets/python/helpers.js","webpack://openapi-snippet/./node_modules/@sctg/httpsnippet/dist/targets/python/python3/client.js","webpack://openapi-snippet/./node_modules/@sctg/httpsnippet/dist/targets/python/requests/client.js","webpack://openapi-snippet/./node_modules/@sctg/httpsnippet/dist/targets/python/target.js","webpack://openapi-snippet/./node_modules/@sctg/httpsnippet/dist/targets/r/httr/client.js","webpack://openapi-snippet/./node_modules/@sctg/httpsnippet/dist/targets/r/target.js","webpack://openapi-snippet/./node_modules/@sctg/httpsnippet/dist/targets/ruby/faraday/client.js","webpack://openapi-snippet/./node_modules/@sctg/httpsnippet/dist/targets/ruby/native/client.js","webpack://openapi-snippet/./node_modules/@sctg/httpsnippet/dist/targets/ruby/target.js","webpack://openapi-snippet/./node_modules/@sctg/httpsnippet/dist/targets/rust/helpers.js","webpack://openapi-snippet/./node_modules/@sctg/httpsnippet/dist/targets/rust/reqwest/client.js","webpack://openapi-snippet/./node_modules/@sctg/httpsnippet/dist/targets/rust/target.js","webpack://openapi-snippet/./node_modules/@sctg/httpsnippet/dist/targets/shell/curl/client.js","webpack://openapi-snippet/./node_modules/@sctg/httpsnippet/dist/targets/shell/httpie/client.js","webpack://openapi-snippet/./node_modules/@sctg/httpsnippet/dist/targets/shell/target.js","webpack://openapi-snippet/./node_modules/@sctg/httpsnippet/dist/targets/shell/wget/client.js","webpack://openapi-snippet/./node_modules/@sctg/httpsnippet/dist/targets/swift/helpers.js","webpack://openapi-snippet/./node_modules/@sctg/httpsnippet/dist/targets/swift/nsurlsession/client.js","webpack://openapi-snippet/./node_modules/@sctg/httpsnippet/dist/targets/swift/target.js","webpack://openapi-snippet/./node_modules/@sctg/httpsnippet/dist/targets/targets.js","webpack://openapi-snippet/./node_modules/asynckit/index.js","webpack://openapi-snippet/./node_modules/asynckit/lib/abort.js","webpack://openapi-snippet/./node_modules/asynckit/lib/async.js","webpack://openapi-snippet/./node_modules/asynckit/lib/defer.js","webpack://openapi-snippet/./node_modules/asynckit/lib/iterate.js","webpack://openapi-snippet/./node_modules/asynckit/lib/state.js","webpack://openapi-snippet/./node_modules/asynckit/lib/terminator.js","webpack://openapi-snippet/./node_modules/asynckit/parallel.js","webpack://openapi-snippet/./node_modules/asynckit/serial.js","webpack://openapi-snippet/./node_modules/asynckit/serialOrdered.js","webpack://openapi-snippet/./node_modules/base64-js/index.js","webpack://openapi-snippet/./node_modules/buffer/index.js","webpack://openapi-snippet/./node_modules/builtin-status-codes/browser.js","webpack://openapi-snippet/./node_modules/call-bind/callBound.js","webpack://openapi-snippet/./node_modules/call-bind/index.js","webpack://openapi-snippet/./node_modules/combined-stream/lib/combined_stream.js","webpack://openapi-snippet/./node_modules/define-data-property/index.js","webpack://openapi-snippet/./node_modules/delayed-stream/lib/delayed_stream.js","webpack://openapi-snippet/./node_modules/duplexer/index.js","webpack://openapi-snippet/./node_modules/es-define-property/index.js","webpack://openapi-snippet/./node_modules/es-errors/eval.js","webpack://openapi-snippet/./node_modules/es-errors/index.js","webpack://openapi-snippet/./node_modules/es-errors/range.js","webpack://openapi-snippet/./node_modules/es-errors/ref.js","webpack://openapi-snippet/./node_modules/es-errors/syntax.js","webpack://openapi-snippet/./node_modules/es-errors/type.js","webpack://openapi-snippet/./node_modules/es-errors/uri.js","webpack://openapi-snippet/./node_modules/event-stream/index.js","webpack://openapi-snippet/./node_modules/events/events.js","webpack://openapi-snippet/./node_modules/for-each/index.js","webpack://openapi-snippet/./node_modules/foreach/index.js","webpack://openapi-snippet/./node_modules/form-data/lib/form_data.js","webpack://openapi-snippet/./node_modules/form-data/lib/populate.js","webpack://openapi-snippet/./node_modules/from/index.js","webpack://openapi-snippet/./node_modules/function-bind/implementation.js","webpack://openapi-snippet/./node_modules/function-bind/index.js","webpack://openapi-snippet/./node_modules/get-intrinsic/index.js","webpack://openapi-snippet/./node_modules/get-own-enumerable-property-symbols/lib/index.js","webpack://openapi-snippet/./node_modules/gopd/index.js","webpack://openapi-snippet/./node_modules/has-property-descriptors/index.js","webpack://openapi-snippet/./node_modules/has-proto/index.js","webpack://openapi-snippet/./node_modules/has-symbols/index.js","webpack://openapi-snippet/./node_modules/has-symbols/shams.js","webpack://openapi-snippet/./node_modules/has-tostringtag/shams.js","webpack://openapi-snippet/./node_modules/hasown/index.js","webpack://openapi-snippet/./node_modules/https-browserify/index.js","webpack://openapi-snippet/./node_modules/ieee754/index.js","webpack://openapi-snippet/./node_modules/inherits/inherits_browser.js","webpack://openapi-snippet/./node_modules/is-arguments/index.js","webpack://openapi-snippet/./node_modules/is-callable/index.js","webpack://openapi-snippet/./node_modules/is-generator-function/index.js","webpack://openapi-snippet/./node_modules/is-obj/index.js","webpack://openapi-snippet/./node_modules/is-regexp/index.js","webpack://openapi-snippet/./node_modules/is-typed-array/index.js","webpack://openapi-snippet/./node_modules/json-pointer/index.js","webpack://openapi-snippet/./node_modules/map-stream/index.js","webpack://openapi-snippet/./node_modules/mime-db/index.js","webpack://openapi-snippet/./node_modules/mime-types/index.js","webpack://openapi-snippet/./node_modules/path-browserify/index.js","webpack://openapi-snippet/./node_modules/pause-stream/index.js","webpack://openapi-snippet/./node_modules/possible-typed-array-names/index.js","webpack://openapi-snippet/./node_modules/process/browser.js","webpack://openapi-snippet/./node_modules/qs/lib/formats.js","webpack://openapi-snippet/./node_modules/qs/lib/index.js","webpack://openapi-snippet/./node_modules/qs/lib/parse.js","webpack://openapi-snippet/./node_modules/qs/lib/stringify.js","webpack://openapi-snippet/./node_modules/qs/lib/utils.js","webpack://openapi-snippet/./node_modules/querystring-es3/decode.js","webpack://openapi-snippet/./node_modules/querystring-es3/encode.js","webpack://openapi-snippet/./node_modules/querystring-es3/index.js","webpack://openapi-snippet/./node_modules/readable-stream/errors-browser.js","webpack://openapi-snippet/./node_modules/readable-stream/lib/_stream_duplex.js","webpack://openapi-snippet/./node_modules/readable-stream/lib/_stream_passthrough.js","webpack://openapi-snippet/./node_modules/readable-stream/lib/_stream_readable.js","webpack://openapi-snippet/./node_modules/readable-stream/lib/_stream_transform.js","webpack://openapi-snippet/./node_modules/readable-stream/lib/_stream_writable.js","webpack://openapi-snippet/./node_modules/readable-stream/lib/internal/streams/async_iterator.js","webpack://openapi-snippet/./node_modules/readable-stream/lib/internal/streams/buffer_list.js","webpack://openapi-snippet/./node_modules/readable-stream/lib/internal/streams/destroy.js","webpack://openapi-snippet/./node_modules/readable-stream/lib/internal/streams/end-of-stream.js","webpack://openapi-snippet/./node_modules/readable-stream/lib/internal/streams/from-browser.js","webpack://openapi-snippet/./node_modules/readable-stream/lib/internal/streams/pipeline.js","webpack://openapi-snippet/./node_modules/readable-stream/lib/internal/streams/state.js","webpack://openapi-snippet/./node_modules/readable-stream/lib/internal/streams/stream-browser.js","webpack://openapi-snippet/./node_modules/readable-stream/readable-browser.js","webpack://openapi-snippet/./node_modules/safe-buffer/index.js","webpack://openapi-snippet/./node_modules/set-function-length/index.js","webpack://openapi-snippet/./node_modules/side-channel/index.js","webpack://openapi-snippet/./node_modules/side-channel/node_modules/object-inspect/index.js","webpack://openapi-snippet/./node_modules/split/index.js","webpack://openapi-snippet/./node_modules/stream-browserify/index.js","webpack://openapi-snippet/./node_modules/stream-combiner/index.js","webpack://openapi-snippet/./node_modules/stream-http/index.js","webpack://openapi-snippet/./node_modules/stream-http/lib/capability.js","webpack://openapi-snippet/./node_modules/stream-http/lib/request.js","webpack://openapi-snippet/./node_modules/stream-http/lib/response.js","webpack://openapi-snippet/./node_modules/string_decoder/lib/string_decoder.js","webpack://openapi-snippet/./node_modules/stringify-object/index.js","webpack://openapi-snippet/./node_modules/through/index.js","webpack://openapi-snippet/./node_modules/url/node_modules/punycode/punycode.js","webpack://openapi-snippet/./node_modules/url/url.js","webpack://openapi-snippet/./node_modules/util-deprecate/browser.js","webpack://openapi-snippet/./node_modules/util/support/isBufferBrowser.js","webpack://openapi-snippet/./node_modules/util/support/types.js","webpack://openapi-snippet/./node_modules/util/util.js","webpack://openapi-snippet/./node_modules/which-typed-array/index.js","webpack://openapi-snippet/./node_modules/xtend/immutable.js","webpack://openapi-snippet/./node_modules/available-typed-arrays/index.js","webpack://openapi-snippet/./node_modules/har-validator-compiled/dist/cjs/index.js","webpack://openapi-snippet/webpack/bootstrap","webpack://openapi-snippet/webpack/runtime/compat get default export","webpack://openapi-snippet/webpack/runtime/define property getters","webpack://openapi-snippet/webpack/runtime/global","webpack://openapi-snippet/webpack/runtime/hasOwnProperty shorthand","webpack://openapi-snippet/webpack/runtime/node module decorator","webpack://openapi-snippet/./node_modules/openapi-sampler/src/utils.js","webpack://openapi-snippet/./node_modules/openapi-sampler/src/infer.js","webpack://openapi-snippet/./node_modules/openapi-sampler/src/traverse.js","webpack://openapi-snippet/./node_modules/openapi-sampler/src/allOf.js","webpack://openapi-snippet/./node_modules/openapi-sampler/src/samplers/number.js","webpack://openapi-snippet/./node_modules/openapi-sampler/src/samplers/string-regex.js","webpack://openapi-snippet/./node_modules/openapi-sampler/src/samplers/string.js","webpack://openapi-snippet/./node_modules/openapi-sampler/src/openapi-sampler.js","webpack://openapi-snippet/./node_modules/openapi-sampler/src/samplers/array.js","webpack://openapi-snippet/./node_modules/openapi-sampler/src/samplers/boolean.js","webpack://openapi-snippet/./node_modules/openapi-sampler/src/samplers/object.js","webpack://openapi-snippet/./openapi-to-har.js","webpack://openapi-snippet/./index.js"],"sourcesContent":["\"use strict\";\nvar __read = (this && this.__read) || function (o, n) {\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o), r, ar = [], e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n};\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\n if (ar || !(i in from)) {\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\n ar[i] = from[i];\n }\n }\n return to.concat(ar || Array.prototype.slice.call(from));\n};\nexports.__esModule = true;\nexports.CodeBuilder = void 0;\nvar DEFAULT_INDENTATION_CHARACTER = '';\nvar DEFAULT_LINE_JOIN = '\\n';\nvar CodeBuilder = /** @class */ (function () {\n /**\n * Helper object to format and aggragate lines of code.\n * Lines are aggregated in a `code` array, and need to be joined to obtain a proper code snippet.\n */\n function CodeBuilder(_a) {\n var _b = _a === void 0 ? {} : _a, indent = _b.indent, join = _b.join;\n var _this = this;\n this.postProcessors = [];\n this.code = [];\n this.indentationCharacter = DEFAULT_INDENTATION_CHARACTER;\n this.lineJoin = DEFAULT_LINE_JOIN;\n /**\n * Add given indentation level to given line of code\n */\n this.indentLine = function (line, indentationLevel) {\n if (indentationLevel === void 0) { indentationLevel = 0; }\n var indent = _this.indentationCharacter.repeat(indentationLevel);\n return \"\".concat(indent).concat(line);\n };\n /**\n * Add the line at the beginning of the current lines\n */\n this.unshift = function (line, indentationLevel) {\n var newLine = _this.indentLine(line, indentationLevel);\n _this.code.unshift(newLine);\n };\n /**\n * Add the line at the end of the current lines\n */\n this.push = function (line, indentationLevel) {\n var newLine = _this.indentLine(line, indentationLevel);\n _this.code.push(newLine);\n };\n /**\n * Add the line to the end of the last line. Creates a new line\n * if no lines exist yet.\n */\n this.pushToLast = function (line) {\n if (!_this.code) {\n _this.push(line);\n }\n var updatedLine = \"\".concat(_this.code[_this.code.length - 1]).concat(line);\n _this.code[_this.code.length - 1] = updatedLine;\n };\n /**\n * Add an empty line at the end of current lines\n */\n this.blank = function () {\n _this.code.push('');\n };\n /**\n * Concatenate all current lines using the given lineJoin, then apply any replacers that may have been added\n */\n this.join = function () {\n var unreplacedCode = _this.code.join(_this.lineJoin);\n var replacedOutput = _this.postProcessors.reduce(function (accumulator, replacer) { return replacer(accumulator); }, unreplacedCode);\n return replacedOutput;\n };\n /**\n * Often when writing modules you may wish to add a literal tag or bit of metadata that you wish to transform after other processing as a final step.\n * To do so, you can provide a PostProcessor function and it will be run automatically for you when you call `join()` later on.\n */\n this.addPostProcessor = function (postProcessor) {\n _this.postProcessors = __spreadArray(__spreadArray([], __read(_this.postProcessors), false), [postProcessor], false);\n };\n this.indentationCharacter = indent || DEFAULT_INDENTATION_CHARACTER;\n this.lineJoin = join !== null && join !== void 0 ? join : DEFAULT_LINE_JOIN;\n }\n return CodeBuilder;\n}());\nexports.CodeBuilder = CodeBuilder;\n//# sourceMappingURL=code-builder.js.map","\"use strict\";\nvar __read = (this && this.__read) || function (o, n) {\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o), r, ar = [], e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n};\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\n if (ar || !(i in from)) {\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\n ar[i] = from[i];\n }\n }\n return to.concat(ar || Array.prototype.slice.call(from));\n};\nexports.__esModule = true;\nexports.escapeForDoubleQuotes = exports.escapeForSingleQuotes = exports.escapeString = void 0;\n/**\n * Escape characters within a value to make it safe to insert directly into a\n * snippet. Takes options which define the escape requirements.\n *\n * This is closely based on the JSON-stringify string serialization algorithm,\n * but generalized for other string delimiters (e.g. \" or ') and different escape\n * characters (e.g. Powershell uses `)\n *\n * See https://tc39.es/ecma262/multipage/structured-data.html#sec-quotejsonstring\n * for the complete original algorithm.\n */\nfunction escapeString(rawValue, options) {\n if (options === void 0) { options = {}; }\n var _a = options.delimiter, delimiter = _a === void 0 ? '\"' : _a, _b = options.escapeChar, escapeChar = _b === void 0 ? '\\\\' : _b, _c = options.escapeNewlines, escapeNewlines = _c === void 0 ? true : _c;\n var stringValue = rawValue.toString();\n return __spreadArray([], __read(stringValue), false).map(function (c) {\n if (c === '\\b') {\n return \"\".concat(escapeChar, \"b\");\n }\n else if (c === '\\t') {\n return \"\".concat(escapeChar, \"t\");\n }\n else if (c === '\\n') {\n if (escapeNewlines) {\n return \"\".concat(escapeChar, \"n\");\n }\n return c; // Don't just continue, or this is caught by < \\u0020\n }\n else if (c === '\\f') {\n return \"\".concat(escapeChar, \"f\");\n }\n else if (c === '\\r') {\n if (escapeNewlines) {\n return \"\".concat(escapeChar, \"r\");\n }\n return c; // Don't just continue, or this is caught by < \\u0020\n }\n else if (c === escapeChar) {\n return escapeChar + escapeChar;\n }\n else if (c === delimiter) {\n return escapeChar + delimiter;\n }\n else if (c < '\\u0020' || c > '\\u007E') {\n // Delegate the trickier non-ASCII cases to the normal algorithm. Some of these\n // are escaped as \\uXXXX, whilst others are represented literally. Since we're\n // using this primarily for header values that are generally (though not 100%\n // strictly?) ASCII-only, this should almost never happen.\n return JSON.stringify(c).slice(1, -1);\n }\n return c;\n })\n .join('');\n}\nexports.escapeString = escapeString;\n/**\n * Make a string value safe to insert literally into a snippet within single quotes,\n * by escaping problematic characters, including single quotes inside the string,\n * backslashes, newlines, and other special characters.\n *\n * If value is not a string, it will be stringified with .toString() first.\n */\nvar escapeForSingleQuotes = function (value) { return escapeString(value, { delimiter: \"'\" }); };\nexports.escapeForSingleQuotes = escapeForSingleQuotes;\n/**\n * Make a string value safe to insert literally into a snippet within double quotes,\n * by escaping problematic characters, including double quotes inside the string,\n * backslashes, newlines, and other special characters.\n *\n * If value is not a string, it will be stringified with .toString() first.\n */\nvar escapeForDoubleQuotes = function (value) { return escapeString(value, { delimiter: '\"' }); };\nexports.escapeForDoubleQuotes = escapeForDoubleQuotes;\n//# sourceMappingURL=escape.js.map","\"use strict\";\n/**\n * @license https://raw.githubusercontent.com/node-fetch/node-fetch/master/LICENSE.md\n *\n * The MIT License (MIT)\n *\n * Copyright (c) 2016 - 2020 Node Fetch Team\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in all\n * copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n * SOFTWARE.\n *\n * Extracted from https://github.com/node-fetch/node-fetch/blob/64c5c296a0250b852010746c76144cb9e14698d9/src/utils/form-data.js\n */\nvar __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (_) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nvar __values = (this && this.__values) || function(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n};\nvar __read = (this && this.__read) || function (o, n) {\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o), r, ar = [], e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n};\nexports.__esModule = true;\nexports.formDataIterator = exports.isBlob = void 0;\nvar carriage = '\\r\\n';\nvar dashes = '-'.repeat(2);\nvar NAME = Symbol.toStringTag;\nvar isBlob = function (object) {\n return typeof object === 'object' &&\n typeof object.arrayBuffer === 'function' &&\n typeof object.type === 'string' &&\n typeof object.stream === 'function' &&\n typeof object.constructor === 'function' &&\n /^(Blob|File)$/.test(object[NAME]);\n};\nexports.isBlob = isBlob;\nvar getFooter = function (boundary) { return \"\".concat(dashes).concat(boundary).concat(dashes).concat(carriage.repeat(2)); };\nvar getHeader = function (boundary, name, field) {\n var header = '';\n header += \"\".concat(dashes).concat(boundary).concat(carriage);\n header += \"Content-Disposition: form-data; name=\\\"\".concat(name, \"\\\"\");\n if ((0, exports.isBlob)(field)) {\n header += \"; filename=\\\"\".concat(field.name, \"\\\"\").concat(carriage);\n header += \"Content-Type: \".concat(field.type || 'application/octet-stream');\n }\n return \"\".concat(header).concat(carriage.repeat(2));\n};\nvar formDataIterator = function (form, boundary) {\n var form_1, form_1_1, _a, name, value, e_1_1;\n var e_1, _b;\n return __generator(this, function (_c) {\n switch (_c.label) {\n case 0:\n _c.trys.push([0, 10, 11, 12]);\n form_1 = __values(form), form_1_1 = form_1.next();\n _c.label = 1;\n case 1:\n if (!!form_1_1.done) return [3 /*break*/, 9];\n _a = __read(form_1_1.value, 2), name = _a[0], value = _a[1];\n return [4 /*yield*/, getHeader(boundary, name, value)];\n case 2:\n _c.sent();\n if (!(0, exports.isBlob)(value)) return [3 /*break*/, 4];\n return [5 /*yield**/, __values(value.stream())];\n case 3:\n _c.sent();\n return [3 /*break*/, 6];\n case 4: return [4 /*yield*/, value];\n case 5:\n _c.sent();\n _c.label = 6;\n case 6: return [4 /*yield*/, carriage];\n case 7:\n _c.sent();\n _c.label = 8;\n case 8:\n form_1_1 = form_1.next();\n return [3 /*break*/, 1];\n case 9: return [3 /*break*/, 12];\n case 10:\n e_1_1 = _c.sent();\n e_1 = { error: e_1_1 };\n return [3 /*break*/, 12];\n case 11:\n try {\n if (form_1_1 && !form_1_1.done && (_b = form_1[\"return\"])) _b.call(form_1);\n }\n finally { if (e_1) throw e_1.error; }\n return [7 /*endfinally*/];\n case 12: return [4 /*yield*/, getFooter(boundary)];\n case 13:\n _c.sent();\n return [2 /*return*/];\n }\n });\n};\nexports.formDataIterator = formDataIterator;\n//# sourceMappingURL=form-data.js.map","\"use strict\";\nexports.__esModule = true;\nexports.isMimeTypeJSON = exports.hasHeader = exports.getHeader = exports.getHeaderName = void 0;\n/**\n * Given a headers object retrieve a specific header out of it via a case-insensitive key.\n */\nvar getHeaderName = function (headers, name) {\n return Object.keys(headers).find(function (header) { return header.toLowerCase() === name.toLowerCase(); });\n};\nexports.getHeaderName = getHeaderName;\n/**\n * Given a headers object retrieve the contents of a header out of it via a case-insensitive key.\n */\nvar getHeader = function (headers, name) {\n var headerName = (0, exports.getHeaderName)(headers, name);\n if (!headerName) {\n return undefined;\n }\n return headers[headerName];\n};\nexports.getHeader = getHeader;\n/**\n * Determine if a given case-insensitive header exists within a header object.\n */\nvar hasHeader = function (headers, name) {\n return Boolean((0, exports.getHeaderName)(headers, name));\n};\nexports.hasHeader = hasHeader;\nvar mimeTypeJson = [\n 'application/json',\n 'application/x-json',\n 'text/json',\n 'text/x-json',\n '+json',\n];\n/**\n * Determines if a given mimetype is JSON, or a variant of such.\n */\nvar isMimeTypeJSON = function (mimeType) {\n return mimeTypeJson.some(function (type) { return mimeType.includes(type); });\n};\nexports.isMimeTypeJSON = isMimeTypeJSON;\n//# sourceMappingURL=headers.js.map","\"use strict\";\nexports.__esModule = true;\nexports.reducer = void 0;\nvar reducer = function (accumulator, pair) {\n var currentValue = accumulator[pair.name];\n if (currentValue === undefined) {\n accumulator[pair.name] = pair.value;\n return accumulator;\n }\n // If we already have it as array just push the value\n if (Array.isArray(currentValue)) {\n currentValue.push(pair.value);\n return accumulator;\n }\n // convert to array since now we have more than one value for this key\n accumulator[pair.name] = [currentValue, pair.value];\n return accumulator;\n};\nexports.reducer = reducer;\n//# sourceMappingURL=reducer.js.map","\"use strict\";\nexports.__esModule = true;\nexports.escape = exports.quote = void 0;\n/**\n * Use 'strong quoting' using single quotes so that we only need to deal with nested single quote characters.\n * see: http://wiki.bash-hackers.org/syntax/quoting#strong_quoting\n */\nvar quote = function (value) {\n if (value === void 0) { value = ''; }\n var safe = /^[a-z0-9-_/.@%^=:]+$/i;\n var isShellSafe = safe.test(value);\n if (isShellSafe) {\n return value;\n }\n // if the value is not shell safe, then quote it\n return \"'\".concat(value.replace(/'/g, \"'\\\\''\"), \"'\");\n};\nexports.quote = quote;\nvar escape = function (value) { return value.replace(/\\r/g, '\\\\r').replace(/\\n/g, '\\\\n'); };\nexports.escape = escape;\n//# sourceMappingURL=shell.js.map","\"use strict\";\nvar __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nexports.__esModule = true;\nexports.extname = exports.availableTargets = void 0;\nvar targets_1 = require(\"../targets/targets\");\nvar availableTargets = function () {\n return Object.keys(targets_1.targets).map(function (targetId) { return (__assign(__assign({}, targets_1.targets[targetId].info), { clients: Object.keys(targets_1.targets[targetId].clientsById).map(function (clientId) { return targets_1.targets[targetId].clientsById[clientId].info; }) })); });\n};\nexports.availableTargets = availableTargets;\nvar extname = function (targetId) { var _a; return ((_a = targets_1.targets[targetId]) === null || _a === void 0 ? void 0 : _a.info.extname) || ''; };\nexports.extname = extname;\n//# sourceMappingURL=utils.js.map","\"use strict\";\nvar __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __values = (this && this.__values) || function(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n};\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nexports.__esModule = true;\nexports.HTTPSnippet = exports.isHarEntry = exports.addTargetClient = exports.addTarget = exports.extname = exports.availableTargets = void 0;\nvar event_stream_1 = require(\"event-stream\");\nvar form_data_1 = __importDefault(require(\"form-data/lib/form_data\"));\nvar har_validator_compiled_1 = require(\"har-validator-compiled\");\nvar querystring_1 = require(\"querystring\");\nvar url_1 = require(\"url\");\nvar form_data_2 = require(\"./helpers/form-data\");\nvar headers_1 = require(\"./helpers/headers\");\nvar reducer_1 = require(\"./helpers/reducer\");\nvar targets_1 = require(\"./targets/targets\");\nvar utils_1 = require(\"./helpers/utils\");\n__createBinding(exports, utils_1, \"availableTargets\");\n__createBinding(exports, utils_1, \"extname\");\nvar targets_2 = require(\"./targets/targets\");\n__createBinding(exports, targets_2, \"addTarget\");\n__createBinding(exports, targets_2, \"addTargetClient\");\n// We're implementing the logic for which FormData object to use, ourselves.\n// This allows us to use the native FormData object in the browser and the `form-data` module in Node,\n// instead of relying on the package entrypoint to handle that.\nvar resolveFormData = \n// @ts-expect-error — we're only using window.FormData if it exists\ntypeof window !== 'undefined' && window.FormData ? window.FormData : form_data_1[\"default\"];\nvar DEBUG_MODE = false;\nvar debug = {\n // eslint-disable-next-line @typescript-eslint/no-empty-function -- intentional noop\n info: DEBUG_MODE ? console.info : function () { }\n};\nvar isHarEntry = function (value) {\n return typeof value === 'object' &&\n 'log' in value &&\n typeof value.log === 'object' &&\n 'entries' in value.log &&\n Array.isArray(value.log.entries);\n};\nexports.isHarEntry = isHarEntry;\nvar HTTPSnippet = /** @class */ (function () {\n function HTTPSnippet(input) {\n var _this = this;\n this.requests = [];\n this.prepare = function (harRequest) {\n var e_1, _a;\n var _b, _c, _d;\n var request = __assign(__assign({}, harRequest), { fullUrl: '', uriObj: {}, queryObj: {}, headersObj: {}, cookiesObj: {}, allHeaders: {} });\n // construct query objects\n if (request.queryString && request.queryString.length) {\n debug.info('queryString found, constructing queryString pair map');\n request.queryObj = request.queryString.reduce(reducer_1.reducer, {});\n }\n // construct headers objects\n if (request.headers && request.headers.length) {\n var http2VersionRegex_1 = /^HTTP\\/2/;\n request.headersObj = request.headers.reduce(function (accumulator, _a) {\n var _b;\n var name = _a.name, value = _a.value;\n var headerName = http2VersionRegex_1.exec(request.httpVersion)\n ? name.toLocaleLowerCase()\n : name;\n return __assign(__assign({}, accumulator), (_b = {}, _b[headerName] = value, _b));\n }, {});\n }\n // construct headers objects\n if (request.cookies && request.cookies.length) {\n request.cookiesObj = request.cookies.reduceRight(function (accumulator, _a) {\n var _b;\n var name = _a.name, value = _a.value;\n return (__assign(__assign({}, accumulator), (_b = {}, _b[name] = value, _b)));\n }, {});\n }\n // construct Cookie header\n var cookies = (_b = request.cookies) === null || _b === void 0 ? void 0 : _b.map(function (_a) {\n var name = _a.name, value = _a.value;\n return \"\".concat(encodeURIComponent(name), \"=\").concat(encodeURIComponent(value));\n });\n if (cookies === null || cookies === void 0 ? void 0 : cookies.length) {\n request.allHeaders.cookie = cookies.join('; ');\n }\n switch (request === null || request === void 0 ? void 0 : request.postData.mimeType) {\n case 'multipart/mixed':\n case 'multipart/related':\n case 'multipart/form-data':\n case 'multipart/alternative':\n // reset values\n request.postData.text = '';\n request.postData.mimeType = 'multipart/form-data';\n if ((_c = request.postData) === null || _c === void 0 ? void 0 : _c.params) {\n var form_1 = new resolveFormData();\n // The `form-data` module returns one of two things: a native FormData object, or its own polyfill\n // Since the polyfill does not support the full API of the native FormData object, when this library is running in a browser environment it'll fail on two things:\n //\n // 1. The API for `form.append()` has three arguments and the third should only be present when the second is a\n // Blob or USVString.\n // 1. `FormData.pipe()` isn't a function.\n //\n // Since the native FormData object is iterable, we easily detect what version of `form-data` we're working with here to allow `multipart/form-data` requests to be compiled under both browser and Node environments.\n //\n // This hack is pretty awful but it's the only way we can use this library in the browser as if we code this against just the native FormData object, we can't polyfill that back into Node because Blob and File objects, which something like `formdata-polyfill` requires, don't exist there.\n var isNativeFormData_1 = typeof form_1[Symbol.iterator] === 'function';\n // TODO: THIS ABSOLUTELY MUST BE REMOVED.\n // IT BREAKS SOME USE-CASES FOR MULTIPART FORMS THAT DEPEND ON BEING ABLE TO SET THE BOUNDARY.\n // easter egg\n var boundary = '---011000010111000001101001'; // this is binary for \"api\". yep.\n if (!isNativeFormData_1) {\n form_1._boundary = boundary;\n }\n (_d = request.postData) === null || _d === void 0 ? void 0 : _d.params.forEach(function (param) {\n var name = param.name;\n var value = param.value || '';\n var filename = param.fileName || null;\n if (isNativeFormData_1) {\n if ((0, form_data_2.isBlob)(value)) {\n form_1.append(name, value, filename);\n }\n else {\n form_1.append(name, value);\n }\n }\n else {\n form_1.append(name, value, {\n filename: filename,\n contentType: param.contentType || null\n });\n }\n });\n if (isNativeFormData_1) {\n try {\n for (var _e = __values((0, form_data_2.formDataIterator)(form_1, boundary)), _f = _e.next(); !_f.done; _f = _e.next()) {\n var data_1 = _f.value;\n request.postData.text += data_1;\n }\n }\n catch (e_1_1) { e_1 = { error: e_1_1 }; }\n finally {\n try {\n if (_f && !_f.done && (_a = _e[\"return\"])) _a.call(_e);\n }\n finally { if (e_1) throw e_1.error; }\n }\n }\n else {\n form_1.pipe(\n // @ts-expect-error TODO\n (0, event_stream_1.map)(function (data) {\n request.postData.text += data;\n }));\n }\n request.postData.boundary = boundary;\n // Since headers are case-sensitive we need to see if there's an existing `Content-Type` header that we can override.\n var contentTypeHeader = (0, headers_1.getHeaderName)(request.headersObj, 'content-type') || 'content-type';\n request.headersObj[contentTypeHeader] = \"multipart/form-data; boundary=\".concat(boundary);\n }\n break;\n case 'application/x-www-form-urlencoded':\n if (!request.postData.params) {\n request.postData.text = '';\n }\n else {\n // @ts-expect-error the `har-format` types make this challenging\n request.postData.paramsObj = request.postData.params.reduce(reducer_1.reducer, {});\n // always overwrite\n request.postData.text = (0, querystring_1.stringify)(request.postData.paramsObj);\n }\n break;\n case 'text/json':\n case 'text/x-json':\n case 'application/json':\n case 'application/x-json':\n request.postData.mimeType = 'application/json';\n if (request.postData.text) {\n try {\n request.postData.jsonObj = JSON.parse(request.postData.text);\n }\n catch (e) {\n debug.info(e);\n // force back to `text/plain` if headers have proper content-type value, then this should also work\n request.postData.mimeType = 'text/plain';\n }\n }\n break;\n }\n // create allHeaders object\n var allHeaders = __assign(__assign({}, request.allHeaders), request.headersObj);\n var urlWithParsedQuery = (0, url_1.parse)(request.url, true, true); //?\n // query string key/value pairs in with literal querystrings containd within the url\n request.queryObj = __assign(__assign({}, request.queryObj), urlWithParsedQuery.query); //?\n // reset uriObj values for a clean url\n var search = (0, querystring_1.stringify)(request.queryObj);\n var uriObj = __assign(__assign({}, urlWithParsedQuery), { query: request.queryObj, search: search, path: search ? \"\".concat(urlWithParsedQuery.pathname, \"?\").concat(search) : urlWithParsedQuery.pathname });\n // keep the base url clean of queryString\n var url = (0, url_1.format)(__assign(__assign({}, urlWithParsedQuery), { query: null, search: null })); //?\n var fullUrl = (0, url_1.format)(__assign(__assign({}, urlWithParsedQuery), uriObj)); //?\n return __assign(__assign({}, request), { allHeaders: allHeaders, fullUrl: fullUrl, url: url, uriObj: uriObj });\n };\n this.convert = function (targetId, clientId, options) {\n if (!options && clientId) {\n options = clientId;\n }\n var target = targets_1.targets[targetId];\n if (!target) {\n return false;\n }\n var convert = target.clientsById[clientId || target.info[\"default\"]].convert;\n var results = _this.requests.map(function (request) { return convert(request, options); });\n return results.length === 1 ? results[0] : results;\n };\n var entries = [];\n // prep the main container\n this.requests = [];\n // is it har?\n if ((0, exports.isHarEntry)(input)) {\n entries = input.log.entries;\n }\n else {\n entries = [\n {\n request: input\n },\n ];\n }\n entries.forEach(function (_a) {\n var _b;\n var request = _a.request;\n // add optional properties to make validation successful\n var req = __assign(__assign({ bodySize: 0, headersSize: 0, headers: [], cookies: [], httpVersion: 'HTTP/1.1', queryString: [] }, request), { postData: (request === null || request === void 0 ? void 0 : request.postData) || {\n mimeType: ((_b = request.postData) === null || _b === void 0 ? void 0 : _b.mimeType) || 'application/octet-stream'\n } });\n if (typeof (req.url) !== 'undefined' && req.url !== null && req.url !== '') {\n // normalize the URL if it contains { or }\n // this is a workaround for the issue in rapidoc where the url contains { or }\n if (req.url.includes('{') || req.url.includes('}')) {\n req.url = req.url.replace(/{/g, '__').replace(/}/g, '__');\n req.url = new URL(req.url).toString();\n }\n }\n if ((0, har_validator_compiled_1.validateRequest)(req)) {\n _this.requests.push(_this.prepare(req));\n }\n });\n }\n return HTTPSnippet;\n}());\nexports.HTTPSnippet = HTTPSnippet;\n//# sourceMappingURL=httpsnippet.js.map","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nexports.__esModule = true;\nexports.targets = exports.isTarget = exports.isClient = exports.addTargetClient = exports.addTarget = exports.isHarEntry = exports.HTTPSnippet = exports.extname = exports.availableTargets = exports.getHeaderName = exports.getHeader = exports.escapeString = exports.CodeBuilder = void 0;\nvar code_builder_1 = require(\"./helpers/code-builder\");\n__createBinding(exports, code_builder_1, \"CodeBuilder\");\nvar escape_1 = require(\"./helpers/escape\");\n__createBinding(exports, escape_1, \"escapeString\");\nvar headers_1 = require(\"./helpers/headers\");\n__createBinding(exports, headers_1, \"getHeader\");\n__createBinding(exports, headers_1, \"getHeaderName\");\nvar utils_1 = require(\"./helpers/utils\");\n__createBinding(exports, utils_1, \"availableTargets\");\n__createBinding(exports, utils_1, \"extname\");\nvar httpsnippet_1 = require(\"./httpsnippet\");\n__createBinding(exports, httpsnippet_1, \"HTTPSnippet\");\n__createBinding(exports, httpsnippet_1, \"isHarEntry\");\nvar targets_1 = require(\"./targets/targets\");\n__createBinding(exports, targets_1, \"addTarget\");\n__createBinding(exports, targets_1, \"addTargetClient\");\n__createBinding(exports, targets_1, \"isClient\");\n__createBinding(exports, targets_1, \"isTarget\");\n__createBinding(exports, targets_1, \"targets\");\n//# sourceMappingURL=index.js.map","\"use strict\";\nexports.__esModule = true;\nexports.libcurl = void 0;\nvar code_builder_1 = require(\"../../../helpers/code-builder\");\nvar escape_1 = require(\"../../../helpers/escape\");\nexports.libcurl = {\n info: {\n key: 'libcurl',\n title: 'Libcurl',\n link: 'http://curl.haxx.se/libcurl',\n description: 'Simple REST and HTTP API Client for C'\n },\n convert: function (_a) {\n var method = _a.method, fullUrl = _a.fullUrl, headersObj = _a.headersObj, allHeaders = _a.allHeaders, postData = _a.postData;\n var _b = new code_builder_1.CodeBuilder(), push = _b.push, blank = _b.blank, join = _b.join;\n push('CURL *hnd = curl_easy_init();');\n blank();\n push(\"curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \\\"\".concat(method.toUpperCase(), \"\\\");\"));\n push(\"curl_easy_setopt(hnd, CURLOPT_URL, \\\"\".concat(fullUrl, \"\\\");\"));\n // Add headers, including the cookies\n var headers = Object.keys(headersObj);\n // construct headers\n if (headers.length) {\n blank();\n push('struct curl_slist *headers = NULL;');\n headers.forEach(function (header) {\n push(\"headers = curl_slist_append(headers, \\\"\".concat(header, \": \").concat((0, escape_1.escapeForDoubleQuotes)(headersObj[header]), \"\\\");\"));\n });\n push('curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);');\n }\n // construct cookies\n if (allHeaders.cookie) {\n blank();\n push(\"curl_easy_setopt(hnd, CURLOPT_COOKIE, \\\"\".concat(allHeaders.cookie, \"\\\");\"));\n }\n if (postData.text) {\n blank();\n push(\"curl_easy_setopt(hnd, CURLOPT_POSTFIELDS, \".concat(JSON.stringify(postData.text), \");\"));\n }\n blank();\n push('CURLcode ret = curl_easy_perform(hnd);');\n return join();\n }\n};\n//# sourceMappingURL=client.js.map","\"use strict\";\nexports.__esModule = true;\nexports.c = void 0;\nvar client_1 = require(\"./libcurl/client\");\nexports.c = {\n info: {\n key: 'c',\n title: 'C',\n extname: '.c',\n \"default\": 'libcurl'\n },\n clientsById: {\n libcurl: client_1.libcurl\n }\n};\n//# sourceMappingURL=target.js.map","\"use strict\";\n/**\n * @description\n * HTTP code snippet generator for Clojure using clj-http.\n *\n * @author\n * @tggreene\n *\n * for any questions or issues regarding the generated code snippet, please open an issue mentioning the author.\n */\nexports.__esModule = true;\nexports.clj_http = void 0;\nvar code_builder_1 = require(\"../../../helpers/code-builder\");\nvar headers_1 = require(\"../../../helpers/headers\");\nvar Keyword = /** @class */ (function () {\n function Keyword(name) {\n var _this = this;\n this.name = '';\n this.toString = function () { return \":\".concat(_this.name); };\n this.name = name;\n }\n return Keyword;\n}());\nvar File = /** @class */ (function () {\n function File(path) {\n var _this = this;\n this.path = '';\n this.toString = function () { return \"(clojure.java.io/file \\\"\".concat(_this.path, \"\\\")\"); };\n this.path = path;\n }\n return File;\n}());\nvar jsType = function (input) {\n if (input === undefined) {\n return null;\n }\n if (input === null) {\n return 'null';\n }\n return input.constructor.name.toLowerCase();\n};\nvar objEmpty = function (input) {\n if (jsType(input) === 'object') {\n return Object.keys(input).length === 0;\n }\n return false;\n};\nvar filterEmpty = function (input) {\n Object.keys(input)\n .filter(function (x) { return objEmpty(input[x]); })\n .forEach(function (x) {\n delete input[x];\n });\n return input;\n};\nvar padBlock = function (padSize, input) {\n var padding = ' '.repeat(padSize);\n return input.replace(/\\n/g, \"\\n\".concat(padding));\n};\nvar jsToEdn = function (js) {\n switch (jsType(js)) {\n case 'string':\n return \"\\\"\".concat(js.replace(/\"/g, '\\\\\"'), \"\\\"\");\n case 'file':\n return js.toString();\n case 'keyword':\n return js.toString();\n case 'null':\n return 'nil';\n case 'regexp':\n return \"#\\\"\".concat(js.source, \"\\\"\");\n case 'object': {\n // simple vertical format\n var obj = Object.keys(js)\n .reduce(function (accumulator, key) {\n var val = padBlock(key.length + 2, jsToEdn(js[key]));\n return \"\".concat(accumulator, \":\").concat(key, \" \").concat(val, \"\\n \");\n }, '')\n .trim();\n return \"{\".concat(padBlock(1, obj), \"}\");\n }\n case 'array': {\n // simple horizontal format\n var arr = js\n .reduce(function (accumulator, value) { return \"\".concat(accumulator, \" \").concat(jsToEdn(value)); }, '')\n .trim();\n return \"[\".concat(padBlock(1, arr), \"]\");\n }\n default: // 'number' 'boolean'\n return js.toString();\n }\n};\nexports.clj_http = {\n info: {\n key: 'clj_http',\n title: 'clj-http',\n link: 'https://github.com/dakrone/clj-http',\n description: 'An idiomatic clojure http client wrapping the apache client.'\n },\n convert: function (_a, options) {\n var queryObj = _a.queryObj, method = _a.method, postData = _a.postData, url = _a.url, allHeaders = _a.allHeaders;\n var _b = new code_builder_1.CodeBuilder({ indent: options === null || options === void 0 ? void 0 : options.indent }), push = _b.push, join = _b.join;\n var methods = ['get', 'post', 'put', 'delete', 'patch', 'head', 'options'];\n method = method.toLowerCase();\n if (!methods.includes(method)) {\n push('Method not supported');\n return join();\n }\n var params = {\n headers: allHeaders,\n 'query-params': queryObj\n };\n switch (postData.mimeType) {\n case 'application/json':\n {\n params['content-type'] = new Keyword('json');\n params['form-params'] = postData.jsonObj;\n var header = (0, headers_1.getHeaderName)(params.headers, 'content-type');\n if (header) {\n delete params.headers[header];\n }\n }\n break;\n case 'application/x-www-form-urlencoded':\n {\n params['form-params'] = postData.paramsObj;\n var header = (0, headers_1.getHeaderName)(params.headers, 'content-type');\n if (header) {\n delete params.headers[header];\n }\n }\n break;\n case 'text/plain':\n {\n params.body = postData.text;\n var header = (0, headers_1.getHeaderName)(params.headers, 'content-type');\n if (header) {\n delete params.headers[header];\n }\n }\n break;\n case 'multipart/form-data': {\n if (postData.params) {\n params.multipart = postData.params.map(function (param) {\n if (param.fileName && !param.value) {\n return {\n name: param.name,\n content: new File(param.fileName)\n };\n }\n return {\n name: param.name,\n content: param.value\n };\n });\n var header = (0, headers_1.getHeaderName)(params.headers, 'content-type');\n if (header) {\n delete params.headers[header];\n }\n }\n break;\n }\n }\n switch ((0, headers_1.getHeader)(params.headers, 'accept')) {\n case 'application/json':\n {\n params.accept = new Keyword('json');\n var header = (0, headers_1.getHeaderName)(params.headers, 'accept');\n if (header) {\n delete params.headers[header];\n }\n }\n break;\n }\n push(\"(require '[clj-http.client :as client])\\n\");\n if (objEmpty(filterEmpty(params))) {\n push(\"(client/\".concat(method, \" \\\"\").concat(url, \"\\\")\"));\n }\n else {\n var padding = 11 + method.length + url.length;\n var formattedParams = padBlock(padding, jsToEdn(filterEmpty(params)));\n push(\"(client/\".concat(method, \" \\\"\").concat(url, \"\\\" \").concat(formattedParams, \")\"));\n }\n return join();\n }\n};\n//# sourceMappingURL=client.js.map","\"use strict\";\nexports.__esModule = true;\nexports.clojure = void 0;\nvar client_1 = require(\"./clj_http/client\");\nexports.clojure = {\n info: {\n key: 'clojure',\n title: 'Clojure',\n extname: '.clj',\n \"default\": 'clj_http'\n },\n clientsById: {\n clj_http: client_1.clj_http\n }\n};\n//# sourceMappingURL=target.js.map","\"use strict\";\nexports.__esModule = true;\nexports.native = void 0;\n/**\n * @description\n * HTTP code snippet generator for native Crystal\n *\n * @author\n * @18183883296\n *\n * for any questions or issues regarding the generated code snippet, please open an issue mentioning the author.\n */\nvar code_builder_1 = require(\"../../../helpers/code-builder\");\nvar escape_1 = require(\"../../../helpers/escape\");\nexports.native = {\n info: {\n key: 'native',\n title: 'http::client',\n link: 'https://crystal-lang.org/api/master/HTTP/Client.html',\n description: 'Crystal HTTP client'\n },\n convert: function (_a, options) {\n var rawMethod = _a.method, fullUrl = _a.fullUrl, postData = _a.postData, allHeaders = _a.allHeaders;\n if (options === void 0) { options = {}; }\n var _b = options.insecureSkipVerify, insecureSkipVerify = _b === void 0 ? false : _b;\n var _c = new code_builder_1.CodeBuilder(), push = _c.push, blank = _c.blank, join = _c.join;\n push('require \"http/client\"');\n blank();\n push(\"url = \\\"\".concat(fullUrl, \"\\\"\"));\n var headers = Object.keys(allHeaders);\n if (headers.length) {\n push('headers = HTTP::Headers{');\n headers.forEach(function (key) {\n push(\" \\\"\".concat(key, \"\\\" => \\\"\").concat((0, escape_1.escapeForDoubleQuotes)(allHeaders[key]), \"\\\"\"));\n });\n push('}');\n }\n if (postData.text) {\n push(\"reqBody = \".concat(JSON.stringify(postData.text)));\n }\n blank();\n var method = rawMethod.toUpperCase();\n var methods = ['GET', 'POST', 'HEAD', 'DELETE', 'PATCH', 'PUT', 'OPTIONS'];\n var headersContext = headers.length ? ', headers: headers' : '';\n var bodyContext = postData.text ? ', body: reqBody' : '';\n var sslContext = insecureSkipVerify ? ', tls: OpenSSL::SSL::Context::Client.insecure' : '';\n if (methods.includes(method)) {\n push(\"response = HTTP::Client.\".concat(method.toLowerCase(), \" url\").concat(headersContext).concat(bodyContext).concat(sslContext));\n }\n else {\n push(\"response = HTTP::Client.exec \\\"\".concat(method, \"\\\", url\").concat(headersContext).concat(bodyContext).concat(sslContext));\n }\n push('puts response.body');\n return join();\n }\n};\n//# sourceMappingURL=client.js.map","\"use strict\";\nexports.__esModule = true;\nexports.crystal = void 0;\nvar client_1 = require(\"./native/client\");\nexports.crystal = {\n info: {\n key: 'crystal',\n title: 'Crystal',\n extname: '.cr',\n \"default\": 'native'\n },\n clientsById: {\n native: client_1.native\n }\n};\n//# sourceMappingURL=target.js.map","\"use strict\";\nvar __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nexports.__esModule = true;\nexports.httpclient = void 0;\nvar code_builder_1 = require(\"../../../helpers/code-builder\");\nvar escape_1 = require(\"../../../helpers/escape\");\nvar headers_1 = require(\"../../../helpers/headers\");\nvar getDecompressionMethods = function (allHeaders) {\n var acceptEncodings = (0, headers_1.getHeader)(allHeaders, 'accept-encoding');\n if (!acceptEncodings) {\n return []; // no decompression\n }\n var supportedMethods = {\n gzip: 'DecompressionMethods.GZip',\n deflate: 'DecompressionMethods.Deflate'\n };\n var methods = [];\n if (typeof acceptEncodings === 'string') {\n acceptEncodings = [acceptEncodings];\n }\n acceptEncodings.forEach(function (acceptEncoding) {\n acceptEncoding.split(',').forEach(function (encoding) {\n var match = /\\s*([^;\\s]+)/.exec(encoding);\n if (match) {\n var method = supportedMethods[match[1]];\n if (method) {\n methods.push(method);\n }\n }\n });\n });\n return methods;\n};\nexports.httpclient = {\n info: {\n key: 'httpclient',\n title: 'HttpClient',\n link: 'https://docs.microsoft.com/en-us/dotnet/api/system.net.http.httpclient',\n description: '.NET Standard HTTP Client'\n },\n convert: function (_a, options) {\n var _b, _c;\n var allHeaders = _a.allHeaders, postData = _a.postData, method = _a.method, fullUrl = _a.fullUrl;\n var opts = __assign({ indent: ' ' }, options);\n var _d = new code_builder_1.CodeBuilder({ indent: opts.indent }), push = _d.push, join = _d.join;\n push('using System.Net.Http.Headers;');\n var clienthandler = '';\n var cookies = Boolean(allHeaders.cookie);\n var decompressionMethods = getDecompressionMethods(allHeaders);\n if (cookies || decompressionMethods.length) {\n clienthandler = 'clientHandler';\n push('var clientHandler = new HttpClientHandler');\n push('{');\n if (cookies) {\n // enable setting the cookie header\n push('UseCookies = false,', 1);\n }\n if (decompressionMethods.length) {\n // enable decompression for supported methods\n push(\"AutomaticDecompression = \".concat(decompressionMethods.join(' | '), \",\"), 1);\n }\n push('};');\n }\n push(\"var client = new HttpClient(\".concat(clienthandler, \");\"));\n push('var request = new HttpRequestMessage');\n push('{');\n var methods = ['GET', 'POST', 'PUT', 'DELETE', 'PATCH', 'HEAD', 'OPTIONS', 'TRACE'];\n method = method.toUpperCase();\n if (method && methods.includes(method)) {\n // buildin method\n method = \"HttpMethod.\".concat(method[0]).concat(method.substring(1).toLowerCase());\n }\n else {\n // custom method\n method = \"new HttpMethod(\\\"\".concat(method, \"\\\")\");\n }\n push(\"Method = \".concat(method, \",\"), 1);\n push(\"RequestUri = new Uri(\\\"\".concat(fullUrl, \"\\\"),\"), 1);\n var headers = Object.keys(allHeaders).filter(function (header) {\n switch (header.toLowerCase()) {\n case 'content-type':\n case 'content-length':\n case 'accept-encoding':\n // skip these headers\n return false;\n default:\n return true;\n }\n });\n if (headers.length) {\n push('Headers =', 1);\n push('{', 1);\n headers.forEach(function (key) {\n push(\"{ \\\"\".concat(key, \"\\\", \\\"\").concat((0, escape_1.escapeForDoubleQuotes)(allHeaders[key]), \"\\\" },\"), 2);\n });\n push('},', 1);\n }\n if (postData.text) {\n var contentType = postData.mimeType;\n switch (contentType) {\n case 'application/x-www-form-urlencoded':\n push('Content = new FormUrlEncodedContent(new Dictionary', 1);\n push('{', 1);\n (_b = postData.params) === null || _b === void 0 ? void 0 : _b.forEach(function (param) {\n push(\"{ \\\"\".concat(param.name, \"\\\", \\\"\").concat(param.value, \"\\\" },\"), 2);\n });\n push('}),', 1);\n break;\n case 'multipart/form-data':\n push('Content = new MultipartFormDataContent', 1);\n push('{', 1);\n (_c = postData.params) === null || _c === void 0 ? void 0 : _c.forEach(function (param) {\n push(\"new StringContent(\".concat(JSON.stringify(param.value || ''), \")\"), 2);\n push('{', 2);\n push('Headers =', 3);\n push('{', 3);\n if (param.contentType) {\n push(\"ContentType = new MediaTypeHeaderValue(\\\"\".concat(param.contentType, \"\\\"),\"), 4);\n }\n push('ContentDisposition = new ContentDispositionHeaderValue(\"form-data\")', 4);\n push('{', 4);\n push(\"Name = \\\"\".concat(param.name, \"\\\",\"), 5);\n if (param.fileName) {\n push(\"FileName = \\\"\".concat(param.fileName, \"\\\",\"), 5);\n }\n push('}', 4);\n push('}', 3);\n push('},', 2);\n });\n push('},', 1);\n break;\n default:\n push(\"Content = new StringContent(\".concat(JSON.stringify(postData.text || ''), \")\"), 1);\n push('{', 1);\n push('Headers =', 2);\n push('{', 2);\n push(\"ContentType = new MediaTypeHeaderValue(\\\"\".concat(contentType, \"\\\")\"), 3);\n push('}', 2);\n push('}', 1);\n break;\n }\n }\n push('};');\n // send and read response\n push('using (var response = await client.SendAsync(request))');\n push('{');\n push('response.EnsureSuccessStatusCode();', 1);\n push('var body = await response.Content.ReadAsStringAsync();', 1);\n push('Console.WriteLine(body);', 1);\n push('}');\n return join();\n }\n};\n//# sourceMappingURL=client.js.map","\"use strict\";\nexports.__esModule = true;\nexports.restsharp = void 0;\nvar code_builder_1 = require(\"../../../helpers/code-builder\");\nvar escape_1 = require(\"../../../helpers/escape\");\nvar headers_1 = require(\"../../../helpers/headers\");\nexports.restsharp = {\n info: {\n key: 'restsharp',\n title: 'RestSharp',\n link: 'http://restsharp.org/',\n description: 'Simple REST and HTTP API Client for .NET'\n },\n convert: function (_a) {\n var allHeaders = _a.allHeaders, method = _a.method, fullUrl = _a.fullUrl, headersObj = _a.headersObj, cookies = _a.cookies, postData = _a.postData;\n var _b = new code_builder_1.CodeBuilder(), push = _b.push, join = _b.join;\n var isSupportedMethod = ['GET', 'POST', 'PUT', 'DELETE', 'PATCH', 'HEAD', 'OPTIONS'].includes(method.toUpperCase());\n if (!isSupportedMethod) {\n return 'Method not supported';\n }\n function toPascalCase(str) {\n return str.replace(/\\w+/g, function (word) { return word.charAt(0).toUpperCase() + word.slice(1).toLowerCase(); });\n }\n push(\"var client = new RestClient(\\\"\".concat(fullUrl, \"\\\");\"));\n push(\"var request = new RestRequest(\\\"\\\", Method.\".concat(toPascalCase(method), \");\"));\n // Add headers, including the cookies\n Object.keys(headersObj).forEach(function (key) {\n push(\"request.AddHeader(\\\"\".concat(key, \"\\\", \\\"\").concat((0, escape_1.escapeForDoubleQuotes)(headersObj[key]), \"\\\");\"));\n });\n cookies.forEach(function (_a) {\n var name = _a.name, value = _a.value;\n push(\"request.AddCookie(\\\"\".concat(name, \"\\\", \\\"\").concat(value, \"\\\");\"));\n });\n if (postData.text) {\n var header = (0, headers_1.getHeader)(allHeaders, 'content-type');\n var text = JSON.stringify(postData.text);\n push(\"request.AddParameter(\\\"\".concat(header, \"\\\", \").concat(text, \", ParameterType.RequestBody);\"));\n }\n push('var response = client.Execute(request);');\n return join();\n }\n};\n//# sourceMappingURL=client.js.map","\"use strict\";\nexports.__esModule = true;\nexports.csharp = void 0;\nvar client_1 = require(\"./httpclient/client\");\nvar client_2 = require(\"./restsharp/client\");\nexports.csharp = {\n info: {\n key: 'csharp',\n title: 'C#',\n extname: '.cs',\n \"default\": 'restsharp'\n },\n clientsById: {\n httpclient: client_1.httpclient,\n restsharp: client_2.restsharp\n }\n};\n//# sourceMappingURL=target.js.map","\"use strict\";\n/**\n * @description\n * HTTP code snippet generator for native Go.\n *\n * @author\n * @montanaflynn\n *\n * for any questions or issues regarding the generated code snippet, please open an issue mentioning the author.\n */\nexports.__esModule = true;\nexports.native = void 0;\nvar code_builder_1 = require(\"../../../helpers/code-builder\");\nvar escape_1 = require(\"../../../helpers/escape\");\nexports.native = {\n info: {\n key: 'native',\n title: 'NewRequest',\n link: 'http://golang.org/pkg/net/http/#NewRequest',\n description: 'Golang HTTP client request'\n },\n convert: function (_a, options) {\n var postData = _a.postData, method = _a.method, allHeaders = _a.allHeaders, fullUrl = _a.fullUrl;\n if (options === void 0) { options = {}; }\n var _b = new code_builder_1.CodeBuilder({ indent: '\\t' }), blank = _b.blank, push = _b.push, join = _b.join;\n var _c = options.showBoilerplate, showBoilerplate = _c === void 0 ? true : _c, _d = options.checkErrors, checkErrors = _d === void 0 ? false : _d, _e = options.printBody, printBody = _e === void 0 ? true : _e, _f = options.timeout, timeout = _f === void 0 ? -1 : _f, _g = options.insecureSkipVerify, insecureSkipVerify = _g === void 0 ? false : _g;\n var errorPlaceholder = checkErrors ? 'err' : '_';\n var indent = showBoilerplate ? 1 : 0;\n var errorCheck = function () {\n if (checkErrors) {\n push('if err != nil {', indent);\n push('panic(err)', indent + 1);\n push('}', indent);\n }\n };\n // Create boilerplate\n if (showBoilerplate) {\n push('package main');\n blank();\n push('import (');\n push('\"fmt\"', indent);\n if (timeout > 0) {\n push('\"time\"', indent);\n }\n if (insecureSkipVerify) {\n push('\"crypto/tls\"', indent);\n }\n if (postData.text) {\n push('\"strings\"', indent);\n }\n push('\"net/http\"', indent);\n if (printBody) {\n push('\"io\"', indent);\n }\n push(')');\n blank();\n push('func main() {');\n blank();\n }\n // Create an insecure transport for the client\n if (insecureSkipVerify) {\n push('insecureTransport := http.DefaultTransport.(*http.Transport).Clone()', indent);\n push('insecureTransport.TLSClientConfig = &tls.Config{InsecureSkipVerify: true}', indent);\n }\n // Create client\n var hasTimeout = timeout > 0;\n var hasClient = hasTimeout || insecureSkipVerify;\n var client = hasClient ? 'client' : 'http.DefaultClient';\n if (hasClient) {\n push('client := http.Client{', indent);\n if (hasTimeout) {\n push(\"Timeout: time.Duration(\".concat(timeout, \" * time.Second),\"), indent + 1);\n }\n if (insecureSkipVerify) {\n push('Transport: insecureTransport,', indent + 1);\n }\n push('}', indent);\n blank();\n }\n push(\"url := \\\"\".concat(fullUrl, \"\\\"\"), indent);\n blank();\n // If we have body content or not create the var and reader or nil\n if (postData.text) {\n push(\"payload := strings.NewReader(\".concat(JSON.stringify(postData.text), \")\"), indent);\n blank();\n push(\"req, \".concat(errorPlaceholder, \" := http.NewRequest(\\\"\").concat(method, \"\\\", url, payload)\"), indent);\n blank();\n }\n else {\n push(\"req, \".concat(errorPlaceholder, \" := http.NewRequest(\\\"\").concat(method, \"\\\", url, nil)\"), indent);\n blank();\n }\n errorCheck();\n // Add headers\n if (Object.keys(allHeaders).length) {\n Object.keys(allHeaders).forEach(function (key) {\n push(\"req.Header.Add(\\\"\".concat(key, \"\\\", \\\"\").concat((0, escape_1.escapeForDoubleQuotes)(allHeaders[key]), \"\\\")\"), indent);\n });\n blank();\n }\n // Make request\n push(\"res, \".concat(errorPlaceholder, \" := \").concat(client, \".Do(req)\"), indent);\n errorCheck();\n // Get Body\n if (printBody) {\n blank();\n push('defer res.Body.Close()', indent);\n push(\"body, \".concat(errorPlaceholder, \" := io.ReadAll(res.Body)\"), indent);\n errorCheck();\n }\n // Print it\n blank();\n push('fmt.Println(res)', indent);\n if (printBody) {\n push('fmt.Println(string(body))', indent);\n }\n // End main block\n if (showBoilerplate) {\n blank();\n push('}');\n }\n return join();\n }\n};\n//# sourceMappingURL=client.js.map","\"use strict\";\nexports.__esModule = true;\nexports.go = void 0;\nvar client_1 = require(\"./native/client\");\nexports.go = {\n info: {\n key: 'go',\n title: 'Go',\n extname: '.go',\n \"default\": 'native'\n },\n clientsById: {\n native: client_1.native\n }\n};\n//# sourceMappingURL=target.js.map","\"use strict\";\n/**\n * @description\n * HTTP code snippet generator to generate raw HTTP/1.1 request strings,\n * in accordance to the RFC 7230 (and RFC 7231) specifications.\n *\n * @author\n * @irvinlim\n *\n * For any questions or issues regarding the generated code snippet, please open an issue mentioning the author.\n */\nvar __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nexports.__esModule = true;\nexports.http11 = void 0;\nvar code_builder_1 = require(\"../../../helpers/code-builder\");\nvar CRLF = '\\r\\n';\n/**\n * Request follows the request message format in accordance to RFC 7230, Section 3.\n * Each section is prepended with the RFC and section number.\n * See more at https://tools.ietf.org/html/rfc7230#section-3.\n */\nexports.http11 = {\n info: {\n key: 'http1.1',\n title: 'HTTP/1.1',\n link: 'https://tools.ietf.org/html/rfc7230',\n description: 'HTTP/1.1 request string in accordance with RFC 7230'\n },\n convert: function (_a, options) {\n var method = _a.method, fullUrl = _a.fullUrl, uriObj = _a.uriObj, httpVersion = _a.httpVersion, allHeaders = _a.allHeaders, postData = _a.postData;\n var opts = __assign({ absoluteURI: false, autoContentLength: true, autoHost: true }, options);\n // RFC 7230 Section 3. Message Format\n // All lines have no indentation, and should be terminated with CRLF.\n var _b = new code_builder_1.CodeBuilder({ indent: '', join: CRLF }), blank = _b.blank, push = _b.push, join = _b.join;\n // RFC 7230 Section 5.3. Request Target\n // Determines if the Request-Line should use 'absolute-form' or 'origin-form'.\n // Basically it means whether the \"http://domain.com\" will prepend the full url.\n var requestUrl = opts.absoluteURI ? fullUrl : uriObj.path;\n // RFC 7230 Section 3.1.1. Request-Line\n push(\"\".concat(method, \" \").concat(requestUrl, \" \").concat(httpVersion));\n var headerKeys = Object.keys(allHeaders);\n // RFC 7231 Section 5. Header Fields\n headerKeys.forEach(function (key) {\n // Capitalize header keys, even though it's not required by the spec.\n var keyCapitalized = key.toLowerCase().replace(/(^|-)(\\w)/g, function (input) { return input.toUpperCase(); });\n push(\"\".concat(keyCapitalized, \": \").concat(allHeaders[key]));\n });\n // RFC 7230 Section 5.4. Host\n // Automatically set Host header if option is on and on header already exists.\n if (opts.autoHost && !headerKeys.includes('host')) {\n push(\"Host: \".concat(uriObj.host));\n }\n // RFC 7230 Section 3.3.3. Message Body Length\n // Automatically set Content-Length header if option is on, postData is present and no header already exists.\n if (opts.autoContentLength && postData.text && !headerKeys.includes('content-length')) {\n var length = Buffer.byteLength(postData.text, 'ascii').toString();\n push(\"Content-Length: \".concat(length));\n }\n // Add extra line after header section.\n blank();\n // Separate header section and message body section.\n var headerSection = join();\n // RFC 7230 Section 3.3. Message Body\n var messageBody = postData.text || '';\n // RFC 7230 Section 3. Message Format\n // Extra CRLF separating the headers from the body.\n return \"\".concat(headerSection).concat(CRLF).concat(messageBody);\n }\n};\n//# sourceMappingURL=client.js.map","\"use strict\";\nexports.__esModule = true;\nexports.http = void 0;\nvar client_1 = require(\"./http1.1/client\");\nexports.http = {\n info: {\n key: 'http',\n title: 'HTTP',\n extname: null,\n \"default\": '1.1'\n },\n clientsById: {\n 'http1.1': client_1.http11\n }\n};\n//# sourceMappingURL=target.js.map","\"use strict\";\n/**\n * @description\n * Asynchronous Http and WebSocket Client library for Java\n *\n * @author\n * @windard\n *\n * for any questions or issues regarding the generated code snippet, please open an issue mentioning the author.\n */\nvar __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nexports.__esModule = true;\nexports.asynchttp = void 0;\nvar code_builder_1 = require(\"../../../helpers/code-builder\");\nvar escape_1 = require(\"../../../helpers/escape\");\nexports.asynchttp = {\n info: {\n key: 'asynchttp',\n title: 'AsyncHttp',\n link: 'https://github.com/AsyncHttpClient/async-http-client',\n description: 'Asynchronous Http and WebSocket Client library for Java'\n },\n convert: function (_a, options) {\n var method = _a.method, allHeaders = _a.allHeaders, postData = _a.postData, fullUrl = _a.fullUrl;\n var opts = __assign({ indent: ' ' }, options);\n var _b = new code_builder_1.CodeBuilder({ indent: opts.indent }), blank = _b.blank, push = _b.push, join = _b.join;\n push('AsyncHttpClient client = new DefaultAsyncHttpClient();');\n push(\"client.prepare(\\\"\".concat(method.toUpperCase(), \"\\\", \\\"\").concat(fullUrl, \"\\\")\"));\n // Add headers, including the cookies\n Object.keys(allHeaders).forEach(function (key) {\n push(\".setHeader(\\\"\".concat(key, \"\\\", \\\"\").concat((0, escape_1.escapeForDoubleQuotes)(allHeaders[key]), \"\\\")\"), 1);\n });\n if (postData.text) {\n push(\".setBody(\".concat(JSON.stringify(postData.text), \")\"), 1);\n }\n push('.execute()', 1);\n push('.toCompletableFuture()', 1);\n push('.thenAccept(System.out::println)', 1);\n push('.join();', 1);\n blank();\n push('client.close();');\n return join();\n }\n};\n//# sourceMappingURL=client.js.map","\"use strict\";\n/**\n * @description\n * HTTP code snippet generator for Java using java.net.http.\n *\n * @author\n * @wtetsu\n *\n * for any questions or issues regarding the generated code snippet, please open an issue mentioning the author.\n */\nvar __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nexports.__esModule = true;\nexports.nethttp = void 0;\nvar code_builder_1 = require(\"../../../helpers/code-builder\");\nvar escape_1 = require(\"../../../helpers/escape\");\nexports.nethttp = {\n info: {\n key: 'nethttp',\n title: 'java.net.http',\n link: 'https://openjdk.java.net/groups/net/httpclient/intro.html',\n description: 'Java Standardized HTTP Client API'\n },\n convert: function (_a, options) {\n var allHeaders = _a.allHeaders, fullUrl = _a.fullUrl, method = _a.method, postData = _a.postData;\n var opts = __assign({ indent: ' ' }, options);\n var _b = new code_builder_1.CodeBuilder({ indent: opts.indent }), push = _b.push, join = _b.join;\n push('HttpRequest request = HttpRequest.newBuilder()');\n push(\".uri(URI.create(\\\"\".concat(fullUrl, \"\\\"))\"), 2);\n Object.keys(allHeaders).forEach(function (key) {\n push(\".header(\\\"\".concat(key, \"\\\", \\\"\").concat((0, escape_1.escapeForDoubleQuotes)(allHeaders[key]), \"\\\")\"), 2);\n });\n if (postData.text) {\n push(\".method(\\\"\".concat(method.toUpperCase(), \"\\\", HttpRequest.BodyPublishers.ofString(\").concat(JSON.stringify(postData.text), \"))\"), 2);\n }\n else {\n push(\".method(\\\"\".concat(method.toUpperCase(), \"\\\", HttpRequest.BodyPublishers.noBody())\"), 2);\n }\n push('.build();', 2);\n push('HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());');\n push('System.out.println(response.body());');\n return join();\n }\n};\n//# sourceMappingURL=client.js.map","\"use strict\";\n/**\n * @description\n * HTTP code snippet generator for Java using OkHttp.\n *\n * @author\n * @shashiranjan84\n *\n * for any questions or issues regarding the generated code snippet, please open an issue mentioning the author.\n */\nvar __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nexports.__esModule = true;\nexports.okhttp = void 0;\nvar code_builder_1 = require(\"../../../helpers/code-builder\");\nvar escape_1 = require(\"../../../helpers/escape\");\nexports.okhttp = {\n info: {\n key: 'okhttp',\n title: 'OkHttp',\n link: 'http://square.github.io/okhttp/',\n description: 'An HTTP Request Client Library'\n },\n convert: function (_a, options) {\n var postData = _a.postData, method = _a.method, fullUrl = _a.fullUrl, allHeaders = _a.allHeaders;\n var opts = __assign({ indent: ' ' }, options);\n var _b = new code_builder_1.CodeBuilder({ indent: opts.indent }), push = _b.push, blank = _b.blank, join = _b.join;\n var methods = ['GET', 'POST', 'PUT', 'DELETE', 'PATCH', 'HEAD'];\n var methodsWithBody = ['POST', 'PUT', 'DELETE', 'PATCH'];\n push('OkHttpClient client = new OkHttpClient();');\n blank();\n if (postData.text) {\n if (postData.boundary) {\n push(\"MediaType mediaType = MediaType.parse(\\\"\".concat(postData.mimeType, \"; boundary=\").concat(postData.boundary, \"\\\");\"));\n }\n else {\n push(\"MediaType mediaType = MediaType.parse(\\\"\".concat(postData.mimeType, \"\\\");\"));\n }\n push(\"RequestBody body = RequestBody.create(mediaType, \".concat(JSON.stringify(postData.text), \");\"));\n }\n push('Request request = new Request.Builder()');\n push(\".url(\\\"\".concat(fullUrl, \"\\\")\"), 1);\n if (!methods.includes(method.toUpperCase())) {\n if (postData.text) {\n push(\".method(\\\"\".concat(method.toUpperCase(), \"\\\", body)\"), 1);\n }\n else {\n push(\".method(\\\"\".concat(method.toUpperCase(), \"\\\", null)\"), 1);\n }\n }\n else if (methodsWithBody.includes(method.toUpperCase())) {\n if (postData.text) {\n push(\".\".concat(method.toLowerCase(), \"(body)\"), 1);\n }\n else {\n push(\".\".concat(method.toLowerCase(), \"(null)\"), 1);\n }\n }\n else {\n push(\".\".concat(method.toLowerCase(), \"()\"), 1);\n }\n // Add headers, including the cookies\n Object.keys(allHeaders).forEach(function (key) {\n push(\".addHeader(\\\"\".concat(key, \"\\\", \\\"\").concat((0, escape_1.escapeForDoubleQuotes)(allHeaders[key]), \"\\\")\"), 1);\n });\n push('.build();', 1);\n blank();\n push('Response response = client.newCall(request).execute();');\n return join();\n }\n};\n//# sourceMappingURL=client.js.map","\"use strict\";\nexports.__esModule = true;\nexports.java = void 0;\nvar client_1 = require(\"./asynchttp/client\");\nvar client_2 = require(\"./nethttp/client\");\nvar client_3 = require(\"./okhttp/client\");\nvar client_4 = require(\"./unirest/client\");\nexports.java = {\n info: {\n key: 'java',\n title: 'Java',\n extname: '.java',\n \"default\": 'unirest'\n },\n clientsById: {\n asynchttp: client_1.asynchttp,\n nethttp: client_2.nethttp,\n okhttp: client_3.okhttp,\n unirest: client_4.unirest\n }\n};\n//# sourceMappingURL=target.js.map","\"use strict\";\n/**\n * @description\n * HTTP code snippet generator for Java using Unirest.\n *\n * @author\n * @shashiranjan84\n *\n * for any questions or issues regarding the generated code snippet, please open an issue mentioning the author.\n */\nvar __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nexports.__esModule = true;\nexports.unirest = void 0;\nvar code_builder_1 = require(\"../../../helpers/code-builder\");\nvar escape_1 = require(\"../../../helpers/escape\");\nexports.unirest = {\n info: {\n key: 'unirest',\n title: 'Unirest',\n link: 'http://unirest.io/java.html',\n description: 'Lightweight HTTP Request Client Library'\n },\n convert: function (_a, options) {\n var method = _a.method, allHeaders = _a.allHeaders, postData = _a.postData, fullUrl = _a.fullUrl;\n var opts = __assign({ indent: ' ' }, options);\n var _b = new code_builder_1.CodeBuilder({ indent: opts.indent }), join = _b.join, push = _b.push;\n var methods = ['GET', 'POST', 'PUT', 'DELETE', 'PATCH', 'HEAD', 'OPTIONS'];\n if (!methods.includes(method.toUpperCase())) {\n push(\"HttpResponse response = Unirest.customMethod(\\\"\".concat(method.toUpperCase(), \"\\\",\\\"\").concat(fullUrl, \"\\\")\"));\n }\n else {\n push(\"HttpResponse response = Unirest.\".concat(method.toLowerCase(), \"(\\\"\").concat(fullUrl, \"\\\")\"));\n }\n // Add headers, including the cookies\n Object.keys(allHeaders).forEach(function (key) {\n push(\".header(\\\"\".concat(key, \"\\\", \\\"\").concat((0, escape_1.escapeForDoubleQuotes)(allHeaders[key]), \"\\\")\"), 1);\n });\n if (postData.text) {\n push(\".body(\".concat(JSON.stringify(postData.text), \")\"), 1);\n }\n push('.asString();', 1);\n return join();\n }\n};\n//# sourceMappingURL=client.js.map","\"use strict\";\n/**\n * @description\n * HTTP code snippet generator for Javascript & Node.js using Axios.\n *\n * @author\n * @rohit-gohri\n *\n * for any questions or issues regarding the generated code snippet, please open an issue mentioning the author.\n */\nvar __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nexports.__esModule = true;\nexports.axios = void 0;\nvar stringify_object_1 = __importDefault(require(\"stringify-object\"));\nvar code_builder_1 = require(\"../../../helpers/code-builder\");\nexports.axios = {\n info: {\n key: 'axios',\n title: 'Axios',\n link: 'https://github.com/axios/axios',\n description: 'Promise based HTTP client for the browser and node.js'\n },\n convert: function (_a, options) {\n var allHeaders = _a.allHeaders, method = _a.method, url = _a.url, queryObj = _a.queryObj, postData = _a.postData;\n var opts = __assign({ indent: ' ' }, options);\n var _b = new code_builder_1.CodeBuilder({ indent: opts.indent }), blank = _b.blank, push = _b.push, join = _b.join, addPostProcessor = _b.addPostProcessor;\n push(\"import axios from 'axios';\");\n blank();\n var requestOptions = {\n method: method,\n url: url\n };\n if (Object.keys(queryObj).length) {\n requestOptions.params = queryObj;\n }\n if (Object.keys(allHeaders).length) {\n requestOptions.headers = allHeaders;\n }\n switch (postData.mimeType) {\n case 'application/x-www-form-urlencoded':\n if (postData.params) {\n push('const encodedParams = new URLSearchParams();');\n postData.params.forEach(function (param) {\n push(\"encodedParams.set('\".concat(param.name, \"', '\").concat(param.value, \"');\"));\n });\n blank();\n requestOptions.data = 'encodedParams,';\n addPostProcessor(function (code) { return code.replace(/'encodedParams,'/, 'encodedParams,'); });\n }\n break;\n case 'application/json':\n if (postData.jsonObj) {\n requestOptions.data = postData.jsonObj;\n }\n break;\n case 'multipart/form-data':\n if (!postData.params) {\n break;\n }\n push('const form = new FormData();');\n postData.params.forEach(function (param) {\n push(\"form.append('\".concat(param.name, \"', '\").concat(param.value || param.fileName || '', \"');\"));\n });\n blank();\n requestOptions.data = '[form]';\n break;\n default:\n if (postData.text) {\n requestOptions.data = postData.text;\n }\n }\n var optionString = (0, stringify_object_1[\"default\"])(requestOptions, {\n indent: ' ',\n inlineCharacterLimit: 80\n }).replace('\"[form]\"', 'form');\n push(\"const options = \".concat(optionString, \";\"));\n blank();\n push('try {');\n push('const { data } = await axios.request(options);', 1);\n push('console.log(data);', 1);\n push('} catch (error) {');\n push('console.error(error);', 1);\n push('}');\n return join();\n }\n};\n//# sourceMappingURL=client.js.map","\"use strict\";\n/**\n * @description\n * HTTP code snippet generator for fetch\n *\n * @author\n * @pmdroid\n *\n * for any questions or issues regarding the generated code snippet, please open an issue mentioning the author.\n */\nvar __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nexports.__esModule = true;\nexports.fetch = void 0;\nvar stringify_object_1 = __importDefault(require(\"stringify-object\"));\nvar code_builder_1 = require(\"../../../helpers/code-builder\");\nvar headers_1 = require(\"../../../helpers/headers\");\nexports.fetch = {\n info: {\n key: 'fetch',\n title: 'fetch',\n link: 'https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API/Using_Fetch',\n description: 'Perform asynchronous HTTP requests with the Fetch API'\n },\n convert: function (_a, inputOpts) {\n var method = _a.method, allHeaders = _a.allHeaders, postData = _a.postData, fullUrl = _a.fullUrl;\n var opts = __assign({ indent: ' ', credentials: null }, inputOpts);\n var _b = new code_builder_1.CodeBuilder({ indent: opts.indent }), blank = _b.blank, join = _b.join, push = _b.push;\n var options = {\n method: method\n };\n if (Object.keys(allHeaders).length) {\n options.headers = allHeaders;\n }\n if (opts.credentials !== null) {\n options.credentials = opts.credentials;\n }\n push(\"const url = '\".concat(fullUrl, \"';\"));\n switch (postData.mimeType) {\n case 'application/x-www-form-urlencoded':\n options.body = postData.paramsObj ? postData.paramsObj : postData.text;\n break;\n case 'application/json':\n options.body = JSON.stringify(postData.jsonObj);\n break;\n case 'multipart/form-data':\n if (!postData.params) {\n break;\n }\n // The FormData API automatically adds a `Content-Type` header for `multipart/form-data` content and if we add our own here data won't be correctly transmitted.\n // eslint-disable-next-line no-case-declarations -- We're only using `contentTypeHeader` within this block.\n var contentTypeHeader = (0, headers_1.getHeaderName)(allHeaders, 'content-type');\n if (contentTypeHeader) {\n delete allHeaders[contentTypeHeader];\n }\n push('const form = new FormData();');\n postData.params.forEach(function (param) {\n push(\"form.append('\".concat(param.name, \"', '\").concat(param.value || param.fileName || '', \"');\"));\n });\n blank();\n break;\n default:\n if (postData.text) {\n options.body = postData.text;\n }\n }\n // If we ultimately don't have any headers to send then we shouldn't add an empty object into the request options.\n if (options.headers && !Object.keys(options.headers).length) {\n delete options.headers;\n }\n push(\"const options = \".concat((0, stringify_object_1[\"default\"])(options, {\n indent: opts.indent,\n inlineCharacterLimit: 80,\n transform: function (_, property, originalResult) {\n if (property === 'body' && postData.mimeType === 'application/x-www-form-urlencoded') {\n return \"new URLSearchParams(\".concat(originalResult, \")\");\n }\n return originalResult;\n }\n }), \";\"));\n blank();\n if (postData.params && postData.mimeType === 'multipart/form-data') {\n push('options.body = form;');\n blank();\n }\n push('try {');\n push(\"const response = await fetch(url, options);\", 1);\n push('const data = await response.json();', 1);\n push('console.log(data);', 1);\n push('} catch (error) {');\n push('console.error(error);', 1);\n push('}');\n return join();\n }\n};\n//# sourceMappingURL=client.js.map","\"use strict\";\n/**\n * @description\n * HTTP code snippet generator for native XMLHttpRequest\n *\n * @author\n * @AhmadNassri\n *\n * for any questions or issues regarding the generated code snippet, please open an issue mentioning the author.\n */\nvar __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nexports.__esModule = true;\nexports.jquery = void 0;\nvar stringify_object_1 = __importDefault(require(\"stringify-object\"));\nvar code_builder_1 = require(\"../../../helpers/code-builder\");\nvar headers_1 = require(\"../../../helpers/headers\");\nexports.jquery = {\n info: {\n key: 'jquery',\n title: 'jQuery',\n link: 'http://api.jquery.com/jquery.ajax/',\n description: 'Perform an asynchronous HTTP (Ajax) requests with jQuery'\n },\n convert: function (_a, options) {\n var _b;\n var fullUrl = _a.fullUrl, method = _a.method, allHeaders = _a.allHeaders, postData = _a.postData;\n var opts = __assign({ indent: ' ' }, options);\n var _c = new code_builder_1.CodeBuilder({ indent: opts.indent }), blank = _c.blank, push = _c.push, join = _c.join;\n var settings = {\n async: true,\n crossDomain: true,\n url: fullUrl,\n method: method,\n headers: allHeaders\n };\n switch (postData.mimeType) {\n case 'application/x-www-form-urlencoded':\n settings.data = postData.paramsObj ? postData.paramsObj : postData.text;\n break;\n case 'application/json':\n settings.processData = false;\n settings.data = postData.text;\n break;\n case 'multipart/form-data':\n if (!postData.params) {\n break;\n }\n push('const form = new FormData();');\n postData.params.forEach(function (param) {\n push(\"form.append('\".concat(param.name, \"', '\").concat(param.value || param.fileName || '', \"');\"));\n });\n settings.processData = false;\n settings.contentType = false;\n settings.mimeType = 'multipart/form-data';\n settings.data = '[form]';\n // remove the contentType header\n if ((0, headers_1.hasHeader)(allHeaders, 'content-type')) {\n if ((_b = (0, headers_1.getHeader)(allHeaders, 'content-type')) === null || _b === void 0 ? void 0 : _b.includes('boundary')) {\n var headerName = (0, headers_1.getHeaderName)(allHeaders, 'content-type');\n if (headerName) {\n delete settings.headers[headerName];\n }\n }\n }\n blank();\n break;\n default:\n if (postData.text) {\n settings.data = postData.text;\n }\n }\n var stringifiedSettings = (0, stringify_object_1[\"default\"])(settings, { indent: opts.indent }).replace(\"'[form]'\", 'form');\n push(\"const settings = \".concat(stringifiedSettings, \";\"));\n blank();\n push('$.ajax(settings).done(function (response) {');\n push('console.log(response);', 1);\n push('});');\n return join();\n }\n};\n//# sourceMappingURL=client.js.map","\"use strict\";\nexports.__esModule = true;\nexports.javascript = void 0;\nvar client_1 = require(\"./axios/client\");\nvar client_2 = require(\"./fetch/client\");\nvar client_3 = require(\"./jquery/client\");\nvar client_4 = require(\"./xhr/client\");\nexports.javascript = {\n info: {\n key: 'javascript',\n title: 'JavaScript',\n extname: '.js',\n \"default\": 'xhr'\n },\n clientsById: {\n xhr: client_4.xhr,\n axios: client_1.axios,\n fetch: client_2.fetch,\n jquery: client_3.jquery\n }\n};\n//# sourceMappingURL=target.js.map","\"use strict\";\n/**\n * @description\n * HTTP code snippet generator for native XMLHttpRequest\n *\n * @author\n * @AhmadNassri\n *\n * for any questions or issues regarding the generated code snippet, please open an issue mentioning the author.\n */\nvar __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nexports.__esModule = true;\nexports.xhr = void 0;\nvar stringify_object_1 = __importDefault(require(\"stringify-object\"));\nvar code_builder_1 = require(\"../../../helpers/code-builder\");\nvar escape_1 = require(\"../../../helpers/escape\");\nvar headers_1 = require(\"../../../helpers/headers\");\nexports.xhr = {\n info: {\n key: 'xhr',\n title: 'XMLHttpRequest',\n link: 'https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest',\n description: 'W3C Standard API that provides scripted client functionality'\n },\n convert: function (_a, options) {\n var _b;\n var postData = _a.postData, allHeaders = _a.allHeaders, method = _a.method, fullUrl = _a.fullUrl;\n var opts = __assign({ indent: ' ', cors: true }, options);\n var _c = new code_builder_1.CodeBuilder({ indent: opts.indent }), blank = _c.blank, push = _c.push, join = _c.join;\n switch (postData.mimeType) {\n case 'application/json':\n push(\"const data = JSON.stringify(\".concat((0, stringify_object_1[\"default\"])(postData.jsonObj, {\n indent: opts.indent\n }), \");\"));\n blank();\n break;\n case 'multipart/form-data':\n if (!postData.params) {\n break;\n }\n push('const data = new FormData();');\n postData.params.forEach(function (param) {\n push(\"data.append('\".concat(param.name, \"', '\").concat(param.value || param.fileName || '', \"');\"));\n });\n // remove the contentType header\n if ((0, headers_1.hasHeader)(allHeaders, 'content-type')) {\n if ((_b = (0, headers_1.getHeader)(allHeaders, 'content-type')) === null || _b === void 0 ? void 0 : _b.includes('boundary')) {\n var headerName = (0, headers_1.getHeaderName)(allHeaders, 'content-type');\n if (headerName) {\n delete allHeaders[headerName];\n }\n }\n }\n blank();\n break;\n default:\n push(\"const data = \".concat(postData.text ? \"'\".concat(postData.text, \"'\") : 'null', \";\"));\n blank();\n }\n push('const xhr = new XMLHttpRequest();');\n if (opts.cors) {\n push('xhr.withCredentials = true;');\n }\n blank();\n push(\"xhr.addEventListener('readystatechange', function () {\");\n push('if (this.readyState === this.DONE) {', 1);\n push('console.log(this.responseText);', 2);\n push('}', 1);\n push('});');\n blank();\n push(\"xhr.open('\".concat(method, \"', '\").concat(fullUrl, \"');\"));\n Object.keys(allHeaders).forEach(function (key) {\n push(\"xhr.setRequestHeader('\".concat(key, \"', '\").concat((0, escape_1.escapeForSingleQuotes)(allHeaders[key]), \"');\"));\n });\n blank();\n push('xhr.send(data);');\n return join();\n }\n};\n//# sourceMappingURL=client.js.map","\"use strict\";\n/**\n * @description\n * HTTP code snippet generator for Kotlin using OkHttp.\n *\n * @author\n * @seanghay\n *\n * for any questions or issues regarding the generated code snippet, please open an issue mentioning the author.\n */\nvar __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nexports.__esModule = true;\nexports.okhttp = void 0;\nvar code_builder_1 = require(\"../../../helpers/code-builder\");\nvar escape_1 = require(\"../../../helpers/escape\");\nexports.okhttp = {\n info: {\n key: 'okhttp',\n title: 'OkHttp',\n link: 'http://square.github.io/okhttp/',\n description: 'An HTTP Request Client Library'\n },\n convert: function (_a, options) {\n var postData = _a.postData, fullUrl = _a.fullUrl, method = _a.method, allHeaders = _a.allHeaders;\n var opts = __assign({ indent: ' ' }, options);\n var _b = new code_builder_1.CodeBuilder({ indent: opts.indent }), blank = _b.blank, join = _b.join, push = _b.push;\n var methods = ['GET', 'POST', 'PUT', 'DELETE', 'PATCH', 'HEAD'];\n var methodsWithBody = ['POST', 'PUT', 'DELETE', 'PATCH'];\n push('val client = OkHttpClient()');\n blank();\n if (postData.text) {\n if (postData.boundary) {\n push(\"val mediaType = MediaType.parse(\\\"\".concat(postData.mimeType, \"; boundary=\").concat(postData.boundary, \"\\\")\"));\n }\n else {\n push(\"val mediaType = MediaType.parse(\\\"\".concat(postData.mimeType, \"\\\")\"));\n }\n push(\"val body = RequestBody.create(mediaType, \".concat(JSON.stringify(postData.text), \")\"));\n }\n push('val request = Request.Builder()');\n push(\".url(\\\"\".concat(fullUrl, \"\\\")\"), 1);\n if (!methods.includes(method.toUpperCase())) {\n if (postData.text) {\n push(\".method(\\\"\".concat(method.toUpperCase(), \"\\\", body)\"), 1);\n }\n else {\n push(\".method(\\\"\".concat(method.toUpperCase(), \"\\\", null)\"), 1);\n }\n }\n else if (methodsWithBody.includes(method.toUpperCase())) {\n if (postData.text) {\n push(\".\".concat(method.toLowerCase(), \"(body)\"), 1);\n }\n else {\n push(\".\".concat(method.toLowerCase(), \"(null)\"), 1);\n }\n }\n else {\n push(\".\".concat(method.toLowerCase(), \"()\"), 1);\n }\n // Add headers, including the cookies\n Object.keys(allHeaders).forEach(function (key) {\n push(\".addHeader(\\\"\".concat(key, \"\\\", \\\"\").concat((0, escape_1.escapeForDoubleQuotes)(allHeaders[key]), \"\\\")\"), 1);\n });\n push('.build()', 1);\n blank();\n push('val response = client.newCall(request).execute()');\n return join();\n }\n};\n//# sourceMappingURL=client.js.map","\"use strict\";\nexports.__esModule = true;\nexports.kotlin = void 0;\nvar client_1 = require(\"./okhttp/client\");\nexports.kotlin = {\n info: {\n key: 'kotlin',\n title: 'Kotlin',\n extname: '.kt',\n \"default\": 'okhttp'\n },\n clientsById: {\n okhttp: client_1.okhttp\n }\n};\n//# sourceMappingURL=target.js.map","\"use strict\";\n/**\n * @description\n * HTTP code snippet generator for Javascript & Node.js using Axios.\n *\n * @author\n * @rohit-gohri\n *\n * for any questions or issues regarding the generated code snippet, please open an issue mentioning the author.\n */\nvar __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nexports.__esModule = true;\nexports.axios = void 0;\nvar stringify_object_1 = __importDefault(require(\"stringify-object\"));\nvar code_builder_1 = require(\"../../../helpers/code-builder\");\nexports.axios = {\n info: {\n key: 'axios',\n title: 'Axios',\n link: 'https://github.com/axios/axios',\n description: 'Promise based HTTP client for the browser and node.js'\n },\n convert: function (_a, options) {\n var method = _a.method, url = _a.url, queryObj = _a.queryObj, allHeaders = _a.allHeaders, postData = _a.postData;\n var opts = __assign({ indent: ' ' }, options);\n var _b = new code_builder_1.CodeBuilder({ indent: opts.indent }), blank = _b.blank, join = _b.join, push = _b.push, addPostProcessor = _b.addPostProcessor;\n push(\"const axios = require('axios').default;\");\n var reqOpts = {\n method: method,\n url: url\n };\n if (Object.keys(queryObj).length) {\n reqOpts.params = queryObj;\n }\n if (Object.keys(allHeaders).length) {\n reqOpts.headers = allHeaders;\n }\n switch (postData.mimeType) {\n case 'application/x-www-form-urlencoded':\n if (postData.params) {\n push(\"const { URLSearchParams } = require('url');\");\n blank();\n push('const encodedParams = new URLSearchParams();');\n postData.params.forEach(function (param) {\n push(\"encodedParams.set('\".concat(param.name, \"', '\").concat(param.value, \"');\"));\n });\n blank();\n reqOpts.data = 'encodedParams,';\n addPostProcessor(function (code) { return code.replace(/'encodedParams,'/, 'encodedParams,'); });\n }\n break;\n case 'application/json':\n blank();\n if (postData.jsonObj) {\n reqOpts.data = postData.jsonObj;\n }\n break;\n default:\n blank();\n if (postData.text) {\n reqOpts.data = postData.text;\n }\n }\n var stringifiedOptions = (0, stringify_object_1[\"default\"])(reqOpts, { indent: ' ', inlineCharacterLimit: 80 });\n push(\"const options = \".concat(stringifiedOptions, \";\"));\n blank();\n push('try {');\n push('const { data } = await axios.request(options);', 1);\n push('console.log(data);', 1);\n push('} catch (error) {');\n push('console.error(error);', 1);\n push('}');\n return join();\n }\n};\n//# sourceMappingURL=client.js.map","\"use strict\";\n/**\n * @description\n * HTTP code snippet generator for Node.js using node-fetch.\n *\n * @author\n * @hirenoble\n *\n * for any questions or issues regarding the generated code snippet, please open an issue mentioning the author.\n */\nvar __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nexports.__esModule = true;\nexports.fetch = void 0;\nvar stringify_object_1 = __importDefault(require(\"stringify-object\"));\nvar code_builder_1 = require(\"../../../helpers/code-builder\");\nvar headers_1 = require(\"../../../helpers/headers\");\nexports.fetch = {\n info: {\n key: 'fetch',\n title: 'Fetch',\n link: 'https://github.com/bitinn/node-fetch',\n description: 'Simplified HTTP node-fetch client'\n },\n convert: function (_a, options) {\n var _b;\n var method = _a.method, fullUrl = _a.fullUrl, postData = _a.postData, headersObj = _a.headersObj, cookies = _a.cookies;\n var opts = __assign({ indent: ' ' }, options);\n var includeFS = false;\n var _c = new code_builder_1.CodeBuilder({ indent: opts.indent }), blank = _c.blank, push = _c.push, join = _c.join, unshift = _c.unshift;\n push(\"const fetch = require('node-fetch');\");\n blank();\n var reqOpts = {\n method: method\n };\n if (Object.keys(headersObj).length) {\n reqOpts.headers = headersObj;\n }\n switch (postData.mimeType) {\n case 'application/x-www-form-urlencoded':\n unshift(\"const { URLSearchParams } = require('url');\");\n push('const encodedParams = new URLSearchParams();');\n (_b = postData.params) === null || _b === void 0 ? void 0 : _b.forEach(function (param) {\n push(\"encodedParams.set('\".concat(param.name, \"', '\").concat(param.value, \"');\"));\n });\n blank();\n reqOpts.body = 'encodedParams';\n break;\n case 'application/json':\n if (postData.jsonObj) {\n reqOpts.body = JSON.stringify(postData.jsonObj);\n }\n break;\n case 'multipart/form-data':\n if (!postData.params) {\n break;\n }\n // The `form-data` module automatically adds a `Content-Type` header for `multipart/form-data` content and if we add our own here data won't be correctly transmitted.\n // eslint-disable-next-line no-case-declarations -- We're only using `contentTypeHeader` within this block.\n var contentTypeHeader = (0, headers_1.getHeaderName)(headersObj, 'content-type');\n if (contentTypeHeader) {\n delete headersObj[contentTypeHeader];\n }\n unshift(\"const FormData = require('form-data');\");\n push('const formData = new FormData();');\n postData.params.forEach(function (param) {\n if (!param.fileName && !param.fileName && !param.contentType) {\n push(\"formData.append('\".concat(param.name, \"', '\").concat(param.value, \"');\"));\n return;\n }\n if (param.fileName) {\n includeFS = true;\n push(\"formData.append('\".concat(param.name, \"', fs.createReadStream('\").concat(param.fileName, \"'));\"));\n }\n });\n blank();\n break;\n default:\n if (postData.text) {\n reqOpts.body = postData.text;\n }\n }\n // construct cookies argument\n if (cookies.length) {\n var cookiesString = cookies\n .map(function (cookie) { return \"\".concat(encodeURIComponent(cookie.name), \"=\").concat(encodeURIComponent(cookie.value)); })\n .join('; ');\n if (reqOpts.headers) {\n reqOpts.headers.cookie = cookiesString;\n }\n else {\n reqOpts.headers = {};\n reqOpts.headers.cookie = cookiesString;\n }\n }\n push(\"const url = '\".concat(fullUrl, \"';\"));\n // If we ultimately don't have any headers to send then we shouldn't add an empty object into the request options.\n if (reqOpts.headers && !Object.keys(reqOpts.headers).length) {\n delete reqOpts.headers;\n }\n var stringifiedOptions = (0, stringify_object_1[\"default\"])(reqOpts, { indent: ' ', inlineCharacterLimit: 80 });\n push(\"const options = \".concat(stringifiedOptions, \";\"));\n if (includeFS) {\n unshift(\"const fs = require('fs');\");\n }\n if (postData.params && postData.mimeType === 'multipart/form-data') {\n push('options.body = formData;');\n }\n blank();\n push('try {');\n push(\"const response = await fetch(url, options);\", 1);\n push('const data = await response.json();', 1);\n push('console.log(data);', 1);\n push('} catch (error) {');\n push('console.error(error);', 1);\n push('}');\n return join()\n .replace(/'encodedParams'/, 'encodedParams')\n .replace(/\"fs\\.createReadStream\\(\\\\\"(.+)\\\\\"\\)\"/, 'fs.createReadStream(\"$1\")');\n }\n};\n//# sourceMappingURL=client.js.map","\"use strict\";\n/**\n * @description\n * HTTP code snippet generator for native Node.js.\n *\n * @author\n * @AhmadNassri\n *\n * for any questions or issues regarding the generated code snippet, please open an issue mentioning the author.\n */\nvar __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nexports.__esModule = true;\nexports.native = void 0;\nvar stringify_object_1 = __importDefault(require(\"stringify-object\"));\nvar code_builder_1 = require(\"../../../helpers/code-builder\");\nexports.native = {\n info: {\n key: 'native',\n title: 'HTTP',\n link: 'http://nodejs.org/api/http.html#http_http_request_options_callback',\n description: 'Node.js native HTTP interface'\n },\n convert: function (_a, options) {\n var uriObj = _a.uriObj, method = _a.method, allHeaders = _a.allHeaders, postData = _a.postData;\n if (options === void 0) { options = {}; }\n var _b = options.indent, indent = _b === void 0 ? ' ' : _b, _c = options.insecureSkipVerify, insecureSkipVerify = _c === void 0 ? false : _c;\n var _d = new code_builder_1.CodeBuilder({ indent: indent }), blank = _d.blank, join = _d.join, push = _d.push, unshift = _d.unshift;\n var reqOpts = __assign({ method: method, hostname: uriObj.hostname, port: uriObj.port, path: uriObj.path, headers: allHeaders }, (insecureSkipVerify ? { rejectUnauthorized: false } : {}));\n // @ts-expect-error TODO seems like a legit error\n push(\"const http = require('\".concat(uriObj.protocol.replace(':', ''), \"');\"));\n blank();\n push(\"const options = \".concat((0, stringify_object_1[\"default\"])(reqOpts, { indent: indent }), \";\"));\n blank();\n push('const req = http.request(options, function (res) {');\n push('const chunks = [];', 1);\n blank();\n push(\"res.on('data', function (chunk) {\", 1);\n push('chunks.push(chunk);', 2);\n push('});', 1);\n blank();\n push(\"res.on('end', function () {\", 1);\n push('const body = Buffer.concat(chunks);', 2);\n push('console.log(body.toString());', 2);\n push('});', 1);\n push('});');\n blank();\n switch (postData.mimeType) {\n case 'application/x-www-form-urlencoded':\n if (postData.paramsObj) {\n unshift(\"const qs = require('querystring');\");\n push(\"req.write(qs.stringify(\".concat((0, stringify_object_1[\"default\"])(postData.paramsObj, {\n indent: ' ',\n inlineCharacterLimit: 80\n }), \"));\"));\n }\n break;\n case 'application/json':\n if (postData.jsonObj) {\n push(\"req.write(JSON.stringify(\".concat((0, stringify_object_1[\"default\"])(postData.jsonObj, {\n indent: ' ',\n inlineCharacterLimit: 80\n }), \"));\"));\n }\n break;\n default:\n if (postData.text) {\n push(\"req.write(\".concat((0, stringify_object_1[\"default\"])(postData.text, { indent: indent }), \");\"));\n }\n }\n push('req.end();');\n return join();\n }\n};\n//# sourceMappingURL=client.js.map","\"use strict\";\n/**\n * @description\n * HTTP code snippet generator for Node.js using Request.\n *\n * @author\n * @AhmadNassri\n *\n * for any questions or issues regarding the generated code snippet, please open an issue mentioning the author.\n */\nvar __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nexports.__esModule = true;\nexports.request = void 0;\nvar stringify_object_1 = __importDefault(require(\"stringify-object\"));\nvar code_builder_1 = require(\"../../../helpers/code-builder\");\nexports.request = {\n info: {\n key: 'request',\n title: 'Request',\n link: 'https://github.com/request/request',\n description: 'Simplified HTTP request client'\n },\n convert: function (_a, options) {\n var method = _a.method, url = _a.url, queryObj = _a.queryObj, postData = _a.postData, headersObj = _a.headersObj, cookies = _a.cookies;\n var opts = __assign({ indent: ' ' }, options);\n var includeFS = false;\n var _b = new code_builder_1.CodeBuilder({ indent: opts.indent }), push = _b.push, blank = _b.blank, join = _b.join, unshift = _b.unshift;\n push(\"const request = require('request');\");\n blank();\n var reqOpts = {\n method: method,\n url: url\n };\n if (Object.keys(queryObj).length) {\n reqOpts.qs = queryObj;\n }\n if (Object.keys(headersObj).length) {\n reqOpts.headers = headersObj;\n }\n switch (postData.mimeType) {\n case 'application/x-www-form-urlencoded':\n reqOpts.form = postData.paramsObj;\n break;\n case 'application/json':\n if (postData.jsonObj) {\n reqOpts.body = postData.jsonObj;\n reqOpts.json = true;\n }\n break;\n case 'multipart/form-data':\n if (!postData.params) {\n break;\n }\n reqOpts.formData = {};\n postData.params.forEach(function (param) {\n if (!param.fileName && !param.fileName && !param.contentType) {\n reqOpts.formData[param.name] = param.value;\n return;\n }\n var attachment = {};\n if (param.fileName) {\n includeFS = true;\n attachment = {\n value: \"fs.createReadStream(\".concat(param.fileName, \")\"),\n options: {\n filename: param.fileName,\n contentType: param.contentType ? param.contentType : null\n }\n };\n }\n else if (param.value) {\n attachment.value = param.value;\n }\n reqOpts.formData[param.name] = attachment;\n });\n break;\n default:\n if (postData.text) {\n reqOpts.body = postData.text;\n }\n }\n // construct cookies argument\n if (cookies.length) {\n reqOpts.jar = 'JAR';\n push('const jar = request.jar();');\n cookies.forEach(function (cookie) {\n push(\"jar.setCookie(request.cookie('\".concat(encodeURIComponent(cookie.name), \"=\").concat(encodeURIComponent(cookie.value), \"'), '\").concat(url, \"');\"));\n });\n blank();\n }\n if (includeFS) {\n unshift(\"const fs = require('fs');\");\n }\n push(\"const options = \".concat((0, stringify_object_1[\"default\"])(reqOpts, { indent: ' ', inlineCharacterLimit: 80 }), \";\"));\n blank();\n push('request(options, function (error, response, body) {');\n push('if (error) throw new Error(error);', 1);\n blank();\n push('console.log(body);', 1);\n push('});');\n return join()\n .replace(\"'JAR'\", 'jar')\n .replace(/'fs\\.createReadStream\\((.*)\\)'/, \"fs.createReadStream('$1')\");\n }\n};\n//# sourceMappingURL=client.js.map","\"use strict\";\nexports.__esModule = true;\nexports.node = void 0;\nvar client_1 = require(\"./axios/client\");\nvar client_2 = require(\"./fetch/client\");\nvar client_3 = require(\"./native/client\");\nvar client_4 = require(\"./request/client\");\nvar client_5 = require(\"./unirest/client\");\nexports.node = {\n info: {\n key: 'node',\n title: 'Node.js',\n extname: '.js',\n \"default\": 'native'\n },\n clientsById: {\n native: client_3.native,\n request: client_4.request,\n unirest: client_5.unirest,\n axios: client_1.axios,\n fetch: client_2.fetch\n }\n};\n//# sourceMappingURL=target.js.map","\"use strict\";\n/**\n * @description\n * HTTP code snippet generator for Node.js using Unirest.\n *\n * @author\n * @AhmadNassri\n *\n * for any questions or issues regarding the generated code snippet, please open an issue mentioning the author.\n */\nvar __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nexports.__esModule = true;\nexports.unirest = void 0;\nvar stringify_object_1 = __importDefault(require(\"stringify-object\"));\nvar code_builder_1 = require(\"../../../helpers/code-builder\");\nexports.unirest = {\n info: {\n key: 'unirest',\n title: 'Unirest',\n link: 'http://unirest.io/nodejs.html',\n description: 'Lightweight HTTP Request Client Library'\n },\n convert: function (_a, options) {\n var method = _a.method, url = _a.url, cookies = _a.cookies, queryObj = _a.queryObj, postData = _a.postData, headersObj = _a.headersObj;\n var opts = __assign({ indent: ' ' }, options);\n var includeFS = false;\n var _b = new code_builder_1.CodeBuilder({\n indent: opts.indent\n }), addPostProcessor = _b.addPostProcessor, blank = _b.blank, join = _b.join, push = _b.push, unshift = _b.unshift;\n push(\"const unirest = require('unirest');\");\n blank();\n push(\"const req = unirest('\".concat(method, \"', '\").concat(url, \"');\"));\n blank();\n if (cookies.length) {\n push('const CookieJar = unirest.jar();');\n cookies.forEach(function (cookie) {\n push(\"CookieJar.add('\".concat(encodeURIComponent(cookie.name), \"=\").concat(encodeURIComponent(cookie.value), \"', '\").concat(url, \"');\"));\n });\n push('req.jar(CookieJar);');\n blank();\n }\n if (Object.keys(queryObj).length) {\n push(\"req.query(\".concat((0, stringify_object_1[\"default\"])(queryObj, { indent: opts.indent }), \");\"));\n blank();\n }\n if (Object.keys(headersObj).length) {\n push(\"req.headers(\".concat((0, stringify_object_1[\"default\"])(headersObj, { indent: opts.indent }), \");\"));\n blank();\n }\n switch (postData.mimeType) {\n case 'application/x-www-form-urlencoded':\n if (postData.paramsObj) {\n push(\"req.form(\".concat((0, stringify_object_1[\"default\"])(postData.paramsObj, { indent: opts.indent }), \");\"));\n blank();\n }\n break;\n case 'application/json':\n if (postData.jsonObj) {\n push(\"req.type('json');\");\n push(\"req.send(\".concat((0, stringify_object_1[\"default\"])(postData.jsonObj, { indent: opts.indent }), \");\"));\n blank();\n }\n break;\n case 'multipart/form-data': {\n if (!postData.params) {\n break;\n }\n var multipart_1 = [];\n postData.params.forEach(function (param) {\n var part = {};\n if (param.fileName && !param.value) {\n includeFS = true;\n part.body = \"fs.createReadStream('\".concat(param.fileName, \"')\");\n addPostProcessor(function (code) {\n return code.replace(/'fs\\.createReadStream\\(\\\\'(.+)\\\\'\\)'/, \"fs.createReadStream('$1')\");\n });\n }\n else if (param.value) {\n part.body = param.value;\n }\n if (part.body) {\n if (param.contentType) {\n part['content-type'] = param.contentType;\n }\n multipart_1.push(part);\n }\n });\n push(\"req.multipart(\".concat((0, stringify_object_1[\"default\"])(multipart_1, { indent: opts.indent }), \");\"));\n blank();\n break;\n }\n default:\n if (postData.text) {\n push(\"req.send(\".concat((0, stringify_object_1[\"default\"])(postData.text, { indent: opts.indent }), \");\"));\n blank();\n }\n }\n if (includeFS) {\n unshift(\"const fs = require('fs');\");\n }\n push('req.end(function (res) {');\n push('if (res.error) throw new Error(res.error);', 1);\n blank();\n push('console.log(res.body);', 1);\n push('});');\n return join();\n }\n};\n//# sourceMappingURL=client.js.map","\"use strict\";\nexports.__esModule = true;\nexports.literalRepresentation = exports.nsDeclaration = void 0;\n/**\n * Create a string corresponding to a valid declaration and initialization of an Objective-C object literal.\n *\n * @param nsClass Class of the litteral\n * @param name Desired name of the instance\n * @param parameters Key-value object of parameters to translate to an Objective-C object litearal\n * @param indent If true, will declare the litteral by indenting each new key/value pair.\n * @return A valid Objective-C declaration and initialization of an Objective-C object litteral.\n *\n * @example\n * nsDeclaration('NSDictionary', 'params', {a: 'b', c: 'd'}, true)\n * // returns:\n * NSDictionary *params = @{ @\"a\": @\"b\",\n * @\"c\": @\"d\" };\n *\n * nsDeclaration('NSDictionary', 'params', {a: 'b', c: 'd'})\n * // returns:\n * NSDictionary *params = @{ @\"a\": @\"b\", @\"c\": @\"d\" };\n */\nvar nsDeclaration = function (nsClass, name, parameters, indent) {\n var opening = \"\".concat(nsClass, \" *\").concat(name, \" = \");\n var literal = (0, exports.literalRepresentation)(parameters, indent ? opening.length : undefined);\n return \"\".concat(opening).concat(literal, \";\");\n};\nexports.nsDeclaration = nsDeclaration;\n/**\n * Create a valid Objective-C string of a literal value according to its type.\n *\n * @param value Any JavaScript literal\n */\nvar literalRepresentation = function (value, indentation) {\n var join = indentation === undefined ? ', ' : \",\\n \".concat(' '.repeat(indentation));\n switch (Object.prototype.toString.call(value)) {\n case '[object Number]':\n return \"@\".concat(value);\n case '[object Array]': {\n var valuesRepresentation = value.map(function (value) { return (0, exports.literalRepresentation)(value); });\n return \"@[ \".concat(valuesRepresentation.join(join), \" ]\");\n }\n case '[object Object]': {\n var keyValuePairs = [];\n for (var key in value) {\n keyValuePairs.push(\"@\\\"\".concat(key, \"\\\": \").concat((0, exports.literalRepresentation)(value[key])));\n }\n return \"@{ \".concat(keyValuePairs.join(join), \" }\");\n }\n case '[object Boolean]':\n return value ? '@YES' : '@NO';\n default:\n if (value === null || value === undefined) {\n return '';\n }\n return \"@\\\"\".concat(value.toString().replace(/\"/g, '\\\\\"'), \"\\\"\");\n }\n};\nexports.literalRepresentation = literalRepresentation;\n//# sourceMappingURL=helpers.js.map","\"use strict\";\n/**\n * @description\n * HTTP code snippet generator for Objective-C using NSURLSession.\n *\n * @author\n * @thibaultCha\n *\n * for any questions or issues regarding the generated code snippet, please open an issue mentioning the author.\n */\nvar __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nvar __read = (this && this.__read) || function (o, n) {\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o), r, ar = [], e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n};\nexports.__esModule = true;\nexports.nsurlsession = void 0;\nvar code_builder_1 = require(\"../../../helpers/code-builder\");\nvar helpers_1 = require(\"../helpers\");\nexports.nsurlsession = {\n info: {\n key: 'nsurlsession',\n title: 'NSURLSession',\n link: 'https://developer.apple.com/library/mac/documentation/Foundation/Reference/NSURLSession_class/index.html',\n description: \"Foundation's NSURLSession request\"\n },\n convert: function (_a, options) {\n var _b;\n var allHeaders = _a.allHeaders, postData = _a.postData, method = _a.method, fullUrl = _a.fullUrl;\n var opts = __assign({ indent: ' ', pretty: true, timeout: 10 }, options);\n var _c = new code_builder_1.CodeBuilder({ indent: opts.indent }), push = _c.push, join = _c.join, blank = _c.blank;\n // Markers for headers to be created as literal objects and later be set on the NSURLRequest if exist\n var req = {\n hasHeaders: false,\n hasBody: false\n };\n // We just want to make sure people understand that is the only dependency\n push('#import ');\n if (Object.keys(allHeaders).length) {\n req.hasHeaders = true;\n blank();\n push((0, helpers_1.nsDeclaration)('NSDictionary', 'headers', allHeaders, opts.pretty));\n }\n if (postData.text || postData.jsonObj || postData.params) {\n req.hasBody = true;\n switch (postData.mimeType) {\n case 'application/x-www-form-urlencoded':\n if ((_b = postData.params) === null || _b === void 0 ? void 0 : _b.length) {\n // By appending parameters one by one in the resulting snippet,\n // we make it easier for the user to edit it according to his or her needs after pasting.\n // The user can just add/remove lines adding/removing body parameters.\n blank();\n var _d = __read(postData.params), head = _d[0], tail = _d.slice(1);\n push(\"NSMutableData *postData = [[NSMutableData alloc] initWithData:[@\\\"\".concat(head.name, \"=\").concat(head.value, \"\\\" dataUsingEncoding:NSUTF8StringEncoding]];\"));\n tail.forEach(function (_a) {\n var name = _a.name, value = _a.value;\n push(\"[postData appendData:[@\\\"&\".concat(name, \"=\").concat(value, \"\\\" dataUsingEncoding:NSUTF8StringEncoding]];\"));\n });\n }\n else {\n req.hasBody = false;\n }\n break;\n case 'application/json':\n if (postData.jsonObj) {\n push((0, helpers_1.nsDeclaration)('NSDictionary', 'parameters', postData.jsonObj, opts.pretty));\n blank();\n push('NSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];');\n }\n break;\n case 'multipart/form-data':\n // By appending multipart parameters one by one in the resulting snippet,\n // we make it easier for the user to edit it according to his or her needs after pasting.\n // The user can just edit the parameters NSDictionary or put this part of a snippet in a multipart builder method.\n push((0, helpers_1.nsDeclaration)('NSArray', 'parameters', postData.params || [], opts.pretty));\n push(\"NSString *boundary = @\\\"\".concat(postData.boundary, \"\\\";\"));\n blank();\n push('NSError *error;');\n push('NSMutableString *body = [NSMutableString string];');\n push('for (NSDictionary *param in parameters) {');\n push('[body appendFormat:@\"--%@\\\\r\\\\n\", boundary];', 1);\n push('if (param[@\"fileName\"]) {', 1);\n push('[body appendFormat:@\"Content-Disposition:form-data; name=\\\\\"%@\\\\\"; filename=\\\\\"%@\\\\\"\\\\r\\\\n\", param[@\"name\"], param[@\"fileName\"]];', 2);\n push('[body appendFormat:@\"Content-Type: %@\\\\r\\\\n\\\\r\\\\n\", param[@\"contentType\"]];', 2);\n push('[body appendFormat:@\"%@\", [NSString stringWithContentsOfFile:param[@\"fileName\"] encoding:NSUTF8StringEncoding error:&error]];', 2);\n push('if (error) {', 2);\n push('NSLog(@\"%@\", error);', 3);\n push('}', 2);\n push('} else {', 1);\n push('[body appendFormat:@\"Content-Disposition:form-data; name=\\\\\"%@\\\\\"\\\\r\\\\n\\\\r\\\\n\", param[@\"name\"]];', 2);\n push('[body appendFormat:@\"%@\", param[@\"value\"]];', 2);\n push('}', 1);\n push('}');\n push('[body appendFormat:@\"\\\\r\\\\n--%@--\\\\r\\\\n\", boundary];');\n push('NSData *postData = [body dataUsingEncoding:NSUTF8StringEncoding];');\n break;\n default:\n blank();\n push(\"NSData *postData = [[NSData alloc] initWithData:[@\\\"\".concat(postData.text, \"\\\" dataUsingEncoding:NSUTF8StringEncoding]];\"));\n }\n }\n blank();\n push(\"NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\\\"\".concat(fullUrl, \"\\\"]\"));\n // NSURLRequestUseProtocolCachePolicy is the default policy, let's just always set it to avoid confusion.\n push(' cachePolicy:NSURLRequestUseProtocolCachePolicy');\n push(\" timeoutInterval:\".concat(opts.timeout.toFixed(1), \"];\"));\n push(\"[request setHTTPMethod:@\\\"\".concat(method, \"\\\"];\"));\n if (req.hasHeaders) {\n push('[request setAllHTTPHeaderFields:headers];');\n }\n if (req.hasBody) {\n push('[request setHTTPBody:postData];');\n }\n blank();\n // Retrieving the shared session will be less verbose than creating a new one.\n push('NSURLSession *session = [NSURLSession sharedSession];');\n push('NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request');\n push(' completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {');\n push(' if (error) {', 1);\n push(' NSLog(@\"%@\", error);', 2);\n push(' } else {', 1);\n // Casting the NSURLResponse to NSHTTPURLResponse so the user can see the status .\n push(' NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;', 2);\n push(' NSLog(@\"%@\", httpResponse);', 2);\n push(' }', 1);\n push(' }];');\n push('[dataTask resume];');\n return join();\n }\n};\n//# sourceMappingURL=client.js.map","\"use strict\";\nexports.__esModule = true;\nexports.objc = void 0;\nvar client_1 = require(\"./nsurlsession/client\");\nexports.objc = {\n info: {\n key: 'objc',\n title: 'Objective-C',\n extname: '.m',\n \"default\": 'nsurlsession'\n },\n clientsById: {\n nsurlsession: client_1.nsurlsession\n }\n};\n//# sourceMappingURL=target.js.map","\"use strict\";\n/**\n * @description\n * HTTP code snippet generator for OCaml using CoHTTP.\n *\n * @author\n * @SGrondin\n *\n * for any questions or issues regarding the generated code snippet, please open an issue mentioning the author.\n */\nvar __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nexports.__esModule = true;\nexports.cohttp = void 0;\nvar code_builder_1 = require(\"../../../helpers/code-builder\");\nvar escape_1 = require(\"../../../helpers/escape\");\nexports.cohttp = {\n info: {\n key: 'cohttp',\n title: 'CoHTTP',\n link: 'https://github.com/mirage/ocaml-cohttp',\n description: 'Cohttp is a very lightweight HTTP server using Lwt or Async for OCaml'\n },\n convert: function (_a, options) {\n var fullUrl = _a.fullUrl, allHeaders = _a.allHeaders, postData = _a.postData, method = _a.method;\n var opts = __assign({ indent: ' ' }, options);\n var methods = ['get', 'post', 'head', 'delete', 'patch', 'put', 'options'];\n var _b = new code_builder_1.CodeBuilder({ indent: opts.indent }), push = _b.push, blank = _b.blank, join = _b.join;\n push('open Cohttp_lwt_unix');\n push('open Cohttp');\n push('open Lwt');\n blank();\n push(\"let uri = Uri.of_string \\\"\".concat(fullUrl, \"\\\" in\"));\n // Add headers, including the cookies\n var headers = Object.keys(allHeaders);\n if (headers.length === 1) {\n push(\"let headers = Header.add (Header.init ()) \\\"\".concat(headers[0], \"\\\" \\\"\").concat((0, escape_1.escapeForDoubleQuotes)(allHeaders[headers[0]]), \"\\\" in\"));\n }\n else if (headers.length > 1) {\n push('let headers = Header.add_list (Header.init ()) [');\n headers.forEach(function (key) {\n push(\"(\\\"\".concat(key, \"\\\", \\\"\").concat((0, escape_1.escapeForDoubleQuotes)(allHeaders[key]), \"\\\");\"), 1);\n });\n push('] in');\n }\n // Add body\n if (postData.text) {\n // Just text\n push(\"let body = Cohttp_lwt_body.of_string \".concat(JSON.stringify(postData.text), \" in\"));\n }\n // Do the request\n blank();\n var h = headers.length ? '~headers ' : '';\n var b = postData.text ? '~body ' : '';\n var m = methods.includes(method.toLowerCase())\n ? \"`\".concat(method.toUpperCase())\n : \"(Code.method_of_string \\\"\".concat(method, \"\\\")\");\n push(\"Client.call \".concat(h).concat(b).concat(m, \" uri\"));\n // Catch result\n push('>>= fun (res, body_stream) ->');\n push('(* Do stuff with the result *)', 1);\n return join();\n }\n};\n//# sourceMappingURL=client.js.map","\"use strict\";\nexports.__esModule = true;\nexports.ocaml = void 0;\nvar client_1 = require(\"./cohttp/client\");\nexports.ocaml = {\n info: {\n key: 'ocaml',\n title: 'OCaml',\n extname: '.ml',\n \"default\": 'cohttp'\n },\n clientsById: {\n cohttp: client_1.cohttp\n }\n};\n//# sourceMappingURL=target.js.map","\"use strict\";\n/**\n * @description\n * HTTP code snippet generator for PHP using curl-ext.\n *\n * @author\n * @AhmadNassri\n *\n * for any questions or issues regarding the generated code snippet, please open an issue mentioning the author.\n */\nexports.__esModule = true;\nexports.curl = void 0;\nvar code_builder_1 = require(\"../../../helpers/code-builder\");\nvar escape_1 = require(\"../../../helpers/escape\");\nvar helpers_1 = require(\"../helpers\");\nexports.curl = {\n info: {\n key: 'curl',\n title: 'cURL',\n link: 'http://php.net/manual/en/book.curl.php',\n description: 'PHP with ext-curl'\n },\n convert: function (_a, options) {\n var uriObj = _a.uriObj, postData = _a.postData, fullUrl = _a.fullUrl, method = _a.method, httpVersion = _a.httpVersion, cookies = _a.cookies, headersObj = _a.headersObj;\n if (options === void 0) { options = {}; }\n var _b = options.closingTag, closingTag = _b === void 0 ? false : _b, _c = options.indent, indent = _c === void 0 ? ' ' : _c, _d = options.maxRedirects, maxRedirects = _d === void 0 ? 10 : _d, _e = options.namedErrors, namedErrors = _e === void 0 ? false : _e, _f = options.noTags, noTags = _f === void 0 ? false : _f, _g = options.shortTags, shortTags = _g === void 0 ? false : _g, _h = options.timeout, timeout = _h === void 0 ? 30 : _h;\n var _j = new code_builder_1.CodeBuilder({ indent: indent }), push = _j.push, blank = _j.blank, join = _j.join;\n if (!noTags) {\n push(shortTags ? ' \").concat(escape ? JSON.stringify(value) : value, \",\"));\n }\n });\n // construct cookies\n var curlCookies = cookies.map(function (cookie) { return \"\".concat(encodeURIComponent(cookie.name), \"=\").concat(encodeURIComponent(cookie.value)); });\n if (curlCookies.length) {\n curlopts.push(\"CURLOPT_COOKIE => \\\"\".concat(curlCookies.join('; '), \"\\\",\"));\n }\n // construct cookies\n var headers = Object.keys(headersObj)\n .sort()\n .map(function (key) { return \"\\\"\".concat(key, \": \").concat((0, escape_1.escapeForDoubleQuotes)(headersObj[key]), \"\\\"\"); });\n if (headers.length) {\n curlopts.push('CURLOPT_HTTPHEADER => [');\n curlopts.push(headers.join(\",\\n\".concat(indent).concat(indent)), 1);\n curlopts.push('],');\n }\n push(curlopts.join(), 1);\n push(']);');\n blank();\n push('$response = curl_exec($curl);');\n push('$err = curl_error($curl);');\n blank();\n push('curl_close($curl);');\n blank();\n push('if ($err) {');\n if (namedErrors) {\n push('echo array_flip(get_defined_constants(true)[\"curl\"])[$err];', 1);\n }\n else {\n push('echo \"cURL Error #:\" . $err;', 1);\n }\n push('} else {');\n push('echo $response;', 1);\n push('}');\n if (!noTags && closingTag) {\n blank();\n push('?>');\n }\n return join();\n }\n};\n//# sourceMappingURL=client.js.map","\"use strict\";\n/**\n * @description\n * HTTP code snippet generator for PHP using Guzzle.\n *\n * @author @RobertoArruda\n * @author @erunion\n *\n * for any questions or issues regarding the generated code snippet, please open an issue mentioning the author.\n */\nvar __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nexports.__esModule = true;\nexports.guzzle = void 0;\nvar code_builder_1 = require(\"../../../helpers/code-builder\");\nvar escape_1 = require(\"../../../helpers/escape\");\nvar headers_1 = require(\"../../../helpers/headers\");\nvar helpers_1 = require(\"../helpers\");\nexports.guzzle = {\n info: {\n key: 'guzzle',\n title: 'Guzzle',\n link: 'http://docs.guzzlephp.org/en/stable/',\n description: 'PHP with Guzzle'\n },\n convert: function (_a, options) {\n var _b;\n var postData = _a.postData, fullUrl = _a.fullUrl, method = _a.method, cookies = _a.cookies, headersObj = _a.headersObj;\n var opts = __assign({ closingTag: false, indent: ' ', noTags: false, shortTags: false }, options);\n var _c = new code_builder_1.CodeBuilder({ indent: opts.indent }), push = _c.push, blank = _c.blank, join = _c.join;\n var _d = new code_builder_1.CodeBuilder({ indent: opts.indent }), requestCode = _d.code, requestPush = _d.push, requestJoin = _d.join;\n if (!opts.noTags) {\n push(opts.shortTags ? ' \".concat((0, helpers_1.convertType)(postData.paramsObj, opts.indent + opts.indent, opts.indent), \",\"), 1);\n break;\n case 'multipart/form-data': {\n var fields_1 = [];\n if (postData.params) {\n postData.params.forEach(function (param) {\n if (param.fileName) {\n var field = {\n name: param.name,\n filename: param.fileName,\n contents: param.value\n };\n if (param.contentType) {\n field.headers = { 'Content-Type': param.contentType };\n }\n fields_1.push(field);\n }\n else if (param.value) {\n fields_1.push({\n name: param.name,\n contents: param.value\n });\n }\n });\n }\n if (fields_1.length) {\n requestPush(\"'multipart' => \".concat((0, helpers_1.convertType)(fields_1, opts.indent + opts.indent, opts.indent)), 1);\n // Guzzle adds its own boundary for multipart requests.\n if ((0, headers_1.hasHeader)(headersObj, 'content-type')) {\n if ((_b = (0, headers_1.getHeader)(headersObj, 'content-type')) === null || _b === void 0 ? void 0 : _b.indexOf('boundary')) {\n var headerName = (0, headers_1.getHeaderName)(headersObj, 'content-type');\n if (headerName) {\n delete headersObj[headerName];\n }\n }\n }\n }\n break;\n }\n default:\n if (postData.text) {\n requestPush(\"'body' => \".concat((0, helpers_1.convertType)(postData.text), \",\"), 1);\n }\n }\n // construct headers\n var headers = Object.keys(headersObj)\n .sort()\n .map(function (key) {\n return \"\".concat(opts.indent).concat(opts.indent, \"'\").concat(key, \"' => '\").concat((0, escape_1.escapeForSingleQuotes)(headersObj[key]), \"',\");\n });\n // construct cookies\n var cookieString = cookies\n .map(function (cookie) { return \"\".concat(encodeURIComponent(cookie.name), \"=\").concat(encodeURIComponent(cookie.value)); })\n .join('; ');\n if (cookieString.length) {\n headers.push(\"\".concat(opts.indent).concat(opts.indent, \"'cookie' => '\").concat((0, escape_1.escapeForSingleQuotes)(cookieString), \"',\"));\n }\n if (headers.length) {\n requestPush(\"'headers' => [\", 1);\n requestPush(headers.join('\\n'));\n requestPush('],', 1);\n }\n push('$client = new \\\\GuzzleHttp\\\\Client();');\n blank();\n if (requestCode.length) {\n push(\"$response = $client->request('\".concat(method, \"', '\").concat(fullUrl, \"', [\"));\n push(requestJoin());\n push(']);');\n }\n else {\n push(\"$response = $client->request('\".concat(method, \"', '\").concat(fullUrl, \"');\"));\n }\n blank();\n push('echo $response->getBody();');\n if (!opts.noTags && opts.closingTag) {\n blank();\n push('?>');\n }\n return join();\n }\n};\n//# sourceMappingURL=client.js.map","\"use strict\";\nexports.__esModule = true;\nexports.supportedMethods = exports.convertType = void 0;\nvar escape_1 = require(\"../../helpers/escape\");\nvar convertType = function (obj, indent, lastIndent) {\n lastIndent = lastIndent || '';\n indent = indent || '';\n switch (Object.prototype.toString.call(obj)) {\n case '[object Null]':\n return 'null';\n case '[object Undefined]':\n return 'null';\n case '[object String]':\n return \"'\".concat((0, escape_1.escapeString)(obj, { delimiter: \"'\", escapeNewlines: false }), \"'\");\n case '[object Number]':\n return obj.toString();\n case '[object Array]': {\n var contents = obj\n .map(function (item) { return (0, exports.convertType)(item, \"\".concat(indent).concat(indent), indent); })\n .join(\",\\n\".concat(indent));\n return \"[\\n\".concat(indent).concat(contents, \"\\n\").concat(lastIndent, \"]\");\n }\n case '[object Object]': {\n var result = [];\n for (var i in obj) {\n if (Object.prototype.hasOwnProperty.call(obj, i)) {\n result.push(\"\".concat((0, exports.convertType)(i, indent), \" => \").concat((0, exports.convertType)(obj[i], \"\".concat(indent).concat(indent), indent)));\n }\n }\n return \"[\\n\".concat(indent).concat(result.join(\",\\n\".concat(indent)), \"\\n\").concat(lastIndent, \"]\");\n }\n default:\n return 'null';\n }\n};\nexports.convertType = convertType;\nexports.supportedMethods = [\n 'ACL',\n 'BASELINE_CONTROL',\n 'CHECKIN',\n 'CHECKOUT',\n 'CONNECT',\n 'COPY',\n 'DELETE',\n 'GET',\n 'HEAD',\n 'LABEL',\n 'LOCK',\n 'MERGE',\n 'MKACTIVITY',\n 'MKCOL',\n 'MKWORKSPACE',\n 'MOVE',\n 'OPTIONS',\n 'POST',\n 'PROPFIND',\n 'PROPPATCH',\n 'PUT',\n 'REPORT',\n 'TRACE',\n 'UNCHECKOUT',\n 'UNLOCK',\n 'UPDATE',\n 'VERSION_CONTROL',\n];\n//# sourceMappingURL=helpers.js.map","\"use strict\";\n/**\n * @description\n * HTTP code snippet generator for PHP using curl-ext.\n *\n * @author\n * @AhmadNassri\n *\n * for any questions or issues regarding the generated code snippet, please open an issue mentioning the author.\n */\nexports.__esModule = true;\nexports.http1 = void 0;\nvar code_builder_1 = require(\"../../../helpers/code-builder\");\nvar helpers_1 = require(\"../helpers\");\nexports.http1 = {\n info: {\n key: 'http1',\n title: 'HTTP v1',\n link: 'http://php.net/manual/en/book.http.php',\n description: 'PHP with pecl/http v1'\n },\n convert: function (_a, options) {\n var method = _a.method, url = _a.url, postData = _a.postData, queryObj = _a.queryObj, headersObj = _a.headersObj, cookiesObj = _a.cookiesObj;\n if (options === void 0) { options = {}; }\n var _b = options.closingTag, closingTag = _b === void 0 ? false : _b, _c = options.indent, indent = _c === void 0 ? ' ' : _c, _d = options.noTags, noTags = _d === void 0 ? false : _d, _e = options.shortTags, shortTags = _e === void 0 ? false : _e;\n var _f = new code_builder_1.CodeBuilder({ indent: indent }), push = _f.push, blank = _f.blank, join = _f.join;\n if (!noTags) {\n push(shortTags ? 'setUrl(\".concat((0, helpers_1.convertType)(url), \");\"));\n if (helpers_1.supportedMethods.includes(method.toUpperCase())) {\n push(\"$request->setMethod(HTTP_METH_\".concat(method.toUpperCase(), \");\"));\n }\n else {\n push(\"$request->setMethod(HttpRequest::HTTP_METH_\".concat(method.toUpperCase(), \");\"));\n }\n blank();\n if (Object.keys(queryObj).length) {\n push(\"$request->setQueryData(\".concat((0, helpers_1.convertType)(queryObj, indent), \");\"));\n blank();\n }\n if (Object.keys(headersObj).length) {\n push(\"$request->setHeaders(\".concat((0, helpers_1.convertType)(headersObj, indent), \");\"));\n blank();\n }\n if (Object.keys(cookiesObj).length) {\n push(\"$request->setCookies(\".concat((0, helpers_1.convertType)(cookiesObj, indent), \");\"));\n blank();\n }\n switch (postData.mimeType) {\n case 'application/x-www-form-urlencoded':\n push(\"$request->setContentType(\".concat((0, helpers_1.convertType)(postData.mimeType), \");\"));\n push(\"$request->setPostFields(\".concat((0, helpers_1.convertType)(postData.paramsObj, indent), \");\"));\n blank();\n break;\n case 'application/json':\n push(\"$request->setContentType(\".concat((0, helpers_1.convertType)(postData.mimeType), \");\"));\n push(\"$request->setBody(json_encode(\".concat((0, helpers_1.convertType)(postData.jsonObj, indent), \"));\"));\n blank();\n break;\n default:\n if (postData.text) {\n push(\"$request->setBody(\".concat((0, helpers_1.convertType)(postData.text), \");\"));\n blank();\n }\n }\n push('try {');\n push('$response = $request->send();', 1);\n blank();\n push('echo $response->getBody();', 1);\n push('} catch (HttpException $ex) {');\n push('echo $ex;', 1);\n push('}');\n if (!noTags && closingTag) {\n blank();\n push('?>');\n }\n return join();\n }\n};\n//# sourceMappingURL=client.js.map","\"use strict\";\n/**\n * @description\n * HTTP code snippet generator for PHP using curl-ext.\n *\n * @author\n * @AhmadNassri\n *\n * for any questions or issues regarding the generated code snippet, please open an issue mentioning the author.\n */\nexports.__esModule = true;\nexports.http2 = void 0;\nvar code_builder_1 = require(\"../../../helpers/code-builder\");\nvar headers_1 = require(\"../../../helpers/headers\");\nvar helpers_1 = require(\"../helpers\");\nexports.http2 = {\n info: {\n key: 'http2',\n title: 'HTTP v2',\n link: 'http://devel-m6w6.rhcloud.com/mdref/http',\n description: 'PHP with pecl/http v2'\n },\n convert: function (_a, options) {\n var _b;\n var postData = _a.postData, headersObj = _a.headersObj, method = _a.method, queryObj = _a.queryObj, cookiesObj = _a.cookiesObj, url = _a.url;\n if (options === void 0) { options = {}; }\n var _c = options.closingTag, closingTag = _c === void 0 ? false : _c, _d = options.indent, indent = _d === void 0 ? ' ' : _d, _e = options.noTags, noTags = _e === void 0 ? false : _e, _f = options.shortTags, shortTags = _f === void 0 ? false : _f;\n var _g = new code_builder_1.CodeBuilder({ indent: indent }), push = _g.push, blank = _g.blank, join = _g.join;\n var hasBody = false;\n if (!noTags) {\n push(shortTags ? 'append(new http\\\\QueryString(\".concat((0, helpers_1.convertType)(postData.paramsObj, indent), \"));\"));\n blank();\n hasBody = true;\n break;\n case 'multipart/form-data': {\n if (!postData.params) {\n break;\n }\n var files_1 = [];\n var fields_1 = {};\n postData.params.forEach(function (_a) {\n var name = _a.name, fileName = _a.fileName, value = _a.value, contentType = _a.contentType;\n if (fileName) {\n files_1.push({\n name: name,\n type: contentType,\n file: fileName,\n data: value\n });\n return;\n }\n if (value) {\n fields_1[name] = value;\n }\n });\n var field = Object.keys(fields_1).length ? (0, helpers_1.convertType)(fields_1, indent) : 'null';\n var formValue = files_1.length ? (0, helpers_1.convertType)(files_1, indent) : 'null';\n push('$body = new http\\\\Message\\\\Body;');\n push(\"$body->addForm(\".concat(field, \", \").concat(formValue, \");\"));\n // remove the contentType header\n if ((0, headers_1.hasHeader)(headersObj, 'content-type')) {\n if ((_b = (0, headers_1.getHeader)(headersObj, 'content-type')) === null || _b === void 0 ? void 0 : _b.indexOf('boundary')) {\n var headerName = (0, headers_1.getHeaderName)(headersObj, 'content-type');\n if (headerName) {\n delete headersObj[headerName];\n }\n }\n }\n blank();\n hasBody = true;\n break;\n }\n case 'application/json':\n push('$body = new http\\\\Message\\\\Body;');\n push(\"$body->append(json_encode(\".concat((0, helpers_1.convertType)(postData.jsonObj, indent), \"));\"));\n hasBody = true;\n break;\n default:\n if (postData.text) {\n push('$body = new http\\\\Message\\\\Body;');\n push(\"$body->append(\".concat((0, helpers_1.convertType)(postData.text), \");\"));\n blank();\n hasBody = true;\n }\n }\n push(\"$request->setRequestUrl(\".concat((0, helpers_1.convertType)(url), \");\"));\n push(\"$request->setRequestMethod(\".concat((0, helpers_1.convertType)(method), \");\"));\n if (hasBody) {\n push('$request->setBody($body);');\n blank();\n }\n if (Object.keys(queryObj).length) {\n push(\"$request->setQuery(new http\\\\QueryString(\".concat((0, helpers_1.convertType)(queryObj, indent), \"));\"));\n blank();\n }\n if (Object.keys(headersObj).length) {\n push(\"$request->setHeaders(\".concat((0, helpers_1.convertType)(headersObj, indent), \");\"));\n blank();\n }\n if (Object.keys(cookiesObj).length) {\n blank();\n push(\"$client->setCookies(\".concat((0, helpers_1.convertType)(cookiesObj, indent), \");\"));\n blank();\n }\n push('$client->enqueue($request)->send();');\n push('$response = $client->getResponse();');\n blank();\n push('echo $response->getBody();');\n if (!noTags && closingTag) {\n blank();\n push('?>');\n }\n return join();\n }\n};\n//# sourceMappingURL=client.js.map","\"use strict\";\nexports.__esModule = true;\nexports.php = void 0;\nvar client_1 = require(\"./curl/client\");\nvar client_2 = require(\"./guzzle/client\");\nvar client_3 = require(\"./http1/client\");\nvar client_4 = require(\"./http2/client\");\nexports.php = {\n info: {\n key: 'php',\n title: 'PHP',\n extname: '.php',\n \"default\": 'curl'\n },\n clientsById: {\n curl: client_1.curl,\n guzzle: client_2.guzzle,\n http1: client_3.http1,\n http2: client_4.http2\n }\n};\n//# sourceMappingURL=target.js.map","\"use strict\";\nexports.__esModule = true;\nexports.generatePowershellConvert = void 0;\nvar code_builder_1 = require(\"../../helpers/code-builder\");\nvar escape_1 = require(\"../../helpers/escape\");\nvar headers_1 = require(\"../../helpers/headers\");\nvar generatePowershellConvert = function (command) {\n var convert = function (_a) {\n var method = _a.method, headersObj = _a.headersObj, cookies = _a.cookies, uriObj = _a.uriObj, fullUrl = _a.fullUrl, postData = _a.postData, allHeaders = _a.allHeaders;\n var _b = new code_builder_1.CodeBuilder(), push = _b.push, join = _b.join;\n var methods = [\n 'DEFAULT',\n 'DELETE',\n 'GET',\n 'HEAD',\n 'MERGE',\n 'OPTIONS',\n 'PATCH',\n 'POST',\n 'PUT',\n 'TRACE',\n ];\n var methodArg = methods.includes(method.toUpperCase()) ? '-Method' : '-CustomMethod';\n var commandOptions = [];\n // Add headers, including the cookies\n var headers = Object.keys(headersObj);\n // construct headers\n if (headers.length) {\n push('$headers=@{}');\n headers.forEach(function (key) {\n if (key !== 'connection') {\n // Not allowed\n push(\"$headers.Add(\\\"\".concat(key, \"\\\", \\\"\").concat((0, escape_1.escapeString)(headersObj[key], { escapeChar: '`' }), \"\\\")\"));\n }\n });\n commandOptions.push('-Headers $headers');\n }\n // construct cookies\n if (cookies.length) {\n push('$session = New-Object Microsoft.PowerShell.Commands.WebRequestSession');\n cookies.forEach(function (cookie) {\n push('$cookie = New-Object System.Net.Cookie');\n push(\"$cookie.Name = '\".concat(cookie.name, \"'\"));\n push(\"$cookie.Value = '\".concat(cookie.value, \"'\"));\n push(\"$cookie.Domain = '\".concat(uriObj.host, \"'\"));\n push('$session.Cookies.Add($cookie)');\n });\n commandOptions.push('-WebSession $session');\n }\n if (postData.text) {\n commandOptions.push(\"-ContentType '\".concat((0, escape_1.escapeString)((0, headers_1.getHeader)(allHeaders, 'content-type'), {\n delimiter: \"'\",\n escapeChar: '`'\n }), \"'\"));\n commandOptions.push(\"-Body '\".concat(postData.text, \"'\"));\n }\n push(\"$response = \".concat(command, \" -Uri '\").concat(fullUrl, \"' \").concat(methodArg, \" \").concat(method, \" \").concat(commandOptions.join(' ')));\n return join();\n };\n return convert;\n};\nexports.generatePowershellConvert = generatePowershellConvert;\n//# sourceMappingURL=common.js.map","\"use strict\";\nexports.__esModule = true;\nexports.restmethod = void 0;\nvar common_1 = require(\"../common\");\nexports.restmethod = {\n info: {\n key: 'restmethod',\n title: 'Invoke-RestMethod',\n link: 'https://docs.microsoft.com/en-us/powershell/module/Microsoft.PowerShell.Utility/Invoke-RestMethod',\n description: 'Powershell Invoke-RestMethod client'\n },\n convert: (0, common_1.generatePowershellConvert)('Invoke-RestMethod')\n};\n//# sourceMappingURL=client.js.map","\"use strict\";\nexports.__esModule = true;\nexports.powershell = void 0;\nvar client_1 = require(\"./restmethod/client\");\nvar client_2 = require(\"./webrequest/client\");\nexports.powershell = {\n info: {\n key: 'powershell',\n title: 'Powershell',\n extname: '.ps1',\n \"default\": 'webrequest'\n },\n clientsById: {\n webrequest: client_2.webrequest,\n restmethod: client_1.restmethod\n }\n};\n//# sourceMappingURL=target.js.map","\"use strict\";\nexports.__esModule = true;\nexports.webrequest = void 0;\nvar common_1 = require(\"../common\");\nexports.webrequest = {\n info: {\n key: 'webrequest',\n title: 'Invoke-WebRequest',\n link: 'https://docs.microsoft.com/en-us/powershell/module/Microsoft.PowerShell.Utility/Invoke-WebRequest',\n description: 'Powershell Invoke-WebRequest client'\n },\n convert: (0, common_1.generatePowershellConvert)('Invoke-WebRequest')\n};\n//# sourceMappingURL=client.js.map","\"use strict\";\nexports.__esModule = true;\nexports.literalRepresentation = void 0;\n/**\n * Create a string corresponding to a Dictionary or Array literal representation with pretty option\n * and indentation.\n */\nfunction concatValues(concatType, values, pretty, indentation, indentLevel) {\n var currentIndent = indentation.repeat(indentLevel);\n var closingBraceIndent = indentation.repeat(indentLevel - 1);\n var join = pretty ? \",\\n\".concat(currentIndent) : ', ';\n var openingBrace = concatType === 'object' ? '{' : '[';\n var closingBrace = concatType === 'object' ? '}' : ']';\n if (pretty) {\n return \"\".concat(openingBrace, \"\\n\").concat(currentIndent).concat(values.join(join), \"\\n\").concat(closingBraceIndent).concat(closingBrace);\n }\n if (concatType === 'object' && values.length > 0) {\n return \"\".concat(openingBrace, \" \").concat(values.join(join), \" \").concat(closingBrace);\n }\n return \"\".concat(openingBrace).concat(values.join(join)).concat(closingBrace);\n}\n/**\n * Create a valid Python string of a literal value according to its type.\n *\n * @param {*} value Any JavaScript literal\n * @param {Object} opts Target options\n * @return {string}\n */\nvar literalRepresentation = function (value, opts, indentLevel) {\n indentLevel = indentLevel === undefined ? 1 : indentLevel + 1;\n switch (Object.prototype.toString.call(value)) {\n case '[object Number]':\n return value;\n case '[object Array]': {\n var pretty_1 = false;\n var valuesRepresentation = value.map(function (v) {\n // Switch to prettify if the value is a dictionary with multiple keys\n if (Object.prototype.toString.call(v) === '[object Object]') {\n pretty_1 = Object.keys(v).length > 1;\n }\n return (0, exports.literalRepresentation)(v, opts, indentLevel);\n });\n return concatValues('array', valuesRepresentation, pretty_1, opts.indent, indentLevel);\n }\n case '[object Object]': {\n var keyValuePairs = [];\n for (var key in value) {\n keyValuePairs.push(\"\\\"\".concat(key, \"\\\": \").concat((0, exports.literalRepresentation)(value[key], opts, indentLevel)));\n }\n return concatValues('object', keyValuePairs, opts.pretty && keyValuePairs.length > 1, opts.indent, indentLevel);\n }\n case '[object Null]':\n return 'None';\n case '[object Boolean]':\n return value ? 'True' : 'False';\n default:\n if (value === null || value === undefined) {\n return '';\n }\n return \"\\\"\".concat(value.toString().replace(/\"/g, '\\\\\"'), \"\\\"\");\n }\n};\nexports.literalRepresentation = literalRepresentation;\n//# sourceMappingURL=helpers.js.map","\"use strict\";\n/**\n * @description\n * HTTP code snippet generator for native Python3.\n *\n * @author\n * @montanaflynn\n *\n * for any questions or issues regarding the generated code snippet, please open an issue mentioning the author.\n */\nexports.__esModule = true;\nexports.python3 = void 0;\nvar code_builder_1 = require(\"../../../helpers/code-builder\");\nvar escape_1 = require(\"../../../helpers/escape\");\nexports.python3 = {\n info: {\n key: 'python3',\n title: 'http.client',\n link: 'https://docs.python.org/3/library/http.client.html',\n description: 'Python3 HTTP Client'\n },\n convert: function (_a, options) {\n var _b = _a.uriObj, path = _b.path, protocol = _b.protocol, host = _b.host, postData = _a.postData, allHeaders = _a.allHeaders, method = _a.method;\n if (options === void 0) { options = {}; }\n var _c = options.insecureSkipVerify, insecureSkipVerify = _c === void 0 ? false : _c;\n var _d = new code_builder_1.CodeBuilder(), push = _d.push, blank = _d.blank, join = _d.join;\n // Start Request\n push('import http.client');\n if (insecureSkipVerify) {\n push('import ssl');\n }\n blank();\n // Check which protocol to be used for the client connection\n if (protocol === 'https:') {\n var sslContext = insecureSkipVerify ? ', context = ssl._create_unverified_context()' : '';\n push(\"conn = http.client.HTTPSConnection(\\\"\".concat(host, \"\\\"\").concat(sslContext, \")\"));\n blank();\n }\n else {\n push(\"conn = http.client.HTTPConnection(\\\"\".concat(host, \"\\\")\"));\n blank();\n }\n // Create payload string if it exists\n var payload = JSON.stringify(postData.text);\n if (payload) {\n push(\"payload = \".concat(payload));\n blank();\n }\n // Create Headers\n var headers = allHeaders;\n var headerCount = Object.keys(headers).length;\n if (headerCount === 1) {\n for (var header in headers) {\n push(\"headers = { '\".concat(header, \"': \\\"\").concat((0, escape_1.escapeForDoubleQuotes)(headers[header]), \"\\\" }\"));\n blank();\n }\n }\n else if (headerCount > 1) {\n var count = 1;\n push('headers = {');\n for (var header in headers) {\n if (count++ !== headerCount) {\n push(\" '\".concat(header, \"': \\\"\").concat((0, escape_1.escapeForDoubleQuotes)(headers[header]), \"\\\",\"));\n }\n else {\n push(\" '\".concat(header, \"': \\\"\").concat((0, escape_1.escapeForDoubleQuotes)(headers[header]), \"\\\"\"));\n }\n }\n push('}');\n blank();\n }\n // Make Request\n if (payload && headerCount) {\n push(\"conn.request(\\\"\".concat(method, \"\\\", \\\"\").concat(path, \"\\\", payload, headers)\"));\n }\n else if (payload && !headerCount) {\n push(\"conn.request(\\\"\".concat(method, \"\\\", \\\"\").concat(path, \"\\\", payload)\"));\n }\n else if (!payload && headerCount) {\n push(\"conn.request(\\\"\".concat(method, \"\\\", \\\"\").concat(path, \"\\\", headers=headers)\"));\n }\n else {\n push(\"conn.request(\\\"\".concat(method, \"\\\", \\\"\").concat(path, \"\\\")\"));\n }\n // Get Response\n blank();\n push('res = conn.getresponse()');\n push('data = res.read()');\n blank();\n push('print(data.decode(\"utf-8\"))');\n return join();\n }\n};\n//# sourceMappingURL=client.js.map","\"use strict\";\n/**\n * @description\n * HTTP code snippet generator for Python using Requests\n *\n * @author\n * @montanaflynn\n *\n * for any questions or issues regarding the generated code snippet, please open an issue mentioning the author.\n */\nvar __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nexports.__esModule = true;\nexports.requests = void 0;\nvar code_builder_1 = require(\"../../../helpers/code-builder\");\nvar escape_1 = require(\"../../../helpers/escape\");\nvar headers_1 = require(\"../../../helpers/headers\");\nvar helpers_1 = require(\"../helpers\");\nvar builtInMethods = ['HEAD', 'GET', 'POST', 'PUT', 'PATCH', 'DELETE', 'OPTIONS'];\nexports.requests = {\n info: {\n key: 'requests',\n title: 'Requests',\n link: 'http://docs.python-requests.org/en/latest/api/#requests.request',\n description: 'Requests HTTP library'\n },\n convert: function (_a, options) {\n var queryObj = _a.queryObj, url = _a.url, postData = _a.postData, allHeaders = _a.allHeaders, method = _a.method;\n var opts = __assign({ indent: ' ', pretty: true }, options);\n // Start snippet\n var _b = new code_builder_1.CodeBuilder({ indent: opts.indent }), push = _b.push, blank = _b.blank, join = _b.join;\n // Import requests\n push('import requests');\n blank();\n // Set URL\n push(\"url = \\\"\".concat(url, \"\\\"\"));\n blank();\n // Construct query string\n var qs;\n if (Object.keys(queryObj).length) {\n qs = \"querystring = \".concat(JSON.stringify(queryObj));\n push(qs);\n blank();\n }\n var headers = allHeaders;\n // Construct payload\n var payload = {};\n var files = {};\n var hasFiles = false;\n var hasPayload = false;\n var jsonPayload = false;\n switch (postData.mimeType) {\n case 'application/json':\n if (postData.jsonObj) {\n push(\"payload = \".concat((0, helpers_1.literalRepresentation)(postData.jsonObj, opts)));\n jsonPayload = true;\n hasPayload = true;\n }\n break;\n case 'multipart/form-data':\n if (!postData.params) {\n break;\n }\n payload = {};\n postData.params.forEach(function (p) {\n if (p.fileName) {\n files[p.name] = \"open('\".concat(p.fileName, \"', 'rb')\");\n hasFiles = true;\n }\n else {\n payload[p.name] = p.value;\n hasPayload = true;\n }\n });\n if (hasFiles) {\n push(\"files = \".concat((0, helpers_1.literalRepresentation)(files, opts)));\n if (hasPayload) {\n push(\"payload = \".concat((0, helpers_1.literalRepresentation)(payload, opts)));\n }\n // The requests library will only automatically add a `multipart/form-data` header if there are files being sent. If we're **only** sending form data we still need to send the boundary ourselves.\n var headerName = (0, headers_1.getHeaderName)(headers, 'content-type');\n if (headerName) {\n delete headers[headerName];\n }\n }\n else {\n var nonFilePayload = JSON.stringify(postData.text);\n if (nonFilePayload) {\n push(\"payload = \".concat(nonFilePayload));\n hasPayload = true;\n }\n }\n break;\n default: {\n if (postData.mimeType === 'application/x-www-form-urlencoded' && postData.paramsObj) {\n push(\"payload = \".concat((0, helpers_1.literalRepresentation)(postData.paramsObj, opts)));\n hasPayload = true;\n break;\n }\n var payload_1 = JSON.stringify(postData.text);\n if (payload_1) {\n push(\"payload = \".concat(payload_1));\n hasPayload = true;\n }\n }\n }\n // Construct headers\n var headerCount = Object.keys(headers).length;\n if (headerCount === 0 && (hasPayload || hasFiles)) {\n // If we don't have any heads but we do have a payload we should put a blank line here between that payload consturction and our execution of the requests library.\n blank();\n }\n else if (headerCount === 1) {\n for (var header in headers) {\n push(\"headers = {\\\"\".concat(header, \"\\\": \\\"\").concat((0, escape_1.escapeForDoubleQuotes)(headers[header]), \"\\\"}\"));\n blank();\n }\n }\n else if (headerCount > 1) {\n var count = 1;\n push('headers = {');\n for (var header in headers) {\n if (count !== headerCount) {\n push(\"\\\"\".concat(header, \"\\\": \\\"\").concat((0, escape_1.escapeForDoubleQuotes)(headers[header]), \"\\\",\"), 1);\n }\n else {\n push(\"\\\"\".concat(header, \"\\\": \\\"\").concat((0, escape_1.escapeForDoubleQuotes)(headers[header]), \"\\\"\"), 1);\n }\n count += 1;\n }\n push('}');\n blank();\n }\n // Construct request\n var request = builtInMethods.includes(method)\n ? \"response = requests.\".concat(method.toLowerCase(), \"(url\")\n : \"response = requests.request(\\\"\".concat(method, \"\\\", url\");\n if (hasPayload) {\n if (jsonPayload) {\n request += ', json=payload';\n }\n else {\n request += ', data=payload';\n }\n }\n if (hasFiles) {\n request += ', files=files';\n }\n if (headerCount > 0) {\n request += ', headers=headers';\n }\n if (qs) {\n request += ', params=querystring';\n }\n request += ')';\n push(request);\n blank();\n // Print response\n push('print(response.json())');\n return join();\n }\n};\n//# sourceMappingURL=client.js.map","\"use strict\";\nexports.__esModule = true;\nexports.python = void 0;\nvar client_1 = require(\"./python3/client\");\nvar client_2 = require(\"./requests/client\");\nexports.python = {\n info: {\n key: 'python',\n title: 'Python',\n extname: '.py',\n \"default\": 'python3'\n },\n clientsById: {\n python3: client_1.python3,\n requests: client_2.requests\n }\n};\n//# sourceMappingURL=target.js.map","\"use strict\";\n/**\n * @description\n * HTTP code snippet generator for R using httr\n *\n * @author\n * @gabrielakoreeda\n *\n * for any questions or issues regarding the generated code snippet, please open an issue mentioning the author.\n */\nvar __read = (this && this.__read) || function (o, n) {\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o), r, ar = [], e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n};\nexports.__esModule = true;\nexports.httr = void 0;\nvar code_builder_1 = require(\"../../../helpers/code-builder\");\nvar escape_1 = require(\"../../../helpers/escape\");\nvar headers_1 = require(\"../../../helpers/headers\");\nexports.httr = {\n info: {\n key: 'httr',\n title: 'httr',\n link: 'https://cran.r-project.org/web/packages/httr/vignettes/quickstart.html',\n description: 'httr: Tools for Working with URLs and HTTP'\n },\n convert: function (_a, options) {\n var _b;\n var url = _a.url, queryObj = _a.queryObj, queryString = _a.queryString, postData = _a.postData, allHeaders = _a.allHeaders, method = _a.method;\n if (options === void 0) { options = {}; }\n // Start snippet\n var _c = new code_builder_1.CodeBuilder({\n indent: (_b = options.indent) !== null && _b !== void 0 ? _b : ' '\n }), push = _c.push, blank = _c.blank, join = _c.join;\n // Import httr\n push('library(httr)');\n blank();\n // Set URL\n push(\"url <- \\\"\".concat(url, \"\\\"\"));\n blank();\n // Construct query string\n var qs = queryObj;\n delete queryObj.key;\n var entries = Object.entries(qs);\n var entriesCount = entries.length;\n if (entriesCount === 1) {\n var entry = entries[0];\n push(\"queryString <- list(\".concat(entry[0], \" = \\\"\").concat(entry[1], \"\\\")\"));\n blank();\n }\n else if (entriesCount > 1) {\n push('queryString <- list(');\n entries.forEach(function (_a, i) {\n var _b = __read(_a, 2), key = _b[0], value = _b[1];\n var isLastItem = i !== entriesCount - 1;\n var maybeComma = isLastItem ? ',' : '';\n push(\"\".concat(key, \" = \\\"\").concat(value, \"\\\"\").concat(maybeComma), 1);\n });\n push(')');\n blank();\n }\n // Construct payload\n var payload = JSON.stringify(postData.text);\n if (payload) {\n push(\"payload <- \".concat(payload));\n blank();\n }\n // Define encode\n if (postData.text || postData.jsonObj || postData.params) {\n switch (postData.mimeType) {\n case 'application/x-www-form-urlencoded':\n push('encode <- \"form\"');\n blank();\n break;\n case 'application/json':\n push('encode <- \"json\"');\n blank();\n break;\n case 'multipart/form-data':\n push('encode <- \"multipart\"');\n blank();\n break;\n default:\n push('encode <- \"raw\"');\n blank();\n break;\n }\n }\n // Construct headers\n var cookieHeader = (0, headers_1.getHeader)(allHeaders, 'cookie');\n var acceptHeader = (0, headers_1.getHeader)(allHeaders, 'accept');\n var setCookies = cookieHeader\n ? \"set_cookies(`\".concat(String(cookieHeader)\n .replace(/;/g, '\", `')\n .replace(/` /g, '`')\n .replace(/[=]/g, '` = \"'), \"\\\")\")\n : undefined;\n var setAccept = acceptHeader ? \"accept(\\\"\".concat((0, escape_1.escapeForDoubleQuotes)(acceptHeader), \"\\\")\") : undefined;\n var setContentType = \"content_type(\\\"\".concat((0, escape_1.escapeForDoubleQuotes)(postData.mimeType), \"\\\")\");\n var otherHeaders = Object.entries(allHeaders)\n // These headers are all handled separately:\n .filter(function (_a) {\n var _b = __read(_a, 1), key = _b[0];\n return !['cookie', 'accept', 'content-type'].includes(key.toLowerCase());\n })\n .map(function (_a) {\n var _b = __read(_a, 2), key = _b[0], value = _b[1];\n return \"'\".concat(key, \"' = '\").concat((0, escape_1.escapeForSingleQuotes)(value), \"'\");\n })\n .join(', ');\n var setHeaders = otherHeaders ? \"add_headers(\".concat(otherHeaders, \")\") : undefined;\n // Construct request\n var request = \"response <- VERB(\\\"\".concat(method, \"\\\", url\");\n if (payload) {\n request += ', body = payload';\n }\n if (queryString.length) {\n request += ', query = queryString';\n }\n var headerAdditions = [setHeaders, setContentType, setAccept, setCookies]\n .filter(function (x) { return !!x; })\n .join(', ');\n if (headerAdditions) {\n request += \", \".concat(headerAdditions);\n }\n if (postData.text || postData.jsonObj || postData.params) {\n request += ', encode = encode';\n }\n request += ')';\n push(request);\n blank();\n // Print response\n push('content(response, \"text\")');\n return join();\n }\n};\n//# sourceMappingURL=client.js.map","\"use strict\";\nexports.__esModule = true;\nexports.r = void 0;\nvar client_1 = require(\"./httr/client\");\nexports.r = {\n info: {\n key: 'r',\n title: 'R',\n extname: '.r',\n \"default\": 'httr'\n },\n clientsById: {\n httr: client_1.httr\n }\n};\n//# sourceMappingURL=target.js.map","\"use strict\";\nexports.__esModule = true;\nexports.faraday = void 0;\nvar code_builder_1 = require(\"../../../helpers/code-builder\");\nvar escape_1 = require(\"../../../helpers/escape\");\nexports.faraday = {\n info: {\n key: 'faraday',\n title: 'faraday',\n link: 'https://github.com/lostisland/faraday',\n description: 'Faraday HTTP client'\n },\n convert: function (_a) {\n var uriObj = _a.uriObj, queryObj = _a.queryObj, rawMethod = _a.method, postData = _a.postData, allHeaders = _a.allHeaders;\n var _b = new code_builder_1.CodeBuilder(), push = _b.push, blank = _b.blank, join = _b.join;\n // To support custom methods we check for the supported methods\n // and if doesn't exist then we build a custom class for it\n var method = rawMethod.toUpperCase();\n var methods = [\n 'GET',\n 'POST',\n 'HEAD',\n 'DELETE',\n 'PATCH',\n 'PUT',\n 'OPTIONS',\n 'COPY',\n 'LOCK',\n 'UNLOCK',\n 'MOVE',\n 'TRACE',\n ];\n if (!methods.includes(method)) {\n push(\"# Faraday cannot currently run \".concat(method, \" requests. Please use another client.\"));\n return join();\n }\n push(\"require 'faraday'\");\n blank();\n // Write body to beginning of script\n if (postData.mimeType === 'application/x-www-form-urlencoded') {\n if (postData.params) {\n push(\"data = {\");\n postData.params.forEach(function (param) {\n push(\" :\".concat(param.name, \" => \").concat(JSON.stringify(param.value), \",\"));\n });\n push(\"}\");\n blank();\n }\n }\n push(\"conn = Faraday.new(\");\n push(\" url: '\".concat(uriObj.protocol, \"//\").concat(uriObj.host, \"',\"));\n if (allHeaders['content-type'] || allHeaders['Content-Type']) {\n push(\" headers: {'Content-Type' => '\".concat(allHeaders['content-type'] || allHeaders['Content-Type'], \"'}\"));\n }\n push(\")\");\n blank();\n push(\"response = conn.\".concat(method.toLowerCase(), \"('\").concat(uriObj.pathname, \"') do |req|\"));\n var headers = Object.keys(allHeaders);\n if (headers.length) {\n headers.forEach(function (key) {\n if (key.toLowerCase() !== 'content-type') {\n push(\" req.headers['\".concat(key, \"'] = '\").concat((0, escape_1.escapeForSingleQuotes)(allHeaders[key]), \"'\"));\n }\n });\n }\n Object.keys(queryObj).forEach(function (name) {\n var value = queryObj[name];\n if (Array.isArray(value)) {\n push(\" req.params['\".concat(name, \"'] = \").concat(JSON.stringify(value)));\n }\n else {\n push(\" req.params['\".concat(name, \"'] = '\").concat(value, \"'\"));\n }\n });\n switch (postData.mimeType) {\n case 'application/x-www-form-urlencoded':\n if (postData.params) {\n push(\" req.body = URI.encode_www_form(data)\");\n }\n break;\n case 'application/json':\n if (postData.jsonObj) {\n push(\" req.body = \".concat(JSON.stringify(postData.text)));\n }\n break;\n default:\n if (postData.text) {\n push(\" req.body = \".concat(JSON.stringify(postData.text)));\n }\n }\n push('end');\n blank();\n push('puts response.status');\n push('puts response.body');\n return join();\n }\n};\n//# sourceMappingURL=client.js.map","\"use strict\";\nexports.__esModule = true;\nexports.native = void 0;\nvar code_builder_1 = require(\"../../../helpers/code-builder\");\nvar escape_1 = require(\"../../../helpers/escape\");\nexports.native = {\n info: {\n key: 'native',\n title: 'net::http',\n link: 'http://ruby-doc.org/stdlib-2.2.1/libdoc/net/http/rdoc/Net/HTTP.html',\n description: 'Ruby HTTP client'\n },\n convert: function (_a, options) {\n var uriObj = _a.uriObj, rawMethod = _a.method, fullUrl = _a.fullUrl, postData = _a.postData, allHeaders = _a.allHeaders;\n if (options === void 0) { options = {}; }\n var _b = options.insecureSkipVerify, insecureSkipVerify = _b === void 0 ? false : _b;\n var _c = new code_builder_1.CodeBuilder(), push = _c.push, blank = _c.blank, join = _c.join;\n push(\"require 'uri'\");\n push(\"require 'net/http'\");\n blank();\n // To support custom methods we check for the supported methods\n // and if doesn't exist then we build a custom class for it\n var method = rawMethod.toUpperCase();\n var methods = [\n 'GET',\n 'POST',\n 'HEAD',\n 'DELETE',\n 'PATCH',\n 'PUT',\n 'OPTIONS',\n 'COPY',\n 'LOCK',\n 'UNLOCK',\n 'MOVE',\n 'TRACE',\n ];\n var capMethod = method.charAt(0) + method.substring(1).toLowerCase();\n if (!methods.includes(method)) {\n push(\"class Net::HTTP::\".concat(capMethod, \" < Net::HTTPRequest\"));\n push(\" METHOD = '\".concat(method.toUpperCase(), \"'\"));\n push(\" REQUEST_HAS_BODY = '\".concat(postData.text ? 'true' : 'false', \"'\"));\n push(' RESPONSE_HAS_BODY = true');\n push('end');\n blank();\n }\n push(\"url = URI(\\\"\".concat(fullUrl, \"\\\")\"));\n blank();\n push('http = Net::HTTP.new(url.host, url.port)');\n if (uriObj.protocol === 'https:') {\n push('http.use_ssl = true');\n if (insecureSkipVerify) {\n push('http.verify_mode = OpenSSL::SSL::VERIFY_NONE');\n }\n }\n blank();\n push(\"request = Net::HTTP::\".concat(capMethod, \".new(url)\"));\n var headers = Object.keys(allHeaders);\n if (headers.length) {\n headers.forEach(function (key) {\n push(\"request[\\\"\".concat(key, \"\\\"] = '\").concat((0, escape_1.escapeForSingleQuotes)(allHeaders[key]), \"'\"));\n });\n }\n if (postData.text) {\n push(\"request.body = \".concat(JSON.stringify(postData.text)));\n }\n blank();\n push('response = http.request(request)');\n push('puts response.read_body');\n return join();\n }\n};\n//# sourceMappingURL=client.js.map","\"use strict\";\nexports.__esModule = true;\nexports.ruby = void 0;\nvar client_1 = require(\"./faraday/client\");\nvar client_2 = require(\"./native/client\");\nexports.ruby = {\n info: {\n key: 'ruby',\n title: 'Ruby',\n extname: '.rb',\n \"default\": 'native'\n },\n clientsById: {\n native: client_2.native,\n faraday: client_1.faraday\n }\n};\n//# sourceMappingURL=target.js.map","\"use strict\";\nexports.__esModule = true;\nexports.literalRepresentation = void 0;\nfunction concatValues(concatType, values, pretty, indentation, indentLevel) {\n var currentIndent = indentation.repeat(indentLevel);\n var closingBraceIndent = indentation.repeat(indentLevel - 1);\n var join = pretty ? \",\\n\".concat(currentIndent) : ', ';\n var openingBrace = concatType === 'object' ? 'json!({' : '(';\n var closingBrace = concatType === 'object' ? '})' : ')';\n if (pretty) {\n return \"\".concat(openingBrace, \"\\n\").concat(currentIndent).concat(values.join(join), \"\\n\").concat(closingBraceIndent).concat(closingBrace);\n }\n return \"\".concat(openingBrace).concat(values.join(join)).concat(closingBrace);\n}\n/**\n * Create a valid Rust string of a literal value using serde_json according to its type.\n *\n * @param {*} value Any Javascript literal\n * @param {Object} opts Target options\n * @return {string}\n */\nvar literalRepresentation = function (value, opts, indentLevel) {\n /*\n * Note: this version is almost entirely borrowed from the Python client helper. The\n * only real modification involves the braces and the types. The helper\n * could potentially be parameterised for reuse.\n */\n indentLevel = indentLevel === undefined ? 1 : indentLevel + 1;\n switch (Object.prototype.toString.call(value)) {\n case '[object Number]':\n return value;\n case '[object Array]': {\n var pretty_1 = false;\n var valuesRep = value.map(function (v) {\n // Switch to prettify if the value is a dict with more than one key.\n if (Object.prototype.toString.call(v) === '[object Object]') {\n pretty_1 = Object.keys(v).length > 1;\n }\n return (0, exports.literalRepresentation)(v, opts, indentLevel);\n });\n return concatValues('array', valuesRep, pretty_1, opts.indent, indentLevel);\n }\n case '[object Object]': {\n var keyValuePairs = [];\n for (var key in value) {\n keyValuePairs.push(\"\\\"\".concat(key, \"\\\": \").concat((0, exports.literalRepresentation)(value[key], opts, indentLevel)));\n }\n return concatValues('object', keyValuePairs, opts.pretty && keyValuePairs.length > 1, opts.indent, indentLevel);\n }\n case '[object Null]':\n return 'json!(null)';\n case '[object Boolean]':\n return value ? 'true' : 'false';\n default:\n if (value === null || value === undefined) {\n return '';\n }\n return \"\\\"\".concat(value.toString().replace(/\"/g, '\\\\\"'), \"\\\"\");\n }\n};\nexports.literalRepresentation = literalRepresentation;\n//# sourceMappingURL=helpers.js.map","\"use strict\";\n/**\n * @description\n * HTTP code snippet generator for Rust using reqwest\n *\n * @author\n * @Benjscho\n *\n * for any questions or issues regarding the generated code snippet, please open an issue mentioning the author.\n */\nvar __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nvar __values = (this && this.__values) || function(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n};\nvar __read = (this && this.__read) || function (o, n) {\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o), r, ar = [], e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n};\nexports.__esModule = true;\nexports.reqwest = void 0;\nvar code_builder_1 = require(\"../../../helpers/code-builder\");\nvar helpers_1 = require(\"../helpers\");\nexports.reqwest = {\n info: {\n key: 'reqwest',\n title: 'reqwest',\n link: 'https://docs.rs/reqwest/latest/reqwest/',\n description: 'reqwest HTTP library'\n },\n convert: function (_a, options) {\n var e_1, _b, e_2, _c, e_3, _d, e_4, _e, e_5, _f;\n var queryObj = _a.queryObj, url = _a.url, postData = _a.postData, allHeaders = _a.allHeaders, method = _a.method;\n var opts = __assign({ indent: ' ', pretty: true }, options);\n var indentLevel = 0;\n // start snippet\n var _g = new code_builder_1.CodeBuilder({ indent: opts.indent }), push = _g.push, blank = _g.blank, join = _g.join, pushToLast = _g.pushToLast, unshift = _g.unshift;\n // import reqwest\n push('use reqwest;', indentLevel);\n blank();\n // start async main for tokio\n push('#[tokio::main]', indentLevel);\n push('pub async fn main() {', indentLevel);\n indentLevel += 1;\n // add url\n push(\"let url = \\\"\".concat(url, \"\\\";\"), indentLevel);\n blank();\n var hasQuery = false;\n // construct query string\n if (Object.keys(queryObj).length) {\n hasQuery = true;\n push('let querystring = [', indentLevel);\n indentLevel += 1;\n try {\n for (var _h = __values(Object.entries(queryObj)), _j = _h.next(); !_j.done; _j = _h.next()) {\n var _k = __read(_j.value, 2), key = _k[0], value = _k[1];\n push(\"(\\\"\".concat(key, \"\\\", \\\"\").concat(value, \"\\\"),\"), indentLevel);\n }\n }\n catch (e_1_1) { e_1 = { error: e_1_1 }; }\n finally {\n try {\n if (_j && !_j.done && (_b = _h[\"return\"])) _b.call(_h);\n }\n finally { if (e_1) throw e_1.error; }\n }\n indentLevel -= 1;\n push('];', indentLevel);\n blank();\n }\n // construct payload\n var payload = {};\n var files = {};\n var hasFiles = false;\n var hasForm = false;\n var hasBody = false;\n var jsonPayload = false;\n var isMultipart = false;\n switch (postData.mimeType) {\n case 'application/json':\n if (postData.jsonObj) {\n push(\"let payload = \".concat((0, helpers_1.literalRepresentation)(postData.jsonObj, opts, indentLevel), \";\"), indentLevel);\n }\n jsonPayload = true;\n break;\n case 'multipart/form-data':\n isMultipart = true;\n if (!postData.params) {\n push(\"let form = reqwest::multipart::Form::new()\", indentLevel);\n push(\".text(\\\"\\\", \\\"\\\");\", indentLevel + 1);\n break;\n }\n payload = {};\n postData.params.forEach(function (p) {\n if (p.fileName) {\n files[p.name] = p.fileName;\n hasFiles = true;\n }\n else {\n payload[p.name] = p.value;\n }\n });\n if (hasFiles) {\n try {\n for (var fileToPartString_1 = __values(fileToPartString), fileToPartString_1_1 = fileToPartString_1.next(); !fileToPartString_1_1.done; fileToPartString_1_1 = fileToPartString_1.next()) {\n var line = fileToPartString_1_1.value;\n push(line, indentLevel);\n }\n }\n catch (e_2_1) { e_2 = { error: e_2_1 }; }\n finally {\n try {\n if (fileToPartString_1_1 && !fileToPartString_1_1.done && (_c = fileToPartString_1[\"return\"])) _c.call(fileToPartString_1);\n }\n finally { if (e_2) throw e_2.error; }\n }\n blank();\n }\n push(\"let form = reqwest::multipart::Form::new()\", indentLevel);\n try {\n for (var _l = __values(Object.entries(files)), _m = _l.next(); !_m.done; _m = _l.next()) {\n var _o = __read(_m.value, 2), name = _o[0], fileName = _o[1];\n push(\".part(\\\"\".concat(name, \"\\\", file_to_part(\\\"\").concat(fileName, \"\\\").await)\"), indentLevel + 1);\n }\n }\n catch (e_3_1) { e_3 = { error: e_3_1 }; }\n finally {\n try {\n if (_m && !_m.done && (_d = _l[\"return\"])) _d.call(_l);\n }\n finally { if (e_3) throw e_3.error; }\n }\n try {\n for (var _p = __values(Object.entries(payload)), _q = _p.next(); !_q.done; _q = _p.next()) {\n var _r = __read(_q.value, 2), name = _r[0], value = _r[1];\n push(\".text(\\\"\".concat(name, \"\\\", \\\"\").concat(value, \"\\\")\"), indentLevel + 1);\n }\n }\n catch (e_4_1) { e_4 = { error: e_4_1 }; }\n finally {\n try {\n if (_q && !_q.done && (_e = _p[\"return\"])) _e.call(_p);\n }\n finally { if (e_4) throw e_4.error; }\n }\n pushToLast(';');\n break;\n default: {\n if (postData.mimeType === 'application/x-www-form-urlencoded' && postData.paramsObj) {\n push(\"let payload = \".concat((0, helpers_1.literalRepresentation)(postData.paramsObj, opts, indentLevel), \";\"), indentLevel);\n hasForm = true;\n break;\n }\n if (postData.text) {\n push(\"let payload = \".concat((0, helpers_1.literalRepresentation)(postData.text, opts, indentLevel), \";\"), indentLevel);\n hasBody = true;\n break;\n }\n }\n }\n if (hasForm || jsonPayload || hasBody) {\n unshift(\"use serde_json::json;\");\n blank();\n }\n var hasHeaders = false;\n // construct headers\n if (Object.keys(allHeaders).length) {\n hasHeaders = true;\n push('let mut headers = reqwest::header::HeaderMap::new();', indentLevel);\n try {\n for (var _s = __values(Object.entries(allHeaders)), _t = _s.next(); !_t.done; _t = _s.next()) {\n var _u = __read(_t.value, 2), key = _u[0], value = _u[1];\n // Skip setting content-type if there is a file, as this header will\n // cause the request to hang, and reqwest will set it for us.\n if (key.toLowerCase() === 'content-type' && isMultipart) {\n continue;\n }\n push(\"headers.insert(\\\"\".concat(key, \"\\\", \").concat((0, helpers_1.literalRepresentation)(value, opts), \".parse().unwrap());\"), indentLevel);\n }\n }\n catch (e_5_1) { e_5 = { error: e_5_1 }; }\n finally {\n try {\n if (_t && !_t.done && (_f = _s[\"return\"])) _f.call(_s);\n }\n finally { if (e_5) throw e_5.error; }\n }\n blank();\n }\n // construct client\n push('let client = reqwest::Client::new();', indentLevel);\n // construct query\n switch (method) {\n case 'POST':\n push(\"let response = client.post(url)\", indentLevel);\n break;\n case 'GET':\n push(\"let response = client.get(url)\", indentLevel);\n break;\n default: {\n push(\"let response = client.request(reqwest::Method::from_str(\\\"\".concat(method, \"\\\").unwrap(), url)\"), indentLevel);\n unshift(\"use std::str::FromStr;\");\n break;\n }\n }\n if (hasQuery) {\n push(\".query(&querystring)\", indentLevel + 1);\n }\n if (isMultipart) {\n push(\".multipart(form)\", indentLevel + 1);\n }\n if (hasHeaders) {\n push(\".headers(headers)\", indentLevel + 1);\n }\n if (jsonPayload) {\n push(\".json(&payload)\", indentLevel + 1);\n }\n if (hasForm) {\n push(\".form(&payload)\", indentLevel + 1);\n }\n if (hasBody) {\n push(\".body(payload)\", indentLevel + 1);\n }\n // send query\n push('.send()', indentLevel + 1);\n push('.await;', indentLevel + 1);\n blank();\n // Print response\n push('let results = response.unwrap()', indentLevel);\n push('.json::()', indentLevel + 1);\n push('.await', indentLevel + 1);\n push('.unwrap();', indentLevel + 1);\n blank();\n push('dbg!(results);', indentLevel);\n push('}\\n');\n return join();\n }\n};\nvar fileToPartString = [\n \"async fn file_to_part(file_name: &'static str) -> reqwest::multipart::Part {\",\n \" let file = tokio::fs::File::open(file_name).await.unwrap();\",\n \" let stream = tokio_util::codec::FramedRead::new(file, tokio_util::codec::BytesCodec::new());\",\n \" let body = reqwest::Body::wrap_stream(stream);\",\n \" reqwest::multipart::Part::stream(body)\",\n \" .file_name(file_name)\",\n \" .mime_str(\\\"text/plain\\\").unwrap()\",\n \"}\",\n];\n//# sourceMappingURL=client.js.map","\"use strict\";\nexports.__esModule = true;\nexports.rust = void 0;\nvar client_1 = require(\"./reqwest/client\");\nexports.rust = {\n info: {\n key: 'rust',\n title: 'Rust',\n extname: '.rs',\n \"default\": 'reqwest'\n },\n clientsById: {\n reqwest: client_1.reqwest\n }\n};\n//# sourceMappingURL=target.js.map","\"use strict\";\n/**\n * @description\n *\n * HTTP code snippet generator for the Shell using cURL.\n *\n * @author\n * @AhmadNassri\n *\n * for any questions or issues regarding the generated code snippet, please open an issue mentioning the author.\n */\nvar __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nexports.__esModule = true;\nexports.curl = void 0;\nvar code_builder_1 = require(\"../../../helpers/code-builder\");\nvar headers_1 = require(\"../../../helpers/headers\");\nvar shell_1 = require(\"../../../helpers/shell\");\n/**\n * This is a const record with keys that correspond to the long names and values that correspond to the short names for cURL arguments.\n */\nvar params = {\n 'http1.0': '0',\n 'url ': '',\n cookie: 'b',\n data: 'd',\n form: 'F',\n globoff: 'g',\n header: 'H',\n insecure: 'k',\n request: 'X'\n};\nvar getArg = function (short) { return function (longName) {\n if (short) {\n var shortName = params[longName];\n if (!shortName) {\n return '';\n }\n return \"-\".concat(shortName);\n }\n return \"--\".concat(longName);\n}; };\nexports.curl = {\n info: {\n key: 'curl',\n title: 'cURL',\n link: 'http://curl.haxx.se/',\n description: 'cURL is a command line tool and library for transferring data with URL syntax'\n },\n convert: function (_a, options) {\n var _b;\n var fullUrl = _a.fullUrl, method = _a.method, httpVersion = _a.httpVersion, headersObj = _a.headersObj, allHeaders = _a.allHeaders, postData = _a.postData;\n if (options === void 0) { options = {}; }\n var _c = options.binary, binary = _c === void 0 ? false : _c, _d = options.globOff, globOff = _d === void 0 ? false : _d, _e = options.indent, indent = _e === void 0 ? ' ' : _e, _f = options.insecureSkipVerify, insecureSkipVerify = _f === void 0 ? false : _f, _g = options.prettifyJson, prettifyJson = _g === void 0 ? false : _g, _h = options.short, short = _h === void 0 ? false : _h;\n var _j = new code_builder_1.CodeBuilder(__assign(__assign({}, (typeof indent === 'string' ? { indent: indent } : {})), { join: indent !== false ? \" \\\\\\n\".concat(indent) : ' ' })), push = _j.push, join = _j.join;\n var arg = getArg(short);\n var formattedUrl = (0, shell_1.quote)(fullUrl);\n push(\"curl \".concat(arg('request'), \" \").concat(method));\n if (globOff) {\n formattedUrl = unescape(formattedUrl);\n push(arg('globoff'));\n }\n push(\"\".concat(arg('url ')).concat(formattedUrl));\n if (insecureSkipVerify) {\n push(arg('insecure'));\n }\n if (httpVersion === 'HTTP/1.0') {\n push(arg('http1.0'));\n }\n if ((0, headers_1.getHeader)(allHeaders, 'accept-encoding')) {\n // note: there is no shorthand for this cURL option\n push('--compressed');\n }\n // if multipart form data, we want to remove the boundary\n if (postData.mimeType === 'multipart/form-data') {\n var contentTypeHeaderName = (0, headers_1.getHeaderName)(headersObj, 'content-type');\n if (contentTypeHeaderName) {\n var contentTypeHeader = headersObj[contentTypeHeaderName];\n if (contentTypeHeaderName && contentTypeHeader) {\n // remove the leading semi colon and boundary\n // up to the next semi colon or the end of string\n // @ts-expect-error it is a reality that the headersObj can have values which are string arrays. This is a genuine bug that this case isn't handled or tested. It is, however tested in `reducer.test.ts`. Go check that out to see more.\n var noBoundary = contentTypeHeader.replace(/; boundary.+?(?=(;|$))/, '');\n // replace the content-type header with no boundary in both headersObj and allHeaders\n headersObj[contentTypeHeaderName] = noBoundary;\n allHeaders[contentTypeHeaderName] = noBoundary;\n }\n }\n }\n // construct headers\n Object.keys(headersObj)\n .sort()\n .forEach(function (key) {\n var header = \"\".concat(key, \": \").concat(headersObj[key]);\n push(\"\".concat(arg('header'), \" \").concat((0, shell_1.quote)(header)));\n });\n if (allHeaders.cookie) {\n push(\"\".concat(arg('cookie'), \" \").concat((0, shell_1.quote)(allHeaders.cookie)));\n }\n // construct post params\n switch (postData.mimeType) {\n case 'multipart/form-data':\n (_b = postData.params) === null || _b === void 0 ? void 0 : _b.forEach(function (param) {\n var post = '';\n if (param.fileName) {\n post = \"\".concat(param.name, \"=@\").concat(param.fileName);\n }\n else {\n post = \"\".concat(param.name, \"=\").concat(param.value);\n }\n push(\"\".concat(arg('form'), \" \").concat((0, shell_1.quote)(post)));\n });\n break;\n case 'application/x-www-form-urlencoded':\n if (postData.params) {\n postData.params.forEach(function (param) {\n var unencoded = param.name;\n var encoded = encodeURIComponent(param.name);\n var needsEncoding = encoded !== unencoded;\n var name = needsEncoding ? encoded : unencoded;\n var flag = binary ? '--data-binary' : \"--data\".concat(needsEncoding ? '-urlencode' : '');\n push(\"\".concat(flag, \" \").concat((0, shell_1.quote)(\"\".concat(name, \"=\").concat(param.value))));\n });\n }\n else {\n push(\"\".concat(binary ? '--data-binary' : arg('data'), \" \").concat((0, shell_1.quote)(postData.text)));\n }\n break;\n default: {\n // raw request body\n if (!postData.text) {\n break;\n }\n var flag = binary ? '--data-binary' : arg('data');\n var builtPayload = false;\n // If we're dealing with a JSON variant, and our payload is JSON let's make it look a little nicer.\n if ((0, headers_1.isMimeTypeJSON)(postData.mimeType)) {\n // If our postData is less than 20 characters, let's keep it all on one line so as to not make the snippet overly lengthy.\n var couldBeJSON = postData.text.length > 2;\n if (couldBeJSON && prettifyJson) {\n try {\n var jsonPayload = JSON.parse(postData.text);\n // If the JSON object has a single quote we should prepare it inside of a HEREDOC because the single quote in something like `string's` can't be escaped when used with `--data`.\n //\n // Basically this boils down to `--data @- < 0) {\n push(\"\".concat(flag, \" @- < 1;\n }\n return (0, exports.literalRepresentation)(v, opts, indentLevel);\n });\n // @ts-expect-error needs better types\n return concatArray(valuesRepresentation, pretty_1, opts.indent, indentLevel);\n }\n case '[object Object]': {\n var keyValuePairs = [];\n for (var key in value) {\n keyValuePairs.push(\"\\\"\".concat(key, \"\\\": \").concat((0, exports.literalRepresentation)(value[key], opts, indentLevel)));\n }\n return concatArray(keyValuePairs, \n // @ts-expect-error needs better types\n opts.pretty && keyValuePairs.length > 1, \n // @ts-expect-error needs better types\n opts.indent, indentLevel);\n }\n case '[object Boolean]':\n return value.toString();\n default:\n if (value === null || value === undefined) {\n return '';\n }\n return \"\\\"\".concat(value.toString().replace(/\"/g, '\\\\\"'), \"\\\"\");\n }\n};\nexports.literalRepresentation = literalRepresentation;\n//# sourceMappingURL=helpers.js.map","\"use strict\";\n/**\n * @description\n * HTTP code snippet generator for Swift using NSURLSession.\n *\n * @author\n * @thibaultCha\n *\n * for any questions or issues regarding the generated code snippet, please open an issue mentioning the author.\n */\nvar __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nvar __read = (this && this.__read) || function (o, n) {\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o), r, ar = [], e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n};\nexports.__esModule = true;\nexports.nsurlsession = void 0;\nvar code_builder_1 = require(\"../../../helpers/code-builder\");\nvar helpers_1 = require(\"../helpers\");\nexports.nsurlsession = {\n info: {\n key: 'nsurlsession',\n title: 'NSURLSession',\n link: 'https://developer.apple.com/library/mac/documentation/Foundation/Reference/NSURLSession_class/index.html',\n description: \"Foundation's NSURLSession request\"\n },\n convert: function (_a, options) {\n var _b;\n var allHeaders = _a.allHeaders, postData = _a.postData, fullUrl = _a.fullUrl, method = _a.method;\n var opts = __assign({ indent: ' ', pretty: true, timeout: '10' }, options);\n var _c = new code_builder_1.CodeBuilder({ indent: opts.indent }), push = _c.push, blank = _c.blank, join = _c.join;\n // Markers for headers to be created as litteral objects and later be set on the NSURLRequest if exist\n var req = {\n hasHeaders: false,\n hasBody: false\n };\n // We just want to make sure people understand that is the only dependency\n push('import Foundation');\n if (Object.keys(allHeaders).length) {\n req.hasHeaders = true;\n blank();\n push((0, helpers_1.literalDeclaration)('headers', allHeaders, opts));\n }\n if (postData.text || postData.jsonObj || postData.params) {\n req.hasBody = true;\n switch (postData.mimeType) {\n case 'application/x-www-form-urlencoded':\n // By appending parameters one by one in the resulting snippet,\n // we make it easier for the user to edit it according to his or her needs after pasting.\n // The user can just add/remove lines adding/removing body parameters.\n blank();\n if ((_b = postData.params) === null || _b === void 0 ? void 0 : _b.length) {\n var _d = __read(postData.params), head = _d[0], tail = _d.slice(1);\n push(\"let postData = NSMutableData(data: \\\"\".concat(head.name, \"=\").concat(head.value, \"\\\".data(using: String.Encoding.utf8)!)\"));\n tail.forEach(function (_a) {\n var name = _a.name, value = _a.value;\n push(\"postData.append(\\\"&\".concat(name, \"=\").concat(value, \"\\\".data(using: String.Encoding.utf8)!)\"));\n });\n }\n else {\n req.hasBody = false;\n }\n break;\n case 'application/json':\n if (postData.jsonObj) {\n push(\"\".concat((0, helpers_1.literalDeclaration)('parameters', postData.jsonObj, opts), \" as [String : Any]\"));\n blank();\n push('let postData = JSONSerialization.data(withJSONObject: parameters, options: [])');\n }\n break;\n case 'multipart/form-data':\n /**\n * By appending multipart parameters one by one in the resulting snippet,\n * we make it easier for the user to edit it according to his or her needs after pasting.\n * The user can just edit the parameters NSDictionary or put this part of a snippet in a multipart builder method.\n */\n push((0, helpers_1.literalDeclaration)('parameters', postData.params, opts));\n blank();\n push(\"let boundary = \\\"\".concat(postData.boundary, \"\\\"\"));\n blank();\n push('var body = \"\"');\n push('var error: NSError? = nil');\n push('for param in parameters {');\n push('let paramName = param[\"name\"]!', 1);\n push('body += \"--\\\\(boundary)\\\\r\\\\n\"', 1);\n push('body += \"Content-Disposition:form-data; name=\\\\\"\\\\(paramName)\\\\\"\"', 1);\n push('if let filename = param[\"fileName\"] {', 1);\n push('let contentType = param[\"content-type\"]!', 2);\n push('let fileContent = String(contentsOfFile: filename, encoding: String.Encoding.utf8)', 2);\n push('if (error != nil) {', 2);\n push('print(error as Any)', 3);\n push('}', 2);\n push('body += \"; filename=\\\\\"\\\\(filename)\\\\\"\\\\r\\\\n\"', 2);\n push('body += \"Content-Type: \\\\(contentType)\\\\r\\\\n\\\\r\\\\n\"', 2);\n push('body += fileContent', 2);\n push('} else if let paramValue = param[\"value\"] {', 1);\n push('body += \"\\\\r\\\\n\\\\r\\\\n\\\\(paramValue)\"', 2);\n push('}', 1);\n push('}');\n break;\n default:\n blank();\n push(\"let postData = NSData(data: \\\"\".concat(postData.text, \"\\\".data(using: String.Encoding.utf8)!)\"));\n }\n }\n blank();\n // NSURLRequestUseProtocolCachePolicy is the default policy, let's just always set it to avoid confusion.\n push(\"let request = NSMutableURLRequest(url: NSURL(string: \\\"\".concat(fullUrl, \"\\\")! as URL,\"));\n push(' cachePolicy: .useProtocolCachePolicy,');\n push(\n // @ts-expect-error needs better types\n \" timeoutInterval: \".concat(parseInt(opts.timeout, 10).toFixed(1), \")\"));\n push(\"request.httpMethod = \\\"\".concat(method, \"\\\"\"));\n if (req.hasHeaders) {\n push('request.allHTTPHeaderFields = headers');\n }\n if (req.hasBody) {\n push('request.httpBody = postData as Data');\n }\n blank();\n // Retrieving the shared session will be less verbose than creating a new one.\n push('let session = URLSession.shared');\n push('let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in');\n push('if (error != nil) {', 1);\n push('print(error as Any)', 2);\n push('} else {', 1); // Casting the NSURLResponse to NSHTTPURLResponse so the user can see the status .\n push('let httpResponse = response as? HTTPURLResponse', 2);\n push('print(httpResponse)', 2);\n push('}', 1);\n push('})');\n blank();\n push('dataTask.resume()');\n return join();\n }\n};\n//# sourceMappingURL=client.js.map","\"use strict\";\nexports.__esModule = true;\nexports.swift = void 0;\nvar client_1 = require(\"./nsurlsession/client\");\nexports.swift = {\n info: {\n key: 'swift',\n title: 'Swift',\n extname: '.swift',\n \"default\": 'nsurlsession'\n },\n clientsById: {\n nsurlsession: client_1.nsurlsession\n }\n};\n//# sourceMappingURL=target.js.map","\"use strict\";\nexports.__esModule = true;\nexports.addTargetClient = exports.isClient = exports.addTarget = exports.isTarget = exports.targets = void 0;\nvar target_1 = require(\"./c/target\");\nvar target_2 = require(\"./clojure/target\");\nvar target_3 = require(\"./crystal/target\");\nvar target_4 = require(\"./csharp/target\");\nvar target_5 = require(\"./go/target\");\nvar target_6 = require(\"./http/target\");\nvar target_7 = require(\"./java/target\");\nvar target_8 = require(\"./javascript/target\");\nvar target_9 = require(\"./kotlin/target\");\nvar target_10 = require(\"./node/target\");\nvar target_11 = require(\"./objc/target\");\nvar target_12 = require(\"./ocaml/target\");\nvar target_13 = require(\"./php/target\");\nvar target_14 = require(\"./powershell/target\");\nvar target_15 = require(\"./python/target\");\nvar target_16 = require(\"./r/target\");\nvar target_17 = require(\"./ruby/target\");\nvar target_18 = require(\"./rust/target\");\nvar target_19 = require(\"./shell/target\");\nvar target_20 = require(\"./swift/target\");\nexports.targets = {\n c: target_1.c,\n clojure: target_2.clojure,\n crystal: target_3.crystal,\n csharp: target_4.csharp,\n go: target_5.go,\n http: target_6.http,\n java: target_7.java,\n javascript: target_8.javascript,\n kotlin: target_9.kotlin,\n node: target_10.node,\n objc: target_11.objc,\n ocaml: target_12.ocaml,\n php: target_13.php,\n powershell: target_14.powershell,\n python: target_15.python,\n r: target_16.r,\n ruby: target_17.ruby,\n rust: target_18.rust,\n shell: target_19.shell,\n swift: target_20.swift\n};\nvar isTarget = function (target) {\n if (typeof target !== 'object' || target === null || Array.isArray(target)) {\n var got = target === null ? 'null' : Array.isArray(target) ? 'array' : typeof target;\n throw new Error(\"you tried to add a target which is not an object, got type: \\\"\".concat(got, \"\\\"\"));\n }\n if (!Object.prototype.hasOwnProperty.call(target, 'info')) {\n throw new Error('targets must contain an `info` object');\n }\n if (!Object.prototype.hasOwnProperty.call(target.info, 'key')) {\n throw new Error('targets must have an `info` object with the property `key`');\n }\n if (!target.info.key) {\n throw new Error('target key must be a unique string');\n }\n if (Object.prototype.hasOwnProperty.call(exports.targets, target.info.key)) {\n throw new Error(\"a target already exists with this key, `\".concat(target.info.key, \"`\"));\n }\n if (!Object.prototype.hasOwnProperty.call(target.info, 'title')) {\n throw new Error('targets must have an `info` object with the property `title`');\n }\n if (!target.info.title) {\n throw new Error('target title must be a non-zero-length string');\n }\n if (!Object.prototype.hasOwnProperty.call(target.info, 'extname')) {\n throw new Error('targets must have an `info` object with the property `extname`');\n }\n if (!Object.prototype.hasOwnProperty.call(target, 'clientsById') ||\n !target.clientsById ||\n Object.keys(target.clientsById).length === 0) {\n throw new Error(\"No clients provided in target \".concat(target.info.key, \". You must provide the property `clientsById` containg your clients.\"));\n }\n if (!Object.prototype.hasOwnProperty.call(target.info, 'default')) {\n throw new Error('targets must have an `info` object with the property `default`');\n }\n if (!Object.prototype.hasOwnProperty.call(target.clientsById, target.info[\"default\"])) {\n throw new Error(\"target \".concat(target.info.key, \" is configured with a default client \").concat(target.info[\"default\"], \", but no such client was found in the property `clientsById` (found \").concat(JSON.stringify(Object.keys(target.clientsById)), \")\"));\n }\n Object.values(target.clientsById).forEach(exports.isClient);\n return true;\n};\nexports.isTarget = isTarget;\nvar addTarget = function (target) {\n if (!(0, exports.isTarget)(target)) {\n return;\n }\n exports.targets[target.info.key] = target;\n};\nexports.addTarget = addTarget;\nvar isClient = function (client) {\n if (!client) {\n throw new Error('clients must be objects');\n }\n if (!Object.prototype.hasOwnProperty.call(client, 'info')) {\n throw new Error('targets client must contain an `info` object');\n }\n if (!Object.prototype.hasOwnProperty.call(client.info, 'key')) {\n throw new Error('targets client must have an `info` object with property `key`');\n }\n if (!client.info.key) {\n throw new Error('client.info.key must contain an identifier unique to this target');\n }\n if (!Object.prototype.hasOwnProperty.call(client.info, 'title')) {\n throw new Error('targets client must have an `info` object with property `title`');\n }\n if (!Object.prototype.hasOwnProperty.call(client.info, 'description')) {\n throw new Error('targets client must have an `info` object with property `description`');\n }\n if (!Object.prototype.hasOwnProperty.call(client.info, 'link')) {\n throw new Error('targets client must have an `info` object with property `link`');\n }\n if (!Object.prototype.hasOwnProperty.call(client, 'convert') ||\n typeof client.convert !== 'function') {\n throw new Error('targets client must have a `convert` property containing a conversion function');\n }\n return true;\n};\nexports.isClient = isClient;\nvar addTargetClient = function (targetId, client) {\n if (!(0, exports.isClient)(client)) {\n return;\n }\n if (!Object.prototype.hasOwnProperty.call(exports.targets, targetId)) {\n throw new Error(\"Sorry, but no \".concat(targetId, \" target exists to add clients to\"));\n }\n if (Object.prototype.hasOwnProperty.call(exports.targets[targetId], client.info.key)) {\n throw new Error(\"the target \".concat(targetId, \" already has a client with the key \").concat(client.info.key, \", please use a different key\"));\n }\n exports.targets[targetId].clientsById[client.info.key] = client;\n};\nexports.addTargetClient = addTargetClient;\n//# sourceMappingURL=targets.js.map","module.exports =\n{\n parallel : require('./parallel.js'),\n serial : require('./serial.js'),\n serialOrdered : require('./serialOrdered.js')\n};\n","// API\nmodule.exports = abort;\n\n/**\n * Aborts leftover active jobs\n *\n * @param {object} state - current state object\n */\nfunction abort(state)\n{\n Object.keys(state.jobs).forEach(clean.bind(state));\n\n // reset leftover jobs\n state.jobs = {};\n}\n\n/**\n * Cleans up leftover job by invoking abort function for the provided job id\n *\n * @this state\n * @param {string|number} key - job id to abort\n */\nfunction clean(key)\n{\n if (typeof this.jobs[key] == 'function')\n {\n this.jobs[key]();\n }\n}\n","var defer = require('./defer.js');\n\n// API\nmodule.exports = async;\n\n/**\n * Runs provided callback asynchronously\n * even if callback itself is not\n *\n * @param {function} callback - callback to invoke\n * @returns {function} - augmented callback\n */\nfunction async(callback)\n{\n var isAsync = false;\n\n // check if async happened\n defer(function() { isAsync = true; });\n\n return function async_callback(err, result)\n {\n if (isAsync)\n {\n callback(err, result);\n }\n else\n {\n defer(function nextTick_callback()\n {\n callback(err, result);\n });\n }\n };\n}\n","module.exports = defer;\n\n/**\n * Runs provided function on next iteration of the event loop\n *\n * @param {function} fn - function to run\n */\nfunction defer(fn)\n{\n var nextTick = typeof setImmediate == 'function'\n ? setImmediate\n : (\n typeof process == 'object' && typeof process.nextTick == 'function'\n ? process.nextTick\n : null\n );\n\n if (nextTick)\n {\n nextTick(fn);\n }\n else\n {\n setTimeout(fn, 0);\n }\n}\n","var async = require('./async.js')\n , abort = require('./abort.js')\n ;\n\n// API\nmodule.exports = iterate;\n\n/**\n * Iterates over each job object\n *\n * @param {array|object} list - array or object (named list) to iterate over\n * @param {function} iterator - iterator to run\n * @param {object} state - current job status\n * @param {function} callback - invoked when all elements processed\n */\nfunction iterate(list, iterator, state, callback)\n{\n // store current index\n var key = state['keyedList'] ? state['keyedList'][state.index] : state.index;\n\n state.jobs[key] = runJob(iterator, key, list[key], function(error, output)\n {\n // don't repeat yourself\n // skip secondary callbacks\n if (!(key in state.jobs))\n {\n return;\n }\n\n // clean up jobs\n delete state.jobs[key];\n\n if (error)\n {\n // don't process rest of the results\n // stop still active jobs\n // and reset the list\n abort(state);\n }\n else\n {\n state.results[key] = output;\n }\n\n // return salvaged results\n callback(error, state.results);\n });\n}\n\n/**\n * Runs iterator over provided job element\n *\n * @param {function} iterator - iterator to invoke\n * @param {string|number} key - key/index of the element in the list of jobs\n * @param {mixed} item - job description\n * @param {function} callback - invoked after iterator is done with the job\n * @returns {function|mixed} - job abort function or something else\n */\nfunction runJob(iterator, key, item, callback)\n{\n var aborter;\n\n // allow shortcut if iterator expects only two arguments\n if (iterator.length == 2)\n {\n aborter = iterator(item, async(callback));\n }\n // otherwise go with full three arguments\n else\n {\n aborter = iterator(item, key, async(callback));\n }\n\n return aborter;\n}\n","// API\nmodule.exports = state;\n\n/**\n * Creates initial state object\n * for iteration over list\n *\n * @param {array|object} list - list to iterate over\n * @param {function|null} sortMethod - function to use for keys sort,\n * or `null` to keep them as is\n * @returns {object} - initial state object\n */\nfunction state(list, sortMethod)\n{\n var isNamedList = !Array.isArray(list)\n , initState =\n {\n index : 0,\n keyedList: isNamedList || sortMethod ? Object.keys(list) : null,\n jobs : {},\n results : isNamedList ? {} : [],\n size : isNamedList ? Object.keys(list).length : list.length\n }\n ;\n\n if (sortMethod)\n {\n // sort array keys based on it's values\n // sort object's keys just on own merit\n initState.keyedList.sort(isNamedList ? sortMethod : function(a, b)\n {\n return sortMethod(list[a], list[b]);\n });\n }\n\n return initState;\n}\n","var abort = require('./abort.js')\n , async = require('./async.js')\n ;\n\n// API\nmodule.exports = terminator;\n\n/**\n * Terminates jobs in the attached state context\n *\n * @this AsyncKitState#\n * @param {function} callback - final callback to invoke after termination\n */\nfunction terminator(callback)\n{\n if (!Object.keys(this.jobs).length)\n {\n return;\n }\n\n // fast forward iteration index\n this.index = this.size;\n\n // abort jobs\n abort(this);\n\n // send back results we have so far\n async(callback)(null, this.results);\n}\n","var iterate = require('./lib/iterate.js')\n , initState = require('./lib/state.js')\n , terminator = require('./lib/terminator.js')\n ;\n\n// Public API\nmodule.exports = parallel;\n\n/**\n * Runs iterator over provided array elements in parallel\n *\n * @param {array|object} list - array or object (named list) to iterate over\n * @param {function} iterator - iterator to run\n * @param {function} callback - invoked when all elements processed\n * @returns {function} - jobs terminator\n */\nfunction parallel(list, iterator, callback)\n{\n var state = initState(list);\n\n while (state.index < (state['keyedList'] || list).length)\n {\n iterate(list, iterator, state, function(error, result)\n {\n if (error)\n {\n callback(error, result);\n return;\n }\n\n // looks like it's the last one\n if (Object.keys(state.jobs).length === 0)\n {\n callback(null, state.results);\n return;\n }\n });\n\n state.index++;\n }\n\n return terminator.bind(state, callback);\n}\n","var serialOrdered = require('./serialOrdered.js');\n\n// Public API\nmodule.exports = serial;\n\n/**\n * Runs iterator over provided array elements in series\n *\n * @param {array|object} list - array or object (named list) to iterate over\n * @param {function} iterator - iterator to run\n * @param {function} callback - invoked when all elements processed\n * @returns {function} - jobs terminator\n */\nfunction serial(list, iterator, callback)\n{\n return serialOrdered(list, iterator, null, callback);\n}\n","var iterate = require('./lib/iterate.js')\n , initState = require('./lib/state.js')\n , terminator = require('./lib/terminator.js')\n ;\n\n// Public API\nmodule.exports = serialOrdered;\n// sorting helpers\nmodule.exports.ascending = ascending;\nmodule.exports.descending = descending;\n\n/**\n * Runs iterator over provided sorted array elements in series\n *\n * @param {array|object} list - array or object (named list) to iterate over\n * @param {function} iterator - iterator to run\n * @param {function} sortMethod - custom sort function\n * @param {function} callback - invoked when all elements processed\n * @returns {function} - jobs terminator\n */\nfunction serialOrdered(list, iterator, sortMethod, callback)\n{\n var state = initState(list, sortMethod);\n\n iterate(list, iterator, state, function iteratorHandler(error, result)\n {\n if (error)\n {\n callback(error, result);\n return;\n }\n\n state.index++;\n\n // are we there yet?\n if (state.index < (state['keyedList'] || list).length)\n {\n iterate(list, iterator, state, iteratorHandler);\n return;\n }\n\n // done here\n callback(null, state.results);\n });\n\n return terminator.bind(state, callback);\n}\n\n/*\n * -- Sort methods\n */\n\n/**\n * sort helper to sort array elements in ascending order\n *\n * @param {mixed} a - an item to compare\n * @param {mixed} b - an item to compare\n * @returns {number} - comparison result\n */\nfunction ascending(a, b)\n{\n return a < b ? -1 : a > b ? 1 : 0;\n}\n\n/**\n * sort helper to sort array elements in descending order\n *\n * @param {mixed} a - an item to compare\n * @param {mixed} b - an item to compare\n * @returns {number} - comparison result\n */\nfunction descending(a, b)\n{\n return -1 * ascending(a, b);\n}\n","'use strict'\n\nexports.byteLength = byteLength\nexports.toByteArray = toByteArray\nexports.fromByteArray = fromByteArray\n\nvar lookup = []\nvar revLookup = []\nvar Arr = typeof Uint8Array !== 'undefined' ? Uint8Array : Array\n\nvar code = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'\nfor (var i = 0, len = code.length; i < len; ++i) {\n lookup[i] = code[i]\n revLookup[code.charCodeAt(i)] = i\n}\n\n// Support decoding URL-safe base64 strings, as Node.js does.\n// See: https://en.wikipedia.org/wiki/Base64#URL_applications\nrevLookup['-'.charCodeAt(0)] = 62\nrevLookup['_'.charCodeAt(0)] = 63\n\nfunction getLens (b64) {\n var len = b64.length\n\n if (len % 4 > 0) {\n throw new Error('Invalid string. Length must be a multiple of 4')\n }\n\n // Trim off extra bytes after placeholder bytes are found\n // See: https://github.com/beatgammit/base64-js/issues/42\n var validLen = b64.indexOf('=')\n if (validLen === -1) validLen = len\n\n var placeHoldersLen = validLen === len\n ? 0\n : 4 - (validLen % 4)\n\n return [validLen, placeHoldersLen]\n}\n\n// base64 is 4/3 + up to two characters of the original data\nfunction byteLength (b64) {\n var lens = getLens(b64)\n var validLen = lens[0]\n var placeHoldersLen = lens[1]\n return ((validLen + placeHoldersLen) * 3 / 4) - placeHoldersLen\n}\n\nfunction _byteLength (b64, validLen, placeHoldersLen) {\n return ((validLen + placeHoldersLen) * 3 / 4) - placeHoldersLen\n}\n\nfunction toByteArray (b64) {\n var tmp\n var lens = getLens(b64)\n var validLen = lens[0]\n var placeHoldersLen = lens[1]\n\n var arr = new Arr(_byteLength(b64, validLen, placeHoldersLen))\n\n var curByte = 0\n\n // if there are placeholders, only get up to the last complete 4 chars\n var len = placeHoldersLen > 0\n ? validLen - 4\n : validLen\n\n var i\n for (i = 0; i < len; i += 4) {\n tmp =\n (revLookup[b64.charCodeAt(i)] << 18) |\n (revLookup[b64.charCodeAt(i + 1)] << 12) |\n (revLookup[b64.charCodeAt(i + 2)] << 6) |\n revLookup[b64.charCodeAt(i + 3)]\n arr[curByte++] = (tmp >> 16) & 0xFF\n arr[curByte++] = (tmp >> 8) & 0xFF\n arr[curByte++] = tmp & 0xFF\n }\n\n if (placeHoldersLen === 2) {\n tmp =\n (revLookup[b64.charCodeAt(i)] << 2) |\n (revLookup[b64.charCodeAt(i + 1)] >> 4)\n arr[curByte++] = tmp & 0xFF\n }\n\n if (placeHoldersLen === 1) {\n tmp =\n (revLookup[b64.charCodeAt(i)] << 10) |\n (revLookup[b64.charCodeAt(i + 1)] << 4) |\n (revLookup[b64.charCodeAt(i + 2)] >> 2)\n arr[curByte++] = (tmp >> 8) & 0xFF\n arr[curByte++] = tmp & 0xFF\n }\n\n return arr\n}\n\nfunction tripletToBase64 (num) {\n return lookup[num >> 18 & 0x3F] +\n lookup[num >> 12 & 0x3F] +\n lookup[num >> 6 & 0x3F] +\n lookup[num & 0x3F]\n}\n\nfunction encodeChunk (uint8, start, end) {\n var tmp\n var output = []\n for (var i = start; i < end; i += 3) {\n tmp =\n ((uint8[i] << 16) & 0xFF0000) +\n ((uint8[i + 1] << 8) & 0xFF00) +\n (uint8[i + 2] & 0xFF)\n output.push(tripletToBase64(tmp))\n }\n return output.join('')\n}\n\nfunction fromByteArray (uint8) {\n var tmp\n var len = uint8.length\n var extraBytes = len % 3 // if we have 1 byte left, pad 2 bytes\n var parts = []\n var maxChunkLength = 16383 // must be multiple of 3\n\n // go through the array every three bytes, we'll deal with trailing stuff later\n for (var i = 0, len2 = len - extraBytes; i < len2; i += maxChunkLength) {\n parts.push(encodeChunk(uint8, i, (i + maxChunkLength) > len2 ? len2 : (i + maxChunkLength)))\n }\n\n // pad the end with zeros, but make sure to not forget the extra bytes\n if (extraBytes === 1) {\n tmp = uint8[len - 1]\n parts.push(\n lookup[tmp >> 2] +\n lookup[(tmp << 4) & 0x3F] +\n '=='\n )\n } else if (extraBytes === 2) {\n tmp = (uint8[len - 2] << 8) + uint8[len - 1]\n parts.push(\n lookup[tmp >> 10] +\n lookup[(tmp >> 4) & 0x3F] +\n lookup[(tmp << 2) & 0x3F] +\n '='\n )\n }\n\n return parts.join('')\n}\n","/*!\n * The buffer module from node.js, for the browser.\n *\n * @author Feross Aboukhadijeh \n * @license MIT\n */\n/* eslint-disable no-proto */\n\n'use strict'\n\nconst base64 = require('base64-js')\nconst ieee754 = require('ieee754')\nconst customInspectSymbol =\n (typeof Symbol === 'function' && typeof Symbol['for'] === 'function') // eslint-disable-line dot-notation\n ? Symbol['for']('nodejs.util.inspect.custom') // eslint-disable-line dot-notation\n : null\n\nexports.Buffer = Buffer\nexports.SlowBuffer = SlowBuffer\nexports.INSPECT_MAX_BYTES = 50\n\nconst K_MAX_LENGTH = 0x7fffffff\nexports.kMaxLength = K_MAX_LENGTH\n\n/**\n * If `Buffer.TYPED_ARRAY_SUPPORT`:\n * === true Use Uint8Array implementation (fastest)\n * === false Print warning and recommend using `buffer` v4.x which has an Object\n * implementation (most compatible, even IE6)\n *\n * Browsers that support typed arrays are IE 10+, Firefox 4+, Chrome 7+, Safari 5.1+,\n * Opera 11.6+, iOS 4.2+.\n *\n * We report that the browser does not support typed arrays if the are not subclassable\n * using __proto__. Firefox 4-29 lacks support for adding new properties to `Uint8Array`\n * (See: https://bugzilla.mozilla.org/show_bug.cgi?id=695438). IE 10 lacks support\n * for __proto__ and has a buggy typed array implementation.\n */\nBuffer.TYPED_ARRAY_SUPPORT = typedArraySupport()\n\nif (!Buffer.TYPED_ARRAY_SUPPORT && typeof console !== 'undefined' &&\n typeof console.error === 'function') {\n console.error(\n 'This browser lacks typed array (Uint8Array) support which is required by ' +\n '`buffer` v5.x. Use `buffer` v4.x if you require old browser support.'\n )\n}\n\nfunction typedArraySupport () {\n // Can typed array instances can be augmented?\n try {\n const arr = new Uint8Array(1)\n const proto = { foo: function () { return 42 } }\n Object.setPrototypeOf(proto, Uint8Array.prototype)\n Object.setPrototypeOf(arr, proto)\n return arr.foo() === 42\n } catch (e) {\n return false\n }\n}\n\nObject.defineProperty(Buffer.prototype, 'parent', {\n enumerable: true,\n get: function () {\n if (!Buffer.isBuffer(this)) return undefined\n return this.buffer\n }\n})\n\nObject.defineProperty(Buffer.prototype, 'offset', {\n enumerable: true,\n get: function () {\n if (!Buffer.isBuffer(this)) return undefined\n return this.byteOffset\n }\n})\n\nfunction createBuffer (length) {\n if (length > K_MAX_LENGTH) {\n throw new RangeError('The value \"' + length + '\" is invalid for option \"size\"')\n }\n // Return an augmented `Uint8Array` instance\n const buf = new Uint8Array(length)\n Object.setPrototypeOf(buf, Buffer.prototype)\n return buf\n}\n\n/**\n * The Buffer constructor returns instances of `Uint8Array` that have their\n * prototype changed to `Buffer.prototype`. Furthermore, `Buffer` is a subclass of\n * `Uint8Array`, so the returned instances will have all the node `Buffer` methods\n * and the `Uint8Array` methods. Square bracket notation works as expected -- it\n * returns a single octet.\n *\n * The `Uint8Array` prototype remains unmodified.\n */\n\nfunction Buffer (arg, encodingOrOffset, length) {\n // Common case.\n if (typeof arg === 'number') {\n if (typeof encodingOrOffset === 'string') {\n throw new TypeError(\n 'The \"string\" argument must be of type string. Received type number'\n )\n }\n return allocUnsafe(arg)\n }\n return from(arg, encodingOrOffset, length)\n}\n\nBuffer.poolSize = 8192 // not used by this implementation\n\nfunction from (value, encodingOrOffset, length) {\n if (typeof value === 'string') {\n return fromString(value, encodingOrOffset)\n }\n\n if (ArrayBuffer.isView(value)) {\n return fromArrayView(value)\n }\n\n if (value == null) {\n throw new TypeError(\n 'The first argument must be one of type string, Buffer, ArrayBuffer, Array, ' +\n 'or Array-like Object. Received type ' + (typeof value)\n )\n }\n\n if (isInstance(value, ArrayBuffer) ||\n (value && isInstance(value.buffer, ArrayBuffer))) {\n return fromArrayBuffer(value, encodingOrOffset, length)\n }\n\n if (typeof SharedArrayBuffer !== 'undefined' &&\n (isInstance(value, SharedArrayBuffer) ||\n (value && isInstance(value.buffer, SharedArrayBuffer)))) {\n return fromArrayBuffer(value, encodingOrOffset, length)\n }\n\n if (typeof value === 'number') {\n throw new TypeError(\n 'The \"value\" argument must not be of type number. Received type number'\n )\n }\n\n const valueOf = value.valueOf && value.valueOf()\n if (valueOf != null && valueOf !== value) {\n return Buffer.from(valueOf, encodingOrOffset, length)\n }\n\n const b = fromObject(value)\n if (b) return b\n\n if (typeof Symbol !== 'undefined' && Symbol.toPrimitive != null &&\n typeof value[Symbol.toPrimitive] === 'function') {\n return Buffer.from(value[Symbol.toPrimitive]('string'), encodingOrOffset, length)\n }\n\n throw new TypeError(\n 'The first argument must be one of type string, Buffer, ArrayBuffer, Array, ' +\n 'or Array-like Object. Received type ' + (typeof value)\n )\n}\n\n/**\n * Functionally equivalent to Buffer(arg, encoding) but throws a TypeError\n * if value is a number.\n * Buffer.from(str[, encoding])\n * Buffer.from(array)\n * Buffer.from(buffer)\n * Buffer.from(arrayBuffer[, byteOffset[, length]])\n **/\nBuffer.from = function (value, encodingOrOffset, length) {\n return from(value, encodingOrOffset, length)\n}\n\n// Note: Change prototype *after* Buffer.from is defined to workaround Chrome bug:\n// https://github.com/feross/buffer/pull/148\nObject.setPrototypeOf(Buffer.prototype, Uint8Array.prototype)\nObject.setPrototypeOf(Buffer, Uint8Array)\n\nfunction assertSize (size) {\n if (typeof size !== 'number') {\n throw new TypeError('\"size\" argument must be of type number')\n } else if (size < 0) {\n throw new RangeError('The value \"' + size + '\" is invalid for option \"size\"')\n }\n}\n\nfunction alloc (size, fill, encoding) {\n assertSize(size)\n if (size <= 0) {\n return createBuffer(size)\n }\n if (fill !== undefined) {\n // Only pay attention to encoding if it's a string. This\n // prevents accidentally sending in a number that would\n // be interpreted as a start offset.\n return typeof encoding === 'string'\n ? createBuffer(size).fill(fill, encoding)\n : createBuffer(size).fill(fill)\n }\n return createBuffer(size)\n}\n\n/**\n * Creates a new filled Buffer instance.\n * alloc(size[, fill[, encoding]])\n **/\nBuffer.alloc = function (size, fill, encoding) {\n return alloc(size, fill, encoding)\n}\n\nfunction allocUnsafe (size) {\n assertSize(size)\n return createBuffer(size < 0 ? 0 : checked(size) | 0)\n}\n\n/**\n * Equivalent to Buffer(num), by default creates a non-zero-filled Buffer instance.\n * */\nBuffer.allocUnsafe = function (size) {\n return allocUnsafe(size)\n}\n/**\n * Equivalent to SlowBuffer(num), by default creates a non-zero-filled Buffer instance.\n */\nBuffer.allocUnsafeSlow = function (size) {\n return allocUnsafe(size)\n}\n\nfunction fromString (string, encoding) {\n if (typeof encoding !== 'string' || encoding === '') {\n encoding = 'utf8'\n }\n\n if (!Buffer.isEncoding(encoding)) {\n throw new TypeError('Unknown encoding: ' + encoding)\n }\n\n const length = byteLength(string, encoding) | 0\n let buf = createBuffer(length)\n\n const actual = buf.write(string, encoding)\n\n if (actual !== length) {\n // Writing a hex string, for example, that contains invalid characters will\n // cause everything after the first invalid character to be ignored. (e.g.\n // 'abxxcd' will be treated as 'ab')\n buf = buf.slice(0, actual)\n }\n\n return buf\n}\n\nfunction fromArrayLike (array) {\n const length = array.length < 0 ? 0 : checked(array.length) | 0\n const buf = createBuffer(length)\n for (let i = 0; i < length; i += 1) {\n buf[i] = array[i] & 255\n }\n return buf\n}\n\nfunction fromArrayView (arrayView) {\n if (isInstance(arrayView, Uint8Array)) {\n const copy = new Uint8Array(arrayView)\n return fromArrayBuffer(copy.buffer, copy.byteOffset, copy.byteLength)\n }\n return fromArrayLike(arrayView)\n}\n\nfunction fromArrayBuffer (array, byteOffset, length) {\n if (byteOffset < 0 || array.byteLength < byteOffset) {\n throw new RangeError('\"offset\" is outside of buffer bounds')\n }\n\n if (array.byteLength < byteOffset + (length || 0)) {\n throw new RangeError('\"length\" is outside of buffer bounds')\n }\n\n let buf\n if (byteOffset === undefined && length === undefined) {\n buf = new Uint8Array(array)\n } else if (length === undefined) {\n buf = new Uint8Array(array, byteOffset)\n } else {\n buf = new Uint8Array(array, byteOffset, length)\n }\n\n // Return an augmented `Uint8Array` instance\n Object.setPrototypeOf(buf, Buffer.prototype)\n\n return buf\n}\n\nfunction fromObject (obj) {\n if (Buffer.isBuffer(obj)) {\n const len = checked(obj.length) | 0\n const buf = createBuffer(len)\n\n if (buf.length === 0) {\n return buf\n }\n\n obj.copy(buf, 0, 0, len)\n return buf\n }\n\n if (obj.length !== undefined) {\n if (typeof obj.length !== 'number' || numberIsNaN(obj.length)) {\n return createBuffer(0)\n }\n return fromArrayLike(obj)\n }\n\n if (obj.type === 'Buffer' && Array.isArray(obj.data)) {\n return fromArrayLike(obj.data)\n }\n}\n\nfunction checked (length) {\n // Note: cannot use `length < K_MAX_LENGTH` here because that fails when\n // length is NaN (which is otherwise coerced to zero.)\n if (length >= K_MAX_LENGTH) {\n throw new RangeError('Attempt to allocate Buffer larger than maximum ' +\n 'size: 0x' + K_MAX_LENGTH.toString(16) + ' bytes')\n }\n return length | 0\n}\n\nfunction SlowBuffer (length) {\n if (+length != length) { // eslint-disable-line eqeqeq\n length = 0\n }\n return Buffer.alloc(+length)\n}\n\nBuffer.isBuffer = function isBuffer (b) {\n return b != null && b._isBuffer === true &&\n b !== Buffer.prototype // so Buffer.isBuffer(Buffer.prototype) will be false\n}\n\nBuffer.compare = function compare (a, b) {\n if (isInstance(a, Uint8Array)) a = Buffer.from(a, a.offset, a.byteLength)\n if (isInstance(b, Uint8Array)) b = Buffer.from(b, b.offset, b.byteLength)\n if (!Buffer.isBuffer(a) || !Buffer.isBuffer(b)) {\n throw new TypeError(\n 'The \"buf1\", \"buf2\" arguments must be one of type Buffer or Uint8Array'\n )\n }\n\n if (a === b) return 0\n\n let x = a.length\n let y = b.length\n\n for (let i = 0, len = Math.min(x, y); i < len; ++i) {\n if (a[i] !== b[i]) {\n x = a[i]\n y = b[i]\n break\n }\n }\n\n if (x < y) return -1\n if (y < x) return 1\n return 0\n}\n\nBuffer.isEncoding = function isEncoding (encoding) {\n switch (String(encoding).toLowerCase()) {\n case 'hex':\n case 'utf8':\n case 'utf-8':\n case 'ascii':\n case 'latin1':\n case 'binary':\n case 'base64':\n case 'ucs2':\n case 'ucs-2':\n case 'utf16le':\n case 'utf-16le':\n return true\n default:\n return false\n }\n}\n\nBuffer.concat = function concat (list, length) {\n if (!Array.isArray(list)) {\n throw new TypeError('\"list\" argument must be an Array of Buffers')\n }\n\n if (list.length === 0) {\n return Buffer.alloc(0)\n }\n\n let i\n if (length === undefined) {\n length = 0\n for (i = 0; i < list.length; ++i) {\n length += list[i].length\n }\n }\n\n const buffer = Buffer.allocUnsafe(length)\n let pos = 0\n for (i = 0; i < list.length; ++i) {\n let buf = list[i]\n if (isInstance(buf, Uint8Array)) {\n if (pos + buf.length > buffer.length) {\n if (!Buffer.isBuffer(buf)) buf = Buffer.from(buf)\n buf.copy(buffer, pos)\n } else {\n Uint8Array.prototype.set.call(\n buffer,\n buf,\n pos\n )\n }\n } else if (!Buffer.isBuffer(buf)) {\n throw new TypeError('\"list\" argument must be an Array of Buffers')\n } else {\n buf.copy(buffer, pos)\n }\n pos += buf.length\n }\n return buffer\n}\n\nfunction byteLength (string, encoding) {\n if (Buffer.isBuffer(string)) {\n return string.length\n }\n if (ArrayBuffer.isView(string) || isInstance(string, ArrayBuffer)) {\n return string.byteLength\n }\n if (typeof string !== 'string') {\n throw new TypeError(\n 'The \"string\" argument must be one of type string, Buffer, or ArrayBuffer. ' +\n 'Received type ' + typeof string\n )\n }\n\n const len = string.length\n const mustMatch = (arguments.length > 2 && arguments[2] === true)\n if (!mustMatch && len === 0) return 0\n\n // Use a for loop to avoid recursion\n let loweredCase = false\n for (;;) {\n switch (encoding) {\n case 'ascii':\n case 'latin1':\n case 'binary':\n return len\n case 'utf8':\n case 'utf-8':\n return utf8ToBytes(string).length\n case 'ucs2':\n case 'ucs-2':\n case 'utf16le':\n case 'utf-16le':\n return len * 2\n case 'hex':\n return len >>> 1\n case 'base64':\n return base64ToBytes(string).length\n default:\n if (loweredCase) {\n return mustMatch ? -1 : utf8ToBytes(string).length // assume utf8\n }\n encoding = ('' + encoding).toLowerCase()\n loweredCase = true\n }\n }\n}\nBuffer.byteLength = byteLength\n\nfunction slowToString (encoding, start, end) {\n let loweredCase = false\n\n // No need to verify that \"this.length <= MAX_UINT32\" since it's a read-only\n // property of a typed array.\n\n // This behaves neither like String nor Uint8Array in that we set start/end\n // to their upper/lower bounds if the value passed is out of range.\n // undefined is handled specially as per ECMA-262 6th Edition,\n // Section 13.3.3.7 Runtime Semantics: KeyedBindingInitialization.\n if (start === undefined || start < 0) {\n start = 0\n }\n // Return early if start > this.length. Done here to prevent potential uint32\n // coercion fail below.\n if (start > this.length) {\n return ''\n }\n\n if (end === undefined || end > this.length) {\n end = this.length\n }\n\n if (end <= 0) {\n return ''\n }\n\n // Force coercion to uint32. This will also coerce falsey/NaN values to 0.\n end >>>= 0\n start >>>= 0\n\n if (end <= start) {\n return ''\n }\n\n if (!encoding) encoding = 'utf8'\n\n while (true) {\n switch (encoding) {\n case 'hex':\n return hexSlice(this, start, end)\n\n case 'utf8':\n case 'utf-8':\n return utf8Slice(this, start, end)\n\n case 'ascii':\n return asciiSlice(this, start, end)\n\n case 'latin1':\n case 'binary':\n return latin1Slice(this, start, end)\n\n case 'base64':\n return base64Slice(this, start, end)\n\n case 'ucs2':\n case 'ucs-2':\n case 'utf16le':\n case 'utf-16le':\n return utf16leSlice(this, start, end)\n\n default:\n if (loweredCase) throw new TypeError('Unknown encoding: ' + encoding)\n encoding = (encoding + '').toLowerCase()\n loweredCase = true\n }\n }\n}\n\n// This property is used by `Buffer.isBuffer` (and the `is-buffer` npm package)\n// to detect a Buffer instance. It's not possible to use `instanceof Buffer`\n// reliably in a browserify context because there could be multiple different\n// copies of the 'buffer' package in use. This method works even for Buffer\n// instances that were created from another copy of the `buffer` package.\n// See: https://github.com/feross/buffer/issues/154\nBuffer.prototype._isBuffer = true\n\nfunction swap (b, n, m) {\n const i = b[n]\n b[n] = b[m]\n b[m] = i\n}\n\nBuffer.prototype.swap16 = function swap16 () {\n const len = this.length\n if (len % 2 !== 0) {\n throw new RangeError('Buffer size must be a multiple of 16-bits')\n }\n for (let i = 0; i < len; i += 2) {\n swap(this, i, i + 1)\n }\n return this\n}\n\nBuffer.prototype.swap32 = function swap32 () {\n const len = this.length\n if (len % 4 !== 0) {\n throw new RangeError('Buffer size must be a multiple of 32-bits')\n }\n for (let i = 0; i < len; i += 4) {\n swap(this, i, i + 3)\n swap(this, i + 1, i + 2)\n }\n return this\n}\n\nBuffer.prototype.swap64 = function swap64 () {\n const len = this.length\n if (len % 8 !== 0) {\n throw new RangeError('Buffer size must be a multiple of 64-bits')\n }\n for (let i = 0; i < len; i += 8) {\n swap(this, i, i + 7)\n swap(this, i + 1, i + 6)\n swap(this, i + 2, i + 5)\n swap(this, i + 3, i + 4)\n }\n return this\n}\n\nBuffer.prototype.toString = function toString () {\n const length = this.length\n if (length === 0) return ''\n if (arguments.length === 0) return utf8Slice(this, 0, length)\n return slowToString.apply(this, arguments)\n}\n\nBuffer.prototype.toLocaleString = Buffer.prototype.toString\n\nBuffer.prototype.equals = function equals (b) {\n if (!Buffer.isBuffer(b)) throw new TypeError('Argument must be a Buffer')\n if (this === b) return true\n return Buffer.compare(this, b) === 0\n}\n\nBuffer.prototype.inspect = function inspect () {\n let str = ''\n const max = exports.INSPECT_MAX_BYTES\n str = this.toString('hex', 0, max).replace(/(.{2})/g, '$1 ').trim()\n if (this.length > max) str += ' ... '\n return ''\n}\nif (customInspectSymbol) {\n Buffer.prototype[customInspectSymbol] = Buffer.prototype.inspect\n}\n\nBuffer.prototype.compare = function compare (target, start, end, thisStart, thisEnd) {\n if (isInstance(target, Uint8Array)) {\n target = Buffer.from(target, target.offset, target.byteLength)\n }\n if (!Buffer.isBuffer(target)) {\n throw new TypeError(\n 'The \"target\" argument must be one of type Buffer or Uint8Array. ' +\n 'Received type ' + (typeof target)\n )\n }\n\n if (start === undefined) {\n start = 0\n }\n if (end === undefined) {\n end = target ? target.length : 0\n }\n if (thisStart === undefined) {\n thisStart = 0\n }\n if (thisEnd === undefined) {\n thisEnd = this.length\n }\n\n if (start < 0 || end > target.length || thisStart < 0 || thisEnd > this.length) {\n throw new RangeError('out of range index')\n }\n\n if (thisStart >= thisEnd && start >= end) {\n return 0\n }\n if (thisStart >= thisEnd) {\n return -1\n }\n if (start >= end) {\n return 1\n }\n\n start >>>= 0\n end >>>= 0\n thisStart >>>= 0\n thisEnd >>>= 0\n\n if (this === target) return 0\n\n let x = thisEnd - thisStart\n let y = end - start\n const len = Math.min(x, y)\n\n const thisCopy = this.slice(thisStart, thisEnd)\n const targetCopy = target.slice(start, end)\n\n for (let i = 0; i < len; ++i) {\n if (thisCopy[i] !== targetCopy[i]) {\n x = thisCopy[i]\n y = targetCopy[i]\n break\n }\n }\n\n if (x < y) return -1\n if (y < x) return 1\n return 0\n}\n\n// Finds either the first index of `val` in `buffer` at offset >= `byteOffset`,\n// OR the last index of `val` in `buffer` at offset <= `byteOffset`.\n//\n// Arguments:\n// - buffer - a Buffer to search\n// - val - a string, Buffer, or number\n// - byteOffset - an index into `buffer`; will be clamped to an int32\n// - encoding - an optional encoding, relevant is val is a string\n// - dir - true for indexOf, false for lastIndexOf\nfunction bidirectionalIndexOf (buffer, val, byteOffset, encoding, dir) {\n // Empty buffer means no match\n if (buffer.length === 0) return -1\n\n // Normalize byteOffset\n if (typeof byteOffset === 'string') {\n encoding = byteOffset\n byteOffset = 0\n } else if (byteOffset > 0x7fffffff) {\n byteOffset = 0x7fffffff\n } else if (byteOffset < -0x80000000) {\n byteOffset = -0x80000000\n }\n byteOffset = +byteOffset // Coerce to Number.\n if (numberIsNaN(byteOffset)) {\n // byteOffset: it it's undefined, null, NaN, \"foo\", etc, search whole buffer\n byteOffset = dir ? 0 : (buffer.length - 1)\n }\n\n // Normalize byteOffset: negative offsets start from the end of the buffer\n if (byteOffset < 0) byteOffset = buffer.length + byteOffset\n if (byteOffset >= buffer.length) {\n if (dir) return -1\n else byteOffset = buffer.length - 1\n } else if (byteOffset < 0) {\n if (dir) byteOffset = 0\n else return -1\n }\n\n // Normalize val\n if (typeof val === 'string') {\n val = Buffer.from(val, encoding)\n }\n\n // Finally, search either indexOf (if dir is true) or lastIndexOf\n if (Buffer.isBuffer(val)) {\n // Special case: looking for empty string/buffer always fails\n if (val.length === 0) {\n return -1\n }\n return arrayIndexOf(buffer, val, byteOffset, encoding, dir)\n } else if (typeof val === 'number') {\n val = val & 0xFF // Search for a byte value [0-255]\n if (typeof Uint8Array.prototype.indexOf === 'function') {\n if (dir) {\n return Uint8Array.prototype.indexOf.call(buffer, val, byteOffset)\n } else {\n return Uint8Array.prototype.lastIndexOf.call(buffer, val, byteOffset)\n }\n }\n return arrayIndexOf(buffer, [val], byteOffset, encoding, dir)\n }\n\n throw new TypeError('val must be string, number or Buffer')\n}\n\nfunction arrayIndexOf (arr, val, byteOffset, encoding, dir) {\n let indexSize = 1\n let arrLength = arr.length\n let valLength = val.length\n\n if (encoding !== undefined) {\n encoding = String(encoding).toLowerCase()\n if (encoding === 'ucs2' || encoding === 'ucs-2' ||\n encoding === 'utf16le' || encoding === 'utf-16le') {\n if (arr.length < 2 || val.length < 2) {\n return -1\n }\n indexSize = 2\n arrLength /= 2\n valLength /= 2\n byteOffset /= 2\n }\n }\n\n function read (buf, i) {\n if (indexSize === 1) {\n return buf[i]\n } else {\n return buf.readUInt16BE(i * indexSize)\n }\n }\n\n let i\n if (dir) {\n let foundIndex = -1\n for (i = byteOffset; i < arrLength; i++) {\n if (read(arr, i) === read(val, foundIndex === -1 ? 0 : i - foundIndex)) {\n if (foundIndex === -1) foundIndex = i\n if (i - foundIndex + 1 === valLength) return foundIndex * indexSize\n } else {\n if (foundIndex !== -1) i -= i - foundIndex\n foundIndex = -1\n }\n }\n } else {\n if (byteOffset + valLength > arrLength) byteOffset = arrLength - valLength\n for (i = byteOffset; i >= 0; i--) {\n let found = true\n for (let j = 0; j < valLength; j++) {\n if (read(arr, i + j) !== read(val, j)) {\n found = false\n break\n }\n }\n if (found) return i\n }\n }\n\n return -1\n}\n\nBuffer.prototype.includes = function includes (val, byteOffset, encoding) {\n return this.indexOf(val, byteOffset, encoding) !== -1\n}\n\nBuffer.prototype.indexOf = function indexOf (val, byteOffset, encoding) {\n return bidirectionalIndexOf(this, val, byteOffset, encoding, true)\n}\n\nBuffer.prototype.lastIndexOf = function lastIndexOf (val, byteOffset, encoding) {\n return bidirectionalIndexOf(this, val, byteOffset, encoding, false)\n}\n\nfunction hexWrite (buf, string, offset, length) {\n offset = Number(offset) || 0\n const remaining = buf.length - offset\n if (!length) {\n length = remaining\n } else {\n length = Number(length)\n if (length > remaining) {\n length = remaining\n }\n }\n\n const strLen = string.length\n\n if (length > strLen / 2) {\n length = strLen / 2\n }\n let i\n for (i = 0; i < length; ++i) {\n const parsed = parseInt(string.substr(i * 2, 2), 16)\n if (numberIsNaN(parsed)) return i\n buf[offset + i] = parsed\n }\n return i\n}\n\nfunction utf8Write (buf, string, offset, length) {\n return blitBuffer(utf8ToBytes(string, buf.length - offset), buf, offset, length)\n}\n\nfunction asciiWrite (buf, string, offset, length) {\n return blitBuffer(asciiToBytes(string), buf, offset, length)\n}\n\nfunction base64Write (buf, string, offset, length) {\n return blitBuffer(base64ToBytes(string), buf, offset, length)\n}\n\nfunction ucs2Write (buf, string, offset, length) {\n return blitBuffer(utf16leToBytes(string, buf.length - offset), buf, offset, length)\n}\n\nBuffer.prototype.write = function write (string, offset, length, encoding) {\n // Buffer#write(string)\n if (offset === undefined) {\n encoding = 'utf8'\n length = this.length\n offset = 0\n // Buffer#write(string, encoding)\n } else if (length === undefined && typeof offset === 'string') {\n encoding = offset\n length = this.length\n offset = 0\n // Buffer#write(string, offset[, length][, encoding])\n } else if (isFinite(offset)) {\n offset = offset >>> 0\n if (isFinite(length)) {\n length = length >>> 0\n if (encoding === undefined) encoding = 'utf8'\n } else {\n encoding = length\n length = undefined\n }\n } else {\n throw new Error(\n 'Buffer.write(string, encoding, offset[, length]) is no longer supported'\n )\n }\n\n const remaining = this.length - offset\n if (length === undefined || length > remaining) length = remaining\n\n if ((string.length > 0 && (length < 0 || offset < 0)) || offset > this.length) {\n throw new RangeError('Attempt to write outside buffer bounds')\n }\n\n if (!encoding) encoding = 'utf8'\n\n let loweredCase = false\n for (;;) {\n switch (encoding) {\n case 'hex':\n return hexWrite(this, string, offset, length)\n\n case 'utf8':\n case 'utf-8':\n return utf8Write(this, string, offset, length)\n\n case 'ascii':\n case 'latin1':\n case 'binary':\n return asciiWrite(this, string, offset, length)\n\n case 'base64':\n // Warning: maxLength not taken into account in base64Write\n return base64Write(this, string, offset, length)\n\n case 'ucs2':\n case 'ucs-2':\n case 'utf16le':\n case 'utf-16le':\n return ucs2Write(this, string, offset, length)\n\n default:\n if (loweredCase) throw new TypeError('Unknown encoding: ' + encoding)\n encoding = ('' + encoding).toLowerCase()\n loweredCase = true\n }\n }\n}\n\nBuffer.prototype.toJSON = function toJSON () {\n return {\n type: 'Buffer',\n data: Array.prototype.slice.call(this._arr || this, 0)\n }\n}\n\nfunction base64Slice (buf, start, end) {\n if (start === 0 && end === buf.length) {\n return base64.fromByteArray(buf)\n } else {\n return base64.fromByteArray(buf.slice(start, end))\n }\n}\n\nfunction utf8Slice (buf, start, end) {\n end = Math.min(buf.length, end)\n const res = []\n\n let i = start\n while (i < end) {\n const firstByte = buf[i]\n let codePoint = null\n let bytesPerSequence = (firstByte > 0xEF)\n ? 4\n : (firstByte > 0xDF)\n ? 3\n : (firstByte > 0xBF)\n ? 2\n : 1\n\n if (i + bytesPerSequence <= end) {\n let secondByte, thirdByte, fourthByte, tempCodePoint\n\n switch (bytesPerSequence) {\n case 1:\n if (firstByte < 0x80) {\n codePoint = firstByte\n }\n break\n case 2:\n secondByte = buf[i + 1]\n if ((secondByte & 0xC0) === 0x80) {\n tempCodePoint = (firstByte & 0x1F) << 0x6 | (secondByte & 0x3F)\n if (tempCodePoint > 0x7F) {\n codePoint = tempCodePoint\n }\n }\n break\n case 3:\n secondByte = buf[i + 1]\n thirdByte = buf[i + 2]\n if ((secondByte & 0xC0) === 0x80 && (thirdByte & 0xC0) === 0x80) {\n tempCodePoint = (firstByte & 0xF) << 0xC | (secondByte & 0x3F) << 0x6 | (thirdByte & 0x3F)\n if (tempCodePoint > 0x7FF && (tempCodePoint < 0xD800 || tempCodePoint > 0xDFFF)) {\n codePoint = tempCodePoint\n }\n }\n break\n case 4:\n secondByte = buf[i + 1]\n thirdByte = buf[i + 2]\n fourthByte = buf[i + 3]\n if ((secondByte & 0xC0) === 0x80 && (thirdByte & 0xC0) === 0x80 && (fourthByte & 0xC0) === 0x80) {\n tempCodePoint = (firstByte & 0xF) << 0x12 | (secondByte & 0x3F) << 0xC | (thirdByte & 0x3F) << 0x6 | (fourthByte & 0x3F)\n if (tempCodePoint > 0xFFFF && tempCodePoint < 0x110000) {\n codePoint = tempCodePoint\n }\n }\n }\n }\n\n if (codePoint === null) {\n // we did not generate a valid codePoint so insert a\n // replacement char (U+FFFD) and advance only 1 byte\n codePoint = 0xFFFD\n bytesPerSequence = 1\n } else if (codePoint > 0xFFFF) {\n // encode to utf16 (surrogate pair dance)\n codePoint -= 0x10000\n res.push(codePoint >>> 10 & 0x3FF | 0xD800)\n codePoint = 0xDC00 | codePoint & 0x3FF\n }\n\n res.push(codePoint)\n i += bytesPerSequence\n }\n\n return decodeCodePointsArray(res)\n}\n\n// Based on http://stackoverflow.com/a/22747272/680742, the browser with\n// the lowest limit is Chrome, with 0x10000 args.\n// We go 1 magnitude less, for safety\nconst MAX_ARGUMENTS_LENGTH = 0x1000\n\nfunction decodeCodePointsArray (codePoints) {\n const len = codePoints.length\n if (len <= MAX_ARGUMENTS_LENGTH) {\n return String.fromCharCode.apply(String, codePoints) // avoid extra slice()\n }\n\n // Decode in chunks to avoid \"call stack size exceeded\".\n let res = ''\n let i = 0\n while (i < len) {\n res += String.fromCharCode.apply(\n String,\n codePoints.slice(i, i += MAX_ARGUMENTS_LENGTH)\n )\n }\n return res\n}\n\nfunction asciiSlice (buf, start, end) {\n let ret = ''\n end = Math.min(buf.length, end)\n\n for (let i = start; i < end; ++i) {\n ret += String.fromCharCode(buf[i] & 0x7F)\n }\n return ret\n}\n\nfunction latin1Slice (buf, start, end) {\n let ret = ''\n end = Math.min(buf.length, end)\n\n for (let i = start; i < end; ++i) {\n ret += String.fromCharCode(buf[i])\n }\n return ret\n}\n\nfunction hexSlice (buf, start, end) {\n const len = buf.length\n\n if (!start || start < 0) start = 0\n if (!end || end < 0 || end > len) end = len\n\n let out = ''\n for (let i = start; i < end; ++i) {\n out += hexSliceLookupTable[buf[i]]\n }\n return out\n}\n\nfunction utf16leSlice (buf, start, end) {\n const bytes = buf.slice(start, end)\n let res = ''\n // If bytes.length is odd, the last 8 bits must be ignored (same as node.js)\n for (let i = 0; i < bytes.length - 1; i += 2) {\n res += String.fromCharCode(bytes[i] + (bytes[i + 1] * 256))\n }\n return res\n}\n\nBuffer.prototype.slice = function slice (start, end) {\n const len = this.length\n start = ~~start\n end = end === undefined ? len : ~~end\n\n if (start < 0) {\n start += len\n if (start < 0) start = 0\n } else if (start > len) {\n start = len\n }\n\n if (end < 0) {\n end += len\n if (end < 0) end = 0\n } else if (end > len) {\n end = len\n }\n\n if (end < start) end = start\n\n const newBuf = this.subarray(start, end)\n // Return an augmented `Uint8Array` instance\n Object.setPrototypeOf(newBuf, Buffer.prototype)\n\n return newBuf\n}\n\n/*\n * Need to make sure that buffer isn't trying to write out of bounds.\n */\nfunction checkOffset (offset, ext, length) {\n if ((offset % 1) !== 0 || offset < 0) throw new RangeError('offset is not uint')\n if (offset + ext > length) throw new RangeError('Trying to access beyond buffer length')\n}\n\nBuffer.prototype.readUintLE =\nBuffer.prototype.readUIntLE = function readUIntLE (offset, byteLength, noAssert) {\n offset = offset >>> 0\n byteLength = byteLength >>> 0\n if (!noAssert) checkOffset(offset, byteLength, this.length)\n\n let val = this[offset]\n let mul = 1\n let i = 0\n while (++i < byteLength && (mul *= 0x100)) {\n val += this[offset + i] * mul\n }\n\n return val\n}\n\nBuffer.prototype.readUintBE =\nBuffer.prototype.readUIntBE = function readUIntBE (offset, byteLength, noAssert) {\n offset = offset >>> 0\n byteLength = byteLength >>> 0\n if (!noAssert) {\n checkOffset(offset, byteLength, this.length)\n }\n\n let val = this[offset + --byteLength]\n let mul = 1\n while (byteLength > 0 && (mul *= 0x100)) {\n val += this[offset + --byteLength] * mul\n }\n\n return val\n}\n\nBuffer.prototype.readUint8 =\nBuffer.prototype.readUInt8 = function readUInt8 (offset, noAssert) {\n offset = offset >>> 0\n if (!noAssert) checkOffset(offset, 1, this.length)\n return this[offset]\n}\n\nBuffer.prototype.readUint16LE =\nBuffer.prototype.readUInt16LE = function readUInt16LE (offset, noAssert) {\n offset = offset >>> 0\n if (!noAssert) checkOffset(offset, 2, this.length)\n return this[offset] | (this[offset + 1] << 8)\n}\n\nBuffer.prototype.readUint16BE =\nBuffer.prototype.readUInt16BE = function readUInt16BE (offset, noAssert) {\n offset = offset >>> 0\n if (!noAssert) checkOffset(offset, 2, this.length)\n return (this[offset] << 8) | this[offset + 1]\n}\n\nBuffer.prototype.readUint32LE =\nBuffer.prototype.readUInt32LE = function readUInt32LE (offset, noAssert) {\n offset = offset >>> 0\n if (!noAssert) checkOffset(offset, 4, this.length)\n\n return ((this[offset]) |\n (this[offset + 1] << 8) |\n (this[offset + 2] << 16)) +\n (this[offset + 3] * 0x1000000)\n}\n\nBuffer.prototype.readUint32BE =\nBuffer.prototype.readUInt32BE = function readUInt32BE (offset, noAssert) {\n offset = offset >>> 0\n if (!noAssert) checkOffset(offset, 4, this.length)\n\n return (this[offset] * 0x1000000) +\n ((this[offset + 1] << 16) |\n (this[offset + 2] << 8) |\n this[offset + 3])\n}\n\nBuffer.prototype.readBigUInt64LE = defineBigIntMethod(function readBigUInt64LE (offset) {\n offset = offset >>> 0\n validateNumber(offset, 'offset')\n const first = this[offset]\n const last = this[offset + 7]\n if (first === undefined || last === undefined) {\n boundsError(offset, this.length - 8)\n }\n\n const lo = first +\n this[++offset] * 2 ** 8 +\n this[++offset] * 2 ** 16 +\n this[++offset] * 2 ** 24\n\n const hi = this[++offset] +\n this[++offset] * 2 ** 8 +\n this[++offset] * 2 ** 16 +\n last * 2 ** 24\n\n return BigInt(lo) + (BigInt(hi) << BigInt(32))\n})\n\nBuffer.prototype.readBigUInt64BE = defineBigIntMethod(function readBigUInt64BE (offset) {\n offset = offset >>> 0\n validateNumber(offset, 'offset')\n const first = this[offset]\n const last = this[offset + 7]\n if (first === undefined || last === undefined) {\n boundsError(offset, this.length - 8)\n }\n\n const hi = first * 2 ** 24 +\n this[++offset] * 2 ** 16 +\n this[++offset] * 2 ** 8 +\n this[++offset]\n\n const lo = this[++offset] * 2 ** 24 +\n this[++offset] * 2 ** 16 +\n this[++offset] * 2 ** 8 +\n last\n\n return (BigInt(hi) << BigInt(32)) + BigInt(lo)\n})\n\nBuffer.prototype.readIntLE = function readIntLE (offset, byteLength, noAssert) {\n offset = offset >>> 0\n byteLength = byteLength >>> 0\n if (!noAssert) checkOffset(offset, byteLength, this.length)\n\n let val = this[offset]\n let mul = 1\n let i = 0\n while (++i < byteLength && (mul *= 0x100)) {\n val += this[offset + i] * mul\n }\n mul *= 0x80\n\n if (val >= mul) val -= Math.pow(2, 8 * byteLength)\n\n return val\n}\n\nBuffer.prototype.readIntBE = function readIntBE (offset, byteLength, noAssert) {\n offset = offset >>> 0\n byteLength = byteLength >>> 0\n if (!noAssert) checkOffset(offset, byteLength, this.length)\n\n let i = byteLength\n let mul = 1\n let val = this[offset + --i]\n while (i > 0 && (mul *= 0x100)) {\n val += this[offset + --i] * mul\n }\n mul *= 0x80\n\n if (val >= mul) val -= Math.pow(2, 8 * byteLength)\n\n return val\n}\n\nBuffer.prototype.readInt8 = function readInt8 (offset, noAssert) {\n offset = offset >>> 0\n if (!noAssert) checkOffset(offset, 1, this.length)\n if (!(this[offset] & 0x80)) return (this[offset])\n return ((0xff - this[offset] + 1) * -1)\n}\n\nBuffer.prototype.readInt16LE = function readInt16LE (offset, noAssert) {\n offset = offset >>> 0\n if (!noAssert) checkOffset(offset, 2, this.length)\n const val = this[offset] | (this[offset + 1] << 8)\n return (val & 0x8000) ? val | 0xFFFF0000 : val\n}\n\nBuffer.prototype.readInt16BE = function readInt16BE (offset, noAssert) {\n offset = offset >>> 0\n if (!noAssert) checkOffset(offset, 2, this.length)\n const val = this[offset + 1] | (this[offset] << 8)\n return (val & 0x8000) ? val | 0xFFFF0000 : val\n}\n\nBuffer.prototype.readInt32LE = function readInt32LE (offset, noAssert) {\n offset = offset >>> 0\n if (!noAssert) checkOffset(offset, 4, this.length)\n\n return (this[offset]) |\n (this[offset + 1] << 8) |\n (this[offset + 2] << 16) |\n (this[offset + 3] << 24)\n}\n\nBuffer.prototype.readInt32BE = function readInt32BE (offset, noAssert) {\n offset = offset >>> 0\n if (!noAssert) checkOffset(offset, 4, this.length)\n\n return (this[offset] << 24) |\n (this[offset + 1] << 16) |\n (this[offset + 2] << 8) |\n (this[offset + 3])\n}\n\nBuffer.prototype.readBigInt64LE = defineBigIntMethod(function readBigInt64LE (offset) {\n offset = offset >>> 0\n validateNumber(offset, 'offset')\n const first = this[offset]\n const last = this[offset + 7]\n if (first === undefined || last === undefined) {\n boundsError(offset, this.length - 8)\n }\n\n const val = this[offset + 4] +\n this[offset + 5] * 2 ** 8 +\n this[offset + 6] * 2 ** 16 +\n (last << 24) // Overflow\n\n return (BigInt(val) << BigInt(32)) +\n BigInt(first +\n this[++offset] * 2 ** 8 +\n this[++offset] * 2 ** 16 +\n this[++offset] * 2 ** 24)\n})\n\nBuffer.prototype.readBigInt64BE = defineBigIntMethod(function readBigInt64BE (offset) {\n offset = offset >>> 0\n validateNumber(offset, 'offset')\n const first = this[offset]\n const last = this[offset + 7]\n if (first === undefined || last === undefined) {\n boundsError(offset, this.length - 8)\n }\n\n const val = (first << 24) + // Overflow\n this[++offset] * 2 ** 16 +\n this[++offset] * 2 ** 8 +\n this[++offset]\n\n return (BigInt(val) << BigInt(32)) +\n BigInt(this[++offset] * 2 ** 24 +\n this[++offset] * 2 ** 16 +\n this[++offset] * 2 ** 8 +\n last)\n})\n\nBuffer.prototype.readFloatLE = function readFloatLE (offset, noAssert) {\n offset = offset >>> 0\n if (!noAssert) checkOffset(offset, 4, this.length)\n return ieee754.read(this, offset, true, 23, 4)\n}\n\nBuffer.prototype.readFloatBE = function readFloatBE (offset, noAssert) {\n offset = offset >>> 0\n if (!noAssert) checkOffset(offset, 4, this.length)\n return ieee754.read(this, offset, false, 23, 4)\n}\n\nBuffer.prototype.readDoubleLE = function readDoubleLE (offset, noAssert) {\n offset = offset >>> 0\n if (!noAssert) checkOffset(offset, 8, this.length)\n return ieee754.read(this, offset, true, 52, 8)\n}\n\nBuffer.prototype.readDoubleBE = function readDoubleBE (offset, noAssert) {\n offset = offset >>> 0\n if (!noAssert) checkOffset(offset, 8, this.length)\n return ieee754.read(this, offset, false, 52, 8)\n}\n\nfunction checkInt (buf, value, offset, ext, max, min) {\n if (!Buffer.isBuffer(buf)) throw new TypeError('\"buffer\" argument must be a Buffer instance')\n if (value > max || value < min) throw new RangeError('\"value\" argument is out of bounds')\n if (offset + ext > buf.length) throw new RangeError('Index out of range')\n}\n\nBuffer.prototype.writeUintLE =\nBuffer.prototype.writeUIntLE = function writeUIntLE (value, offset, byteLength, noAssert) {\n value = +value\n offset = offset >>> 0\n byteLength = byteLength >>> 0\n if (!noAssert) {\n const maxBytes = Math.pow(2, 8 * byteLength) - 1\n checkInt(this, value, offset, byteLength, maxBytes, 0)\n }\n\n let mul = 1\n let i = 0\n this[offset] = value & 0xFF\n while (++i < byteLength && (mul *= 0x100)) {\n this[offset + i] = (value / mul) & 0xFF\n }\n\n return offset + byteLength\n}\n\nBuffer.prototype.writeUintBE =\nBuffer.prototype.writeUIntBE = function writeUIntBE (value, offset, byteLength, noAssert) {\n value = +value\n offset = offset >>> 0\n byteLength = byteLength >>> 0\n if (!noAssert) {\n const maxBytes = Math.pow(2, 8 * byteLength) - 1\n checkInt(this, value, offset, byteLength, maxBytes, 0)\n }\n\n let i = byteLength - 1\n let mul = 1\n this[offset + i] = value & 0xFF\n while (--i >= 0 && (mul *= 0x100)) {\n this[offset + i] = (value / mul) & 0xFF\n }\n\n return offset + byteLength\n}\n\nBuffer.prototype.writeUint8 =\nBuffer.prototype.writeUInt8 = function writeUInt8 (value, offset, noAssert) {\n value = +value\n offset = offset >>> 0\n if (!noAssert) checkInt(this, value, offset, 1, 0xff, 0)\n this[offset] = (value & 0xff)\n return offset + 1\n}\n\nBuffer.prototype.writeUint16LE =\nBuffer.prototype.writeUInt16LE = function writeUInt16LE (value, offset, noAssert) {\n value = +value\n offset = offset >>> 0\n if (!noAssert) checkInt(this, value, offset, 2, 0xffff, 0)\n this[offset] = (value & 0xff)\n this[offset + 1] = (value >>> 8)\n return offset + 2\n}\n\nBuffer.prototype.writeUint16BE =\nBuffer.prototype.writeUInt16BE = function writeUInt16BE (value, offset, noAssert) {\n value = +value\n offset = offset >>> 0\n if (!noAssert) checkInt(this, value, offset, 2, 0xffff, 0)\n this[offset] = (value >>> 8)\n this[offset + 1] = (value & 0xff)\n return offset + 2\n}\n\nBuffer.prototype.writeUint32LE =\nBuffer.prototype.writeUInt32LE = function writeUInt32LE (value, offset, noAssert) {\n value = +value\n offset = offset >>> 0\n if (!noAssert) checkInt(this, value, offset, 4, 0xffffffff, 0)\n this[offset + 3] = (value >>> 24)\n this[offset + 2] = (value >>> 16)\n this[offset + 1] = (value >>> 8)\n this[offset] = (value & 0xff)\n return offset + 4\n}\n\nBuffer.prototype.writeUint32BE =\nBuffer.prototype.writeUInt32BE = function writeUInt32BE (value, offset, noAssert) {\n value = +value\n offset = offset >>> 0\n if (!noAssert) checkInt(this, value, offset, 4, 0xffffffff, 0)\n this[offset] = (value >>> 24)\n this[offset + 1] = (value >>> 16)\n this[offset + 2] = (value >>> 8)\n this[offset + 3] = (value & 0xff)\n return offset + 4\n}\n\nfunction wrtBigUInt64LE (buf, value, offset, min, max) {\n checkIntBI(value, min, max, buf, offset, 7)\n\n let lo = Number(value & BigInt(0xffffffff))\n buf[offset++] = lo\n lo = lo >> 8\n buf[offset++] = lo\n lo = lo >> 8\n buf[offset++] = lo\n lo = lo >> 8\n buf[offset++] = lo\n let hi = Number(value >> BigInt(32) & BigInt(0xffffffff))\n buf[offset++] = hi\n hi = hi >> 8\n buf[offset++] = hi\n hi = hi >> 8\n buf[offset++] = hi\n hi = hi >> 8\n buf[offset++] = hi\n return offset\n}\n\nfunction wrtBigUInt64BE (buf, value, offset, min, max) {\n checkIntBI(value, min, max, buf, offset, 7)\n\n let lo = Number(value & BigInt(0xffffffff))\n buf[offset + 7] = lo\n lo = lo >> 8\n buf[offset + 6] = lo\n lo = lo >> 8\n buf[offset + 5] = lo\n lo = lo >> 8\n buf[offset + 4] = lo\n let hi = Number(value >> BigInt(32) & BigInt(0xffffffff))\n buf[offset + 3] = hi\n hi = hi >> 8\n buf[offset + 2] = hi\n hi = hi >> 8\n buf[offset + 1] = hi\n hi = hi >> 8\n buf[offset] = hi\n return offset + 8\n}\n\nBuffer.prototype.writeBigUInt64LE = defineBigIntMethod(function writeBigUInt64LE (value, offset = 0) {\n return wrtBigUInt64LE(this, value, offset, BigInt(0), BigInt('0xffffffffffffffff'))\n})\n\nBuffer.prototype.writeBigUInt64BE = defineBigIntMethod(function writeBigUInt64BE (value, offset = 0) {\n return wrtBigUInt64BE(this, value, offset, BigInt(0), BigInt('0xffffffffffffffff'))\n})\n\nBuffer.prototype.writeIntLE = function writeIntLE (value, offset, byteLength, noAssert) {\n value = +value\n offset = offset >>> 0\n if (!noAssert) {\n const limit = Math.pow(2, (8 * byteLength) - 1)\n\n checkInt(this, value, offset, byteLength, limit - 1, -limit)\n }\n\n let i = 0\n let mul = 1\n let sub = 0\n this[offset] = value & 0xFF\n while (++i < byteLength && (mul *= 0x100)) {\n if (value < 0 && sub === 0 && this[offset + i - 1] !== 0) {\n sub = 1\n }\n this[offset + i] = ((value / mul) >> 0) - sub & 0xFF\n }\n\n return offset + byteLength\n}\n\nBuffer.prototype.writeIntBE = function writeIntBE (value, offset, byteLength, noAssert) {\n value = +value\n offset = offset >>> 0\n if (!noAssert) {\n const limit = Math.pow(2, (8 * byteLength) - 1)\n\n checkInt(this, value, offset, byteLength, limit - 1, -limit)\n }\n\n let i = byteLength - 1\n let mul = 1\n let sub = 0\n this[offset + i] = value & 0xFF\n while (--i >= 0 && (mul *= 0x100)) {\n if (value < 0 && sub === 0 && this[offset + i + 1] !== 0) {\n sub = 1\n }\n this[offset + i] = ((value / mul) >> 0) - sub & 0xFF\n }\n\n return offset + byteLength\n}\n\nBuffer.prototype.writeInt8 = function writeInt8 (value, offset, noAssert) {\n value = +value\n offset = offset >>> 0\n if (!noAssert) checkInt(this, value, offset, 1, 0x7f, -0x80)\n if (value < 0) value = 0xff + value + 1\n this[offset] = (value & 0xff)\n return offset + 1\n}\n\nBuffer.prototype.writeInt16LE = function writeInt16LE (value, offset, noAssert) {\n value = +value\n offset = offset >>> 0\n if (!noAssert) checkInt(this, value, offset, 2, 0x7fff, -0x8000)\n this[offset] = (value & 0xff)\n this[offset + 1] = (value >>> 8)\n return offset + 2\n}\n\nBuffer.prototype.writeInt16BE = function writeInt16BE (value, offset, noAssert) {\n value = +value\n offset = offset >>> 0\n if (!noAssert) checkInt(this, value, offset, 2, 0x7fff, -0x8000)\n this[offset] = (value >>> 8)\n this[offset + 1] = (value & 0xff)\n return offset + 2\n}\n\nBuffer.prototype.writeInt32LE = function writeInt32LE (value, offset, noAssert) {\n value = +value\n offset = offset >>> 0\n if (!noAssert) checkInt(this, value, offset, 4, 0x7fffffff, -0x80000000)\n this[offset] = (value & 0xff)\n this[offset + 1] = (value >>> 8)\n this[offset + 2] = (value >>> 16)\n this[offset + 3] = (value >>> 24)\n return offset + 4\n}\n\nBuffer.prototype.writeInt32BE = function writeInt32BE (value, offset, noAssert) {\n value = +value\n offset = offset >>> 0\n if (!noAssert) checkInt(this, value, offset, 4, 0x7fffffff, -0x80000000)\n if (value < 0) value = 0xffffffff + value + 1\n this[offset] = (value >>> 24)\n this[offset + 1] = (value >>> 16)\n this[offset + 2] = (value >>> 8)\n this[offset + 3] = (value & 0xff)\n return offset + 4\n}\n\nBuffer.prototype.writeBigInt64LE = defineBigIntMethod(function writeBigInt64LE (value, offset = 0) {\n return wrtBigUInt64LE(this, value, offset, -BigInt('0x8000000000000000'), BigInt('0x7fffffffffffffff'))\n})\n\nBuffer.prototype.writeBigInt64BE = defineBigIntMethod(function writeBigInt64BE (value, offset = 0) {\n return wrtBigUInt64BE(this, value, offset, -BigInt('0x8000000000000000'), BigInt('0x7fffffffffffffff'))\n})\n\nfunction checkIEEE754 (buf, value, offset, ext, max, min) {\n if (offset + ext > buf.length) throw new RangeError('Index out of range')\n if (offset < 0) throw new RangeError('Index out of range')\n}\n\nfunction writeFloat (buf, value, offset, littleEndian, noAssert) {\n value = +value\n offset = offset >>> 0\n if (!noAssert) {\n checkIEEE754(buf, value, offset, 4, 3.4028234663852886e+38, -3.4028234663852886e+38)\n }\n ieee754.write(buf, value, offset, littleEndian, 23, 4)\n return offset + 4\n}\n\nBuffer.prototype.writeFloatLE = function writeFloatLE (value, offset, noAssert) {\n return writeFloat(this, value, offset, true, noAssert)\n}\n\nBuffer.prototype.writeFloatBE = function writeFloatBE (value, offset, noAssert) {\n return writeFloat(this, value, offset, false, noAssert)\n}\n\nfunction writeDouble (buf, value, offset, littleEndian, noAssert) {\n value = +value\n offset = offset >>> 0\n if (!noAssert) {\n checkIEEE754(buf, value, offset, 8, 1.7976931348623157E+308, -1.7976931348623157E+308)\n }\n ieee754.write(buf, value, offset, littleEndian, 52, 8)\n return offset + 8\n}\n\nBuffer.prototype.writeDoubleLE = function writeDoubleLE (value, offset, noAssert) {\n return writeDouble(this, value, offset, true, noAssert)\n}\n\nBuffer.prototype.writeDoubleBE = function writeDoubleBE (value, offset, noAssert) {\n return writeDouble(this, value, offset, false, noAssert)\n}\n\n// copy(targetBuffer, targetStart=0, sourceStart=0, sourceEnd=buffer.length)\nBuffer.prototype.copy = function copy (target, targetStart, start, end) {\n if (!Buffer.isBuffer(target)) throw new TypeError('argument should be a Buffer')\n if (!start) start = 0\n if (!end && end !== 0) end = this.length\n if (targetStart >= target.length) targetStart = target.length\n if (!targetStart) targetStart = 0\n if (end > 0 && end < start) end = start\n\n // Copy 0 bytes; we're done\n if (end === start) return 0\n if (target.length === 0 || this.length === 0) return 0\n\n // Fatal error conditions\n if (targetStart < 0) {\n throw new RangeError('targetStart out of bounds')\n }\n if (start < 0 || start >= this.length) throw new RangeError('Index out of range')\n if (end < 0) throw new RangeError('sourceEnd out of bounds')\n\n // Are we oob?\n if (end > this.length) end = this.length\n if (target.length - targetStart < end - start) {\n end = target.length - targetStart + start\n }\n\n const len = end - start\n\n if (this === target && typeof Uint8Array.prototype.copyWithin === 'function') {\n // Use built-in when available, missing from IE11\n this.copyWithin(targetStart, start, end)\n } else {\n Uint8Array.prototype.set.call(\n target,\n this.subarray(start, end),\n targetStart\n )\n }\n\n return len\n}\n\n// Usage:\n// buffer.fill(number[, offset[, end]])\n// buffer.fill(buffer[, offset[, end]])\n// buffer.fill(string[, offset[, end]][, encoding])\nBuffer.prototype.fill = function fill (val, start, end, encoding) {\n // Handle string cases:\n if (typeof val === 'string') {\n if (typeof start === 'string') {\n encoding = start\n start = 0\n end = this.length\n } else if (typeof end === 'string') {\n encoding = end\n end = this.length\n }\n if (encoding !== undefined && typeof encoding !== 'string') {\n throw new TypeError('encoding must be a string')\n }\n if (typeof encoding === 'string' && !Buffer.isEncoding(encoding)) {\n throw new TypeError('Unknown encoding: ' + encoding)\n }\n if (val.length === 1) {\n const code = val.charCodeAt(0)\n if ((encoding === 'utf8' && code < 128) ||\n encoding === 'latin1') {\n // Fast path: If `val` fits into a single byte, use that numeric value.\n val = code\n }\n }\n } else if (typeof val === 'number') {\n val = val & 255\n } else if (typeof val === 'boolean') {\n val = Number(val)\n }\n\n // Invalid ranges are not set to a default, so can range check early.\n if (start < 0 || this.length < start || this.length < end) {\n throw new RangeError('Out of range index')\n }\n\n if (end <= start) {\n return this\n }\n\n start = start >>> 0\n end = end === undefined ? this.length : end >>> 0\n\n if (!val) val = 0\n\n let i\n if (typeof val === 'number') {\n for (i = start; i < end; ++i) {\n this[i] = val\n }\n } else {\n const bytes = Buffer.isBuffer(val)\n ? val\n : Buffer.from(val, encoding)\n const len = bytes.length\n if (len === 0) {\n throw new TypeError('The value \"' + val +\n '\" is invalid for argument \"value\"')\n }\n for (i = 0; i < end - start; ++i) {\n this[i + start] = bytes[i % len]\n }\n }\n\n return this\n}\n\n// CUSTOM ERRORS\n// =============\n\n// Simplified versions from Node, changed for Buffer-only usage\nconst errors = {}\nfunction E (sym, getMessage, Base) {\n errors[sym] = class NodeError extends Base {\n constructor () {\n super()\n\n Object.defineProperty(this, 'message', {\n value: getMessage.apply(this, arguments),\n writable: true,\n configurable: true\n })\n\n // Add the error code to the name to include it in the stack trace.\n this.name = `${this.name} [${sym}]`\n // Access the stack to generate the error message including the error code\n // from the name.\n this.stack // eslint-disable-line no-unused-expressions\n // Reset the name to the actual name.\n delete this.name\n }\n\n get code () {\n return sym\n }\n\n set code (value) {\n Object.defineProperty(this, 'code', {\n configurable: true,\n enumerable: true,\n value,\n writable: true\n })\n }\n\n toString () {\n return `${this.name} [${sym}]: ${this.message}`\n }\n }\n}\n\nE('ERR_BUFFER_OUT_OF_BOUNDS',\n function (name) {\n if (name) {\n return `${name} is outside of buffer bounds`\n }\n\n return 'Attempt to access memory outside buffer bounds'\n }, RangeError)\nE('ERR_INVALID_ARG_TYPE',\n function (name, actual) {\n return `The \"${name}\" argument must be of type number. Received type ${typeof actual}`\n }, TypeError)\nE('ERR_OUT_OF_RANGE',\n function (str, range, input) {\n let msg = `The value of \"${str}\" is out of range.`\n let received = input\n if (Number.isInteger(input) && Math.abs(input) > 2 ** 32) {\n received = addNumericalSeparator(String(input))\n } else if (typeof input === 'bigint') {\n received = String(input)\n if (input > BigInt(2) ** BigInt(32) || input < -(BigInt(2) ** BigInt(32))) {\n received = addNumericalSeparator(received)\n }\n received += 'n'\n }\n msg += ` It must be ${range}. Received ${received}`\n return msg\n }, RangeError)\n\nfunction addNumericalSeparator (val) {\n let res = ''\n let i = val.length\n const start = val[0] === '-' ? 1 : 0\n for (; i >= start + 4; i -= 3) {\n res = `_${val.slice(i - 3, i)}${res}`\n }\n return `${val.slice(0, i)}${res}`\n}\n\n// CHECK FUNCTIONS\n// ===============\n\nfunction checkBounds (buf, offset, byteLength) {\n validateNumber(offset, 'offset')\n if (buf[offset] === undefined || buf[offset + byteLength] === undefined) {\n boundsError(offset, buf.length - (byteLength + 1))\n }\n}\n\nfunction checkIntBI (value, min, max, buf, offset, byteLength) {\n if (value > max || value < min) {\n const n = typeof min === 'bigint' ? 'n' : ''\n let range\n if (byteLength > 3) {\n if (min === 0 || min === BigInt(0)) {\n range = `>= 0${n} and < 2${n} ** ${(byteLength + 1) * 8}${n}`\n } else {\n range = `>= -(2${n} ** ${(byteLength + 1) * 8 - 1}${n}) and < 2 ** ` +\n `${(byteLength + 1) * 8 - 1}${n}`\n }\n } else {\n range = `>= ${min}${n} and <= ${max}${n}`\n }\n throw new errors.ERR_OUT_OF_RANGE('value', range, value)\n }\n checkBounds(buf, offset, byteLength)\n}\n\nfunction validateNumber (value, name) {\n if (typeof value !== 'number') {\n throw new errors.ERR_INVALID_ARG_TYPE(name, 'number', value)\n }\n}\n\nfunction boundsError (value, length, type) {\n if (Math.floor(value) !== value) {\n validateNumber(value, type)\n throw new errors.ERR_OUT_OF_RANGE(type || 'offset', 'an integer', value)\n }\n\n if (length < 0) {\n throw new errors.ERR_BUFFER_OUT_OF_BOUNDS()\n }\n\n throw new errors.ERR_OUT_OF_RANGE(type || 'offset',\n `>= ${type ? 1 : 0} and <= ${length}`,\n value)\n}\n\n// HELPER FUNCTIONS\n// ================\n\nconst INVALID_BASE64_RE = /[^+/0-9A-Za-z-_]/g\n\nfunction base64clean (str) {\n // Node takes equal signs as end of the Base64 encoding\n str = str.split('=')[0]\n // Node strips out invalid characters like \\n and \\t from the string, base64-js does not\n str = str.trim().replace(INVALID_BASE64_RE, '')\n // Node converts strings with length < 2 to ''\n if (str.length < 2) return ''\n // Node allows for non-padded base64 strings (missing trailing ===), base64-js does not\n while (str.length % 4 !== 0) {\n str = str + '='\n }\n return str\n}\n\nfunction utf8ToBytes (string, units) {\n units = units || Infinity\n let codePoint\n const length = string.length\n let leadSurrogate = null\n const bytes = []\n\n for (let i = 0; i < length; ++i) {\n codePoint = string.charCodeAt(i)\n\n // is surrogate component\n if (codePoint > 0xD7FF && codePoint < 0xE000) {\n // last char was a lead\n if (!leadSurrogate) {\n // no lead yet\n if (codePoint > 0xDBFF) {\n // unexpected trail\n if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)\n continue\n } else if (i + 1 === length) {\n // unpaired lead\n if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)\n continue\n }\n\n // valid lead\n leadSurrogate = codePoint\n\n continue\n }\n\n // 2 leads in a row\n if (codePoint < 0xDC00) {\n if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)\n leadSurrogate = codePoint\n continue\n }\n\n // valid surrogate pair\n codePoint = (leadSurrogate - 0xD800 << 10 | codePoint - 0xDC00) + 0x10000\n } else if (leadSurrogate) {\n // valid bmp char, but last char was a lead\n if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)\n }\n\n leadSurrogate = null\n\n // encode utf8\n if (codePoint < 0x80) {\n if ((units -= 1) < 0) break\n bytes.push(codePoint)\n } else if (codePoint < 0x800) {\n if ((units -= 2) < 0) break\n bytes.push(\n codePoint >> 0x6 | 0xC0,\n codePoint & 0x3F | 0x80\n )\n } else if (codePoint < 0x10000) {\n if ((units -= 3) < 0) break\n bytes.push(\n codePoint >> 0xC | 0xE0,\n codePoint >> 0x6 & 0x3F | 0x80,\n codePoint & 0x3F | 0x80\n )\n } else if (codePoint < 0x110000) {\n if ((units -= 4) < 0) break\n bytes.push(\n codePoint >> 0x12 | 0xF0,\n codePoint >> 0xC & 0x3F | 0x80,\n codePoint >> 0x6 & 0x3F | 0x80,\n codePoint & 0x3F | 0x80\n )\n } else {\n throw new Error('Invalid code point')\n }\n }\n\n return bytes\n}\n\nfunction asciiToBytes (str) {\n const byteArray = []\n for (let i = 0; i < str.length; ++i) {\n // Node's code seems to be doing this and not & 0x7F..\n byteArray.push(str.charCodeAt(i) & 0xFF)\n }\n return byteArray\n}\n\nfunction utf16leToBytes (str, units) {\n let c, hi, lo\n const byteArray = []\n for (let i = 0; i < str.length; ++i) {\n if ((units -= 2) < 0) break\n\n c = str.charCodeAt(i)\n hi = c >> 8\n lo = c % 256\n byteArray.push(lo)\n byteArray.push(hi)\n }\n\n return byteArray\n}\n\nfunction base64ToBytes (str) {\n return base64.toByteArray(base64clean(str))\n}\n\nfunction blitBuffer (src, dst, offset, length) {\n let i\n for (i = 0; i < length; ++i) {\n if ((i + offset >= dst.length) || (i >= src.length)) break\n dst[i + offset] = src[i]\n }\n return i\n}\n\n// ArrayBuffer or Uint8Array objects from other contexts (i.e. iframes) do not pass\n// the `instanceof` check but they should be treated as of that type.\n// See: https://github.com/feross/buffer/issues/166\nfunction isInstance (obj, type) {\n return obj instanceof type ||\n (obj != null && obj.constructor != null && obj.constructor.name != null &&\n obj.constructor.name === type.name)\n}\nfunction numberIsNaN (obj) {\n // For IE11 support\n return obj !== obj // eslint-disable-line no-self-compare\n}\n\n// Create lookup table for `toString('hex')`\n// See: https://github.com/feross/buffer/issues/219\nconst hexSliceLookupTable = (function () {\n const alphabet = '0123456789abcdef'\n const table = new Array(256)\n for (let i = 0; i < 16; ++i) {\n const i16 = i * 16\n for (let j = 0; j < 16; ++j) {\n table[i16 + j] = alphabet[i] + alphabet[j]\n }\n }\n return table\n})()\n\n// Return not function with Error if BigInt not supported\nfunction defineBigIntMethod (fn) {\n return typeof BigInt === 'undefined' ? BufferBigIntNotDefined : fn\n}\n\nfunction BufferBigIntNotDefined () {\n throw new Error('BigInt not supported')\n}\n","module.exports = {\n \"100\": \"Continue\",\n \"101\": \"Switching Protocols\",\n \"102\": \"Processing\",\n \"200\": \"OK\",\n \"201\": \"Created\",\n \"202\": \"Accepted\",\n \"203\": \"Non-Authoritative Information\",\n \"204\": \"No Content\",\n \"205\": \"Reset Content\",\n \"206\": \"Partial Content\",\n \"207\": \"Multi-Status\",\n \"208\": \"Already Reported\",\n \"226\": \"IM Used\",\n \"300\": \"Multiple Choices\",\n \"301\": \"Moved Permanently\",\n \"302\": \"Found\",\n \"303\": \"See Other\",\n \"304\": \"Not Modified\",\n \"305\": \"Use Proxy\",\n \"307\": \"Temporary Redirect\",\n \"308\": \"Permanent Redirect\",\n \"400\": \"Bad Request\",\n \"401\": \"Unauthorized\",\n \"402\": \"Payment Required\",\n \"403\": \"Forbidden\",\n \"404\": \"Not Found\",\n \"405\": \"Method Not Allowed\",\n \"406\": \"Not Acceptable\",\n \"407\": \"Proxy Authentication Required\",\n \"408\": \"Request Timeout\",\n \"409\": \"Conflict\",\n \"410\": \"Gone\",\n \"411\": \"Length Required\",\n \"412\": \"Precondition Failed\",\n \"413\": \"Payload Too Large\",\n \"414\": \"URI Too Long\",\n \"415\": \"Unsupported Media Type\",\n \"416\": \"Range Not Satisfiable\",\n \"417\": \"Expectation Failed\",\n \"418\": \"I'm a teapot\",\n \"421\": \"Misdirected Request\",\n \"422\": \"Unprocessable Entity\",\n \"423\": \"Locked\",\n \"424\": \"Failed Dependency\",\n \"425\": \"Unordered Collection\",\n \"426\": \"Upgrade Required\",\n \"428\": \"Precondition Required\",\n \"429\": \"Too Many Requests\",\n \"431\": \"Request Header Fields Too Large\",\n \"451\": \"Unavailable For Legal Reasons\",\n \"500\": \"Internal Server Error\",\n \"501\": \"Not Implemented\",\n \"502\": \"Bad Gateway\",\n \"503\": \"Service Unavailable\",\n \"504\": \"Gateway Timeout\",\n \"505\": \"HTTP Version Not Supported\",\n \"506\": \"Variant Also Negotiates\",\n \"507\": \"Insufficient Storage\",\n \"508\": \"Loop Detected\",\n \"509\": \"Bandwidth Limit Exceeded\",\n \"510\": \"Not Extended\",\n \"511\": \"Network Authentication Required\"\n}\n","'use strict';\n\nvar GetIntrinsic = require('get-intrinsic');\n\nvar callBind = require('./');\n\nvar $indexOf = callBind(GetIntrinsic('String.prototype.indexOf'));\n\nmodule.exports = function callBoundIntrinsic(name, allowMissing) {\n\tvar intrinsic = GetIntrinsic(name, !!allowMissing);\n\tif (typeof intrinsic === 'function' && $indexOf(name, '.prototype.') > -1) {\n\t\treturn callBind(intrinsic);\n\t}\n\treturn intrinsic;\n};\n","'use strict';\n\nvar bind = require('function-bind');\nvar GetIntrinsic = require('get-intrinsic');\nvar setFunctionLength = require('set-function-length');\n\nvar $TypeError = require('es-errors/type');\nvar $apply = GetIntrinsic('%Function.prototype.apply%');\nvar $call = GetIntrinsic('%Function.prototype.call%');\nvar $reflectApply = GetIntrinsic('%Reflect.apply%', true) || bind.call($call, $apply);\n\nvar $defineProperty = require('es-define-property');\nvar $max = GetIntrinsic('%Math.max%');\n\nmodule.exports = function callBind(originalFunction) {\n\tif (typeof originalFunction !== 'function') {\n\t\tthrow new $TypeError('a function is required');\n\t}\n\tvar func = $reflectApply(bind, $call, arguments);\n\treturn setFunctionLength(\n\t\tfunc,\n\t\t1 + $max(0, originalFunction.length - (arguments.length - 1)),\n\t\ttrue\n\t);\n};\n\nvar applyBind = function applyBind() {\n\treturn $reflectApply(bind, $apply, arguments);\n};\n\nif ($defineProperty) {\n\t$defineProperty(module.exports, 'apply', { value: applyBind });\n} else {\n\tmodule.exports.apply = applyBind;\n}\n","var util = require('util');\nvar Stream = require('stream').Stream;\nvar DelayedStream = require('delayed-stream');\n\nmodule.exports = CombinedStream;\nfunction CombinedStream() {\n this.writable = false;\n this.readable = true;\n this.dataSize = 0;\n this.maxDataSize = 2 * 1024 * 1024;\n this.pauseStreams = true;\n\n this._released = false;\n this._streams = [];\n this._currentStream = null;\n this._insideLoop = false;\n this._pendingNext = false;\n}\nutil.inherits(CombinedStream, Stream);\n\nCombinedStream.create = function(options) {\n var combinedStream = new this();\n\n options = options || {};\n for (var option in options) {\n combinedStream[option] = options[option];\n }\n\n return combinedStream;\n};\n\nCombinedStream.isStreamLike = function(stream) {\n return (typeof stream !== 'function')\n && (typeof stream !== 'string')\n && (typeof stream !== 'boolean')\n && (typeof stream !== 'number')\n && (!Buffer.isBuffer(stream));\n};\n\nCombinedStream.prototype.append = function(stream) {\n var isStreamLike = CombinedStream.isStreamLike(stream);\n\n if (isStreamLike) {\n if (!(stream instanceof DelayedStream)) {\n var newStream = DelayedStream.create(stream, {\n maxDataSize: Infinity,\n pauseStream: this.pauseStreams,\n });\n stream.on('data', this._checkDataSize.bind(this));\n stream = newStream;\n }\n\n this._handleErrors(stream);\n\n if (this.pauseStreams) {\n stream.pause();\n }\n }\n\n this._streams.push(stream);\n return this;\n};\n\nCombinedStream.prototype.pipe = function(dest, options) {\n Stream.prototype.pipe.call(this, dest, options);\n this.resume();\n return dest;\n};\n\nCombinedStream.prototype._getNext = function() {\n this._currentStream = null;\n\n if (this._insideLoop) {\n this._pendingNext = true;\n return; // defer call\n }\n\n this._insideLoop = true;\n try {\n do {\n this._pendingNext = false;\n this._realGetNext();\n } while (this._pendingNext);\n } finally {\n this._insideLoop = false;\n }\n};\n\nCombinedStream.prototype._realGetNext = function() {\n var stream = this._streams.shift();\n\n\n if (typeof stream == 'undefined') {\n this.end();\n return;\n }\n\n if (typeof stream !== 'function') {\n this._pipeNext(stream);\n return;\n }\n\n var getStream = stream;\n getStream(function(stream) {\n var isStreamLike = CombinedStream.isStreamLike(stream);\n if (isStreamLike) {\n stream.on('data', this._checkDataSize.bind(this));\n this._handleErrors(stream);\n }\n\n this._pipeNext(stream);\n }.bind(this));\n};\n\nCombinedStream.prototype._pipeNext = function(stream) {\n this._currentStream = stream;\n\n var isStreamLike = CombinedStream.isStreamLike(stream);\n if (isStreamLike) {\n stream.on('end', this._getNext.bind(this));\n stream.pipe(this, {end: false});\n return;\n }\n\n var value = stream;\n this.write(value);\n this._getNext();\n};\n\nCombinedStream.prototype._handleErrors = function(stream) {\n var self = this;\n stream.on('error', function(err) {\n self._emitError(err);\n });\n};\n\nCombinedStream.prototype.write = function(data) {\n this.emit('data', data);\n};\n\nCombinedStream.prototype.pause = function() {\n if (!this.pauseStreams) {\n return;\n }\n\n if(this.pauseStreams && this._currentStream && typeof(this._currentStream.pause) == 'function') this._currentStream.pause();\n this.emit('pause');\n};\n\nCombinedStream.prototype.resume = function() {\n if (!this._released) {\n this._released = true;\n this.writable = true;\n this._getNext();\n }\n\n if(this.pauseStreams && this._currentStream && typeof(this._currentStream.resume) == 'function') this._currentStream.resume();\n this.emit('resume');\n};\n\nCombinedStream.prototype.end = function() {\n this._reset();\n this.emit('end');\n};\n\nCombinedStream.prototype.destroy = function() {\n this._reset();\n this.emit('close');\n};\n\nCombinedStream.prototype._reset = function() {\n this.writable = false;\n this._streams = [];\n this._currentStream = null;\n};\n\nCombinedStream.prototype._checkDataSize = function() {\n this._updateDataSize();\n if (this.dataSize <= this.maxDataSize) {\n return;\n }\n\n var message =\n 'DelayedStream#maxDataSize of ' + this.maxDataSize + ' bytes exceeded.';\n this._emitError(new Error(message));\n};\n\nCombinedStream.prototype._updateDataSize = function() {\n this.dataSize = 0;\n\n var self = this;\n this._streams.forEach(function(stream) {\n if (!stream.dataSize) {\n return;\n }\n\n self.dataSize += stream.dataSize;\n });\n\n if (this._currentStream && this._currentStream.dataSize) {\n this.dataSize += this._currentStream.dataSize;\n }\n};\n\nCombinedStream.prototype._emitError = function(err) {\n this._reset();\n this.emit('error', err);\n};\n","'use strict';\n\nvar $defineProperty = require('es-define-property');\n\nvar $SyntaxError = require('es-errors/syntax');\nvar $TypeError = require('es-errors/type');\n\nvar gopd = require('gopd');\n\n/** @type {import('.')} */\nmodule.exports = function defineDataProperty(\n\tobj,\n\tproperty,\n\tvalue\n) {\n\tif (!obj || (typeof obj !== 'object' && typeof obj !== 'function')) {\n\t\tthrow new $TypeError('`obj` must be an object or a function`');\n\t}\n\tif (typeof property !== 'string' && typeof property !== 'symbol') {\n\t\tthrow new $TypeError('`property` must be a string or a symbol`');\n\t}\n\tif (arguments.length > 3 && typeof arguments[3] !== 'boolean' && arguments[3] !== null) {\n\t\tthrow new $TypeError('`nonEnumerable`, if provided, must be a boolean or null');\n\t}\n\tif (arguments.length > 4 && typeof arguments[4] !== 'boolean' && arguments[4] !== null) {\n\t\tthrow new $TypeError('`nonWritable`, if provided, must be a boolean or null');\n\t}\n\tif (arguments.length > 5 && typeof arguments[5] !== 'boolean' && arguments[5] !== null) {\n\t\tthrow new $TypeError('`nonConfigurable`, if provided, must be a boolean or null');\n\t}\n\tif (arguments.length > 6 && typeof arguments[6] !== 'boolean') {\n\t\tthrow new $TypeError('`loose`, if provided, must be a boolean');\n\t}\n\n\tvar nonEnumerable = arguments.length > 3 ? arguments[3] : null;\n\tvar nonWritable = arguments.length > 4 ? arguments[4] : null;\n\tvar nonConfigurable = arguments.length > 5 ? arguments[5] : null;\n\tvar loose = arguments.length > 6 ? arguments[6] : false;\n\n\t/* @type {false | TypedPropertyDescriptor} */\n\tvar desc = !!gopd && gopd(obj, property);\n\n\tif ($defineProperty) {\n\t\t$defineProperty(obj, property, {\n\t\t\tconfigurable: nonConfigurable === null && desc ? desc.configurable : !nonConfigurable,\n\t\t\tenumerable: nonEnumerable === null && desc ? desc.enumerable : !nonEnumerable,\n\t\t\tvalue: value,\n\t\t\twritable: nonWritable === null && desc ? desc.writable : !nonWritable\n\t\t});\n\t} else if (loose || (!nonEnumerable && !nonWritable && !nonConfigurable)) {\n\t\t// must fall back to [[Set]], and was not explicitly asked to make non-enumerable, non-writable, or non-configurable\n\t\tobj[property] = value; // eslint-disable-line no-param-reassign\n\t} else {\n\t\tthrow new $SyntaxError('This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.');\n\t}\n};\n","var Stream = require('stream').Stream;\nvar util = require('util');\n\nmodule.exports = DelayedStream;\nfunction DelayedStream() {\n this.source = null;\n this.dataSize = 0;\n this.maxDataSize = 1024 * 1024;\n this.pauseStream = true;\n\n this._maxDataSizeExceeded = false;\n this._released = false;\n this._bufferedEvents = [];\n}\nutil.inherits(DelayedStream, Stream);\n\nDelayedStream.create = function(source, options) {\n var delayedStream = new this();\n\n options = options || {};\n for (var option in options) {\n delayedStream[option] = options[option];\n }\n\n delayedStream.source = source;\n\n var realEmit = source.emit;\n source.emit = function() {\n delayedStream._handleEmit(arguments);\n return realEmit.apply(source, arguments);\n };\n\n source.on('error', function() {});\n if (delayedStream.pauseStream) {\n source.pause();\n }\n\n return delayedStream;\n};\n\nObject.defineProperty(DelayedStream.prototype, 'readable', {\n configurable: true,\n enumerable: true,\n get: function() {\n return this.source.readable;\n }\n});\n\nDelayedStream.prototype.setEncoding = function() {\n return this.source.setEncoding.apply(this.source, arguments);\n};\n\nDelayedStream.prototype.resume = function() {\n if (!this._released) {\n this.release();\n }\n\n this.source.resume();\n};\n\nDelayedStream.prototype.pause = function() {\n this.source.pause();\n};\n\nDelayedStream.prototype.release = function() {\n this._released = true;\n\n this._bufferedEvents.forEach(function(args) {\n this.emit.apply(this, args);\n }.bind(this));\n this._bufferedEvents = [];\n};\n\nDelayedStream.prototype.pipe = function() {\n var r = Stream.prototype.pipe.apply(this, arguments);\n this.resume();\n return r;\n};\n\nDelayedStream.prototype._handleEmit = function(args) {\n if (this._released) {\n this.emit.apply(this, args);\n return;\n }\n\n if (args[0] === 'data') {\n this.dataSize += args[1].length;\n this._checkIfMaxDataSizeExceeded();\n }\n\n this._bufferedEvents.push(args);\n};\n\nDelayedStream.prototype._checkIfMaxDataSizeExceeded = function() {\n if (this._maxDataSizeExceeded) {\n return;\n }\n\n if (this.dataSize <= this.maxDataSize) {\n return;\n }\n\n this._maxDataSizeExceeded = true;\n var message =\n 'DelayedStream#maxDataSize of ' + this.maxDataSize + ' bytes exceeded.'\n this.emit('error', new Error(message));\n};\n","var Stream = require(\"stream\")\nvar writeMethods = [\"write\", \"end\", \"destroy\"]\nvar readMethods = [\"resume\", \"pause\"]\nvar readEvents = [\"data\", \"close\"]\nvar slice = Array.prototype.slice\n\nmodule.exports = duplex\n\nfunction forEach (arr, fn) {\n if (arr.forEach) {\n return arr.forEach(fn)\n }\n\n for (var i = 0; i < arr.length; i++) {\n fn(arr[i], i)\n }\n}\n\nfunction duplex(writer, reader) {\n var stream = new Stream()\n var ended = false\n\n forEach(writeMethods, proxyWriter)\n\n forEach(readMethods, proxyReader)\n\n forEach(readEvents, proxyStream)\n\n reader.on(\"end\", handleEnd)\n\n writer.on(\"drain\", function() {\n stream.emit(\"drain\")\n })\n\n writer.on(\"error\", reemit)\n reader.on(\"error\", reemit)\n\n stream.writable = writer.writable\n stream.readable = reader.readable\n\n return stream\n\n function proxyWriter(methodName) {\n stream[methodName] = method\n\n function method() {\n return writer[methodName].apply(writer, arguments)\n }\n }\n\n function proxyReader(methodName) {\n stream[methodName] = method\n\n function method() {\n stream.emit(methodName)\n var func = reader[methodName]\n if (func) {\n return func.apply(reader, arguments)\n }\n reader.emit(methodName)\n }\n }\n\n function proxyStream(methodName) {\n reader.on(methodName, reemit)\n\n function reemit() {\n var args = slice.call(arguments)\n args.unshift(methodName)\n stream.emit.apply(stream, args)\n }\n }\n\n function handleEnd() {\n if (ended) {\n return\n }\n ended = true\n var args = slice.call(arguments)\n args.unshift(\"end\")\n stream.emit.apply(stream, args)\n }\n\n function reemit(err) {\n stream.emit(\"error\", err)\n }\n}\n","'use strict';\n\nvar GetIntrinsic = require('get-intrinsic');\n\n/** @type {import('.')} */\nvar $defineProperty = GetIntrinsic('%Object.defineProperty%', true) || false;\nif ($defineProperty) {\n\ttry {\n\t\t$defineProperty({}, 'a', { value: 1 });\n\t} catch (e) {\n\t\t// IE 8 has a broken defineProperty\n\t\t$defineProperty = false;\n\t}\n}\n\nmodule.exports = $defineProperty;\n","'use strict';\n\n/** @type {import('./eval')} */\nmodule.exports = EvalError;\n","'use strict';\n\n/** @type {import('.')} */\nmodule.exports = Error;\n","'use strict';\n\n/** @type {import('./range')} */\nmodule.exports = RangeError;\n","'use strict';\n\n/** @type {import('./ref')} */\nmodule.exports = ReferenceError;\n","'use strict';\n\n/** @type {import('./syntax')} */\nmodule.exports = SyntaxError;\n","'use strict';\n\n/** @type {import('./type')} */\nmodule.exports = TypeError;\n","'use strict';\n\n/** @type {import('./uri')} */\nmodule.exports = URIError;\n","//filter will reemit the data if cb(err,pass) pass is truthy\n\n// reduce is more tricky\n// maybe we want to group the reductions or emit progress updates occasionally\n// the most basic reduce just emits one 'data' event after it has recieved 'end'\n\nvar Stream = require('stream').Stream\n , es = exports\n , through = require('through')\n , from = require('from')\n , duplex = require('duplexer')\n , map = require('map-stream')\n , pause = require('pause-stream')\n , split = require('split')\n , pipeline = require('stream-combiner')\n , immediately = global.setImmediate || process.nextTick;\n\nes.Stream = Stream //re-export Stream from core\nes.through = through\nes.from = from\nes.duplex = duplex\nes.map = map\nes.pause = pause\nes.split = split\nes.pipeline = es.connect = es.pipe = pipeline\n// merge / concat\n//\n// combine multiple streams into a single stream.\n// will emit end only once\n\nes.concat = //actually this should be called concat\nes.merge = function (/*streams...*/) {\n var toMerge = [].slice.call(arguments)\n if (toMerge.length === 1 && (toMerge[0] instanceof Array)) {\n toMerge = toMerge[0] //handle array as arguments object\n }\n var stream = new Stream()\n stream.setMaxListeners(0) // allow adding more than 11 streams\n var endCount = 0\n stream.writable = stream.readable = true\n\n if (toMerge.length) {\n toMerge.forEach(function (e) {\n e.pipe(stream, {end: false})\n var ended = false\n e.on('end', function () {\n if(ended) return\n ended = true\n endCount ++\n if(endCount == toMerge.length)\n stream.emit('end')\n })\n })\n } else {\n process.nextTick(function () {\n stream.emit('end')\n })\n }\n \n stream.write = function (data) {\n this.emit('data', data)\n }\n stream.destroy = function () {\n toMerge.forEach(function (e) {\n if(e.destroy) e.destroy()\n })\n }\n return stream\n}\n\n\n// writable stream, collects all events into an array\n// and calls back when 'end' occurs\n// mainly I'm using this to test the other functions\n\nes.collect =\nes.writeArray = function (done) {\n if ('function' !== typeof done)\n throw new Error('function writeArray (done): done must be function')\n\n var a = new Stream ()\n , array = [], isDone = false\n a.write = function (l) {\n array.push(l)\n }\n a.end = function () {\n isDone = true\n done(null, array)\n }\n a.writable = true\n a.readable = false\n a.destroy = function () {\n a.writable = a.readable = false\n if(isDone) return\n done(new Error('destroyed before end'), array)\n }\n return a\n}\n\n//return a Stream that reads the properties of an object\n//respecting pause() and resume()\n\nes.readArray = function (array) {\n var stream = new Stream()\n , i = 0\n , paused = false\n , ended = false\n\n stream.readable = true\n stream.writable = false\n\n if(!Array.isArray(array))\n throw new Error('event-stream.read expects an array')\n\n stream.resume = function () {\n if(ended) return\n paused = false\n var l = array.length\n while(i < l && !paused && !ended) {\n stream.emit('data', array[i++])\n }\n if(i == l && !ended)\n ended = true, stream.readable = false, stream.emit('end')\n }\n process.nextTick(stream.resume)\n stream.pause = function () {\n paused = true\n }\n stream.destroy = function () {\n ended = true\n stream.emit('close')\n }\n return stream\n}\n\n//\n// readable (asyncFunction)\n// return a stream that calls an async function while the stream is not paused.\n//\n// the function must take: (count, callback) {...\n//\n\nes.readable =\nfunction (func, continueOnError) {\n var stream = new Stream()\n , i = 0\n , paused = false\n , ended = false\n , reading = false\n\n stream.readable = true\n stream.writable = false\n\n if('function' !== typeof func)\n throw new Error('event-stream.readable expects async function')\n\n stream.on('end', function () { ended = true })\n\n function get (err, data) {\n\n if(err) {\n stream.emit('error', err)\n if(!continueOnError) stream.emit('end')\n } else if (arguments.length > 1)\n stream.emit('data', data)\n\n immediately(function () {\n if(ended || paused || reading) return\n try {\n reading = true\n func.call(stream, i++, function () {\n reading = false\n get.apply(null, arguments)\n })\n } catch (err) {\n stream.emit('error', err)\n }\n })\n }\n stream.resume = function () {\n paused = false\n get()\n }\n process.nextTick(get)\n stream.pause = function () {\n paused = true\n }\n stream.destroy = function () {\n stream.emit('end')\n stream.emit('close')\n ended = true\n }\n return stream\n}\n\n\n//\n// map sync\n//\n\nes.mapSync = function (sync) {\n return es.through(function write(data) {\n var mappedData\n try {\n mappedData = sync(data)\n } catch (err) {\n return this.emit('error', err)\n }\n if (mappedData !== undefined)\n this.emit('data', mappedData)\n })\n}\n\n//\n// filterSync\n//\n\nes.filterSync = function (test) {\n return es.through(function(data){\n var s = this\n if (test(data)) {\n s.queue(data)\n }\n });\n}\n\n//\n// flatmapSync\n//\n\nes.flatmapSync = function (mapper) {\n return es.through(function(data) {\n var s = this\n data.forEach(function(e) {\n s.queue(mapper(e))\n })\n })\n}\n\n//\n// log just print out what is coming through the stream, for debugging\n//\n\nes.log = function (name) {\n return es.through(function (data) {\n var args = [].slice.call(arguments)\n if(name) console.error(name, data)\n else console.error(data)\n this.emit('data', data)\n })\n}\n\n\n//\n// child -- pipe through a child process\n//\n\nes.child = function (child) {\n\n return es.duplex(child.stdin, child.stdout)\n\n}\n\n//\n// parse\n//\n// must be used after es.split() to ensure that each chunk represents a line\n// source.pipe(es.split()).pipe(es.parse())\n\nes.parse = function (options) {\n var emitError = !!(options ? options.error : false)\n return es.through(function (data) {\n var obj\n try {\n if(data) //ignore empty lines\n obj = JSON.parse(data.toString())\n } catch (err) {\n if (emitError)\n return this.emit('error', err)\n return console.error(err, 'attempting to parse:', data)\n }\n //ignore lines that where only whitespace.\n if(obj !== undefined)\n this.emit('data', obj)\n })\n}\n//\n// stringify\n//\n\nes.stringify = function () {\n var Buffer = require('buffer').Buffer\n return es.mapSync(function (e){\n return JSON.stringify(Buffer.isBuffer(e) ? e.toString() : e) + '\\n'\n })\n}\n\n//\n// replace a string within a stream.\n//\n// warn: just concatenates the string and then does str.split().join().\n// probably not optimal.\n// for smallish responses, who cares?\n// I need this for shadow-npm so it's only relatively small json files.\n\nes.replace = function (from, to) {\n return es.pipeline(es.split(from), es.join(to))\n}\n\n//\n// join chunks with a joiner. just like Array#join\n// also accepts a callback that is passed the chunks appended together\n// this is still supported for legacy reasons.\n//\n\nes.join = function (str) {\n\n //legacy api\n if('function' === typeof str)\n return es.wait(str)\n\n var first = true\n return es.through(function (data) {\n if(!first)\n this.emit('data', str)\n first = false\n this.emit('data', data)\n return true\n })\n}\n\n\n//\n// wait. callback when 'end' is emitted, with all chunks appended as string.\n//\n\nes.wait = function (callback) {\n var arr = []\n return es.through(function (data) { arr.push(data) },\n function () {\n var body = Buffer.isBuffer(arr[0]) ? Buffer.concat(arr)\n : arr.join('')\n this.emit('data', body)\n this.emit('end')\n if(callback) callback(null, body)\n })\n}\n\nes.pipeable = function () {\n throw new Error('[EVENT-STREAM] es.pipeable is deprecated')\n}\n","// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n'use strict';\n\nvar R = typeof Reflect === 'object' ? Reflect : null\nvar ReflectApply = R && typeof R.apply === 'function'\n ? R.apply\n : function ReflectApply(target, receiver, args) {\n return Function.prototype.apply.call(target, receiver, args);\n }\n\nvar ReflectOwnKeys\nif (R && typeof R.ownKeys === 'function') {\n ReflectOwnKeys = R.ownKeys\n} else if (Object.getOwnPropertySymbols) {\n ReflectOwnKeys = function ReflectOwnKeys(target) {\n return Object.getOwnPropertyNames(target)\n .concat(Object.getOwnPropertySymbols(target));\n };\n} else {\n ReflectOwnKeys = function ReflectOwnKeys(target) {\n return Object.getOwnPropertyNames(target);\n };\n}\n\nfunction ProcessEmitWarning(warning) {\n if (console && console.warn) console.warn(warning);\n}\n\nvar NumberIsNaN = Number.isNaN || function NumberIsNaN(value) {\n return value !== value;\n}\n\nfunction EventEmitter() {\n EventEmitter.init.call(this);\n}\nmodule.exports = EventEmitter;\nmodule.exports.once = once;\n\n// Backwards-compat with node 0.10.x\nEventEmitter.EventEmitter = EventEmitter;\n\nEventEmitter.prototype._events = undefined;\nEventEmitter.prototype._eventsCount = 0;\nEventEmitter.prototype._maxListeners = undefined;\n\n// By default EventEmitters will print a warning if more than 10 listeners are\n// added to it. This is a useful default which helps finding memory leaks.\nvar defaultMaxListeners = 10;\n\nfunction checkListener(listener) {\n if (typeof listener !== 'function') {\n throw new TypeError('The \"listener\" argument must be of type Function. Received type ' + typeof listener);\n }\n}\n\nObject.defineProperty(EventEmitter, 'defaultMaxListeners', {\n enumerable: true,\n get: function() {\n return defaultMaxListeners;\n },\n set: function(arg) {\n if (typeof arg !== 'number' || arg < 0 || NumberIsNaN(arg)) {\n throw new RangeError('The value of \"defaultMaxListeners\" is out of range. It must be a non-negative number. Received ' + arg + '.');\n }\n defaultMaxListeners = arg;\n }\n});\n\nEventEmitter.init = function() {\n\n if (this._events === undefined ||\n this._events === Object.getPrototypeOf(this)._events) {\n this._events = Object.create(null);\n this._eventsCount = 0;\n }\n\n this._maxListeners = this._maxListeners || undefined;\n};\n\n// Obviously not all Emitters should be limited to 10. This function allows\n// that to be increased. Set to zero for unlimited.\nEventEmitter.prototype.setMaxListeners = function setMaxListeners(n) {\n if (typeof n !== 'number' || n < 0 || NumberIsNaN(n)) {\n throw new RangeError('The value of \"n\" is out of range. It must be a non-negative number. Received ' + n + '.');\n }\n this._maxListeners = n;\n return this;\n};\n\nfunction _getMaxListeners(that) {\n if (that._maxListeners === undefined)\n return EventEmitter.defaultMaxListeners;\n return that._maxListeners;\n}\n\nEventEmitter.prototype.getMaxListeners = function getMaxListeners() {\n return _getMaxListeners(this);\n};\n\nEventEmitter.prototype.emit = function emit(type) {\n var args = [];\n for (var i = 1; i < arguments.length; i++) args.push(arguments[i]);\n var doError = (type === 'error');\n\n var events = this._events;\n if (events !== undefined)\n doError = (doError && events.error === undefined);\n else if (!doError)\n return false;\n\n // If there is no 'error' event listener then throw.\n if (doError) {\n var er;\n if (args.length > 0)\n er = args[0];\n if (er instanceof Error) {\n // Note: The comments on the `throw` lines are intentional, they show\n // up in Node's output if this results in an unhandled exception.\n throw er; // Unhandled 'error' event\n }\n // At least give some kind of context to the user\n var err = new Error('Unhandled error.' + (er ? ' (' + er.message + ')' : ''));\n err.context = er;\n throw err; // Unhandled 'error' event\n }\n\n var handler = events[type];\n\n if (handler === undefined)\n return false;\n\n if (typeof handler === 'function') {\n ReflectApply(handler, this, args);\n } else {\n var len = handler.length;\n var listeners = arrayClone(handler, len);\n for (var i = 0; i < len; ++i)\n ReflectApply(listeners[i], this, args);\n }\n\n return true;\n};\n\nfunction _addListener(target, type, listener, prepend) {\n var m;\n var events;\n var existing;\n\n checkListener(listener);\n\n events = target._events;\n if (events === undefined) {\n events = target._events = Object.create(null);\n target._eventsCount = 0;\n } else {\n // To avoid recursion in the case that type === \"newListener\"! Before\n // adding it to the listeners, first emit \"newListener\".\n if (events.newListener !== undefined) {\n target.emit('newListener', type,\n listener.listener ? listener.listener : listener);\n\n // Re-assign `events` because a newListener handler could have caused the\n // this._events to be assigned to a new object\n events = target._events;\n }\n existing = events[type];\n }\n\n if (existing === undefined) {\n // Optimize the case of one listener. Don't need the extra array object.\n existing = events[type] = listener;\n ++target._eventsCount;\n } else {\n if (typeof existing === 'function') {\n // Adding the second element, need to change to array.\n existing = events[type] =\n prepend ? [listener, existing] : [existing, listener];\n // If we've already got an array, just append.\n } else if (prepend) {\n existing.unshift(listener);\n } else {\n existing.push(listener);\n }\n\n // Check for listener leak\n m = _getMaxListeners(target);\n if (m > 0 && existing.length > m && !existing.warned) {\n existing.warned = true;\n // No error code for this since it is a Warning\n // eslint-disable-next-line no-restricted-syntax\n var w = new Error('Possible EventEmitter memory leak detected. ' +\n existing.length + ' ' + String(type) + ' listeners ' +\n 'added. Use emitter.setMaxListeners() to ' +\n 'increase limit');\n w.name = 'MaxListenersExceededWarning';\n w.emitter = target;\n w.type = type;\n w.count = existing.length;\n ProcessEmitWarning(w);\n }\n }\n\n return target;\n}\n\nEventEmitter.prototype.addListener = function addListener(type, listener) {\n return _addListener(this, type, listener, false);\n};\n\nEventEmitter.prototype.on = EventEmitter.prototype.addListener;\n\nEventEmitter.prototype.prependListener =\n function prependListener(type, listener) {\n return _addListener(this, type, listener, true);\n };\n\nfunction onceWrapper() {\n if (!this.fired) {\n this.target.removeListener(this.type, this.wrapFn);\n this.fired = true;\n if (arguments.length === 0)\n return this.listener.call(this.target);\n return this.listener.apply(this.target, arguments);\n }\n}\n\nfunction _onceWrap(target, type, listener) {\n var state = { fired: false, wrapFn: undefined, target: target, type: type, listener: listener };\n var wrapped = onceWrapper.bind(state);\n wrapped.listener = listener;\n state.wrapFn = wrapped;\n return wrapped;\n}\n\nEventEmitter.prototype.once = function once(type, listener) {\n checkListener(listener);\n this.on(type, _onceWrap(this, type, listener));\n return this;\n};\n\nEventEmitter.prototype.prependOnceListener =\n function prependOnceListener(type, listener) {\n checkListener(listener);\n this.prependListener(type, _onceWrap(this, type, listener));\n return this;\n };\n\n// Emits a 'removeListener' event if and only if the listener was removed.\nEventEmitter.prototype.removeListener =\n function removeListener(type, listener) {\n var list, events, position, i, originalListener;\n\n checkListener(listener);\n\n events = this._events;\n if (events === undefined)\n return this;\n\n list = events[type];\n if (list === undefined)\n return this;\n\n if (list === listener || list.listener === listener) {\n if (--this._eventsCount === 0)\n this._events = Object.create(null);\n else {\n delete events[type];\n if (events.removeListener)\n this.emit('removeListener', type, list.listener || listener);\n }\n } else if (typeof list !== 'function') {\n position = -1;\n\n for (i = list.length - 1; i >= 0; i--) {\n if (list[i] === listener || list[i].listener === listener) {\n originalListener = list[i].listener;\n position = i;\n break;\n }\n }\n\n if (position < 0)\n return this;\n\n if (position === 0)\n list.shift();\n else {\n spliceOne(list, position);\n }\n\n if (list.length === 1)\n events[type] = list[0];\n\n if (events.removeListener !== undefined)\n this.emit('removeListener', type, originalListener || listener);\n }\n\n return this;\n };\n\nEventEmitter.prototype.off = EventEmitter.prototype.removeListener;\n\nEventEmitter.prototype.removeAllListeners =\n function removeAllListeners(type) {\n var listeners, events, i;\n\n events = this._events;\n if (events === undefined)\n return this;\n\n // not listening for removeListener, no need to emit\n if (events.removeListener === undefined) {\n if (arguments.length === 0) {\n this._events = Object.create(null);\n this._eventsCount = 0;\n } else if (events[type] !== undefined) {\n if (--this._eventsCount === 0)\n this._events = Object.create(null);\n else\n delete events[type];\n }\n return this;\n }\n\n // emit removeListener for all listeners on all events\n if (arguments.length === 0) {\n var keys = Object.keys(events);\n var key;\n for (i = 0; i < keys.length; ++i) {\n key = keys[i];\n if (key === 'removeListener') continue;\n this.removeAllListeners(key);\n }\n this.removeAllListeners('removeListener');\n this._events = Object.create(null);\n this._eventsCount = 0;\n return this;\n }\n\n listeners = events[type];\n\n if (typeof listeners === 'function') {\n this.removeListener(type, listeners);\n } else if (listeners !== undefined) {\n // LIFO order\n for (i = listeners.length - 1; i >= 0; i--) {\n this.removeListener(type, listeners[i]);\n }\n }\n\n return this;\n };\n\nfunction _listeners(target, type, unwrap) {\n var events = target._events;\n\n if (events === undefined)\n return [];\n\n var evlistener = events[type];\n if (evlistener === undefined)\n return [];\n\n if (typeof evlistener === 'function')\n return unwrap ? [evlistener.listener || evlistener] : [evlistener];\n\n return unwrap ?\n unwrapListeners(evlistener) : arrayClone(evlistener, evlistener.length);\n}\n\nEventEmitter.prototype.listeners = function listeners(type) {\n return _listeners(this, type, true);\n};\n\nEventEmitter.prototype.rawListeners = function rawListeners(type) {\n return _listeners(this, type, false);\n};\n\nEventEmitter.listenerCount = function(emitter, type) {\n if (typeof emitter.listenerCount === 'function') {\n return emitter.listenerCount(type);\n } else {\n return listenerCount.call(emitter, type);\n }\n};\n\nEventEmitter.prototype.listenerCount = listenerCount;\nfunction listenerCount(type) {\n var events = this._events;\n\n if (events !== undefined) {\n var evlistener = events[type];\n\n if (typeof evlistener === 'function') {\n return 1;\n } else if (evlistener !== undefined) {\n return evlistener.length;\n }\n }\n\n return 0;\n}\n\nEventEmitter.prototype.eventNames = function eventNames() {\n return this._eventsCount > 0 ? ReflectOwnKeys(this._events) : [];\n};\n\nfunction arrayClone(arr, n) {\n var copy = new Array(n);\n for (var i = 0; i < n; ++i)\n copy[i] = arr[i];\n return copy;\n}\n\nfunction spliceOne(list, index) {\n for (; index + 1 < list.length; index++)\n list[index] = list[index + 1];\n list.pop();\n}\n\nfunction unwrapListeners(arr) {\n var ret = new Array(arr.length);\n for (var i = 0; i < ret.length; ++i) {\n ret[i] = arr[i].listener || arr[i];\n }\n return ret;\n}\n\nfunction once(emitter, name) {\n return new Promise(function (resolve, reject) {\n function errorListener(err) {\n emitter.removeListener(name, resolver);\n reject(err);\n }\n\n function resolver() {\n if (typeof emitter.removeListener === 'function') {\n emitter.removeListener('error', errorListener);\n }\n resolve([].slice.call(arguments));\n };\n\n eventTargetAgnosticAddListener(emitter, name, resolver, { once: true });\n if (name !== 'error') {\n addErrorHandlerIfEventEmitter(emitter, errorListener, { once: true });\n }\n });\n}\n\nfunction addErrorHandlerIfEventEmitter(emitter, handler, flags) {\n if (typeof emitter.on === 'function') {\n eventTargetAgnosticAddListener(emitter, 'error', handler, flags);\n }\n}\n\nfunction eventTargetAgnosticAddListener(emitter, name, listener, flags) {\n if (typeof emitter.on === 'function') {\n if (flags.once) {\n emitter.once(name, listener);\n } else {\n emitter.on(name, listener);\n }\n } else if (typeof emitter.addEventListener === 'function') {\n // EventTarget does not have `error` event semantics like Node\n // EventEmitters, we do not listen for `error` events here.\n emitter.addEventListener(name, function wrapListener(arg) {\n // IE does not have builtin `{ once: true }` support so we\n // have to do it manually.\n if (flags.once) {\n emitter.removeEventListener(name, wrapListener);\n }\n listener(arg);\n });\n } else {\n throw new TypeError('The \"emitter\" argument must be of type EventEmitter. Received type ' + typeof emitter);\n }\n}\n","'use strict';\n\nvar isCallable = require('is-callable');\n\nvar toStr = Object.prototype.toString;\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\n\nvar forEachArray = function forEachArray(array, iterator, receiver) {\n for (var i = 0, len = array.length; i < len; i++) {\n if (hasOwnProperty.call(array, i)) {\n if (receiver == null) {\n iterator(array[i], i, array);\n } else {\n iterator.call(receiver, array[i], i, array);\n }\n }\n }\n};\n\nvar forEachString = function forEachString(string, iterator, receiver) {\n for (var i = 0, len = string.length; i < len; i++) {\n // no such thing as a sparse string.\n if (receiver == null) {\n iterator(string.charAt(i), i, string);\n } else {\n iterator.call(receiver, string.charAt(i), i, string);\n }\n }\n};\n\nvar forEachObject = function forEachObject(object, iterator, receiver) {\n for (var k in object) {\n if (hasOwnProperty.call(object, k)) {\n if (receiver == null) {\n iterator(object[k], k, object);\n } else {\n iterator.call(receiver, object[k], k, object);\n }\n }\n }\n};\n\nvar forEach = function forEach(list, iterator, thisArg) {\n if (!isCallable(iterator)) {\n throw new TypeError('iterator must be a function');\n }\n\n var receiver;\n if (arguments.length >= 3) {\n receiver = thisArg;\n }\n\n if (toStr.call(list) === '[object Array]') {\n forEachArray(list, iterator, receiver);\n } else if (typeof list === 'string') {\n forEachString(list, iterator, receiver);\n } else {\n forEachObject(list, iterator, receiver);\n }\n};\n\nmodule.exports = forEach;\n","\nvar hasOwn = Object.prototype.hasOwnProperty;\nvar toString = Object.prototype.toString;\n\nmodule.exports = function forEach (obj, fn, ctx) {\n if (toString.call(fn) !== '[object Function]') {\n throw new TypeError('iterator must be a function');\n }\n var l = obj.length;\n if (l === +l) {\n for (var i = 0; i < l; i++) {\n fn.call(ctx, obj[i], i, obj);\n }\n } else {\n for (var k in obj) {\n if (hasOwn.call(obj, k)) {\n fn.call(ctx, obj[k], k, obj);\n }\n }\n }\n};\n\n","var CombinedStream = require('combined-stream');\nvar util = require('util');\nvar path = require('path');\nvar http = require('http');\nvar https = require('https');\nvar parseUrl = require('url').parse;\nvar fs = require('fs');\nvar Stream = require('stream').Stream;\nvar mime = require('mime-types');\nvar asynckit = require('asynckit');\nvar populate = require('./populate.js');\n\n// Public API\nmodule.exports = FormData;\n\n// make it a Stream\nutil.inherits(FormData, CombinedStream);\n\n/**\n * Create readable \"multipart/form-data\" streams.\n * Can be used to submit forms\n * and file uploads to other web applications.\n *\n * @constructor\n * @param {Object} options - Properties to be added/overriden for FormData and CombinedStream\n */\nfunction FormData(options) {\n if (!(this instanceof FormData)) {\n return new FormData(options);\n }\n\n this._overheadLength = 0;\n this._valueLength = 0;\n this._valuesToMeasure = [];\n\n CombinedStream.call(this);\n\n options = options || {};\n for (var option in options) {\n this[option] = options[option];\n }\n}\n\nFormData.LINE_BREAK = '\\r\\n';\nFormData.DEFAULT_CONTENT_TYPE = 'application/octet-stream';\n\nFormData.prototype.append = function(field, value, options) {\n\n options = options || {};\n\n // allow filename as single option\n if (typeof options == 'string') {\n options = {filename: options};\n }\n\n var append = CombinedStream.prototype.append.bind(this);\n\n // all that streamy business can't handle numbers\n if (typeof value == 'number') {\n value = '' + value;\n }\n\n // https://github.com/felixge/node-form-data/issues/38\n if (Array.isArray(value)) {\n // Please convert your array into string\n // the way web server expects it\n this._error(new Error('Arrays are not supported.'));\n return;\n }\n\n var header = this._multiPartHeader(field, value, options);\n var footer = this._multiPartFooter();\n\n append(header);\n append(value);\n append(footer);\n\n // pass along options.knownLength\n this._trackLength(header, value, options);\n};\n\nFormData.prototype._trackLength = function(header, value, options) {\n var valueLength = 0;\n\n // used w/ getLengthSync(), when length is known.\n // e.g. for streaming directly from a remote server,\n // w/ a known file a size, and not wanting to wait for\n // incoming file to finish to get its size.\n if (options.knownLength != null) {\n valueLength += +options.knownLength;\n } else if (Buffer.isBuffer(value)) {\n valueLength = value.length;\n } else if (typeof value === 'string') {\n valueLength = Buffer.byteLength(value);\n }\n\n this._valueLength += valueLength;\n\n // @check why add CRLF? does this account for custom/multiple CRLFs?\n this._overheadLength +=\n Buffer.byteLength(header) +\n FormData.LINE_BREAK.length;\n\n // empty or either doesn't have path or not an http response or not a stream\n if (!value || ( !value.path && !(value.readable && value.hasOwnProperty('httpVersion')) && !(value instanceof Stream))) {\n return;\n }\n\n // no need to bother with the length\n if (!options.knownLength) {\n this._valuesToMeasure.push(value);\n }\n};\n\nFormData.prototype._lengthRetriever = function(value, callback) {\n\n if (value.hasOwnProperty('fd')) {\n\n // take read range into a account\n // `end` = Infinity –> read file till the end\n //\n // TODO: Looks like there is bug in Node fs.createReadStream\n // it doesn't respect `end` options without `start` options\n // Fix it when node fixes it.\n // https://github.com/joyent/node/issues/7819\n if (value.end != undefined && value.end != Infinity && value.start != undefined) {\n\n // when end specified\n // no need to calculate range\n // inclusive, starts with 0\n callback(null, value.end + 1 - (value.start ? value.start : 0));\n\n // not that fast snoopy\n } else {\n // still need to fetch file size from fs\n fs.stat(value.path, function(err, stat) {\n\n var fileSize;\n\n if (err) {\n callback(err);\n return;\n }\n\n // update final size based on the range options\n fileSize = stat.size - (value.start ? value.start : 0);\n callback(null, fileSize);\n });\n }\n\n // or http response\n } else if (value.hasOwnProperty('httpVersion')) {\n callback(null, +value.headers['content-length']);\n\n // or request stream http://github.com/mikeal/request\n } else if (value.hasOwnProperty('httpModule')) {\n // wait till response come back\n value.on('response', function(response) {\n value.pause();\n callback(null, +response.headers['content-length']);\n });\n value.resume();\n\n // something else\n } else {\n callback('Unknown stream');\n }\n};\n\nFormData.prototype._multiPartHeader = function(field, value, options) {\n // custom header specified (as string)?\n // it becomes responsible for boundary\n // (e.g. to handle extra CRLFs on .NET servers)\n if (typeof options.header == 'string') {\n return options.header;\n }\n\n var contentDisposition = this._getContentDisposition(value, options);\n var contentType = this._getContentType(value, options);\n\n var contents = '';\n var headers = {\n // add custom disposition as third element or keep it two elements if not\n 'Content-Disposition': ['form-data', 'name=\"' + field + '\"'].concat(contentDisposition || []),\n // if no content type. allow it to be empty array\n 'Content-Type': [].concat(contentType || [])\n };\n\n // allow custom headers.\n if (typeof options.header == 'object') {\n populate(headers, options.header);\n }\n\n var header;\n for (var prop in headers) {\n if (!headers.hasOwnProperty(prop)) continue;\n header = headers[prop];\n\n // skip nullish headers.\n if (header == null) {\n continue;\n }\n\n // convert all headers to arrays.\n if (!Array.isArray(header)) {\n header = [header];\n }\n\n // add non-empty headers.\n if (header.length) {\n contents += prop + ': ' + header.join('; ') + FormData.LINE_BREAK;\n }\n }\n\n return '--' + this.getBoundary() + FormData.LINE_BREAK + contents + FormData.LINE_BREAK;\n};\n\nFormData.prototype._getContentDisposition = function(value, options) {\n\n var filename\n , contentDisposition\n ;\n\n if (typeof options.filepath === 'string') {\n // custom filepath for relative paths\n filename = path.normalize(options.filepath).replace(/\\\\/g, '/');\n } else if (options.filename || value.name || value.path) {\n // custom filename take precedence\n // formidable and the browser add a name property\n // fs- and request- streams have path property\n filename = path.basename(options.filename || value.name || value.path);\n } else if (value.readable && value.hasOwnProperty('httpVersion')) {\n // or try http response\n filename = path.basename(value.client._httpMessage.path || '');\n }\n\n if (filename) {\n contentDisposition = 'filename=\"' + filename + '\"';\n }\n\n return contentDisposition;\n};\n\nFormData.prototype._getContentType = function(value, options) {\n\n // use custom content-type above all\n var contentType = options.contentType;\n\n // or try `name` from formidable, browser\n if (!contentType && value.name) {\n contentType = mime.lookup(value.name);\n }\n\n // or try `path` from fs-, request- streams\n if (!contentType && value.path) {\n contentType = mime.lookup(value.path);\n }\n\n // or if it's http-reponse\n if (!contentType && value.readable && value.hasOwnProperty('httpVersion')) {\n contentType = value.headers['content-type'];\n }\n\n // or guess it from the filepath or filename\n if (!contentType && (options.filepath || options.filename)) {\n contentType = mime.lookup(options.filepath || options.filename);\n }\n\n // fallback to the default content type if `value` is not simple value\n if (!contentType && typeof value == 'object') {\n contentType = FormData.DEFAULT_CONTENT_TYPE;\n }\n\n return contentType;\n};\n\nFormData.prototype._multiPartFooter = function() {\n return function(next) {\n var footer = FormData.LINE_BREAK;\n\n var lastPart = (this._streams.length === 0);\n if (lastPart) {\n footer += this._lastBoundary();\n }\n\n next(footer);\n }.bind(this);\n};\n\nFormData.prototype._lastBoundary = function() {\n return '--' + this.getBoundary() + '--' + FormData.LINE_BREAK;\n};\n\nFormData.prototype.getHeaders = function(userHeaders) {\n var header;\n var formHeaders = {\n 'content-type': 'multipart/form-data; boundary=' + this.getBoundary()\n };\n\n for (header in userHeaders) {\n if (userHeaders.hasOwnProperty(header)) {\n formHeaders[header.toLowerCase()] = userHeaders[header];\n }\n }\n\n return formHeaders;\n};\n\nFormData.prototype.setBoundary = function(boundary) {\n this._boundary = boundary;\n};\n\nFormData.prototype.getBoundary = function() {\n if (!this._boundary) {\n this._generateBoundary();\n }\n\n return this._boundary;\n};\n\nFormData.prototype.getBuffer = function() {\n var dataBuffer = new Buffer.alloc( 0 );\n var boundary = this.getBoundary();\n\n // Create the form content. Add Line breaks to the end of data.\n for (var i = 0, len = this._streams.length; i < len; i++) {\n if (typeof this._streams[i] !== 'function') {\n\n // Add content to the buffer.\n if(Buffer.isBuffer(this._streams[i])) {\n dataBuffer = Buffer.concat( [dataBuffer, this._streams[i]]);\n }else {\n dataBuffer = Buffer.concat( [dataBuffer, Buffer.from(this._streams[i])]);\n }\n\n // Add break after content.\n if (typeof this._streams[i] !== 'string' || this._streams[i].substring( 2, boundary.length + 2 ) !== boundary) {\n dataBuffer = Buffer.concat( [dataBuffer, Buffer.from(FormData.LINE_BREAK)] );\n }\n }\n }\n\n // Add the footer and return the Buffer object.\n return Buffer.concat( [dataBuffer, Buffer.from(this._lastBoundary())] );\n};\n\nFormData.prototype._generateBoundary = function() {\n // This generates a 50 character boundary similar to those used by Firefox.\n // They are optimized for boyer-moore parsing.\n var boundary = '--------------------------';\n for (var i = 0; i < 24; i++) {\n boundary += Math.floor(Math.random() * 10).toString(16);\n }\n\n this._boundary = boundary;\n};\n\n// Note: getLengthSync DOESN'T calculate streams length\n// As workaround one can calculate file size manually\n// and add it as knownLength option\nFormData.prototype.getLengthSync = function() {\n var knownLength = this._overheadLength + this._valueLength;\n\n // Don't get confused, there are 3 \"internal\" streams for each keyval pair\n // so it basically checks if there is any value added to the form\n if (this._streams.length) {\n knownLength += this._lastBoundary().length;\n }\n\n // https://github.com/form-data/form-data/issues/40\n if (!this.hasKnownLength()) {\n // Some async length retrievers are present\n // therefore synchronous length calculation is false.\n // Please use getLength(callback) to get proper length\n this._error(new Error('Cannot calculate proper length in synchronous way.'));\n }\n\n return knownLength;\n};\n\n// Public API to check if length of added values is known\n// https://github.com/form-data/form-data/issues/196\n// https://github.com/form-data/form-data/issues/262\nFormData.prototype.hasKnownLength = function() {\n var hasKnownLength = true;\n\n if (this._valuesToMeasure.length) {\n hasKnownLength = false;\n }\n\n return hasKnownLength;\n};\n\nFormData.prototype.getLength = function(cb) {\n var knownLength = this._overheadLength + this._valueLength;\n\n if (this._streams.length) {\n knownLength += this._lastBoundary().length;\n }\n\n if (!this._valuesToMeasure.length) {\n process.nextTick(cb.bind(this, null, knownLength));\n return;\n }\n\n asynckit.parallel(this._valuesToMeasure, this._lengthRetriever, function(err, values) {\n if (err) {\n cb(err);\n return;\n }\n\n values.forEach(function(length) {\n knownLength += length;\n });\n\n cb(null, knownLength);\n });\n};\n\nFormData.prototype.submit = function(params, cb) {\n var request\n , options\n , defaults = {method: 'post'}\n ;\n\n // parse provided url if it's string\n // or treat it as options object\n if (typeof params == 'string') {\n\n params = parseUrl(params);\n options = populate({\n port: params.port,\n path: params.pathname,\n host: params.hostname,\n protocol: params.protocol\n }, defaults);\n\n // use custom params\n } else {\n\n options = populate(params, defaults);\n // if no port provided use default one\n if (!options.port) {\n options.port = options.protocol == 'https:' ? 443 : 80;\n }\n }\n\n // put that good code in getHeaders to some use\n options.headers = this.getHeaders(params.headers);\n\n // https if specified, fallback to http in any other case\n if (options.protocol == 'https:') {\n request = https.request(options);\n } else {\n request = http.request(options);\n }\n\n // get content length and fire away\n this.getLength(function(err, length) {\n if (err && err !== 'Unknown stream') {\n this._error(err);\n return;\n }\n\n // add content length\n if (length) {\n request.setHeader('Content-Length', length);\n }\n\n this.pipe(request);\n if (cb) {\n var onResponse;\n\n var callback = function (error, responce) {\n request.removeListener('error', callback);\n request.removeListener('response', onResponse);\n\n return cb.call(this, error, responce);\n };\n\n onResponse = callback.bind(this, null);\n\n request.on('error', callback);\n request.on('response', onResponse);\n }\n }.bind(this));\n\n return request;\n};\n\nFormData.prototype._error = function(err) {\n if (!this.error) {\n this.error = err;\n this.pause();\n this.emit('error', err);\n }\n};\n\nFormData.prototype.toString = function () {\n return '[object FormData]';\n};\n","// populates missing values\nmodule.exports = function(dst, src) {\n\n Object.keys(src).forEach(function(prop)\n {\n dst[prop] = dst[prop] || src[prop];\n });\n\n return dst;\n};\n","\n'use strict';\n\nvar Stream = require('stream')\n\n// from\n//\n// a stream that reads from an source.\n// source may be an array, or a function.\n// from handles pause behaviour for you.\n\nmodule.exports =\nfunction from (source) {\n if(Array.isArray(source)) {\n\t\tvar source_index = 0, source_len = source.length;\n return from (function (i) {\n if(source_index < source_len)\n this.emit('data', source[source_index++])\n else\n this.emit('end')\n return true\n })\n }\n var s = new Stream(), i = 0\n s.ended = false\n s.started = false\n s.readable = true\n s.writable = false\n s.paused = false\n s.ended = false\n s.pause = function () {\n s.started = true\n s.paused = true\n }\n function next () {\n s.started = true\n if(s.ended) return\n while(!s.ended && !s.paused && source.call(s, i++, function () {\n if(!s.ended && !s.paused)\n process.nextTick(next);\n }))\n ;\n }\n s.resume = function () {\n s.started = true\n s.paused = false\n next()\n }\n s.on('end', function () {\n s.ended = true\n s.readable = false\n process.nextTick(s.destroy)\n })\n s.destroy = function () {\n s.ended = true\n s.emit('close') \n }\n /*\n by default, the stream will start emitting at nextTick\n if you want, you can pause it, after pipeing.\n you can also resume before next tick, and that will also\n work.\n */\n process.nextTick(function () {\n if(!s.started) s.resume()\n })\n return s\n}\n","'use strict';\n\n/* eslint no-invalid-this: 1 */\n\nvar ERROR_MESSAGE = 'Function.prototype.bind called on incompatible ';\nvar toStr = Object.prototype.toString;\nvar max = Math.max;\nvar funcType = '[object Function]';\n\nvar concatty = function concatty(a, b) {\n var arr = [];\n\n for (var i = 0; i < a.length; i += 1) {\n arr[i] = a[i];\n }\n for (var j = 0; j < b.length; j += 1) {\n arr[j + a.length] = b[j];\n }\n\n return arr;\n};\n\nvar slicy = function slicy(arrLike, offset) {\n var arr = [];\n for (var i = offset || 0, j = 0; i < arrLike.length; i += 1, j += 1) {\n arr[j] = arrLike[i];\n }\n return arr;\n};\n\nvar joiny = function (arr, joiner) {\n var str = '';\n for (var i = 0; i < arr.length; i += 1) {\n str += arr[i];\n if (i + 1 < arr.length) {\n str += joiner;\n }\n }\n return str;\n};\n\nmodule.exports = function bind(that) {\n var target = this;\n if (typeof target !== 'function' || toStr.apply(target) !== funcType) {\n throw new TypeError(ERROR_MESSAGE + target);\n }\n var args = slicy(arguments, 1);\n\n var bound;\n var binder = function () {\n if (this instanceof bound) {\n var result = target.apply(\n this,\n concatty(args, arguments)\n );\n if (Object(result) === result) {\n return result;\n }\n return this;\n }\n return target.apply(\n that,\n concatty(args, arguments)\n );\n\n };\n\n var boundLength = max(0, target.length - args.length);\n var boundArgs = [];\n for (var i = 0; i < boundLength; i++) {\n boundArgs[i] = '$' + i;\n }\n\n bound = Function('binder', 'return function (' + joiny(boundArgs, ',') + '){ return binder.apply(this,arguments); }')(binder);\n\n if (target.prototype) {\n var Empty = function Empty() {};\n Empty.prototype = target.prototype;\n bound.prototype = new Empty();\n Empty.prototype = null;\n }\n\n return bound;\n};\n","'use strict';\n\nvar implementation = require('./implementation');\n\nmodule.exports = Function.prototype.bind || implementation;\n","'use strict';\n\nvar undefined;\n\nvar $Error = require('es-errors');\nvar $EvalError = require('es-errors/eval');\nvar $RangeError = require('es-errors/range');\nvar $ReferenceError = require('es-errors/ref');\nvar $SyntaxError = require('es-errors/syntax');\nvar $TypeError = require('es-errors/type');\nvar $URIError = require('es-errors/uri');\n\nvar $Function = Function;\n\n// eslint-disable-next-line consistent-return\nvar getEvalledConstructor = function (expressionSyntax) {\n\ttry {\n\t\treturn $Function('\"use strict\"; return (' + expressionSyntax + ').constructor;')();\n\t} catch (e) {}\n};\n\nvar $gOPD = Object.getOwnPropertyDescriptor;\nif ($gOPD) {\n\ttry {\n\t\t$gOPD({}, '');\n\t} catch (e) {\n\t\t$gOPD = null; // this is IE 8, which has a broken gOPD\n\t}\n}\n\nvar throwTypeError = function () {\n\tthrow new $TypeError();\n};\nvar ThrowTypeError = $gOPD\n\t? (function () {\n\t\ttry {\n\t\t\t// eslint-disable-next-line no-unused-expressions, no-caller, no-restricted-properties\n\t\t\targuments.callee; // IE 8 does not throw here\n\t\t\treturn throwTypeError;\n\t\t} catch (calleeThrows) {\n\t\t\ttry {\n\t\t\t\t// IE 8 throws on Object.getOwnPropertyDescriptor(arguments, '')\n\t\t\t\treturn $gOPD(arguments, 'callee').get;\n\t\t\t} catch (gOPDthrows) {\n\t\t\t\treturn throwTypeError;\n\t\t\t}\n\t\t}\n\t}())\n\t: throwTypeError;\n\nvar hasSymbols = require('has-symbols')();\nvar hasProto = require('has-proto')();\n\nvar getProto = Object.getPrototypeOf || (\n\thasProto\n\t\t? function (x) { return x.__proto__; } // eslint-disable-line no-proto\n\t\t: null\n);\n\nvar needsEval = {};\n\nvar TypedArray = typeof Uint8Array === 'undefined' || !getProto ? undefined : getProto(Uint8Array);\n\nvar INTRINSICS = {\n\t__proto__: null,\n\t'%AggregateError%': typeof AggregateError === 'undefined' ? undefined : AggregateError,\n\t'%Array%': Array,\n\t'%ArrayBuffer%': typeof ArrayBuffer === 'undefined' ? undefined : ArrayBuffer,\n\t'%ArrayIteratorPrototype%': hasSymbols && getProto ? getProto([][Symbol.iterator]()) : undefined,\n\t'%AsyncFromSyncIteratorPrototype%': undefined,\n\t'%AsyncFunction%': needsEval,\n\t'%AsyncGenerator%': needsEval,\n\t'%AsyncGeneratorFunction%': needsEval,\n\t'%AsyncIteratorPrototype%': needsEval,\n\t'%Atomics%': typeof Atomics === 'undefined' ? undefined : Atomics,\n\t'%BigInt%': typeof BigInt === 'undefined' ? undefined : BigInt,\n\t'%BigInt64Array%': typeof BigInt64Array === 'undefined' ? undefined : BigInt64Array,\n\t'%BigUint64Array%': typeof BigUint64Array === 'undefined' ? undefined : BigUint64Array,\n\t'%Boolean%': Boolean,\n\t'%DataView%': typeof DataView === 'undefined' ? undefined : DataView,\n\t'%Date%': Date,\n\t'%decodeURI%': decodeURI,\n\t'%decodeURIComponent%': decodeURIComponent,\n\t'%encodeURI%': encodeURI,\n\t'%encodeURIComponent%': encodeURIComponent,\n\t'%Error%': $Error,\n\t'%eval%': eval, // eslint-disable-line no-eval\n\t'%EvalError%': $EvalError,\n\t'%Float32Array%': typeof Float32Array === 'undefined' ? undefined : Float32Array,\n\t'%Float64Array%': typeof Float64Array === 'undefined' ? undefined : Float64Array,\n\t'%FinalizationRegistry%': typeof FinalizationRegistry === 'undefined' ? undefined : FinalizationRegistry,\n\t'%Function%': $Function,\n\t'%GeneratorFunction%': needsEval,\n\t'%Int8Array%': typeof Int8Array === 'undefined' ? undefined : Int8Array,\n\t'%Int16Array%': typeof Int16Array === 'undefined' ? undefined : Int16Array,\n\t'%Int32Array%': typeof Int32Array === 'undefined' ? undefined : Int32Array,\n\t'%isFinite%': isFinite,\n\t'%isNaN%': isNaN,\n\t'%IteratorPrototype%': hasSymbols && getProto ? getProto(getProto([][Symbol.iterator]())) : undefined,\n\t'%JSON%': typeof JSON === 'object' ? JSON : undefined,\n\t'%Map%': typeof Map === 'undefined' ? undefined : Map,\n\t'%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols || !getProto ? undefined : getProto(new Map()[Symbol.iterator]()),\n\t'%Math%': Math,\n\t'%Number%': Number,\n\t'%Object%': Object,\n\t'%parseFloat%': parseFloat,\n\t'%parseInt%': parseInt,\n\t'%Promise%': typeof Promise === 'undefined' ? undefined : Promise,\n\t'%Proxy%': typeof Proxy === 'undefined' ? undefined : Proxy,\n\t'%RangeError%': $RangeError,\n\t'%ReferenceError%': $ReferenceError,\n\t'%Reflect%': typeof Reflect === 'undefined' ? undefined : Reflect,\n\t'%RegExp%': RegExp,\n\t'%Set%': typeof Set === 'undefined' ? undefined : Set,\n\t'%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols || !getProto ? undefined : getProto(new Set()[Symbol.iterator]()),\n\t'%SharedArrayBuffer%': typeof SharedArrayBuffer === 'undefined' ? undefined : SharedArrayBuffer,\n\t'%String%': String,\n\t'%StringIteratorPrototype%': hasSymbols && getProto ? getProto(''[Symbol.iterator]()) : undefined,\n\t'%Symbol%': hasSymbols ? Symbol : undefined,\n\t'%SyntaxError%': $SyntaxError,\n\t'%ThrowTypeError%': ThrowTypeError,\n\t'%TypedArray%': TypedArray,\n\t'%TypeError%': $TypeError,\n\t'%Uint8Array%': typeof Uint8Array === 'undefined' ? undefined : Uint8Array,\n\t'%Uint8ClampedArray%': typeof Uint8ClampedArray === 'undefined' ? undefined : Uint8ClampedArray,\n\t'%Uint16Array%': typeof Uint16Array === 'undefined' ? undefined : Uint16Array,\n\t'%Uint32Array%': typeof Uint32Array === 'undefined' ? undefined : Uint32Array,\n\t'%URIError%': $URIError,\n\t'%WeakMap%': typeof WeakMap === 'undefined' ? undefined : WeakMap,\n\t'%WeakRef%': typeof WeakRef === 'undefined' ? undefined : WeakRef,\n\t'%WeakSet%': typeof WeakSet === 'undefined' ? undefined : WeakSet\n};\n\nif (getProto) {\n\ttry {\n\t\tnull.error; // eslint-disable-line no-unused-expressions\n\t} catch (e) {\n\t\t// https://github.com/tc39/proposal-shadowrealm/pull/384#issuecomment-1364264229\n\t\tvar errorProto = getProto(getProto(e));\n\t\tINTRINSICS['%Error.prototype%'] = errorProto;\n\t}\n}\n\nvar doEval = function doEval(name) {\n\tvar value;\n\tif (name === '%AsyncFunction%') {\n\t\tvalue = getEvalledConstructor('async function () {}');\n\t} else if (name === '%GeneratorFunction%') {\n\t\tvalue = getEvalledConstructor('function* () {}');\n\t} else if (name === '%AsyncGeneratorFunction%') {\n\t\tvalue = getEvalledConstructor('async function* () {}');\n\t} else if (name === '%AsyncGenerator%') {\n\t\tvar fn = doEval('%AsyncGeneratorFunction%');\n\t\tif (fn) {\n\t\t\tvalue = fn.prototype;\n\t\t}\n\t} else if (name === '%AsyncIteratorPrototype%') {\n\t\tvar gen = doEval('%AsyncGenerator%');\n\t\tif (gen && getProto) {\n\t\t\tvalue = getProto(gen.prototype);\n\t\t}\n\t}\n\n\tINTRINSICS[name] = value;\n\n\treturn value;\n};\n\nvar LEGACY_ALIASES = {\n\t__proto__: null,\n\t'%ArrayBufferPrototype%': ['ArrayBuffer', 'prototype'],\n\t'%ArrayPrototype%': ['Array', 'prototype'],\n\t'%ArrayProto_entries%': ['Array', 'prototype', 'entries'],\n\t'%ArrayProto_forEach%': ['Array', 'prototype', 'forEach'],\n\t'%ArrayProto_keys%': ['Array', 'prototype', 'keys'],\n\t'%ArrayProto_values%': ['Array', 'prototype', 'values'],\n\t'%AsyncFunctionPrototype%': ['AsyncFunction', 'prototype'],\n\t'%AsyncGenerator%': ['AsyncGeneratorFunction', 'prototype'],\n\t'%AsyncGeneratorPrototype%': ['AsyncGeneratorFunction', 'prototype', 'prototype'],\n\t'%BooleanPrototype%': ['Boolean', 'prototype'],\n\t'%DataViewPrototype%': ['DataView', 'prototype'],\n\t'%DatePrototype%': ['Date', 'prototype'],\n\t'%ErrorPrototype%': ['Error', 'prototype'],\n\t'%EvalErrorPrototype%': ['EvalError', 'prototype'],\n\t'%Float32ArrayPrototype%': ['Float32Array', 'prototype'],\n\t'%Float64ArrayPrototype%': ['Float64Array', 'prototype'],\n\t'%FunctionPrototype%': ['Function', 'prototype'],\n\t'%Generator%': ['GeneratorFunction', 'prototype'],\n\t'%GeneratorPrototype%': ['GeneratorFunction', 'prototype', 'prototype'],\n\t'%Int8ArrayPrototype%': ['Int8Array', 'prototype'],\n\t'%Int16ArrayPrototype%': ['Int16Array', 'prototype'],\n\t'%Int32ArrayPrototype%': ['Int32Array', 'prototype'],\n\t'%JSONParse%': ['JSON', 'parse'],\n\t'%JSONStringify%': ['JSON', 'stringify'],\n\t'%MapPrototype%': ['Map', 'prototype'],\n\t'%NumberPrototype%': ['Number', 'prototype'],\n\t'%ObjectPrototype%': ['Object', 'prototype'],\n\t'%ObjProto_toString%': ['Object', 'prototype', 'toString'],\n\t'%ObjProto_valueOf%': ['Object', 'prototype', 'valueOf'],\n\t'%PromisePrototype%': ['Promise', 'prototype'],\n\t'%PromiseProto_then%': ['Promise', 'prototype', 'then'],\n\t'%Promise_all%': ['Promise', 'all'],\n\t'%Promise_reject%': ['Promise', 'reject'],\n\t'%Promise_resolve%': ['Promise', 'resolve'],\n\t'%RangeErrorPrototype%': ['RangeError', 'prototype'],\n\t'%ReferenceErrorPrototype%': ['ReferenceError', 'prototype'],\n\t'%RegExpPrototype%': ['RegExp', 'prototype'],\n\t'%SetPrototype%': ['Set', 'prototype'],\n\t'%SharedArrayBufferPrototype%': ['SharedArrayBuffer', 'prototype'],\n\t'%StringPrototype%': ['String', 'prototype'],\n\t'%SymbolPrototype%': ['Symbol', 'prototype'],\n\t'%SyntaxErrorPrototype%': ['SyntaxError', 'prototype'],\n\t'%TypedArrayPrototype%': ['TypedArray', 'prototype'],\n\t'%TypeErrorPrototype%': ['TypeError', 'prototype'],\n\t'%Uint8ArrayPrototype%': ['Uint8Array', 'prototype'],\n\t'%Uint8ClampedArrayPrototype%': ['Uint8ClampedArray', 'prototype'],\n\t'%Uint16ArrayPrototype%': ['Uint16Array', 'prototype'],\n\t'%Uint32ArrayPrototype%': ['Uint32Array', 'prototype'],\n\t'%URIErrorPrototype%': ['URIError', 'prototype'],\n\t'%WeakMapPrototype%': ['WeakMap', 'prototype'],\n\t'%WeakSetPrototype%': ['WeakSet', 'prototype']\n};\n\nvar bind = require('function-bind');\nvar hasOwn = require('hasown');\nvar $concat = bind.call(Function.call, Array.prototype.concat);\nvar $spliceApply = bind.call(Function.apply, Array.prototype.splice);\nvar $replace = bind.call(Function.call, String.prototype.replace);\nvar $strSlice = bind.call(Function.call, String.prototype.slice);\nvar $exec = bind.call(Function.call, RegExp.prototype.exec);\n\n/* adapted from https://github.com/lodash/lodash/blob/4.17.15/dist/lodash.js#L6735-L6744 */\nvar rePropName = /[^%.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|([\"'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]|(?=(?:\\.|\\[\\])(?:\\.|\\[\\]|%$))/g;\nvar reEscapeChar = /\\\\(\\\\)?/g; /** Used to match backslashes in property paths. */\nvar stringToPath = function stringToPath(string) {\n\tvar first = $strSlice(string, 0, 1);\n\tvar last = $strSlice(string, -1);\n\tif (first === '%' && last !== '%') {\n\t\tthrow new $SyntaxError('invalid intrinsic syntax, expected closing `%`');\n\t} else if (last === '%' && first !== '%') {\n\t\tthrow new $SyntaxError('invalid intrinsic syntax, expected opening `%`');\n\t}\n\tvar result = [];\n\t$replace(string, rePropName, function (match, number, quote, subString) {\n\t\tresult[result.length] = quote ? $replace(subString, reEscapeChar, '$1') : number || match;\n\t});\n\treturn result;\n};\n/* end adaptation */\n\nvar getBaseIntrinsic = function getBaseIntrinsic(name, allowMissing) {\n\tvar intrinsicName = name;\n\tvar alias;\n\tif (hasOwn(LEGACY_ALIASES, intrinsicName)) {\n\t\talias = LEGACY_ALIASES[intrinsicName];\n\t\tintrinsicName = '%' + alias[0] + '%';\n\t}\n\n\tif (hasOwn(INTRINSICS, intrinsicName)) {\n\t\tvar value = INTRINSICS[intrinsicName];\n\t\tif (value === needsEval) {\n\t\t\tvalue = doEval(intrinsicName);\n\t\t}\n\t\tif (typeof value === 'undefined' && !allowMissing) {\n\t\t\tthrow new $TypeError('intrinsic ' + name + ' exists, but is not available. Please file an issue!');\n\t\t}\n\n\t\treturn {\n\t\t\talias: alias,\n\t\t\tname: intrinsicName,\n\t\t\tvalue: value\n\t\t};\n\t}\n\n\tthrow new $SyntaxError('intrinsic ' + name + ' does not exist!');\n};\n\nmodule.exports = function GetIntrinsic(name, allowMissing) {\n\tif (typeof name !== 'string' || name.length === 0) {\n\t\tthrow new $TypeError('intrinsic name must be a non-empty string');\n\t}\n\tif (arguments.length > 1 && typeof allowMissing !== 'boolean') {\n\t\tthrow new $TypeError('\"allowMissing\" argument must be a boolean');\n\t}\n\n\tif ($exec(/^%?[^%]*%?$/, name) === null) {\n\t\tthrow new $SyntaxError('`%` may not be present anywhere but at the beginning and end of the intrinsic name');\n\t}\n\tvar parts = stringToPath(name);\n\tvar intrinsicBaseName = parts.length > 0 ? parts[0] : '';\n\n\tvar intrinsic = getBaseIntrinsic('%' + intrinsicBaseName + '%', allowMissing);\n\tvar intrinsicRealName = intrinsic.name;\n\tvar value = intrinsic.value;\n\tvar skipFurtherCaching = false;\n\n\tvar alias = intrinsic.alias;\n\tif (alias) {\n\t\tintrinsicBaseName = alias[0];\n\t\t$spliceApply(parts, $concat([0, 1], alias));\n\t}\n\n\tfor (var i = 1, isOwn = true; i < parts.length; i += 1) {\n\t\tvar part = parts[i];\n\t\tvar first = $strSlice(part, 0, 1);\n\t\tvar last = $strSlice(part, -1);\n\t\tif (\n\t\t\t(\n\t\t\t\t(first === '\"' || first === \"'\" || first === '`')\n\t\t\t\t|| (last === '\"' || last === \"'\" || last === '`')\n\t\t\t)\n\t\t\t&& first !== last\n\t\t) {\n\t\t\tthrow new $SyntaxError('property names with quotes must have matching quotes');\n\t\t}\n\t\tif (part === 'constructor' || !isOwn) {\n\t\t\tskipFurtherCaching = true;\n\t\t}\n\n\t\tintrinsicBaseName += '.' + part;\n\t\tintrinsicRealName = '%' + intrinsicBaseName + '%';\n\n\t\tif (hasOwn(INTRINSICS, intrinsicRealName)) {\n\t\t\tvalue = INTRINSICS[intrinsicRealName];\n\t\t} else if (value != null) {\n\t\t\tif (!(part in value)) {\n\t\t\t\tif (!allowMissing) {\n\t\t\t\t\tthrow new $TypeError('base intrinsic for ' + name + ' exists, but the property is not available.');\n\t\t\t\t}\n\t\t\t\treturn void undefined;\n\t\t\t}\n\t\t\tif ($gOPD && (i + 1) >= parts.length) {\n\t\t\t\tvar desc = $gOPD(value, part);\n\t\t\t\tisOwn = !!desc;\n\n\t\t\t\t// By convention, when a data property is converted to an accessor\n\t\t\t\t// property to emulate a data property that does not suffer from\n\t\t\t\t// the override mistake, that accessor's getter is marked with\n\t\t\t\t// an `originalValue` property. Here, when we detect this, we\n\t\t\t\t// uphold the illusion by pretending to see that original data\n\t\t\t\t// property, i.e., returning the value rather than the getter\n\t\t\t\t// itself.\n\t\t\t\tif (isOwn && 'get' in desc && !('originalValue' in desc.get)) {\n\t\t\t\t\tvalue = desc.get;\n\t\t\t\t} else {\n\t\t\t\t\tvalue = value[part];\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tisOwn = hasOwn(value, part);\n\t\t\t\tvalue = value[part];\n\t\t\t}\n\n\t\t\tif (isOwn && !skipFurtherCaching) {\n\t\t\t\tINTRINSICS[intrinsicRealName] = value;\n\t\t\t}\n\t\t}\n\t}\n\treturn value;\n};\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.default = (object) => Object\n .getOwnPropertySymbols(object)\n .filter((keySymbol) => Object.prototype.propertyIsEnumerable.call(object, keySymbol));\n//# sourceMappingURL=index.js.map","'use strict';\n\nvar GetIntrinsic = require('get-intrinsic');\n\nvar $gOPD = GetIntrinsic('%Object.getOwnPropertyDescriptor%', true);\n\nif ($gOPD) {\n\ttry {\n\t\t$gOPD([], 'length');\n\t} catch (e) {\n\t\t// IE 8 has a broken gOPD\n\t\t$gOPD = null;\n\t}\n}\n\nmodule.exports = $gOPD;\n","'use strict';\n\nvar $defineProperty = require('es-define-property');\n\nvar hasPropertyDescriptors = function hasPropertyDescriptors() {\n\treturn !!$defineProperty;\n};\n\nhasPropertyDescriptors.hasArrayLengthDefineBug = function hasArrayLengthDefineBug() {\n\t// node v0.6 has a bug where array lengths can be Set but not Defined\n\tif (!$defineProperty) {\n\t\treturn null;\n\t}\n\ttry {\n\t\treturn $defineProperty([], 'length', { value: 1 }).length !== 1;\n\t} catch (e) {\n\t\t// In Firefox 4-22, defining length on an array throws an exception.\n\t\treturn true;\n\t}\n};\n\nmodule.exports = hasPropertyDescriptors;\n","'use strict';\n\nvar test = {\n\t__proto__: null,\n\tfoo: {}\n};\n\nvar $Object = Object;\n\n/** @type {import('.')} */\nmodule.exports = function hasProto() {\n\t// @ts-expect-error: TS errors on an inherited property for some reason\n\treturn { __proto__: test }.foo === test.foo\n\t\t&& !(test instanceof $Object);\n};\n","'use strict';\n\nvar origSymbol = typeof Symbol !== 'undefined' && Symbol;\nvar hasSymbolSham = require('./shams');\n\nmodule.exports = function hasNativeSymbols() {\n\tif (typeof origSymbol !== 'function') { return false; }\n\tif (typeof Symbol !== 'function') { return false; }\n\tif (typeof origSymbol('foo') !== 'symbol') { return false; }\n\tif (typeof Symbol('bar') !== 'symbol') { return false; }\n\n\treturn hasSymbolSham();\n};\n","'use strict';\n\n/* eslint complexity: [2, 18], max-statements: [2, 33] */\nmodule.exports = function hasSymbols() {\n\tif (typeof Symbol !== 'function' || typeof Object.getOwnPropertySymbols !== 'function') { return false; }\n\tif (typeof Symbol.iterator === 'symbol') { return true; }\n\n\tvar obj = {};\n\tvar sym = Symbol('test');\n\tvar symObj = Object(sym);\n\tif (typeof sym === 'string') { return false; }\n\n\tif (Object.prototype.toString.call(sym) !== '[object Symbol]') { return false; }\n\tif (Object.prototype.toString.call(symObj) !== '[object Symbol]') { return false; }\n\n\t// temp disabled per https://github.com/ljharb/object.assign/issues/17\n\t// if (sym instanceof Symbol) { return false; }\n\t// temp disabled per https://github.com/WebReflection/get-own-property-symbols/issues/4\n\t// if (!(symObj instanceof Symbol)) { return false; }\n\n\t// if (typeof Symbol.prototype.toString !== 'function') { return false; }\n\t// if (String(sym) !== Symbol.prototype.toString.call(sym)) { return false; }\n\n\tvar symVal = 42;\n\tobj[sym] = symVal;\n\tfor (sym in obj) { return false; } // eslint-disable-line no-restricted-syntax, no-unreachable-loop\n\tif (typeof Object.keys === 'function' && Object.keys(obj).length !== 0) { return false; }\n\n\tif (typeof Object.getOwnPropertyNames === 'function' && Object.getOwnPropertyNames(obj).length !== 0) { return false; }\n\n\tvar syms = Object.getOwnPropertySymbols(obj);\n\tif (syms.length !== 1 || syms[0] !== sym) { return false; }\n\n\tif (!Object.prototype.propertyIsEnumerable.call(obj, sym)) { return false; }\n\n\tif (typeof Object.getOwnPropertyDescriptor === 'function') {\n\t\tvar descriptor = Object.getOwnPropertyDescriptor(obj, sym);\n\t\tif (descriptor.value !== symVal || descriptor.enumerable !== true) { return false; }\n\t}\n\n\treturn true;\n};\n","'use strict';\n\nvar hasSymbols = require('has-symbols/shams');\n\n/** @type {import('.')} */\nmodule.exports = function hasToStringTagShams() {\n\treturn hasSymbols() && !!Symbol.toStringTag;\n};\n","'use strict';\n\nvar call = Function.prototype.call;\nvar $hasOwn = Object.prototype.hasOwnProperty;\nvar bind = require('function-bind');\n\n/** @type {import('.')} */\nmodule.exports = bind.call(call, $hasOwn);\n","var http = require('http')\nvar url = require('url')\n\nvar https = module.exports\n\nfor (var key in http) {\n if (http.hasOwnProperty(key)) https[key] = http[key]\n}\n\nhttps.request = function (params, cb) {\n params = validateParams(params)\n return http.request.call(this, params, cb)\n}\n\nhttps.get = function (params, cb) {\n params = validateParams(params)\n return http.get.call(this, params, cb)\n}\n\nfunction validateParams (params) {\n if (typeof params === 'string') {\n params = url.parse(params)\n }\n if (!params.protocol) {\n params.protocol = 'https:'\n }\n if (params.protocol !== 'https:') {\n throw new Error('Protocol \"' + params.protocol + '\" not supported. Expected \"https:\"')\n }\n return params\n}\n","/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh */\nexports.read = function (buffer, offset, isLE, mLen, nBytes) {\n var e, m\n var eLen = (nBytes * 8) - mLen - 1\n var eMax = (1 << eLen) - 1\n var eBias = eMax >> 1\n var nBits = -7\n var i = isLE ? (nBytes - 1) : 0\n var d = isLE ? -1 : 1\n var s = buffer[offset + i]\n\n i += d\n\n e = s & ((1 << (-nBits)) - 1)\n s >>= (-nBits)\n nBits += eLen\n for (; nBits > 0; e = (e * 256) + buffer[offset + i], i += d, nBits -= 8) {}\n\n m = e & ((1 << (-nBits)) - 1)\n e >>= (-nBits)\n nBits += mLen\n for (; nBits > 0; m = (m * 256) + buffer[offset + i], i += d, nBits -= 8) {}\n\n if (e === 0) {\n e = 1 - eBias\n } else if (e === eMax) {\n return m ? NaN : ((s ? -1 : 1) * Infinity)\n } else {\n m = m + Math.pow(2, mLen)\n e = e - eBias\n }\n return (s ? -1 : 1) * m * Math.pow(2, e - mLen)\n}\n\nexports.write = function (buffer, value, offset, isLE, mLen, nBytes) {\n var e, m, c\n var eLen = (nBytes * 8) - mLen - 1\n var eMax = (1 << eLen) - 1\n var eBias = eMax >> 1\n var rt = (mLen === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0)\n var i = isLE ? 0 : (nBytes - 1)\n var d = isLE ? 1 : -1\n var s = value < 0 || (value === 0 && 1 / value < 0) ? 1 : 0\n\n value = Math.abs(value)\n\n if (isNaN(value) || value === Infinity) {\n m = isNaN(value) ? 1 : 0\n e = eMax\n } else {\n e = Math.floor(Math.log(value) / Math.LN2)\n if (value * (c = Math.pow(2, -e)) < 1) {\n e--\n c *= 2\n }\n if (e + eBias >= 1) {\n value += rt / c\n } else {\n value += rt * Math.pow(2, 1 - eBias)\n }\n if (value * c >= 2) {\n e++\n c /= 2\n }\n\n if (e + eBias >= eMax) {\n m = 0\n e = eMax\n } else if (e + eBias >= 1) {\n m = ((value * c) - 1) * Math.pow(2, mLen)\n e = e + eBias\n } else {\n m = value * Math.pow(2, eBias - 1) * Math.pow(2, mLen)\n e = 0\n }\n }\n\n for (; mLen >= 8; buffer[offset + i] = m & 0xff, i += d, m /= 256, mLen -= 8) {}\n\n e = (e << mLen) | m\n eLen += mLen\n for (; eLen > 0; buffer[offset + i] = e & 0xff, i += d, e /= 256, eLen -= 8) {}\n\n buffer[offset + i - d] |= s * 128\n}\n","if (typeof Object.create === 'function') {\n // implementation from standard node.js 'util' module\n module.exports = function inherits(ctor, superCtor) {\n if (superCtor) {\n ctor.super_ = superCtor\n ctor.prototype = Object.create(superCtor.prototype, {\n constructor: {\n value: ctor,\n enumerable: false,\n writable: true,\n configurable: true\n }\n })\n }\n };\n} else {\n // old school shim for old browsers\n module.exports = function inherits(ctor, superCtor) {\n if (superCtor) {\n ctor.super_ = superCtor\n var TempCtor = function () {}\n TempCtor.prototype = superCtor.prototype\n ctor.prototype = new TempCtor()\n ctor.prototype.constructor = ctor\n }\n }\n}\n","'use strict';\n\nvar hasToStringTag = typeof Symbol === 'function' && typeof Symbol.toStringTag === 'symbol';\nvar toStr = Object.prototype.toString;\n\nvar isStandardArguments = function isArguments(value) {\n\tif (hasToStringTag && value && typeof value === 'object' && Symbol.toStringTag in value) {\n\t\treturn false;\n\t}\n\treturn toStr.call(value) === '[object Arguments]';\n};\n\nvar isLegacyArguments = function isArguments(value) {\n\tif (isStandardArguments(value)) {\n\t\treturn true;\n\t}\n\treturn value !== null &&\n\t\ttypeof value === 'object' &&\n\t\ttypeof value.length === 'number' &&\n\t\tvalue.length >= 0 &&\n\t\ttoStr.call(value) !== '[object Array]' &&\n\t\ttoStr.call(value.callee) === '[object Function]';\n};\n\nvar supportsStandardArguments = (function () {\n\treturn isStandardArguments(arguments);\n}());\n\nisStandardArguments.isLegacyArguments = isLegacyArguments; // for tests\n\nmodule.exports = supportsStandardArguments ? isStandardArguments : isLegacyArguments;\n","'use strict';\n\nvar fnToStr = Function.prototype.toString;\nvar reflectApply = typeof Reflect === 'object' && Reflect !== null && Reflect.apply;\nvar badArrayLike;\nvar isCallableMarker;\nif (typeof reflectApply === 'function' && typeof Object.defineProperty === 'function') {\n\ttry {\n\t\tbadArrayLike = Object.defineProperty({}, 'length', {\n\t\t\tget: function () {\n\t\t\t\tthrow isCallableMarker;\n\t\t\t}\n\t\t});\n\t\tisCallableMarker = {};\n\t\t// eslint-disable-next-line no-throw-literal\n\t\treflectApply(function () { throw 42; }, null, badArrayLike);\n\t} catch (_) {\n\t\tif (_ !== isCallableMarker) {\n\t\t\treflectApply = null;\n\t\t}\n\t}\n} else {\n\treflectApply = null;\n}\n\nvar constructorRegex = /^\\s*class\\b/;\nvar isES6ClassFn = function isES6ClassFunction(value) {\n\ttry {\n\t\tvar fnStr = fnToStr.call(value);\n\t\treturn constructorRegex.test(fnStr);\n\t} catch (e) {\n\t\treturn false; // not a function\n\t}\n};\n\nvar tryFunctionObject = function tryFunctionToStr(value) {\n\ttry {\n\t\tif (isES6ClassFn(value)) { return false; }\n\t\tfnToStr.call(value);\n\t\treturn true;\n\t} catch (e) {\n\t\treturn false;\n\t}\n};\nvar toStr = Object.prototype.toString;\nvar objectClass = '[object Object]';\nvar fnClass = '[object Function]';\nvar genClass = '[object GeneratorFunction]';\nvar ddaClass = '[object HTMLAllCollection]'; // IE 11\nvar ddaClass2 = '[object HTML document.all class]';\nvar ddaClass3 = '[object HTMLCollection]'; // IE 9-10\nvar hasToStringTag = typeof Symbol === 'function' && !!Symbol.toStringTag; // better: use `has-tostringtag`\n\nvar isIE68 = !(0 in [,]); // eslint-disable-line no-sparse-arrays, comma-spacing\n\nvar isDDA = function isDocumentDotAll() { return false; };\nif (typeof document === 'object') {\n\t// Firefox 3 canonicalizes DDA to undefined when it's not accessed directly\n\tvar all = document.all;\n\tif (toStr.call(all) === toStr.call(document.all)) {\n\t\tisDDA = function isDocumentDotAll(value) {\n\t\t\t/* globals document: false */\n\t\t\t// in IE 6-8, typeof document.all is \"object\" and it's truthy\n\t\t\tif ((isIE68 || !value) && (typeof value === 'undefined' || typeof value === 'object')) {\n\t\t\t\ttry {\n\t\t\t\t\tvar str = toStr.call(value);\n\t\t\t\t\treturn (\n\t\t\t\t\t\tstr === ddaClass\n\t\t\t\t\t\t|| str === ddaClass2\n\t\t\t\t\t\t|| str === ddaClass3 // opera 12.16\n\t\t\t\t\t\t|| str === objectClass // IE 6-8\n\t\t\t\t\t) && value('') == null; // eslint-disable-line eqeqeq\n\t\t\t\t} catch (e) { /**/ }\n\t\t\t}\n\t\t\treturn false;\n\t\t};\n\t}\n}\n\nmodule.exports = reflectApply\n\t? function isCallable(value) {\n\t\tif (isDDA(value)) { return true; }\n\t\tif (!value) { return false; }\n\t\tif (typeof value !== 'function' && typeof value !== 'object') { return false; }\n\t\ttry {\n\t\t\treflectApply(value, null, badArrayLike);\n\t\t} catch (e) {\n\t\t\tif (e !== isCallableMarker) { return false; }\n\t\t}\n\t\treturn !isES6ClassFn(value) && tryFunctionObject(value);\n\t}\n\t: function isCallable(value) {\n\t\tif (isDDA(value)) { return true; }\n\t\tif (!value) { return false; }\n\t\tif (typeof value !== 'function' && typeof value !== 'object') { return false; }\n\t\tif (hasToStringTag) { return tryFunctionObject(value); }\n\t\tif (isES6ClassFn(value)) { return false; }\n\t\tvar strClass = toStr.call(value);\n\t\tif (strClass !== fnClass && strClass !== genClass && !(/^\\[object HTML/).test(strClass)) { return false; }\n\t\treturn tryFunctionObject(value);\n\t};\n","'use strict';\n\nvar toStr = Object.prototype.toString;\nvar fnToStr = Function.prototype.toString;\nvar isFnRegex = /^\\s*(?:function)?\\*/;\nvar hasToStringTag = require('has-tostringtag/shams')();\nvar getProto = Object.getPrototypeOf;\nvar getGeneratorFunc = function () { // eslint-disable-line consistent-return\n\tif (!hasToStringTag) {\n\t\treturn false;\n\t}\n\ttry {\n\t\treturn Function('return function*() {}')();\n\t} catch (e) {\n\t}\n};\nvar GeneratorFunction;\n\nmodule.exports = function isGeneratorFunction(fn) {\n\tif (typeof fn !== 'function') {\n\t\treturn false;\n\t}\n\tif (isFnRegex.test(fnToStr.call(fn))) {\n\t\treturn true;\n\t}\n\tif (!hasToStringTag) {\n\t\tvar str = toStr.call(fn);\n\t\treturn str === '[object GeneratorFunction]';\n\t}\n\tif (!getProto) {\n\t\treturn false;\n\t}\n\tif (typeof GeneratorFunction === 'undefined') {\n\t\tvar generatorFunc = getGeneratorFunc();\n\t\tGeneratorFunction = generatorFunc ? getProto(generatorFunc) : false;\n\t}\n\treturn getProto(fn) === GeneratorFunction;\n};\n","'use strict';\nmodule.exports = function (x) {\n\tvar type = typeof x;\n\treturn x !== null && (type === 'object' || type === 'function');\n};\n","'use strict';\nmodule.exports = function (re) {\n\treturn Object.prototype.toString.call(re) === '[object RegExp]';\n};\n","'use strict';\n\nvar whichTypedArray = require('which-typed-array');\n\n/** @type {import('.')} */\nmodule.exports = function isTypedArray(value) {\n\treturn !!whichTypedArray(value);\n};\n","'use strict';\n\nvar each = require('foreach');\nmodule.exports = api;\n\n\n/**\n * Convenience wrapper around the api.\n * Calls `.get` when called with an `object` and a `pointer`.\n * Calls `.set` when also called with `value`.\n * If only supplied `object`, returns a partially applied function, mapped to the object.\n *\n * @param {Object} obj\n * @param {String|Array} pointer\n * @param value\n * @returns {*}\n */\n\nfunction api (obj, pointer, value) {\n // .set()\n if (arguments.length === 3) {\n return api.set(obj, pointer, value);\n }\n // .get()\n if (arguments.length === 2) {\n return api.get(obj, pointer);\n }\n // Return a partially applied function on `obj`.\n var wrapped = api.bind(api, obj);\n\n // Support for oo style\n for (var name in api) {\n if (api.hasOwnProperty(name)) {\n wrapped[name] = api[name].bind(wrapped, obj);\n }\n }\n return wrapped;\n}\n\n\n/**\n * Lookup a json pointer in an object\n *\n * @param {Object} obj\n * @param {String|Array} pointer\n * @returns {*}\n */\napi.get = function get (obj, pointer) {\n var refTokens = Array.isArray(pointer) ? pointer : api.parse(pointer);\n\n for (var i = 0; i < refTokens.length; ++i) {\n var tok = refTokens[i];\n if (!(typeof obj == 'object' && tok in obj)) {\n throw new Error('Invalid reference token: ' + tok);\n }\n obj = obj[tok];\n }\n return obj;\n};\n\n/**\n * Sets a value on an object\n *\n * @param {Object} obj\n * @param {String|Array} pointer\n * @param value\n */\napi.set = function set (obj, pointer, value) {\n var refTokens = Array.isArray(pointer) ? pointer : api.parse(pointer),\n nextTok = refTokens[0];\n\n if (refTokens.length === 0) {\n throw Error('Can not set the root object');\n }\n\n for (var i = 0; i < refTokens.length - 1; ++i) {\n var tok = refTokens[i];\n if (typeof tok !== 'string' && typeof tok !== 'number') {\n tok = String(tok)\n }\n if (tok === \"__proto__\" || tok === \"constructor\" || tok === \"prototype\") {\n continue\n }\n if (tok === '-' && Array.isArray(obj)) {\n tok = obj.length;\n }\n nextTok = refTokens[i + 1];\n\n if (!(tok in obj)) {\n if (nextTok.match(/^(\\d+|-)$/)) {\n obj[tok] = [];\n } else {\n obj[tok] = {};\n }\n }\n obj = obj[tok];\n }\n if (nextTok === '-' && Array.isArray(obj)) {\n nextTok = obj.length;\n }\n obj[nextTok] = value;\n return this;\n};\n\n/**\n * Removes an attribute\n *\n * @param {Object} obj\n * @param {String|Array} pointer\n */\napi.remove = function (obj, pointer) {\n var refTokens = Array.isArray(pointer) ? pointer : api.parse(pointer);\n var finalToken = refTokens[refTokens.length -1];\n if (finalToken === undefined) {\n throw new Error('Invalid JSON pointer for remove: \"' + pointer + '\"');\n }\n\n var parent = api.get(obj, refTokens.slice(0, -1));\n if (Array.isArray(parent)) {\n var index = +finalToken;\n if (finalToken === '' && isNaN(index)) {\n throw new Error('Invalid array index: \"' + finalToken + '\"');\n }\n\n Array.prototype.splice.call(parent, index, 1);\n } else {\n delete parent[finalToken];\n }\n};\n\n/**\n * Returns a (pointer -> value) dictionary for an object\n *\n * @param obj\n * @param {function} descend\n * @returns {}\n */\napi.dict = function dict (obj, descend) {\n var results = {};\n api.walk(obj, function (value, pointer) {\n results[pointer] = value;\n }, descend);\n return results;\n};\n\n/**\n * Iterates over an object\n * Iterator: function (value, pointer) {}\n *\n * @param obj\n * @param {function} iterator\n * @param {function} descend\n */\napi.walk = function walk (obj, iterator, descend) {\n var refTokens = [];\n\n descend = descend || function (value) {\n var type = Object.prototype.toString.call(value);\n return type === '[object Object]' || type === '[object Array]';\n };\n\n (function next (cur) {\n each(cur, function (value, key) {\n refTokens.push(String(key));\n if (descend(value)) {\n next(value);\n } else {\n iterator(value, api.compile(refTokens));\n }\n refTokens.pop();\n });\n }(obj));\n};\n\n/**\n * Tests if an object has a value for a json pointer\n *\n * @param obj\n * @param pointer\n * @returns {boolean}\n */\napi.has = function has (obj, pointer) {\n try {\n api.get(obj, pointer);\n } catch (e) {\n return false;\n }\n return true;\n};\n\n/**\n * Escapes a reference token\n *\n * @param str\n * @returns {string}\n */\napi.escape = function escape (str) {\n return str.toString().replace(/~/g, '~0').replace(/\\//g, '~1');\n};\n\n/**\n * Unescapes a reference token\n *\n * @param str\n * @returns {string}\n */\napi.unescape = function unescape (str) {\n return str.replace(/~1/g, '/').replace(/~0/g, '~');\n};\n\n/**\n * Converts a json pointer into a array of reference tokens\n *\n * @param pointer\n * @returns {Array}\n */\napi.parse = function parse (pointer) {\n if (pointer === '') { return []; }\n if (pointer.charAt(0) !== '/') { throw new Error('Invalid JSON pointer: ' + pointer); }\n return pointer.substring(1).split(/\\//).map(api.unescape);\n};\n\n/**\n * Builds a json pointer from a array of reference tokens\n *\n * @param refTokens\n * @returns {string}\n */\napi.compile = function compile (refTokens) {\n if (refTokens.length === 0) { return ''; }\n return '/' + refTokens.map(api.escape).join('/');\n};\n","//filter will reemit the data if cb(err,pass) pass is truthy\n\n// reduce is more tricky\n// maybe we want to group the reductions or emit progress updates occasionally\n// the most basic reduce just emits one 'data' event after it has recieved 'end'\n\n\nvar Stream = require('stream').Stream\n\n\n//create an event stream and apply function to each .write\n//emitting each response as data\n//unless it's an empty callback\n\nmodule.exports = function (mapper, opts) {\n\n var stream = new Stream()\n , inputs = 0\n , outputs = 0\n , ended = false\n , paused = false\n , destroyed = false\n , lastWritten = 0\n , inNext = false\n\n opts = opts || {};\n var errorEventName = opts.failures ? 'failure' : 'error';\n\n // Items that are not ready to be written yet (because they would come out of\n // order) get stuck in a queue for later.\n var writeQueue = {}\n\n stream.writable = true\n stream.readable = true\n\n function queueData (data, number) {\n var nextToWrite = lastWritten + 1\n\n if (number === nextToWrite) {\n // If it's next, and its not undefined write it\n if (data !== undefined) {\n stream.emit.apply(stream, ['data', data])\n }\n lastWritten ++\n nextToWrite ++\n } else {\n // Otherwise queue it for later.\n writeQueue[number] = data\n }\n\n // If the next value is in the queue, write it\n if (writeQueue.hasOwnProperty(nextToWrite)) {\n var dataToWrite = writeQueue[nextToWrite]\n delete writeQueue[nextToWrite]\n return queueData(dataToWrite, nextToWrite)\n }\n\n outputs ++\n if(inputs === outputs) {\n if(paused) paused = false, stream.emit('drain') //written all the incoming events\n if(ended) end()\n }\n }\n\n function next (err, data, number) {\n if(destroyed) return\n inNext = true\n\n if (!err || opts.failures) {\n queueData(data, number)\n }\n\n if (err) {\n stream.emit.apply(stream, [ errorEventName, err ]);\n }\n\n inNext = false;\n }\n\n // Wrap the mapper function by calling its callback with the order number of\n // the item in the stream.\n function wrappedMapper (input, number, callback) {\n return mapper.call(null, input, function(err, data){\n callback(err, data, number)\n })\n }\n\n stream.write = function (data) {\n if(ended) throw new Error('map stream is not writable')\n inNext = false\n inputs ++\n\n try {\n //catch sync errors and handle them like async errors\n var written = wrappedMapper(data, inputs, next)\n paused = (written === false)\n return !paused\n } catch (err) {\n //if the callback has been called syncronously, and the error\n //has occured in an listener, throw it again.\n if(inNext)\n throw err\n next(err)\n return !paused\n }\n }\n\n function end (data) {\n //if end was called with args, write it, \n ended = true //write will emit 'end' if ended is true\n stream.writable = false\n if(data !== undefined) {\n return queueData(data, inputs)\n } else if (inputs == outputs) { //wait for processing \n stream.readable = false, stream.emit('end'), stream.destroy() \n }\n }\n\n stream.end = function (data) {\n if(ended) return\n end(data)\n }\n\n stream.destroy = function () {\n ended = destroyed = true\n stream.writable = stream.readable = paused = false\n process.nextTick(function () {\n stream.emit('close')\n })\n }\n stream.pause = function () {\n paused = true\n }\n\n stream.resume = function () {\n paused = false\n }\n\n return stream\n}\n\n\n\n\n","/*!\n * mime-db\n * Copyright(c) 2014 Jonathan Ong\n * Copyright(c) 2015-2022 Douglas Christopher Wilson\n * MIT Licensed\n */\n\n/**\n * Module exports.\n */\n\nmodule.exports = require('./db.json')\n","/*!\n * mime-types\n * Copyright(c) 2014 Jonathan Ong\n * Copyright(c) 2015 Douglas Christopher Wilson\n * MIT Licensed\n */\n\n'use strict'\n\n/**\n * Module dependencies.\n * @private\n */\n\nvar db = require('mime-db')\nvar extname = require('path').extname\n\n/**\n * Module variables.\n * @private\n */\n\nvar EXTRACT_TYPE_REGEXP = /^\\s*([^;\\s]*)(?:;|\\s|$)/\nvar TEXT_TYPE_REGEXP = /^text\\//i\n\n/**\n * Module exports.\n * @public\n */\n\nexports.charset = charset\nexports.charsets = { lookup: charset }\nexports.contentType = contentType\nexports.extension = extension\nexports.extensions = Object.create(null)\nexports.lookup = lookup\nexports.types = Object.create(null)\n\n// Populate the extensions/types maps\npopulateMaps(exports.extensions, exports.types)\n\n/**\n * Get the default charset for a MIME type.\n *\n * @param {string} type\n * @return {boolean|string}\n */\n\nfunction charset (type) {\n if (!type || typeof type !== 'string') {\n return false\n }\n\n // TODO: use media-typer\n var match = EXTRACT_TYPE_REGEXP.exec(type)\n var mime = match && db[match[1].toLowerCase()]\n\n if (mime && mime.charset) {\n return mime.charset\n }\n\n // default text/* to utf-8\n if (match && TEXT_TYPE_REGEXP.test(match[1])) {\n return 'UTF-8'\n }\n\n return false\n}\n\n/**\n * Create a full Content-Type header given a MIME type or extension.\n *\n * @param {string} str\n * @return {boolean|string}\n */\n\nfunction contentType (str) {\n // TODO: should this even be in this module?\n if (!str || typeof str !== 'string') {\n return false\n }\n\n var mime = str.indexOf('/') === -1\n ? exports.lookup(str)\n : str\n\n if (!mime) {\n return false\n }\n\n // TODO: use content-type or other module\n if (mime.indexOf('charset') === -1) {\n var charset = exports.charset(mime)\n if (charset) mime += '; charset=' + charset.toLowerCase()\n }\n\n return mime\n}\n\n/**\n * Get the default extension for a MIME type.\n *\n * @param {string} type\n * @return {boolean|string}\n */\n\nfunction extension (type) {\n if (!type || typeof type !== 'string') {\n return false\n }\n\n // TODO: use media-typer\n var match = EXTRACT_TYPE_REGEXP.exec(type)\n\n // get extensions\n var exts = match && exports.extensions[match[1].toLowerCase()]\n\n if (!exts || !exts.length) {\n return false\n }\n\n return exts[0]\n}\n\n/**\n * Lookup the MIME type for a file path/extension.\n *\n * @param {string} path\n * @return {boolean|string}\n */\n\nfunction lookup (path) {\n if (!path || typeof path !== 'string') {\n return false\n }\n\n // get the extension (\"ext\" or \".ext\" or full path)\n var extension = extname('x.' + path)\n .toLowerCase()\n .substr(1)\n\n if (!extension) {\n return false\n }\n\n return exports.types[extension] || false\n}\n\n/**\n * Populate the extensions and types maps.\n * @private\n */\n\nfunction populateMaps (extensions, types) {\n // source preference (least -> most)\n var preference = ['nginx', 'apache', undefined, 'iana']\n\n Object.keys(db).forEach(function forEachMimeType (type) {\n var mime = db[type]\n var exts = mime.extensions\n\n if (!exts || !exts.length) {\n return\n }\n\n // mime -> extensions\n extensions[type] = exts\n\n // extension -> mime\n for (var i = 0; i < exts.length; i++) {\n var extension = exts[i]\n\n if (types[extension]) {\n var from = preference.indexOf(db[types[extension]].source)\n var to = preference.indexOf(mime.source)\n\n if (types[extension] !== 'application/octet-stream' &&\n (from > to || (from === to && types[extension].substr(0, 12) === 'application/'))) {\n // skip the remapping\n continue\n }\n }\n\n // set the extension -> mime\n types[extension] = type\n }\n })\n}\n","// 'path' module extracted from Node.js v8.11.1 (only the posix part)\n// transplited with Babel\n\n// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n'use strict';\n\nfunction assertPath(path) {\n if (typeof path !== 'string') {\n throw new TypeError('Path must be a string. Received ' + JSON.stringify(path));\n }\n}\n\n// Resolves . and .. elements in a path with directory names\nfunction normalizeStringPosix(path, allowAboveRoot) {\n var res = '';\n var lastSegmentLength = 0;\n var lastSlash = -1;\n var dots = 0;\n var code;\n for (var i = 0; i <= path.length; ++i) {\n if (i < path.length)\n code = path.charCodeAt(i);\n else if (code === 47 /*/*/)\n break;\n else\n code = 47 /*/*/;\n if (code === 47 /*/*/) {\n if (lastSlash === i - 1 || dots === 1) {\n // NOOP\n } else if (lastSlash !== i - 1 && dots === 2) {\n if (res.length < 2 || lastSegmentLength !== 2 || res.charCodeAt(res.length - 1) !== 46 /*.*/ || res.charCodeAt(res.length - 2) !== 46 /*.*/) {\n if (res.length > 2) {\n var lastSlashIndex = res.lastIndexOf('/');\n if (lastSlashIndex !== res.length - 1) {\n if (lastSlashIndex === -1) {\n res = '';\n lastSegmentLength = 0;\n } else {\n res = res.slice(0, lastSlashIndex);\n lastSegmentLength = res.length - 1 - res.lastIndexOf('/');\n }\n lastSlash = i;\n dots = 0;\n continue;\n }\n } else if (res.length === 2 || res.length === 1) {\n res = '';\n lastSegmentLength = 0;\n lastSlash = i;\n dots = 0;\n continue;\n }\n }\n if (allowAboveRoot) {\n if (res.length > 0)\n res += '/..';\n else\n res = '..';\n lastSegmentLength = 2;\n }\n } else {\n if (res.length > 0)\n res += '/' + path.slice(lastSlash + 1, i);\n else\n res = path.slice(lastSlash + 1, i);\n lastSegmentLength = i - lastSlash - 1;\n }\n lastSlash = i;\n dots = 0;\n } else if (code === 46 /*.*/ && dots !== -1) {\n ++dots;\n } else {\n dots = -1;\n }\n }\n return res;\n}\n\nfunction _format(sep, pathObject) {\n var dir = pathObject.dir || pathObject.root;\n var base = pathObject.base || (pathObject.name || '') + (pathObject.ext || '');\n if (!dir) {\n return base;\n }\n if (dir === pathObject.root) {\n return dir + base;\n }\n return dir + sep + base;\n}\n\nvar posix = {\n // path.resolve([from ...], to)\n resolve: function resolve() {\n var resolvedPath = '';\n var resolvedAbsolute = false;\n var cwd;\n\n for (var i = arguments.length - 1; i >= -1 && !resolvedAbsolute; i--) {\n var path;\n if (i >= 0)\n path = arguments[i];\n else {\n if (cwd === undefined)\n cwd = process.cwd();\n path = cwd;\n }\n\n assertPath(path);\n\n // Skip empty entries\n if (path.length === 0) {\n continue;\n }\n\n resolvedPath = path + '/' + resolvedPath;\n resolvedAbsolute = path.charCodeAt(0) === 47 /*/*/;\n }\n\n // At this point the path should be resolved to a full absolute path, but\n // handle relative paths to be safe (might happen when process.cwd() fails)\n\n // Normalize the path\n resolvedPath = normalizeStringPosix(resolvedPath, !resolvedAbsolute);\n\n if (resolvedAbsolute) {\n if (resolvedPath.length > 0)\n return '/' + resolvedPath;\n else\n return '/';\n } else if (resolvedPath.length > 0) {\n return resolvedPath;\n } else {\n return '.';\n }\n },\n\n normalize: function normalize(path) {\n assertPath(path);\n\n if (path.length === 0) return '.';\n\n var isAbsolute = path.charCodeAt(0) === 47 /*/*/;\n var trailingSeparator = path.charCodeAt(path.length - 1) === 47 /*/*/;\n\n // Normalize the path\n path = normalizeStringPosix(path, !isAbsolute);\n\n if (path.length === 0 && !isAbsolute) path = '.';\n if (path.length > 0 && trailingSeparator) path += '/';\n\n if (isAbsolute) return '/' + path;\n return path;\n },\n\n isAbsolute: function isAbsolute(path) {\n assertPath(path);\n return path.length > 0 && path.charCodeAt(0) === 47 /*/*/;\n },\n\n join: function join() {\n if (arguments.length === 0)\n return '.';\n var joined;\n for (var i = 0; i < arguments.length; ++i) {\n var arg = arguments[i];\n assertPath(arg);\n if (arg.length > 0) {\n if (joined === undefined)\n joined = arg;\n else\n joined += '/' + arg;\n }\n }\n if (joined === undefined)\n return '.';\n return posix.normalize(joined);\n },\n\n relative: function relative(from, to) {\n assertPath(from);\n assertPath(to);\n\n if (from === to) return '';\n\n from = posix.resolve(from);\n to = posix.resolve(to);\n\n if (from === to) return '';\n\n // Trim any leading backslashes\n var fromStart = 1;\n for (; fromStart < from.length; ++fromStart) {\n if (from.charCodeAt(fromStart) !== 47 /*/*/)\n break;\n }\n var fromEnd = from.length;\n var fromLen = fromEnd - fromStart;\n\n // Trim any leading backslashes\n var toStart = 1;\n for (; toStart < to.length; ++toStart) {\n if (to.charCodeAt(toStart) !== 47 /*/*/)\n break;\n }\n var toEnd = to.length;\n var toLen = toEnd - toStart;\n\n // Compare paths to find the longest common path from root\n var length = fromLen < toLen ? fromLen : toLen;\n var lastCommonSep = -1;\n var i = 0;\n for (; i <= length; ++i) {\n if (i === length) {\n if (toLen > length) {\n if (to.charCodeAt(toStart + i) === 47 /*/*/) {\n // We get here if `from` is the exact base path for `to`.\n // For example: from='/foo/bar'; to='/foo/bar/baz'\n return to.slice(toStart + i + 1);\n } else if (i === 0) {\n // We get here if `from` is the root\n // For example: from='/'; to='/foo'\n return to.slice(toStart + i);\n }\n } else if (fromLen > length) {\n if (from.charCodeAt(fromStart + i) === 47 /*/*/) {\n // We get here if `to` is the exact base path for `from`.\n // For example: from='/foo/bar/baz'; to='/foo/bar'\n lastCommonSep = i;\n } else if (i === 0) {\n // We get here if `to` is the root.\n // For example: from='/foo'; to='/'\n lastCommonSep = 0;\n }\n }\n break;\n }\n var fromCode = from.charCodeAt(fromStart + i);\n var toCode = to.charCodeAt(toStart + i);\n if (fromCode !== toCode)\n break;\n else if (fromCode === 47 /*/*/)\n lastCommonSep = i;\n }\n\n var out = '';\n // Generate the relative path based on the path difference between `to`\n // and `from`\n for (i = fromStart + lastCommonSep + 1; i <= fromEnd; ++i) {\n if (i === fromEnd || from.charCodeAt(i) === 47 /*/*/) {\n if (out.length === 0)\n out += '..';\n else\n out += '/..';\n }\n }\n\n // Lastly, append the rest of the destination (`to`) path that comes after\n // the common path parts\n if (out.length > 0)\n return out + to.slice(toStart + lastCommonSep);\n else {\n toStart += lastCommonSep;\n if (to.charCodeAt(toStart) === 47 /*/*/)\n ++toStart;\n return to.slice(toStart);\n }\n },\n\n _makeLong: function _makeLong(path) {\n return path;\n },\n\n dirname: function dirname(path) {\n assertPath(path);\n if (path.length === 0) return '.';\n var code = path.charCodeAt(0);\n var hasRoot = code === 47 /*/*/;\n var end = -1;\n var matchedSlash = true;\n for (var i = path.length - 1; i >= 1; --i) {\n code = path.charCodeAt(i);\n if (code === 47 /*/*/) {\n if (!matchedSlash) {\n end = i;\n break;\n }\n } else {\n // We saw the first non-path separator\n matchedSlash = false;\n }\n }\n\n if (end === -1) return hasRoot ? '/' : '.';\n if (hasRoot && end === 1) return '//';\n return path.slice(0, end);\n },\n\n basename: function basename(path, ext) {\n if (ext !== undefined && typeof ext !== 'string') throw new TypeError('\"ext\" argument must be a string');\n assertPath(path);\n\n var start = 0;\n var end = -1;\n var matchedSlash = true;\n var i;\n\n if (ext !== undefined && ext.length > 0 && ext.length <= path.length) {\n if (ext.length === path.length && ext === path) return '';\n var extIdx = ext.length - 1;\n var firstNonSlashEnd = -1;\n for (i = path.length - 1; i >= 0; --i) {\n var code = path.charCodeAt(i);\n if (code === 47 /*/*/) {\n // If we reached a path separator that was not part of a set of path\n // separators at the end of the string, stop now\n if (!matchedSlash) {\n start = i + 1;\n break;\n }\n } else {\n if (firstNonSlashEnd === -1) {\n // We saw the first non-path separator, remember this index in case\n // we need it if the extension ends up not matching\n matchedSlash = false;\n firstNonSlashEnd = i + 1;\n }\n if (extIdx >= 0) {\n // Try to match the explicit extension\n if (code === ext.charCodeAt(extIdx)) {\n if (--extIdx === -1) {\n // We matched the extension, so mark this as the end of our path\n // component\n end = i;\n }\n } else {\n // Extension does not match, so our result is the entire path\n // component\n extIdx = -1;\n end = firstNonSlashEnd;\n }\n }\n }\n }\n\n if (start === end) end = firstNonSlashEnd;else if (end === -1) end = path.length;\n return path.slice(start, end);\n } else {\n for (i = path.length - 1; i >= 0; --i) {\n if (path.charCodeAt(i) === 47 /*/*/) {\n // If we reached a path separator that was not part of a set of path\n // separators at the end of the string, stop now\n if (!matchedSlash) {\n start = i + 1;\n break;\n }\n } else if (end === -1) {\n // We saw the first non-path separator, mark this as the end of our\n // path component\n matchedSlash = false;\n end = i + 1;\n }\n }\n\n if (end === -1) return '';\n return path.slice(start, end);\n }\n },\n\n extname: function extname(path) {\n assertPath(path);\n var startDot = -1;\n var startPart = 0;\n var end = -1;\n var matchedSlash = true;\n // Track the state of characters (if any) we see before our first dot and\n // after any path separator we find\n var preDotState = 0;\n for (var i = path.length - 1; i >= 0; --i) {\n var code = path.charCodeAt(i);\n if (code === 47 /*/*/) {\n // If we reached a path separator that was not part of a set of path\n // separators at the end of the string, stop now\n if (!matchedSlash) {\n startPart = i + 1;\n break;\n }\n continue;\n }\n if (end === -1) {\n // We saw the first non-path separator, mark this as the end of our\n // extension\n matchedSlash = false;\n end = i + 1;\n }\n if (code === 46 /*.*/) {\n // If this is our first dot, mark it as the start of our extension\n if (startDot === -1)\n startDot = i;\n else if (preDotState !== 1)\n preDotState = 1;\n } else if (startDot !== -1) {\n // We saw a non-dot and non-path separator before our dot, so we should\n // have a good chance at having a non-empty extension\n preDotState = -1;\n }\n }\n\n if (startDot === -1 || end === -1 ||\n // We saw a non-dot character immediately before the dot\n preDotState === 0 ||\n // The (right-most) trimmed path component is exactly '..'\n preDotState === 1 && startDot === end - 1 && startDot === startPart + 1) {\n return '';\n }\n return path.slice(startDot, end);\n },\n\n format: function format(pathObject) {\n if (pathObject === null || typeof pathObject !== 'object') {\n throw new TypeError('The \"pathObject\" argument must be of type Object. Received type ' + typeof pathObject);\n }\n return _format('/', pathObject);\n },\n\n parse: function parse(path) {\n assertPath(path);\n\n var ret = { root: '', dir: '', base: '', ext: '', name: '' };\n if (path.length === 0) return ret;\n var code = path.charCodeAt(0);\n var isAbsolute = code === 47 /*/*/;\n var start;\n if (isAbsolute) {\n ret.root = '/';\n start = 1;\n } else {\n start = 0;\n }\n var startDot = -1;\n var startPart = 0;\n var end = -1;\n var matchedSlash = true;\n var i = path.length - 1;\n\n // Track the state of characters (if any) we see before our first dot and\n // after any path separator we find\n var preDotState = 0;\n\n // Get non-dir info\n for (; i >= start; --i) {\n code = path.charCodeAt(i);\n if (code === 47 /*/*/) {\n // If we reached a path separator that was not part of a set of path\n // separators at the end of the string, stop now\n if (!matchedSlash) {\n startPart = i + 1;\n break;\n }\n continue;\n }\n if (end === -1) {\n // We saw the first non-path separator, mark this as the end of our\n // extension\n matchedSlash = false;\n end = i + 1;\n }\n if (code === 46 /*.*/) {\n // If this is our first dot, mark it as the start of our extension\n if (startDot === -1) startDot = i;else if (preDotState !== 1) preDotState = 1;\n } else if (startDot !== -1) {\n // We saw a non-dot and non-path separator before our dot, so we should\n // have a good chance at having a non-empty extension\n preDotState = -1;\n }\n }\n\n if (startDot === -1 || end === -1 ||\n // We saw a non-dot character immediately before the dot\n preDotState === 0 ||\n // The (right-most) trimmed path component is exactly '..'\n preDotState === 1 && startDot === end - 1 && startDot === startPart + 1) {\n if (end !== -1) {\n if (startPart === 0 && isAbsolute) ret.base = ret.name = path.slice(1, end);else ret.base = ret.name = path.slice(startPart, end);\n }\n } else {\n if (startPart === 0 && isAbsolute) {\n ret.name = path.slice(1, startDot);\n ret.base = path.slice(1, end);\n } else {\n ret.name = path.slice(startPart, startDot);\n ret.base = path.slice(startPart, end);\n }\n ret.ext = path.slice(startDot, end);\n }\n\n if (startPart > 0) ret.dir = path.slice(0, startPart - 1);else if (isAbsolute) ret.dir = '/';\n\n return ret;\n },\n\n sep: '/',\n delimiter: ':',\n win32: null,\n posix: null\n};\n\nposix.posix = posix;\n\nmodule.exports = posix;\n","//through@2 handles this by default!\nmodule.exports = require('through')\n\n","'use strict';\n\n/** @type {import('.')} */\nmodule.exports = [\n\t'Float32Array',\n\t'Float64Array',\n\t'Int8Array',\n\t'Int16Array',\n\t'Int32Array',\n\t'Uint8Array',\n\t'Uint8ClampedArray',\n\t'Uint16Array',\n\t'Uint32Array',\n\t'BigInt64Array',\n\t'BigUint64Array'\n];\n","// shim for using process in browser\nvar process = module.exports = {};\n\n// cached from whatever global is present so that test runners that stub it\n// don't break things. But we need to wrap it in a try catch in case it is\n// wrapped in strict mode code which doesn't define any globals. It's inside a\n// function because try/catches deoptimize in certain engines.\n\nvar cachedSetTimeout;\nvar cachedClearTimeout;\n\nfunction defaultSetTimout() {\n throw new Error('setTimeout has not been defined');\n}\nfunction defaultClearTimeout () {\n throw new Error('clearTimeout has not been defined');\n}\n(function () {\n try {\n if (typeof setTimeout === 'function') {\n cachedSetTimeout = setTimeout;\n } else {\n cachedSetTimeout = defaultSetTimout;\n }\n } catch (e) {\n cachedSetTimeout = defaultSetTimout;\n }\n try {\n if (typeof clearTimeout === 'function') {\n cachedClearTimeout = clearTimeout;\n } else {\n cachedClearTimeout = defaultClearTimeout;\n }\n } catch (e) {\n cachedClearTimeout = defaultClearTimeout;\n }\n} ())\nfunction runTimeout(fun) {\n if (cachedSetTimeout === setTimeout) {\n //normal enviroments in sane situations\n return setTimeout(fun, 0);\n }\n // if setTimeout wasn't available but was latter defined\n if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) {\n cachedSetTimeout = setTimeout;\n return setTimeout(fun, 0);\n }\n try {\n // when when somebody has screwed with setTimeout but no I.E. maddness\n return cachedSetTimeout(fun, 0);\n } catch(e){\n try {\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n return cachedSetTimeout.call(null, fun, 0);\n } catch(e){\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error\n return cachedSetTimeout.call(this, fun, 0);\n }\n }\n\n\n}\nfunction runClearTimeout(marker) {\n if (cachedClearTimeout === clearTimeout) {\n //normal enviroments in sane situations\n return clearTimeout(marker);\n }\n // if clearTimeout wasn't available but was latter defined\n if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) {\n cachedClearTimeout = clearTimeout;\n return clearTimeout(marker);\n }\n try {\n // when when somebody has screwed with setTimeout but no I.E. maddness\n return cachedClearTimeout(marker);\n } catch (e){\n try {\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n return cachedClearTimeout.call(null, marker);\n } catch (e){\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error.\n // Some versions of I.E. have different rules for clearTimeout vs setTimeout\n return cachedClearTimeout.call(this, marker);\n }\n }\n\n\n\n}\nvar queue = [];\nvar draining = false;\nvar currentQueue;\nvar queueIndex = -1;\n\nfunction cleanUpNextTick() {\n if (!draining || !currentQueue) {\n return;\n }\n draining = false;\n if (currentQueue.length) {\n queue = currentQueue.concat(queue);\n } else {\n queueIndex = -1;\n }\n if (queue.length) {\n drainQueue();\n }\n}\n\nfunction drainQueue() {\n if (draining) {\n return;\n }\n var timeout = runTimeout(cleanUpNextTick);\n draining = true;\n\n var len = queue.length;\n while(len) {\n currentQueue = queue;\n queue = [];\n while (++queueIndex < len) {\n if (currentQueue) {\n currentQueue[queueIndex].run();\n }\n }\n queueIndex = -1;\n len = queue.length;\n }\n currentQueue = null;\n draining = false;\n runClearTimeout(timeout);\n}\n\nprocess.nextTick = function (fun) {\n var args = new Array(arguments.length - 1);\n if (arguments.length > 1) {\n for (var i = 1; i < arguments.length; i++) {\n args[i - 1] = arguments[i];\n }\n }\n queue.push(new Item(fun, args));\n if (queue.length === 1 && !draining) {\n runTimeout(drainQueue);\n }\n};\n\n// v8 likes predictible objects\nfunction Item(fun, array) {\n this.fun = fun;\n this.array = array;\n}\nItem.prototype.run = function () {\n this.fun.apply(null, this.array);\n};\nprocess.title = 'browser';\nprocess.browser = true;\nprocess.env = {};\nprocess.argv = [];\nprocess.version = ''; // empty string to avoid regexp issues\nprocess.versions = {};\n\nfunction noop() {}\n\nprocess.on = noop;\nprocess.addListener = noop;\nprocess.once = noop;\nprocess.off = noop;\nprocess.removeListener = noop;\nprocess.removeAllListeners = noop;\nprocess.emit = noop;\nprocess.prependListener = noop;\nprocess.prependOnceListener = noop;\n\nprocess.listeners = function (name) { return [] }\n\nprocess.binding = function (name) {\n throw new Error('process.binding is not supported');\n};\n\nprocess.cwd = function () { return '/' };\nprocess.chdir = function (dir) {\n throw new Error('process.chdir is not supported');\n};\nprocess.umask = function() { return 0; };\n","'use strict';\n\nvar replace = String.prototype.replace;\nvar percentTwenties = /%20/g;\n\nvar Format = {\n RFC1738: 'RFC1738',\n RFC3986: 'RFC3986'\n};\n\nmodule.exports = {\n 'default': Format.RFC3986,\n formatters: {\n RFC1738: function (value) {\n return replace.call(value, percentTwenties, '+');\n },\n RFC3986: function (value) {\n return String(value);\n }\n },\n RFC1738: Format.RFC1738,\n RFC3986: Format.RFC3986\n};\n","'use strict';\n\nvar stringify = require('./stringify');\nvar parse = require('./parse');\nvar formats = require('./formats');\n\nmodule.exports = {\n formats: formats,\n parse: parse,\n stringify: stringify\n};\n","'use strict';\n\nvar utils = require('./utils');\n\nvar has = Object.prototype.hasOwnProperty;\nvar isArray = Array.isArray;\n\nvar defaults = {\n allowDots: false,\n allowEmptyArrays: false,\n allowPrototypes: false,\n allowSparse: false,\n arrayLimit: 20,\n charset: 'utf-8',\n charsetSentinel: false,\n comma: false,\n decodeDotInKeys: false,\n decoder: utils.decode,\n delimiter: '&',\n depth: 5,\n duplicates: 'combine',\n ignoreQueryPrefix: false,\n interpretNumericEntities: false,\n parameterLimit: 1000,\n parseArrays: true,\n plainObjects: false,\n strictDepth: false,\n strictNullHandling: false\n};\n\nvar interpretNumericEntities = function (str) {\n return str.replace(/&#(\\d+);/g, function ($0, numberStr) {\n return String.fromCharCode(parseInt(numberStr, 10));\n });\n};\n\nvar parseArrayValue = function (val, options) {\n if (val && typeof val === 'string' && options.comma && val.indexOf(',') > -1) {\n return val.split(',');\n }\n\n return val;\n};\n\n// This is what browsers will submit when the ✓ character occurs in an\n// application/x-www-form-urlencoded body and the encoding of the page containing\n// the form is iso-8859-1, or when the submitted form has an accept-charset\n// attribute of iso-8859-1. Presumably also with other charsets that do not contain\n// the ✓ character, such as us-ascii.\nvar isoSentinel = 'utf8=%26%2310003%3B'; // encodeURIComponent('✓')\n\n// These are the percent-encoded utf-8 octets representing a checkmark, indicating that the request actually is utf-8 encoded.\nvar charsetSentinel = 'utf8=%E2%9C%93'; // encodeURIComponent('✓')\n\nvar parseValues = function parseQueryStringValues(str, options) {\n var obj = { __proto__: null };\n\n var cleanStr = options.ignoreQueryPrefix ? str.replace(/^\\?/, '') : str;\n cleanStr = cleanStr.replace(/%5B/gi, '[').replace(/%5D/gi, ']');\n var limit = options.parameterLimit === Infinity ? undefined : options.parameterLimit;\n var parts = cleanStr.split(options.delimiter, limit);\n var skipIndex = -1; // Keep track of where the utf8 sentinel was found\n var i;\n\n var charset = options.charset;\n if (options.charsetSentinel) {\n for (i = 0; i < parts.length; ++i) {\n if (parts[i].indexOf('utf8=') === 0) {\n if (parts[i] === charsetSentinel) {\n charset = 'utf-8';\n } else if (parts[i] === isoSentinel) {\n charset = 'iso-8859-1';\n }\n skipIndex = i;\n i = parts.length; // The eslint settings do not allow break;\n }\n }\n }\n\n for (i = 0; i < parts.length; ++i) {\n if (i === skipIndex) {\n continue;\n }\n var part = parts[i];\n\n var bracketEqualsPos = part.indexOf(']=');\n var pos = bracketEqualsPos === -1 ? part.indexOf('=') : bracketEqualsPos + 1;\n\n var key, val;\n if (pos === -1) {\n key = options.decoder(part, defaults.decoder, charset, 'key');\n val = options.strictNullHandling ? null : '';\n } else {\n key = options.decoder(part.slice(0, pos), defaults.decoder, charset, 'key');\n val = utils.maybeMap(\n parseArrayValue(part.slice(pos + 1), options),\n function (encodedVal) {\n return options.decoder(encodedVal, defaults.decoder, charset, 'value');\n }\n );\n }\n\n if (val && options.interpretNumericEntities && charset === 'iso-8859-1') {\n val = interpretNumericEntities(val);\n }\n\n if (part.indexOf('[]=') > -1) {\n val = isArray(val) ? [val] : val;\n }\n\n var existing = has.call(obj, key);\n if (existing && options.duplicates === 'combine') {\n obj[key] = utils.combine(obj[key], val);\n } else if (!existing || options.duplicates === 'last') {\n obj[key] = val;\n }\n }\n\n return obj;\n};\n\nvar parseObject = function (chain, val, options, valuesParsed) {\n var leaf = valuesParsed ? val : parseArrayValue(val, options);\n\n for (var i = chain.length - 1; i >= 0; --i) {\n var obj;\n var root = chain[i];\n\n if (root === '[]' && options.parseArrays) {\n obj = options.allowEmptyArrays && (leaf === '' || (options.strictNullHandling && leaf === null))\n ? []\n : [].concat(leaf);\n } else {\n obj = options.plainObjects ? Object.create(null) : {};\n var cleanRoot = root.charAt(0) === '[' && root.charAt(root.length - 1) === ']' ? root.slice(1, -1) : root;\n var decodedRoot = options.decodeDotInKeys ? cleanRoot.replace(/%2E/g, '.') : cleanRoot;\n var index = parseInt(decodedRoot, 10);\n if (!options.parseArrays && decodedRoot === '') {\n obj = { 0: leaf };\n } else if (\n !isNaN(index)\n && root !== decodedRoot\n && String(index) === decodedRoot\n && index >= 0\n && (options.parseArrays && index <= options.arrayLimit)\n ) {\n obj = [];\n obj[index] = leaf;\n } else if (decodedRoot !== '__proto__') {\n obj[decodedRoot] = leaf;\n }\n }\n\n leaf = obj;\n }\n\n return leaf;\n};\n\nvar parseKeys = function parseQueryStringKeys(givenKey, val, options, valuesParsed) {\n if (!givenKey) {\n return;\n }\n\n // Transform dot notation to bracket notation\n var key = options.allowDots ? givenKey.replace(/\\.([^.[]+)/g, '[$1]') : givenKey;\n\n // The regex chunks\n\n var brackets = /(\\[[^[\\]]*])/;\n var child = /(\\[[^[\\]]*])/g;\n\n // Get the parent\n\n var segment = options.depth > 0 && brackets.exec(key);\n var parent = segment ? key.slice(0, segment.index) : key;\n\n // Stash the parent if it exists\n\n var keys = [];\n if (parent) {\n // If we aren't using plain objects, optionally prefix keys that would overwrite object prototype properties\n if (!options.plainObjects && has.call(Object.prototype, parent)) {\n if (!options.allowPrototypes) {\n return;\n }\n }\n\n keys.push(parent);\n }\n\n // Loop through children appending to the array until we hit depth\n\n var i = 0;\n while (options.depth > 0 && (segment = child.exec(key)) !== null && i < options.depth) {\n i += 1;\n if (!options.plainObjects && has.call(Object.prototype, segment[1].slice(1, -1))) {\n if (!options.allowPrototypes) {\n return;\n }\n }\n keys.push(segment[1]);\n }\n\n // If there's a remainder, check strictDepth option for throw, else just add whatever is left\n\n if (segment) {\n if (options.strictDepth === true) {\n throw new RangeError('Input depth exceeded depth option of ' + options.depth + ' and strictDepth is true');\n }\n keys.push('[' + key.slice(segment.index) + ']');\n }\n\n return parseObject(keys, val, options, valuesParsed);\n};\n\nvar normalizeParseOptions = function normalizeParseOptions(opts) {\n if (!opts) {\n return defaults;\n }\n\n if (typeof opts.allowEmptyArrays !== 'undefined' && typeof opts.allowEmptyArrays !== 'boolean') {\n throw new TypeError('`allowEmptyArrays` option can only be `true` or `false`, when provided');\n }\n\n if (typeof opts.decodeDotInKeys !== 'undefined' && typeof opts.decodeDotInKeys !== 'boolean') {\n throw new TypeError('`decodeDotInKeys` option can only be `true` or `false`, when provided');\n }\n\n if (opts.decoder !== null && typeof opts.decoder !== 'undefined' && typeof opts.decoder !== 'function') {\n throw new TypeError('Decoder has to be a function.');\n }\n\n if (typeof opts.charset !== 'undefined' && opts.charset !== 'utf-8' && opts.charset !== 'iso-8859-1') {\n throw new TypeError('The charset option must be either utf-8, iso-8859-1, or undefined');\n }\n var charset = typeof opts.charset === 'undefined' ? defaults.charset : opts.charset;\n\n var duplicates = typeof opts.duplicates === 'undefined' ? defaults.duplicates : opts.duplicates;\n\n if (duplicates !== 'combine' && duplicates !== 'first' && duplicates !== 'last') {\n throw new TypeError('The duplicates option must be either combine, first, or last');\n }\n\n var allowDots = typeof opts.allowDots === 'undefined' ? opts.decodeDotInKeys === true ? true : defaults.allowDots : !!opts.allowDots;\n\n return {\n allowDots: allowDots,\n allowEmptyArrays: typeof opts.allowEmptyArrays === 'boolean' ? !!opts.allowEmptyArrays : defaults.allowEmptyArrays,\n allowPrototypes: typeof opts.allowPrototypes === 'boolean' ? opts.allowPrototypes : defaults.allowPrototypes,\n allowSparse: typeof opts.allowSparse === 'boolean' ? opts.allowSparse : defaults.allowSparse,\n arrayLimit: typeof opts.arrayLimit === 'number' ? opts.arrayLimit : defaults.arrayLimit,\n charset: charset,\n charsetSentinel: typeof opts.charsetSentinel === 'boolean' ? opts.charsetSentinel : defaults.charsetSentinel,\n comma: typeof opts.comma === 'boolean' ? opts.comma : defaults.comma,\n decodeDotInKeys: typeof opts.decodeDotInKeys === 'boolean' ? opts.decodeDotInKeys : defaults.decodeDotInKeys,\n decoder: typeof opts.decoder === 'function' ? opts.decoder : defaults.decoder,\n delimiter: typeof opts.delimiter === 'string' || utils.isRegExp(opts.delimiter) ? opts.delimiter : defaults.delimiter,\n // eslint-disable-next-line no-implicit-coercion, no-extra-parens\n depth: (typeof opts.depth === 'number' || opts.depth === false) ? +opts.depth : defaults.depth,\n duplicates: duplicates,\n ignoreQueryPrefix: opts.ignoreQueryPrefix === true,\n interpretNumericEntities: typeof opts.interpretNumericEntities === 'boolean' ? opts.interpretNumericEntities : defaults.interpretNumericEntities,\n parameterLimit: typeof opts.parameterLimit === 'number' ? opts.parameterLimit : defaults.parameterLimit,\n parseArrays: opts.parseArrays !== false,\n plainObjects: typeof opts.plainObjects === 'boolean' ? opts.plainObjects : defaults.plainObjects,\n strictDepth: typeof opts.strictDepth === 'boolean' ? !!opts.strictDepth : defaults.strictDepth,\n strictNullHandling: typeof opts.strictNullHandling === 'boolean' ? opts.strictNullHandling : defaults.strictNullHandling\n };\n};\n\nmodule.exports = function (str, opts) {\n var options = normalizeParseOptions(opts);\n\n if (str === '' || str === null || typeof str === 'undefined') {\n return options.plainObjects ? Object.create(null) : {};\n }\n\n var tempObj = typeof str === 'string' ? parseValues(str, options) : str;\n var obj = options.plainObjects ? Object.create(null) : {};\n\n // Iterate over the keys and setup the new object\n\n var keys = Object.keys(tempObj);\n for (var i = 0; i < keys.length; ++i) {\n var key = keys[i];\n var newObj = parseKeys(key, tempObj[key], options, typeof str === 'string');\n obj = utils.merge(obj, newObj, options);\n }\n\n if (options.allowSparse === true) {\n return obj;\n }\n\n return utils.compact(obj);\n};\n","'use strict';\n\nvar getSideChannel = require('side-channel');\nvar utils = require('./utils');\nvar formats = require('./formats');\nvar has = Object.prototype.hasOwnProperty;\n\nvar arrayPrefixGenerators = {\n brackets: function brackets(prefix) {\n return prefix + '[]';\n },\n comma: 'comma',\n indices: function indices(prefix, key) {\n return prefix + '[' + key + ']';\n },\n repeat: function repeat(prefix) {\n return prefix;\n }\n};\n\nvar isArray = Array.isArray;\nvar push = Array.prototype.push;\nvar pushToArray = function (arr, valueOrArray) {\n push.apply(arr, isArray(valueOrArray) ? valueOrArray : [valueOrArray]);\n};\n\nvar toISO = Date.prototype.toISOString;\n\nvar defaultFormat = formats['default'];\nvar defaults = {\n addQueryPrefix: false,\n allowDots: false,\n allowEmptyArrays: false,\n arrayFormat: 'indices',\n charset: 'utf-8',\n charsetSentinel: false,\n delimiter: '&',\n encode: true,\n encodeDotInKeys: false,\n encoder: utils.encode,\n encodeValuesOnly: false,\n format: defaultFormat,\n formatter: formats.formatters[defaultFormat],\n // deprecated\n indices: false,\n serializeDate: function serializeDate(date) {\n return toISO.call(date);\n },\n skipNulls: false,\n strictNullHandling: false\n};\n\nvar isNonNullishPrimitive = function isNonNullishPrimitive(v) {\n return typeof v === 'string'\n || typeof v === 'number'\n || typeof v === 'boolean'\n || typeof v === 'symbol'\n || typeof v === 'bigint';\n};\n\nvar sentinel = {};\n\nvar stringify = function stringify(\n object,\n prefix,\n generateArrayPrefix,\n commaRoundTrip,\n allowEmptyArrays,\n strictNullHandling,\n skipNulls,\n encodeDotInKeys,\n encoder,\n filter,\n sort,\n allowDots,\n serializeDate,\n format,\n formatter,\n encodeValuesOnly,\n charset,\n sideChannel\n) {\n var obj = object;\n\n var tmpSc = sideChannel;\n var step = 0;\n var findFlag = false;\n while ((tmpSc = tmpSc.get(sentinel)) !== void undefined && !findFlag) {\n // Where object last appeared in the ref tree\n var pos = tmpSc.get(object);\n step += 1;\n if (typeof pos !== 'undefined') {\n if (pos === step) {\n throw new RangeError('Cyclic object value');\n } else {\n findFlag = true; // Break while\n }\n }\n if (typeof tmpSc.get(sentinel) === 'undefined') {\n step = 0;\n }\n }\n\n if (typeof filter === 'function') {\n obj = filter(prefix, obj);\n } else if (obj instanceof Date) {\n obj = serializeDate(obj);\n } else if (generateArrayPrefix === 'comma' && isArray(obj)) {\n obj = utils.maybeMap(obj, function (value) {\n if (value instanceof Date) {\n return serializeDate(value);\n }\n return value;\n });\n }\n\n if (obj === null) {\n if (strictNullHandling) {\n return encoder && !encodeValuesOnly ? encoder(prefix, defaults.encoder, charset, 'key', format) : prefix;\n }\n\n obj = '';\n }\n\n if (isNonNullishPrimitive(obj) || utils.isBuffer(obj)) {\n if (encoder) {\n var keyValue = encodeValuesOnly ? prefix : encoder(prefix, defaults.encoder, charset, 'key', format);\n return [formatter(keyValue) + '=' + formatter(encoder(obj, defaults.encoder, charset, 'value', format))];\n }\n return [formatter(prefix) + '=' + formatter(String(obj))];\n }\n\n var values = [];\n\n if (typeof obj === 'undefined') {\n return values;\n }\n\n var objKeys;\n if (generateArrayPrefix === 'comma' && isArray(obj)) {\n // we need to join elements in\n if (encodeValuesOnly && encoder) {\n obj = utils.maybeMap(obj, encoder);\n }\n objKeys = [{ value: obj.length > 0 ? obj.join(',') || null : void undefined }];\n } else if (isArray(filter)) {\n objKeys = filter;\n } else {\n var keys = Object.keys(obj);\n objKeys = sort ? keys.sort(sort) : keys;\n }\n\n var encodedPrefix = encodeDotInKeys ? prefix.replace(/\\./g, '%2E') : prefix;\n\n var adjustedPrefix = commaRoundTrip && isArray(obj) && obj.length === 1 ? encodedPrefix + '[]' : encodedPrefix;\n\n if (allowEmptyArrays && isArray(obj) && obj.length === 0) {\n return adjustedPrefix + '[]';\n }\n\n for (var j = 0; j < objKeys.length; ++j) {\n var key = objKeys[j];\n var value = typeof key === 'object' && typeof key.value !== 'undefined' ? key.value : obj[key];\n\n if (skipNulls && value === null) {\n continue;\n }\n\n var encodedKey = allowDots && encodeDotInKeys ? key.replace(/\\./g, '%2E') : key;\n var keyPrefix = isArray(obj)\n ? typeof generateArrayPrefix === 'function' ? generateArrayPrefix(adjustedPrefix, encodedKey) : adjustedPrefix\n : adjustedPrefix + (allowDots ? '.' + encodedKey : '[' + encodedKey + ']');\n\n sideChannel.set(object, step);\n var valueSideChannel = getSideChannel();\n valueSideChannel.set(sentinel, sideChannel);\n pushToArray(values, stringify(\n value,\n keyPrefix,\n generateArrayPrefix,\n commaRoundTrip,\n allowEmptyArrays,\n strictNullHandling,\n skipNulls,\n encodeDotInKeys,\n generateArrayPrefix === 'comma' && encodeValuesOnly && isArray(obj) ? null : encoder,\n filter,\n sort,\n allowDots,\n serializeDate,\n format,\n formatter,\n encodeValuesOnly,\n charset,\n valueSideChannel\n ));\n }\n\n return values;\n};\n\nvar normalizeStringifyOptions = function normalizeStringifyOptions(opts) {\n if (!opts) {\n return defaults;\n }\n\n if (typeof opts.allowEmptyArrays !== 'undefined' && typeof opts.allowEmptyArrays !== 'boolean') {\n throw new TypeError('`allowEmptyArrays` option can only be `true` or `false`, when provided');\n }\n\n if (typeof opts.encodeDotInKeys !== 'undefined' && typeof opts.encodeDotInKeys !== 'boolean') {\n throw new TypeError('`encodeDotInKeys` option can only be `true` or `false`, when provided');\n }\n\n if (opts.encoder !== null && typeof opts.encoder !== 'undefined' && typeof opts.encoder !== 'function') {\n throw new TypeError('Encoder has to be a function.');\n }\n\n var charset = opts.charset || defaults.charset;\n if (typeof opts.charset !== 'undefined' && opts.charset !== 'utf-8' && opts.charset !== 'iso-8859-1') {\n throw new TypeError('The charset option must be either utf-8, iso-8859-1, or undefined');\n }\n\n var format = formats['default'];\n if (typeof opts.format !== 'undefined') {\n if (!has.call(formats.formatters, opts.format)) {\n throw new TypeError('Unknown format option provided.');\n }\n format = opts.format;\n }\n var formatter = formats.formatters[format];\n\n var filter = defaults.filter;\n if (typeof opts.filter === 'function' || isArray(opts.filter)) {\n filter = opts.filter;\n }\n\n var arrayFormat;\n if (opts.arrayFormat in arrayPrefixGenerators) {\n arrayFormat = opts.arrayFormat;\n } else if ('indices' in opts) {\n arrayFormat = opts.indices ? 'indices' : 'repeat';\n } else {\n arrayFormat = defaults.arrayFormat;\n }\n\n if ('commaRoundTrip' in opts && typeof opts.commaRoundTrip !== 'boolean') {\n throw new TypeError('`commaRoundTrip` must be a boolean, or absent');\n }\n\n var allowDots = typeof opts.allowDots === 'undefined' ? opts.encodeDotInKeys === true ? true : defaults.allowDots : !!opts.allowDots;\n\n return {\n addQueryPrefix: typeof opts.addQueryPrefix === 'boolean' ? opts.addQueryPrefix : defaults.addQueryPrefix,\n allowDots: allowDots,\n allowEmptyArrays: typeof opts.allowEmptyArrays === 'boolean' ? !!opts.allowEmptyArrays : defaults.allowEmptyArrays,\n arrayFormat: arrayFormat,\n charset: charset,\n charsetSentinel: typeof opts.charsetSentinel === 'boolean' ? opts.charsetSentinel : defaults.charsetSentinel,\n commaRoundTrip: opts.commaRoundTrip,\n delimiter: typeof opts.delimiter === 'undefined' ? defaults.delimiter : opts.delimiter,\n encode: typeof opts.encode === 'boolean' ? opts.encode : defaults.encode,\n encodeDotInKeys: typeof opts.encodeDotInKeys === 'boolean' ? opts.encodeDotInKeys : defaults.encodeDotInKeys,\n encoder: typeof opts.encoder === 'function' ? opts.encoder : defaults.encoder,\n encodeValuesOnly: typeof opts.encodeValuesOnly === 'boolean' ? opts.encodeValuesOnly : defaults.encodeValuesOnly,\n filter: filter,\n format: format,\n formatter: formatter,\n serializeDate: typeof opts.serializeDate === 'function' ? opts.serializeDate : defaults.serializeDate,\n skipNulls: typeof opts.skipNulls === 'boolean' ? opts.skipNulls : defaults.skipNulls,\n sort: typeof opts.sort === 'function' ? opts.sort : null,\n strictNullHandling: typeof opts.strictNullHandling === 'boolean' ? opts.strictNullHandling : defaults.strictNullHandling\n };\n};\n\nmodule.exports = function (object, opts) {\n var obj = object;\n var options = normalizeStringifyOptions(opts);\n\n var objKeys;\n var filter;\n\n if (typeof options.filter === 'function') {\n filter = options.filter;\n obj = filter('', obj);\n } else if (isArray(options.filter)) {\n filter = options.filter;\n objKeys = filter;\n }\n\n var keys = [];\n\n if (typeof obj !== 'object' || obj === null) {\n return '';\n }\n\n var generateArrayPrefix = arrayPrefixGenerators[options.arrayFormat];\n var commaRoundTrip = generateArrayPrefix === 'comma' && options.commaRoundTrip;\n\n if (!objKeys) {\n objKeys = Object.keys(obj);\n }\n\n if (options.sort) {\n objKeys.sort(options.sort);\n }\n\n var sideChannel = getSideChannel();\n for (var i = 0; i < objKeys.length; ++i) {\n var key = objKeys[i];\n\n if (options.skipNulls && obj[key] === null) {\n continue;\n }\n pushToArray(keys, stringify(\n obj[key],\n key,\n generateArrayPrefix,\n commaRoundTrip,\n options.allowEmptyArrays,\n options.strictNullHandling,\n options.skipNulls,\n options.encodeDotInKeys,\n options.encode ? options.encoder : null,\n options.filter,\n options.sort,\n options.allowDots,\n options.serializeDate,\n options.format,\n options.formatter,\n options.encodeValuesOnly,\n options.charset,\n sideChannel\n ));\n }\n\n var joined = keys.join(options.delimiter);\n var prefix = options.addQueryPrefix === true ? '?' : '';\n\n if (options.charsetSentinel) {\n if (options.charset === 'iso-8859-1') {\n // encodeURIComponent('✓'), the \"numeric entity\" representation of a checkmark\n prefix += 'utf8=%26%2310003%3B&';\n } else {\n // encodeURIComponent('✓')\n prefix += 'utf8=%E2%9C%93&';\n }\n }\n\n return joined.length > 0 ? prefix + joined : '';\n};\n","'use strict';\n\nvar formats = require('./formats');\n\nvar has = Object.prototype.hasOwnProperty;\nvar isArray = Array.isArray;\n\nvar hexTable = (function () {\n var array = [];\n for (var i = 0; i < 256; ++i) {\n array.push('%' + ((i < 16 ? '0' : '') + i.toString(16)).toUpperCase());\n }\n\n return array;\n}());\n\nvar compactQueue = function compactQueue(queue) {\n while (queue.length > 1) {\n var item = queue.pop();\n var obj = item.obj[item.prop];\n\n if (isArray(obj)) {\n var compacted = [];\n\n for (var j = 0; j < obj.length; ++j) {\n if (typeof obj[j] !== 'undefined') {\n compacted.push(obj[j]);\n }\n }\n\n item.obj[item.prop] = compacted;\n }\n }\n};\n\nvar arrayToObject = function arrayToObject(source, options) {\n var obj = options && options.plainObjects ? Object.create(null) : {};\n for (var i = 0; i < source.length; ++i) {\n if (typeof source[i] !== 'undefined') {\n obj[i] = source[i];\n }\n }\n\n return obj;\n};\n\nvar merge = function merge(target, source, options) {\n /* eslint no-param-reassign: 0 */\n if (!source) {\n return target;\n }\n\n if (typeof source !== 'object') {\n if (isArray(target)) {\n target.push(source);\n } else if (target && typeof target === 'object') {\n if ((options && (options.plainObjects || options.allowPrototypes)) || !has.call(Object.prototype, source)) {\n target[source] = true;\n }\n } else {\n return [target, source];\n }\n\n return target;\n }\n\n if (!target || typeof target !== 'object') {\n return [target].concat(source);\n }\n\n var mergeTarget = target;\n if (isArray(target) && !isArray(source)) {\n mergeTarget = arrayToObject(target, options);\n }\n\n if (isArray(target) && isArray(source)) {\n source.forEach(function (item, i) {\n if (has.call(target, i)) {\n var targetItem = target[i];\n if (targetItem && typeof targetItem === 'object' && item && typeof item === 'object') {\n target[i] = merge(targetItem, item, options);\n } else {\n target.push(item);\n }\n } else {\n target[i] = item;\n }\n });\n return target;\n }\n\n return Object.keys(source).reduce(function (acc, key) {\n var value = source[key];\n\n if (has.call(acc, key)) {\n acc[key] = merge(acc[key], value, options);\n } else {\n acc[key] = value;\n }\n return acc;\n }, mergeTarget);\n};\n\nvar assign = function assignSingleSource(target, source) {\n return Object.keys(source).reduce(function (acc, key) {\n acc[key] = source[key];\n return acc;\n }, target);\n};\n\nvar decode = function (str, decoder, charset) {\n var strWithoutPlus = str.replace(/\\+/g, ' ');\n if (charset === 'iso-8859-1') {\n // unescape never throws, no try...catch needed:\n return strWithoutPlus.replace(/%[0-9a-f]{2}/gi, unescape);\n }\n // utf-8\n try {\n return decodeURIComponent(strWithoutPlus);\n } catch (e) {\n return strWithoutPlus;\n }\n};\n\nvar limit = 1024;\n\n/* eslint operator-linebreak: [2, \"before\"] */\n\nvar encode = function encode(str, defaultEncoder, charset, kind, format) {\n // This code was originally written by Brian White (mscdex) for the io.js core querystring library.\n // It has been adapted here for stricter adherence to RFC 3986\n if (str.length === 0) {\n return str;\n }\n\n var string = str;\n if (typeof str === 'symbol') {\n string = Symbol.prototype.toString.call(str);\n } else if (typeof str !== 'string') {\n string = String(str);\n }\n\n if (charset === 'iso-8859-1') {\n return escape(string).replace(/%u[0-9a-f]{4}/gi, function ($0) {\n return '%26%23' + parseInt($0.slice(2), 16) + '%3B';\n });\n }\n\n var out = '';\n for (var j = 0; j < string.length; j += limit) {\n var segment = string.length >= limit ? string.slice(j, j + limit) : string;\n var arr = [];\n\n for (var i = 0; i < segment.length; ++i) {\n var c = segment.charCodeAt(i);\n if (\n c === 0x2D // -\n || c === 0x2E // .\n || c === 0x5F // _\n || c === 0x7E // ~\n || (c >= 0x30 && c <= 0x39) // 0-9\n || (c >= 0x41 && c <= 0x5A) // a-z\n || (c >= 0x61 && c <= 0x7A) // A-Z\n || (format === formats.RFC1738 && (c === 0x28 || c === 0x29)) // ( )\n ) {\n arr[arr.length] = segment.charAt(i);\n continue;\n }\n\n if (c < 0x80) {\n arr[arr.length] = hexTable[c];\n continue;\n }\n\n if (c < 0x800) {\n arr[arr.length] = hexTable[0xC0 | (c >> 6)]\n + hexTable[0x80 | (c & 0x3F)];\n continue;\n }\n\n if (c < 0xD800 || c >= 0xE000) {\n arr[arr.length] = hexTable[0xE0 | (c >> 12)]\n + hexTable[0x80 | ((c >> 6) & 0x3F)]\n + hexTable[0x80 | (c & 0x3F)];\n continue;\n }\n\n i += 1;\n c = 0x10000 + (((c & 0x3FF) << 10) | (segment.charCodeAt(i) & 0x3FF));\n\n arr[arr.length] = hexTable[0xF0 | (c >> 18)]\n + hexTable[0x80 | ((c >> 12) & 0x3F)]\n + hexTable[0x80 | ((c >> 6) & 0x3F)]\n + hexTable[0x80 | (c & 0x3F)];\n }\n\n out += arr.join('');\n }\n\n return out;\n};\n\nvar compact = function compact(value) {\n var queue = [{ obj: { o: value }, prop: 'o' }];\n var refs = [];\n\n for (var i = 0; i < queue.length; ++i) {\n var item = queue[i];\n var obj = item.obj[item.prop];\n\n var keys = Object.keys(obj);\n for (var j = 0; j < keys.length; ++j) {\n var key = keys[j];\n var val = obj[key];\n if (typeof val === 'object' && val !== null && refs.indexOf(val) === -1) {\n queue.push({ obj: obj, prop: key });\n refs.push(val);\n }\n }\n }\n\n compactQueue(queue);\n\n return value;\n};\n\nvar isRegExp = function isRegExp(obj) {\n return Object.prototype.toString.call(obj) === '[object RegExp]';\n};\n\nvar isBuffer = function isBuffer(obj) {\n if (!obj || typeof obj !== 'object') {\n return false;\n }\n\n return !!(obj.constructor && obj.constructor.isBuffer && obj.constructor.isBuffer(obj));\n};\n\nvar combine = function combine(a, b) {\n return [].concat(a, b);\n};\n\nvar maybeMap = function maybeMap(val, fn) {\n if (isArray(val)) {\n var mapped = [];\n for (var i = 0; i < val.length; i += 1) {\n mapped.push(fn(val[i]));\n }\n return mapped;\n }\n return fn(val);\n};\n\nmodule.exports = {\n arrayToObject: arrayToObject,\n assign: assign,\n combine: combine,\n compact: compact,\n decode: decode,\n encode: encode,\n isBuffer: isBuffer,\n isRegExp: isRegExp,\n maybeMap: maybeMap,\n merge: merge\n};\n","// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n'use strict';\n\n// If obj.hasOwnProperty has been overridden, then calling\n// obj.hasOwnProperty(prop) will break.\n// See: https://github.com/joyent/node/issues/1707\nfunction hasOwnProperty(obj, prop) {\n return Object.prototype.hasOwnProperty.call(obj, prop);\n}\n\nmodule.exports = function(qs, sep, eq, options) {\n sep = sep || '&';\n eq = eq || '=';\n var obj = {};\n\n if (typeof qs !== 'string' || qs.length === 0) {\n return obj;\n }\n\n var regexp = /\\+/g;\n qs = qs.split(sep);\n\n var maxKeys = 1000;\n if (options && typeof options.maxKeys === 'number') {\n maxKeys = options.maxKeys;\n }\n\n var len = qs.length;\n // maxKeys <= 0 means that we should not limit keys count\n if (maxKeys > 0 && len > maxKeys) {\n len = maxKeys;\n }\n\n for (var i = 0; i < len; ++i) {\n var x = qs[i].replace(regexp, '%20'),\n idx = x.indexOf(eq),\n kstr, vstr, k, v;\n\n if (idx >= 0) {\n kstr = x.substr(0, idx);\n vstr = x.substr(idx + 1);\n } else {\n kstr = x;\n vstr = '';\n }\n\n k = decodeURIComponent(kstr);\n v = decodeURIComponent(vstr);\n\n if (!hasOwnProperty(obj, k)) {\n obj[k] = v;\n } else if (isArray(obj[k])) {\n obj[k].push(v);\n } else {\n obj[k] = [obj[k], v];\n }\n }\n\n return obj;\n};\n\nvar isArray = Array.isArray || function (xs) {\n return Object.prototype.toString.call(xs) === '[object Array]';\n};\n","// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n'use strict';\n\nvar stringifyPrimitive = function(v) {\n switch (typeof v) {\n case 'string':\n return v;\n\n case 'boolean':\n return v ? 'true' : 'false';\n\n case 'number':\n return isFinite(v) ? v : '';\n\n default:\n return '';\n }\n};\n\nmodule.exports = function(obj, sep, eq, name) {\n sep = sep || '&';\n eq = eq || '=';\n if (obj === null) {\n obj = undefined;\n }\n\n if (typeof obj === 'object') {\n return map(objectKeys(obj), function(k) {\n var ks = encodeURIComponent(stringifyPrimitive(k)) + eq;\n if (isArray(obj[k])) {\n return map(obj[k], function(v) {\n return ks + encodeURIComponent(stringifyPrimitive(v));\n }).join(sep);\n } else {\n return ks + encodeURIComponent(stringifyPrimitive(obj[k]));\n }\n }).join(sep);\n\n }\n\n if (!name) return '';\n return encodeURIComponent(stringifyPrimitive(name)) + eq +\n encodeURIComponent(stringifyPrimitive(obj));\n};\n\nvar isArray = Array.isArray || function (xs) {\n return Object.prototype.toString.call(xs) === '[object Array]';\n};\n\nfunction map (xs, f) {\n if (xs.map) return xs.map(f);\n var res = [];\n for (var i = 0; i < xs.length; i++) {\n res.push(f(xs[i], i));\n }\n return res;\n}\n\nvar objectKeys = Object.keys || function (obj) {\n var res = [];\n for (var key in obj) {\n if (Object.prototype.hasOwnProperty.call(obj, key)) res.push(key);\n }\n return res;\n};\n","'use strict';\n\nexports.decode = exports.parse = require('./decode');\nexports.encode = exports.stringify = require('./encode');\n","'use strict';\n\nfunction _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }\n\nvar codes = {};\n\nfunction createErrorType(code, message, Base) {\n if (!Base) {\n Base = Error;\n }\n\n function getMessage(arg1, arg2, arg3) {\n if (typeof message === 'string') {\n return message;\n } else {\n return message(arg1, arg2, arg3);\n }\n }\n\n var NodeError =\n /*#__PURE__*/\n function (_Base) {\n _inheritsLoose(NodeError, _Base);\n\n function NodeError(arg1, arg2, arg3) {\n return _Base.call(this, getMessage(arg1, arg2, arg3)) || this;\n }\n\n return NodeError;\n }(Base);\n\n NodeError.prototype.name = Base.name;\n NodeError.prototype.code = code;\n codes[code] = NodeError;\n} // https://github.com/nodejs/node/blob/v10.8.0/lib/internal/errors.js\n\n\nfunction oneOf(expected, thing) {\n if (Array.isArray(expected)) {\n var len = expected.length;\n expected = expected.map(function (i) {\n return String(i);\n });\n\n if (len > 2) {\n return \"one of \".concat(thing, \" \").concat(expected.slice(0, len - 1).join(', '), \", or \") + expected[len - 1];\n } else if (len === 2) {\n return \"one of \".concat(thing, \" \").concat(expected[0], \" or \").concat(expected[1]);\n } else {\n return \"of \".concat(thing, \" \").concat(expected[0]);\n }\n } else {\n return \"of \".concat(thing, \" \").concat(String(expected));\n }\n} // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/startsWith\n\n\nfunction startsWith(str, search, pos) {\n return str.substr(!pos || pos < 0 ? 0 : +pos, search.length) === search;\n} // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/endsWith\n\n\nfunction endsWith(str, search, this_len) {\n if (this_len === undefined || this_len > str.length) {\n this_len = str.length;\n }\n\n return str.substring(this_len - search.length, this_len) === search;\n} // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/includes\n\n\nfunction includes(str, search, start) {\n if (typeof start !== 'number') {\n start = 0;\n }\n\n if (start + search.length > str.length) {\n return false;\n } else {\n return str.indexOf(search, start) !== -1;\n }\n}\n\ncreateErrorType('ERR_INVALID_OPT_VALUE', function (name, value) {\n return 'The value \"' + value + '\" is invalid for option \"' + name + '\"';\n}, TypeError);\ncreateErrorType('ERR_INVALID_ARG_TYPE', function (name, expected, actual) {\n // determiner: 'must be' or 'must not be'\n var determiner;\n\n if (typeof expected === 'string' && startsWith(expected, 'not ')) {\n determiner = 'must not be';\n expected = expected.replace(/^not /, '');\n } else {\n determiner = 'must be';\n }\n\n var msg;\n\n if (endsWith(name, ' argument')) {\n // For cases like 'first argument'\n msg = \"The \".concat(name, \" \").concat(determiner, \" \").concat(oneOf(expected, 'type'));\n } else {\n var type = includes(name, '.') ? 'property' : 'argument';\n msg = \"The \\\"\".concat(name, \"\\\" \").concat(type, \" \").concat(determiner, \" \").concat(oneOf(expected, 'type'));\n }\n\n msg += \". Received type \".concat(typeof actual);\n return msg;\n}, TypeError);\ncreateErrorType('ERR_STREAM_PUSH_AFTER_EOF', 'stream.push() after EOF');\ncreateErrorType('ERR_METHOD_NOT_IMPLEMENTED', function (name) {\n return 'The ' + name + ' method is not implemented';\n});\ncreateErrorType('ERR_STREAM_PREMATURE_CLOSE', 'Premature close');\ncreateErrorType('ERR_STREAM_DESTROYED', function (name) {\n return 'Cannot call ' + name + ' after a stream was destroyed';\n});\ncreateErrorType('ERR_MULTIPLE_CALLBACK', 'Callback called multiple times');\ncreateErrorType('ERR_STREAM_CANNOT_PIPE', 'Cannot pipe, not readable');\ncreateErrorType('ERR_STREAM_WRITE_AFTER_END', 'write after end');\ncreateErrorType('ERR_STREAM_NULL_VALUES', 'May not write null values to stream', TypeError);\ncreateErrorType('ERR_UNKNOWN_ENCODING', function (arg) {\n return 'Unknown encoding: ' + arg;\n}, TypeError);\ncreateErrorType('ERR_STREAM_UNSHIFT_AFTER_END_EVENT', 'stream.unshift() after end event');\nmodule.exports.codes = codes;\n","// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n// a duplex stream is just a stream that is both readable and writable.\n// Since JS doesn't have multiple prototypal inheritance, this class\n// prototypally inherits from Readable, and then parasitically from\n// Writable.\n\n'use strict';\n\n/**/\nvar objectKeys = Object.keys || function (obj) {\n var keys = [];\n for (var key in obj) keys.push(key);\n return keys;\n};\n/**/\n\nmodule.exports = Duplex;\nvar Readable = require('./_stream_readable');\nvar Writable = require('./_stream_writable');\nrequire('inherits')(Duplex, Readable);\n{\n // Allow the keys array to be GC'ed.\n var keys = objectKeys(Writable.prototype);\n for (var v = 0; v < keys.length; v++) {\n var method = keys[v];\n if (!Duplex.prototype[method]) Duplex.prototype[method] = Writable.prototype[method];\n }\n}\nfunction Duplex(options) {\n if (!(this instanceof Duplex)) return new Duplex(options);\n Readable.call(this, options);\n Writable.call(this, options);\n this.allowHalfOpen = true;\n if (options) {\n if (options.readable === false) this.readable = false;\n if (options.writable === false) this.writable = false;\n if (options.allowHalfOpen === false) {\n this.allowHalfOpen = false;\n this.once('end', onend);\n }\n }\n}\nObject.defineProperty(Duplex.prototype, 'writableHighWaterMark', {\n // making it explicit this property is not enumerable\n // because otherwise some prototype manipulation in\n // userland will fail\n enumerable: false,\n get: function get() {\n return this._writableState.highWaterMark;\n }\n});\nObject.defineProperty(Duplex.prototype, 'writableBuffer', {\n // making it explicit this property is not enumerable\n // because otherwise some prototype manipulation in\n // userland will fail\n enumerable: false,\n get: function get() {\n return this._writableState && this._writableState.getBuffer();\n }\n});\nObject.defineProperty(Duplex.prototype, 'writableLength', {\n // making it explicit this property is not enumerable\n // because otherwise some prototype manipulation in\n // userland will fail\n enumerable: false,\n get: function get() {\n return this._writableState.length;\n }\n});\n\n// the no-half-open enforcer\nfunction onend() {\n // If the writable side ended, then we're ok.\n if (this._writableState.ended) return;\n\n // no more data can be written.\n // But allow more writes to happen in this tick.\n process.nextTick(onEndNT, this);\n}\nfunction onEndNT(self) {\n self.end();\n}\nObject.defineProperty(Duplex.prototype, 'destroyed', {\n // making it explicit this property is not enumerable\n // because otherwise some prototype manipulation in\n // userland will fail\n enumerable: false,\n get: function get() {\n if (this._readableState === undefined || this._writableState === undefined) {\n return false;\n }\n return this._readableState.destroyed && this._writableState.destroyed;\n },\n set: function set(value) {\n // we ignore the value if the stream\n // has not been initialized yet\n if (this._readableState === undefined || this._writableState === undefined) {\n return;\n }\n\n // backward compatibility, the user is explicitly\n // managing destroyed\n this._readableState.destroyed = value;\n this._writableState.destroyed = value;\n }\n});","// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n// a passthrough stream.\n// basically just the most minimal sort of Transform stream.\n// Every written chunk gets output as-is.\n\n'use strict';\n\nmodule.exports = PassThrough;\nvar Transform = require('./_stream_transform');\nrequire('inherits')(PassThrough, Transform);\nfunction PassThrough(options) {\n if (!(this instanceof PassThrough)) return new PassThrough(options);\n Transform.call(this, options);\n}\nPassThrough.prototype._transform = function (chunk, encoding, cb) {\n cb(null, chunk);\n};","// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n'use strict';\n\nmodule.exports = Readable;\n\n/**/\nvar Duplex;\n/**/\n\nReadable.ReadableState = ReadableState;\n\n/**/\nvar EE = require('events').EventEmitter;\nvar EElistenerCount = function EElistenerCount(emitter, type) {\n return emitter.listeners(type).length;\n};\n/**/\n\n/**/\nvar Stream = require('./internal/streams/stream');\n/**/\n\nvar Buffer = require('buffer').Buffer;\nvar OurUint8Array = (typeof global !== 'undefined' ? global : typeof window !== 'undefined' ? window : typeof self !== 'undefined' ? self : {}).Uint8Array || function () {};\nfunction _uint8ArrayToBuffer(chunk) {\n return Buffer.from(chunk);\n}\nfunction _isUint8Array(obj) {\n return Buffer.isBuffer(obj) || obj instanceof OurUint8Array;\n}\n\n/**/\nvar debugUtil = require('util');\nvar debug;\nif (debugUtil && debugUtil.debuglog) {\n debug = debugUtil.debuglog('stream');\n} else {\n debug = function debug() {};\n}\n/**/\n\nvar BufferList = require('./internal/streams/buffer_list');\nvar destroyImpl = require('./internal/streams/destroy');\nvar _require = require('./internal/streams/state'),\n getHighWaterMark = _require.getHighWaterMark;\nvar _require$codes = require('../errors').codes,\n ERR_INVALID_ARG_TYPE = _require$codes.ERR_INVALID_ARG_TYPE,\n ERR_STREAM_PUSH_AFTER_EOF = _require$codes.ERR_STREAM_PUSH_AFTER_EOF,\n ERR_METHOD_NOT_IMPLEMENTED = _require$codes.ERR_METHOD_NOT_IMPLEMENTED,\n ERR_STREAM_UNSHIFT_AFTER_END_EVENT = _require$codes.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;\n\n// Lazy loaded to improve the startup performance.\nvar StringDecoder;\nvar createReadableStreamAsyncIterator;\nvar from;\nrequire('inherits')(Readable, Stream);\nvar errorOrDestroy = destroyImpl.errorOrDestroy;\nvar kProxyEvents = ['error', 'close', 'destroy', 'pause', 'resume'];\nfunction prependListener(emitter, event, fn) {\n // Sadly this is not cacheable as some libraries bundle their own\n // event emitter implementation with them.\n if (typeof emitter.prependListener === 'function') return emitter.prependListener(event, fn);\n\n // This is a hack to make sure that our error handler is attached before any\n // userland ones. NEVER DO THIS. This is here only because this code needs\n // to continue to work with older versions of Node.js that do not include\n // the prependListener() method. The goal is to eventually remove this hack.\n if (!emitter._events || !emitter._events[event]) emitter.on(event, fn);else if (Array.isArray(emitter._events[event])) emitter._events[event].unshift(fn);else emitter._events[event] = [fn, emitter._events[event]];\n}\nfunction ReadableState(options, stream, isDuplex) {\n Duplex = Duplex || require('./_stream_duplex');\n options = options || {};\n\n // Duplex streams are both readable and writable, but share\n // the same options object.\n // However, some cases require setting options to different\n // values for the readable and the writable sides of the duplex stream.\n // These options can be provided separately as readableXXX and writableXXX.\n if (typeof isDuplex !== 'boolean') isDuplex = stream instanceof Duplex;\n\n // object stream flag. Used to make read(n) ignore n and to\n // make all the buffer merging and length checks go away\n this.objectMode = !!options.objectMode;\n if (isDuplex) this.objectMode = this.objectMode || !!options.readableObjectMode;\n\n // the point at which it stops calling _read() to fill the buffer\n // Note: 0 is a valid value, means \"don't call _read preemptively ever\"\n this.highWaterMark = getHighWaterMark(this, options, 'readableHighWaterMark', isDuplex);\n\n // A linked list is used to store data chunks instead of an array because the\n // linked list can remove elements from the beginning faster than\n // array.shift()\n this.buffer = new BufferList();\n this.length = 0;\n this.pipes = null;\n this.pipesCount = 0;\n this.flowing = null;\n this.ended = false;\n this.endEmitted = false;\n this.reading = false;\n\n // a flag to be able to tell if the event 'readable'/'data' is emitted\n // immediately, or on a later tick. We set this to true at first, because\n // any actions that shouldn't happen until \"later\" should generally also\n // not happen before the first read call.\n this.sync = true;\n\n // whenever we return null, then we set a flag to say\n // that we're awaiting a 'readable' event emission.\n this.needReadable = false;\n this.emittedReadable = false;\n this.readableListening = false;\n this.resumeScheduled = false;\n this.paused = true;\n\n // Should close be emitted on destroy. Defaults to true.\n this.emitClose = options.emitClose !== false;\n\n // Should .destroy() be called after 'end' (and potentially 'finish')\n this.autoDestroy = !!options.autoDestroy;\n\n // has it been destroyed\n this.destroyed = false;\n\n // Crypto is kind of old and crusty. Historically, its default string\n // encoding is 'binary' so we have to make this configurable.\n // Everything else in the universe uses 'utf8', though.\n this.defaultEncoding = options.defaultEncoding || 'utf8';\n\n // the number of writers that are awaiting a drain event in .pipe()s\n this.awaitDrain = 0;\n\n // if true, a maybeReadMore has been scheduled\n this.readingMore = false;\n this.decoder = null;\n this.encoding = null;\n if (options.encoding) {\n if (!StringDecoder) StringDecoder = require('string_decoder/').StringDecoder;\n this.decoder = new StringDecoder(options.encoding);\n this.encoding = options.encoding;\n }\n}\nfunction Readable(options) {\n Duplex = Duplex || require('./_stream_duplex');\n if (!(this instanceof Readable)) return new Readable(options);\n\n // Checking for a Stream.Duplex instance is faster here instead of inside\n // the ReadableState constructor, at least with V8 6.5\n var isDuplex = this instanceof Duplex;\n this._readableState = new ReadableState(options, this, isDuplex);\n\n // legacy\n this.readable = true;\n if (options) {\n if (typeof options.read === 'function') this._read = options.read;\n if (typeof options.destroy === 'function') this._destroy = options.destroy;\n }\n Stream.call(this);\n}\nObject.defineProperty(Readable.prototype, 'destroyed', {\n // making it explicit this property is not enumerable\n // because otherwise some prototype manipulation in\n // userland will fail\n enumerable: false,\n get: function get() {\n if (this._readableState === undefined) {\n return false;\n }\n return this._readableState.destroyed;\n },\n set: function set(value) {\n // we ignore the value if the stream\n // has not been initialized yet\n if (!this._readableState) {\n return;\n }\n\n // backward compatibility, the user is explicitly\n // managing destroyed\n this._readableState.destroyed = value;\n }\n});\nReadable.prototype.destroy = destroyImpl.destroy;\nReadable.prototype._undestroy = destroyImpl.undestroy;\nReadable.prototype._destroy = function (err, cb) {\n cb(err);\n};\n\n// Manually shove something into the read() buffer.\n// This returns true if the highWaterMark has not been hit yet,\n// similar to how Writable.write() returns true if you should\n// write() some more.\nReadable.prototype.push = function (chunk, encoding) {\n var state = this._readableState;\n var skipChunkCheck;\n if (!state.objectMode) {\n if (typeof chunk === 'string') {\n encoding = encoding || state.defaultEncoding;\n if (encoding !== state.encoding) {\n chunk = Buffer.from(chunk, encoding);\n encoding = '';\n }\n skipChunkCheck = true;\n }\n } else {\n skipChunkCheck = true;\n }\n return readableAddChunk(this, chunk, encoding, false, skipChunkCheck);\n};\n\n// Unshift should *always* be something directly out of read()\nReadable.prototype.unshift = function (chunk) {\n return readableAddChunk(this, chunk, null, true, false);\n};\nfunction readableAddChunk(stream, chunk, encoding, addToFront, skipChunkCheck) {\n debug('readableAddChunk', chunk);\n var state = stream._readableState;\n if (chunk === null) {\n state.reading = false;\n onEofChunk(stream, state);\n } else {\n var er;\n if (!skipChunkCheck) er = chunkInvalid(state, chunk);\n if (er) {\n errorOrDestroy(stream, er);\n } else if (state.objectMode || chunk && chunk.length > 0) {\n if (typeof chunk !== 'string' && !state.objectMode && Object.getPrototypeOf(chunk) !== Buffer.prototype) {\n chunk = _uint8ArrayToBuffer(chunk);\n }\n if (addToFront) {\n if (state.endEmitted) errorOrDestroy(stream, new ERR_STREAM_UNSHIFT_AFTER_END_EVENT());else addChunk(stream, state, chunk, true);\n } else if (state.ended) {\n errorOrDestroy(stream, new ERR_STREAM_PUSH_AFTER_EOF());\n } else if (state.destroyed) {\n return false;\n } else {\n state.reading = false;\n if (state.decoder && !encoding) {\n chunk = state.decoder.write(chunk);\n if (state.objectMode || chunk.length !== 0) addChunk(stream, state, chunk, false);else maybeReadMore(stream, state);\n } else {\n addChunk(stream, state, chunk, false);\n }\n }\n } else if (!addToFront) {\n state.reading = false;\n maybeReadMore(stream, state);\n }\n }\n\n // We can push more data if we are below the highWaterMark.\n // Also, if we have no data yet, we can stand some more bytes.\n // This is to work around cases where hwm=0, such as the repl.\n return !state.ended && (state.length < state.highWaterMark || state.length === 0);\n}\nfunction addChunk(stream, state, chunk, addToFront) {\n if (state.flowing && state.length === 0 && !state.sync) {\n state.awaitDrain = 0;\n stream.emit('data', chunk);\n } else {\n // update the buffer info.\n state.length += state.objectMode ? 1 : chunk.length;\n if (addToFront) state.buffer.unshift(chunk);else state.buffer.push(chunk);\n if (state.needReadable) emitReadable(stream);\n }\n maybeReadMore(stream, state);\n}\nfunction chunkInvalid(state, chunk) {\n var er;\n if (!_isUint8Array(chunk) && typeof chunk !== 'string' && chunk !== undefined && !state.objectMode) {\n er = new ERR_INVALID_ARG_TYPE('chunk', ['string', 'Buffer', 'Uint8Array'], chunk);\n }\n return er;\n}\nReadable.prototype.isPaused = function () {\n return this._readableState.flowing === false;\n};\n\n// backwards compatibility.\nReadable.prototype.setEncoding = function (enc) {\n if (!StringDecoder) StringDecoder = require('string_decoder/').StringDecoder;\n var decoder = new StringDecoder(enc);\n this._readableState.decoder = decoder;\n // If setEncoding(null), decoder.encoding equals utf8\n this._readableState.encoding = this._readableState.decoder.encoding;\n\n // Iterate over current buffer to convert already stored Buffers:\n var p = this._readableState.buffer.head;\n var content = '';\n while (p !== null) {\n content += decoder.write(p.data);\n p = p.next;\n }\n this._readableState.buffer.clear();\n if (content !== '') this._readableState.buffer.push(content);\n this._readableState.length = content.length;\n return this;\n};\n\n// Don't raise the hwm > 1GB\nvar MAX_HWM = 0x40000000;\nfunction computeNewHighWaterMark(n) {\n if (n >= MAX_HWM) {\n // TODO(ronag): Throw ERR_VALUE_OUT_OF_RANGE.\n n = MAX_HWM;\n } else {\n // Get the next highest power of 2 to prevent increasing hwm excessively in\n // tiny amounts\n n--;\n n |= n >>> 1;\n n |= n >>> 2;\n n |= n >>> 4;\n n |= n >>> 8;\n n |= n >>> 16;\n n++;\n }\n return n;\n}\n\n// This function is designed to be inlinable, so please take care when making\n// changes to the function body.\nfunction howMuchToRead(n, state) {\n if (n <= 0 || state.length === 0 && state.ended) return 0;\n if (state.objectMode) return 1;\n if (n !== n) {\n // Only flow one buffer at a time\n if (state.flowing && state.length) return state.buffer.head.data.length;else return state.length;\n }\n // If we're asking for more than the current hwm, then raise the hwm.\n if (n > state.highWaterMark) state.highWaterMark = computeNewHighWaterMark(n);\n if (n <= state.length) return n;\n // Don't have enough\n if (!state.ended) {\n state.needReadable = true;\n return 0;\n }\n return state.length;\n}\n\n// you can override either this method, or the async _read(n) below.\nReadable.prototype.read = function (n) {\n debug('read', n);\n n = parseInt(n, 10);\n var state = this._readableState;\n var nOrig = n;\n if (n !== 0) state.emittedReadable = false;\n\n // if we're doing read(0) to trigger a readable event, but we\n // already have a bunch of data in the buffer, then just trigger\n // the 'readable' event and move on.\n if (n === 0 && state.needReadable && ((state.highWaterMark !== 0 ? state.length >= state.highWaterMark : state.length > 0) || state.ended)) {\n debug('read: emitReadable', state.length, state.ended);\n if (state.length === 0 && state.ended) endReadable(this);else emitReadable(this);\n return null;\n }\n n = howMuchToRead(n, state);\n\n // if we've ended, and we're now clear, then finish it up.\n if (n === 0 && state.ended) {\n if (state.length === 0) endReadable(this);\n return null;\n }\n\n // All the actual chunk generation logic needs to be\n // *below* the call to _read. The reason is that in certain\n // synthetic stream cases, such as passthrough streams, _read\n // may be a completely synchronous operation which may change\n // the state of the read buffer, providing enough data when\n // before there was *not* enough.\n //\n // So, the steps are:\n // 1. Figure out what the state of things will be after we do\n // a read from the buffer.\n //\n // 2. If that resulting state will trigger a _read, then call _read.\n // Note that this may be asynchronous, or synchronous. Yes, it is\n // deeply ugly to write APIs this way, but that still doesn't mean\n // that the Readable class should behave improperly, as streams are\n // designed to be sync/async agnostic.\n // Take note if the _read call is sync or async (ie, if the read call\n // has returned yet), so that we know whether or not it's safe to emit\n // 'readable' etc.\n //\n // 3. Actually pull the requested chunks out of the buffer and return.\n\n // if we need a readable event, then we need to do some reading.\n var doRead = state.needReadable;\n debug('need readable', doRead);\n\n // if we currently have less than the highWaterMark, then also read some\n if (state.length === 0 || state.length - n < state.highWaterMark) {\n doRead = true;\n debug('length less than watermark', doRead);\n }\n\n // however, if we've ended, then there's no point, and if we're already\n // reading, then it's unnecessary.\n if (state.ended || state.reading) {\n doRead = false;\n debug('reading or ended', doRead);\n } else if (doRead) {\n debug('do read');\n state.reading = true;\n state.sync = true;\n // if the length is currently zero, then we *need* a readable event.\n if (state.length === 0) state.needReadable = true;\n // call internal read method\n this._read(state.highWaterMark);\n state.sync = false;\n // If _read pushed data synchronously, then `reading` will be false,\n // and we need to re-evaluate how much data we can return to the user.\n if (!state.reading) n = howMuchToRead(nOrig, state);\n }\n var ret;\n if (n > 0) ret = fromList(n, state);else ret = null;\n if (ret === null) {\n state.needReadable = state.length <= state.highWaterMark;\n n = 0;\n } else {\n state.length -= n;\n state.awaitDrain = 0;\n }\n if (state.length === 0) {\n // If we have nothing in the buffer, then we want to know\n // as soon as we *do* get something into the buffer.\n if (!state.ended) state.needReadable = true;\n\n // If we tried to read() past the EOF, then emit end on the next tick.\n if (nOrig !== n && state.ended) endReadable(this);\n }\n if (ret !== null) this.emit('data', ret);\n return ret;\n};\nfunction onEofChunk(stream, state) {\n debug('onEofChunk');\n if (state.ended) return;\n if (state.decoder) {\n var chunk = state.decoder.end();\n if (chunk && chunk.length) {\n state.buffer.push(chunk);\n state.length += state.objectMode ? 1 : chunk.length;\n }\n }\n state.ended = true;\n if (state.sync) {\n // if we are sync, wait until next tick to emit the data.\n // Otherwise we risk emitting data in the flow()\n // the readable code triggers during a read() call\n emitReadable(stream);\n } else {\n // emit 'readable' now to make sure it gets picked up.\n state.needReadable = false;\n if (!state.emittedReadable) {\n state.emittedReadable = true;\n emitReadable_(stream);\n }\n }\n}\n\n// Don't emit readable right away in sync mode, because this can trigger\n// another read() call => stack overflow. This way, it might trigger\n// a nextTick recursion warning, but that's not so bad.\nfunction emitReadable(stream) {\n var state = stream._readableState;\n debug('emitReadable', state.needReadable, state.emittedReadable);\n state.needReadable = false;\n if (!state.emittedReadable) {\n debug('emitReadable', state.flowing);\n state.emittedReadable = true;\n process.nextTick(emitReadable_, stream);\n }\n}\nfunction emitReadable_(stream) {\n var state = stream._readableState;\n debug('emitReadable_', state.destroyed, state.length, state.ended);\n if (!state.destroyed && (state.length || state.ended)) {\n stream.emit('readable');\n state.emittedReadable = false;\n }\n\n // The stream needs another readable event if\n // 1. It is not flowing, as the flow mechanism will take\n // care of it.\n // 2. It is not ended.\n // 3. It is below the highWaterMark, so we can schedule\n // another readable later.\n state.needReadable = !state.flowing && !state.ended && state.length <= state.highWaterMark;\n flow(stream);\n}\n\n// at this point, the user has presumably seen the 'readable' event,\n// and called read() to consume some data. that may have triggered\n// in turn another _read(n) call, in which case reading = true if\n// it's in progress.\n// However, if we're not ended, or reading, and the length < hwm,\n// then go ahead and try to read some more preemptively.\nfunction maybeReadMore(stream, state) {\n if (!state.readingMore) {\n state.readingMore = true;\n process.nextTick(maybeReadMore_, stream, state);\n }\n}\nfunction maybeReadMore_(stream, state) {\n // Attempt to read more data if we should.\n //\n // The conditions for reading more data are (one of):\n // - Not enough data buffered (state.length < state.highWaterMark). The loop\n // is responsible for filling the buffer with enough data if such data\n // is available. If highWaterMark is 0 and we are not in the flowing mode\n // we should _not_ attempt to buffer any extra data. We'll get more data\n // when the stream consumer calls read() instead.\n // - No data in the buffer, and the stream is in flowing mode. In this mode\n // the loop below is responsible for ensuring read() is called. Failing to\n // call read here would abort the flow and there's no other mechanism for\n // continuing the flow if the stream consumer has just subscribed to the\n // 'data' event.\n //\n // In addition to the above conditions to keep reading data, the following\n // conditions prevent the data from being read:\n // - The stream has ended (state.ended).\n // - There is already a pending 'read' operation (state.reading). This is a\n // case where the the stream has called the implementation defined _read()\n // method, but they are processing the call asynchronously and have _not_\n // called push() with new data. In this case we skip performing more\n // read()s. The execution ends in this method again after the _read() ends\n // up calling push() with more data.\n while (!state.reading && !state.ended && (state.length < state.highWaterMark || state.flowing && state.length === 0)) {\n var len = state.length;\n debug('maybeReadMore read 0');\n stream.read(0);\n if (len === state.length)\n // didn't get any data, stop spinning.\n break;\n }\n state.readingMore = false;\n}\n\n// abstract method. to be overridden in specific implementation classes.\n// call cb(er, data) where data is <= n in length.\n// for virtual (non-string, non-buffer) streams, \"length\" is somewhat\n// arbitrary, and perhaps not very meaningful.\nReadable.prototype._read = function (n) {\n errorOrDestroy(this, new ERR_METHOD_NOT_IMPLEMENTED('_read()'));\n};\nReadable.prototype.pipe = function (dest, pipeOpts) {\n var src = this;\n var state = this._readableState;\n switch (state.pipesCount) {\n case 0:\n state.pipes = dest;\n break;\n case 1:\n state.pipes = [state.pipes, dest];\n break;\n default:\n state.pipes.push(dest);\n break;\n }\n state.pipesCount += 1;\n debug('pipe count=%d opts=%j', state.pipesCount, pipeOpts);\n var doEnd = (!pipeOpts || pipeOpts.end !== false) && dest !== process.stdout && dest !== process.stderr;\n var endFn = doEnd ? onend : unpipe;\n if (state.endEmitted) process.nextTick(endFn);else src.once('end', endFn);\n dest.on('unpipe', onunpipe);\n function onunpipe(readable, unpipeInfo) {\n debug('onunpipe');\n if (readable === src) {\n if (unpipeInfo && unpipeInfo.hasUnpiped === false) {\n unpipeInfo.hasUnpiped = true;\n cleanup();\n }\n }\n }\n function onend() {\n debug('onend');\n dest.end();\n }\n\n // when the dest drains, it reduces the awaitDrain counter\n // on the source. This would be more elegant with a .once()\n // handler in flow(), but adding and removing repeatedly is\n // too slow.\n var ondrain = pipeOnDrain(src);\n dest.on('drain', ondrain);\n var cleanedUp = false;\n function cleanup() {\n debug('cleanup');\n // cleanup event handlers once the pipe is broken\n dest.removeListener('close', onclose);\n dest.removeListener('finish', onfinish);\n dest.removeListener('drain', ondrain);\n dest.removeListener('error', onerror);\n dest.removeListener('unpipe', onunpipe);\n src.removeListener('end', onend);\n src.removeListener('end', unpipe);\n src.removeListener('data', ondata);\n cleanedUp = true;\n\n // if the reader is waiting for a drain event from this\n // specific writer, then it would cause it to never start\n // flowing again.\n // So, if this is awaiting a drain, then we just call it now.\n // If we don't know, then assume that we are waiting for one.\n if (state.awaitDrain && (!dest._writableState || dest._writableState.needDrain)) ondrain();\n }\n src.on('data', ondata);\n function ondata(chunk) {\n debug('ondata');\n var ret = dest.write(chunk);\n debug('dest.write', ret);\n if (ret === false) {\n // If the user unpiped during `dest.write()`, it is possible\n // to get stuck in a permanently paused state if that write\n // also returned false.\n // => Check whether `dest` is still a piping destination.\n if ((state.pipesCount === 1 && state.pipes === dest || state.pipesCount > 1 && indexOf(state.pipes, dest) !== -1) && !cleanedUp) {\n debug('false write response, pause', state.awaitDrain);\n state.awaitDrain++;\n }\n src.pause();\n }\n }\n\n // if the dest has an error, then stop piping into it.\n // however, don't suppress the throwing behavior for this.\n function onerror(er) {\n debug('onerror', er);\n unpipe();\n dest.removeListener('error', onerror);\n if (EElistenerCount(dest, 'error') === 0) errorOrDestroy(dest, er);\n }\n\n // Make sure our error handler is attached before userland ones.\n prependListener(dest, 'error', onerror);\n\n // Both close and finish should trigger unpipe, but only once.\n function onclose() {\n dest.removeListener('finish', onfinish);\n unpipe();\n }\n dest.once('close', onclose);\n function onfinish() {\n debug('onfinish');\n dest.removeListener('close', onclose);\n unpipe();\n }\n dest.once('finish', onfinish);\n function unpipe() {\n debug('unpipe');\n src.unpipe(dest);\n }\n\n // tell the dest that it's being piped to\n dest.emit('pipe', src);\n\n // start the flow if it hasn't been started already.\n if (!state.flowing) {\n debug('pipe resume');\n src.resume();\n }\n return dest;\n};\nfunction pipeOnDrain(src) {\n return function pipeOnDrainFunctionResult() {\n var state = src._readableState;\n debug('pipeOnDrain', state.awaitDrain);\n if (state.awaitDrain) state.awaitDrain--;\n if (state.awaitDrain === 0 && EElistenerCount(src, 'data')) {\n state.flowing = true;\n flow(src);\n }\n };\n}\nReadable.prototype.unpipe = function (dest) {\n var state = this._readableState;\n var unpipeInfo = {\n hasUnpiped: false\n };\n\n // if we're not piping anywhere, then do nothing.\n if (state.pipesCount === 0) return this;\n\n // just one destination. most common case.\n if (state.pipesCount === 1) {\n // passed in one, but it's not the right one.\n if (dest && dest !== state.pipes) return this;\n if (!dest) dest = state.pipes;\n\n // got a match.\n state.pipes = null;\n state.pipesCount = 0;\n state.flowing = false;\n if (dest) dest.emit('unpipe', this, unpipeInfo);\n return this;\n }\n\n // slow case. multiple pipe destinations.\n\n if (!dest) {\n // remove all.\n var dests = state.pipes;\n var len = state.pipesCount;\n state.pipes = null;\n state.pipesCount = 0;\n state.flowing = false;\n for (var i = 0; i < len; i++) dests[i].emit('unpipe', this, {\n hasUnpiped: false\n });\n return this;\n }\n\n // try to find the right one.\n var index = indexOf(state.pipes, dest);\n if (index === -1) return this;\n state.pipes.splice(index, 1);\n state.pipesCount -= 1;\n if (state.pipesCount === 1) state.pipes = state.pipes[0];\n dest.emit('unpipe', this, unpipeInfo);\n return this;\n};\n\n// set up data events if they are asked for\n// Ensure readable listeners eventually get something\nReadable.prototype.on = function (ev, fn) {\n var res = Stream.prototype.on.call(this, ev, fn);\n var state = this._readableState;\n if (ev === 'data') {\n // update readableListening so that resume() may be a no-op\n // a few lines down. This is needed to support once('readable').\n state.readableListening = this.listenerCount('readable') > 0;\n\n // Try start flowing on next tick if stream isn't explicitly paused\n if (state.flowing !== false) this.resume();\n } else if (ev === 'readable') {\n if (!state.endEmitted && !state.readableListening) {\n state.readableListening = state.needReadable = true;\n state.flowing = false;\n state.emittedReadable = false;\n debug('on readable', state.length, state.reading);\n if (state.length) {\n emitReadable(this);\n } else if (!state.reading) {\n process.nextTick(nReadingNextTick, this);\n }\n }\n }\n return res;\n};\nReadable.prototype.addListener = Readable.prototype.on;\nReadable.prototype.removeListener = function (ev, fn) {\n var res = Stream.prototype.removeListener.call(this, ev, fn);\n if (ev === 'readable') {\n // We need to check if there is someone still listening to\n // readable and reset the state. However this needs to happen\n // after readable has been emitted but before I/O (nextTick) to\n // support once('readable', fn) cycles. This means that calling\n // resume within the same tick will have no\n // effect.\n process.nextTick(updateReadableListening, this);\n }\n return res;\n};\nReadable.prototype.removeAllListeners = function (ev) {\n var res = Stream.prototype.removeAllListeners.apply(this, arguments);\n if (ev === 'readable' || ev === undefined) {\n // We need to check if there is someone still listening to\n // readable and reset the state. However this needs to happen\n // after readable has been emitted but before I/O (nextTick) to\n // support once('readable', fn) cycles. This means that calling\n // resume within the same tick will have no\n // effect.\n process.nextTick(updateReadableListening, this);\n }\n return res;\n};\nfunction updateReadableListening(self) {\n var state = self._readableState;\n state.readableListening = self.listenerCount('readable') > 0;\n if (state.resumeScheduled && !state.paused) {\n // flowing needs to be set to true now, otherwise\n // the upcoming resume will not flow.\n state.flowing = true;\n\n // crude way to check if we should resume\n } else if (self.listenerCount('data') > 0) {\n self.resume();\n }\n}\nfunction nReadingNextTick(self) {\n debug('readable nexttick read 0');\n self.read(0);\n}\n\n// pause() and resume() are remnants of the legacy readable stream API\n// If the user uses them, then switch into old mode.\nReadable.prototype.resume = function () {\n var state = this._readableState;\n if (!state.flowing) {\n debug('resume');\n // we flow only if there is no one listening\n // for readable, but we still have to call\n // resume()\n state.flowing = !state.readableListening;\n resume(this, state);\n }\n state.paused = false;\n return this;\n};\nfunction resume(stream, state) {\n if (!state.resumeScheduled) {\n state.resumeScheduled = true;\n process.nextTick(resume_, stream, state);\n }\n}\nfunction resume_(stream, state) {\n debug('resume', state.reading);\n if (!state.reading) {\n stream.read(0);\n }\n state.resumeScheduled = false;\n stream.emit('resume');\n flow(stream);\n if (state.flowing && !state.reading) stream.read(0);\n}\nReadable.prototype.pause = function () {\n debug('call pause flowing=%j', this._readableState.flowing);\n if (this._readableState.flowing !== false) {\n debug('pause');\n this._readableState.flowing = false;\n this.emit('pause');\n }\n this._readableState.paused = true;\n return this;\n};\nfunction flow(stream) {\n var state = stream._readableState;\n debug('flow', state.flowing);\n while (state.flowing && stream.read() !== null);\n}\n\n// wrap an old-style stream as the async data source.\n// This is *not* part of the readable stream interface.\n// It is an ugly unfortunate mess of history.\nReadable.prototype.wrap = function (stream) {\n var _this = this;\n var state = this._readableState;\n var paused = false;\n stream.on('end', function () {\n debug('wrapped end');\n if (state.decoder && !state.ended) {\n var chunk = state.decoder.end();\n if (chunk && chunk.length) _this.push(chunk);\n }\n _this.push(null);\n });\n stream.on('data', function (chunk) {\n debug('wrapped data');\n if (state.decoder) chunk = state.decoder.write(chunk);\n\n // don't skip over falsy values in objectMode\n if (state.objectMode && (chunk === null || chunk === undefined)) return;else if (!state.objectMode && (!chunk || !chunk.length)) return;\n var ret = _this.push(chunk);\n if (!ret) {\n paused = true;\n stream.pause();\n }\n });\n\n // proxy all the other methods.\n // important when wrapping filters and duplexes.\n for (var i in stream) {\n if (this[i] === undefined && typeof stream[i] === 'function') {\n this[i] = function methodWrap(method) {\n return function methodWrapReturnFunction() {\n return stream[method].apply(stream, arguments);\n };\n }(i);\n }\n }\n\n // proxy certain important events.\n for (var n = 0; n < kProxyEvents.length; n++) {\n stream.on(kProxyEvents[n], this.emit.bind(this, kProxyEvents[n]));\n }\n\n // when we try to consume some more bytes, simply unpause the\n // underlying stream.\n this._read = function (n) {\n debug('wrapped _read', n);\n if (paused) {\n paused = false;\n stream.resume();\n }\n };\n return this;\n};\nif (typeof Symbol === 'function') {\n Readable.prototype[Symbol.asyncIterator] = function () {\n if (createReadableStreamAsyncIterator === undefined) {\n createReadableStreamAsyncIterator = require('./internal/streams/async_iterator');\n }\n return createReadableStreamAsyncIterator(this);\n };\n}\nObject.defineProperty(Readable.prototype, 'readableHighWaterMark', {\n // making it explicit this property is not enumerable\n // because otherwise some prototype manipulation in\n // userland will fail\n enumerable: false,\n get: function get() {\n return this._readableState.highWaterMark;\n }\n});\nObject.defineProperty(Readable.prototype, 'readableBuffer', {\n // making it explicit this property is not enumerable\n // because otherwise some prototype manipulation in\n // userland will fail\n enumerable: false,\n get: function get() {\n return this._readableState && this._readableState.buffer;\n }\n});\nObject.defineProperty(Readable.prototype, 'readableFlowing', {\n // making it explicit this property is not enumerable\n // because otherwise some prototype manipulation in\n // userland will fail\n enumerable: false,\n get: function get() {\n return this._readableState.flowing;\n },\n set: function set(state) {\n if (this._readableState) {\n this._readableState.flowing = state;\n }\n }\n});\n\n// exposed for testing purposes only.\nReadable._fromList = fromList;\nObject.defineProperty(Readable.prototype, 'readableLength', {\n // making it explicit this property is not enumerable\n // because otherwise some prototype manipulation in\n // userland will fail\n enumerable: false,\n get: function get() {\n return this._readableState.length;\n }\n});\n\n// Pluck off n bytes from an array of buffers.\n// Length is the combined lengths of all the buffers in the list.\n// This function is designed to be inlinable, so please take care when making\n// changes to the function body.\nfunction fromList(n, state) {\n // nothing buffered\n if (state.length === 0) return null;\n var ret;\n if (state.objectMode) ret = state.buffer.shift();else if (!n || n >= state.length) {\n // read it all, truncate the list\n if (state.decoder) ret = state.buffer.join('');else if (state.buffer.length === 1) ret = state.buffer.first();else ret = state.buffer.concat(state.length);\n state.buffer.clear();\n } else {\n // read part of list\n ret = state.buffer.consume(n, state.decoder);\n }\n return ret;\n}\nfunction endReadable(stream) {\n var state = stream._readableState;\n debug('endReadable', state.endEmitted);\n if (!state.endEmitted) {\n state.ended = true;\n process.nextTick(endReadableNT, state, stream);\n }\n}\nfunction endReadableNT(state, stream) {\n debug('endReadableNT', state.endEmitted, state.length);\n\n // Check that we didn't get one last unshift.\n if (!state.endEmitted && state.length === 0) {\n state.endEmitted = true;\n stream.readable = false;\n stream.emit('end');\n if (state.autoDestroy) {\n // In case of duplex streams we need a way to detect\n // if the writable side is ready for autoDestroy as well\n var wState = stream._writableState;\n if (!wState || wState.autoDestroy && wState.finished) {\n stream.destroy();\n }\n }\n }\n}\nif (typeof Symbol === 'function') {\n Readable.from = function (iterable, opts) {\n if (from === undefined) {\n from = require('./internal/streams/from');\n }\n return from(Readable, iterable, opts);\n };\n}\nfunction indexOf(xs, x) {\n for (var i = 0, l = xs.length; i < l; i++) {\n if (xs[i] === x) return i;\n }\n return -1;\n}","// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n// a transform stream is a readable/writable stream where you do\n// something with the data. Sometimes it's called a \"filter\",\n// but that's not a great name for it, since that implies a thing where\n// some bits pass through, and others are simply ignored. (That would\n// be a valid example of a transform, of course.)\n//\n// While the output is causally related to the input, it's not a\n// necessarily symmetric or synchronous transformation. For example,\n// a zlib stream might take multiple plain-text writes(), and then\n// emit a single compressed chunk some time in the future.\n//\n// Here's how this works:\n//\n// The Transform stream has all the aspects of the readable and writable\n// stream classes. When you write(chunk), that calls _write(chunk,cb)\n// internally, and returns false if there's a lot of pending writes\n// buffered up. When you call read(), that calls _read(n) until\n// there's enough pending readable data buffered up.\n//\n// In a transform stream, the written data is placed in a buffer. When\n// _read(n) is called, it transforms the queued up data, calling the\n// buffered _write cb's as it consumes chunks. If consuming a single\n// written chunk would result in multiple output chunks, then the first\n// outputted bit calls the readcb, and subsequent chunks just go into\n// the read buffer, and will cause it to emit 'readable' if necessary.\n//\n// This way, back-pressure is actually determined by the reading side,\n// since _read has to be called to start processing a new chunk. However,\n// a pathological inflate type of transform can cause excessive buffering\n// here. For example, imagine a stream where every byte of input is\n// interpreted as an integer from 0-255, and then results in that many\n// bytes of output. Writing the 4 bytes {ff,ff,ff,ff} would result in\n// 1kb of data being output. In this case, you could write a very small\n// amount of input, and end up with a very large amount of output. In\n// such a pathological inflating mechanism, there'd be no way to tell\n// the system to stop doing the transform. A single 4MB write could\n// cause the system to run out of memory.\n//\n// However, even in such a pathological case, only a single written chunk\n// would be consumed, and then the rest would wait (un-transformed) until\n// the results of the previous transformed chunk were consumed.\n\n'use strict';\n\nmodule.exports = Transform;\nvar _require$codes = require('../errors').codes,\n ERR_METHOD_NOT_IMPLEMENTED = _require$codes.ERR_METHOD_NOT_IMPLEMENTED,\n ERR_MULTIPLE_CALLBACK = _require$codes.ERR_MULTIPLE_CALLBACK,\n ERR_TRANSFORM_ALREADY_TRANSFORMING = _require$codes.ERR_TRANSFORM_ALREADY_TRANSFORMING,\n ERR_TRANSFORM_WITH_LENGTH_0 = _require$codes.ERR_TRANSFORM_WITH_LENGTH_0;\nvar Duplex = require('./_stream_duplex');\nrequire('inherits')(Transform, Duplex);\nfunction afterTransform(er, data) {\n var ts = this._transformState;\n ts.transforming = false;\n var cb = ts.writecb;\n if (cb === null) {\n return this.emit('error', new ERR_MULTIPLE_CALLBACK());\n }\n ts.writechunk = null;\n ts.writecb = null;\n if (data != null)\n // single equals check for both `null` and `undefined`\n this.push(data);\n cb(er);\n var rs = this._readableState;\n rs.reading = false;\n if (rs.needReadable || rs.length < rs.highWaterMark) {\n this._read(rs.highWaterMark);\n }\n}\nfunction Transform(options) {\n if (!(this instanceof Transform)) return new Transform(options);\n Duplex.call(this, options);\n this._transformState = {\n afterTransform: afterTransform.bind(this),\n needTransform: false,\n transforming: false,\n writecb: null,\n writechunk: null,\n writeencoding: null\n };\n\n // start out asking for a readable event once data is transformed.\n this._readableState.needReadable = true;\n\n // we have implemented the _read method, and done the other things\n // that Readable wants before the first _read call, so unset the\n // sync guard flag.\n this._readableState.sync = false;\n if (options) {\n if (typeof options.transform === 'function') this._transform = options.transform;\n if (typeof options.flush === 'function') this._flush = options.flush;\n }\n\n // When the writable side finishes, then flush out anything remaining.\n this.on('prefinish', prefinish);\n}\nfunction prefinish() {\n var _this = this;\n if (typeof this._flush === 'function' && !this._readableState.destroyed) {\n this._flush(function (er, data) {\n done(_this, er, data);\n });\n } else {\n done(this, null, null);\n }\n}\nTransform.prototype.push = function (chunk, encoding) {\n this._transformState.needTransform = false;\n return Duplex.prototype.push.call(this, chunk, encoding);\n};\n\n// This is the part where you do stuff!\n// override this function in implementation classes.\n// 'chunk' is an input chunk.\n//\n// Call `push(newChunk)` to pass along transformed output\n// to the readable side. You may call 'push' zero or more times.\n//\n// Call `cb(err)` when you are done with this chunk. If you pass\n// an error, then that'll put the hurt on the whole operation. If you\n// never call cb(), then you'll never get another chunk.\nTransform.prototype._transform = function (chunk, encoding, cb) {\n cb(new ERR_METHOD_NOT_IMPLEMENTED('_transform()'));\n};\nTransform.prototype._write = function (chunk, encoding, cb) {\n var ts = this._transformState;\n ts.writecb = cb;\n ts.writechunk = chunk;\n ts.writeencoding = encoding;\n if (!ts.transforming) {\n var rs = this._readableState;\n if (ts.needTransform || rs.needReadable || rs.length < rs.highWaterMark) this._read(rs.highWaterMark);\n }\n};\n\n// Doesn't matter what the args are here.\n// _transform does all the work.\n// That we got here means that the readable side wants more data.\nTransform.prototype._read = function (n) {\n var ts = this._transformState;\n if (ts.writechunk !== null && !ts.transforming) {\n ts.transforming = true;\n this._transform(ts.writechunk, ts.writeencoding, ts.afterTransform);\n } else {\n // mark that we need a transform, so that any data that comes in\n // will get processed, now that we've asked for it.\n ts.needTransform = true;\n }\n};\nTransform.prototype._destroy = function (err, cb) {\n Duplex.prototype._destroy.call(this, err, function (err2) {\n cb(err2);\n });\n};\nfunction done(stream, er, data) {\n if (er) return stream.emit('error', er);\n if (data != null)\n // single equals check for both `null` and `undefined`\n stream.push(data);\n\n // TODO(BridgeAR): Write a test for these two error cases\n // if there's nothing in the write buffer, then that means\n // that nothing more will ever be provided\n if (stream._writableState.length) throw new ERR_TRANSFORM_WITH_LENGTH_0();\n if (stream._transformState.transforming) throw new ERR_TRANSFORM_ALREADY_TRANSFORMING();\n return stream.push(null);\n}","// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n// A bit simpler than readable streams.\n// Implement an async ._write(chunk, encoding, cb), and it'll handle all\n// the drain event emission and buffering.\n\n'use strict';\n\nmodule.exports = Writable;\n\n/* */\nfunction WriteReq(chunk, encoding, cb) {\n this.chunk = chunk;\n this.encoding = encoding;\n this.callback = cb;\n this.next = null;\n}\n\n// It seems a linked list but it is not\n// there will be only 2 of these for each stream\nfunction CorkedRequest(state) {\n var _this = this;\n this.next = null;\n this.entry = null;\n this.finish = function () {\n onCorkedFinish(_this, state);\n };\n}\n/* */\n\n/**/\nvar Duplex;\n/**/\n\nWritable.WritableState = WritableState;\n\n/**/\nvar internalUtil = {\n deprecate: require('util-deprecate')\n};\n/**/\n\n/**/\nvar Stream = require('./internal/streams/stream');\n/**/\n\nvar Buffer = require('buffer').Buffer;\nvar OurUint8Array = (typeof global !== 'undefined' ? global : typeof window !== 'undefined' ? window : typeof self !== 'undefined' ? self : {}).Uint8Array || function () {};\nfunction _uint8ArrayToBuffer(chunk) {\n return Buffer.from(chunk);\n}\nfunction _isUint8Array(obj) {\n return Buffer.isBuffer(obj) || obj instanceof OurUint8Array;\n}\nvar destroyImpl = require('./internal/streams/destroy');\nvar _require = require('./internal/streams/state'),\n getHighWaterMark = _require.getHighWaterMark;\nvar _require$codes = require('../errors').codes,\n ERR_INVALID_ARG_TYPE = _require$codes.ERR_INVALID_ARG_TYPE,\n ERR_METHOD_NOT_IMPLEMENTED = _require$codes.ERR_METHOD_NOT_IMPLEMENTED,\n ERR_MULTIPLE_CALLBACK = _require$codes.ERR_MULTIPLE_CALLBACK,\n ERR_STREAM_CANNOT_PIPE = _require$codes.ERR_STREAM_CANNOT_PIPE,\n ERR_STREAM_DESTROYED = _require$codes.ERR_STREAM_DESTROYED,\n ERR_STREAM_NULL_VALUES = _require$codes.ERR_STREAM_NULL_VALUES,\n ERR_STREAM_WRITE_AFTER_END = _require$codes.ERR_STREAM_WRITE_AFTER_END,\n ERR_UNKNOWN_ENCODING = _require$codes.ERR_UNKNOWN_ENCODING;\nvar errorOrDestroy = destroyImpl.errorOrDestroy;\nrequire('inherits')(Writable, Stream);\nfunction nop() {}\nfunction WritableState(options, stream, isDuplex) {\n Duplex = Duplex || require('./_stream_duplex');\n options = options || {};\n\n // Duplex streams are both readable and writable, but share\n // the same options object.\n // However, some cases require setting options to different\n // values for the readable and the writable sides of the duplex stream,\n // e.g. options.readableObjectMode vs. options.writableObjectMode, etc.\n if (typeof isDuplex !== 'boolean') isDuplex = stream instanceof Duplex;\n\n // object stream flag to indicate whether or not this stream\n // contains buffers or objects.\n this.objectMode = !!options.objectMode;\n if (isDuplex) this.objectMode = this.objectMode || !!options.writableObjectMode;\n\n // the point at which write() starts returning false\n // Note: 0 is a valid value, means that we always return false if\n // the entire buffer is not flushed immediately on write()\n this.highWaterMark = getHighWaterMark(this, options, 'writableHighWaterMark', isDuplex);\n\n // if _final has been called\n this.finalCalled = false;\n\n // drain event flag.\n this.needDrain = false;\n // at the start of calling end()\n this.ending = false;\n // when end() has been called, and returned\n this.ended = false;\n // when 'finish' is emitted\n this.finished = false;\n\n // has it been destroyed\n this.destroyed = false;\n\n // should we decode strings into buffers before passing to _write?\n // this is here so that some node-core streams can optimize string\n // handling at a lower level.\n var noDecode = options.decodeStrings === false;\n this.decodeStrings = !noDecode;\n\n // Crypto is kind of old and crusty. Historically, its default string\n // encoding is 'binary' so we have to make this configurable.\n // Everything else in the universe uses 'utf8', though.\n this.defaultEncoding = options.defaultEncoding || 'utf8';\n\n // not an actual buffer we keep track of, but a measurement\n // of how much we're waiting to get pushed to some underlying\n // socket or file.\n this.length = 0;\n\n // a flag to see when we're in the middle of a write.\n this.writing = false;\n\n // when true all writes will be buffered until .uncork() call\n this.corked = 0;\n\n // a flag to be able to tell if the onwrite cb is called immediately,\n // or on a later tick. We set this to true at first, because any\n // actions that shouldn't happen until \"later\" should generally also\n // not happen before the first write call.\n this.sync = true;\n\n // a flag to know if we're processing previously buffered items, which\n // may call the _write() callback in the same tick, so that we don't\n // end up in an overlapped onwrite situation.\n this.bufferProcessing = false;\n\n // the callback that's passed to _write(chunk,cb)\n this.onwrite = function (er) {\n onwrite(stream, er);\n };\n\n // the callback that the user supplies to write(chunk,encoding,cb)\n this.writecb = null;\n\n // the amount that is being written when _write is called.\n this.writelen = 0;\n this.bufferedRequest = null;\n this.lastBufferedRequest = null;\n\n // number of pending user-supplied write callbacks\n // this must be 0 before 'finish' can be emitted\n this.pendingcb = 0;\n\n // emit prefinish if the only thing we're waiting for is _write cbs\n // This is relevant for synchronous Transform streams\n this.prefinished = false;\n\n // True if the error was already emitted and should not be thrown again\n this.errorEmitted = false;\n\n // Should close be emitted on destroy. Defaults to true.\n this.emitClose = options.emitClose !== false;\n\n // Should .destroy() be called after 'finish' (and potentially 'end')\n this.autoDestroy = !!options.autoDestroy;\n\n // count buffered requests\n this.bufferedRequestCount = 0;\n\n // allocate the first CorkedRequest, there is always\n // one allocated and free to use, and we maintain at most two\n this.corkedRequestsFree = new CorkedRequest(this);\n}\nWritableState.prototype.getBuffer = function getBuffer() {\n var current = this.bufferedRequest;\n var out = [];\n while (current) {\n out.push(current);\n current = current.next;\n }\n return out;\n};\n(function () {\n try {\n Object.defineProperty(WritableState.prototype, 'buffer', {\n get: internalUtil.deprecate(function writableStateBufferGetter() {\n return this.getBuffer();\n }, '_writableState.buffer is deprecated. Use _writableState.getBuffer ' + 'instead.', 'DEP0003')\n });\n } catch (_) {}\n})();\n\n// Test _writableState for inheritance to account for Duplex streams,\n// whose prototype chain only points to Readable.\nvar realHasInstance;\nif (typeof Symbol === 'function' && Symbol.hasInstance && typeof Function.prototype[Symbol.hasInstance] === 'function') {\n realHasInstance = Function.prototype[Symbol.hasInstance];\n Object.defineProperty(Writable, Symbol.hasInstance, {\n value: function value(object) {\n if (realHasInstance.call(this, object)) return true;\n if (this !== Writable) return false;\n return object && object._writableState instanceof WritableState;\n }\n });\n} else {\n realHasInstance = function realHasInstance(object) {\n return object instanceof this;\n };\n}\nfunction Writable(options) {\n Duplex = Duplex || require('./_stream_duplex');\n\n // Writable ctor is applied to Duplexes, too.\n // `realHasInstance` is necessary because using plain `instanceof`\n // would return false, as no `_writableState` property is attached.\n\n // Trying to use the custom `instanceof` for Writable here will also break the\n // Node.js LazyTransform implementation, which has a non-trivial getter for\n // `_writableState` that would lead to infinite recursion.\n\n // Checking for a Stream.Duplex instance is faster here instead of inside\n // the WritableState constructor, at least with V8 6.5\n var isDuplex = this instanceof Duplex;\n if (!isDuplex && !realHasInstance.call(Writable, this)) return new Writable(options);\n this._writableState = new WritableState(options, this, isDuplex);\n\n // legacy.\n this.writable = true;\n if (options) {\n if (typeof options.write === 'function') this._write = options.write;\n if (typeof options.writev === 'function') this._writev = options.writev;\n if (typeof options.destroy === 'function') this._destroy = options.destroy;\n if (typeof options.final === 'function') this._final = options.final;\n }\n Stream.call(this);\n}\n\n// Otherwise people can pipe Writable streams, which is just wrong.\nWritable.prototype.pipe = function () {\n errorOrDestroy(this, new ERR_STREAM_CANNOT_PIPE());\n};\nfunction writeAfterEnd(stream, cb) {\n var er = new ERR_STREAM_WRITE_AFTER_END();\n // TODO: defer error events consistently everywhere, not just the cb\n errorOrDestroy(stream, er);\n process.nextTick(cb, er);\n}\n\n// Checks that a user-supplied chunk is valid, especially for the particular\n// mode the stream is in. Currently this means that `null` is never accepted\n// and undefined/non-string values are only allowed in object mode.\nfunction validChunk(stream, state, chunk, cb) {\n var er;\n if (chunk === null) {\n er = new ERR_STREAM_NULL_VALUES();\n } else if (typeof chunk !== 'string' && !state.objectMode) {\n er = new ERR_INVALID_ARG_TYPE('chunk', ['string', 'Buffer'], chunk);\n }\n if (er) {\n errorOrDestroy(stream, er);\n process.nextTick(cb, er);\n return false;\n }\n return true;\n}\nWritable.prototype.write = function (chunk, encoding, cb) {\n var state = this._writableState;\n var ret = false;\n var isBuf = !state.objectMode && _isUint8Array(chunk);\n if (isBuf && !Buffer.isBuffer(chunk)) {\n chunk = _uint8ArrayToBuffer(chunk);\n }\n if (typeof encoding === 'function') {\n cb = encoding;\n encoding = null;\n }\n if (isBuf) encoding = 'buffer';else if (!encoding) encoding = state.defaultEncoding;\n if (typeof cb !== 'function') cb = nop;\n if (state.ending) writeAfterEnd(this, cb);else if (isBuf || validChunk(this, state, chunk, cb)) {\n state.pendingcb++;\n ret = writeOrBuffer(this, state, isBuf, chunk, encoding, cb);\n }\n return ret;\n};\nWritable.prototype.cork = function () {\n this._writableState.corked++;\n};\nWritable.prototype.uncork = function () {\n var state = this._writableState;\n if (state.corked) {\n state.corked--;\n if (!state.writing && !state.corked && !state.bufferProcessing && state.bufferedRequest) clearBuffer(this, state);\n }\n};\nWritable.prototype.setDefaultEncoding = function setDefaultEncoding(encoding) {\n // node::ParseEncoding() requires lower case.\n if (typeof encoding === 'string') encoding = encoding.toLowerCase();\n if (!(['hex', 'utf8', 'utf-8', 'ascii', 'binary', 'base64', 'ucs2', 'ucs-2', 'utf16le', 'utf-16le', 'raw'].indexOf((encoding + '').toLowerCase()) > -1)) throw new ERR_UNKNOWN_ENCODING(encoding);\n this._writableState.defaultEncoding = encoding;\n return this;\n};\nObject.defineProperty(Writable.prototype, 'writableBuffer', {\n // making it explicit this property is not enumerable\n // because otherwise some prototype manipulation in\n // userland will fail\n enumerable: false,\n get: function get() {\n return this._writableState && this._writableState.getBuffer();\n }\n});\nfunction decodeChunk(state, chunk, encoding) {\n if (!state.objectMode && state.decodeStrings !== false && typeof chunk === 'string') {\n chunk = Buffer.from(chunk, encoding);\n }\n return chunk;\n}\nObject.defineProperty(Writable.prototype, 'writableHighWaterMark', {\n // making it explicit this property is not enumerable\n // because otherwise some prototype manipulation in\n // userland will fail\n enumerable: false,\n get: function get() {\n return this._writableState.highWaterMark;\n }\n});\n\n// if we're already writing something, then just put this\n// in the queue, and wait our turn. Otherwise, call _write\n// If we return false, then we need a drain event, so set that flag.\nfunction writeOrBuffer(stream, state, isBuf, chunk, encoding, cb) {\n if (!isBuf) {\n var newChunk = decodeChunk(state, chunk, encoding);\n if (chunk !== newChunk) {\n isBuf = true;\n encoding = 'buffer';\n chunk = newChunk;\n }\n }\n var len = state.objectMode ? 1 : chunk.length;\n state.length += len;\n var ret = state.length < state.highWaterMark;\n // we must ensure that previous needDrain will not be reset to false.\n if (!ret) state.needDrain = true;\n if (state.writing || state.corked) {\n var last = state.lastBufferedRequest;\n state.lastBufferedRequest = {\n chunk: chunk,\n encoding: encoding,\n isBuf: isBuf,\n callback: cb,\n next: null\n };\n if (last) {\n last.next = state.lastBufferedRequest;\n } else {\n state.bufferedRequest = state.lastBufferedRequest;\n }\n state.bufferedRequestCount += 1;\n } else {\n doWrite(stream, state, false, len, chunk, encoding, cb);\n }\n return ret;\n}\nfunction doWrite(stream, state, writev, len, chunk, encoding, cb) {\n state.writelen = len;\n state.writecb = cb;\n state.writing = true;\n state.sync = true;\n if (state.destroyed) state.onwrite(new ERR_STREAM_DESTROYED('write'));else if (writev) stream._writev(chunk, state.onwrite);else stream._write(chunk, encoding, state.onwrite);\n state.sync = false;\n}\nfunction onwriteError(stream, state, sync, er, cb) {\n --state.pendingcb;\n if (sync) {\n // defer the callback if we are being called synchronously\n // to avoid piling up things on the stack\n process.nextTick(cb, er);\n // this can emit finish, and it will always happen\n // after error\n process.nextTick(finishMaybe, stream, state);\n stream._writableState.errorEmitted = true;\n errorOrDestroy(stream, er);\n } else {\n // the caller expect this to happen before if\n // it is async\n cb(er);\n stream._writableState.errorEmitted = true;\n errorOrDestroy(stream, er);\n // this can emit finish, but finish must\n // always follow error\n finishMaybe(stream, state);\n }\n}\nfunction onwriteStateUpdate(state) {\n state.writing = false;\n state.writecb = null;\n state.length -= state.writelen;\n state.writelen = 0;\n}\nfunction onwrite(stream, er) {\n var state = stream._writableState;\n var sync = state.sync;\n var cb = state.writecb;\n if (typeof cb !== 'function') throw new ERR_MULTIPLE_CALLBACK();\n onwriteStateUpdate(state);\n if (er) onwriteError(stream, state, sync, er, cb);else {\n // Check if we're actually ready to finish, but don't emit yet\n var finished = needFinish(state) || stream.destroyed;\n if (!finished && !state.corked && !state.bufferProcessing && state.bufferedRequest) {\n clearBuffer(stream, state);\n }\n if (sync) {\n process.nextTick(afterWrite, stream, state, finished, cb);\n } else {\n afterWrite(stream, state, finished, cb);\n }\n }\n}\nfunction afterWrite(stream, state, finished, cb) {\n if (!finished) onwriteDrain(stream, state);\n state.pendingcb--;\n cb();\n finishMaybe(stream, state);\n}\n\n// Must force callback to be called on nextTick, so that we don't\n// emit 'drain' before the write() consumer gets the 'false' return\n// value, and has a chance to attach a 'drain' listener.\nfunction onwriteDrain(stream, state) {\n if (state.length === 0 && state.needDrain) {\n state.needDrain = false;\n stream.emit('drain');\n }\n}\n\n// if there's something in the buffer waiting, then process it\nfunction clearBuffer(stream, state) {\n state.bufferProcessing = true;\n var entry = state.bufferedRequest;\n if (stream._writev && entry && entry.next) {\n // Fast case, write everything using _writev()\n var l = state.bufferedRequestCount;\n var buffer = new Array(l);\n var holder = state.corkedRequestsFree;\n holder.entry = entry;\n var count = 0;\n var allBuffers = true;\n while (entry) {\n buffer[count] = entry;\n if (!entry.isBuf) allBuffers = false;\n entry = entry.next;\n count += 1;\n }\n buffer.allBuffers = allBuffers;\n doWrite(stream, state, true, state.length, buffer, '', holder.finish);\n\n // doWrite is almost always async, defer these to save a bit of time\n // as the hot path ends with doWrite\n state.pendingcb++;\n state.lastBufferedRequest = null;\n if (holder.next) {\n state.corkedRequestsFree = holder.next;\n holder.next = null;\n } else {\n state.corkedRequestsFree = new CorkedRequest(state);\n }\n state.bufferedRequestCount = 0;\n } else {\n // Slow case, write chunks one-by-one\n while (entry) {\n var chunk = entry.chunk;\n var encoding = entry.encoding;\n var cb = entry.callback;\n var len = state.objectMode ? 1 : chunk.length;\n doWrite(stream, state, false, len, chunk, encoding, cb);\n entry = entry.next;\n state.bufferedRequestCount--;\n // if we didn't call the onwrite immediately, then\n // it means that we need to wait until it does.\n // also, that means that the chunk and cb are currently\n // being processed, so move the buffer counter past them.\n if (state.writing) {\n break;\n }\n }\n if (entry === null) state.lastBufferedRequest = null;\n }\n state.bufferedRequest = entry;\n state.bufferProcessing = false;\n}\nWritable.prototype._write = function (chunk, encoding, cb) {\n cb(new ERR_METHOD_NOT_IMPLEMENTED('_write()'));\n};\nWritable.prototype._writev = null;\nWritable.prototype.end = function (chunk, encoding, cb) {\n var state = this._writableState;\n if (typeof chunk === 'function') {\n cb = chunk;\n chunk = null;\n encoding = null;\n } else if (typeof encoding === 'function') {\n cb = encoding;\n encoding = null;\n }\n if (chunk !== null && chunk !== undefined) this.write(chunk, encoding);\n\n // .end() fully uncorks\n if (state.corked) {\n state.corked = 1;\n this.uncork();\n }\n\n // ignore unnecessary end() calls.\n if (!state.ending) endWritable(this, state, cb);\n return this;\n};\nObject.defineProperty(Writable.prototype, 'writableLength', {\n // making it explicit this property is not enumerable\n // because otherwise some prototype manipulation in\n // userland will fail\n enumerable: false,\n get: function get() {\n return this._writableState.length;\n }\n});\nfunction needFinish(state) {\n return state.ending && state.length === 0 && state.bufferedRequest === null && !state.finished && !state.writing;\n}\nfunction callFinal(stream, state) {\n stream._final(function (err) {\n state.pendingcb--;\n if (err) {\n errorOrDestroy(stream, err);\n }\n state.prefinished = true;\n stream.emit('prefinish');\n finishMaybe(stream, state);\n });\n}\nfunction prefinish(stream, state) {\n if (!state.prefinished && !state.finalCalled) {\n if (typeof stream._final === 'function' && !state.destroyed) {\n state.pendingcb++;\n state.finalCalled = true;\n process.nextTick(callFinal, stream, state);\n } else {\n state.prefinished = true;\n stream.emit('prefinish');\n }\n }\n}\nfunction finishMaybe(stream, state) {\n var need = needFinish(state);\n if (need) {\n prefinish(stream, state);\n if (state.pendingcb === 0) {\n state.finished = true;\n stream.emit('finish');\n if (state.autoDestroy) {\n // In case of duplex streams we need a way to detect\n // if the readable side is ready for autoDestroy as well\n var rState = stream._readableState;\n if (!rState || rState.autoDestroy && rState.endEmitted) {\n stream.destroy();\n }\n }\n }\n }\n return need;\n}\nfunction endWritable(stream, state, cb) {\n state.ending = true;\n finishMaybe(stream, state);\n if (cb) {\n if (state.finished) process.nextTick(cb);else stream.once('finish', cb);\n }\n state.ended = true;\n stream.writable = false;\n}\nfunction onCorkedFinish(corkReq, state, err) {\n var entry = corkReq.entry;\n corkReq.entry = null;\n while (entry) {\n var cb = entry.callback;\n state.pendingcb--;\n cb(err);\n entry = entry.next;\n }\n\n // reuse the free corkReq.\n state.corkedRequestsFree.next = corkReq;\n}\nObject.defineProperty(Writable.prototype, 'destroyed', {\n // making it explicit this property is not enumerable\n // because otherwise some prototype manipulation in\n // userland will fail\n enumerable: false,\n get: function get() {\n if (this._writableState === undefined) {\n return false;\n }\n return this._writableState.destroyed;\n },\n set: function set(value) {\n // we ignore the value if the stream\n // has not been initialized yet\n if (!this._writableState) {\n return;\n }\n\n // backward compatibility, the user is explicitly\n // managing destroyed\n this._writableState.destroyed = value;\n }\n});\nWritable.prototype.destroy = destroyImpl.destroy;\nWritable.prototype._undestroy = destroyImpl.undestroy;\nWritable.prototype._destroy = function (err, cb) {\n cb(err);\n};","'use strict';\n\nvar _Object$setPrototypeO;\nfunction _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\nfunction _toPropertyKey(arg) { var key = _toPrimitive(arg, \"string\"); return typeof key === \"symbol\" ? key : String(key); }\nfunction _toPrimitive(input, hint) { if (typeof input !== \"object\" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || \"default\"); if (typeof res !== \"object\") return res; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (hint === \"string\" ? String : Number)(input); }\nvar finished = require('./end-of-stream');\nvar kLastResolve = Symbol('lastResolve');\nvar kLastReject = Symbol('lastReject');\nvar kError = Symbol('error');\nvar kEnded = Symbol('ended');\nvar kLastPromise = Symbol('lastPromise');\nvar kHandlePromise = Symbol('handlePromise');\nvar kStream = Symbol('stream');\nfunction createIterResult(value, done) {\n return {\n value: value,\n done: done\n };\n}\nfunction readAndResolve(iter) {\n var resolve = iter[kLastResolve];\n if (resolve !== null) {\n var data = iter[kStream].read();\n // we defer if data is null\n // we can be expecting either 'end' or\n // 'error'\n if (data !== null) {\n iter[kLastPromise] = null;\n iter[kLastResolve] = null;\n iter[kLastReject] = null;\n resolve(createIterResult(data, false));\n }\n }\n}\nfunction onReadable(iter) {\n // we wait for the next tick, because it might\n // emit an error with process.nextTick\n process.nextTick(readAndResolve, iter);\n}\nfunction wrapForNext(lastPromise, iter) {\n return function (resolve, reject) {\n lastPromise.then(function () {\n if (iter[kEnded]) {\n resolve(createIterResult(undefined, true));\n return;\n }\n iter[kHandlePromise](resolve, reject);\n }, reject);\n };\n}\nvar AsyncIteratorPrototype = Object.getPrototypeOf(function () {});\nvar ReadableStreamAsyncIteratorPrototype = Object.setPrototypeOf((_Object$setPrototypeO = {\n get stream() {\n return this[kStream];\n },\n next: function next() {\n var _this = this;\n // if we have detected an error in the meanwhile\n // reject straight away\n var error = this[kError];\n if (error !== null) {\n return Promise.reject(error);\n }\n if (this[kEnded]) {\n return Promise.resolve(createIterResult(undefined, true));\n }\n if (this[kStream].destroyed) {\n // We need to defer via nextTick because if .destroy(err) is\n // called, the error will be emitted via nextTick, and\n // we cannot guarantee that there is no error lingering around\n // waiting to be emitted.\n return new Promise(function (resolve, reject) {\n process.nextTick(function () {\n if (_this[kError]) {\n reject(_this[kError]);\n } else {\n resolve(createIterResult(undefined, true));\n }\n });\n });\n }\n\n // if we have multiple next() calls\n // we will wait for the previous Promise to finish\n // this logic is optimized to support for await loops,\n // where next() is only called once at a time\n var lastPromise = this[kLastPromise];\n var promise;\n if (lastPromise) {\n promise = new Promise(wrapForNext(lastPromise, this));\n } else {\n // fast path needed to support multiple this.push()\n // without triggering the next() queue\n var data = this[kStream].read();\n if (data !== null) {\n return Promise.resolve(createIterResult(data, false));\n }\n promise = new Promise(this[kHandlePromise]);\n }\n this[kLastPromise] = promise;\n return promise;\n }\n}, _defineProperty(_Object$setPrototypeO, Symbol.asyncIterator, function () {\n return this;\n}), _defineProperty(_Object$setPrototypeO, \"return\", function _return() {\n var _this2 = this;\n // destroy(err, cb) is a private API\n // we can guarantee we have that here, because we control the\n // Readable class this is attached to\n return new Promise(function (resolve, reject) {\n _this2[kStream].destroy(null, function (err) {\n if (err) {\n reject(err);\n return;\n }\n resolve(createIterResult(undefined, true));\n });\n });\n}), _Object$setPrototypeO), AsyncIteratorPrototype);\nvar createReadableStreamAsyncIterator = function createReadableStreamAsyncIterator(stream) {\n var _Object$create;\n var iterator = Object.create(ReadableStreamAsyncIteratorPrototype, (_Object$create = {}, _defineProperty(_Object$create, kStream, {\n value: stream,\n writable: true\n }), _defineProperty(_Object$create, kLastResolve, {\n value: null,\n writable: true\n }), _defineProperty(_Object$create, kLastReject, {\n value: null,\n writable: true\n }), _defineProperty(_Object$create, kError, {\n value: null,\n writable: true\n }), _defineProperty(_Object$create, kEnded, {\n value: stream._readableState.endEmitted,\n writable: true\n }), _defineProperty(_Object$create, kHandlePromise, {\n value: function value(resolve, reject) {\n var data = iterator[kStream].read();\n if (data) {\n iterator[kLastPromise] = null;\n iterator[kLastResolve] = null;\n iterator[kLastReject] = null;\n resolve(createIterResult(data, false));\n } else {\n iterator[kLastResolve] = resolve;\n iterator[kLastReject] = reject;\n }\n },\n writable: true\n }), _Object$create));\n iterator[kLastPromise] = null;\n finished(stream, function (err) {\n if (err && err.code !== 'ERR_STREAM_PREMATURE_CLOSE') {\n var reject = iterator[kLastReject];\n // reject if we are waiting for data in the Promise\n // returned by next() and store the error\n if (reject !== null) {\n iterator[kLastPromise] = null;\n iterator[kLastResolve] = null;\n iterator[kLastReject] = null;\n reject(err);\n }\n iterator[kError] = err;\n return;\n }\n var resolve = iterator[kLastResolve];\n if (resolve !== null) {\n iterator[kLastPromise] = null;\n iterator[kLastResolve] = null;\n iterator[kLastReject] = null;\n resolve(createIterResult(undefined, true));\n }\n iterator[kEnded] = true;\n });\n stream.on('readable', onReadable.bind(null, iterator));\n return iterator;\n};\nmodule.exports = createReadableStreamAsyncIterator;","'use strict';\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\nfunction _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, \"prototype\", { writable: false }); return Constructor; }\nfunction _toPropertyKey(arg) { var key = _toPrimitive(arg, \"string\"); return typeof key === \"symbol\" ? key : String(key); }\nfunction _toPrimitive(input, hint) { if (typeof input !== \"object\" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || \"default\"); if (typeof res !== \"object\") return res; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (hint === \"string\" ? String : Number)(input); }\nvar _require = require('buffer'),\n Buffer = _require.Buffer;\nvar _require2 = require('util'),\n inspect = _require2.inspect;\nvar custom = inspect && inspect.custom || 'inspect';\nfunction copyBuffer(src, target, offset) {\n Buffer.prototype.copy.call(src, target, offset);\n}\nmodule.exports = /*#__PURE__*/function () {\n function BufferList() {\n _classCallCheck(this, BufferList);\n this.head = null;\n this.tail = null;\n this.length = 0;\n }\n _createClass(BufferList, [{\n key: \"push\",\n value: function push(v) {\n var entry = {\n data: v,\n next: null\n };\n if (this.length > 0) this.tail.next = entry;else this.head = entry;\n this.tail = entry;\n ++this.length;\n }\n }, {\n key: \"unshift\",\n value: function unshift(v) {\n var entry = {\n data: v,\n next: this.head\n };\n if (this.length === 0) this.tail = entry;\n this.head = entry;\n ++this.length;\n }\n }, {\n key: \"shift\",\n value: function shift() {\n if (this.length === 0) return;\n var ret = this.head.data;\n if (this.length === 1) this.head = this.tail = null;else this.head = this.head.next;\n --this.length;\n return ret;\n }\n }, {\n key: \"clear\",\n value: function clear() {\n this.head = this.tail = null;\n this.length = 0;\n }\n }, {\n key: \"join\",\n value: function join(s) {\n if (this.length === 0) return '';\n var p = this.head;\n var ret = '' + p.data;\n while (p = p.next) ret += s + p.data;\n return ret;\n }\n }, {\n key: \"concat\",\n value: function concat(n) {\n if (this.length === 0) return Buffer.alloc(0);\n var ret = Buffer.allocUnsafe(n >>> 0);\n var p = this.head;\n var i = 0;\n while (p) {\n copyBuffer(p.data, ret, i);\n i += p.data.length;\n p = p.next;\n }\n return ret;\n }\n\n // Consumes a specified amount of bytes or characters from the buffered data.\n }, {\n key: \"consume\",\n value: function consume(n, hasStrings) {\n var ret;\n if (n < this.head.data.length) {\n // `slice` is the same for buffers and strings.\n ret = this.head.data.slice(0, n);\n this.head.data = this.head.data.slice(n);\n } else if (n === this.head.data.length) {\n // First chunk is a perfect match.\n ret = this.shift();\n } else {\n // Result spans more than one buffer.\n ret = hasStrings ? this._getString(n) : this._getBuffer(n);\n }\n return ret;\n }\n }, {\n key: \"first\",\n value: function first() {\n return this.head.data;\n }\n\n // Consumes a specified amount of characters from the buffered data.\n }, {\n key: \"_getString\",\n value: function _getString(n) {\n var p = this.head;\n var c = 1;\n var ret = p.data;\n n -= ret.length;\n while (p = p.next) {\n var str = p.data;\n var nb = n > str.length ? str.length : n;\n if (nb === str.length) ret += str;else ret += str.slice(0, n);\n n -= nb;\n if (n === 0) {\n if (nb === str.length) {\n ++c;\n if (p.next) this.head = p.next;else this.head = this.tail = null;\n } else {\n this.head = p;\n p.data = str.slice(nb);\n }\n break;\n }\n ++c;\n }\n this.length -= c;\n return ret;\n }\n\n // Consumes a specified amount of bytes from the buffered data.\n }, {\n key: \"_getBuffer\",\n value: function _getBuffer(n) {\n var ret = Buffer.allocUnsafe(n);\n var p = this.head;\n var c = 1;\n p.data.copy(ret);\n n -= p.data.length;\n while (p = p.next) {\n var buf = p.data;\n var nb = n > buf.length ? buf.length : n;\n buf.copy(ret, ret.length - n, 0, nb);\n n -= nb;\n if (n === 0) {\n if (nb === buf.length) {\n ++c;\n if (p.next) this.head = p.next;else this.head = this.tail = null;\n } else {\n this.head = p;\n p.data = buf.slice(nb);\n }\n break;\n }\n ++c;\n }\n this.length -= c;\n return ret;\n }\n\n // Make sure the linked list only shows the minimal necessary information.\n }, {\n key: custom,\n value: function value(_, options) {\n return inspect(this, _objectSpread(_objectSpread({}, options), {}, {\n // Only inspect one level.\n depth: 0,\n // It should not recurse.\n customInspect: false\n }));\n }\n }]);\n return BufferList;\n}();","'use strict';\n\n// undocumented cb() API, needed for core, not for public API\nfunction destroy(err, cb) {\n var _this = this;\n var readableDestroyed = this._readableState && this._readableState.destroyed;\n var writableDestroyed = this._writableState && this._writableState.destroyed;\n if (readableDestroyed || writableDestroyed) {\n if (cb) {\n cb(err);\n } else if (err) {\n if (!this._writableState) {\n process.nextTick(emitErrorNT, this, err);\n } else if (!this._writableState.errorEmitted) {\n this._writableState.errorEmitted = true;\n process.nextTick(emitErrorNT, this, err);\n }\n }\n return this;\n }\n\n // we set destroyed to true before firing error callbacks in order\n // to make it re-entrance safe in case destroy() is called within callbacks\n\n if (this._readableState) {\n this._readableState.destroyed = true;\n }\n\n // if this is a duplex stream mark the writable part as destroyed as well\n if (this._writableState) {\n this._writableState.destroyed = true;\n }\n this._destroy(err || null, function (err) {\n if (!cb && err) {\n if (!_this._writableState) {\n process.nextTick(emitErrorAndCloseNT, _this, err);\n } else if (!_this._writableState.errorEmitted) {\n _this._writableState.errorEmitted = true;\n process.nextTick(emitErrorAndCloseNT, _this, err);\n } else {\n process.nextTick(emitCloseNT, _this);\n }\n } else if (cb) {\n process.nextTick(emitCloseNT, _this);\n cb(err);\n } else {\n process.nextTick(emitCloseNT, _this);\n }\n });\n return this;\n}\nfunction emitErrorAndCloseNT(self, err) {\n emitErrorNT(self, err);\n emitCloseNT(self);\n}\nfunction emitCloseNT(self) {\n if (self._writableState && !self._writableState.emitClose) return;\n if (self._readableState && !self._readableState.emitClose) return;\n self.emit('close');\n}\nfunction undestroy() {\n if (this._readableState) {\n this._readableState.destroyed = false;\n this._readableState.reading = false;\n this._readableState.ended = false;\n this._readableState.endEmitted = false;\n }\n if (this._writableState) {\n this._writableState.destroyed = false;\n this._writableState.ended = false;\n this._writableState.ending = false;\n this._writableState.finalCalled = false;\n this._writableState.prefinished = false;\n this._writableState.finished = false;\n this._writableState.errorEmitted = false;\n }\n}\nfunction emitErrorNT(self, err) {\n self.emit('error', err);\n}\nfunction errorOrDestroy(stream, err) {\n // We have tests that rely on errors being emitted\n // in the same tick, so changing this is semver major.\n // For now when you opt-in to autoDestroy we allow\n // the error to be emitted nextTick. In a future\n // semver major update we should change the default to this.\n\n var rState = stream._readableState;\n var wState = stream._writableState;\n if (rState && rState.autoDestroy || wState && wState.autoDestroy) stream.destroy(err);else stream.emit('error', err);\n}\nmodule.exports = {\n destroy: destroy,\n undestroy: undestroy,\n errorOrDestroy: errorOrDestroy\n};","// Ported from https://github.com/mafintosh/end-of-stream with\n// permission from the author, Mathias Buus (@mafintosh).\n\n'use strict';\n\nvar ERR_STREAM_PREMATURE_CLOSE = require('../../../errors').codes.ERR_STREAM_PREMATURE_CLOSE;\nfunction once(callback) {\n var called = false;\n return function () {\n if (called) return;\n called = true;\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n callback.apply(this, args);\n };\n}\nfunction noop() {}\nfunction isRequest(stream) {\n return stream.setHeader && typeof stream.abort === 'function';\n}\nfunction eos(stream, opts, callback) {\n if (typeof opts === 'function') return eos(stream, null, opts);\n if (!opts) opts = {};\n callback = once(callback || noop);\n var readable = opts.readable || opts.readable !== false && stream.readable;\n var writable = opts.writable || opts.writable !== false && stream.writable;\n var onlegacyfinish = function onlegacyfinish() {\n if (!stream.writable) onfinish();\n };\n var writableEnded = stream._writableState && stream._writableState.finished;\n var onfinish = function onfinish() {\n writable = false;\n writableEnded = true;\n if (!readable) callback.call(stream);\n };\n var readableEnded = stream._readableState && stream._readableState.endEmitted;\n var onend = function onend() {\n readable = false;\n readableEnded = true;\n if (!writable) callback.call(stream);\n };\n var onerror = function onerror(err) {\n callback.call(stream, err);\n };\n var onclose = function onclose() {\n var err;\n if (readable && !readableEnded) {\n if (!stream._readableState || !stream._readableState.ended) err = new ERR_STREAM_PREMATURE_CLOSE();\n return callback.call(stream, err);\n }\n if (writable && !writableEnded) {\n if (!stream._writableState || !stream._writableState.ended) err = new ERR_STREAM_PREMATURE_CLOSE();\n return callback.call(stream, err);\n }\n };\n var onrequest = function onrequest() {\n stream.req.on('finish', onfinish);\n };\n if (isRequest(stream)) {\n stream.on('complete', onfinish);\n stream.on('abort', onclose);\n if (stream.req) onrequest();else stream.on('request', onrequest);\n } else if (writable && !stream._writableState) {\n // legacy streams\n stream.on('end', onlegacyfinish);\n stream.on('close', onlegacyfinish);\n }\n stream.on('end', onend);\n stream.on('finish', onfinish);\n if (opts.error !== false) stream.on('error', onerror);\n stream.on('close', onclose);\n return function () {\n stream.removeListener('complete', onfinish);\n stream.removeListener('abort', onclose);\n stream.removeListener('request', onrequest);\n if (stream.req) stream.req.removeListener('finish', onfinish);\n stream.removeListener('end', onlegacyfinish);\n stream.removeListener('close', onlegacyfinish);\n stream.removeListener('finish', onfinish);\n stream.removeListener('end', onend);\n stream.removeListener('error', onerror);\n stream.removeListener('close', onclose);\n };\n}\nmodule.exports = eos;","module.exports = function () {\n throw new Error('Readable.from is not available in the browser')\n};\n","// Ported from https://github.com/mafintosh/pump with\n// permission from the author, Mathias Buus (@mafintosh).\n\n'use strict';\n\nvar eos;\nfunction once(callback) {\n var called = false;\n return function () {\n if (called) return;\n called = true;\n callback.apply(void 0, arguments);\n };\n}\nvar _require$codes = require('../../../errors').codes,\n ERR_MISSING_ARGS = _require$codes.ERR_MISSING_ARGS,\n ERR_STREAM_DESTROYED = _require$codes.ERR_STREAM_DESTROYED;\nfunction noop(err) {\n // Rethrow the error if it exists to avoid swallowing it\n if (err) throw err;\n}\nfunction isRequest(stream) {\n return stream.setHeader && typeof stream.abort === 'function';\n}\nfunction destroyer(stream, reading, writing, callback) {\n callback = once(callback);\n var closed = false;\n stream.on('close', function () {\n closed = true;\n });\n if (eos === undefined) eos = require('./end-of-stream');\n eos(stream, {\n readable: reading,\n writable: writing\n }, function (err) {\n if (err) return callback(err);\n closed = true;\n callback();\n });\n var destroyed = false;\n return function (err) {\n if (closed) return;\n if (destroyed) return;\n destroyed = true;\n\n // request.destroy just do .end - .abort is what we want\n if (isRequest(stream)) return stream.abort();\n if (typeof stream.destroy === 'function') return stream.destroy();\n callback(err || new ERR_STREAM_DESTROYED('pipe'));\n };\n}\nfunction call(fn) {\n fn();\n}\nfunction pipe(from, to) {\n return from.pipe(to);\n}\nfunction popCallback(streams) {\n if (!streams.length) return noop;\n if (typeof streams[streams.length - 1] !== 'function') return noop;\n return streams.pop();\n}\nfunction pipeline() {\n for (var _len = arguments.length, streams = new Array(_len), _key = 0; _key < _len; _key++) {\n streams[_key] = arguments[_key];\n }\n var callback = popCallback(streams);\n if (Array.isArray(streams[0])) streams = streams[0];\n if (streams.length < 2) {\n throw new ERR_MISSING_ARGS('streams');\n }\n var error;\n var destroys = streams.map(function (stream, i) {\n var reading = i < streams.length - 1;\n var writing = i > 0;\n return destroyer(stream, reading, writing, function (err) {\n if (!error) error = err;\n if (err) destroys.forEach(call);\n if (reading) return;\n destroys.forEach(call);\n callback(error);\n });\n });\n return streams.reduce(pipe);\n}\nmodule.exports = pipeline;","'use strict';\n\nvar ERR_INVALID_OPT_VALUE = require('../../../errors').codes.ERR_INVALID_OPT_VALUE;\nfunction highWaterMarkFrom(options, isDuplex, duplexKey) {\n return options.highWaterMark != null ? options.highWaterMark : isDuplex ? options[duplexKey] : null;\n}\nfunction getHighWaterMark(state, options, duplexKey, isDuplex) {\n var hwm = highWaterMarkFrom(options, isDuplex, duplexKey);\n if (hwm != null) {\n if (!(isFinite(hwm) && Math.floor(hwm) === hwm) || hwm < 0) {\n var name = isDuplex ? duplexKey : 'highWaterMark';\n throw new ERR_INVALID_OPT_VALUE(name, hwm);\n }\n return Math.floor(hwm);\n }\n\n // Default value\n return state.objectMode ? 16 : 16 * 1024;\n}\nmodule.exports = {\n getHighWaterMark: getHighWaterMark\n};","module.exports = require('events').EventEmitter;\n","exports = module.exports = require('./lib/_stream_readable.js');\nexports.Stream = exports;\nexports.Readable = exports;\nexports.Writable = require('./lib/_stream_writable.js');\nexports.Duplex = require('./lib/_stream_duplex.js');\nexports.Transform = require('./lib/_stream_transform.js');\nexports.PassThrough = require('./lib/_stream_passthrough.js');\nexports.finished = require('./lib/internal/streams/end-of-stream.js');\nexports.pipeline = require('./lib/internal/streams/pipeline.js');\n","/*! safe-buffer. MIT License. Feross Aboukhadijeh */\n/* eslint-disable node/no-deprecated-api */\nvar buffer = require('buffer')\nvar Buffer = buffer.Buffer\n\n// alternative to using Object.keys for old browsers\nfunction copyProps (src, dst) {\n for (var key in src) {\n dst[key] = src[key]\n }\n}\nif (Buffer.from && Buffer.alloc && Buffer.allocUnsafe && Buffer.allocUnsafeSlow) {\n module.exports = buffer\n} else {\n // Copy properties from require('buffer')\n copyProps(buffer, exports)\n exports.Buffer = SafeBuffer\n}\n\nfunction SafeBuffer (arg, encodingOrOffset, length) {\n return Buffer(arg, encodingOrOffset, length)\n}\n\nSafeBuffer.prototype = Object.create(Buffer.prototype)\n\n// Copy static methods from Buffer\ncopyProps(Buffer, SafeBuffer)\n\nSafeBuffer.from = function (arg, encodingOrOffset, length) {\n if (typeof arg === 'number') {\n throw new TypeError('Argument must not be a number')\n }\n return Buffer(arg, encodingOrOffset, length)\n}\n\nSafeBuffer.alloc = function (size, fill, encoding) {\n if (typeof size !== 'number') {\n throw new TypeError('Argument must be a number')\n }\n var buf = Buffer(size)\n if (fill !== undefined) {\n if (typeof encoding === 'string') {\n buf.fill(fill, encoding)\n } else {\n buf.fill(fill)\n }\n } else {\n buf.fill(0)\n }\n return buf\n}\n\nSafeBuffer.allocUnsafe = function (size) {\n if (typeof size !== 'number') {\n throw new TypeError('Argument must be a number')\n }\n return Buffer(size)\n}\n\nSafeBuffer.allocUnsafeSlow = function (size) {\n if (typeof size !== 'number') {\n throw new TypeError('Argument must be a number')\n }\n return buffer.SlowBuffer(size)\n}\n","'use strict';\n\nvar GetIntrinsic = require('get-intrinsic');\nvar define = require('define-data-property');\nvar hasDescriptors = require('has-property-descriptors')();\nvar gOPD = require('gopd');\n\nvar $TypeError = require('es-errors/type');\nvar $floor = GetIntrinsic('%Math.floor%');\n\n/** @type {import('.')} */\nmodule.exports = function setFunctionLength(fn, length) {\n\tif (typeof fn !== 'function') {\n\t\tthrow new $TypeError('`fn` is not a function');\n\t}\n\tif (typeof length !== 'number' || length < 0 || length > 0xFFFFFFFF || $floor(length) !== length) {\n\t\tthrow new $TypeError('`length` must be a positive 32-bit integer');\n\t}\n\n\tvar loose = arguments.length > 2 && !!arguments[2];\n\n\tvar functionLengthIsConfigurable = true;\n\tvar functionLengthIsWritable = true;\n\tif ('length' in fn && gOPD) {\n\t\tvar desc = gOPD(fn, 'length');\n\t\tif (desc && !desc.configurable) {\n\t\t\tfunctionLengthIsConfigurable = false;\n\t\t}\n\t\tif (desc && !desc.writable) {\n\t\t\tfunctionLengthIsWritable = false;\n\t\t}\n\t}\n\n\tif (functionLengthIsConfigurable || functionLengthIsWritable || !loose) {\n\t\tif (hasDescriptors) {\n\t\t\tdefine(/** @type {Parameters[0]} */ (fn), 'length', length, true, true);\n\t\t} else {\n\t\t\tdefine(/** @type {Parameters[0]} */ (fn), 'length', length);\n\t\t}\n\t}\n\treturn fn;\n};\n","'use strict';\n\nvar GetIntrinsic = require('get-intrinsic');\nvar callBound = require('call-bind/callBound');\nvar inspect = require('object-inspect');\n\nvar $TypeError = require('es-errors/type');\nvar $WeakMap = GetIntrinsic('%WeakMap%', true);\nvar $Map = GetIntrinsic('%Map%', true);\n\nvar $weakMapGet = callBound('WeakMap.prototype.get', true);\nvar $weakMapSet = callBound('WeakMap.prototype.set', true);\nvar $weakMapHas = callBound('WeakMap.prototype.has', true);\nvar $mapGet = callBound('Map.prototype.get', true);\nvar $mapSet = callBound('Map.prototype.set', true);\nvar $mapHas = callBound('Map.prototype.has', true);\n\n/*\n* This function traverses the list returning the node corresponding to the given key.\n*\n* That node is also moved to the head of the list, so that if it's accessed again we don't need to traverse the whole list. By doing so, all the recently used nodes can be accessed relatively quickly.\n*/\n/** @type {import('.').listGetNode} */\nvar listGetNode = function (list, key) { // eslint-disable-line consistent-return\n\t/** @type {typeof list | NonNullable<(typeof list)['next']>} */\n\tvar prev = list;\n\t/** @type {(typeof list)['next']} */\n\tvar curr;\n\tfor (; (curr = prev.next) !== null; prev = curr) {\n\t\tif (curr.key === key) {\n\t\t\tprev.next = curr.next;\n\t\t\t// eslint-disable-next-line no-extra-parens\n\t\t\tcurr.next = /** @type {NonNullable} */ (list.next);\n\t\t\tlist.next = curr; // eslint-disable-line no-param-reassign\n\t\t\treturn curr;\n\t\t}\n\t}\n};\n\n/** @type {import('.').listGet} */\nvar listGet = function (objects, key) {\n\tvar node = listGetNode(objects, key);\n\treturn node && node.value;\n};\n/** @type {import('.').listSet} */\nvar listSet = function (objects, key, value) {\n\tvar node = listGetNode(objects, key);\n\tif (node) {\n\t\tnode.value = value;\n\t} else {\n\t\t// Prepend the new node to the beginning of the list\n\t\tobjects.next = /** @type {import('.').ListNode} */ ({ // eslint-disable-line no-param-reassign, no-extra-parens\n\t\t\tkey: key,\n\t\t\tnext: objects.next,\n\t\t\tvalue: value\n\t\t});\n\t}\n};\n/** @type {import('.').listHas} */\nvar listHas = function (objects, key) {\n\treturn !!listGetNode(objects, key);\n};\n\n/** @type {import('.')} */\nmodule.exports = function getSideChannel() {\n\t/** @type {WeakMap} */ var $wm;\n\t/** @type {Map} */ var $m;\n\t/** @type {import('.').RootNode} */ var $o;\n\n\t/** @type {import('.').Channel} */\n\tvar channel = {\n\t\tassert: function (key) {\n\t\t\tif (!channel.has(key)) {\n\t\t\t\tthrow new $TypeError('Side channel does not contain ' + inspect(key));\n\t\t\t}\n\t\t},\n\t\tget: function (key) { // eslint-disable-line consistent-return\n\t\t\tif ($WeakMap && key && (typeof key === 'object' || typeof key === 'function')) {\n\t\t\t\tif ($wm) {\n\t\t\t\t\treturn $weakMapGet($wm, key);\n\t\t\t\t}\n\t\t\t} else if ($Map) {\n\t\t\t\tif ($m) {\n\t\t\t\t\treturn $mapGet($m, key);\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tif ($o) { // eslint-disable-line no-lonely-if\n\t\t\t\t\treturn listGet($o, key);\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\t\thas: function (key) {\n\t\t\tif ($WeakMap && key && (typeof key === 'object' || typeof key === 'function')) {\n\t\t\t\tif ($wm) {\n\t\t\t\t\treturn $weakMapHas($wm, key);\n\t\t\t\t}\n\t\t\t} else if ($Map) {\n\t\t\t\tif ($m) {\n\t\t\t\t\treturn $mapHas($m, key);\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tif ($o) { // eslint-disable-line no-lonely-if\n\t\t\t\t\treturn listHas($o, key);\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn false;\n\t\t},\n\t\tset: function (key, value) {\n\t\t\tif ($WeakMap && key && (typeof key === 'object' || typeof key === 'function')) {\n\t\t\t\tif (!$wm) {\n\t\t\t\t\t$wm = new $WeakMap();\n\t\t\t\t}\n\t\t\t\t$weakMapSet($wm, key, value);\n\t\t\t} else if ($Map) {\n\t\t\t\tif (!$m) {\n\t\t\t\t\t$m = new $Map();\n\t\t\t\t}\n\t\t\t\t$mapSet($m, key, value);\n\t\t\t} else {\n\t\t\t\tif (!$o) {\n\t\t\t\t\t// Initialize the linked list as an empty node, so that we don't have to special-case handling of the first node: we can always refer to it as (previous node).next, instead of something like (list).head\n\t\t\t\t\t$o = { key: {}, next: null };\n\t\t\t\t}\n\t\t\t\tlistSet($o, key, value);\n\t\t\t}\n\t\t}\n\t};\n\treturn channel;\n};\n","var hasMap = typeof Map === 'function' && Map.prototype;\nvar mapSizeDescriptor = Object.getOwnPropertyDescriptor && hasMap ? Object.getOwnPropertyDescriptor(Map.prototype, 'size') : null;\nvar mapSize = hasMap && mapSizeDescriptor && typeof mapSizeDescriptor.get === 'function' ? mapSizeDescriptor.get : null;\nvar mapForEach = hasMap && Map.prototype.forEach;\nvar hasSet = typeof Set === 'function' && Set.prototype;\nvar setSizeDescriptor = Object.getOwnPropertyDescriptor && hasSet ? Object.getOwnPropertyDescriptor(Set.prototype, 'size') : null;\nvar setSize = hasSet && setSizeDescriptor && typeof setSizeDescriptor.get === 'function' ? setSizeDescriptor.get : null;\nvar setForEach = hasSet && Set.prototype.forEach;\nvar hasWeakMap = typeof WeakMap === 'function' && WeakMap.prototype;\nvar weakMapHas = hasWeakMap ? WeakMap.prototype.has : null;\nvar hasWeakSet = typeof WeakSet === 'function' && WeakSet.prototype;\nvar weakSetHas = hasWeakSet ? WeakSet.prototype.has : null;\nvar hasWeakRef = typeof WeakRef === 'function' && WeakRef.prototype;\nvar weakRefDeref = hasWeakRef ? WeakRef.prototype.deref : null;\nvar booleanValueOf = Boolean.prototype.valueOf;\nvar objectToString = Object.prototype.toString;\nvar functionToString = Function.prototype.toString;\nvar $match = String.prototype.match;\nvar $slice = String.prototype.slice;\nvar $replace = String.prototype.replace;\nvar $toUpperCase = String.prototype.toUpperCase;\nvar $toLowerCase = String.prototype.toLowerCase;\nvar $test = RegExp.prototype.test;\nvar $concat = Array.prototype.concat;\nvar $join = Array.prototype.join;\nvar $arrSlice = Array.prototype.slice;\nvar $floor = Math.floor;\nvar bigIntValueOf = typeof BigInt === 'function' ? BigInt.prototype.valueOf : null;\nvar gOPS = Object.getOwnPropertySymbols;\nvar symToString = typeof Symbol === 'function' && typeof Symbol.iterator === 'symbol' ? Symbol.prototype.toString : null;\nvar hasShammedSymbols = typeof Symbol === 'function' && typeof Symbol.iterator === 'object';\n// ie, `has-tostringtag/shams\nvar toStringTag = typeof Symbol === 'function' && Symbol.toStringTag && (typeof Symbol.toStringTag === hasShammedSymbols ? 'object' : 'symbol')\n ? Symbol.toStringTag\n : null;\nvar isEnumerable = Object.prototype.propertyIsEnumerable;\n\nvar gPO = (typeof Reflect === 'function' ? Reflect.getPrototypeOf : Object.getPrototypeOf) || (\n [].__proto__ === Array.prototype // eslint-disable-line no-proto\n ? function (O) {\n return O.__proto__; // eslint-disable-line no-proto\n }\n : null\n);\n\nfunction addNumericSeparator(num, str) {\n if (\n num === Infinity\n || num === -Infinity\n || num !== num\n || (num && num > -1000 && num < 1000)\n || $test.call(/e/, str)\n ) {\n return str;\n }\n var sepRegex = /[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;\n if (typeof num === 'number') {\n var int = num < 0 ? -$floor(-num) : $floor(num); // trunc(num)\n if (int !== num) {\n var intStr = String(int);\n var dec = $slice.call(str, intStr.length + 1);\n return $replace.call(intStr, sepRegex, '$&_') + '.' + $replace.call($replace.call(dec, /([0-9]{3})/g, '$&_'), /_$/, '');\n }\n }\n return $replace.call(str, sepRegex, '$&_');\n}\n\nvar utilInspect = require('./util.inspect');\nvar inspectCustom = utilInspect.custom;\nvar inspectSymbol = isSymbol(inspectCustom) ? inspectCustom : null;\n\nmodule.exports = function inspect_(obj, options, depth, seen) {\n var opts = options || {};\n\n if (has(opts, 'quoteStyle') && (opts.quoteStyle !== 'single' && opts.quoteStyle !== 'double')) {\n throw new TypeError('option \"quoteStyle\" must be \"single\" or \"double\"');\n }\n if (\n has(opts, 'maxStringLength') && (typeof opts.maxStringLength === 'number'\n ? opts.maxStringLength < 0 && opts.maxStringLength !== Infinity\n : opts.maxStringLength !== null\n )\n ) {\n throw new TypeError('option \"maxStringLength\", if provided, must be a positive integer, Infinity, or `null`');\n }\n var customInspect = has(opts, 'customInspect') ? opts.customInspect : true;\n if (typeof customInspect !== 'boolean' && customInspect !== 'symbol') {\n throw new TypeError('option \"customInspect\", if provided, must be `true`, `false`, or `\\'symbol\\'`');\n }\n\n if (\n has(opts, 'indent')\n && opts.indent !== null\n && opts.indent !== '\\t'\n && !(parseInt(opts.indent, 10) === opts.indent && opts.indent > 0)\n ) {\n throw new TypeError('option \"indent\" must be \"\\\\t\", an integer > 0, or `null`');\n }\n if (has(opts, 'numericSeparator') && typeof opts.numericSeparator !== 'boolean') {\n throw new TypeError('option \"numericSeparator\", if provided, must be `true` or `false`');\n }\n var numericSeparator = opts.numericSeparator;\n\n if (typeof obj === 'undefined') {\n return 'undefined';\n }\n if (obj === null) {\n return 'null';\n }\n if (typeof obj === 'boolean') {\n return obj ? 'true' : 'false';\n }\n\n if (typeof obj === 'string') {\n return inspectString(obj, opts);\n }\n if (typeof obj === 'number') {\n if (obj === 0) {\n return Infinity / obj > 0 ? '0' : '-0';\n }\n var str = String(obj);\n return numericSeparator ? addNumericSeparator(obj, str) : str;\n }\n if (typeof obj === 'bigint') {\n var bigIntStr = String(obj) + 'n';\n return numericSeparator ? addNumericSeparator(obj, bigIntStr) : bigIntStr;\n }\n\n var maxDepth = typeof opts.depth === 'undefined' ? 5 : opts.depth;\n if (typeof depth === 'undefined') { depth = 0; }\n if (depth >= maxDepth && maxDepth > 0 && typeof obj === 'object') {\n return isArray(obj) ? '[Array]' : '[Object]';\n }\n\n var indent = getIndent(opts, depth);\n\n if (typeof seen === 'undefined') {\n seen = [];\n } else if (indexOf(seen, obj) >= 0) {\n return '[Circular]';\n }\n\n function inspect(value, from, noIndent) {\n if (from) {\n seen = $arrSlice.call(seen);\n seen.push(from);\n }\n if (noIndent) {\n var newOpts = {\n depth: opts.depth\n };\n if (has(opts, 'quoteStyle')) {\n newOpts.quoteStyle = opts.quoteStyle;\n }\n return inspect_(value, newOpts, depth + 1, seen);\n }\n return inspect_(value, opts, depth + 1, seen);\n }\n\n if (typeof obj === 'function' && !isRegExp(obj)) { // in older engines, regexes are callable\n var name = nameOf(obj);\n var keys = arrObjKeys(obj, inspect);\n return '[Function' + (name ? ': ' + name : ' (anonymous)') + ']' + (keys.length > 0 ? ' { ' + $join.call(keys, ', ') + ' }' : '');\n }\n if (isSymbol(obj)) {\n var symString = hasShammedSymbols ? $replace.call(String(obj), /^(Symbol\\(.*\\))_[^)]*$/, '$1') : symToString.call(obj);\n return typeof obj === 'object' && !hasShammedSymbols ? markBoxed(symString) : symString;\n }\n if (isElement(obj)) {\n var s = '<' + $toLowerCase.call(String(obj.nodeName));\n var attrs = obj.attributes || [];\n for (var i = 0; i < attrs.length; i++) {\n s += ' ' + attrs[i].name + '=' + wrapQuotes(quote(attrs[i].value), 'double', opts);\n }\n s += '>';\n if (obj.childNodes && obj.childNodes.length) { s += '...'; }\n s += '';\n return s;\n }\n if (isArray(obj)) {\n if (obj.length === 0) { return '[]'; }\n var xs = arrObjKeys(obj, inspect);\n if (indent && !singleLineValues(xs)) {\n return '[' + indentedJoin(xs, indent) + ']';\n }\n return '[ ' + $join.call(xs, ', ') + ' ]';\n }\n if (isError(obj)) {\n var parts = arrObjKeys(obj, inspect);\n if (!('cause' in Error.prototype) && 'cause' in obj && !isEnumerable.call(obj, 'cause')) {\n return '{ [' + String(obj) + '] ' + $join.call($concat.call('[cause]: ' + inspect(obj.cause), parts), ', ') + ' }';\n }\n if (parts.length === 0) { return '[' + String(obj) + ']'; }\n return '{ [' + String(obj) + '] ' + $join.call(parts, ', ') + ' }';\n }\n if (typeof obj === 'object' && customInspect) {\n if (inspectSymbol && typeof obj[inspectSymbol] === 'function' && utilInspect) {\n return utilInspect(obj, { depth: maxDepth - depth });\n } else if (customInspect !== 'symbol' && typeof obj.inspect === 'function') {\n return obj.inspect();\n }\n }\n if (isMap(obj)) {\n var mapParts = [];\n if (mapForEach) {\n mapForEach.call(obj, function (value, key) {\n mapParts.push(inspect(key, obj, true) + ' => ' + inspect(value, obj));\n });\n }\n return collectionOf('Map', mapSize.call(obj), mapParts, indent);\n }\n if (isSet(obj)) {\n var setParts = [];\n if (setForEach) {\n setForEach.call(obj, function (value) {\n setParts.push(inspect(value, obj));\n });\n }\n return collectionOf('Set', setSize.call(obj), setParts, indent);\n }\n if (isWeakMap(obj)) {\n return weakCollectionOf('WeakMap');\n }\n if (isWeakSet(obj)) {\n return weakCollectionOf('WeakSet');\n }\n if (isWeakRef(obj)) {\n return weakCollectionOf('WeakRef');\n }\n if (isNumber(obj)) {\n return markBoxed(inspect(Number(obj)));\n }\n if (isBigInt(obj)) {\n return markBoxed(inspect(bigIntValueOf.call(obj)));\n }\n if (isBoolean(obj)) {\n return markBoxed(booleanValueOf.call(obj));\n }\n if (isString(obj)) {\n return markBoxed(inspect(String(obj)));\n }\n // note: in IE 8, sometimes `global !== window` but both are the prototypes of each other\n /* eslint-env browser */\n if (typeof window !== 'undefined' && obj === window) {\n return '{ [object Window] }';\n }\n if (obj === global) {\n return '{ [object globalThis] }';\n }\n if (!isDate(obj) && !isRegExp(obj)) {\n var ys = arrObjKeys(obj, inspect);\n var isPlainObject = gPO ? gPO(obj) === Object.prototype : obj instanceof Object || obj.constructor === Object;\n var protoTag = obj instanceof Object ? '' : 'null prototype';\n var stringTag = !isPlainObject && toStringTag && Object(obj) === obj && toStringTag in obj ? $slice.call(toStr(obj), 8, -1) : protoTag ? 'Object' : '';\n var constructorTag = isPlainObject || typeof obj.constructor !== 'function' ? '' : obj.constructor.name ? obj.constructor.name + ' ' : '';\n var tag = constructorTag + (stringTag || protoTag ? '[' + $join.call($concat.call([], stringTag || [], protoTag || []), ': ') + '] ' : '');\n if (ys.length === 0) { return tag + '{}'; }\n if (indent) {\n return tag + '{' + indentedJoin(ys, indent) + '}';\n }\n return tag + '{ ' + $join.call(ys, ', ') + ' }';\n }\n return String(obj);\n};\n\nfunction wrapQuotes(s, defaultStyle, opts) {\n var quoteChar = (opts.quoteStyle || defaultStyle) === 'double' ? '\"' : \"'\";\n return quoteChar + s + quoteChar;\n}\n\nfunction quote(s) {\n return $replace.call(String(s), /\"/g, '"');\n}\n\nfunction isArray(obj) { return toStr(obj) === '[object Array]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }\nfunction isDate(obj) { return toStr(obj) === '[object Date]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }\nfunction isRegExp(obj) { return toStr(obj) === '[object RegExp]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }\nfunction isError(obj) { return toStr(obj) === '[object Error]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }\nfunction isString(obj) { return toStr(obj) === '[object String]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }\nfunction isNumber(obj) { return toStr(obj) === '[object Number]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }\nfunction isBoolean(obj) { return toStr(obj) === '[object Boolean]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }\n\n// Symbol and BigInt do have Symbol.toStringTag by spec, so that can't be used to eliminate false positives\nfunction isSymbol(obj) {\n if (hasShammedSymbols) {\n return obj && typeof obj === 'object' && obj instanceof Symbol;\n }\n if (typeof obj === 'symbol') {\n return true;\n }\n if (!obj || typeof obj !== 'object' || !symToString) {\n return false;\n }\n try {\n symToString.call(obj);\n return true;\n } catch (e) {}\n return false;\n}\n\nfunction isBigInt(obj) {\n if (!obj || typeof obj !== 'object' || !bigIntValueOf) {\n return false;\n }\n try {\n bigIntValueOf.call(obj);\n return true;\n } catch (e) {}\n return false;\n}\n\nvar hasOwn = Object.prototype.hasOwnProperty || function (key) { return key in this; };\nfunction has(obj, key) {\n return hasOwn.call(obj, key);\n}\n\nfunction toStr(obj) {\n return objectToString.call(obj);\n}\n\nfunction nameOf(f) {\n if (f.name) { return f.name; }\n var m = $match.call(functionToString.call(f), /^function\\s*([\\w$]+)/);\n if (m) { return m[1]; }\n return null;\n}\n\nfunction indexOf(xs, x) {\n if (xs.indexOf) { return xs.indexOf(x); }\n for (var i = 0, l = xs.length; i < l; i++) {\n if (xs[i] === x) { return i; }\n }\n return -1;\n}\n\nfunction isMap(x) {\n if (!mapSize || !x || typeof x !== 'object') {\n return false;\n }\n try {\n mapSize.call(x);\n try {\n setSize.call(x);\n } catch (s) {\n return true;\n }\n return x instanceof Map; // core-js workaround, pre-v2.5.0\n } catch (e) {}\n return false;\n}\n\nfunction isWeakMap(x) {\n if (!weakMapHas || !x || typeof x !== 'object') {\n return false;\n }\n try {\n weakMapHas.call(x, weakMapHas);\n try {\n weakSetHas.call(x, weakSetHas);\n } catch (s) {\n return true;\n }\n return x instanceof WeakMap; // core-js workaround, pre-v2.5.0\n } catch (e) {}\n return false;\n}\n\nfunction isWeakRef(x) {\n if (!weakRefDeref || !x || typeof x !== 'object') {\n return false;\n }\n try {\n weakRefDeref.call(x);\n return true;\n } catch (e) {}\n return false;\n}\n\nfunction isSet(x) {\n if (!setSize || !x || typeof x !== 'object') {\n return false;\n }\n try {\n setSize.call(x);\n try {\n mapSize.call(x);\n } catch (m) {\n return true;\n }\n return x instanceof Set; // core-js workaround, pre-v2.5.0\n } catch (e) {}\n return false;\n}\n\nfunction isWeakSet(x) {\n if (!weakSetHas || !x || typeof x !== 'object') {\n return false;\n }\n try {\n weakSetHas.call(x, weakSetHas);\n try {\n weakMapHas.call(x, weakMapHas);\n } catch (s) {\n return true;\n }\n return x instanceof WeakSet; // core-js workaround, pre-v2.5.0\n } catch (e) {}\n return false;\n}\n\nfunction isElement(x) {\n if (!x || typeof x !== 'object') { return false; }\n if (typeof HTMLElement !== 'undefined' && x instanceof HTMLElement) {\n return true;\n }\n return typeof x.nodeName === 'string' && typeof x.getAttribute === 'function';\n}\n\nfunction inspectString(str, opts) {\n if (str.length > opts.maxStringLength) {\n var remaining = str.length - opts.maxStringLength;\n var trailer = '... ' + remaining + ' more character' + (remaining > 1 ? 's' : '');\n return inspectString($slice.call(str, 0, opts.maxStringLength), opts) + trailer;\n }\n // eslint-disable-next-line no-control-regex\n var s = $replace.call($replace.call(str, /(['\\\\])/g, '\\\\$1'), /[\\x00-\\x1f]/g, lowbyte);\n return wrapQuotes(s, 'single', opts);\n}\n\nfunction lowbyte(c) {\n var n = c.charCodeAt(0);\n var x = {\n 8: 'b',\n 9: 't',\n 10: 'n',\n 12: 'f',\n 13: 'r'\n }[n];\n if (x) { return '\\\\' + x; }\n return '\\\\x' + (n < 0x10 ? '0' : '') + $toUpperCase.call(n.toString(16));\n}\n\nfunction markBoxed(str) {\n return 'Object(' + str + ')';\n}\n\nfunction weakCollectionOf(type) {\n return type + ' { ? }';\n}\n\nfunction collectionOf(type, size, entries, indent) {\n var joinedEntries = indent ? indentedJoin(entries, indent) : $join.call(entries, ', ');\n return type + ' (' + size + ') {' + joinedEntries + '}';\n}\n\nfunction singleLineValues(xs) {\n for (var i = 0; i < xs.length; i++) {\n if (indexOf(xs[i], '\\n') >= 0) {\n return false;\n }\n }\n return true;\n}\n\nfunction getIndent(opts, depth) {\n var baseIndent;\n if (opts.indent === '\\t') {\n baseIndent = '\\t';\n } else if (typeof opts.indent === 'number' && opts.indent > 0) {\n baseIndent = $join.call(Array(opts.indent + 1), ' ');\n } else {\n return null;\n }\n return {\n base: baseIndent,\n prev: $join.call(Array(depth + 1), baseIndent)\n };\n}\n\nfunction indentedJoin(xs, indent) {\n if (xs.length === 0) { return ''; }\n var lineJoiner = '\\n' + indent.prev + indent.base;\n return lineJoiner + $join.call(xs, ',' + lineJoiner) + '\\n' + indent.prev;\n}\n\nfunction arrObjKeys(obj, inspect) {\n var isArr = isArray(obj);\n var xs = [];\n if (isArr) {\n xs.length = obj.length;\n for (var i = 0; i < obj.length; i++) {\n xs[i] = has(obj, i) ? inspect(obj[i], obj) : '';\n }\n }\n var syms = typeof gOPS === 'function' ? gOPS(obj) : [];\n var symMap;\n if (hasShammedSymbols) {\n symMap = {};\n for (var k = 0; k < syms.length; k++) {\n symMap['$' + syms[k]] = syms[k];\n }\n }\n\n for (var key in obj) { // eslint-disable-line no-restricted-syntax\n if (!has(obj, key)) { continue; } // eslint-disable-line no-restricted-syntax, no-continue\n if (isArr && String(Number(key)) === key && key < obj.length) { continue; } // eslint-disable-line no-restricted-syntax, no-continue\n if (hasShammedSymbols && symMap['$' + key] instanceof Symbol) {\n // this is to prevent shammed Symbols, which are stored as strings, from being included in the string key section\n continue; // eslint-disable-line no-restricted-syntax, no-continue\n } else if ($test.call(/[^\\w$]/, key)) {\n xs.push(inspect(key, obj) + ': ' + inspect(obj[key], obj));\n } else {\n xs.push(key + ': ' + inspect(obj[key], obj));\n }\n }\n if (typeof gOPS === 'function') {\n for (var j = 0; j < syms.length; j++) {\n if (isEnumerable.call(obj, syms[j])) {\n xs.push('[' + inspect(syms[j]) + ']: ' + inspect(obj[syms[j]], obj));\n }\n }\n }\n return xs;\n}\n","//filter will reemit the data if cb(err,pass) pass is truthy\n\n// reduce is more tricky\n// maybe we want to group the reductions or emit progress updates occasionally\n// the most basic reduce just emits one 'data' event after it has recieved 'end'\n\n\nvar through = require('through')\nvar Decoder = require('string_decoder').StringDecoder\n\nmodule.exports = split\n\n//TODO pass in a function to map across the lines.\n\nfunction split (matcher, mapper, options) {\n var decoder = new Decoder()\n var soFar = ''\n var maxLength = options && options.maxLength;\n var trailing = options && options.trailing === false ? false : true\n if('function' === typeof matcher)\n mapper = matcher, matcher = null\n if (!matcher)\n matcher = /\\r?\\n/\n\n function emit(stream, piece) {\n if(mapper) {\n try {\n piece = mapper(piece)\n }\n catch (err) {\n return stream.emit('error', err)\n }\n if('undefined' !== typeof piece)\n stream.queue(piece)\n }\n else\n stream.queue(piece)\n }\n\n function next (stream, buffer) {\n var pieces = ((soFar != null ? soFar : '') + buffer).split(matcher)\n soFar = pieces.pop()\n\n if (maxLength && soFar.length > maxLength)\n return stream.emit('error', new Error('maximum buffer reached'))\n\n for (var i = 0; i < pieces.length; i++) {\n var piece = pieces[i]\n emit(stream, piece)\n }\n }\n\n return through(function (b) {\n next(this, decoder.write(b))\n },\n function () {\n if(decoder.end)\n next(this, decoder.end())\n if(trailing && soFar != null)\n emit(this, soFar)\n this.queue(null)\n })\n}\n","// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\nmodule.exports = Stream;\n\nvar EE = require('events').EventEmitter;\nvar inherits = require('inherits');\n\ninherits(Stream, EE);\nStream.Readable = require('readable-stream/lib/_stream_readable.js');\nStream.Writable = require('readable-stream/lib/_stream_writable.js');\nStream.Duplex = require('readable-stream/lib/_stream_duplex.js');\nStream.Transform = require('readable-stream/lib/_stream_transform.js');\nStream.PassThrough = require('readable-stream/lib/_stream_passthrough.js');\nStream.finished = require('readable-stream/lib/internal/streams/end-of-stream.js')\nStream.pipeline = require('readable-stream/lib/internal/streams/pipeline.js')\n\n// Backwards-compat with node 0.4.x\nStream.Stream = Stream;\n\n\n\n// old-style streams. Note that the pipe method (the only relevant\n// part of this class) is overridden in the Readable class.\n\nfunction Stream() {\n EE.call(this);\n}\n\nStream.prototype.pipe = function(dest, options) {\n var source = this;\n\n function ondata(chunk) {\n if (dest.writable) {\n if (false === dest.write(chunk) && source.pause) {\n source.pause();\n }\n }\n }\n\n source.on('data', ondata);\n\n function ondrain() {\n if (source.readable && source.resume) {\n source.resume();\n }\n }\n\n dest.on('drain', ondrain);\n\n // If the 'end' option is not supplied, dest.end() will be called when\n // source gets the 'end' or 'close' events. Only dest.end() once.\n if (!dest._isStdio && (!options || options.end !== false)) {\n source.on('end', onend);\n source.on('close', onclose);\n }\n\n var didOnEnd = false;\n function onend() {\n if (didOnEnd) return;\n didOnEnd = true;\n\n dest.end();\n }\n\n\n function onclose() {\n if (didOnEnd) return;\n didOnEnd = true;\n\n if (typeof dest.destroy === 'function') dest.destroy();\n }\n\n // don't leave dangling pipes when there are errors.\n function onerror(er) {\n cleanup();\n if (EE.listenerCount(this, 'error') === 0) {\n throw er; // Unhandled stream error in pipe.\n }\n }\n\n source.on('error', onerror);\n dest.on('error', onerror);\n\n // remove all the event listeners that were added.\n function cleanup() {\n source.removeListener('data', ondata);\n dest.removeListener('drain', ondrain);\n\n source.removeListener('end', onend);\n source.removeListener('close', onclose);\n\n source.removeListener('error', onerror);\n dest.removeListener('error', onerror);\n\n source.removeListener('end', cleanup);\n source.removeListener('close', cleanup);\n\n dest.removeListener('close', cleanup);\n }\n\n source.on('end', cleanup);\n source.on('close', cleanup);\n\n dest.on('close', cleanup);\n\n dest.emit('pipe', source);\n\n // Allow for unix-like usage: A.pipe(B).pipe(C)\n return dest;\n};\n","var duplexer = require('duplexer')\nvar through = require('through')\n\nmodule.exports = function () {\n var streams\n\n if(arguments.length == 1 && Array.isArray(arguments[0])) {\n streams = arguments[0]\n } else {\n streams = [].slice.call(arguments)\n }\n\n if(streams.length == 0)\n return through()\n else if(streams.length == 1)\n return streams[0]\n\n var first = streams[0]\n , last = streams[streams.length - 1]\n , thepipe = duplexer(first, last)\n\n //pipe all the streams together\n\n function recurse (streams) {\n if(streams.length < 2)\n return\n streams[0].pipe(streams[1])\n recurse(streams.slice(1))\n }\n\n recurse(streams)\n\n function onerror () {\n var args = [].slice.call(arguments)\n args.unshift('error')\n thepipe.emit.apply(thepipe, args)\n }\n\n //es.duplex already reemits the error from the first and last stream.\n //add a listener for the inner streams in the pipeline.\n for(var i = 1; i < streams.length - 1; i ++)\n streams[i].on('error', onerror)\n\n return thepipe\n}\n","var ClientRequest = require('./lib/request')\nvar response = require('./lib/response')\nvar extend = require('xtend')\nvar statusCodes = require('builtin-status-codes')\nvar url = require('url')\n\nvar http = exports\n\nhttp.request = function (opts, cb) {\n\tif (typeof opts === 'string')\n\t\topts = url.parse(opts)\n\telse\n\t\topts = extend(opts)\n\n\t// Normally, the page is loaded from http or https, so not specifying a protocol\n\t// will result in a (valid) protocol-relative url. However, this won't work if\n\t// the protocol is something else, like 'file:'\n\tvar defaultProtocol = global.location.protocol.search(/^https?:$/) === -1 ? 'http:' : ''\n\n\tvar protocol = opts.protocol || defaultProtocol\n\tvar host = opts.hostname || opts.host\n\tvar port = opts.port\n\tvar path = opts.path || '/'\n\n\t// Necessary for IPv6 addresses\n\tif (host && host.indexOf(':') !== -1)\n\t\thost = '[' + host + ']'\n\n\t// This may be a relative url. The browser should always be able to interpret it correctly.\n\topts.url = (host ? (protocol + '//' + host) : '') + (port ? ':' + port : '') + path\n\topts.method = (opts.method || 'GET').toUpperCase()\n\topts.headers = opts.headers || {}\n\n\t// Also valid opts.auth, opts.mode\n\n\tvar req = new ClientRequest(opts)\n\tif (cb)\n\t\treq.on('response', cb)\n\treturn req\n}\n\nhttp.get = function get (opts, cb) {\n\tvar req = http.request(opts, cb)\n\treq.end()\n\treturn req\n}\n\nhttp.ClientRequest = ClientRequest\nhttp.IncomingMessage = response.IncomingMessage\n\nhttp.Agent = function () {}\nhttp.Agent.defaultMaxSockets = 4\n\nhttp.globalAgent = new http.Agent()\n\nhttp.STATUS_CODES = statusCodes\n\nhttp.METHODS = [\n\t'CHECKOUT',\n\t'CONNECT',\n\t'COPY',\n\t'DELETE',\n\t'GET',\n\t'HEAD',\n\t'LOCK',\n\t'M-SEARCH',\n\t'MERGE',\n\t'MKACTIVITY',\n\t'MKCOL',\n\t'MOVE',\n\t'NOTIFY',\n\t'OPTIONS',\n\t'PATCH',\n\t'POST',\n\t'PROPFIND',\n\t'PROPPATCH',\n\t'PURGE',\n\t'PUT',\n\t'REPORT',\n\t'SEARCH',\n\t'SUBSCRIBE',\n\t'TRACE',\n\t'UNLOCK',\n\t'UNSUBSCRIBE'\n]","exports.fetch = isFunction(global.fetch) && isFunction(global.ReadableStream)\n\nexports.writableStream = isFunction(global.WritableStream)\n\nexports.abortController = isFunction(global.AbortController)\n\n// The xhr request to example.com may violate some restrictive CSP configurations,\n// so if we're running in a browser that supports `fetch`, avoid calling getXHR()\n// and assume support for certain features below.\nvar xhr\nfunction getXHR () {\n\t// Cache the xhr value\n\tif (xhr !== undefined) return xhr\n\n\tif (global.XMLHttpRequest) {\n\t\txhr = new global.XMLHttpRequest()\n\t\t// If XDomainRequest is available (ie only, where xhr might not work\n\t\t// cross domain), use the page location. Otherwise use example.com\n\t\t// Note: this doesn't actually make an http request.\n\t\ttry {\n\t\t\txhr.open('GET', global.XDomainRequest ? '/' : 'https://example.com')\n\t\t} catch(e) {\n\t\t\txhr = null\n\t\t}\n\t} else {\n\t\t// Service workers don't have XHR\n\t\txhr = null\n\t}\n\treturn xhr\n}\n\nfunction checkTypeSupport (type) {\n\tvar xhr = getXHR()\n\tif (!xhr) return false\n\ttry {\n\t\txhr.responseType = type\n\t\treturn xhr.responseType === type\n\t} catch (e) {}\n\treturn false\n}\n\n// If fetch is supported, then arraybuffer will be supported too. Skip calling\n// checkTypeSupport(), since that calls getXHR().\nexports.arraybuffer = exports.fetch || checkTypeSupport('arraybuffer')\n\n// These next two tests unavoidably show warnings in Chrome. Since fetch will always\n// be used if it's available, just return false for these to avoid the warnings.\nexports.msstream = !exports.fetch && checkTypeSupport('ms-stream')\nexports.mozchunkedarraybuffer = !exports.fetch && checkTypeSupport('moz-chunked-arraybuffer')\n\n// If fetch is supported, then overrideMimeType will be supported too. Skip calling\n// getXHR().\nexports.overrideMimeType = exports.fetch || (getXHR() ? isFunction(getXHR().overrideMimeType) : false)\n\nfunction isFunction (value) {\n\treturn typeof value === 'function'\n}\n\nxhr = null // Help gc\n","var capability = require('./capability')\nvar inherits = require('inherits')\nvar response = require('./response')\nvar stream = require('readable-stream')\n\nvar IncomingMessage = response.IncomingMessage\nvar rStates = response.readyStates\n\nfunction decideMode (preferBinary, useFetch) {\n\tif (capability.fetch && useFetch) {\n\t\treturn 'fetch'\n\t} else if (capability.mozchunkedarraybuffer) {\n\t\treturn 'moz-chunked-arraybuffer'\n\t} else if (capability.msstream) {\n\t\treturn 'ms-stream'\n\t} else if (capability.arraybuffer && preferBinary) {\n\t\treturn 'arraybuffer'\n\t} else {\n\t\treturn 'text'\n\t}\n}\n\nvar ClientRequest = module.exports = function (opts) {\n\tvar self = this\n\tstream.Writable.call(self)\n\n\tself._opts = opts\n\tself._body = []\n\tself._headers = {}\n\tif (opts.auth)\n\t\tself.setHeader('Authorization', 'Basic ' + Buffer.from(opts.auth).toString('base64'))\n\tObject.keys(opts.headers).forEach(function (name) {\n\t\tself.setHeader(name, opts.headers[name])\n\t})\n\n\tvar preferBinary\n\tvar useFetch = true\n\tif (opts.mode === 'disable-fetch' || ('requestTimeout' in opts && !capability.abortController)) {\n\t\t// If the use of XHR should be preferred. Not typically needed.\n\t\tuseFetch = false\n\t\tpreferBinary = true\n\t} else if (opts.mode === 'prefer-streaming') {\n\t\t// If streaming is a high priority but binary compatibility and\n\t\t// the accuracy of the 'content-type' header aren't\n\t\tpreferBinary = false\n\t} else if (opts.mode === 'allow-wrong-content-type') {\n\t\t// If streaming is more important than preserving the 'content-type' header\n\t\tpreferBinary = !capability.overrideMimeType\n\t} else if (!opts.mode || opts.mode === 'default' || opts.mode === 'prefer-fast') {\n\t\t// Use binary if text streaming may corrupt data or the content-type header, or for speed\n\t\tpreferBinary = true\n\t} else {\n\t\tthrow new Error('Invalid value for opts.mode')\n\t}\n\tself._mode = decideMode(preferBinary, useFetch)\n\tself._fetchTimer = null\n\tself._socketTimeout = null\n\tself._socketTimer = null\n\n\tself.on('finish', function () {\n\t\tself._onFinish()\n\t})\n}\n\ninherits(ClientRequest, stream.Writable)\n\nClientRequest.prototype.setHeader = function (name, value) {\n\tvar self = this\n\tvar lowerName = name.toLowerCase()\n\t// This check is not necessary, but it prevents warnings from browsers about setting unsafe\n\t// headers. To be honest I'm not entirely sure hiding these warnings is a good thing, but\n\t// http-browserify did it, so I will too.\n\tif (unsafeHeaders.indexOf(lowerName) !== -1)\n\t\treturn\n\n\tself._headers[lowerName] = {\n\t\tname: name,\n\t\tvalue: value\n\t}\n}\n\nClientRequest.prototype.getHeader = function (name) {\n\tvar header = this._headers[name.toLowerCase()]\n\tif (header)\n\t\treturn header.value\n\treturn null\n}\n\nClientRequest.prototype.removeHeader = function (name) {\n\tvar self = this\n\tdelete self._headers[name.toLowerCase()]\n}\n\nClientRequest.prototype._onFinish = function () {\n\tvar self = this\n\n\tif (self._destroyed)\n\t\treturn\n\tvar opts = self._opts\n\n\tif ('timeout' in opts && opts.timeout !== 0) {\n\t\tself.setTimeout(opts.timeout)\n\t}\n\n\tvar headersObj = self._headers\n\tvar body = null\n\tif (opts.method !== 'GET' && opts.method !== 'HEAD') {\n body = new Blob(self._body, {\n type: (headersObj['content-type'] || {}).value || ''\n });\n }\n\n\t// create flattened list of headers\n\tvar headersList = []\n\tObject.keys(headersObj).forEach(function (keyName) {\n\t\tvar name = headersObj[keyName].name\n\t\tvar value = headersObj[keyName].value\n\t\tif (Array.isArray(value)) {\n\t\t\tvalue.forEach(function (v) {\n\t\t\t\theadersList.push([name, v])\n\t\t\t})\n\t\t} else {\n\t\t\theadersList.push([name, value])\n\t\t}\n\t})\n\n\tif (self._mode === 'fetch') {\n\t\tvar signal = null\n\t\tif (capability.abortController) {\n\t\t\tvar controller = new AbortController()\n\t\t\tsignal = controller.signal\n\t\t\tself._fetchAbortController = controller\n\n\t\t\tif ('requestTimeout' in opts && opts.requestTimeout !== 0) {\n\t\t\t\tself._fetchTimer = global.setTimeout(function () {\n\t\t\t\t\tself.emit('requestTimeout')\n\t\t\t\t\tif (self._fetchAbortController)\n\t\t\t\t\t\tself._fetchAbortController.abort()\n\t\t\t\t}, opts.requestTimeout)\n\t\t\t}\n\t\t}\n\n\t\tglobal.fetch(self._opts.url, {\n\t\t\tmethod: self._opts.method,\n\t\t\theaders: headersList,\n\t\t\tbody: body || undefined,\n\t\t\tmode: 'cors',\n\t\t\tcredentials: opts.withCredentials ? 'include' : 'same-origin',\n\t\t\tsignal: signal\n\t\t}).then(function (response) {\n\t\t\tself._fetchResponse = response\n\t\t\tself._resetTimers(false)\n\t\t\tself._connect()\n\t\t}, function (reason) {\n\t\t\tself._resetTimers(true)\n\t\t\tif (!self._destroyed)\n\t\t\t\tself.emit('error', reason)\n\t\t})\n\t} else {\n\t\tvar xhr = self._xhr = new global.XMLHttpRequest()\n\t\ttry {\n\t\t\txhr.open(self._opts.method, self._opts.url, true)\n\t\t} catch (err) {\n\t\t\tprocess.nextTick(function () {\n\t\t\t\tself.emit('error', err)\n\t\t\t})\n\t\t\treturn\n\t\t}\n\n\t\t// Can't set responseType on really old browsers\n\t\tif ('responseType' in xhr)\n\t\t\txhr.responseType = self._mode\n\n\t\tif ('withCredentials' in xhr)\n\t\t\txhr.withCredentials = !!opts.withCredentials\n\n\t\tif (self._mode === 'text' && 'overrideMimeType' in xhr)\n\t\t\txhr.overrideMimeType('text/plain; charset=x-user-defined')\n\n\t\tif ('requestTimeout' in opts) {\n\t\t\txhr.timeout = opts.requestTimeout\n\t\t\txhr.ontimeout = function () {\n\t\t\t\tself.emit('requestTimeout')\n\t\t\t}\n\t\t}\n\n\t\theadersList.forEach(function (header) {\n\t\t\txhr.setRequestHeader(header[0], header[1])\n\t\t})\n\n\t\tself._response = null\n\t\txhr.onreadystatechange = function () {\n\t\t\tswitch (xhr.readyState) {\n\t\t\t\tcase rStates.LOADING:\n\t\t\t\tcase rStates.DONE:\n\t\t\t\t\tself._onXHRProgress()\n\t\t\t\t\tbreak\n\t\t\t}\n\t\t}\n\t\t// Necessary for streaming in Firefox, since xhr.response is ONLY defined\n\t\t// in onprogress, not in onreadystatechange with xhr.readyState = 3\n\t\tif (self._mode === 'moz-chunked-arraybuffer') {\n\t\t\txhr.onprogress = function () {\n\t\t\t\tself._onXHRProgress()\n\t\t\t}\n\t\t}\n\n\t\txhr.onerror = function () {\n\t\t\tif (self._destroyed)\n\t\t\t\treturn\n\t\t\tself._resetTimers(true)\n\t\t\tself.emit('error', new Error('XHR error'))\n\t\t}\n\n\t\ttry {\n\t\t\txhr.send(body)\n\t\t} catch (err) {\n\t\t\tprocess.nextTick(function () {\n\t\t\t\tself.emit('error', err)\n\t\t\t})\n\t\t\treturn\n\t\t}\n\t}\n}\n\n/**\n * Checks if xhr.status is readable and non-zero, indicating no error.\n * Even though the spec says it should be available in readyState 3,\n * accessing it throws an exception in IE8\n */\nfunction statusValid (xhr) {\n\ttry {\n\t\tvar status = xhr.status\n\t\treturn (status !== null && status !== 0)\n\t} catch (e) {\n\t\treturn false\n\t}\n}\n\nClientRequest.prototype._onXHRProgress = function () {\n\tvar self = this\n\n\tself._resetTimers(false)\n\n\tif (!statusValid(self._xhr) || self._destroyed)\n\t\treturn\n\n\tif (!self._response)\n\t\tself._connect()\n\n\tself._response._onXHRProgress(self._resetTimers.bind(self))\n}\n\nClientRequest.prototype._connect = function () {\n\tvar self = this\n\n\tif (self._destroyed)\n\t\treturn\n\n\tself._response = new IncomingMessage(self._xhr, self._fetchResponse, self._mode, self._resetTimers.bind(self))\n\tself._response.on('error', function(err) {\n\t\tself.emit('error', err)\n\t})\n\n\tself.emit('response', self._response)\n}\n\nClientRequest.prototype._write = function (chunk, encoding, cb) {\n\tvar self = this\n\n\tself._body.push(chunk)\n\tcb()\n}\n\nClientRequest.prototype._resetTimers = function (done) {\n\tvar self = this\n\n\tglobal.clearTimeout(self._socketTimer)\n\tself._socketTimer = null\n\n\tif (done) {\n\t\tglobal.clearTimeout(self._fetchTimer)\n\t\tself._fetchTimer = null\n\t} else if (self._socketTimeout) {\n\t\tself._socketTimer = global.setTimeout(function () {\n\t\t\tself.emit('timeout')\n\t\t}, self._socketTimeout)\n\t}\n}\n\nClientRequest.prototype.abort = ClientRequest.prototype.destroy = function (err) {\n\tvar self = this\n\tself._destroyed = true\n\tself._resetTimers(true)\n\tif (self._response)\n\t\tself._response._destroyed = true\n\tif (self._xhr)\n\t\tself._xhr.abort()\n\telse if (self._fetchAbortController)\n\t\tself._fetchAbortController.abort()\n\n\tif (err)\n\t\tself.emit('error', err)\n}\n\nClientRequest.prototype.end = function (data, encoding, cb) {\n\tvar self = this\n\tif (typeof data === 'function') {\n\t\tcb = data\n\t\tdata = undefined\n\t}\n\n\tstream.Writable.prototype.end.call(self, data, encoding, cb)\n}\n\nClientRequest.prototype.setTimeout = function (timeout, cb) {\n\tvar self = this\n\n\tif (cb)\n\t\tself.once('timeout', cb)\n\n\tself._socketTimeout = timeout\n\tself._resetTimers(false)\n}\n\nClientRequest.prototype.flushHeaders = function () {}\nClientRequest.prototype.setNoDelay = function () {}\nClientRequest.prototype.setSocketKeepAlive = function () {}\n\n// Taken from http://www.w3.org/TR/XMLHttpRequest/#the-setrequestheader%28%29-method\nvar unsafeHeaders = [\n\t'accept-charset',\n\t'accept-encoding',\n\t'access-control-request-headers',\n\t'access-control-request-method',\n\t'connection',\n\t'content-length',\n\t'cookie',\n\t'cookie2',\n\t'date',\n\t'dnt',\n\t'expect',\n\t'host',\n\t'keep-alive',\n\t'origin',\n\t'referer',\n\t'te',\n\t'trailer',\n\t'transfer-encoding',\n\t'upgrade',\n\t'via'\n]\n","var capability = require('./capability')\nvar inherits = require('inherits')\nvar stream = require('readable-stream')\n\nvar rStates = exports.readyStates = {\n\tUNSENT: 0,\n\tOPENED: 1,\n\tHEADERS_RECEIVED: 2,\n\tLOADING: 3,\n\tDONE: 4\n}\n\nvar IncomingMessage = exports.IncomingMessage = function (xhr, response, mode, resetTimers) {\n\tvar self = this\n\tstream.Readable.call(self)\n\n\tself._mode = mode\n\tself.headers = {}\n\tself.rawHeaders = []\n\tself.trailers = {}\n\tself.rawTrailers = []\n\n\t// Fake the 'close' event, but only once 'end' fires\n\tself.on('end', function () {\n\t\t// The nextTick is necessary to prevent the 'request' module from causing an infinite loop\n\t\tprocess.nextTick(function () {\n\t\t\tself.emit('close')\n\t\t})\n\t})\n\n\tif (mode === 'fetch') {\n\t\tself._fetchResponse = response\n\n\t\tself.url = response.url\n\t\tself.statusCode = response.status\n\t\tself.statusMessage = response.statusText\n\t\t\n\t\tresponse.headers.forEach(function (header, key){\n\t\t\tself.headers[key.toLowerCase()] = header\n\t\t\tself.rawHeaders.push(key, header)\n\t\t})\n\n\t\tif (capability.writableStream) {\n\t\t\tvar writable = new WritableStream({\n\t\t\t\twrite: function (chunk) {\n\t\t\t\t\tresetTimers(false)\n\t\t\t\t\treturn new Promise(function (resolve, reject) {\n\t\t\t\t\t\tif (self._destroyed) {\n\t\t\t\t\t\t\treject()\n\t\t\t\t\t\t} else if(self.push(Buffer.from(chunk))) {\n\t\t\t\t\t\t\tresolve()\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tself._resumeFetch = resolve\n\t\t\t\t\t\t}\n\t\t\t\t\t})\n\t\t\t\t},\n\t\t\t\tclose: function () {\n\t\t\t\t\tresetTimers(true)\n\t\t\t\t\tif (!self._destroyed)\n\t\t\t\t\t\tself.push(null)\n\t\t\t\t},\n\t\t\t\tabort: function (err) {\n\t\t\t\t\tresetTimers(true)\n\t\t\t\t\tif (!self._destroyed)\n\t\t\t\t\t\tself.emit('error', err)\n\t\t\t\t}\n\t\t\t})\n\n\t\t\ttry {\n\t\t\t\tresponse.body.pipeTo(writable).catch(function (err) {\n\t\t\t\t\tresetTimers(true)\n\t\t\t\t\tif (!self._destroyed)\n\t\t\t\t\t\tself.emit('error', err)\n\t\t\t\t})\n\t\t\t\treturn\n\t\t\t} catch (e) {} // pipeTo method isn't defined. Can't find a better way to feature test this\n\t\t}\n\t\t// fallback for when writableStream or pipeTo aren't available\n\t\tvar reader = response.body.getReader()\n\t\tfunction read () {\n\t\t\treader.read().then(function (result) {\n\t\t\t\tif (self._destroyed)\n\t\t\t\t\treturn\n\t\t\t\tresetTimers(result.done)\n\t\t\t\tif (result.done) {\n\t\t\t\t\tself.push(null)\n\t\t\t\t\treturn\n\t\t\t\t}\n\t\t\t\tself.push(Buffer.from(result.value))\n\t\t\t\tread()\n\t\t\t}).catch(function (err) {\n\t\t\t\tresetTimers(true)\n\t\t\t\tif (!self._destroyed)\n\t\t\t\t\tself.emit('error', err)\n\t\t\t})\n\t\t}\n\t\tread()\n\t} else {\n\t\tself._xhr = xhr\n\t\tself._pos = 0\n\n\t\tself.url = xhr.responseURL\n\t\tself.statusCode = xhr.status\n\t\tself.statusMessage = xhr.statusText\n\t\tvar headers = xhr.getAllResponseHeaders().split(/\\r?\\n/)\n\t\theaders.forEach(function (header) {\n\t\t\tvar matches = header.match(/^([^:]+):\\s*(.*)/)\n\t\t\tif (matches) {\n\t\t\t\tvar key = matches[1].toLowerCase()\n\t\t\t\tif (key === 'set-cookie') {\n\t\t\t\t\tif (self.headers[key] === undefined) {\n\t\t\t\t\t\tself.headers[key] = []\n\t\t\t\t\t}\n\t\t\t\t\tself.headers[key].push(matches[2])\n\t\t\t\t} else if (self.headers[key] !== undefined) {\n\t\t\t\t\tself.headers[key] += ', ' + matches[2]\n\t\t\t\t} else {\n\t\t\t\t\tself.headers[key] = matches[2]\n\t\t\t\t}\n\t\t\t\tself.rawHeaders.push(matches[1], matches[2])\n\t\t\t}\n\t\t})\n\n\t\tself._charset = 'x-user-defined'\n\t\tif (!capability.overrideMimeType) {\n\t\t\tvar mimeType = self.rawHeaders['mime-type']\n\t\t\tif (mimeType) {\n\t\t\t\tvar charsetMatch = mimeType.match(/;\\s*charset=([^;])(;|$)/)\n\t\t\t\tif (charsetMatch) {\n\t\t\t\t\tself._charset = charsetMatch[1].toLowerCase()\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (!self._charset)\n\t\t\t\tself._charset = 'utf-8' // best guess\n\t\t}\n\t}\n}\n\ninherits(IncomingMessage, stream.Readable)\n\nIncomingMessage.prototype._read = function () {\n\tvar self = this\n\n\tvar resolve = self._resumeFetch\n\tif (resolve) {\n\t\tself._resumeFetch = null\n\t\tresolve()\n\t}\n}\n\nIncomingMessage.prototype._onXHRProgress = function (resetTimers) {\n\tvar self = this\n\n\tvar xhr = self._xhr\n\n\tvar response = null\n\tswitch (self._mode) {\n\t\tcase 'text':\n\t\t\tresponse = xhr.responseText\n\t\t\tif (response.length > self._pos) {\n\t\t\t\tvar newData = response.substr(self._pos)\n\t\t\t\tif (self._charset === 'x-user-defined') {\n\t\t\t\t\tvar buffer = Buffer.alloc(newData.length)\n\t\t\t\t\tfor (var i = 0; i < newData.length; i++)\n\t\t\t\t\t\tbuffer[i] = newData.charCodeAt(i) & 0xff\n\n\t\t\t\t\tself.push(buffer)\n\t\t\t\t} else {\n\t\t\t\t\tself.push(newData, self._charset)\n\t\t\t\t}\n\t\t\t\tself._pos = response.length\n\t\t\t}\n\t\t\tbreak\n\t\tcase 'arraybuffer':\n\t\t\tif (xhr.readyState !== rStates.DONE || !xhr.response)\n\t\t\t\tbreak\n\t\t\tresponse = xhr.response\n\t\t\tself.push(Buffer.from(new Uint8Array(response)))\n\t\t\tbreak\n\t\tcase 'moz-chunked-arraybuffer': // take whole\n\t\t\tresponse = xhr.response\n\t\t\tif (xhr.readyState !== rStates.LOADING || !response)\n\t\t\t\tbreak\n\t\t\tself.push(Buffer.from(new Uint8Array(response)))\n\t\t\tbreak\n\t\tcase 'ms-stream':\n\t\t\tresponse = xhr.response\n\t\t\tif (xhr.readyState !== rStates.LOADING)\n\t\t\t\tbreak\n\t\t\tvar reader = new global.MSStreamReader()\n\t\t\treader.onprogress = function () {\n\t\t\t\tif (reader.result.byteLength > self._pos) {\n\t\t\t\t\tself.push(Buffer.from(new Uint8Array(reader.result.slice(self._pos))))\n\t\t\t\t\tself._pos = reader.result.byteLength\n\t\t\t\t}\n\t\t\t}\n\t\t\treader.onload = function () {\n\t\t\t\tresetTimers(true)\n\t\t\t\tself.push(null)\n\t\t\t}\n\t\t\t// reader.onerror = ??? // TODO: this\n\t\t\treader.readAsArrayBuffer(response)\n\t\t\tbreak\n\t}\n\n\t// The ms-stream case handles end separately in reader.onload()\n\tif (self._xhr.readyState === rStates.DONE && self._mode !== 'ms-stream') {\n\t\tresetTimers(true)\n\t\tself.push(null)\n\t}\n}\n","// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n'use strict';\n\n/**/\n\nvar Buffer = require('safe-buffer').Buffer;\n/**/\n\nvar isEncoding = Buffer.isEncoding || function (encoding) {\n encoding = '' + encoding;\n switch (encoding && encoding.toLowerCase()) {\n case 'hex':case 'utf8':case 'utf-8':case 'ascii':case 'binary':case 'base64':case 'ucs2':case 'ucs-2':case 'utf16le':case 'utf-16le':case 'raw':\n return true;\n default:\n return false;\n }\n};\n\nfunction _normalizeEncoding(enc) {\n if (!enc) return 'utf8';\n var retried;\n while (true) {\n switch (enc) {\n case 'utf8':\n case 'utf-8':\n return 'utf8';\n case 'ucs2':\n case 'ucs-2':\n case 'utf16le':\n case 'utf-16le':\n return 'utf16le';\n case 'latin1':\n case 'binary':\n return 'latin1';\n case 'base64':\n case 'ascii':\n case 'hex':\n return enc;\n default:\n if (retried) return; // undefined\n enc = ('' + enc).toLowerCase();\n retried = true;\n }\n }\n};\n\n// Do not cache `Buffer.isEncoding` when checking encoding names as some\n// modules monkey-patch it to support additional encodings\nfunction normalizeEncoding(enc) {\n var nenc = _normalizeEncoding(enc);\n if (typeof nenc !== 'string' && (Buffer.isEncoding === isEncoding || !isEncoding(enc))) throw new Error('Unknown encoding: ' + enc);\n return nenc || enc;\n}\n\n// StringDecoder provides an interface for efficiently splitting a series of\n// buffers into a series of JS strings without breaking apart multi-byte\n// characters.\nexports.StringDecoder = StringDecoder;\nfunction StringDecoder(encoding) {\n this.encoding = normalizeEncoding(encoding);\n var nb;\n switch (this.encoding) {\n case 'utf16le':\n this.text = utf16Text;\n this.end = utf16End;\n nb = 4;\n break;\n case 'utf8':\n this.fillLast = utf8FillLast;\n nb = 4;\n break;\n case 'base64':\n this.text = base64Text;\n this.end = base64End;\n nb = 3;\n break;\n default:\n this.write = simpleWrite;\n this.end = simpleEnd;\n return;\n }\n this.lastNeed = 0;\n this.lastTotal = 0;\n this.lastChar = Buffer.allocUnsafe(nb);\n}\n\nStringDecoder.prototype.write = function (buf) {\n if (buf.length === 0) return '';\n var r;\n var i;\n if (this.lastNeed) {\n r = this.fillLast(buf);\n if (r === undefined) return '';\n i = this.lastNeed;\n this.lastNeed = 0;\n } else {\n i = 0;\n }\n if (i < buf.length) return r ? r + this.text(buf, i) : this.text(buf, i);\n return r || '';\n};\n\nStringDecoder.prototype.end = utf8End;\n\n// Returns only complete characters in a Buffer\nStringDecoder.prototype.text = utf8Text;\n\n// Attempts to complete a partial non-UTF-8 character using bytes from a Buffer\nStringDecoder.prototype.fillLast = function (buf) {\n if (this.lastNeed <= buf.length) {\n buf.copy(this.lastChar, this.lastTotal - this.lastNeed, 0, this.lastNeed);\n return this.lastChar.toString(this.encoding, 0, this.lastTotal);\n }\n buf.copy(this.lastChar, this.lastTotal - this.lastNeed, 0, buf.length);\n this.lastNeed -= buf.length;\n};\n\n// Checks the type of a UTF-8 byte, whether it's ASCII, a leading byte, or a\n// continuation byte. If an invalid byte is detected, -2 is returned.\nfunction utf8CheckByte(byte) {\n if (byte <= 0x7F) return 0;else if (byte >> 5 === 0x06) return 2;else if (byte >> 4 === 0x0E) return 3;else if (byte >> 3 === 0x1E) return 4;\n return byte >> 6 === 0x02 ? -1 : -2;\n}\n\n// Checks at most 3 bytes at the end of a Buffer in order to detect an\n// incomplete multi-byte UTF-8 character. The total number of bytes (2, 3, or 4)\n// needed to complete the UTF-8 character (if applicable) are returned.\nfunction utf8CheckIncomplete(self, buf, i) {\n var j = buf.length - 1;\n if (j < i) return 0;\n var nb = utf8CheckByte(buf[j]);\n if (nb >= 0) {\n if (nb > 0) self.lastNeed = nb - 1;\n return nb;\n }\n if (--j < i || nb === -2) return 0;\n nb = utf8CheckByte(buf[j]);\n if (nb >= 0) {\n if (nb > 0) self.lastNeed = nb - 2;\n return nb;\n }\n if (--j < i || nb === -2) return 0;\n nb = utf8CheckByte(buf[j]);\n if (nb >= 0) {\n if (nb > 0) {\n if (nb === 2) nb = 0;else self.lastNeed = nb - 3;\n }\n return nb;\n }\n return 0;\n}\n\n// Validates as many continuation bytes for a multi-byte UTF-8 character as\n// needed or are available. If we see a non-continuation byte where we expect\n// one, we \"replace\" the validated continuation bytes we've seen so far with\n// a single UTF-8 replacement character ('\\ufffd'), to match v8's UTF-8 decoding\n// behavior. The continuation byte check is included three times in the case\n// where all of the continuation bytes for a character exist in the same buffer.\n// It is also done this way as a slight performance increase instead of using a\n// loop.\nfunction utf8CheckExtraBytes(self, buf, p) {\n if ((buf[0] & 0xC0) !== 0x80) {\n self.lastNeed = 0;\n return '\\ufffd';\n }\n if (self.lastNeed > 1 && buf.length > 1) {\n if ((buf[1] & 0xC0) !== 0x80) {\n self.lastNeed = 1;\n return '\\ufffd';\n }\n if (self.lastNeed > 2 && buf.length > 2) {\n if ((buf[2] & 0xC0) !== 0x80) {\n self.lastNeed = 2;\n return '\\ufffd';\n }\n }\n }\n}\n\n// Attempts to complete a multi-byte UTF-8 character using bytes from a Buffer.\nfunction utf8FillLast(buf) {\n var p = this.lastTotal - this.lastNeed;\n var r = utf8CheckExtraBytes(this, buf, p);\n if (r !== undefined) return r;\n if (this.lastNeed <= buf.length) {\n buf.copy(this.lastChar, p, 0, this.lastNeed);\n return this.lastChar.toString(this.encoding, 0, this.lastTotal);\n }\n buf.copy(this.lastChar, p, 0, buf.length);\n this.lastNeed -= buf.length;\n}\n\n// Returns all complete UTF-8 characters in a Buffer. If the Buffer ended on a\n// partial character, the character's bytes are buffered until the required\n// number of bytes are available.\nfunction utf8Text(buf, i) {\n var total = utf8CheckIncomplete(this, buf, i);\n if (!this.lastNeed) return buf.toString('utf8', i);\n this.lastTotal = total;\n var end = buf.length - (total - this.lastNeed);\n buf.copy(this.lastChar, 0, end);\n return buf.toString('utf8', i, end);\n}\n\n// For UTF-8, a replacement character is added when ending on a partial\n// character.\nfunction utf8End(buf) {\n var r = buf && buf.length ? this.write(buf) : '';\n if (this.lastNeed) return r + '\\ufffd';\n return r;\n}\n\n// UTF-16LE typically needs two bytes per character, but even if we have an even\n// number of bytes available, we need to check if we end on a leading/high\n// surrogate. In that case, we need to wait for the next two bytes in order to\n// decode the last character properly.\nfunction utf16Text(buf, i) {\n if ((buf.length - i) % 2 === 0) {\n var r = buf.toString('utf16le', i);\n if (r) {\n var c = r.charCodeAt(r.length - 1);\n if (c >= 0xD800 && c <= 0xDBFF) {\n this.lastNeed = 2;\n this.lastTotal = 4;\n this.lastChar[0] = buf[buf.length - 2];\n this.lastChar[1] = buf[buf.length - 1];\n return r.slice(0, -1);\n }\n }\n return r;\n }\n this.lastNeed = 1;\n this.lastTotal = 2;\n this.lastChar[0] = buf[buf.length - 1];\n return buf.toString('utf16le', i, buf.length - 1);\n}\n\n// For UTF-16LE we do not explicitly append special replacement characters if we\n// end on a partial character, we simply let v8 handle that.\nfunction utf16End(buf) {\n var r = buf && buf.length ? this.write(buf) : '';\n if (this.lastNeed) {\n var end = this.lastTotal - this.lastNeed;\n return r + this.lastChar.toString('utf16le', 0, end);\n }\n return r;\n}\n\nfunction base64Text(buf, i) {\n var n = (buf.length - i) % 3;\n if (n === 0) return buf.toString('base64', i);\n this.lastNeed = 3 - n;\n this.lastTotal = 3;\n if (n === 1) {\n this.lastChar[0] = buf[buf.length - 1];\n } else {\n this.lastChar[0] = buf[buf.length - 2];\n this.lastChar[1] = buf[buf.length - 1];\n }\n return buf.toString('base64', i, buf.length - n);\n}\n\nfunction base64End(buf) {\n var r = buf && buf.length ? this.write(buf) : '';\n if (this.lastNeed) return r + this.lastChar.toString('base64', 0, 3 - this.lastNeed);\n return r;\n}\n\n// Pass bytes on through for single-byte encodings (e.g. ascii, latin1, hex)\nfunction simpleWrite(buf) {\n return buf.toString(this.encoding);\n}\n\nfunction simpleEnd(buf) {\n return buf && buf.length ? this.write(buf) : '';\n}","'use strict';\nconst isRegexp = require('is-regexp');\nconst isObj = require('is-obj');\nconst getOwnEnumPropSymbols = require('get-own-enumerable-property-symbols').default;\n\nmodule.exports = (val, opts, pad) => {\n\tconst seen = [];\n\n\treturn (function stringify(val, opts, pad) {\n\t\topts = opts || {};\n\t\topts.indent = opts.indent || '\\t';\n\t\tpad = pad || '';\n\n\t\tlet tokens;\n\n\t\tif (opts.inlineCharacterLimit === undefined) {\n\t\t\ttokens = {\n\t\t\t\tnewLine: '\\n',\n\t\t\t\tnewLineOrSpace: '\\n',\n\t\t\t\tpad,\n\t\t\t\tindent: pad + opts.indent\n\t\t\t};\n\t\t} else {\n\t\t\ttokens = {\n\t\t\t\tnewLine: '@@__STRINGIFY_OBJECT_NEW_LINE__@@',\n\t\t\t\tnewLineOrSpace: '@@__STRINGIFY_OBJECT_NEW_LINE_OR_SPACE__@@',\n\t\t\t\tpad: '@@__STRINGIFY_OBJECT_PAD__@@',\n\t\t\t\tindent: '@@__STRINGIFY_OBJECT_INDENT__@@'\n\t\t\t};\n\t\t}\n\n\t\tconst expandWhiteSpace = string => {\n\t\t\tif (opts.inlineCharacterLimit === undefined) {\n\t\t\t\treturn string;\n\t\t\t}\n\n\t\t\tconst oneLined = string\n\t\t\t\t.replace(new RegExp(tokens.newLine, 'g'), '')\n\t\t\t\t.replace(new RegExp(tokens.newLineOrSpace, 'g'), ' ')\n\t\t\t\t.replace(new RegExp(tokens.pad + '|' + tokens.indent, 'g'), '');\n\n\t\t\tif (oneLined.length <= opts.inlineCharacterLimit) {\n\t\t\t\treturn oneLined;\n\t\t\t}\n\n\t\t\treturn string\n\t\t\t\t.replace(new RegExp(tokens.newLine + '|' + tokens.newLineOrSpace, 'g'), '\\n')\n\t\t\t\t.replace(new RegExp(tokens.pad, 'g'), pad)\n\t\t\t\t.replace(new RegExp(tokens.indent, 'g'), pad + opts.indent);\n\t\t};\n\n\t\tif (seen.indexOf(val) !== -1) {\n\t\t\treturn '\"[Circular]\"';\n\t\t}\n\n\t\tif (val === null ||\n\t\t\tval === undefined ||\n\t\t\ttypeof val === 'number' ||\n\t\t\ttypeof val === 'boolean' ||\n\t\t\ttypeof val === 'function' ||\n\t\t\ttypeof val === 'symbol' ||\n\t\t\tisRegexp(val)) {\n\t\t\treturn String(val);\n\t\t}\n\n\t\tif (val instanceof Date) {\n\t\t\treturn `new Date('${val.toISOString()}')`;\n\t\t}\n\n\t\tif (Array.isArray(val)) {\n\t\t\tif (val.length === 0) {\n\t\t\t\treturn '[]';\n\t\t\t}\n\n\t\t\tseen.push(val);\n\n\t\t\tconst ret = '[' + tokens.newLine + val.map((el, i) => {\n\t\t\t\tconst eol = val.length - 1 === i ? tokens.newLine : ',' + tokens.newLineOrSpace;\n\t\t\t\tlet value = stringify(el, opts, pad + opts.indent);\n\t\t\t\tif (opts.transform) {\n\t\t\t\t\tvalue = opts.transform(val, i, value);\n\t\t\t\t}\n\t\t\t\treturn tokens.indent + value + eol;\n\t\t\t}).join('') + tokens.pad + ']';\n\n\t\t\tseen.pop();\n\n\t\t\treturn expandWhiteSpace(ret);\n\t\t}\n\n\t\tif (isObj(val)) {\n\t\t\tlet objKeys = Object.keys(val).concat(getOwnEnumPropSymbols(val));\n\n\t\t\tif (opts.filter) {\n\t\t\t\tobjKeys = objKeys.filter(el => opts.filter(val, el));\n\t\t\t}\n\n\t\t\tif (objKeys.length === 0) {\n\t\t\t\treturn '{}';\n\t\t\t}\n\n\t\t\tseen.push(val);\n\n\t\t\tconst ret = '{' + tokens.newLine + objKeys.map((el, i) => {\n\t\t\t\tconst eol = objKeys.length - 1 === i ? tokens.newLine : ',' + tokens.newLineOrSpace;\n\t\t\t\tconst isSymbol = typeof el === 'symbol';\n\t\t\t\tconst isClassic = !isSymbol && /^[a-z$_][a-z$_0-9]*$/i.test(el);\n\t\t\t\tconst key = isSymbol || isClassic ? el : stringify(el, opts);\n\t\t\t\tlet value = stringify(val[el], opts, pad + opts.indent);\n\t\t\t\tif (opts.transform) {\n\t\t\t\t\tvalue = opts.transform(val, el, value);\n\t\t\t\t}\n\t\t\t\treturn tokens.indent + String(key) + ': ' + value + eol;\n\t\t\t}).join('') + tokens.pad + '}';\n\n\t\t\tseen.pop();\n\n\t\t\treturn expandWhiteSpace(ret);\n\t\t}\n\n\t\tval = String(val).replace(/[\\r\\n]/g, x => x === '\\n' ? '\\\\n' : '\\\\r');\n\n\t\tif (opts.singleQuotes === false) {\n\t\t\tval = val.replace(/\"/g, '\\\\\"');\n\t\t\treturn `\"${val}\"`;\n\t\t}\n\n\t\tval = val.replace(/\\\\?'/g, '\\\\\\'');\n\t\treturn `'${val}'`;\n\t})(val, opts, pad);\n};\n","var Stream = require('stream')\n\n// through\n//\n// a stream that does nothing but re-emit the input.\n// useful for aggregating a series of changing but not ending streams into one stream)\n\nexports = module.exports = through\nthrough.through = through\n\n//create a readable writable stream.\n\nfunction through (write, end, opts) {\n write = write || function (data) { this.queue(data) }\n end = end || function () { this.queue(null) }\n\n var ended = false, destroyed = false, buffer = [], _ended = false\n var stream = new Stream()\n stream.readable = stream.writable = true\n stream.paused = false\n\n// stream.autoPause = !(opts && opts.autoPause === false)\n stream.autoDestroy = !(opts && opts.autoDestroy === false)\n\n stream.write = function (data) {\n write.call(this, data)\n return !stream.paused\n }\n\n function drain() {\n while(buffer.length && !stream.paused) {\n var data = buffer.shift()\n if(null === data)\n return stream.emit('end')\n else\n stream.emit('data', data)\n }\n }\n\n stream.queue = stream.push = function (data) {\n// console.error(ended)\n if(_ended) return stream\n if(data === null) _ended = true\n buffer.push(data)\n drain()\n return stream\n }\n\n //this will be registered as the first 'end' listener\n //must call destroy next tick, to make sure we're after any\n //stream piped from here.\n //this is only a problem if end is not emitted synchronously.\n //a nicer way to do this is to make sure this is the last listener for 'end'\n\n stream.on('end', function () {\n stream.readable = false\n if(!stream.writable && stream.autoDestroy)\n process.nextTick(function () {\n stream.destroy()\n })\n })\n\n function _end () {\n stream.writable = false\n end.call(stream)\n if(!stream.readable && stream.autoDestroy)\n stream.destroy()\n }\n\n stream.end = function (data) {\n if(ended) return\n ended = true\n if(arguments.length) stream.write(data)\n _end() // will emit or queue\n return stream\n }\n\n stream.destroy = function () {\n if(destroyed) return\n destroyed = true\n ended = true\n buffer.length = 0\n stream.writable = stream.readable = false\n stream.emit('close')\n return stream\n }\n\n stream.pause = function () {\n if(stream.paused) return\n stream.paused = true\n return stream\n }\n\n stream.resume = function () {\n if(stream.paused) {\n stream.paused = false\n stream.emit('resume')\n }\n drain()\n //may have become paused again,\n //as drain emits 'data'.\n if(!stream.paused)\n stream.emit('drain')\n return stream\n }\n return stream\n}\n\n","/*! https://mths.be/punycode v1.4.1 by @mathias */\n;(function(root) {\n\n\t/** Detect free variables */\n\tvar freeExports = typeof exports == 'object' && exports &&\n\t\t!exports.nodeType && exports;\n\tvar freeModule = typeof module == 'object' && module &&\n\t\t!module.nodeType && module;\n\tvar freeGlobal = typeof global == 'object' && global;\n\tif (\n\t\tfreeGlobal.global === freeGlobal ||\n\t\tfreeGlobal.window === freeGlobal ||\n\t\tfreeGlobal.self === freeGlobal\n\t) {\n\t\troot = freeGlobal;\n\t}\n\n\t/**\n\t * The `punycode` object.\n\t * @name punycode\n\t * @type Object\n\t */\n\tvar punycode,\n\n\t/** Highest positive signed 32-bit float value */\n\tmaxInt = 2147483647, // aka. 0x7FFFFFFF or 2^31-1\n\n\t/** Bootstring parameters */\n\tbase = 36,\n\ttMin = 1,\n\ttMax = 26,\n\tskew = 38,\n\tdamp = 700,\n\tinitialBias = 72,\n\tinitialN = 128, // 0x80\n\tdelimiter = '-', // '\\x2D'\n\n\t/** Regular expressions */\n\tregexPunycode = /^xn--/,\n\tregexNonASCII = /[^\\x20-\\x7E]/, // unprintable ASCII chars + non-ASCII chars\n\tregexSeparators = /[\\x2E\\u3002\\uFF0E\\uFF61]/g, // RFC 3490 separators\n\n\t/** Error messages */\n\terrors = {\n\t\t'overflow': 'Overflow: input needs wider integers to process',\n\t\t'not-basic': 'Illegal input >= 0x80 (not a basic code point)',\n\t\t'invalid-input': 'Invalid input'\n\t},\n\n\t/** Convenience shortcuts */\n\tbaseMinusTMin = base - tMin,\n\tfloor = Math.floor,\n\tstringFromCharCode = String.fromCharCode,\n\n\t/** Temporary variable */\n\tkey;\n\n\t/*--------------------------------------------------------------------------*/\n\n\t/**\n\t * A generic error utility function.\n\t * @private\n\t * @param {String} type The error type.\n\t * @returns {Error} Throws a `RangeError` with the applicable error message.\n\t */\n\tfunction error(type) {\n\t\tthrow new RangeError(errors[type]);\n\t}\n\n\t/**\n\t * A generic `Array#map` utility function.\n\t * @private\n\t * @param {Array} array The array to iterate over.\n\t * @param {Function} callback The function that gets called for every array\n\t * item.\n\t * @returns {Array} A new array of values returned by the callback function.\n\t */\n\tfunction map(array, fn) {\n\t\tvar length = array.length;\n\t\tvar result = [];\n\t\twhile (length--) {\n\t\t\tresult[length] = fn(array[length]);\n\t\t}\n\t\treturn result;\n\t}\n\n\t/**\n\t * A simple `Array#map`-like wrapper to work with domain name strings or email\n\t * addresses.\n\t * @private\n\t * @param {String} domain The domain name or email address.\n\t * @param {Function} callback The function that gets called for every\n\t * character.\n\t * @returns {Array} A new string of characters returned by the callback\n\t * function.\n\t */\n\tfunction mapDomain(string, fn) {\n\t\tvar parts = string.split('@');\n\t\tvar result = '';\n\t\tif (parts.length > 1) {\n\t\t\t// In email addresses, only the domain name should be punycoded. Leave\n\t\t\t// the local part (i.e. everything up to `@`) intact.\n\t\t\tresult = parts[0] + '@';\n\t\t\tstring = parts[1];\n\t\t}\n\t\t// Avoid `split(regex)` for IE8 compatibility. See #17.\n\t\tstring = string.replace(regexSeparators, '\\x2E');\n\t\tvar labels = string.split('.');\n\t\tvar encoded = map(labels, fn).join('.');\n\t\treturn result + encoded;\n\t}\n\n\t/**\n\t * Creates an array containing the numeric code points of each Unicode\n\t * character in the string. While JavaScript uses UCS-2 internally,\n\t * this function will convert a pair of surrogate halves (each of which\n\t * UCS-2 exposes as separate characters) into a single code point,\n\t * matching UTF-16.\n\t * @see `punycode.ucs2.encode`\n\t * @see \n\t * @memberOf punycode.ucs2\n\t * @name decode\n\t * @param {String} string The Unicode input string (UCS-2).\n\t * @returns {Array} The new array of code points.\n\t */\n\tfunction ucs2decode(string) {\n\t\tvar output = [],\n\t\t counter = 0,\n\t\t length = string.length,\n\t\t value,\n\t\t extra;\n\t\twhile (counter < length) {\n\t\t\tvalue = string.charCodeAt(counter++);\n\t\t\tif (value >= 0xD800 && value <= 0xDBFF && counter < length) {\n\t\t\t\t// high surrogate, and there is a next character\n\t\t\t\textra = string.charCodeAt(counter++);\n\t\t\t\tif ((extra & 0xFC00) == 0xDC00) { // low surrogate\n\t\t\t\t\toutput.push(((value & 0x3FF) << 10) + (extra & 0x3FF) + 0x10000);\n\t\t\t\t} else {\n\t\t\t\t\t// unmatched surrogate; only append this code unit, in case the next\n\t\t\t\t\t// code unit is the high surrogate of a surrogate pair\n\t\t\t\t\toutput.push(value);\n\t\t\t\t\tcounter--;\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\toutput.push(value);\n\t\t\t}\n\t\t}\n\t\treturn output;\n\t}\n\n\t/**\n\t * Creates a string based on an array of numeric code points.\n\t * @see `punycode.ucs2.decode`\n\t * @memberOf punycode.ucs2\n\t * @name encode\n\t * @param {Array} codePoints The array of numeric code points.\n\t * @returns {String} The new Unicode string (UCS-2).\n\t */\n\tfunction ucs2encode(array) {\n\t\treturn map(array, function(value) {\n\t\t\tvar output = '';\n\t\t\tif (value > 0xFFFF) {\n\t\t\t\tvalue -= 0x10000;\n\t\t\t\toutput += stringFromCharCode(value >>> 10 & 0x3FF | 0xD800);\n\t\t\t\tvalue = 0xDC00 | value & 0x3FF;\n\t\t\t}\n\t\t\toutput += stringFromCharCode(value);\n\t\t\treturn output;\n\t\t}).join('');\n\t}\n\n\t/**\n\t * Converts a basic code point into a digit/integer.\n\t * @see `digitToBasic()`\n\t * @private\n\t * @param {Number} codePoint The basic numeric code point value.\n\t * @returns {Number} The numeric value of a basic code point (for use in\n\t * representing integers) in the range `0` to `base - 1`, or `base` if\n\t * the code point does not represent a value.\n\t */\n\tfunction basicToDigit(codePoint) {\n\t\tif (codePoint - 48 < 10) {\n\t\t\treturn codePoint - 22;\n\t\t}\n\t\tif (codePoint - 65 < 26) {\n\t\t\treturn codePoint - 65;\n\t\t}\n\t\tif (codePoint - 97 < 26) {\n\t\t\treturn codePoint - 97;\n\t\t}\n\t\treturn base;\n\t}\n\n\t/**\n\t * Converts a digit/integer into a basic code point.\n\t * @see `basicToDigit()`\n\t * @private\n\t * @param {Number} digit The numeric value of a basic code point.\n\t * @returns {Number} The basic code point whose value (when used for\n\t * representing integers) is `digit`, which needs to be in the range\n\t * `0` to `base - 1`. If `flag` is non-zero, the uppercase form is\n\t * used; else, the lowercase form is used. The behavior is undefined\n\t * if `flag` is non-zero and `digit` has no uppercase form.\n\t */\n\tfunction digitToBasic(digit, flag) {\n\t\t// 0..25 map to ASCII a..z or A..Z\n\t\t// 26..35 map to ASCII 0..9\n\t\treturn digit + 22 + 75 * (digit < 26) - ((flag != 0) << 5);\n\t}\n\n\t/**\n\t * Bias adaptation function as per section 3.4 of RFC 3492.\n\t * https://tools.ietf.org/html/rfc3492#section-3.4\n\t * @private\n\t */\n\tfunction adapt(delta, numPoints, firstTime) {\n\t\tvar k = 0;\n\t\tdelta = firstTime ? floor(delta / damp) : delta >> 1;\n\t\tdelta += floor(delta / numPoints);\n\t\tfor (/* no initialization */; delta > baseMinusTMin * tMax >> 1; k += base) {\n\t\t\tdelta = floor(delta / baseMinusTMin);\n\t\t}\n\t\treturn floor(k + (baseMinusTMin + 1) * delta / (delta + skew));\n\t}\n\n\t/**\n\t * Converts a Punycode string of ASCII-only symbols to a string of Unicode\n\t * symbols.\n\t * @memberOf punycode\n\t * @param {String} input The Punycode string of ASCII-only symbols.\n\t * @returns {String} The resulting string of Unicode symbols.\n\t */\n\tfunction decode(input) {\n\t\t// Don't use UCS-2\n\t\tvar output = [],\n\t\t inputLength = input.length,\n\t\t out,\n\t\t i = 0,\n\t\t n = initialN,\n\t\t bias = initialBias,\n\t\t basic,\n\t\t j,\n\t\t index,\n\t\t oldi,\n\t\t w,\n\t\t k,\n\t\t digit,\n\t\t t,\n\t\t /** Cached calculation results */\n\t\t baseMinusT;\n\n\t\t// Handle the basic code points: let `basic` be the number of input code\n\t\t// points before the last delimiter, or `0` if there is none, then copy\n\t\t// the first basic code points to the output.\n\n\t\tbasic = input.lastIndexOf(delimiter);\n\t\tif (basic < 0) {\n\t\t\tbasic = 0;\n\t\t}\n\n\t\tfor (j = 0; j < basic; ++j) {\n\t\t\t// if it's not a basic code point\n\t\t\tif (input.charCodeAt(j) >= 0x80) {\n\t\t\t\terror('not-basic');\n\t\t\t}\n\t\t\toutput.push(input.charCodeAt(j));\n\t\t}\n\n\t\t// Main decoding loop: start just after the last delimiter if any basic code\n\t\t// points were copied; start at the beginning otherwise.\n\n\t\tfor (index = basic > 0 ? basic + 1 : 0; index < inputLength; /* no final expression */) {\n\n\t\t\t// `index` is the index of the next character to be consumed.\n\t\t\t// Decode a generalized variable-length integer into `delta`,\n\t\t\t// which gets added to `i`. The overflow checking is easier\n\t\t\t// if we increase `i` as we go, then subtract off its starting\n\t\t\t// value at the end to obtain `delta`.\n\t\t\tfor (oldi = i, w = 1, k = base; /* no condition */; k += base) {\n\n\t\t\t\tif (index >= inputLength) {\n\t\t\t\t\terror('invalid-input');\n\t\t\t\t}\n\n\t\t\t\tdigit = basicToDigit(input.charCodeAt(index++));\n\n\t\t\t\tif (digit >= base || digit > floor((maxInt - i) / w)) {\n\t\t\t\t\terror('overflow');\n\t\t\t\t}\n\n\t\t\t\ti += digit * w;\n\t\t\t\tt = k <= bias ? tMin : (k >= bias + tMax ? tMax : k - bias);\n\n\t\t\t\tif (digit < t) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\n\t\t\t\tbaseMinusT = base - t;\n\t\t\t\tif (w > floor(maxInt / baseMinusT)) {\n\t\t\t\t\terror('overflow');\n\t\t\t\t}\n\n\t\t\t\tw *= baseMinusT;\n\n\t\t\t}\n\n\t\t\tout = output.length + 1;\n\t\t\tbias = adapt(i - oldi, out, oldi == 0);\n\n\t\t\t// `i` was supposed to wrap around from `out` to `0`,\n\t\t\t// incrementing `n` each time, so we'll fix that now:\n\t\t\tif (floor(i / out) > maxInt - n) {\n\t\t\t\terror('overflow');\n\t\t\t}\n\n\t\t\tn += floor(i / out);\n\t\t\ti %= out;\n\n\t\t\t// Insert `n` at position `i` of the output\n\t\t\toutput.splice(i++, 0, n);\n\n\t\t}\n\n\t\treturn ucs2encode(output);\n\t}\n\n\t/**\n\t * Converts a string of Unicode symbols (e.g. a domain name label) to a\n\t * Punycode string of ASCII-only symbols.\n\t * @memberOf punycode\n\t * @param {String} input The string of Unicode symbols.\n\t * @returns {String} The resulting Punycode string of ASCII-only symbols.\n\t */\n\tfunction encode(input) {\n\t\tvar n,\n\t\t delta,\n\t\t handledCPCount,\n\t\t basicLength,\n\t\t bias,\n\t\t j,\n\t\t m,\n\t\t q,\n\t\t k,\n\t\t t,\n\t\t currentValue,\n\t\t output = [],\n\t\t /** `inputLength` will hold the number of code points in `input`. */\n\t\t inputLength,\n\t\t /** Cached calculation results */\n\t\t handledCPCountPlusOne,\n\t\t baseMinusT,\n\t\t qMinusT;\n\n\t\t// Convert the input in UCS-2 to Unicode\n\t\tinput = ucs2decode(input);\n\n\t\t// Cache the length\n\t\tinputLength = input.length;\n\n\t\t// Initialize the state\n\t\tn = initialN;\n\t\tdelta = 0;\n\t\tbias = initialBias;\n\n\t\t// Handle the basic code points\n\t\tfor (j = 0; j < inputLength; ++j) {\n\t\t\tcurrentValue = input[j];\n\t\t\tif (currentValue < 0x80) {\n\t\t\t\toutput.push(stringFromCharCode(currentValue));\n\t\t\t}\n\t\t}\n\n\t\thandledCPCount = basicLength = output.length;\n\n\t\t// `handledCPCount` is the number of code points that have been handled;\n\t\t// `basicLength` is the number of basic code points.\n\n\t\t// Finish the basic string - if it is not empty - with a delimiter\n\t\tif (basicLength) {\n\t\t\toutput.push(delimiter);\n\t\t}\n\n\t\t// Main encoding loop:\n\t\twhile (handledCPCount < inputLength) {\n\n\t\t\t// All non-basic code points < n have been handled already. Find the next\n\t\t\t// larger one:\n\t\t\tfor (m = maxInt, j = 0; j < inputLength; ++j) {\n\t\t\t\tcurrentValue = input[j];\n\t\t\t\tif (currentValue >= n && currentValue < m) {\n\t\t\t\t\tm = currentValue;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Increase `delta` enough to advance the decoder's state to ,\n\t\t\t// but guard against overflow\n\t\t\thandledCPCountPlusOne = handledCPCount + 1;\n\t\t\tif (m - n > floor((maxInt - delta) / handledCPCountPlusOne)) {\n\t\t\t\terror('overflow');\n\t\t\t}\n\n\t\t\tdelta += (m - n) * handledCPCountPlusOne;\n\t\t\tn = m;\n\n\t\t\tfor (j = 0; j < inputLength; ++j) {\n\t\t\t\tcurrentValue = input[j];\n\n\t\t\t\tif (currentValue < n && ++delta > maxInt) {\n\t\t\t\t\terror('overflow');\n\t\t\t\t}\n\n\t\t\t\tif (currentValue == n) {\n\t\t\t\t\t// Represent delta as a generalized variable-length integer\n\t\t\t\t\tfor (q = delta, k = base; /* no condition */; k += base) {\n\t\t\t\t\t\tt = k <= bias ? tMin : (k >= bias + tMax ? tMax : k - bias);\n\t\t\t\t\t\tif (q < t) {\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tqMinusT = q - t;\n\t\t\t\t\t\tbaseMinusT = base - t;\n\t\t\t\t\t\toutput.push(\n\t\t\t\t\t\t\tstringFromCharCode(digitToBasic(t + qMinusT % baseMinusT, 0))\n\t\t\t\t\t\t);\n\t\t\t\t\t\tq = floor(qMinusT / baseMinusT);\n\t\t\t\t\t}\n\n\t\t\t\t\toutput.push(stringFromCharCode(digitToBasic(q, 0)));\n\t\t\t\t\tbias = adapt(delta, handledCPCountPlusOne, handledCPCount == basicLength);\n\t\t\t\t\tdelta = 0;\n\t\t\t\t\t++handledCPCount;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t++delta;\n\t\t\t++n;\n\n\t\t}\n\t\treturn output.join('');\n\t}\n\n\t/**\n\t * Converts a Punycode string representing a domain name or an email address\n\t * to Unicode. Only the Punycoded parts of the input will be converted, i.e.\n\t * it doesn't matter if you call it on a string that has already been\n\t * converted to Unicode.\n\t * @memberOf punycode\n\t * @param {String} input The Punycoded domain name or email address to\n\t * convert to Unicode.\n\t * @returns {String} The Unicode representation of the given Punycode\n\t * string.\n\t */\n\tfunction toUnicode(input) {\n\t\treturn mapDomain(input, function(string) {\n\t\t\treturn regexPunycode.test(string)\n\t\t\t\t? decode(string.slice(4).toLowerCase())\n\t\t\t\t: string;\n\t\t});\n\t}\n\n\t/**\n\t * Converts a Unicode string representing a domain name or an email address to\n\t * Punycode. Only the non-ASCII parts of the domain name will be converted,\n\t * i.e. it doesn't matter if you call it with a domain that's already in\n\t * ASCII.\n\t * @memberOf punycode\n\t * @param {String} input The domain name or email address to convert, as a\n\t * Unicode string.\n\t * @returns {String} The Punycode representation of the given domain name or\n\t * email address.\n\t */\n\tfunction toASCII(input) {\n\t\treturn mapDomain(input, function(string) {\n\t\t\treturn regexNonASCII.test(string)\n\t\t\t\t? 'xn--' + encode(string)\n\t\t\t\t: string;\n\t\t});\n\t}\n\n\t/*--------------------------------------------------------------------------*/\n\n\t/** Define the public API */\n\tpunycode = {\n\t\t/**\n\t\t * A string representing the current Punycode.js version number.\n\t\t * @memberOf punycode\n\t\t * @type String\n\t\t */\n\t\t'version': '1.4.1',\n\t\t/**\n\t\t * An object of methods to convert from JavaScript's internal character\n\t\t * representation (UCS-2) to Unicode code points, and back.\n\t\t * @see \n\t\t * @memberOf punycode\n\t\t * @type Object\n\t\t */\n\t\t'ucs2': {\n\t\t\t'decode': ucs2decode,\n\t\t\t'encode': ucs2encode\n\t\t},\n\t\t'decode': decode,\n\t\t'encode': encode,\n\t\t'toASCII': toASCII,\n\t\t'toUnicode': toUnicode\n\t};\n\n\t/** Expose `punycode` */\n\t// Some AMD build optimizers, like r.js, check for specific condition patterns\n\t// like the following:\n\tif (\n\t\ttypeof define == 'function' &&\n\t\ttypeof define.amd == 'object' &&\n\t\tdefine.amd\n\t) {\n\t\tdefine('punycode', function() {\n\t\t\treturn punycode;\n\t\t});\n\t} else if (freeExports && freeModule) {\n\t\tif (module.exports == freeExports) {\n\t\t\t// in Node.js, io.js, or RingoJS v0.8.0+\n\t\t\tfreeModule.exports = punycode;\n\t\t} else {\n\t\t\t// in Narwhal or RingoJS v0.7.0-\n\t\t\tfor (key in punycode) {\n\t\t\t\tpunycode.hasOwnProperty(key) && (freeExports[key] = punycode[key]);\n\t\t\t}\n\t\t}\n\t} else {\n\t\t// in Rhino or a web browser\n\t\troot.punycode = punycode;\n\t}\n\n}(this));\n","/*\n * Copyright Joyent, Inc. and other Node contributors.\n *\n * Permission is hereby granted, free of charge, to any person obtaining a\n * copy of this software and associated documentation files (the\n * \"Software\"), to deal in the Software without restriction, including\n * without limitation the rights to use, copy, modify, merge, publish,\n * distribute, sublicense, and/or sell copies of the Software, and to permit\n * persons to whom the Software is furnished to do so, subject to the\n * following conditions:\n *\n * The above copyright notice and this permission notice shall be included\n * in all copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n * NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n * USE OR OTHER DEALINGS IN THE SOFTWARE.\n */\n\n'use strict';\n\nvar punycode = require('punycode/');\n\nfunction Url() {\n this.protocol = null;\n this.slashes = null;\n this.auth = null;\n this.host = null;\n this.port = null;\n this.hostname = null;\n this.hash = null;\n this.search = null;\n this.query = null;\n this.pathname = null;\n this.path = null;\n this.href = null;\n}\n\n// Reference: RFC 3986, RFC 1808, RFC 2396\n\n/*\n * define these here so at least they only have to be\n * compiled once on the first module load.\n */\nvar protocolPattern = /^([a-z0-9.+-]+:)/i,\n portPattern = /:[0-9]*$/,\n\n // Special case for a simple path URL\n simplePathPattern = /^(\\/\\/?(?!\\/)[^?\\s]*)(\\?[^\\s]*)?$/,\n\n /*\n * RFC 2396: characters reserved for delimiting URLs.\n * We actually just auto-escape these.\n */\n delims = [\n '<', '>', '\"', '`', ' ', '\\r', '\\n', '\\t'\n ],\n\n // RFC 2396: characters not allowed for various reasons.\n unwise = [\n '{', '}', '|', '\\\\', '^', '`'\n ].concat(delims),\n\n // Allowed by RFCs, but cause of XSS attacks. Always escape these.\n autoEscape = ['\\''].concat(unwise),\n /*\n * Characters that are never ever allowed in a hostname.\n * Note that any invalid chars are also handled, but these\n * are the ones that are *expected* to be seen, so we fast-path\n * them.\n */\n nonHostChars = [\n '%', '/', '?', ';', '#'\n ].concat(autoEscape),\n hostEndingChars = [\n '/', '?', '#'\n ],\n hostnameMaxLen = 255,\n hostnamePartPattern = /^[+a-z0-9A-Z_-]{0,63}$/,\n hostnamePartStart = /^([+a-z0-9A-Z_-]{0,63})(.*)$/,\n // protocols that can allow \"unsafe\" and \"unwise\" chars.\n unsafeProtocol = {\n javascript: true,\n 'javascript:': true\n },\n // protocols that never have a hostname.\n hostlessProtocol = {\n javascript: true,\n 'javascript:': true\n },\n // protocols that always contain a // bit.\n slashedProtocol = {\n http: true,\n https: true,\n ftp: true,\n gopher: true,\n file: true,\n 'http:': true,\n 'https:': true,\n 'ftp:': true,\n 'gopher:': true,\n 'file:': true\n },\n querystring = require('qs');\n\nfunction urlParse(url, parseQueryString, slashesDenoteHost) {\n if (url && typeof url === 'object' && url instanceof Url) { return url; }\n\n var u = new Url();\n u.parse(url, parseQueryString, slashesDenoteHost);\n return u;\n}\n\nUrl.prototype.parse = function (url, parseQueryString, slashesDenoteHost) {\n if (typeof url !== 'string') {\n throw new TypeError(\"Parameter 'url' must be a string, not \" + typeof url);\n }\n\n /*\n * Copy chrome, IE, opera backslash-handling behavior.\n * Back slashes before the query string get converted to forward slashes\n * See: https://code.google.com/p/chromium/issues/detail?id=25916\n */\n var queryIndex = url.indexOf('?'),\n splitter = queryIndex !== -1 && queryIndex < url.indexOf('#') ? '?' : '#',\n uSplit = url.split(splitter),\n slashRegex = /\\\\/g;\n uSplit[0] = uSplit[0].replace(slashRegex, '/');\n url = uSplit.join(splitter);\n\n var rest = url;\n\n /*\n * trim before proceeding.\n * This is to support parse stuff like \" http://foo.com \\n\"\n */\n rest = rest.trim();\n\n if (!slashesDenoteHost && url.split('#').length === 1) {\n // Try fast path regexp\n var simplePath = simplePathPattern.exec(rest);\n if (simplePath) {\n this.path = rest;\n this.href = rest;\n this.pathname = simplePath[1];\n if (simplePath[2]) {\n this.search = simplePath[2];\n if (parseQueryString) {\n this.query = querystring.parse(this.search.substr(1));\n } else {\n this.query = this.search.substr(1);\n }\n } else if (parseQueryString) {\n this.search = '';\n this.query = {};\n }\n return this;\n }\n }\n\n var proto = protocolPattern.exec(rest);\n if (proto) {\n proto = proto[0];\n var lowerProto = proto.toLowerCase();\n this.protocol = lowerProto;\n rest = rest.substr(proto.length);\n }\n\n /*\n * figure out if it's got a host\n * user@server is *always* interpreted as a hostname, and url\n * resolution will treat //foo/bar as host=foo,path=bar because that's\n * how the browser resolves relative URLs.\n */\n if (slashesDenoteHost || proto || rest.match(/^\\/\\/[^@/]+@[^@/]+/)) {\n var slashes = rest.substr(0, 2) === '//';\n if (slashes && !(proto && hostlessProtocol[proto])) {\n rest = rest.substr(2);\n this.slashes = true;\n }\n }\n\n if (!hostlessProtocol[proto] && (slashes || (proto && !slashedProtocol[proto]))) {\n\n /*\n * there's a hostname.\n * the first instance of /, ?, ;, or # ends the host.\n *\n * If there is an @ in the hostname, then non-host chars *are* allowed\n * to the left of the last @ sign, unless some host-ending character\n * comes *before* the @-sign.\n * URLs are obnoxious.\n *\n * ex:\n * http://a@b@c/ => user:a@b host:c\n * http://a@b?@c => user:a host:c path:/?@c\n */\n\n /*\n * v0.12 TODO(isaacs): This is not quite how Chrome does things.\n * Review our test case against browsers more comprehensively.\n */\n\n // find the first instance of any hostEndingChars\n var hostEnd = -1;\n for (var i = 0; i < hostEndingChars.length; i++) {\n var hec = rest.indexOf(hostEndingChars[i]);\n if (hec !== -1 && (hostEnd === -1 || hec < hostEnd)) { hostEnd = hec; }\n }\n\n /*\n * at this point, either we have an explicit point where the\n * auth portion cannot go past, or the last @ char is the decider.\n */\n var auth, atSign;\n if (hostEnd === -1) {\n // atSign can be anywhere.\n atSign = rest.lastIndexOf('@');\n } else {\n /*\n * atSign must be in auth portion.\n * http://a@b/c@d => host:b auth:a path:/c@d\n */\n atSign = rest.lastIndexOf('@', hostEnd);\n }\n\n /*\n * Now we have a portion which is definitely the auth.\n * Pull that off.\n */\n if (atSign !== -1) {\n auth = rest.slice(0, atSign);\n rest = rest.slice(atSign + 1);\n this.auth = decodeURIComponent(auth);\n }\n\n // the host is the remaining to the left of the first non-host char\n hostEnd = -1;\n for (var i = 0; i < nonHostChars.length; i++) {\n var hec = rest.indexOf(nonHostChars[i]);\n if (hec !== -1 && (hostEnd === -1 || hec < hostEnd)) { hostEnd = hec; }\n }\n // if we still have not hit it, then the entire thing is a host.\n if (hostEnd === -1) { hostEnd = rest.length; }\n\n this.host = rest.slice(0, hostEnd);\n rest = rest.slice(hostEnd);\n\n // pull out port.\n this.parseHost();\n\n /*\n * we've indicated that there is a hostname,\n * so even if it's empty, it has to be present.\n */\n this.hostname = this.hostname || '';\n\n /*\n * if hostname begins with [ and ends with ]\n * assume that it's an IPv6 address.\n */\n var ipv6Hostname = this.hostname[0] === '[' && this.hostname[this.hostname.length - 1] === ']';\n\n // validate a little.\n if (!ipv6Hostname) {\n var hostparts = this.hostname.split(/\\./);\n for (var i = 0, l = hostparts.length; i < l; i++) {\n var part = hostparts[i];\n if (!part) { continue; }\n if (!part.match(hostnamePartPattern)) {\n var newpart = '';\n for (var j = 0, k = part.length; j < k; j++) {\n if (part.charCodeAt(j) > 127) {\n /*\n * we replace non-ASCII char with a temporary placeholder\n * we need this to make sure size of hostname is not\n * broken by replacing non-ASCII by nothing\n */\n newpart += 'x';\n } else {\n newpart += part[j];\n }\n }\n // we test again with ASCII char only\n if (!newpart.match(hostnamePartPattern)) {\n var validParts = hostparts.slice(0, i);\n var notHost = hostparts.slice(i + 1);\n var bit = part.match(hostnamePartStart);\n if (bit) {\n validParts.push(bit[1]);\n notHost.unshift(bit[2]);\n }\n if (notHost.length) {\n rest = '/' + notHost.join('.') + rest;\n }\n this.hostname = validParts.join('.');\n break;\n }\n }\n }\n }\n\n if (this.hostname.length > hostnameMaxLen) {\n this.hostname = '';\n } else {\n // hostnames are always lower case.\n this.hostname = this.hostname.toLowerCase();\n }\n\n if (!ipv6Hostname) {\n /*\n * IDNA Support: Returns a punycoded representation of \"domain\".\n * It only converts parts of the domain name that\n * have non-ASCII characters, i.e. it doesn't matter if\n * you call it with a domain that already is ASCII-only.\n */\n this.hostname = punycode.toASCII(this.hostname);\n }\n\n var p = this.port ? ':' + this.port : '';\n var h = this.hostname || '';\n this.host = h + p;\n this.href += this.host;\n\n /*\n * strip [ and ] from the hostname\n * the host field still retains them, though\n */\n if (ipv6Hostname) {\n this.hostname = this.hostname.substr(1, this.hostname.length - 2);\n if (rest[0] !== '/') {\n rest = '/' + rest;\n }\n }\n }\n\n /*\n * now rest is set to the post-host stuff.\n * chop off any delim chars.\n */\n if (!unsafeProtocol[lowerProto]) {\n\n /*\n * First, make 100% sure that any \"autoEscape\" chars get\n * escaped, even if encodeURIComponent doesn't think they\n * need to be.\n */\n for (var i = 0, l = autoEscape.length; i < l; i++) {\n var ae = autoEscape[i];\n if (rest.indexOf(ae) === -1) { continue; }\n var esc = encodeURIComponent(ae);\n if (esc === ae) {\n esc = escape(ae);\n }\n rest = rest.split(ae).join(esc);\n }\n }\n\n // chop off from the tail first.\n var hash = rest.indexOf('#');\n if (hash !== -1) {\n // got a fragment string.\n this.hash = rest.substr(hash);\n rest = rest.slice(0, hash);\n }\n var qm = rest.indexOf('?');\n if (qm !== -1) {\n this.search = rest.substr(qm);\n this.query = rest.substr(qm + 1);\n if (parseQueryString) {\n this.query = querystring.parse(this.query);\n }\n rest = rest.slice(0, qm);\n } else if (parseQueryString) {\n // no query string, but parseQueryString still requested\n this.search = '';\n this.query = {};\n }\n if (rest) { this.pathname = rest; }\n if (slashedProtocol[lowerProto] && this.hostname && !this.pathname) {\n this.pathname = '/';\n }\n\n // to support http.request\n if (this.pathname || this.search) {\n var p = this.pathname || '';\n var s = this.search || '';\n this.path = p + s;\n }\n\n // finally, reconstruct the href based on what has been validated.\n this.href = this.format();\n return this;\n};\n\n// format a parsed object into a url string\nfunction urlFormat(obj) {\n /*\n * ensure it's an object, and not a string url.\n * If it's an obj, this is a no-op.\n * this way, you can call url_format() on strings\n * to clean up potentially wonky urls.\n */\n if (typeof obj === 'string') { obj = urlParse(obj); }\n if (!(obj instanceof Url)) { return Url.prototype.format.call(obj); }\n return obj.format();\n}\n\nUrl.prototype.format = function () {\n var auth = this.auth || '';\n if (auth) {\n auth = encodeURIComponent(auth);\n auth = auth.replace(/%3A/i, ':');\n auth += '@';\n }\n\n var protocol = this.protocol || '',\n pathname = this.pathname || '',\n hash = this.hash || '',\n host = false,\n query = '';\n\n if (this.host) {\n host = auth + this.host;\n } else if (this.hostname) {\n host = auth + (this.hostname.indexOf(':') === -1 ? this.hostname : '[' + this.hostname + ']');\n if (this.port) {\n host += ':' + this.port;\n }\n }\n\n if (this.query && typeof this.query === 'object' && Object.keys(this.query).length) {\n query = querystring.stringify(this.query, {\n arrayFormat: 'repeat',\n addQueryPrefix: false\n });\n }\n\n var search = this.search || (query && ('?' + query)) || '';\n\n if (protocol && protocol.substr(-1) !== ':') { protocol += ':'; }\n\n /*\n * only the slashedProtocols get the //. Not mailto:, xmpp:, etc.\n * unless they had them to begin with.\n */\n if (this.slashes || (!protocol || slashedProtocol[protocol]) && host !== false) {\n host = '//' + (host || '');\n if (pathname && pathname.charAt(0) !== '/') { pathname = '/' + pathname; }\n } else if (!host) {\n host = '';\n }\n\n if (hash && hash.charAt(0) !== '#') { hash = '#' + hash; }\n if (search && search.charAt(0) !== '?') { search = '?' + search; }\n\n pathname = pathname.replace(/[?#]/g, function (match) {\n return encodeURIComponent(match);\n });\n search = search.replace('#', '%23');\n\n return protocol + host + pathname + search + hash;\n};\n\nfunction urlResolve(source, relative) {\n return urlParse(source, false, true).resolve(relative);\n}\n\nUrl.prototype.resolve = function (relative) {\n return this.resolveObject(urlParse(relative, false, true)).format();\n};\n\nfunction urlResolveObject(source, relative) {\n if (!source) { return relative; }\n return urlParse(source, false, true).resolveObject(relative);\n}\n\nUrl.prototype.resolveObject = function (relative) {\n if (typeof relative === 'string') {\n var rel = new Url();\n rel.parse(relative, false, true);\n relative = rel;\n }\n\n var result = new Url();\n var tkeys = Object.keys(this);\n for (var tk = 0; tk < tkeys.length; tk++) {\n var tkey = tkeys[tk];\n result[tkey] = this[tkey];\n }\n\n /*\n * hash is always overridden, no matter what.\n * even href=\"\" will remove it.\n */\n result.hash = relative.hash;\n\n // if the relative url is empty, then there's nothing left to do here.\n if (relative.href === '') {\n result.href = result.format();\n return result;\n }\n\n // hrefs like //foo/bar always cut to the protocol.\n if (relative.slashes && !relative.protocol) {\n // take everything except the protocol from relative\n var rkeys = Object.keys(relative);\n for (var rk = 0; rk < rkeys.length; rk++) {\n var rkey = rkeys[rk];\n if (rkey !== 'protocol') { result[rkey] = relative[rkey]; }\n }\n\n // urlParse appends trailing / to urls like http://www.example.com\n if (slashedProtocol[result.protocol] && result.hostname && !result.pathname) {\n result.pathname = '/';\n result.path = result.pathname;\n }\n\n result.href = result.format();\n return result;\n }\n\n if (relative.protocol && relative.protocol !== result.protocol) {\n /*\n * if it's a known url protocol, then changing\n * the protocol does weird things\n * first, if it's not file:, then we MUST have a host,\n * and if there was a path\n * to begin with, then we MUST have a path.\n * if it is file:, then the host is dropped,\n * because that's known to be hostless.\n * anything else is assumed to be absolute.\n */\n if (!slashedProtocol[relative.protocol]) {\n var keys = Object.keys(relative);\n for (var v = 0; v < keys.length; v++) {\n var k = keys[v];\n result[k] = relative[k];\n }\n result.href = result.format();\n return result;\n }\n\n result.protocol = relative.protocol;\n if (!relative.host && !hostlessProtocol[relative.protocol]) {\n var relPath = (relative.pathname || '').split('/');\n while (relPath.length && !(relative.host = relPath.shift())) { }\n if (!relative.host) { relative.host = ''; }\n if (!relative.hostname) { relative.hostname = ''; }\n if (relPath[0] !== '') { relPath.unshift(''); }\n if (relPath.length < 2) { relPath.unshift(''); }\n result.pathname = relPath.join('/');\n } else {\n result.pathname = relative.pathname;\n }\n result.search = relative.search;\n result.query = relative.query;\n result.host = relative.host || '';\n result.auth = relative.auth;\n result.hostname = relative.hostname || relative.host;\n result.port = relative.port;\n // to support http.request\n if (result.pathname || result.search) {\n var p = result.pathname || '';\n var s = result.search || '';\n result.path = p + s;\n }\n result.slashes = result.slashes || relative.slashes;\n result.href = result.format();\n return result;\n }\n\n var isSourceAbs = result.pathname && result.pathname.charAt(0) === '/',\n isRelAbs = relative.host || relative.pathname && relative.pathname.charAt(0) === '/',\n mustEndAbs = isRelAbs || isSourceAbs || (result.host && relative.pathname),\n removeAllDots = mustEndAbs,\n srcPath = result.pathname && result.pathname.split('/') || [],\n relPath = relative.pathname && relative.pathname.split('/') || [],\n psychotic = result.protocol && !slashedProtocol[result.protocol];\n\n /*\n * if the url is a non-slashed url, then relative\n * links like ../.. should be able\n * to crawl up to the hostname, as well. This is strange.\n * result.protocol has already been set by now.\n * Later on, put the first path part into the host field.\n */\n if (psychotic) {\n result.hostname = '';\n result.port = null;\n if (result.host) {\n if (srcPath[0] === '') { srcPath[0] = result.host; } else { srcPath.unshift(result.host); }\n }\n result.host = '';\n if (relative.protocol) {\n relative.hostname = null;\n relative.port = null;\n if (relative.host) {\n if (relPath[0] === '') { relPath[0] = relative.host; } else { relPath.unshift(relative.host); }\n }\n relative.host = null;\n }\n mustEndAbs = mustEndAbs && (relPath[0] === '' || srcPath[0] === '');\n }\n\n if (isRelAbs) {\n // it's absolute.\n result.host = relative.host || relative.host === '' ? relative.host : result.host;\n result.hostname = relative.hostname || relative.hostname === '' ? relative.hostname : result.hostname;\n result.search = relative.search;\n result.query = relative.query;\n srcPath = relPath;\n // fall through to the dot-handling below.\n } else if (relPath.length) {\n /*\n * it's relative\n * throw away the existing file, and take the new path instead.\n */\n if (!srcPath) { srcPath = []; }\n srcPath.pop();\n srcPath = srcPath.concat(relPath);\n result.search = relative.search;\n result.query = relative.query;\n } else if (relative.search != null) {\n /*\n * just pull out the search.\n * like href='?foo'.\n * Put this after the other two cases because it simplifies the booleans\n */\n if (psychotic) {\n result.host = srcPath.shift();\n result.hostname = result.host;\n /*\n * occationaly the auth can get stuck only in host\n * this especially happens in cases like\n * url.resolveObject('mailto:local1@domain1', 'local2@domain2')\n */\n var authInHost = result.host && result.host.indexOf('@') > 0 ? result.host.split('@') : false;\n if (authInHost) {\n result.auth = authInHost.shift();\n result.hostname = authInHost.shift();\n result.host = result.hostname;\n }\n }\n result.search = relative.search;\n result.query = relative.query;\n // to support http.request\n if (result.pathname !== null || result.search !== null) {\n result.path = (result.pathname ? result.pathname : '') + (result.search ? result.search : '');\n }\n result.href = result.format();\n return result;\n }\n\n if (!srcPath.length) {\n /*\n * no path at all. easy.\n * we've already handled the other stuff above.\n */\n result.pathname = null;\n // to support http.request\n if (result.search) {\n result.path = '/' + result.search;\n } else {\n result.path = null;\n }\n result.href = result.format();\n return result;\n }\n\n /*\n * if a url ENDs in . or .., then it must get a trailing slash.\n * however, if it ends in anything else non-slashy,\n * then it must NOT get a trailing slash.\n */\n var last = srcPath.slice(-1)[0];\n var hasTrailingSlash = (result.host || relative.host || srcPath.length > 1) && (last === '.' || last === '..') || last === '';\n\n /*\n * strip single dots, resolve double dots to parent dir\n * if the path tries to go above the root, `up` ends up > 0\n */\n var up = 0;\n for (var i = srcPath.length; i >= 0; i--) {\n last = srcPath[i];\n if (last === '.') {\n srcPath.splice(i, 1);\n } else if (last === '..') {\n srcPath.splice(i, 1);\n up++;\n } else if (up) {\n srcPath.splice(i, 1);\n up--;\n }\n }\n\n // if the path is allowed to go above the root, restore leading ..s\n if (!mustEndAbs && !removeAllDots) {\n for (; up--; up) {\n srcPath.unshift('..');\n }\n }\n\n if (mustEndAbs && srcPath[0] !== '' && (!srcPath[0] || srcPath[0].charAt(0) !== '/')) {\n srcPath.unshift('');\n }\n\n if (hasTrailingSlash && (srcPath.join('/').substr(-1) !== '/')) {\n srcPath.push('');\n }\n\n var isAbsolute = srcPath[0] === '' || (srcPath[0] && srcPath[0].charAt(0) === '/');\n\n // put the host back\n if (psychotic) {\n result.hostname = isAbsolute ? '' : srcPath.length ? srcPath.shift() : '';\n result.host = result.hostname;\n /*\n * occationaly the auth can get stuck only in host\n * this especially happens in cases like\n * url.resolveObject('mailto:local1@domain1', 'local2@domain2')\n */\n var authInHost = result.host && result.host.indexOf('@') > 0 ? result.host.split('@') : false;\n if (authInHost) {\n result.auth = authInHost.shift();\n result.hostname = authInHost.shift();\n result.host = result.hostname;\n }\n }\n\n mustEndAbs = mustEndAbs || (result.host && srcPath.length);\n\n if (mustEndAbs && !isAbsolute) {\n srcPath.unshift('');\n }\n\n if (srcPath.length > 0) {\n result.pathname = srcPath.join('/');\n } else {\n result.pathname = null;\n result.path = null;\n }\n\n // to support request.http\n if (result.pathname !== null || result.search !== null) {\n result.path = (result.pathname ? result.pathname : '') + (result.search ? result.search : '');\n }\n result.auth = relative.auth || result.auth;\n result.slashes = result.slashes || relative.slashes;\n result.href = result.format();\n return result;\n};\n\nUrl.prototype.parseHost = function () {\n var host = this.host;\n var port = portPattern.exec(host);\n if (port) {\n port = port[0];\n if (port !== ':') {\n this.port = port.substr(1);\n }\n host = host.substr(0, host.length - port.length);\n }\n if (host) { this.hostname = host; }\n};\n\nexports.parse = urlParse;\nexports.resolve = urlResolve;\nexports.resolveObject = urlResolveObject;\nexports.format = urlFormat;\n\nexports.Url = Url;\n","\n/**\n * Module exports.\n */\n\nmodule.exports = deprecate;\n\n/**\n * Mark that a method should not be used.\n * Returns a modified function which warns once by default.\n *\n * If `localStorage.noDeprecation = true` is set, then it is a no-op.\n *\n * If `localStorage.throwDeprecation = true` is set, then deprecated functions\n * will throw an Error when invoked.\n *\n * If `localStorage.traceDeprecation = true` is set, then deprecated functions\n * will invoke `console.trace()` instead of `console.error()`.\n *\n * @param {Function} fn - the function to deprecate\n * @param {String} msg - the string to print to the console when `fn` is invoked\n * @returns {Function} a new \"deprecated\" version of `fn`\n * @api public\n */\n\nfunction deprecate (fn, msg) {\n if (config('noDeprecation')) {\n return fn;\n }\n\n var warned = false;\n function deprecated() {\n if (!warned) {\n if (config('throwDeprecation')) {\n throw new Error(msg);\n } else if (config('traceDeprecation')) {\n console.trace(msg);\n } else {\n console.warn(msg);\n }\n warned = true;\n }\n return fn.apply(this, arguments);\n }\n\n return deprecated;\n}\n\n/**\n * Checks `localStorage` for boolean values for the given `name`.\n *\n * @param {String} name\n * @returns {Boolean}\n * @api private\n */\n\nfunction config (name) {\n // accessing global.localStorage can trigger a DOMException in sandboxed iframes\n try {\n if (!global.localStorage) return false;\n } catch (_) {\n return false;\n }\n var val = global.localStorage[name];\n if (null == val) return false;\n return String(val).toLowerCase() === 'true';\n}\n","module.exports = function isBuffer(arg) {\n return arg && typeof arg === 'object'\n && typeof arg.copy === 'function'\n && typeof arg.fill === 'function'\n && typeof arg.readUInt8 === 'function';\n}","// Currently in sync with Node.js lib/internal/util/types.js\n// https://github.com/nodejs/node/commit/112cc7c27551254aa2b17098fb774867f05ed0d9\n\n'use strict';\n\nvar isArgumentsObject = require('is-arguments');\nvar isGeneratorFunction = require('is-generator-function');\nvar whichTypedArray = require('which-typed-array');\nvar isTypedArray = require('is-typed-array');\n\nfunction uncurryThis(f) {\n return f.call.bind(f);\n}\n\nvar BigIntSupported = typeof BigInt !== 'undefined';\nvar SymbolSupported = typeof Symbol !== 'undefined';\n\nvar ObjectToString = uncurryThis(Object.prototype.toString);\n\nvar numberValue = uncurryThis(Number.prototype.valueOf);\nvar stringValue = uncurryThis(String.prototype.valueOf);\nvar booleanValue = uncurryThis(Boolean.prototype.valueOf);\n\nif (BigIntSupported) {\n var bigIntValue = uncurryThis(BigInt.prototype.valueOf);\n}\n\nif (SymbolSupported) {\n var symbolValue = uncurryThis(Symbol.prototype.valueOf);\n}\n\nfunction checkBoxedPrimitive(value, prototypeValueOf) {\n if (typeof value !== 'object') {\n return false;\n }\n try {\n prototypeValueOf(value);\n return true;\n } catch(e) {\n return false;\n }\n}\n\nexports.isArgumentsObject = isArgumentsObject;\nexports.isGeneratorFunction = isGeneratorFunction;\nexports.isTypedArray = isTypedArray;\n\n// Taken from here and modified for better browser support\n// https://github.com/sindresorhus/p-is-promise/blob/cda35a513bda03f977ad5cde3a079d237e82d7ef/index.js\nfunction isPromise(input) {\n\treturn (\n\t\t(\n\t\t\ttypeof Promise !== 'undefined' &&\n\t\t\tinput instanceof Promise\n\t\t) ||\n\t\t(\n\t\t\tinput !== null &&\n\t\t\ttypeof input === 'object' &&\n\t\t\ttypeof input.then === 'function' &&\n\t\t\ttypeof input.catch === 'function'\n\t\t)\n\t);\n}\nexports.isPromise = isPromise;\n\nfunction isArrayBufferView(value) {\n if (typeof ArrayBuffer !== 'undefined' && ArrayBuffer.isView) {\n return ArrayBuffer.isView(value);\n }\n\n return (\n isTypedArray(value) ||\n isDataView(value)\n );\n}\nexports.isArrayBufferView = isArrayBufferView;\n\n\nfunction isUint8Array(value) {\n return whichTypedArray(value) === 'Uint8Array';\n}\nexports.isUint8Array = isUint8Array;\n\nfunction isUint8ClampedArray(value) {\n return whichTypedArray(value) === 'Uint8ClampedArray';\n}\nexports.isUint8ClampedArray = isUint8ClampedArray;\n\nfunction isUint16Array(value) {\n return whichTypedArray(value) === 'Uint16Array';\n}\nexports.isUint16Array = isUint16Array;\n\nfunction isUint32Array(value) {\n return whichTypedArray(value) === 'Uint32Array';\n}\nexports.isUint32Array = isUint32Array;\n\nfunction isInt8Array(value) {\n return whichTypedArray(value) === 'Int8Array';\n}\nexports.isInt8Array = isInt8Array;\n\nfunction isInt16Array(value) {\n return whichTypedArray(value) === 'Int16Array';\n}\nexports.isInt16Array = isInt16Array;\n\nfunction isInt32Array(value) {\n return whichTypedArray(value) === 'Int32Array';\n}\nexports.isInt32Array = isInt32Array;\n\nfunction isFloat32Array(value) {\n return whichTypedArray(value) === 'Float32Array';\n}\nexports.isFloat32Array = isFloat32Array;\n\nfunction isFloat64Array(value) {\n return whichTypedArray(value) === 'Float64Array';\n}\nexports.isFloat64Array = isFloat64Array;\n\nfunction isBigInt64Array(value) {\n return whichTypedArray(value) === 'BigInt64Array';\n}\nexports.isBigInt64Array = isBigInt64Array;\n\nfunction isBigUint64Array(value) {\n return whichTypedArray(value) === 'BigUint64Array';\n}\nexports.isBigUint64Array = isBigUint64Array;\n\nfunction isMapToString(value) {\n return ObjectToString(value) === '[object Map]';\n}\nisMapToString.working = (\n typeof Map !== 'undefined' &&\n isMapToString(new Map())\n);\n\nfunction isMap(value) {\n if (typeof Map === 'undefined') {\n return false;\n }\n\n return isMapToString.working\n ? isMapToString(value)\n : value instanceof Map;\n}\nexports.isMap = isMap;\n\nfunction isSetToString(value) {\n return ObjectToString(value) === '[object Set]';\n}\nisSetToString.working = (\n typeof Set !== 'undefined' &&\n isSetToString(new Set())\n);\nfunction isSet(value) {\n if (typeof Set === 'undefined') {\n return false;\n }\n\n return isSetToString.working\n ? isSetToString(value)\n : value instanceof Set;\n}\nexports.isSet = isSet;\n\nfunction isWeakMapToString(value) {\n return ObjectToString(value) === '[object WeakMap]';\n}\nisWeakMapToString.working = (\n typeof WeakMap !== 'undefined' &&\n isWeakMapToString(new WeakMap())\n);\nfunction isWeakMap(value) {\n if (typeof WeakMap === 'undefined') {\n return false;\n }\n\n return isWeakMapToString.working\n ? isWeakMapToString(value)\n : value instanceof WeakMap;\n}\nexports.isWeakMap = isWeakMap;\n\nfunction isWeakSetToString(value) {\n return ObjectToString(value) === '[object WeakSet]';\n}\nisWeakSetToString.working = (\n typeof WeakSet !== 'undefined' &&\n isWeakSetToString(new WeakSet())\n);\nfunction isWeakSet(value) {\n return isWeakSetToString(value);\n}\nexports.isWeakSet = isWeakSet;\n\nfunction isArrayBufferToString(value) {\n return ObjectToString(value) === '[object ArrayBuffer]';\n}\nisArrayBufferToString.working = (\n typeof ArrayBuffer !== 'undefined' &&\n isArrayBufferToString(new ArrayBuffer())\n);\nfunction isArrayBuffer(value) {\n if (typeof ArrayBuffer === 'undefined') {\n return false;\n }\n\n return isArrayBufferToString.working\n ? isArrayBufferToString(value)\n : value instanceof ArrayBuffer;\n}\nexports.isArrayBuffer = isArrayBuffer;\n\nfunction isDataViewToString(value) {\n return ObjectToString(value) === '[object DataView]';\n}\nisDataViewToString.working = (\n typeof ArrayBuffer !== 'undefined' &&\n typeof DataView !== 'undefined' &&\n isDataViewToString(new DataView(new ArrayBuffer(1), 0, 1))\n);\nfunction isDataView(value) {\n if (typeof DataView === 'undefined') {\n return false;\n }\n\n return isDataViewToString.working\n ? isDataViewToString(value)\n : value instanceof DataView;\n}\nexports.isDataView = isDataView;\n\n// Store a copy of SharedArrayBuffer in case it's deleted elsewhere\nvar SharedArrayBufferCopy = typeof SharedArrayBuffer !== 'undefined' ? SharedArrayBuffer : undefined;\nfunction isSharedArrayBufferToString(value) {\n return ObjectToString(value) === '[object SharedArrayBuffer]';\n}\nfunction isSharedArrayBuffer(value) {\n if (typeof SharedArrayBufferCopy === 'undefined') {\n return false;\n }\n\n if (typeof isSharedArrayBufferToString.working === 'undefined') {\n isSharedArrayBufferToString.working = isSharedArrayBufferToString(new SharedArrayBufferCopy());\n }\n\n return isSharedArrayBufferToString.working\n ? isSharedArrayBufferToString(value)\n : value instanceof SharedArrayBufferCopy;\n}\nexports.isSharedArrayBuffer = isSharedArrayBuffer;\n\nfunction isAsyncFunction(value) {\n return ObjectToString(value) === '[object AsyncFunction]';\n}\nexports.isAsyncFunction = isAsyncFunction;\n\nfunction isMapIterator(value) {\n return ObjectToString(value) === '[object Map Iterator]';\n}\nexports.isMapIterator = isMapIterator;\n\nfunction isSetIterator(value) {\n return ObjectToString(value) === '[object Set Iterator]';\n}\nexports.isSetIterator = isSetIterator;\n\nfunction isGeneratorObject(value) {\n return ObjectToString(value) === '[object Generator]';\n}\nexports.isGeneratorObject = isGeneratorObject;\n\nfunction isWebAssemblyCompiledModule(value) {\n return ObjectToString(value) === '[object WebAssembly.Module]';\n}\nexports.isWebAssemblyCompiledModule = isWebAssemblyCompiledModule;\n\nfunction isNumberObject(value) {\n return checkBoxedPrimitive(value, numberValue);\n}\nexports.isNumberObject = isNumberObject;\n\nfunction isStringObject(value) {\n return checkBoxedPrimitive(value, stringValue);\n}\nexports.isStringObject = isStringObject;\n\nfunction isBooleanObject(value) {\n return checkBoxedPrimitive(value, booleanValue);\n}\nexports.isBooleanObject = isBooleanObject;\n\nfunction isBigIntObject(value) {\n return BigIntSupported && checkBoxedPrimitive(value, bigIntValue);\n}\nexports.isBigIntObject = isBigIntObject;\n\nfunction isSymbolObject(value) {\n return SymbolSupported && checkBoxedPrimitive(value, symbolValue);\n}\nexports.isSymbolObject = isSymbolObject;\n\nfunction isBoxedPrimitive(value) {\n return (\n isNumberObject(value) ||\n isStringObject(value) ||\n isBooleanObject(value) ||\n isBigIntObject(value) ||\n isSymbolObject(value)\n );\n}\nexports.isBoxedPrimitive = isBoxedPrimitive;\n\nfunction isAnyArrayBuffer(value) {\n return typeof Uint8Array !== 'undefined' && (\n isArrayBuffer(value) ||\n isSharedArrayBuffer(value)\n );\n}\nexports.isAnyArrayBuffer = isAnyArrayBuffer;\n\n['isProxy', 'isExternal', 'isModuleNamespaceObject'].forEach(function(method) {\n Object.defineProperty(exports, method, {\n enumerable: false,\n value: function() {\n throw new Error(method + ' is not supported in userland');\n }\n });\n});\n","// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\nvar getOwnPropertyDescriptors = Object.getOwnPropertyDescriptors ||\n function getOwnPropertyDescriptors(obj) {\n var keys = Object.keys(obj);\n var descriptors = {};\n for (var i = 0; i < keys.length; i++) {\n descriptors[keys[i]] = Object.getOwnPropertyDescriptor(obj, keys[i]);\n }\n return descriptors;\n };\n\nvar formatRegExp = /%[sdj%]/g;\nexports.format = function(f) {\n if (!isString(f)) {\n var objects = [];\n for (var i = 0; i < arguments.length; i++) {\n objects.push(inspect(arguments[i]));\n }\n return objects.join(' ');\n }\n\n var i = 1;\n var args = arguments;\n var len = args.length;\n var str = String(f).replace(formatRegExp, function(x) {\n if (x === '%%') return '%';\n if (i >= len) return x;\n switch (x) {\n case '%s': return String(args[i++]);\n case '%d': return Number(args[i++]);\n case '%j':\n try {\n return JSON.stringify(args[i++]);\n } catch (_) {\n return '[Circular]';\n }\n default:\n return x;\n }\n });\n for (var x = args[i]; i < len; x = args[++i]) {\n if (isNull(x) || !isObject(x)) {\n str += ' ' + x;\n } else {\n str += ' ' + inspect(x);\n }\n }\n return str;\n};\n\n\n// Mark that a method should not be used.\n// Returns a modified function which warns once by default.\n// If --no-deprecation is set, then it is a no-op.\nexports.deprecate = function(fn, msg) {\n if (typeof process !== 'undefined' && process.noDeprecation === true) {\n return fn;\n }\n\n // Allow for deprecating things in the process of starting up.\n if (typeof process === 'undefined') {\n return function() {\n return exports.deprecate(fn, msg).apply(this, arguments);\n };\n }\n\n var warned = false;\n function deprecated() {\n if (!warned) {\n if (process.throwDeprecation) {\n throw new Error(msg);\n } else if (process.traceDeprecation) {\n console.trace(msg);\n } else {\n console.error(msg);\n }\n warned = true;\n }\n return fn.apply(this, arguments);\n }\n\n return deprecated;\n};\n\n\nvar debugs = {};\nvar debugEnvRegex = /^$/;\n\nif (process.env.NODE_DEBUG) {\n var debugEnv = process.env.NODE_DEBUG;\n debugEnv = debugEnv.replace(/[|\\\\{}()[\\]^$+?.]/g, '\\\\$&')\n .replace(/\\*/g, '.*')\n .replace(/,/g, '$|^')\n .toUpperCase();\n debugEnvRegex = new RegExp('^' + debugEnv + '$', 'i');\n}\nexports.debuglog = function(set) {\n set = set.toUpperCase();\n if (!debugs[set]) {\n if (debugEnvRegex.test(set)) {\n var pid = process.pid;\n debugs[set] = function() {\n var msg = exports.format.apply(exports, arguments);\n console.error('%s %d: %s', set, pid, msg);\n };\n } else {\n debugs[set] = function() {};\n }\n }\n return debugs[set];\n};\n\n\n/**\n * Echos the value of a value. Trys to print the value out\n * in the best way possible given the different types.\n *\n * @param {Object} obj The object to print out.\n * @param {Object} opts Optional options object that alters the output.\n */\n/* legacy: obj, showHidden, depth, colors*/\nfunction inspect(obj, opts) {\n // default options\n var ctx = {\n seen: [],\n stylize: stylizeNoColor\n };\n // legacy...\n if (arguments.length >= 3) ctx.depth = arguments[2];\n if (arguments.length >= 4) ctx.colors = arguments[3];\n if (isBoolean(opts)) {\n // legacy...\n ctx.showHidden = opts;\n } else if (opts) {\n // got an \"options\" object\n exports._extend(ctx, opts);\n }\n // set default options\n if (isUndefined(ctx.showHidden)) ctx.showHidden = false;\n if (isUndefined(ctx.depth)) ctx.depth = 2;\n if (isUndefined(ctx.colors)) ctx.colors = false;\n if (isUndefined(ctx.customInspect)) ctx.customInspect = true;\n if (ctx.colors) ctx.stylize = stylizeWithColor;\n return formatValue(ctx, obj, ctx.depth);\n}\nexports.inspect = inspect;\n\n\n// http://en.wikipedia.org/wiki/ANSI_escape_code#graphics\ninspect.colors = {\n 'bold' : [1, 22],\n 'italic' : [3, 23],\n 'underline' : [4, 24],\n 'inverse' : [7, 27],\n 'white' : [37, 39],\n 'grey' : [90, 39],\n 'black' : [30, 39],\n 'blue' : [34, 39],\n 'cyan' : [36, 39],\n 'green' : [32, 39],\n 'magenta' : [35, 39],\n 'red' : [31, 39],\n 'yellow' : [33, 39]\n};\n\n// Don't use 'blue' not visible on cmd.exe\ninspect.styles = {\n 'special': 'cyan',\n 'number': 'yellow',\n 'boolean': 'yellow',\n 'undefined': 'grey',\n 'null': 'bold',\n 'string': 'green',\n 'date': 'magenta',\n // \"name\": intentionally not styling\n 'regexp': 'red'\n};\n\n\nfunction stylizeWithColor(str, styleType) {\n var style = inspect.styles[styleType];\n\n if (style) {\n return '\\u001b[' + inspect.colors[style][0] + 'm' + str +\n '\\u001b[' + inspect.colors[style][1] + 'm';\n } else {\n return str;\n }\n}\n\n\nfunction stylizeNoColor(str, styleType) {\n return str;\n}\n\n\nfunction arrayToHash(array) {\n var hash = {};\n\n array.forEach(function(val, idx) {\n hash[val] = true;\n });\n\n return hash;\n}\n\n\nfunction formatValue(ctx, value, recurseTimes) {\n // Provide a hook for user-specified inspect functions.\n // Check that value is an object with an inspect function on it\n if (ctx.customInspect &&\n value &&\n isFunction(value.inspect) &&\n // Filter out the util module, it's inspect function is special\n value.inspect !== exports.inspect &&\n // Also filter out any prototype objects using the circular check.\n !(value.constructor && value.constructor.prototype === value)) {\n var ret = value.inspect(recurseTimes, ctx);\n if (!isString(ret)) {\n ret = formatValue(ctx, ret, recurseTimes);\n }\n return ret;\n }\n\n // Primitive types cannot have properties\n var primitive = formatPrimitive(ctx, value);\n if (primitive) {\n return primitive;\n }\n\n // Look up the keys of the object.\n var keys = Object.keys(value);\n var visibleKeys = arrayToHash(keys);\n\n if (ctx.showHidden) {\n keys = Object.getOwnPropertyNames(value);\n }\n\n // IE doesn't make error fields non-enumerable\n // http://msdn.microsoft.com/en-us/library/ie/dww52sbt(v=vs.94).aspx\n if (isError(value)\n && (keys.indexOf('message') >= 0 || keys.indexOf('description') >= 0)) {\n return formatError(value);\n }\n\n // Some type of object without properties can be shortcutted.\n if (keys.length === 0) {\n if (isFunction(value)) {\n var name = value.name ? ': ' + value.name : '';\n return ctx.stylize('[Function' + name + ']', 'special');\n }\n if (isRegExp(value)) {\n return ctx.stylize(RegExp.prototype.toString.call(value), 'regexp');\n }\n if (isDate(value)) {\n return ctx.stylize(Date.prototype.toString.call(value), 'date');\n }\n if (isError(value)) {\n return formatError(value);\n }\n }\n\n var base = '', array = false, braces = ['{', '}'];\n\n // Make Array say that they are Array\n if (isArray(value)) {\n array = true;\n braces = ['[', ']'];\n }\n\n // Make functions say that they are functions\n if (isFunction(value)) {\n var n = value.name ? ': ' + value.name : '';\n base = ' [Function' + n + ']';\n }\n\n // Make RegExps say that they are RegExps\n if (isRegExp(value)) {\n base = ' ' + RegExp.prototype.toString.call(value);\n }\n\n // Make dates with properties first say the date\n if (isDate(value)) {\n base = ' ' + Date.prototype.toUTCString.call(value);\n }\n\n // Make error with message first say the error\n if (isError(value)) {\n base = ' ' + formatError(value);\n }\n\n if (keys.length === 0 && (!array || value.length == 0)) {\n return braces[0] + base + braces[1];\n }\n\n if (recurseTimes < 0) {\n if (isRegExp(value)) {\n return ctx.stylize(RegExp.prototype.toString.call(value), 'regexp');\n } else {\n return ctx.stylize('[Object]', 'special');\n }\n }\n\n ctx.seen.push(value);\n\n var output;\n if (array) {\n output = formatArray(ctx, value, recurseTimes, visibleKeys, keys);\n } else {\n output = keys.map(function(key) {\n return formatProperty(ctx, value, recurseTimes, visibleKeys, key, array);\n });\n }\n\n ctx.seen.pop();\n\n return reduceToSingleString(output, base, braces);\n}\n\n\nfunction formatPrimitive(ctx, value) {\n if (isUndefined(value))\n return ctx.stylize('undefined', 'undefined');\n if (isString(value)) {\n var simple = '\\'' + JSON.stringify(value).replace(/^\"|\"$/g, '')\n .replace(/'/g, \"\\\\'\")\n .replace(/\\\\\"/g, '\"') + '\\'';\n return ctx.stylize(simple, 'string');\n }\n if (isNumber(value))\n return ctx.stylize('' + value, 'number');\n if (isBoolean(value))\n return ctx.stylize('' + value, 'boolean');\n // For some reason typeof null is \"object\", so special case here.\n if (isNull(value))\n return ctx.stylize('null', 'null');\n}\n\n\nfunction formatError(value) {\n return '[' + Error.prototype.toString.call(value) + ']';\n}\n\n\nfunction formatArray(ctx, value, recurseTimes, visibleKeys, keys) {\n var output = [];\n for (var i = 0, l = value.length; i < l; ++i) {\n if (hasOwnProperty(value, String(i))) {\n output.push(formatProperty(ctx, value, recurseTimes, visibleKeys,\n String(i), true));\n } else {\n output.push('');\n }\n }\n keys.forEach(function(key) {\n if (!key.match(/^\\d+$/)) {\n output.push(formatProperty(ctx, value, recurseTimes, visibleKeys,\n key, true));\n }\n });\n return output;\n}\n\n\nfunction formatProperty(ctx, value, recurseTimes, visibleKeys, key, array) {\n var name, str, desc;\n desc = Object.getOwnPropertyDescriptor(value, key) || { value: value[key] };\n if (desc.get) {\n if (desc.set) {\n str = ctx.stylize('[Getter/Setter]', 'special');\n } else {\n str = ctx.stylize('[Getter]', 'special');\n }\n } else {\n if (desc.set) {\n str = ctx.stylize('[Setter]', 'special');\n }\n }\n if (!hasOwnProperty(visibleKeys, key)) {\n name = '[' + key + ']';\n }\n if (!str) {\n if (ctx.seen.indexOf(desc.value) < 0) {\n if (isNull(recurseTimes)) {\n str = formatValue(ctx, desc.value, null);\n } else {\n str = formatValue(ctx, desc.value, recurseTimes - 1);\n }\n if (str.indexOf('\\n') > -1) {\n if (array) {\n str = str.split('\\n').map(function(line) {\n return ' ' + line;\n }).join('\\n').slice(2);\n } else {\n str = '\\n' + str.split('\\n').map(function(line) {\n return ' ' + line;\n }).join('\\n');\n }\n }\n } else {\n str = ctx.stylize('[Circular]', 'special');\n }\n }\n if (isUndefined(name)) {\n if (array && key.match(/^\\d+$/)) {\n return str;\n }\n name = JSON.stringify('' + key);\n if (name.match(/^\"([a-zA-Z_][a-zA-Z_0-9]*)\"$/)) {\n name = name.slice(1, -1);\n name = ctx.stylize(name, 'name');\n } else {\n name = name.replace(/'/g, \"\\\\'\")\n .replace(/\\\\\"/g, '\"')\n .replace(/(^\"|\"$)/g, \"'\");\n name = ctx.stylize(name, 'string');\n }\n }\n\n return name + ': ' + str;\n}\n\n\nfunction reduceToSingleString(output, base, braces) {\n var numLinesEst = 0;\n var length = output.reduce(function(prev, cur) {\n numLinesEst++;\n if (cur.indexOf('\\n') >= 0) numLinesEst++;\n return prev + cur.replace(/\\u001b\\[\\d\\d?m/g, '').length + 1;\n }, 0);\n\n if (length > 60) {\n return braces[0] +\n (base === '' ? '' : base + '\\n ') +\n ' ' +\n output.join(',\\n ') +\n ' ' +\n braces[1];\n }\n\n return braces[0] + base + ' ' + output.join(', ') + ' ' + braces[1];\n}\n\n\n// NOTE: These type checking functions intentionally don't use `instanceof`\n// because it is fragile and can be easily faked with `Object.create()`.\nexports.types = require('./support/types');\n\nfunction isArray(ar) {\n return Array.isArray(ar);\n}\nexports.isArray = isArray;\n\nfunction isBoolean(arg) {\n return typeof arg === 'boolean';\n}\nexports.isBoolean = isBoolean;\n\nfunction isNull(arg) {\n return arg === null;\n}\nexports.isNull = isNull;\n\nfunction isNullOrUndefined(arg) {\n return arg == null;\n}\nexports.isNullOrUndefined = isNullOrUndefined;\n\nfunction isNumber(arg) {\n return typeof arg === 'number';\n}\nexports.isNumber = isNumber;\n\nfunction isString(arg) {\n return typeof arg === 'string';\n}\nexports.isString = isString;\n\nfunction isSymbol(arg) {\n return typeof arg === 'symbol';\n}\nexports.isSymbol = isSymbol;\n\nfunction isUndefined(arg) {\n return arg === void 0;\n}\nexports.isUndefined = isUndefined;\n\nfunction isRegExp(re) {\n return isObject(re) && objectToString(re) === '[object RegExp]';\n}\nexports.isRegExp = isRegExp;\nexports.types.isRegExp = isRegExp;\n\nfunction isObject(arg) {\n return typeof arg === 'object' && arg !== null;\n}\nexports.isObject = isObject;\n\nfunction isDate(d) {\n return isObject(d) && objectToString(d) === '[object Date]';\n}\nexports.isDate = isDate;\nexports.types.isDate = isDate;\n\nfunction isError(e) {\n return isObject(e) &&\n (objectToString(e) === '[object Error]' || e instanceof Error);\n}\nexports.isError = isError;\nexports.types.isNativeError = isError;\n\nfunction isFunction(arg) {\n return typeof arg === 'function';\n}\nexports.isFunction = isFunction;\n\nfunction isPrimitive(arg) {\n return arg === null ||\n typeof arg === 'boolean' ||\n typeof arg === 'number' ||\n typeof arg === 'string' ||\n typeof arg === 'symbol' || // ES6 symbol\n typeof arg === 'undefined';\n}\nexports.isPrimitive = isPrimitive;\n\nexports.isBuffer = require('./support/isBuffer');\n\nfunction objectToString(o) {\n return Object.prototype.toString.call(o);\n}\n\n\nfunction pad(n) {\n return n < 10 ? '0' + n.toString(10) : n.toString(10);\n}\n\n\nvar months = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep',\n 'Oct', 'Nov', 'Dec'];\n\n// 26 Feb 16:19:34\nfunction timestamp() {\n var d = new Date();\n var time = [pad(d.getHours()),\n pad(d.getMinutes()),\n pad(d.getSeconds())].join(':');\n return [d.getDate(), months[d.getMonth()], time].join(' ');\n}\n\n\n// log is just a thin wrapper to console.log that prepends a timestamp\nexports.log = function() {\n console.log('%s - %s', timestamp(), exports.format.apply(exports, arguments));\n};\n\n\n/**\n * Inherit the prototype methods from one constructor into another.\n *\n * The Function.prototype.inherits from lang.js rewritten as a standalone\n * function (not on Function.prototype). NOTE: If this file is to be loaded\n * during bootstrapping this function needs to be rewritten using some native\n * functions as prototype setup using normal JavaScript does not work as\n * expected during bootstrapping (see mirror.js in r114903).\n *\n * @param {function} ctor Constructor function which needs to inherit the\n * prototype.\n * @param {function} superCtor Constructor function to inherit prototype from.\n */\nexports.inherits = require('inherits');\n\nexports._extend = function(origin, add) {\n // Don't do anything if add isn't an object\n if (!add || !isObject(add)) return origin;\n\n var keys = Object.keys(add);\n var i = keys.length;\n while (i--) {\n origin[keys[i]] = add[keys[i]];\n }\n return origin;\n};\n\nfunction hasOwnProperty(obj, prop) {\n return Object.prototype.hasOwnProperty.call(obj, prop);\n}\n\nvar kCustomPromisifiedSymbol = typeof Symbol !== 'undefined' ? Symbol('util.promisify.custom') : undefined;\n\nexports.promisify = function promisify(original) {\n if (typeof original !== 'function')\n throw new TypeError('The \"original\" argument must be of type Function');\n\n if (kCustomPromisifiedSymbol && original[kCustomPromisifiedSymbol]) {\n var fn = original[kCustomPromisifiedSymbol];\n if (typeof fn !== 'function') {\n throw new TypeError('The \"util.promisify.custom\" argument must be of type Function');\n }\n Object.defineProperty(fn, kCustomPromisifiedSymbol, {\n value: fn, enumerable: false, writable: false, configurable: true\n });\n return fn;\n }\n\n function fn() {\n var promiseResolve, promiseReject;\n var promise = new Promise(function (resolve, reject) {\n promiseResolve = resolve;\n promiseReject = reject;\n });\n\n var args = [];\n for (var i = 0; i < arguments.length; i++) {\n args.push(arguments[i]);\n }\n args.push(function (err, value) {\n if (err) {\n promiseReject(err);\n } else {\n promiseResolve(value);\n }\n });\n\n try {\n original.apply(this, args);\n } catch (err) {\n promiseReject(err);\n }\n\n return promise;\n }\n\n Object.setPrototypeOf(fn, Object.getPrototypeOf(original));\n\n if (kCustomPromisifiedSymbol) Object.defineProperty(fn, kCustomPromisifiedSymbol, {\n value: fn, enumerable: false, writable: false, configurable: true\n });\n return Object.defineProperties(\n fn,\n getOwnPropertyDescriptors(original)\n );\n}\n\nexports.promisify.custom = kCustomPromisifiedSymbol\n\nfunction callbackifyOnRejected(reason, cb) {\n // `!reason` guard inspired by bluebird (Ref: https://goo.gl/t5IS6M).\n // Because `null` is a special error value in callbacks which means \"no error\n // occurred\", we error-wrap so the callback consumer can distinguish between\n // \"the promise rejected with null\" or \"the promise fulfilled with undefined\".\n if (!reason) {\n var newReason = new Error('Promise was rejected with a falsy value');\n newReason.reason = reason;\n reason = newReason;\n }\n return cb(reason);\n}\n\nfunction callbackify(original) {\n if (typeof original !== 'function') {\n throw new TypeError('The \"original\" argument must be of type Function');\n }\n\n // We DO NOT return the promise as it gives the user a false sense that\n // the promise is actually somehow related to the callback's execution\n // and that the callback throwing will reject the promise.\n function callbackified() {\n var args = [];\n for (var i = 0; i < arguments.length; i++) {\n args.push(arguments[i]);\n }\n\n var maybeCb = args.pop();\n if (typeof maybeCb !== 'function') {\n throw new TypeError('The last argument must be of type Function');\n }\n var self = this;\n var cb = function() {\n return maybeCb.apply(self, arguments);\n };\n // In true node style we process the callback on `nextTick` with all the\n // implications (stack, `uncaughtException`, `async_hooks`)\n original.apply(this, args)\n .then(function(ret) { process.nextTick(cb.bind(null, null, ret)) },\n function(rej) { process.nextTick(callbackifyOnRejected.bind(null, rej, cb)) });\n }\n\n Object.setPrototypeOf(callbackified, Object.getPrototypeOf(original));\n Object.defineProperties(callbackified,\n getOwnPropertyDescriptors(original));\n return callbackified;\n}\nexports.callbackify = callbackify;\n","'use strict';\n\nvar forEach = require('for-each');\nvar availableTypedArrays = require('available-typed-arrays');\nvar callBind = require('call-bind');\nvar callBound = require('call-bind/callBound');\nvar gOPD = require('gopd');\n\n/** @type {(O: object) => string} */\nvar $toString = callBound('Object.prototype.toString');\nvar hasToStringTag = require('has-tostringtag/shams')();\n\nvar g = typeof globalThis === 'undefined' ? global : globalThis;\nvar typedArrays = availableTypedArrays();\n\nvar $slice = callBound('String.prototype.slice');\nvar getPrototypeOf = Object.getPrototypeOf; // require('getprototypeof');\n\n/** @type {(array: readonly T[], value: unknown) => number} */\nvar $indexOf = callBound('Array.prototype.indexOf', true) || function indexOf(array, value) {\n\tfor (var i = 0; i < array.length; i += 1) {\n\t\tif (array[i] === value) {\n\t\t\treturn i;\n\t\t}\n\t}\n\treturn -1;\n};\n\n/** @typedef {(receiver: import('.').TypedArray) => string | typeof Uint8Array.prototype.slice.call | typeof Uint8Array.prototype.set.call} Getter */\n/** @type {{ [k in `\\$${import('.').TypedArrayName}`]?: Getter } & { __proto__: null }} */\nvar cache = { __proto__: null };\nif (hasToStringTag && gOPD && getPrototypeOf) {\n\tforEach(typedArrays, function (typedArray) {\n\t\tvar arr = new g[typedArray]();\n\t\tif (Symbol.toStringTag in arr) {\n\t\t\tvar proto = getPrototypeOf(arr);\n\t\t\t// @ts-expect-error TS won't narrow inside a closure\n\t\t\tvar descriptor = gOPD(proto, Symbol.toStringTag);\n\t\t\tif (!descriptor) {\n\t\t\t\tvar superProto = getPrototypeOf(proto);\n\t\t\t\t// @ts-expect-error TS won't narrow inside a closure\n\t\t\t\tdescriptor = gOPD(superProto, Symbol.toStringTag);\n\t\t\t}\n\t\t\t// @ts-expect-error TODO: fix\n\t\t\tcache['$' + typedArray] = callBind(descriptor.get);\n\t\t}\n\t});\n} else {\n\tforEach(typedArrays, function (typedArray) {\n\t\tvar arr = new g[typedArray]();\n\t\tvar fn = arr.slice || arr.set;\n\t\tif (fn) {\n\t\t\t// @ts-expect-error TODO: fix\n\t\t\tcache['$' + typedArray] = callBind(fn);\n\t\t}\n\t});\n}\n\n/** @type {(value: object) => false | import('.').TypedArrayName} */\nvar tryTypedArrays = function tryAllTypedArrays(value) {\n\t/** @type {ReturnType} */ var found = false;\n\tforEach(\n\t\t// eslint-disable-next-line no-extra-parens\n\t\t/** @type {Record<`\\$${TypedArrayName}`, Getter>} */ /** @type {any} */ (cache),\n\t\t/** @type {(getter: Getter, name: `\\$${import('.').TypedArrayName}`) => void} */\n\t\tfunction (getter, typedArray) {\n\t\t\tif (!found) {\n\t\t\t\ttry {\n\t\t\t\t// @ts-expect-error TODO: fix\n\t\t\t\t\tif ('$' + getter(value) === typedArray) {\n\t\t\t\t\t\tfound = $slice(typedArray, 1);\n\t\t\t\t\t}\n\t\t\t\t} catch (e) { /**/ }\n\t\t\t}\n\t\t}\n\t);\n\treturn found;\n};\n\n/** @type {(value: object) => false | import('.').TypedArrayName} */\nvar trySlices = function tryAllSlices(value) {\n\t/** @type {ReturnType} */ var found = false;\n\tforEach(\n\t\t// eslint-disable-next-line no-extra-parens\n\t\t/** @type {Record<`\\$${TypedArrayName}`, Getter>} */ /** @type {any} */ (cache),\n\t\t/** @type {(getter: typeof cache, name: `\\$${import('.').TypedArrayName}`) => void} */ function (getter, name) {\n\t\t\tif (!found) {\n\t\t\t\ttry {\n\t\t\t\t\t// @ts-expect-error TODO: fix\n\t\t\t\t\tgetter(value);\n\t\t\t\t\tfound = $slice(name, 1);\n\t\t\t\t} catch (e) { /**/ }\n\t\t\t}\n\t\t}\n\t);\n\treturn found;\n};\n\n/** @type {import('.')} */\nmodule.exports = function whichTypedArray(value) {\n\tif (!value || typeof value !== 'object') { return false; }\n\tif (!hasToStringTag) {\n\t\t/** @type {string} */\n\t\tvar tag = $slice($toString(value), 8, -1);\n\t\tif ($indexOf(typedArrays, tag) > -1) {\n\t\t\treturn tag;\n\t\t}\n\t\tif (tag !== 'Object') {\n\t\t\treturn false;\n\t\t}\n\t\t// node < 0.6 hits here on real Typed Arrays\n\t\treturn trySlices(value);\n\t}\n\tif (!gOPD) { return null; } // unknown engine\n\treturn tryTypedArrays(value);\n};\n","module.exports = extend\n\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\n\nfunction extend() {\n var target = {}\n\n for (var i = 0; i < arguments.length; i++) {\n var source = arguments[i]\n\n for (var key in source) {\n if (hasOwnProperty.call(source, key)) {\n target[key] = source[key]\n }\n }\n }\n\n return target\n}\n","'use strict';\n\nvar possibleNames = require('possible-typed-array-names');\n\nvar g = typeof globalThis === 'undefined' ? global : globalThis;\n\n/** @type {import('.')} */\nmodule.exports = function availableTypedArrays() {\n\tvar /** @type {ReturnType} */ out = [];\n\tfor (var i = 0; i < possibleNames.length; i++) {\n\t\tif (typeof g[possibleNames[i]] === 'function') {\n\t\t\t// @ts-expect-error\n\t\t\tout[out.length] = possibleNames[i];\n\t\t}\n\t}\n\treturn out;\n};\n","var __create = Object.create;\nvar __defProp = Object.defineProperty;\nvar __defProps = Object.defineProperties;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropDescs = Object.getOwnPropertyDescriptors;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __getOwnPropSymbols = Object.getOwnPropertySymbols;\nvar __getProtoOf = Object.getPrototypeOf;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __propIsEnum = Object.prototype.propertyIsEnumerable;\nvar __pow = Math.pow;\nvar __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp.call(b, prop))\n __defNormalProp(a, prop, b[prop]);\n if (__getOwnPropSymbols)\n for (var prop of __getOwnPropSymbols(b)) {\n if (__propIsEnum.call(b, prop))\n __defNormalProp(a, prop, b[prop]);\n }\n return a;\n};\nvar __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));\nvar __commonJS = (cb, mod) => function __require() {\n return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;\n};\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(\n isNodeMode || !mod || !mod.__esModule ? __defProp(target, \"default\", { value: mod, enumerable: true }) : target,\n mod\n));\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// node_modules/ajv-formats/dist/formats.js\nvar require_formats = __commonJS({\n \"node_modules/ajv-formats/dist/formats.js\"(exports) {\n \"use strict\";\n Object.defineProperty(exports, \"__esModule\", { value: true });\n exports.formatNames = exports.fastFormats = exports.fullFormats = void 0;\n function fmtDef(validate2, compare) {\n return { validate: validate2, compare };\n }\n exports.fullFormats = {\n date: fmtDef(date, compareDate),\n time: fmtDef(time, compareTime),\n \"date-time\": fmtDef(date_time, compareDateTime),\n duration: /^P(?!$)((\\d+Y)?(\\d+M)?(\\d+D)?(T(?=\\d)(\\d+H)?(\\d+M)?(\\d+S)?)?|(\\d+W)?)$/,\n uri,\n \"uri-reference\": /^(?:[a-z][a-z0-9+\\-.]*:)?(?:\\/?\\/(?:(?:[a-z0-9\\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1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[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9a-f]{1,4}:){3}(((:[0-9a-f]{1,4}){1,4})|((:[0-9a-f]{1,4}){0,2}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9a-f]{1,4}:){2}(((:[0-9a-f]{1,4}){1,5})|((:[0-9a-f]{1,4}){0,3}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9a-f]{1,4}:){1}(((:[0-9a-f]{1,4}){1,6})|((:[0-9a-f]{1,4}){0,4}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(:(((:[0-9a-f]{1,4}){1,7})|((:[0-9a-f]{1,4}){0,5}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:)))$/i,\n regex,\n uuid: /^(?:urn:uuid:)?[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i,\n \"json-pointer\": /^(?:\\/(?:[^~/]|~0|~1)*)*$/,\n \"json-pointer-uri-fragment\": /^#(?:\\/(?:[a-z0-9_\\-.!$&'()*+,;:=@]|%[0-9a-f]{2}|~0|~1)*)*$/i,\n \"relative-json-pointer\": /^(?:0|[1-9][0-9]*)(?:#|(?:\\/(?:[^~/]|~0|~1)*)*)$/,\n byte,\n int32: { type: \"number\", validate: validateInt32 },\n int64: { type: \"number\", validate: validateInt64 },\n float: { type: \"number\", validate: validateNumber },\n double: { type: \"number\", validate: validateNumber },\n password: true,\n binary: true\n };\n exports.fastFormats = __spreadProps(__spreadValues({}, exports.fullFormats), {\n date: fmtDef(/^\\d\\d\\d\\d-[0-1]\\d-[0-3]\\d$/, compareDate),\n time: fmtDef(/^(?:[0-2]\\d:[0-5]\\d:[0-5]\\d|23:59:60)(?:\\.\\d+)?(?:z|[+-]\\d\\d(?::?\\d\\d)?)?$/i, compareTime),\n \"date-time\": fmtDef(/^\\d\\d\\d\\d-[0-1]\\d-[0-3]\\d[t\\s](?:[0-2]\\d:[0-5]\\d:[0-5]\\d|23:59:60)(?:\\.\\d+)?(?:z|[+-]\\d\\d(?::?\\d\\d)?)$/i, compareDateTime),\n uri: /^(?:[a-z][a-z0-9+\\-.]*:)(?:\\/?\\/)?[^\\s]*$/i,\n \"uri-reference\": /^(?:(?:[a-z][a-z0-9+\\-.]*:)?\\/?\\/)?(?:[^\\\\\\s#][^\\s#]*)?(?:#[^\\\\\\s]*)?$/i,\n email: /^[a-z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\\.[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)*$/i\n });\n exports.formatNames = Object.keys(exports.fullFormats);\n function isLeapYear(year) {\n return year % 4 === 0 && (year % 100 !== 0 || year % 400 === 0);\n }\n var DATE = /^(\\d\\d\\d\\d)-(\\d\\d)-(\\d\\d)$/;\n var DAYS = [0, 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];\n function date(str) {\n const matches = DATE.exec(str);\n if (!matches)\n return false;\n const year = +matches[1];\n const month = +matches[2];\n const day = +matches[3];\n return month >= 1 && month <= 12 && day >= 1 && day <= (month === 2 && isLeapYear(year) ? 29 : DAYS[month]);\n }\n function compareDate(d1, d2) {\n if (!(d1 && d2))\n return void 0;\n if (d1 > d2)\n return 1;\n if (d1 < d2)\n return -1;\n return 0;\n }\n var TIME = /^(\\d\\d):(\\d\\d):(\\d\\d)(\\.\\d+)?(z|[+-]\\d\\d(?::?\\d\\d)?)?$/i;\n function time(str, withTimeZone) {\n const matches = TIME.exec(str);\n if (!matches)\n return false;\n const hour = +matches[1];\n const minute = +matches[2];\n const second = +matches[3];\n const timeZone = matches[5];\n return (hour <= 23 && minute <= 59 && second <= 59 || hour === 23 && minute === 59 && second === 60) && (!withTimeZone || timeZone !== \"\");\n }\n function compareTime(t1, t2) {\n if (!(t1 && t2))\n return void 0;\n const a1 = TIME.exec(t1);\n const a2 = TIME.exec(t2);\n if (!(a1 && a2))\n return void 0;\n t1 = a1[1] + a1[2] + a1[3] + (a1[4] || \"\");\n t2 = a2[1] + a2[2] + a2[3] + (a2[4] || \"\");\n if (t1 > t2)\n return 1;\n if (t1 < t2)\n return -1;\n return 0;\n }\n var DATE_TIME_SEPARATOR = /t|\\s/i;\n function date_time(str) {\n const dateTime = str.split(DATE_TIME_SEPARATOR);\n return dateTime.length === 2 && date(dateTime[0]) && time(dateTime[1], true);\n }\n function compareDateTime(dt1, dt2) {\n if (!(dt1 && dt2))\n return void 0;\n const [d1, t1] = dt1.split(DATE_TIME_SEPARATOR);\n const [d2, t2] = dt2.split(DATE_TIME_SEPARATOR);\n const res = compareDate(d1, d2);\n if (res === void 0)\n return void 0;\n return res || compareTime(t1, t2);\n }\n var NOT_URI_FRAGMENT = /\\/|:/;\n var URI = /^(?:[a-z][a-z0-9+\\-.]*:)(?:\\/?\\/(?:(?:[a-z0-9\\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\\d|[01]?\\d\\d?)\\.){3}(?:25[0-5]|2[0-4]\\d|[01]?\\d\\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\\.[a-z0-9\\-._~!$&'()*+,;=:]+)\\]|(?:(?:25[0-5]|2[0-4]\\d|[01]?\\d\\d?)\\.){3}(?:25[0-5]|2[0-4]\\d|[01]?\\d\\d?)|(?:[a-z0-9\\-._~!$&'()*+,;=]|%[0-9a-f]{2})*)(?::\\d*)?(?:\\/(?:[a-z0-9\\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*|\\/(?:(?:[a-z0-9\\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\\/(?:[a-z0-9\\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\\/(?:[a-z0-9\\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)(?:\\?(?:[a-z0-9\\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i;\n function uri(str) {\n return NOT_URI_FRAGMENT.test(str) && URI.test(str);\n }\n var BYTE = /^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/gm;\n function byte(str) {\n BYTE.lastIndex = 0;\n return BYTE.test(str);\n }\n var MIN_INT32 = -__pow(2, 31);\n var MAX_INT32 = __pow(2, 31) - 1;\n function validateInt32(value) {\n return Number.isInteger(value) && value <= MAX_INT32 && value >= MIN_INT32;\n }\n function validateInt64(value) {\n return Number.isInteger(value);\n }\n function validateNumber() {\n return true;\n }\n var Z_ANCHOR = /[^\\\\]\\\\Z/;\n function regex(str) {\n if (Z_ANCHOR.test(str))\n return false;\n try {\n new RegExp(str);\n return true;\n } catch (e) {\n return false;\n }\n }\n }\n});\n\n// src/validate.js\nvar require_validate = __commonJS({\n \"src/validate.js\"(exports) {\n \"use strict\";\n exports[\"afterRequest.json\"] = validate0;\n var schema0 = { \"$id\": \"afterRequest.json#\", \"$schema\": \"http://json-schema.org/draft-06/schema#\", \"type\": \"object\", \"optional\": true, \"required\": [\"lastAccess\", \"eTag\", \"hitCount\"], \"properties\": { \"expires\": { \"type\": \"string\", \"pattern\": \"^(\\\\d{4})(-)?(\\\\d\\\\d)(-)?(\\\\d\\\\d)(T)?(\\\\d\\\\d)(:)?(\\\\d\\\\d)(:)?(\\\\d\\\\d)(\\\\.\\\\d+)?(Z|([+-])(\\\\d\\\\d)(:)?(\\\\d\\\\d))?\" }, \"lastAccess\": { \"type\": \"string\", \"pattern\": \"^(\\\\d{4})(-)?(\\\\d\\\\d)(-)?(\\\\d\\\\d)(T)?(\\\\d\\\\d)(:)?(\\\\d\\\\d)(:)?(\\\\d\\\\d)(\\\\.\\\\d+)?(Z|([+-])(\\\\d\\\\d)(:)?(\\\\d\\\\d))?\" }, \"eTag\": { \"type\": \"string\" }, \"hitCount\": { \"type\": \"integer\" }, \"comment\": { \"type\": \"string\" } } };\n var pattern0 = new RegExp(\"^(\\\\d{4})(-)?(\\\\d\\\\d)(-)?(\\\\d\\\\d)(T)?(\\\\d\\\\d)(:)?(\\\\d\\\\d)(:)?(\\\\d\\\\d)(\\\\.\\\\d+)?(Z|([+-])(\\\\d\\\\d)(:)?(\\\\d\\\\d))?\", \"u\");\n function validate0(data, { instancePath = \"\", parentData, parentDataProperty, rootData = data } = {}) {\n ;\n let vErrors = null;\n let errors = 0;\n const _errs0 = errors;\n if (errors === 0) {\n if (data && typeof data == \"object\" && !Array.isArray(data)) {\n let missing0;\n if (data.lastAccess === void 0 && (missing0 = \"lastAccess\") || data.eTag === void 0 && (missing0 = \"eTag\") || data.hitCount === void 0 && (missing0 = \"hitCount\")) {\n validate0.errors = [{ instancePath, schemaPath: \"#/required\", keyword: \"required\", params: { missingProperty: missing0 }, message: \"must have required property '\" + missing0 + \"'\", schema: schema0.required, parentSchema: schema0, data }];\n return false;\n } else {\n if (data.expires !== void 0) {\n let data0 = data.expires;\n const _errs1 = errors;\n const _errs2 = errors;\n if (errors === _errs1) {\n if (typeof data0 === \"string\") {\n if (!pattern0.test(data0)) {\n validate0.errors = [{ instancePath: instancePath + \"/expires\", schemaPath: \"#/properties/expires/pattern\", keyword: \"pattern\", params: { pattern: \"^(\\\\d{4})(-)?(\\\\d\\\\d)(-)?(\\\\d\\\\d)(T)?(\\\\d\\\\d)(:)?(\\\\d\\\\d)(:)?(\\\\d\\\\d)(\\\\.\\\\d+)?(Z|([+-])(\\\\d\\\\d)(:)?(\\\\d\\\\d))?\" }, message: 'must match pattern \"^(\\\\d{4})(-)?(\\\\d\\\\d)(-)?(\\\\d\\\\d)(T)?(\\\\d\\\\d)(:)?(\\\\d\\\\d)(:)?(\\\\d\\\\d)(\\\\.\\\\d+)?(Z|([+-])(\\\\d\\\\d)(:)?(\\\\d\\\\d))?\"', schema: \"^(\\\\d{4})(-)?(\\\\d\\\\d)(-)?(\\\\d\\\\d)(T)?(\\\\d\\\\d)(:)?(\\\\d\\\\d)(:)?(\\\\d\\\\d)(\\\\.\\\\d+)?(Z|([+-])(\\\\d\\\\d)(:)?(\\\\d\\\\d))?\", parentSchema: schema0.properties.expires, data: data0 }];\n return false;\n } else {\n }\n } else {\n validate0.errors = [{ instancePath: instancePath + \"/expires\", schemaPath: \"#/properties/expires/type\", keyword: \"type\", params: { type: \"string\" }, message: \"must be string\", schema: schema0.properties.expires.type, parentSchema: schema0.properties.expires, data: data0 }];\n return false;\n }\n if (errors === _errs1) {\n }\n }\n var valid0 = _errs1 === errors;\n } else {\n var valid0 = true;\n }\n if (valid0) {\n if (data.lastAccess !== void 0) {\n let data1 = data.lastAccess;\n const _errs3 = errors;\n const _errs4 = errors;\n if (errors === _errs3) {\n if (typeof data1 === \"string\") {\n if (!pattern0.test(data1)) {\n validate0.errors = [{ instancePath: instancePath + \"/lastAccess\", schemaPath: \"#/properties/lastAccess/pattern\", keyword: \"pattern\", params: { pattern: \"^(\\\\d{4})(-)?(\\\\d\\\\d)(-)?(\\\\d\\\\d)(T)?(\\\\d\\\\d)(:)?(\\\\d\\\\d)(:)?(\\\\d\\\\d)(\\\\.\\\\d+)?(Z|([+-])(\\\\d\\\\d)(:)?(\\\\d\\\\d))?\" }, message: 'must match pattern \"^(\\\\d{4})(-)?(\\\\d\\\\d)(-)?(\\\\d\\\\d)(T)?(\\\\d\\\\d)(:)?(\\\\d\\\\d)(:)?(\\\\d\\\\d)(\\\\.\\\\d+)?(Z|([+-])(\\\\d\\\\d)(:)?(\\\\d\\\\d))?\"', schema: \"^(\\\\d{4})(-)?(\\\\d\\\\d)(-)?(\\\\d\\\\d)(T)?(\\\\d\\\\d)(:)?(\\\\d\\\\d)(:)?(\\\\d\\\\d)(\\\\.\\\\d+)?(Z|([+-])(\\\\d\\\\d)(:)?(\\\\d\\\\d))?\", parentSchema: schema0.properties.lastAccess, data: data1 }];\n return false;\n } else {\n }\n } else {\n validate0.errors = [{ instancePath: instancePath + \"/lastAccess\", schemaPath: \"#/properties/lastAccess/type\", keyword: \"type\", params: { type: \"string\" }, message: \"must be string\", schema: schema0.properties.lastAccess.type, parentSchema: schema0.properties.lastAccess, data: data1 }];\n return false;\n }\n if (errors === _errs3) {\n }\n }\n var valid0 = _errs3 === errors;\n } else {\n var valid0 = true;\n }\n if (valid0) {\n if (data.eTag !== void 0) {\n let data2 = data.eTag;\n const _errs5 = errors;\n if (typeof data2 !== \"string\") {\n validate0.errors = [{ instancePath: instancePath + \"/eTag\", schemaPath: \"#/properties/eTag/type\", keyword: \"type\", params: { type: \"string\" }, message: \"must be string\", schema: schema0.properties.eTag.type, parentSchema: schema0.properties.eTag, data: data2 }];\n return false;\n }\n const _errs6 = errors;\n if (errors === _errs5) {\n }\n var valid0 = _errs5 === errors;\n } else {\n var valid0 = true;\n }\n if (valid0) {\n if (data.hitCount !== void 0) {\n let data3 = data.hitCount;\n const _errs7 = errors;\n if (!(typeof data3 == \"number\" && (!(data3 % 1) && !isNaN(data3)))) {\n validate0.errors = [{ instancePath: instancePath + \"/hitCount\", schemaPath: \"#/properties/hitCount/type\", keyword: \"type\", params: { type: \"integer\" }, message: \"must be integer\", schema: schema0.properties.hitCount.type, parentSchema: schema0.properties.hitCount, data: data3 }];\n return false;\n }\n const _errs8 = errors;\n if (errors === _errs7) {\n }\n var valid0 = _errs7 === errors;\n } else {\n var valid0 = true;\n }\n if (valid0) {\n if (data.comment !== void 0) {\n let data4 = data.comment;\n const _errs9 = errors;\n if (typeof data4 !== \"string\") {\n validate0.errors = [{ instancePath: instancePath + \"/comment\", schemaPath: \"#/properties/comment/type\", keyword: \"type\", params: { type: \"string\" }, message: \"must be string\", schema: schema0.properties.comment.type, parentSchema: schema0.properties.comment, data: data4 }];\n return false;\n }\n const _errs10 = errors;\n if (errors === _errs9) {\n }\n var valid0 = _errs9 === errors;\n } else {\n var valid0 = true;\n }\n if (valid0) {\n }\n }\n }\n }\n }\n }\n } else {\n validate0.errors = [{ instancePath, schemaPath: \"#/type\", keyword: \"type\", params: { type: \"object\" }, message: \"must be object\", schema: schema0.type, parentSchema: schema0, data }];\n return false;\n }\n if (errors === 0) {\n }\n }\n validate0.errors = vErrors;\n return errors === 0;\n }\n exports[\"beforeRequest.json\"] = validate1;\n var schema1 = { \"$id\": \"beforeRequest.json#\", \"$schema\": \"http://json-schema.org/draft-06/schema#\", \"type\": \"object\", \"optional\": true, \"required\": [\"lastAccess\", \"eTag\", \"hitCount\"], \"properties\": { \"expires\": { \"type\": \"string\", \"pattern\": \"^(\\\\d{4})(-)?(\\\\d\\\\d)(-)?(\\\\d\\\\d)(T)?(\\\\d\\\\d)(:)?(\\\\d\\\\d)(:)?(\\\\d\\\\d)(\\\\.\\\\d+)?(Z|([+-])(\\\\d\\\\d)(:)?(\\\\d\\\\d))?\" }, \"lastAccess\": { \"type\": \"string\", \"pattern\": \"^(\\\\d{4})(-)?(\\\\d\\\\d)(-)?(\\\\d\\\\d)(T)?(\\\\d\\\\d)(:)?(\\\\d\\\\d)(:)?(\\\\d\\\\d)(\\\\.\\\\d+)?(Z|([+-])(\\\\d\\\\d)(:)?(\\\\d\\\\d))?\" }, \"eTag\": { \"type\": \"string\" }, \"hitCount\": { \"type\": \"integer\" }, \"comment\": { \"type\": \"string\" } } };\n function validate1(data, { instancePath = \"\", parentData, parentDataProperty, rootData = data } = {}) {\n ;\n let vErrors = null;\n let errors = 0;\n const _errs0 = errors;\n if (errors === 0) {\n if (data && typeof data == \"object\" && !Array.isArray(data)) {\n let missing0;\n if (data.lastAccess === void 0 && (missing0 = \"lastAccess\") || data.eTag === void 0 && (missing0 = \"eTag\") || data.hitCount === void 0 && (missing0 = \"hitCount\")) {\n validate1.errors = [{ instancePath, schemaPath: \"#/required\", keyword: \"required\", params: { missingProperty: missing0 }, message: \"must have required property '\" + missing0 + \"'\", schema: schema1.required, parentSchema: schema1, data }];\n return false;\n } else {\n if (data.expires !== void 0) {\n let data0 = data.expires;\n const _errs1 = errors;\n const _errs2 = errors;\n if (errors === _errs1) {\n if (typeof data0 === \"string\") {\n if (!pattern0.test(data0)) {\n validate1.errors = [{ instancePath: instancePath + \"/expires\", schemaPath: \"#/properties/expires/pattern\", keyword: \"pattern\", params: { pattern: \"^(\\\\d{4})(-)?(\\\\d\\\\d)(-)?(\\\\d\\\\d)(T)?(\\\\d\\\\d)(:)?(\\\\d\\\\d)(:)?(\\\\d\\\\d)(\\\\.\\\\d+)?(Z|([+-])(\\\\d\\\\d)(:)?(\\\\d\\\\d))?\" }, message: 'must match pattern \"^(\\\\d{4})(-)?(\\\\d\\\\d)(-)?(\\\\d\\\\d)(T)?(\\\\d\\\\d)(:)?(\\\\d\\\\d)(:)?(\\\\d\\\\d)(\\\\.\\\\d+)?(Z|([+-])(\\\\d\\\\d)(:)?(\\\\d\\\\d))?\"', schema: \"^(\\\\d{4})(-)?(\\\\d\\\\d)(-)?(\\\\d\\\\d)(T)?(\\\\d\\\\d)(:)?(\\\\d\\\\d)(:)?(\\\\d\\\\d)(\\\\.\\\\d+)?(Z|([+-])(\\\\d\\\\d)(:)?(\\\\d\\\\d))?\", parentSchema: schema1.properties.expires, data: data0 }];\n return false;\n } else {\n }\n } else {\n validate1.errors = [{ instancePath: instancePath + \"/expires\", schemaPath: \"#/properties/expires/type\", keyword: \"type\", params: { type: \"string\" }, message: \"must be string\", schema: schema1.properties.expires.type, parentSchema: schema1.properties.expires, data: data0 }];\n return false;\n }\n if (errors === _errs1) {\n }\n }\n var valid0 = _errs1 === errors;\n } else {\n var valid0 = true;\n }\n if (valid0) {\n if (data.lastAccess !== void 0) {\n let data1 = data.lastAccess;\n const _errs3 = errors;\n const _errs4 = errors;\n if (errors === _errs3) {\n if (typeof data1 === \"string\") {\n if (!pattern0.test(data1)) {\n validate1.errors = [{ instancePath: instancePath + \"/lastAccess\", schemaPath: \"#/properties/lastAccess/pattern\", keyword: \"pattern\", params: { pattern: \"^(\\\\d{4})(-)?(\\\\d\\\\d)(-)?(\\\\d\\\\d)(T)?(\\\\d\\\\d)(:)?(\\\\d\\\\d)(:)?(\\\\d\\\\d)(\\\\.\\\\d+)?(Z|([+-])(\\\\d\\\\d)(:)?(\\\\d\\\\d))?\" }, message: 'must match pattern \"^(\\\\d{4})(-)?(\\\\d\\\\d)(-)?(\\\\d\\\\d)(T)?(\\\\d\\\\d)(:)?(\\\\d\\\\d)(:)?(\\\\d\\\\d)(\\\\.\\\\d+)?(Z|([+-])(\\\\d\\\\d)(:)?(\\\\d\\\\d))?\"', schema: \"^(\\\\d{4})(-)?(\\\\d\\\\d)(-)?(\\\\d\\\\d)(T)?(\\\\d\\\\d)(:)?(\\\\d\\\\d)(:)?(\\\\d\\\\d)(\\\\.\\\\d+)?(Z|([+-])(\\\\d\\\\d)(:)?(\\\\d\\\\d))?\", parentSchema: schema1.properties.lastAccess, data: data1 }];\n return false;\n } else {\n }\n } else {\n validate1.errors = [{ instancePath: instancePath + \"/lastAccess\", schemaPath: \"#/properties/lastAccess/type\", keyword: \"type\", params: { type: \"string\" }, message: \"must be string\", schema: schema1.properties.lastAccess.type, parentSchema: schema1.properties.lastAccess, data: data1 }];\n return false;\n }\n if (errors === _errs3) {\n }\n }\n var valid0 = _errs3 === errors;\n } else {\n var valid0 = true;\n }\n if (valid0) {\n if (data.eTag !== void 0) {\n let data2 = data.eTag;\n const _errs5 = errors;\n if (typeof data2 !== \"string\") {\n validate1.errors = [{ instancePath: instancePath + \"/eTag\", schemaPath: \"#/properties/eTag/type\", keyword: \"type\", params: { type: \"string\" }, message: \"must be string\", schema: schema1.properties.eTag.type, parentSchema: schema1.properties.eTag, data: data2 }];\n return false;\n }\n const _errs6 = errors;\n if (errors === _errs5) {\n }\n var valid0 = _errs5 === errors;\n } else {\n var valid0 = true;\n }\n if (valid0) {\n if (data.hitCount !== void 0) {\n let data3 = data.hitCount;\n const _errs7 = errors;\n if (!(typeof data3 == \"number\" && (!(data3 % 1) && !isNaN(data3)))) {\n validate1.errors = [{ instancePath: instancePath + \"/hitCount\", schemaPath: \"#/properties/hitCount/type\", keyword: \"type\", params: { type: \"integer\" }, message: \"must be integer\", schema: schema1.properties.hitCount.type, parentSchema: schema1.properties.hitCount, data: data3 }];\n return false;\n }\n const _errs8 = errors;\n if (errors === _errs7) {\n }\n var valid0 = _errs7 === errors;\n } else {\n var valid0 = true;\n }\n if (valid0) {\n if (data.comment !== void 0) {\n let data4 = data.comment;\n const _errs9 = errors;\n if (typeof data4 !== \"string\") {\n validate1.errors = [{ instancePath: instancePath + \"/comment\", schemaPath: \"#/properties/comment/type\", keyword: \"type\", params: { type: \"string\" }, message: \"must be string\", schema: schema1.properties.comment.type, parentSchema: schema1.properties.comment, data: data4 }];\n return false;\n }\n const _errs10 = errors;\n if (errors === _errs9) {\n }\n var valid0 = _errs9 === errors;\n } else {\n var valid0 = true;\n }\n if (valid0) {\n }\n }\n }\n }\n }\n }\n } else {\n validate1.errors = [{ instancePath, schemaPath: \"#/type\", keyword: \"type\", params: { type: \"object\" }, message: \"must be object\", schema: schema1.type, parentSchema: schema1, data }];\n return false;\n }\n if (errors === 0) {\n }\n }\n validate1.errors = vErrors;\n return errors === 0;\n }\n exports[\"browser.json\"] = validate2;\n var schema2 = { \"$id\": \"browser.json#\", \"$schema\": \"http://json-schema.org/draft-06/schema#\", \"type\": \"object\", \"required\": [\"name\", \"version\"], \"properties\": { \"name\": { \"type\": \"string\" }, \"version\": { \"type\": \"string\" }, \"comment\": { \"type\": \"string\" } } };\n function validate2(data, { instancePath = \"\", parentData, parentDataProperty, rootData = data } = {}) {\n ;\n let vErrors = null;\n let errors = 0;\n const _errs0 = errors;\n if (errors === 0) {\n if (data && typeof data == \"object\" && !Array.isArray(data)) {\n let missing0;\n if (data.name === void 0 && (missing0 = \"name\") || data.version === void 0 && (missing0 = \"version\")) {\n validate2.errors = [{ instancePath, schemaPath: \"#/required\", keyword: \"required\", params: { missingProperty: missing0 }, message: \"must have required property '\" + missing0 + \"'\", schema: schema2.required, parentSchema: schema2, data }];\n return false;\n } else {\n if (data.name !== void 0) {\n let data0 = data.name;\n const _errs1 = errors;\n if (typeof data0 !== \"string\") {\n validate2.errors = [{ instancePath: instancePath + \"/name\", schemaPath: \"#/properties/name/type\", keyword: \"type\", params: { type: \"string\" }, message: \"must be string\", schema: schema2.properties.name.type, parentSchema: schema2.properties.name, data: data0 }];\n return false;\n }\n const _errs2 = errors;\n if (errors === _errs1) {\n }\n var valid0 = _errs1 === errors;\n } else {\n var valid0 = true;\n }\n if (valid0) {\n if (data.version !== void 0) {\n let data1 = data.version;\n const _errs3 = errors;\n if (typeof data1 !== \"string\") {\n validate2.errors = [{ instancePath: instancePath + \"/version\", schemaPath: \"#/properties/version/type\", keyword: \"type\", params: { type: \"string\" }, message: \"must be string\", schema: schema2.properties.version.type, parentSchema: schema2.properties.version, data: data1 }];\n return false;\n }\n const _errs4 = errors;\n if (errors === _errs3) {\n }\n var valid0 = _errs3 === errors;\n } else {\n var valid0 = true;\n }\n if (valid0) {\n if (data.comment !== void 0) {\n let data2 = data.comment;\n const _errs5 = errors;\n if (typeof data2 !== \"string\") {\n validate2.errors = [{ instancePath: instancePath + \"/comment\", schemaPath: \"#/properties/comment/type\", keyword: \"type\", params: { type: \"string\" }, message: \"must be string\", schema: schema2.properties.comment.type, parentSchema: schema2.properties.comment, data: data2 }];\n return false;\n }\n const _errs6 = errors;\n if (errors === _errs5) {\n }\n var valid0 = _errs5 === errors;\n } else {\n var valid0 = true;\n }\n if (valid0) {\n }\n }\n }\n }\n } else {\n validate2.errors = [{ instancePath, schemaPath: \"#/type\", keyword: \"type\", params: { type: \"object\" }, message: \"must be object\", schema: schema2.type, parentSchema: schema2, data }];\n return false;\n }\n if (errors === 0) {\n }\n }\n validate2.errors = vErrors;\n return errors === 0;\n }\n exports[\"cache.json\"] = validate3;\n var schema3 = { \"$id\": \"cache.json#\", \"$schema\": \"http://json-schema.org/draft-06/schema#\", \"properties\": { \"beforeRequest\": { \"oneOf\": [{ \"type\": \"null\" }, { \"$ref\": \"beforeRequest.json#\" }] }, \"afterRequest\": { \"oneOf\": [{ \"type\": \"null\" }, { \"$ref\": \"afterRequest.json#\" }] }, \"comment\": { \"type\": \"string\" } } };\n function validate3(data, { instancePath = \"\", parentData, parentDataProperty, rootData = data } = {}) {\n ;\n let vErrors = null;\n let errors = 0;\n if (data && typeof data == \"object\" && !Array.isArray(data)) {\n if (data.beforeRequest !== void 0) {\n let data0 = data.beforeRequest;\n const _errs0 = errors;\n const _errs1 = errors;\n let valid1 = false;\n let passing0 = null;\n const _errs2 = errors;\n if (data0 !== null) {\n const err0 = { instancePath: instancePath + \"/beforeRequest\", schemaPath: \"#/properties/beforeRequest/oneOf/0/type\", keyword: \"type\", params: { type: \"null\" }, message: \"must be null\", schema: schema3.properties.beforeRequest.oneOf[0].type, parentSchema: schema3.properties.beforeRequest.oneOf[0], data: data0 };\n if (vErrors === null) {\n vErrors = [err0];\n } else {\n vErrors.push(err0);\n }\n errors++;\n }\n const _errs3 = errors;\n if (errors === _errs2) {\n }\n var _valid0 = _errs2 === errors;\n if (_valid0) {\n valid1 = true;\n passing0 = 0;\n }\n const _errs4 = errors;\n const _errs5 = errors;\n const _errs6 = errors;\n if (errors === _errs5) {\n if (data0 && typeof data0 == \"object\" && !Array.isArray(data0)) {\n let missing0;\n if (data0.lastAccess === void 0 && (missing0 = \"lastAccess\") || data0.eTag === void 0 && (missing0 = \"eTag\") || data0.hitCount === void 0 && (missing0 = \"hitCount\")) {\n const err1 = { instancePath: instancePath + \"/beforeRequest\", schemaPath: \"beforeRequest.json#/required\", keyword: \"required\", params: { missingProperty: missing0 }, message: \"must have required property '\" + missing0 + \"'\", schema: schema1.required, parentSchema: schema1, data: data0 };\n if (vErrors === null) {\n vErrors = [err1];\n } else {\n vErrors.push(err1);\n }\n errors++;\n } else {\n if (data0.expires !== void 0) {\n let data1 = data0.expires;\n const _errs7 = errors;\n const _errs8 = errors;\n if (errors === _errs7) {\n if (typeof data1 === \"string\") {\n if (!pattern0.test(data1)) {\n const err2 = { instancePath: instancePath + \"/beforeRequest/expires\", schemaPath: \"beforeRequest.json#/properties/expires/pattern\", keyword: \"pattern\", params: { pattern: \"^(\\\\d{4})(-)?(\\\\d\\\\d)(-)?(\\\\d\\\\d)(T)?(\\\\d\\\\d)(:)?(\\\\d\\\\d)(:)?(\\\\d\\\\d)(\\\\.\\\\d+)?(Z|([+-])(\\\\d\\\\d)(:)?(\\\\d\\\\d))?\" }, message: 'must match pattern \"^(\\\\d{4})(-)?(\\\\d\\\\d)(-)?(\\\\d\\\\d)(T)?(\\\\d\\\\d)(:)?(\\\\d\\\\d)(:)?(\\\\d\\\\d)(\\\\.\\\\d+)?(Z|([+-])(\\\\d\\\\d)(:)?(\\\\d\\\\d))?\"', schema: \"^(\\\\d{4})(-)?(\\\\d\\\\d)(-)?(\\\\d\\\\d)(T)?(\\\\d\\\\d)(:)?(\\\\d\\\\d)(:)?(\\\\d\\\\d)(\\\\.\\\\d+)?(Z|([+-])(\\\\d\\\\d)(:)?(\\\\d\\\\d))?\", parentSchema: schema1.properties.expires, data: data1 };\n if (vErrors === null) {\n vErrors = [err2];\n } else {\n vErrors.push(err2);\n }\n errors++;\n } else {\n }\n } else {\n const err3 = { instancePath: instancePath + \"/beforeRequest/expires\", schemaPath: \"beforeRequest.json#/properties/expires/type\", keyword: \"type\", params: { type: \"string\" }, message: \"must be string\", schema: schema1.properties.expires.type, parentSchema: schema1.properties.expires, data: data1 };\n if (vErrors === null) {\n vErrors = [err3];\n } else {\n vErrors.push(err3);\n }\n errors++;\n }\n if (errors === _errs7) {\n }\n }\n var valid3 = _errs7 === errors;\n } else {\n var valid3 = true;\n }\n if (valid3) {\n if (data0.lastAccess !== void 0) {\n let data2 = data0.lastAccess;\n const _errs9 = errors;\n const _errs10 = errors;\n if (errors === _errs9) {\n if (typeof data2 === \"string\") {\n if (!pattern0.test(data2)) {\n const err4 = { instancePath: instancePath + \"/beforeRequest/lastAccess\", schemaPath: \"beforeRequest.json#/properties/lastAccess/pattern\", keyword: \"pattern\", params: { pattern: \"^(\\\\d{4})(-)?(\\\\d\\\\d)(-)?(\\\\d\\\\d)(T)?(\\\\d\\\\d)(:)?(\\\\d\\\\d)(:)?(\\\\d\\\\d)(\\\\.\\\\d+)?(Z|([+-])(\\\\d\\\\d)(:)?(\\\\d\\\\d))?\" }, message: 'must match pattern \"^(\\\\d{4})(-)?(\\\\d\\\\d)(-)?(\\\\d\\\\d)(T)?(\\\\d\\\\d)(:)?(\\\\d\\\\d)(:)?(\\\\d\\\\d)(\\\\.\\\\d+)?(Z|([+-])(\\\\d\\\\d)(:)?(\\\\d\\\\d))?\"', schema: \"^(\\\\d{4})(-)?(\\\\d\\\\d)(-)?(\\\\d\\\\d)(T)?(\\\\d\\\\d)(:)?(\\\\d\\\\d)(:)?(\\\\d\\\\d)(\\\\.\\\\d+)?(Z|([+-])(\\\\d\\\\d)(:)?(\\\\d\\\\d))?\", parentSchema: schema1.properties.lastAccess, data: data2 };\n if (vErrors === null) {\n vErrors = [err4];\n } else {\n vErrors.push(err4);\n }\n errors++;\n } else {\n }\n } else {\n const err5 = { instancePath: instancePath + \"/beforeRequest/lastAccess\", schemaPath: \"beforeRequest.json#/properties/lastAccess/type\", keyword: \"type\", params: { type: \"string\" }, message: \"must be string\", schema: schema1.properties.lastAccess.type, parentSchema: schema1.properties.lastAccess, data: data2 };\n if (vErrors === null) {\n vErrors = [err5];\n } else {\n vErrors.push(err5);\n }\n errors++;\n }\n if (errors === _errs9) {\n }\n }\n var valid3 = _errs9 === errors;\n } else {\n var valid3 = true;\n }\n if (valid3) {\n if (data0.eTag !== void 0) {\n let data3 = data0.eTag;\n const _errs11 = errors;\n if (typeof data3 !== \"string\") {\n const err6 = { instancePath: instancePath + \"/beforeRequest/eTag\", schemaPath: \"beforeRequest.json#/properties/eTag/type\", keyword: \"type\", params: { type: \"string\" }, message: \"must be string\", schema: schema1.properties.eTag.type, parentSchema: schema1.properties.eTag, data: data3 };\n if (vErrors === null) {\n vErrors = [err6];\n } else {\n vErrors.push(err6);\n }\n errors++;\n }\n const _errs12 = errors;\n if (errors === _errs11) {\n }\n var valid3 = _errs11 === errors;\n } else {\n var valid3 = true;\n }\n if (valid3) {\n if (data0.hitCount !== void 0) {\n let data4 = data0.hitCount;\n const _errs13 = errors;\n if (!(typeof data4 == \"number\" && (!(data4 % 1) && !isNaN(data4)))) {\n const err7 = { instancePath: instancePath + \"/beforeRequest/hitCount\", schemaPath: \"beforeRequest.json#/properties/hitCount/type\", keyword: \"type\", params: { type: \"integer\" }, message: \"must be integer\", schema: schema1.properties.hitCount.type, parentSchema: schema1.properties.hitCount, data: data4 };\n if (vErrors === null) {\n vErrors = [err7];\n } else {\n vErrors.push(err7);\n }\n errors++;\n }\n const _errs14 = errors;\n if (errors === _errs13) {\n }\n var valid3 = _errs13 === errors;\n } else {\n var valid3 = true;\n }\n if (valid3) {\n if (data0.comment !== void 0) {\n let data5 = data0.comment;\n const _errs15 = errors;\n if (typeof data5 !== \"string\") {\n const err8 = { instancePath: instancePath + \"/beforeRequest/comment\", schemaPath: \"beforeRequest.json#/properties/comment/type\", keyword: \"type\", params: { type: \"string\" }, message: \"must be string\", schema: schema1.properties.comment.type, parentSchema: schema1.properties.comment, data: data5 };\n if (vErrors === null) {\n vErrors = [err8];\n } else {\n vErrors.push(err8);\n }\n errors++;\n }\n const _errs16 = errors;\n if (errors === _errs15) {\n }\n var valid3 = _errs15 === errors;\n } else {\n var valid3 = true;\n }\n if (valid3) {\n }\n }\n }\n }\n }\n }\n } else {\n const err9 = { instancePath: instancePath + \"/beforeRequest\", schemaPath: \"beforeRequest.json#/type\", keyword: \"type\", params: { type: \"object\" }, message: \"must be object\", schema: schema1.type, parentSchema: schema1, data: data0 };\n if (vErrors === null) {\n vErrors = [err9];\n } else {\n vErrors.push(err9);\n }\n errors++;\n }\n if (errors === _errs5) {\n }\n }\n var valid2 = _errs5 === errors;\n if (valid2) {\n }\n var _valid0 = _errs4 === errors;\n if (_valid0 && valid1) {\n valid1 = false;\n passing0 = [passing0, 1];\n } else {\n if (_valid0) {\n valid1 = true;\n passing0 = 1;\n }\n }\n if (!valid1) {\n const err10 = { instancePath: instancePath + \"/beforeRequest\", schemaPath: \"#/properties/beforeRequest/oneOf\", keyword: \"oneOf\", params: { passingSchemas: passing0 }, message: \"must match exactly one schema in oneOf\", schema: schema3.properties.beforeRequest.oneOf, parentSchema: schema3.properties.beforeRequest, data: data0 };\n if (vErrors === null) {\n vErrors = [err10];\n } else {\n vErrors.push(err10);\n }\n errors++;\n validate3.errors = vErrors;\n return false;\n } else {\n errors = _errs1;\n if (vErrors !== null) {\n if (_errs1) {\n vErrors.length = _errs1;\n } else {\n vErrors = null;\n }\n }\n }\n if (errors === _errs0) {\n }\n var valid0 = _errs0 === errors;\n } else {\n var valid0 = true;\n }\n if (valid0) {\n if (data.afterRequest !== void 0) {\n let data6 = data.afterRequest;\n const _errs17 = errors;\n const _errs18 = errors;\n let valid4 = false;\n let passing1 = null;\n const _errs19 = errors;\n if (data6 !== null) {\n const err11 = { instancePath: instancePath + \"/afterRequest\", schemaPath: \"#/properties/afterRequest/oneOf/0/type\", keyword: \"type\", params: { type: \"null\" }, message: \"must be null\", schema: schema3.properties.afterRequest.oneOf[0].type, parentSchema: schema3.properties.afterRequest.oneOf[0], data: data6 };\n if (vErrors === null) {\n vErrors = [err11];\n } else {\n vErrors.push(err11);\n }\n errors++;\n }\n const _errs20 = errors;\n if (errors === _errs19) {\n }\n var _valid1 = _errs19 === errors;\n if (_valid1) {\n valid4 = true;\n passing1 = 0;\n }\n const _errs21 = errors;\n const _errs22 = errors;\n const _errs23 = errors;\n if (errors === _errs22) {\n if (data6 && typeof data6 == \"object\" && !Array.isArray(data6)) {\n let missing1;\n if (data6.lastAccess === void 0 && (missing1 = \"lastAccess\") || data6.eTag === void 0 && (missing1 = \"eTag\") || data6.hitCount === void 0 && (missing1 = \"hitCount\")) {\n const err12 = { instancePath: instancePath + \"/afterRequest\", schemaPath: \"afterRequest.json#/required\", keyword: \"required\", params: { missingProperty: missing1 }, message: \"must have required property '\" + missing1 + \"'\", schema: schema0.required, parentSchema: schema0, data: data6 };\n if (vErrors === null) {\n vErrors = [err12];\n } else {\n vErrors.push(err12);\n }\n errors++;\n } else {\n if (data6.expires !== void 0) {\n let data7 = data6.expires;\n const _errs24 = errors;\n const _errs25 = errors;\n if (errors === _errs24) {\n if (typeof data7 === \"string\") {\n if (!pattern0.test(data7)) {\n const err13 = { instancePath: instancePath + \"/afterRequest/expires\", schemaPath: \"afterRequest.json#/properties/expires/pattern\", keyword: \"pattern\", params: { pattern: \"^(\\\\d{4})(-)?(\\\\d\\\\d)(-)?(\\\\d\\\\d)(T)?(\\\\d\\\\d)(:)?(\\\\d\\\\d)(:)?(\\\\d\\\\d)(\\\\.\\\\d+)?(Z|([+-])(\\\\d\\\\d)(:)?(\\\\d\\\\d))?\" }, message: 'must match pattern \"^(\\\\d{4})(-)?(\\\\d\\\\d)(-)?(\\\\d\\\\d)(T)?(\\\\d\\\\d)(:)?(\\\\d\\\\d)(:)?(\\\\d\\\\d)(\\\\.\\\\d+)?(Z|([+-])(\\\\d\\\\d)(:)?(\\\\d\\\\d))?\"', schema: \"^(\\\\d{4})(-)?(\\\\d\\\\d)(-)?(\\\\d\\\\d)(T)?(\\\\d\\\\d)(:)?(\\\\d\\\\d)(:)?(\\\\d\\\\d)(\\\\.\\\\d+)?(Z|([+-])(\\\\d\\\\d)(:)?(\\\\d\\\\d))?\", parentSchema: schema0.properties.expires, data: data7 };\n if (vErrors === null) {\n vErrors = [err13];\n } else {\n vErrors.push(err13);\n }\n errors++;\n } else {\n }\n } else {\n const err14 = { instancePath: instancePath + \"/afterRequest/expires\", schemaPath: \"afterRequest.json#/properties/expires/type\", keyword: \"type\", params: { type: \"string\" }, message: \"must be string\", schema: schema0.properties.expires.type, parentSchema: schema0.properties.expires, data: data7 };\n if (vErrors === null) {\n vErrors = [err14];\n } else {\n vErrors.push(err14);\n }\n errors++;\n }\n if (errors === _errs24) {\n }\n }\n var valid6 = _errs24 === errors;\n } else {\n var valid6 = true;\n }\n if (valid6) {\n if (data6.lastAccess !== void 0) {\n let data8 = data6.lastAccess;\n const _errs26 = errors;\n const _errs27 = errors;\n if (errors === _errs26) {\n if (typeof data8 === \"string\") {\n if (!pattern0.test(data8)) {\n const err15 = { instancePath: instancePath + \"/afterRequest/lastAccess\", schemaPath: \"afterRequest.json#/properties/lastAccess/pattern\", keyword: \"pattern\", params: { pattern: \"^(\\\\d{4})(-)?(\\\\d\\\\d)(-)?(\\\\d\\\\d)(T)?(\\\\d\\\\d)(:)?(\\\\d\\\\d)(:)?(\\\\d\\\\d)(\\\\.\\\\d+)?(Z|([+-])(\\\\d\\\\d)(:)?(\\\\d\\\\d))?\" }, message: 'must match pattern \"^(\\\\d{4})(-)?(\\\\d\\\\d)(-)?(\\\\d\\\\d)(T)?(\\\\d\\\\d)(:)?(\\\\d\\\\d)(:)?(\\\\d\\\\d)(\\\\.\\\\d+)?(Z|([+-])(\\\\d\\\\d)(:)?(\\\\d\\\\d))?\"', schema: \"^(\\\\d{4})(-)?(\\\\d\\\\d)(-)?(\\\\d\\\\d)(T)?(\\\\d\\\\d)(:)?(\\\\d\\\\d)(:)?(\\\\d\\\\d)(\\\\.\\\\d+)?(Z|([+-])(\\\\d\\\\d)(:)?(\\\\d\\\\d))?\", parentSchema: schema0.properties.lastAccess, data: data8 };\n if (vErrors === null) {\n vErrors = [err15];\n } else {\n vErrors.push(err15);\n }\n errors++;\n } else {\n }\n } else {\n const err16 = { instancePath: instancePath + \"/afterRequest/lastAccess\", schemaPath: \"afterRequest.json#/properties/lastAccess/type\", keyword: \"type\", params: { type: \"string\" }, message: \"must be string\", schema: schema0.properties.lastAccess.type, parentSchema: schema0.properties.lastAccess, data: data8 };\n if (vErrors === null) {\n vErrors = [err16];\n } else {\n vErrors.push(err16);\n }\n errors++;\n }\n if (errors === _errs26) {\n }\n }\n var valid6 = _errs26 === errors;\n } else {\n var valid6 = true;\n }\n if (valid6) {\n if (data6.eTag !== void 0) {\n let data9 = data6.eTag;\n const _errs28 = errors;\n if (typeof data9 !== \"string\") {\n const err17 = { instancePath: instancePath + \"/afterRequest/eTag\", schemaPath: \"afterRequest.json#/properties/eTag/type\", keyword: \"type\", params: { type: \"string\" }, message: \"must be string\", schema: schema0.properties.eTag.type, parentSchema: schema0.properties.eTag, data: data9 };\n if (vErrors === null) {\n vErrors = [err17];\n } else {\n vErrors.push(err17);\n }\n errors++;\n }\n const _errs29 = errors;\n if (errors === _errs28) {\n }\n var valid6 = _errs28 === errors;\n } else {\n var valid6 = true;\n }\n if (valid6) {\n if (data6.hitCount !== void 0) {\n let data10 = data6.hitCount;\n const _errs30 = errors;\n if (!(typeof data10 == \"number\" && (!(data10 % 1) && !isNaN(data10)))) {\n const err18 = { instancePath: instancePath + \"/afterRequest/hitCount\", schemaPath: \"afterRequest.json#/properties/hitCount/type\", keyword: \"type\", params: { type: \"integer\" }, message: \"must be integer\", schema: schema0.properties.hitCount.type, parentSchema: schema0.properties.hitCount, data: data10 };\n if (vErrors === null) {\n vErrors = [err18];\n } else {\n vErrors.push(err18);\n }\n errors++;\n }\n const _errs31 = errors;\n if (errors === _errs30) {\n }\n var valid6 = _errs30 === errors;\n } else {\n var valid6 = true;\n }\n if (valid6) {\n if (data6.comment !== void 0) {\n let data11 = data6.comment;\n const _errs32 = errors;\n if (typeof data11 !== \"string\") {\n const err19 = { instancePath: instancePath + \"/afterRequest/comment\", schemaPath: \"afterRequest.json#/properties/comment/type\", keyword: \"type\", params: { type: \"string\" }, message: \"must be string\", schema: schema0.properties.comment.type, parentSchema: schema0.properties.comment, data: data11 };\n if (vErrors === null) {\n vErrors = [err19];\n } else {\n vErrors.push(err19);\n }\n errors++;\n }\n const _errs33 = errors;\n if (errors === _errs32) {\n }\n var valid6 = _errs32 === errors;\n } else {\n var valid6 = true;\n }\n if (valid6) {\n }\n }\n }\n }\n }\n }\n } else {\n const err20 = { instancePath: instancePath + \"/afterRequest\", schemaPath: \"afterRequest.json#/type\", keyword: \"type\", params: { type: \"object\" }, message: \"must be object\", schema: schema0.type, parentSchema: schema0, data: data6 };\n if (vErrors === null) {\n vErrors = [err20];\n } else {\n vErrors.push(err20);\n }\n errors++;\n }\n if (errors === _errs22) {\n }\n }\n var valid5 = _errs22 === errors;\n if (valid5) {\n }\n var _valid1 = _errs21 === errors;\n if (_valid1 && valid4) {\n valid4 = false;\n passing1 = [passing1, 1];\n } else {\n if (_valid1) {\n valid4 = true;\n passing1 = 1;\n }\n }\n if (!valid4) {\n const err21 = { instancePath: instancePath + \"/afterRequest\", schemaPath: \"#/properties/afterRequest/oneOf\", keyword: \"oneOf\", params: { passingSchemas: passing1 }, message: \"must match exactly one schema in oneOf\", schema: schema3.properties.afterRequest.oneOf, parentSchema: schema3.properties.afterRequest, data: data6 };\n if (vErrors === null) {\n vErrors = [err21];\n } else {\n vErrors.push(err21);\n }\n errors++;\n validate3.errors = vErrors;\n return false;\n } else {\n errors = _errs18;\n if (vErrors !== null) {\n if (_errs18) {\n vErrors.length = _errs18;\n } else {\n vErrors = null;\n }\n }\n }\n if (errors === _errs17) {\n }\n var valid0 = _errs17 === errors;\n } else {\n var valid0 = true;\n }\n if (valid0) {\n if (data.comment !== void 0) {\n let data12 = data.comment;\n const _errs34 = errors;\n if (typeof data12 !== \"string\") {\n validate3.errors = [{ instancePath: instancePath + \"/comment\", schemaPath: \"#/properties/comment/type\", keyword: \"type\", params: { type: \"string\" }, message: \"must be string\", schema: schema3.properties.comment.type, parentSchema: schema3.properties.comment, data: data12 }];\n return false;\n }\n const _errs35 = errors;\n if (errors === _errs34) {\n }\n var valid0 = _errs34 === errors;\n } else {\n var valid0 = true;\n }\n if (valid0) {\n }\n }\n }\n }\n if (errors === 0) {\n }\n validate3.errors = vErrors;\n return errors === 0;\n }\n exports[\"content.json\"] = validate4;\n var schema6 = { \"$id\": \"content.json#\", \"$schema\": \"http://json-schema.org/draft-06/schema#\", \"type\": \"object\", \"required\": [\"size\", \"mimeType\"], \"properties\": { \"size\": { \"type\": \"integer\" }, \"compression\": { \"type\": \"integer\" }, \"mimeType\": { \"type\": \"string\" }, \"text\": { \"type\": \"string\" }, \"encoding\": { \"type\": \"string\" }, \"comment\": { \"type\": \"string\" } } };\n function validate4(data, { instancePath = \"\", parentData, parentDataProperty, rootData = data } = {}) {\n ;\n let vErrors = null;\n let errors = 0;\n const _errs0 = errors;\n if (errors === 0) {\n if (data && typeof data == \"object\" && !Array.isArray(data)) {\n let missing0;\n if (data.size === void 0 && (missing0 = \"size\") || data.mimeType === void 0 && (missing0 = \"mimeType\")) {\n validate4.errors = [{ instancePath, schemaPath: \"#/required\", keyword: \"required\", params: { missingProperty: missing0 }, message: \"must have required property '\" + missing0 + \"'\", schema: schema6.required, parentSchema: schema6, data }];\n return false;\n } else {\n if (data.size !== void 0) {\n let data0 = data.size;\n const _errs1 = errors;\n if (!(typeof data0 == \"number\" && (!(data0 % 1) && !isNaN(data0)))) {\n validate4.errors = [{ instancePath: instancePath + \"/size\", schemaPath: \"#/properties/size/type\", keyword: \"type\", params: { type: \"integer\" }, message: \"must be integer\", schema: schema6.properties.size.type, parentSchema: schema6.properties.size, data: data0 }];\n return false;\n }\n const _errs2 = errors;\n if (errors === _errs1) {\n }\n var valid0 = _errs1 === errors;\n } else {\n var valid0 = true;\n }\n if (valid0) {\n if (data.compression !== void 0) {\n let data1 = data.compression;\n const _errs3 = errors;\n if (!(typeof data1 == \"number\" && (!(data1 % 1) && !isNaN(data1)))) {\n validate4.errors = [{ instancePath: instancePath + \"/compression\", schemaPath: \"#/properties/compression/type\", keyword: \"type\", params: { type: \"integer\" }, message: \"must be integer\", schema: schema6.properties.compression.type, parentSchema: schema6.properties.compression, data: data1 }];\n return false;\n }\n const _errs4 = errors;\n if (errors === _errs3) {\n }\n var valid0 = _errs3 === errors;\n } else {\n var valid0 = true;\n }\n if (valid0) {\n if (data.mimeType !== void 0) {\n let data2 = data.mimeType;\n const _errs5 = errors;\n if (typeof data2 !== \"string\") {\n validate4.errors = [{ instancePath: instancePath + \"/mimeType\", schemaPath: \"#/properties/mimeType/type\", keyword: \"type\", params: { type: \"string\" }, message: \"must be string\", schema: schema6.properties.mimeType.type, parentSchema: schema6.properties.mimeType, data: data2 }];\n return false;\n }\n const _errs6 = errors;\n if (errors === _errs5) {\n }\n var valid0 = _errs5 === errors;\n } else {\n var valid0 = true;\n }\n if (valid0) {\n if (data.text !== void 0) {\n let data3 = data.text;\n const _errs7 = errors;\n if (typeof data3 !== \"string\") {\n validate4.errors = [{ instancePath: instancePath + \"/text\", schemaPath: \"#/properties/text/type\", keyword: \"type\", params: { type: \"string\" }, message: \"must be string\", schema: schema6.properties.text.type, parentSchema: schema6.properties.text, data: data3 }];\n return false;\n }\n const _errs8 = errors;\n if (errors === _errs7) {\n }\n var valid0 = _errs7 === errors;\n } else {\n var valid0 = true;\n }\n if (valid0) {\n if (data.encoding !== void 0) {\n let data4 = data.encoding;\n const _errs9 = errors;\n if (typeof data4 !== \"string\") {\n validate4.errors = [{ instancePath: instancePath + \"/encoding\", schemaPath: \"#/properties/encoding/type\", keyword: \"type\", params: { type: \"string\" }, message: \"must be string\", schema: schema6.properties.encoding.type, parentSchema: schema6.properties.encoding, data: data4 }];\n return false;\n }\n const _errs10 = errors;\n if (errors === _errs9) {\n }\n var valid0 = _errs9 === errors;\n } else {\n var valid0 = true;\n }\n if (valid0) {\n if (data.comment !== void 0) {\n let data5 = data.comment;\n const _errs11 = errors;\n if (typeof data5 !== \"string\") {\n validate4.errors = [{ instancePath: instancePath + \"/comment\", schemaPath: \"#/properties/comment/type\", keyword: \"type\", params: { type: \"string\" }, message: \"must be string\", schema: schema6.properties.comment.type, parentSchema: schema6.properties.comment, data: data5 }];\n return false;\n }\n const _errs12 = errors;\n if (errors === _errs11) {\n }\n var valid0 = _errs11 === errors;\n } else {\n var valid0 = true;\n }\n if (valid0) {\n }\n }\n }\n }\n }\n }\n }\n } else {\n validate4.errors = [{ instancePath, schemaPath: \"#/type\", keyword: \"type\", params: { type: \"object\" }, message: \"must be object\", schema: schema6.type, parentSchema: schema6, data }];\n return false;\n }\n if (errors === 0) {\n }\n }\n validate4.errors = vErrors;\n return errors === 0;\n }\n exports[\"cookie.json\"] = validate5;\n var schema7 = { \"$id\": \"cookie.json#\", \"$schema\": \"http://json-schema.org/draft-06/schema#\", \"type\": \"object\", \"required\": [\"name\", \"value\"], \"properties\": { \"name\": { \"type\": \"string\" }, \"value\": { \"type\": \"string\" }, \"path\": { \"type\": \"string\" }, \"domain\": { \"type\": \"string\" }, \"expires\": { \"type\": [\"string\", \"null\"], \"format\": \"date-time\" }, \"httpOnly\": { \"type\": \"boolean\" }, \"secure\": { \"type\": \"boolean\" }, \"comment\": { \"type\": \"string\" } } };\n var formats0 = require_formats().fullFormats[\"date-time\"];\n function validate5(data, { instancePath = \"\", parentData, parentDataProperty, rootData = data } = {}) {\n ;\n let vErrors = null;\n let errors = 0;\n const _errs0 = errors;\n if (errors === 0) {\n if (data && typeof data == \"object\" && !Array.isArray(data)) {\n let missing0;\n if (data.name === void 0 && (missing0 = \"name\") || data.value === void 0 && (missing0 = \"value\")) {\n validate5.errors = [{ instancePath, schemaPath: \"#/required\", keyword: \"required\", params: { missingProperty: missing0 }, message: \"must have required property '\" + missing0 + \"'\", schema: schema7.required, parentSchema: schema7, data }];\n return false;\n } else {\n if (data.name !== void 0) {\n let data0 = data.name;\n const _errs1 = errors;\n if (typeof data0 !== \"string\") {\n validate5.errors = [{ instancePath: instancePath + \"/name\", schemaPath: \"#/properties/name/type\", keyword: \"type\", params: { type: \"string\" }, message: \"must be string\", schema: schema7.properties.name.type, parentSchema: schema7.properties.name, data: data0 }];\n return false;\n }\n const _errs2 = errors;\n if (errors === _errs1) {\n }\n var valid0 = _errs1 === errors;\n } else {\n var valid0 = true;\n }\n if (valid0) {\n if (data.value !== void 0) {\n let data1 = data.value;\n const _errs3 = errors;\n if (typeof data1 !== \"string\") {\n validate5.errors = [{ instancePath: instancePath + \"/value\", schemaPath: \"#/properties/value/type\", keyword: \"type\", params: { type: \"string\" }, message: \"must be string\", schema: schema7.properties.value.type, parentSchema: schema7.properties.value, data: data1 }];\n return false;\n }\n const _errs4 = errors;\n if (errors === _errs3) {\n }\n var valid0 = _errs3 === errors;\n } else {\n var valid0 = true;\n }\n if (valid0) {\n if (data.path !== void 0) {\n let data2 = data.path;\n const _errs5 = errors;\n if (typeof data2 !== \"string\") {\n validate5.errors = [{ instancePath: instancePath + \"/path\", schemaPath: \"#/properties/path/type\", keyword: \"type\", params: { type: \"string\" }, message: \"must be string\", schema: schema7.properties.path.type, parentSchema: schema7.properties.path, data: data2 }];\n return false;\n }\n const _errs6 = errors;\n if (errors === _errs5) {\n }\n var valid0 = _errs5 === errors;\n } else {\n var valid0 = true;\n }\n if (valid0) {\n if (data.domain !== void 0) {\n let data3 = data.domain;\n const _errs7 = errors;\n if (typeof data3 !== \"string\") {\n validate5.errors = [{ instancePath: instancePath + \"/domain\", schemaPath: \"#/properties/domain/type\", keyword: \"type\", params: { type: \"string\" }, message: \"must be string\", schema: schema7.properties.domain.type, parentSchema: schema7.properties.domain, data: data3 }];\n return false;\n }\n const _errs8 = errors;\n if (errors === _errs7) {\n }\n var valid0 = _errs7 === errors;\n } else {\n var valid0 = true;\n }\n if (valid0) {\n if (data.expires !== void 0) {\n let data4 = data.expires;\n const _errs9 = errors;\n if (typeof data4 !== \"string\" && data4 !== null) {\n validate5.errors = [{ instancePath: instancePath + \"/expires\", schemaPath: \"#/properties/expires/type\", keyword: \"type\", params: { type: schema7.properties.expires.type }, message: \"must be string,null\", schema: schema7.properties.expires.type, parentSchema: schema7.properties.expires, data: data4 }];\n return false;\n }\n const _errs10 = errors;\n if (errors === _errs9) {\n if (typeof data4 == \"number\") {\n }\n if (errors === _errs9) {\n if (typeof data4 === \"string\") {\n if (!formats0.validate(data4)) {\n validate5.errors = [{ instancePath: instancePath + \"/expires\", schemaPath: \"#/properties/expires/format\", keyword: \"format\", params: { format: \"date-time\" }, message: 'must match format \"date-time\"', schema: \"date-time\", parentSchema: schema7.properties.expires, data: data4 }];\n return false;\n } else {\n }\n }\n if (errors === _errs9) {\n }\n }\n }\n var valid0 = _errs9 === errors;\n } else {\n var valid0 = true;\n }\n if (valid0) {\n if (data.httpOnly !== void 0) {\n let data5 = data.httpOnly;\n const _errs11 = errors;\n if (typeof data5 !== \"boolean\") {\n validate5.errors = [{ instancePath: instancePath + \"/httpOnly\", schemaPath: \"#/properties/httpOnly/type\", keyword: \"type\", params: { type: \"boolean\" }, message: \"must be boolean\", schema: schema7.properties.httpOnly.type, parentSchema: schema7.properties.httpOnly, data: data5 }];\n return false;\n }\n const _errs12 = errors;\n if (errors === _errs11) {\n }\n var valid0 = _errs11 === errors;\n } else {\n var valid0 = true;\n }\n if (valid0) {\n if (data.secure !== void 0) {\n let data6 = data.secure;\n const _errs13 = errors;\n if (typeof data6 !== \"boolean\") {\n validate5.errors = [{ instancePath: instancePath + \"/secure\", schemaPath: \"#/properties/secure/type\", keyword: \"type\", params: { type: \"boolean\" }, message: \"must be boolean\", schema: schema7.properties.secure.type, parentSchema: schema7.properties.secure, data: data6 }];\n return false;\n }\n const _errs14 = errors;\n if (errors === _errs13) {\n }\n var valid0 = _errs13 === errors;\n } else {\n var valid0 = true;\n }\n if (valid0) {\n if (data.comment !== void 0) {\n let data7 = data.comment;\n const _errs15 = errors;\n if (typeof data7 !== \"string\") {\n validate5.errors = [{ instancePath: instancePath + \"/comment\", schemaPath: \"#/properties/comment/type\", keyword: \"type\", params: { type: \"string\" }, message: \"must be string\", schema: schema7.properties.comment.type, parentSchema: schema7.properties.comment, data: data7 }];\n return false;\n }\n const _errs16 = errors;\n if (errors === _errs15) {\n }\n var valid0 = _errs15 === errors;\n } else {\n var valid0 = true;\n }\n if (valid0) {\n }\n }\n }\n }\n }\n }\n }\n }\n }\n } else {\n validate5.errors = [{ instancePath, schemaPath: \"#/type\", keyword: \"type\", params: { type: \"object\" }, message: \"must be object\", schema: schema7.type, parentSchema: schema7, data }];\n return false;\n }\n if (errors === 0) {\n }\n }\n validate5.errors = vErrors;\n return errors === 0;\n }\n exports[\"creator.json\"] = validate6;\n var schema8 = { \"$id\": \"creator.json#\", \"$schema\": \"http://json-schema.org/draft-06/schema#\", \"type\": \"object\", \"required\": [\"name\", \"version\"], \"properties\": { \"name\": { \"type\": \"string\" }, \"version\": { \"type\": \"string\" }, \"comment\": { \"type\": \"string\" } } };\n function validate6(data, { instancePath = \"\", parentData, parentDataProperty, rootData = data } = {}) {\n ;\n let vErrors = null;\n let errors = 0;\n const _errs0 = errors;\n if (errors === 0) {\n if (data && typeof data == \"object\" && !Array.isArray(data)) {\n let missing0;\n if (data.name === void 0 && (missing0 = \"name\") || data.version === void 0 && (missing0 = \"version\")) {\n validate6.errors = [{ instancePath, schemaPath: \"#/required\", keyword: \"required\", params: { missingProperty: missing0 }, message: \"must have required property '\" + missing0 + \"'\", schema: schema8.required, parentSchema: schema8, data }];\n return false;\n } else {\n if (data.name !== void 0) {\n let data0 = data.name;\n const _errs1 = errors;\n if (typeof data0 !== \"string\") {\n validate6.errors = [{ instancePath: instancePath + \"/name\", schemaPath: \"#/properties/name/type\", keyword: \"type\", params: { type: \"string\" }, message: \"must be string\", schema: schema8.properties.name.type, parentSchema: schema8.properties.name, data: data0 }];\n return false;\n }\n const _errs2 = errors;\n if (errors === _errs1) {\n }\n var valid0 = _errs1 === errors;\n } else {\n var valid0 = true;\n }\n if (valid0) {\n if (data.version !== void 0) {\n let data1 = data.version;\n const _errs3 = errors;\n if (typeof data1 !== \"string\") {\n validate6.errors = [{ instancePath: instancePath + \"/version\", schemaPath: \"#/properties/version/type\", keyword: \"type\", params: { type: \"string\" }, message: \"must be string\", schema: schema8.properties.version.type, parentSchema: schema8.properties.version, data: data1 }];\n return false;\n }\n const _errs4 = errors;\n if (errors === _errs3) {\n }\n var valid0 = _errs3 === errors;\n } else {\n var valid0 = true;\n }\n if (valid0) {\n if (data.comment !== void 0) {\n let data2 = data.comment;\n const _errs5 = errors;\n if (typeof data2 !== \"string\") {\n validate6.errors = [{ instancePath: instancePath + \"/comment\", schemaPath: \"#/properties/comment/type\", keyword: \"type\", params: { type: \"string\" }, message: \"must be string\", schema: schema8.properties.comment.type, parentSchema: schema8.properties.comment, data: data2 }];\n return false;\n }\n const _errs6 = errors;\n if (errors === _errs5) {\n }\n var valid0 = _errs5 === errors;\n } else {\n var valid0 = true;\n }\n if (valid0) {\n }\n }\n }\n }\n } else {\n validate6.errors = [{ instancePath, schemaPath: \"#/type\", keyword: \"type\", params: { type: \"object\" }, message: \"must be object\", schema: schema8.type, parentSchema: schema8, data }];\n return false;\n }\n if (errors === 0) {\n }\n }\n validate6.errors = vErrors;\n return errors === 0;\n }\n exports[\"entry.json\"] = validate7;\n var schema9 = { \"$id\": \"entry.json#\", \"$schema\": \"http://json-schema.org/draft-06/schema#\", \"type\": \"object\", \"optional\": true, \"required\": [\"startedDateTime\", \"time\", \"request\", \"response\", \"cache\", \"timings\"], \"properties\": { \"pageref\": { \"type\": \"string\" }, \"startedDateTime\": { \"type\": \"string\", \"format\": \"date-time\", \"pattern\": \"^(\\\\d{4})(-)?(\\\\d\\\\d)(-)?(\\\\d\\\\d)(T)?(\\\\d\\\\d)(:)?(\\\\d\\\\d)(:)?(\\\\d\\\\d)(\\\\.\\\\d+)?(Z|([+-])(\\\\d\\\\d)(:)?(\\\\d\\\\d))\" }, \"time\": { \"type\": \"number\", \"min\": 0 }, \"request\": { \"$ref\": \"request.json#\" }, \"response\": { \"$ref\": \"response.json#\" }, \"cache\": { \"$ref\": \"cache.json#\" }, \"timings\": { \"$ref\": \"timings.json#\" }, \"serverIPAddress\": { \"type\": \"string\", \"oneOf\": [{ \"format\": \"ipv4\" }, { \"format\": \"ipv6\" }] }, \"connection\": { \"type\": \"string\" }, \"comment\": { \"type\": \"string\" } } };\n var schema19 = { \"$id\": \"timings.json#\", \"$schema\": \"http://json-schema.org/draft-06/schema#\", \"required\": [\"send\", \"wait\", \"receive\"], \"properties\": { \"dns\": { \"type\": \"number\", \"min\": -1 }, \"connect\": { \"type\": \"number\", \"min\": -1 }, \"blocked\": { \"type\": \"number\", \"min\": -1 }, \"send\": { \"type\": \"number\", \"min\": -1 }, \"wait\": { \"type\": \"number\", \"min\": -1 }, \"receive\": { \"type\": \"number\", \"min\": -1 }, \"ssl\": { \"type\": \"number\", \"min\": -1 }, \"comment\": { \"type\": \"string\" } } };\n var formats10 = /^(?:(?:25[0-5]|2[0-4]\\d|[01]?\\d\\d?)\\.){3}(?:25[0-5]|2[0-4]\\d|[01]?\\d\\d?)$/;\n var formats12 = /^((([0-9a-f]{1,4}:){7}([0-9a-f]{1,4}|:))|(([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:)?(\\\\d\\\\d)(:)?(\\\\d\\\\d)(\\\\.\\\\d+)?(Z|([+-])(\\\\d\\\\d)(:)?(\\\\d\\\\d))\", \"u\");\n var schema10 = { \"$id\": \"request.json#\", \"$schema\": \"http://json-schema.org/draft-06/schema#\", \"type\": \"object\", \"required\": [\"method\", \"url\", \"httpVersion\", \"cookies\", \"headers\", \"queryString\", \"headersSize\", \"bodySize\"], \"properties\": { \"method\": { \"type\": \"string\" }, \"url\": { \"type\": \"string\", \"format\": \"uri\" }, \"httpVersion\": { \"type\": \"string\" }, \"cookies\": { \"type\": \"array\", \"items\": { \"$ref\": \"cookie.json#\" } }, \"headers\": { \"type\": \"array\", \"items\": { \"$ref\": \"header.json#\" } }, \"queryString\": { \"type\": \"array\", \"items\": { \"$ref\": \"query.json#\" } }, \"postData\": { \"$ref\": \"postData.json#\" }, \"headersSize\": { \"type\": \"integer\" }, \"bodySize\": { \"type\": \"integer\" }, \"comment\": { \"type\": \"string\" } } };\n var schema12 = { \"$id\": \"header.json#\", \"$schema\": \"http://json-schema.org/draft-06/schema#\", \"type\": \"object\", \"required\": [\"name\", \"value\"], \"properties\": { \"name\": { \"type\": \"string\" }, \"value\": { \"type\": \"string\" }, \"comment\": { \"type\": \"string\" } } };\n var schema13 = { \"$id\": \"query.json#\", \"$schema\": \"http://json-schema.org/draft-06/schema#\", \"type\": \"object\", \"required\": [\"name\", \"value\"], \"properties\": { \"name\": { \"type\": \"string\" }, \"value\": { \"type\": \"string\" }, \"comment\": { \"type\": \"string\" } } };\n var schema14 = { \"$id\": \"postData.json#\", \"$schema\": \"http://json-schema.org/draft-06/schema#\", \"type\": \"object\", \"optional\": true, \"required\": [\"mimeType\"], \"properties\": { \"mimeType\": { \"type\": \"string\" }, \"text\": { \"type\": \"string\" }, \"params\": { \"type\": \"array\", \"required\": [\"name\"], \"properties\": { \"name\": { \"type\": \"string\" }, \"value\": { \"type\": \"string\" }, \"fileName\": { \"type\": \"string\" }, \"contentType\": { \"type\": \"string\" }, \"comment\": { \"type\": \"string\" } } }, \"comment\": { \"type\": \"string\" } } };\n var formats4 = require_formats().fullFormats.uri;\n function validate8(data, { instancePath = \"\", parentData, parentDataProperty, rootData = data } = {}) {\n ;\n let vErrors = null;\n let errors = 0;\n const _errs0 = errors;\n if (errors === 0) {\n if (data && typeof data == \"object\" && !Array.isArray(data)) {\n let missing0;\n if (data.method === void 0 && (missing0 = \"method\") || data.url === void 0 && (missing0 = \"url\") || data.httpVersion === void 0 && (missing0 = \"httpVersion\") || data.cookies === void 0 && (missing0 = \"cookies\") || data.headers === void 0 && (missing0 = \"headers\") || data.queryString === void 0 && (missing0 = \"queryString\") || data.headersSize === void 0 && (missing0 = \"headersSize\") || data.bodySize === void 0 && (missing0 = \"bodySize\")) {\n validate8.errors = [{ instancePath, schemaPath: \"#/required\", keyword: \"required\", params: { missingProperty: missing0 }, message: \"must have required property '\" + missing0 + \"'\", schema: schema10.required, parentSchema: schema10, data }];\n return false;\n } else {\n if (data.method !== void 0) {\n let data0 = data.method;\n const _errs1 = errors;\n if (typeof data0 !== \"string\") {\n validate8.errors = [{ instancePath: instancePath + \"/method\", schemaPath: \"#/properties/method/type\", keyword: \"type\", params: { type: \"string\" }, message: \"must be string\", schema: schema10.properties.method.type, parentSchema: schema10.properties.method, data: data0 }];\n return false;\n }\n const _errs2 = errors;\n if (errors === _errs1) {\n }\n var valid0 = _errs1 === errors;\n } else {\n var valid0 = true;\n }\n if (valid0) {\n if (data.url !== void 0) {\n let data1 = data.url;\n const _errs3 = errors;\n const _errs4 = errors;\n if (errors === _errs3) {\n if (typeof data1 == \"number\") {\n }\n if (errors === _errs3) {\n if (typeof data1 === \"string\") {\n if (!formats4(data1)) {\n validate8.errors = [{ instancePath: instancePath + \"/url\", schemaPath: \"#/properties/url/format\", keyword: \"format\", params: { format: \"uri\" }, message: 'must match format \"uri\"', schema: \"uri\", parentSchema: schema10.properties.url, data: data1 }];\n return false;\n } else {\n }\n } else {\n validate8.errors = [{ instancePath: instancePath + \"/url\", schemaPath: \"#/properties/url/type\", keyword: \"type\", params: { type: \"string\" }, message: \"must be string\", schema: schema10.properties.url.type, parentSchema: schema10.properties.url, data: data1 }];\n return false;\n }\n if (errors === _errs3) {\n }\n }\n }\n var valid0 = _errs3 === errors;\n } else {\n var valid0 = true;\n }\n if (valid0) {\n if (data.httpVersion !== void 0) {\n let data2 = data.httpVersion;\n const _errs5 = errors;\n if (typeof data2 !== \"string\") {\n validate8.errors = [{ instancePath: instancePath + \"/httpVersion\", schemaPath: \"#/properties/httpVersion/type\", keyword: \"type\", params: { type: \"string\" }, message: \"must be string\", schema: schema10.properties.httpVersion.type, parentSchema: schema10.properties.httpVersion, data: data2 }];\n return false;\n }\n const _errs6 = errors;\n if (errors === _errs5) {\n }\n var valid0 = _errs5 === errors;\n } else {\n var valid0 = true;\n }\n if (valid0) {\n if (data.cookies !== void 0) {\n let data3 = data.cookies;\n const _errs7 = errors;\n const _errs8 = errors;\n if (errors === _errs7) {\n if (Array.isArray(data3)) {\n var valid1 = true;\n const len0 = data3.length;\n for (let i0 = 0; i0 < len0; i0++) {\n let data4 = data3[i0];\n const _errs9 = errors;\n const _errs10 = errors;\n const _errs11 = errors;\n if (errors === _errs10) {\n if (data4 && typeof data4 == \"object\" && !Array.isArray(data4)) {\n let missing1;\n if (data4.name === void 0 && (missing1 = \"name\") || data4.value === void 0 && (missing1 = \"value\")) {\n validate8.errors = [{ instancePath: instancePath + \"/cookies/\" + i0, schemaPath: \"cookie.json#/required\", keyword: \"required\", params: { missingProperty: missing1 }, message: \"must have required property '\" + missing1 + \"'\", schema: schema7.required, parentSchema: schema7, data: data4 }];\n return false;\n } else {\n if (data4.name !== void 0) {\n let data5 = data4.name;\n const _errs12 = errors;\n if (typeof data5 !== \"string\") {\n validate8.errors = [{ instancePath: instancePath + \"/cookies/\" + i0 + \"/name\", schemaPath: \"cookie.json#/properties/name/type\", keyword: \"type\", params: { type: \"string\" }, message: \"must be string\", schema: schema7.properties.name.type, parentSchema: schema7.properties.name, data: data5 }];\n return false;\n }\n const _errs13 = errors;\n if (errors === _errs12) {\n }\n var valid3 = _errs12 === errors;\n } else {\n var valid3 = true;\n }\n if (valid3) {\n if (data4.value !== void 0) {\n let data6 = data4.value;\n const _errs14 = errors;\n if (typeof data6 !== \"string\") {\n validate8.errors = [{ instancePath: instancePath + \"/cookies/\" + i0 + \"/value\", schemaPath: \"cookie.json#/properties/value/type\", keyword: \"type\", params: { type: \"string\" }, message: \"must be string\", schema: schema7.properties.value.type, parentSchema: schema7.properties.value, data: data6 }];\n return false;\n }\n const _errs15 = errors;\n if (errors === _errs14) {\n }\n var valid3 = _errs14 === errors;\n } else {\n var valid3 = true;\n }\n if (valid3) {\n if (data4.path !== void 0) {\n let data7 = data4.path;\n const _errs16 = errors;\n if (typeof data7 !== \"string\") {\n validate8.errors = [{ instancePath: instancePath + \"/cookies/\" + i0 + \"/path\", schemaPath: \"cookie.json#/properties/path/type\", keyword: \"type\", params: { type: \"string\" }, message: \"must be string\", schema: schema7.properties.path.type, parentSchema: schema7.properties.path, data: data7 }];\n return false;\n }\n const _errs17 = errors;\n if (errors === _errs16) {\n }\n var valid3 = _errs16 === errors;\n } else {\n var valid3 = true;\n }\n if (valid3) {\n if (data4.domain !== void 0) {\n let data8 = data4.domain;\n const _errs18 = errors;\n if (typeof data8 !== \"string\") {\n validate8.errors = [{ instancePath: instancePath + \"/cookies/\" + i0 + \"/domain\", schemaPath: \"cookie.json#/properties/domain/type\", keyword: \"type\", params: { type: \"string\" }, message: \"must be string\", schema: schema7.properties.domain.type, parentSchema: schema7.properties.domain, data: data8 }];\n return false;\n }\n const _errs19 = errors;\n if (errors === _errs18) {\n }\n var valid3 = _errs18 === errors;\n } else {\n var valid3 = true;\n }\n if (valid3) {\n if (data4.expires !== void 0) {\n let data9 = data4.expires;\n const _errs20 = errors;\n if (typeof data9 !== \"string\" && data9 !== null) {\n validate8.errors = [{ instancePath: instancePath + \"/cookies/\" + i0 + \"/expires\", schemaPath: \"cookie.json#/properties/expires/type\", keyword: \"type\", params: { type: schema7.properties.expires.type }, message: \"must be string,null\", schema: schema7.properties.expires.type, parentSchema: schema7.properties.expires, data: data9 }];\n return false;\n }\n const _errs21 = errors;\n if (errors === _errs20) {\n if (typeof data9 == \"number\") {\n }\n if (errors === _errs20) {\n if (typeof data9 === \"string\") {\n if (!formats0.validate(data9)) {\n validate8.errors = [{ instancePath: instancePath + \"/cookies/\" + i0 + \"/expires\", schemaPath: \"cookie.json#/properties/expires/format\", keyword: \"format\", params: { format: \"date-time\" }, message: 'must match format \"date-time\"', schema: \"date-time\", parentSchema: schema7.properties.expires, data: data9 }];\n return false;\n } else {\n }\n }\n if (errors === _errs20) {\n }\n }\n }\n var valid3 = _errs20 === errors;\n } else {\n var valid3 = true;\n }\n if (valid3) {\n if (data4.httpOnly !== void 0) {\n let data10 = data4.httpOnly;\n const _errs22 = errors;\n if (typeof data10 !== \"boolean\") {\n validate8.errors = [{ instancePath: instancePath + \"/cookies/\" + i0 + \"/httpOnly\", schemaPath: \"cookie.json#/properties/httpOnly/type\", keyword: \"type\", params: { type: \"boolean\" }, message: \"must be boolean\", schema: schema7.properties.httpOnly.type, parentSchema: schema7.properties.httpOnly, data: data10 }];\n return false;\n }\n const _errs23 = errors;\n if (errors === _errs22) {\n }\n var valid3 = _errs22 === errors;\n } else {\n var valid3 = true;\n }\n if (valid3) {\n if (data4.secure !== void 0) {\n let data11 = data4.secure;\n const _errs24 = errors;\n if (typeof data11 !== \"boolean\") {\n validate8.errors = [{ instancePath: instancePath + \"/cookies/\" + i0 + \"/secure\", schemaPath: \"cookie.json#/properties/secure/type\", keyword: \"type\", params: { type: \"boolean\" }, message: \"must be boolean\", schema: schema7.properties.secure.type, parentSchema: schema7.properties.secure, data: data11 }];\n return false;\n }\n const _errs25 = errors;\n if (errors === _errs24) {\n }\n var valid3 = _errs24 === errors;\n } else {\n var valid3 = true;\n }\n if (valid3) {\n if (data4.comment !== void 0) {\n let data12 = data4.comment;\n const _errs26 = errors;\n if (typeof data12 !== \"string\") {\n validate8.errors = [{ instancePath: instancePath + \"/cookies/\" + i0 + \"/comment\", schemaPath: \"cookie.json#/properties/comment/type\", keyword: \"type\", params: { type: \"string\" }, message: \"must be string\", schema: schema7.properties.comment.type, parentSchema: schema7.properties.comment, data: data12 }];\n return false;\n }\n const _errs27 = errors;\n if (errors === _errs26) {\n }\n var valid3 = _errs26 === errors;\n } else {\n var valid3 = true;\n }\n if (valid3) {\n }\n }\n }\n }\n }\n }\n }\n }\n }\n } else {\n validate8.errors = [{ instancePath: instancePath + \"/cookies/\" + i0, schemaPath: \"cookie.json#/type\", keyword: \"type\", params: { type: \"object\" }, message: \"must be object\", schema: schema7.type, parentSchema: schema7, data: data4 }];\n return false;\n }\n if (errors === _errs10) {\n }\n }\n var valid2 = _errs10 === errors;\n if (valid2) {\n }\n var valid1 = _errs9 === errors;\n if (!valid1) {\n break;\n }\n }\n if (valid1) {\n }\n } else {\n validate8.errors = [{ instancePath: instancePath + \"/cookies\", schemaPath: \"#/properties/cookies/type\", keyword: \"type\", params: { type: \"array\" }, message: \"must be array\", schema: schema10.properties.cookies.type, parentSchema: schema10.properties.cookies, data: data3 }];\n return false;\n }\n if (errors === _errs7) {\n }\n }\n var valid0 = _errs7 === errors;\n } else {\n var valid0 = true;\n }\n if (valid0) {\n if (data.headers !== void 0) {\n let data13 = data.headers;\n const _errs28 = errors;\n const _errs29 = errors;\n if (errors === _errs28) {\n if (Array.isArray(data13)) {\n var valid4 = true;\n const len1 = data13.length;\n for (let i1 = 0; i1 < len1; i1++) {\n let data14 = data13[i1];\n const _errs30 = errors;\n const _errs31 = errors;\n const _errs32 = errors;\n if (errors === _errs31) {\n if (data14 && typeof data14 == \"object\" && !Array.isArray(data14)) {\n let missing2;\n if (data14.name === void 0 && (missing2 = \"name\") || data14.value === void 0 && (missing2 = \"value\")) {\n validate8.errors = [{ instancePath: instancePath + \"/headers/\" + i1, schemaPath: \"header.json#/required\", keyword: \"required\", params: { missingProperty: missing2 }, message: \"must have required property '\" + missing2 + \"'\", schema: schema12.required, parentSchema: schema12, data: data14 }];\n return false;\n } else {\n if (data14.name !== void 0) {\n let data15 = data14.name;\n const _errs33 = errors;\n if (typeof data15 !== \"string\") {\n validate8.errors = [{ instancePath: instancePath + \"/headers/\" + i1 + \"/name\", schemaPath: \"header.json#/properties/name/type\", keyword: \"type\", params: { type: \"string\" }, message: \"must be string\", schema: schema12.properties.name.type, parentSchema: schema12.properties.name, data: data15 }];\n return false;\n }\n const _errs34 = errors;\n if (errors === _errs33) {\n }\n var valid6 = _errs33 === errors;\n } else {\n var valid6 = true;\n }\n if (valid6) {\n if (data14.value !== void 0) {\n let data16 = data14.value;\n const _errs35 = errors;\n if (typeof data16 !== \"string\") {\n validate8.errors = [{ instancePath: instancePath + \"/headers/\" + i1 + \"/value\", schemaPath: \"header.json#/properties/value/type\", keyword: \"type\", params: { type: \"string\" }, message: \"must be string\", schema: schema12.properties.value.type, parentSchema: schema12.properties.value, data: data16 }];\n return false;\n }\n const _errs36 = errors;\n if (errors === _errs35) {\n }\n var valid6 = _errs35 === errors;\n } else {\n var valid6 = true;\n }\n if (valid6) {\n if (data14.comment !== void 0) {\n let data17 = data14.comment;\n const _errs37 = errors;\n if (typeof data17 !== \"string\") {\n validate8.errors = [{ instancePath: instancePath + \"/headers/\" + i1 + \"/comment\", schemaPath: \"header.json#/properties/comment/type\", keyword: \"type\", params: { type: \"string\" }, message: \"must be string\", schema: schema12.properties.comment.type, parentSchema: schema12.properties.comment, data: data17 }];\n return false;\n }\n const _errs38 = errors;\n if (errors === _errs37) {\n }\n var valid6 = _errs37 === errors;\n } else {\n var valid6 = true;\n }\n if (valid6) {\n }\n }\n }\n }\n } else {\n validate8.errors = [{ instancePath: instancePath + \"/headers/\" + i1, schemaPath: \"header.json#/type\", keyword: \"type\", params: { type: \"object\" }, message: \"must be object\", schema: schema12.type, parentSchema: schema12, data: data14 }];\n return false;\n }\n if (errors === _errs31) {\n }\n }\n var valid5 = _errs31 === errors;\n if (valid5) {\n }\n var valid4 = _errs30 === errors;\n if (!valid4) {\n break;\n }\n }\n if (valid4) {\n }\n } else {\n validate8.errors = [{ instancePath: instancePath + \"/headers\", schemaPath: \"#/properties/headers/type\", keyword: \"type\", params: { type: \"array\" }, message: \"must be array\", schema: schema10.properties.headers.type, parentSchema: schema10.properties.headers, data: data13 }];\n return false;\n }\n if (errors === _errs28) {\n }\n }\n var valid0 = _errs28 === errors;\n } else {\n var valid0 = true;\n }\n if (valid0) {\n if (data.queryString !== void 0) {\n let data18 = data.queryString;\n const _errs39 = errors;\n const _errs40 = errors;\n if (errors === _errs39) {\n if (Array.isArray(data18)) {\n var valid7 = true;\n const len2 = data18.length;\n for (let i2 = 0; i2 < len2; i2++) {\n let data19 = data18[i2];\n const _errs41 = errors;\n const _errs42 = errors;\n const _errs43 = errors;\n if (errors === _errs42) {\n if (data19 && typeof data19 == \"object\" && !Array.isArray(data19)) {\n let missing3;\n if (data19.name === void 0 && (missing3 = \"name\") || data19.value === void 0 && (missing3 = \"value\")) {\n validate8.errors = [{ instancePath: instancePath + \"/queryString/\" + i2, schemaPath: \"query.json#/required\", keyword: \"required\", params: { missingProperty: missing3 }, message: \"must have required property '\" + missing3 + \"'\", schema: schema13.required, parentSchema: schema13, data: data19 }];\n return false;\n } else {\n if (data19.name !== void 0) {\n let data20 = data19.name;\n const _errs44 = errors;\n if (typeof data20 !== \"string\") {\n validate8.errors = [{ instancePath: instancePath + \"/queryString/\" + i2 + \"/name\", schemaPath: \"query.json#/properties/name/type\", keyword: \"type\", params: { type: \"string\" }, message: \"must be string\", schema: schema13.properties.name.type, parentSchema: schema13.properties.name, data: data20 }];\n return false;\n }\n const _errs45 = errors;\n if (errors === _errs44) {\n }\n var valid9 = _errs44 === errors;\n } else {\n var valid9 = true;\n }\n if (valid9) {\n if (data19.value !== void 0) {\n let data21 = data19.value;\n const _errs46 = errors;\n if (typeof data21 !== \"string\") {\n validate8.errors = [{ instancePath: instancePath + \"/queryString/\" + i2 + \"/value\", schemaPath: \"query.json#/properties/value/type\", keyword: \"type\", params: { type: \"string\" }, message: \"must be string\", schema: schema13.properties.value.type, parentSchema: schema13.properties.value, data: data21 }];\n return false;\n }\n const _errs47 = errors;\n if (errors === _errs46) {\n }\n var valid9 = _errs46 === errors;\n } else {\n var valid9 = true;\n }\n if (valid9) {\n if (data19.comment !== void 0) {\n let data22 = data19.comment;\n const _errs48 = errors;\n if (typeof data22 !== \"string\") {\n validate8.errors = [{ instancePath: instancePath + \"/queryString/\" + i2 + \"/comment\", schemaPath: \"query.json#/properties/comment/type\", keyword: \"type\", params: { type: \"string\" }, message: \"must be string\", schema: schema13.properties.comment.type, parentSchema: schema13.properties.comment, data: data22 }];\n return false;\n }\n const _errs49 = errors;\n if (errors === _errs48) {\n }\n var valid9 = _errs48 === errors;\n } else {\n var valid9 = true;\n }\n if (valid9) {\n }\n }\n }\n }\n } else {\n validate8.errors = [{ instancePath: instancePath + \"/queryString/\" + i2, schemaPath: \"query.json#/type\", keyword: \"type\", params: { type: \"object\" }, message: \"must be object\", schema: schema13.type, parentSchema: schema13, data: data19 }];\n return false;\n }\n if (errors === _errs42) {\n }\n }\n var valid8 = _errs42 === errors;\n if (valid8) {\n }\n var valid7 = _errs41 === errors;\n if (!valid7) {\n break;\n }\n }\n if (valid7) {\n }\n } else {\n validate8.errors = [{ instancePath: instancePath + \"/queryString\", schemaPath: \"#/properties/queryString/type\", keyword: \"type\", params: { type: \"array\" }, message: \"must be array\", schema: schema10.properties.queryString.type, parentSchema: schema10.properties.queryString, data: data18 }];\n return false;\n }\n if (errors === _errs39) {\n }\n }\n var valid0 = _errs39 === errors;\n } else {\n var valid0 = true;\n }\n if (valid0) {\n if (data.postData !== void 0) {\n let data23 = data.postData;\n const _errs50 = errors;\n const _errs51 = errors;\n const _errs52 = errors;\n if (errors === _errs51) {\n if (data23 && typeof data23 == \"object\" && !Array.isArray(data23)) {\n let missing4;\n if (data23.mimeType === void 0 && (missing4 = \"mimeType\")) {\n validate8.errors = [{ instancePath: instancePath + \"/postData\", schemaPath: \"postData.json#/required\", keyword: \"required\", params: { missingProperty: missing4 }, message: \"must have required property '\" + missing4 + \"'\", schema: schema14.required, parentSchema: schema14, data: data23 }];\n return false;\n } else {\n if (data23.mimeType !== void 0) {\n let data24 = data23.mimeType;\n const _errs53 = errors;\n if (typeof data24 !== \"string\") {\n validate8.errors = [{ instancePath: instancePath + \"/postData/mimeType\", schemaPath: \"postData.json#/properties/mimeType/type\", keyword: \"type\", params: { type: \"string\" }, message: \"must be string\", schema: schema14.properties.mimeType.type, parentSchema: schema14.properties.mimeType, data: data24 }];\n return false;\n }\n const _errs54 = errors;\n if (errors === _errs53) {\n }\n var valid11 = _errs53 === errors;\n } else {\n var valid11 = true;\n }\n if (valid11) {\n if (data23.text !== void 0) {\n let data25 = data23.text;\n const _errs55 = errors;\n if (typeof data25 !== \"string\") {\n validate8.errors = [{ instancePath: instancePath + \"/postData/text\", schemaPath: \"postData.json#/properties/text/type\", keyword: \"type\", params: { type: \"string\" }, message: \"must be string\", schema: schema14.properties.text.type, parentSchema: schema14.properties.text, data: data25 }];\n return false;\n }\n const _errs56 = errors;\n if (errors === _errs55) {\n }\n var valid11 = _errs55 === errors;\n } else {\n var valid11 = true;\n }\n if (valid11) {\n if (data23.params !== void 0) {\n let data26 = data23.params;\n const _errs57 = errors;\n if (!Array.isArray(data26)) {\n validate8.errors = [{ instancePath: instancePath + \"/postData/params\", schemaPath: \"postData.json#/properties/params/type\", keyword: \"type\", params: { type: \"array\" }, message: \"must be array\", schema: schema14.properties.params.type, parentSchema: schema14.properties.params, data: data26 }];\n return false;\n }\n const _errs58 = errors;\n if (errors === _errs57) {\n if (data26 && typeof data26 == \"object\" && !Array.isArray(data26)) {\n let missing5;\n if (data26.name === void 0 && (missing5 = \"name\")) {\n validate8.errors = [{ instancePath: instancePath + \"/postData/params\", schemaPath: \"postData.json#/properties/params/required\", keyword: \"required\", params: { missingProperty: missing5 }, message: \"must have required property '\" + missing5 + \"'\", schema: schema14.properties.params.required, parentSchema: schema14.properties.params, data: data26 }];\n return false;\n } else {\n if (data26.name !== void 0) {\n let data27 = data26.name;\n const _errs59 = errors;\n if (typeof data27 !== \"string\") {\n validate8.errors = [{ instancePath: instancePath + \"/postData/params/name\", schemaPath: \"postData.json#/properties/params/properties/name/type\", keyword: \"type\", params: { type: \"string\" }, message: \"must be string\", schema: schema14.properties.params.properties.name.type, parentSchema: schema14.properties.params.properties.name, data: data27 }];\n return false;\n }\n const _errs60 = errors;\n if (errors === _errs59) {\n }\n var valid12 = _errs59 === errors;\n } else {\n var valid12 = true;\n }\n if (valid12) {\n if (data26.value !== void 0) {\n let data28 = data26.value;\n const _errs61 = errors;\n if (typeof data28 !== \"string\") {\n validate8.errors = [{ instancePath: instancePath + \"/postData/params/value\", schemaPath: \"postData.json#/properties/params/properties/value/type\", keyword: \"type\", params: { type: \"string\" }, message: \"must be string\", schema: schema14.properties.params.properties.value.type, parentSchema: schema14.properties.params.properties.value, data: data28 }];\n return false;\n }\n const _errs62 = errors;\n if (errors === _errs61) {\n }\n var valid12 = _errs61 === errors;\n } else {\n var valid12 = true;\n }\n if (valid12) {\n if (data26.fileName !== void 0) {\n let data29 = data26.fileName;\n const _errs63 = errors;\n if (typeof data29 !== \"string\") {\n validate8.errors = [{ instancePath: instancePath + \"/postData/params/fileName\", schemaPath: \"postData.json#/properties/params/properties/fileName/type\", keyword: \"type\", params: { type: \"string\" }, message: \"must be string\", schema: schema14.properties.params.properties.fileName.type, parentSchema: schema14.properties.params.properties.fileName, data: data29 }];\n return false;\n }\n const _errs64 = errors;\n if (errors === _errs63) {\n }\n var valid12 = _errs63 === errors;\n } else {\n var valid12 = true;\n }\n if (valid12) {\n if (data26.contentType !== void 0) {\n let data30 = data26.contentType;\n const _errs65 = errors;\n if (typeof data30 !== \"string\") {\n validate8.errors = [{ instancePath: instancePath + \"/postData/params/contentType\", schemaPath: \"postData.json#/properties/params/properties/contentType/type\", keyword: \"type\", params: { type: \"string\" }, message: \"must be string\", schema: schema14.properties.params.properties.contentType.type, parentSchema: schema14.properties.params.properties.contentType, data: data30 }];\n return false;\n }\n const _errs66 = errors;\n if (errors === _errs65) {\n }\n var valid12 = _errs65 === errors;\n } else {\n var valid12 = true;\n }\n if (valid12) {\n if (data26.comment !== void 0) {\n let data31 = data26.comment;\n const _errs67 = errors;\n if (typeof data31 !== \"string\") {\n validate8.errors = [{ instancePath: instancePath + \"/postData/params/comment\", schemaPath: \"postData.json#/properties/params/properties/comment/type\", keyword: \"type\", params: { type: \"string\" }, message: \"must be string\", schema: schema14.properties.params.properties.comment.type, parentSchema: schema14.properties.params.properties.comment, data: data31 }];\n return false;\n }\n const _errs68 = errors;\n if (errors === _errs67) {\n }\n var valid12 = _errs67 === errors;\n } else {\n var valid12 = true;\n }\n if (valid12) {\n }\n }\n }\n }\n }\n }\n }\n if (errors === _errs57) {\n }\n }\n var valid11 = _errs57 === errors;\n } else {\n var valid11 = true;\n }\n if (valid11) {\n if (data23.comment !== void 0) {\n let data32 = data23.comment;\n const _errs69 = errors;\n if (typeof data32 !== \"string\") {\n validate8.errors = [{ instancePath: instancePath + \"/postData/comment\", schemaPath: \"postData.json#/properties/comment/type\", keyword: \"type\", params: { type: \"string\" }, message: \"must be string\", schema: schema14.properties.comment.type, parentSchema: schema14.properties.comment, data: data32 }];\n return false;\n }\n const _errs70 = errors;\n if (errors === _errs69) {\n }\n var valid11 = _errs69 === errors;\n } else {\n var valid11 = true;\n }\n if (valid11) {\n }\n }\n }\n }\n }\n } else {\n validate8.errors = [{ instancePath: instancePath + \"/postData\", schemaPath: \"postData.json#/type\", keyword: \"type\", params: { type: \"object\" }, message: \"must be object\", schema: schema14.type, parentSchema: schema14, data: data23 }];\n return false;\n }\n if (errors === _errs51) {\n }\n }\n var valid10 = _errs51 === errors;\n if (valid10) {\n }\n var valid0 = _errs50 === errors;\n } else {\n var valid0 = true;\n }\n if (valid0) {\n if (data.headersSize !== void 0) {\n let data33 = data.headersSize;\n const _errs71 = errors;\n if (!(typeof data33 == \"number\" && (!(data33 % 1) && !isNaN(data33)))) {\n validate8.errors = [{ instancePath: instancePath + \"/headersSize\", schemaPath: \"#/properties/headersSize/type\", keyword: \"type\", params: { type: \"integer\" }, message: \"must be integer\", schema: schema10.properties.headersSize.type, parentSchema: schema10.properties.headersSize, data: data33 }];\n return false;\n }\n const _errs72 = errors;\n if (errors === _errs71) {\n }\n var valid0 = _errs71 === errors;\n } else {\n var valid0 = true;\n }\n if (valid0) {\n if (data.bodySize !== void 0) {\n let data34 = data.bodySize;\n const _errs73 = errors;\n if (!(typeof data34 == \"number\" && (!(data34 % 1) && !isNaN(data34)))) {\n validate8.errors = [{ instancePath: instancePath + \"/bodySize\", schemaPath: \"#/properties/bodySize/type\", keyword: \"type\", params: { type: \"integer\" }, message: \"must be integer\", schema: schema10.properties.bodySize.type, parentSchema: schema10.properties.bodySize, data: data34 }];\n return false;\n }\n const _errs74 = errors;\n if (errors === _errs73) {\n }\n var valid0 = _errs73 === errors;\n } else {\n var valid0 = true;\n }\n if (valid0) {\n if (data.comment !== void 0) {\n let data35 = data.comment;\n const _errs75 = errors;\n if (typeof data35 !== \"string\") {\n validate8.errors = [{ instancePath: instancePath + \"/comment\", schemaPath: \"#/properties/comment/type\", keyword: \"type\", params: { type: \"string\" }, message: \"must be string\", schema: schema10.properties.comment.type, parentSchema: schema10.properties.comment, data: data35 }];\n return false;\n }\n const _errs76 = errors;\n if (errors === _errs75) {\n }\n var valid0 = _errs75 === errors;\n } else {\n var valid0 = true;\n }\n if (valid0) {\n }\n }\n }\n }\n }\n }\n }\n }\n }\n }\n }\n } else {\n validate8.errors = [{ instancePath, schemaPath: \"#/type\", keyword: \"type\", params: { type: \"object\" }, message: \"must be object\", schema: schema10.type, parentSchema: schema10, data }];\n return false;\n }\n if (errors === 0) {\n }\n }\n validate8.errors = vErrors;\n return errors === 0;\n }\n var schema15 = { \"$id\": \"response.json#\", \"$schema\": \"http://json-schema.org/draft-06/schema#\", \"type\": \"object\", \"required\": [\"status\", \"statusText\", \"httpVersion\", \"cookies\", \"headers\", \"content\", \"redirectURL\", \"headersSize\", \"bodySize\"], \"properties\": { \"status\": { \"type\": \"integer\" }, \"statusText\": { \"type\": \"string\" }, \"httpVersion\": { \"type\": \"string\" }, \"cookies\": { \"type\": \"array\", \"items\": { \"$ref\": \"cookie.json#\" } }, \"headers\": { \"type\": \"array\", \"items\": { \"$ref\": \"header.json#\" } }, \"content\": { \"$ref\": \"content.json#\" }, \"redirectURL\": { \"type\": \"string\" }, \"headersSize\": { \"type\": \"integer\" }, \"bodySize\": { \"type\": \"integer\" }, \"comment\": { \"type\": \"string\" } } };\n function validate10(data, { instancePath = \"\", parentData, parentDataProperty, rootData = data } = {}) {\n ;\n let vErrors = null;\n let errors = 0;\n const _errs0 = errors;\n if (errors === 0) {\n if (data && typeof data == \"object\" && !Array.isArray(data)) {\n let missing0;\n if (data.status === void 0 && (missing0 = \"status\") || data.statusText === void 0 && (missing0 = \"statusText\") || data.httpVersion === void 0 && (missing0 = \"httpVersion\") || data.cookies === void 0 && (missing0 = \"cookies\") || data.headers === void 0 && (missing0 = \"headers\") || data.content === void 0 && (missing0 = \"content\") || data.redirectURL === void 0 && (missing0 = \"redirectURL\") || data.headersSize === void 0 && (missing0 = \"headersSize\") || data.bodySize === void 0 && (missing0 = \"bodySize\")) {\n validate10.errors = [{ instancePath, schemaPath: \"#/required\", keyword: \"required\", params: { missingProperty: missing0 }, message: \"must have required property '\" + missing0 + \"'\", schema: schema15.required, parentSchema: schema15, data }];\n return false;\n } else {\n if (data.status !== void 0) {\n let data0 = data.status;\n const _errs1 = errors;\n if (!(typeof data0 == \"number\" && (!(data0 % 1) && !isNaN(data0)))) {\n validate10.errors = [{ instancePath: instancePath + \"/status\", schemaPath: \"#/properties/status/type\", keyword: \"type\", params: { type: \"integer\" }, message: \"must be integer\", schema: schema15.properties.status.type, parentSchema: schema15.properties.status, data: data0 }];\n return false;\n }\n const _errs2 = errors;\n if (errors === _errs1) {\n }\n var valid0 = _errs1 === errors;\n } else {\n var valid0 = true;\n }\n if (valid0) {\n if (data.statusText !== void 0) {\n let data1 = data.statusText;\n const _errs3 = errors;\n if (typeof data1 !== \"string\") {\n validate10.errors = [{ instancePath: instancePath + \"/statusText\", schemaPath: \"#/properties/statusText/type\", keyword: \"type\", params: { type: \"string\" }, message: \"must be string\", schema: schema15.properties.statusText.type, parentSchema: schema15.properties.statusText, data: data1 }];\n return false;\n }\n const _errs4 = errors;\n if (errors === _errs3) {\n }\n var valid0 = _errs3 === errors;\n } else {\n var valid0 = true;\n }\n if (valid0) {\n if (data.httpVersion !== void 0) {\n let data2 = data.httpVersion;\n const _errs5 = errors;\n if (typeof data2 !== \"string\") {\n validate10.errors = [{ instancePath: instancePath + \"/httpVersion\", schemaPath: \"#/properties/httpVersion/type\", keyword: \"type\", params: { type: \"string\" }, message: \"must be string\", schema: schema15.properties.httpVersion.type, parentSchema: schema15.properties.httpVersion, data: data2 }];\n return false;\n }\n const _errs6 = errors;\n if (errors === _errs5) {\n }\n var valid0 = _errs5 === errors;\n } else {\n var valid0 = true;\n }\n if (valid0) {\n if (data.cookies !== void 0) {\n let data3 = data.cookies;\n const _errs7 = errors;\n const _errs8 = errors;\n if (errors === _errs7) {\n if (Array.isArray(data3)) {\n var valid1 = true;\n const len0 = data3.length;\n for (let i0 = 0; i0 < len0; i0++) {\n let data4 = data3[i0];\n const _errs9 = errors;\n const _errs10 = errors;\n const _errs11 = errors;\n if (errors === _errs10) {\n if (data4 && typeof data4 == \"object\" && !Array.isArray(data4)) {\n let missing1;\n if (data4.name === void 0 && (missing1 = \"name\") || data4.value === void 0 && (missing1 = \"value\")) {\n validate10.errors = [{ instancePath: instancePath + \"/cookies/\" + i0, schemaPath: \"cookie.json#/required\", keyword: \"required\", params: { missingProperty: missing1 }, message: \"must have required property '\" + missing1 + \"'\", schema: schema7.required, parentSchema: schema7, data: data4 }];\n return false;\n } else {\n if (data4.name !== void 0) {\n let data5 = data4.name;\n const _errs12 = errors;\n if (typeof data5 !== \"string\") {\n validate10.errors = [{ instancePath: instancePath + \"/cookies/\" + i0 + \"/name\", schemaPath: \"cookie.json#/properties/name/type\", keyword: \"type\", params: { type: \"string\" }, message: \"must be string\", schema: schema7.properties.name.type, parentSchema: schema7.properties.name, data: data5 }];\n return false;\n }\n const _errs13 = errors;\n if (errors === _errs12) {\n }\n var valid3 = _errs12 === errors;\n } else {\n var valid3 = true;\n }\n if (valid3) {\n if (data4.value !== void 0) {\n let data6 = data4.value;\n const _errs14 = errors;\n if (typeof data6 !== \"string\") {\n validate10.errors = [{ instancePath: instancePath + \"/cookies/\" + i0 + \"/value\", schemaPath: \"cookie.json#/properties/value/type\", keyword: \"type\", params: { type: \"string\" }, message: \"must be string\", schema: schema7.properties.value.type, parentSchema: schema7.properties.value, data: data6 }];\n return false;\n }\n const _errs15 = errors;\n if (errors === _errs14) {\n }\n var valid3 = _errs14 === errors;\n } else {\n var valid3 = true;\n }\n if (valid3) {\n if (data4.path !== void 0) {\n let data7 = data4.path;\n const _errs16 = errors;\n if (typeof data7 !== \"string\") {\n validate10.errors = [{ instancePath: instancePath + \"/cookies/\" + i0 + \"/path\", schemaPath: \"cookie.json#/properties/path/type\", keyword: \"type\", params: { type: \"string\" }, message: \"must be string\", schema: schema7.properties.path.type, parentSchema: schema7.properties.path, data: data7 }];\n return false;\n }\n const _errs17 = errors;\n if (errors === _errs16) {\n }\n var valid3 = _errs16 === errors;\n } else {\n var valid3 = true;\n }\n if (valid3) {\n if (data4.domain !== void 0) {\n let data8 = data4.domain;\n const _errs18 = errors;\n if (typeof data8 !== \"string\") {\n validate10.errors = [{ instancePath: instancePath + \"/cookies/\" + i0 + \"/domain\", schemaPath: \"cookie.json#/properties/domain/type\", keyword: \"type\", params: { type: \"string\" }, message: \"must be string\", schema: schema7.properties.domain.type, parentSchema: schema7.properties.domain, data: data8 }];\n return false;\n }\n const _errs19 = errors;\n if (errors === _errs18) {\n }\n var valid3 = _errs18 === errors;\n } else {\n var valid3 = true;\n }\n if (valid3) {\n if (data4.expires !== void 0) {\n let data9 = data4.expires;\n const _errs20 = errors;\n if (typeof data9 !== \"string\" && data9 !== null) {\n validate10.errors = [{ instancePath: instancePath + \"/cookies/\" + i0 + \"/expires\", schemaPath: \"cookie.json#/properties/expires/type\", keyword: \"type\", params: { type: schema7.properties.expires.type }, message: \"must be string,null\", schema: schema7.properties.expires.type, parentSchema: schema7.properties.expires, data: data9 }];\n return false;\n }\n const _errs21 = errors;\n if (errors === _errs20) {\n if (typeof data9 == \"number\") {\n }\n if (errors === _errs20) {\n if (typeof data9 === \"string\") {\n if (!formats0.validate(data9)) {\n validate10.errors = [{ instancePath: instancePath + \"/cookies/\" + i0 + \"/expires\", schemaPath: \"cookie.json#/properties/expires/format\", keyword: \"format\", params: { format: \"date-time\" }, message: 'must match format \"date-time\"', schema: \"date-time\", parentSchema: schema7.properties.expires, data: data9 }];\n return false;\n } else {\n }\n }\n if (errors === _errs20) {\n }\n }\n }\n var valid3 = _errs20 === errors;\n } else {\n var valid3 = true;\n }\n if (valid3) {\n if (data4.httpOnly !== void 0) {\n let data10 = data4.httpOnly;\n const _errs22 = errors;\n if (typeof data10 !== \"boolean\") {\n validate10.errors = [{ instancePath: instancePath + \"/cookies/\" + i0 + \"/httpOnly\", schemaPath: \"cookie.json#/properties/httpOnly/type\", keyword: \"type\", params: { type: \"boolean\" }, message: \"must be boolean\", schema: schema7.properties.httpOnly.type, parentSchema: schema7.properties.httpOnly, data: data10 }];\n return false;\n }\n const _errs23 = errors;\n if (errors === _errs22) {\n }\n var valid3 = _errs22 === errors;\n } else {\n var valid3 = true;\n }\n if (valid3) {\n if (data4.secure !== void 0) {\n let data11 = data4.secure;\n const _errs24 = errors;\n if (typeof data11 !== \"boolean\") {\n validate10.errors = [{ instancePath: instancePath + \"/cookies/\" + i0 + \"/secure\", schemaPath: \"cookie.json#/properties/secure/type\", keyword: \"type\", params: { type: \"boolean\" }, message: \"must be boolean\", schema: schema7.properties.secure.type, parentSchema: schema7.properties.secure, data: data11 }];\n return false;\n }\n const _errs25 = errors;\n if (errors === _errs24) {\n }\n var valid3 = _errs24 === errors;\n } else {\n var valid3 = true;\n }\n if (valid3) {\n if (data4.comment !== void 0) {\n let data12 = data4.comment;\n const _errs26 = errors;\n if (typeof data12 !== \"string\") {\n validate10.errors = [{ instancePath: instancePath + \"/cookies/\" + i0 + \"/comment\", schemaPath: \"cookie.json#/properties/comment/type\", keyword: \"type\", params: { type: \"string\" }, message: \"must be string\", schema: schema7.properties.comment.type, parentSchema: schema7.properties.comment, data: data12 }];\n return false;\n }\n const _errs27 = errors;\n if (errors === _errs26) {\n }\n var valid3 = _errs26 === errors;\n } else {\n var valid3 = true;\n }\n if (valid3) {\n }\n }\n }\n }\n }\n }\n }\n }\n }\n } else {\n validate10.errors = [{ instancePath: instancePath + \"/cookies/\" + i0, schemaPath: \"cookie.json#/type\", keyword: \"type\", params: { type: \"object\" }, message: \"must be object\", schema: schema7.type, parentSchema: schema7, data: data4 }];\n return false;\n }\n if (errors === _errs10) {\n }\n }\n var valid2 = _errs10 === errors;\n if (valid2) {\n }\n var valid1 = _errs9 === errors;\n if (!valid1) {\n break;\n }\n }\n if (valid1) {\n }\n } else {\n validate10.errors = [{ instancePath: instancePath + \"/cookies\", schemaPath: \"#/properties/cookies/type\", keyword: \"type\", params: { type: \"array\" }, message: \"must be array\", schema: schema15.properties.cookies.type, parentSchema: schema15.properties.cookies, data: data3 }];\n return false;\n }\n if (errors === _errs7) {\n }\n }\n var valid0 = _errs7 === errors;\n } else {\n var valid0 = true;\n }\n if (valid0) {\n if (data.headers !== void 0) {\n let data13 = data.headers;\n const _errs28 = errors;\n const _errs29 = errors;\n if (errors === _errs28) {\n if (Array.isArray(data13)) {\n var valid4 = true;\n const len1 = data13.length;\n for (let i1 = 0; i1 < len1; i1++) {\n let data14 = data13[i1];\n const _errs30 = errors;\n const _errs31 = errors;\n const _errs32 = errors;\n if (errors === _errs31) {\n if (data14 && typeof data14 == \"object\" && !Array.isArray(data14)) {\n let missing2;\n if (data14.name === void 0 && (missing2 = \"name\") || data14.value === void 0 && (missing2 = \"value\")) {\n validate10.errors = [{ instancePath: instancePath + \"/headers/\" + i1, schemaPath: \"header.json#/required\", keyword: \"required\", params: { missingProperty: missing2 }, message: \"must have required property '\" + missing2 + \"'\", schema: schema12.required, parentSchema: schema12, data: data14 }];\n return false;\n } else {\n if (data14.name !== void 0) {\n let data15 = data14.name;\n const _errs33 = errors;\n if (typeof data15 !== \"string\") {\n validate10.errors = [{ instancePath: instancePath + \"/headers/\" + i1 + \"/name\", schemaPath: \"header.json#/properties/name/type\", keyword: \"type\", params: { type: \"string\" }, message: \"must be string\", schema: schema12.properties.name.type, parentSchema: schema12.properties.name, data: data15 }];\n return false;\n }\n const _errs34 = errors;\n if (errors === _errs33) {\n }\n var valid6 = _errs33 === errors;\n } else {\n var valid6 = true;\n }\n if (valid6) {\n if (data14.value !== void 0) {\n let data16 = data14.value;\n const _errs35 = errors;\n if (typeof data16 !== \"string\") {\n validate10.errors = [{ instancePath: instancePath + \"/headers/\" + i1 + \"/value\", schemaPath: \"header.json#/properties/value/type\", keyword: \"type\", params: { type: \"string\" }, message: \"must be string\", schema: schema12.properties.value.type, parentSchema: schema12.properties.value, data: data16 }];\n return false;\n }\n const _errs36 = errors;\n if (errors === _errs35) {\n }\n var valid6 = _errs35 === errors;\n } else {\n var valid6 = true;\n }\n if (valid6) {\n if (data14.comment !== void 0) {\n let data17 = data14.comment;\n const _errs37 = errors;\n if (typeof data17 !== \"string\") {\n validate10.errors = [{ instancePath: instancePath + \"/headers/\" + i1 + \"/comment\", schemaPath: \"header.json#/properties/comment/type\", keyword: \"type\", params: { type: \"string\" }, message: \"must be string\", schema: schema12.properties.comment.type, parentSchema: schema12.properties.comment, data: data17 }];\n return false;\n }\n const _errs38 = errors;\n if (errors === _errs37) {\n }\n var valid6 = _errs37 === errors;\n } else {\n var valid6 = true;\n }\n if (valid6) {\n }\n }\n }\n }\n } else {\n validate10.errors = [{ instancePath: instancePath + \"/headers/\" + i1, schemaPath: \"header.json#/type\", keyword: \"type\", params: { type: \"object\" }, message: \"must be object\", schema: schema12.type, parentSchema: schema12, data: data14 }];\n return false;\n }\n if (errors === _errs31) {\n }\n }\n var valid5 = _errs31 === errors;\n if (valid5) {\n }\n var valid4 = _errs30 === errors;\n if (!valid4) {\n break;\n }\n }\n if (valid4) {\n }\n } else {\n validate10.errors = [{ instancePath: instancePath + \"/headers\", schemaPath: \"#/properties/headers/type\", keyword: \"type\", params: { type: \"array\" }, message: \"must be array\", schema: schema15.properties.headers.type, parentSchema: schema15.properties.headers, data: data13 }];\n return false;\n }\n if (errors === _errs28) {\n }\n }\n var valid0 = _errs28 === errors;\n } else {\n var valid0 = true;\n }\n if (valid0) {\n if (data.content !== void 0) {\n let data18 = data.content;\n const _errs39 = errors;\n const _errs40 = errors;\n const _errs41 = errors;\n if (errors === _errs40) {\n if (data18 && typeof data18 == \"object\" && !Array.isArray(data18)) {\n let missing3;\n if (data18.size === void 0 && (missing3 = \"size\") || data18.mimeType === void 0 && (missing3 = \"mimeType\")) {\n validate10.errors = [{ instancePath: instancePath + \"/content\", schemaPath: \"content.json#/required\", keyword: \"required\", params: { missingProperty: missing3 }, message: \"must have required property '\" + missing3 + \"'\", schema: schema6.required, parentSchema: schema6, data: data18 }];\n return false;\n } else {\n if (data18.size !== void 0) {\n let data19 = data18.size;\n const _errs42 = errors;\n if (!(typeof data19 == \"number\" && (!(data19 % 1) && !isNaN(data19)))) {\n validate10.errors = [{ instancePath: instancePath + \"/content/size\", schemaPath: \"content.json#/properties/size/type\", keyword: \"type\", params: { type: \"integer\" }, message: \"must be integer\", schema: schema6.properties.size.type, parentSchema: schema6.properties.size, data: data19 }];\n return false;\n }\n const _errs43 = errors;\n if (errors === _errs42) {\n }\n var valid8 = _errs42 === errors;\n } else {\n var valid8 = true;\n }\n if (valid8) {\n if (data18.compression !== void 0) {\n let data20 = data18.compression;\n const _errs44 = errors;\n if (!(typeof data20 == \"number\" && (!(data20 % 1) && !isNaN(data20)))) {\n validate10.errors = [{ instancePath: instancePath + \"/content/compression\", schemaPath: \"content.json#/properties/compression/type\", keyword: \"type\", params: { type: \"integer\" }, message: \"must be integer\", schema: schema6.properties.compression.type, parentSchema: schema6.properties.compression, data: data20 }];\n return false;\n }\n const _errs45 = errors;\n if (errors === _errs44) {\n }\n var valid8 = _errs44 === errors;\n } else {\n var valid8 = true;\n }\n if (valid8) {\n if (data18.mimeType !== void 0) {\n let data21 = data18.mimeType;\n const _errs46 = errors;\n if (typeof data21 !== \"string\") {\n validate10.errors = [{ instancePath: instancePath + \"/content/mimeType\", schemaPath: \"content.json#/properties/mimeType/type\", keyword: \"type\", params: { type: \"string\" }, message: \"must be string\", schema: schema6.properties.mimeType.type, parentSchema: schema6.properties.mimeType, data: data21 }];\n return false;\n }\n const _errs47 = errors;\n if (errors === _errs46) {\n }\n var valid8 = _errs46 === errors;\n } else {\n var valid8 = true;\n }\n if (valid8) {\n if (data18.text !== void 0) {\n let data22 = data18.text;\n const _errs48 = errors;\n if (typeof data22 !== \"string\") {\n validate10.errors = [{ instancePath: instancePath + \"/content/text\", schemaPath: \"content.json#/properties/text/type\", keyword: \"type\", params: { type: \"string\" }, message: \"must be string\", schema: schema6.properties.text.type, parentSchema: schema6.properties.text, data: data22 }];\n return false;\n }\n const _errs49 = errors;\n if (errors === _errs48) {\n }\n var valid8 = _errs48 === errors;\n } else {\n var valid8 = true;\n }\n if (valid8) {\n if (data18.encoding !== void 0) {\n let data23 = data18.encoding;\n const _errs50 = errors;\n if (typeof data23 !== \"string\") {\n validate10.errors = [{ instancePath: instancePath + \"/content/encoding\", schemaPath: \"content.json#/properties/encoding/type\", keyword: \"type\", params: { type: \"string\" }, message: \"must be string\", schema: schema6.properties.encoding.type, parentSchema: schema6.properties.encoding, data: data23 }];\n return false;\n }\n const _errs51 = errors;\n if (errors === _errs50) {\n }\n var valid8 = _errs50 === errors;\n } else {\n var valid8 = true;\n }\n if (valid8) {\n if (data18.comment !== void 0) {\n let data24 = data18.comment;\n const _errs52 = errors;\n if (typeof data24 !== \"string\") {\n validate10.errors = [{ instancePath: instancePath + \"/content/comment\", schemaPath: \"content.json#/properties/comment/type\", keyword: \"type\", params: { type: \"string\" }, message: \"must be string\", schema: schema6.properties.comment.type, parentSchema: schema6.properties.comment, data: data24 }];\n return false;\n }\n const _errs53 = errors;\n if (errors === _errs52) {\n }\n var valid8 = _errs52 === errors;\n } else {\n var valid8 = true;\n }\n if (valid8) {\n }\n }\n }\n }\n }\n }\n }\n } else {\n validate10.errors = [{ instancePath: instancePath + \"/content\", schemaPath: \"content.json#/type\", keyword: \"type\", params: { type: \"object\" }, message: \"must be object\", schema: schema6.type, parentSchema: schema6, data: data18 }];\n return false;\n }\n if (errors === _errs40) {\n }\n }\n var valid7 = _errs40 === errors;\n if (valid7) {\n }\n var valid0 = _errs39 === errors;\n } else {\n var valid0 = true;\n }\n if (valid0) {\n if (data.redirectURL !== void 0) {\n let data25 = data.redirectURL;\n const _errs54 = errors;\n if (typeof data25 !== \"string\") {\n validate10.errors = [{ instancePath: instancePath + \"/redirectURL\", schemaPath: \"#/properties/redirectURL/type\", keyword: \"type\", params: { type: \"string\" }, message: \"must be string\", schema: schema15.properties.redirectURL.type, parentSchema: schema15.properties.redirectURL, data: data25 }];\n return false;\n }\n const _errs55 = errors;\n if (errors === _errs54) {\n }\n var valid0 = _errs54 === errors;\n } else {\n var valid0 = true;\n }\n if (valid0) {\n if (data.headersSize !== void 0) {\n let data26 = data.headersSize;\n const _errs56 = errors;\n if (!(typeof data26 == \"number\" && (!(data26 % 1) && !isNaN(data26)))) {\n validate10.errors = [{ instancePath: instancePath + \"/headersSize\", schemaPath: \"#/properties/headersSize/type\", keyword: \"type\", params: { type: \"integer\" }, message: \"must be integer\", schema: schema15.properties.headersSize.type, parentSchema: schema15.properties.headersSize, data: data26 }];\n return false;\n }\n const _errs57 = errors;\n if (errors === _errs56) {\n }\n var valid0 = _errs56 === errors;\n } else {\n var valid0 = true;\n }\n if (valid0) {\n if (data.bodySize !== void 0) {\n let data27 = data.bodySize;\n const _errs58 = errors;\n if (!(typeof data27 == \"number\" && (!(data27 % 1) && !isNaN(data27)))) {\n validate10.errors = [{ instancePath: instancePath + \"/bodySize\", schemaPath: \"#/properties/bodySize/type\", keyword: \"type\", params: { type: \"integer\" }, message: \"must be integer\", schema: schema15.properties.bodySize.type, parentSchema: schema15.properties.bodySize, data: data27 }];\n return false;\n }\n const _errs59 = errors;\n if (errors === _errs58) {\n }\n var valid0 = _errs58 === errors;\n } else {\n var valid0 = true;\n }\n if (valid0) {\n if (data.comment !== void 0) {\n let data28 = data.comment;\n const _errs60 = errors;\n if (typeof data28 !== \"string\") {\n validate10.errors = [{ instancePath: instancePath + \"/comment\", schemaPath: \"#/properties/comment/type\", keyword: \"type\", params: { type: \"string\" }, message: \"must be string\", schema: schema15.properties.comment.type, parentSchema: schema15.properties.comment, data: data28 }];\n return false;\n }\n const _errs61 = errors;\n if (errors === _errs60) {\n }\n var valid0 = _errs60 === errors;\n } else {\n var valid0 = true;\n }\n if (valid0) {\n }\n }\n }\n }\n }\n }\n }\n }\n }\n }\n }\n } else {\n validate10.errors = [{ instancePath, schemaPath: \"#/type\", keyword: \"type\", params: { type: \"object\" }, message: \"must be object\", schema: schema15.type, parentSchema: schema15, data }];\n return false;\n }\n if (errors === 0) {\n }\n }\n validate10.errors = vErrors;\n return errors === 0;\n }\n function validate7(data, { instancePath = \"\", parentData, parentDataProperty, rootData = data } = {}) {\n ;\n let vErrors = null;\n let errors = 0;\n const _errs0 = errors;\n if (errors === 0) {\n if (data && typeof data == \"object\" && !Array.isArray(data)) {\n let missing0;\n if (data.startedDateTime === void 0 && (missing0 = \"startedDateTime\") || data.time === void 0 && (missing0 = \"time\") || data.request === void 0 && (missing0 = \"request\") || data.response === void 0 && (missing0 = \"response\") || data.cache === void 0 && (missing0 = \"cache\") || data.timings === void 0 && (missing0 = \"timings\")) {\n validate7.errors = [{ instancePath, schemaPath: \"#/required\", keyword: \"required\", params: { missingProperty: missing0 }, message: \"must have required property '\" + missing0 + \"'\", schema: schema9.required, parentSchema: schema9, data }];\n return false;\n } else {\n if (data.pageref !== void 0) {\n let data0 = data.pageref;\n const _errs1 = errors;\n if (typeof data0 !== \"string\") {\n validate7.errors = [{ instancePath: instancePath + \"/pageref\", schemaPath: \"#/properties/pageref/type\", keyword: \"type\", params: { type: \"string\" }, message: \"must be string\", schema: schema9.properties.pageref.type, parentSchema: schema9.properties.pageref, data: data0 }];\n return false;\n }\n const _errs2 = errors;\n if (errors === _errs1) {\n }\n var valid0 = _errs1 === errors;\n } else {\n var valid0 = true;\n }\n if (valid0) {\n if (data.startedDateTime !== void 0) {\n let data1 = data.startedDateTime;\n const _errs3 = errors;\n const _errs4 = errors;\n if (errors === _errs3) {\n if (typeof data1 == \"number\") {\n }\n if (errors === _errs3) {\n if (typeof data1 === \"string\") {\n if (!pattern8.test(data1)) {\n validate7.errors = [{ instancePath: instancePath + \"/startedDateTime\", schemaPath: \"#/properties/startedDateTime/pattern\", keyword: \"pattern\", params: { pattern: \"^(\\\\d{4})(-)?(\\\\d\\\\d)(-)?(\\\\d\\\\d)(T)?(\\\\d\\\\d)(:)?(\\\\d\\\\d)(:)?(\\\\d\\\\d)(\\\\.\\\\d+)?(Z|([+-])(\\\\d\\\\d)(:)?(\\\\d\\\\d))\" }, message: 'must match pattern \"^(\\\\d{4})(-)?(\\\\d\\\\d)(-)?(\\\\d\\\\d)(T)?(\\\\d\\\\d)(:)?(\\\\d\\\\d)(:)?(\\\\d\\\\d)(\\\\.\\\\d+)?(Z|([+-])(\\\\d\\\\d)(:)?(\\\\d\\\\d))\"', schema: \"^(\\\\d{4})(-)?(\\\\d\\\\d)(-)?(\\\\d\\\\d)(T)?(\\\\d\\\\d)(:)?(\\\\d\\\\d)(:)?(\\\\d\\\\d)(\\\\.\\\\d+)?(Z|([+-])(\\\\d\\\\d)(:)?(\\\\d\\\\d))\", parentSchema: schema9.properties.startedDateTime, data: data1 }];\n return false;\n } else {\n if (!formats0.validate(data1)) {\n validate7.errors = [{ instancePath: instancePath + \"/startedDateTime\", schemaPath: \"#/properties/startedDateTime/format\", keyword: \"format\", params: { format: \"date-time\" }, message: 'must match format \"date-time\"', schema: \"date-time\", parentSchema: schema9.properties.startedDateTime, data: data1 }];\n return false;\n } else {\n }\n }\n } else {\n validate7.errors = [{ instancePath: instancePath + \"/startedDateTime\", schemaPath: \"#/properties/startedDateTime/type\", keyword: \"type\", params: { type: \"string\" }, message: \"must be string\", schema: schema9.properties.startedDateTime.type, parentSchema: schema9.properties.startedDateTime, data: data1 }];\n return false;\n }\n if (errors === _errs3) {\n }\n }\n }\n var valid0 = _errs3 === errors;\n } else {\n var valid0 = true;\n }\n if (valid0) {\n if (data.time !== void 0) {\n let data2 = data.time;\n const _errs5 = errors;\n if (!(typeof data2 == \"number\")) {\n validate7.errors = [{ instancePath: instancePath + \"/time\", schemaPath: \"#/properties/time/type\", keyword: \"type\", params: { type: \"number\" }, message: \"must be number\", schema: schema9.properties.time.type, parentSchema: schema9.properties.time, data: data2 }];\n return false;\n }\n const _errs6 = errors;\n if (errors === _errs5) {\n }\n var valid0 = _errs5 === errors;\n } else {\n var valid0 = true;\n }\n if (valid0) {\n if (data.request !== void 0) {\n let data3 = data.request;\n const _errs7 = errors;\n if (!validate8(data3, { instancePath: instancePath + \"/request\", parentData: data, parentDataProperty: \"request\", rootData })) {\n vErrors = vErrors === null ? validate8.errors : vErrors.concat(validate8.errors);\n errors = vErrors.length;\n } else {\n }\n var valid0 = _errs7 === errors;\n } else {\n var valid0 = true;\n }\n if (valid0) {\n if (data.response !== void 0) {\n let data4 = data.response;\n const _errs8 = errors;\n if (!validate10(data4, { instancePath: instancePath + \"/response\", parentData: data, parentDataProperty: \"response\", rootData })) {\n vErrors = vErrors === null ? validate10.errors : vErrors.concat(validate10.errors);\n errors = vErrors.length;\n } else {\n }\n var valid0 = _errs8 === errors;\n } else {\n var valid0 = true;\n }\n if (valid0) {\n if (data.cache !== void 0) {\n let data5 = data.cache;\n const _errs9 = errors;\n if (!validate3(data5, { instancePath: instancePath + \"/cache\", parentData: data, parentDataProperty: \"cache\", rootData })) {\n vErrors = vErrors === null ? validate3.errors : vErrors.concat(validate3.errors);\n errors = vErrors.length;\n } else {\n }\n var valid0 = _errs9 === errors;\n } else {\n var valid0 = true;\n }\n if (valid0) {\n if (data.timings !== void 0) {\n let data6 = data.timings;\n const _errs10 = errors;\n const _errs11 = errors;\n if (data6 && typeof data6 == \"object\" && !Array.isArray(data6)) {\n let missing1;\n if (data6.send === void 0 && (missing1 = \"send\") || data6.wait === void 0 && (missing1 = \"wait\") || data6.receive === void 0 && (missing1 = \"receive\")) {\n validate7.errors = [{ instancePath: instancePath + \"/timings\", schemaPath: \"timings.json#/required\", keyword: \"required\", params: { missingProperty: missing1 }, message: \"must have required property '\" + missing1 + \"'\", schema: schema19.required, parentSchema: schema19, data: data6 }];\n return false;\n } else {\n if (data6.dns !== void 0) {\n let data7 = data6.dns;\n const _errs12 = errors;\n if (!(typeof data7 == \"number\")) {\n validate7.errors = [{ instancePath: instancePath + \"/timings/dns\", schemaPath: \"timings.json#/properties/dns/type\", keyword: \"type\", params: { type: \"number\" }, message: \"must be number\", schema: schema19.properties.dns.type, parentSchema: schema19.properties.dns, data: data7 }];\n return false;\n }\n const _errs13 = errors;\n if (errors === _errs12) {\n }\n var valid2 = _errs12 === errors;\n } else {\n var valid2 = true;\n }\n if (valid2) {\n if (data6.connect !== void 0) {\n let data8 = data6.connect;\n const _errs14 = errors;\n if (!(typeof data8 == \"number\")) {\n validate7.errors = [{ instancePath: instancePath + \"/timings/connect\", schemaPath: \"timings.json#/properties/connect/type\", keyword: \"type\", params: { type: \"number\" }, message: \"must be number\", schema: schema19.properties.connect.type, parentSchema: schema19.properties.connect, data: data8 }];\n return false;\n }\n const _errs15 = errors;\n if (errors === _errs14) {\n }\n var valid2 = _errs14 === errors;\n } else {\n var valid2 = true;\n }\n if (valid2) {\n if (data6.blocked !== void 0) {\n let data9 = data6.blocked;\n const _errs16 = errors;\n if (!(typeof data9 == \"number\")) {\n validate7.errors = [{ instancePath: instancePath + \"/timings/blocked\", schemaPath: \"timings.json#/properties/blocked/type\", keyword: \"type\", params: { type: \"number\" }, message: \"must be number\", schema: schema19.properties.blocked.type, parentSchema: schema19.properties.blocked, data: data9 }];\n return false;\n }\n const _errs17 = errors;\n if (errors === _errs16) {\n }\n var valid2 = _errs16 === errors;\n } else {\n var valid2 = true;\n }\n if (valid2) {\n if (data6.send !== void 0) {\n let data10 = data6.send;\n const _errs18 = errors;\n if (!(typeof data10 == \"number\")) {\n validate7.errors = [{ instancePath: instancePath + \"/timings/send\", schemaPath: \"timings.json#/properties/send/type\", keyword: \"type\", params: { type: \"number\" }, message: \"must be number\", schema: schema19.properties.send.type, parentSchema: schema19.properties.send, data: data10 }];\n return false;\n }\n const _errs19 = errors;\n if (errors === _errs18) {\n }\n var valid2 = _errs18 === errors;\n } else {\n var valid2 = true;\n }\n if (valid2) {\n if (data6.wait !== void 0) {\n let data11 = data6.wait;\n const _errs20 = errors;\n if (!(typeof data11 == \"number\")) {\n validate7.errors = [{ instancePath: instancePath + \"/timings/wait\", schemaPath: \"timings.json#/properties/wait/type\", keyword: \"type\", params: { type: \"number\" }, message: \"must be number\", schema: schema19.properties.wait.type, parentSchema: schema19.properties.wait, data: data11 }];\n return false;\n }\n const _errs21 = errors;\n if (errors === _errs20) {\n }\n var valid2 = _errs20 === errors;\n } else {\n var valid2 = true;\n }\n if (valid2) {\n if (data6.receive !== void 0) {\n let data12 = data6.receive;\n const _errs22 = errors;\n if (!(typeof data12 == \"number\")) {\n validate7.errors = [{ instancePath: instancePath + \"/timings/receive\", schemaPath: \"timings.json#/properties/receive/type\", keyword: \"type\", params: { type: \"number\" }, message: \"must be number\", schema: schema19.properties.receive.type, parentSchema: schema19.properties.receive, data: data12 }];\n return false;\n }\n const _errs23 = errors;\n if (errors === _errs22) {\n }\n var valid2 = _errs22 === errors;\n } else {\n var valid2 = true;\n }\n if (valid2) {\n if (data6.ssl !== void 0) {\n let data13 = data6.ssl;\n const _errs24 = errors;\n if (!(typeof data13 == \"number\")) {\n validate7.errors = [{ instancePath: instancePath + \"/timings/ssl\", schemaPath: \"timings.json#/properties/ssl/type\", keyword: \"type\", params: { type: \"number\" }, message: \"must be number\", schema: schema19.properties.ssl.type, parentSchema: schema19.properties.ssl, data: data13 }];\n return false;\n }\n const _errs25 = errors;\n if (errors === _errs24) {\n }\n var valid2 = _errs24 === errors;\n } else {\n var valid2 = true;\n }\n if (valid2) {\n if (data6.comment !== void 0) {\n let data14 = data6.comment;\n const _errs26 = errors;\n if (typeof data14 !== \"string\") {\n validate7.errors = [{ instancePath: instancePath + \"/timings/comment\", schemaPath: \"timings.json#/properties/comment/type\", keyword: \"type\", params: { type: \"string\" }, message: \"must be string\", schema: schema19.properties.comment.type, parentSchema: schema19.properties.comment, data: data14 }];\n return false;\n }\n const _errs27 = errors;\n if (errors === _errs26) {\n }\n var valid2 = _errs26 === errors;\n } else {\n var valid2 = true;\n }\n if (valid2) {\n }\n }\n }\n }\n }\n }\n }\n }\n }\n }\n if (errors === _errs11) {\n }\n var valid1 = _errs11 === errors;\n if (valid1) {\n }\n var valid0 = _errs10 === errors;\n } else {\n var valid0 = true;\n }\n if (valid0) {\n if (data.serverIPAddress !== void 0) {\n let data15 = data.serverIPAddress;\n const _errs28 = errors;\n if (typeof data15 !== \"string\") {\n validate7.errors = [{ instancePath: instancePath + \"/serverIPAddress\", schemaPath: \"#/properties/serverIPAddress/type\", keyword: \"type\", params: { type: \"string\" }, message: \"must be string\", schema: schema9.properties.serverIPAddress.type, parentSchema: schema9.properties.serverIPAddress, data: data15 }];\n return false;\n }\n const _errs29 = errors;\n const _errs30 = errors;\n let valid3 = false;\n let passing0 = null;\n const _errs31 = errors;\n if (typeof data15 == \"number\") {\n }\n if (errors === _errs31) {\n if (typeof data15 === \"string\") {\n if (!formats10.test(data15)) {\n const err0 = { instancePath: instancePath + \"/serverIPAddress\", schemaPath: \"#/properties/serverIPAddress/oneOf/0/format\", keyword: \"format\", params: { format: \"ipv4\" }, message: 'must match format \"ipv4\"', schema: \"ipv4\", parentSchema: schema9.properties.serverIPAddress.oneOf[0], data: data15 };\n if (vErrors === null) {\n vErrors = [err0];\n } else {\n vErrors.push(err0);\n }\n errors++;\n } else {\n }\n }\n if (errors === _errs31) {\n }\n }\n var _valid0 = _errs31 === errors;\n if (_valid0) {\n valid3 = true;\n passing0 = 0;\n }\n const _errs32 = errors;\n if (typeof data15 == \"number\") {\n }\n if (errors === _errs32) {\n if (typeof data15 === \"string\") {\n if (!formats12.test(data15)) {\n const err1 = { instancePath: instancePath + \"/serverIPAddress\", schemaPath: \"#/properties/serverIPAddress/oneOf/1/format\", keyword: \"format\", params: { format: \"ipv6\" }, message: 'must match format \"ipv6\"', schema: \"ipv6\", parentSchema: schema9.properties.serverIPAddress.oneOf[1], data: data15 };\n if (vErrors === null) {\n vErrors = [err1];\n } else {\n vErrors.push(err1);\n }\n errors++;\n } else {\n }\n }\n if (errors === _errs32) {\n }\n }\n var _valid0 = _errs32 === errors;\n if (_valid0 && valid3) {\n valid3 = false;\n passing0 = [passing0, 1];\n } else {\n if (_valid0) {\n valid3 = true;\n passing0 = 1;\n }\n }\n if (!valid3) {\n const err2 = { instancePath: instancePath + \"/serverIPAddress\", schemaPath: \"#/properties/serverIPAddress/oneOf\", keyword: \"oneOf\", params: { passingSchemas: passing0 }, message: \"must match exactly one schema in oneOf\", schema: schema9.properties.serverIPAddress.oneOf, parentSchema: schema9.properties.serverIPAddress, data: data15 };\n if (vErrors === null) {\n vErrors = [err2];\n } else {\n vErrors.push(err2);\n }\n errors++;\n validate7.errors = vErrors;\n return false;\n } else {\n errors = _errs30;\n if (vErrors !== null) {\n if (_errs30) {\n vErrors.length = _errs30;\n } else {\n vErrors = null;\n }\n }\n }\n if (errors === _errs28) {\n }\n var valid0 = _errs28 === errors;\n } else {\n var valid0 = true;\n }\n if (valid0) {\n if (data.connection !== void 0) {\n let data16 = data.connection;\n const _errs33 = errors;\n if (typeof data16 !== \"string\") {\n validate7.errors = [{ instancePath: instancePath + \"/connection\", schemaPath: \"#/properties/connection/type\", keyword: \"type\", params: { type: \"string\" }, message: \"must be string\", schema: schema9.properties.connection.type, parentSchema: schema9.properties.connection, data: data16 }];\n return false;\n }\n const _errs34 = errors;\n if (errors === _errs33) {\n }\n var valid0 = _errs33 === errors;\n } else {\n var valid0 = true;\n }\n if (valid0) {\n if (data.comment !== void 0) {\n let data17 = data.comment;\n const _errs35 = errors;\n if (typeof data17 !== \"string\") {\n validate7.errors = [{ instancePath: instancePath + \"/comment\", schemaPath: \"#/properties/comment/type\", keyword: \"type\", params: { type: \"string\" }, message: \"must be string\", schema: schema9.properties.comment.type, parentSchema: schema9.properties.comment, data: data17 }];\n return false;\n }\n const _errs36 = errors;\n if (errors === _errs35) {\n }\n var valid0 = _errs35 === errors;\n } else {\n var valid0 = true;\n }\n if (valid0) {\n }\n }\n }\n }\n }\n }\n }\n }\n }\n }\n }\n } else {\n validate7.errors = [{ instancePath, schemaPath: \"#/type\", keyword: \"type\", params: { type: \"object\" }, message: \"must be object\", schema: schema9.type, parentSchema: schema9, data }];\n return false;\n }\n if (errors === 0) {\n }\n }\n validate7.errors = vErrors;\n return errors === 0;\n }\n exports[\"har.json\"] = validate13;\n var schema20 = { \"$id\": \"har.json#\", \"$schema\": \"http://json-schema.org/draft-06/schema#\", \"type\": \"object\", \"required\": [\"log\"], \"properties\": { \"log\": { \"$ref\": \"log.json#\" } } };\n var schema21 = { \"$id\": \"log.json#\", \"$schema\": \"http://json-schema.org/draft-06/schema#\", \"type\": \"object\", \"required\": [\"version\", \"creator\", \"entries\"], \"properties\": { \"version\": { \"type\": \"string\" }, \"creator\": { \"$ref\": \"creator.json#\" }, \"browser\": { \"$ref\": \"browser.json#\" }, \"pages\": { \"type\": \"array\", \"items\": { \"$ref\": \"page.json#\" } }, \"entries\": { \"type\": \"array\", \"items\": { \"$ref\": \"entry.json#\" } }, \"comment\": { \"type\": \"string\" } } };\n var schema24 = { \"$id\": \"page.json#\", \"$schema\": \"http://json-schema.org/draft-06/schema#\", \"type\": \"object\", \"optional\": true, \"required\": [\"startedDateTime\", \"id\", \"title\", \"pageTimings\"], \"properties\": { \"startedDateTime\": { \"type\": \"string\", \"format\": \"date-time\", \"pattern\": \"^(\\\\d{4})(-)?(\\\\d\\\\d)(-)?(\\\\d\\\\d)(T)?(\\\\d\\\\d)(:)?(\\\\d\\\\d)(:)?(\\\\d\\\\d)(\\\\.\\\\d+)?(Z|([+-])(\\\\d\\\\d)(:)?(\\\\d\\\\d))\" }, \"id\": { \"type\": \"string\", \"unique\": true }, \"title\": { \"type\": \"string\" }, \"pageTimings\": { \"$ref\": \"pageTimings.json#\" }, \"comment\": { \"type\": \"string\" } } };\n var schema25 = { \"$id\": \"pageTimings.json#\", \"$schema\": \"http://json-schema.org/draft-06/schema#\", \"type\": \"object\", \"properties\": { \"onContentLoad\": { \"type\": \"number\", \"min\": -1 }, \"onLoad\": { \"type\": \"number\", \"min\": -1 }, \"comment\": { \"type\": \"string\" } } };\n function validate15(data, { instancePath = \"\", parentData, parentDataProperty, rootData = data } = {}) {\n ;\n let vErrors = null;\n let errors = 0;\n const _errs0 = errors;\n if (errors === 0) {\n if (data && typeof data == \"object\" && !Array.isArray(data)) {\n let missing0;\n if (data.startedDateTime === void 0 && (missing0 = \"startedDateTime\") || data.id === void 0 && (missing0 = \"id\") || data.title === void 0 && (missing0 = \"title\") || data.pageTimings === void 0 && (missing0 = \"pageTimings\")) {\n validate15.errors = [{ instancePath, schemaPath: \"#/required\", keyword: \"required\", params: { missingProperty: missing0 }, message: \"must have required property '\" + missing0 + \"'\", schema: schema24.required, parentSchema: schema24, data }];\n return false;\n } else {\n if (data.startedDateTime !== void 0) {\n let data0 = data.startedDateTime;\n const _errs1 = errors;\n const _errs2 = errors;\n if (errors === _errs1) {\n if (typeof data0 == \"number\") {\n }\n if (errors === _errs1) {\n if (typeof data0 === \"string\") {\n if (!pattern8.test(data0)) {\n validate15.errors = [{ instancePath: instancePath + \"/startedDateTime\", schemaPath: \"#/properties/startedDateTime/pattern\", keyword: \"pattern\", params: { pattern: \"^(\\\\d{4})(-)?(\\\\d\\\\d)(-)?(\\\\d\\\\d)(T)?(\\\\d\\\\d)(:)?(\\\\d\\\\d)(:)?(\\\\d\\\\d)(\\\\.\\\\d+)?(Z|([+-])(\\\\d\\\\d)(:)?(\\\\d\\\\d))\" }, message: 'must match pattern \"^(\\\\d{4})(-)?(\\\\d\\\\d)(-)?(\\\\d\\\\d)(T)?(\\\\d\\\\d)(:)?(\\\\d\\\\d)(:)?(\\\\d\\\\d)(\\\\.\\\\d+)?(Z|([+-])(\\\\d\\\\d)(:)?(\\\\d\\\\d))\"', schema: \"^(\\\\d{4})(-)?(\\\\d\\\\d)(-)?(\\\\d\\\\d)(T)?(\\\\d\\\\d)(:)?(\\\\d\\\\d)(:)?(\\\\d\\\\d)(\\\\.\\\\d+)?(Z|([+-])(\\\\d\\\\d)(:)?(\\\\d\\\\d))\", parentSchema: schema24.properties.startedDateTime, data: data0 }];\n return false;\n } else {\n if (!formats0.validate(data0)) {\n validate15.errors = [{ instancePath: instancePath + \"/startedDateTime\", schemaPath: \"#/properties/startedDateTime/format\", keyword: \"format\", params: { format: \"date-time\" }, message: 'must match format \"date-time\"', schema: \"date-time\", parentSchema: schema24.properties.startedDateTime, data: data0 }];\n return false;\n } else {\n }\n }\n } else {\n validate15.errors = [{ instancePath: instancePath + \"/startedDateTime\", schemaPath: \"#/properties/startedDateTime/type\", keyword: \"type\", params: { type: \"string\" }, message: \"must be string\", schema: schema24.properties.startedDateTime.type, parentSchema: schema24.properties.startedDateTime, data: data0 }];\n return false;\n }\n if (errors === _errs1) {\n }\n }\n }\n var valid0 = _errs1 === errors;\n } else {\n var valid0 = true;\n }\n if (valid0) {\n if (data.id !== void 0) {\n let data1 = data.id;\n const _errs3 = errors;\n if (typeof data1 !== \"string\") {\n validate15.errors = [{ instancePath: instancePath + \"/id\", schemaPath: \"#/properties/id/type\", keyword: \"type\", params: { type: \"string\" }, message: \"must be string\", schema: schema24.properties.id.type, parentSchema: schema24.properties.id, data: data1 }];\n return false;\n }\n const _errs4 = errors;\n if (errors === _errs3) {\n }\n var valid0 = _errs3 === errors;\n } else {\n var valid0 = true;\n }\n if (valid0) {\n if (data.title !== void 0) {\n let data2 = data.title;\n const _errs5 = errors;\n if (typeof data2 !== \"string\") {\n validate15.errors = [{ instancePath: instancePath + \"/title\", schemaPath: \"#/properties/title/type\", keyword: \"type\", params: { type: \"string\" }, message: \"must be string\", schema: schema24.properties.title.type, parentSchema: schema24.properties.title, data: data2 }];\n return false;\n }\n const _errs6 = errors;\n if (errors === _errs5) {\n }\n var valid0 = _errs5 === errors;\n } else {\n var valid0 = true;\n }\n if (valid0) {\n if (data.pageTimings !== void 0) {\n let data3 = data.pageTimings;\n const _errs7 = errors;\n const _errs8 = errors;\n const _errs9 = errors;\n if (errors === _errs8) {\n if (data3 && typeof data3 == \"object\" && !Array.isArray(data3)) {\n if (data3.onContentLoad !== void 0) {\n let data4 = data3.onContentLoad;\n const _errs10 = errors;\n if (!(typeof data4 == \"number\")) {\n validate15.errors = [{ instancePath: instancePath + \"/pageTimings/onContentLoad\", schemaPath: \"pageTimings.json#/properties/onContentLoad/type\", keyword: \"type\", params: { type: \"number\" }, message: \"must be number\", schema: schema25.properties.onContentLoad.type, parentSchema: schema25.properties.onContentLoad, data: data4 }];\n return false;\n }\n const _errs11 = errors;\n if (errors === _errs10) {\n }\n var valid2 = _errs10 === errors;\n } else {\n var valid2 = true;\n }\n if (valid2) {\n if (data3.onLoad !== void 0) {\n let data5 = data3.onLoad;\n const _errs12 = errors;\n if (!(typeof data5 == \"number\")) {\n validate15.errors = [{ instancePath: instancePath + \"/pageTimings/onLoad\", schemaPath: \"pageTimings.json#/properties/onLoad/type\", keyword: \"type\", params: { type: \"number\" }, message: \"must be number\", schema: schema25.properties.onLoad.type, parentSchema: schema25.properties.onLoad, data: data5 }];\n return false;\n }\n const _errs13 = errors;\n if (errors === _errs12) {\n }\n var valid2 = _errs12 === errors;\n } else {\n var valid2 = true;\n }\n if (valid2) {\n if (data3.comment !== void 0) {\n let data6 = data3.comment;\n const _errs14 = errors;\n if (typeof data6 !== \"string\") {\n validate15.errors = [{ instancePath: instancePath + \"/pageTimings/comment\", schemaPath: \"pageTimings.json#/properties/comment/type\", keyword: \"type\", params: { type: \"string\" }, message: \"must be string\", schema: schema25.properties.comment.type, parentSchema: schema25.properties.comment, data: data6 }];\n return false;\n }\n const _errs15 = errors;\n if (errors === _errs14) {\n }\n var valid2 = _errs14 === errors;\n } else {\n var valid2 = true;\n }\n if (valid2) {\n }\n }\n }\n } else {\n validate15.errors = [{ instancePath: instancePath + \"/pageTimings\", schemaPath: \"pageTimings.json#/type\", keyword: \"type\", params: { type: \"object\" }, message: \"must be object\", schema: schema25.type, parentSchema: schema25, data: data3 }];\n return false;\n }\n if (errors === _errs8) {\n }\n }\n var valid1 = _errs8 === errors;\n if (valid1) {\n }\n var valid0 = _errs7 === errors;\n } else {\n var valid0 = true;\n }\n if (valid0) {\n if (data.comment !== void 0) {\n let data7 = data.comment;\n const _errs16 = errors;\n if (typeof data7 !== \"string\") {\n validate15.errors = [{ instancePath: instancePath + \"/comment\", schemaPath: \"#/properties/comment/type\", keyword: \"type\", params: { type: \"string\" }, message: \"must be string\", schema: schema24.properties.comment.type, parentSchema: schema24.properties.comment, data: data7 }];\n return false;\n }\n const _errs17 = errors;\n if (errors === _errs16) {\n }\n var valid0 = _errs16 === errors;\n } else {\n var valid0 = true;\n }\n if (valid0) {\n }\n }\n }\n }\n }\n }\n } else {\n validate15.errors = [{ instancePath, schemaPath: \"#/type\", keyword: \"type\", params: { type: \"object\" }, message: \"must be object\", schema: schema24.type, parentSchema: schema24, data }];\n return false;\n }\n if (errors === 0) {\n }\n }\n validate15.errors = vErrors;\n return errors === 0;\n }\n function validate14(data, { instancePath = \"\", parentData, parentDataProperty, rootData = data } = {}) {\n ;\n let vErrors = null;\n let errors = 0;\n const _errs0 = errors;\n if (errors === 0) {\n if (data && typeof data == \"object\" && !Array.isArray(data)) {\n let missing0;\n if (data.version === void 0 && (missing0 = \"version\") || data.creator === void 0 && (missing0 = \"creator\") || data.entries === void 0 && (missing0 = \"entries\")) {\n validate14.errors = [{ instancePath, schemaPath: \"#/required\", keyword: \"required\", params: { missingProperty: missing0 }, message: \"must have required property '\" + missing0 + \"'\", schema: schema21.required, parentSchema: schema21, data }];\n return false;\n } else {\n if (data.version !== void 0) {\n let data0 = data.version;\n const _errs1 = errors;\n if (typeof data0 !== \"string\") {\n validate14.errors = [{ instancePath: instancePath + \"/version\", schemaPath: \"#/properties/version/type\", keyword: \"type\", params: { type: \"string\" }, message: \"must be string\", schema: schema21.properties.version.type, parentSchema: schema21.properties.version, data: data0 }];\n return false;\n }\n const _errs2 = errors;\n if (errors === _errs1) {\n }\n var valid0 = _errs1 === errors;\n } else {\n var valid0 = true;\n }\n if (valid0) {\n if (data.creator !== void 0) {\n let data1 = data.creator;\n const _errs3 = errors;\n const _errs4 = errors;\n const _errs5 = errors;\n if (errors === _errs4) {\n if (data1 && typeof data1 == \"object\" && !Array.isArray(data1)) {\n let missing1;\n if (data1.name === void 0 && (missing1 = \"name\") || data1.version === void 0 && (missing1 = \"version\")) {\n validate14.errors = [{ instancePath: instancePath + \"/creator\", schemaPath: \"creator.json#/required\", keyword: \"required\", params: { missingProperty: missing1 }, message: \"must have required property '\" + missing1 + \"'\", schema: schema8.required, parentSchema: schema8, data: data1 }];\n return false;\n } else {\n if (data1.name !== void 0) {\n let data2 = data1.name;\n const _errs6 = errors;\n if (typeof data2 !== \"string\") {\n validate14.errors = [{ instancePath: instancePath + \"/creator/name\", schemaPath: \"creator.json#/properties/name/type\", keyword: \"type\", params: { type: \"string\" }, message: \"must be string\", schema: schema8.properties.name.type, parentSchema: schema8.properties.name, data: data2 }];\n return false;\n }\n const _errs7 = errors;\n if (errors === _errs6) {\n }\n var valid2 = _errs6 === errors;\n } else {\n var valid2 = true;\n }\n if (valid2) {\n if (data1.version !== void 0) {\n let data3 = data1.version;\n const _errs8 = errors;\n if (typeof data3 !== \"string\") {\n validate14.errors = [{ instancePath: instancePath + \"/creator/version\", schemaPath: \"creator.json#/properties/version/type\", keyword: \"type\", params: { type: \"string\" }, message: \"must be string\", schema: schema8.properties.version.type, parentSchema: schema8.properties.version, data: data3 }];\n return false;\n }\n const _errs9 = errors;\n if (errors === _errs8) {\n }\n var valid2 = _errs8 === errors;\n } else {\n var valid2 = true;\n }\n if (valid2) {\n if (data1.comment !== void 0) {\n let data4 = data1.comment;\n const _errs10 = errors;\n if (typeof data4 !== \"string\") {\n validate14.errors = [{ instancePath: instancePath + \"/creator/comment\", schemaPath: \"creator.json#/properties/comment/type\", keyword: \"type\", params: { type: \"string\" }, message: \"must be string\", schema: schema8.properties.comment.type, parentSchema: schema8.properties.comment, data: data4 }];\n return false;\n }\n const _errs11 = errors;\n if (errors === _errs10) {\n }\n var valid2 = _errs10 === errors;\n } else {\n var valid2 = true;\n }\n if (valid2) {\n }\n }\n }\n }\n } else {\n validate14.errors = [{ instancePath: instancePath + \"/creator\", schemaPath: \"creator.json#/type\", keyword: \"type\", params: { type: \"object\" }, message: \"must be object\", schema: schema8.type, parentSchema: schema8, data: data1 }];\n return false;\n }\n if (errors === _errs4) {\n }\n }\n var valid1 = _errs4 === errors;\n if (valid1) {\n }\n var valid0 = _errs3 === errors;\n } else {\n var valid0 = true;\n }\n if (valid0) {\n if (data.browser !== void 0) {\n let data5 = data.browser;\n const _errs12 = errors;\n const _errs13 = errors;\n const _errs14 = errors;\n if (errors === _errs13) {\n if (data5 && typeof data5 == \"object\" && !Array.isArray(data5)) {\n let missing2;\n if (data5.name === void 0 && (missing2 = \"name\") || data5.version === void 0 && (missing2 = \"version\")) {\n validate14.errors = [{ instancePath: instancePath + \"/browser\", schemaPath: \"browser.json#/required\", keyword: \"required\", params: { missingProperty: missing2 }, message: \"must have required property '\" + missing2 + \"'\", schema: schema2.required, parentSchema: schema2, data: data5 }];\n return false;\n } else {\n if (data5.name !== void 0) {\n let data6 = data5.name;\n const _errs15 = errors;\n if (typeof data6 !== \"string\") {\n validate14.errors = [{ instancePath: instancePath + \"/browser/name\", schemaPath: \"browser.json#/properties/name/type\", keyword: \"type\", params: { type: \"string\" }, message: \"must be string\", schema: schema2.properties.name.type, parentSchema: schema2.properties.name, data: data6 }];\n return false;\n }\n const _errs16 = errors;\n if (errors === _errs15) {\n }\n var valid4 = _errs15 === errors;\n } else {\n var valid4 = true;\n }\n if (valid4) {\n if (data5.version !== void 0) {\n let data7 = data5.version;\n const _errs17 = errors;\n if (typeof data7 !== \"string\") {\n validate14.errors = [{ instancePath: instancePath + \"/browser/version\", schemaPath: \"browser.json#/properties/version/type\", keyword: \"type\", params: { type: \"string\" }, message: \"must be string\", schema: schema2.properties.version.type, parentSchema: schema2.properties.version, data: data7 }];\n return false;\n }\n const _errs18 = errors;\n if (errors === _errs17) {\n }\n var valid4 = _errs17 === errors;\n } else {\n var valid4 = true;\n }\n if (valid4) {\n if (data5.comment !== void 0) {\n let data8 = data5.comment;\n const _errs19 = errors;\n if (typeof data8 !== \"string\") {\n validate14.errors = [{ instancePath: instancePath + \"/browser/comment\", schemaPath: \"browser.json#/properties/comment/type\", keyword: \"type\", params: { type: \"string\" }, message: \"must be string\", schema: schema2.properties.comment.type, parentSchema: schema2.properties.comment, data: data8 }];\n return false;\n }\n const _errs20 = errors;\n if (errors === _errs19) {\n }\n var valid4 = _errs19 === errors;\n } else {\n var valid4 = true;\n }\n if (valid4) {\n }\n }\n }\n }\n } else {\n validate14.errors = [{ instancePath: instancePath + \"/browser\", schemaPath: \"browser.json#/type\", keyword: \"type\", params: { type: \"object\" }, message: \"must be object\", schema: schema2.type, parentSchema: schema2, data: data5 }];\n return false;\n }\n if (errors === _errs13) {\n }\n }\n var valid3 = _errs13 === errors;\n if (valid3) {\n }\n var valid0 = _errs12 === errors;\n } else {\n var valid0 = true;\n }\n if (valid0) {\n if (data.pages !== void 0) {\n let data9 = data.pages;\n const _errs21 = errors;\n const _errs22 = errors;\n if (errors === _errs21) {\n if (Array.isArray(data9)) {\n var valid5 = true;\n const len0 = data9.length;\n for (let i0 = 0; i0 < len0; i0++) {\n let data10 = data9[i0];\n const _errs23 = errors;\n if (!validate15(data10, { instancePath: instancePath + \"/pages/\" + i0, parentData: data9, parentDataProperty: i0, rootData })) {\n vErrors = vErrors === null ? validate15.errors : vErrors.concat(validate15.errors);\n errors = vErrors.length;\n } else {\n }\n var valid5 = _errs23 === errors;\n if (!valid5) {\n break;\n }\n }\n if (valid5) {\n }\n } else {\n validate14.errors = [{ instancePath: instancePath + \"/pages\", schemaPath: \"#/properties/pages/type\", keyword: \"type\", params: { type: \"array\" }, message: \"must be array\", schema: schema21.properties.pages.type, parentSchema: schema21.properties.pages, data: data9 }];\n return false;\n }\n if (errors === _errs21) {\n }\n }\n var valid0 = _errs21 === errors;\n } else {\n var valid0 = true;\n }\n if (valid0) {\n if (data.entries !== void 0) {\n let data11 = data.entries;\n const _errs24 = errors;\n const _errs25 = errors;\n if (errors === _errs24) {\n if (Array.isArray(data11)) {\n var valid6 = true;\n const len1 = data11.length;\n for (let i1 = 0; i1 < len1; i1++) {\n let data12 = data11[i1];\n const _errs26 = errors;\n if (!validate7(data12, { instancePath: instancePath + \"/entries/\" + i1, parentData: data11, parentDataProperty: i1, rootData })) {\n vErrors = vErrors === null ? validate7.errors : vErrors.concat(validate7.errors);\n errors = vErrors.length;\n } else {\n }\n var valid6 = _errs26 === errors;\n if (!valid6) {\n break;\n }\n }\n if (valid6) {\n }\n } else {\n validate14.errors = [{ instancePath: instancePath + \"/entries\", schemaPath: \"#/properties/entries/type\", keyword: \"type\", params: { type: \"array\" }, message: \"must be array\", schema: schema21.properties.entries.type, parentSchema: schema21.properties.entries, data: data11 }];\n return false;\n }\n if (errors === _errs24) {\n }\n }\n var valid0 = _errs24 === errors;\n } else {\n var valid0 = true;\n }\n if (valid0) {\n if (data.comment !== void 0) {\n let data13 = data.comment;\n const _errs27 = errors;\n if (typeof data13 !== \"string\") {\n validate14.errors = [{ instancePath: instancePath + \"/comment\", schemaPath: \"#/properties/comment/type\", keyword: \"type\", params: { type: \"string\" }, message: \"must be string\", schema: schema21.properties.comment.type, parentSchema: schema21.properties.comment, data: data13 }];\n return false;\n }\n const _errs28 = errors;\n if (errors === _errs27) {\n }\n var valid0 = _errs27 === errors;\n } else {\n var valid0 = true;\n }\n if (valid0) {\n }\n }\n }\n }\n }\n }\n }\n } else {\n validate14.errors = [{ instancePath, schemaPath: \"#/type\", keyword: \"type\", params: { type: \"object\" }, message: \"must be object\", schema: schema21.type, parentSchema: schema21, data }];\n return false;\n }\n if (errors === 0) {\n }\n }\n validate14.errors = vErrors;\n return errors === 0;\n }\n function validate13(data, { instancePath = \"\", parentData, parentDataProperty, rootData = data } = {}) {\n ;\n let vErrors = null;\n let errors = 0;\n const _errs0 = errors;\n if (errors === 0) {\n if (data && typeof data == \"object\" && !Array.isArray(data)) {\n let missing0;\n if (data.log === void 0 && (missing0 = \"log\")) {\n validate13.errors = [{ instancePath, schemaPath: \"#/required\", keyword: \"required\", params: { missingProperty: missing0 }, message: \"must have required property '\" + missing0 + \"'\", schema: schema20.required, parentSchema: schema20, data }];\n return false;\n } else {\n if (data.log !== void 0) {\n let data0 = data.log;\n const _errs1 = errors;\n if (!validate14(data0, { instancePath: instancePath + \"/log\", parentData: data, parentDataProperty: \"log\", rootData })) {\n vErrors = vErrors === null ? validate14.errors : vErrors.concat(validate14.errors);\n errors = vErrors.length;\n } else {\n }\n var valid0 = _errs1 === errors;\n } else {\n var valid0 = true;\n }\n if (valid0) {\n }\n }\n } else {\n validate13.errors = [{ instancePath, schemaPath: \"#/type\", keyword: \"type\", params: { type: \"object\" }, message: \"must be object\", schema: schema20.type, parentSchema: schema20, data }];\n return false;\n }\n if (errors === 0) {\n }\n }\n validate13.errors = vErrors;\n return errors === 0;\n }\n exports[\"header.json\"] = validate19;\n function validate19(data, { instancePath = \"\", parentData, parentDataProperty, rootData = data } = {}) {\n ;\n let vErrors = null;\n let errors = 0;\n const _errs0 = errors;\n if (errors === 0) {\n if (data && typeof data == \"object\" && !Array.isArray(data)) {\n let missing0;\n if (data.name === void 0 && (missing0 = \"name\") || data.value === void 0 && (missing0 = \"value\")) {\n validate19.errors = [{ instancePath, schemaPath: \"#/required\", keyword: \"required\", params: { missingProperty: missing0 }, message: \"must have required property '\" + missing0 + \"'\", schema: schema12.required, parentSchema: schema12, data }];\n return false;\n } else {\n if (data.name !== void 0) {\n let data0 = data.name;\n const _errs1 = errors;\n if (typeof data0 !== \"string\") {\n validate19.errors = [{ instancePath: instancePath + \"/name\", schemaPath: \"#/properties/name/type\", keyword: \"type\", params: { type: \"string\" }, message: \"must be string\", schema: schema12.properties.name.type, parentSchema: schema12.properties.name, data: data0 }];\n return false;\n }\n const _errs2 = errors;\n if (errors === _errs1) {\n }\n var valid0 = _errs1 === errors;\n } else {\n var valid0 = true;\n }\n if (valid0) {\n if (data.value !== void 0) {\n let data1 = data.value;\n const _errs3 = errors;\n if (typeof data1 !== \"string\") {\n validate19.errors = [{ instancePath: instancePath + \"/value\", schemaPath: \"#/properties/value/type\", keyword: \"type\", params: { type: \"string\" }, message: \"must be string\", schema: schema12.properties.value.type, parentSchema: schema12.properties.value, data: data1 }];\n return false;\n }\n const _errs4 = errors;\n if (errors === _errs3) {\n }\n var valid0 = _errs3 === errors;\n } else {\n var valid0 = true;\n }\n if (valid0) {\n if (data.comment !== void 0) {\n let data2 = data.comment;\n const _errs5 = errors;\n if (typeof data2 !== \"string\") {\n validate19.errors = [{ instancePath: instancePath + \"/comment\", schemaPath: \"#/properties/comment/type\", keyword: \"type\", params: { type: \"string\" }, message: \"must be string\", schema: schema12.properties.comment.type, parentSchema: schema12.properties.comment, data: data2 }];\n return false;\n }\n const _errs6 = errors;\n if (errors === _errs5) {\n }\n var valid0 = _errs5 === errors;\n } else {\n var valid0 = true;\n }\n if (valid0) {\n }\n }\n }\n }\n } else {\n validate19.errors = [{ instancePath, schemaPath: \"#/type\", keyword: \"type\", params: { type: \"object\" }, message: \"must be object\", schema: schema12.type, parentSchema: schema12, data }];\n return false;\n }\n if (errors === 0) {\n }\n }\n validate19.errors = vErrors;\n return errors === 0;\n }\n exports[\"log.json\"] = validate14;\n exports[\"page.json\"] = validate15;\n exports[\"pageTimings.json\"] = validate20;\n function validate20(data, { instancePath = \"\", parentData, parentDataProperty, rootData = data } = {}) {\n ;\n let vErrors = null;\n let errors = 0;\n const _errs0 = errors;\n if (errors === 0) {\n if (data && typeof data == \"object\" && !Array.isArray(data)) {\n if (data.onContentLoad !== void 0) {\n let data0 = data.onContentLoad;\n const _errs1 = errors;\n if (!(typeof data0 == \"number\")) {\n validate20.errors = [{ instancePath: instancePath + \"/onContentLoad\", schemaPath: \"#/properties/onContentLoad/type\", keyword: \"type\", params: { type: \"number\" }, message: \"must be number\", schema: schema25.properties.onContentLoad.type, parentSchema: schema25.properties.onContentLoad, data: data0 }];\n return false;\n }\n const _errs2 = errors;\n if (errors === _errs1) {\n }\n var valid0 = _errs1 === errors;\n } else {\n var valid0 = true;\n }\n if (valid0) {\n if (data.onLoad !== void 0) {\n let data1 = data.onLoad;\n const _errs3 = errors;\n if (!(typeof data1 == \"number\")) {\n validate20.errors = [{ instancePath: instancePath + \"/onLoad\", schemaPath: \"#/properties/onLoad/type\", keyword: \"type\", params: { type: \"number\" }, message: \"must be number\", schema: schema25.properties.onLoad.type, parentSchema: schema25.properties.onLoad, data: data1 }];\n return false;\n }\n const _errs4 = errors;\n if (errors === _errs3) {\n }\n var valid0 = _errs3 === errors;\n } else {\n var valid0 = true;\n }\n if (valid0) {\n if (data.comment !== void 0) {\n let data2 = data.comment;\n const _errs5 = errors;\n if (typeof data2 !== \"string\") {\n validate20.errors = [{ instancePath: instancePath + \"/comment\", schemaPath: \"#/properties/comment/type\", keyword: \"type\", params: { type: \"string\" }, message: \"must be string\", schema: schema25.properties.comment.type, parentSchema: schema25.properties.comment, data: data2 }];\n return false;\n }\n const _errs6 = errors;\n if (errors === _errs5) {\n }\n var valid0 = _errs5 === errors;\n } else {\n var valid0 = true;\n }\n if (valid0) {\n }\n }\n }\n } else {\n validate20.errors = [{ instancePath, schemaPath: \"#/type\", keyword: \"type\", params: { type: \"object\" }, message: \"must be object\", schema: schema25.type, parentSchema: schema25, data }];\n return false;\n }\n if (errors === 0) {\n }\n }\n validate20.errors = vErrors;\n return errors === 0;\n }\n exports[\"postData.json\"] = validate21;\n function validate21(data, { instancePath = \"\", parentData, parentDataProperty, rootData = data } = {}) {\n ;\n let vErrors = null;\n let errors = 0;\n const _errs0 = errors;\n if (errors === 0) {\n if (data && typeof data == \"object\" && !Array.isArray(data)) {\n let missing0;\n if (data.mimeType === void 0 && (missing0 = \"mimeType\")) {\n validate21.errors = [{ instancePath, schemaPath: \"#/required\", keyword: \"required\", params: { missingProperty: missing0 }, message: \"must have required property '\" + missing0 + \"'\", schema: schema14.required, parentSchema: schema14, data }];\n return false;\n } else {\n if (data.mimeType !== void 0) {\n let data0 = data.mimeType;\n const _errs1 = errors;\n if (typeof data0 !== \"string\") {\n validate21.errors = [{ instancePath: instancePath + \"/mimeType\", schemaPath: \"#/properties/mimeType/type\", keyword: \"type\", params: { type: \"string\" }, message: \"must be string\", schema: schema14.properties.mimeType.type, parentSchema: schema14.properties.mimeType, data: data0 }];\n return false;\n }\n const _errs2 = errors;\n if (errors === _errs1) {\n }\n var valid0 = _errs1 === errors;\n } else {\n var valid0 = true;\n }\n if (valid0) {\n if (data.text !== void 0) {\n let data1 = data.text;\n const _errs3 = errors;\n if (typeof data1 !== \"string\") {\n validate21.errors = [{ instancePath: instancePath + \"/text\", schemaPath: \"#/properties/text/type\", keyword: \"type\", params: { type: \"string\" }, message: \"must be string\", schema: schema14.properties.text.type, parentSchema: schema14.properties.text, data: data1 }];\n return false;\n }\n const _errs4 = errors;\n if (errors === _errs3) {\n }\n var valid0 = _errs3 === errors;\n } else {\n var valid0 = true;\n }\n if (valid0) {\n if (data.params !== void 0) {\n let data2 = data.params;\n const _errs5 = errors;\n if (!Array.isArray(data2)) {\n validate21.errors = [{ instancePath: instancePath + \"/params\", schemaPath: \"#/properties/params/type\", keyword: \"type\", params: { type: \"array\" }, message: \"must be array\", schema: schema14.properties.params.type, parentSchema: schema14.properties.params, data: data2 }];\n return false;\n }\n const _errs6 = errors;\n if (errors === _errs5) {\n if (data2 && typeof data2 == \"object\" && !Array.isArray(data2)) {\n let missing1;\n if (data2.name === void 0 && (missing1 = \"name\")) {\n validate21.errors = [{ instancePath: instancePath + \"/params\", schemaPath: \"#/properties/params/required\", keyword: \"required\", params: { missingProperty: missing1 }, message: \"must have required property '\" + missing1 + \"'\", schema: schema14.properties.params.required, parentSchema: schema14.properties.params, data: data2 }];\n return false;\n } else {\n if (data2.name !== void 0) {\n let data3 = data2.name;\n const _errs7 = errors;\n if (typeof data3 !== \"string\") {\n validate21.errors = [{ instancePath: instancePath + \"/params/name\", schemaPath: \"#/properties/params/properties/name/type\", keyword: \"type\", params: { type: \"string\" }, message: \"must be string\", schema: schema14.properties.params.properties.name.type, parentSchema: schema14.properties.params.properties.name, data: data3 }];\n return false;\n }\n const _errs8 = errors;\n if (errors === _errs7) {\n }\n var valid1 = _errs7 === errors;\n } else {\n var valid1 = true;\n }\n if (valid1) {\n if (data2.value !== void 0) {\n let data4 = data2.value;\n const _errs9 = errors;\n if (typeof data4 !== \"string\") {\n validate21.errors = [{ instancePath: instancePath + \"/params/value\", schemaPath: \"#/properties/params/properties/value/type\", keyword: \"type\", params: { type: \"string\" }, message: \"must be string\", schema: schema14.properties.params.properties.value.type, parentSchema: schema14.properties.params.properties.value, data: data4 }];\n return false;\n }\n const _errs10 = errors;\n if (errors === _errs9) {\n }\n var valid1 = _errs9 === errors;\n } else {\n var valid1 = true;\n }\n if (valid1) {\n if (data2.fileName !== void 0) {\n let data5 = data2.fileName;\n const _errs11 = errors;\n if (typeof data5 !== \"string\") {\n validate21.errors = [{ instancePath: instancePath + \"/params/fileName\", schemaPath: \"#/properties/params/properties/fileName/type\", keyword: \"type\", params: { type: \"string\" }, message: \"must be string\", schema: schema14.properties.params.properties.fileName.type, parentSchema: schema14.properties.params.properties.fileName, data: data5 }];\n return false;\n }\n const _errs12 = errors;\n if (errors === _errs11) {\n }\n var valid1 = _errs11 === errors;\n } else {\n var valid1 = true;\n }\n if (valid1) {\n if (data2.contentType !== void 0) {\n let data6 = data2.contentType;\n const _errs13 = errors;\n if (typeof data6 !== \"string\") {\n validate21.errors = [{ instancePath: instancePath + \"/params/contentType\", schemaPath: \"#/properties/params/properties/contentType/type\", keyword: \"type\", params: { type: \"string\" }, message: \"must be string\", schema: schema14.properties.params.properties.contentType.type, parentSchema: schema14.properties.params.properties.contentType, data: data6 }];\n return false;\n }\n const _errs14 = errors;\n if (errors === _errs13) {\n }\n var valid1 = _errs13 === errors;\n } else {\n var valid1 = true;\n }\n if (valid1) {\n if (data2.comment !== void 0) {\n let data7 = data2.comment;\n const _errs15 = errors;\n if (typeof data7 !== \"string\") {\n validate21.errors = [{ instancePath: instancePath + \"/params/comment\", schemaPath: \"#/properties/params/properties/comment/type\", keyword: \"type\", params: { type: \"string\" }, message: \"must be string\", schema: schema14.properties.params.properties.comment.type, parentSchema: schema14.properties.params.properties.comment, data: data7 }];\n return false;\n }\n const _errs16 = errors;\n if (errors === _errs15) {\n }\n var valid1 = _errs15 === errors;\n } else {\n var valid1 = true;\n }\n if (valid1) {\n }\n }\n }\n }\n }\n }\n }\n if (errors === _errs5) {\n }\n }\n var valid0 = _errs5 === errors;\n } else {\n var valid0 = true;\n }\n if (valid0) {\n if (data.comment !== void 0) {\n let data8 = data.comment;\n const _errs17 = errors;\n if (typeof data8 !== \"string\") {\n validate21.errors = [{ instancePath: instancePath + \"/comment\", schemaPath: \"#/properties/comment/type\", keyword: \"type\", params: { type: \"string\" }, message: \"must be string\", schema: schema14.properties.comment.type, parentSchema: schema14.properties.comment, data: data8 }];\n return false;\n }\n const _errs18 = errors;\n if (errors === _errs17) {\n }\n var valid0 = _errs17 === errors;\n } else {\n var valid0 = true;\n }\n if (valid0) {\n }\n }\n }\n }\n }\n } else {\n validate21.errors = [{ instancePath, schemaPath: \"#/type\", keyword: \"type\", params: { type: \"object\" }, message: \"must be object\", schema: schema14.type, parentSchema: schema14, data }];\n return false;\n }\n if (errors === 0) {\n }\n }\n validate21.errors = vErrors;\n return errors === 0;\n }\n exports[\"query.json\"] = validate22;\n function validate22(data, { instancePath = \"\", parentData, parentDataProperty, rootData = data } = {}) {\n ;\n let vErrors = null;\n let errors = 0;\n const _errs0 = errors;\n if (errors === 0) {\n if (data && typeof data == \"object\" && !Array.isArray(data)) {\n let missing0;\n if (data.name === void 0 && (missing0 = \"name\") || data.value === void 0 && (missing0 = \"value\")) {\n validate22.errors = [{ instancePath, schemaPath: \"#/required\", keyword: \"required\", params: { missingProperty: missing0 }, message: \"must have required property '\" + missing0 + \"'\", schema: schema13.required, parentSchema: schema13, data }];\n return false;\n } else {\n if (data.name !== void 0) {\n let data0 = data.name;\n const _errs1 = errors;\n if (typeof data0 !== \"string\") {\n validate22.errors = [{ instancePath: instancePath + \"/name\", schemaPath: \"#/properties/name/type\", keyword: \"type\", params: { type: \"string\" }, message: \"must be string\", schema: schema13.properties.name.type, parentSchema: schema13.properties.name, data: data0 }];\n return false;\n }\n const _errs2 = errors;\n if (errors === _errs1) {\n }\n var valid0 = _errs1 === errors;\n } else {\n var valid0 = true;\n }\n if (valid0) {\n if (data.value !== void 0) {\n let data1 = data.value;\n const _errs3 = errors;\n if (typeof data1 !== \"string\") {\n validate22.errors = [{ instancePath: instancePath + \"/value\", schemaPath: \"#/properties/value/type\", keyword: \"type\", params: { type: \"string\" }, message: \"must be string\", schema: schema13.properties.value.type, parentSchema: schema13.properties.value, data: data1 }];\n return false;\n }\n const _errs4 = errors;\n if (errors === _errs3) {\n }\n var valid0 = _errs3 === errors;\n } else {\n var valid0 = true;\n }\n if (valid0) {\n if (data.comment !== void 0) {\n let data2 = data.comment;\n const _errs5 = errors;\n if (typeof data2 !== \"string\") {\n validate22.errors = [{ instancePath: instancePath + \"/comment\", schemaPath: \"#/properties/comment/type\", keyword: \"type\", params: { type: \"string\" }, message: \"must be string\", schema: schema13.properties.comment.type, parentSchema: schema13.properties.comment, data: data2 }];\n return false;\n }\n const _errs6 = errors;\n if (errors === _errs5) {\n }\n var valid0 = _errs5 === errors;\n } else {\n var valid0 = true;\n }\n if (valid0) {\n }\n }\n }\n }\n } else {\n validate22.errors = [{ instancePath, schemaPath: \"#/type\", keyword: \"type\", params: { type: \"object\" }, message: \"must be object\", schema: schema13.type, parentSchema: schema13, data }];\n return false;\n }\n if (errors === 0) {\n }\n }\n validate22.errors = vErrors;\n return errors === 0;\n }\n exports[\"request.json\"] = validate8;\n exports[\"response.json\"] = validate10;\n exports[\"timings.json\"] = validate23;\n function validate23(data, { instancePath = \"\", parentData, parentDataProperty, rootData = data } = {}) {\n ;\n let vErrors = null;\n let errors = 0;\n if (data && typeof data == \"object\" && !Array.isArray(data)) {\n let missing0;\n if (data.send === void 0 && (missing0 = \"send\") || data.wait === void 0 && (missing0 = \"wait\") || data.receive === void 0 && (missing0 = \"receive\")) {\n validate23.errors = [{ instancePath, schemaPath: \"#/required\", keyword: \"required\", params: { missingProperty: missing0 }, message: \"must have required property '\" + missing0 + \"'\", schema: schema19.required, parentSchema: schema19, data }];\n return false;\n } else {\n if (data.dns !== void 0) {\n let data0 = data.dns;\n const _errs0 = errors;\n if (!(typeof data0 == \"number\")) {\n validate23.errors = [{ instancePath: instancePath + \"/dns\", schemaPath: \"#/properties/dns/type\", keyword: \"type\", params: { type: \"number\" }, message: \"must be number\", schema: schema19.properties.dns.type, parentSchema: schema19.properties.dns, data: data0 }];\n return false;\n }\n const _errs1 = errors;\n if (errors === _errs0) {\n }\n var valid0 = _errs0 === errors;\n } else {\n var valid0 = true;\n }\n if (valid0) {\n if (data.connect !== void 0) {\n let data1 = data.connect;\n const _errs2 = errors;\n if (!(typeof data1 == \"number\")) {\n validate23.errors = [{ instancePath: instancePath + \"/connect\", schemaPath: \"#/properties/connect/type\", keyword: \"type\", params: { type: \"number\" }, message: \"must be number\", schema: schema19.properties.connect.type, parentSchema: schema19.properties.connect, data: data1 }];\n return false;\n }\n const _errs3 = errors;\n if (errors === _errs2) {\n }\n var valid0 = _errs2 === errors;\n } else {\n var valid0 = true;\n }\n if (valid0) {\n if (data.blocked !== void 0) {\n let data2 = data.blocked;\n const _errs4 = errors;\n if (!(typeof data2 == \"number\")) {\n validate23.errors = [{ instancePath: instancePath + \"/blocked\", schemaPath: \"#/properties/blocked/type\", keyword: \"type\", params: { type: \"number\" }, message: \"must be number\", schema: schema19.properties.blocked.type, parentSchema: schema19.properties.blocked, data: data2 }];\n return false;\n }\n const _errs5 = errors;\n if (errors === _errs4) {\n }\n var valid0 = _errs4 === errors;\n } else {\n var valid0 = true;\n }\n if (valid0) {\n if (data.send !== void 0) {\n let data3 = data.send;\n const _errs6 = errors;\n if (!(typeof data3 == \"number\")) {\n validate23.errors = [{ instancePath: instancePath + \"/send\", schemaPath: \"#/properties/send/type\", keyword: \"type\", params: { type: \"number\" }, message: \"must be number\", schema: schema19.properties.send.type, parentSchema: schema19.properties.send, data: data3 }];\n return false;\n }\n const _errs7 = errors;\n if (errors === _errs6) {\n }\n var valid0 = _errs6 === errors;\n } else {\n var valid0 = true;\n }\n if (valid0) {\n if (data.wait !== void 0) {\n let data4 = data.wait;\n const _errs8 = errors;\n if (!(typeof data4 == \"number\")) {\n validate23.errors = [{ instancePath: instancePath + \"/wait\", schemaPath: \"#/properties/wait/type\", keyword: \"type\", params: { type: \"number\" }, message: \"must be number\", schema: schema19.properties.wait.type, parentSchema: schema19.properties.wait, data: data4 }];\n return false;\n }\n const _errs9 = errors;\n if (errors === _errs8) {\n }\n var valid0 = _errs8 === errors;\n } else {\n var valid0 = true;\n }\n if (valid0) {\n if (data.receive !== void 0) {\n let data5 = data.receive;\n const _errs10 = errors;\n if (!(typeof data5 == \"number\")) {\n validate23.errors = [{ instancePath: instancePath + \"/receive\", schemaPath: \"#/properties/receive/type\", keyword: \"type\", params: { type: \"number\" }, message: \"must be number\", schema: schema19.properties.receive.type, parentSchema: schema19.properties.receive, data: data5 }];\n return false;\n }\n const _errs11 = errors;\n if (errors === _errs10) {\n }\n var valid0 = _errs10 === errors;\n } else {\n var valid0 = true;\n }\n if (valid0) {\n if (data.ssl !== void 0) {\n let data6 = data.ssl;\n const _errs12 = errors;\n if (!(typeof data6 == \"number\")) {\n validate23.errors = [{ instancePath: instancePath + \"/ssl\", schemaPath: \"#/properties/ssl/type\", keyword: \"type\", params: { type: \"number\" }, message: \"must be number\", schema: schema19.properties.ssl.type, parentSchema: schema19.properties.ssl, data: data6 }];\n return false;\n }\n const _errs13 = errors;\n if (errors === _errs12) {\n }\n var valid0 = _errs12 === errors;\n } else {\n var valid0 = true;\n }\n if (valid0) {\n if (data.comment !== void 0) {\n let data7 = data.comment;\n const _errs14 = errors;\n if (typeof data7 !== \"string\") {\n validate23.errors = [{ instancePath: instancePath + \"/comment\", schemaPath: \"#/properties/comment/type\", keyword: \"type\", params: { type: \"string\" }, message: \"must be string\", schema: schema19.properties.comment.type, parentSchema: schema19.properties.comment, data: data7 }];\n return false;\n }\n const _errs15 = errors;\n if (errors === _errs14) {\n }\n var valid0 = _errs14 === errors;\n } else {\n var valid0 = true;\n }\n if (valid0) {\n }\n }\n }\n }\n }\n }\n }\n }\n }\n }\n if (errors === 0) {\n }\n validate23.errors = vErrors;\n return errors === 0;\n }\n }\n});\n\n// src/index.ts\nvar src_exports = {};\n__export(src_exports, {\n HARError: () => HARError,\n default: () => src_default,\n validate: () => validate,\n validateHar: () => validateHar,\n validateRequest: () => validateRequest,\n validateResponse: () => validateResponse\n});\nmodule.exports = __toCommonJS(src_exports);\nvar validators = __toESM(require_validate());\nvar HARError = class extends Error {\n constructor(errors) {\n super();\n this.name = \"HARError\";\n this.message = \"Validation Failed\";\n this.errors = [];\n this.errors = errors;\n Error.captureStackTrace(this, this.constructor);\n }\n};\nvar validatorMappings = {\n request: validators[\"request.json\"],\n afterRequest: validators[\"afterRequest.json\"],\n beforeRequest: validators[\"beforeRequest.json\"],\n browser: validators[\"browser.json\"],\n cache: validators[\"cache.json\"],\n content: validators[\"content.json\"],\n cookie: validators[\"cookie.json\"],\n creator: validators[\"creator.json\"],\n entry: validators[\"entry.json\"],\n har: validators[\"har.json\"],\n header: validators[\"header.json\"],\n log: validators[\"log.json\"],\n page: validators[\"page.json\"],\n pageTimings: validators[\"pageTimings.json\"],\n postData: validators[\"postData.json\"],\n query: validators[\"query.json\"],\n response: validators[\"response.json\"],\n timings: validators[\"timings.json\"]\n};\nvar validate = (schema, obj) => {\n const validator = validatorMappings[schema];\n const result = validator(obj);\n if (!result) {\n throw new HARError(validator.errors);\n }\n return result;\n};\nvar validateRequest = (request) => {\n return validate(\"request\", request);\n};\nvar validateResponse = (response) => {\n return validate(\"response\", response);\n};\nvar validateHar = (har) => {\n return validate(\"har\", har);\n};\nvar src_default = validateRequest;\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\tid: moduleId,\n\t\tloaded: false,\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Flag the module as loaded\n\tmodule.loaded = true;\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","__webpack_require__.nmd = (module) => {\n\tmodule.paths = [];\n\tif (!module.children) module.children = [];\n\treturn module;\n};","'use strict';\n\nfunction pad(number) {\n if (number < 10) {\n return '0' + number;\n }\n return number;\n}\n\nexport function toRFCDateTime(date, omitTime, omitDate, milliseconds) {\n var res = omitDate ? '' : (date.getUTCFullYear() +\n '-' + pad(date.getUTCMonth() + 1) +\n '-' + pad(date.getUTCDate()));\n if (!omitTime) {\n res += 'T' + pad(date.getUTCHours()) +\n ':' + pad(date.getUTCMinutes()) +\n ':' + pad(date.getUTCSeconds()) +\n (milliseconds ? '.' + (date.getUTCMilliseconds() / 1000).toFixed(3).slice(2, 5) : '') +\n 'Z';\n }\n return res;\n};\n\nexport function ensureMinLength(sample, min) {\n if (min > sample.length) {\n return sample.repeat(Math.trunc(min / sample.length) + 1).substring(0, min);\n }\n return sample;\n}\n\nexport function mergeDeep(...objects) {\n const isObject = obj => obj && typeof obj === 'object';\n\n return objects.reduce((prev, obj) => {\n Object.keys(obj || {}).forEach(key => {\n const pVal = prev[key];\n const oVal = obj[key];\n\n if (isObject(pVal) && isObject(oVal)) {\n prev[key] = mergeDeep(pVal, oVal);\n } else {\n prev[key] = oVal;\n }\n });\n\n return prev;\n }, Array.isArray(objects[objects.length - 1]) ? [] : {});\n}\n\n// deterministic UUID sampler\n\nexport function uuid(str) {\n var hash = hashCode(str);\n var random = jsf32(hash, hash, hash, hash);\n var uuid = 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, (c) => {\n var r = (random() * 16) % 16 | 0;\n return (c == 'x' ? r : (r & 0x3 | 0x8)).toString(16);\n });\n return uuid;\n}\n\nexport function getResultForCircular(type) {\n return {\n value: type === 'object' ?\n {}\n : type === 'array' ? [] : undefined\n };\n}\n\nexport function popSchemaStack(seenSchemasStack, context) {\n if (context) seenSchemasStack.pop();\n}\n\nfunction hashCode(str) {\n var hash = 0;\n if (str.length == 0) return hash;\n for (var i = 0; i < str.length; i++) {\n var char = str.charCodeAt(i);\n hash = ((hash << 5) - hash) + char;\n hash = hash & hash;\n }\n return hash;\n}\n\nfunction jsf32(a, b, c, d) {\n return function () {\n a |= 0; b |= 0; c |= 0; d |= 0;\n var t = a - (b << 27 | b >>> 5) | 0;\n a = b ^ (c << 17 | c >>> 15);\n b = c + d | 0;\n c = d + t | 0;\n d = a + t | 0;\n return (d >>> 0) / 4294967296;\n }\n}\n","const schemaKeywordTypes = {\n multipleOf: 'number',\n maximum: 'number',\n exclusiveMaximum: 'number',\n minimum: 'number',\n exclusiveMinimum: 'number',\n\n maxLength: 'string',\n minLength: 'string',\n pattern: 'string',\n\n items: 'array',\n maxItems: 'array',\n minItems: 'array',\n uniqueItems: 'array',\n additionalItems: 'array',\n\n maxProperties: 'object',\n minProperties: 'object',\n required: 'object',\n additionalProperties: 'object',\n properties: 'object',\n patternProperties: 'object',\n dependencies: 'object'\n};\n\nexport function inferType(schema) {\n if (schema.type !== undefined) {\n return Array.isArray(schema.type) ? schema.type.length === 0 ? null : schema.type[0] : schema.type;\n }\n const keywords = Object.keys(schemaKeywordTypes);\n for (var i = 0; i < keywords.length; i++) {\n let keyword = keywords[i];\n let type = schemaKeywordTypes[keyword];\n if (schema[keyword] !== undefined) {\n return type;\n }\n }\n\n return null;\n}\n","import { _samplers } from './openapi-sampler';\nimport { allOfSample } from './allOf';\nimport { inferType } from './infer';\nimport { getResultForCircular, mergeDeep, popSchemaStack } from './utils';\nimport JsonPointer from 'json-pointer';\n\nlet $refCache = {};\n// for circular JS references we use additional array and not object as we need to compare entire schemas and not strings\nlet seenSchemasStack = [];\n\nexport function clearCache() {\n $refCache = {};\n seenSchemasStack = [];\n}\n\nfunction inferExample(schema) {\n let example;\n if (schema.const !== undefined) {\n example = schema.const;\n } else if (schema.examples !== undefined && schema.examples.length) {\n example = schema.examples[0];\n } else if (schema.enum !== undefined && schema.enum.length) {\n example = schema.enum[0];\n } else if (schema.default !== undefined) {\n example = schema.default;\n }\n return example;\n}\n\nfunction tryInferExample(schema) {\n const example = inferExample(schema);\n // case when we don't infer example from schema but take from `const`, `examples`, `default` or `enum` keywords\n if (example !== undefined) {\n return {\n value: example,\n readOnly: schema.readOnly,\n writeOnly: schema.writeOnly,\n type: null,\n };\n }\n return;\n}\n\nexport function traverse(schema, options, spec, context) {\n // checking circular JS references by checking context\n // because context is passed only when traversing through nested objects happens\n if (context) {\n if (seenSchemasStack.includes(schema)) return getResultForCircular(inferType(schema));\n seenSchemasStack.push(schema);\n }\n\n\n if (context && context.depth > options.maxSampleDepth) {\n popSchemaStack(seenSchemasStack, context);\n return getResultForCircular(inferType(schema));\n }\n\n if (schema.$ref) {\n if (!spec) {\n throw new Error('Your schema contains $ref. You must provide full specification in the third parameter.');\n }\n let ref = decodeURIComponent(schema.$ref);\n if (ref.startsWith('#')) {\n ref = ref.substring(1);\n }\n\n const referenced = JsonPointer.get(spec, ref);\n let result;\n\n if ($refCache[ref] !== true) {\n $refCache[ref] = true;\n result = traverse(referenced, options, spec, context);\n $refCache[ref] = false;\n } else {\n const referencedType = inferType(referenced);\n result = getResultForCircular(referencedType);\n }\n popSchemaStack(seenSchemasStack, context);\n return result;\n }\n\n if (schema.example !== undefined) {\n popSchemaStack(seenSchemasStack, context);\n return {\n value: schema.example,\n readOnly: schema.readOnly,\n writeOnly: schema.writeOnly,\n type: schema.type,\n };\n }\n\n if (schema.allOf !== undefined) {\n popSchemaStack(seenSchemasStack, context);\n return tryInferExample(schema) || allOfSample(\n { ...schema, allOf: undefined },\n schema.allOf,\n options,\n spec,\n context,\n );\n }\n\n if (schema.oneOf && schema.oneOf.length) {\n if (schema.anyOf) {\n if (!options.quiet) console.warn('oneOf and anyOf are not supported on the same level. Skipping anyOf');\n }\n popSchemaStack(seenSchemasStack, context);\n\n // Make sure to pass down readOnly and writeOnly annotations from the parent\n const firstOneOf = Object.assign({\n readOnly: schema.readOnly,\n writeOnly: schema.writeOnly\n }, schema.oneOf[0]);\n\n return traverseOneOrAnyOf(schema, firstOneOf)\n }\n\n if (schema.anyOf && schema.anyOf.length) {\n popSchemaStack(seenSchemasStack, context);\n\n // Make sure to pass down readOnly and writeOnly annotations from the parent\n const firstAnyOf = Object.assign({\n readOnly: schema.readOnly,\n writeOnly: schema.writeOnly\n }, schema.anyOf[0]);\n\n return traverseOneOrAnyOf(schema, firstAnyOf)\n }\n\n if (schema.if && schema.then) {\n popSchemaStack(seenSchemasStack, context);\n const { if: ifSchema, then, ...rest } = schema;\n return traverse(mergeDeep(rest, ifSchema, then), options, spec, context);\n }\n\n let example = inferExample(schema);\n let type = null;\n if (example === undefined) {\n example = null;\n type = schema.type;\n if (Array.isArray(type) && schema.type.length > 0) {\n type = schema.type[0];\n }\n if (!type) {\n type = inferType(schema);\n }\n let sampler = _samplers[type];\n if (sampler) {\n example = sampler(schema, options, spec, context);\n }\n }\n\n popSchemaStack(seenSchemasStack, context);\n return {\n value: example,\n readOnly: schema.readOnly,\n writeOnly: schema.writeOnly,\n type: type\n };\n\n function traverseOneOrAnyOf(schema, selectedSubSchema) {\n const inferred = tryInferExample(schema);\n if (inferred !== undefined) {\n return inferred;\n }\n\n const localExample = traverse({...schema, oneOf: undefined, anyOf: undefined }, options, spec, context);\n const subSchemaExample = traverse(selectedSubSchema, options, spec, context);\n\n if (typeof localExample.value === 'object' && typeof subSchemaExample.value === 'object') {\n const mergedExample = mergeDeep(localExample.value, subSchemaExample.value);\n return {...subSchemaExample, value: mergedExample };\n }\n\n return subSchemaExample;\n }\n}\n","import { traverse } from './traverse';\nimport { mergeDeep } from './utils';\n\nexport function allOfSample(into, children, options, spec, context) {\n let res = traverse(into, options, spec);\n const subSamples = [];\n\n for (let subSchema of children) {\n const { type, readOnly, writeOnly, value } = traverse({ type: res.type, ...subSchema }, options, spec, context);\n if (res.type && type && type !== res.type) {\n console.warn('allOf: schemas with different types can\\'t be merged');\n res.type = type;\n }\n res.type = res.type || type;\n res.readOnly = res.readOnly || readOnly;\n res.writeOnly = res.writeOnly || writeOnly;\n if (value != null) subSamples.push(value);\n }\n\n if (res.type === 'object') {\n res.value = mergeDeep(res.value || {}, ...subSamples.filter(sample => typeof sample === 'object'));\n return res;\n } else {\n if (res.type === 'array') {\n // TODO: implement arrays\n if (!options.quiet) console.warn('OpenAPI Sampler: found allOf with \"array\" type. Result may be incorrect');\n }\n const lastSample = subSamples[subSamples.length - 1];\n res.value = lastSample != null ? lastSample : res.value;\n return res;\n }\n}\n","export function sampleNumber(schema) {\n let res = 0;\n if (schema.type === 'number' && (schema.format === 'float' || schema.format === 'double')) {\n res = 0.1;\n }\n if (typeof schema.exclusiveMinimum === 'boolean' || typeof schema.exclusiveMaximum === 'boolean') { //legacy support for jsonschema draft 4 of exclusiveMaximum/exclusiveMinimum as booleans\n if (schema.maximum && schema.minimum) {\n res = schema.exclusiveMinimum ? Math.floor(schema.minimum) + 1 : schema.minimum;\n if ((schema.exclusiveMaximum && res >= schema.maximum) ||\n ((!schema.exclusiveMaximum && res > schema.maximum))) {\n res = (schema.maximum + schema.minimum) / 2;\n }\n return res;\n }\n if (schema.minimum) {\n if (schema.exclusiveMinimum) {\n return Math.floor(schema.minimum) + 1;\n } else {\n return schema.minimum;\n }\n }\n if (schema.maximum) {\n if (schema.exclusiveMaximum) {\n return (schema.maximum > 0) ? 0 : Math.floor(schema.maximum) - 1;\n } else {\n return (schema.maximum > 0) ? 0 : schema.maximum;\n }\n }\n } else {\n if (schema.minimum) {\n return schema.minimum;\n }\n if (schema.exclusiveMinimum) {\n res = Math.floor(schema.exclusiveMinimum) + 1;\n\n if (res === schema.exclusiveMaximum) {\n res = (res + Math.floor(schema.exclusiveMaximum) - 1) / 2;\n }\n } else if (schema.exclusiveMaximum) {\n res = Math.floor(schema.exclusiveMaximum) - 1;\n } else if (schema.maximum) {\n res = schema.maximum;\n }\n }\n\n return res;\n}\n","/**\nFaker - Copyright (c) 2022-2023\n\nThis software consists of voluntary contributions made by many individuals.\nFor exact contribution history, see the revision history\navailable at https://github.com/faker-js/faker\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n\"Software\"), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\nNONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE\nLIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION\nOF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION\nWITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n===\n\nFrom: https://github.com/faker-js/faker/commit/a9f98046c7d5eeaabe12fc587024c06d683800b8\nTo: https://github.com/faker-js/faker/commit/29234378807c4141588861f69421bf20b5ac635e\n\nBased on faker.js, copyright Marak Squires and contributor, what follows below is the original license.\n\n===\n\nfaker.js - Copyright (c) 2020\nMarak Squires\nhttp://github.com/marak/faker.js/\n\nfaker.js was inspired by and has used data definitions from:\n\n * https://github.com/stympy/faker/ - Copyright (c) 2007-2010 Benjamin Curtis\n * http://search.cpan.org/~jasonk/Data-Faker-0.07/ - Copyright 2004-2005 by Jason Kohles\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n\"Software\"), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\nNONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE\nLIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION\nOF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION\nWITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n*/\n\n/** @returns {boolean} */\nfunction boolSample() {\n return true;\n}\n\n/**\n * @param {number} min - inclusive\n * @param {number} _max - inclusive\n * @returns {number}\n */\nfunction intSample(min, _max) {\n return min;\n}\n\n/**\n * Returns a number based on given RegEx-based quantifier symbol or quantifier values.\n *\n * @param {string} quantifierSymbol Quantifier symbols can be either of these: `?`, `*`, `+`.\n * @param {string} quantifierMin Quantifier minimum value. If given without a maximum, this will be used as the quantifier value.\n * @param {string} quantifierMax Quantifier maximum value. Will randomly get a value between the minimum and maximum if both are provided.\n *\n * @returns {number} a random number based on the given quantifier parameters.\n *\n * @example\n * getRepetitionsBasedOnQuantifierParameters('*', null, null) // 3\n * getRepetitionsBasedOnQuantifierParameters(null, 10, null) // 10\n * getRepetitionsBasedOnQuantifierParameters(null, 5, 8) // 6\n *\n * @since 8.0.0\n */\nfunction getRepetitionsBasedOnQuantifierParameters(\n quantifierSymbol,\n quantifierMin,\n quantifierMax\n) {\n let repetitions = 1;\n if (quantifierSymbol) {\n switch (quantifierSymbol) {\n case '?': {\n repetitions = boolSample() ? 0 : 1;\n break;\n }\n\n case '*': {\n const limit = 8;\n repetitions = intSample(0, limit);\n break;\n }\n\n case '+': {\n const limit = 8;\n repetitions = intSample(1, limit);\n break;\n }\n\n default:\n throw new Error('Unknown quantifier symbol provided.');\n }\n } else if (quantifierMin != null && quantifierMax != null) {\n repetitions = intSample(parseInt(quantifierMin), parseInt(quantifierMax));\n } else if (quantifierMin != null && quantifierMax == null) {\n repetitions = parseInt(quantifierMin);\n }\n\n return repetitions;\n}\n\n/**\n * Generates a string matching the given regex like expressions.\n *\n * This function doesn't provide full support of actual `RegExp`.\n * Features such as grouping, anchors and character classes are not supported.\n * If you are looking for a library that randomly generates strings based on\n * `RegExp`s, see [randexp.js](https://github.com/fent/randexp.js)\n *\n * Supported patterns:\n * - `x{times}` => Repeat the `x` exactly `times` times.\n * - `x{min,max}` => Repeat the `x` `min` to `max` times.\n * - `[x-y]` => Randomly get a character between `x` and `y` (inclusive).\n * - `[x-y]{times}` => Randomly get a character between `x` and `y` (inclusive) and repeat it `times` times.\n * - `[x-y]{min,max}` => Randomly get a character between `x` and `y` (inclusive) and repeat it `min` to `max` times.\n * - `[^...]` => Randomly get an ASCII number or letter character that is not in the given range. (e.g. `[^0-9]` will get a random non-numeric character).\n * - `[-...]` => Include dashes in the range. Must be placed after the negate character `^` and before any character sets if used (e.g. `[^-0-9]` will not get any numeric characters or dashes).\n * - `/[x-y]/i` => Randomly gets an uppercase or lowercase character between `x` and `y` (inclusive).\n * - `x?` => Randomly decide to include or not include `x`.\n * - `[x-y]?` => Randomly decide to include or not include characters between `x` and `y` (inclusive).\n * - `x*` => Repeat `x` 0 or more times.\n * - `[x-y]*` => Repeat characters between `x` and `y` (inclusive) 0 or more times.\n * - `x+` => Repeat `x` 1 or more times.\n * - `[x-y]+` => Repeat characters between `x` and `y` (inclusive) 1 or more times.\n * - `.` => returns a wildcard ASCII character that can be any number, character or symbol. Can be combined with quantifiers as well.\n *\n * @param {string | RegExp} pattern The template string/RegExp to generate a matching string for.\n * @returns {string} A string matching the given pattern.\n *\n * @throws If min value is more than max value in quantifier. e.g. `#{10,5}`\n * @throws If invalid quantifier symbol is passed in.\n *\n * @example\n * regexSample('#{5}') // '#####'\n * regexSample('#{2,9}') // '#######'\n * regexSample('[1-7]') // '5'\n * regexSample('#{3}test[1-5]') // '###test3'\n * regexSample('[0-9a-dmno]') // '5'\n * regexSample('[^a-zA-Z0-8]') // '9'\n * regexSample('[a-d0-6]{2,8}') // 'a0dc45b0'\n * regexSample('[-a-z]{5}') // 'a-zab'\n * regexSample(/[A-Z0-9]{4}-[A-Z0-9]{4}/) // 'BS4G-485H'\n * regexSample(/[A-Z]{5}/i) // 'pDKfh'\n * regexSample(/.{5}/) // '14(#B'\n * regexSample(/Joh?n/) // 'Jon'\n * regexSample(/ABC*DE/) // 'ABDE'\n * regexSample(/bee+p/) // 'beeeeeeeep'\n *\n * @since 8.0.0\n */\nexport function regexSample(pattern) {\n let isCaseInsensitive = false;\n\n if (pattern instanceof RegExp) {\n isCaseInsensitive = pattern.flags.includes('i');\n pattern = pattern.toString();\n pattern = pattern.match(/\\/(.+?)\\//)?.[1] ?? ''; // Remove frontslash from front and back of RegExp\n }\n\n let min\n let max\n let repetitions\n\n // Deal with single wildcards\n const SINGLE_CHAR_REG =\n /([.A-Za-z0-9])(?:\\{(\\d+)(?:\\,(\\d+)|)\\}|(\\?|\\*|\\+))(?![^[]*]|[^{]*})/;\n let token = pattern.match(SINGLE_CHAR_REG);\n while (token != null) {\n const quantifierMin = token[2];\n const quantifierMax = token[3];\n const quantifierSymbol = token[4];\n\n repetitions = getRepetitionsBasedOnQuantifierParameters(\n quantifierSymbol,\n quantifierMin,\n quantifierMax\n );\n\n pattern =\n pattern.slice(0, token.index) +\n token[1].repeat(repetitions) +\n pattern.slice(token.index + token[0].length);\n token = pattern.match(SINGLE_CHAR_REG);\n }\n\n const SINGLE_RANGE_REG = /(\\d-\\d|\\w-\\w|\\d|\\w|[-!@#$&()`.+,/\"])/;\n const RANGE_ALPHANUMEMRIC_REG =\n /\\[(\\^|)(-|)(.+?)\\](?:\\{(\\d+)(?:\\,(\\d+)|)\\}|(\\?|\\*|\\+)|)/;\n // Deal with character classes with quantifiers `[a-z0-9]{min[, max]}`\n token = pattern.match(RANGE_ALPHANUMEMRIC_REG);\n while (token != null) {\n const isNegated = token[1] === '^';\n const includesDash = token[2] === '-';\n const quantifierMin = token[4];\n const quantifierMax = token[5];\n const quantifierSymbol = token[6];\n\n const rangeCodes = [];\n\n let ranges = token[3];\n let range = ranges.match(SINGLE_RANGE_REG);\n\n if (includesDash) {\n // 45 is the ascii code for '-'\n rangeCodes.push(45);\n }\n\n while (range != null) {\n if (range[0].indexOf('-') === -1) {\n // handle non-ranges\n if (isCaseInsensitive && isNaN(Number(range[0]))) {\n rangeCodes.push(range[0].toUpperCase().charCodeAt(0));\n rangeCodes.push(range[0].toLowerCase().charCodeAt(0));\n } else {\n rangeCodes.push(range[0].charCodeAt(0));\n }\n } else {\n // handle ranges\n const rangeMinMax = range[0].split('-').map((x) => x.charCodeAt(0));\n min = rangeMinMax[0];\n max = rangeMinMax[1];\n // throw error if min larger than max\n if (min > max) {\n throw new Error('Character range provided is out of order.');\n }\n\n for (let i = min; i <= max; i++) {\n if (isCaseInsensitive && isNaN(Number(String.fromCharCode(i)))) {\n const ch = String.fromCharCode(i);\n rangeCodes.push(ch.toUpperCase().charCodeAt(0));\n rangeCodes.push(ch.toLowerCase().charCodeAt(0));\n } else {\n rangeCodes.push(i);\n }\n }\n }\n\n ranges = ranges.substring(range[0].length);\n range = ranges.match(SINGLE_RANGE_REG);\n }\n\n repetitions = getRepetitionsBasedOnQuantifierParameters(\n quantifierSymbol,\n quantifierMin,\n quantifierMax\n );\n\n if (isNegated) {\n let index = -1;\n // 0-9\n for (let i = 48; i <= 57; i++) {\n index = rangeCodes.indexOf(i);\n if (index > -1) {\n rangeCodes.splice(index, 1);\n continue;\n }\n\n rangeCodes.push(i);\n }\n\n // A-Z\n for (let i = 65; i <= 90; i++) {\n index = rangeCodes.indexOf(i);\n if (index > -1) {\n rangeCodes.splice(index, 1);\n continue;\n }\n\n rangeCodes.push(i);\n }\n\n // a-z\n for (let i = 97; i <= 122; i++) {\n index = rangeCodes.indexOf(i);\n if (index > -1) {\n rangeCodes.splice(index, 1);\n continue;\n }\n\n rangeCodes.push(i);\n }\n }\n\n const generatedString = Array.from(\n { length: repetitions },\n () => String.fromCharCode(rangeCodes[intSample(0, rangeCodes.length - 1)]),\n ).join('');\n\n pattern =\n pattern.slice(0, token.index) +\n generatedString +\n pattern.slice(token.index + token[0].length);\n token = pattern.match(RANGE_ALPHANUMEMRIC_REG);\n }\n\n const RANGE_REP_REG = /(.)\\{(\\d+)\\,(\\d+)\\}/;\n // Deal with quantifier ranges `{min,max}`\n token = pattern.match(RANGE_REP_REG);\n while (token != null) {\n min = parseInt(token[2]);\n max = parseInt(token[3]);\n // throw error if min larger than max\n if (min > max) {\n throw new Error('Numbers out of order in {} quantifier.');\n }\n\n repetitions = intSample(min, max);\n pattern =\n pattern.slice(0, token.index) +\n token[1].repeat(repetitions) +\n pattern.slice(token.index + token[0].length);\n token = pattern.match(RANGE_REP_REG);\n }\n\n const REP_REG = /(.)\\{(\\d+)\\}/;\n // Deal with repeat `{num}`\n token = pattern.match(REP_REG);\n while (token != null) {\n repetitions = parseInt(token[2]);\n pattern =\n pattern.slice(0, token.index) +\n token[1].repeat(repetitions) +\n pattern.slice(token.index + token[0].length);\n token = pattern.match(REP_REG);\n }\n\n return pattern;\n}\n","'use strict';\n\nimport { ensureMinLength, toRFCDateTime, uuid } from '../utils';\nimport * as faker from './string-regex';\n\nconst passwordSymbols = 'qwerty!@#$%^123456';\n\nfunction emailSample() {\n return 'user@example.com';\n}\nfunction idnEmailSample() {\n return 'пошта@укр.нет';\n}\nfunction passwordSample(min, max) {\n let res = 'pa$$word';\n if (min > res.length) {\n res += '_';\n res += ensureMinLength(passwordSymbols, min - res.length).substring(0, min - res.length);\n }\n return res;\n}\n\nfunction commonDateTimeSample({ min, max, omitTime, omitDate }) {\n let res = toRFCDateTime(new Date('2019-08-24T14:15:22.123Z'), omitTime, omitDate, false);\n if (res.length < min) {\n console.warn(`Using minLength = ${min} is incorrect with format \"date-time\"`);\n }\n if (max && res.length > max) {\n console.warn(`Using maxLength = ${max} is incorrect with format \"date-time\"`);\n }\n return res;\n}\n\nfunction dateTimeSample(min, max) {\n return commonDateTimeSample({ min, max, omitTime: false, omitDate: false });\n}\n\nfunction dateSample(min, max) {\n return commonDateTimeSample({ min, max, omitTime: true, omitDate: false });\n}\n\nfunction timeSample(min, max) {\n return commonDateTimeSample({ min, max, omitTime: false, omitDate: true }).slice(1);\n}\n\nfunction defaultSample(min, max, _propertyName, pattern, enablePatterns = false) {\n if (pattern && enablePatterns) {\n return faker.regexSample(pattern);\n }\n let res = ensureMinLength('string', min);\n if (max && res.length > max) {\n res = res.substring(0, max);\n }\n return res;\n}\n\nfunction ipv4Sample() {\n return '192.168.0.1';\n}\n\nfunction ipv6Sample() {\n return '2001:0db8:85a3:0000:0000:8a2e:0370:7334';\n}\n\nfunction hostnameSample() {\n return 'example.com';\n}\nfunction idnHostnameSample() {\n return 'приклад.укр';\n}\nfunction uriSample() {\n return 'http://example.com';\n}\n\nfunction uriReferenceSample() {\n return '../dictionary';\n}\n\nfunction uriTemplateSample() {\n return 'http://example.com/{endpoint}';\n}\n\nfunction iriSample() {\n return 'http://example.com/entity/1';\n}\n\nfunction iriReferenceSample() {\n return '/entity/1';\n}\n\nfunction uuidSample(_min, _max, propertyName) {\n return uuid(propertyName || 'id');\n}\n\nfunction jsonPointerSample() {\n return '/json/pointer';\n}\n\nfunction relativeJsonPointerSample() {\n return '1/relative/json/pointer';\n}\n\nfunction regexSample() {\n return '/regex/';\n}\n\nconst stringFormats = {\n 'email': emailSample,\n 'idn-email': idnEmailSample, // https://tools.ietf.org/html/rfc6531#section-3.3\n 'password': passwordSample,\n 'date-time': dateTimeSample,\n 'date': dateSample,\n 'time': timeSample, // full-time in https://tools.ietf.org/html/rfc3339#section-5.6\n 'ipv4': ipv4Sample,\n 'ipv6': ipv6Sample,\n 'hostname': hostnameSample,\n 'idn-hostname': idnHostnameSample, // https://tools.ietf.org/html/rfc5890#section-2.3.2.3\n 'iri': iriSample, // https://tools.ietf.org/html/rfc3987\n 'iri-reference': iriReferenceSample,\n 'uri': uriSample,\n 'uri-reference': uriReferenceSample, // either a URI or relative-reference https://tools.ietf.org/html/rfc3986#section-4.1\n 'uri-template': uriTemplateSample,\n 'uuid': uuidSample,\n 'default': defaultSample,\n 'json-pointer': jsonPointerSample,\n 'relative-json-pointer': relativeJsonPointerSample, // https://tools.ietf.org/html/draft-handrews-relative-json-pointer-01\n 'regex': regexSample,\n};\n\nexport function sampleString(schema, options, spec, context) {\n let format = schema.format || 'default';\n let sampler = stringFormats[format] || defaultSample;\n let propertyName = context && context.propertyName;\n return sampler(\n schema.minLength || 0,\n schema.maxLength,\n propertyName,\n schema.pattern,\n options?.enablePatterns\n );\n}\n","import { traverse, clearCache } from './traverse';\nimport { sampleArray, sampleBoolean, sampleNumber, sampleObject, sampleString } from './samplers/index';\n\nexport var _samplers = {};\n\nconst defaults = {\n skipReadOnly: false,\n maxSampleDepth: 15,\n};\n\nexport function sample(schema, options, spec) {\n let opts = Object.assign({}, defaults, options);\n clearCache();\n return traverse(schema, opts, spec).value;\n};\n\nexport function _registerSampler(type, sampler) {\n _samplers[type] = sampler;\n};\n\nexport { inferType } from './infer';\n\n_registerSampler('array', sampleArray);\n_registerSampler('boolean', sampleBoolean);\n_registerSampler('integer', sampleNumber);\n_registerSampler('number', sampleNumber);\n_registerSampler('object', sampleObject);\n_registerSampler('string', sampleString);\n","import { traverse } from '../traverse';\nexport function sampleArray(schema, options = {}, spec, context) {\n const depth = (context && context.depth || 1);\n\n let arrayLength = Math.min(schema.maxItems != undefined ? schema.maxItems : Infinity, schema.minItems || 1);\n // for the sake of simplicity, we're treating `contains` in a similar way to `items`\n const items = schema.prefixItems || schema.items || schema.contains;\n if (Array.isArray(items)) {\n arrayLength = Math.max(arrayLength, items.length);\n }\n\n let itemSchemaGetter = itemNumber => {\n if (Array.isArray(items)) {\n return items[itemNumber] || {};\n }\n return items || {};\n };\n\n let res = [];\n if (!items) return res;\n\n for (let i = 0; i < arrayLength; i++) {\n let itemSchema = itemSchemaGetter(i);\n let { value: sample } = traverse(itemSchema, options, spec, {depth: depth + 1});\n res.push(sample);\n }\n return res;\n}\n","export function sampleBoolean(schema) {\n return true; // let be optimistic :)\n}\n","import { traverse } from '../traverse';\nexport function sampleObject(schema, options = {}, spec, context) {\n let res = {};\n const depth = (context && context.depth || 1);\n\n if (schema && typeof schema.properties === 'object') {\n\n // Prepare for skipNonRequired option\n const requiredProperties = Array.isArray(schema.required) ? schema.required : [];\n const requiredPropertiesMap = {};\n\n for (const requiredProperty of requiredProperties) {\n requiredPropertiesMap[requiredProperty] = true;\n }\n\n Object.keys(schema.properties).forEach(propertyName => {\n // skip before traverse that could be costly\n if (options.skipNonRequired && !requiredPropertiesMap.hasOwnProperty(propertyName)) {\n return;\n }\n\n const sample = traverse(schema.properties[propertyName], options, spec, { propertyName, depth: depth + 1 });\n if (options.skipReadOnly && sample.readOnly) {\n return;\n }\n\n if (options.skipWriteOnly && sample.writeOnly) {\n return;\n }\n res[propertyName] = sample.value;\n });\n }\n\n if (schema && typeof schema.additionalProperties === 'object') {\n const propertyName = schema.additionalProperties['x-additionalPropertiesName'] || 'property';\n res[`${String(propertyName)}1`] = traverse(schema.additionalProperties, options, spec, {depth: depth + 1 }).value;\n res[`${String(propertyName)}2`] = traverse(schema.additionalProperties, options, spec, {depth: depth + 1 }).value;\n }\n\n // Strictly enforce maxProperties constraint\n if (schema && typeof schema.properties === 'object' && schema.maxProperties !== undefined && Object.keys(res).length > schema.maxProperties) {\n const filteredResult = {};\n let propertiesAdded = 0;\n\n // Always include required properties first, if present\n const requiredProperties = Array.isArray(schema.required) ? schema.required : [];\n requiredProperties.forEach(propName => {\n if (res[propName] !== undefined) {\n filteredResult[propName] = res[propName];\n propertiesAdded++;\n }\n });\n\n // Add other properties until maxProperties is reached\n Object.keys(res).forEach(propName => {\n if (propertiesAdded < schema.maxProperties && !filteredResult.hasOwnProperty(propName)) {\n filteredResult[propName] = res[propName];\n propertiesAdded++;\n }\n });\n\n res = filteredResult;\n }\n\n return res;\n}\n","/**\n * Translates given OpenAPI document to an array of HTTP Archive (HAR) 1.2 Request Object.\n * See more:\n * - http://swagger.io/specification/\n * - http://www.softwareishard.com/blog/har-12-spec/#request\n *\n * Example HAR Request Object:\n * \"request\": {\n * \"method\": \"GET\",\n * \"url\": \"http://www.example.com/path/?param=value\",\n * \"httpVersion\": \"HTTP/1.1\",\n * \"cookies\": [],\n * \"headers\": [],\n * \"queryString\" : [],\n * \"postData\" : {},\n * \"headersSize\" : 150,\n * \"bodySize\" : 0,\n * \"comment\" : \"\"\n * }\n */\nimport { sample as _sample } from 'openapi-sampler';\n\n/**\n * Create HAR Request object for path and method pair described in given OpenAPI\n * document.\n *\n * @param {Object} openApi OpenAPI document\n * @param {string} path Key of the path\n * @param {string} method Key of the method\n * @param {Object} queryParamValues Optional: Values for the query parameters if present\n * @return {array} List of HAR Request objects for the endpoint\n */\nconst createHar = function (openApi, path, method, queryParamValues) {\n // if the operational parameter is not provided, set it to empty object\n if (typeof queryParamValues === 'undefined') {\n queryParamValues = {};\n }\n\n const baseUrl = getBaseUrl(openApi, path, method);\n\n const baseHar = {\n method: method.toUpperCase(),\n url: baseUrl + getFullPath(openApi, path, method),\n headers: getHeadersArray(openApi, path, method),\n queryString: getQueryStrings(openApi, path, method, queryParamValues),\n httpVersion: 'HTTP/1.1',\n cookies: getCookies(openApi, path, method),\n headersSize: 0,\n bodySize: 0,\n };\n\n let hars = [];\n\n // get payload data, if available:\n const postDatas = getPayloads(openApi, path, method);\n\n // For each postData create a snippet\n if (postDatas.length > 0) {\n for (let i in postDatas) {\n const postData = postDatas[i];\n const copiedHar = JSON.parse(JSON.stringify(baseHar));\n copiedHar.postData = postData;\n copiedHar.comment = postData.mimeType;\n copiedHar.headers.push({\n name: 'content-type',\n value: postData.mimeType,\n });\n hars.push(copiedHar);\n }\n } else {\n hars = [baseHar];\n }\n\n return hars;\n};\n\n/**\n * Tests `value` to see if it is a primitive.\n * @param {*} value - The value to test\n * @returns {boolean} - `true` if `value` is a primitive, `false` otherwise\n */\nconst isPrimitive = function (value) {\n if (value === null) return true;\n const valueType = typeof value;\n if (valueType === 'function' || valueType === 'object') return false;\n return true;\n};\n\n/**\n * Returns a string that is used as a prefix before a value in a path parameter\n * @param {string} style\n * @returns {string} - Returns `.` for label style and `;` for matrix style. Returns '' for any other input.\n */\nconst getPrefix = function (style) {\n if (style === 'label') {\n return '.';\n }\n if (style === 'matrix') {\n return `;`;\n }\n return '';\n};\n\n/**\n * Returns the separator character used between elements of a path parameter\n * Returns '.' for label style, ';' for matrix style and ',' for all others\n * @param {string} style\n * @returns\n */\nconst getSeparator = function (style) {\n if (style === 'label') return '.';\n if (style === 'matrix') return ';';\n return ',';\n};\n\n/**\n * Returns a \"parameter identifier\" used in matrix style path parameters. For all other styles\n * it returns ''\n * @param {string} style\n * @param {string} name - The parameter name\n * @returns {string} - The empty string if `style` is not `matrix`, else a string in the format `;{name}=`\n */\nconst getParamId = function (style, name) {\n if (style === 'matrix') return `${name}=`;\n return '';\n};\n\n/**\n * Returns the default style for the location per OpenAPI 3.0.3 spec\n * @param {*} location\n * @returns\n */\nconst getDefaultStyleForLocation = function (location) {\n if (location === 'path' || location === 'header') {\n return 'simple';\n } else if (location === 'query' || location === 'cookie') {\n return 'form';\n }\n};\n\n/**\n * Returns the default value of explode for the given style per OpenAPI 3.0.3 spec\n * @param {*} style\n * @returns\n */\nconst getDefaultExplodeForStyle = function (style) {\n return style === 'form';\n};\n\n/**\n * Returns the correct array element separator for unexploded query parameters\n * based on style. If style is spaceDelimited this returns `%20` (the encoded string for\n * space character). If style is pipeDelimited this returns '|'; else it returns ','\n * @param {*} style\n * @returns\n */\nconst getArrayElementSeparator = function (style) {\n let separator = ',';\n if (style === 'spaceDelimited') {\n separator = ' ';\n } else if (style === 'pipeDelimited') {\n separator = '|';\n }\n return separator;\n};\n\n/**\n * Returns a string representation of `obj`. Each key value pair is separated by\n * a `keyValueSeparator` and each pair is separated by a `pairSeparator`.\n *\n * @param {*} obj\n * @param {*} keyValueSeparator\n * @param {*} pairSeparator\n * @example\n * // returns \"firstName=Alex,age=34\"\n * objectJoin({ firstName: 'Alex', age: 34 }, '=', ',')\n * @returns\n */\nconst objectJoin = function (\n obj,\n keyValueSeparator = ',',\n pairSeparator = ','\n) {\n return Object.entries(obj)\n .map(([k, v]) => `${k}${keyValueSeparator}${v}`)\n .join(pairSeparator);\n};\n\n/**\n * @typedef {object} HarParameterObject - An object that describes a parameter in a HAR\n * @property {string} name - The name of the parameter\n * @property {string} value - The value of the parameter\n */\n\n/**\n * Returns an array of HAR parameter objects for the specified parameter and value.\n *\n * While it is quite often that a singleton array is returned, when `explode` is\n * true multiple objects may be returned.\n *\n * See https://swagger.io/docs/specification/serialization for the logic of how value of\n * the return objects are calculated\n *\n * @param {Object} parameter - An OpenAPI Parameter object\n * @param {string} name - The name of the parameter\n * @param {string} in - One of the values: `path`, `query`, `header`, `cookie`\n * @param {string} [style] - Optional: One of the OpenAPI styles {e.g. form, simple, label, matrix, ...}\n * @param {boolean} [explode] - Optional: Whether or not arrays and objects should be exploded\n * @param {*} value - The value to use in the query string object. Since `parameter`\n * has many properties that could be a candidate for the value this\n * parameter is used to explicitly state which value should be used.\n * @return {HarParameterObject[]} - An array of query string objects\n */\nexport const createHarParameterObjects = function (\n { name, in: location, style, explode },\n value\n) {\n if (!name || !location || typeof value === 'undefined') {\n throw 'Required parameters missing';\n }\n\n const prefix = getPrefix(style);\n const paramId = getParamId(style, name);\n\n if (isPrimitive(value)) {\n return [{ name, value: prefix + paramId + value }];\n }\n\n const objects = [];\n style = style || getDefaultStyleForLocation(location);\n explode = explode || getDefaultExplodeForStyle(style);\n\n if (location === 'query' || location === 'cookie') {\n const separator = getArrayElementSeparator(style);\n if (Array.isArray(value)) {\n if (explode) {\n objects.push(\n ...value.map((entry) => {\n return { name, value: entry + '' };\n })\n );\n } else {\n objects.push({ name, value: value.join(separator) });\n }\n } else if (value && typeof value === 'object') {\n if (style === 'deepObject') {\n objects.push(\n ...Object.entries(value).map(([k, v]) => {\n return { name: `${name}[${k}]`, value: v + '' };\n })\n );\n } else if (explode) {\n objects.push(\n ...Object.entries(value).map(([k, v]) => {\n return { name: k, value: v + '' };\n })\n );\n } else {\n objects.push({\n name,\n value: objectJoin(value),\n });\n }\n }\n } else if (location === 'path' || location === 'header') {\n const separator = getSeparator(style);\n\n if (Array.isArray(value)) {\n objects.push({\n name,\n value:\n prefix + paramId + value.join(explode ? separator + paramId : ','),\n });\n } else if (value && typeof value === 'object') {\n if (explode) {\n objects.push({\n name,\n value: prefix + objectJoin(value, '=', separator),\n });\n } else {\n objects.push({\n name,\n value: prefix + paramId + objectJoin(value),\n });\n }\n }\n }\n\n return objects;\n};\n\nconst formatSamples = function (sample) {\n const params = [];\n\n Object.keys(sample).map((key) => {\n // console.log(`key=${JSON.stringify(key, null, 4)} (${typeof(sample[key])})`);\n if (Array.isArray(sample[key])) {\n // console.log(\"Array.isArray(sample[key])\");\n sample[key].forEach((entry) => {\n // console.log(`entry=${JSON.stringify(entry, null, 4)}\\n`);\n params.push({\n name: `${key}[]`,\n value: entry,\n });\n });\n } else if (Object.prototype.toString.call(sample[key]) === '[object Object]') {\n // console.log(\"Object.prototype.toString.call(sample[key]) === '[object Object]'\");\n Object.keys(sample[key]).map((k) => {\n // console.log(`k=${JSON.stringify(k, null, 4)}\\n`);\n if (Array.isArray(sample[key][k])) {\n // console.log(\"Array.isArray(sample[key][k])\");\n sample[key][k].forEach((entry) => {\n // console.log(`entry=${JSON.stringify(entry, null, 4)}\\n`);\n params.push({\n name: `${key}[${k}][]`,\n value: entry,\n });\n });\n } else {\n params.push({\n name: key + '[' + k + ']',\n value: sample[key][k],\n });\n }\n });\n } else {\n // console.log(\"else\\n\");\n params.push({\n name: key,\n value: sample[key],\n });\n }\n });\n\n return params;\n}\n\n/**\n * Get the payload definition for the given endpoint (path + method) from the\n * given OAI specification. References within the payload definition are\n * resolved.\n *\n * @param {object} openApi\n * @param {string} path\n * @param {string} method\n * @return {array} A list of payload objects\n */\nconst getPayloads = function (openApi, path, method) {\n if (typeof openApi.paths[path][method].parameters !== 'undefined') {\n for (let i in openApi.paths[path][method].parameters) {\n const param = openApi.paths[path][method].parameters[i];\n if (\n typeof param.in !== 'undefined' &&\n param.in.toLowerCase() === 'body' &&\n typeof param.schema !== 'undefined'\n ) {\n try {\n const sample = _sample(\n param.schema,\n { skipReadOnly: true },\n openApi\n );\n return [\n {\n mimeType: 'application/json',\n text: JSON.stringify(sample),\n },\n ];\n } catch (err) {\n console.log(err);\n return null;\n }\n }\n }\n }\n\n if (\n openApi.paths[path][method].requestBody &&\n openApi.paths[path][method].requestBody['$ref']\n ) {\n openApi.paths[path][method].requestBody = resolveRef(\n openApi,\n openApi.paths[path][method].requestBody['$ref']\n );\n }\n\n const payloads = [];\n if (\n openApi.paths[path][method].requestBody &&\n openApi.paths[path][method].requestBody.content\n ) {\n [\n 'application/json',\n 'application/x-www-form-urlencoded',\n 'multipart/form-data',\n ].forEach((type) => {\n const content = openApi.paths[path][method].requestBody.content[type];\n if (content && content.schema) {\n // console.log(JSON.stringify(content, null, 4) + \"\\n\");\n const sample = _sample(\n content.schema,\n { skipReadOnly: true },\n openApi\n );\n if (type === 'application/json') {\n payloads.push({\n mimeType: type,\n text: JSON.stringify(sample),\n });\n } else if (type === 'multipart/form-data') {\n if (sample !== undefined) {\n const params = [];\n Object.keys(sample).forEach((key) => {\n let value = sample[key];\n if (typeof sample[key] !== 'string') {\n value = JSON.stringify(sample[key]);\n }\n params.push({ name: key, value: value });\n });\n payloads.push({\n mimeType: type,\n params: params,\n });\n }\n } else if (type == 'application/x-www-form-urlencoded') {\n if (sample === undefined) return null;\n\n // console.log(`sample=${JSON.stringify(sample, null, 4)}`);\n const params = formatSamples(sample);\n\n payloads.push({\n mimeType: 'application/x-www-form-urlencoded',\n params: params,\n text: Object.keys(params)\n .map((key) => key + '=' + sample[key])\n .join('&'),\n });\n }\n }\n });\n }\n return payloads;\n};\n\n/**\n * Gets the base URL constructed from the given openApi.\n *\n * @param {Object} openApi OpenAPI document\n * @return {string} Base URL\n */\nconst getBaseUrl = function (openApi, path, method) {\n if (openApi.paths[path][method].servers)\n return openApi.paths[path][method].servers[0].url;\n if (openApi.paths[path].servers) return openApi.paths[path].servers[0].url;\n if (openApi.servers) return openApi.servers[0].url;\n\n let baseUrl = '';\n if (typeof openApi.schemes !== 'undefined') {\n baseUrl += openApi.schemes[0];\n } else {\n baseUrl += 'http';\n }\n\n if (openApi.basePath === '/') {\n baseUrl += '://' + openApi.host;\n } else {\n baseUrl += '://' + openApi.host + openApi.basePath;\n }\n\n return baseUrl;\n};\n\n/**\n * Gets an object describing the parameters (header or query) in a given OpenAPI method\n * @param {Object} openApi OpenApi document\n * @param {Object} param parameter values to use in snippet\n * @param {string} location One of `path`, `header`, `query`, `cookie`\n * @param {Object} values Optional: query parameter values to use in the snippet if present\n * @return {HarParameterObject[]} Array of objects describing the parameters in a given OpenAPI method or path\n */\nconst getParameterValues = function (openApi, param, location, values) {\n let value =\n 'SOME_' + (param.type || param.schema.type).toUpperCase() + '_VALUE';\n if (location === 'path') {\n // then default to the original place holder value (e.b. '{id}')\n value = `{${param.name}}`;\n }\n\n if (values && typeof values[param.name] !== 'undefined') {\n value = values[param.name];\n } else if (typeof param.example !== 'undefined') {\n value = param.example;\n } else if (typeof param.examples !== 'undefined') {\n let firstExample = Object.values(param.examples)[0];\n if (\n typeof firstExample['$ref'] === 'string' &&\n /^#/.test(firstExample['$ref'])\n ) {\n firstExample = resolveRef(openApi, firstExample['$ref']);\n }\n value = firstExample.value;\n } else if (\n typeof param.schema !== 'undefined' &&\n typeof param.schema.example !== 'undefined'\n ) {\n value = param.schema.example;\n } else if (typeof param.default !== 'undefined') {\n value = param.default;\n }\n\n return createHarParameterObjects(param, value);\n};\n\n/**\n * Parse parameter object into query string objects\n *\n * @param {Object} openApi OpenApi document\n * @param {Object} parameters Objects described in the document to parse into the query string\n * @param {string} location One of `path`, `query`, `header` or `cookie`\n * @param {Object} values Optional: query parameter values to use in the snippet if present\n * @return {Object.} Object describing the parameters for a method or path.\n * Each key in the return object will have at least one entry it's is value array. But exploded values\n * in query parameters may have more than one.\n */\nconst parseParametersToQuery = function (\n openApi,\n parameters,\n location,\n values\n) {\n /** @type {Object.} */\n const queryStrings = {};\n\n for (let i in parameters) {\n let param = parameters[i];\n if (typeof param['$ref'] === 'string' && /^#/.test(param['$ref'])) {\n param = resolveRef(openApi, param['$ref']);\n }\n if (typeof param.schema !== 'undefined') {\n if (\n typeof param.schema['$ref'] === 'string' &&\n /^#/.test(param.schema['$ref'])\n ) {\n param.schema = resolveRef(openApi, param.schema['$ref']);\n if (typeof param.schema.type === 'undefined') {\n // many schemas don't have an explicit type\n param.schema.type = 'object';\n }\n }\n }\n if (\n typeof param.in !== 'undefined' &&\n param.in.toLowerCase() === location\n ) {\n // param.name is a safe key, because the spec defines\n // that name MUST be unique\n queryStrings[param.name] = getParameterValues(\n openApi,\n param,\n location,\n values\n );\n }\n }\n\n return queryStrings;\n};\n\n/**\n * Examines all of the parameters in the specified path and operation looking\n * for those of the specific `location` specified\n * It resolves any references to schemas or parameters as it does so.\n * It examines the `example`, `examples`, `schema.example` and `default`\n * keys looking for one sample value. It then returns an array of HAR\n * parameter objects\n * @param {Object} openApi OpenAPI document\n * @param {string} path Key of the path\n * @param {string} method Key of the method\n * @param {string} location One of `path`, `query`, `header`, `cookie`\n * @param {HarParameterObject[]} - A list of parameter objects for the specified location\n * @returns\n */\nconst getParameterCollectionIn = function (\n openApi,\n path,\n method,\n location,\n values\n) {\n // Set the optional parameter if it's not provided\n if (typeof values === 'undefined') {\n values = {};\n }\n\n /** @type {Object.} */\n let pathParameters = {};\n\n /** @type {Object.} */\n let operationParameters = {};\n\n // First get any parameters from the path\n if (typeof openApi.paths[path].parameters !== 'undefined') {\n pathParameters = parseParametersToQuery(\n openApi,\n openApi.paths[path].parameters,\n location,\n values\n );\n }\n\n if (typeof openApi.paths[path][method].parameters !== 'undefined') {\n operationParameters = parseParametersToQuery(\n openApi,\n openApi.paths[path][method].parameters,\n location,\n values\n );\n }\n\n // Merge parameters, with method overriding path\n // from the spec:\n // If a parameter is already defined at the Path Item, the new definition will override\n // it but can never remove it.\n // https://swagger.io/specification/\n\n /** @type {Object. entry);\n};\n\n/**\n * Get array of objects describing the query parameters for a path and method\n * pair described in the given OpenAPI document.\n *\n * @param {Object} openApi OpenApi document\n * @param {string} path Key of the path\n * @param {string} method Key of the method\n * @param {Object} values Optional: query parameter values to use in the snippet if present\n * @return {HarParameterObject[]} List of objects describing the query strings\n */\nconst getQueryStrings = function (openApi, path, method, values) {\n return getParameterCollectionIn(openApi, path, method, 'query', values);\n};\n\n/**\n * Return the path with the parameters example values used if specified.\n *\n * @param {Object} openApi OpenApi document\n * @param {string} path Key of the path\n * @param {string} method Key of the method\n * @return {string} Full path including example values\n */\nconst getFullPath = function (openApi, path, method) {\n let fullPath = path;\n\n const pathParameters = getParameterCollectionIn(\n openApi,\n path,\n method,\n 'path'\n );\n pathParameters.forEach(({ name, value }) => {\n fullPath = fullPath.replace('{' + name + '}', value);\n });\n\n return fullPath;\n};\n\n/**\n * Get an array of objects providing sample values for cookies\n *\n * @param {Object} openApi OpenAPI document\n * @param {string} path Key of the path\n * @param {string} method Key of the method\n */\nconst getCookies = function (openApi, path, method) {\n return getParameterCollectionIn(openApi, path, method, 'cookie');\n};\n\n/**\n * Get an array of objects describing the header for a path and method pair\n * described in the given OpenAPI document.\n *\n * @param {Object} openApi OpenAPI document\n * @param {string} path Key of the path\n * @param {string} method Key of the method\n * @return {HarParameterObject[]} List of objects describing the header\n */\nconst getHeadersArray = function (openApi, path, method) {\n const headers = [];\n const pathObj = openApi.paths[path][method];\n\n // 'accept' header:\n if (typeof pathObj.consumes !== 'undefined') {\n for (let i in pathObj.consumes) {\n const type = pathObj.consumes[i];\n headers.push({\n name: 'accept',\n value: type,\n });\n }\n }\n\n // headers defined in path object:\n headers.push(...getParameterCollectionIn(openApi, path, method, 'header'));\n\n // security:\n let basicAuthDef;\n let apiKeyAuthDef;\n let oauthDef;\n if (typeof pathObj.security !== 'undefined') {\n for (var l in pathObj.security) {\n const secScheme = Object.keys(pathObj.security[l])[0];\n const secDefinition = openApi.securityDefinitions\n ? openApi.securityDefinitions[secScheme]\n : openApi.components.securitySchemes[secScheme];\n const authType = secDefinition.type.toLowerCase();\n let authScheme = null;\n\n if (authType !== 'apikey' && secDefinition.scheme != null) {\n authScheme = secDefinition.scheme.toLowerCase();\n }\n\n switch (authType) {\n case 'basic':\n basicAuthDef = secScheme;\n break;\n case 'apikey':\n if (secDefinition.in === 'header') {\n apiKeyAuthDef = secDefinition;\n }\n break;\n case 'oauth2':\n oauthDef = secScheme;\n break;\n case 'http':\n switch (authScheme) {\n case 'bearer':\n oauthDef = secScheme;\n break;\n case 'basic':\n basicAuthDef = secScheme;\n break;\n }\n break;\n }\n }\n } else if (typeof openApi.security !== 'undefined') {\n // Need to check OAS 3.0 spec about type http and scheme\n for (let m in openApi.security) {\n const secScheme = Object.keys(openApi.security[m])[0];\n const secDefinition = openApi.components.securitySchemes[secScheme];\n const authType = secDefinition.type.toLowerCase();\n let authScheme = null;\n\n if (authType !== 'apikey' && authType !== 'oauth2') {\n authScheme = secDefinition.scheme.toLowerCase();\n }\n\n switch (authType) {\n case 'http':\n switch (authScheme) {\n case 'bearer':\n oauthDef = secScheme;\n break;\n case 'basic':\n basicAuthDef = secScheme;\n break;\n }\n break;\n case 'basic':\n basicAuthDef = secScheme;\n break;\n case 'apikey':\n if (secDefinition.in === 'header') {\n apiKeyAuthDef = secDefinition;\n }\n break;\n case 'oauth2':\n oauthDef = secScheme;\n break;\n }\n }\n }\n\n if (basicAuthDef) {\n headers.push({\n name: 'Authorization',\n value: 'Basic ' + 'REPLACE_BASIC_AUTH',\n });\n } else if (apiKeyAuthDef) {\n headers.push({\n name: apiKeyAuthDef.name,\n value: 'REPLACE_KEY_VALUE',\n });\n } else if (oauthDef) {\n headers.push({\n name: 'Authorization',\n value: 'Bearer ' + 'REPLACE_BEARER_TOKEN',\n });\n }\n\n return headers;\n};\n\n/**\n * Produces array of HAR files for given OpenAPI document\n *\n * @param {object} openApi OpenAPI document\n * @param {Function} callback\n */\nconst openApiToHarList = function (openApi) {\n try {\n // iterate openApi and create har objects:\n const harList = [];\n for (let path in openApi.paths) {\n for (let method in openApi.paths[path]) {\n const url = getBaseUrl(openApi, path, method) + path;\n const hars = createHar(openApi, path, method);\n // need to push multiple here\n harList.push({\n method: method.toUpperCase(),\n url: url,\n description:\n openApi.paths[path][method].description ||\n 'No description available',\n hars: hars,\n });\n }\n }\n\n return harList;\n } catch (e) {\n console.log(e);\n }\n};\n\n/**\n * Returns the value referenced in the given reference string\n *\n * @param {object} openApi OpenAPI document\n * @param {string} ref A reference string\n * @return {any}\n */\nconst resolveRef = function (openApi, ref) {\n const parts = ref.split('/');\n\n if (parts.length <= 1) return {}; // = 3\n\n const recursive = function (obj, index) {\n if (index + 1 < parts.length) {\n // index = 1\n let newCount = index + 1;\n return recursive(obj[parts[index]], newCount);\n } else {\n return obj[parts[index]];\n }\n };\n return recursive(openApi, 1);\n};\n\nexport const getAll = openApiToHarList;\nexport const getEndpoint = createHar;\n","/**\n * openapi-snippet\n *\n * Generates code snippets from Open API (previously Swagger) documents.\n *\n * Author: Erik Wittern\n * License: MIT\n */\n'use strict';\n\nimport { getEndpoint, getAll } from './openapi-to-har.js';\nimport { HTTPSnippet, availableTargets } from '@sctg/httpsnippet';\n\n/**\n * Return snippets for endpoint identified using path and method in the given\n * OpenAPI document.\n *\n * @param {object} openApi OpenAPI document\n * @param {string} path Path identifying endpoint, e.g., '/users'\n * @param {string} method HTTP method identifying endpoint, e.g., 'get'\n * @param {array} targets List of languages to create snippets in, e.g,\n * ['cURL', 'Node']\n * @param {object} values Optional: Values for the query parameters if present\n */\nexport const getEndpointSnippets = function (openApi, path, method, targets, values) {\n // if optional parameter is not provided, set it to empty object\n if (typeof values === 'undefined') {\n values = {};\n }\n\n const hars = getEndpoint(openApi, path, method, values);\n\n const snippets = [];\n for (const har of hars) {\n // console.log(JSON.stringify(har, null, 4));\n const snippet = new HTTPSnippet(har);\n snippets.push(\n ...getSnippetsForTargets(\n targets,\n snippet,\n har.comment ? har.comment : undefined\n )\n );\n }\n\n // use first element since method, url, and description\n // are the same for all elements\n return {\n method: hars[0].method,\n url: hars[0].url,\n description: hars[0].description,\n resource: getResourceName(hars[0].url),\n snippets: snippets,\n };\n};\n\n/**\n * Return snippets for all endpoints in the given OpenAPI document.\n *\n * @param {object} openApi OpenAPI document\n * @param {array} targets List of languages to create snippets in, e.g,\n * ['cURL', 'Node']\n */\nexport const getSnippets = function (openApi, targets) {\n const endpointHarInfoList = getAll(openApi);\n\n const results = [];\n for (let i in endpointHarInfoList) {\n // create HTTPSnippet object:\n const harInfo = endpointHarInfoList[i];\n const snippets = [];\n for (const har of harInfo.hars) {\n const snippet = new HTTPSnippet(har);\n snippets.push(...getSnippetsForTargets(targets, snippet, har.comment));\n }\n\n results.push({\n method: harInfo.method,\n url: harInfo.url,\n description: harInfo.description,\n resource: getResourceName(harInfo.url),\n snippets,\n });\n }\n\n // sort results:\n results.sort((a, b) => {\n if (a.resource < b.resource) {\n return -1;\n } else if (a.resource > b.resource) {\n return 1;\n } else {\n return getMethodOrder(a.method.toLowerCase(), b.method.toLowerCase());\n }\n });\n\n return results;\n};\n\n/**\n * Determine the order of HTTP methods.\n *\n * @param {string} a One HTTP verb in lower case\n * @param {string} b Another HTTP verb in lower case\n * @return {number} The order instruction for the given HTTP verbs\n */\nconst getMethodOrder = function (a, b) {\n const order = ['get', 'post', 'put', 'delete', 'patch'];\n if (order.indexOf(a) === -1) {\n return 1;\n } else if (order.indexOf(b) === -1) {\n return -1;\n } else if (order.indexOf(a) < order.indexOf(b)) {\n return -1;\n } else if (order.indexOf(a) > order.indexOf(b)) {\n return 1;\n } else {\n return 0;\n }\n};\n\n/**\n * Determines the name of the resource exposed by the method.\n * E.g., ../users/{userId} --> users\n *\n * @param {string} urlStr The OpenAPI path definition\n * @return {string} The determined resource name\n */\nconst getResourceName = function (urlStr) {\n const pathComponents = urlStr.split('/');\n for (let i = pathComponents.length - 1; i >= 0; i--) {\n const cand = pathComponents[i];\n if (cand !== '' && !/^{/.test(cand)) {\n return cand;\n }\n }\n};\n\n/**\n * Format the given target by splitting up language and library and making sure\n * that HTTP Snippet supports them.\n *\n * @param {string} targetStr String defining a target, e.g., node_request\n * @return {object} Object with formatted target, or null\n */\nconst formatTarget = function (targetStr) {\n const language = targetStr.split('_')[0];\n const title = capitalizeFirstLetter(language);\n let library = targetStr.split('_')[1];\n\n const validTargets = availableTargets();\n let validLanguage = false;\n let validLibrary = false;\n for (let i in validTargets) {\n const target = validTargets[i];\n if (language === target.key) {\n validLanguage = true;\n if (typeof library === 'undefined') {\n library = target.default;\n validLibrary = true;\n } else {\n for (let j in target.clients) {\n const client = target.clients[j];\n if (library === client.key) {\n validLibrary = true;\n break;\n }\n }\n }\n }\n }\n\n if (!validLanguage || !validLibrary) {\n return null;\n }\n\n return {\n title:\n typeof library !== 'undefined'\n ? title + ' + ' + capitalizeFirstLetter(library)\n : title,\n language,\n library,\n };\n};\n\n/**\n * Generate code snippets for each of the supplied targets\n *\n * @param targets {array} List of language targets to generate code for\n * @param snippet {Object} Snippet object from httpsnippet to convert into the target objects\n * @param mimeType {string | undefined} Additional information to add uniqueness to the produced snippets\n */\nexport const getSnippetsForTargets = function (targets, snippet, mimeType) {\n const snippets = [];\n let convertOptions = {};\n for (let j in targets) {\n const target = formatTarget(targets[j]);\n if (!target) throw new Error('Invalid target: ' + targets[j]);\n // console.log(target.title);\n if (target.title === 'Shell + Curl') {\n convertOptions['short'] = true;\n } else {\n convertOptions = {};\n }\n // console.log(convertOptions);\n snippets.push({\n id: targets[j],\n ...(mimeType !== undefined && { mimeType: mimeType }),\n title: target.title,\n content: snippet.convert(\n target.language,\n typeof target.library !== 'undefined' ? target.library : null,\n convertOptions\n ),\n });\n }\n return snippets;\n};\n\nconst capitalizeFirstLetter = function (string) {\n return string.charAt(0).toUpperCase() + string.slice(1);\n};\n\nexport const OpenAPISnippets = {\n getSnippets,\n getEndpointSnippets,\n};\n\n// The if is only for when this is run from the browser\nif (typeof window !== 'undefined') {\n // replace/create the global namespace\n window.OpenAPISnippets = OpenAPISnippets;\n}"],"names":["__read","this","o","n","m","Symbol","iterator","r","e","i","call","ar","next","done","push","value","error","__spreadArray","to","from","pack","arguments","length","l","Array","prototype","slice","concat","exports","__esModule","CodeBuilder","_a","_b","indent","join","_this","postProcessors","code","indentationCharacter","lineJoin","indentLine","line","indentationLevel","repeat","unshift","newLine","pushToLast","updatedLine","blank","unreplacedCode","reduce","accumulator","replacer","addPostProcessor","postProcessor","escapeString","rawValue","options","delimiter","escapeChar","_c","escapeNewlines","stringValue","toString","map","c","JSON","stringify","escapeForDoubleQuotes","escapeForSingleQuotes","__generator","thisArg","body","f","y","t","g","_","label","sent","trys","ops","verb","v","op","TypeError","pop","step","__values","s","formDataIterator","isBlob","carriage","dashes","NAME","toStringTag","object","arrayBuffer","type","stream","constructor","test","getFooter","boundary","getHeader","name","field","header","form","form_1","form_1_1","e_1_1","e_1","isMimeTypeJSON","hasHeader","getHeaderName","headers","Object","keys","find","toLowerCase","headerName","Boolean","mimeTypeJson","mimeType","some","includes","reducer","pair","currentValue","undefined","isArray","escape","quote","replace","__assign","assign","p","hasOwnProperty","apply","extname","availableTargets","targets_1","targets","targetId","info","clients","clientsById","clientId","__createBinding","create","k","k2","desc","getOwnPropertyDescriptor","writable","configurable","enumerable","get","defineProperty","__importDefault","mod","HTTPSnippet","isHarEntry","addTargetClient","addTarget","event_stream_1","form_data_1","har_validator_compiled_1","querystring_1","url_1","form_data_2","headers_1","reducer_1","utils_1","targets_2","resolveFormData","window","FormData","debug","log","entries","input","requests","prepare","harRequest","_d","request","fullUrl","uriObj","queryObj","headersObj","cookiesObj","allHeaders","queryString","http2VersionRegex_1","exec","httpVersion","toLocaleLowerCase","cookies","reduceRight","encodeURIComponent","cookie","postData","text","params","isNativeFormData_1","_boundary","forEach","param","filename","fileName","append","contentType","_e","_f","data_1","pipe","data","contentTypeHeader","paramsObj","jsonObj","parse","urlWithParsedQuery","url","query","search","path","pathname","format","convert","target","results","req","bodySize","headersSize","URL","validateRequest","isTarget","isClient","httpsnippet_1","libcurl","code_builder_1","escape_1","key","title","link","description","method","toUpperCase","client_1","clj_http","Keyword","File","jsType","objEmpty","filterEmpty","filter","x","padBlock","padSize","padding","jsToEdn","js","source","obj","val","trim","arr","multipart","content","accept","formattedParams","clojure","native","rawMethod","insecureSkipVerify","headersContext","bodyContext","sslContext","crystal","httpclient","opts","clienthandler","decompressionMethods","acceptEncodings","supportedMethods","gzip","deflate","methods","acceptEncoding","split","encoding","match","getDecompressionMethods","substring","restsharp","word","charAt","csharp","client_2","showBoilerplate","checkErrors","printBody","timeout","_g","errorPlaceholder","errorCheck","hasTimeout","hasClient","client","go","http11","absoluteURI","autoContentLength","autoHost","requestUrl","headerKeys","keyCapitalized","host","Buffer","byteLength","headerSection","messageBody","http","asynchttp","nethttp","okhttp","java","client_3","client_4","unirest","axios","stringify_object_1","requestOptions","optionString","inlineCharacterLimit","fetch","inputOpts","credentials","transform","property","originalResult","jquery","settings","async","crossDomain","processData","stringifiedSettings","javascript","xhr","cors","kotlin","reqOpts","stringifiedOptions","includeFS","cookiesString","hostname","port","rejectUnauthorized","protocol","qs","json","formData","attachment","jar","node","client_5","multipart_1","part","literalRepresentation","nsDeclaration","nsClass","parameters","opening","literal","indentation","valuesRepresentation","keyValuePairs","nsurlsession","helpers_1","pretty","hasHeaders","hasBody","head","tail","toFixed","objc","cohttp","h","b","ocaml","curl","closingTag","maxRedirects","namedErrors","noTags","shortTags","_h","_j","curlOptions","convertType","curlopts","curlCookies","sort","guzzle","requestCode","requestPush","requestJoin","fields_1","contents","indexOf","cookieString","lastIndent","item","result","http1","http2","files_1","file","formValue","php","generatePowershellConvert","command","methodArg","commandOptions","restmethod","common_1","powershell","webrequest","concatValues","concatType","values","indentLevel","currentIndent","closingBraceIndent","openingBrace","closingBrace","pretty_1","python3","payload","headerCount","count","builtInMethods","files","hasFiles","hasPayload","jsonPayload","nonFilePayload","payload_1","python","httr","entriesCount","entry","maybeComma","cookieHeader","acceptHeader","setCookies","String","setAccept","setContentType","otherHeaders","setHeaders","headerAdditions","faraday","capMethod","ruby","reqwest","e_2","e_3","e_4","e_5","hasQuery","_k","hasForm","isMultipart","fileToPartString_1","fileToPartString","fileToPartString_1_1","e_2_1","_l","_m","_o","e_3_1","_p","_q","_r","e_4_1","_s","_t","_u","e_5_1","rust","shell_1","globoff","insecure","binary","globOff","prettifyJson","short","arg","longName","shortName","getArg","formattedUrl","unescape","contentTypeHeaderName","noBoundary","post","unencoded","encoded","needsEncoding","flag","builtPayload","err","httpie","cert","print","queryParams","style","verbose","verify","raw","flags","cliFlags","postDataText","shell","wget","literalDeclaration","buildString","str","concatArray","parseInt","swift","target_1","target_2","target_3","target_4","target_5","target_6","target_7","target_8","target_9","target_10","target_11","target_12","target_13","target_14","target_15","target_16","target_17","target_18","target_19","target_20","got","Error","module","parallel","serial","serialOrdered","clean","jobs","state","bind","defer","callback","isAsync","fn","nextTick","setImmediate","process","setTimeout","abort","list","index","runJob","output","sortMethod","isNamedList","initState","keyedList","size","a","iterate","terminator","ascending","iteratorHandler","descending","b64","lens","getLens","validLen","placeHoldersLen","toByteArray","tmp","Arr","_byteLength","curByte","len","revLookup","charCodeAt","fromByteArray","uint8","extraBytes","parts","maxChunkLength","len2","encodeChunk","lookup","Uint8Array","start","end","num","base64","ieee754","customInspectSymbol","SlowBuffer","alloc","INSPECT_MAX_BYTES","K_MAX_LENGTH","createBuffer","RangeError","buf","setPrototypeOf","encodingOrOffset","allocUnsafe","string","isEncoding","actual","write","fromString","ArrayBuffer","isView","arrayView","isInstance","copy","fromArrayBuffer","buffer","byteOffset","fromArrayLike","fromArrayView","SharedArrayBuffer","valueOf","isBuffer","checked","numberIsNaN","fromObject","toPrimitive","assertSize","array","mustMatch","loweredCase","utf8ToBytes","base64ToBytes","slowToString","hexSlice","utf8Slice","asciiSlice","latin1Slice","base64Slice","utf16leSlice","swap","bidirectionalIndexOf","dir","arrayIndexOf","lastIndexOf","indexSize","arrLength","valLength","read","readUInt16BE","foundIndex","found","j","hexWrite","offset","Number","remaining","strLen","parsed","substr","utf8Write","blitBuffer","asciiWrite","byteArray","asciiToBytes","base64Write","ucs2Write","units","hi","lo","utf16leToBytes","Math","min","res","firstByte","codePoint","bytesPerSequence","secondByte","thirdByte","fourthByte","tempCodePoint","codePoints","MAX_ARGUMENTS_LENGTH","fromCharCode","decodeCodePointsArray","kMaxLength","TYPED_ARRAY_SUPPORT","proto","foo","typedArraySupport","console","poolSize","fill","allocUnsafeSlow","_isBuffer","compare","pos","set","swap16","swap32","swap64","toLocaleString","equals","inspect","max","thisStart","thisEnd","thisCopy","targetCopy","isFinite","toJSON","_arr","ret","out","hexSliceLookupTable","bytes","checkOffset","ext","checkInt","wrtBigUInt64LE","checkIntBI","BigInt","wrtBigUInt64BE","checkIEEE754","writeFloat","littleEndian","noAssert","writeDouble","newBuf","subarray","readUintLE","readUIntLE","mul","readUintBE","readUIntBE","readUint8","readUInt8","readUint16LE","readUInt16LE","readUint16BE","readUint32LE","readUInt32LE","readUint32BE","readUInt32BE","readBigUInt64LE","defineBigIntMethod","validateNumber","first","last","boundsError","readBigUInt64BE","readIntLE","pow","readIntBE","readInt8","readInt16LE","readInt16BE","readInt32LE","readInt32BE","readBigInt64LE","readBigInt64BE","readFloatLE","readFloatBE","readDoubleLE","readDoubleBE","writeUintLE","writeUIntLE","writeUintBE","writeUIntBE","writeUint8","writeUInt8","writeUint16LE","writeUInt16LE","writeUint16BE","writeUInt16BE","writeUint32LE","writeUInt32LE","writeUint32BE","writeUInt32BE","writeBigUInt64LE","writeBigUInt64BE","writeIntLE","limit","sub","writeIntBE","writeInt8","writeInt16LE","writeInt16BE","writeInt32LE","writeInt32BE","writeBigInt64LE","writeBigInt64BE","writeFloatLE","writeFloatBE","writeDoubleLE","writeDoubleBE","targetStart","copyWithin","errors","E","sym","getMessage","Base","super","stack","message","addNumericalSeparator","range","ERR_OUT_OF_RANGE","checkBounds","ERR_INVALID_ARG_TYPE","floor","ERR_BUFFER_OUT_OF_BOUNDS","msg","received","isInteger","abs","INVALID_BASE64_RE","Infinity","leadSurrogate","base64clean","src","dst","alphabet","table","i16","BufferBigIntNotDefined","GetIntrinsic","callBind","$indexOf","allowMissing","intrinsic","setFunctionLength","$TypeError","$apply","$call","$reflectApply","$defineProperty","$max","originalFunction","func","applyBind","util","Stream","DelayedStream","CombinedStream","readable","dataSize","maxDataSize","pauseStreams","_released","_streams","_currentStream","_insideLoop","_pendingNext","inherits","combinedStream","option","isStreamLike","newStream","pauseStream","on","_checkDataSize","_handleErrors","pause","dest","resume","_getNext","_realGetNext","shift","_pipeNext","self","_emitError","emit","_reset","destroy","_updateDataSize","$SyntaxError","gopd","nonEnumerable","nonWritable","nonConfigurable","loose","_maxDataSizeExceeded","_bufferedEvents","delayedStream","realEmit","_handleEmit","setEncoding","release","args","_checkIfMaxDataSizeExceeded","writeMethods","readMethods","readEvents","writer","reader","ended","methodName","reemit","EvalError","ReferenceError","SyntaxError","URIError","es","through","duplex","pipeline","immediately","connect","merge","toMerge","setMaxListeners","endCount","collect","writeArray","isDone","readArray","paused","continueOnError","reading","mapSync","sync","mappedData","filterSync","queue","flatmapSync","mapper","child","stdin","stdout","emitError","wait","pipeable","ReflectOwnKeys","R","Reflect","ReflectApply","receiver","Function","ownKeys","getOwnPropertySymbols","getOwnPropertyNames","NumberIsNaN","isNaN","EventEmitter","init","once","emitter","Promise","resolve","reject","errorListener","removeListener","resolver","eventTargetAgnosticAddListener","handler","addErrorHandlerIfEventEmitter","_events","_eventsCount","_maxListeners","defaultMaxListeners","checkListener","listener","_getMaxListeners","that","_addListener","prepend","events","existing","warning","newListener","warned","w","warn","onceWrapper","fired","wrapFn","_onceWrap","wrapped","_listeners","unwrap","evlistener","unwrapListeners","arrayClone","listenerCount","addEventListener","wrapListener","removeEventListener","getPrototypeOf","getMaxListeners","doError","er","context","listeners","addListener","prependListener","prependOnceListener","position","originalListener","spliceOne","off","removeAllListeners","rawListeners","eventNames","isCallable","toStr","forEachArray","forEachString","forEachObject","hasOwn","ctx","https","parseUrl","fs","mime","asynckit","populate","_overheadLength","_valueLength","_valuesToMeasure","LINE_BREAK","DEFAULT_CONTENT_TYPE","_error","_multiPartHeader","footer","_multiPartFooter","_trackLength","valueLength","knownLength","_lengthRetriever","stat","fileSize","response","contentDisposition","_getContentDisposition","_getContentType","prop","getBoundary","filepath","normalize","basename","_httpMessage","_lastBoundary","getHeaders","userHeaders","formHeaders","setBoundary","_generateBoundary","getBuffer","dataBuffer","random","getLengthSync","hasKnownLength","getLength","cb","submit","defaults","setHeader","onResponse","responce","source_index","source_len","started","concatty","bound","arrLike","slicy","boundLength","boundArgs","joiny","Empty","implementation","$Error","$EvalError","$RangeError","$ReferenceError","$URIError","$Function","getEvalledConstructor","expressionSyntax","$gOPD","throwTypeError","ThrowTypeError","calleeThrows","gOPDthrows","hasSymbols","hasProto","getProto","__proto__","needsEval","TypedArray","INTRINSICS","AggregateError","Atomics","BigInt64Array","BigUint64Array","DataView","Date","decodeURI","decodeURIComponent","encodeURI","eval","Float32Array","Float64Array","FinalizationRegistry","Int8Array","Int16Array","Int32Array","Map","parseFloat","Proxy","RegExp","Set","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","WeakRef","WeakSet","errorProto","doEval","gen","LEGACY_ALIASES","$concat","$spliceApply","splice","$replace","$strSlice","$exec","rePropName","reEscapeChar","getBaseIntrinsic","alias","intrinsicName","number","subString","stringToPath","intrinsicBaseName","intrinsicRealName","skipFurtherCaching","isOwn","keySymbol","propertyIsEnumerable","hasPropertyDescriptors","hasArrayLengthDefineBug","$Object","origSymbol","hasSymbolSham","symObj","syms","descriptor","$hasOwn","validateParams","isLE","mLen","nBytes","eLen","eMax","eBias","nBits","d","NaN","rt","LN2","ctor","superCtor","super_","TempCtor","hasToStringTag","isStandardArguments","isLegacyArguments","callee","supportsStandardArguments","badArrayLike","isCallableMarker","fnToStr","reflectApply","constructorRegex","isES6ClassFn","fnStr","tryFunctionObject","isIE68","isDDA","document","all","strClass","GeneratorFunction","isFnRegex","generatorFunc","getGeneratorFunc","re","whichTypedArray","each","api","pointer","refTokens","tok","nextTok","remove","finalToken","parent","dict","descend","walk","cur","compile","has","inputs","outputs","destroyed","lastWritten","inNext","errorEventName","failures","writeQueue","queueData","nextToWrite","dataToWrite","written","extensions","types","preference","db","EXTRACT_TYPE_REGEXP","TEXT_TYPE_REGEXP","charset","charsets","extension","exts","assertPath","normalizeStringPosix","allowAboveRoot","lastSegmentLength","lastSlash","dots","lastSlashIndex","posix","cwd","resolvedPath","resolvedAbsolute","isAbsolute","trailingSeparator","joined","relative","fromStart","fromEnd","fromLen","toStart","toLen","lastCommonSep","fromCode","_makeLong","dirname","hasRoot","matchedSlash","extIdx","firstNonSlashEnd","startDot","startPart","preDotState","pathObject","sep","root","base","_format","win32","cachedSetTimeout","cachedClearTimeout","defaultSetTimout","defaultClearTimeout","runTimeout","fun","clearTimeout","currentQueue","draining","queueIndex","cleanUpNextTick","drainQueue","run","marker","runClearTimeout","Item","noop","browser","env","argv","version","versions","binding","chdir","umask","percentTwenties","Format","formatters","RFC1738","RFC3986","formats","utils","allowDots","allowEmptyArrays","allowPrototypes","allowSparse","arrayLimit","charsetSentinel","comma","decodeDotInKeys","decoder","decode","depth","duplicates","ignoreQueryPrefix","interpretNumericEntities","parameterLimit","parseArrays","plainObjects","strictDepth","strictNullHandling","$0","numberStr","parseArrayValue","parseKeys","givenKey","valuesParsed","segment","chain","leaf","cleanRoot","decodedRoot","parseObject","isRegExp","normalizeParseOptions","tempObj","cleanStr","skipIndex","bracketEqualsPos","maybeMap","encodedVal","combine","parseValues","newObj","compact","getSideChannel","arrayPrefixGenerators","brackets","prefix","indices","pushToArray","valueOrArray","toISO","toISOString","defaultFormat","addQueryPrefix","arrayFormat","encode","encodeDotInKeys","encoder","encodeValuesOnly","formatter","serializeDate","date","skipNulls","sentinel","generateArrayPrefix","commaRoundTrip","sideChannel","tmpSc","findFlag","objKeys","encodedPrefix","adjustedPrefix","encodedKey","keyPrefix","valueSideChannel","normalizeStringifyOptions","hexTable","arrayToObject","acc","refs","compacted","compactQueue","strWithoutPlus","defaultEncoder","kind","mapped","mergeTarget","targetItem","eq","regexp","maxKeys","kstr","vstr","idx","xs","stringifyPrimitive","objectKeys","ks","codes","createErrorType","NodeError","_Base","subClass","superClass","arg1","arg2","arg3","oneOf","expected","thing","determiner","this_len","endsWith","Duplex","Readable","Writable","allowHalfOpen","onend","_writableState","onEndNT","highWaterMark","_readableState","PassThrough","Transform","_transform","chunk","ReadableState","EElistenerCount","OurUint8Array","debugUtil","debuglog","StringDecoder","createReadableStreamAsyncIterator","BufferList","destroyImpl","getHighWaterMark","_require$codes","ERR_STREAM_PUSH_AFTER_EOF","ERR_METHOD_NOT_IMPLEMENTED","ERR_STREAM_UNSHIFT_AFTER_END_EVENT","errorOrDestroy","kProxyEvents","isDuplex","objectMode","readableObjectMode","pipes","pipesCount","flowing","endEmitted","needReadable","emittedReadable","readableListening","resumeScheduled","emitClose","autoDestroy","defaultEncoding","awaitDrain","readingMore","_read","_destroy","readableAddChunk","addToFront","skipChunkCheck","emitReadable","emitReadable_","onEofChunk","chunkInvalid","_uint8ArrayToBuffer","addChunk","maybeReadMore","_undestroy","undestroy","isPaused","enc","clear","MAX_HWM","howMuchToRead","computeNewHighWaterMark","flow","maybeReadMore_","updateReadableListening","nReadingNextTick","resume_","fromList","consume","endReadable","endReadableNT","wState","finished","nOrig","doRead","pipeOpts","endFn","stderr","unpipe","onunpipe","unpipeInfo","hasUnpiped","onclose","onfinish","ondrain","onerror","ondata","cleanedUp","needDrain","pipeOnDrain","event","dests","ev","wrap","asyncIterator","_fromList","iterable","ERR_MULTIPLE_CALLBACK","ERR_TRANSFORM_ALREADY_TRANSFORMING","ERR_TRANSFORM_WITH_LENGTH_0","afterTransform","ts","_transformState","transforming","writecb","writechunk","rs","needTransform","writeencoding","flush","_flush","prefinish","_write","err2","CorkedRequest","finish","corkReq","pendingcb","onCorkedFinish","corkedRequestsFree","WritableState","realHasInstance","internalUtil","deprecate","ERR_STREAM_CANNOT_PIPE","ERR_STREAM_DESTROYED","ERR_STREAM_NULL_VALUES","ERR_STREAM_WRITE_AFTER_END","ERR_UNKNOWN_ENCODING","nop","writableObjectMode","finalCalled","ending","noDecode","decodeStrings","writing","corked","bufferProcessing","onwrite","writelen","onwriteStateUpdate","finishMaybe","errorEmitted","onwriteError","needFinish","bufferedRequest","clearBuffer","afterWrite","lastBufferedRequest","prefinished","bufferedRequestCount","writev","_writev","final","_final","doWrite","onwriteDrain","holder","allBuffers","isBuf","callFinal","need","rState","current","hasInstance","writeAfterEnd","validChunk","newChunk","decodeChunk","writeOrBuffer","cork","uncork","setDefaultEncoding","endWritable","_Object$setPrototypeO","_defineProperty","prim","hint","_toPrimitive","_toPropertyKey","kLastResolve","kLastReject","kError","kEnded","kLastPromise","kHandlePromise","kStream","createIterResult","readAndResolve","iter","onReadable","AsyncIteratorPrototype","ReadableStreamAsyncIteratorPrototype","promise","lastPromise","then","wrapForNext","_this2","_Object$create","enumerableOnly","symbols","_objectSpread","getOwnPropertyDescriptors","defineProperties","_defineProperties","props","custom","instance","Constructor","_classCallCheck","protoProps","hasStrings","_getString","_getBuffer","nb","customInspect","emitErrorAndCloseNT","emitErrorNT","emitCloseNT","readableDestroyed","writableDestroyed","ERR_STREAM_PREMATURE_CLOSE","eos","called","_len","_key","onlegacyfinish","writableEnded","readableEnded","onrequest","isRequest","ERR_MISSING_ARGS","streams","popCallback","destroys","closed","destroyer","ERR_INVALID_OPT_VALUE","duplexKey","hwm","highWaterMarkFrom","copyProps","SafeBuffer","define","hasDescriptors","gOPD","$floor","functionLengthIsConfigurable","functionLengthIsWritable","callBound","$WeakMap","$Map","$weakMapGet","$weakMapSet","$weakMapHas","$mapGet","$mapSet","$mapHas","listGetNode","curr","prev","$wm","$m","$o","channel","assert","objects","listGet","listHas","listSet","hasMap","mapSizeDescriptor","mapSize","mapForEach","hasSet","setSizeDescriptor","setSize","setForEach","weakMapHas","weakSetHas","weakRefDeref","deref","booleanValueOf","objectToString","functionToString","$match","$slice","$toUpperCase","$toLowerCase","$test","$join","$arrSlice","bigIntValueOf","gOPS","symToString","hasShammedSymbols","isEnumerable","gPO","O","addNumericSeparator","sepRegex","int","intStr","dec","utilInspect","inspectCustom","inspectSymbol","isSymbol","wrapQuotes","defaultStyle","quoteChar","quoteStyle","inspect_","seen","maxStringLength","numericSeparator","inspectString","bigIntStr","maxDepth","baseIndent","getIndent","noIndent","newOpts","nameOf","arrObjKeys","symString","markBoxed","HTMLElement","nodeName","getAttribute","attrs","attributes","childNodes","singleLineValues","indentedJoin","isError","cause","isMap","mapParts","collectionOf","isSet","setParts","isWeakMap","weakCollectionOf","isWeakSet","isWeakRef","isNumber","isBigInt","isBoolean","isString","isDate","ys","isPlainObject","protoTag","stringTag","tag","trailer","lowbyte","lineJoiner","isArr","symMap","Decoder","matcher","soFar","maxLength","trailing","piece","pieces","EE","_isStdio","didOnEnd","cleanup","duplexer","thepipe","recurse","ClientRequest","extend","statusCodes","defaultProtocol","location","IncomingMessage","Agent","defaultMaxSockets","globalAgent","STATUS_CODES","METHODS","getXHR","XMLHttpRequest","open","XDomainRequest","checkTypeSupport","responseType","isFunction","ReadableStream","writableStream","WritableStream","abortController","AbortController","arraybuffer","msstream","mozchunkedarraybuffer","overrideMimeType","capability","rStates","readyStates","preferBinary","_opts","_body","_headers","auth","useFetch","mode","_mode","decideMode","_fetchTimer","_socketTimeout","_socketTimer","_onFinish","lowerName","unsafeHeaders","removeHeader","_destroyed","Blob","headersList","keyName","signal","controller","_fetchAbortController","requestTimeout","withCredentials","_fetchResponse","_resetTimers","_connect","reason","_xhr","ontimeout","setRequestHeader","_response","onreadystatechange","readyState","LOADING","DONE","_onXHRProgress","onprogress","send","status","statusValid","flushHeaders","setNoDelay","setSocketKeepAlive","UNSENT","OPENED","HEADERS_RECEIVED","resetTimers","rawHeaders","trailers","rawTrailers","statusCode","statusMessage","statusText","_resumeFetch","close","pipeTo","catch","getReader","_pos","responseURL","getAllResponseHeaders","matches","_charset","charsetMatch","responseText","newData","MSStreamReader","onload","readAsArrayBuffer","nenc","retried","_normalizeEncoding","normalizeEncoding","utf16Text","utf16End","fillLast","utf8FillLast","base64Text","base64End","simpleWrite","simpleEnd","lastNeed","lastTotal","lastChar","utf8CheckByte","byte","utf8CheckExtraBytes","total","utf8CheckIncomplete","isRegexp","isObj","getOwnEnumPropSymbols","pad","tokens","newLineOrSpace","expandWhiteSpace","oneLined","el","eol","isClassic","singleQuotes","_ended","drain","nodeType","freeGlobal","global","punycode","maxInt","regexPunycode","regexNonASCII","regexSeparators","stringFromCharCode","mapDomain","ucs2decode","extra","counter","ucs2encode","digitToBasic","digit","adapt","delta","numPoints","firstTime","baseMinusTMin","basic","oldi","baseMinusT","inputLength","bias","handledCPCount","basicLength","q","handledCPCountPlusOne","qMinusT","Url","slashes","hash","href","protocolPattern","portPattern","simplePathPattern","unwise","autoEscape","nonHostChars","hostEndingChars","hostnamePartPattern","hostnamePartStart","unsafeProtocol","hostlessProtocol","slashedProtocol","ftp","gopher","querystring","urlParse","parseQueryString","slashesDenoteHost","u","queryIndex","splitter","uSplit","rest","simplePath","lowerProto","atSign","hostEnd","hec","parseHost","ipv6Hostname","hostparts","newpart","validParts","notHost","bit","toASCII","ae","esc","qm","resolveObject","rel","tkeys","tk","tkey","rkeys","rk","rkey","relPath","isSourceAbs","isRelAbs","mustEndAbs","removeAllDots","srcPath","psychotic","authInHost","hasTrailingSlash","up","config","localStorage","trace","isArgumentsObject","isGeneratorFunction","isTypedArray","uncurryThis","BigIntSupported","SymbolSupported","ObjectToString","numberValue","booleanValue","bigIntValue","symbolValue","checkBoxedPrimitive","prototypeValueOf","isMapToString","isSetToString","isWeakMapToString","isWeakSetToString","isArrayBufferToString","isArrayBuffer","working","isDataViewToString","isDataView","isPromise","isArrayBufferView","isUint8Array","isUint8ClampedArray","isUint16Array","isUint32Array","isInt8Array","isInt16Array","isInt32Array","isFloat32Array","isFloat64Array","isBigInt64Array","isBigUint64Array","SharedArrayBufferCopy","isSharedArrayBufferToString","isSharedArrayBuffer","isNumberObject","isStringObject","isBooleanObject","isBigIntObject","isSymbolObject","isAsyncFunction","isMapIterator","isSetIterator","isGeneratorObject","isWebAssemblyCompiledModule","isBoxedPrimitive","isAnyArrayBuffer","descriptors","formatRegExp","isNull","isObject","noDeprecation","throwDeprecation","traceDeprecation","debugs","debugEnvRegex","NODE_DEBUG","debugEnv","stylize","stylizeNoColor","colors","showHidden","_extend","isUndefined","stylizeWithColor","formatValue","styleType","styles","recurseTimes","primitive","simple","formatPrimitive","visibleKeys","arrayToHash","formatError","braces","toUTCString","formatProperty","formatArray","reduceToSingleString","pid","isNullOrUndefined","isNativeError","isPrimitive","months","time","getHours","getMinutes","getSeconds","getDate","getMonth","origin","add","kCustomPromisifiedSymbol","callbackifyOnRejected","newReason","promisify","original","promiseResolve","promiseReject","callbackify","callbackified","maybeCb","rej","availableTypedArrays","$toString","globalThis","typedArrays","cache","typedArray","superProto","getter","trySlices","tryTypedArrays","possibleNames","__create","__defProp","__defProps","__getOwnPropDesc","__getOwnPropDescs","__getOwnPropNames","__getOwnPropSymbols","__getProtoOf","__hasOwnProp","__propIsEnum","__pow","__defNormalProp","__commonJS","__copyProps","except","require_formats","fmtDef","validate2","validate","formatNames","fastFormats","fullFormats","compareDate","compareTime","dateTime","DATE_TIME_SEPARATOR","compareDateTime","duration","uri","NOT_URI_FRAGMENT","URI","email","ipv4","ipv6","regex","Z_ANCHOR","uuid","BYTE","lastIndex","int32","MAX_INT32","MIN_INT32","int64","float","double","password","__spreadValues","DATE","DAYS","year","month","day","isLeapYear","d1","d2","TIME","withTimeZone","hour","minute","second","timeZone","t1","t2","a1","a2","dt1","dt2","require_validate","validate0","instancePath","parentData","parentDataProperty","rootData","schemaPath","keyword","schema","schema0","parentSchema","missing0","lastAccess","eTag","hitCount","missingProperty","required","expires","data0","_errs1","properties","pattern0","pattern","valid0","data1","_errs3","data2","_errs5","data3","_errs7","comment","data4","_errs9","validate1","schema1","schema2","validate3","schema3","vErrors","beforeRequest","_errs0","valid1","passing0","_errs2","err0","_errs4","err1","err3","valid3","err4","err5","_errs11","err6","_errs13","err7","data5","_errs15","err8","err9","_valid0","err10","passingSchemas","afterRequest","data6","_errs17","_errs18","valid4","passing1","_errs19","err11","_errs21","missing1","err12","data7","_errs24","err13","err14","valid6","data8","_errs26","err15","err16","data9","_errs28","err17","data10","_errs30","err18","data11","_errs32","err19","err20","_valid1","err21","data12","_errs34","validate4","schema6","compression","validate5","schema7","domain","formats0","httpOnly","secure","validate6","schema8","validate7","schema9","schema19","formats10","formats12","pattern8","schema10","schema12","schema13","schema14","formats4","validate8","len0","i0","_errs12","_errs14","_errs16","_errs20","_errs22","data13","len1","i1","data14","missing2","data15","_errs33","data16","_errs35","data17","_errs37","data18","_errs39","i2","data19","_errs41","missing3","data20","_errs44","valid9","data21","_errs46","data22","_errs48","data23","_errs50","missing4","data24","_errs53","valid11","data25","_errs55","data26","_errs57","missing5","data27","_errs59","valid12","data28","_errs61","data29","_errs63","data30","_errs65","data31","_errs67","data32","_errs69","data33","_errs71","data34","_errs73","data35","_errs75","schema15","validate10","redirectURL","_errs42","valid8","_errs52","_errs54","_errs56","_errs58","_errs60","startedDateTime","timings","pageref","_errs8","_errs10","receive","dns","valid2","blocked","ssl","serverIPAddress","_errs31","connection","validate13","schema20","validate14","schema21","schema24","schema25","validate15","id","pageTimings","onContentLoad","onLoad","creator","_errs6","pages","_errs23","_errs27","validate19","validate20","validate21","validate22","validate23","src_exports","__export","HARError","default","src_default","validateHar","validateResponse","validators","isNodeMode","__toESM","captureStackTrace","validatorMappings","har","page","validator","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","loaded","__webpack_modules__","definition","nmd","paths","children","ensureMinLength","sample","trunc","mergeDeep","pVal","oVal","getResultForCircular","popSchemaStack","seenSchemasStack","schemaKeywordTypes","multipleOf","maximum","exclusiveMaximum","minimum","exclusiveMinimum","minLength","items","maxItems","minItems","uniqueItems","additionalItems","maxProperties","minProperties","additionalProperties","patternProperties","dependencies","inferType","keywords","$refCache","inferExample","example","const","examples","enum","tryInferExample","readOnly","writeOnly","traverse","spec","maxSampleDepth","$ref","ref","startsWith","referenced","allOf","into","subSamples","subSchema","quiet","lastSample","allOfSample","anyOf","traverseOneOrAnyOf","if","ifSchema","sampler","_samplers","selectedSubSchema","inferred","localExample","subSchemaExample","mergedExample","sampleNumber","intSample","_max","getRepetitionsBasedOnQuantifierParameters","quantifierSymbol","quantifierMin","quantifierMax","repetitions","commonDateTimeSample","omitTime","omitDate","getUTCFullYear","getUTCMonth","getUTCDate","getUTCHours","getUTCMinutes","getUTCSeconds","toRFCDateTime","defaultSample","_propertyName","enablePatterns","isCaseInsensitive","SINGLE_CHAR_REG","token","SINGLE_RANGE_REG","RANGE_ALPHANUMEMRIC_REG","isNegated","includesDash","rangeCodes","ranges","rangeMinMax","ch","generatedString","RANGE_REP_REG","REP_REG","stringFormats","_min","propertyName","hashCode","skipReadOnly","_registerSampler","arrayLength","prefixItems","contains","itemSchema","itemNumber","requiredProperties","requiredPropertiesMap","requiredProperty","skipNonRequired","skipWriteOnly","filteredResult","propertiesAdded","propName","createHar","openApi","queryParamValues","baseUrl","getBaseUrl","baseHar","getFullPath","getHeadersArray","getQueryStrings","getCookies","hars","postDatas","getPayloads","copiedHar","objectJoin","keyValueSeparator","pairSeparator","_ref","in","_sample","requestBody","resolveRef","payloads","formatSamples","servers","schemes","basePath","getParameterValues","firstExample","_ref2","explode","getPrefix","paramId","getParamId","valueType","getDefaultStyleForLocation","getDefaultExplodeForStyle","separator","getArrayElementSeparator","_ref3","_ref4","getSeparator","createHarParameterObjects","parseParametersToQuery","queryStrings","getParameterCollectionIn","pathParameters","operationParameters","flatMap","fullPath","_ref5","pathObj","consumes","basicAuthDef","apiKeyAuthDef","oauthDef","security","secScheme","secDefinition","securityDefinitions","components","securitySchemes","authType","authScheme","scheme","recursive","newCount","getEndpoint","getResourceName","urlStr","pathComponents","cand","formatTarget","targetStr","language","capitalizeFirstLetter","library","validTargets","validLanguage","validLibrary","getSnippetsForTargets","snippet","snippets","convertOptions","OpenAPISnippets","getSnippets","endpointHarInfoList","harList","getAll","harInfo","resource","order","getMethodOrder","getEndpointSnippets"],"sourceRoot":""} \ No newline at end of file