xmrmemes/public/js/vendor.js

2 lines
84 KiB
JavaScript
Raw Normal View History

2021-08-06 22:57:45 +00:00
/*! For license information please see vendor.js.LICENSE.txt */
(self.webpackChunk=self.webpackChunk||[]).push([[898],{669:(n,t,r)=>{n.exports=r(609)},448:(n,t,r)=>{"use strict";var e=r(867),u=r(26),i=r(372),o=r(327),a=r(97),f=r(109),c=r(985),s=r(61);n.exports=function(n){return new Promise((function(t,r){var l=n.data,h=n.headers;e.isFormData(l)&&delete h["Content-Type"];var p=new XMLHttpRequest;if(n.auth){var v=n.auth.username||"",_=n.auth.password?unescape(encodeURIComponent(n.auth.password)):"";h.Authorization="Basic "+btoa(v+":"+_)}var d=a(n.baseURL,n.url);if(p.open(n.method.toUpperCase(),o(d,n.params,n.paramsSerializer),!0),p.timeout=n.timeout,p.onreadystatechange=function(){if(p&&4===p.readyState&&(0!==p.status||p.responseURL&&0===p.responseURL.indexOf("file:"))){var e="getAllResponseHeaders"in p?f(p.getAllResponseHeaders()):null,i={data:n.responseType&&"text"!==n.responseType?p.response:p.responseText,status:p.status,statusText:p.statusText,headers:e,config:n,request:p};u(t,r,i),p=null}},p.onabort=function(){p&&(r(s("Request aborted",n,"ECONNABORTED",p)),p=null)},p.onerror=function(){r(s("Network Error",n,null,p)),p=null},p.ontimeout=function(){var t="timeout of "+n.timeout+"ms exceeded";n.timeoutErrorMessage&&(t=n.timeoutErrorMessage),r(s(t,n,"ECONNABORTED",p)),p=null},e.isStandardBrowserEnv()){var g=(n.withCredentials||c(d))&&n.xsrfCookieName?i.read(n.xsrfCookieName):void 0;g&&(h[n.xsrfHeaderName]=g)}if("setRequestHeader"in p&&e.forEach(h,(function(n,t){void 0===l&&"content-type"===t.toLowerCase()?delete h[t]:p.setRequestHeader(t,n)})),e.isUndefined(n.withCredentials)||(p.withCredentials=!!n.withCredentials),n.responseType)try{p.responseType=n.responseType}catch(t){if("json"!==n.responseType)throw t}"function"==typeof n.onDownloadProgress&&p.addEventListener("progress",n.onDownloadProgress),"function"==typeof n.onUploadProgress&&p.upload&&p.upload.addEventListener("progress",n.onUploadProgress),n.cancelToken&&n.cancelToken.promise.then((function(n){p&&(p.abort(),r(n),p=null)})),l||(l=null),p.send(l)}))}},609:(n,t,r)=>{"use strict";var e=r(867),u=r(849),i=r(321),o=r(185);function a(n){var t=new i(n),r=u(i.prototype.request,t);return e.extend(r,i.prototype,t),e.extend(r,t),r}var f=a(r(655));f.Axios=i,f.create=function(n){return a(o(f.defaults,n))},f.Cancel=r(263),f.CancelToken=r(972),f.isCancel=r(502),f.all=function(n){return Promise.all(n)},f.spread=r(713),f.isAxiosError=r(268),n.exports=f,n.exports.default=f},263:n=>{"use strict";function t(n){this.message=n}t.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},t.prototype.__CANCEL__=!0,n.exports=t},972:(n,t,r)=>{"use strict";var e=r(263);function u(n){if("function"!=typeof n)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(n){t=n}));var r=this;n((function(n){r.reason||(r.reason=new e(n),t(r.reason))}))}u.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},u.source=function(){var n;return{token:new u((function(t){n=t})),cancel:n}},n.exports=u},502:n=>{"use strict";n.exports=function(n){return!(!n||!n.__CANCEL__)}},321:(n,t,r)=>{"use strict";var e=r(867),u=r(327),i=r(782),o=r(572),a=r(185);function f(n){this.defaults=n,this.interceptors={request:new i,response:new i}}f.prototype.request=function(n){"string"==typeof n?(n=arguments[1]||{}).url=arguments[0]:n=n||{},(n=a(this.defaults,n)).method?n.method=n.method.toLowerCase():this.defaults.method?n.method=this.defaults.method.toLowerCase():n.method="get";var t=[o,void 0],r=Promise.resolve(n);for(this.interceptors.request.forEach((function(n){t.unshift(n.fulfilled,n.rejected)})),this.interceptors.response.forEach((function(n){t.push(n.fulfilled,n.rejected)}));t.length;)r=r.then(t.shift(),t.shift());return r},f.prototype.getUri=function(n){return n=a(this.defaults,n),u(n.url,n.params,n.paramsSerializer).replace(/^\?/,"")},e.forEach(["delete","get","head","options"],(function(n){f.prototype[n]=function(t,r){return this.request(a(r||{},{method:n,url:t,data:(r||{}).data}))}})),e.forEach(["post","put","patch"],(function(n){f.prototype[n]=function(t,r,e){return this.request(a(e||{},{method:n,