System.register(["./page_layout-legacy.js?v=1753954525509","./public-legacy.js?v=1753954525509","./vue-legacy.js?v=1753954525509","./naive-legacy.js?v=1753954525509"],(function(e,a){"use strict";var l,u,d,t,s,n,i,c,o,p,r,v,_,b,f,x,k,m,h,g,y,S,L,U,C,$;return{setters:[e=>{l=e.c,u=e.o,d=e.aG,t=e.g5,s=e.e},e=>{n=e.j},e=>{i=e.k,c=e.ab,o=e.aj,p=e.ac,r=e.U,v=e.a1,_=e.a2,b=e.Q,f=e.H,x=e.W,k=e.al,m=e.V,h=e.j,g=e.a3},e=>{y=e.aq,S=e.ay,L=e.aV,U=e._,C=e.c3,$=e.bY}],execute:function(){var a=document.createElement("style");a.textContent=".n-button[data-v-4f4b9d13]{--n-padding: 0 12px}\n",document.head.appendChild(a);const j={key:1,class:"text-desc"},w=i({__name:"domain-input",props:c({is_wp:{type:Boolean,default:!1}},{value:{required:!0},valueModifiers:{},parseList:{required:!0},parseListModifiers:{}}),emits:c(["update:domain"],["update:value","update:parseList"]),setup(e,{expose:a,emit:s}){const i=e,c=o(),w=p(e,"value"),B=p(e,"parseList"),q=s,D=async(e,a)=>{if(0===a&&q("update:domain",e),!e?.trim())return void(B.value[a]&&B.value.splice(a,1));const{message:u}=await n({domain:e});l(u)&&w.value[a]&&(B.value[a]={...u,auto:u.support.includes("auto"),ssl_cert:u.support.includes("ssl_cert"),cf_proxy:u.support.includes("cf_proxy")})},M=()=>{c.push("/ssl_domain/domain")};return a({onDomainItemBlur:D}),(e,a)=>{const l=y,s=S,n=L,c=U,o=u,p=C,I=d,V=$,E=t;return r(),v(E,{value:w.value,"onUpdate:value":a[0]||(a[0]=e=>w.value=e)},{default:_((({index:a})=>[b(l,{class:f(i.is_wp?"w-200px!":"w-140px!"),value:w.value[a],"onUpdate:value":e=>w.value[a]=e,placeholder:e.$t("Mail.Setting.index_20"),onBlur:e=>D(w.value[a],a)},null,8,["class","value","onUpdate:value","placeholder","onBlur"])])),action:_((({index:l})=>[b(V,{class:"items-center ml-5px"},{default:_((()=>[i.is_wp?k("",!0):(r(),v(n,{key:0},{default:_((()=>[b(s,{onClick:e=>(e=>{w.value.splice(e,1),B.value.splice(e,1),0===e&&q("update:domain",w.value[0]?w.value[0]:"")})(l),disabled:1===w.value.length,round:""},{default:_((()=>a[1]||(a[1]=[x("span",null,"-",-1)]))),_:2,__:[1]},1032,["onClick","disabled"]),b(s,{onClick:e=>(e=>{w.value.splice(e+1,0,""),B.value.splice(e+1,0,{})})(l),round:""},{default:_((()=>a[2]||(a[2]=[x("span",null,"+",-1)]))),_:2,__:[2]},1032,["onClick"])])),_:2},1024)),B.value[l]?.support?(r(),m("span",j,[b(I,null,{default:_((()=>[b(p,{trigger:"hover",disabled:B.value[l].support.includes("auto")},{trigger:_((()=>[b(c,{checked:B.value[l].auto,"onUpdate:checked":e=>B.value[l].auto=e,disabled:!B.value[l].support.includes("auto"),label:e.$t("SSL.Domain.index_34")},null,8,["checked","onUpdate:checked","disabled","label"])])),default:_((()=>[x("div",null,[h(g(e.$t("SSL.index_5"))+" ",1),b(o,{onClick:M},{default:_((()=>[h(g(e.$t("SSL.index_4")),1)])),_:1})])])),_:2},1032,["disabled"]),b(p,{trigger:"hover",disabled:B.value[l].support.includes("ssl_cert")},{trigger:_((()=>[b(c,{checked:B.value[l].ssl_cert,"onUpdate:checked":e=>B.value[l].ssl_cert=e,disabled:!B.value[l].support.includes("ssl_cert"),label:e.$t("SSL.index_7")},null,8,["checked","onUpdate:checked","disabled","label"])])),default:_((()=>[x("div",null,[h(g(e.$t("SSL.index_6"))+" ",1),b(o,{onClick:M},{default:_((()=>[h(g(e.$t("SSL.index_4")),1)])),_:1})])])),_:2},1032,["disabled"]),B.value[l].support.includes("cf_proxy")?(r(),v(c,{key:0,checked:B.value[l].cf_proxy,"onUpdate:checked":e=>B.value[l].cf_proxy=e,disabled:!B.value[l].support.includes("cf_proxy"),label:e.$t("SSL.index_8")},null,8,["checked","onUpdate:checked","disabled","label"])):k("",!0)])),_:2},1024)])):k("",!0)])),_:2},1024)])),_:1},8,["value"])}}});e("D",s(w,[["__scopeId","data-v-4f4b9d13"]]))}}}));
