System.register(["./index-legacy97.js?v=1764830988434","./page_layout-legacy.js?v=1764830988434","./public-legacy.js?v=1764830988434","./index-legacy57.js?v=1764830988434","./naive-legacy.js?v=1764830988434","./vue-legacy.js?v=1764830988434","./common-legacy.js?v=1764830988434","./__commonjsHelpers__-legacy.js?v=1764830988434","./index-legacy107.js?v=1764830988434","./index-legacy.js?v=1764830988434","./index.vue_vue_type_script_setup_true_lang-legacy.js?v=1764830988434","./index.vue_vue_type_script_setup_true_lang-legacy2.js?v=1764830988434","./index-legacy96.js?v=1764830988434","./config-legacy.js?v=1764830988434","./index.vue_vue_type_script_setup_true_lang-legacy5.js?v=1764830988434","./index.vue_vue_type_script_setup_true_lang-legacy6.js?v=1764830988434","./index.vue_vue_type_script_setup_true_lang-legacy7.js?v=1764830988434","./index.vue_vue_type_script_setup_true_lang-legacy8.js?v=1764830988434"],function(e,l){"use strict";var a,t,u,s,n,c,i,_,y,r,g,p,d,o,v,j,x,m,w,S,f;return{setters:[e=>{a=e._},e=>{t=e.M,u=e.m,s=e.d},e=>{n=e.d,c=e.i},e=>{i=e.o,_=e.g},e=>{y=e.aC,r=e.da},e=>{g=e.k,p=e.P,d=e.r,o=e.R,v=e.V,j=e.W,x=e.U,m=e.ak,w=e.a3,S=e.j,f=e.a4},null,null,null,null,null,null,null,null,null,null,null,null],execute:function(){const l={class:"p-20px"};e("default",g({__name:"view",setup(e){const{t:g}=p(),k=d(""),C=()=>{c(k.value)},H=()=>{window.open(`${t()}/ssh_security?action=download_key`)},B=async()=>{await i({ssh:"yes",type:"ed25519"},!1),await P(),u.success(g("Security.SSH.Basic.SSHKey.view_2"))},{loading:$,setLoading:b}=n(),P=async()=>{try{b(!0);const{message:e}=await _();s(e)&&(k.value=e.result)}finally{b(!1)}};return P(),(e,t)=>{const u=a,s=y,n=r;return v(),o("div",l,[j(u,{value:x(k),"onUpdate:value":t[0]||(t[0]=e=>m(k)?k.value=e:null),loading:x($),rows:10},null,8,["value","loading"]),j(n,{class:"mt-16px",size:12},{default:w(()=>[j(s,{type:"primary",onClick:C},{default:w(()=>[S(f(e.$t("Public.Btn.Copy")),1)]),_:1}),j(s,{type:"primary",onClick:H},{default:w(()=>[S(f(e.$t("Public.Btn.Download")),1)]),_:1}),j(s,{onClick:B},{default:w(()=>[S(f(e.$t("Security.SSH.Basic.SSHKey.view_1")),1)]),_:1})]),_:1})])}}}))}}});
