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

1 line
135 KiB
JavaScript
Raw Normal View History

!function(){var e={6779:function(e,t,n){var r={"./bg.png":711,"./logo.png":5557,"./logo.svg":5920,"./original.png":127,"./original2.png":3644,"./photo1.png":3732,"./photo2.jpg":6680,"./photo3.svg":8939,"app/client/src/img/bg.png":711,"app/client/src/img/logo.png":5557,"app/client/src/img/logo.svg":5920,"app/client/src/img/original.png":127,"app/client/src/img/original2.png":3644,"app/client/src/img/photo1.png":3732,"app/client/src/img/photo2.jpg":6680,"app/client/src/img/photo3.svg":8939,"bg.png":711,"img/bg.png":711,"img/logo.png":5557,"img/logo.svg":5920,"img/original.png":127,"img/original2.png":3644,"img/photo1.png":3732,"img/photo2.jpg":6680,"img/photo3.svg":8939,"logo.png":5557,"logo.svg":5920,"original.png":127,"original2.png":3644,"photo1.png":3732,"photo2.jpg":6680,"photo3.svg":8939};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=6779},6017:function(e,t,n){e.exports=n(4640)},675:function(e,t,n){"use strict";var r=n(7426),o=n(3494),i=n(1066),a=n(6795),s=n(8209),c=n(8096),l=n(5766),u=n(3336),f=n(4513),p=n(6582);e.exports=function xhrAdapter(e){return new Promise((function dispatchXhrRequest(t,n){var h,g=e.data,v=e.headers,b=e.responseType;function done(){e.cancelToken&&e.cancelToken.unsubscribe(h),e.signal&&e.signal.removeEventListener("abort",h)}r.isFormData(g)&&delete v["Content-Type"];var w=new XMLHttpRequest;if(e.auth){var _=e.auth.username||"",k=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";v.Authorization="Basic "+btoa(_+":"+k)}var E=s(e.baseURL,e.url);function onloadend(){if(w){var r="getAllResponseHeaders"in w?c(w.getAllResponseHeaders()):null,i={data:b&&"text"!==b&&"json"!==b?w.response:w.responseText,status:w.status,statusText:w.statusText,headers:r,config:e,request:w};o((function _resolve(e){t(e),done()}),(function _reject(e){n(e),done()}),i),w=null}}if(w.open(e.method.toUpperCase(),a(E,e.params,e.paramsSerializer),!0),w.timeout=e.timeout,"onloadend"in w?w.onloadend=onloadend:w.onreadystatechange=function handleLoad(){w&&4===w.readyState&&(0!==w.status||w.responseURL&&0===w.responseURL.indexOf("file:"))&&setTimeout(onloadend)},w.onabort=function handleAbort(){w&&(n(u("Request aborted",e,"ECONNABORTED",w)),w=null)},w.onerror=function handleError(){n(u("Network Error",e,null,w)),w=null},w.ontimeout=function handleTimeout(){var t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",r=e.transitional||f.transitional;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(u(t,e,r.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",w)),w=null},r.isStandardBrowserEnv()){var A=(e.withCredentials||l(E))&&e.xsrfCookieName?i.read(e.xsrfCookieName):void 0;A&&(v[e.xsrfHeaderName]=A)}"setRequestHeader"in w&&r.forEach(v,(function setRequestHeader(e,t){"undefined"===typeof g&&"content-type"===t.toLowerCase()?delete v[t]:w.setRequestHeader(t,e)})),r.isUndefined(e.withCredentials)||(w.withCredentials=!!e.withCredentials),b&&"json"!==b&&(w.responseType=e.responseType),"function"===typeof e.onDownloadProgress&&w.addEventListener("progress",e.onDownloadProgress),"function"===typeof e.onUploadProgress&&w.upload&&w.upload.addEventListener("progress",e.onUploadProgress),(e.cancelToken||e.signal)&&(h=function onCanceled(e){w&&(n(!e||e&&e.type?new p("canceled"):e),w.abort(),w=null)},e.cancelToken&&e.cancelToken.subscribe(h),e.signal&&(e.signal.aborted?h():e.signal.addEventListener("abort",h))),g||(g=null),w.send(g)}))}},4640:function(e,t,n){"use strict";var r=n(7426),o=n(6564),i=n(8384),a=n(2220);var s=function createInstance(e){var t=new i(e),n=o(i.prototype.request,t);return r.extend(n,i.prototype,t),r.extend(n,t),n.create=function create(t){return createInstance(a(e,t))},n}(n(4513));s.Axios=i,s.Cancel=n(6582),s.CancelToken=n(5061),s.isCancel=n(6769),s.VERSION=n(9557).version,s.all=func