1(self.webpackChunk=self.webpackChunk||[]).push([[29],{59651:function(O,f,t){"use strict";t.r(f);var v=t(5574),n=t.n(v),h=t(67294),P=t(11768),g=t(96931),j=t(26303),F=t(44235),s=t(5121),i=t(82188),l=t(38703),d=t(40411),a=t(26412),T=t(83062),e=t(85893);f.default=function(){var y=P.ZP.load("TOKEN"),E=P.ZP.load("appData"),p=(0,F.oN)(E,g.y.KeyCookie),_=JSON.parse(p),c=_.userid,m=_.username,o=(0,j.NU)(m),D=(0,h.useState)({}),x=n()(D,2),A=x[0],B=x[1],R=(0,h.useState)({}),U=n()(R,2),C=U[0],k=U[1],K=(0,h.useState)({}),S=n()(K,2),b=S[0],W=S[1],N=(0,h.useState)({}),I=n()(N,2),u=I[0],Z=I[1],J=(0,h.useState)(""),L=n()(J,2),z=L[0],V=L[1];(0,h.useEffect)(function(){o.then(function(r){B(r),k(r.monitordata)});var M=g.y.http_api+"getlisenceinfo";try{(0,s.Z)({url:M,method:"get",headers:{"Content-Type":"application/json",AuthToken:y,dycode:new Date().getTime()-0xeb2eb63eb5}}).then(function(r){r&&r.status==200&&(W(r.data),Z(r.data.Lisence_info))}).catch(function(r){console.log("error",r),r.response.status==302&&i.m8.push("/login")})}catch(r){console.error("Error fetching data",r)}(0,s.Z)({url:"https://data.bind-webadmin.com/getbounce",method:"get",headers:{"Content-Type":"application/json"}}).then(function(r){r&&r.status==200?(console.log("Data submitted successfully"),r.data.info!="no"&&V(r.data.info)):console.log("Failed to submit data")})},[]);var G=[{key:"0",label:"\u8F6F\u4EF6\u7248\u672C",children:A.ver},{key:"1",label:"\u64CD\u4F5C\u7CFB\u7EDF",children:C.hostos},{key:"2",label:"BootTime",children:C.boottime},{key:"3",label:"Uptime",children:C.hostUptime},{key:"4",label:"CPU uage",children:(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(l.Z,{type:"dashboard",percent:C.cpu,size:180,format:function(r){return(0,e.jsx)(e.Fragment,{children:(0,e.jsxs)("div",{style:{fontSize:"20px"},children:["CPU Uage",(0,e.jsx)("br",{}),"".concat(r,"%")]})})},strokeWidth:10,gapDegree:80,strokeColor:{"0%":"green","50%":"yellow","100%":"red"},status:"exception",gapPosition:"bottom"})})},{key:"5",label:"Mem uage",children:(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(l.Z,{type:"dashboard",percent:C.mem,size:180,format:function(r){return(0,e.jsx)(e.Fragment,{children:(0,e.jsxs)("div",{style:{fontSize:"20px"},children:["Mem Uage",(0,e.jsx)("br",{}),"".concat(r,"%")]})})},strokeWidth:10,gapDegree:80,strokeColor:{"0%":"green","50%":"yellow","100%":"red"},status:"exception",gapPosition:"bottom"})})}],Y=[{key:"1",label:"User",children:u.username},{key:"2",label:"Address",children:u.address},{key:"3",label:"Email",children:u.email},{key:"4",label:"Tel",children:u.mobile},{key:"5",label:"Company",children:u.company},{key:"6",label:"Company website",children:u.website},{key:"7",label:"Lisence nsdomain",children:u.nsdomain},{key:"8",label:"Domain total",children:(0,e.jsxs)(e.Fragment,{children:[u.count_domains," ( current : ",(0,e.jsx)("div",{style:{color:"red",display:"inline"},children:b.cur_count_domains})," )"]})},{key:"9",label:"Records total",children:(0,e.jsxs)(e.Fragment,{children:[u.count_records," ( current : ",(0,e.jsx)("div",{style:{color:"red",display:"inline"},children:b.cur_count_records})," )"]})},{key:"10",label:"RegisterUsers total",children:(0,e.jsxs)(e.Fragment,{children:[u.count_users," ( current : ",(0,e.jsx)("div",{style:{color:"red",display:"inline"},children:b.cur_count_users})," )"]})},{key:"11",label:"Days total",children:(0,e.jsxs)(e.Fragment,{children:[u.count_days," ( current : ",(0,e.jsx)("div",{style:{color:"red",display:"inline"},children:b.cur_count_days})," )"]})},{key:"12",label:"Lisence Flag",children:(0,e.jsx)(e.Fragment,{children:u.flag})},{key:"13",label:"Date Limit",children:(0,e.jsxs)(e.Fragment,{children:["From: ",new Date(u.registe_date).toLocaleString()," To: ",(0,e.jsxs)("div",{style:{color:"red",display:"inline"},children:[new Date(new Date(u.registe_date).getTime()+u.count_days*24*60*60*1e3).toLocaleString()," "]})," "]})},{key:"14",label:"Status",children:(0,e.jsx)(d.Z,{status:"processing",text:"Running"}),span:3}],w=[{key:"1",label:"\u57DF\u540D\u6570\u91CF",children:A.domain},{key:"2",label:"\u89E3\u6790\u6570\u91CF",children:A.record}];return(0,e.jsxs)("div",{children:[(0,e.jsxs)("h2",{children:["\u4F60\u597D\uFF0C",m]}),(0,e.jsx)("h3",{children:(0,e.jsx)("div",{style:{color:"green"},children:z})}),(0,e.jsx)("br",{}),_.username=="admin"?(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(a.Z,{title:"\u670D\u52A1\u5668\u4FE1\u606F",bordered:!0,items:G,layout:"horizontal"}),(0,e.jsx)("br",{}),b.resule_code!=100?(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)("h2",{children:(0,e.jsx)("div",{style:{color:"red"},children:"\u6FC0\u6D3B\u51FA\u9519"})}),(0,e.jsxs)("div",{children:["\u5982\u4E0B\u539F\u56E0\u9020\u6210",(0,e.jsxs)("ul",{children:[(0,e.jsx)("li",{children:"\u6388\u6743\u6587\u4EF6\u4E0D\u5B58\u5728\u3001\u6216\u635F\u574F\u3001\u6216\u9519\u8BEF\u6587\u4EF6"}),(0,e.jsx)("li",{children:"\u6388\u6743\u8FC7\u671F"}),(0,e.jsx)("li",{children:"\u6388\u6743nsdomain,\u4E0E\u5F53\u524D\u4F7F\u7528\u7684nsdomain\u4E0D\u5339\u914D"})]})]}),(0,e.jsxs)("h3",{children:["\u8BF7\u6253\u5F00\u9875\u9762\u8FDB\u884C",(0,e.jsx)("a",{href:"https://mm-dns.com/license",target:"_blank",children:"\u6388\u6743\u7533\u8BF7"})]}),(0,e.jsx)("br",{})]}):(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(a.Z,{title:(0,e.jsxs)(e.Fragment,{children:["\u6388\u6743\u4FE1\u606F ",(0,e.jsx)(T.Z,{title:"\u5411\u597D\u53CB\u63A8\u8350bind webamin,\u53EF\u4EE5\u83B7\u5F97\u66F4\u591A\u6388\u6743,\u884C\u52A8\u5427",color:"blue",children:(0,e.jsx)("a",{href:"https://mm-dns.com/license",target:"_blank",children:"\u66F4\u65B0\u6388\u6743"})})]}),bordered:!0,items:Y,layout:"horizontal"}),(0,e.jsx)("br",{})]})]}):(0,e.jsx)(e.Fragment,{}),(0,e.jsx)(a.Z,{title:"\u5F53\u524D\u7528\u6237\u7684\u57DF\u540D\u4FE1\u606F\u7EDF\u8BA1",bordered:!0,items:w,layout:"horizontal"}),(0,e.jsx)(e.Fragment,{})]})}},44235:function(O,f,t){"use strict";t.d(f,{Qo:function(){return h},oN:function(){return g}});
1var v=t(81354),n=t.n(v);function h(s,i){var l=n().enc.Utf8.parse(i),d=i.slice(0,16),a=n().AES.encrypt(s,l,{iv:n().enc.Utf8.parse(d),mode:n().mode.CBC,padding:n().pad.Pkcs7});return a.toString()}function P(s){var i=new TextEncoder,l=i.encode(s),d=l.slice(0,16),a=new TextDecoder("utf-8").decode(d);return a}function g(s,i){var l=n().enc.Utf8.parse(i),d=i.slice(0,16),a=n().AES.decrypt(s,l,{iv:n().enc.Utf8.parse(d),mode:n().mode.CBC,padding:n().pad.Pkcs7});return a.toString(n().enc.Utf8)}function j(s,i,l){var d=CryptoJS.enc.Utf8.parse(i),a=CryptoJS.enc.Utf8.parse(l),T=CryptoJS.AES.encrypt(s,d,{iv:a,mode:CryptoJS.mode.CBC,padding:CryptoJS.pad.Pkcs7});return T.toString()}function F(s,i,l){var d=CryptoJS.enc.Utf8.parse(i),a=CryptoJS.enc.Utf8.parse(l),T=CryptoJS.AES.decrypt(s,d,{iv:a,mode:CryptoJS.mode.CBC,padding:CryptoJS.pad.Pkcs7});return T.toString(CryptoJS.enc.Utf8)}},26303:function(O,f,t){"use strict";t.d(f,{NU:function(){return e},x$:function(){return d},xt:function(){return T}});var v=t(15009),n=t.n(v),h=t(99289),P=t.n(h),g=t(5121),j=t(68872),F=t(11768),s=t(96931),i=t(82188),l=F.ZP.load("TOKEN");function d(y){return a.apply(this,arguments)}function a(){return a=P()(n()().mark(function y(E){var p;return n()().wrap(function(c){for(;;)switch(c.prev=c.next){case 0:return p=s.y.http_api+"updaterecordinfo",c.next=3,(0,g.Z)({url:p,method:"post",headers:{"Content-Type":"application/json",AuthToken:l,dycode:new Date().getTime()-0xeb2eb63eb5},data:JSON.stringify(E)}).then(function(m){if(m&&m.status==200){console.log("Data submitted successfully"),console.log(m.data);var o=m.data;console.log("info:",o.info),m.data.info==="ok"?j.ZP.success("\u4FEE\u6539\u6210\u529F\uFF01"):j.ZP.error("\u4FEE\u6539\u5931\u8D25,\u8BF7\u786E\u8BA4\u540E\u518D\u4FEE\u6539\uFF01")}else console.log("Failed to submit data"),j.ZP.error("\u540E\u53F0\u670D\u52A1\u5F02\u5E38:\u8BF7\u67E5\u770B\u540E\u53F0\u670D\u52A1\u6216\u7F51\u7EDC")});case 3:case"end":return c.stop()}},y)})),a.apply(this,arguments)}function T(y){for(var E="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",p=parseInt(y),_="",c=0;c<p;c++){var m=Math.floor(Math.random()*E.length);_+=E.charAt(m)}return _}var e=function(){var y=P()(n()().mark(function E(p){var _,c;return n()().wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return _=null,c=s.y.http_api+"gettotal/"+p,o.prev=2,o.next=5,(0,g.Z)({url:c,method:"get",headers:{"Content-Type":"application/json",AuthToken:l,dycode:new Date().getTime()-0xeb2eb63eb5}}).then(function(D){if(D&&D.status==200)_=D.data;else return"Error fetching data"}).catch(function(D){console.log("error",D),D.response.status==302&&i.m8.push("/login")});case 5:o.next=11;break;case 7:return o.prev=7,o.t0=o.catch(2),console.error("Error fetching data",o.t0),o.abrupt("return","Error fetching data");case 11:return o.abrupt("return",_);case 12:case"end":return o.stop()}},E,null,[[2,7]])}));return function(p){return y.apply(this,arguments)}}()},96931:function(O,f,t){"use strict";t.d(f,{_:function(){return n},y:function(){return v}});var v={http_api:"https://api.mm-dns.com/",KeyCookie:"9gcETejNwmd0syMb3J4FbEmt",KeyToken:"6s8MQjzqRfMR6ej80a8AuBjn",KeyAuth:"JaWAhEzhzdYdqVUuUhRNK0o0",TTL:new Date(new Date().getTime()+864e5)},n={username:"abc",userid:0,title:"test",ttlcookie:0,ttlapiToken:0,footter_line_sider_1:"",footter_line_sider_2:"",footter_line_1:"",footter_line_2:""}},42480:function(){}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.