Greasy Fork is available in English.

Apisauce

Apisauce bundled

이 스크립트는 직접 설치해서 쓰는 게 아닙니다. 다른 스크립트가 메타 명령 // @require https://update.greasyfork.org/scripts/396834/775089/Apisauce.js(으)로 포함하여 쓰는 라이브러리입니다.

질문, 리뷰하거나, 이 스크립트를 신고하세요.
// ==UserScript==
// @name         Apisauce
// @namespace    eisen-stein
// @version      1.0.0
// @description  Apisauce bundled
// ==/UserScript==

!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.apisauce=e():t.apisauce=e()}(window,(function(){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=29)}([function(t,e,n){var r=n(2),o=n(4);t.exports=function(t){return function e(n,u){switch(arguments.length){case 0:return e;case 1:return o(n)?e:r((function(e){return t(n,e)}));default:return o(n)&&o(u)?e:o(n)?r((function(e){return t(e,u)})):o(u)?r((function(e){return t(n,e)})):t(n,u)}}}},function(t,e,n){"use strict";var r=n(14),o=Object.prototype.toString;function u(t){return"[object Array]"===o.call(t)}function i(t){return void 0===t}function a(t){return null!==t&&"object"==typeof t}function c(t){return"[object Function]"===o.call(t)}function s(t,e){if(null!=t)if("object"!=typeof t&&(t=[t]),u(t))for(var n=0,r=t.length;n<r;n++)e.call(null,t[n],n,t);else for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&e.call(null,t[o],o,t)}t.exports={isArray:u,isArrayBuffer:function(t){return"[object ArrayBuffer]"===o.call(t)},isBuffer:function(t){return null!==t&&!i(t)&&null!==t.constructor&&!i(t.constructor)&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)},isFormData:function(t){return"undefined"!=typeof FormData&&t instanceof FormData},isArrayBufferView:function(t){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&t.buffer instanceof ArrayBuffer},isString:function(t){return"string"==typeof t},isNumber:function(t){return"number"==typeof t},isObject:a,isUndefined:i,isDate:function(t){return"[object Date]"===o.call(t)},isFile:function(t){return"[object File]"===o.call(t)},isBlob:function(t){return"[object Blob]"===o.call(t)},isFunction:c,isStream:function(t){return a(t)&&c(t.pipe)},isURLSearchParams:function(t){return"undefined"!=typeof URLSearchParams&&t instanceof URLSearchParams},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!=typeof window&&"undefined"!=typeof document)},forEach:s,merge:function t(){var e={};function n(n,r){"object"==typeof e[r]&&"object"==typeof n?e[r]=t(e[r],n):e[r]=n}for(var r=0,o=arguments.length;r<o;r++)s(arguments[r],n);return e},deepMerge:function t(){var e={};function n(n,r){"object"==typeof e[r]&&"object"==typeof n?e[r]=t(e[r],n):e[r]="object"==typeof n?t({},n):n}for(var r=0,o=arguments.length;r<o;r++)s(arguments[r],n);return e},extend:function(t,e,n){return s(e,(function(e,o){t[o]=n&&"function"==typeof e?r(e,n):e})),t},trim:function(t){return t.replace(/^\s*/,"").replace(/\s*$/,"")}}},function(t,e,n){var r=n(4);t.exports=function(t){return function e(n){return 0===arguments.length||r(n)?e:t.apply(this,arguments)}}},function(t,e){t.exports=function(t,e){switch(t){case 0:return function(){return e.apply(this,arguments)};case 1:return function(t){return e.apply(this,arguments)};case 2:return function(t,n){return e.apply(this,arguments)};case 3:return function(t,n,r){return e.apply(this,arguments)};case 4:return function(t,n,r,o){return e.apply(this,arguments)};case 5:return function(t,n,r,o,u){return e.apply(this,arguments)};case 6:return function(t,n,r,o,u,i){return e.apply(this,arguments)};case 7:return function(t,n,r,o,u,i,a){return e.apply(this,arguments)};case 8:return function(t,n,r,o,u,i,a,c){return e.apply(this,arguments)};case 9:return function(t,n,r,o,u,i,a,c,s){return e.apply(this,arguments)};case 10:return function(t,n,r,o,u,i,a,c,s,f){return e.apply(this,arguments)};default:throw new Error("First argument to _arity must be a non-negative integer no greater than ten")}}},function(t,e){t.exports=function(t){return null!=t&&"object"==typeof t&&!0===t["@@functional/placeholder"]}},function(t,e,n){var r=n(3),o=n(2),u=n(0),i=n(46),a=u((function(t,e){return 1===t?o(e):r(t,i(t,[],e))}));t.exports=a},function(t,e){t.exports=function(t,e){return Object.prototype.hasOwnProperty.call(e,t)}},function(t,e,n){"use strict";var r=n(1);function o(t){return encodeURIComponent(t).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}t.exports=function(t,e,n){if(!e)return t;var u;if(n)u=n(e);else if(r.isURLSearchParams(e))u=e.toString();else{var i=[];r.forEach(e,(function(t,e){null!=t&&(r.isArray(t)?e+="[]":t=[t],r.forEach(t,(function(t){r.isDate(t)?t=t.toISOString():r.isObject(t)&&(t=JSON.stringify(t)),i.push(o(e)+"="+o(t))})))})),u=i.join("&")}if(u){var a=t.indexOf("#");-1!==a&&(t=t.slice(0,a)),t+=(-1===t.indexOf("?")?"?":"&")+u}return t}},function(t,e,n){"use strict";var r=n(37);t.exports=function(t,e,n,o,u){var i=new Error(t);return r(i,e,n,o,u)}},function(t,e,n){var r=n(2),o=n(0),u=n(4);t.exports=function(t){return function e(n,i,a){switch(arguments.length){case 0:return e;case 1:return u(n)?e:o((function(e,r){return t(n,e,r)}));case 2:return u(n)&&u(i)?e:u(n)?o((function(e,n){return t(e,i,n)})):u(i)?o((function(e,r){return t(n,e,r)})):r((function(e){return t(n,i,e)}));default:return u(n)&&u(i)&&u(a)?e:u(n)&&u(i)?o((function(e,n){return t(e,n,a)})):u(n)&&u(a)?o((function(e,n){return t(e,i,n)})):u(i)&&u(a)?o((function(e,r){return t(n,e,r)})):u(n)?r((function(e){return t(e,i,a)})):u(i)?r((function(e){return t(n,e,a)})):u(a)?r((function(e){return t(n,i,e)})):t(n,i,a)}}}},function(t,e){t.exports=Array.isArray||function(t){return null!=t&&t.length>=0&&"[object Array]"===Object.prototype.toString.call(t)}},function(t,e,n){var r=n(10);t.exports=function(t,e){return function(){var n=arguments.length;if(0===n)return e();var o=arguments[n-1];return r(o)||"function"!=typeof o[t]?e.apply(this,arguments):o[t].apply(o,Array.prototype.slice.call(arguments,0,n-1))}}},function(t,e,n){var r=n(2),o=n(6),u=n(55),i=!{toString:null}.propertyIsEnumerable("toString"),a=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],c=function(){"use strict";return arguments.propertyIsEnumerable("length")}(),s=function(t,e){for(var n=0;n<t.length;){if(t[n]===e)return!0;n+=1}return!1},f=r("function"!=typeof Object.keys||c?function(t){if(Object(t)!==t)return[];var e,n,r=[],f=c&&u(t);for(e in t)!o(e,t)||f&&"length"===e||(r[r.length]=e);if(i)for(n=a.length-1;n>=0;)o(e=a[n],t)&&!s(r,e)&&(r[r.length]=e),n-=1;return r}:function(t){return Object(t)!==t?[]:Object.keys(t)});t.exports=f},function(t,e,n){t.exports=n(30)},function(t,e,n){"use strict";t.exports=function(t,e){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return t.apply(e,n)}}},function(t,e,n){"use strict";t.exports=function(t){return!(!t||!t.__CANCEL__)}},function(t,e,n){"use strict";(function(e){var r=n(1),o=n(36),u={"Content-Type":"application/x-www-form-urlencoded"};function i(t,e){!r.isUndefined(t)&&r.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}var a,c={adapter:("undefined"!=typeof XMLHttpRequest?a=n(17):void 0!==e&&"[object process]"===Object.prototype.toString.call(e)&&(a=n(17)),a),transformRequest:[function(t,e){return o(e,"Accept"),o(e,"Content-Type"),r.isFormData(t)||r.isArrayBuffer(t)||r.isBuffer(t)||r.isStream(t)||r.isFile(t)||r.isBlob(t)?t:r.isArrayBufferView(t)?t.buffer:r.isURLSearchParams(t)?(i(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):r.isObject(t)?(i(e,"application/json;charset=utf-8"),JSON.stringify(t)):t}],transformResponse:[function(t){if("string"==typeof t)try{t=JSON.parse(t)}catch(t){}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,validateStatus:function(t){return t>=200&&t<300}};c.headers={common:{Accept:"application/json, text/plain, */*"}},r.forEach(["delete","get","head"],(function(t){c.headers[t]={}})),r.forEach(["post","put","patch"],(function(t){c.headers[t]=r.merge(u)})),t.exports=c}).call(this,n(35))},function(t,e,n){"use strict";var r=n(1),o=n(18),u=n(7),i=n(19),a=n(20),c=n(21),s=n(8);t.exports=function(t){return new Promise((function(e,f){var l=t.data,p=t.headers;r.isFormData(l)&&delete p["Content-Type"];var d=new XMLHttpRequest;if(t.auth){var h=t.auth.username||"",y=t.auth.password||"";p.Authorization="Basic "+btoa(h+":"+y)}var v=i(t.baseURL,t.url);if(d.open(t.method.toUpperCase(),u(v,t.params,t.paramsSerializer),!0),d.timeout=t.timeout,d.onreadystatechange=function(){if(d&&4===d.readyState&&(0!==d.status||d.responseURL&&0===d.responseURL.indexOf("file:"))){var n="getAllResponseHeaders"in d?a(d.getAllResponseHeaders()):null,r={data:t.responseType&&"text"!==t.responseType?d.response:d.responseText,status:d.status,statusText:d.statusText,headers:n,config:t,request:d};o(e,f,r),d=null}},d.onabort=function(){d&&(f(s("Request aborted",t,"ECONNABORTED",d)),d=null)},d.onerror=function(){f(s("Network Error",t,null,d)),d=null},d.ontimeout=function(){var e="timeout of "+t.timeout+"ms exceeded";t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),f(s(e,t,"ECONNABORTED",d)),d=null},r.isStandardBrowserEnv()){var m=n(22),g=(t.withCredentials||c(v))&&t.xsrfCookieName?m.read(t.xsrfCookieName):void 0;g&&(p[t.xsrfHeaderName]=g)}if("setRequestHeader"in d&&r.forEach(p,(function(t,e){void 0===l&&"content-type"===e.toLowerCase()?delete p[e]:d.setRequestHeader(e,t)})),r.isUndefined(t.withCredentials)||(d.withCredentials=!!t.withCredentials),t.responseType)try{d.responseType=t.responseType}catch(e){if("json"!==t.responseType)throw e}"function"==typeof t.onDownloadProgress&&d.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&d.upload&&d.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then((function(t){d&&(d.abort(),f(t),d=null)})),void 0===l&&(l=null),d.send(l)}))}},function(t,e,n){"use strict";var r=n(8);t.exports=function(t,e,n){var o=n.config.validateStatus;!o||o(n.status)?t(n):e(r("Request failed with status code "+n.status,n.config,null,n.request,n))}},function(t,e,n){"use strict";var r=n(38),o=n(39);t.exports=function(t,e){return t&&!r(e)?o(t,e):e}},function(t,e,n){"use strict";var r=n(1),o=["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(t){var e,n,u,i={};return t?(r.forEach(t.split("\n"),(function(t){if(u=t.indexOf(":"),e=r.trim(t.substr(0,u)).toLowerCase(),n=r.trim(t.substr(u+1)),e){if(i[e]&&o.indexOf(e)>=0)return;i[e]="set-cookie"===e?(i[e]?i[e]:[]).concat([n]):i[e]?i[e]+", "+n:n}})),i):i}},function(t,e,n){"use strict";var r=n(1);t.exports=r.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function o(t){var r=t;return e&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return t=o(window.location.href),function(e){var n=r.isString(e)?o(e):e;return n.protocol===t.protocol&&n.host===t.host}}():function(){return!0}},function(t,e,n){"use strict";var r=n(1);t.exports=r.isStandardBrowserEnv()?{write:function(t,e,n,o,u,i){var a=[];a.push(t+"="+encodeURIComponent(e)),r.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),r.isString(o)&&a.push("path="+o),r.isString(u)&&a.push("domain="+u),!0===i&&a.push("secure"),document.cookie=a.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},function(t,e,n){"use strict";var r=n(1);t.exports=function(t,e){e=e||{};var n={},o=["url","method","params","data"],u=["headers","auth","proxy"],i=["baseURL","url","transformRequest","transformResponse","paramsSerializer","timeout","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","maxContentLength","validateStatus","maxRedirects","httpAgent","httpsAgent","cancelToken","socketPath"];r.forEach(o,(function(t){void 0!==e[t]&&(n[t]=e[t])})),r.forEach(u,(function(o){r.isObject(e[o])?n[o]=r.deepMerge(t[o],e[o]):void 0!==e[o]?n[o]=e[o]:r.isObject(t[o])?n[o]=r.deepMerge(t[o]):void 0!==t[o]&&(n[o]=t[o])})),r.forEach(i,(function(r){void 0!==e[r]?n[r]=e[r]:void 0!==t[r]&&(n[r]=t[r])}));var a=o.concat(u).concat(i),c=Object.keys(e).filter((function(t){return-1===a.indexOf(t)}));return r.forEach(c,(function(r){void 0!==e[r]?n[r]=e[r]:void 0!==t[r]&&(n[r]=t[r])})),n}},function(t,e,n){"use strict";function r(t){this.message=t}r.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},r.prototype.__CANCEL__=!0,t.exports=r},function(t,e,n){"use strict";function r(t){return t&&"object"==typeof t&&"default"in t?t.default:t}Object.defineProperty(e,"__esModule",{value:!0});var o=r(n(42)),u=r(n(45)),i=r(n(47)),a=r(n(12)),c=r(n(56)),s=r(n(57)),f=r(n(58)),l=r(n(61)),p=r(n(28)),d=r(n(63)),h=r(n(64)),y=r(n(74)),v=r(n(5)),m=r(n(75)),g=r(n(76)),R=r(n(77)),x=r(n(79)),b=r(n(80)),E=r(n(13)),O=function(){return(O=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)},w=function(t,e,n,r){return new(n||(n=Promise))((function(o,u){function i(t){try{c(r.next(t))}catch(t){u(t)}}function a(t){try{c(r.throw(t))}catch(t){u(t)}}function c(t){t.done?o(t.value):new n((function(e){e(t.value)})).then(i,a)}c((r=r.apply(t,e||[])).next())}))},N=function(t,e){var n,r,o,u,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return u={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(u[Symbol.iterator]=function(){return this}),u;function a(u){return function(a){return function(u){if(n)throw new TypeError("Generator is already executing.");for(;i;)try{if(n=1,r&&(o=2&u[0]?r.return:u[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,u[1])).done)return o;switch(r=0,o&&(u=[2&u[0],o.value]),u[0]){case 0:case 1:o=u;break;case 4:return i.label++,{value:u[1],done:!1};case 5:i.label++,r=u[1],u=[0];continue;case 7:u=i.ops.pop(),i.trys.pop();continue;default:if(!(o=(o=i.trys).length>0&&o[o.length-1])&&(6===u[0]||2===u[0])){i=0;continue}if(3===u[0]&&(!o||u[1]>o[0]&&u[1]<o[3])){i.label=u[1];break}if(6===u[0]&&i.label<o[1]){i.label=o[1],o=u;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(u);break}o[2]&&i.ops.pop(),i.trys.pop();continue}u=e.call(t,i)}catch(t){u=[6,t],r=0}finally{n=o=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}([u,a])}}},T=b([[x,R],[g(Number),R],[m,function(t){return Number(t)}]]),j=v(3,(function(t,e,n){var r=g(Number);return r(t)&&r(e)&&r(n)&&y(n,t)&&y(e,n)})),C=v(2,(function(t,e){return h(e,t)})),S=function(t){return!!t&&("object"==typeof t||"function"==typeof t)&&"function"==typeof t.then},A={Accept:"application/json","Content-Type":"application/json"},_={timeout:0},U=["ECONNABORTED"],k=["ENOTFOUND","ECONNREFUSED","ECONNRESET"],L=j(200,299),q=j(400,499),P=j(500,599),B=d(x,p(void 0),l("status")),I=function(t){return"Network Error"===t.message?"NETWORK_ERROR":E.isCancel(t)?"CANCEL_ERROR":b([[x,function(){return D(B(t.response))}],[C(U),p("TIMEOUT_ERROR")],[C(k),p("CONNECTION_ERROR")],[m,p("UNKNOWN_ERROR")]])(t.code)},D=function(t){return b([[x,p("UNKNOWN_ERROR")],[L,p(null)],[q,p("CLIENT_ERROR")],[P,p("SERVER_ERROR")],[m,p("UNKNOWN_ERROR")]])(t)},F=function(t){var e,n=f(A,t.headers||{});if(t.axiosInstance)e=t.axiosInstance;else{var r=f(_,s("headers",t));e=E.create(r)}var l=[],p=[],d=[],h=[],y=[],v=function(t,r){return n[t]=r,e},m=function(t,e,n,r){return void 0===n&&(n={}),void 0===r&&(r={}),R(f({url:e,params:n,method:t},r))},g=function(t,e,n,r){return void 0===n&&(n=null),void 0===r&&(r={}),R(f({url:e,method:t,data:n},r))},R=function(t){return w(void 0,void 0,void 0,(function(){var r,o,u;return N(this,(function(a){switch(a.label){case 0:if(t.headers=O({},n,t.headers),p.length>0&&c((function(e){return e(t)}),p),!(d.length>0))return[3,6];r=0,a.label=1;case 1:return r<d.length?(o=d[r](t),S(o)?[4,o]:[3,3]):[3,6];case 2:return a.sent(),[3,5];case 3:return[4,o(t)];case 4:a.sent(),a.label=5;case 5:return r++,[3,1];case 6:return u=i(b(T(new Date)),x),[2,e.request(t).then(u).catch(u)]}}))}))},x=function(t){return l.forEach((function(e){try{e(t)}catch(t){}})),t},b=u((function(t,e){return w(void 0,void 0,void 0,(function(){var n,r,o,u,i,a,s,f,l,p,d,v,m,g,R,x;return N(this,(function(b){switch(b.label){case 0:if(n=T(new Date),r=n-t,o=e instanceof Error||E.isCancel(e),u=e,i=e,a=o?i.response:u,s=a&&a.status||null,f=o?I(e):D(s),l=o?i:null,p=L(s),d=e.config||null,v=a&&a.headers||null,m=a&&a.data||null,g={duration:r,problem:f,originalError:l,ok:p,status:s,headers:v,config:d,data:m},h.length>0&&c((function(t){return t(g)}),h),!(y.length>0))return[3,6];R=0,b.label=1;case 1:return R<y.length?(x=y[R](g),S(x)?[4,x]:[3,3]):[3,6];case 2:return b.sent(),[3,5];case 3:return[4,x(g)];case 4:b.sent(),b.label=5;case 5:return R++,[3,1];case 6:return[2,g]}}))}))}));return{axiosInstance:e,monitors:l,addMonitor:function(t){l.push(t)},requestTransforms:p,asyncRequestTransforms:d,responseTransforms:h,asyncResponseTransforms:y,addRequestTransform:function(t){return p.push(t)},addAsyncRequestTransform:function(t){return d.push(t)},addResponseTransform:function(t){return h.push(t)},addAsyncResponseTransform:function(t){return y.push(t)},setHeader:v,setHeaders:function(t){return c((function(e){return v(e,t[e])}),a(t)),e},deleteHeader:function(t){return delete n[t],e},headers:n,setBaseURL:function(t){return e.defaults.baseURL=t,e},getBaseURL:function(){return e.defaults.baseURL},get:o(m,["get"]),delete:o(m,["delete"]),head:o(m,["head"]),post:o(g,["post"]),put:o(g,["put"]),patch:o(g,["patch"]),link:o(m,["link"]),unlink:o(m,["unlink"])}},M=E.isCancel,H=E.CancelToken,K={DEFAULT_HEADERS:A,NONE:null,CLIENT_ERROR:"CLIENT_ERROR",SERVER_ERROR:"SERVER_ERROR",TIMEOUT_ERROR:"TIMEOUT_ERROR",CONNECTION_ERROR:"CONNECTION_ERROR",NETWORK_ERROR:"NETWORK_ERROR",UNKNOWN_ERROR:"UNKNOWN_ERROR",create:F,isCancel:M,CancelToken:H};e.DEFAULT_HEADERS=A,e.NONE=null,e.CLIENT_ERROR="CLIENT_ERROR",e.SERVER_ERROR="SERVER_ERROR",e.TIMEOUT_ERROR="TIMEOUT_ERROR",e.CONNECTION_ERROR="CONNECTION_ERROR",e.NETWORK_ERROR="NETWORK_ERROR",e.UNKNOWN_ERROR="UNKNOWN_ERROR",e.CANCEL_ERROR="CANCEL_ERROR",e.getProblemFromError=I,e.getProblemFromStatus=D,e.create=F,e.isCancel=M,e.CancelToken=H,e.default=K},function(t,e,n){var r=n(9)(n(27));t.exports=r},function(t,e,n){var r=n(49),o=n(51),u=n(52);function i(t,e,n){for(var r=n.next();!r.done;){if((e=t["@@transducer/step"](e,r.value))&&e["@@transducer/reduced"]){e=e["@@transducer/value"];break}r=n.next()}return t["@@transducer/result"](e)}function a(t,e,n,r){return t["@@transducer/result"](n[r](u(t["@@transducer/step"],t),e))}var c="undefined"!=typeof Symbol?Symbol.iterator:"@@iterator";t.exports=function(t,e,n){if("function"==typeof t&&(t=o(t)),r(n))return function(t,e,n){for(var r=0,o=n.length;r<o;){if((e=t["@@transducer/step"](e,n[r]))&&e["@@transducer/reduced"]){e=e["@@transducer/value"];break}r+=1}return t["@@transducer/result"](e)}(t,e,n);if("function"==typeof n["fantasy-land/reduce"])return a(t,e,n,"fantasy-land/reduce");if(null!=n[c])return i(t,e,n[c]());if("function"==typeof n.next)return i(t,e,n);if("function"==typeof n.reduce)return a(t,e,n,"reduce");throw new TypeError("reduce: list must be array or iterable")}},function(t,e,n){var r=n(2)((function(t){return function(){return t}}));t.exports=r},function(t,e,n){"use strict";n.r(e),n.d(e,"axios",(function(){return i}));var r=n(25);for(var o in r)["axios","default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return r[t]}))}(o);var u=n(13);u.settle=n(18),u.utils=n(1),u.createError=n(8),u.parseHeaders=n(20),u.buildURL=n(7),u.buildFullPath=n(19),u.isURLSameOrigin=n(21),u.cookies=n(22);var i=u},function(t,e,n){"use strict";var r=n(1),o=n(14),u=n(31),i=n(23);function a(t){var e=new u(t),n=o(u.prototype.request,e);return r.extend(n,u.prototype,e),r.extend(n,e),n}var c=a(n(16));c.Axios=u,c.create=function(t){return a(i(c.defaults,t))},c.Cancel=n(24),c.CancelToken=n(40),c.isCancel=n(15),c.all=function(t){return Promise.all(t)},c.spread=n(41),t.exports=c,t.exports.default=c},function(t,e,n){"use strict";var r=n(1),o=n(7),u=n(32),i=n(33),a=n(23);function c(t){this.defaults=t,this.interceptors={request:new u,response:new u}}c.prototype.request=function(t){"string"==typeof t?(t=arguments[1]||{}).url=arguments[0]:t=t||{},(t=a(this.defaults,t)).method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var e=[i,void 0],n=Promise.resolve(t);for(this.interceptors.request.forEach((function(t){e.unshift(t.fulfilled,t.rejected)})),this.interceptors.response.forEach((function(t){e.push(t.fulfilled,t.rejected)}));e.length;)n=n.then(e.shift(),e.shift());return n},c.prototype.getUri=function(t){return t=a(this.defaults,t),o(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")},r.forEach(["delete","get","head","options"],(function(t){c.prototype[t]=function(e,n){return this.request(r.merge(n||{},{method:t,url:e}))}})),r.forEach(["post","put","patch"],(function(t){c.prototype[t]=function(e,n,o){return this.request(r.merge(o||{},{method:t,url:e,data:n}))}})),t.exports=c},function(t,e,n){"use strict";var r=n(1);function o(){this.handlers=[]}o.prototype.use=function(t,e){return this.handlers.push({fulfilled:t,rejected:e}),this.handlers.length-1},o.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},o.prototype.forEach=function(t){r.forEach(this.handlers,(function(e){null!==e&&t(e)}))},t.exports=o},function(t,e,n){"use strict";var r=n(1),o=n(34),u=n(15),i=n(16);function a(t){t.cancelToken&&t.cancelToken.throwIfRequested()}t.exports=function(t){return a(t),t.headers=t.headers||{},t.data=o(t.data,t.headers,t.transformRequest),t.headers=r.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),r.forEach(["delete","get","head","post","put","patch","common"],(function(e){delete t.headers[e]})),(t.adapter||i.adapter)(t).then((function(e){return a(t),e.data=o(e.data,e.headers,t.transformResponse),e}),(function(e){return u(e)||(a(t),e&&e.response&&(e.response.data=o(e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)}))}},function(t,e,n){"use strict";var r=n(1);t.exports=function(t,e,n){return r.forEach(n,(function(n){t=n(t,e)})),t}},function(t,e){var n,r,o=t.exports={};function u(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}function a(t){if(n===setTimeout)return setTimeout(t,0);if((n===u||!n)&&setTimeout)return n=setTimeout,setTimeout(t,0);try{return n(t,0)}catch(e){try{return n.call(null,t,0)}catch(e){return n.call(this,t,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:u}catch(t){n=u}try{r="function"==typeof clearTimeout?clearTimeout:i}catch(t){r=i}}();var c,s=[],f=!1,l=-1;function p(){f&&c&&(f=!1,c.length?s=c.concat(s):l=-1,s.length&&d())}function d(){if(!f){var t=a(p);f=!0;for(var e=s.length;e;){for(c=s,s=[];++l<e;)c&&c[l].run();l=-1,e=s.length}c=null,f=!1,function(t){if(r===clearTimeout)return clearTimeout(t);if((r===i||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(t);try{r(t)}catch(e){try{return r.call(null,t)}catch(e){return r.call(this,t)}}}(t)}}function h(t,e){this.fun=t,this.array=e}function y(){}o.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];s.push(new h(t,e)),1!==s.length||f||a(d)},h.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=y,o.addListener=y,o.once=y,o.off=y,o.removeListener=y,o.removeAllListeners=y,o.emit=y,o.prependListener=y,o.prependOnceListener=y,o.listeners=function(t){return[]},o.binding=function(t){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(t){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},function(t,e,n){"use strict";var r=n(1);t.exports=function(t,e){r.forEach(t,(function(n,r){r!==e&&r.toUpperCase()===e.toUpperCase()&&(t[e]=n,delete t[r])}))}},function(t,e,n){"use strict";t.exports=function(t,e,n,r,o){return t.config=e,n&&(t.code=n),t.request=r,t.response=o,t.isAxiosError=!0,t.toJSON=function(){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}},t}},function(t,e,n){"use strict";t.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}},function(t,e,n){"use strict";t.exports=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}},function(t,e,n){"use strict";var r=n(24);function o(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise((function(t){e=t}));var n=this;t((function(t){n.reason||(n.reason=new r(t),e(n.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.source=function(){var t;return{token:new o((function(e){t=e})),cancel:t}},t.exports=o},function(t,e,n){"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},function(t,e,n){var r=n(43),o=n(44)(r);t.exports=o},function(t,e){t.exports=function(t,e){var n;e=e||[];var r=(t=t||[]).length,o=e.length,u=[];for(n=0;n<r;)u[u.length]=t[n],n+=1;for(n=0;n<o;)u[u.length]=e[n],n+=1;return u}},function(t,e,n){var r=n(3),o=n(0);t.exports=function(t){return o((function(e,n){return r(Math.max(0,e.length-n.length),(function(){return e.apply(this,t(n,arguments))}))}))}},function(t,e,n){var r=n(2),o=n(5),u=r((function(t){return o(t.length,t)}));t.exports=u},function(t,e,n){var r=n(3),o=n(4);t.exports=function t(e,n,u){return function(){for(var i=[],a=0,c=e,s=0;s<n.length||a<arguments.length;){var f;s<n.length&&(!o(n[s])||a>=arguments.length)?f=n[s]:(f=arguments[a],a+=1),i[s]=f,o(f)||(c-=1),s+=1}return c<=0?u.apply(this,i):r(c,t(e,i,u))}}},function(t,e,n){var r=n(3),o=n(48),u=n(26),i=n(53);t.exports=function(){if(0===arguments.length)throw new Error("pipeP requires at least one argument");return r(arguments[0].length,u(o,arguments[0],i(arguments)))}},function(t,e){t.exports=function(t,e){return function(){var n=this;return t.apply(n,arguments).then((function(t){return e.call(n,t)}))}}},function(t,e,n){var r=n(2),o=n(10),u=n(50),i=r((function(t){return!!o(t)||!!t&&("object"==typeof t&&(!u(t)&&(1===t.nodeType?!!t.length:0===t.length||t.length>0&&(t.hasOwnProperty(0)&&t.hasOwnProperty(t.length-1)))))}));t.exports=i},function(t,e){t.exports=function(t){return"[object String]"===Object.prototype.toString.call(t)}},function(t,e){var n=function(){function t(t){this.f=t}return t.prototype["@@transducer/init"]=function(){throw new Error("init not implemented on XWrap")},t.prototype["@@transducer/result"]=function(t){return t},t.prototype["@@transducer/step"]=function(t,e){return this.f(t,e)},t}();t.exports=function(t){return new n(t)}},function(t,e,n){var r=n(3),o=n(0)((function(t,e){return r(t.length,(function(){return t.apply(e,arguments)}))}));t.exports=o},function(t,e,n){var r=n(11),o=n(2)(r("tail",n(54)(1,1/0)));t.exports=o},function(t,e,n){var r=n(11),o=n(9)(r("slice",(function(t,e,n){return Array.prototype.slice.call(n,t,e)})));t.exports=o},function(t,e,n){var r=n(6),o=Object.prototype.toString;t.exports=function(){return"[object Arguments]"===o.call(arguments)?function(t){return"[object Arguments]"===o.call(t)}:function(t){return r("callee",t)}}},function(t,e,n){var r=n(11),o=n(0)(r("forEach",(function(t,e){for(var n=e.length,r=0;r<n;)t(e[r]),r+=1;return e})));t.exports=o},function(t,e,n){var r=n(0)((function(t,e){var n={};for(var r in e)n[r]=e[r];return delete n[t],n}));t.exports=r},function(t,e,n){var r=n(59),o=n(0)((function(t,e){return r({},t,e)}));t.exports=o},function(t,e,n){var r=n(60);t.exports="function"==typeof Object.assign?Object.assign:r},function(t,e,n){var r=n(6);t.exports=function(t){if(null==t)throw new TypeError("Cannot convert undefined or null to object");for(var e=Object(t),n=1,o=arguments.length;n<o;){var u=arguments[n];if(null!=u)for(var i in u)r(i,u)&&(e[i]=u[i]);n+=1}return e}},function(t,e,n){var r=n(0),o=n(62),u=r((function(t,e){return o([t],e)}));t.exports=u},function(t,e,n){var r=n(0)((function(t,e){for(var n=e,r=0;r<t.length;){if(null==n)return;n=n[t[r]],r+=1}return n}));t.exports=r},function(t,e,n){var r=n(9),o=n(5),u=r((function(t,e,n){return o(Math.max(t.length,e.length,n.length),(function(){return t.apply(this,arguments)?e.apply(this,arguments):n.apply(this,arguments)}))}));t.exports=u},function(t,e,n){var r=n(65),o=n(0)(r);t.exports=o},function(t,e,n){var r=n(66);t.exports=function(t,e){return r(e,t,0)>=0}},function(t,e,n){var r=n(67);t.exports=function(t,e,n){var o,u;if("function"==typeof t.indexOf)switch(typeof e){case"number":if(0===e){for(o=1/e;n<t.length;){if(0===(u=t[n])&&1/u===o)return n;n+=1}return-1}if(e!=e){for(;n<t.length;){if("number"==typeof(u=t[n])&&u!=u)return n;n+=1}return-1}return t.indexOf(e,n);case"string":case"boolean":case"function":case"undefined":return t.indexOf(e,n);case"object":if(null===e)return t.indexOf(e,n)}for(;n<t.length;){if(r(t[n],e))return n;n+=1}return-1}},function(t,e,n){var r=n(0),o=n(68),u=r((function(t,e){return o(t,e,[],[])}));t.exports=u},function(t,e,n){var r=n(69),o=n(70),u=n(71),i=n(6),a=n(72),c=n(12),s=n(73);function f(t,e,n,u){var i=r(t),a=r(e);function c(t,e){return l(t,e,n.slice(),u.slice())}return!o((function(t,e){return!o(c,e,t)}),a,i)}function l(t,e,n,r){if(a(t,e))return!0;var o=s(t);if(o!==s(e))return!1;if(null==t||null==e)return!1;if("function"==typeof t["fantasy-land/equals"]||"function"==typeof e["fantasy-land/equals"])return"function"==typeof t["fantasy-land/equals"]&&t["fantasy-land/equals"](e)&&"function"==typeof e["fantasy-land/equals"]&&e["fantasy-land/equals"](t);if("function"==typeof t.equals||"function"==typeof e.equals)return"function"==typeof t.equals&&t.equals(e)&&"function"==typeof e.equals&&e.equals(t);switch(o){case"Arguments":case"Array":case"Object":if("function"==typeof t.constructor&&"Promise"===u(t.constructor))return t===e;break;case"Boolean":case"Number":case"String":if(typeof t!=typeof e||!a(t.valueOf(),e.valueOf()))return!1;break;case"Date":if(!a(t.valueOf(),e.valueOf()))return!1;break;case"Error":return t.name===e.name&&t.message===e.message;case"RegExp":if(t.source!==e.source||t.global!==e.global||t.ignoreCase!==e.ignoreCase||t.multiline!==e.multiline||t.sticky!==e.sticky||t.unicode!==e.unicode)return!1}for(var p=n.length-1;p>=0;){if(n[p]===t)return r[p]===e;p-=1}switch(o){case"Map":return t.size===e.size&&f(t.entries(),e.entries(),n.concat([t]),r.concat([e]));case"Set":return t.size===e.size&&f(t.values(),e.values(),n.concat([t]),r.concat([e]));case"Arguments":case"Array":case"Object":case"Boolean":case"Number":case"String":case"Date":case"Error":case"RegExp":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"ArrayBuffer":break;default:return!1}var d=c(t);if(d.length!==c(e).length)return!1;var h=n.concat([t]),y=r.concat([e]);for(p=d.length-1;p>=0;){var v=d[p];if(!i(v,e)||!l(e[v],t[v],h,y))return!1;p-=1}return!0}t.exports=l},function(t,e){t.exports=function(t){for(var e,n=[];!(e=t.next()).done;)n.push(e.value);return n}},function(t,e){t.exports=function(t,e,n){for(var r=0,o=n.length;r<o;){if(t(e,n[r]))return!0;r+=1}return!1}},function(t,e){t.exports=function(t){var e=String(t).match(/^function (\w*)/);return null==e?"":e[1]}},function(t,e,n){var r=n(0)((function(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}));t.exports=r},function(t,e,n){var r=n(2)((function(t){return null===t?"Null":void 0===t?"Undefined":Object.prototype.toString.call(t).slice(8,-1)}));t.exports=r},function(t,e,n){var r=n(0)((function(t,e){return t>=e}));t.exports=r},function(t,e,n){var r=n(28)(!0);t.exports=r},function(t,e,n){var r=n(0)((function(t,e){return null!=e&&e.constructor===t||e instanceof t}));t.exports=r},function(t,e,n){var r=n(2)(n(78));t.exports=r},function(t,e){t.exports=function(t){return t}},function(t,e,n){var r=n(2)((function(t){return null==t}));t.exports=r},function(t,e,n){var r=n(3),o=n(2),u=n(81),i=n(87),a=n(26),c=o((function(t){var e=a(i,0,u((function(t){return t[0].length}),t));return r(e,(function(){for(var e=0;e<t.length;){if(t[e][0].apply(this,arguments))return t[e][1].apply(this,arguments);e+=1}}))}));t.exports=c},function(t,e,n){var r=n(0),o=n(82),u=n(84),i=n(27),a=n(85),c=n(5),s=n(12),f=r(o(["fantasy-land/map","map"],a,(function(t,e){switch(Object.prototype.toString.call(e)){case"[object Function]":return c(e.length,(function(){return t.call(this,e.apply(this,arguments))}));case"[object Object]":return i((function(n,r){return n[r]=t(e[r]),n}),{},s(e));default:return u(t,e)}})));t.exports=f},function(t,e,n){var r=n(10),o=n(83);t.exports=function(t,e,n){return function(){if(0===arguments.length)return n();var u=Array.prototype.slice.call(arguments,0),i=u.pop();if(!r(i)){for(var a=0;a<t.length;){if("function"==typeof i[t[a]])return i[t[a]].apply(i,u);a+=1}if(o(i)){var c=e.apply(null,u);return c(i)}}return n.apply(this,arguments)}}},function(t,e){t.exports=function(t){return"function"==typeof t["@@transducer/step"]}},function(t,e){t.exports=function(t,e){for(var n=0,r=e.length,o=Array(r);n<r;)o[n]=t(e[n]),n+=1;return o}},function(t,e,n){var r=n(0),o=n(86),u=function(){function t(t,e){this.xf=e,this.f=t}return t.prototype["@@transducer/init"]=o.init,t.prototype["@@transducer/result"]=o.result,t.prototype["@@transducer/step"]=function(t,e){return this.xf["@@transducer/step"](t,this.f(e))},t}(),i=r((function(t,e){return new u(t,e)}));t.exports=i},function(t,e){t.exports={init:function(){return this.xf["@@transducer/init"]()},result:function(t){return this.xf["@@transducer/result"](t)}}},function(t,e,n){var r=n(0)((function(t,e){return e>t?e:t}));t.exports=r}])}));