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.

2 lines
1.5 MiB

/*! For license information please see index.js.LICENSE.txt */
(()=>{var e={59078:(e,n,t)=>{"use strict";var r=t(60159),l=t(80983);function i(e){if(!(this instanceof i))return new i(e);this.headers=e.headers,this.negotiator=new r(e)}function a(e){return-1===e.indexOf("/")?l.lookup(e):e}function o(e){return"string"==typeof e}e.exports=i,i.prototype.type=i.prototype.types=function(e){var n=e;if(n&&!Array.isArray(n)){n=new Array(arguments.length);for(var t=0;t<n.length;t++)n[t]=arguments[t]}if(!n||0===n.length)return this.negotiator.mediaTypes();if(!this.headers.accept)return n[0];var r=n.map(a),l=this.negotiator.mediaTypes(r.filter(o)),i=l[0];return!!i&&n[r.indexOf(i)]},i.prototype.encoding=i.prototype.encodings=function(e){var n=e;if(n&&!Array.isArray(n)){n=new Array(arguments.length);for(var t=0;t<n.length;t++)n[t]=arguments[t]}return n&&0!==n.length?this.negotiator.encodings(n)[0]||!1:this.negotiator.encodings()},i.prototype.charset=i.prototype.charsets=function(e){var n=e;if(n&&!Array.isArray(n)){n=new Array(arguments.length);for(var t=0;t<n.length;t++)n[t]=arguments[t]}return n&&0!==n.length?this.negotiator.charsets(n)[0]||!1:this.negotiator.charsets()},i.prototype.lang=i.prototype.langs=i.prototype.language=i.prototype.languages=function(e){var n=e;if(n&&!Array.isArray(n)){n=new Array(arguments.length);for(var t=0;t<n.length;t++)n[t]=arguments[t]}return n&&0!==n.length?this.negotiator.languages(n)[0]||!1:this.negotiator.languages()}},9030:(e,n,t)=>{var r=t(64154),l=t(96017);e.exports=function(e,n,t){r(n).reduce((function(e,n){return l(e,n,e[n.key],t)}),e)}},64154:e=>{var n=/^[^\[]*/,t=/^\[(\d+)\]/,r=/^\[([^\]]+)\]/;e.exports=function(e){function l(){return[{type:"object",key:e,last:!0}]}var i=n.exec(e)[0];if(!i)return l();for(var a=e.length,o=i.length,u={type:"object",key:i},s=[u];o<a;){var c;if("["!==e[o]||"]"!==e[o+1])if(null===(c=t.exec(e.substring(o)))){if(null===(c=r.exec(e.substring(o))))return l();o+=c[0].length,u.nextType="object",u={type:"object",key:c[1]},s.push(u)}else o+=c[0].length,u.nextType="array",u={type:"array",key:parseInt(c[1],10)},s.push(u);else if(o+=2,u.append=!0,o!==a)return l()}return u.last=!0,s}},96017:e=>{function n(e){return void 0===e?"undefined":Array.isArray(e)?"array":"object"==typeof e?"object":"scalar"}function t(e,r,l,i){switch(n(l)){case"undefined":r.append?e[r.key]=[i]:e[r.key]=i;break;case"array":e[r.key].push(i);break;case"object":return t(l,{type:"object",key:"",last:!0},l[""],i);case"scalar":e[r.key]=[e[r.key],i]}return e}e.exports=function(e,r,l,i){if(r.last)return t(e,r,l,i);var a;switch(n(l)){case"undefined":return"array"===r.nextType?e[r.key]=[]:e[r.key]=Object.create(null),e[r.key];case"object":return e[r.key];case"array":return"array"===r.nextType?l:(a=Object.create(null),e[r.key]=a,l.forEach((function(e,n){void 0!==e&&(a[""+n]=e)})),a);case"scalar":return(a=Object.create(null))[""]=l,e[r.key]=a,a}}},72521:e=>{"use strict";function n(e,t,r){for(var l=0;l<e.length;l++){var i=e[l];r>0&&Array.isArray(i)?n(i,t,r-1):t.push(i)}return t}function t(e,n){for(var r=0;r<e.length;r++){var l=e[r];Array.isArray(l)?t(l,n):n.push(l)}return n}e.exports=function(e,r){return null==r?t(e,[]):n(e,[],r)}},10046:(e,n,t)=>{"use strict";var r=t(40412)("body-parser"),l=Object.create(null);function i(e){return function(){return function(e){var n=l[e];if(void 0!==n)return n;switch(e){case"json":n=t(56035);break;case"raw":n=t(40187);break;case"text":n=t(66560);break;case"urlencoded":n=t(54861)}return l[e]=n}(e)}}n=e.exports=r.function((function(e){var t=Object.create(e||null,{type:{configurable:!0,enumerable:!0,value:void 0,writable:!0}}),r=n.urlencoded(t),l=n.json(t);return function(e,n,t){l(e,n,(function(l){if(l)return t(l);r(e,n,t)}))}}),"bodyParser: use individual json/urlencoded middlewares"),Object.defineProperty(n,"json",{configurable:!0,enumerable:!0,get:i("json")}),Object.defineProperty(n,"raw",{configurable:!0,enumerable:!0,get:i("raw")}),Object.defineProperty(n,"text",{configurable:!0,enumerable:!0,get:i("text")}),Object.defineProperty(n,"urlencoded",{configurable:!0,enumerable:!0,get:i("urlencoded")})},63211:(e,n,t)=>{"use strict";var r=t(69009),l