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
61 KiB

(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[750],{29685:function(t,s,n){"use strict";n.d(s,{formControlClasses:function(){return Y.formControlClasses},outlinedInputClasses:function(){return tB.outlinedInputClasses}});var e=n(47959);n.o(e,"formControlClasses")&&n.d(s,{formControlClasses:function(){return e.formControlClasses}}),n.o(e,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return e.outlinedInputClasses}});var o=n(37703);n.o(o,"formControlClasses")&&n.d(s,{formControlClasses:function(){return o.formControlClasses}}),n.o(o,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return o.outlinedInputClasses}});var l=n(59708);n.o(l,"formControlClasses")&&n.d(s,{formControlClasses:function(){return l.formControlClasses}}),n.o(l,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return l.outlinedInputClasses}});var u=n(16058);n.o(u,"formControlClasses")&&n.d(s,{formControlClasses:function(){return u.formControlClasses}}),n.o(u,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return u.outlinedInputClasses}});var r=n(28796);n.o(r,"formControlClasses")&&n.d(s,{formControlClasses:function(){return r.formControlClasses}}),n.o(r,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return r.outlinedInputClasses}});var i=n(70061);n.o(i,"formControlClasses")&&n.d(s,{formControlClasses:function(){return i.formControlClasses}}),n.o(i,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return i.outlinedInputClasses}});var a=n(36950);n.o(a,"formControlClasses")&&n.d(s,{formControlClasses:function(){return a.formControlClasses}}),n.o(a,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return a.outlinedInputClasses}});var d=n(9947);n.o(d,"formControlClasses")&&n.d(s,{formControlClasses:function(){return d.formControlClasses}}),n.o(d,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return d.outlinedInputClasses}});var C=n(6761);n.o(C,"formControlClasses")&&n.d(s,{formControlClasses:function(){return C.formControlClasses}}),n.o(C,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return C.outlinedInputClasses}});var c=n(17276);n.o(c,"formControlClasses")&&n.d(s,{formControlClasses:function(){return c.formControlClasses}}),n.o(c,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return c.outlinedInputClasses}});var p=n(53704);n.o(p,"formControlClasses")&&n.d(s,{formControlClasses:function(){return p.formControlClasses}}),n.o(p,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return p.outlinedInputClasses}});var f=n(48982);n.o(f,"formControlClasses")&&n.d(s,{formControlClasses:function(){return f.formControlClasses}}),n.o(f,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return f.outlinedInputClasses}});var I=n(44343);n.o(I,"formControlClasses")&&n.d(s,{formControlClasses:function(){return I.formControlClasses}}),n.o(I,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return I.outlinedInputClasses}});var m=n(8267);n.o(m,"formControlClasses")&&n.d(s,{formControlClasses:function(){return m.formControlClasses}}),n.o(m,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return m.outlinedInputClasses}});var v=n(17091);n.o(v,"formControlClasses")&&n.d(s,{formControlClasses:function(){return v.formControlClasses}}),n.o(v,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return v.outlinedInputClasses}});var h=n(90842);n.o(h,"formControlClasses")&&n.d(s,{formControlClasses:function(){return h.formControlClasses}}),n.o(h,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return h.outlinedInputClasses}});var g=n(44044);n.o(g,"formControlClasses")&&n.d(s,{formControlClasses:function(){return g.formControlClasses}}),n.o(g,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return g.outlinedInputClasses}});var x=n(91687);n.o(x,"formControlClasses")&&n.d(s,{formControlClasses:function(){return x.formControlClasses}}),n.o(x,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return x.outlinedInputClasses}});var S=n(2117);n.o(S,"formControlClasses")&&n.d(s,{formControlClasses:function(){return S.formControlClasses}}),n.o(S,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return S.outlinedInputClasses}});var U=n(90287);n.o(U,"formControlClasses")&&n.d(s,{formControlClasses:function(){return U.formControlClasses}}),n.o(U,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return U.outlinedInputClasses}});var b=n(21897);n.o(b,"formControlClasses")&&n.d(s,{formControlClasses:function(){return b.formControlClasses}}),n.o(b,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return b.outlinedInputClasses}});var D=n(60200);n.o(D,"formControlClasses")&&n.d(s,{formControlClasses:function(){return D.formControlClasses}}),n.o(D,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return D.outlinedInputClasses}});var y=n(51791);n.o(y,"formControlClasses")&&n.d(s,{formControlClasses:function(){return y.formControlClasses}}),n.o(y,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return y.outlinedInputClasses}});var j=n(1536);n.o(j,"formControlClasses")&&n.d(s,{formControlClasses:function(){return j.formControlClasses}}),n.o(j,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return j.outlinedInputClasses}});var _=n(26088);n.o(_,"formControlClasses")&&n.d(s,{formControlClasses:function(){return _.formControlClasses}}),n.o(_,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return _.outlinedInputClasses}});var P=n(40324);n.o(P,"formControlClasses")&&n.d(s,{formControlClasses:function(){return P.formControlClasses}}),n.o(P,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return P.outlinedInputClasses}});var B=n(36723);n.o(B,"formControlClasses")&&n.d(s,{formControlClasses:function(){return B.formControlClasses}}),n.o(B,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return B.outlinedInputClasses}});var M=n(98038);n.o(M,"formControlClasses")&&n.d(s,{formControlClasses:function(){return M.formControlClasses}}),n.o(M,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return M.outlinedInputClasses}});var z=n(70074);n.o(z,"formControlClasses")&&n.d(s,{formControlClasses:function(){return z.formControlClasses}}),n.o(z,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return z.outlinedInputClasses}});var k=n(27681);n.o(k,"formControlClasses")&&n.d(s,{formControlClasses:function(){return k.formControlClasses}}),n.o(k,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return k.outlinedInputClasses}});var F=n(15329);n.o(F,"formControlClasses")&&n.d(s,{formControlClasses:function(){return F.formControlClasses}}),n.o(F,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return F.outlinedInputClasses}});var G=n(22158);n.o(G,"formControlClasses")&&n.d(s,{formControlClasses:function(){return G.formControlClasses}}),n.o(G,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return G.outlinedInputClasses}});var A=n(91907);n.o(A,"formControlClasses")&&n.d(s,{formControlClasses:function(){return A.formControlClasses}}),n.o(A,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return A.outlinedInputClasses}});var Z=n(89909);n.o(Z,"formControlClasses")&&n.d(s,{formControlClasses:function(){return Z.formControlClasses}}),n.o(Z,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return Z.outlinedInputClasses}});var T=n(11594);n.o(T,"formControlClasses")&&n.d(s,{formControlClasses:function(){return T.formControlClasses}}),n.o(T,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return T.outlinedInputClasses}});var w=n(39101);n.o(w,"formControlClasses")&&n.d(s,{formControlClasses:function(){return w.formControlClasses}}),n.o(w,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return w.outlinedInputClasses}});var O=n(73498);n.o(O,"formControlClasses")&&n.d(s,{formControlClasses:function(){return O.formControlClasses}}),n.o(O,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return O.outlinedInputClasses}});var N=n(7659);n.o(N,"formControlClasses")&&n.d(s,{formControlClasses:function(){return N.formControlClasses}}),n.o(N,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return N.outlinedInputClasses}});var V=n(40373);n.o(V,"formControlClasses")&&n.d(s,{formControlClasses:function(){return V.formControlClasses}}),n.o(V,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return V.outlinedInputClasses}});var L=n(64716);n.o(L,"formControlClasses")&&n.d(s,{formControlClasses:function(){return L.formControlClasses}}),n.o(L,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return L.outlinedInputClasses}});var Q=n(49205);n.o(Q,"formControlClasses")&&n.d(s,{formControlClasses:function(){return Q.formControlClasses}}),n.o(Q,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return Q.outlinedInputClasses}});var R=n(54878);n.o(R,"formControlClasses")&&n.d(s,{formControlClasses:function(){return R.formControlClasses}}),n.o(R,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return R.outlinedInputClasses}});var E=n(53318);n.o(E,"formControlClasses")&&n.d(s,{formControlClasses:function(){return E.formControlClasses}}),n.o(E,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return E.outlinedInputClasses}});var q=n(21489);n.o(q,"formControlClasses")&&n.d(s,{formControlClasses:function(){return q.formControlClasses}}),n.o(q,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return q.outlinedInputClasses}});var W=n(17812);n.o(W,"formControlClasses")&&n.d(s,{formControlClasses:function(){return W.formControlClasses}}),n.o(W,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return W.outlinedInputClasses}});var Y=n(46341);n.o(Y,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return Y.outlinedInputClasses}});var $=n(82749);n.o($,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return $.outlinedInputClasses}});var H=n(6372);n.o(H,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return H.outlinedInputClasses}});var J=n(20358);n.o(J,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return J.outlinedInputClasses}});var K=n(46526);n.o(K,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return K.outlinedInputClasses}});var X=n(67499);n.o(X,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return X.outlinedInputClasses}});var tt=n(43844);n.o(tt,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return tt.outlinedInputClasses}});var ts=n(69827);n.o(ts,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return ts.outlinedInputClasses}});var tn=n(81662);n.o(tn,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return tn.outlinedInputClasses}});var te=n(44954);n.o(te,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return te.outlinedInputClasses}});var to=n(42368);n.o(to,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return to.outlinedInputClasses}});var tl=n(72157);n.o(tl,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return tl.outlinedInputClasses}});var tu=n(79134);n.o(tu,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return tu.outlinedInputClasses}});var tr=n(97095);n.o(tr,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return tr.outlinedInputClasses}});var ti=n(69979);n.o(ti,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return ti.outlinedInputClasses}});var ta=n(20436);n.o(ta,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return ta.outlinedInputClasses}});var td=n(23924);n.o(td,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return td.outlinedInputClasses}});var tC=n(8658);n.o(tC,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return tC.outlinedInputClasses}});var tc=n(89011);n.o(tc,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return tc.outlinedInputClasses}});var tp=n(23368);n.o(tp,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return tp.outlinedInputClasses}});var tf=n(1534);n.o(tf,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return tf.outlinedInputClasses}});var tI=n(58160);n.o(tI,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return tI.outlinedInputClasses}});var tm=n(26504);n.o(tm,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return tm.outlinedInputClasses}});var tv=n(23625);n.o(tv,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return tv.outlinedInputClasses}});var th=n(99355);n.o(th,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return th.outlinedInputClasses}});var tg=n(58420);n.o(tg,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return tg.outlinedInputClasses}});var tx=n(85746);n.o(tx,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return tx.outlinedInputClasses}});var tS=n(26010);n.o(tS,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return tS.outlinedInputClasses}});var tU=n(21883);n.o(tU,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return tU.outlinedInputClasses}});var tb=n(92663);n.o(tb,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return tb.outlinedInputClasses}});var tD=n(64301);n.o(tD,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return tD.outlinedInputClasses}});var ty=n(46025);n.o(ty,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return ty.outlinedInputClasses}});var tj=n(91641);n.o(tj,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return tj.outlinedInputClasses}});var t_=n(43263);n.o(t_,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return t_.outlinedInputClasses}});var tP=n(93820);n.o(tP,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return tP.outlinedInputClasses}});var tB=n(79997)},52563:function(){},59708:function(t,s,n){"use strict";var e=n(52563);n.o(e,"formControlClasses")&&n.d(s,{formControlClasses:function(){return e.formControlClasses}}),n.o(e,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return e.outlinedInputClasses}})},11491:function(){},16058:function(t,s,n){"use strict";var e=n(11491);n.o(e,"formControlClasses")&&n.d(s,{formControlClasses:function(){return e.formControlClasses}}),n.o(e,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return e.outlinedInputClasses}})},32387:function(){},28796:function(t,s,n){"use strict";var e=n(32387);n.o(e,"formControlClasses")&&n.d(s,{formControlClasses:function(){return e.formControlClasses}}),n.o(e,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return e.outlinedInputClasses}})},59711:function(){},70061:function(t,s,n){"use strict";var e=n(59711);n.o(e,"formControlClasses")&&n.d(s,{formControlClasses:function(){return e.formControlClasses}}),n.o(e,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return e.outlinedInputClasses}})},51334:function(){},36950:function(t,s,n){"use strict";var e=n(51334);n.o(e,"formControlClasses")&&n.d(s,{formControlClasses:function(){return e.formControlClasses}}),n.o(e,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return e.outlinedInputClasses}})},50568:function(){},9947:function(t,s,n){"use strict";var e=n(50568);n.o(e,"formControlClasses")&&n.d(s,{formControlClasses:function(){return e.formControlClasses}}),n.o(e,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return e.outlinedInputClasses}})},15016:function(){},6761:function(t,s,n){"use strict";var e=n(15016);n.o(e,"formControlClasses")&&n.d(s,{formControlClasses:function(){return e.formControlClasses}}),n.o(e,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return e.outlinedInputClasses}})},9249:function(){},17276:function(t,s,n){"use strict";var e=n(9249);n.o(e,"formControlClasses")&&n.d(s,{formControlClasses:function(){return e.formControlClasses}}),n.o(e,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return e.outlinedInputClasses}})},39249:function(){},53704:function(t,s,n){"use strict";var e=n(39249);n.o(e,"formControlClasses")&&n.d(s,{formControlClasses:function(){return e.formControlClasses}}),n.o(e,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return e.outlinedInputClasses}})},25285:function(){},48982:function(t,s,n){"use strict";var e=n(25285);n.o(e,"formControlClasses")&&n.d(s,{formControlClasses:function(){return e.formControlClasses}}),n.o(e,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return e.outlinedInputClasses}})},32464:function(){},44343:function(t,s,n){"use strict";var e=n(32464);n.o(e,"formControlClasses")&&n.d(s,{formControlClasses:function(){return e.formControlClasses}}),n.o(e,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return e.outlinedInputClasses}})},13272:function(){},8267:function(t,s,n){"use strict";var e=n(13272);n.o(e,"formControlClasses")&&n.d(s,{formControlClasses:function(){return e.formControlClasses}}),n.o(e,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return e.outlinedInputClasses}})},32218:function(){},17091:function(t,s,n){"use strict";var e=n(32218);n.o(e,"formControlClasses")&&n.d(s,{formControlClasses:function(){return e.formControlClasses}}),n.o(e,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return e.outlinedInputClasses}})},13368:function(){},90842:function(t,s,n){"use strict";var e=n(13368);n.o(e,"formControlClasses")&&n.d(s,{formControlClasses:function(){return e.formControlClasses}}),n.o(e,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return e.outlinedInputClasses}})},9812:function(){},44044:function(t,s,n){"use strict";var e=n(9812);n.o(e,"formControlClasses")&&n.d(s,{formControlClasses:function(){return e.formControlClasses}}),n.o(e,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return e.outlinedInputClasses}})},4871:function(){},91687:function(t,s,n){"use strict";var e=n(4871);n.o(e,"formControlClasses")&&n.d(s,{formControlClasses:function(){return e.formControlClasses}}),n.o(e,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return e.outlinedInputClasses}})},8931:function(){},2117:function(t,s,n){"use strict";var e=n(8931);n.o(e,"formControlClasses")&&n.d(s,{formControlClasses:function(){return e.formControlClasses}}),n.o(e,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return e.outlinedInputClasses}})},95171:function(){},90287:function(t,s,n){"use strict";var e=n(95171);n.o(e,"formControlClasses")&&n.d(s,{formControlClasses:function(){return e.formControlClasses}}),n.o(e,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return e.outlinedInputClasses}});var o=n(17321);n.o(o,"formControlClasses")&&n.d(s,{formControlClasses:function(){return o.formControlClasses}}),n.o(o,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return o.outlinedInputClasses}})},17321:function(){},83299:function(){},21897:function(t,s,n){"use strict";var e=n(83299);n.o(e,"formControlClasses")&&n.d(s,{formControlClasses:function(){return e.formControlClasses}}),n.o(e,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return e.outlinedInputClasses}})},57285:function(){},60200:function(t,s,n){"use strict";var e=n(57285);n.o(e,"formControlClasses")&&n.d(s,{formControlClasses:function(){return e.formControlClasses}}),n.o(e,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return e.outlinedInputClasses}})},25793:function(){},51791:function(t,s,n){"use strict";var e=n(25793);n.o(e,"formControlClasses")&&n.d(s,{formControlClasses:function(){return e.formControlClasses}}),n.o(e,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return e.outlinedInputClasses}})},57423:function(){},1536:function(t,s,n){"use strict";var e=n(57423);n.o(e,"formControlClasses")&&n.d(s,{formControlClasses:function(){return e.formControlClasses}}),n.o(e,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return e.outlinedInputClasses}})},17911:function(){},26088:function(t,s,n){"use strict";var e=n(17911);n.o(e,"formControlClasses")&&n.d(s,{formControlClasses:function(){return e.formControlClasses}}),n.o(e,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return e.outlinedInputClasses}})},45783:function(){},40324:function(t,s,n){"use strict";var e=n(45783);n.o(e,"formControlClasses")&&n.d(s,{formControlClasses:function(){return e.formControlClasses}}),n.o(e,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return e.outlinedInputClasses}})},86039:function(){},36723:function(t,s,n){"use strict";var e=n(86039);n.o(e,"formControlClasses")&&n.d(s,{formControlClasses:function(){return e.formControlClasses}}),n.o(e,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return e.outlinedInputClasses}})},10795:function(){},98038:function(t,s,n){"use strict";var e=n(10795);n.o(e,"formControlClasses")&&n.d(s,{formControlClasses:function(){return e.formControlClasses}}),n.o(e,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return e.outlinedInputClasses}})},84725:function(){},70074:function(t,s,n){"use strict";var e=n(84725);n.o(e,"formControlClasses")&&n.d(s,{formControlClasses:function(){return e.formControlClasses}}),n.o(e,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return e.outlinedInputClasses}})},35672:function(){},27681:function(t,s,n){"use strict";var e=n(35672);n.o(e,"formControlClasses")&&n.d(s,{formControlClasses:function(){return e.formControlClasses}}),n.o(e,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return e.outlinedInputClasses}})},15329:function(){},13237:function(){},22158:function(t,s,n){"use strict";var e=n(13237);n.o(e,"formControlClasses")&&n.d(s,{formControlClasses:function(){return e.formControlClasses}}),n.o(e,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return e.outlinedInputClasses}})},73829:function(){},91907:function(t,s,n){"use strict";var e=n(73829);n.o(e,"formControlClasses")&&n.d(s,{formControlClasses:function(){return e.formControlClasses}}),n.o(e,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return e.outlinedInputClasses}})},89909:function(){},27802:function(){},39101:function(t,s,n){"use strict";var e=n(27802);n.o(e,"formControlClasses")&&n.d(s,{formControlClasses:function(){return e.formControlClasses}}),n.o(e,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return e.outlinedInputClasses}})},58635:function(){},73498:function(t,s,n){"use strict";var e=n(58635);n.o(e,"formControlClasses")&&n.d(s,{formControlClasses:function(){return e.formControlClasses}}),n.o(e,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return e.outlinedInputClasses}})},52307:function(){},7659:function(t,s,n){"use strict";var e=n(52307);n.o(e,"formControlClasses")&&n.d(s,{formControlClasses:function(){return e.formControlClasses}}),n.o(e,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return e.outlinedInputClasses}})},10028:function(){},40373:function(t,s,n){"use strict";var e=n(10028);n.o(e,"formControlClasses")&&n.d(s,{formControlClasses:function(){return e.formControlClasses}}),n.o(e,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return e.outlinedInputClasses}})},41624:function(){},64716:function(t,s,n){"use strict";var e=n(41624);n.o(e,"formControlClasses")&&n.d(s,{formControlClasses:function(){return e.formControlClasses}}),n.o(e,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return e.outlinedInputClasses}})},73431:function(){},49205:function(t,s,n){"use strict";var e=n(73431);n.o(e,"formControlClasses")&&n.d(s,{formControlClasses:function(){return e.formControlClasses}}),n.o(e,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return e.outlinedInputClasses}})},12495:function(){},54878:function(t,s,n){"use strict";var e=n(12495);n.o(e,"formControlClasses")&&n.d(s,{formControlClasses:function(){return e.formControlClasses}}),n.o(e,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return e.outlinedInputClasses}})},67358:function(){},53318:function(t,s,n){"use strict";var e=n(67358);n.o(e,"formControlClasses")&&n.d(s,{formControlClasses:function(){return e.formControlClasses}}),n.o(e,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return e.outlinedInputClasses}})},21489:function(){},15813:function(){},17812:function(t,s,n){"use strict";var e=n(15813);n.o(e,"formControlClasses")&&n.d(s,{formControlClasses:function(){return e.formControlClasses}}),n.o(e,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return e.outlinedInputClasses}})},46341:function(t,s,n){"use strict";n.d(s,{formControlClasses:function(){return e.Z}});var e=n(47120),o=n(22018);n.o(o,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return o.outlinedInputClasses}})},85173:function(){},82749:function(t,s,n){"use strict";var e=n(85173);n.o(e,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return e.outlinedInputClasses}})},33600:function(){},6372:function(t,s,n){"use strict";var e=n(33600);n.o(e,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return e.outlinedInputClasses}})},21630:function(){},20358:function(t,s,n){"use strict";var e=n(21630);n.o(e,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return e.outlinedInputClasses}})},16962:function(){},48108:function(){},46526:function(t,s,n){"use strict";var e=n(16962);n.o(e,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return e.outlinedInputClasses}});var o=n(48108);n.o(o,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return o.outlinedInputClasses}})},24632:function(){},67499:function(t,s,n){"use strict";var e=n(24632);n.o(e,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return e.outlinedInputClasses}})},69827:function(){},81662:function(){},30720:function(){},44954:function(t,s,n){"use strict";var e=n(30720);n.o(e,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return e.outlinedInputClasses}})},30330:function(){},42368:function(t,s,n){"use strict";var e=n(30330);n.o(e,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return e.outlinedInputClasses}})},40947:function(){},72157:function(t,s,n){"use strict";var e=n(40947);n.o(e,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return e.outlinedInputClasses}})},16145:function(){},79134:function(t,s,n){"use strict";var e=n(16145);n.o(e,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return e.outlinedInputClasses}})},42426:function(){},97095:function(t,s,n){"use strict";var e=n(42426);n.o(e,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return e.outlinedInputClasses}})},69979:function(t,s,n){"use strict";var e=n(35552);n.o(e,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return e.outlinedInputClasses}})},35552:function(){},20436:function(t,s,n){"use strict";var e=n(46722);n.o(e,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return e.outlinedInputClasses}})},46722:function(){},23924:function(t,s,n){"use strict";var e=n(58680);n.o(e,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return e.outlinedInputClasses}})},58680:function(){},8658:function(t,s,n){"use strict";var e=n(97681);n.o(e,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return e.outlinedInputClasses}})},97681:function(){},89011:function(t,s,n){"use strict";var e=n(615);n.o(e,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return e.outlinedInputClasses}})},615:function(){},23368:function(t,s,n){"use strict";var e=n(98403);n.o(e,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return e.outlinedInputClasses}})},98403:function(){},1534:function(t,s,n){"use strict";var e=n(66826);n.o(e,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return e.outlinedInputClasses}})},66826:function(){},58160:function(t,s,n){"use strict";var e=n(80775);n.o(e,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return e.outlinedInputClasses}})},80775:function(){},26504:function(t,s,n){"use strict";var e=n(15979);n.o(e,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return e.outlinedInputClasses}})},15979:function(){},23625:function(t,s,n){"use strict";var e=n(14132);n.o(e,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return e.outlinedInputClasses}})},14132:function(){},99355:function(t,s,n){"use strict";var e=n(19382);n.o(e,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return e.outlinedInputClasses}})},19382:function(){},58420:function(t,s,n){"use strict";var e=n(93396);n.o(e,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return e.outlinedInputClasses}})},93396:function(){},85746:function(t,s,n){"use strict";var e=n(80984);n.o(e,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return e.outlinedInputClasses}})},80984:function(){},26010:function(t,s,n){"use strict";var e=n(80748);n.o(e,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return e.outlinedInputClasses}})},80748:function(){},21883:function(t,s,n){"use strict";var e=n(33105);n.o(e,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return e.outlinedInputClasses}})},33105:function(){},92663:function(t,s,n){"use strict";var e=n(66818);n.o(e,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return e.outlinedInputClasses}})},66818:function(){},64301:function(){},46025:function(t,s,n){"use strict";var e=n(48560);n.o(e,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return e.outlinedInputClasses}})},48560:function(){},91641:function(t,s,n){"use strict";var e=n(26978);n.o(e,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return e.outlinedInputClasses}})},26978:function(){},43263:function(t,s,n){"use strict";var e=n(18594);n.o(e,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return e.outlinedInputClasses}})},18594:function(){},93820:function(){},79997:function(t,s,n){"use strict";n.d(s,{outlinedInputClasses:function(){return e.Z}});var e=n(54656)},68269:function(){},97426:function(){},43844:function(t,s,n){"use strict";var e=n(68269);n.o(e,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return e.outlinedInputClasses}});var o=n(97426);n.o(o,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return o.outlinedInputClasses}})},11594:function(){},22995:function(){},47959:function(t,s,n){"use strict";var e=n(22995);n.o(e,"formControlClasses")&&n.d(s,{formControlClasses:function(){return e.formControlClasses}}),n.o(e,"outlinedInputClasses")&&n.d(s,{outlinedInputClasses:function(){return e.outlinedInputClasses}})},37703:function(){},22018:function(){},88750:function(t,s,n){"use strict";let e,o;n.d(s,{Z:function(){return components_ProvisionServerDialog}});var l=n(85893),u=n(67294),r=n(5616),i=n(48263),a=n(78262),d=n(50594),C=n(25934),c=n(6010),p=n(67645),f=n(89712),I=n(56597),m=n(19467),v=n(56746),h=n(83221),g=n(68917),x=n(55675),S=n(29685),U=n(35797),b=n(52886);let D={inputWithLabelProps:{},messageBoxProps:{},selectWithLabelProps:{}},OutlinedLabeledInputWithSelect=t=>{let{id:s,label:n,inputWithLabelProps:e=D.inputWithLabelProps,messageBoxProps:o=D.messageBoxProps,selectItems:u,selectWithLabelProps:i=D.selectWithLabelProps}=t;return(0,l.jsxs)(r.Z,{children:[(0,l.jsxs)(r.Z,{sx:{display:"flex",flexDirection:"row","& > :first-child":{flexGrow:1},"& > :not(:last-child)":{marginRight:".5em"},["&:hover\n .".concat(S.formControlClasses.root,"\n .").concat(S.outlinedInputClasses.root,"\n .").concat(S.outlinedInputClasses.notchedOutline)]:{borderColor:c.s7}},children:[(0,l.jsx)(x.Z,{id:s,label:n,...e}),(0,l.jsx)(b.Z,{formControlProps:{fullWidth:!1,sx:{minWidth:"min-content"}},id:"".concat(s,"-nested-select"),selectItems:u,...i})]}),(0,l.jsx)(U.Z,{...o})]})};OutlinedLabeledInputWithSelect.defaultProps=D;var y=n(37260),j=n(81796),_=n(50233),P=n(84154);let B=BigInt(0),M=[{value:"B"},{value:"KiB"},{value:"MiB"},{value:"GiB"},{value:"TiB"}],z=BigInt(65536),k=BigInt(104857600),F={backgroundColor:c.Ej,color:c.lD,"&:hover":{backgroundColor:c.Ej}},createMaxValueButton=(t,s)=>{let{onButtonClick:n}=s;return(0,l.jsx)(m.Z,{disabled:void 0===n,onClick:n,sx:{minWidth:"unset",whiteSpace:"nowrap"},children:"Max: ".concat(t)})},createSelectItemDisplay=function(){let{endAdornment:t,mainLabel:s,subLabel:n}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,l.jsxs)(r.Z,{sx:{alignItems:"center",display:"flex",flexDirection:"row",width:"100%","& > :first-child":{flexGrow:1}},children:[(0,l.jsxs)(r.Z,{sx:{display:"flex",flexDirection:"column"},children:[s&&(0,l.jsx)(P.Ac,{inverted:!0,text:s}),n&&(0,l.jsx)(P.Ac,{inverted:!0,text:n})]}),t]})},organizeAnvils=t=>{let s={},n=t.reduce((t,n)=>{let{anvilUUID:e,anvilName:o,anvilTotalMemory:u,anvilTotalAllocatedMemory:i,anvilTotalAvailableMemory:a,hosts:d,servers:C,storageGroups:c,files:p}=n,{anvilStorageGroups:f,anvilStorageGroupUUIDs:I}=c.reduce((s,n)=>{let u={...n,anvilUUID:e,anvilName:o,storageGroupSize:BigInt(n.storageGroupSize),storageGroupFree:BigInt(n.storageGroupFree),humanizedStorageGroupFree:""};return(0,v.Bh)(n.storageGroupFree,{fromUnit:"B",onSuccess:{string:(t,s)=>{u.humanizedStorageGroupFree="".concat(t," ").concat(s)}},precision:0,toUnit:"ibyte"}),s.anvilStorageGroupUUIDs.push(n.storageGroupUUID),s.anvilStorageGroups.push(u),t.storageGroups.push(u),t.storageGroupSelectItems.push({displayValue:createSelectItemDisplay({endAdornment:(0,l.jsx)(P.Ac,{inverted:!0,text:"~".concat(u.humanizedStorageGroupFree," free")}),mainLabel:n.storageGroupName,subLabel:o}),value:n.storageGroupUUID}),t.storageGroupUUIDMapToData[n.storageGroupUUID]=u,s},{anvilStorageGroups:[],anvilStorageGroupUUIDs:[]}),m=[];p.forEach(t=>{let{fileUUID:n}=t;m.push(n),s[n]=t});let h={...n,anvilTotalMemory:BigInt(u),anvilTotalAllocatedMemory:BigInt(i),anvilTotalAvailableMemory:BigInt(a),humanizedAnvilTotalAvailableMemory:"",hosts:d.map(t=>({...t,hostMemory:BigInt(t.hostMemory)})),servers:C.map(s=>{let{serverMemory:n,serverName:e,...o}=s,l={...o,serverMemory:BigInt(n),serverName:e};return t.serverNameMapToData[e]=l,l}),storageGroupUUIDs:I,storageGroups:f,fileUUIDs:m};return(0,v.Bh)(a,{fromUnit:"B",onSuccess:{string:(t,s)=>{h.humanizedAnvilTotalAvailableMemory="".concat(t," ").concat(s)}},precision:0,toUnit:"ibyte"}),t.anvils.push(h),t.anvilSelectItems.push({displayValue:createSelectItemDisplay({endAdornment:(0,l.jsxs)(r.Z,{sx:{display:"flex",flexDirection:"column",width:"8rem"},children:[(0,l.jsx)(P.Ac,{inverted:!0,text:"CPU: ".concat(h.anvilTotalCPUCores," cores")}),(0,l.jsx)(P.Ac,{inverted:!0,text:"Memory: ~".concat(h.humanizedAnvilTotalAvailableMemory)})]}),mainLabel:h.anvilName,subLabel:h.anvilDescription}),value:e}),t.anvilUUIDMapToData[e]=h,t},{anvils:[],anvilSelectItems:[],anvilUUIDMapToData:{},files:[],fileSelectItems:[],fileUUIDMapToData:{},serverNameMapToData:{},storageGroups:[],storageGroupSelectItems:[],storageGroupUUIDMapToData:{}});return Object.values(s).forEach(t=>{n.files.push(t),n.fileSelectItems.push({displayValue:t.fileName,value:t.fileUUID}),n.fileUUIDMapToData[t.fileUUID]=t}),n},filterAnvils=function(t,s,n,e,o,l,u){let{includeAnvilUUIDs:r=[],includeFileUUIDs:i=[],includeStorageGroupUUIDs:a=[]}=arguments.length>7&&void 0!==arguments[7]?arguments[7]:{},testIncludeAnvil=()=>!0,testIncludeFile=()=>!0,testIncludeStorageGroup=()=>!0;r.length>0&&(testIncludeAnvil=t=>r.includes(t)),i.length>0&&(testIncludeFile=t=>i.includes(t)),a.length>0&&(testIncludeStorageGroup=t=>a.includes(t));let d={},C=l.reduce((t,s,n)=>{var e;let l=null!==(e=o[n])&&void 0!==e?e:B;return t.all+=l,""===s||(void 0===t[s]&&(t[s]=B),t[s]+=l),t},{all:B}),c=t.reduce((t,r)=>{let{anvilUUID:i}=r;if(testIncludeAnvil(i)){let{anvilTotalCPUCores:a,anvilTotalAvailableMemory:c,files:p,fileUUIDs:f,storageGroups:I}=r,m=[],v=B,h=B;I.forEach(t=>{let{storageGroupUUID:s,storageGroupFree:n}=t;testIncludeStorageGroup(s)&&(m.push(s),h+=n,n>v&&(v=n))});let g=[()=>I.length>0,()=>n<=a,()=>e<=c,()=>l.every((t,n)=>{var e;let l=null!==(e=o[n])&&void 0!==e?e:B,u=!0,r=l<=v;return""!==t&&(u=m.includes(t),r=l<=s[t].storageGroupFree),u&&r}),()=>Object.entries(C).every(t=>{let[n,e]=t;return"all"===n?e<=h:e<=s[n].storageGroupFree}),()=>u.every(t=>""===t||f.includes(t))];g.every(t=>t())&&(t.anvils.push(r),t.anvilUUIDs.push(i),t.maxCPUCores=Math.max(a,t.maxCPUCores),c>t.maxMemory&&(t.maxMemory=c),p.forEach(t=>{let{fileUUID:s}=t;testIncludeFile(s)&&(d[s]=!0)}),t.storageGroupUUIDs.push(...m),t.maxVirtualDiskSizes.fill(v))}return t},{anvils:[],anvilUUIDs:[],fileUUIDs:[],maxCPUCores:0,maxMemory:B,maxVirtualDiskSizes:l.map(()=>B),storageGroupUUIDs:[]});return c.fileUUIDs=Object.keys(d),l.forEach((t,n)=>{""!==t&&(c.maxVirtualDiskSizes[n]=s[t].storageGroupFree)}),c},createVirtualDiskForm=(t,s,n,e,o,u,i,a)=>{let get=function(n){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:s;return t[n][e]},set=function(e,o){let l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:s;t[e][l]=o,n({...t})},changeVDSize=function(){let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:B;set("sizes",n);let{formattedMaxVDSizes:e,maxVirtualDiskSizes:o}=u({virtualDisks:t});a({inputs:{["vd".concat(s,"Size")]:{displayMax:"".concat(e[s]),max:o[s],value:n}}})},handleVDSizeChange=t=>{let{value:s=get("inputSizes"),unit:n=get("inputUnits")}=t;s!==get("inputSizes")&&set("inputSizes",s),n!==get("inputUnits")&&set("inputUnits",n),(0,v.KY)(s,n,t=>changeVDSize(t),()=>changeVDSize())},handleVDStorageGroupChange=function(){let s=arguments.length>0&&void 0!==arguments[0]?arguments[0]:get("inputStorageGroupUUIDs");s!==get("inputStorageGroupUUIDs")&&set("inputStorageGroupUUIDs",s),u({virtualDisks:t})};return(0,l.jsxs)(r.Z,{sx:{display:"flex",flexDirection:"column","& > :not(:first-child)":{marginTop:"1em"}},children:[(0,l.jsx)(r.Z,{sx:{display:"flex",flexDirection:"column"},children:(0,l.jsx)(OutlinedLabeledInputWithSelect,{id:"ps-virtual-disk-size-".concat(s),label:"Disk size",messageBoxProps:get("inputSizeMessages"),inputWithLabelProps:{inputProps:{endAdornment:createMaxValueButton("".concat(get("inputMaxes")," ").concat(get("inputUnits")),{onButtonClick:()=>{set("inputSizes",get("inputMaxes")),changeVDSize(get("maxes"))}}),onChange:t=>{let{target:{value:s}}=t;handleVDSizeChange({value:s})},type:"number",value:get("inputSizes")},inputLabelProps:{isNotifyRequired:get("sizes")===B}},selectItems:M,selectWithLabelProps:{selectProps:{onChange:t=>{let{target:{value:s}}=t;handleVDSizeChange({unit:s})},value:get("inputUnits")}}})}),(0,l.jsx)(r.Z,{sx:{display:"flex",flexDirection:"column"},children:(0,l.jsx)(b.Z,{id:"ps-storage-group-".concat(s),label:"Storage group",disableItem:t=>!(o.includes(t)&&get("sizes")<=i[t].storageGroupFree),inputLabelProps:{isNotifyRequired:0===get("inputStorageGroupUUIDs").length},messageBoxProps:get("inputStorageGroupUUIDMessages"),selectItems:e,selectProps:{onChange:t=>{let{target:{value:s}}=t;handleVDStorageGroupChange(s)},onClearIndicatorClick:()=>handleVDStorageGroupChange(""),renderValue:t=>{var s;let{anvilName:n="?",storageGroupName:e="Unknown (".concat(t,")")}=null!==(s=i[t])&&void 0!==s?s:{};return"".concat(e," (").concat(n,")")},value:get("inputStorageGroupUUIDs")}})})]},"ps-virtual-disk-".concat(get("stateIds")))},addVirtualDisk=function(){let{existingVirtualDisks:t={stateIds:[],inputMaxes:[],inputSizeMessages:[],inputSizes:[],inputStorageGroupUUIDMessages:[],inputStorageGroupUUIDs:[],inputUnits:[],maxes:[],sizes:[]},stateId:s=(0,C.Z)(),inputMax:n="0",inputSize:e="",inputSizeMessage:o,inputStorageGroupUUID:l="",inputStorageGroupUUIDMessage:u,inputUnit:r="GiB",max:i=B,setVirtualDisks:a,size:d=B}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{stateIds:c,inputMaxes:p,inputSizeMessages:f,inputSizes:I,inputStorageGroupUUIDMessages:m,inputStorageGroupUUIDs:v,inputUnits:h,maxes:g,sizes:x}=t;return c.push(s),p.push(n),f.push(o),I.push(e),m.push(u),v.push(l),h.push(r),g.push(i),x.push(d),null==a||a.call(null,{...t}),t},filterBlanks=t=>t.filter(t=>""!==t),getDisplayDsizeOptions=t=>({fromUnit:"B",onSuccess:{string:t},precision:0,toUnit:"ibyte"});(0,v.Bh)(z,getDisplayDsizeOptions((t,s)=>{e="".concat(t," ").concat(s)})),(0,v.Bh)(k,getDisplayDsizeOptions((t,s)=>{o="".concat(t," ").concat(s)}));var components_ProvisionServerDialog=t=>{let{dialogProps:{open:s},onClose:n}=t,[C,S]=(0,u.useState)([]),[U,D]=(0,u.useState)({}),[G,A]=(0,u.useState)({}),[Z,T]=(0,u.useState)({}),[w,O]=(0,u.useState)({}),[N,V]=(0,u.useState)([]),[L,Q]=(0,u.useState)([]),[R,E]=(0,u.useState)([]),[q,W]=(0,u.useState)([]),[Y,$]=(0,u.useState)(""),[H,J]=(0,u.useState)(),[K,X]=(0,u.useState)(1),[tt,ts]=(0,u.useState)(0),[tn,te]=(0,u.useState)(),[to,tl]=(0,u.useState)(B),[tu,tr]=(0,u.useState)(B),[ti,ta]=(0,u.useState)(),[td,tC]=(0,u.useState)("0"),[tc,tp]=(0,u.useState)(""),[tf,tI]=(0,u.useState)("GiB"),[tm,tv]=(0,u.useState)(addVirtualDisk()),[th,tg]=(0,u.useState)(""),[tx,tS]=(0,u.useState)(),[tU,tb]=(0,u.useState)(""),[tD]=(0,u.useState)(),[ty,tj]=(0,u.useState)(""),[t_,tP]=(0,u.useState)(),[tB,tM]=(0,u.useState)(null),[tz,tk]=(0,u.useState)(),[tF,tG]=(0,u.useState)([]),[tA,tZ]=(0,u.useState)([]),[tT,tw]=(0,u.useState)([]),[tO,tN]=(0,u.useState)(!1),[tV,tL]=(0,u.useState)(!1),[tQ,tR]=(0,u.useState)(!1),[tE,tq]=(0,u.useState)(0),tW=(0,u.useMemo)(()=>{let t=[];for(let s=1;s<=tt;s+=1)t.push(s);return t},[tt]),tY={serverName:{defaults:{onSuccess:()=>{J(void 0)},value:Y},isRequired:!0,tests:[{onFailure:()=>{J({text:"The server name length must be 1 to 16 characters.",type:"warning"})},test:t=>{let{value:s}=t,{length:n}=s;return n>=1&&n<=16}},{onFailure:()=>{J({text:"The server name is expected to only contain alphanumeric, hyphen, or underscore characters.",type:"warning"})},test:t=>{let{value:s}=t;return/^[a-zA-Z0-9_-]+$/.test(s)}},{onFailure:()=>{J({text:"This server name already exists, please choose another name.",type:"warning"})},test:t=>{let{value:s}=t;return void 0===Z[s]}}]},cpuCores:{defaults:{max:tt,min:1,onSuccess:()=>{te(void 0)},value:K},isRequired:!0,tests:[{onFailure:()=>{te({text:"Non available.",type:"warning"})},test:_.X7},{onFailure:t=>{let{displayMax:s,displayMin:n}=t;te({text:"The number of CPU cores is expected to be between ".concat(n," and ").concat(s,"."),type:"warning"})},test:_.SQ}]},memory:{defaults:{displayMax:"".concat(td," ").concat(tf),displayMin:e,max:tu,min:z,onSuccess:()=>{ta(void 0)},value:to},isRequired:!0,tests:[{onFailure:()=>{ta({text:"Non available.",type:"warning"})},test:_.X7},{onFailure:t=>{let{displayMax:s,displayMin:n}=t;ta({text:"Memory is expected to be between ".concat(n," and ").concat(s,"."),type:"warning"})},test:_.SQ}]},installISO:{defaults:{onSuccess:()=>{tS(void 0)},value:th},isRequired:!0,tests:[{test:_.HJ}]},anvil:{defaults:{onSuccess:()=>{tP(void 0)},value:ty},isRequired:!0,tests:[{test:_.HJ}]},optimizeForOS:{defaults:{onSuccess:()=>{tk(void 0)},value:null==tB?void 0:tB.key},isRequired:!0,tests:[{test:_.HJ}]}};tm.inputSizeMessages.forEach((t,s)=>{tY["vd".concat(s,"Size")]={defaults:{displayMax:"".concat(tm.inputMaxes[s]," ").concat(tm.inputUnits[s]),displayMin:o,max:tm.maxes[s],min:k,onSuccess:()=>{tm.inputSizeMessages[s]=void 0},value:tm.sizes[s]},isRequired:!0,onFinishBatch:()=>{tv({...tm})},tests:[{onFailure:()=>{tm.inputSizeMessages[s]={text:"Non available.",type:"warning"}},test:_.X7},{onFailure:t=>{let{displayMax:n,displayMin:e}=t;tm.inputSizeMessages[s]={text:"Virtual disk ".concat(s," size is expected to be between ").concat(e," and ").concat(n,"."),type:"warning"}},test:_.SQ}]},tY["vd".concat(s,"StorageGroup")]={defaults:{onSuccess:()=>{tm.inputStorageGroupUUIDMessages[s]=void 0},value:tm.inputStorageGroupUUIDs[s]},isRequired:!0,onFinishBatch:()=>{tv({...tm})},tests:[{test:_.HJ}]}});let updateLimits=function(){let{allAnvils:t=C,cpuCores:s=K,fileUUIDs:n=[th,tU],includeAnvilUUIDs:e=filterBlanks([ty]),includeFileUUIDs:o,includeStorageGroupUUIDs:l,inputMemoryUnit:u=tf,memory:r=to,storageGroupUUIDMapToData:i=w,virtualDisks:a=tm}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{anvilUUIDs:d,fileUUIDs:c,maxCPUCores:p,maxMemory:f,maxVirtualDiskSizes:I,storageGroupUUIDs:m}=filterAnvils(t,i,s,r,a.sizes,a.inputStorageGroupUUIDs,n,{includeAnvilUUIDs:e,includeFileUUIDs:o,includeStorageGroupUUIDs:l});ts(p),tr(f);let h=[];a.maxes=I,a.maxes.forEach((t,s)=>{(0,v.Bh)(t,{fromUnit:"B",onSuccess:{string:(t,n)=>{a.inputMaxes[s]=t,h[s]="".concat(t," ").concat(n)}},toUnit:a.inputUnits[s]})}),tv({...a}),tG(d),tZ(c),tw(m);let g="";return(0,v.Bh)(f,{fromUnit:"B",onSuccess:{string:(t,s)=>{tC(t),g="".concat(t," ").concat(s)}},toUnit:u}),{formattedMaxMemory:g,formattedMaxVDSizes:h,maxCPUCores:p,maxMemory:f,maxVirtualDiskSizes:I}},t$=(0,u.useCallback)(updateLimits,[]),testInput=function(){for(var t=arguments.length,s=Array(t),n=0;n<t;n++)s[n]=arguments[n];let[e,...o]=s;return(0,_.BD)({tests:tY,...e},...o)},changeMemory=function(){let{cmValue:t=B,cmUnit:s=tf}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};tl(t);let{formattedMaxMemory:n,maxMemory:e}=updateLimits({inputMemoryUnit:s,memory:t});testInput({inputs:{memory:{displayMax:n,max:e,value:t}}})},handleInputMemoryValueChange=function(){let{value:t=tc,unit:s=tf}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};t!==tc&&tp(t),s!==tf&&tI(s),(0,v.KY)(t,s,t=>changeMemory({cmValue:t,cmUnit:s}),()=>changeMemory({cmUnit:s}))},handleInputInstallISOFileUUIDChange=t=>{tg(t),updateLimits({fileUUIDs:[t,tU]})},handleInputDriverISOFileUUIDChange=t=>{tb(t),updateLimits({fileUUIDs:[th,t]})},handleInputAnvilValueChange=t=>{let s=filterBlanks([t]);tj(t),updateLimits({includeAnvilUUIDs:s})};return(0,u.useEffect)(()=>{p.Z.get("/anvil",{params:{anvilUUIDs:"all",isForProvisionServer:!0}}).then(t=>{let{data:s}=t,{anvils:n,anvilSelectItems:e,anvilUUIDMapToData:o,fileSelectItems:l,fileUUIDMapToData:u,serverNameMapToData:r,storageGroupSelectItems:i,storageGroupUUIDMapToData:a}=organizeAnvils(s.anvils);S(n),D(o),A(u),T(r),O(a),V(e),Q(l),W(i);let d={allAnvils:n,storageGroupUUIDMapToData:a};if(1===e.length){let{0:{value:t}}=e;tj(t),d.includeAnvilUUIDs=[t]}if(1===l.length){let{0:{value:t}}=l;tg(t),d.fileUUIDs=[t,""]}if(1===i.length){let{0:{value:t}}=i;tv(s=>{let n={...s};return n.inputStorageGroupUUIDs[0]=t,d.virtualDisks=n,n})}t$(d),E(Object.entries(s.oses).map(t=>{let[s,n]=t;return{key:s,label:n}})),tN(!0)})},[t$]),(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)(a.Z,{fullWidth:!0,maxWidth:"sm",open:s,PaperComponent:y.s_,PaperProps:{sx:{overflow:"visible"}},children:[(0,l.jsxs)(y.V9,{children:[(0,l.jsx)(P.z,{text:"Provision a Server"}),(0,l.jsx)(h.Z,{onClick:n,sx:{backgroundColor:c.hM,color:c.lD,"&:hover":{backgroundColor:c.hM}},children:(0,l.jsx)(d.Z,{})})]}),tO?(0,l.jsxs)(r.Z,{sx:{display:"flex",flexDirection:"column",maxHeight:"50vh",overflowY:"scroll",paddingTop:".6em","& > :not(:first-child)":{marginTop:"1em"}},children:[(0,l.jsx)(r.Z,{sx:{display:"flex",flexDirection:"column"},children:(0,l.jsx)(x.Z,{id:"ps-server-name",label:"Server name",inputProps:{onChange:t=>{let{target:{value:s}}=t;$(s),testInput({inputs:{serverName:{value:s}}})},value:Y},inputLabelProps:{isNotifyRequired:0===Y.length},messageBoxProps:H})}),(0,l.jsx)(f.Z,{id:"ps-cpu-cores",disableClearable:!0,extendRenderInput:t=>{let{inputLabelProps:s={}}=t;s.isNotifyRequired=K<=0},getOptionLabel:t=>String(t),label:"CPU cores",messageBoxProps:tn,noOptionsText:"No available number of cores.",onChange:(t,s)=>{if(!s||s===K)return;X(s);let{maxCPUCores:n}=updateLimits({cpuCores:s});testInput({inputs:{cpuCores:{max:n,value:s}}})},openOnFocus:!0,options:tW,renderOption:(t,s)=>(0,u.createElement)("li",{...t,key:"ps-cpu-cores-".concat(s)},s),value:K}),(0,l.jsx)(OutlinedLabeledInputWithSelect,{id:"ps-memory",label:"Memory",messageBoxProps:ti,inputWithLabelProps:{inputProps:{endAdornment:createMaxValueButton("".concat(td," ").concat(tf),{onButtonClick:()=>{tp(td),changeMemory({cmValue:tu})}}),onChange:t=>{let{target:{value:s}}=t;handleInputMemoryValueChange({value:s})},type:"number",value:tc},inputLabelProps:{isNotifyRequired:to===B}},selectItems:M,selectWithLabelProps:{selectProps:{onChange:t=>{let{target:{value:s}}=t;handleInputMemoryValueChange({unit:s})},value:tf}}}),tm.stateIds.map((t,s)=>createVirtualDiskForm(tm,s,tv,q,tT,updateLimits,w,testInput)),(0,l.jsx)(b.Z,{disableItem:t=>t===tU,hideItem:t=>!tA.includes(t),id:"ps-install-image",inputLabelProps:{isNotifyRequired:0===th.length},label:"Install ISO",messageBoxProps:tx,selectItems:L,selectProps:{onChange:t=>{let{target:{value:s}}=t;handleInputInstallISOFileUUIDChange(s)},onClearIndicatorClick:()=>handleInputInstallISOFileUUIDChange(""),value:th}}),(0,l.jsx)(b.Z,{disableItem:t=>t===th,hideItem:t=>!tA.includes(t),id:"ps-driver-image",label:"Driver ISO",messageBoxProps:tD,selectItems:L,selectProps:{onChange:t=>{let{target:{value:s}}=t;handleInputDriverISOFileUUIDChange(s)},onClearIndicatorClick:()=>handleInputDriverISOFileUUIDChange(""),value:tU}}),(0,l.jsx)(b.Z,{disableItem:t=>!tF.includes(t),id:"ps-anvil",inputLabelProps:{isNotifyRequired:0===ty.length},label:"Anvil node",messageBoxProps:t_,selectItems:N,selectProps:{onChange:t=>{let{target:{value:s}}=t;handleInputAnvilValueChange(s)},onClearIndicatorClick:()=>handleInputAnvilValueChange(""),renderValue:t=>{var s;let{anvilName:n="Unknown ".concat(t)}=null!==(s=U[t])&&void 0!==s?s:{};return n},value:ty}}),(0,l.jsx)(f.Z,{id:"ps-optimize-for-os",extendRenderInput:t=>{let{inputLabelProps:s={}}=t;s.isNotifyRequired=null===tB},isOptionEqualToValue:(t,s)=>t.key===s.key,label:"Optimize for OS",messageBoxProps:tz,noOptionsText:"No matching OS",onChange:(t,s)=>{tM(s)},openOnFocus:!0,options:R,renderOption:(t,s)=>(0,u.createElement)("li",{...t,key:"ps-optimize-for-os-".concat(s.key),children:[s.label," (",s.key,")"]}),value:tB})]}):(0,l.jsx)(j.Z,{}),(0,l.jsxs)(r.Z,{sx:{display:"flex",flexDirection:"column",marginTop:"1em","& > :not(:first-child)":{marginTop:"1em"}},children:[tE>0&&(0,l.jsx)(g.Z,{isAllowClose:!0,text:"Provision server job registered. You can provision another server, or exit; it won't affect the registered job."}),tQ?(0,l.jsx)(j.Z,{mt:0}):(0,l.jsx)(r.Z,{sx:{display:"flex",flexDirection:"row",justifyContent:"flex-end",width:"100%"},children:(0,l.jsx)(m.Z,{disabled:!testInput({isIgnoreOnCallbacks:!0}),onClick:()=>{tL(!0)},sx:F,children:"Provision"})})]})]}),tV&&(0,l.jsx)(I.Z,{actionProceedText:"Provision",content:(0,l.jsxs)(i.ZP,{container:!0,columns:10,direction:"column",children:[(0,l.jsx)(i.ZP,{item:!0,xs:10,children:(0,l.jsxs)(P.Ac,{children:["Server ",(0,l.jsx)(P.Q0,{text:Y})," will be created on anvil node"," ",(0,l.jsx)(P.Q0,{text:U[ty].anvilName})," ","with the following properties:"]})}),(0,l.jsxs)(i.ZP,{container:!0,direction:"row",item:!0,xs:10,children:[(0,l.jsx)(i.ZP,{item:!0,xs:2,children:(0,l.jsx)(P.Ac,{text:"CPU"})}),(0,l.jsx)(i.ZP,{item:!0,xs:5,children:(0,l.jsxs)(P.Ac,{children:[(0,l.jsx)(P.Q0,{edge:"start",children:K})," ","core(s)"]})}),(0,l.jsx)(i.ZP,{item:!0,xs:3,children:(0,l.jsxs)(P.Ac,{children:[(0,l.jsx)(P.Q0,{edge:"start",children:tt})," ","core(s) available"]})})]}),(0,l.jsxs)(i.ZP,{container:!0,direction:"row",item:!0,xs:10,children:[(0,l.jsx)(i.ZP,{item:!0,xs:2,children:(0,l.jsx)(P.Ac,{text:"Memory"})}),(0,l.jsx)(i.ZP,{item:!0,xs:5,children:(0,l.jsx)(P.Ac,{children:(0,l.jsxs)(P.Q0,{edge:"start",children:[tc," ",tf]})})}),(0,l.jsx)(i.ZP,{item:!0,xs:3,children:(0,l.jsxs)(P.Ac,{children:[(0,l.jsxs)(P.Q0,{edge:"start",children:[td," ",tf]})," ","available"]})})]}),tm.stateIds.map((t,s)=>{let n=tm.inputMaxes[s],e=tm.inputSizes[s],o=tm.inputUnits[s],u=w[tm.inputStorageGroupUUIDs[s]].storageGroupName;return(0,l.jsxs)(i.ZP,{container:!0,direction:"row",item:!0,xs:10,children:[(0,l.jsx)(i.ZP,{item:!0,xs:2,children:(0,l.jsxs)(P.Ac,{children:["Disk ",(0,l.jsx)(P.Q0,{text:s})]})}),(0,l.jsx)(i.ZP,{item:!0,xs:5,children:(0,l.jsxs)(P.Ac,{children:[(0,l.jsxs)(P.Q0,{edge:"start",children:[e," ",o]})," ","on ",(0,l.jsx)(P.Q0,{children:u})]})}),(0,l.jsx)(i.ZP,{item:!0,xs:3,children:(0,l.jsxs)(P.Ac,{children:[(0,l.jsxs)(P.Q0,{edge:"start",children:[n," ",o]})," ","available"]})})]},"ps-virtual-disk-".concat(t,"-summary"))}),(0,l.jsxs)(i.ZP,{container:!0,direction:"row",item:!0,xs:10,children:[(0,l.jsx)(i.ZP,{item:!0,xs:2,children:(0,l.jsx)(P.Ac,{text:"Install ISO"})}),(0,l.jsx)(i.ZP,{item:!0,xs:8,children:(0,l.jsx)(P.Ac,{children:(0,l.jsx)(P.Q0,{edge:"start",children:G[th].fileName})})})]}),(0,l.jsxs)(i.ZP,{container:!0,direction:"row",item:!0,xs:10,children:[(0,l.jsx)(i.ZP,{item:!0,xs:2,children:(0,l.jsx)(P.Ac,{text:"Driver ISO"})}),(0,l.jsx)(i.ZP,{item:!0,xs:8,children:(0,l.jsx)(P.Ac,{children:G[tU]?(0,l.jsx)(P.Q0,{edge:"start",children:G[tU].fileName}):"none"})})]}),(0,l.jsxs)(i.ZP,{container:!0,direction:"row",item:!0,xs:10,children:[(0,l.jsx)(i.ZP,{item:!0,xs:2,children:(0,l.jsx)(P.Ac,{text:"Optimize for OS"})}),(0,l.jsx)(i.ZP,{item:!0,xs:8,children:(0,l.jsx)(P.Ac,{children:(0,l.jsx)(P.Q0,{edge:"start",children:"".concat(null==tB?void 0:tB.label)})})})]})]}),dialogProps:{open:tV},onCancelAppend:()=>{tL(!1)},onProceedAppend:()=>{let t={serverName:Y,cpuCores:K,memory:to.toString(),virtualDisks:tm.stateIds.map((t,s)=>({storageSize:tm.sizes[s].toString(),storageGroupUUID:tm.inputStorageGroupUUIDs[s]})),installISOFileUUID:th,driverISOFileUUID:tU,anvilUUID:ty,optimizeForOS:null==tB?void 0:tB.key};tR(!0),p.Z.post("/server",t).then(()=>{tR(!1),tq(tE+1)}),tL(!1)},proceedButtonProps:{sx:F},titleText:"Provision ".concat(Y,"?")})]})}},65939:function(t,s,n){"use strict";n.d(s,{FZ:function(){return a},OU:function(){return c},Qt:function(){return p},ah:function(){return C},tf:function(){return d}});let e="[a-z0-9]",o="[a-z0-9-]",l="[0-9a-f]",u="(?:25[0-5]|(?:2[0-4]|1[0-9]|[1-9]|)[0-9])",r="(?:".concat(u,"[.]){3}").concat(u),i="".concat(l,"{8}-(?:").concat(l,"{4}-){3}").concat(l,"{12}"),a=new RegExp("^(?:".concat(e,"(?:").concat(o,"{0,61}").concat(e,")?[.])+").concat(e).concat(o,"{0,61}").concat(e,"$")),d=new RegExp("^".concat(r,"$")),C=new RegExp("^(?:".concat(r,"\\s*,\\s*)*").concat(r,"$")),c=/^[^'"/\\><}{]*$/,p=RegExp("^".concat(i,"$"),"i")},56746:function(t,s,n){"use strict";n.d(s,{Bh:function(){return format_data_size_wrappers_dsize},KY:function(){return format_data_size_wrappers_dsizeToByte},MU:function(){return format_data_size_wrappers_toBinaryByte}});var e=n(54490),format_data_size_wrappers_dsize=function(t){let{fromUnit:s,onFailure:n,onSuccess:o,precision:l,toUnit:u}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=(0,e.gO)(t,{fromUnit:s,precision:l,toUnit:u});if(r){let{value:t,unit:s}=r;try{var i,a,d;null==o||null===(i=o.bigint)||void 0===i||i.call(null,BigInt(t),s),null==o||null===(a=o.number)||void 0===a||a.call(null,parseFloat(t),s),null==o||null===(d=o.string)||void 0===d||d.call(null,t,s)}catch(e){null==n||n.call(null,e,t,s)}}else null==n||n.call(null)},format_data_size_wrappers_dsizeToByte=(t,s,n,e)=>{format_data_size_wrappers_dsize(t,{fromUnit:s,onFailure:e,onSuccess:{bigint:n},precision:0,toUnit:"B"})},format_data_size_wrappers_toBinaryByte=t=>(0,e._d)(t,{toUnit:"ibyte"})},50233:function(t,s,n){"use strict";n.d(s,{Ye:function(){return test_input_buildDomainTestBatch},_:function(){return test_input_buildIPAddressTestBatch},dg:function(){return test_input_buildIpCsvTestBatch},qY:function(){return test_input_buildNumberTestBatch},Gn:function(){return test_input_buildPeacefulStringTestBatch},$e:function(){return test_input_buildUUIDTestBatch},LT:function(){return test_input_createTestInputFunction},BD:function(){return test_input_testInput},X7:function(){return test_input_testMax},HJ:function(){return test_input_testNotBlank},SQ:function(){return test_input_testRange}});var e=n(85893),o=n(65939),test_input_testNotBlank=t=>{let{value:s}=t;return!!s&&String(s).length>0},l=n(84154),test_input_buildDomainTestBatch=function(t,s){let{isRequired:n,onFinishBatch:u,...r}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=arguments.length>3?arguments[3]:void 0;return{defaults:{...r,onSuccess:s},isRequired:n,onFinishBatch:u,tests:[{test:test_input_testNotBlank},{onFailure:function(){for(var s=arguments.length,n=Array(s),o=0;o<s;o++)n[o]=arguments[o];i((0,e.jsxs)(e.Fragment,{children:[t," can only contain lowercase alphanumeric, hyphen (",(0,e.jsx)(l.Q0,{inheritColour:!0,text:"-"}),"), and dot (",(0,e.jsx)(l.Q0,{inheritColour:!0,text:"."}),") characters."]}),...n)},test:t=>{let{compare:s,value:n}=t;return s[0]||o.FZ.test(n)}}]}},test_input_buildIPAddressTestBatch=function(t,s){let{isRequired:n,onFinishBatch:l,...u}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3?arguments[3]:void 0;return{defaults:{...u,onSuccess:s},isRequired:n,onFinishBatch:l,tests:[{test:test_input_testNotBlank},{onFailure:function(){for(var s=arguments.length,n=Array(s),o=0;o<s;o++)n[o]=arguments[o];r((0,e.jsxs)(e.Fragment,{children:[t," should be a valid IPv4 address."]}),...n)},test:t=>{let{value:s}=t;return o.tf.test(s)}}]}},test_input_buildIpCsvTestBatch=function(t,s){let{isRequired:n,onFinishBatch:l,...u}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3?arguments[3]:void 0;return{defaults:{...u,onSuccess:s},isRequired:n,onFinishBatch:l,tests:[{test:test_input_testNotBlank},{onFailure:function(){for(var s=arguments.length,n=Array(s),o=0;o<s;o++)n[o]=arguments[o];r((0,e.jsxs)(e.Fragment,{children:[t," must be one or more valid IPv4 addresses separated by comma(s); without trailing comma."]}),...n)},test:t=>{let{value:s}=t;return o.ah.test(s)}}]}},test_input_testRange=t=>{let{max:s,min:n,value:e}=t;return!!e&&e>=n&&e<=s},lib_toNumber=function(t){let s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"parseInt";return"number"==typeof t?t:Number[s](String(t))},test_input_buildNumberTestBatch=function(t,s){let{isRequired:n,onFinishBatch:o,...l}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},u=arguments.length>3?arguments[3]:void 0,r=arguments.length>4?arguments[4]:void 0,i=arguments.length>5?arguments[5]:void 0,a=[];return u?a.push({onFailure:function(){for(var s=arguments.length,n=Array(s),o=0;o<s;o++)n[o]=arguments[o];u((0,e.jsxs)(e.Fragment,{children:[t," must be a valid integer."]}),...n)},test:t=>{let{value:s}=t;return Number.isSafeInteger(lib_toNumber(s))}}):r&&a.push({onFailure:function(){for(var s=arguments.length,n=Array(s),o=0;o<s;o++)n[o]=arguments[o];r((0,e.jsxs)(e.Fragment,{children:[t," must be a valid floating-point number."]}),...n)},test:t=>{let{value:s}=t;return Number.isFinite(lib_toNumber(s,"parseFloat"))}}),i&&a.push({onFailure:function(){for(var s=arguments.length,n=Array(s),o=0;o<s;o++)n[o]=arguments[o];let{displayMax:l,displayMin:u}=n[0];i((0,e.jsxs)(e.Fragment,{children:[t," is expected to be between ",u," and ",l,"."]}),...n)},test:test_input_testRange}),{defaults:{...l,onSuccess:s},isRequired:n,onFinishBatch:o,tests:a}},test_input_buildPeacefulStringTestBatch=function(t,s){let{isRequired:n,onFinishBatch:u,...r}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=arguments.length>3?arguments[3]:void 0;return{defaults:{...r,onSuccess:s},isRequired:n,onFinishBatch:u,tests:[{test:test_input_testNotBlank},{onFailure:function(){for(var s=arguments.length,n=Array(s),o=0;o<s;o++)n[o]=arguments[o];i((0,e.jsxs)(e.Fragment,{children:[t," cannot contain single-quote (",(0,e.jsx)(l.Q0,{inheritColour:!0,text:"'"}),"), double-quote (",(0,e.jsx)(l.Q0,{inheritColour:!0,text:'"'}),"), slash (",(0,e.jsx)(l.Q0,{inheritColour:!0,text:"/"}),"), backslash (",(0,e.jsx)(l.Q0,{inheritColour:!0,text:"\\"}),"), angle brackets (",(0,e.jsx)(l.Q0,{inheritColour:!0,text:"<>"}),"), curly brackets (",(0,e.jsx)(l.Q0,{inheritColour:!0,text:"{}"}),")."]}),...n)},test:t=>{let{value:s}=t;return o.OU.test(s)}}]}},test_input_buildUUIDTestBatch=function(t,s){let{isRequired:n,onFinishBatch:l,...u}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3?arguments[3]:void 0;return{defaults:{...u,onSuccess:s},isRequired:n,onFinishBatch:l,tests:[{test:test_input_testNotBlank},{onFailure:function(){for(var s=arguments.length,n=Array(s),o=0;o<s;o++)n[o]=arguments[o];r((0,e.jsxs)(e.Fragment,{children:[t," must be a valid UUID."]}),...n)},test:t=>{let{value:s}=t;return o.Qt.test(s)}}]}};let cbEmptySetter=()=>({}),cbSetter=t=>{let{onFailure:s,onSuccess:n}=t;return{cbFailure:s,cbSuccess:n}},evalIsIgnoreOnCallbacks=t=>{let{isIgnoreOnCallbacks:s,onFinishBatch:n}=t;return s?{setTestCallbacks:cbEmptySetter}:{cbFinishBatch:n,setTestCallbacks:cbSetter}},nullishSet=(t,s)=>null!=t?t:s,orSet=(t,s)=>t||s;var test_input_testInput=function(){let{excludeTestIds:t=[],excludeTestIdsRe:s,inputs:n={},isContinueOnFailure:e,isIgnoreOnCallbacks:o,isTestAll:l=0===Object.keys(n).length,tests:u={}}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=[...t],i={},a=!0;return l&&Object.keys(u).forEach(t=>{i[t]={}}),i={...i,...n},s&&Object.keys(i).forEach(t=>{s.test(t)&&r.push(t)}),r.forEach(t=>{delete i[t]}),Object.keys(i).every(t=>{let{defaults:{compare:s=[],displayMax:n,displayMin:l,getCompare:r,getValue:d,isIgnoreOnCallbacks:C=o,max:c=0,min:p=0,onSuccess:f,value:I=null}={},isRequired:m=!1,onFinishBatch:v,optionalTests:h,tests:g}=u[t],{getCompare:x=r,getValue:S=d,isIgnoreOnCallbacks:U=C,max:b=c,min:D=p,compare:y=nullishSet(null==x?void 0:x.call(null),s),value:j=nullishSet(null==S?void 0:S.call(null),I),displayMax:_=orSet(n,String(b)),displayMin:P=orSet(l,String(D))}=i[t],{cbFinishBatch:B,setTestCallbacks:M}=evalIsIgnoreOnCallbacks({isIgnoreOnCallbacks:U,onFinishBatch:v});if(!j&&!m)return null==B||B.call(null,!0,t),!0;let runTest=t=>{let{onFailure:s,onSuccess:n=f,test:e}=t,o={},l=e({append:o,compare:y,max:b,min:D,value:j}),{cbFailure:u,cbSuccess:r}=M({onFailure:s,onSuccess:n});return l?null==r||r.call(null,{append:o}):(a=l,null==u||u.call(null,{append:o,compare:y,displayMax:_,displayMin:P,max:b,min:D,value:j})),l};null==h||h.forEach(runTest);let z=g.every(runTest);return null==B||B.call(null,z,t),z||e}),a},test_input_createTestInputFunction=function(t){let{excludeTestIds:s=[],...n}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(){let{excludeTestIds:e=[],...o}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return test_input_testInput({tests:t,excludeTestIds:[...s,...e],...n,...o})}},test_input_testMax=t=>{let{max:s,min:n}=t;return s>=n}}}]);