import{aD as e,_ as t}from"./public.js?v=1753954525509";import{_ as a}from"./index.vue_vue_type_script_setup_true_lang.js?v=1753954525509";import{k as l,P as s,e as i,U as n,V as o,Q as r,a2 as c,X as u,W as _}from"./vue.js?v=1753954525509";import{cG as d,cA as p}from"./naive.js?v=1753954525509";import"./page_layout.js?v=1753954525509";import"./common.js?v=1753954525509";import"./__commonjsHelpers__.js?v=1753954525509";const h={class:"p-20px"},m=l({__name:"change-verification",props:{uc_id:{},onRefresh:{type:Function}},setup(l,{expose:m}){const{t:S}=s(),v=l,f=[{label:S("SSL.SiteSSL.index_17")+"(http)",value:"HTTP_CSR_HASH"},{label:S("SSL.SiteSSL.index_17")+"(https)",value:"HTTPS_CSR_HASH"},{label:S("SSL.index_12"),value:"CNAME_CSR_HASH"}],H=i({dcvMethod:"HTTP_CSR_HASH"});return m({onConfirm:async()=>{const t={uc_id:v.uc_id,dcv_method:H.dcvMethod};await e(t),v.onRefresh()}}),(e,l)=>{const s=d,i=p,m=a,S=t;return n(),o("div",h,[r(m,null,{default:c((()=>[r(i,{label:e.$t("Term.index_12")},{default:c((()=>[r(s,{value:u(H).dcvMethod,"onUpdate:value":l[0]||(l[0]=e=>u(H).dcvMethod=e),options:f},null,8,["value"])])),_:1},8,["label"])])),_:1}),r(S,null,{default:c((()=>l[1]||(l[1]=[_("li",null,"File verification (HTTP): Ensure that the website can be accessed normally via http",-1),_("li",null,"File verification (HTTPS): Make sure that the website has https enabled and can be accessed normally through https",-1),_("li",null,"DNS verification: DNS record value needs to be manually resolved",-1),_("li",{class:"text-error"},"Note: Only one change is allowed within 20 minutes. Frequent changes will extend the application time.",-1)]))),_:1,__:[1]})])}}});export{m as default};
