import{as as o,a3 as n}from"./index-BTglIPU2.js?v=1773287522785";const{t:s}=n.global,r=e=>o.post("/mod/node/node/get_node_list",e),a=()=>o.post("/mod/node/node/get_category_list"),u=e=>o.post("/mod/node/node/add_category",e,{requestOptions:{loading:s("Component.Pay.index_12"),successMessage:!0}}),i=e=>o.post("/mod/node/node/del_category",e,{requestOptions:{loading:s("Component.Pay.index_12"),successMessage:!0}}),c=e=>o.post("/mod/node/node/bind_node_to_category",e,{requestOptions:{loading:s("Component.Pay.index_12"),successMessage:!0}}),p=e=>o.post("/mod/node/node/add_node",e,{requestOptions:{loading:s("Component.Pay.index_12"),successMessage:!0}}),g=e=>o.post("/mod/node/node/set_ssh_conf",e,{requestOptions:{loading:s("Component.Pay.index_12"),successMessage:!0}}),_=(e,t=!0)=>o.post("/mod/node/node/del_node",e,{requestOptions:{loading:t?s("Component.Pay.index_12"):"",successMessage:!0}}),m=e=>o.post("/mod/node/node/update_node",e,{requestOptions:{loading:s("Component.Pay.index_12"),successMessage:!0}}),l=(e,t=!0)=>o.post("/mod/node/node/restart_bt_panel",e,{requestOptions:{loading:t?s("Component.Pay.index_12"):"",successMessage:!0}}),y=(e,t=!0)=>o.post("/mod/node/node/server_reboot",e,{requestOptions:{loading:t?s("Component.Pay.index_12"):"",successMessage:!0}}),C=e=>o.post("/mod/node/node/get_panel_url",e,{requestOptions:{loading:s("Component.Pay.index_12"),successMessage:!1}}),N=e=>o.post("/mod/node/node/remove_ssh_conf",e,{requestOptions:{loading:s("Component.Pay.index_12"),successMessage:!0}}),q=()=>o.post("/mod/node/node/set_used_status",{},{requestOptions:{loading:s("Component.Pay.index_12"),successMessage:!0}});export{u as a,l as b,_ as c,i as d,N as e,r as f,a as g,m as h,q as i,p as j,y as r,c as s,g as t,C as v};
