silverstripe-webpack/app/client/dist/js/app.js

1 line
70 KiB
JavaScript
Raw Normal View History

2021-08-09 20:05:28 +02:00
!function(){var e={779:function(e,t,n){var r={"./bg.png":870,"./logo.png":205,"./logo.svg":338,"./original.png":187,"./original2.png":72,"./photo1.png":756,"./photo2.jpg":785,"./photo3.svg":602,"app/client/src/img/bg.png":870,"app/client/src/img/logo.png":205,"app/client/src/img/logo.svg":338,"app/client/src/img/original.png":187,"app/client/src/img/original2.png":72,"app/client/src/img/photo1.png":756,"app/client/src/img/photo2.jpg":785,"app/client/src/img/photo3.svg":602,"bg.png":870,"img/bg.png":870,"img/logo.png":205,"img/logo.svg":338,"img/original.png":187,"img/original2.png":72,"img/photo1.png":756,"img/photo2.jpg":785,"img/photo3.svg":602,"logo.png":205,"logo.svg":338,"original.png":187,"original2.png":72,"photo1.png":756,"photo2.jpg":785,"photo3.svg":602};function webpackContext(e){var t=webpackContextResolve(e);return n(t)}function webpackContextResolve(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}webpackContext.keys=function webpackContextKeys(){return Object.keys(r)},webpackContext.resolve=webpackContextResolve,e.exports=webpackContext,webpackContext.id=779},617:function(e,t,n){e.exports=n(15)},693:function(e,t,n){"use strict";var r=n(469),o=n(58),a=n(520),i=n(498),s=n(128),c=n(179),l=n(122),u=n(828);e.exports=function xhrAdapter(e){return new Promise((function dispatchXhrRequest(t,n){var f=e.data,d=e.headers;r.isFormData(f)&&delete d["Content-Type"];var p=new XMLHttpRequest;if(e.auth){var h=e.auth.username||"",m=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";d.Authorization="Basic "+btoa(h+":"+m)}var g=s(e.baseURL,e.url);if(p.open(e.method.toUpperCase(),i(g,e.params,e.paramsSerializer),!0),p.timeout=e.timeout,p.onreadystatechange=function handleLoad(){if(p&&4===p.readyState&&(0!==p.status||p.responseURL&&0===p.responseURL.indexOf("file:"))){var r="getAllResponseHeaders"in p?c(p.getAllResponseHeaders()):null,a={data:e.responseType&&"text"!==e.responseType?p.response:p.responseText,status:p.status,statusText:p.statusText,headers:r,config:e,request:p};o(t,n,a),p=null}},p.onabort=function handleAbort(){p&&(n(u("Request aborted",e,"ECONNABORTED",p)),p=null)},p.onerror=function handleError(){n(u("Network Error",e,null,p)),p=null},p.ontimeout=function handleTimeout(){var t="timeout of "+e.timeout+"ms exceeded";e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(u(t,e,"ECONNABORTED",p)),p=null},r.isStandardBrowserEnv()){var v=(e.withCredentials||l(g))&&e.xsrfCookieName?a.read(e.xsrfCookieName):void 0;v&&(d[e.xsrfHeaderName]=v)}if("setRequestHeader"in p&&r.forEach(d,(function setRequestHeader(e,t){"undefined"===typeof f&&"content-type"===t.toLowerCase()?delete d[t]:p.setRequestHeader(t,e)})),r.isUndefined(e.withCredentials)||(p.withCredentials=!!e.withCredentials),e.responseType)try{p.responseType=e.responseType}catch(y){if("json"!==e.responseType)throw y}"function"===typeof e.onDownloadProgress&&p.addEventListener("progress",e.onDownloadProgress),"function"===typeof e.onUploadProgress&&p.upload&&p.upload.addEventListener("progress",e.onUploadProgress),e.cancelToken&&e.cancelToken.promise.then((function onCanceled(e){p&&(p.abort(),n(e),p=null)})),f||(f=null),p.send(f)}))}},15:function(e,t,n){"use strict";var r=n(469),o=n(86),a=n(647),i=n(194);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}var s=createInstance(n(39));s.Axios=a,s.create=function create(e){return createInstance(i(s.defaults,e))},s.Cancel=n(27),s.CancelToken=n(795),s.isCancel=n(711),s.all=function all(e){return Promise.all(e)},s.spread=n(759),s.isAxiosError=n(514),e.exports=s,e.exports.default=s},27: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},795:function(e,t,n){"use strict";var r=n(27);function CancelToken(e){if("function"!==typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function promiseExecutor(e){