Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ass-client

Package Overview
Dependencies
Maintainers
4
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ass-client - npm Package Compare versions

Comparing version 2.1.0 to 2.1.1

4

dist/ass-client.js

@@ -1,2 +0,2 @@

!function(t){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var e;e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this,e.AssClient=t()}}(function(){var t;return function e(t,r,n){function o(s,u){if(!r[s]){if(!t[s]){var a="function"==typeof require&&require;if(!u&&a)return a(s,!0);if(i)return i(s,!0);var c=new Error("Cannot find module '"+s+"'");throw c.code="MODULE_NOT_FOUND",c}var f=r[s]={exports:{}};t[s][0].call(f.exports,function(e){var r=t[s][1][e];return o(r?r:e)},f,f.exports,e,t,r,n)}return r[s].exports}for(var i="function"==typeof require&&require,s=0;s<n.length;s++)o(n[s]);return o}({1:[function(t,e,r){"use strict";function n(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);return t}function o(t){this.httpBaseUrl=t.httpUrl,this.httpsBaseUrl=t.httpsUrl,this.accessToken=t.accessToken,this.username=t.username}var i=t("./lib/browser/request"),s=t("qs"),u=t("./lib/browser/crypto"),a=t("util").format,c=t("path").join;o.prototype.getDefaultHeaders=function(t){var e={Authorization:"bearer "+this.accessToken};return t&&Object.keys(t).forEach(function(r){e[r]=t[r]}),e},o.prototype.upload=function(t,e,r){return i.postFile(this.getUrl(t),e,this.getDefaultHeaders(r))},o.prototype.uploadFile=function(t,e,r){var n="/files";return e&&(n+="/"===e.charAt(0)?e:"/"+e),this.upload(n,t,r)},o.prototype.uploadImage=function(t,e){return this.upload("/images",t,e)},o.prototype.request=function(t,e){return e=n({},e),e.url=this.getUrl(t,e.http),e.headers=this.getRequestHeaders(e.headers),delete e.http,i(e)},o.prototype.getRequestHeaders=function(t){return this.getDefaultHeaders(n({"Content-Type":"application/json"},t))},o.prototype.get=function(t,e){return this.request(t,n({method:"GET"},e))},o.prototype["delete"]=function(t,e){return this.request(t,n({method:"DELETE"},e))},o.prototype.head=function(t,e){return this.request(t,n({method:"HEAD"},e))},o.prototype.post=function(t,e,r){return this.request(t,n({method:"POST",body:e},r))},o.prototype.put=function(t,e,r){return this.request(t,n({method:"PUT",body:e},r))},o.prototype.patch=function(t,e,r){return this.request(t,n({method:"PATCH",body:e},r))},o.prototype.getUrl=function(t,e){return(e?this.httpBaseUrl:this.httpsBaseUrl)+c("/",t)},o.prototype.createImageUrl=function(t,e){var r=this.getUrl(a("/users/%s/images/%s.jpg",this.username,t),!0);return e&&(r+="?"+s.stringify({t:e},{encode:!1})),r+(e?"&":"?")+"accessToken="+this.createSignature(r)},o.prototype.createSignature=function(t){return u.sha256(this.accessToken,t)},e.exports=function(t){return new o(t)}},{"./lib/browser/crypto":2,"./lib/browser/request":3,path:6,qs:11,util:9}],2:[function(t,e,r){"use strict";var n=t("./sha");e.exports={sha256:function(t,e){return n.sha256hmac(t,e)}}},{"./sha":4}],3:[function(t,e,r){"use strict";function n(t){var e=t.body;try{e=JSON.stringify(e)}catch(r){}return o(t.timeout,t.url,fetch(t.url,{method:t.method,headers:t.headers,timeout:t.timeout,body:e})).then(function(e){return i(t.url,e)})}function o(t,e,r){return new Promise(function(n,o){t&&setTimeout(function(){o(new u("Connect timeout occurred when requesting url: "+e,"timeout"))},t),r.then(n,o)})}function i(t,e){return e.text().then(function(r){var n=!0;try{r=JSON.parse(r)}catch(o){n=!1}if(!e.ok)throw new s("Request to "+t+" failed. code: "+e.status,r,e);if(!n)throw new s("Unable to parse json from url: "+t,r,e);return r})}function s(t,e,r){var n={};r.headers.forEach(function(t,e){n[t]=e}),this.message=t,this.name="ResponseError",this.response={body:e,headers:n},this.statusCode=r.status}function u(t,e){this.message=t,this.code=e,this.name="ConnectionError"}t("es6-promise").polyfill(),t("whatwg-fetch"),n.postFile=function(t,e,r){var n=new FormData;return n.append("file",e),fetch(t,{method:"POST",headers:r,body:n}).then(function(e){return i(t,e)})},n.ResponseError=s,n.ConnectionError=u,e.exports=n},{"es6-promise":10,"whatwg-fetch":15}],4:[function(t,e,r){"use strict";var n=8,o=function(t,e){var r=(65535&t)+(65535&e),n=(t>>16)+(e>>16)+(r>>16);return n<<16|65535&r},i=function(t,e){return t>>>e|t<<32-e},s=function(t,e){return t>>>e},u=function(t,e,r){return t&e^~t&r},a=function(t,e,r){return t&e^t&r^e&r},c=function(t){return i(t,2)^i(t,13)^i(t,22)},f=function(t){return i(t,6)^i(t,11)^i(t,25)},l=function(t){return i(t,7)^i(t,18)^s(t,3)},p=function(t){return i(t,17)^i(t,19)^s(t,10)},h=function(t,e){var r,n,i,s,h,d,y,m,g,b,v,w,_=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],O=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],j=new Array(64);for(t[e>>5]|=128<<24-e%32,t[(e+64>>9<<4)+15]=e,g=0;g<t.length;g+=16){for(r=O[0],n=O[1],i=O[2],s=O[3],h=O[4],d=O[5],y=O[6],m=O[7],b=0;64>b;b++)16>b?j[b]=t[b+g]:j[b]=o(o(o(p(j[b-2]),j[b-7]),l(j[b-15])),j[b-16]),v=o(o(o(o(m,f(h)),u(h,d,y)),_[b]),j[b]),w=o(c(r),a(r,n,i)),m=y,y=d,d=h,h=o(s,v),s=i,i=n,n=r,r=o(v,w);O[0]=o(r,O[0]),O[1]=o(n,O[1]),O[2]=o(i,O[2]),O[3]=o(s,O[3]),O[4]=o(h,O[4]),O[5]=o(d,O[5]),O[6]=o(y,O[6]),O[7]=o(m,O[7])}return O},d=function(t){for(var e=[],r=(1<<n)-1,o=0;o<t.length*n;o+=n)e[o>>5]|=(t.charCodeAt(o/n)&r)<<24-o%32;return e},y=function(t){for(var e="0123456789abcdef",r="",n=0;n<4*t.length;n++)r+=e.charAt(t[n>>2]>>8*(3-n%4)+4&15)+e.charAt(t[n>>2]>>8*(3-n%4)&15);return r},m=function(t,e){var r=d(t);r.length>16&&(r=h(r,t.length*n));for(var o=new Array(16),i=new Array(16),s=0;16>s;s++)o[s]=909522486^r[s],i[s]=1549556828^r[s];var u=h(o.concat(d(e)),512+e.length*n);return h(i.concat(u),768)};r.sha256hmac=function(t,e){return y(m(t,e))}},{}],5:[function(t,e,r){"function"==typeof Object.create?e.exports=function(t,e){t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}})}:e.exports=function(t,e){t.super_=e;var r=function(){};r.prototype=e.prototype,t.prototype=new r,t.prototype.constructor=t}},{}],6:[function(t,e,r){(function(t){function e(t,e){for(var r=0,n=t.length-1;n>=0;n--){var o=t[n];"."===o?t.splice(n,1):".."===o?(t.splice(n,1),r++):r&&(t.splice(n,1),r--)}if(e)for(;r--;r)t.unshift("..");return t}function n(t,e){if(t.filter)return t.filter(e);for(var r=[],n=0;n<t.length;n++)e(t[n],n,t)&&r.push(t[n]);return r}var o=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,i=function(t){return o.exec(t).slice(1)};r.resolve=function(){for(var r="",o=!1,i=arguments.length-1;i>=-1&&!o;i--){var s=i>=0?arguments[i]:t.cwd();if("string"!=typeof s)throw new TypeError("Arguments to path.resolve must be strings");s&&(r=s+"/"+r,o="/"===s.charAt(0))}return r=e(n(r.split("/"),function(t){return!!t}),!o).join("/"),(o?"/":"")+r||"."},r.normalize=function(t){var o=r.isAbsolute(t),i="/"===s(t,-1);return t=e(n(t.split("/"),function(t){return!!t}),!o).join("/"),t||o||(t="."),t&&i&&(t+="/"),(o?"/":"")+t},r.isAbsolute=function(t){return"/"===t.charAt(0)},r.join=function(){var t=Array.prototype.slice.call(arguments,0);return r.normalize(n(t,function(t,e){if("string"!=typeof t)throw new TypeError("Arguments to path.join must be strings");return t}).join("/"))},r.relative=function(t,e){function n(t){for(var e=0;e<t.length&&""===t[e];e++);for(var r=t.length-1;r>=0&&""===t[r];r--);return e>r?[]:t.slice(e,r-e+1)}t=r.resolve(t).substr(1),e=r.resolve(e).substr(1);for(var o=n(t.split("/")),i=n(e.split("/")),s=Math.min(o.length,i.length),u=s,a=0;s>a;a++)if(o[a]!==i[a]){u=a;break}for(var c=[],a=u;a<o.length;a++)c.push("..");return c=c.concat(i.slice(u)),c.join("/")},r.sep="/",r.delimiter=":",r.dirname=function(t){var e=i(t),r=e[0],n=e[1];return r||n?(n&&(n=n.substr(0,n.length-1)),r+n):"."},r.basename=function(t,e){var r=i(t)[2];return e&&r.substr(-1*e.length)===e&&(r=r.substr(0,r.length-e.length)),r},r.extname=function(t){return i(t)[3]};var s="b"==="ab".substr(-1)?function(t,e,r){return t.substr(e,r)}:function(t,e,r){return 0>e&&(e=t.length+e),t.substr(e,r)}}).call(this,t("_process"))},{_process:7}],7:[function(t,e,r){function n(){f=!1,u.length?c=u.concat(c):l=-1,c.length&&o()}function o(){if(!f){var t=setTimeout(n);f=!0;for(var e=c.length;e;){for(u=c,c=[];++l<e;)u&&u[l].run();l=-1,e=c.length}u=null,f=!1,clearTimeout(t)}}function i(t,e){this.fun=t,this.array=e}function s(){}var u,a=e.exports={},c=[],f=!1,l=-1;a.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)e[r-1]=arguments[r];c.push(new i(t,e)),1!==c.length||f||setTimeout(o,0)},i.prototype.run=function(){this.fun.apply(null,this.array)},a.title="browser",a.browser=!0,a.env={},a.argv=[],a.version="",a.versions={},a.on=s,a.addListener=s,a.once=s,a.off=s,a.removeListener=s,a.removeAllListeners=s,a.emit=s,a.binding=function(t){throw new Error("process.binding is not supported")},a.cwd=function(){return"/"},a.chdir=function(t){throw new Error("process.chdir is not supported")},a.umask=function(){return 0}},{}],8:[function(t,e,r){e.exports=function(t){return t&&"object"==typeof t&&"function"==typeof t.copy&&"function"==typeof t.fill&&"function"==typeof t.readUInt8}},{}],9:[function(t,e,r){(function(e,n){function o(t,e){var n={seen:[],stylize:s};return arguments.length>=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),y(e)?n.showHidden=e:e&&r._extend(n,e),_(n.showHidden)&&(n.showHidden=!1),_(n.depth)&&(n.depth=2),_(n.colors)&&(n.colors=!1),_(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=i),a(n,t,n.depth)}function i(t,e){var r=o.styles[e];return r?"["+o.colors[r][0]+"m"+t+"["+o.colors[r][1]+"m":t}function s(t,e){return t}function u(t){var e={};return t.forEach(function(t,r){e[t]=!0}),e}function a(t,e,n){if(t.customInspect&&e&&E(e.inspect)&&e.inspect!==r.inspect&&(!e.constructor||e.constructor.prototype!==e)){var o=e.inspect(n,t);return v(o)||(o=a(t,o,n)),o}var i=c(t,e);if(i)return i;var s=Object.keys(e),y=u(s);if(t.showHidden&&(s=Object.getOwnPropertyNames(e)),A(e)&&(s.indexOf("message")>=0||s.indexOf("description")>=0))return f(e);if(0===s.length){if(E(e)){var m=e.name?": "+e.name:"";return t.stylize("[Function"+m+"]","special")}if(O(e))return t.stylize(RegExp.prototype.toString.call(e),"regexp");if(x(e))return t.stylize(Date.prototype.toString.call(e),"date");if(A(e))return f(e)}var g="",b=!1,w=["{","}"];if(d(e)&&(b=!0,w=["[","]"]),E(e)){var _=e.name?": "+e.name:"";g=" [Function"+_+"]"}if(O(e)&&(g=" "+RegExp.prototype.toString.call(e)),x(e)&&(g=" "+Date.prototype.toUTCString.call(e)),A(e)&&(g=" "+f(e)),0===s.length&&(!b||0==e.length))return w[0]+g+w[1];if(0>n)return O(e)?t.stylize(RegExp.prototype.toString.call(e),"regexp"):t.stylize("[Object]","special");t.seen.push(e);var j;return j=b?l(t,e,n,y,s):s.map(function(r){return p(t,e,n,y,r,b)}),t.seen.pop(),h(j,g,w)}function c(t,e){if(_(e))return t.stylize("undefined","undefined");if(v(e)){var r="'"+JSON.stringify(e).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return t.stylize(r,"string")}return b(e)?t.stylize(""+e,"number"):y(e)?t.stylize(""+e,"boolean"):m(e)?t.stylize("null","null"):void 0}function f(t){return"["+Error.prototype.toString.call(t)+"]"}function l(t,e,r,n,o){for(var i=[],s=0,u=e.length;u>s;++s)U(e,String(s))?i.push(p(t,e,r,n,String(s),!0)):i.push("");return o.forEach(function(o){o.match(/^\d+$/)||i.push(p(t,e,r,n,o,!0))}),i}function p(t,e,r,n,o,i){var s,u,c;if(c=Object.getOwnPropertyDescriptor(e,o)||{value:e[o]},c.get?u=c.set?t.stylize("[Getter/Setter]","special"):t.stylize("[Getter]","special"):c.set&&(u=t.stylize("[Setter]","special")),U(n,o)||(s="["+o+"]"),u||(t.seen.indexOf(c.value)<0?(u=m(r)?a(t,c.value,null):a(t,c.value,r-1),u.indexOf("\n")>-1&&(u=i?u.split("\n").map(function(t){return" "+t}).join("\n").substr(2):"\n"+u.split("\n").map(function(t){return" "+t}).join("\n"))):u=t.stylize("[Circular]","special")),_(s)){if(i&&o.match(/^\d+$/))return u;s=JSON.stringify(""+o),s.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(s=s.substr(1,s.length-2),s=t.stylize(s,"name")):(s=s.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),s=t.stylize(s,"string"))}return s+": "+u}function h(t,e,r){var n=0,o=t.reduce(function(t,e){return n++,e.indexOf("\n")>=0&&n++,t+e.replace(/\u001b\[\d\d?m/g,"").length+1},0);return o>60?r[0]+(""===e?"":e+"\n ")+" "+t.join(",\n ")+" "+r[1]:r[0]+e+" "+t.join(", ")+" "+r[1]}function d(t){return Array.isArray(t)}function y(t){return"boolean"==typeof t}function m(t){return null===t}function g(t){return null==t}function b(t){return"number"==typeof t}function v(t){return"string"==typeof t}function w(t){return"symbol"==typeof t}function _(t){return void 0===t}function O(t){return j(t)&&"[object RegExp]"===P(t)}function j(t){return"object"==typeof t&&null!==t}function x(t){return j(t)&&"[object Date]"===P(t)}function A(t){return j(t)&&("[object Error]"===P(t)||t instanceof Error)}function E(t){return"function"==typeof t}function T(t){return null===t||"boolean"==typeof t||"number"==typeof t||"string"==typeof t||"symbol"==typeof t||"undefined"==typeof t}function P(t){return Object.prototype.toString.call(t)}function S(t){return 10>t?"0"+t.toString(10):t.toString(10)}function D(){var t=new Date,e=[S(t.getHours()),S(t.getMinutes()),S(t.getSeconds())].join(":");return[t.getDate(),H[t.getMonth()],e].join(" ")}function U(t,e){return Object.prototype.hasOwnProperty.call(t,e)}var N=/%[sdj%]/g;r.format=function(t){if(!v(t)){for(var e=[],r=0;r<arguments.length;r++)e.push(o(arguments[r]));return e.join(" ")}for(var r=1,n=arguments,i=n.length,s=String(t).replace(N,function(t){if("%%"===t)return"%";if(r>=i)return t;switch(t){case"%s":return String(n[r++]);case"%d":return Number(n[r++]);case"%j":try{return JSON.stringify(n[r++])}catch(e){return"[Circular]"}default:return t}}),u=n[r];i>r;u=n[++r])s+=m(u)||!j(u)?" "+u:" "+o(u);return s},r.deprecate=function(t,o){function i(){if(!s){if(e.throwDeprecation)throw new Error(o);e.traceDeprecation?console.trace(o):console.error(o),s=!0}return t.apply(this,arguments)}if(_(n.process))return function(){return r.deprecate(t,o).apply(this,arguments)};if(e.noDeprecation===!0)return t;var s=!1;return i};var R,B={};r.debuglog=function(t){if(_(R)&&(R=e.env.NODE_DEBUG||""),t=t.toUpperCase(),!B[t])if(new RegExp("\\b"+t+"\\b","i").test(R)){var n=e.pid;B[t]=function(){var e=r.format.apply(r,arguments);console.error("%s %d: %s",t,n,e)}}else B[t]=function(){};return B[t]},r.inspect=o,o.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]},o.styles={special:"cyan",number:"yellow","boolean":"yellow",undefined:"grey","null":"bold",string:"green",date:"magenta",regexp:"red"},r.isArray=d,r.isBoolean=y,r.isNull=m,r.isNullOrUndefined=g,r.isNumber=b,r.isString=v,r.isSymbol=w,r.isUndefined=_,r.isRegExp=O,r.isObject=j,r.isDate=x,r.isError=A,r.isFunction=E,r.isPrimitive=T,r.isBuffer=t("./support/isBuffer");var H=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];r.log=function(){console.log("%s - %s",D(),r.format.apply(r,arguments))},r.inherits=t("inherits"),r._extend=function(t,e){if(!e||!j(e))return t;for(var r=Object.keys(e),n=r.length;n--;)t[r[n]]=e[r[n]];return t}}).call(this,t("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./support/isBuffer":8,_process:7,inherits:5}],10:[function(e,r,n){(function(n,o){(function(){"use strict";function i(t){return"function"==typeof t||"object"==typeof t&&null!==t}function s(t){return"function"==typeof t}function u(t){return"object"==typeof t&&null!==t}function a(t){$=t}function c(t){V=t}function f(){return function(){n.nextTick(y)}}function l(){return function(){J(y)}}function p(){var t=0,e=new Q(y),r=document.createTextNode("");return e.observe(r,{characterData:!0}),function(){r.data=t=++t%2}}function h(){var t=new MessageChannel;return t.port1.onmessage=y,function(){t.port2.postMessage(0)}}function d(){return function(){setTimeout(y,1)}}function y(){for(var t=0;Y>t;t+=2){var e=rt[t],r=rt[t+1];e(r),rt[t]=void 0,rt[t+1]=void 0}Y=0}function m(){try{var t=e,r=t("vertx");return J=r.runOnLoop||r.runOnContext,l()}catch(n){return d()}}function g(){}function b(){return new TypeError("You cannot resolve a promise with itself")}function v(){return new TypeError("A promises callback cannot return that same promise.")}function w(t){try{return t.then}catch(e){return st.error=e,st}}function _(t,e,r,n){try{t.call(e,r,n)}catch(o){return o}}function O(t,e,r){V(function(t){var n=!1,o=_(r,e,function(r){n||(n=!0,e!==r?A(t,r):T(t,r))},function(e){n||(n=!0,P(t,e))},"Settle: "+(t._label||" unknown promise"));!n&&o&&(n=!0,P(t,o))},t)}function j(t,e){e._state===ot?T(t,e._result):e._state===it?P(t,e._result):S(e,void 0,function(e){A(t,e)},function(e){P(t,e)})}function x(t,e){if(e.constructor===t.constructor)j(t,e);else{var r=w(e);r===st?P(t,st.error):void 0===r?T(t,e):s(r)?O(t,e,r):T(t,e)}}function A(t,e){t===e?P(t,b()):i(e)?x(t,e):T(t,e)}function E(t){t._onerror&&t._onerror(t._result),D(t)}function T(t,e){t._state===nt&&(t._result=e,t._state=ot,0!==t._subscribers.length&&V(D,t))}function P(t,e){t._state===nt&&(t._state=it,t._result=e,V(E,t))}function S(t,e,r,n){var o=t._subscribers,i=o.length;t._onerror=null,o[i]=e,o[i+ot]=r,o[i+it]=n,0===i&&t._state&&V(D,t)}function D(t){var e=t._subscribers,r=t._state;if(0!==e.length){for(var n,o,i=t._result,s=0;s<e.length;s+=3)n=e[s],o=e[s+r],n?R(r,n,o,i):o(i);t._subscribers.length=0}}function U(){this.error=null}function N(t,e){try{return t(e)}catch(r){return ut.error=r,ut}}function R(t,e,r,n){var o,i,u,a,c=s(r);if(c){if(o=N(r,n),o===ut?(a=!0,i=o.error,o=null):u=!0,e===o)return void P(e,v())}else o=n,u=!0;e._state!==nt||(c&&u?A(e,o):a?P(e,i):t===ot?T(e,o):t===it&&P(e,o))}function B(t,e){try{e(function(e){A(t,e)},function(e){P(t,e)})}catch(r){P(t,r)}}function H(t,e){var r=this;r._instanceConstructor=t,r.promise=new t(g),r._validateInput(e)?(r._input=e,r.length=e.length,r._remaining=e.length,r._init(),0===r.length?T(r.promise,r._result):(r.length=r.length||0,r._enumerate(),0===r._remaining&&T(r.promise,r._result))):P(r.promise,r._validationError())}function k(t){return new at(this,t).promise}function L(t){function e(t){A(o,t)}function r(t){P(o,t)}var n=this,o=new n(g);if(!X(t))return P(o,new TypeError("You must pass an array to race.")),o;for(var i=t.length,s=0;o._state===nt&&i>s;s++)S(n.resolve(t[s]),void 0,e,r);return o}function C(t){var e=this;if(t&&"object"==typeof t&&t.constructor===e)return t;var r=new e(g);return A(r,t),r}function q(t){var e=this,r=new e(g);return P(r,t),r}function F(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}function z(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}function I(t){this._id=ht++,this._state=void 0,this._result=void 0,this._subscribers=[],g!==t&&(s(t)||F(),this instanceof I||z(),B(this,t))}function M(){var t;if("undefined"!=typeof o)t=o;else if("undefined"!=typeof self)t=self;else try{t=Function("return this")()}catch(e){throw new Error("polyfill failed because global object is unavailable in this environment")}var r=t.Promise;(!r||"[object Promise]"!==Object.prototype.toString.call(r.resolve())||r.cast)&&(t.Promise=dt)}var G;G=Array.isArray?Array.isArray:function(t){return"[object Array]"===Object.prototype.toString.call(t)};var J,$,K,X=G,Y=0,V=({}.toString,function(t,e){rt[Y]=t,rt[Y+1]=e,Y+=2,2===Y&&($?$(y):K())}),Z="undefined"!=typeof window?window:void 0,W=Z||{},Q=W.MutationObserver||W.WebKitMutationObserver,tt="undefined"!=typeof n&&"[object process]"==={}.toString.call(n),et="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel,rt=new Array(1e3);K=tt?f():Q?p():et?h():void 0===Z&&"function"==typeof e?m():d();var nt=void 0,ot=1,it=2,st=new U,ut=new U;H.prototype._validateInput=function(t){return X(t)},H.prototype._validationError=function(){return new Error("Array Methods must be provided an Array")},H.prototype._init=function(){this._result=new Array(this.length)};var at=H;H.prototype._enumerate=function(){for(var t=this,e=t.length,r=t.promise,n=t._input,o=0;r._state===nt&&e>o;o++)t._eachEntry(n[o],o)},H.prototype._eachEntry=function(t,e){var r=this,n=r._instanceConstructor;u(t)?t.constructor===n&&t._state!==nt?(t._onerror=null,r._settledAt(t._state,e,t._result)):r._willSettleAt(n.resolve(t),e):(r._remaining--,r._result[e]=t)},H.prototype._settledAt=function(t,e,r){var n=this,o=n.promise;o._state===nt&&(n._remaining--,t===it?P(o,r):n._result[e]=r),0===n._remaining&&T(o,n._result)},H.prototype._willSettleAt=function(t,e){var r=this;S(t,void 0,function(t){r._settledAt(ot,e,t)},function(t){r._settledAt(it,e,t)})};var ct=k,ft=L,lt=C,pt=q,ht=0,dt=I;I.all=ct,I.race=ft,I.resolve=lt,I.reject=pt,I._setScheduler=a,I._setAsap=c,I._asap=V,I.prototype={constructor:I,then:function(t,e){var r=this,n=r._state;if(n===ot&&!t||n===it&&!e)return this;var o=new this.constructor(g),i=r._result;if(n){var s=arguments[n-1];V(function(){R(n,o,s,i)})}else S(r,o,t,e);return o},"catch":function(t){return this.then(null,t)}};var yt=M,mt={Promise:dt,polyfill:yt};"function"==typeof t&&t.amd?t(function(){return mt}):"undefined"!=typeof r&&r.exports?r.exports=mt:"undefined"!=typeof this&&(this.ES6Promise=mt),yt()}).call(this)}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{_process:7}],11:[function(t,e,r){var n=t("./stringify"),o=t("./parse");e.exports={stringify:n,parse:o}},{"./parse":12,"./stringify":13}],12:[function(t,e,r){var n=t("./utils"),o={delimiter:"&",depth:5,arrayLimit:20,parameterLimit:1e3,strictNullHandling:!1,plainObjects:!1,allowPrototypes:!1,allowDots:!1};o.parseValues=function(t,e){for(var r={},o=t.split(e.delimiter,e.parameterLimit===1/0?void 0:e.parameterLimit),i=0,s=o.length;s>i;++i){var u=o[i],a=-1===u.indexOf("]=")?u.indexOf("="):u.indexOf("]=")+1;if(-1===a)r[n.decode(u)]="",e.strictNullHandling&&(r[n.decode(u)]=null);else{var c=n.decode(u.slice(0,a)),f=n.decode(u.slice(a+1));Object.prototype.hasOwnProperty.call(r,c)?r[c]=[].concat(r[c]).concat(f):r[c]=f}}return r},o.parseObject=function(t,e,r){if(!t.length)return e;var n,i=t.shift();if("[]"===i)n=[],n=n.concat(o.parseObject(t,e,r));else{n=r.plainObjects?Object.create(null):{};var s="["===i[0]&&"]"===i[i.length-1]?i.slice(1,i.length-1):i,u=parseInt(s,10),a=""+u;!isNaN(u)&&i!==s&&a===s&&u>=0&&r.parseArrays&&u<=r.arrayLimit?(n=[],n[u]=o.parseObject(t,e,r)):n[s]=o.parseObject(t,e,r)}return n},o.parseKeys=function(t,e,r){if(t){r.allowDots&&(t=t.replace(/\.([^\.\[]+)/g,"[$1]"));var n=/^([^\[\]]*)/,i=/(\[[^\[\]]*\])/g,s=n.exec(t),u=[];if(s[1]){if(!r.plainObjects&&Object.prototype.hasOwnProperty(s[1])&&!r.allowPrototypes)return;u.push(s[1])}for(var a=0;null!==(s=i.exec(t))&&a<r.depth;)++a,(r.plainObjects||!Object.prototype.hasOwnProperty(s[1].replace(/\[|\]/g,""))||r.allowPrototypes)&&u.push(s[1]);return s&&u.push("["+t.slice(s.index)+"]"),o.parseObject(u,e,r)}},e.exports=function(t,e){if(e=e||{},e.delimiter="string"==typeof e.delimiter||n.isRegExp(e.delimiter)?e.delimiter:o.delimiter,e.depth="number"==typeof e.depth?e.depth:o.depth,e.arrayLimit="number"==typeof e.arrayLimit?e.arrayLimit:o.arrayLimit,e.parseArrays=e.parseArrays!==!1,e.allowDots="boolean"==typeof e.allowDots?e.allowDots:o.allowDots,e.plainObjects="boolean"==typeof e.plainObjects?e.plainObjects:o.plainObjects,e.allowPrototypes="boolean"==typeof e.allowPrototypes?e.allowPrototypes:o.allowPrototypes,e.parameterLimit="number"==typeof e.parameterLimit?e.parameterLimit:o.parameterLimit,e.strictNullHandling="boolean"==typeof e.strictNullHandling?e.strictNullHandling:o.strictNullHandling,""===t||null===t||"undefined"==typeof t)return e.plainObjects?Object.create(null):{};for(var r="string"==typeof t?o.parseValues(t,e):t,i=e.plainObjects?Object.create(null):{},s=Object.keys(r),u=0,a=s.length;a>u;++u){var c=s[u],f=o.parseKeys(c,r[c],e);i=n.merge(i,f,e)}return n.compact(i)}},{"./utils":14}],13:[function(t,e,r){var n=t("./utils"),o={delimiter:"&",arrayPrefixGenerators:{brackets:function(t,e){return t+"[]"},indices:function(t,e){return t+"["+e+"]"},repeat:function(t,e){return t}},strictNullHandling:!1,skipNulls:!1,encode:!0};o.stringify=function(t,e,r,i,s,u,a,c){if("function"==typeof a)t=a(e,t);else if(n.isBuffer(t))t=t.toString();else if(t instanceof Date)t=t.toISOString();else if(null===t){if(i)return u?n.encode(e):e;t=""}if("string"==typeof t||"number"==typeof t||"boolean"==typeof t)return u?[n.encode(e)+"="+n.encode(t)]:[e+"="+t];var f=[];if("undefined"==typeof t)return f;var l;if(Array.isArray(a))l=a;else{var p=Object.keys(t);l=c?p.sort(c):p}for(var h=0,d=l.length;d>h;++h){var y=l[h];s&&null===t[y]||(f=Array.isArray(t)?f.concat(o.stringify(t[y],r(e,y),r,i,s,u,a)):f.concat(o.stringify(t[y],e+"["+y+"]",r,i,s,u,a)))}return f},e.exports=function(t,e){e=e||{};var r,n,i="undefined"==typeof e.delimiter?o.delimiter:e.delimiter,s="boolean"==typeof e.strictNullHandling?e.strictNullHandling:o.strictNullHandling,u="boolean"==typeof e.skipNulls?e.skipNulls:o.skipNulls,a="boolean"==typeof e.encode?e.encode:o.encode,c="function"==typeof e.sort?e.sort:null;"function"==typeof e.filter?(n=e.filter,t=n("",t)):Array.isArray(e.filter)&&(r=n=e.filter);var f=[];if("object"!=typeof t||null===t)return"";var l;l=e.arrayFormat in o.arrayPrefixGenerators?e.arrayFormat:"indices"in e?e.indices?"indices":"repeat":"indices";var p=o.arrayPrefixGenerators[l];r||(r=Object.keys(t)),c&&r.sort(c);for(var h=0,d=r.length;d>h;++h){var y=r[h];u&&null===t[y]||(f=f.concat(o.stringify(t[y],y,p,s,u,a,n,c)))}return f.join(i)}},{"./utils":14}],14:[function(t,e,r){var n={};n.hexTable=new Array(256);for(var o=0;256>o;++o)n.hexTable[o]="%"+((16>o?"0":"")+o.toString(16)).toUpperCase();r.arrayToObject=function(t,e){for(var r=e.plainObjects?Object.create(null):{},n=0,o=t.length;o>n;++n)"undefined"!=typeof t[n]&&(r[n]=t[n]);return r},r.merge=function(t,e,n){if(!e)return t;if("object"!=typeof e)return Array.isArray(t)?t.push(e):"object"==typeof t?t[e]=!0:t=[t,e],t;if("object"!=typeof t)return t=[t].concat(e);Array.isArray(t)&&!Array.isArray(e)&&(t=r.arrayToObject(t,n));for(var o=Object.keys(e),i=0,s=o.length;s>i;++i){var u=o[i],a=e[u];Object.prototype.hasOwnProperty.call(t,u)?t[u]=r.merge(t[u],a,n):t[u]=a}return t},r.decode=function(t){try{return decodeURIComponent(t.replace(/\+/g," "))}catch(e){return t}},r.encode=function(t){if(0===t.length)return t;"string"!=typeof t&&(t=""+t);for(var e="",r=0,o=t.length;o>r;++r){var i=t.charCodeAt(r);45===i||46===i||95===i||126===i||i>=48&&57>=i||i>=65&&90>=i||i>=97&&122>=i?e+=t[r]:128>i?e+=n.hexTable[i]:2048>i?e+=n.hexTable[192|i>>6]+n.hexTable[128|63&i]:55296>i||i>=57344?e+=n.hexTable[224|i>>12]+n.hexTable[128|i>>6&63]+n.hexTable[128|63&i]:(++r,i=65536+((1023&i)<<10|1023&t.charCodeAt(r)),e+=n.hexTable[240|i>>18]+n.hexTable[128|i>>12&63]+n.hexTable[128|i>>6&63]+n.hexTable[128|63&i])}return e},r.compact=function(t,e){if("object"!=typeof t||null===t)return t;e=e||[];var n=e.indexOf(t);if(-1!==n)return e[n];if(e.push(t),Array.isArray(t)){for(var o=[],i=0,s=t.length;s>i;++i)"undefined"!=typeof t[i]&&o.push(t[i]);return o}var u=Object.keys(t);for(i=0,s=u.length;s>i;++i){var a=u[i];t[a]=r.compact(t[a],e)}return t},r.isRegExp=function(t){return"[object RegExp]"===Object.prototype.toString.call(t)},r.isBuffer=function(t){return null===t||"undefined"==typeof t?!1:!!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t))}},{}],15:[function(t,e,r){!function(t){"use strict";function e(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(t))throw new TypeError("Invalid character in header field name");return t.toLowerCase()}function r(t){return"string"!=typeof t&&(t=String(t)),t}function n(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return y.iterable&&(e[Symbol.iterator]=function(){return e}),e}function o(t){this.map={},t instanceof o?t.forEach(function(t,e){this.append(e,t)},this):t&&Object.getOwnPropertyNames(t).forEach(function(e){this.append(e,t[e])},this)}function i(t){return t.bodyUsed?Promise.reject(new TypeError("Already read")):void(t.bodyUsed=!0)}function s(t){return new Promise(function(e,r){t.onload=function(){e(t.result)},t.onerror=function(){r(t.error)}})}function u(t){var e=new FileReader;return e.readAsArrayBuffer(t),s(e)}function a(t){var e=new FileReader;return e.readAsText(t),s(e)}function c(){return this.bodyUsed=!1,this._initBody=function(t){if(this._bodyInit=t,"string"==typeof t)this._bodyText=t;else if(y.blob&&Blob.prototype.isPrototypeOf(t))this._bodyBlob=t;else if(y.formData&&FormData.prototype.isPrototypeOf(t))this._bodyFormData=t;else if(y.searchParams&&URLSearchParams.prototype.isPrototypeOf(t))this._bodyText=t.toString();else if(t){if(!y.arrayBuffer||!ArrayBuffer.prototype.isPrototypeOf(t))throw new Error("unsupported BodyInit type")}else this._bodyText="";this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):y.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},y.blob?(this.blob=function(){var t=i(this);if(t)return t;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this.blob().then(u)},this.text=function(){var t=i(this);if(t)return t;if(this._bodyBlob)return a(this._bodyBlob);if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)}):this.text=function(){var t=i(this);return t?t:Promise.resolve(this._bodyText)},y.formData&&(this.formData=function(){return this.text().then(p)}),this.json=function(){return this.text().then(JSON.parse)},this}function f(t){var e=t.toUpperCase();return m.indexOf(e)>-1?e:t}function l(t,e){e=e||{};var r=e.body;if(l.prototype.isPrototypeOf(t)){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,e.headers||(this.headers=new o(t.headers)),this.method=t.method,this.mode=t.mode,r||(r=t._bodyInit,t.bodyUsed=!0)}else this.url=t;if(this.credentials=e.credentials||this.credentials||"omit",(e.headers||!this.headers)&&(this.headers=new o(e.headers)),this.method=f(e.method||this.method||"GET"),this.mode=e.mode||this.mode||null,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&r)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(r)}function p(t){var e=new FormData;return t.trim().split("&").forEach(function(t){if(t){var r=t.split("="),n=r.shift().replace(/\+/g," "),o=r.join("=").replace(/\+/g," ");e.append(decodeURIComponent(n),decodeURIComponent(o))}}),e}function h(t){var e=new o,r=(t.getAllResponseHeaders()||"").trim().split("\n");return r.forEach(function(t){var r=t.trim().split(":"),n=r.shift().trim(),o=r.join(":").trim();e.append(n,o)}),e}function d(t,e){e||(e={}),this.type="default",this.status=e.status,this.ok=this.status>=200&&this.status<300,
this.statusText=e.statusText,this.headers=e.headers instanceof o?e.headers:new o(e.headers),this.url=e.url||"",this._initBody(t)}if(!t.fetch){var y={searchParams:"URLSearchParams"in t,iterable:"Symbol"in t&&"iterator"in Symbol,blob:"FileReader"in t&&"Blob"in t&&function(){try{return new Blob,!0}catch(t){return!1}}(),formData:"FormData"in t,arrayBuffer:"ArrayBuffer"in t};o.prototype.append=function(t,n){t=e(t),n=r(n);var o=this.map[t];o||(o=[],this.map[t]=o),o.push(n)},o.prototype["delete"]=function(t){delete this.map[e(t)]},o.prototype.get=function(t){var r=this.map[e(t)];return r?r[0]:null},o.prototype.getAll=function(t){return this.map[e(t)]||[]},o.prototype.has=function(t){return this.map.hasOwnProperty(e(t))},o.prototype.set=function(t,n){this.map[e(t)]=[r(n)]},o.prototype.forEach=function(t,e){Object.getOwnPropertyNames(this.map).forEach(function(r){this.map[r].forEach(function(n){t.call(e,n,r,this)},this)},this)},o.prototype.keys=function(){var t=[];return this.forEach(function(e,r){t.push(r)}),n(t)},o.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),n(t)},o.prototype.entries=function(){var t=[];return this.forEach(function(e,r){t.push([r,e])}),n(t)},y.iterable&&(o.prototype[Symbol.iterator]=o.prototype.entries);var m=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];l.prototype.clone=function(){return new l(this)},c.call(l.prototype),c.call(d.prototype),d.prototype.clone=function(){return new d(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new o(this.headers),url:this.url})},d.error=function(){var t=new d(null,{status:0,statusText:""});return t.type="error",t};var g=[301,302,303,307,308];d.redirect=function(t,e){if(-1===g.indexOf(e))throw new RangeError("Invalid status code");return new d(null,{status:e,headers:{location:t}})},t.Headers=o,t.Request=l,t.Response=d,t.fetch=function(t,e){return new Promise(function(r,n){function o(){return"responseURL"in s?s.responseURL:/^X-Request-URL:/m.test(s.getAllResponseHeaders())?s.getResponseHeader("X-Request-URL"):void 0}var i;i=l.prototype.isPrototypeOf(t)&&!e?t:new l(t,e);var s=new XMLHttpRequest;s.onload=function(){var t={status:s.status,statusText:s.statusText,headers:h(s),url:o()},e="response"in s?s.response:s.responseText;r(new d(e,t))},s.onerror=function(){n(new TypeError("Network request failed"))},s.ontimeout=function(){n(new TypeError("Network request failed"))},s.open(i.method,i.url,!0),"include"===i.credentials&&(s.withCredentials=!0),"responseType"in s&&y.blob&&(s.responseType="blob"),i.headers.forEach(function(t,e){s.setRequestHeader(e,t)}),s.send("undefined"==typeof i._bodyInit?null:i._bodyInit)})},t.fetch.polyfill=!0}}("undefined"!=typeof self?self:this)},{}]},{},[1])(1)});
!function(t){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var e;e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this,e.AssClient=t()}}(function(){var t;return function(){function t(e,r,n){function o(s,u){if(!r[s]){if(!e[s]){var a="function"==typeof require&&require;if(!u&&a)return a(s,!0);if(i)return i(s,!0);var c=new Error("Cannot find module '"+s+"'");throw c.code="MODULE_NOT_FOUND",c}var f=r[s]={exports:{}};e[s][0].call(f.exports,function(t){var r=e[s][1][t];return o(r||t)},f,f.exports,t,e,r,n)}return r[s].exports}for(var i="function"==typeof require&&require,s=0;s<n.length;s++)o(n[s]);return o}return t}()({1:[function(t,e,r){"use strict";function n(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);return t}function o(t){this.httpBaseUrl=t.httpUrl,this.httpsBaseUrl=t.httpsUrl,this.accessToken=t.accessToken,this.username=t.username}var i=t("./lib/browser/request"),s=t("qs"),u=t("./lib/browser/crypto"),a=t("util").format,c=t("path"),f=c.posix?c.posix.join:c.join;o.prototype.getDefaultHeaders=function(t){var e={Authorization:"bearer "+this.accessToken};return t&&Object.keys(t).forEach(function(r){e[r]=t[r]}),e},o.prototype.upload=function(t,e,r){return i.postFile(this.getUrl(t),e,this.getDefaultHeaders(r))},o.prototype.uploadFile=function(t,e,r){var n="/files";return e&&(n+="/"===e.charAt(0)?e:"/"+e),this.upload(n,t,r)},o.prototype.uploadImage=function(t,e){return this.upload("/images",t,e)},o.prototype.request=function(t,e){return e=n({},e),e.url=this.getUrl(t,e.http),e.headers=this.getRequestHeaders(e.headers),delete e.http,i(e)},o.prototype.getRequestHeaders=function(t){return this.getDefaultHeaders(n({"Content-Type":"application/json"},t))},o.prototype.get=function(t,e){return this.request(t,n({method:"GET"},e))},o.prototype["delete"]=function(t,e){return this.request(t,n({method:"DELETE"},e))},o.prototype.head=function(t,e){return this.request(t,n({method:"HEAD"},e))},o.prototype.post=function(t,e,r){return this.request(t,n({method:"POST",body:e},r))},o.prototype.put=function(t,e,r){return this.request(t,n({method:"PUT",body:e},r))},o.prototype.patch=function(t,e,r){return this.request(t,n({method:"PATCH",body:e},r))},o.prototype.getUrl=function(t,e){return(e?this.httpBaseUrl:this.httpsBaseUrl)+f("/",t)},o.prototype.createImageUrl=function(t,e,r){r=r?r:{},r.https="boolean"==typeof r.https&&r.https,r.encode="boolean"==typeof r.encode&&r.encode;var n=this.getUrl(a("/users/%s/images/%s.jpg",this.username,t),!r.https);return e&&(n+="?"+s.stringify({t:e},{encode:!1})),(r.encode?encodeURI(n):n)+(e?"&":"?")+"accessToken="+this.createSignature(n)},o.prototype.createSignature=function(t){return u.sha256(this.accessToken,t)},e.exports=function(t){return new o(t)}},{"./lib/browser/crypto":2,"./lib/browser/request":3,path:7,qs:10,util:15}],2:[function(t,e,r){"use strict";var n=t("./sha");e.exports={sha256:function(t,e){return n.sha256hmac(t,e)}}},{"./sha":4}],3:[function(t,e,r){"use strict";function n(t){var e=t.body;try{e=JSON.stringify(e)}catch(r){}return o(t.timeout,t.url,fetch(t.url,{method:t.method,headers:t.headers,timeout:t.timeout,body:e})).then(function(e){return i(t.url,e)})}function o(t,e,r){return new Promise(function(n,o){t&&setTimeout(function(){o(new u("Connect timeout occurred when requesting url: "+e,"timeout"))},t),r.then(n,o)})}function i(t,e){return e.text().then(function(r){var n=!0;try{r=JSON.parse(r)}catch(o){n=!1}if(!e.ok)throw new s("Request to "+t+" failed. code: "+e.status,r,e);if(!n)throw new s("Unable to parse json from url: "+t,r,e);return r})}function s(t,e,r){var n={};r.headers.forEach(function(t,e){n[t]=e}),this.message=t,this.name="ResponseError",this.response={body:e,headers:n},this.statusCode=r.status}function u(t,e){this.message=t,this.code=e,this.name="ConnectionError"}t("es6-promise").polyfill(),t("whatwg-fetch"),n.postFile=function(t,e,r){var n=new FormData;return n.append("file",e),fetch(t,{method:"POST",headers:r,body:n}).then(function(e){return i(t,e)})},n.ResponseError=s,n.ConnectionError=u,e.exports=n},{"es6-promise":5,"whatwg-fetch":16}],4:[function(t,e,r){"use strict";var n=8,o=function(t,e){var r=(65535&t)+(65535&e),n=(t>>16)+(e>>16)+(r>>16);return n<<16|65535&r},i=function(t,e){return t>>>e|t<<32-e},s=function(t,e){return t>>>e},u=function(t,e,r){return t&e^~t&r},a=function(t,e,r){return t&e^t&r^e&r},c=function(t){return i(t,2)^i(t,13)^i(t,22)},f=function(t){return i(t,6)^i(t,11)^i(t,25)},l=function(t){return i(t,7)^i(t,18)^s(t,3)},p=function(t){return i(t,17)^i(t,19)^s(t,10)},h=function(t,e){var r,n,i,s,h,d,y,b,m,g,v,w,A=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],_=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],O=new Array(64);for(t[e>>5]|=128<<24-e%32,t[(e+64>>9<<4)+15]=e,m=0;m<t.length;m+=16){for(r=_[0],n=_[1],i=_[2],s=_[3],h=_[4],d=_[5],y=_[6],b=_[7],g=0;g<64;g++)g<16?O[g]=t[g+m]:O[g]=o(o(o(p(O[g-2]),O[g-7]),l(O[g-15])),O[g-16]),v=o(o(o(o(b,f(h)),u(h,d,y)),A[g]),O[g]),w=o(c(r),a(r,n,i)),b=y,y=d,d=h,h=o(s,v),s=i,i=n,n=r,r=o(v,w);_[0]=o(r,_[0]),_[1]=o(n,_[1]),_[2]=o(i,_[2]),_[3]=o(s,_[3]),_[4]=o(h,_[4]),_[5]=o(d,_[5]),_[6]=o(y,_[6]),_[7]=o(b,_[7])}return _},d=function(t){for(var e=[],r=(1<<n)-1,o=0;o<t.length*n;o+=n)e[o>>5]|=(t.charCodeAt(o/n)&r)<<24-o%32;return e},y=function(t){for(var e="0123456789abcdef",r="",n=0;n<4*t.length;n++)r+=e.charAt(t[n>>2]>>8*(3-n%4)+4&15)+e.charAt(t[n>>2]>>8*(3-n%4)&15);return r},b=function(t,e){var r=d(t);r.length>16&&(r=h(r,t.length*n));for(var o=new Array(16),i=new Array(16),s=0;s<16;s++)o[s]=909522486^r[s],i[s]=1549556828^r[s];var u=h(o.concat(d(e)),512+e.length*n);return h(i.concat(u),768)};r.sha256hmac=function(t,e){return y(b(t,e))}},{}],5:[function(e,r,n){(function(o,i){!function(e,o){"object"==typeof n&&"undefined"!=typeof r?r.exports=o():"function"==typeof t&&t.amd?t(o):e.ES6Promise=o()}(this,function(){"use strict";function t(t){return"function"==typeof t||"object"==typeof t&&null!==t}function r(t){return"function"==typeof t}function n(t){W=t}function s(t){Y=t}function u(){return function(){return o.nextTick(p)}}function a(){return function(){V(p)}}function c(){var t=0,e=new Z(p),r=document.createTextNode("");return e.observe(r,{characterData:!0}),function(){r.data=t=++t%2}}function f(){var t=new MessageChannel;return t.port1.onmessage=p,function(){return t.port2.postMessage(0)}}function l(){var t=setTimeout;return function(){return t(p,1)}}function p(){for(var t=0;t<Q;t+=2){var e=rt[t],r=rt[t+1];e(r),rt[t]=void 0,rt[t+1]=void 0}Q=0}function h(){try{var t=e,r=t("vertx");return V=r.runOnLoop||r.runOnContext,a()}catch(n){return l()}}function d(t,e){var r=arguments,n=this,o=new this.constructor(b);void 0===o[ot]&&N(o);var i=n._state;return i?!function(){var t=r[i-1];Y(function(){return U(i,o,t,n._result)})}():S(n,o,t,e),o}function y(t){var e=this;if(t&&"object"==typeof t&&t.constructor===e)return t;var r=new e(b);return j(r,t),r}function b(){}function m(){return new TypeError("You cannot resolve a promise with itself")}function g(){return new TypeError("A promises callback cannot return that same promise.")}function v(t){try{return t.then}catch(e){return at.error=e,at}}function w(t,e,r,n){try{t.call(e,r,n)}catch(o){return o}}function A(t,e,r){Y(function(t){var n=!1,o=w(r,e,function(r){n||(n=!0,e!==r?j(t,r):x(t,r))},function(e){n||(n=!0,T(t,e))},"Settle: "+(t._label||" unknown promise"));!n&&o&&(n=!0,T(t,o))},t)}function _(t,e){e._state===st?x(t,e._result):e._state===ut?T(t,e._result):S(e,void 0,function(e){return j(t,e)},function(e){return T(t,e)})}function O(t,e,n){e.constructor===t.constructor&&n===d&&e.constructor.resolve===y?_(t,e):n===at?T(t,at.error):void 0===n?x(t,e):r(n)?A(t,e,n):x(t,e)}function j(e,r){e===r?T(e,m()):t(r)?O(e,r,v(r)):x(e,r)}function E(t){t._onerror&&t._onerror(t._result),D(t)}function x(t,e){t._state===it&&(t._result=e,t._state=st,0!==t._subscribers.length&&Y(D,t))}function T(t,e){t._state===it&&(t._state=ut,t._result=e,Y(E,t))}function S(t,e,r,n){var o=t._subscribers,i=o.length;t._onerror=null,o[i]=e,o[i+st]=r,o[i+ut]=n,0===i&&t._state&&Y(D,t)}function D(t){var e=t._subscribers,r=t._state;if(0!==e.length){for(var n=void 0,o=void 0,i=t._result,s=0;s<e.length;s+=3)n=e[s],o=e[s+r],n?U(r,n,o,i):o(i);t._subscribers.length=0}}function P(){this.error=null}function B(t,e){try{return t(e)}catch(r){return ct.error=r,ct}}function U(t,e,n,o){var i=r(n),s=void 0,u=void 0,a=void 0,c=void 0;if(i){if(s=B(n,o),s===ct?(c=!0,u=s.error,s=null):a=!0,e===s)return void T(e,g())}else s=o,a=!0;e._state!==it||(i&&a?j(e,s):c?T(e,u):t===st?x(e,s):t===ut&&T(e,s))}function C(t,e){try{e(function(e){j(t,e)},function(e){T(t,e)})}catch(r){T(t,r)}}function R(){return ft++}function N(t){t[ot]=ft++,t._state=void 0,t._result=void 0,t._subscribers=[]}function k(t,e){this._instanceConstructor=t,this.promise=new t(b),this.promise[ot]||N(this.promise),$(e)?(this._input=e,this.length=e.length,this._remaining=e.length,this._result=new Array(this.length),0===this.length?x(this.promise,this._result):(this.length=this.length||0,this._enumerate(),0===this._remaining&&x(this.promise,this._result))):T(this.promise,F())}function F(){return new Error("Array Methods must be provided an Array")}function L(t){return new k(this,t).promise}function H(t){var e=this;return new e($(t)?function(r,n){for(var o=t.length,i=0;i<o;i++)e.resolve(t[i]).then(r,n)}:function(t,e){return e(new TypeError("You must pass an array to race."))})}function z(t){var e=this,r=new e(b);return T(r,t),r}function I(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}function q(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}function M(t){this[ot]=R(),this._result=this._state=void 0,this._subscribers=[],b!==t&&("function"!=typeof t&&I(),this instanceof M?C(this,t):q())}function G(){var t=void 0;if("undefined"!=typeof i)t=i;else if("undefined"!=typeof self)t=self;else try{t=Function("return this")()}catch(e){throw new Error("polyfill failed because global object is unavailable in this environment")}var r=t.Promise;if(r){var n=null;try{n=Object.prototype.toString.call(r.resolve())}catch(e){}if("[object Promise]"===n&&!r.cast)return}t.Promise=M}var J=void 0;J=Array.isArray?Array.isArray:function(t){return"[object Array]"===Object.prototype.toString.call(t)};var $=J,Q=0,V=void 0,W=void 0,Y=function(t,e){rt[Q]=t,rt[Q+1]=e,Q+=2,2===Q&&(W?W(p):nt())},K="undefined"!=typeof window?window:void 0,X=K||{},Z=X.MutationObserver||X.WebKitMutationObserver,tt="undefined"==typeof self&&"undefined"!=typeof o&&"[object process]"==={}.toString.call(o),et="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel,rt=new Array(1e3),nt=void 0;nt=tt?u():Z?c():et?f():void 0===K&&"function"==typeof e?h():l();var ot=Math.random().toString(36).substring(16),it=void 0,st=1,ut=2,at=new P,ct=new P,ft=0;return k.prototype._enumerate=function(){for(var t=this.length,e=this._input,r=0;this._state===it&&r<t;r++)this._eachEntry(e[r],r)},k.prototype._eachEntry=function(t,e){var r=this._instanceConstructor,n=r.resolve;if(n===y){var o=v(t);if(o===d&&t._state!==it)this._settledAt(t._state,e,t._result);else if("function"!=typeof o)this._remaining--,this._result[e]=t;else if(r===M){var i=new r(b);O(i,t,o),this._willSettleAt(i,e)}else this._willSettleAt(new r(function(e){return e(t)}),e)}else this._willSettleAt(n(t),e)},k.prototype._settledAt=function(t,e,r){var n=this.promise;n._state===it&&(this._remaining--,t===ut?T(n,r):this._result[e]=r),0===this._remaining&&x(n,this._result)},k.prototype._willSettleAt=function(t,e){var r=this;S(t,void 0,function(t){return r._settledAt(st,e,t)},function(t){return r._settledAt(ut,e,t)})},M.all=L,M.race=H,M.resolve=y,M.reject=z,M._setScheduler=n,M._setAsap=s,M._asap=Y,M.prototype={constructor:M,then:d,"catch":function(t){return this.then(null,t)}},G(),M.polyfill=G,M.Promise=M,M})}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{_process:8}],6:[function(t,e,r){"function"==typeof Object.create?e.exports=function(t,e){t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}})}:e.exports=function(t,e){t.super_=e;var r=function(){};r.prototype=e.prototype,t.prototype=new r,t.prototype.constructor=t}},{}],7:[function(t,e,r){(function(t){function e(t,e){for(var r=0,n=t.length-1;n>=0;n--){var o=t[n];"."===o?t.splice(n,1):".."===o?(t.splice(n,1),r++):r&&(t.splice(n,1),r--)}if(e)for(;r--;r)t.unshift("..");return t}function n(t){"string"!=typeof t&&(t+="");var e,r=0,n=-1,o=!0;for(e=t.length-1;e>=0;--e)if(47===t.charCodeAt(e)){if(!o){r=e+1;break}}else n===-1&&(o=!1,n=e+1);return n===-1?"":t.slice(r,n)}function o(t,e){if(t.filter)return t.filter(e);for(var r=[],n=0;n<t.length;n++)e(t[n],n,t)&&r.push(t[n]);return r}r.resolve=function(){for(var r="",n=!1,i=arguments.length-1;i>=-1&&!n;i--){var s=i>=0?arguments[i]:t.cwd();if("string"!=typeof s)throw new TypeError("Arguments to path.resolve must be strings");s&&(r=s+"/"+r,n="/"===s.charAt(0))}return r=e(o(r.split("/"),function(t){return!!t}),!n).join("/"),(n?"/":"")+r||"."},r.normalize=function(t){var n=r.isAbsolute(t),s="/"===i(t,-1);return t=e(o(t.split("/"),function(t){return!!t}),!n).join("/"),t||n||(t="."),t&&s&&(t+="/"),(n?"/":"")+t},r.isAbsolute=function(t){return"/"===t.charAt(0)},r.join=function(){var t=Array.prototype.slice.call(arguments,0);return r.normalize(o(t,function(t,e){if("string"!=typeof t)throw new TypeError("Arguments to path.join must be strings");return t}).join("/"))},r.relative=function(t,e){function n(t){for(var e=0;e<t.length&&""===t[e];e++);for(var r=t.length-1;r>=0&&""===t[r];r--);return e>r?[]:t.slice(e,r-e+1)}t=r.resolve(t).substr(1),e=r.resolve(e).substr(1);for(var o=n(t.split("/")),i=n(e.split("/")),s=Math.min(o.length,i.length),u=s,a=0;a<s;a++)if(o[a]!==i[a]){u=a;break}for(var c=[],a=u;a<o.length;a++)c.push("..");return c=c.concat(i.slice(u)),c.join("/")},r.sep="/",r.delimiter=":",r.dirname=function(t){if("string"!=typeof t&&(t+=""),0===t.length)return".";for(var e=t.charCodeAt(0),r=47===e,n=-1,o=!0,i=t.length-1;i>=1;--i)if(e=t.charCodeAt(i),47===e){if(!o){n=i;break}}else o=!1;return n===-1?r?"/":".":r&&1===n?"/":t.slice(0,n)},r.basename=function(t,e){var r=n(t);return e&&r.substr(-1*e.length)===e&&(r=r.substr(0,r.length-e.length)),r},r.extname=function(t){"string"!=typeof t&&(t+="");for(var e=-1,r=0,n=-1,o=!0,i=0,s=t.length-1;s>=0;--s){var u=t.charCodeAt(s);if(47!==u)n===-1&&(o=!1,n=s+1),46===u?e===-1?e=s:1!==i&&(i=1):e!==-1&&(i=-1);else if(!o){r=s+1;break}}return e===-1||n===-1||0===i||1===i&&e===n-1&&e===r+1?"":t.slice(e,n)};var i="b"==="ab".substr(-1)?function(t,e,r){return t.substr(e,r)}:function(t,e,r){return e<0&&(e=t.length+e),t.substr(e,r)}}).call(this,t("_process"))},{_process:8}],8:[function(t,e,r){function n(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function i(t){if(l===setTimeout)return setTimeout(t,0);if((l===n||!l)&&setTimeout)return l=setTimeout,setTimeout(t,0);try{return l(t,0)}catch(e){try{return l.call(null,t,0)}catch(e){return l.call(this,t,0)}}}function s(t){if(p===clearTimeout)return clearTimeout(t);if((p===o||!p)&&clearTimeout)return p=clearTimeout,clearTimeout(t);try{return p(t)}catch(e){try{return p.call(null,t)}catch(e){return p.call(this,t)}}}function u(){b&&d&&(b=!1,d.length?y=d.concat(y):m=-1,y.length&&a())}function a(){if(!b){var t=i(u);b=!0;for(var e=y.length;e;){for(d=y,y=[];++m<e;)d&&d[m].run();m=-1,e=y.length}d=null,b=!1,s(t)}}function c(t,e){this.fun=t,this.array=e}function f(){}var l,p,h=e.exports={};!function(){try{l="function"==typeof setTimeout?setTimeout:n}catch(t){l=n}try{p="function"==typeof clearTimeout?clearTimeout:o}catch(t){p=o}}();var d,y=[],b=!1,m=-1;h.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)e[r-1]=arguments[r];y.push(new c(t,e)),1!==y.length||b||i(a)},c.prototype.run=function(){this.fun.apply(null,this.array)},h.title="browser",h.browser=!0,h.env={},h.argv=[],h.version="",h.versions={},h.on=f,h.addListener=f,h.once=f,h.off=f,h.removeListener=f,h.removeAllListeners=f,h.emit=f,h.prependListener=f,h.prependOnceListener=f,h.listeners=function(t){return[]},h.binding=function(t){throw new Error("process.binding is not supported")},h.cwd=function(){return"/"},h.chdir=function(t){throw new Error("process.chdir is not supported")},h.umask=function(){return 0}},{}],9:[function(t,e,r){"use strict";var n=String.prototype.replace,o=/%20/g;e.exports={"default":"RFC3986",formatters:{RFC1738:function(t){return n.call(t,o,"+")},RFC3986:function(t){return t}},RFC1738:"RFC1738",RFC3986:"RFC3986"}},{}],10:[function(t,e,r){"use strict";var n=t("./stringify"),o=t("./parse"),i=t("./formats");e.exports={formats:i,parse:o,stringify:n}},{"./formats":9,"./parse":11,"./stringify":12}],11:[function(t,e,r){"use strict";var n=t("./utils"),o=Object.prototype.hasOwnProperty,i={allowDots:!1,allowPrototypes:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,decoder:n.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},s=function(t){return t.replace(/&#(\d+);/g,function(t,e){return String.fromCharCode(parseInt(e,10))})},u="utf8=%26%2310003%3B",a="utf8=%E2%9C%93",c=function(t,e){var r,c={},f=e.ignoreQueryPrefix?t.replace(/^\?/,""):t,l=e.parameterLimit===1/0?void 0:e.parameterLimit,p=f.split(e.delimiter,l),h=-1,d=e.charset;if(e.charsetSentinel)for(r=0;r<p.length;++r)0===p[r].indexOf("utf8=")&&(p[r]===a?d="utf-8":p[r]===u&&(d="iso-8859-1"),h=r,r=p.length);for(r=0;r<p.length;++r)if(r!==h){var y,b,m=p[r],g=m.indexOf("]="),v=g===-1?m.indexOf("="):g+1;v===-1?(y=e.decoder(m,i.decoder,d),b=e.strictNullHandling?null:""):(y=e.decoder(m.slice(0,v),i.decoder,d),b=e.decoder(m.slice(v+1),i.decoder,d)),b&&e.interpretNumericEntities&&"iso-8859-1"===d&&(b=s(b)),o.call(c,y)?c[y]=n.combine(c[y],b):c[y]=b}return c},f=function(t,e,r){for(var n=e,o=t.length-1;o>=0;--o){var i,s=t[o];if("[]"===s&&r.parseArrays)i=[].concat(n);else{i=r.plainObjects?Object.create(null):{};var u="["===s.charAt(0)&&"]"===s.charAt(s.length-1)?s.slice(1,-1):s,a=parseInt(u,10);r.parseArrays||""!==u?!isNaN(a)&&s!==u&&String(a)===u&&a>=0&&r.parseArrays&&a<=r.arrayLimit?(i=[],i[a]=n):i[u]=n:i={0:n}}n=i}return n},l=function(t,e,r){if(t){var n=r.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,i=/(\[[^[\]]*])/,s=/(\[[^[\]]*])/g,u=i.exec(n),a=u?n.slice(0,u.index):n,c=[];if(a){if(!r.plainObjects&&o.call(Object.prototype,a)&&!r.allowPrototypes)return;c.push(a)}for(var l=0;null!==(u=s.exec(n))&&l<r.depth;){if(l+=1,!r.plainObjects&&o.call(Object.prototype,u[1].slice(1,-1))&&!r.allowPrototypes)return;c.push(u[1])}return u&&c.push("["+n.slice(u.index)+"]"),f(c,e,r)}};e.exports=function(t,e){var r=e?n.assign({},e):{};if(null!==r.decoder&&void 0!==r.decoder&&"function"!=typeof r.decoder)throw new TypeError("Decoder has to be a function.");if(r.ignoreQueryPrefix=r.ignoreQueryPrefix===!0,r.delimiter="string"==typeof r.delimiter||n.isRegExp(r.delimiter)?r.delimiter:i.delimiter,r.depth="number"==typeof r.depth?r.depth:i.depth,r.arrayLimit="number"==typeof r.arrayLimit?r.arrayLimit:i.arrayLimit,r.parseArrays=r.parseArrays!==!1,r.decoder="function"==typeof r.decoder?r.decoder:i.decoder,r.allowDots="undefined"==typeof r.allowDots?i.allowDots:!!r.allowDots,r.plainObjects="boolean"==typeof r.plainObjects?r.plainObjects:i.plainObjects,r.allowPrototypes="boolean"==typeof r.allowPrototypes?r.allowPrototypes:i.allowPrototypes,r.parameterLimit="number"==typeof r.parameterLimit?r.parameterLimit:i.parameterLimit,r.strictNullHandling="boolean"==typeof r.strictNullHandling?r.strictNullHandling:i.strictNullHandling,"undefined"!=typeof r.charset&&"utf-8"!==r.charset&&"iso-8859-1"!==r.charset)throw new Error("The charset option must be either utf-8, iso-8859-1, or undefined");if("undefined"==typeof r.charset&&(r.charset=i.charset),""===t||null===t||"undefined"==typeof t)return r.plainObjects?Object.create(null):{};for(var o="string"==typeof t?c(t,r):t,s=r.plainObjects?Object.create(null):{},u=Object.keys(o),a=0;a<u.length;++a){var f=u[a],p=l(f,o[f],r);s=n.merge(s,p,r)}return n.compact(s)}},{"./utils":13}],12:[function(t,e,r){"use strict";var n=t("./utils"),o=t("./formats"),i={brackets:function(t){return t+"[]"},indices:function(t,e){return t+"["+e+"]"},repeat:function(t){return t}},s=Array.isArray,u=Array.prototype.push,a=function(t,e){u.apply(t,s(e)?e:[e])},c=Date.prototype.toISOString,f={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:n.encode,encodeValuesOnly:!1,indices:!1,serializeDate:function(t){return c.call(t)},skipNulls:!1,strictNullHandling:!1},l=function p(t,e,r,o,i,s,u,c,l,h,d,y,b){var m=t;if("function"==typeof u?m=u(e,m):m instanceof Date&&(m=h(m)),null===m){if(o)return s&&!y?s(e,f.encoder,b):e;m=""}if("string"==typeof m||"number"==typeof m||"boolean"==typeof m||n.isBuffer(m)){if(s){var g=y?e:s(e,f.encoder,b);return[d(g)+"="+d(s(m,f.encoder,b))]}return[d(e)+"="+d(String(m))]}var v=[];if("undefined"==typeof m)return v;var w;if(Array.isArray(u))w=u;else{var A=Object.keys(m);w=c?A.sort(c):A}for(var _=0;_<w.length;++_){var O=w[_];i&&null===m[O]||(Array.isArray(m)?a(v,p(m[O],r(e,O),r,o,i,s,u,c,l,h,d,y,b)):a(v,p(m[O],e+(l?"."+O:"["+O+"]"),r,o,i,s,u,c,l,h,d,y,b)))}return v};e.exports=function(t,e){var r=t,s=e?n.assign({},e):{};if(null!==s.encoder&&void 0!==s.encoder&&"function"!=typeof s.encoder)throw new TypeError("Encoder has to be a function.");var u="undefined"==typeof s.delimiter?f.delimiter:s.delimiter,c="boolean"==typeof s.strictNullHandling?s.strictNullHandling:f.strictNullHandling,p="boolean"==typeof s.skipNulls?s.skipNulls:f.skipNulls,h="boolean"==typeof s.encode?s.encode:f.encode,d="function"==typeof s.encoder?s.encoder:f.encoder,y="function"==typeof s.sort?s.sort:null,b="undefined"==typeof s.allowDots?f.allowDots:!!s.allowDots,m="function"==typeof s.serializeDate?s.serializeDate:f.serializeDate,g="boolean"==typeof s.encodeValuesOnly?s.encodeValuesOnly:f.encodeValuesOnly,v=s.charset||f.charset;if("undefined"!=typeof s.charset&&"utf-8"!==s.charset&&"iso-8859-1"!==s.charset)throw new Error("The charset option must be either utf-8, iso-8859-1, or undefined");if("undefined"==typeof s.format)s.format=o["default"];else if(!Object.prototype.hasOwnProperty.call(o.formatters,s.format))throw new TypeError("Unknown format option provided.");var w,A,_=o.formatters[s.format];"function"==typeof s.filter?(A=s.filter,r=A("",r)):Array.isArray(s.filter)&&(A=s.filter,w=A);var O=[];if("object"!=typeof r||null===r)return"";var j;j=s.arrayFormat in i?s.arrayFormat:"indices"in s?s.indices?"indices":"repeat":"indices";var E=i[j];w||(w=Object.keys(r)),y&&w.sort(y);for(var x=0;x<w.length;++x){var T=w[x];p&&null===r[T]||a(O,l(r[T],T,E,c,p,h?d:null,A,y,b,m,_,g,v))}var S=O.join(u),D=s.addQueryPrefix===!0?"?":"";return s.charsetSentinel&&(D+="iso-8859-1"===v?"utf8=%26%2310003%3B&":"utf8=%E2%9C%93&"),S.length>0?D+S:""}},{"./formats":9,"./utils":13}],13:[function(t,e,r){"use strict";var n=Object.prototype.hasOwnProperty,o=function(){for(var t=[],e=0;e<256;++e)t.push("%"+((e<16?"0":"")+e.toString(16)).toUpperCase());return t}(),i=function(t){for(;t.length>1;){var e=t.pop(),r=e.obj[e.prop];if(Array.isArray(r)){for(var n=[],o=0;o<r.length;++o)"undefined"!=typeof r[o]&&n.push(r[o]);e.obj[e.prop]=n}}},s=function(t,e){for(var r=e&&e.plainObjects?Object.create(null):{},n=0;n<t.length;++n)"undefined"!=typeof t[n]&&(r[n]=t[n]);return r},u=function y(t,e,r){if(!e)return t;if("object"!=typeof e){if(Array.isArray(t))t.push(e);else{if("object"!=typeof t)return[t,e];(r&&(r.plainObjects||r.allowPrototypes)||!n.call(Object.prototype,e))&&(t[e]=!0)}return t}if("object"!=typeof t)return[t].concat(e);var o=t;return Array.isArray(t)&&!Array.isArray(e)&&(o=s(t,r)),Array.isArray(t)&&Array.isArray(e)?(e.forEach(function(e,o){n.call(t,o)?t[o]&&"object"==typeof t[o]?t[o]=y(t[o],e,r):t.push(e):t[o]=e}),t):Object.keys(e).reduce(function(t,o){var i=e[o];return n.call(t,o)?t[o]=y(t[o],i,r):t[o]=i,t},o)},a=function(t,e){return Object.keys(e).reduce(function(t,r){return t[r]=e[r],t},t)},c=function(t,e,r){var n=t.replace(/\+/g," ");if("iso-8859-1"===r)return n.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(n)}catch(o){return n}},f=function(t,e,r){if(0===t.length)return t;var n="string"==typeof t?t:String(t);if("iso-8859-1"===r)return escape(n).replace(/%u[0-9a-f]{4}/gi,function(t){return"%26%23"+parseInt(t.slice(2),16)+"%3B"});for(var i="",s=0;s<n.length;++s){var u=n.charCodeAt(s);45===u||46===u||95===u||126===u||u>=48&&u<=57||u>=65&&u<=90||u>=97&&u<=122?i+=n.charAt(s):u<128?i+=o[u]:u<2048?i+=o[192|u>>6]+o[128|63&u]:u<55296||u>=57344?i+=o[224|u>>12]+o[128|u>>6&63]+o[128|63&u]:(s+=1,u=65536+((1023&u)<<10|1023&n.charCodeAt(s)),i+=o[240|u>>18]+o[128|u>>12&63]+o[128|u>>6&63]+o[128|63&u])}return i},l=function(t){for(var e=[{obj:{o:t},prop:"o"}],r=[],n=0;n<e.length;++n)for(var o=e[n],s=o.obj[o.prop],u=Object.keys(s),a=0;a<u.length;++a){var c=u[a],f=s[c];"object"==typeof f&&null!==f&&r.indexOf(f)===-1&&(e.push({obj:s,prop:c}),r.push(f))}return i(e),t},p=function(t){return"[object RegExp]"===Object.prototype.toString.call(t)},h=function(t){return null!==t&&"undefined"!=typeof t&&!!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t))},d=function(t,e){return[].concat(t,e)};e.exports={arrayToObject:s,assign:a,combine:d,compact:l,decode:c,encode:f,isBuffer:h,isRegExp:p,merge:u}},{}],14:[function(t,e,r){e.exports=function(t){return t&&"object"==typeof t&&"function"==typeof t.copy&&"function"==typeof t.fill&&"function"==typeof t.readUInt8}},{}],15:[function(t,e,r){(function(e,n){function o(t,e){var n={seen:[],stylize:s};return arguments.length>=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),y(e)?n.showHidden=e:e&&r._extend(n,e),A(n.showHidden)&&(n.showHidden=!1),A(n.depth)&&(n.depth=2),A(n.colors)&&(n.colors=!1),A(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=i),a(n,t,n.depth)}function i(t,e){var r=o.styles[e];return r?"["+o.colors[r][0]+"m"+t+"["+o.colors[r][1]+"m":t}function s(t,e){return t}function u(t){var e={};return t.forEach(function(t,r){e[t]=!0}),e}function a(t,e,n){if(t.customInspect&&e&&x(e.inspect)&&e.inspect!==r.inspect&&(!e.constructor||e.constructor.prototype!==e)){var o=e.inspect(n,t);return v(o)||(o=a(t,o,n)),o}var i=c(t,e);if(i)return i;var s=Object.keys(e),y=u(s);if(t.showHidden&&(s=Object.getOwnPropertyNames(e)),E(e)&&(s.indexOf("message")>=0||s.indexOf("description")>=0))return f(e);if(0===s.length){if(x(e)){var b=e.name?": "+e.name:"";return t.stylize("[Function"+b+"]","special")}if(_(e))return t.stylize(RegExp.prototype.toString.call(e),"regexp");if(j(e))return t.stylize(Date.prototype.toString.call(e),"date");if(E(e))return f(e)}var m="",g=!1,w=["{","}"];if(d(e)&&(g=!0,w=["[","]"]),x(e)){var A=e.name?": "+e.name:"";m=" [Function"+A+"]"}if(_(e)&&(m=" "+RegExp.prototype.toString.call(e)),j(e)&&(m=" "+Date.prototype.toUTCString.call(e)),E(e)&&(m=" "+f(e)),0===s.length&&(!g||0==e.length))return w[0]+m+w[1];if(n<0)return _(e)?t.stylize(RegExp.prototype.toString.call(e),"regexp"):t.stylize("[Object]","special");t.seen.push(e);var O;return O=g?l(t,e,n,y,s):s.map(function(r){return p(t,e,n,y,r,g)}),t.seen.pop(),h(O,m,w)}function c(t,e){if(A(e))return t.stylize("undefined","undefined");if(v(e)){var r="'"+JSON.stringify(e).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return t.stylize(r,"string")}return g(e)?t.stylize(""+e,"number"):y(e)?t.stylize(""+e,"boolean"):b(e)?t.stylize("null","null"):void 0}function f(t){return"["+Error.prototype.toString.call(t)+"]"}function l(t,e,r,n,o){for(var i=[],s=0,u=e.length;s<u;++s)B(e,String(s))?i.push(p(t,e,r,n,String(s),!0)):i.push("");return o.forEach(function(o){o.match(/^\d+$/)||i.push(p(t,e,r,n,o,!0))}),i}function p(t,e,r,n,o,i){var s,u,c;if(c=Object.getOwnPropertyDescriptor(e,o)||{value:e[o]},c.get?u=c.set?t.stylize("[Getter/Setter]","special"):t.stylize("[Getter]","special"):c.set&&(u=t.stylize("[Setter]","special")),B(n,o)||(s="["+o+"]"),u||(t.seen.indexOf(c.value)<0?(u=b(r)?a(t,c.value,null):a(t,c.value,r-1),u.indexOf("\n")>-1&&(u=i?u.split("\n").map(function(t){return" "+t}).join("\n").substr(2):"\n"+u.split("\n").map(function(t){return" "+t}).join("\n"))):u=t.stylize("[Circular]","special")),A(s)){if(i&&o.match(/^\d+$/))return u;s=JSON.stringify(""+o),s.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(s=s.substr(1,s.length-2),s=t.stylize(s,"name")):(s=s.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),s=t.stylize(s,"string"))}return s+": "+u}function h(t,e,r){var n=0,o=t.reduce(function(t,e){return n++,e.indexOf("\n")>=0&&n++,t+e.replace(/\u001b\[\d\d?m/g,"").length+1},0);return o>60?r[0]+(""===e?"":e+"\n ")+" "+t.join(",\n ")+" "+r[1]:r[0]+e+" "+t.join(", ")+" "+r[1]}function d(t){return Array.isArray(t)}function y(t){return"boolean"==typeof t}function b(t){return null===t}function m(t){return null==t}function g(t){return"number"==typeof t}function v(t){return"string"==typeof t}function w(t){return"symbol"==typeof t}function A(t){return void 0===t}function _(t){return O(t)&&"[object RegExp]"===S(t)}function O(t){return"object"==typeof t&&null!==t}function j(t){return O(t)&&"[object Date]"===S(t)}function E(t){return O(t)&&("[object Error]"===S(t)||t instanceof Error)}function x(t){return"function"==typeof t}function T(t){return null===t||"boolean"==typeof t||"number"==typeof t||"string"==typeof t||"symbol"==typeof t||"undefined"==typeof t}function S(t){return Object.prototype.toString.call(t)}function D(t){return t<10?"0"+t.toString(10):t.toString(10)}function P(){var t=new Date,e=[D(t.getHours()),D(t.getMinutes()),D(t.getSeconds())].join(":");return[t.getDate(),N[t.getMonth()],e].join(" ")}function B(t,e){return Object.prototype.hasOwnProperty.call(t,e)}var U=/%[sdj%]/g;r.format=function(t){if(!v(t)){for(var e=[],r=0;r<arguments.length;r++)e.push(o(arguments[r]));return e.join(" ")}for(var r=1,n=arguments,i=n.length,s=String(t).replace(U,function(t){if("%%"===t)return"%";if(r>=i)return t;switch(t){case"%s":return String(n[r++]);case"%d":return Number(n[r++]);case"%j":try{return JSON.stringify(n[r++])}catch(e){return"[Circular]"}default:return t}}),u=n[r];r<i;u=n[++r])s+=b(u)||!O(u)?" "+u:" "+o(u);return s},r.deprecate=function(t,o){function i(){if(!s){if(e.throwDeprecation)throw new Error(o);e.traceDeprecation?console.trace(o):console.error(o),s=!0}return t.apply(this,arguments)}if(A(n.process))return function(){return r.deprecate(t,o).apply(this,arguments)};if(e.noDeprecation===!0)return t;var s=!1;return i};var C,R={};r.debuglog=function(t){if(A(C)&&(C=e.env.NODE_DEBUG||""),t=t.toUpperCase(),!R[t])if(new RegExp("\\b"+t+"\\b","i").test(C)){var n=e.pid;R[t]=function(){var e=r.format.apply(r,arguments);console.error("%s %d: %s",t,n,e)}}else R[t]=function(){};return R[t]},r.inspect=o,o.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]},o.styles={special:"cyan",number:"yellow","boolean":"yellow",undefined:"grey","null":"bold",string:"green",date:"magenta",regexp:"red"},r.isArray=d,r.isBoolean=y,r.isNull=b,r.isNullOrUndefined=m,r.isNumber=g,r.isString=v,r.isSymbol=w,r.isUndefined=A,r.isRegExp=_,r.isObject=O,r.isDate=j,r.isError=E,r.isFunction=x,r.isPrimitive=T,r.isBuffer=t("./support/isBuffer");var N=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];r.log=function(){console.log("%s - %s",P(),r.format.apply(r,arguments))},r.inherits=t("inherits"),r._extend=function(t,e){if(!e||!O(e))return t;for(var r=Object.keys(e),n=r.length;n--;)t[r[n]]=e[r[n]];return t}}).call(this,t("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./support/isBuffer":14,_process:8,inherits:6}],16:[function(e,r,n){!function(e,o){"object"==typeof n&&"undefined"!=typeof r?o(n):"function"==typeof t&&t.amd?t(["exports"],o):o(e.WHATWGFetch={})}(this,function(t){"use strict";function e(t){return t&&DataView.prototype.isPrototypeOf(t)}function r(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(t)||""===t)throw new TypeError("Invalid character in header field name");return t.toLowerCase()}function n(t){return"string"!=typeof t&&(t=String(t)),t}function o(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return v.iterable&&(e[Symbol.iterator]=function(){return e}),e}function i(t){this.map={},t instanceof i?t.forEach(function(t,e){this.append(e,t)},this):Array.isArray(t)?t.forEach(function(t){this.append(t[0],t[1])},this):t&&Object.getOwnPropertyNames(t).forEach(function(e){this.append(e,t[e])},this)}function s(t){return t.bodyUsed?Promise.reject(new TypeError("Already read")):void(t.bodyUsed=!0)}function u(t){return new Promise(function(e,r){t.onload=function(){e(t.result)},t.onerror=function(){r(t.error)}})}function a(t){var e=new FileReader,r=u(e);return e.readAsArrayBuffer(t),r}function c(t){var e=new FileReader,r=u(e);return e.readAsText(t),r}function f(t){for(var e=new Uint8Array(t),r=new Array(e.length),n=0;n<e.length;n++)r[n]=String.fromCharCode(e[n]);return r.join("")}function l(t){if(t.slice)return t.slice(0);var e=new Uint8Array(t.byteLength);return e.set(new Uint8Array(t)),e.buffer}function p(){return this.bodyUsed=!1,this._initBody=function(t){this._bodyInit=t,t?"string"==typeof t?this._bodyText=t:v.blob&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:v.formData&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:v.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():v.arrayBuffer&&v.blob&&e(t)?(this._bodyArrayBuffer=l(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):v.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(t)||A(t))?this._bodyArrayBuffer=l(t):this._bodyText=t=Object.prototype.toString.call(t):this._bodyText="",this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):v.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},v.blob&&(this.blob=function(){var t=s(this);if(t)return t;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?s(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(a)}),this.text=function(){var t=s(this);if(t)return t;if(this._bodyBlob)return c(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(f(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},v.formData&&(this.formData=function(){return this.text().then(y)}),this.json=function(){return this.text().then(JSON.parse)},this}function h(t){var e=t.toUpperCase();return _.indexOf(e)>-1?e:t}function d(t,e){e=e||{};var r=e.body;if(t instanceof d){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,e.headers||(this.headers=new i(t.headers)),this.method=t.method,this.mode=t.mode,this.signal=t.signal,r||null==t._bodyInit||(r=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=e.credentials||this.credentials||"same-origin",!e.headers&&this.headers||(this.headers=new i(e.headers)),this.method=h(e.method||this.method||"GET"),this.mode=e.mode||this.mode||null,this.signal=e.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&r)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(r)}function y(t){var e=new FormData;return t.trim().split("&").forEach(function(t){if(t){var r=t.split("="),n=r.shift().replace(/\+/g," "),o=r.join("=").replace(/\+/g," ");e.append(decodeURIComponent(n),decodeURIComponent(o))}}),e}function b(t){var e=new i,r=t.replace(/\r?\n[\t ]+/g," ");return r.split(/\r?\n/).forEach(function(t){var r=t.split(":"),n=r.shift().trim();if(n){var o=r.join(":").trim();e.append(n,o)}}),e}function m(t,e){e||(e={}),this.type="default",this.status=void 0===e.status?200:e.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in e?e.statusText:"OK",this.headers=new i(e.headers),this.url=e.url||"",this._initBody(t)}function g(e,r){return new Promise(function(n,o){function i(){u.abort()}var s=new d(e,r);if(s.signal&&s.signal.aborted)return o(new t.DOMException("Aborted","AbortError"));var u=new XMLHttpRequest;u.onload=function(){var t={status:u.status,statusText:u.statusText,headers:b(u.getAllResponseHeaders()||"")};t.url="responseURL"in u?u.responseURL:t.headers.get("X-Request-URL");var e="response"in u?u.response:u.responseText;n(new m(e,t))},u.onerror=function(){o(new TypeError("Network request failed"))},u.ontimeout=function(){o(new TypeError("Network request failed"))},u.onabort=function(){o(new t.DOMException("Aborted","AbortError"))},u.open(s.method,s.url,!0),"include"===s.credentials?u.withCredentials=!0:"omit"===s.credentials&&(u.withCredentials=!1),"responseType"in u&&v.blob&&(u.responseType="blob"),s.headers.forEach(function(t,e){u.setRequestHeader(e,t)}),s.signal&&(s.signal.addEventListener("abort",i),u.onreadystatechange=function(){4===u.readyState&&s.signal.removeEventListener("abort",i)}),u.send("undefined"==typeof s._bodyInit?null:s._bodyInit)})}var v={searchParams:"URLSearchParams"in self,iterable:"Symbol"in self&&"iterator"in Symbol,blob:"FileReader"in self&&"Blob"in self&&function(){try{return new Blob,!0}catch(t){return!1}}(),formData:"FormData"in self,arrayBuffer:"ArrayBuffer"in self};if(v.arrayBuffer)var w=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],A=ArrayBuffer.isView||function(t){return t&&w.indexOf(Object.prototype.toString.call(t))>-1};i.prototype.append=function(t,e){t=r(t),e=n(e);var o=this.map[t];this.map[t]=o?o+", "+e:e},i.prototype["delete"]=function(t){delete this.map[r(t)]},i.prototype.get=function(t){return t=r(t),this.has(t)?this.map[t]:null},i.prototype.has=function(t){return this.map.hasOwnProperty(r(t))},i.prototype.set=function(t,e){this.map[r(t)]=n(e)},i.prototype.forEach=function(t,e){for(var r in this.map)this.map.hasOwnProperty(r)&&t.call(e,this.map[r],r,this)},i.prototype.keys=function(){var t=[];return this.forEach(function(e,r){t.push(r)}),o(t)},i.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),o(t)},i.prototype.entries=function(){var t=[];return this.forEach(function(e,r){t.push([r,e])}),o(t)},v.iterable&&(i.prototype[Symbol.iterator]=i.prototype.entries);var _=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];d.prototype.clone=function(){return new d(this,{body:this._bodyInit})},p.call(d.prototype),p.call(m.prototype),m.prototype.clone=function(){return new m(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new i(this.headers),url:this.url})},m.error=function(){var t=new m(null,{status:0,statusText:""});return t.type="error",t};var O=[301,302,303,307,308];m.redirect=function(t,e){if(O.indexOf(e)===-1)throw new RangeError("Invalid status code");return new m(null,{status:e,headers:{location:t}})},t.DOMException=self.DOMException;try{new t.DOMException}catch(j){t.DOMException=function(t,e){this.message=t,this.name=e;var r=Error(t);this.stack=r.stack},t.DOMException.prototype=Object.create(Error.prototype),t.DOMException.prototype.constructor=t.DOMException}g.polyfill=!0,self.fetch||(self.fetch=g,self.Headers=i,self.Request=d,self.Response=m),t.Headers=i,t.Request=d,t.Response=m,t.fetch=g,Object.defineProperty(t,"__esModule",{value:!0})})},{}]},{},[1])(1)});

@@ -7,3 +7,4 @@ 'use strict';

printf = require('util').format,
join = require('path').join;
path = require('path'),
join = path.posix ? path.posix.join : path.join;

@@ -10,0 +11,0 @@ /**

{
"name": "ass-client",
"version": "2.1.0",
"version": "2.1.1",
"description": "Aptoma Smooth Storage client",

@@ -28,3 +28,3 @@ "main": "index.js",

"dependencies": {
"qs": "^5.2.0",
"qs": "^6.4.0",
"request-prom": "^3.0.0"

@@ -42,3 +42,3 @@ },

"karma-mocha": "^0.2.0",
"karma-phantomjs-launcher": "^0.2.1",
"karma-phantomjs-launcher": "^1.0.2",
"mocha": "^1.21.4",

@@ -45,0 +45,0 @@ "nock": "^2.16.1",

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc