Linux ip-172-26-2-223 5.4.0-1018-aws #18-Ubuntu SMP Wed Jun 24 01:15:00 UTC 2020 x86_64
Apache
: 172.26.2.223 | : 18.226.82.161
Cant Read [ /etc/named.conf ]
8.1.13
www
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
BLACK DEFEND!
README
+ Create Folder
+ Create File
/
snap /
lxd /
33246 /
share /
lxd-ui /
assets /
[ HOME SHELL ]
Name
Size
Permission
Action
font
[ DIR ]
drwxr-xr-x
img
[ DIR ]
drwxr-xr-x
js
[ DIR ]
drwxr-xr-x
scripts
[ DIR ]
drwxr-xr-x
AutoExpandingTextArea-BXFyAEiG...
151
B
-rw-r--r--
BaseLayout-CiF2D8RH.js
280
B
-rw-r--r--
BulkDeleteButton-B-fvVwh0.js
1.08
KB
-rw-r--r--
CancelOperationBtn-BW2TAzI_.js
1.08
KB
-rw-r--r--
CertificateAdd-BGVwf-VB.js
2.84
KB
-rw-r--r--
CertificateGenerate-bNGS6BFl.j...
9.87
KB
-rw-r--r--
ClusterGroupForm-BiXmM-NU.js
3.25
KB
-rw-r--r--
ClusterList-CZFDB46f.js
5.17
KB
-rw-r--r--
ClusterMemberSelector-B2lzDpCI...
3.71
KB
-rw-r--r--
ClusterSpecificInput-BdiLVA9B....
1.97
KB
-rw-r--r--
ClusterSpecificSelect-DrKUzNev...
2.2
KB
-rw-r--r--
ConfigFieldDescription-BnRkdbo...
335
B
-rw-r--r--
CreateClusterGroup-C6s3qbZf.js
463
B
-rw-r--r--
CreateInstance-BXX4Xa4W.js
27.97
KB
-rw-r--r--
CreateInstanceFromImageBtn-BiE...
527
B
-rw-r--r--
CreateNetwork-BQw2A27w.js
2.88
KB
-rw-r--r--
CreateNetworkForward-BgZF8duA....
1.71
KB
-rw-r--r--
CreateProfile-CCJYKSCK.js
4.04
KB
-rw-r--r--
CreateProject-DTBqJzUb.js
2.83
KB
-rw-r--r--
CreateStoragePool-CuOutvs3.js
2.46
KB
-rw-r--r--
CreateStorageVolume-B0HvyGnH.j...
2.47
KB
-rw-r--r--
CustomIsoList-CQVv4whx.js
5.48
KB
-rw-r--r--
DeleteStoragePoolBtn-BeXLuEnA....
1.62
KB
-rw-r--r--
DeleteStorageVolumeBtn-DIIVYGa...
1.88
KB
-rw-r--r--
DiskSizeSelector-IT5APek6.js
1010
B
-rw-r--r--
EditClusterGroup-DiNIL0Lx.js
761
B
-rw-r--r--
EditNetworkForward-DtcWepYC.js
1.99
KB
-rw-r--r--
ExpandableList-EDeaeb6c.js
323
B
-rw-r--r--
FormEditButton-Cs2eW7Js.js
278
B
-rw-r--r--
FormFooterLayout-B3kcadYt.js
738
B
-rw-r--r--
FormLink-BaU-zsbe.js
879
B
-rw-r--r--
FormMenuItem-ChXfQsFA.js
2.23
MB
-rw-r--r--
FormMenuItem-DyX1CsEw.css
66.66
KB
-rw-r--r--
GroupOrIdentityChangesTable-DQ...
5.11
KB
-rw-r--r--
GroupSelectionActions-Dq47oQd-...
3.18
KB
-rw-r--r--
HelpLink-4LTOsqZO.js
294
B
-rw-r--r--
ImageList-yKBGTFZU.js
11.7
KB
-rw-r--r--
InstanceDetail-BV9hr65t.js
481.49
KB
-rw-r--r--
InstanceDetail-Beg8tuEN.css
3.88
KB
-rw-r--r--
InstanceLinkChip-DfVC8U01.js
4.24
KB
-rw-r--r--
InstanceList-CTEYE5e7.js
24.67
KB
-rw-r--r--
ItemName-DSOx0T0r.js
185
B
-rw-r--r--
Login-CsUYa7ns.js
1.41
KB
-rw-r--r--
Meter-BsdJ73XW.js
487
B
-rw-r--r--
NetworkDetail-RgSS_6Vw.js
12.8
KB
-rw-r--r--
NetworkForwardForm-C18aehvo.js
6.49
KB
-rw-r--r--
NetworkList-B4gWmGGm.js
6.32
KB
-rw-r--r--
NetworkListTable-Ba2LzF-J.js
3.31
KB
-rw-r--r--
NotificationRow-CotZPNAQ.js
157
B
-rw-r--r--
OperationList-D4--05cO.js
3.35
KB
-rw-r--r--
PageHeader-CExPjRLH.js
549
B
-rw-r--r--
PermissionGroups-CkGxgQmn.js
30.89
KB
-rw-r--r--
PermissionIdentities-DDmb7V-C....
12.93
KB
-rw-r--r--
PermissionIdpGroups-yggiVbcG.j...
13.38
KB
-rw-r--r--
ProfileDetail-CQHhNWwW.js
10.94
KB
-rw-r--r--
ProfileDetailsForm-C-rMcUGO.js
2.45
KB
-rw-r--r--
ProfileInstances-DeravO8Q.js
1.46
KB
-rw-r--r--
ProfileList-C7yC3g6E.js
7.11
KB
-rw-r--r--
ProgressBar-CQ2HKUqQ.js
170
B
-rw-r--r--
ProjectConfiguration-rKP8dZtz....
9.04
KB
-rw-r--r--
ProjectForm-GhClr0iv.js
15.12
KB
-rw-r--r--
ProtectedRoute-DYKGChU3.js
214
B
-rw-r--r--
ProxyDeviceForm-B5UDgi1V.js
38.9
KB
-rw-r--r--
RenameHeader-fmgiouA6.js
13.29
KB
-rw-r--r--
ResourceIcon-DZQOrBLA.js
532
B
-rw-r--r--
ResourceLabel-PzB_6v5p.js
317
B
-rw-r--r--
ResourceLink-CS7mH0C3.js
302
B
-rw-r--r--
ScrollableContainer-MJpEXCww.j...
646
B
-rw-r--r--
ScrollableTable-DWT33Lms.js
561
B
-rw-r--r--
SelectableMainTable-C8l8QdDe.j...
2.21
KB
-rw-r--r--
SelectedTableNotification-2DZb...
974
B
-rw-r--r--
Settings-BYi8qROs.js
9.75
KB
-rw-r--r--
SidePanel-DNeaRMst.js
2.84
KB
-rw-r--r--
SnapshotForm-DF9sGEzn.js
1.49
KB
-rw-r--r--
StoragePoolDetail-DT58PBIr.js
6.45
KB
-rw-r--r--
StoragePoolForm-Z62B6Fuh.js
17.07
KB
-rw-r--r--
StoragePoolSelectTable-CXuxJSN...
1.61
KB
-rw-r--r--
StoragePoolSelector-DEvMjaMu.j...
1.48
KB
-rw-r--r--
StoragePoolSize-DyBNKBKy.js
467
B
-rw-r--r--
StoragePools-DK0Gkjq9.js
3.99
KB
-rw-r--r--
StorageUsedBy-sdKGRlgM.js
2.12
KB
-rw-r--r--
StorageVolumeDetail-fQzbPWNW.j...
24.87
KB
-rw-r--r--
StorageVolumeForm-ZPfwK39D.js
8.42
KB
-rw-r--r--
StorageVolumes-DPotlIN6.js
7.26
KB
-rw-r--r--
StorageVolumesFilter-B7pR3OeF....
1.01
KB
-rw-r--r--
TabLinks-BIG_Rdvk.js
360
B
-rw-r--r--
UploadCustomIso-DG12FhN0.js
2.83
KB
-rw-r--r--
UsedByItem-VHA3kVFG.js
945
B
-rw-r--r--
VolumeAddSnapshotBtn-8Qz9xFE-....
4.87
KB
-rw-r--r--
WarningList-DZNTQSpg.js
1.99
KB
-rw-r--r--
YamlNotification-BnmI52ws.js
634
B
-rw-r--r--
YamlSwitch-BXLuxWUh.js
40.62
KB
-rw-r--r--
certificate-kcThcTS9.js
279.99
KB
-rw-r--r--
clusterGroups-BWQNdGSD.js
3.63
KB
-rw-r--r--
images-Du2fhDUO.js
1.22
KB
-rw-r--r--
index-BeIaaTgz.css
661.94
KB
-rw-r--r--
index-BkTFFYvy.js
690.52
KB
-rw-r--r--
index-DW_MHI2K.js
34.19
KB
-rw-r--r--
index.esm-auJ3G_FM.js
38.36
KB
-rw-r--r--
instanceDelete-Bn3xn_NE.js
12.2
KB
-rw-r--r--
instanceOptions-BuFjjn-P.js
1.19
KB
-rw-r--r--
network-forwards-B-h1Yzp9.js
856
B
-rw-r--r--
operations-DIvBacJG.js
757
B
-rw-r--r--
projects-CvA2zMPN.js
789
B
-rw-r--r--
scroll-DPmbgfny.js
26.97
KB
-rw-r--r--
searchAndFilter-DtC_P-vv.js
361
B
-rw-r--r--
snapshots-CEDJtMaf.js
670
B
-rw-r--r--
storage-volumes-tfXkh9eB.js
2.46
KB
-rw-r--r--
useGroups-CCX3qCzO.js
2.91
KB
-rw-r--r--
useImages-LgCYWVgs.js
1.64
KB
-rw-r--r--
useNetworks-D3nHf8AE.js
3.63
KB
-rw-r--r--
useSmallScreen-BvsjT919.js
169
B
-rw-r--r--
useSortTableData-BoXaK1oA.js
393
B
-rw-r--r--
useVolumes-BvpfNVaA.js
1.27
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : RenameHeader-fmgiouA6.js
import{bK as ue,bL as wn,aN as Cn,j as y,d as W,a5 as On,y as Sn}from"./index-BkTFFYvy.js";var V={exports:{}};V.exports;var We;function jn(){return We||(We=1,function(a,o){var g=200,u="__lodash_hash_undefined__",f=1,x=2,L=9007199254740991,s="[object Arguments]",b="[object Array]",E="[object AsyncFunction]",I="[object Boolean]",G="[object Date]",X="[object Error]",ve="[object Function]",Xe="[object GeneratorFunction]",Y="[object Map]",ye="[object Number]",Ye="[object Null]",U="[object Object]",be="[object Promise]",Ze="[object Proxy]",Te="[object RegExp]",Z="[object Set]",xe="[object String]",Qe="[object Symbol]",ke="[object Undefined]",le="[object WeakMap]",me="[object ArrayBuffer]",Q="[object DataView]",et="[object Float32Array]",tt="[object Float64Array]",nt="[object Int8Array]",rt="[object Int16Array]",at="[object Int32Array]",it="[object Uint8Array]",st="[object Uint8ClampedArray]",ut="[object Uint16Array]",lt="[object Uint32Array]",ct=/[\\^$.*+?()[\]{}|]/g,ot=/^\[object .+?Constructor\]$/,ft=/^(?:0|[1-9]\d*)$/,l={};l[et]=l[tt]=l[nt]=l[rt]=l[at]=l[it]=l[st]=l[ut]=l[lt]=!0,l[s]=l[b]=l[me]=l[I]=l[Q]=l[G]=l[X]=l[ve]=l[Y]=l[ye]=l[U]=l[Te]=l[Z]=l[xe]=l[le]=!1;var Ae=typeof ue=="object"&&ue&&ue.Object===Object&&ue,dt=typeof self=="object"&&self&&self.Object===Object&&self,O=Ae||dt||Function("return this")(),we=o&&!o.nodeType&&o,Ce=we&&!0&&a&&!a.nodeType&&a,Oe=Ce&&Ce.exports===we,ce=Oe&&Ae.process,Se=function(){try{return ce&&ce.binding&&ce.binding("util")}catch{}}(),je=Se&&Se.isTypedArray;function pt(e,t){for(var n=-1,r=e==null?0:e.length,c=0,i=[];++n<r;){var p=e[n];t(p,n,e)&&(i[c++]=p)}return i}function gt(e,t){for(var n=-1,r=t.length,c=e.length;++n<r;)e[c+n]=t[n];return e}function ht(e,t){for(var n=-1,r=e==null?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}function _t(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}function vt(e){return function(t){return e(t)}}function yt(e,t){return e.has(t)}function bt(e,t){return e==null?void 0:e[t]}function Tt(e){var t=-1,n=Array(e.size);return e.forEach(function(r,c){n[++t]=[c,r]}),n}function xt(e,t){return function(n){return e(t(n))}}function mt(e){var t=-1,n=Array(e.size);return e.forEach(function(r){n[++t]=r}),n}var At=Array.prototype,wt=Function.prototype,k=Object.prototype,oe=O["__core-js_shared__"],Ee=wt.toString,C=k.hasOwnProperty,Ie=function(){var e=/[^.]+$/.exec(oe&&oe.keys&&oe.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),Pe=k.toString,Ct=RegExp("^"+Ee.call(C).replace(ct,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Re=Oe?O.Buffer:void 0,ee=O.Symbol,Ne=O.Uint8Array,Le=k.propertyIsEnumerable,Ot=At.splice,F=ee?ee.toStringTag:void 0,Fe=Object.getOwnPropertySymbols,St=Re?Re.isBuffer:void 0,jt=xt(Object.keys,Object),fe=H(O,"DataView"),$=H(O,"Map"),de=H(O,"Promise"),pe=H(O,"Set"),ge=H(O,"WeakMap"),q=H(Object,"create"),Et=B(fe),It=B($),Pt=B(de),Rt=B(pe),Nt=B(ge),De=ee?ee.prototype:void 0,he=De?De.valueOf:void 0;function D(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Lt(){this.__data__=q?q(null):{},this.size=0}function Ft(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}function Dt(e){var t=this.__data__;if(q){var n=t[e];return n===u?void 0:n}return C.call(t,e)?t[e]:void 0}function zt(e){var t=this.__data__;return q?t[e]!==void 0:C.call(t,e)}function Bt(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=q&&t===void 0?u:t,this}D.prototype.clear=Lt,D.prototype.delete=Ft,D.prototype.get=Dt,D.prototype.has=zt,D.prototype.set=Bt;function S(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Mt(){this.__data__=[],this.size=0}function Gt(e){var t=this.__data__,n=ne(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():Ot.call(t,n,1),--this.size,!0}function Ut(e){var t=this.__data__,n=ne(t,e);return n<0?void 0:t[n][1]}function Ht(e){return ne(this.__data__,e)>-1}function $t(e,t){var n=this.__data__,r=ne(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}S.prototype.clear=Mt,S.prototype.delete=Gt,S.prototype.get=Ut,S.prototype.has=Ht,S.prototype.set=$t;function z(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function qt(){this.size=0,this.__data__={hash:new D,map:new($||S),string:new D}}function Kt(e){var t=re(this,e).delete(e);return this.size-=t?1:0,t}function Jt(e){return re(this,e).get(e)}function Wt(e){return re(this,e).has(e)}function Vt(e,t){var n=re(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}z.prototype.clear=qt,z.prototype.delete=Kt,z.prototype.get=Jt,z.prototype.has=Wt,z.prototype.set=Vt;function te(e){var t=-1,n=e==null?0:e.length;for(this.__data__=new z;++t<n;)this.add(e[t])}function Xt(e){return this.__data__.set(e,u),this}function Yt(e){return this.__data__.has(e)}te.prototype.add=te.prototype.push=Xt,te.prototype.has=Yt;function P(e){var t=this.__data__=new S(e);this.size=t.size}function Zt(){this.__data__=new S,this.size=0}function Qt(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}function kt(e){return this.__data__.get(e)}function en(e){return this.__data__.has(e)}function tn(e,t){var n=this.__data__;if(n instanceof S){var r=n.__data__;if(!$||r.length<g-1)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new z(r)}return n.set(e,t),this.size=n.size,this}P.prototype.clear=Zt,P.prototype.delete=Qt,P.prototype.get=kt,P.prototype.has=en,P.prototype.set=tn;function nn(e,t){var n=ae(e),r=!n&&yn(e),c=!n&&!r&&_e(e),i=!n&&!r&&!c&&Ke(e),p=n||r||c||i,h=p?_t(e.length,String):[],_=h.length;for(var d in e)C.call(e,d)&&!(p&&(d=="length"||c&&(d=="offset"||d=="parent")||i&&(d=="buffer"||d=="byteLength"||d=="byteOffset")||pn(d,_)))&&h.push(d);return h}function ne(e,t){for(var n=e.length;n--;)if(Ue(e[n][0],t))return n;return-1}function rn(e,t,n){var r=t(e);return ae(e)?r:gt(r,n(e))}function K(e){return e==null?e===void 0?ke:Ye:F&&F in Object(e)?fn(e):vn(e)}function ze(e){return J(e)&&K(e)==s}function Be(e,t,n,r,c){return e===t?!0:e==null||t==null||!J(e)&&!J(t)?e!==e&&t!==t:an(e,t,n,r,Be,c)}function an(e,t,n,r,c,i){var p=ae(e),h=ae(t),_=p?b:R(e),d=h?b:R(t);_=_==s?U:_,d=d==s?U:d;var T=_==U,w=d==U,v=_==d;if(v&&_e(e)){if(!_e(t))return!1;p=!0,T=!1}if(v&&!T)return i||(i=new P),p||Ke(e)?Me(e,t,n,r,c,i):cn(e,t,_,n,r,c,i);if(!(n&f)){var m=T&&C.call(e,"__wrapped__"),A=w&&C.call(t,"__wrapped__");if(m||A){var N=m?e.value():e,j=A?t.value():t;return i||(i=new P),c(N,j,n,r,i)}}return v?(i||(i=new P),on(e,t,n,r,c,i)):!1}function sn(e){if(!qe(e)||hn(e))return!1;var t=He(e)?Ct:ot;return t.test(B(e))}function un(e){return J(e)&&$e(e.length)&&!!l[K(e)]}function ln(e){if(!_n(e))return jt(e);var t=[];for(var n in Object(e))C.call(e,n)&&n!="constructor"&&t.push(n);return t}function Me(e,t,n,r,c,i){var p=n&f,h=e.length,_=t.length;if(h!=_&&!(p&&_>h))return!1;var d=i.get(e);if(d&&i.get(t))return d==t;var T=-1,w=!0,v=n&x?new te:void 0;for(i.set(e,t),i.set(t,e);++T<h;){var m=e[T],A=t[T];if(r)var N=p?r(A,m,T,t,e,i):r(m,A,T,e,t,i);if(N!==void 0){if(N)continue;w=!1;break}if(v){if(!ht(t,function(j,M){if(!yt(v,M)&&(m===j||c(m,j,n,r,i)))return v.push(M)})){w=!1;break}}else if(!(m===A||c(m,A,n,r,i))){w=!1;break}}return i.delete(e),i.delete(t),w}function cn(e,t,n,r,c,i,p){switch(n){case Q:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case me:return!(e.byteLength!=t.byteLength||!i(new Ne(e),new Ne(t)));case I:case G:case ye:return Ue(+e,+t);case X:return e.name==t.name&&e.message==t.message;case Te:case xe:return e==t+"";case Y:var h=Tt;case Z:var _=r&f;if(h||(h=mt),e.size!=t.size&&!_)return!1;var d=p.get(e);if(d)return d==t;r|=x,p.set(e,t);var T=Me(h(e),h(t),r,c,i,p);return p.delete(e),T;case Qe:if(he)return he.call(e)==he.call(t)}return!1}function on(e,t,n,r,c,i){var p=n&f,h=Ge(e),_=h.length,d=Ge(t),T=d.length;if(_!=T&&!p)return!1;for(var w=_;w--;){var v=h[w];if(!(p?v in t:C.call(t,v)))return!1}var m=i.get(e);if(m&&i.get(t))return m==t;var A=!0;i.set(e,t),i.set(t,e);for(var N=p;++w<_;){v=h[w];var j=e[v],M=t[v];if(r)var Je=p?r(M,j,v,t,e,i):r(j,M,v,e,t,i);if(!(Je===void 0?j===M||c(j,M,n,r,i):Je)){A=!1;break}N||(N=v=="constructor")}if(A&&!N){var ie=e.constructor,se=t.constructor;ie!=se&&"constructor"in e&&"constructor"in t&&!(typeof ie=="function"&&ie instanceof ie&&typeof se=="function"&&se instanceof se)&&(A=!1)}return i.delete(e),i.delete(t),A}function Ge(e){return rn(e,xn,dn)}function re(e,t){var n=e.__data__;return gn(t)?n[typeof t=="string"?"string":"hash"]:n.map}function H(e,t){var n=bt(e,t);return sn(n)?n:void 0}function fn(e){var t=C.call(e,F),n=e[F];try{e[F]=void 0;var r=!0}catch{}var c=Pe.call(e);return r&&(t?e[F]=n:delete e[F]),c}var dn=Fe?function(e){return e==null?[]:(e=Object(e),pt(Fe(e),function(t){return Le.call(e,t)}))}:mn,R=K;(fe&&R(new fe(new ArrayBuffer(1)))!=Q||$&&R(new $)!=Y||de&&R(de.resolve())!=be||pe&&R(new pe)!=Z||ge&&R(new ge)!=le)&&(R=function(e){var t=K(e),n=t==U?e.constructor:void 0,r=n?B(n):"";if(r)switch(r){case Et:return Q;case It:return Y;case Pt:return be;case Rt:return Z;case Nt:return le}return t});function pn(e,t){return t=t??L,!!t&&(typeof e=="number"||ft.test(e))&&e>-1&&e%1==0&&e<t}function gn(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function hn(e){return!!Ie&&Ie in e}function _n(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||k;return e===n}function vn(e){return Pe.call(e)}function B(e){if(e!=null){try{return Ee.call(e)}catch{}try{return e+""}catch{}}return""}function Ue(e,t){return e===t||e!==e&&t!==t}var yn=ze(function(){return arguments}())?ze:function(e){return J(e)&&C.call(e,"callee")&&!Le.call(e,"callee")},ae=Array.isArray;function bn(e){return e!=null&&$e(e.length)&&!He(e)}var _e=St||An;function Tn(e,t){return Be(e,t)}function He(e){if(!qe(e))return!1;var t=K(e);return t==ve||t==Xe||t==E||t==Ze}function $e(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=L}function qe(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}function J(e){return e!=null&&typeof e=="object"}var Ke=je?vt(je):un;function xn(e){return bn(e)?nn(e):ln(e)}function mn(){return[]}function An(){return!1}a.exports=Tn}(V,V.exports)),V.exports}var En=jn();const In=wn(En),Pn=a=>{let o=0;const g=new Set(["readOnly","profiles","limits_cpu","limits_memory","devices","barePool","editRestriction"]);for(const u in a.values){if(g.has(u))continue;const f=u;In(a.values[f],a.initialValues[f])||o++}for(const u in a.initialValues){if(g.has(u)||Object.hasOwn(a.values,u))continue;const f=u;a.values[f]!==a.initialValues[f]&&o++}return o},Rn=a=>{if(!Object.hasOwn(a.values,"profiles"))return 0;const o=a.initialValues.profiles,g=a.values.profiles;let u=Math.abs(g.length-o.length);return o.forEach((f,x)=>{g.length>x&&f!==g[x]&&u++}),u},Ve=a=>JSON.stringify(a,Object.keys(a??{}).sort()),Nn=a=>{let o=0;return["limits_cpu","limits_memory"].forEach(g=>{const u=g,f=a.initialValues[u];if(!Object.hasOwn(a.values,g)){o+=f?1:0;return}const x=a.values[u];Ve(f)!==Ve(x)&&o++}),o},Ln=(a,o)=>{let g=0;for(const u in a){const f=u;Cn(a)&&!["size","pool"].includes(f)||JSON.stringify(a[f])!==JSON.stringify(o[f])&&g++}return g},Fn=a=>{let o=0;if(!Object.hasOwn(a.values,"devices"))return 0;const g=a.initialValues.devices,u=a.values.devices,f=g.map(b=>b.name),x=u.map(b=>b.name);let L=0,s=0;return f.forEach((b,E)=>{const I=x.indexOf(b);I===-1?s++:o+=Ln(g[E],u[I])}),x.forEach(b=>{f.indexOf(b)===-1&&L++}),L+s+o},Dn=a=>Pn(a)+Rn(a)+Nn(a)+Fn(a),Bn=({formik:a,disabled:o,isYaml:g=!1})=>{const u=Dn(a);return y.jsx(W.ActionButton,{appearance:"positive",loading:a.isSubmitting,disabled:!a.isValid||o||u===0,onClick:()=>void a.submitForm(),children:u===0||g?"Save changes":`Save ${u} ${On("change",u)}`})},Mn=({name:a,relatedChip:o,titleClassName:g,parentItems:u,centerControls:f,controls:x,isLoaded:L,formik:s,renameDisabledReason:b})=>{const E=b===void 0,I=()=>{setTimeout(()=>window.dispatchEvent(new Event("resize")),10),!(!E||!s)&&s.setValues({...s.values,name:a,isRenaming:!s.values.isRenaming})};return y.jsxs("div",{className:"p-panel__header rename-header",children:[y.jsx("h1",{className:"u-off-screen",children:a}),y.jsxs("div",{className:Sn("p-panel__title",g),children:[y.jsxs("nav",{className:"p-breadcrumbs p-breadcrumbs--large","aria-label":"Breadcrumbs",children:[y.jsxs("ol",{className:"p-breadcrumbs__items",style:{display:"inline-block"},children:[u.map((G,X)=>y.jsx("li",{className:"p-heading--4 u-no-margin--bottom continuous-breadcrumb",children:G},X)),s!=null&&s.values.isRenaming?y.jsxs("li",{className:"p-breadcrumbs__item rename",children:[y.jsx(W.Input,{autoFocus:!0,id:"name",name:"name",className:"name-input",onBlur:s.handleBlur,onChange:s.handleChange,value:s.values.name,error:s.touched.name?s.errors.name:null,onKeyUp:G=>G.key==="Enter"&&void s.submitForm(),type:"text"}),y.jsxs("div",{children:[y.jsx(W.Button,{appearance:"base",className:"cancel",onClick:I,children:"Cancel"}),y.jsx(W.ActionButton,{appearance:"positive",loading:s.isSubmitting,disabled:!s.isValid||a===s.values.name,onClick:()=>void s.submitForm(),children:"Save"})]})]}):y.jsx("li",{className:"p-heading--4 u-no-margin--bottom name continuous-breadcrumb u-truncate",onClick:I,title:E?`Rename ${a}`:"",children:y.jsx(W.Tooltip,{message:!E&&b,position:"btm-left",children:a})})]}),o&&y.jsx("span",{style:{marginLeft:"-1rem"},children:o})]},"breadcrumbs"),!(s!=null&&s.values.isRenaming)&&f]}),L&&!(s!=null&&s.values.isRenaming)&&y.jsx("div",{className:"p-panel__controls",children:x})]})};export{Bn as F,Mn as R};
Close