if-follow-package
Version:
if-follow-package is a JavaScript library that provides APIs for managing followers and followings on GitHub. This package allows you to find users who are not following you back, find users who are following you back, unfollow users who are not following
2 lines • 64.3 kB
JavaScript
/*! For license information please see index.js.LICENSE.txt */
!function webpackUniversalModuleDefinition(t,r){"object"==typeof exports&&"object"==typeof module?module.exports=r():"function"==typeof define&&define.amd?define([],r):"object"==typeof exports?exports.ifFollow=r():t.ifFollow=r()}(this,(()=>{return t={505:(t,r,o)=>{t.exports=o(15)},592:(t,r,o)=>{"use strict";var a=o(516),i=o(522),c=o(948),u=o(106),l=o(615),h=o(631),p=o(202),d=o(896),y=o(845),v=o(563),m=o(656),g=o(721);t.exports=function xhrAdapter(t){return new Promise((function dispatchXhrRequest(r,o){var w,b=t.data,x=t.headers,_=t.responseType,E=t.withXSRFToken;function done(){t.cancelToken&&t.cancelToken.unsubscribe(w),t.signal&&t.signal.removeEventListener("abort",w)}a.isFormData(b)&&a.isStandardBrowserEnv()&&delete x["Content-Type"];var A=new XMLHttpRequest;if(t.auth){var k=t.auth.username||"",T=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";x.Authorization="Basic "+btoa(k+":"+T)}var O=l(t.baseURL,t.url);function onloadend(){if(A){var a="getAllResponseHeaders"in A?h(A.getAllResponseHeaders()):null,c={data:_&&"text"!==_&&"json"!==_?A.response:A.responseText,status:A.status,statusText:A.statusText,headers:a,config:t,request:A};i((function _resolve(t){r(t),done()}),(function _reject(t){o(t),done()}),c),A=null}}if(A.open(t.method.toUpperCase(),u(O,t.params,t.paramsSerializer),!0),A.timeout=t.timeout,"onloadend"in A?A.onloadend=onloadend:A.onreadystatechange=function handleLoad(){A&&4===A.readyState&&(0!==A.status||A.responseURL&&0===A.responseURL.indexOf("file:"))&&setTimeout(onloadend)},A.onabort=function handleAbort(){A&&(o(new y("Request aborted",y.ECONNABORTED,t,A)),A=null)},A.onerror=function handleError(){o(new y("Network Error",y.ERR_NETWORK,t,A)),A=null},A.ontimeout=function handleTimeout(){var r=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded",a=t.transitional||d;t.timeoutErrorMessage&&(r=t.timeoutErrorMessage),o(new y(r,a.clarifyTimeoutError?y.ETIMEDOUT:y.ECONNABORTED,t,A)),A=null},a.isStandardBrowserEnv()&&(E&&a.isFunction(E)&&(E=E(t)),E||!1!==E&&p(O))){var S=t.xsrfHeaderName&&t.xsrfCookieName&&c.read(t.xsrfCookieName);S&&(x[t.xsrfHeaderName]=S)}"setRequestHeader"in A&&a.forEach(x,(function setRequestHeader(t,r){void 0===b&&"content-type"===r.toLowerCase()?delete x[r]:A.setRequestHeader(r,t)})),a.isUndefined(t.withCredentials)||(A.withCredentials=!!t.withCredentials),_&&"json"!==_&&(A.responseType=t.responseType),"function"==typeof t.onDownloadProgress&&A.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&A.upload&&A.upload.addEventListener("progress",t.onUploadProgress),(t.cancelToken||t.signal)&&(w=function(r){A&&(o(!r||r.type?new v(null,t,req):r),A.abort(),A=null)},t.cancelToken&&t.cancelToken.subscribe(w),t.signal&&(t.signal.aborted?w():t.signal.addEventListener("abort",w))),b||!1===b||0===b||""===b||(b=null);var R=m(O);R&&-1===g.protocols.indexOf(R)?o(new y("Unsupported protocol "+R+":",y.ERR_BAD_REQUEST,t)):A.send(b)}))}},15:(t,r,o)=>{"use strict";var a=o(516),i=o(12),c=o(155),u=o(343),l=o(412),h=o(298),p=function createInstance(t){var r=new c(t),o=i(c.prototype.request,r);return a.extend(o,c.prototype,r),a.extend(o,r),o.create=function create(r){return createInstance(u(t,r))},o}(l);p.Axios=c,p.CanceledError=o(563),p.CancelToken=o(191),p.isCancel=o(864),p.VERSION=o(641).version,p.toFormData=o(440),p.AxiosError=o(845),p.Cancel=p.CanceledError,p.all=function all(t){return Promise.all(t)},p.spread=o(980),p.isAxiosError=o(19),p.formToJSON=function(t){return h(a.isHTMLForm(t)?new FormData(t):t)},t.exports=p,t.exports.default=p},191:(t,r,o)=>{"use strict";var a=o(563);function CancelToken(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var r;this.promise=new Promise((function promiseExecutor(t){r=t}));var o=this;this.promise.then((function(t){if(o._listeners){for(var r=o._listeners.length;r-- >0;)o._listeners[r](t);o._listeners=null}})),this.promise.then=function(t){var r,a=new Promise((function(t){o.subscribe(t),r=t})).then(t);return a.cancel=function reject(){o.unsubscribe(r)},a},t((function cancel(t,i,c){o.reason||(o.reason=new a(t,i,c),r(o.reason))}))}CancelToken.prototype.throwIfRequested=function throwIfRequested(){if(this.reason)throw this.reason},CancelToken.prototype.subscribe=function subscribe(t){this.reason?t(this.reason):this._listeners?this._listeners.push(t):this._listeners=[t]},CancelToken.prototype.unsubscribe=function unsubscribe(t){if(this._listeners){var r=this._listeners.indexOf(t);-1!==r&&this._listeners.splice(r,1)}},CancelToken.source=function source(){var t;return{token:new CancelToken((function executor(r){t=r})),cancel:t}},t.exports=CancelToken},563:(t,r,o)=>{"use strict";var a=o(845);function CanceledError(t,r,o){a.call(this,null==t?"canceled":t,a.ERR_CANCELED,r,o),this.name="CanceledError"}o(516).inherits(CanceledError,a,{__CANCEL__:!0}),t.exports=CanceledError},864:t=>{"use strict";t.exports=function isCancel(t){return!(!t||!t.__CANCEL__)}},155:(t,r,o)=>{"use strict";var a=o(516),i=o(106),c=o(471),u=o(490),l=o(343),h=o(615),p=o(841),d=p.validators;function Axios(t){this.defaults=t,this.interceptors={request:new c,response:new c}}Axios.prototype.request=function request(t,r){"string"==typeof t?(r=r||{}).url=t:r=t||{},(r=l(this.defaults,r)).method?r.method=r.method.toLowerCase():this.defaults.method?r.method=this.defaults.method.toLowerCase():r.method="get";var o=r.transitional;void 0!==o&&p.assertOptions(o,{silentJSONParsing:d.transitional(d.boolean),forcedJSONParsing:d.transitional(d.boolean),clarifyTimeoutError:d.transitional(d.boolean)},!1);var i=r.paramsSerializer;a.isFunction(i)&&(r.paramsSerializer={serialize:i});var c=[],h=!0;this.interceptors.request.forEach((function unshiftRequestInterceptors(t){"function"==typeof t.runWhen&&!1===t.runWhen(r)||(h=h&&t.synchronous,c.unshift(t.fulfilled,t.rejected))}));var y,v=[];if(this.interceptors.response.forEach((function pushResponseInterceptors(t){v.push(t.fulfilled,t.rejected)})),!h){var m=[u,void 0];for(Array.prototype.unshift.apply(m,c),m=m.concat(v),y=Promise.resolve(r);m.length;)y=y.then(m.shift(),m.shift());return y}for(var g=r;c.length;){var w=c.shift(),b=c.shift();try{g=w(g)}catch(t){b(t);break}}try{y=u(g)}catch(t){return Promise.reject(t)}for(;v.length;)y=y.then(v.shift(),v.shift());return y},Axios.prototype.getUri=function getUri(t){t=l(this.defaults,t);var r=h(t.baseURL,t.url);return i(r,t.params,t.paramsSerializer)},a.forEach(["delete","get","head","options"],(function forEachMethodNoData(t){Axios.prototype[t]=function(r,o){return this.request(l(o||{},{method:t,url:r,data:(o||{}).data}))}})),a.forEach(["post","put","patch"],(function forEachMethodWithData(t){function generateHTTPMethod(r){return function httpMethod(o,a,i){return this.request(l(i||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:o,data:a}))}}Axios.prototype[t]=generateHTTPMethod(),Axios.prototype[t+"Form"]=generateHTTPMethod(!0)})),t.exports=Axios},845:(t,r,o)=>{"use strict";var a=o(516);function AxiosError(t,r,o,a,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=t,this.name="AxiosError",r&&(this.code=r),o&&(this.config=o),a&&(this.request=a),i&&(this.response=i)}a.inherits(AxiosError,Error,{toJSON:function toJSON(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}}});var i=AxiosError.prototype,c={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((function(t){c[t]={value:t}})),Object.defineProperties(AxiosError,c),Object.defineProperty(i,"isAxiosError",{value:!0}),AxiosError.from=function(t,r,o,c,u,l){var h=Object.create(i);return a.toFlatObject(t,h,(function filter(t){return t!==Error.prototype})),AxiosError.call(h,t.message,r,o,c,u),h.cause=t,h.name=t.name,l&&Object.assign(h,l),h},t.exports=AxiosError},471:(t,r,o)=>{"use strict";var a=o(516);function InterceptorManager(){this.handlers=[]}InterceptorManager.prototype.use=function use(t,r,o){return this.handlers.push({fulfilled:t,rejected:r,synchronous:!!o&&o.synchronous,runWhen:o?o.runWhen:null}),this.handlers.length-1},InterceptorManager.prototype.eject=function eject(t){this.handlers[t]&&(this.handlers[t]=null)},InterceptorManager.prototype.clear=function clear(){this.handlers&&(this.handlers=[])},InterceptorManager.prototype.forEach=function forEach(t){a.forEach(this.handlers,(function forEachHandler(r){null!==r&&t(r)}))},t.exports=InterceptorManager},615:(t,r,o)=>{"use strict";var a=o(137),i=o(680);t.exports=function buildFullPath(t,r){return t&&!a(r)?i(t,r):r}},490:(t,r,o)=>{"use strict";var a=o(516),i=o(881),c=o(864),u=o(412),l=o(563),h=o(18);function throwIfCancellationRequested(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new l}t.exports=function dispatchRequest(t){return throwIfCancellationRequested(t),t.headers=t.headers||{},t.data=i.call(t,t.data,t.headers,null,t.transformRequest),h(t.headers,"Accept"),h(t.headers,"Content-Type"),t.headers=a.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),a.forEach(["delete","get","head","post","put","patch","common"],(function cleanHeaderConfig(r){delete t.headers[r]})),(t.adapter||u.adapter)(t).then((function onAdapterResolution(r){return throwIfCancellationRequested(t),r.data=i.call(t,r.data,r.headers,r.status,t.transformResponse),r}),(function onAdapterRejection(r){return c(r)||(throwIfCancellationRequested(t),r&&r.response&&(r.response.data=i.call(t,r.response.data,r.response.headers,r.response.status,t.transformResponse))),Promise.reject(r)}))}},343:(t,r,o)=>{"use strict";var a=o(516);t.exports=function mergeConfig(t,r){r=r||{};var o={};function getMergedValue(t,r){return a.isPlainObject(t)&&a.isPlainObject(r)?a.merge(t,r):a.isEmptyObject(r)?a.merge({},t):a.isPlainObject(r)?a.merge({},r):a.isArray(r)?r.slice():r}function mergeDeepProperties(o){return a.isUndefined(r[o])?a.isUndefined(t[o])?void 0:getMergedValue(void 0,t[o]):getMergedValue(t[o],r[o])}function valueFromConfig2(t){if(!a.isUndefined(r[t]))return getMergedValue(void 0,r[t])}function defaultToConfig2(o){return a.isUndefined(r[o])?a.isUndefined(t[o])?void 0:getMergedValue(void 0,t[o]):getMergedValue(void 0,r[o])}function mergeDirectKeys(o){return o in r?getMergedValue(t[o],r[o]):o in t?getMergedValue(void 0,t[o]):void 0}var i={url:valueFromConfig2,method:valueFromConfig2,data:valueFromConfig2,baseURL:defaultToConfig2,transformRequest:defaultToConfig2,transformResponse:defaultToConfig2,paramsSerializer:defaultToConfig2,timeout:defaultToConfig2,timeoutMessage:defaultToConfig2,withCredentials:defaultToConfig2,withXSRFToken:defaultToConfig2,adapter:defaultToConfig2,responseType:defaultToConfig2,xsrfCookieName:defaultToConfig2,xsrfHeaderName:defaultToConfig2,onUploadProgress:defaultToConfig2,onDownloadProgress:defaultToConfig2,decompress:defaultToConfig2,maxContentLength:defaultToConfig2,maxBodyLength:defaultToConfig2,beforeRedirect:defaultToConfig2,transport:defaultToConfig2,httpAgent:defaultToConfig2,httpsAgent:defaultToConfig2,cancelToken:defaultToConfig2,socketPath:defaultToConfig2,responseEncoding:defaultToConfig2,validateStatus:mergeDirectKeys};return a.forEach(Object.keys(t).concat(Object.keys(r)),(function computeConfigValue(t){var r=i[t]||mergeDeepProperties,c=r(t);a.isUndefined(c)&&r!==mergeDirectKeys||(o[t]=c)})),o}},522:(t,r,o)=>{"use strict";var a=o(845);t.exports=function settle(t,r,o){var i=o.config.validateStatus;o.status&&i&&!i(o.status)?r(new a("Request failed with status code "+o.status,[a.ERR_BAD_REQUEST,a.ERR_BAD_RESPONSE][Math.floor(o.status/100)-4],o.config,o.request,o)):t(o)}},881:(t,r,o)=>{"use strict";var a=o(516),i=o(412);t.exports=function transformData(t,r,o,c){var u=this||i;return a.forEach(c,(function transform(a){t=a.call(u,t,r,o)})),t}},412:(t,r,o)=>{"use strict";var a=o(516),i=o(18),c=o(845),u=o(896),l=o(440),h=o(69),p=o(721),d=o(298),y={"Content-Type":"application/x-www-form-urlencoded"};function setContentTypeIfUnset(t,r){!a.isUndefined(t)&&a.isUndefined(t["Content-Type"])&&(t["Content-Type"]=r)}var v={transitional:u,adapter:function getDefaultAdapter(){var t;return("undefined"!=typeof XMLHttpRequest||"undefined"!=typeof process&&"[object process]"===Object.prototype.toString.call(process))&&(t=o(592)),t}(),transformRequest:[function transformRequest(t,r){i(r,"Accept"),i(r,"Content-Type");var o,c=r&&r["Content-Type"]||"",u=c.indexOf("application/json")>-1,p=a.isObject(t);if(p&&a.isHTMLForm(t)&&(t=new FormData(t)),a.isFormData(t))return u?JSON.stringify(d(t)):t;if(a.isArrayBuffer(t)||a.isBuffer(t)||a.isStream(t)||a.isFile(t)||a.isBlob(t))return t;if(a.isArrayBufferView(t))return t.buffer;if(a.isURLSearchParams(t))return setContentTypeIfUnset(r,"application/x-www-form-urlencoded;charset=utf-8"),t.toString();if(p){if(-1!==c.indexOf("application/x-www-form-urlencoded"))return h(t,this.formSerializer).toString();if((o=a.isFileList(t))||c.indexOf("multipart/form-data")>-1){var y=this.env&&this.env.FormData;return l(o?{"files[]":t}:t,y&&new y,this.formSerializer)}}return p||u?(setContentTypeIfUnset(r,"application/json"),function stringifySafely(t,r,o){if(a.isString(t))try{return(r||JSON.parse)(t),a.trim(t)}catch(t){if("SyntaxError"!==t.name)throw t}return(o||JSON.stringify)(t)}(t)):t}],transformResponse:[function transformResponse(t){var r=this.transitional||v.transitional,o=r&&r.forcedJSONParsing,i="json"===this.responseType;if(t&&a.isString(t)&&(o&&!this.responseType||i)){var u=!(r&&r.silentJSONParsing)&&i;try{return JSON.parse(t)}catch(t){if(u){if("SyntaxError"===t.name)throw c.from(t,c.ERR_BAD_RESPONSE,this,null,this.response);throw t}}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:p.classes.FormData,Blob:p.classes.Blob},validateStatus:function validateStatus(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};a.forEach(["delete","get","head"],(function forEachMethodNoData(t){v.headers[t]={}})),a.forEach(["post","put","patch"],(function forEachMethodWithData(t){v.headers[t]=a.merge(y)})),t.exports=v},896:t=>{"use strict";t.exports={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1}},786:(t,r,o)=>{t.exports=o(894)},641:t=>{t.exports={version:"0.28.0"}},170:(t,r,o)=>{"use strict";var a=o(440);function encode(t){var r={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'\(\)~]|%20|%00/g,(function replacer(t){return r[t]}))}function AxiosURLSearchParams(t,r){this._pairs=[],t&&a(t,this,r)}var i=AxiosURLSearchParams.prototype;i.append=function append(t,r){this._pairs.push([t,r])},i.toString=function toString(t){var r=t?function(r){return t.call(this,r,encode)}:encode;return this._pairs.map((function each(t){return r(t[0])+"="+r(t[1])}),"").join("&")},t.exports=AxiosURLSearchParams},12:t=>{"use strict";t.exports=function bind(t,r){return function wrap(){return t.apply(r,arguments)}}},106:(t,r,o)=>{"use strict";var a=o(516),i=o(170);function encode(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}t.exports=function buildURL(t,r,o){if(!r)return t;var c=t.indexOf("#");-1!==c&&(t=t.slice(0,c));var u=o&&o.encode||encode,l=a.isURLSearchParams(r)?r.toString():new i(r,o).toString(u);return l&&(t+=(-1===t.indexOf("?")?"?":"&")+l),t}},680:t=>{"use strict";t.exports=function combineURLs(t,r){return r?t.replace(/\/+$/,"")+"/"+r.replace(/^\/+/,""):t}},948:(t,r,o)=>{"use strict";var a=o(516);t.exports=a.isStandardBrowserEnv()?function standardBrowserEnv(){return{write:function write(t,r,o,i,c,u){var l=[];l.push(t+"="+encodeURIComponent(r)),a.isNumber(o)&&l.push("expires="+new Date(o).toGMTString()),a.isString(i)&&l.push("path="+i),a.isString(c)&&l.push("domain="+c),!0===u&&l.push("secure"),document.cookie=l.join("; ")},read:function read(t){var r=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return r?decodeURIComponent(r[3]):null},remove:function remove(t){this.write(t,"",Date.now()-864e5)}}}():{write:function write(){},read:function read(){return null},remove:function remove(){}}},298:(t,r,o)=>{"use strict";var a=o(516);t.exports=function formDataToJSON(t){function buildPath(t,r,o,i){var c=t[i++],u=Number.isFinite(+c),l=i>=t.length;return c=!c&&a.isArray(o)?o.length:c,l?(a.hasOwnProperty(o,c)?o[c]=[o[c],r]:o[c]=r,!u):(o[c]&&a.isObject(o[c])||(o[c]=[]),buildPath(t,r,o[c],i)&&a.isArray(o[c])&&(o[c]=function arrayToObject(t){var r,o,a={},i=Object.keys(t),c=i.length;for(r=0;r<c;r++)a[o=i[r]]=t[o];return a}(o[c])),!u)}if(a.isFormData(t)&&a.isFunction(t.entries)){var r={};return a.forEachEntry(t,(function(t,o){buildPath(function parsePropPath(t){return a.matchAll(/\w+|\[(\w*)]/g,t).map((function(t){return"[]"===t[0]?"":t[1]||t[0]}))}(t),o,r,0)})),r}return null}},137:t=>{"use strict";t.exports=function isAbsoluteURL(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}},19:(t,r,o)=>{"use strict";var a=o(516);t.exports=function isAxiosError(t){return a.isObject(t)&&!0===t.isAxiosError}},202:(t,r,o)=>{"use strict";var a=o(516);t.exports=a.isStandardBrowserEnv()?function standardBrowserEnv(){var t,r=/(msie|trident)/i.test(navigator.userAgent),o=document.createElement("a");function resolveURL(t){var a=t;return r&&(o.setAttribute("href",a),a=o.href),o.setAttribute("href",a),{href:o.href,protocol:o.protocol?o.protocol.replace(/:$/,""):"",host:o.host,search:o.search?o.search.replace(/^\?/,""):"",hash:o.hash?o.hash.replace(/^#/,""):"",hostname:o.hostname,port:o.port,pathname:"/"===o.pathname.charAt(0)?o.pathname:"/"+o.pathname}}return t=resolveURL(window.location.href),function isURLSameOrigin(r){var o=a.isString(r)?resolveURL(r):r;return o.protocol===t.protocol&&o.host===t.host}}():function isURLSameOrigin(){return!0}},18:(t,r,o)=>{"use strict";var a=o(516);t.exports=function normalizeHeaderName(t,r){a.forEach(t,(function processHeader(o,a){a!==r&&a.toUpperCase()===r.toUpperCase()&&(t[r]=o,delete t[a])}))}},631:(t,r,o)=>{"use strict";var a=o(516),i=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];t.exports=function parseHeaders(t){var r,o,c,u={};return t?(a.forEach(t.split("\n"),(function parser(t){if(c=t.indexOf(":"),r=a.trim(t.slice(0,c)).toLowerCase(),o=a.trim(t.slice(c+1)),r){if(u[r]&&i.indexOf(r)>=0)return;u[r]="set-cookie"===r?(u[r]?u[r]:[]).concat([o]):u[r]?u[r]+", "+o:o}})),u):u}},656:t=>{"use strict";t.exports=function parseProtocol(t){var r=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return r&&r[1]||""}},980:t=>{"use strict";t.exports=function spread(t){return function wrap(r){return t.apply(null,r)}}},440:(t,r,o)=>{"use strict";var a=o(516),i=o(845),c=o(786);function isVisitable(t){return a.isPlainObject(t)||a.isArray(t)}function removeBrackets(t){return a.endsWith(t,"[]")?t.slice(0,-2):t}function renderKey(t,r,o){return t?t.concat(r).map((function each(t,r){return t=removeBrackets(t),!o&&r?"["+t+"]":t})).join(o?".":""):r}var u=a.toFlatObject(a,{},null,(function filter(t){return/^is[A-Z]/.test(t)}));t.exports=function toFormData(t,r,o){if(!a.isObject(t))throw new TypeError("target must be an object");r=r||new(c||FormData);var l=(o=a.toFlatObject(o,{metaTokens:!0,dots:!1,indexes:!1},!1,(function defined(t,r){return!a.isUndefined(r[t])}))).metaTokens,h=o.visitor||defaultVisitor,p=o.dots,d=o.indexes,y=(o.Blob||"undefined"!=typeof Blob&&Blob)&&function isSpecCompliant(t){return t&&a.isFunction(t.append)&&"FormData"===t[Symbol.toStringTag]&&t[Symbol.iterator]}(r);if(!a.isFunction(h))throw new TypeError("visitor must be a function");function convertValue(t){if(null===t)return"";if(a.isDate(t))return t.toISOString();if(!y&&a.isBlob(t))throw new i("Blob is not supported. Use a Buffer instead.");return a.isArrayBuffer(t)||a.isTypedArray(t)?y&&"function"==typeof Blob?new Blob([t]):Buffer.from(t):t}function defaultVisitor(t,o,i){var c=t;if(t&&!i&&"object"==typeof t)if(a.endsWith(o,"{}"))o=l?o:o.slice(0,-2),t=JSON.stringify(t);else if(a.isArray(t)&&function isFlatArray(t){return a.isArray(t)&&!t.some(isVisitable)}(t)||a.isFileList(t)||a.endsWith(o,"[]")&&(c=a.toArray(t)))return o=removeBrackets(o),c.forEach((function each(t,i){!a.isUndefined(t)&&r.append(!0===d?renderKey([o],i,p):null===d?o:o+"[]",convertValue(t))})),!1;return!!isVisitable(t)||(r.append(renderKey(i,o,p),convertValue(t)),!1)}var v=[],m=Object.assign(u,{defaultVisitor,convertValue,isVisitable});if(!a.isObject(t))throw new TypeError("data must be an object");return function build(t,o){if(!a.isUndefined(t)){if(-1!==v.indexOf(t))throw Error("Circular reference detected in "+o.join("."));v.push(t),a.forEach(t,(function each(t,i){!0===(!a.isUndefined(t)&&h.call(r,t,a.isString(i)?i.trim():i,o,m))&&build(t,o?o.concat(i):[i])})),v.pop()}}(t),r}},69:(t,r,o)=>{"use strict";var a=o(516),i=o(440),c=o(721);t.exports=function toURLEncodedForm(t,r){return i(t,new c.classes.URLSearchParams,Object.assign({visitor:function(t,r,o,i){return c.isNode&&a.isBuffer(t)?(this.append(r,t.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},r))}},841:(t,r,o)=>{"use strict";var a=o(641).version,i=o(845),c={};["object","boolean","number","function","string","symbol"].forEach((function(t,r){c[t]=function validator(o){return typeof o===t||"a"+(r<1?"n ":" ")+t}}));var u={};c.transitional=function transitional(t,r,o){function formatMessage(t,r){return"[Axios v"+a+"] Transitional option '"+t+"'"+r+(o?". "+o:"")}return function(o,a,c){if(!1===t)throw new i(formatMessage(a," has been removed"+(r?" in "+r:"")),i.ERR_DEPRECATED);return r&&!u[a]&&(u[a]=!0,console.warn(formatMessage(a," has been deprecated since v"+r+" and will be removed in the near future"))),!t||t(o,a,c)}},t.exports={assertOptions:function assertOptions(t,r,o){if("object"!=typeof t)throw new i("options must be an object",i.ERR_BAD_OPTION_VALUE);for(var a=Object.keys(t),c=a.length;c-- >0;){var u=a[c],l=r[u];if(l){var h=t[u],p=void 0===h||l(h,u,t);if(!0!==p)throw new i("option "+u+" must be "+p,i.ERR_BAD_OPTION_VALUE)}else if(!0!==o)throw new i("Unknown option "+u,i.ERR_BAD_OPTION)}},validators:c}},243:t=>{"use strict";t.exports=FormData},2:(t,r,o)=>{"use strict";var a=o(170);t.exports="undefined"!=typeof URLSearchParams?URLSearchParams:a},109:(t,r,o)=>{"use strict";t.exports={isBrowser:!0,classes:{URLSearchParams:o(2),FormData:o(243),Blob},protocols:["http","https","file","blob","url","data"]}},721:(t,r,o)=>{"use strict";t.exports=o(109)},516:(t,r,o)=>{"use strict";var a,i=o(12),c=Object.prototype.toString,u=(a=Object.create(null),function(t){var r=c.call(t);return a[r]||(a[r]=r.slice(8,-1).toLowerCase())});function kindOfTest(t){return t=t.toLowerCase(),function isKindOf(r){return u(r)===t}}function isArray(t){return Array.isArray(t)}function isUndefined(t){return void 0===t}var l=kindOfTest("ArrayBuffer");function isNumber(t){return"number"==typeof t}function isObject(t){return null!==t&&"object"==typeof t}function isPlainObject(t){if("object"!==u(t))return!1;var r=Object.getPrototypeOf(t);return null===r||r===Object.prototype}var h=kindOfTest("Date"),p=kindOfTest("File"),d=kindOfTest("Blob"),y=kindOfTest("FileList");function isFunction(t){return"[object Function]"===c.call(t)}var v=kindOfTest("URLSearchParams");function forEach(t,r){if(null!=t)if("object"!=typeof t&&(t=[t]),isArray(t))for(var o=0,a=t.length;o<a;o++)r.call(null,t[o],o,t);else for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&r.call(null,t[i],i,t)}var m,g=(m="undefined"!=typeof Uint8Array&&Object.getPrototypeOf(Uint8Array),function(t){return m&&t instanceof m}),w=kindOfTest("HTMLFormElement"),b=function resolver(t){return function(r,o){return t.call(r,o)}}(Object.prototype.hasOwnProperty);t.exports={isArray,isArrayBuffer:l,isBuffer:function isBuffer(t){return null!==t&&!isUndefined(t)&&null!==t.constructor&&!isUndefined(t.constructor)&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)},isFormData:function isFormData(t){var r="[object FormData]";return t&&("function"==typeof FormData&&t instanceof FormData||c.call(t)===r||isFunction(t.toString)&&t.toString()===r)},isArrayBufferView:function isArrayBufferView(t){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&l(t.buffer)},isString:function isString(t){return"string"==typeof t},isNumber,isObject,isPlainObject,isEmptyObject:function isEmptyObject(t){return t&&0===Object.keys(t).length&&Object.getPrototypeOf(t)===Object.prototype},isUndefined,isDate:h,isFile:p,isBlob:d,isFunction,isStream:function isStream(t){return isObject(t)&&isFunction(t.pipe)},isURLSearchParams:v,isStandardBrowserEnv:function isStandardBrowserEnv(){var t;return("undefined"==typeof navigator||"ReactNative"!==(t=navigator.product)&&"NativeScript"!==t&&"NS"!==t)&&"undefined"!=typeof window&&"undefined"!=typeof document},forEach,merge:function merge(){var t={};function assignValue(r,o){isPlainObject(t[o])&&isPlainObject(r)?t[o]=merge(t[o],r):isPlainObject(r)?t[o]=merge({},r):isArray(r)?t[o]=r.slice():t[o]=r}for(var r=0,o=arguments.length;r<o;r++)forEach(arguments[r],assignValue);return t},extend:function extend(t,r,o){return forEach(r,(function assignValue(r,a){t[a]=o&&"function"==typeof r?i(r,o):r})),t},trim:function trim(t){return t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")},stripBOM:function stripBOM(t){return 65279===t.charCodeAt(0)&&(t=t.slice(1)),t},inherits:function inherits(t,r,o,a){t.prototype=Object.create(r.prototype,a),t.prototype.constructor=t,o&&Object.assign(t.prototype,o)},toFlatObject:function toFlatObject(t,r,o,a){var i,c,u,l={};if(r=r||{},null==t)return r;do{for(c=(i=Object.getOwnPropertyNames(t)).length;c-- >0;)u=i[c],a&&!a(u,t,r)||l[u]||(r[u]=t[u],l[u]=!0);t=!1!==o&&Object.getPrototypeOf(t)}while(t&&(!o||o(t,r))&&t!==Object.prototype);return r},kindOf:u,kindOfTest,endsWith:function endsWith(t,r,o){t=String(t),(void 0===o||o>t.length)&&(o=t.length),o-=r.length;var a=t.indexOf(r,o);return-1!==a&&a===o},toArray:function toArray(t){if(!t)return null;if(isArray(t))return t;var r=t.length;if(!isNumber(r))return null;for(var o=new Array(r);r-- >0;)o[r]=t[r];return o},isTypedArray:g,isFileList:y,forEachEntry:function forEachEntry(t,r){for(var o,a=(t&&t[Symbol.iterator]).call(t);(o=a.next())&&!o.done;){var i=o.value;r.call(t,i[0],i[1])}},matchAll:function matchAll(t,r){for(var o,a=[];null!==(o=t.exec(r));)a.push(o);return a},isHTMLForm:w,hasOwnProperty:b}},517:(t,r,o)=>{var a=o(505);t.exports=function handleAxiosError(t){a.isAxiosError(t)?t.response?console.error("API Error: ".concat(t.response.status," - ").concat(t.response.data.message||"No error message available")):t.request?console.error("No response received from the server"):console.error("Error: ".concat(t.message||"No error message available")):console.log("Non-Axios Error")}},897:(t,r,o)=>{var a=o(885);t.exports=function ifFollow(t,r){return new a(t,r)}},885:(t,r,o)=>{function _typeof(t){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_typeof(t)}function _createForOfIteratorHelper(t,r){var o="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!o){if(Array.isArray(t)||(o=function _unsupportedIterableToArray(t,r){if(t){if("string"==typeof t)return _arrayLikeToArray(t,r);var o=Object.prototype.toString.call(t).slice(8,-1);return"Object"===o&&t.constructor&&(o=t.constructor.name),"Map"===o||"Set"===o?Array.from(t):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?_arrayLikeToArray(t,r):void 0}}(t))||r&&t&&"number"==typeof t.length){o&&(t=o);var a=0,i=function F(){};return{s:i,n:function n(){return a>=t.length?{done:!0}:{done:!1,value:t[a++]}},e:function e(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var c,u=!0,l=!1;return{s:function s(){o=o.call(t)},n:function n(){var t=o.next();return u=t.done,t},e:function e(t){l=!0,c=t},f:function f(){try{u||null==o.return||o.return()}finally{if(l)throw c}}}}function _arrayLikeToArray(t,r){(null==r||r>t.length)&&(r=t.length);for(var o=0,a=new Array(r);o<r;o++)a[o]=t[o];return a}function _newArrowCheck(t,r){if(t!==r)throw new TypeError("Cannot instantiate an arrow function")}function _regeneratorRuntime(){"use strict";_regeneratorRuntime=function _regeneratorRuntime(){return r};var t,r={},o=Object.prototype,a=o.hasOwnProperty,i=Object.defineProperty||function(t,r,o){t[r]=o.value},c="function"==typeof Symbol?Symbol:{},u=c.iterator||"@@iterator",l=c.asyncIterator||"@@asyncIterator",h=c.toStringTag||"@@toStringTag";function define(t,r,o){return Object.defineProperty(t,r,{value:o,enumerable:!0,configurable:!0,writable:!0}),t[r]}try{define({},"")}catch(t){define=function define(t,r,o){return t[r]=o}}function wrap(t,r,o,a){var c=r&&r.prototype instanceof Generator?r:Generator,u=Object.create(c.prototype),l=new Context(a||[]);return i(u,"_invoke",{value:makeInvokeMethod(t,o,l)}),u}function tryCatch(t,r,o){try{return{type:"normal",arg:t.call(r,o)}}catch(t){return{type:"throw",arg:t}}}r.wrap=wrap;var p="suspendedStart",d="suspendedYield",y="executing",v="completed",m={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}var g={};define(g,u,(function(){return this}));var w=Object.getPrototypeOf,b=w&&w(w(values([])));b&&b!==o&&a.call(b,u)&&(g=b);var x=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(g);function defineIteratorMethods(t){["next","throw","return"].forEach((function(r){define(t,r,(function(t){return this._invoke(r,t)}))}))}function AsyncIterator(t,r){function invoke(o,i,c,u){var l=tryCatch(t[o],t,i);if("throw"!==l.type){var h=l.arg,p=h.value;return p&&"object"==_typeof(p)&&a.call(p,"__await")?r.resolve(p.__await).then((function(t){invoke("next",t,c,u)}),(function(t){invoke("throw",t,c,u)})):r.resolve(p).then((function(t){h.value=t,c(h)}),(function(t){return invoke("throw",t,c,u)}))}u(l.arg)}var o;i(this,"_invoke",{value:function value(t,a){function callInvokeWithMethodAndArg(){return new r((function(r,o){invoke(t,a,r,o)}))}return o=o?o.then(callInvokeWithMethodAndArg,callInvokeWithMethodAndArg):callInvokeWithMethodAndArg()}})}function makeInvokeMethod(r,o,a){var i=p;return function(c,u){if(i===y)throw new Error("Generator is already running");if(i===v){if("throw"===c)throw u;return{value:t,done:!0}}for(a.method=c,a.arg=u;;){var l=a.delegate;if(l){var h=maybeInvokeDelegate(l,a);if(h){if(h===m)continue;return h}}if("next"===a.method)a.sent=a._sent=a.arg;else if("throw"===a.method){if(i===p)throw i=v,a.arg;a.dispatchException(a.arg)}else"return"===a.method&&a.abrupt("return",a.arg);i=y;var g=tryCatch(r,o,a);if("normal"===g.type){if(i=a.done?v:d,g.arg===m)continue;return{value:g.arg,done:a.done}}"throw"===g.type&&(i=v,a.method="throw",a.arg=g.arg)}}}function maybeInvokeDelegate(r,o){var a=o.method,i=r.iterator[a];if(i===t)return o.delegate=null,"throw"===a&&r.iterator.return&&(o.method="return",o.arg=t,maybeInvokeDelegate(r,o),"throw"===o.method)||"return"!==a&&(o.method="throw",o.arg=new TypeError("The iterator does not provide a '"+a+"' method")),m;var c=tryCatch(i,r.iterator,o.arg);if("throw"===c.type)return o.method="throw",o.arg=c.arg,o.delegate=null,m;var u=c.arg;return u?u.done?(o[r.resultName]=u.value,o.next=r.nextLoc,"return"!==o.method&&(o.method="next",o.arg=t),o.delegate=null,m):u:(o.method="throw",o.arg=new TypeError("iterator result is not an object"),o.delegate=null,m)}function pushTryEntry(t){var r={tryLoc:t[0]};1 in t&&(r.catchLoc=t[1]),2 in t&&(r.finallyLoc=t[2],r.afterLoc=t[3]),this.tryEntries.push(r)}function resetTryEntry(t){var r=t.completion||{};r.type="normal",delete r.arg,t.completion=r}function Context(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(pushTryEntry,this),this.reset(!0)}function values(r){if(r||""===r){var o=r[u];if(o)return o.call(r);if("function"==typeof r.next)return r;if(!isNaN(r.length)){var i=-1,c=function next(){for(;++i<r.length;)if(a.call(r,i))return next.value=r[i],next.done=!1,next;return next.value=t,next.done=!0,next};return c.next=c}}throw new TypeError(_typeof(r)+" is not iterable")}return GeneratorFunction.prototype=GeneratorFunctionPrototype,i(x,"constructor",{value:GeneratorFunctionPrototype,configurable:!0}),i(GeneratorFunctionPrototype,"constructor",{value:GeneratorFunction,configurable:!0}),GeneratorFunction.displayName=define(GeneratorFunctionPrototype,h,"GeneratorFunction"),r.isGeneratorFunction=function(t){var r="function"==typeof t&&t.constructor;return!!r&&(r===GeneratorFunction||"GeneratorFunction"===(r.displayName||r.name))},r.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,GeneratorFunctionPrototype):(t.__proto__=GeneratorFunctionPrototype,define(t,h,"GeneratorFunction")),t.prototype=Object.create(x),t},r.awrap=function(t){return{__await:t}},defineIteratorMethods(AsyncIterator.prototype),define(AsyncIterator.prototype,l,(function(){return this})),r.AsyncIterator=AsyncIterator,r.async=function(t,o,a,i,c){void 0===c&&(c=Promise);var u=new AsyncIterator(wrap(t,o,a,i),c);return r.isGeneratorFunction(o)?u:u.next().then((function(t){return t.done?t.value:u.next()}))},defineIteratorMethods(x),define(x,h,"Generator"),define(x,u,(function(){return this})),define(x,"toString",(function(){return"[object Generator]"})),r.keys=function(t){var r=Object(t),o=[];for(var a in r)o.push(a);return o.reverse(),function next(){for(;o.length;){var t=o.pop();if(t in r)return next.value=t,next.done=!1,next}return next.done=!0,next}},r.values=values,Context.prototype={constructor:Context,reset:function reset(r){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(resetTryEntry),!r)for(var o in this)"t"===o.charAt(0)&&a.call(this,o)&&!isNaN(+o.slice(1))&&(this[o]=t)},stop:function stop(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function dispatchException(r){if(this.done)throw r;var o=this;function handle(a,i){return u.type="throw",u.arg=r,o.next=a,i&&(o.method="next",o.arg=t),!!i}for(var i=this.tryEntries.length-1;i>=0;--i){var c=this.tryEntries[i],u=c.completion;if("root"===c.tryLoc)return handle("end");if(c.tryLoc<=this.prev){var l=a.call(c,"catchLoc"),h=a.call(c,"finallyLoc");if(l&&h){if(this.prev<c.catchLoc)return handle(c.catchLoc,!0);if(this.prev<c.finallyLoc)return handle(c.finallyLoc)}else if(l){if(this.prev<c.catchLoc)return handle(c.catchLoc,!0)}else{if(!h)throw new Error("try statement without catch or finally");if(this.prev<c.finallyLoc)return handle(c.finallyLoc)}}}},abrupt:function abrupt(t,r){for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o];if(i.tryLoc<=this.prev&&a.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var c=i;break}}c&&("break"===t||"continue"===t)&&c.tryLoc<=r&&r<=c.finallyLoc&&(c=null);var u=c?c.completion:{};return u.type=t,u.arg=r,c?(this.method="next",this.next=c.finallyLoc,m):this.complete(u)},complete:function complete(t,r){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&r&&(this.next=r),m},finish:function finish(t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.finallyLoc===t)return this.complete(o.completion,o.afterLoc),resetTryEntry(o),m}},catch:function _catch(t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc===t){var a=o.completion;if("throw"===a.type){var i=a.arg;resetTryEntry(o)}return i}}throw new Error("illegal catch attempt")},delegateYield:function delegateYield(r,o,a){return this.delegate={iterator:values(r),resultName:o,nextLoc:a},"next"===this.method&&(this.arg=t),m}},r}function asyncGeneratorStep(t,r,o,a,i,c,u){try{var l=t[c](u),h=l.value}catch(t){return void o(t)}l.done?r(h):Promise.resolve(h).then(a,i)}function _asyncToGenerator(t){return function(){var r=this,o=arguments;return new Promise((function(a,i){var c=t.apply(r,o);function _next(t){asyncGeneratorStep(c,a,i,_next,_throw,"next",t)}function _throw(t){asyncGeneratorStep(c,a,i,_next,_throw,"throw",t)}_next(void 0)}))}}function _defineProperties(t,r){for(var o=0;o<r.length;o++){var a=r[o];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,_toPropertyKey(a.key),a)}}function _toPropertyKey(t){var r=function _toPrimitive(t,r){if("object"!=_typeof(t)||!t)return t;var o=t[Symbol.toPrimitive];if(void 0!==o){var a=o.call(t,r||"default");if("object"!=_typeof(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(t)}(t,"string");return"symbol"==_typeof(r)?r:String(r)}var a=o(505),i=o(975),c=o(318),u=function(){function IfFollow(t,r){!function _classCallCheck(t,r){if(!(t instanceof r))throw new TypeError("Cannot call a class as a function")}(this,IfFollow),this.yourName=t,this.yourToken=r}var t,r,o,u,l,h,p,d,y;return function _createClass(t,r,o){return r&&_defineProperties(t.prototype,r),o&&_defineProperties(t,o),Object.defineProperty(t,"prototype",{writable:!1}),t}(IfFollow,[{key:"isFollower",value:(y=_asyncToGenerator(_regeneratorRuntime().mark((function _callee(t){var r,o;return _regeneratorRuntime().wrap((function _callee$(a){for(;;)switch(a.prev=a.next){case 0:return a.next=2,i(this.yourName,this.yourToken);case 2:return r=a.sent,o=r.includes(t)?"Yes, ".concat(t," follows you!"):"No, ".concat(t," does not follow you!"),a.abrupt("return",o);case 5:case"end":return a.stop()}}),_callee,this)}))),function isFollower(t){return y.apply(this,arguments)})},{key:"isFollowing",value:(d=_asyncToGenerator(_regeneratorRuntime().mark((function _callee2(t){var r,o;return _regeneratorRuntime().wrap((function _callee2$(a){for(;;)switch(a.prev=a.next){case 0:return a.next=2,c(this.yourName,this.yourToken);case 2:return r=a.sent,o=r.includes(t)?"Yes, you follow ".concat(t,"!"):"No, you do not follow ".concat(t,"!"),a.abrupt("return",o);case 5:case"end":return a.stop()}}),_callee2,this)}))),function isFollowing(t){return d.apply(this,arguments)})},{key:"totalFollowers",value:(p=_asyncToGenerator(_regeneratorRuntime().mark((function _callee3(){var t;return _regeneratorRuntime().wrap((function _callee3$(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,i(this.yourName,this.yourToken);case 2:return t=r.sent,console.log("Your total Followers: ".concat(t.length)),r.abrupt("return",t.length);case 5:case"end":return r.stop()}}),_callee3,this)}))),function totalFollowers(){return p.apply(this,arguments)})},{key:"totalFollowings",value:(h=_asyncToGenerator(_regeneratorRuntime().mark((function _callee4(){var t;return _regeneratorRuntime().wrap((function _callee4$(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,c(this.yourName,this.yourToken);case 2:return t=r.sent,console.log("Your total Followings: ".concat(t.length)),r.abrupt("return",t.length);case 5:case"end":return r.stop()}}),_callee4,this)}))),function totalFollowings(){return h.apply(this,arguments)})},{key:"whoNotFollowingBack",value:(l=_asyncToGenerator(_regeneratorRuntime().mark((function _callee5(){var t,r,o,a=this;return _regeneratorRuntime().wrap((function _callee5$(u){for(;;)switch(u.prev=u.next){case 0:return u.next=2,i(this.yourName,this.yourToken);case 2:return t=u.sent,u.next=5,c(this.yourName,this.yourToken);case 5:if(r=u.sent,!(o=r.filter(function(r){return _newArrowCheck(this,a),!t.includes(r)}.bind(this)))){u.next=11;break}return u.abrupt("return",o);case 11:return u.abrupt("return",[]);case 12:case"end":return u.stop()}}),_callee5,this)}))),function whoNotFollowingBack(){return l.apply(this,arguments)})},{key:"whoFollowingBack",value:(u=_asyncToGenerator(_regeneratorRuntime().mark((function _callee6(){var t,r,o,a=this;return _regeneratorRuntime().wrap((function _callee6$(u){for(;;)switch(u.prev=u.next){case 0:return u.next=2,i(this.yourName,this.yourToken);case 2:return t=u.sent,u.next=5,c(this.yourName,this.yourToken);case 5:if(r=u.sent,!(o=r.filter(function(r){return _newArrowCheck(this,a),t.includes(r)}.bind(this)))){u.next=11;break}return u.abrupt("return",o);case 11:return u.abrupt("return",[]);case 12:case"end":return u.stop()}}),_callee6,this)}))),function whoFollowingBack(){return u.apply(this,arguments)})},{key:"isFollowingBack",value:(o=_asyncToGenerator(_regeneratorRuntime().mark((function _callee7(t){var r,o;return _regeneratorRuntime().wrap((function _callee7$(a){for(;;)switch(a.prev=a.next){case 0:return a.next=2,this.whoFollowingBack();case 2:return r=a.sent,o=r.includes(t)?"Yes, ".concat(t," following back!"):"No, ".concat(t," does not following back!"),a.abrupt("return",o);case 5:case"end":return a.stop()}}),_callee7,this)}))),function isFollowingBack(t){return o.apply(this,arguments)})},{key:"unfollowNotFollowingBack",value:(r=_asyncToGenerator(_regeneratorRuntime().mark((function _callee8(t){return _regeneratorRuntime().wrap((function _callee8$(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,this.whoNotFollowingBack();case 2:if(!r.sent.includes(t)){r.next=15;break}return r.prev=4,r.next=7,a.delete("https://api.github.com/user/following/".concat(t),{headers:{Authorization:"token ".concat(this.yourToken)}});case 7:console.log("Unfollowed: ".concat(t)),r.next=13;break;case 10:r.prev=10,r.t0=r.catch(4),console.error("Failed to unfollow: ".concat(t));case 13:r.next=16;break;case 15:console.log("Sorry, ".concat(t," is not in not-following-back users"));case 16:case"end":return r.stop()}}),_callee8,this,[[4,10]])}))),function unfollowNotFollowingBack(t){return r.apply(this,arguments)})},{key:"unfollowAllNotFollowingBack",value:(t=_asyncToGenerator(_regeneratorRuntime().mark((function _callee9(){var t,r,o,i;return _regeneratorRuntime().wrap((function _callee9$(c){for(;;)switch(c.prev=c.next){case 0:return c.next=2,this.whoNotFollowingBack();case 2:t=c.sent,r=_createForOfIteratorHelper(t),c.prev=4,r.s();case 6:if((o=r.n()).done){c.next=19;break}return i=o.value,c.prev=8,c.next=11,a.delete("https://api.github.com/user/following/".concat(i),{headers:{Authorization:"token ".concat(this.yourToken)}});case 11:console.log("Unfollowed: ".concat(i)),c.next=17;break;case 14:c.prev=14,c.t0=c.catch(8),console.error("Failed to unfollow: ".concat(i));case 17:c.next=6;break;case 19:c.next=24;break;case 21:c.prev=21,c.t1=c.catch(4),r.e(c.t1);case 24:return c.prev=24,r.f(),c.finish(24);case 27:console.log("Finished not following back users!");case 28:case"end":return c.stop()}}),_callee9,this,[[4,21,24,27],[8,14]])}))),function unfollowAllNotFollowingBack(){return t.apply(this,arguments)})}]),IfFollow}();t.exports=u},954:(t,r,o)=>{var a=o(897);t.exports=a},975:(t,r,o)=>{function _typeof(t){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_typeof(t)}function _regeneratorRuntime(){"use strict";_regeneratorRuntime=function _regeneratorRuntime(){return r};var t,r={},o=Object.prototype,a=o.hasOwnProperty,i=Object.defineProperty||function(t,r,o){t[r]=o.value},c="function"==typeof Symbol?Symbol:{},u=c.iterator||"@@iterator",l=c.asyncIterator||"@@asyncIterator",h=c.toStringTag||"@@toStringTag";function define(t,r,o){return Object.defineProperty(t,r,{value:o,enumerable:!0,configurable:!0,writable:!0}),t[r]}try{define({},"")}catch(t){define=function define(t,r,o){return t[r]=o}}function wrap(t,r,o,a){var c=r&&r.prototype instanceof Generator?r:Generator,u=Object.create(c.prototype),l=new Context(a||[]);return i(u,"_invoke",{value:makeInvokeMethod(t,o,l)}),u}function tryCatch(t,r,o){try{return{type:"normal",arg:t.call(r,o)}}catch(t){return{type:"throw",arg:t}}}r.wrap=wrap;var p="suspendedStart",d="suspendedYield",y="executing",v="completed",m={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}var g={};define(g,u,(function(){return this}));var w=Object.getPrototypeOf,b=w&&w(w(values([])));b&&b!==o&&a.call(b,u)&&(g=b);var x=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(g);function defineIteratorMethods(t){["next","throw","return"].forEach((function(r){define(t,r,(function(t){return this._invoke(r,t)}))}))}function AsyncIterator(t,r){function invoke(o,i,c,u){var l=tryCatch(t[o],t,i);if("throw"!==l.type){var h=l.arg,p=h.value;return p&&"object"==_typeof(p)&&a.call(p,"__await")?r.resolve(p.__await).then((function(t){invoke("next",t,c,u)}),(function(t){invoke("throw",t,c,u)})):r.resolve(p).then((function(t){h.value=t,c(h)}),(function(t){return invoke("throw",t,c,u)}))}u(l.arg)}var o;i(this,"_invoke",{value:function value(t,a){function callInvokeWithMethodAndArg(){return new r((function(r,o){invoke(t,a,r,o)}))}return o=o?o.then(callInvokeWithMethodAndArg,callInvokeWithMethodAndArg):callInvokeWithMethodAndArg()}})}function makeInvokeMethod(r,o,a){var i=p;return function(c,u){if(i===y)throw new Error("Generator is already running");if(i===v){if("throw"===c)throw u;return{value:t,done:!0}}for(a.method=c,a.arg=u;;){var l=a.delegate;if(l){var h=maybeInvokeDelegate(l,a);if(h){if(h===m)continue;return h}}if("next"===a.method)a.sent=a._sent=a.arg;else if("throw"===a.method){if(i===p)throw i=v,a.arg;a.dispatchException(a.arg)}else"return"===a.method&&a.abrupt("return",a.arg);i=y;var g=tryCatch(r,o,a);if("normal"===g.type){if(i=a.done?v:d,g.arg===m)continue;return{value:g.arg,done:a.done}}"throw"===g.type&&(i=v,a.method="throw",a.arg=g.arg)}}}function maybeInvokeDelegate(r,o){var a=o.method,i=r.iterator[a];if(i===t)return o.delegate=null,"throw"===a&&r.iterator.return&&(o.method="return",o.arg=t,maybeInvokeDelegate(r,o),"throw"===o.method)||"return"!==a&&(o.method="throw",o.arg=new TypeError("The iterator does not provide a '"+a+"' method")),m;var c=tryCatch(i,r.iterator,o.arg);if("throw"===c.type)return o.method="throw",o.arg=c.arg,o.delegate=null,m;var u=c.arg;return u?u.done?(o[r.resultName]=u.value,o.next=r.nextLoc,"return"!==o.method&&(o.method="next",o.arg=t),o.delegate=null,m):u:(o.method="throw",o.arg=new TypeError("iterator result is not an object"),o.delegate=null,m)}function pushTryEntry(t){var r={tryLoc:t[0]};1 in t&&(r.catchLoc=t[1]),2 in t&&(r.finallyLoc=t[2],r.afterLoc=t[3]),this.tryEntries.push(r)}function resetTryEntry(t){var r=t.completion||{};r.type="normal",delete r.arg,t.completion=r}function Context(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(pushTryEntry,this),this.reset(!0)}function values(r){if(r||""===r){var o=r[u];if(o)return o.call(r);if("function"==typeof r.next)return r;if(!isNaN(r.length)){var i=-1,c=function next(){for(;++i<r.length;)if(a.call(r,i))return next.value=r[i],next.done=!1,next;return next.value=t,next.done=!0,next};return c.next=c}}throw new TypeError(_typeof(r)+" is not iterable")}return GeneratorFunction.prototype=GeneratorFunctionPrototype,i(x,"constructor",{value:GeneratorFunctionPrototype,configurable:!0}),i(GeneratorFunctionPrototype,"constructor",{value:GeneratorFunction,configurable:!0}),GeneratorFunction.displayName=define(GeneratorFunctionPrototype,h,"GeneratorFunction"),r.isGeneratorFunction=function(t){var r="function"==typeof t&&t.constructor;return!!r&&(r===GeneratorFunction||"GeneratorFunction"===(r.displayName||r.name))},r.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,GeneratorFunctionPrototype):(t.__proto__=GeneratorFunctionPrototype,define(t,h,"GeneratorFunction")),t.prototype=Object.create(x),t},r.awrap=function(t){return{__await:t}},defineIteratorMethods(AsyncIterator.prototype),define(AsyncIterator.prototype,l,(function(){return this})),r.AsyncIterator=AsyncIterator,r.async=function(t,o,a,i,c){void 0===c&&(c=Promise);var u=new AsyncIterator(wrap(t,o,a,i),c);return r.isGeneratorFunction(o)?u:u.next().then((function(t){return t.done?t.value:u.next()}))},defineIteratorMethods(x),define(x,h,"Generator"),define(x,u,(function(){return this})),define(x,"toString",(function(){return"[object Generator]"})),r.keys=function(t){var r=Object(t),o=[];for(var a in r)o.push(a);return o.reverse(),function next(){for(;o.length;){var t=o.pop();if(t in r)return next.value=t,next.done=!1,next}return next.done=!0,next}},r.values=values,Context.prototype={constructor:Context,reset:function reset(r){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(resetTryEntry),!r)for(var o in this)"t"===o.charAt(0)&&a.call(this,o)&&!isNaN(+o.slice(1))&&(this[o]=t)},stop:function stop(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function dispatchException(r){if(this.done)throw r;var o=this;function handle(a,i){return u.type="throw",u.arg=r,o.next=a,i&&(o.method="next",o.arg=t),!!i}for(var i=this.tryEntries.length-1;i>=0;--i){var c=this.tryEntries[i],u=c.completion;if("root"===c.tryLoc)return handle("end");if(c.tryLoc<=this.prev){var l=a.call(c,"catchLoc"),h=a.call(c,"finallyLoc");if(l&&h){if(this.prev<c.catchLoc)ret