Local modifications to ClusterLabs/Anvil by Alteeve
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

1 lines
18 KiB

_N_E=(window.webpackJsonp_N_E=window.webpackJsonp_N_E||[]).push([[4],{"0sNQ":function(e,t){"trimStart"in String.prototype||(String.prototype.trimStart=String.prototype.trimLeft),"trimEnd"in String.prototype||(String.prototype.trimEnd=String.prototype.trimRight),"description"in Symbol.prototype||Object.defineProperty(Symbol.prototype,"description",{configurable:!0,get:function(){var e=/\((.*)\)/.exec(this.toString());return e?e[1]:void 0}}),Array.prototype.flat||(Array.prototype.flat=function(e,t){return t=this.concat.apply([],this),e>1&&t.some(Array.isArray)?t.flat(e-1):t},Array.prototype.flatMap=function(e,t){return this.map(e,t).flat()}),Promise.prototype.finally||(Promise.prototype.finally=function(e){if("function"!=typeof e)return this.then(e,e);var t=this.constructor||Promise;return this.then((function(r){return t.resolve(e()).then((function(){return r}))}),(function(r){return t.resolve(e()).then((function(){throw r}))}))})},"1ccW":function(e,t){function r(){return e.exports=r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},r.apply(this,arguments)}e.exports=r},"48fX":function(e,t,r){var n=r("qhzo");e.exports=function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&n(e,t)}},BMP1:function(e,t,r){"use strict";var n=r("7KCV")(r("IKlv"));window.next=n,(0,n.default)().catch(console.error)},DqTX:function(e,t,r){"use strict";t.__esModule=!0,t.default=function(){var e=null;return{mountedInstances:new Set,updateHead:function(t){var r=e=Promise.resolve().then((function(){if(r===e){e=null;var n={};t.forEach((function(e){var t=n[e.type]||[];t.push(e),n[e.type]=t}));var a=n.title?n.title[0]:null,i="";if(a){var u=a.props.children;i="string"===typeof u?u:Array.isArray(u)?u.join(""):""}i!==document.title&&(document.title=i),["meta","base","link","style","script"].forEach((function(e){!function(e,t){var r=document.getElementsByTagName("head")[0],n=r.querySelector("meta[name=next-head-count]");0;for(var a=Number(n.content),i=[],u=0,c=n.previousElementSibling;u<a;u++,c=c.previousElementSibling)c.tagName.toLowerCase()===e&&i.push(c);var s=t.map(o).filter((function(e){for(var t=0,r=i.length;t<r;t++){if(i[t].isEqualNode(e))return i.splice(t,1),!1}return!0}));i.forEach((function(e){return e.parentNode.removeChild(e)})),s.forEach((function(e){return r.insertBefore(e,n)})),n.content=(a-i.length+s.length).toString()}(e,n[e]||[])}))}}))}}},t.DOMAttributeNames=void 0;var n={acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv",noModule:"noModule"};function o(e){var t=e.type,r=e.props,o=document.createElement(t);for(var a in r)if(r.hasOwnProperty(a)&&"children"!==a&&"dangerouslySetInnerHTML"!==a&&void 0!==r[a]){var i=n[a]||a.toLowerCase();"script"!==t||"async"!==i&&"defer"!==i&&"noModule"!==i?o.setAttribute(i,r[a]):o[i]=!!r[a]}var u=r.children,c=r.dangerouslySetInnerHTML;return c?o.innerHTML=c.__html||"":u&&(o.textContent="string"===typeof u?u:Array.isArray(u)?u.join(""):""),o}t.DOMAttributeNames=n},FYa8:function(e,t,r){"use strict";var n;t.__esModule=!0,t.HeadManagerContext=void 0;var o=((n=r("q1tI"))&&n.__esModule?n:{default:n}).default.createContext({});t.HeadManagerContext=o},IKlv:function(e,t,r){"use strict";var n=r("vJKn"),o=r("qVT1"),a=r("/GRZ"),i=r("i2R6"),u=r("48fX"),c=r("tCBg"),s=r("T0f4"),l=r("zoAU");function f(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=s(e);if(t){var o=s(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return c(this,r)}}var p=r("7KCV"),d=r("AroE");t.__esModule=!0,t.render=oe,t.renderError=ie,t.default=t.emitter=t.router=t.version=void 0;var m=d(r("1ccW"));d(r("7KCV"));r("0sNQ");var h=d(r("q1tI")),v=d(r("i8i4")),y=r("FYa8"),g=d(r("dZ6Y")),b=r("qOIg"),S=r("elyg"),E=r("/jkW"),w=p(r("3WeD")),_=p(r("yLiY")),x=r("g/15"),T=d(r("DqTX")),C=d(r("zmvN")),P=d(r("bGXG")),A=r("nOHt"),N=JSON.parse(document.getElementById("__NEXT_DATA__").textContent);window.__NEXT_DATA__=N;t.version="10.0.6";var k=function(e){return[].slice.call(e)},M=N.props,R=N.err,L=N.page,F=N.query,I=N.buildId,D=N.assetPrefix,j=N.runtimeConfig,B=N.dynamicIds,O=N.isFallback,q=N.locale,X=N.locales,H=N.domainLocales,G=N.defaultLocale,W=D||"";r.p="".concat(W,"/_next/"),_.setConfig({serverRuntimeConfig:{},publicRuntimeConfig:j||{}});var U=(0,x.getURL)();(0,S.hasBasePath)(U)&&(U=(0,S.delBasePath)(U));var V=new C.default(I,W),K=function(e){var t=l(e,2),r=t[0],n=t[1];return V.routeLoader.onEntrypoint(r,n)};window.__NEXT_P&&window.__NEXT_P.map((function(e){return setTimeout((function(){return K(e)}),0)})),window.__NEXT_P=[],window.__NEXT_P.push=K;var Y,J,z,Q,Z=(0,T.default)(),$=document.getElementById("__next");t.router=J;var ee,te=function(e){u(r,e);var t=f(r);function r(){return a(this,r),t.apply(this,arguments)}return i(r,[{key:"componentDidCatch",value:function(e,t){this.props.fn(e,t)}},{key:"componentDidMount",value:function(){this.scrollToHash(),J.isSsr&&(O||N.nextExport&&((0,E.isDynamicRoute)(J.pathname)||location.search)||M&&M.__N_SSG&&location.search)&&J.replace(J.pathname+"?"+String(w.assign(w.urlQueryToSearchParams(J.query),new URLSearchParams(location.search))),U,{_h:1,shallow:!O})}},{key:"componentDidUpdate",value:function(){this.scrollToHash()}},{key:"scrollToHash",value:function(){var e=location.hash;if(e=e&&e.substring(1)){var t=document.getElementById(e);t&&setTimeout((function(){return t.scrollIntoView()}),0)}}},{key:"render",value:function(){return this.props.children}}]),r}(h.default.Component),re=(0,g.default)();t.emitter=re;var ne=function(){var e=o(n.mark((function e(){var r,o,a,i,u,c,s=arguments;return n.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return s.length>0&&void 0!==s[0]?s[0]:{},e.next=4,V.routeLoader.whenEntrypoint("/_app");case 4:if(!("error"in(r=e.sent))){e.next=7;break}throw r.error;case 7:o=r.component,a=r.exports,z=o,a&&a.reportWebVitals&&(Q=function(e){var t,r=e.id,n=e.name,o=e.startTime,i=e.value,u=e.duration,c=e.entryType,s=e.entries,l="".concat(Date.now(),"-").concat(Math.floor(8999999999999*Math.random())+1e12);s&&s.length&&(t=s[0].startTime),a.reportWebVitals({id:r||l,name:n,startTime:o||t,value:null==i?u:i,label:"mark"===c||"measure"===c?"custom":"web-vital"})}),i=R,e.prev=11,e.next=16;break;case 16:return e.next=18,V.routeLoader.whenEntrypoint(L);case 18:e.t0=e.sent;case 19:if(!("error"in(u=e.t0))){e.next=22;break}throw u.error;case 22:ee=u.component,e.next=27;break;case 27:e.next=32;break;case 29:e.prev=29,e.t1=e.catch(11),i=e.t1;case 32:if(!window.__NEXT_PRELOADREADY){e.next=36;break}return e.next=36,window.__NEXT_PRELOADREADY(B);case 36:return t.router=J=(0,A.createRouter)(L,F,U,{initialProps:M,pageLoader:V,App:z,Component:ee,wrapApp:de,err:i,isFallback:Boolean(O),subscription:function(e,t,r){return oe(Object.assign({},e,{App:t,scroll:r}))},locale:q,locales:X,defaultLocale:G,domainLocales:H}),oe(c={App:z,initial:!0,Component:ee,props:M,err:i}),e.abrupt("return",re);case 44:return e.abrupt("return",{emitter:re,render:oe,renderCtx:c});case 45:case"end":return e.stop()}}),e,null,[[11,29]])})));return function(){return e.apply(this,arguments)}}();function oe(e){return ae.apply(this,arguments)}function ae(){return(ae=o(n.mark((function e(t){return n.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t.err){e.next=4;break}return e.next=3,ie(t);case 3:return e.abrupt("return");case 4:return e.prev=4,e.next=7,me(t);case 7:e.next=16;break;case 9:if(e.prev=9,e.t0=e.catch(4),!e.t0.cancelled){e.next=13;break}throw e.t0;case 13:return e.next=16,ie((0,m.default)({},t,{err:e.t0}));case 16:case"end":return e.stop()}}),e,null,[[4,9]])})))).apply(this,arguments)}function ie(e){var t=e.App,r=e.err;return console.error(r),V.loadPage("/_error").then((function(n){var o=n.page,a=n.styleSheets,i=de(t),u={Component:o,AppTree:i,router:J,ctx:{err:r,pathname:L,query:F,asPath:U,AppTree:i}};return Promise.resolve(e.props?e.props:(0,x.loadGetInitialProps)(t,u)).then((function(t){return me((0,m.default)({},e,{err:r,Component:o,styleSheets:a,props:t}))}))}))}t.default=ne;var ue="function"===typeof v.default.hydrate;function ce(){x.ST&&(performance.mark("afterHydrate"),performance.measure("Next.js-before-hydration","navigationStart","beforeRender"),performance.measure("Next.js-hydration","beforeRender","afterHydrate"),Q&&performance.getEntriesByName("Next.js-hydration").forEach(Q),le())}function se(){if(x.ST){performance.mark("afterRender");var e=performance.getEntriesByName("routeChange","mark");e.length&&(performance.measure("Next.js-route-change-to-render",e[0].name,"beforeRender"),performance.measure("Next.js-render","beforeRender","afterRender"),Q&&(performance.getEntriesByName("Next.js-render").forEach(Q),performance.getEntriesByName("Next.js-route-change-to-render").forEach(Q)),le(),["Next.js-route-change-to-render","Next.js-render"].forEach((function(e){return performance.clearMeasures(e)})))}}function le(){["beforeRender","afterHydrate","afterRender","routeChange"].forEach((function(e){return performance.clearMarks(e)}))}function fe(e){var t=e.children;return h.default.createElement(te,{fn:function(e){return ie({App:z,err:e}).catch((function(e){return console.error("Error rendering page: ",e)}))}},h.default.createElement(b.RouterContext.Provider,{value:(0,A.makePublicRouterInstance)(J)},h.default.createElement(y.HeadManagerContext.Provider,{value:Z},t)))}var pe,de=function(e){return function(t){var r=(0,m.default)({},t,{Component:ee,err:R,router:J});return h.default.createElement(fe,null,h.default.createElement(e,r))}};function me(e){var t=e.App,r=e.Component,n=e.props,o=e.err,a="initial"in e?void 0:e.styleSheets;r=r||pe.Component,n=n||pe.props;var i=(0,m.default)({},n,{Component:r,err:o,router:J});pe=i;var u,c=!1,s=new Promise((function(e,t){Y&&Y(),u=function(){Y=null,e()},Y=function(){c=!0,Y=null;var e=new Error("Cancel rendering route");e.cancelled=!0,t(e)}}));var l,f,p=h.default.createElement(he,{callback:function(){u()}},h.default.createElement(ve,{callback:function(){if(a&&!c){for(var t=new Set(a.map((function(e){return e.href}))),r=k(document.querySelectorAll("style[data-n-href]")),n=r.map((function(e){return e.getAttribute("data-n-href")})),o=0;o<n.length;++o)t.has(n[o])?r[o].removeAttribute("media"):r[o].setAttribute("media","x");var i=document.querySelector("noscript[data-n-css]");i&&a.forEach((function(e){var t=e.href,r=document.querySelector('style[data-n-href="'.concat(t,'"]'));r&&(i.parentNode.insertBefore(r,i.nextSibling),i=r)})),k(document.querySelectorAll("link[data-n-p]")).forEach((function(e){e.parentNode.removeChild(e)})),getComputedStyle(document.body,"height")}e.scroll&&window.scrollTo(e.scroll.x,e.scroll.y)}}),h.default.createElement(fe,null,h.default.createElement(t,i)));return function(){if(!a)return!1;var e=k(document.querySelectorAll("style[data-n-href]")),t=new Set(e.map((function(e){return e.getAttribute("data-n-href")}))),r=document.querySelector("noscript[data-n-css]"),n=null==r?void 0:r.getAttribute("data-n-css");a.forEach((function(e){var r=e.href,o=e.text;if(!t.has(r)){var a=document.createElement("style");a.setAttribute("data-n-href",r),a.setAttribute("media","x"),n&&a.setAttribute("nonce",n),document.head.appendChild(a),a.appendChild(document.createTextNode(o))}}))}(),l=h.default.createElement(h.default.StrictMode,null,p),f=$,x.ST&&performance.mark("beforeRender"),ue?(v.default.hydrate(l,f,ce),ue=!1):v.default.render(l,f,se),s}function he(e){var t=e.callback,r=e.children;return h.default.useLayoutEffect((function(){return t()}),[t]),h.default.useEffect((function(){(0,P.default)(Q)}),[]),r}function ve(e){var t=e.callback;return h.default.useLayoutEffect((function(){return t()}),[t]),null}},T0f4:function(e,t){function r(t){return e.exports=r=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},r(t)}e.exports=r},bGXG:function(e,t,r){"use strict";t.__esModule=!0,t.default=void 0;var n,o=r("p0hA"),a=(location.href,!1);function i(e){n&&n(e)}t.default=function(e){n=e,a||(a=!0,(0,o.getCLS)(i),(0,o.getFID)(i),(0,o.getFCP)(i),(0,o.getLCP)(i),(0,o.getTTFB)(i))}},p0hA:function(e,t,r){(function(t){e.exports=function(){var e={599:function(e,t){!function(e){"use strict";var t,r,n=function(){return"".concat(Date.now(),"-").concat(Math.floor(8999999999999*Math.random())+1e12)},o=function(e){return{name:e,value:arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1,delta:0,entries:[],id:n(),isFinal:!1}},a=function(e,t){try{if(PerformanceObserver.supportedEntryTypes.includes(e)){var r=new PerformanceObserver((function(e){return e.getEntries().map(t)}));return r.observe({type:e,buffered:!0}),r}}catch(e){}},i=!1,u=!1,c=function(e){i=!e.persisted},s=function(){addEventListener("pagehide",c),addEventListener("beforeunload",(function(){}))},l=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];u||(s(),u=!0),addEventListener("visibilitychange",(function(t){var r=t.timeStamp;"hidden"===document.visibilityState&&e({timeStamp:r,isUnloading:i})}),{capture:!0,once:t})},f=function(e,t,r,n){var o;return function(){r&&t.isFinal&&r.disconnect(),t.value>=0&&(n||t.isFinal||"hidden"===document.visibilityState)&&(t.delta=t.value-(o||0),(t.delta||t.isFinal||void 0===o)&&(e(t),o=t.value))}},p=function(){return void 0===t&&(t="hidden"===document.visibilityState?0:1/0,l((function(e){var r=e.timeStamp;return t=r}),!0)),{get timeStamp(){return t}}},d=function(){return r||(r=new Promise((function(e){return["scroll","keydown","pointerdown"].map((function(t){addEventListener(t,e,{once:!0,passive:!0,capture:!0})}))}))),r};e.getCLS=function(e){var t,r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=o("CLS",0),i=function(e){e.hadRecentInput||(n.value+=e.value,n.entries.push(e),t())},u=a("layout-shift",i);u&&(t=f(e,n,u,r),l((function(e){var r=e.isUnloading;u.takeRecords().map(i),r&&(n.isFinal=!0),t()})))},e.getFCP=function(e){var t,r=o("FCP"),n=p(),i=a("paint",(function(e){"first-contentful-paint"===e.name&&e.startTime<n.timeStamp&&(r.value=e.startTime,r.isFinal=!0,r.entries.push(e),t())}));i&&(t=f(e,r,i))},e.getFID=function(e){var t=o("FID"),r=p(),n=function(e){e.startTime<r.timeStamp&&(t.value=e.processingStart-e.startTime,t.entries.push(e),t.isFinal=!0,u())},i=a("first-input",n),u=f(e,t,i);i?l((function(){i.takeRecords().map(n),i.disconnect()}),!0):window.perfMetrics&&window.perfMetrics.onFirstInputDelay&&window.perfMetrics.onFirstInputDelay((function(e,n){n.timeStamp<r.timeStamp&&(t.value=e,t.isFinal=!0,t.entries=[{entryType:"first-input",name:n.type,target:n.target,cancelable:n.cancelable,startTime:n.timeStamp,processingStart:n.timeStamp+e}],u())}))},e.getLCP=function(e){var t,r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=o("LCP"),i=p(),u=function(e){var r=e.startTime;r<i.timeStamp?(n.value=r,n.entries.push(e)):n.isFinal=!0,t()},c=a("largest-contentful-paint",u);if(c){t=f(e,n,c,r);var s=function(){n.isFinal||(c.takeRecords().map(u),n.isFinal=!0,t())};d().then(s),l(s,!0)}},e.getTTFB=function(e){var t,r=o("TTFB");t=function(){try{var t=performance.getEntriesByType("navigation")[0]||function(){var e=performance.timing,t={entryType:"navigation",startTime:0};for(var r in e)"navigationStart"!==r&&"toJSON"!==r&&(t[r]=Math.max(e[r]-e.navigationStart,0));return t}();r.value=r.delta=t.responseStart,r.entries=[t],r.isFinal=!0,e(r)}catch(e){}},"complete"===document.readyState?setTimeout(t,0):addEventListener("pageshow",t)},Object.defineProperty(e,"__esModule",{value:!0})}(t)}},r={};function n(t){if(r[t])return r[t].exports;var o=r[t]={exports:{}},a=!0;try{e[t].call(o.exports,o,o.exports,n),a=!1}finally{a&&delete r[t]}return o.exports}return n.ab=t+"/",n(599)}()}).call(this,"/")},qXWd:function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},tCBg:function(e,t,r){var n=r("C+bE"),o=r("qXWd");e.exports=function(e,t){return!t||"object"!==n(t)&&"function"!==typeof t?o(e):t}},yLiY:function(e,t,r){"use strict";var n;t.__esModule=!0,t.setConfig=function(e){n=e},t.default=void 0;t.default=function(){return n}},zmvN:function(e,t,r){"use strict";var n=r("/GRZ"),o=r("i2R6"),a=r("7KCV"),i=r("AroE");t.__esModule=!0,t.default=void 0;var u=r("elyg"),c=i(r("Lab5")),s=r("/jkW"),l=r("hS4m"),f=a(r("Nh2W"));function p(e){if("/"!==e[0])throw new Error('Route name should start with a "/", got "'.concat(e,'"'));return"/"===e?e:e.replace(/\/$/,"")}var d=function(){function e(t,r){n(this,e),this.buildId=void 0,this.assetPrefix=void 0,this.promisedSsgManifest=void 0,this.promisedDevPagesManifest=void 0,this.routeLoader=void 0,this.routeLoader=(0,f.default)(r),this.buildId=t,this.assetPrefix=r,this.promisedSsgManifest=new Promise((function(e){window.__SSG_MANIFEST?e(window.__SSG_MANIFEST):window.__SSG_MANIFEST_CB=function(){e(window.__SSG_MANIFEST)}}))}return o(e,[{key:"getPageList",value:function(){return(0,f.getClientBuildManifest)().then((function(e){return e.sortedPages}))}},{key:"getDataHref",value:function(e,t,r,n){var o=this,a=(0,l.parseRelativeUrl)(e),i=a.pathname,f=a.query,d=a.search,m=(0,l.parseRelativeUrl)(t).pathname,h=p(i),v=function(e){var t=(0,c.default)((0,u.addLocale)(e,n),".json");return(0,u.addBasePath)("/_next/data/".concat(o.buildId).concat(t).concat(r?"":d))},y=(0,s.isDynamicRoute)(h),g=y?(0,u.interpolateAs)(i,m,f).result:"";return y?g&&v(g):v(h)}},{key:"_isSsg",value:function(e){var t=p((0,l.parseRelativeUrl)(e).pathname);return this.promisedSsgManifest.then((function(e){return e.has(t)}))}},{key:"loadPage",value:function(e){return this.routeLoader.loadRoute(e).then((function(e){if("component"in e)return{page:e.component,mod:e.exports,styleSheets:e.styles.map((function(e){return{href:e.href,text:e.content}}))};throw e.error}))}},{key:"prefetch",value:function(e){return this.routeLoader.prefetch(e)}}]),e}();t.default=d}},[["BMP1",0,1,3]]]);