core-maintenance.js 2.1 KB

12
  1. (()=>{"use strict";var e,o={77748:(e,o,n)=>{var t=n(65043);const r=(0,n(63814).aU)()+"/status.php",i=()=>{console.info("checking the Nextcloud maintenance status"),t.Ay.get(r).then((e=>e.data)).then((e=>{if(!1===e.maintenance)return console.info("Nextcloud is not in maintenance mode anymore -> reloading"),void window.location.reload();console.info("Nextcloud is still in maintenance mode"),setTimeout(i,2e4)})).catch(console.error.bind(void 0))};i()}},n={};function t(e){var r=n[e];if(void 0!==r)return r.exports;var i=n[e]={id:e,loaded:!1,exports:{}};return o[e].call(i.exports,i,i.exports,t),i.loaded=!0,i.exports}t.m=o,e=[],t.O=(o,n,r,i)=>{if(!n){var a=1/0;for(s=0;s<e.length;s++){n=e[s][0],r=e[s][1],i=e[s][2];for(var l=!0,c=0;c<n.length;c++)(!1&i||a>=i)&&Object.keys(t.O).every((e=>t.O[e](n[c])))?n.splice(c--,1):(l=!1,i<a&&(a=i));if(l){e.splice(s--,1);var d=r();void 0!==d&&(o=d)}}return o}i=i||0;for(var s=e.length;s>0&&e[s-1][2]>i;s--)e[s]=e[s-1];e[s]=[n,r,i]},t.n=e=>{var o=e&&e.__esModule?()=>e.default:()=>e;return t.d(o,{a:o}),o},t.d=(e,o)=>{for(var n in o)t.o(o,n)&&!t.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:o[n]})},t.e=()=>Promise.resolve(),t.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),t.o=(e,o)=>Object.prototype.hasOwnProperty.call(e,o),t.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),t.j=2076,(()=>{t.b=document.baseURI||self.location.href;var e={2076:0};t.O.j=o=>0===e[o];var o=(o,n)=>{var r,i,a=n[0],l=n[1],c=n[2],d=0;if(a.some((o=>0!==e[o]))){for(r in l)t.o(l,r)&&(t.m[r]=l[r]);if(c)var s=c(t)}for(o&&o(n);d<a.length;d++)i=a[d],t.o(e,i)&&e[i]&&e[i][0](),e[i]=0;return t.O(s)},n=self.webpackChunknextcloud=self.webpackChunknextcloud||[];n.forEach(o.bind(null,0)),n.push=o.bind(null,n.push.bind(n))})(),t.nc=void 0;var r=t.O(void 0,[4208],(()=>t(77748)));r=t.O(r)})();
  2. //# sourceMappingURL=core-maintenance.js.map?v=b8aa0454a6b7d6b759f4