System.register(["./page_layout-legacy.js?v=1753954525509","./index-legacy.js?v=1753954525509","./index-legacy100.js?v=1753954525509","./public-legacy.js?v=1753954525509","./naive-legacy.js?v=1753954525509","./vue-legacy.js?v=1753954525509","./common-legacy.js?v=1753954525509","./__commonjsHelpers__-legacy.js?v=1753954525509"],(function(e,a){"use strict";var l,s,t,n,i,c,o,d,p,r,u,x,v,y,_,m,f,h,g,w,j,S,C;return{setters:[e=>{l=e.a,s=e.c,t=e.a_},e=>{n=e._},e=>{i=e._},e=>{c=e.e,o=e.aC,d=e.a6},e=>{p=e.c6,r=e.ay},e=>{u=e.k,x=e.P,v=e.ad,y=e.e,_=e.U,m=e.V,f=e.Q,h=e.a2,g=e.W,w=e.j,j=e.a3,S=e.X,C=e._},null,null],execute:function(){const b={class:"p-20px"},$={class:"flex flex-wrap py-2px text-primary text-12px"},U={class:"pr-24px"},k={class:"pr-24px"},L={class:"flex gap-20px mt-16px"},P={class:"flex-1"},K={class:"mb-8px"},R={class:"flex-1"},F={class:"mb-8px"},H={class:"my-10px"};e("default",u({__name:"index",props:{data:{}},setup(e){const u=C((()=>l((()=>a.import("./ssl-log-legacy.js?v=1753954525509")),void 0))),{t:I}=x(),Q=e,{row:V}=v(Q.data),W=c(I("SSL.index_43")),X=y({privateKey:V.value.cert.key,certPem:V.value.cert.csr}),q=async()=>{const{message:e}=await o({hash:V.value.hash});s(e)&&t(encodeURIComponent(e.result))},z=async()=>{const{message:e}=await d({hash:V.value.hash});s(e)&&(W.data.path=e.result,W.show=!0,Q.data.onRefresh())};return(e,a)=>{const l=p,s=i,t=r,c=n;return _(),m("div",b,[f(l,{type:"success","show-icon":!1},{default:h((()=>[g("div",$,[g("div",null,[g("span",U,[w(j(e.$t("SSL.index_41")),1),g("b",null,j(S(V).provider),1)]),g("span",null,[w(j(e.$t("Config.Safe.index_38")),1),g("b",null,j(S(V).issuer),1)])]),g("div",null,[g("span",k,[w(j(e.$t("Config.Safe.index_37")),1),g("b",null,j(S(V).verify_domains.join(",")),1)]),g("span",null,[w(j(e.$t("Config.Safe.index_39")),1),g("b",null,j(S(V).end_date),1)])])])])),_:1}),g("div",L,[g("div",P,[g("div",K,j(e.$t("Config.Safe.index_27")),1),f(s,{value:S(X).privateKey,"onUpdate:value":a[0]||(a[0]=e=>S(X).privateKey=e),readonly:"",rows:14,placeholder:""},null,8,["value"])]),g("div",R,[g("div",F,j(e.$t("Config.Safe.index_28")),1),f(s,{value:S(X).certPem,"onUpdate:value":a[1]||(a[1]=e=>S(X).certPem=e),readonly:"",rows:14,placeholder:""},null,8,["value"])])]),g("div",H,[f(t,{type:"primary",onClick:q,class:"mr-12px"},{default:h((()=>[w(j(e.$t("Ftp.Label.index_11")),1)])),_:1}),f(t,{onClick:z},{default:h((()=>[w(j(e.$t("SSL.index_42")),1)])),_:1})]),f(c,{show:S(W).show,"onUpdate:show":a[2]||(a[2]=e=>S(W).show=e),title:S(W).title,data:S(W).data,width:650,"min-height":450,component:S(u)},null,8,["show","title","data","component"])])}}}))}}}));
