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
1 lines
18 KiB
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[315],{4690:function(e,r,n){var t=n(5893),o=n(7357),i=n(7294);function c(e,r,n){return r in e?Object.defineProperty(e,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[r]=n,e}function l(e){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{},t=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(t=t.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),t.forEach((function(r){c(e,r,n[r])}))}return e}function a(e,r){if(null==e)return{};var n,t,o=function(e,r){if(null==e)return{};var n,t,o={},i=Object.keys(e);for(t=0;t<i.length;t++)n=i[t],r.indexOf(n)>=0||(o[n]=e[n]);return o}(e,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(t=0;t<i.length;t++)n=i[t],r.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var u={columnSpacing:void 0,row:!1,rowSpacing:void 0,lg:void 0,md:void 0,sm:void 0,spacing:"1em",xl:void 0,xs:"column"},s=function(e){var r=e.lg,n=void 0===r?u.lg:r,c=e.md,s=void 0===c?u.md:c,f=e.row,p=e.sm,b=void 0===p?u.sm:p,d=e.spacing,m=void 0===d?u.spacing:d,g=e.sx,y=e.xl,O=void 0===y?u.xl:y,v=e.xs,j=void 0===v?u.xs:v,h=e.columnSpacing,x=void 0===h?m:h,w=e.rowSpacing,P=void 0===w?m:w,S=a(e,["lg","md","row","sm","spacing","sx","xl","xs","columnSpacing","rowSpacing"]),Z=(0,i.useMemo)((function(){return f?"row":j}),[j,f]),k=(0,i.useMemo)((function(){return b||Z}),[b,Z]),I=(0,i.useMemo)((function(){return s||k}),[s,k]),E=(0,i.useMemo)((function(){return n||I}),[n,I]),D=(0,i.useMemo)((function(){return O||E}),[O,E]),C=(0,i.useMemo)((function(){return{column:{alignItems:"normal",marginLeft:0,marginTop:x},row:{alignItems:"center",marginLeft:P,marginTop:0}}}),[x,P]);return(0,t.jsx)(o.Z,l({},S,{sx:l({alignItems:{xs:C[Z].alignItems,sm:C[k].alignItems,md:C[I].alignItems,lg:C[E].alignItems,xl:C[D].alignItems},display:"flex",flexDirection:{xs:Z,sm:k,md:I,lg:E,xl:D},"& > :not(:first-child)":{marginLeft:{xs:C[Z].marginLeft,sm:C[k].marginLeft,md:C[I].marginLeft,lg:C[E].marginLeft,xl:C[D].marginLeft},marginTop:{xs:C[Z].marginTop,sm:C[k].marginTop,md:C[I].marginTop,lg:C[E].marginTop,xl:C[D].marginTop}}},g)}))};s.defaultProps=u,r.Z=s},1706:function(e,r,n){n.d(r,{Z:function(){return s}});var t=n(5893),o=n(4799),i=n(7021),c=n(7169);function l(e,r,n){return r in e?Object.defineProperty(e,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[r]=n,e}function a(e){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{},t=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(t=t.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),t.forEach((function(r){l(e,r,n[r])}))}return e}function u(e,r){if(null==e)return{};var n,t,o=function(e,r){if(null==e)return{};var n,t,o={},i=Object.keys(e);for(t=0;t<i.length;t++)n=i[t],r.indexOf(n)>=0||(o[n]=e[n]);return o}(e,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(t=0;t<i.length;t++)n=i[t],r.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var s=function(e){var r=e.children,n=e.sx,s=u(e,["children","sx"]);return(0,t.jsx)(o.Z,a({},s,{sx:a(l({borderRadius:c.n_,backgroundColor:c.s7,color:c.E5,"&:hover":{backgroundColor:c.lD}},"&.".concat(i.Z.disabled),{backgroundColor:c.rr}),n),children:r}))}},3679:function(e,r,n){n.d(r,{TZ:function(){return P},Lg:function(){return d},CH:function(){return v},s_:function(){return L},V9:function(){return _}});var t=n(5893),o=n(1680),i=n(6571),c=n(4799),l=n(7357),a=n(7294),u=n(7169),s=n(4690);function f(e,r,n){return r in e?Object.defineProperty(e,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[r]=n,e}function p(e){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{},t=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(t=t.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),t.forEach((function(r){f(e,r,n[r])}))}return e}function b(e,r){if(null==e)return{};var n,t,o=function(e,r){if(null==e)return{};var n,t,o={},i=Object.keys(e);for(t=0;t<i.length;t++)n=i[t],r.indexOf(n)>=0||(o[n]=e[n]);return o}(e,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(t=0;t<i.length;t++)n=i[t],r.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var d=function(e){var r=e.sx,n=b(e,["sx"]);return(0,t.jsx)(l.Z,p({sx:p({borderWidth:"1px",borderRadius:u.n_,borderStyle:"solid",borderColor:u.d,marginTop:"1.4em",marginBottom:"1.4em",paddingBottom:0,position:"relative"},r)},n))};function m(e,r,n){return r in e?Object.defineProperty(e,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[r]=n,e}function g(e){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{},t=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(t=t.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),t.forEach((function(r){m(e,r,n[r])}))}return e}function y(e,r){if(null==e)return{};var n,t,o=function(e,r){if(null==e)return{};var n,t,o={},i=Object.keys(e);for(t=0;t<i.length;t++)n=i[t],r.indexOf(n)>=0||(o[n]=e[n]);return o}(e,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(t=0;t<i.length;t++)n=i[t],r.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var O=function(e){var r=e.sx,n=y(e,["sx"]);return(0,t.jsx)(l.Z,g({},n,{sx:g({padding:".3em .7em"},r)}))},v=function(e){var r=e.children;return(0,t.jsxs)(l.Z,{sx:{position:"relative",whiteSpace:"pre-wrap"},children:[(0,t.jsx)(l.Z,{sx:{alignItems:"center",borderColor:u.d,borderRadius:u.n_,borderStyle:"solid",borderWidth:"1px",display:"flex",left:"-.3em",paddingBottom:".2em",paddingLeft:"1em",paddingRight:".7em",paddingTop:".4em",position:"absolute",top:"-.3em",width:"100%",zIndex:"10","& > :first-child":{flexGrow:1}},children:r}),(0,t.jsx)(l.Z,{sx:{display:"flex",paddingBottom:".4em",paddingRight:"1.7em",visibility:"hidden"},children:r})]})},j=n(2152),h={expandInitially:!1,loading:!1,showHeaderSpinner:!1},x="1.2em",w=function(e){var r=e.children,n=e.expandInitially,f=void 0===n?h.expandInitially:n,p=e.header,b=e.loading,m=void 0===b?h.loading:b,g=e.showHeaderSpinner,y=void 0===g?h.showHeaderSpinner:g,w=(0,a.useState)(f),P=w[0],S=w[1],Z=(0,a.useMemo)((function(){return P?(0,t.jsx)(o.Z,{}):(0,t.jsx)(i.Z,{})}),[P]),k=(0,a.useMemo)((function(){return P?"auto":".2em"}),[P]),I=(0,a.useMemo)((function(){return y&&!P&&m?(0,t.jsx)(j.Z,{progressProps:{style:{height:x,width:x}}}):void 0}),[P,m,y]),E=(0,a.useMemo)((function(){return P&&m?(0,t.jsx)(j.Z,{sx:{margin:"1em 0"}}):(0,t.jsx)(O,{children:r})}),[r,P,m]);return(0,t.jsxs)(d,{children:[(0,t.jsxs)(v,{children:[(0,t.jsxs)(s.Z,{row:!0,children:[p,I]}),(0,t.jsx)(c.Z,{onClick:function(){S((function(e){return!e}))},sx:{color:u.s7,padding:".2em"},children:Z})]}),(0,t.jsx)(l.Z,{sx:{height:k,overflowY:"hidden"},children:E})]})};w.defaultProps=h;var P=w,S=n(1496),Z=n(2287);function k(e,r,n){return r in e?Object.defineProperty(e,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[r]=n,e}function I(e){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{},t=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(t=t.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),t.forEach((function(r){k(e,r,n[r])}))}return e}function E(e,r){if(null==e)return{};var n,t,o=function(e,r){if(null==e)return{};var n,t,o={},i=Object.keys(e);for(t=0;t<i.length;t++)n=i[t],r.indexOf(n)>=0||(o[n]=e[n]);return o}(e,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(t=0;t<i.length;t++)n=i[t],r.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var D="Panel",C={paper:"".concat(D,"-paper"),square:"".concat(D,"-square"),topSquare:"".concat(D,"-topSquare"),bottomSquare:"".concat(D,"-bottomSquare")},M=(0,S.ZP)(l.Z)((function(){var e;return k(e={margin:"1em",position:"relative"},"& .".concat(C.paper),{backgroundColor:u.v9,height:"100%",opacity:.8,padding:"2.1em",position:"relative",width:"100%",zIndex:10}),k(e,"& .".concat(C.square),{content:'""',position:"absolute",width:"2.1em",height:"2.1em",border:"1px",borderColor:u.lD,borderWidth:"1px",borderRadius:u.n_,borderStyle:"solid",padding:0,margin:0}),k(e,"& .".concat(C.topSquare),{top:"-.3em",left:"-.3em"}),k(e,"& .".concat(C.bottomSquare),{bottom:"-.3em",right:"-.3em"}),e})),T={paperProps:{}},q=(0,t.jsx)(Z.Z,{styles:{"*::-webkit-scrollbar":{width:".6em"},"*::-webkit-scrollbar-track":{backgroundColor:u.v9},"*::-webkit-scrollbar-thumb":{backgroundColor:u.lD,outline:"1px solid transparent",borderRadius:u.n_}}}),N=function(e){var r=e.children,n=e.classes,o=e.className,i=e.paperProps,c=(void 0===i?T.paperProps:i).className,a=e.sx,u=E(e.paperProps,["className"]),s=E(e,["children","classes","className","paperProps","sx"]);return(0,t.jsxs)(M,I({classes:n,className:o,sx:a},s,{children:[q,(0,t.jsx)(l.Z,{className:"".concat(C.square," ").concat(C.topSquare)}),(0,t.jsx)(l.Z,{className:"".concat(C.square," ").concat(C.bottomSquare)}),(0,t.jsx)(l.Z,I({},u,{className:"".concat(C.paper," ").concat(c),children:r}))]}))};N.defaultProps=T;var L=N,_=(0,S.ZP)(l.Z)({alignItems:"center",display:"flex",flexDirection:"row",marginBottom:"1em",width:"100%","& > :first-child":{flexGrow:1},"& > :not(:first-child, :last-child)":{marginRight:".3em"}})},2152:function(e,r,n){var t=n(5893),o=n(7357),i=n(2346),c=n(6489),l=n(7169);function a(e,r,n){return r in e?Object.defineProperty(e,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[r]=n,e}function u(e){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{},t=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(t=t.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),t.forEach((function(r){a(e,r,n[r])}))}return e}function s(e,r){if(null==e)return{};var n,t,o=function(e,r){if(null==e)return{};var n,t,o={},i=Object.keys(e);for(t=0;t<i.length;t++)n=i[t],r.indexOf(n)>=0||(o[n]=e[n]);return o}(e,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(t=0;t<i.length;t++)n=i[t],r.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var f={progressProps:{}},p=function(e){var r=e.mt,n=void 0===r?"3em":r,p=e.progressProps,b=void 0===p?f.progressProps:p,d=e.sx,m=s(e,["mt","progressProps","sx"]);return(0,t.jsx)(o.Z,u({},m,{sx:u(a({alignItems:"center",display:"flex",justifyContent:"center",marginTop:n},"& .".concat(i.Z.root),{color:l.lD}),d),children:(0,t.jsx)(c.Z,u({},b,{variant:"indeterminate"}))}))};p.defaultProps=f,r.Z=p},2416:function(e,r,n){n.d(r,{Ac:function(){return d},z:function(){return h},Q0:function(){return I},$_:function(){return M},KI:function(){return P}});var t=n(5893),o=n(5861),i=n(7169);function c(e,r,n){return r in e?Object.defineProperty(e,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[r]=n,e}function l(e){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{},t=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(t=t.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),t.forEach((function(r){c(e,r,n[r])}))}return e}function a(e,r){if(null==e)return{};var n,t,o=function(e,r){if(null==e)return{};var n,t,o={},i=Object.keys(e);for(t=0;t<i.length;t++)n=i[t],r.indexOf(n)>=0||(o[n]=e[n]);return o}(e,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(t=0;t<i.length;t++)n=i[t],r.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var u="BodyText",s={inverted:!1,monospaced:!1,selected:!0,text:null},f={inverted:"".concat(u,"-inverted"),monospaced:"".concat(u,"-monospaced"),selected:"".concat(u,"-selected"),unselected:"".concat(u,"-unselected")},p=function(e){var r=e.isInvert,n=e.isMonospace,t=e.isSelect,o=[];return r?o.push(f.inverted):t?o.push(f.selected):o.push(f.unselected),n&&o.push(f.monospaced),o.join(" ")},b=function(e){var r,n=e.children,u=e.className,b=e.inverted,d=void 0===b?s.inverted:b,m=e.monospaced,g=void 0===m?s.monospaced:m,y=e.selected,O=void 0===y?s.selected:y,v=e.sx,j=e.text,h=void 0===j?s.text:j,x=a(e,["children","className","inverted","monospaced","selected","sx","text"]);return(0,t.jsx)(o.Z,l({className:"".concat(p({isInvert:d,isMonospace:g,isSelect:O})," ").concat(u),variant:"subtitle1"},x,{sx:l((r={},c(r,"&.".concat(f.inverted),{color:i.E5}),c(r,"&.".concat(f.monospaced),{fontFamily:"Source Code Pro",fontWeight:400}),c(r,"&.".concat(f.selected),{color:i.lD}),c(r,"&.".concat(f.unselected),{color:i.UZ}),r),v),children:null!==h&&void 0!==h?h:n}))};b.defaultProps=s;var d=b,m=n(1496),g=n(7294);function y(e,r,n){return r in e?Object.defineProperty(e,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[r]=n,e}function O(e,r){if(null==e)return{};var n,t,o=function(e,r){if(null==e)return{};var n,t,o={},i=Object.keys(e);for(t=0;t<i.length;t++)n=i[t],r.indexOf(n)>=0||(o[n]=e[n]);return o}(e,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(t=0;t<i.length;t++)n=i[t],r.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var v=(0,m.ZP)(o.Z)({color:i.lD}),j=function(e){var r=e.children,n=e.text,o=O(e,["children","text"]),i=(0,g.useMemo)((function(){return null!==r&&void 0!==r?r:n}),[r,n]);return(0,t.jsx)(v,function(e){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{},t=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(t=t.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),t.forEach((function(r){y(e,r,n[r])}))}return e}({variant:"h4"},o,{children:i}))};j.defaultProps={text:void 0};var h=j;function x(e,r,n){return r in e?Object.defineProperty(e,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[r]=n,e}function w(){return w=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var n=arguments[r];for(var t in n)Object.prototype.hasOwnProperty.call(n,t)&&(e[t]=n[t])}return e},w.apply(this,arguments)}var P=function(e){var r=w({},e);return(0,t.jsx)(d,function(e){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{},t=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(t=t.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),t.forEach((function(r){x(e,r,n[r])}))}return e}({variant:"body2"},r))};function S(e,r,n){return r in e?Object.defineProperty(e,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[r]=n,e}function Z(e){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{},t=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(t=t.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),t.forEach((function(r){S(e,r,n[r])}))}return e}function k(e,r){if(null==e)return{};var n,t,o=function(e,r){if(null==e)return{};var n,t,o={},i=Object.keys(e);for(t=0;t<i.length;t++)n=i[t],r.indexOf(n)>=0||(o[n]=e[n]);return o}(e,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(t=0;t<i.length;t++)n=i[t],r.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var I=function(e){var r=e.sx,n=k(e,["sx"]);return(0,t.jsx)(P,Z({},n,{monospaced:!0,sx:Z({display:"inline",padding:".1rem .3rem"},r)}))};function E(e,r,n){return r in e?Object.defineProperty(e,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[r]=n,e}function D(e){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{},t=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(t=t.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),t.forEach((function(r){E(e,r,n[r])}))}return e}function C(e,r){if(null==e)return{};var n,t,o=function(e,r){if(null==e)return{};var n,t,o={},i=Object.keys(e);for(t=0;t<i.length;t++)n=i[t],r.indexOf(n)>=0||(o[n]=e[n]);return o}(e,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(t=0;t<i.length;t++)n=i[t],r.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var M=function(e){var r=e.sx,n=C(e,["sx"]);return(0,t.jsx)(P,D({monospaced:!0,sx:D({alignItems:"center",display:"flex",height:"100%"},r)},n))}},2029:function(e,r){var n,t=null===(n="/cgi-bin")?void 0:n.replace("/cgi-bin","/api");r.Z=t},1200:function(e,r){function n(e,r){(null==r||r>e.length)&&(r=e.length);for(var n=0,t=new Array(r);n<r;n++)t[n]=e[n];return t}function t(e){return function(e){if(Array.isArray(e))return n(e)}(e)||function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,r){if(!e)return;if("string"===typeof e)return n(e,r);var t=Object.prototype.toString.call(e).slice(8,-1);"Object"===t&&e.constructor&&(t=e.constructor.name);if("Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return n(e,r)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}r.Z=function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return fetch.apply(void 0,t(r)).then((function(e){return e.json()}))}},1905:function(e,r,n){var t=n(8100),o=n(1200);r.Z=function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=r.refreshInterval,i=void 0===n?5e3:n,c=r.onSuccess,l=(0,t.ZP)(e,o.Z,{refreshInterval:i,onSuccess:c}),a=l.data,u=l.error;return{data:a,isLoading:!u&&!a,error:u}}}}]); |