1
0
mirror of https://github.com/tteck/Proxmox.git synced 2024-12-23 02:04:42 +02:00
Proxmox/static/js/main.a2a14b60.js

3 lines
1.3 MiB
JavaScript
Raw Normal View History

2024-09-16 09:23:37 +02:00
/*! For license information please see main.a2a14b60.js.LICENSE.txt */
(()=>{var e={3240:e=>{"use strict";var t=Object.prototype.hasOwnProperty,n=Object.prototype.toString,r=Object.defineProperty,a=Object.getOwnPropertyDescriptor,o=function(e){return"function"===typeof Array.isArray?Array.isArray(e):"[object Array]"===n.call(e)},i=function(e){if(!e||"[object Object]"!==n.call(e))return!1;var r,a=t.call(e,"constructor"),o=e.constructor&&e.constructor.prototype&&t.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!a&&!o)return!1;for(r in e);return"undefined"===typeof r||t.call(e,r)},s=function(e,t){r&&"__proto__"===t.name?r(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},l=function(e,n){if("__proto__"===n){if(!t.call(e,n))return;if(a)return a(e,n).value}return e[n]};e.exports=function e(){var t,n,r,a,c,u,d=arguments[0],p=1,m=arguments.length,g=!1;for("boolean"===typeof d&&(g=d,d=arguments[1]||{},p=2),(null==d||"object"!==typeof d&&"function"!==typeof d)&&(d={});p<m;++p)if(null!=(t=arguments[p]))for(n in t)r=l(d,n),d!==(a=l(t,n))&&(g&&a&&(i(a)||(c=o(a)))?(c?(c=!1,u=r&&o(r)?r:[]):u=r&&i(r)?r:{},s(d,{name:n,newValue:e(g,u,a)})):"undefined"!==typeof a&&s(d,{name:n,newValue:a}));return d}},2945:e=>{"use strict";e.exports=function(e,n){var r,a,o,i=e||"",s=n||"div",l={},c=0;for(;c<i.length;)t.lastIndex=c,o=t.exec(i),(r=i.slice(c,o?o.index:i.length))&&(a?"#"===a?l.id=r:l.className?l.className.push(r):l.className=[r]:s=r,c+=r.length),o&&(a=o[0],c++);return{type:"element",tagName:s,properties:l,children:[]}};var t=/[#.]/g},5777:(e,t,n)=>{"use strict";var r=n(570),a=n(7670),o=n(2945),i=n(5158).q,s=n(5841).q;e.exports=function(e,t,n){var a=n?function(e){var t,n=e.length,r=-1,a={};for(;++r<n;)a[(t=e[r]).toLowerCase()]=t;return a}(n):null;return function(e,n){var r,i=o(e,t),s=Array.prototype.slice.call(arguments,2),u=i.tagName.toLowerCase();i.tagName=a&&l.call(a,u)?a[u]:u,n&&function(e,t){return"string"===typeof e||"length"in e||function(e,t){var n=t.type;if("input"===e||!n||"string"!==typeof n)return!1;if("object"===typeof t.children&&"length"in t.children)return!0;if(n=n.toLowerCase(),"button"===e)return"menu"!==n&&"submit"!==n&&"reset"!==n&&"button"!==n;return"value"in t}(t.tagName,e)}(n,i)&&(s.unshift(n),n=null);if(n)for(r in n)d(i.properties,r,n[r]);c(i.children,s),"template"===i.tagName&&(i.content={type:"root",children:i.children},i.children=[]);return i};function d(t,n,a){var o,l,c;null!==a&&void 0!==a&&a===a&&(l=(o=r(e,n)).property,"string"===typeof(c=a)&&(o.spaceSeparated?c=i(c):o.commaSeparated?c=s(c):o.commaOrSpaceSeparated&&(c=i(s(c).join(" ")))),"style"===l&&"string"!==typeof a&&(c=function(e){var t,n=[];for(t in e)n.push([t,e[t]].join(": "));return n.join("; ")}(c)),"className"===l&&t.className&&(c=t.className.concat(c)),t[l]=function(e,t,n){var r,a,o;if("object"!==typeof n||!("length"in n))return u(e,t,n);a=n.length,r=-1,o=[];for(;++r<a;)o[r]=u(e,t,n[r]);return o}(o,l,c))}};var l={}.hasOwnProperty;function c(e,t){var n,r;if("string"!==typeof t&&"number"!==typeof t)if("object"===typeof t&&"length"in t)for(n=-1,r=t.length;++n<r;)c(e,t[n]);else{if("object"!==typeof t||!("type"in t))throw new Error("Expected node, nodes, or string, got `"+t+"`");e.push(t)}else e.push({type:"text",value:String(t)})}function u(e,t,n){var r=n;return e.number||e.positiveNumber?isNaN(r)||""===r||(r=Number(r)):(e.boolean||e.overloadedBoolean)&&("string"!==typeof r||""!==r&&a(n)!==a(t)||(r=!0)),r}},5990:(e,t,n)=>{"use strict";var r=n(2928),a=n(5777)(r,"div");a.displayName="html",e.exports=a},7291:(e,t,n)=>{"use strict";e.exports=n(5990)},5841:(e,t)=>{"use strict";t.q=function(e){var t,r=[],o=String(e||a),i=o.indexOf(n),s=0,l=!1;for(;!l;)-1===i&&(i=o.length,l=!0),!(t=o.slice(s,i).trim())&&l||r.push(t),s=i+1,i=o.indexOf(n,s);return r};var n=",",r=" ",a=""},570:(e,t,n)=>{"use strict";var r=n(7670),a=n(9312),o=n(5144),i="data";e.exports=function(e,t){var n=r(t),p=t,m=o;if(n in e.normal)return e.property[e.normal[n]];n.length>4&&n.slice(0,4)===i&&s.test(t)&&("-"===t.charAt(4)?p=function(e){var t=e.slice(5).replace(l,d);return i+t.charAt(0).toUpperCase()+t.slice(1)
//# sourceMappingURL=main.a2a14b60.js.map