System.register(["./index.vue_vue_type_script_setup_true_lang-legacy-LjZ-8uGn.js?v=1773287522785","./php-legacy-BZUQ59eS.js?v=1773287522785","./index-legacy-DQdImDha.js?v=1773287522785","./vue-core-legacy-Cn1vuJ3s.js?v=1773287522785","./naive-ui-legacy-BW82sq8q.js?v=1773287522785"],(function(e,s){"use strict";var t,a,n,r,l,i,c,u,p,y,_,m,o,g,d;return{setters:[e=>{t=e._},e=>{a=e.q},e=>{n=e.i,r=e.m},e=>{l=e.k,i=e.R,c=e.e,u=e.$,p=e.Z,y=e.a0,_=e.a9,m=e.S,o=e._},e=>{g=e.a1,d=e.b}],execute:function(){e("g","/static/vite/images/git-ps-BGhlH-jp.png");const s={class:"w-440px p-20px pt-28px"},k={class:"w-240px"};e("_",l({__name:"create-ssh-key",props:{refresh:{type:Function}},setup(e,{expose:l}){const{t:v}=i(),h=e,x=c({key_name:""}),S={key_name:{required:!0,message:v("Site.Git.pleaseInputSshKeyName"),trigger:"blur"}};return l({onConfirm:async()=>{const{message:e}=await a({key_name:x.key_name});n(e)&&(r.success(v("Site.Git.generateNewKeySuccess")),h.refresh?.(e.result))}}),(e,a)=>{const n=d,r=g,l=t;return u(),p("div",s,[y(l,{model:m(x),rules:S},{default:_((()=>[y(r,{label:m(v)("Site.Git.keyName"),key:"key_name"},{default:_((()=>[o("div",k,[y(n,{value:m(x).key_name,"onUpdate:value":a[0]||(a[0]=e=>m(x).key_name=e),placeholder:m(v)("Site.Git.sshKeyNamePlaceholder")},null,8,["value","placeholder"])])])),_:1},8,["label"])])),_:1},8,["model"])])}}}))}}}));
