webpack-bootstrap-ui-kit/dist/js/app.js

1 line
38 KiB
JavaScript
Raw Normal View History

2021-10-12 15:24:07 +02:00
!function(){var e={170:function(e,t,n){e.exports=n(543)},564:function(e,t,n){"use strict";var r=n(93),o=n(402),a=n(660),i=n(135),s=n(327),c=n(802),u=n(80),f=n(358),l=n(663),d=n(637);e.exports=function xhrAdapter(e){return new Promise((function dispatchXhrRequest(t,n){var p,m=e.data,h=e.headers,g=e.responseType;function done(){e.cancelToken&&e.cancelToken.unsubscribe(p),e.signal&&e.signal.removeEventListener("abort",p)}r.isFormData(m)&&delete h["Content-Type"];var y=new XMLHttpRequest;if(e.auth){var v=e.auth.username||"",b=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";h.Authorization="Basic "+btoa(v+":"+b)}var w=s(e.baseURL,e.url);function onloadend(){if(y){var r="getAllResponseHeaders"in y?c(y.getAllResponseHeaders()):null,a={data:g&&"text"!==g&&"json"!==g?y.response:y.responseText,status:y.status,statusText:y.statusText,headers:r,config:e,request:y};o((function _resolve(e){t(e),done()}),(function _reject(e){n(e),done()}),a),y=null}}if(y.open(e.method.toUpperCase(),i(w,e.params,e.paramsSerializer),!0),y.timeout=e.timeout,"onloadend"in y?y.onloadend=onloadend:y.onreadystatechange=function handleLoad(){y&&4===y.readyState&&(0!==y.status||y.responseURL&&0===y.responseURL.indexOf("file:"))&&setTimeout(onloadend)},y.onabort=function handleAbort(){y&&(n(f("Request aborted",e,"ECONNABORTED",y)),y=null)},y.onerror=function handleError(){n(f("Network Error",e,null,y)),y=null},y.ontimeout=function handleTimeout(){var t="timeout of "+e.timeout+"ms exceeded",r=e.transitional||l.transitional;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(f(t,e,r.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",y)),y=null},r.isStandardBrowserEnv()){var E=(e.withCredentials||u(w))&&e.xsrfCookieName?a.read(e.xsrfCookieName):void 0;E&&(h[e.xsrfHeaderName]=E)}"setRequestHeader"in y&&r.forEach(h,(function setRequestHeader(e,t){"undefined"===typeof m&&"content-type"===t.toLowerCase()?delete h[t]:y.setRequestHeader(t,e)})),r.isUndefined(e.withCredentials)||(y.withCredentials=!!e.withCredentials),g&&"json"!==g&&(y.responseType=e.responseType),"function"===typeof e.onDownloadProgress&&y.addEventListener("progress",e.onDownloadProgress),"function"===typeof e.onUploadProgress&&y.upload&&y.upload.addEventListener("progress",e.onUploadProgress),(e.cancelToken||e.signal)&&(p=function onCanceled(e){y&&(n(!e||e&&e.type?new d("canceled"):e),y.abort(),y=null)},e.cancelToken&&e.cancelToken.subscribe(p),e.signal&&(e.signal.aborted?p():e.signal.addEventListener("abort",p))),m||(m=null),y.send(m)}))}},543:function(e,t,n){"use strict";var r=n(93),o=n(282),a=n(158),i=n(255);var s=function createInstance(e){var t=new a(e),n=o(a.prototype.request,t);return r.extend(n,a.prototype,t),r.extend(n,t),n.create=function create(t){return createInstance(i(e,t))},n}(n(663));s.Axios=a,s.Cancel=n(637),s.CancelToken=n(563),s.isCancel=n(901),s.VERSION=n(205).version,s.all=function all(e){return Promise.all(e)},s.spread=n(643),s.isAxiosError=n(680),e.exports=s,e.exports.default=s},637:function(e){"use strict";function Cancel(e){this.message=e}Cancel.prototype.toString=function toString(){return"Cancel"+(this.message?": "+this.message:"")},Cancel.prototype.__CANCEL__=!0,e.exports=Cancel},563:function(e,t,n){"use strict";var r=n(637);function CancelToken(e){if("function"!==typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function promiseExecutor(e){t=e}));var n=this;this.promise.then((function(e){if(n._listeners){var t,r=n._listeners.length;for(t=0;t<r;t++)n._listeners[t](e);n._listeners=null}})),this.promise.then=function(e){var t,r=new Promise((function(e){n.subscribe(e),t=e})).then(e);return r.cancel=function reject(){n.unsubscribe(t)},r},e((function cancel(e){n.reason||(n.reason=new r(e),t(n.reason))}))}CancelToken.prototype.throwIfRequested=function throwIfRequested(){if(this.reason)throw this.reason},CancelToken.prototype.subscribe=function subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]},CancelToken.prototype.unsubscribe=function unsubscribe(e){if(this._listeners){var t=