import{R as _,d,S as i,_ as r,X as b,Z as y,a1 as f}from"./vendor-vue.BCDG_KVZ.js";import{ai as g,e as u}from"./vendor-antd.B2ASlZtA.js";const n=window.nimblymailSmtpApp||{};if(!n.root)throw new Error(wp.i18n.__("NimblyMail: REST API base URL is not available.","nimblymail-smtp"));const h=_.create({baseURL:`${n.root}nimblymail-smtp/v1/`,headers:{"Content-Type":"application/json","X-WP-Nonce":n.nonce||""}});h.interceptors.response.use(e=>e,e=>(n.isDevMode&&console.error("NimblyMail API Error:",e),Promise.reject(e)));let l,p,m;const o=window.wp?.i18n;o?(l=o.__,p=o._n,o._x,m=o.sprintf):(l=e=>e,p=(e,t,a)=>a===1?e:t,m=(e,...t)=>{let a=0;return e.replace(/%[sd%]/g,s=>s==="%%"?"%":String(t[a++]??""))});u.config({top:"40px"});const N={token:{colorPrimary:"#0d5ea3",colorLink:"#0d5ea3",colorLinkHover:"#094b82",borderRadius:4,fontFamily:'-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif'},algorithm:g.defaultAlgorithm},w={class:"nimblymail-smtp-app-header"},v={key:0,class:"nimblymail-smtp-app-header__title"},S=d({__name:"AppHeader",props:{title:{}},setup(e){const t=(window.nimblymailSmtpApp?.pluginUrl||"")+"assets/images/logo/nimblymail-smtp-logo.svg";return(a,s)=>(i(),r("div",w,[b("img",{src:t,alt:"NimblyMail",class:"nimblymail-smtp-app-header__logo"}),e.title?(i(),r("h1",v,y(e.title),1)):f("",!0)]))}}),k=(e,t)=>{const a=e.__vccOpts||e;for(const[s,c]of t)a[s]=c;return a},R=k(S,[["__scopeId","data-v-a2c5fbd3"]]);export{R as A,l as _,k as a,p as b,h as c,m as s,N as t};
//# sourceMappingURL=AppHeader.D4x1A4Fm.js.map
