/*! For license information please see app.js.LICENSE.txt */ (()=>{var e={229:(e,t,n)=>{"use strict";var o=n(425);const s={class:"post-smtp__wrapper"},r={class:"mt-32 clearfix container"},i={class:"app-wrapper float-left mr-25"},a={class:"app-sidebar float-left"},l={name:"PostSMTPAppWrapper",props:{postSmtpConfigured:{type:Boolean,default:!1},postSmtpPro:{type:Boolean,default:!1},isMobileAppConfigured:{type:Boolean,default:!1},isMainWpConfigured:{type:Boolean,default:!1},isDomainSpamScoreConfigured:{type:Boolean,default:!1},adPosition:{type:String,default:"maximize"},isLogOnlyMode:{type:Boolean,default:!1},isProfessionalOrBasic:{type:Boolean,default:!1}},data:e=>({plugin_dir_url:e.$parent.plugin_dir_url,admin_url:e.$parent.admin_url})};var c=n(262);const u=(0,c.A)(l,[["render",function(e,t,n,l,c,u){const p=(0,o.resolveComponent)("post-smtp-header"),d=(0,o.resolveComponent)("post-smtp-dashboard"),f=(0,o.resolveComponent)("post-smtp-sidebar");return(0,o.openBlock)(),(0,o.createElementBlock)("div",s,[(0,o.createVNode)(p),(0,o.createElementVNode)("div",r,[(0,o.createElementVNode)("div",i,[(0,o.createVNode)(d,{"post-smtp-configured":n.postSmtpConfigured,"is-main-wp-configured":n.isMainWpConfigured,"post-smtp-pro":n.postSmtpPro,"post-smtp-ad-position":n.adPosition,"is-log-only-mode":n.isLogOnlyMode},null,8,["post-smtp-configured","is-main-wp-configured","post-smtp-pro","post-smtp-ad-position","is-log-only-mode"])]),(0,o.createElementVNode)("div",a,[(0,o.createVNode)(f,{"post-smtp-configured":n.postSmtpConfigured,"post-smtp-pro":n.postSmtpPro,"is-mobile-app-configured":n.isMobileAppConfigured,"is-main-wp-configured":n.isMainWpConfigured,"is-domain-spam-score-configured":n.isDomainSpamScoreConfigured,"is-professional-or-basic":n.isProfessionalOrBasic},null,8,["post-smtp-configured","post-smtp-pro","is-mobile-app-configured","is-main-wp-configured","is-domain-spam-score-configured","is-professional-or-basic"])])])])}],["__scopeId","data-v-3112b8ca"]]),p={class:"header"},d={name:"PostSMTPHeader",data:e=>({plugin_dir_url:e.$parent.plugin_dir_url,admin_url:e.$parent.admin_url}),computed:{image_url(){return this.$parent.$parent.plugin_dir_url+"assets/images/logo.png"}},methods:{get_image_url(e){return this.plugin_dir_url+"assets/images/"+e}}},f=(0,c.A)(d,[["render",function(e,t,n,s,r,i){const a=(0,o.resolveComponent)("post-smtp-img"),l=(0,o.resolveComponent)("post-smtp-settings");return(0,o.openBlock)(),(0,o.createElementBlock)("div",p,[(0,o.createElementVNode)("div",null,[(0,o.createVNode)(a,{src:i.image_url},null,8,["src"])]),(0,o.createElementVNode)("div",null,[(0,o.createVNode)(l,{buttons:[{icon:i.get_image_url("bell.svg"),action:"bell"},{icon:i.get_image_url("settings.svg"),action:"setting"}]},null,8,["buttons"])])])}],["__scopeId","data-v-65055dc1"]]),h=["src","alt"],m={name:"PostSMTPImg",props:{src:{type:String,required:!0},style:{type:Object,default:()=>({})},showPoint:{type:Boolean,default:!1}},data:e=>({plugin_dir_url:e.$parent.plugin_dir_url,admin_url:e.$parent.admin_url}),methods:{explode:(e,t)=>String(t).split(e),strContains:(e,t)=>-1!==String(t).indexOf(e)},computed:{imgSrc(){return this.strContains("bell.svg",this.src)&&this.showPoint?this.explode("bell.svg",this.src)[0]+"bell-point.svg":this.src}}},g=(0,c.A)(m,[["render",function(e,t,n,s,r,i){return(0,o.openBlock)(),(0,o.createElementBlock)("img",{src:i.imgSrc,alt:"Post SMTP "+n.src,style:(0,o.normalizeStyle)(n.style)},null,12,h)}]]),y={class:"settings"},v=["onClick"],_={name:"PostSMTPSettings",props:{buttons:{type:Array,default:()=>[]}},data:e=>({plugin_dir_url:e.$parent.plugin_dir_url,admin_url:e.$parent.admin_url,i18n:postSmtpNewDashboard.i18n.settings,setting:!1,notification:!1,failed_notifications:[]}),watch:{},computed:{showHideNotificationBar(){return{display:this.notification?"block":"none"}},showHideSettingBar(){return{display:this.setting?"block":"none"}}},methods:{openMenu(e,t){e.preventDefault(),"setting"===t.action&&(this.notification=!1,this.setting=!this.setting),"bell"===t.action&&(this.setting=!1,this.notification=!this.notification)},getFailedNotifications(){axios.get("get-failed-logs").then(e=>{this.failed_notifications=e.data.logs,this.failed_notifications=Object.values(this.failed_notifications)})}},mounted(){this.getFailedNotifications(),document.body.addEventListener("click",e=>{e.target.closest(".settings")||(this.setting=!1,this.notification=!1)})}},b=(0,c.A)(_,[["render",function(e,t,n,s,r,i){const a=(0,o.resolveComponent)("post-smtp-img"),l=(0,o.resolveComponent)("post-smtp-settings-menu"),c=(0,o.resolveComponent)("post-smtp-notification-bar");return(0,o.openBlock)(),(0,o.createElementBlock)("div",y,[(0,o.createElementVNode)("div",null,[((0,o.openBlock)(!0),(0,o.createElementBlock)(o.Fragment,null,(0,o.renderList)(n.buttons,t=>((0,o.openBlock)(),(0,o.createElementBlock)("button",{onClick:e=>i.openMenu(e,t),class:"settings__button"},[(0,o.createVNode)(a,{"show-point":!!e.failed_notifications.length,src:t.icon},null,8,["show-point","src"])],8,v))),256))]),(0,o.createVNode)(l,{style:(0,o.normalizeStyle)(i.showHideSettingBar),menus:[{title:e.i18n[0],icon:"menu-profile",url:e.admin_url+"?page=postman%2Fconfiguration#account_config"},{title:e.i18n[1],icon:"menu-fallback",url:e.admin_url+"?page=postman%2Fconfiguration#fallback"},{title:e.i18n[2],icon:"menu-message",url:e.admin_url+"?page=postman%2Fconfiguration#message_config"},{title:e.i18n[3],icon:"menu-logging",url:e.admin_url+"?page=postman%2Fconfiguration#logging_config"},{title:e.i18n[4],icon:"menu-settings",url:e.admin_url+"?page=postman%2Fconfiguration#advanced_options_config"},{title:e.i18n[5],icon:"menu-bell",url:e.admin_url+"?page=postman%2Fconfiguration#notifications"}]},null,8,["style","menus"]),(0,o.createVNode)(c,{style:(0,o.normalizeStyle)(i.showHideNotificationBar),notifications:e.failed_notifications},null,8,["style","notifications"])])}],["__scopeId","data-v-84d0a47e"]]),S={class:"post-smtp-settings-menu-wrapper"},w={class:"post-smtp-dropdown-menu"},C=["href"],E={name:"PostSmtpSettingsMenu",props:{menus:{type:Array,default:()=>[]}},data:e=>({plugin_dir_url:e.$parent.plugin_dir_url,admin_url:e.$parent.admin_url})},k=(0,c.A)(E,[["render",function(e,t,n,s,r,i){const a=(0,o.resolveComponent)("post-smtp-img");return(0,o.openBlock)(),(0,o.createElementBlock)("div",S,[((0,o.openBlock)(!0),(0,o.createElementBlock)(o.Fragment,null,(0,o.renderList)(n.menus,t=>((0,o.openBlock)(),(0,o.createElementBlock)("div",w,[(0,o.createElementVNode)("a",{href:t.url,class:"post-smtp-button"},[(0,o.createVNode)(a,{fallback:"menu-fallback"===t.icon,style:{"margin-bottom":"-4px","margin-right":"8px"},src:e.plugin_dir_url+"assets/images/"+t.icon+".svg"},null,8,["fallback","src"]),(0,o.createTextVNode)(" "+(0,o.toDisplayString)(t.title),1)],8,C)]))),256))])}],["__scopeId","data-v-a06ecf4c"]]),x={class:"post-smtp-notification-bar-wrapper"},N=["post-smtp-opened"],T=["onClick"],V={class:"post-smtp-notification-content-wrapper"},A={class:"full-width-content"},B={class:"left-side-content"},O={class:"post-smtp-notification-title"},R={class:"post-smtp-notification-content"},D={style:{"text-align":"right"},class:"right-side-content notification-timeline"},P=["onClick"],L={key:1},I={class:"post-smtp-notification-content-wrapper"},M={class:"left-side-content"},F={class:"post-smtp-notification-title"},$={class:"post-smtp-notification-content"},j={name:"post-smtp-notification-bar",props:{notifications:{type:Array,default:()=>[]}},data:e=>({plugin_dir_url:e.$parent.plugin_dir_url,admin_url:e.$parent.admin_url,i18n:postSmtpNewDashboard.i18n.notification}),methods:{openNotification(e,t,n){e.preventDefault(),axios.post("open-notification",{id:t.id}).then(e=>{t.opened=!0,window.location.href=n})},removeNotification(e,t){e.preventDefault(),t.opened&&axios.post("remove-notification/",{id:t.id}).then(e=>{const n=this.notifications.indexOf(t);n>-1&&this.notifications.splice(n,1)})}},mounted(){}},U=(0,c.A)(j,[["render",function(e,t,n,s,r,i){const a=(0,o.resolveComponent)("post-smtp-img");return(0,o.openBlock)(),(0,o.createElementBlock)("div",x,[n.notifications.length?((0,o.openBlock)(!0),(0,o.createElementBlock)(o.Fragment,{key:0},(0,o.renderList)(n.notifications,n=>((0,o.openBlock)(),(0,o.createElementBlock)("div",{class:"post-smtp-notification-wrapper","post-smtp-opened":!n.opened},[(0,o.createElementVNode)("a",{href:"#",onClick:t=>i.openNotification(t,n,e.admin_url+"?page=postman_email_log&status=failed"),style:{"text-decoration":"none"}},[(0,o.createElementVNode)("div",V,[(0,o.createElementVNode)("div",A,[(0,o.createElementVNode)("div",B,[(0,o.createElementVNode)("h2",O,[t[0]||(t[0]=(0,o.createElementVNode)("span",{style:{"margin-right":"6px",display:"inline-block"}},[(0,o.createElementVNode)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[(0,o.createElementVNode)("path",{d:"M18.0335 14.1727L11.9273 3.6083C11.8346 3.44494 11.7256 3.30335 11.6056 3.1781C10.6188 2.14889 8.84146 2.29047 8.07819 3.6083L1.97198 14.1727C1.75936 14.5322 1.66667 14.9079 1.66667 15.2782C1.66667 15.8609 1.90111 16.4163 2.29365 16.8247C2.68619 17.2386 3.24774 17.5 3.89653 17.5H16.1089C17.4065 17.5 18.3333 16.4381 18.3333 15.2728C18.3333 14.9079 18.2407 14.5322 18.0335 14.1727ZM9.11951 7.43111C9.11951 7.02269 9.45208 6.68506 9.86643 6.68506H10.3626C10.7715 6.68506 11.1095 7.01724 11.1095 7.43111V11.0415C11.1095 11.45 10.7769 11.7876 10.3626 11.7876H9.86643C9.45753 11.7876 9.11951 11.4554 9.11951 11.0415V7.43111ZM10.1172 15.3599C9.39211 15.3599 8.80875 14.7718 8.80875 14.0529C8.80875 13.3287 9.39756 12.746 10.1172 12.746C10.8369 12.746 11.4257 13.3341 11.4257 14.0529C11.4257 14.7772 10.8369 15.3599 10.1172 15.3599Z",fill:"#E67373"})])],-1)),(0,o.createTextVNode)(" "+(0,o.toDisplayString)(e.i18n.title),1)]),(0,o.createElementVNode)("p",R,(0,o.toDisplayString)(n.subject),1)]),(0,o.createElementVNode)("div",D,(0,o.toDisplayString)(n.delivery_time),1),t[1]||(t[1]=(0,o.createElementVNode)("div",{class:"clearfix"},null,-1))])])],8,T),n.opened?((0,o.openBlock)(),(0,o.createElementBlock)("a",{key:0,class:"notification-bin left-side-content",onClick:e=>i.removeNotification(e,n),style:{"text-decoration":"none",position:"absolute",bottom:"20px",right:"20px","z-index":"20"}},[(0,o.createVNode)(a,{src:e.plugin_dir_url+"assets/images/bin.svg"},null,8,["src"])],8,P)):(0,o.createCommentVNode)("v-if",!0)],8,N))),256)):((0,o.openBlock)(),(0,o.createElementBlock)("div",L,[(0,o.createElementVNode)("div",I,[(0,o.createElementVNode)("div",M,[(0,o.createElementVNode)("h2",F,[t[2]||(t[2]=(0,o.createElementVNode)("span",{style:{"margin-right":"6px",display:"inline-block"}},[(0,o.createElementVNode)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[(0,o.createElementVNode)("path",{d:"M18.0335 14.1727L11.9273 3.6083C11.8346 3.44494 11.7256 3.30335 11.6056 3.1781C10.6188 2.14889 8.84146 2.29047 8.07819 3.6083L1.97198 14.1727C1.75936 14.5322 1.66667 14.9079 1.66667 15.2782C1.66667 15.8609 1.90111 16.4163 2.29365 16.8247C2.68619 17.2386 3.24774 17.5 3.89653 17.5H16.1089C17.4065 17.5 18.3333 16.4381 18.3333 15.2728C18.3333 14.9079 18.2407 14.5322 18.0335 14.1727ZM9.11951 7.43111C9.11951 7.02269 9.45208 6.68506 9.86643 6.68506H10.3626C10.7715 6.68506 11.1095 7.01724 11.1095 7.43111V11.0415C11.1095 11.45 10.7769 11.7876 10.3626 11.7876H9.86643C9.45753 11.7876 9.11951 11.4554 9.11951 11.0415V7.43111ZM10.1172 15.3599C9.39211 15.3599 8.80875 14.7718 8.80875 14.0529C8.80875 13.3287 9.39756 12.746 10.1172 12.746C10.8369 12.746 11.4257 13.3341 11.4257 14.0529C11.4257 14.7772 10.8369 15.3599 10.1172 15.3599Z",fill:"#E67373"})])],-1)),(0,o.createTextVNode)(" "+(0,o.toDisplayString)(e.i18n.title),1)]),(0,o.createElementVNode)("p",$,(0,o.toDisplayString)(e.i18n.description),1)]),t[3]||(t[3]=(0,o.createElementVNode)("div",{class:"clearfix"},null,-1)),t[4]||(t[4]=(0,o.createElementVNode)("div",{class:"full-width-content mt-10"},[(0,o.createElementVNode)("span",{class:"notification-timeline right-side-content"})],-1))])]))])}],["__scopeId","data-v-1d82fd54"]]),H={class:"img-wrapper"},q={class:"gmail-click",target:"_blank",href:"https://postmansmtp.com/pricing/?utm_source=plugin&utm_medium=dashboard&utm_campaign=gmail_one_click"},z={class:"img-wrapper"},W={class:"office-click",target:"_blank",href:"https://postmansmtp.com/pricing/"},K={class:"troubleshooting-header"},J={class:"troubleshooting-content"},Z={class:"troubleshoot"},G={key:0},X=["src"],Q=["target","href"],Y={key:0,style:{color:"#8B8F9A","font-size":"15px","margin-left":"-3px"},class:"dashicons dashicons-external"},ee={class:"customer-support-content"},te={name:"PostSmtpSidebar",props:{postSmtpPro:{type:Boolean,default:!1},postSmtpConfigured:{type:Boolean,default:!1},isMobileAppConfigured:{type:Boolean,default:!1},isMainWpConfigured:{type:Boolean,default:!1},isDomainSpamScoreConfigured:{type:Boolean,default:!1},isProfessionalOrBasic:{type:Boolean,default:!1}},data:e=>({plugin_dir_url:e.$parent.plugin_dir_url,admin_url:e.$parent.admin_url,i18n:postSmtpNewDashboard.i18n.sidebar,troubleshooting:[{title:postSmtpNewDashboard.i18n.sidebar.troubleshooting[0],icon:"email.svg",url:e.$parent.admin_url+"?page=postman/email_test",image:!0,target:!1,show:!0},{title:postSmtpNewDashboard.i18n.sidebar.troubleshooting[1],url:"https://postmansmtp.com/domain-health-checker/",icon:"dashicons dashicons-performance",image:!1,target:"_blank",show:!0},{title:postSmtpNewDashboard.i18n.sidebar.troubleshooting[2],icon:"import-export.svg",url:e.$parent.admin_url+"?page=postman/manage-options",image:!0,target:!1,show:!0},{title:postSmtpNewDashboard.i18n.sidebar.troubleshooting[3],icon:"connectivity.svg",url:e.$parent.admin_url+"?page=postman/port_test",image:!0,target:!1,show:!0},{title:postSmtpNewDashboard.i18n.sidebar.troubleshooting[4],icon:"diagnostic.svg",url:e.$parent.admin_url+"?page=postman/diagnostics",image:!0,target:!1,show:!0},{title:postSmtpNewDashboard.i18n.sidebar.troubleshooting[5],icon:"reset.svg",url:e.$parent.admin_url+"?page=postman/manage-options",image:!0,target:!1,show:!0}]})},ne=(0,c.A)(te,[["render",function(e,t,n,s,r,i){const a=(0,o.resolveComponent)("post-smtp-img"),l=(0,o.resolveComponent)("post-smtp-widget"),c=(0,o.resolveComponent)("post-smtp-ads"),u=(0,o.resolveComponent)("post-smtp-button");return(0,o.openBlock)(),(0,o.createElementBlock)("div",null,[(0,o.createCommentVNode)(" ✅ Show Gmail One Click widget only if Pro is NOT active "),n.postSmtpPro?(0,o.createCommentVNode)("v-if",!0):((0,o.openBlock)(),(0,o.createBlock)(l,{key:0,class:"gmail-wrapper"},{default:(0,o.withCtx)(()=>[(0,o.createElementVNode)("div",H,[(0,o.createElementVNode)("a",q,[(0,o.createVNode)(a,{class:"gmail-one-click",src:e.plugin_dir_url+"assets/images/gmail_one_click.gif"},null,8,["src"])])])]),_:1})),(0,o.createCommentVNode)(" ✅ Show Office One Click widget only if Professional or Basic plan is active "),n.isProfessionalOrBasic?((0,o.openBlock)(),(0,o.createBlock)(l,{key:1,class:"office-wrapper"},{default:(0,o.withCtx)(()=>[(0,o.createElementVNode)("div",z,[(0,o.createElementVNode)("a",W,[(0,o.createVNode)(a,{class:"office-one-click",src:e.plugin_dir_url+"assets/images/office_oneclick.gif"},null,8,["src"])])])]),_:1})):(0,o.createCommentVNode)("v-if",!0),(0,o.createCommentVNode)(" ✅ Show Ads only if Pro is active and configured "),n.postSmtpPro&&n.postSmtpConfigured?((0,o.openBlock)(),(0,o.createBlock)(c,{key:2,class:"mb-24","post-smtp-pro":n.postSmtpPro,"is-mobile-app-configured":n.isMobileAppConfigured,"is-main-wp-configured":n.isMainWpConfigured,"is-domain-spam-score-configured":n.isDomainSpamScoreConfigured},null,8,["post-smtp-pro","is-mobile-app-configured","is-main-wp-configured","is-domain-spam-score-configured"])):(0,o.createCommentVNode)("v-if",!0),(0,o.createCommentVNode)(" ✅ Always show Troubleshooting widget "),(0,o.createVNode)(l,{class:"troubleshooting"},{default:(0,o.withCtx)(()=>[(0,o.createElementVNode)("div",K,(0,o.toDisplayString)(e.i18n.titleTroubleshooting),1),(0,o.createElementVNode)("div",J,[(0,o.createElementVNode)("ul",null,[((0,o.openBlock)(!0),(0,o.createElementBlock)(o.Fragment,null,(0,o.renderList)(e.troubleshooting,t=>((0,o.openBlock)(),(0,o.createElementBlock)("li",Z,[t.show?((0,o.openBlock)(),(0,o.createElementBlock)("div",G,[t.image?(0,o.createCommentVNode)("v-if",!0):((0,o.openBlock)(),(0,o.createElementBlock)("span",{key:0,style:{"margin-right":"15px",color:"#3c5daa"},class:(0,o.normalizeClass)(t.icon)},null,2)),t.image?((0,o.openBlock)(),(0,o.createElementBlock)("img",{key:1,style:{"margin-bottom":"-5px","margin-right":"16px"},src:e.plugin_dir_url+"assets/images/"+t.icon},null,8,X)):(0,o.createCommentVNode)("v-if",!0),(0,o.createElementVNode)("a",{target:t.target,href:t.url},[(0,o.createTextVNode)((0,o.toDisplayString)(t.title)+" ",1),t.target?((0,o.openBlock)(),(0,o.createElementBlock)("span",Y)):(0,o.createCommentVNode)("v-if",!0)],8,Q)])):(0,o.createCommentVNode)("v-if",!0)]))),256))])])]),_:1}),(0,o.createCommentVNode)(" ✅ Always show Customer Support widget "),(0,o.createVNode)(l,{class:"customer-support"},{default:(0,o.withCtx)(()=>[(0,o.createElementVNode)("div",null,[(0,o.createVNode)(a,{src:e.plugin_dir_url+"assets/images/customer-support.png"},null,8,["src"])]),(0,o.createElementVNode)("div",ee,[(0,o.createElementVNode)("p",null,(0,o.toDisplayString)(e.i18n.appointment.description),1)]),(0,o.createElementVNode)("div",null,[(0,o.createVNode)(u,{href:"https://postmansmtp.com/configuration-request/?utm_source=plugin&utm_medium=dashboard_side_banner&utm_campaign=plugin",type:"secondary"},{default:(0,o.withCtx)(()=>[(0,o.createTextVNode)((0,o.toDisplayString)(e.i18n.appointment.button),1)]),_:1})])]),_:1})])}],["__scopeId","data-v-7b742791"]]),oe={class:"widget-wrapper"},se={name:"PostSmtpWidget",data:e=>({plugin_dir_url:e.$parent.plugin_dir_url,admin_url:e.$parent.admin_url})},re=(0,c.A)(se,[["render",function(e,t,n,s,r,i){return(0,o.openBlock)(),(0,o.createElementBlock)("div",oe,[(0,o.renderSlot)(e.$slots,"default",{},void 0,!0)])}],["__scopeId","data-v-61b1c642"]]),ie={class:"mobile-header"},ae={class:"mobile-unstyles-list"},le={class:"img-wrapper"},ce={class:"main-wp-header"},ue={class:"main-wp-unstyled-list"},pe={class:"main-wp-footer"},de={href:"https://postmansmtp.com/mainwp-post-smtp/?utm_source=plugin&utm_medium=mainwp_banner&utm_campaign=plugin"},fe={class:"post-smtp-spam-score-header"},he={class:"post-smtp-spam-score-list-unstyled"},me={class:"post-smtp-spam-score-footer"},ge={href:"https://postmansmtp.com/domain-health-checker/?utm_source=plugin&utm_medium=dashboard_banner&utm_campaign=plugin"},ye={name:"PostSmtpAds",props:{postSmtpPro:{type:Boolean,default:!1},isMobileAppConfigured:{type:Boolean,default:!1},isMainWpConfigured:{type:Boolean,default:!1},isDomainSpamScoreConfigured:{type:Boolean,default:!1}},data:e=>({plugin_dir_url:e.$parent.plugin_dir_url,admin_url:e.$parent.admin_url,i18n:postSmtpNewDashboard.i18n.ads})},ve=(0,c.A)(ye,[["render",function(e,t,n,s,r,i){const a=(0,o.resolveComponent)("post-smtp-img"),l=(0,o.resolveComponent)("post-smtp-widget");return(0,o.openBlock)(),(0,o.createElementBlock)("div",null,[n.isMobileAppConfigured?n.isMainWpConfigured?n.isDomainSpamScoreConfigured?(0,o.createCommentVNode)("v-if",!0):((0,o.openBlock)(),(0,o.createBlock)(l,{key:2,class:"post-smtp-spam-score-wrapper"},{default:(0,o.withCtx)(()=>[(0,o.createElementVNode)("div",null,[(0,o.createElementVNode)("div",fe,[(0,o.createElementVNode)("h2",null,[(0,o.createTextVNode)((0,o.toDisplayString)(e.i18n.spamScore.title)+" ",1),t[1]||(t[1]=(0,o.createElementVNode)("br",null,null,-1)),(0,o.createElementVNode)("b",null,(0,o.toDisplayString)(e.i18n.spamScore.subTitle),1)])]),(0,o.createElementVNode)("ul",he,[(0,o.createElementVNode)("li",null,(0,o.toDisplayString)(e.i18n.spamScore.list[0]),1),(0,o.createElementVNode)("li",null,(0,o.toDisplayString)(e.i18n.spamScore.list[1]),1),(0,o.createElementVNode)("li",null,(0,o.toDisplayString)(e.i18n.spamScore.list[2]),1),(0,o.createElementVNode)("li",null,(0,o.toDisplayString)(e.i18n.spamScore.list[3]),1),(0,o.createElementVNode)("li",null,(0,o.toDisplayString)(e.i18n.spamScore.list[4]),1)]),(0,o.createElementVNode)("div",me,[(0,o.createElementVNode)("a",ge,(0,o.toDisplayString)(e.i18n.spamScore.link),1)])])]),_:1})):((0,o.openBlock)(),(0,o.createBlock)(l,{key:1,class:"post-smtp-main-wp-wrapper"},{default:(0,o.withCtx)(()=>[(0,o.createElementVNode)("div",ce,[(0,o.createElementVNode)("h3",null,[(0,o.createTextVNode)((0,o.toDisplayString)(e.i18n.mainWP.title)+" ",1),(0,o.createElementVNode)("span",null,(0,o.toDisplayString)(e.i18n.mainWP.subTitle),1)])]),(0,o.createElementVNode)("ul",ue,[(0,o.createElementVNode)("li",null,(0,o.toDisplayString)(e.i18n.mainWP.list[0]),1),(0,o.createElementVNode)("li",null,(0,o.toDisplayString)(e.i18n.mainWP.list[1]),1),(0,o.createElementVNode)("li",null,(0,o.toDisplayString)(e.i18n.mainWP.list[2]),1),(0,o.createElementVNode)("li",null,(0,o.toDisplayString)(e.i18n.mainWP.list[3]),1),(0,o.createElementVNode)("li",null,(0,o.toDisplayString)(e.i18n.mainWP.list[4]),1)]),(0,o.createElementVNode)("div",pe,[(0,o.createElementVNode)("a",de,(0,o.toDisplayString)(e.i18n.mainWP.link),1)])]),_:1})):((0,o.openBlock)(),(0,o.createBlock)(l,{key:0,class:"mobile-wrapper"},{default:(0,o.withCtx)(()=>[(0,o.createElementVNode)("h3",ie,[(0,o.createTextVNode)((0,o.toDisplayString)(e.i18n.mobileApp.title)+" ",1),t[0]||(t[0]=(0,o.createElementVNode)("br",null,null,-1)),(0,o.createElementVNode)("strong",null,(0,o.toDisplayString)(e.i18n.mobileApp.subTitle),1)]),(0,o.createElementVNode)("ul",ae,[(0,o.createElementVNode)("li",null,(0,o.toDisplayString)(e.i18n.mobileApp.list[0]),1),(0,o.createElementVNode)("li",null,(0,o.toDisplayString)(e.i18n.mobileApp.list[1]),1),(0,o.createElementVNode)("li",null,(0,o.toDisplayString)(e.i18n.mobileApp.list[2]),1)]),(0,o.createElementVNode)("div",le,[(0,o.createVNode)(a,{class:"qrcode-img",src:e.plugin_dir_url+"assets/images/qrcode.png"},null,8,["src"]),(0,o.createVNode)(a,{class:"qrcode-mobile-app",src:e.plugin_dir_url+"assets/images/mobile-app.svg"},null,8,["src"])])]),_:1}))])}],["__scopeId","data-v-2975379f"]]),_e=["href","target"],be={name:"PostSmtpButton",props:{type:{type:String,default:()=>"primary"},href:{type:String,default:()=>"#"},target:{type:String,default:()=>"_self"}},data:e=>({plugin_dir_url:e.$parent.plugin_dir_url,admin_url:e.$parent.admin_url}),computed:{class(){return`btn btn-${this.type}`}}},Se=(0,c.A)(be,[["render",function(e,t,n,s,r,i){return(0,o.openBlock)(),(0,o.createElementBlock)("div",null,[(0,o.createElementVNode)("a",{href:n.href,class:(0,o.normalizeClass)(i.class),target:n.target},[(0,o.renderSlot)(e.$slots,"default",{},void 0,!0)],10,_e)])}],["__scopeId","data-v-e27b9696"]]),we={class:"mb-24 post-smtp-selector-wrapper"},Ce=["href"],Ee={style:{"margin-bottom":"-4px"},width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},ke={name:"PostSmtpDashboard",props:{postSmtpConfigured:{type:Boolean,default:!1},isMainWpConfigured:{type:Boolean,default:!1},postSmtpPro:{type:Boolean,default:!1},postSmtpAdPosition:{type:String,default:"maximize"},isLogOnlyMode:{type:Boolean,default:!1}},data:e=>({plugin_dir_url:e.$parent.plugin_dir_url,admin_url:e.$parent.admin_url,period:"week",i18n:postSmtpNewDashboard.i18n.dashboard}),methods:{selectingDataFromDaysSelector(e){this.period=e}}},xe=(0,c.A)(ke,[["render",function(e,t,n,s,r,i){const a=(0,o.resolveComponent)("post-smtp-days-selector"),l=(0,o.resolveComponent)("post-smtp-banners"),c=(0,o.resolveComponent)("post-smtp-cards-container"),u=(0,o.resolveComponent)("post-smtp-logs-section"),p=(0,o.resolveComponent)("post-smtp-pro-features"),d=(0,o.resolveComponent)("post-smtp-guide");return(0,o.openBlock)(),(0,o.createElementBlock)("div",null,[(0,o.createElementVNode)("div",we,[(0,o.createVNode)(a,{onDaysSelectorEvent:i.selectingDataFromDaysSelector,style:{float:"left"},"post-smtp-configured":n.postSmtpConfigured},null,8,["onDaysSelectorEvent","post-smtp-configured"]),n.postSmtpConfigured||n.isMainWpConfigured?((0,o.openBlock)(),(0,o.createElementBlock)("a",{key:0,style:{float:"right"},class:"re-launch-wizard",href:e.admin_url+"?page=postman/configuration_wizard"},[((0,o.openBlock)(),(0,o.createElementBlock)("svg",Ee,[...t[0]||(t[0]=[(0,o.createElementVNode)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M12.75 7.99998C12.7504 9.03089 12.3967 10.0307 11.7483 10.8321C11.0998 11.6335 10.1958 12.188 9.1875 12.4028C8.17921 12.6176 7.12773 12.4796 6.20895 12.012C5.29017 11.5444 4.5598 10.7755 4.14 9.83397L2.749 10.399C3.30042 11.6624 4.27003 12.6975 5.49482 13.3302C6.7196 13.9629 8.12488 14.1546 9.47438 13.8731C10.8239 13.5916 12.0353 12.8541 12.905 11.7845C13.7747 10.7149 14.2497 9.37852 14.25 7.99998C14.2501 6.74771 13.8583 5.5268 13.1296 4.50837C12.4009 3.48994 11.3719 2.72503 10.1866 2.32083C9.00138 1.91664 7.71937 1.89342 6.52027 2.25443C5.32117 2.61545 4.26508 3.3426 3.5 4.33398V2.49998H2V6.49998L2.75 7.24998H6.25V5.74998H4.352C4.84711 4.89165 5.61167 4.22073 6.52705 3.84134C7.44243 3.46196 8.45744 3.39531 9.41457 3.65174C10.3717 3.90818 11.2174 4.47336 11.8205 5.25958C12.4236 6.04579 12.7503 7.00909 12.75 7.99998Z",fill:"#375CAF"},null,-1)])])),(0,o.createTextVNode)(" "+(0,o.toDisplayString)(e.i18n.relaunch),1)],8,Ce)):(0,o.createCommentVNode)("v-if",!0)]),n.postSmtpConfigured?(0,o.createCommentVNode)("v-if",!0):((0,o.openBlock)(),(0,o.createBlock)(l,{key:0,class:"mb-24","is-log-only-mode":n.isLogOnlyMode,"post-smtp-configured":n.postSmtpConfigured},null,8,["is-log-only-mode","post-smtp-configured"])),(0,o.createVNode)(c,{period:e.period,class:"mb-24","post-smtp-configured":n.postSmtpConfigured,"post-smtp-pro":n.postSmtpPro},null,8,["period","post-smtp-configured","post-smtp-pro"]),n.postSmtpConfigured?((0,o.openBlock)(),(0,o.createBlock)(l,{key:1,class:"mb-24","post-smtp-configured":n.postSmtpConfigured,"is-log-only-mode":n.isLogOnlyMode},null,8,["post-smtp-configured","is-log-only-mode"])):(0,o.createCommentVNode)("v-if",!0),(0,o.createVNode)(u,{class:"mb-24","post-smtp-configured":n.postSmtpConfigured},null,8,["post-smtp-configured"]),n.postSmtpPro?(0,o.createCommentVNode)("v-if",!0):((0,o.openBlock)(),(0,o.createBlock)(p,{key:2,class:"mb-24","post-smtp-ad-position":n.postSmtpAdPosition},null,8,["post-smtp-ad-position"])),(0,o.createVNode)(d,{class:"mb-24"})])}],["__scopeId","data-v-b8fab578"]]),Ne={props:{postSmtpConfigured:{type:Boolean,default:!1}},name:"PostSmtpDaysSelector",data:e=>({plugin_dir_url:e.$parent.plugin_dir_url,admin_url:e.$parent.admin_url,i18n:postSmtpNewDashboard.i18n.days}),methods:{daysSelectorEventHandler(e,t){e.preventDefault(),document.querySelectorAll(".days-selector").forEach(e=>{e.classList.remove("active")}),e.target.classList.add("active"),this.$emit("days-selector-event",t)}},computed:{disable_when_not_configure(){let e={wrapper:!0};return this.postSmtpConfigured||(e.disabled=!0),e}}},Te=(0,c.A)(Ne,[["render",function(e,t,n,s,r,i){return(0,o.openBlock)(),(0,o.createElementBlock)("div",{class:(0,o.normalizeClass)(i.disable_when_not_configure)},[(0,o.createElementVNode)("button",{onClick:t[0]||(t[0]=e=>i.daysSelectorEventHandler(e,"month")),class:"days-selector"},(0,o.toDisplayString)(e.i18n[0]),1),(0,o.createElementVNode)("button",{onClick:t[1]||(t[1]=e=>i.daysSelectorEventHandler(e,"week")),class:"active days-selector"},(0,o.toDisplayString)(e.i18n[1]),1),(0,o.createElementVNode)("button",{onClick:t[2]||(t[2]=e=>i.daysSelectorEventHandler(e,"day")),class:"days-selector"},(0,o.toDisplayString)(e.i18n[2]),1)],2)}],["__scopeId","data-v-0ba96be9"]]),Ve={class:"card-container"},Ae={key:0},Be={key:1},Oe={key:0,class:"post-smtp-content-lighter"},Re={key:1,class:"post-smtp-content-lighter"},De={key:0},Pe={key:1},Le={key:0,class:"post-smtp-content-lighter"},Ie={key:1,class:"post-smtp-content-lighter"},Me={key:0},Fe={key:1},$e={key:0,class:"post-smtp-content-lighter"},je={key:1,class:"post-smtp-content-lighter"},Ue={style:{"margin-bottom":"5px"},class:"pro-content-header"},He={target:"_blank",href:"https://postmansmtp.com/pricing/?utm_source=dashboard&utm_medium=pro_grid&utm_campaign=plugin"},qe={class:"pro-content"},ze={key:0},We={key:1},Ke={key:0,class:"post-smtp-content-lighter"},Je={key:1,class:"post-smtp-content-lighter"},Ze={name:"PostSmtpCardsContainer",props:{period:{type:String,default:()=>"month"},postSmtpConfigured:{type:Boolean,default:!1},postSmtpPro:{type:Boolean,default:!1}},data:e=>({plugin_dir_url:e.$parent.plugin_dir_url,admin_url:e.$parent.admin_url,totalEmails:"0",successEmails:"0",failedEmails:"0",title:"",openedEmails:"0",i18n:postSmtpNewDashboard.i18n.cards}),watch:{period(e){this.getLogsCounts(e)}},methods:{getTitle(e){switch(e){case"day":return this.i18n.days[0];case"week":return this.i18n.days[1];case"month":return this.i18n.days[2]}},getLogsCounts(e){axios.get("email-count",{params:{period:e}}).then(t=>{void 0!==t.data.count&&(this.totalEmails=t.data.count.total,this.successEmails=t.data.count.success,this.failedEmails=t.data.count.failed),this.postSmtpPro&&(this.openedEmails=t.data.count.opened||0),this.title=this.getTitle(e)})},redirectToPro(){window.open("https://postmansmtp.com/pricing/?utm_source=dashboard&utm_medium=pro_grid&utm_campaign=plugin","_blank")}},mounted(){this.getLogsCounts(this.period)}},Ge=(0,c.A)(Ze,[["render",function(e,t,n,s,r,i){const a=(0,o.resolveComponent)("post-smtp-card"),l=(0,o.resolveComponent)("post-smtp-img");return(0,o.openBlock)(),(0,o.createElementBlock)("div",Ve,[(0,o.createVNode)(a,{type:"all","is-pro":n.postSmtpPro,class:"post-smtp-card-box"},{count:(0,o.withCtx)(()=>[n.postSmtpConfigured?((0,o.openBlock)(),(0,o.createElementBlock)("div",Ae,(0,o.toDisplayString)(e.totalEmails),1)):((0,o.openBlock)(),(0,o.createElementBlock)("div",Be," 0 "))]),content:(0,o.withCtx)(()=>[(0,o.createElementVNode)("div",null,[(0,o.createTextVNode)((0,o.toDisplayString)(e.i18n.total)+" ",1),t[0]||(t[0]=(0,o.createElementVNode)("br",null,null,-1)),n.postSmtpConfigured?((0,o.openBlock)(),(0,o.createElementBlock)("span",Oe,(0,o.toDisplayString)(e.title),1)):((0,o.openBlock)(),(0,o.createElementBlock)("span",Re,"-"))])]),_:1},8,["is-pro"]),(0,o.createVNode)(a,{type:"success","is-pro":n.postSmtpPro,class:"post-smtp-card-box"},{count:(0,o.withCtx)(()=>[n.postSmtpConfigured?((0,o.openBlock)(),(0,o.createElementBlock)("div",De,(0,o.toDisplayString)(e.successEmails),1)):((0,o.openBlock)(),(0,o.createElementBlock)("div",Pe,"0"))]),content:(0,o.withCtx)(()=>[(0,o.createElementVNode)("div",null,[(0,o.createTextVNode)((0,o.toDisplayString)(e.i18n.success)+" ",1),t[1]||(t[1]=(0,o.createElementVNode)("br",null,null,-1)),n.postSmtpConfigured?((0,o.openBlock)(),(0,o.createElementBlock)("span",Le,(0,o.toDisplayString)(e.title),1)):((0,o.openBlock)(),(0,o.createElementBlock)("span",Ie,"-"))])]),_:1},8,["is-pro"]),(0,o.createVNode)(a,{type:"failed","is-pro":n.postSmtpPro,class:"post-smtp-card-box"},{count:(0,o.withCtx)(()=>[n.postSmtpConfigured?((0,o.openBlock)(),(0,o.createElementBlock)("div",Me,(0,o.toDisplayString)(e.failedEmails),1)):((0,o.openBlock)(),(0,o.createElementBlock)("div",Fe,"0"))]),content:(0,o.withCtx)(()=>[(0,o.createElementVNode)("div",null,[(0,o.createTextVNode)((0,o.toDisplayString)(e.i18n.failed)+" ",1),t[2]||(t[2]=(0,o.createElementVNode)("br",null,null,-1)),n.postSmtpConfigured?((0,o.openBlock)(),(0,o.createElementBlock)("span",$e,(0,o.toDisplayString)(e.title),1)):((0,o.openBlock)(),(0,o.createElementBlock)("span",je,"-"))])]),_:1},8,["is-pro"]),(0,o.createCommentVNode)("\tv-if=! isPro\t"),n.postSmtpPro?(0,o.createCommentVNode)("v-if",!0):((0,o.openBlock)(),(0,o.createBlock)(a,{key:0,type:"opened--pro",class:"pro-remove-margin",onClick:i.redirectToPro,style:{cursor:"pointer"}},{count:(0,o.withCtx)(()=>[(0,o.createElementVNode)("div",Ue,(0,o.toDisplayString)(e.i18n.openedPro.title),1)]),content:(0,o.withCtx)(()=>[(0,o.createVNode)(l,{style:{"margin-right":"4px","margin-bottom":"-2px"},src:e.plugin_dir_url+"assets/images/pro-lock.svg",alt:"Unlock"},null,8,["src"]),(0,o.createElementVNode)("a",He,[(0,o.createElementVNode)("span",qe,(0,o.toDisplayString)(e.i18n.openedPro.subTitle),1)])]),_:1},8,["onClick"])),(0,o.createCommentVNode)("\tv-endif\t"),n.postSmtpPro?((0,o.openBlock)(),(0,o.createBlock)(a,{key:1,type:"opened--pro","is-pro":n.postSmtpPro,class:"post-smtp-card-box"},{count:(0,o.withCtx)(()=>[n.postSmtpConfigured?((0,o.openBlock)(),(0,o.createElementBlock)("div",ze,(0,o.toDisplayString)(e.openedEmails),1)):((0,o.openBlock)(),(0,o.createElementBlock)("div",We,"0"))]),content:(0,o.withCtx)(()=>[(0,o.createElementVNode)("div",null,[(0,o.createTextVNode)((0,o.toDisplayString)(e.i18n.opened)+" ",1),t[3]||(t[3]=(0,o.createElementVNode)("br",null,null,-1)),n.postSmtpConfigured?((0,o.openBlock)(),(0,o.createElementBlock)("span",Ke,(0,o.toDisplayString)(e.title),1)):((0,o.openBlock)(),(0,o.createElementBlock)("span",Je,"-"))])]),_:1},8,["is-pro"])):(0,o.createCommentVNode)("v-if",!0)])}],["__scopeId","data-v-2dc01e40"]]),Xe=["is-pro"],Qe={class:"post-smtp-card-content-wrapper"},Ye={class:"post-smtp-image-container",style:{"margin-right":"15px"}},et={class:"post-smtp-count"},tt={class:"post-smtp-content"},nt={name:"PostSmtpCard",props:{type:{type:String,required:!0},isPro:{type:Boolean,default:!1}},data:e=>({plugin_dir_url:e.$parent.plugin_dir_url,admin_url:e.$parent.admin_url}),computed:{classes(){return{"post-smtp-card":!0,"post-smtp-card-all":"all"===this.type,"post-smtp-card-success":"success"===this.type,"post-smtp-card-failed":"failed"===this.type,"post-smtp-card-opened--pro":"opened--pro"===this.type,"post-smtp-card-pro":this.isPro}}}},ot=(0,c.A)(nt,[["render",function(e,t,n,s,r,i){return(0,o.openBlock)(),(0,o.createElementBlock)("div",{class:(0,o.normalizeClass)(i.classes),"is-pro":n.isPro},[(0,o.createElementVNode)("div",Qe,[(0,o.createElementVNode)("div",Ye,[(0,o.renderSlot)(e.$slots,"image",{},void 0,!0)]),(0,o.createElementVNode)("div",null,[(0,o.createElementVNode)("div",{class:"post-smtp-count-wrapper",style:(0,o.normalizeStyle)("margin-bottom: "+("opened--pro"===n.type?"5px":"8.36px")+";")},[(0,o.createElementVNode)("h2",et,[(0,o.renderSlot)(e.$slots,"count",{},void 0,!0)])],4),(0,o.createElementVNode)("div",null,[(0,o.createElementVNode)("p",tt,[(0,o.renderSlot)(e.$slots,"content",{},void 0,!0)])])])])],10,Xe)}],["__scopeId","data-v-3753d82c"]]),st=["href"],rt={style:{"margin-bottom":"-1px"},width:"12",height:"13",viewBox:"0 0 12 13",fill:"none",xmlns:"http://www.w3.org/2000/svg"},it=["href"],at={style:{"margin-bottom":"-4px"},width:"15",height:"16",viewBox:"0 0 15 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},lt=["href"],ct={style:{"margin-bottom":"-4px"},width:"15",height:"16",viewBox:"0 0 15 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},ut={name:"post-smtp-banners",props:{postSmtpConfigured:{type:Boolean,default:!1},isMainWpConfigured:{type:Boolean,default:!1},isLogOnlyMode:{type:Boolean,default:!1}},data:e=>({plugin_dir_url:e.$parent.plugin_dir_url,admin_url:e.$parent.admin_url,i18n:postSmtpNewDashboard.i18n.banners}),computed:{send_test_email_url(){return`${this.admin_url}?page=postman/email_test`},wizard_url(){return`${this.admin_url}?page=postman/configuration_wizard`}},mounted(){console.log(this.isLogOnlyMode)}},pt=(0,c.A)(ut,[["render",function(e,t,n,s,r,i){const a=(0,o.resolveComponent)("post-smtp-notice");return(0,o.openBlock)(),(0,o.createElementBlock)("div",null,[!n.postSmtpConfigured&&!n.isMainWpConfigured||n.isLogOnlyMode?(0,o.createCommentVNode)("v-if",!0):((0,o.openBlock)(),(0,o.createBlock)(a,{key:0,type:"success"},{title:(0,o.withCtx)(()=>[(0,o.createTextVNode)((0,o.toDisplayString)(e.i18n.configured.text),1)]),button:(0,o.withCtx)(()=>[(0,o.createElementVNode)("a",{href:i.send_test_email_url,class:"post-smtp-button"},[(0,o.createTextVNode)((0,o.toDisplayString)(e.i18n.configured.button)+" ",1),(0,o.createElementVNode)("i",null,[((0,o.openBlock)(),(0,o.createElementBlock)("svg",rt,[...t[0]||(t[0]=[(0,o.createElementVNode)("g",{"clip-path":"url(#clip0_67_1316)"},[(0,o.createElementVNode)("path",{d:"M11.8124 0.173758C11.9597 0.280901 12.02 0.423758 11.9932 0.60233L10.2789 10.888C10.2566 11.0175 10.1852 11.118 10.0646 11.1894C10.0021 11.2251 9.93293 11.243 9.85703 11.243C9.80793 11.243 9.75435 11.2318 9.69632 11.2095L6.66284 9.97063L5.0423 11.9461C4.96194 12.0488 4.85257 12.1001 4.71418 12.1001C4.65614 12.1001 4.60703 12.0912 4.56685 12.0733C4.48203 12.0421 4.41395 11.9896 4.36261 11.9159C4.31127 11.8423 4.2856 11.7608 4.2856 11.6715V9.33447L10.0713 2.24295L2.91284 8.43715L0.267747 7.35233C0.102568 7.28983 0.0132824 7.16706 -0.000110445 6.98403C-0.00903902 6.80545 0.0623896 6.67376 0.214175 6.58894L11.357 0.160366C11.424 0.120187 11.4954 0.100098 11.5713 0.100098C11.6606 0.100098 11.741 0.124651 11.8124 0.173758Z",fill:"white"})],-1),(0,o.createElementVNode)("defs",null,[(0,o.createElementVNode)("clipPath",{id:"clip0_67_1316"},[(0,o.createElementVNode)("rect",{width:"12",height:"12",fill:"white",transform:"translate(0 0.100098)"})])],-1)])]))])],8,st)]),_:1})),n.postSmtpConfigured||n.isMainWpConfigured||n.isLogOnlyMode?(0,o.createCommentVNode)("v-if",!0):((0,o.openBlock)(),(0,o.createBlock)(a,{key:1,type:"warning"},{title:(0,o.withCtx)(()=>[(0,o.createTextVNode)((0,o.toDisplayString)(e.i18n.notConfigured.text),1)]),button:(0,o.withCtx)(()=>[(0,o.createElementVNode)("a",{href:i.wizard_url,class:"post-smtp-button"},[(0,o.createTextVNode)((0,o.toDisplayString)(e.i18n.notConfigured.button)+" ",1),(0,o.createElementVNode)("i",null,[((0,o.openBlock)(),(0,o.createElementBlock)("svg",at,[...t[1]||(t[1]=[(0,o.createElementVNode)("path",{d:"M8.293 2.79303C8.48053 2.60556 8.73484 2.50024 9 2.50024C9.26516 2.50024 9.51947 2.60556 9.707 2.79303L14.207 7.29303C14.3945 7.48056 14.4998 7.73487 14.4998 8.00003C14.4998 8.26519 14.3945 8.5195 14.207 8.70703L9.707 13.207C9.5184 13.3892 9.2658 13.49 9.0036 13.4877C8.7414 13.4854 8.49059 13.3803 8.30518 13.1948C8.11977 13.0094 8.0146 12.7586 8.01233 12.4964C8.01005 12.2342 8.11084 11.9816 8.293 11.793L11 9.00003H1.5C1.23478 9.00003 0.98043 8.89467 0.792893 8.70714C0.605357 8.5196 0.5 8.26525 0.5 8.00003C0.5 7.73481 0.605357 7.48046 0.792893 7.29292C0.98043 7.10539 1.23478 7.00003 1.5 7.00003H11L8.293 4.20703C8.10553 4.0195 8.00021 3.76519 8.00021 3.50003C8.00021 3.23487 8.10553 2.98056 8.293 2.79303Z",fill:"#EEEEEE"},null,-1)])]))])],8,it)]),_:1})),n.isLogOnlyMode?((0,o.openBlock)(),(0,o.createBlock)(a,{key:2,type:"warning"},{title:(0,o.withCtx)(()=>[(0,o.createTextVNode)((0,o.toDisplayString)(e.i18n.isLogOnly.text),1)]),button:(0,o.withCtx)(()=>[(0,o.createElementVNode)("a",{href:i.wizard_url,class:"post-smtp-button"},[(0,o.createTextVNode)((0,o.toDisplayString)(e.i18n.isLogOnly.button)+" ",1),(0,o.createElementVNode)("i",null,[((0,o.openBlock)(),(0,o.createElementBlock)("svg",ct,[...t[2]||(t[2]=[(0,o.createElementVNode)("path",{d:"M8.293 2.79303C8.48053 2.60556 8.73484 2.50024 9 2.50024C9.26516 2.50024 9.51947 2.60556 9.707 2.79303L14.207 7.29303C14.3945 7.48056 14.4998 7.73487 14.4998 8.00003C14.4998 8.26519 14.3945 8.5195 14.207 8.70703L9.707 13.207C9.5184 13.3892 9.2658 13.49 9.0036 13.4877C8.7414 13.4854 8.49059 13.3803 8.30518 13.1948C8.11977 13.0094 8.0146 12.7586 8.01233 12.4964C8.01005 12.2342 8.11084 11.9816 8.293 11.793L11 9.00003H1.5C1.23478 9.00003 0.98043 8.89467 0.792893 8.70714C0.605357 8.5196 0.5 8.26525 0.5 8.00003C0.5 7.73481 0.605357 7.48046 0.792893 7.29292C0.98043 7.10539 1.23478 7.00003 1.5 7.00003H11L8.293 4.20703C8.10553 4.0195 8.00021 3.76519 8.00021 3.50003C8.00021 3.23487 8.10553 2.98056 8.293 2.79303Z",fill:"#EEEEEE"},null,-1)])]))])],8,lt)]),_:1})):(0,o.createCommentVNode)("v-if",!0)])}],["__scopeId","data-v-b0a24b2e"]]),dt={class:"post-smtp-notice-wrapper"},ft={class:"post-smtp-notice-content"},ht={class:"post-smtp-notice-icon"},mt={key:0,style:{"margin-bottom":"-5px"},width:"16",height:"17",viewBox:"0 0 16 17",fill:"none",xmlns:"http://www.w3.org/2000/svg"},gt={key:1,style:{"margin-bottom":"-2px"},width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},yt={name:"postSmtpNotice",props:{type:{type:String,required:!0}},data:e=>({plugin_dir_url:e.$parent.plugin_dir_url,admin_url:e.$parent.admin_url}),computed:{classes(){return{"post-smtp-notice":!0,"post-smtp-notice-success":"success"===this.type,"post-smtp-notice-error":"error"===this.type,"post-smtp-notice-warning":"warning"===this.type}}}},vt=(0,c.A)(yt,[["render",function(e,t,n,s,r,i){return(0,o.openBlock)(),(0,o.createElementBlock)("div",dt,[(0,o.createElementVNode)("div",{class:(0,o.normalizeClass)(i.classes)},[(0,o.createElementVNode)("div",null,[(0,o.createElementVNode)("p",ft,[(0,o.createElementVNode)("span",ht,["success"===n.type?((0,o.openBlock)(),(0,o.createElementBlock)("svg",mt,[...t[0]||(t[0]=[(0,o.createElementVNode)("path",{d:"M8 0.100098C3.58 0.100098 0 3.6801 0 8.1001C0 12.5201 3.58 16.1001 8 16.1001C12.42 16.1001 16 12.5201 16 8.1001C16 3.6801 12.42 0.100098 8 0.100098ZM7.385 12.7601H6.045L2.805 8.2201L4.145 6.9701L6.715 9.3701L11.855 3.4401L13.195 4.3801L7.385 12.7601Z",fill:"#6EB68B"},null,-1)])])):(0,o.createCommentVNode)("v-if",!0),"warning"===n.type?((0,o.openBlock)(),(0,o.createElementBlock)("svg",gt,[...t[1]||(t[1]=[(0,o.createElementVNode)("path",{d:"M8 0C12.42 0 16 3.58 16 8C16 12.42 12.42 16 8 16C3.58 16 0 12.42 0 8C0 3.58 3.58 0 8 0ZM13 11L10 8L13 5L11 3L8 6L5 3L3 5L6 8L3 11L5 13L8 10L11 13L13 11Z",fill:"#CF6969"},null,-1)])])):(0,o.createCommentVNode)("v-if",!0)]),(0,o.createElementVNode)("strong",null,[(0,o.renderSlot)(e.$slots,"title",{},void 0,!0)]),(0,o.renderSlot)(e.$slots,"message",{},void 0,!0)])]),(0,o.createElementVNode)("div",null,[(0,o.renderSlot)(e.$slots,"button",{},void 0,!0)])],2)])}],["__scopeId","data-v-d473dc1c"]]),_t={class:"post-smtp-logs-wrapper"},bt={class:"post-smtp-logs-header"},St={class:"float-left"},wt={class:"float-right"},Ct=["href"],Et={class:"post-smtp-logs-body"},kt={key:0},xt={style:{"text-align":"left",width:"253px"}},Nt={style:{"text-align":"left",width:"233.01px"}},Tt={style:{"text-align":"left",width:"192.99px"}},Vt={style:{"text-align":"left",width:"173px"}},At={class:"post-smtp-status-wrapper"},Bt={key:0,class:"post-smtp-status post-smtp-success"},Ot={key:1,style:{"background-color":"#ffa500",color:"#ffffff"},class:"post-smtp-status"},Rt={key:2,class:"post-smtp-status post-smtp-failed"},Dt={key:1,class:"post-smtp-logs-empty"},Pt={class:"post-smtp-logs-content"},Lt={key:0,class:"post-smtp-logs-footer"},It=["href"],Mt={name:"PostSmtpLogsSection",props:{postSmtpConfigured:{type:Boolean,default:!1}},data:e=>({plugin_dir_url:e.$parent.plugin_dir_url,admin_url:e.$parent.admin_url,i18n:postSmtpNewDashboard.i18n.logs,logs:[]}),watch:{},computed:{is_post_smtp_logs_are_ready(){return this.logs.length},get_logs_url(){return`${this.admin_url}?page=postman_email_log`},wizard_url(){return`${this.admin_url}?page=postman/configuration_wizard`}},methods:{get_logs(){axios.get("get-logs").then(e=>{this.logs=e.data.logs})},getLatestLogs(){this.get_logs()},showHideLogActionMenu:e=>({display:e.show_log_menu?"block":"none"})},mounted(){this.get_logs(),document.body.addEventListener("click",e=>{e.target.closest(".email-menu-wrapper")||this.logs.forEach(e=>{e.show_log_menu=!1})})}},Ft=(0,c.A)(Mt,[["render",function(e,t,n,s,r,i){const a=(0,o.resolveComponent)("post-smtp-log-action-menu");return(0,o.openBlock)(),(0,o.createElementBlock)("div",_t,[(0,o.createElementVNode)("div",bt,[(0,o.createElementVNode)("div",St,[(0,o.createElementVNode)("h2",null,(0,o.toDisplayString)(e.i18n.title),1)]),(0,o.createElementVNode)("div",wt,[(0,o.createElementVNode)("a",{href:i.get_logs_url},(0,o.toDisplayString)(e.i18n.button),9,Ct)])]),(0,o.createElementVNode)("div",Et,[i.is_post_smtp_logs_are_ready?((0,o.openBlock)(),(0,o.createElementBlock)("table",kt,[(0,o.createElementVNode)("thead",null,[(0,o.createElementVNode)("tr",null,[(0,o.createElementVNode)("th",xt,(0,o.toDisplayString)(e.i18n.headers[0]),1),(0,o.createElementVNode)("th",Nt,(0,o.toDisplayString)(e.i18n.headers[1]),1),(0,o.createElementVNode)("th",Tt,(0,o.toDisplayString)(e.i18n.headers[2]),1),(0,o.createElementVNode)("th",Vt,(0,o.toDisplayString)(e.i18n.headers[3]),1)])]),(0,o.createElementVNode)("tbody",null,[((0,o.openBlock)(!0),(0,o.createElementBlock)(o.Fragment,null,(0,o.renderList)(e.logs,t=>((0,o.openBlock)(),(0,o.createElementBlock)("tr",{key:t.id},[(0,o.createElementVNode)("td",null,(0,o.toDisplayString)(t.subject),1),(0,o.createElementVNode)("td",null,(0,o.toDisplayString)(t.sent_to),1),(0,o.createElementVNode)("td",null,(0,o.toDisplayString)(t.delivery_time),1),(0,o.createElementVNode)("td",null,[(0,o.createElementVNode)("div",At,["success"===t.status?((0,o.openBlock)(),(0,o.createElementBlock)("span",Bt,(0,o.toDisplayString)(e.i18n.success),1)):(0,o.createCommentVNode)("v-if",!0),"in_queue"===t.status?((0,o.openBlock)(),(0,o.createElementBlock)("span",Ot,"In Queue")):(0,o.createCommentVNode)("v-if",!0),"failed"===t.status?((0,o.openBlock)(),(0,o.createElementBlock)("span",Rt,(0,o.toDisplayString)(e.i18n.failed),1)):(0,o.createCommentVNode)("v-if",!0),(0,o.createVNode)(a,{onEmailTriggered:i.getLatestLogs,item:t,"dynamic-id":t.id},null,8,["onEmailTriggered","item","dynamic-id"])])])]))),128))])])):((0,o.openBlock)(),(0,o.createElementBlock)("div",Dt,[t[0]||(t[0]=(0,o.createStaticVNode)('
',1)),(0,o.createElementVNode)("div",Pt,[(0,o.createElementVNode)("h3",null,(0,o.toDisplayString)(e.i18n.noLogs.title),1),(0,o.createElementVNode)("p",null,(0,o.toDisplayString)(e.i18n.noLogs.description),1)]),n.postSmtpConfigured?(0,o.createCommentVNode)("v-if",!0):((0,o.openBlock)(),(0,o.createElementBlock)("div",Lt,[(0,o.createElementVNode)("a",{href:i.wizard_url},(0,o.toDisplayString)(e.i18n.notConfigured),9,It)]))]))])])}],["__scopeId","data-v-82c3bb58"]]),$t={class:"post-smtp-link"},jt={class:"post-smtp-link"},Ut={class:"post-smtp-link"},Ht={key:0,class:"post-smtp-link"},qt={key:0,class:"post-smtp-error-details"},zt={class:"post-smtp-details-wrapper"},Wt={key:0,style:{width:"100%",height:"calc( 100% - 25px )",position:"absolute",top:"25px",left:"0",display:"flex","justify-content":"center","align-items":"center"}},Kt={key:1},Jt={key:2},Zt={key:3},Gt={class:"post-smtp--headers"},Xt=["innerHTML"],Qt=["innerHTML"],Yt=["innerHTML"],en=["innerHTML"],tn=["innerHTML"],nn=["src"],on={key:4},sn={class:"resend-email-wrapper"},rn={class:"form-group"},an={for:"email"},ln={class:"description",style:{"margin-bottom":"15px"}},cn={name:"PostSmtpLogActionMenu",props:{item:{type:Object,required:!0},dynamicId:{type:String,required:!0}},data:e=>({plugin_dir_url:e.$parent.plugin_dir_url,admin_url:e.$parent.admin_url,i18n:postSmtpNewDashboard.i18n.logActionMenu,show_popup:!1,show_error:!1,show_view:!1,show_transcript:!1,resend_email:!1,session_transcript:"Loading...",content_loading:!1,message_object:{from:"",to:"",date:"",subject:"",delivery_uri:"",message_url:""},sent_to:"",open_action_menu:!1}),watch:{show_popup(e){e||(this.show_error=!1,this.show_view=!1,this.show_transcript=!1,this.resend_email=!1,this.open_action_menu=!1,this.session_transcript="Loading...",this.message_object.from="",this.message_object.to="",this.message_object.date="",this.message_object.subject="",this.message_object.delivery_uri="",this.message_object.message_url="",this.$emit("close-log-menu",this.item))}},computed:{showHidePopup(){return{display:this.show_popup?"block":"none"}},showHideActionMenu(){return{display:this.open_action_menu?"block":"none"}}},methods:{viewDetails(e,t){e.preventDefault(),this.$nextTick(()=>{this.show_popup=!0,"resend_email"!==t?"show_error"!==t&&this.$nextTick(()=>{this.getDetails(t)}):this.sent_to=this.item.sent_to,this[t]=!0}).then(()=>{})},closeDetails(e){e.preventDefault(),this.show_popup=!1},getDetails(e){return this.content_loading=!0,axios.get("get-details",{params:{id:this.item.id,type:e}}).then(t=>{if(this.content_loading=!1,"show_transcript"===e)this.session_transcript=t.data.details.session_transcript;else if("show_view"===e){let e=t.data.details;this.message_object.from=e.from_header,this.message_object.to=e.to_header,this.message_object.date=e.time,this.message_object.subject=e.original_subject,this.message_object.delivery_uri=e.transport_uri,this.message_object.message_url=e.log_url}this[e]=!0})},resendEmail(e){e.preventDefault(),axios.post("resend-email",{id:this.item.id,sent_to:this.sent_to}).then(e=>{this.show_popup=!1,this.$emit("email-triggered",e.data.details)})},openActionMenu(e){this.open_action_menu=!this.open_action_menu}},mounted(){document.body.addEventListener("click",e=>{e.target.closest(".log-action-menu-wrapper-"+this.dynamicId)||(this.open_action_menu=!1)})}},un=(0,c.A)(cn,[["render",function(e,t,n,s,r,i){return(0,o.openBlock)(),(0,o.createElementBlock)("div",{class:(0,o.normalizeClass)(`log-action-menu-wrapper log-action-menu-wrapper-${n.dynamicId}`)},[(0,o.createElementVNode)("div",{class:"post-smtp-log-action-menu-wrapper",style:(0,o.normalizeStyle)(i.showHideActionMenu)},[(0,o.createElementVNode)("div",$t,[(0,o.createElementVNode)("a",{onClick:t[0]||(t[0]=e=>i.viewDetails(e,"show_view")),href:"#"},[t[8]||(t[8]=(0,o.createElementVNode)("i",null,[(0,o.createElementVNode)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[(0,o.createElementVNode)("path",{d:"M7.99999 6C7.46956 6 6.96085 6.21071 6.58578 6.58579C6.2107 6.96086 5.99999 7.46957 5.99999 8C5.99999 8.53043 6.2107 9.03914 6.58578 9.41421C6.96085 9.78929 7.46956 10 7.99999 10C8.53042 10 9.03913 9.78929 9.4142 9.41421C9.78928 9.03914 9.99999 8.53043 9.99999 8C9.99999 7.46957 9.78928 6.96086 9.4142 6.58579C9.03913 6.21071 8.53042 6 7.99999 6ZM7.99999 11.3333C7.11594 11.3333 6.26809 10.9821 5.64297 10.357C5.01785 9.7319 4.66666 8.88406 4.66666 8C4.66666 7.11595 5.01785 6.2681 5.64297 5.64298C6.26809 5.01786 7.11594 4.66667 7.99999 4.66667C8.88405 4.66667 9.73189 5.01786 10.357 5.64298C10.9821 6.2681 11.3333 7.11595 11.3333 8C11.3333 8.88406 10.9821 9.7319 10.357 10.357C9.73189 10.9821 8.88405 11.3333 7.99999 11.3333ZM7.99999 3C4.66666 3 1.81999 5.07333 0.666656 8C1.81999 10.9267 4.66666 13 7.99999 13C11.3333 13 14.18 10.9267 15.3333 8C14.18 5.07333 11.3333 3 7.99999 3Z",fill:"#231F20"})])],-1)),(0,o.createTextVNode)(" "+(0,o.toDisplayString)(e.i18n.action.view),1)])]),(0,o.createElementVNode)("div",jt,[(0,o.createElementVNode)("a",{href:"#",onClick:t[1]||(t[1]=e=>i.viewDetails(e,"resend_email"))},[t[9]||(t[9]=(0,o.createElementVNode)("i",null,[(0,o.createElementVNode)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[(0,o.createElementVNode)("path",{d:"M1.34001 14L15.3333 8L1.34001 2L1.33334 6.66667L11.3333 8L1.33334 9.33333L1.34001 14Z",fill:"#231F20"})])],-1)),(0,o.createTextVNode)(" "+(0,o.toDisplayString)(e.i18n.action.resend),1)])]),(0,o.createElementVNode)("div",Ut,[(0,o.createElementVNode)("a",{onClick:t[2]||(t[2]=e=>i.viewDetails(e,"show_transcript")),href:"#"},[t[10]||(t[10]=(0,o.createStaticVNode)('',1)),(0,o.createTextVNode)(" "+(0,o.toDisplayString)(e.i18n.action.transcript),1)])]),"failed"===n.item.status?((0,o.openBlock)(),(0,o.createElementBlock)("div",Ht,[(0,o.createElementVNode)("a",{onClick:t[3]||(t[3]=e=>i.viewDetails(e,"show_error")),href:"#"},[t[11]||(t[11]=(0,o.createElementVNode)("i",null,[(0,o.createElementVNode)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[(0,o.createElementVNode)("path",{d:"M0.666656 14H15.3333L7.99999 1.33331L0.666656 14ZM8.66666 12H7.33332V10.6666H8.66666V12ZM8.66666 9.33331H7.33332V6.66665H8.66666V9.33331Z",fill:"#231F20"})])],-1)),(0,o.createTextVNode)(" "+(0,o.toDisplayString)(e.i18n.action.details),1)])])):(0,o.createCommentVNode)("v-if",!0)],4),e.show_popup?((0,o.openBlock)(),(0,o.createElementBlock)("div",qt,[(0,o.createElementVNode)("div",zt,[(0,o.createElementVNode)("a",{class:"post-smtp-close-button",onClick:t[4]||(t[4]=(...e)=>i.closeDetails&&i.closeDetails(...e)),href:"#"},"×"),e.content_loading?((0,o.openBlock)(),(0,o.createElementBlock)("div",Wt,[...t[12]||(t[12]=[(0,o.createElementVNode)("div",null,"loading...",-1)])])):(0,o.createCommentVNode)("v-if",!0),e.show_error?((0,o.openBlock)(),(0,o.createElementBlock)("div",Kt,(0,o.toDisplayString)(n.item.error),1)):(0,o.createCommentVNode)("v-if",!0),e.show_transcript?((0,o.openBlock)(),(0,o.createElementBlock)("div",Jt,(0,o.toDisplayString)(e.session_transcript),1)):(0,o.createCommentVNode)("v-if",!0),e.show_view?((0,o.openBlock)(),(0,o.createElementBlock)("div",Zt,[(0,o.createElementVNode)("div",Gt,[(0,o.createElementVNode)("table",null,[(0,o.createElementVNode)("tbody",null,[(0,o.createElementVNode)("tr",null,[(0,o.createElementVNode)("td",null,[(0,o.createElementVNode)("strong",null,(0,o.toDisplayString)(e.i18n.headers.from)+": ",1)]),(0,o.createElementVNode)("td",{innerHTML:e.message_object.from},null,8,Xt)]),(0,o.createElementVNode)("tr",null,[(0,o.createElementVNode)("td",null,[(0,o.createElementVNode)("strong",null,(0,o.toDisplayString)(e.i18n.headers.to)+": ",1)]),(0,o.createElementVNode)("td",{innerHTML:e.message_object.to},null,8,Qt)]),(0,o.createElementVNode)("tr",null,[(0,o.createElementVNode)("td",null,[(0,o.createElementVNode)("strong",null,(0,o.toDisplayString)(e.i18n.headers.date)+": ",1)]),(0,o.createElementVNode)("td",{innerHTML:e.message_object.date},null,8,Yt)]),(0,o.createElementVNode)("tr",null,[(0,o.createElementVNode)("td",null,[(0,o.createElementVNode)("strong",null,(0,o.toDisplayString)(e.i18n.headers.subject)+": ",1)]),(0,o.createElementVNode)("td",{innerHTML:e.message_object.subject},null,8,en)]),(0,o.createElementVNode)("tr",null,[(0,o.createElementVNode)("td",null,[(0,o.createElementVNode)("strong",null,(0,o.toDisplayString)(e.i18n.headers.deliveryURI)+": ",1)]),(0,o.createElementVNode)("td",{innerHTML:e.message_object.delivery_uri},null,8,tn)])])]),t[13]||(t[13]=(0,o.createElementVNode)("hr",null,null,-1)),(0,o.createElementVNode)("div",null,[(0,o.createElementVNode)("iframe",{width:"100%",height:"310px",src:e.message_object.message_url},null,8,nn)])])])):(0,o.createCommentVNode)("v-if",!0),e.resend_email?((0,o.openBlock)(),(0,o.createElementBlock)("div",on,[(0,o.createElementVNode)("div",sn,[(0,o.createElementVNode)("div",rn,[(0,o.createElementVNode)("label",an,(0,o.toDisplayString)(e.i18n.resendEmail.emailAddress),1),(0,o.withDirectives)((0,o.createElementVNode)("textarea",{"onUpdate:modelValue":t[5]||(t[5]=t=>e.sent_to=t),class:"form-control"},(0,o.toDisplayString)(n.item.sent_to),513),[[o.vModelText,e.sent_to]]),(0,o.createElementVNode)("p",ln,[(0,o.createElementVNode)("strong",null,(0,o.toDisplayString)(e.i18n.resendEmail.description),1)]),(0,o.createElementVNode)("button",{onClick:t[6]||(t[6]=e=>i.resendEmail(e)),class:"post-smtp-button primary"},(0,o.toDisplayString)(e.i18n.resendEmail.button),1)])])])):(0,o.createCommentVNode)("v-if",!0)])])):(0,o.createCommentVNode)("v-if",!0),(0,o.createElementVNode)("div",{onClick:t[7]||(t[7]=()=>i.openActionMenu(n.item)),class:"email-menu-wrapper"},[...t[14]||(t[14]=[(0,o.createElementVNode)("span",{class:"email-menu-action"},null,-1),(0,o.createElementVNode)("span",{class:"email-menu-action"},null,-1),(0,o.createElementVNode)("span",{class:"email-menu-action"},null,-1)])])],2)}],["__scopeId","data-v-1121e3a1"]]),pn={class:"header"},dn={key:0,class:"body"},fn={key:0},hn={key:1,class:"create-container"},mn={class:"block-content"},gn=["innerHTML"],yn={key:0,class:"footer"},vn={name:"postSmtpProFeatures",props:{postSmtpAdPosition:{type:String,default:"maximize"}},data:e=>({i18n:postSmtpNewDashboard.i18n.proFeatures,plugin_dir_url:e.$parent.plugin_dir_url,admin_url:e.$parent.admin_url,is_bcfm:postSmtpNewDashboard.is_bfcm,click_link:"",features:[{title:postSmtpNewDashboard.i18n.proFeatures.list[0],img:"pro-schedule-icon.svg",has_container:!0},{title:postSmtpNewDashboard.i18n.proFeatures.list[1],img:"pro-reporting-icon.svg",has_container:!0},{title:postSmtpNewDashboard.i18n.proFeatures.list[2],img:"pro-log-icon.svg",has_container:!1},{title:postSmtpNewDashboard.i18n.proFeatures.list[3],img:"pro-sms-icon.svg",has_container:!1},{title:postSmtpNewDashboard.i18n.proFeatures.list[4],img:"pro-resend-icon.svg",has_container:!0},{title:postSmtpNewDashboard.i18n.proFeatures.list[5],img:"pro-365-icon.svg",has_container:!1},{title:postSmtpNewDashboard.i18n.proFeatures.list[6],img:"pro-amazon-icon.svg",has_container:!1},{title:postSmtpNewDashboard.i18n.proFeatures.list[7],img:"pro-zoho-icon.svg",has_container:!1}],minimize_ad:"minimize"===e.postSmtpAdPosition}),methods:{addLineBreak:e=>e.replace(/\r\n/g,"f)for(;u<=d;)H(e[u],s,r,!0),u++;else{const h=u,m=u,g=new Map;for(u=m;u<=f;u++){const e=t[u]=c?Ri(t[u]):Oi(t[u]);null!=e.key&&g.set(e.key,u)}let y,_=0;const b=f-m+1;let S=!1,w=0;const C=new Array(b);for(u=0;u=b){H(o,s,r,!0);continue}let i;if(null!=o.key)i=g.get(o.key);else for(y=m;y<=f;y++)if(0===C[y-m]&&Si(o,t[y])){i=y;break}void 0===i?H(o,s,r,!0):(C[i-m]=u+1,i>=w?w=i:S=!0,v(o,t[i],n,null,s,r,a,l,c),_++)}const E=S?function(e){const t=e.slice(),n=[0];let o,s,r,i,a;const l=e.length;for(o=0;o {const{el:a,type:l,transition:c,children:u,shapeFlag:p}=e;if(6&p)U(e.component.subTree,t,s,r);else if(128&p)e.suspense.move(t,s,r);else if(64&p)l.move(e,t,s,Q);else if(l!==ii)if(l!==ci)if(2!==r&&1&p&&c)if(0===r)c.beforeEnter(a),n(a,t,s),wr(()=>c.enter(a),i);else{const{leave:r,delayLeave:i,afterLeave:l}=c,u=()=>{e.ctx.isUnmounted?o(a):n(a,t,s)},p=()=>{a._isLeaving&&a[oo](!0),r(a,()=>{u(),l&&l()})};i?i(a,u,p):p()}else n(a,t,s);else(({el:e,anchor:t},o,s)=>{let r;for(;e&&e!==t;)r=m(e),n(e,o,s),e=r;n(t,o,s)})(e,t,s);else{n(a,t,s);for(let e=0;e0;)if(o=n[s],t===o.toLowerCase())return o;return null}const O="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:n.g,R=e=>!f(e)&&e!==O,D=(P="undefined"!=typeof Uint8Array&&r(Uint8Array),e=>P&&e instanceof P);var P;const L=u("HTMLFormElement"),I=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),M=u("RegExp"),F=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),o={};A(n,(n,s)=>{let r;!1!==(r=t(n,s,e))&&(o[s]=r||n)}),Object.defineProperties(e,o)},$=u("AsyncFunction"),j=(U="function"==typeof setImmediate,H=y(O.postMessage),U?setImmediate:H?(q=`axios@${Math.random()}`,z=[],O.addEventListener("message",({source:e,data:t})=>{e===O&&t===q&&z.length&&z.shift()()},!1),e=>{z.push(e),O.postMessage(q,"*")}):e=>setTimeout(e));var U,H,q,z;const W="undefined"!=typeof queueMicrotask?queueMicrotask.bind(O):"undefined"!=typeof process&&process.nextTick||j;var K={isArray:d,isArrayBuffer:m,isBuffer:h,isFormData:e=>{let t;return e&&("function"==typeof FormData&&e instanceof FormData||y(e.append)&&("formdata"===(t=l(e))||"object"===t&&y(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){let t;return t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&m(e.buffer),t},isString:g,isNumber:v,isBoolean:e=>!0===e||!1===e,isObject:_,isPlainObject:b,isEmptyObject:e=>{if(!_(e)||h(e))return!1;try{return 0===Object.keys(e).length&&Object.getPrototypeOf(e)===Object.prototype}catch(e){return!1}},isReadableStream:x,isRequest:N,isResponse:T,isHeaders:V,isUndefined:f,isDate:S,isFile:w,isBlob:C,isRegExp:M,isFunction:y,isStream:e=>_(e)&&y(e.pipe),isURLSearchParams:k,isTypedArray:D,isFileList:E,forEach:A,merge:function e(){const{caseless:t,skipUndefined:n}=R(this)&&this||{},o={},s=(s,r)=>{const i=t&&B(o,r)||r;b(o[i])&&b(s)?o[i]=e(o[i],s):b(s)?o[i]=e({},s):d(s)?o[i]=s.slice():n&&f(s)||(o[i]=s)};for(let e=0,t=arguments.length;e{t(function(e){return K.matchAll(/\w+|\[(\w*)]/g,e).map(e=>"[]"===e[0]?"":e[1]||e[0])}(e),o,n,0)}),n}return null}const ye={transitional:le,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const n=t.getContentType()||"",o=n.indexOf("application/json")>-1,s=K.isObject(e);if(s&&K.isHTMLForm(e)&&(e=new FormData(e)),K.isFormData(e))return o?JSON.stringify(ge(e)):e;if(K.isArrayBuffer(e)||K.isBuffer(e)||K.isStream(e)||K.isFile(e)||K.isBlob(e)||K.isReadableStream(e))return e;if(K.isArrayBufferView(e))return e.buffer;if(K.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let r;if(s){if(n.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return te(e,new me.classes.URLSearchParams,{visitor:function(e,t,n,o){return me.isNode&&K.isBuffer(e)?(this.append(t,e.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)},...t})}(e,this.formSerializer).toString();if((r=K.isFileList(e))||n.indexOf("multipart/form-data")>-1){const t=this.env&&this.env.FormData;return te(r?{"files[]":e}:e,t&&new t,this.formSerializer)}}return s||o?(t.setContentType("application/json",!1),function(e){if(K.isString(e))try{return(0,JSON.parse)(e),K.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){const t=this.transitional||ye.transitional,n=t&&t.forcedJSONParsing,o="json"===this.responseType;if(K.isResponse(e)||K.isReadableStream(e))return e;if(e&&K.isString(e)&&(n&&!this.responseType||o)){const n=!(t&&t.silentJSONParsing)&&o;try{return JSON.parse(e,this.parseReviver)}catch(e){if(n){if("SyntaxError"===e.name)throw J.from(e,J.ERR_BAD_RESPONSE,this,null,this.response);throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:me.classes.FormData,Blob:me.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};K.forEach(["delete","get","head","post","put","patch"],e=>{ye.headers[e]={}});var ve=ye;const _e=K.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),be=Symbol("internals");function Se(e){return e&&String(e).trim().toLowerCase()}function we(e){return!1===e||null==e?e:K.isArray(e)?e.map(we):String(e)}function Ce(e,t,n,o,s){return K.isFunction(o)?o.call(this,t,n):(s&&(t=n),K.isString(t)?K.isString(o)?-1!==t.indexOf(o):K.isRegExp(o)?o.test(t):void 0:void 0)}class Ee{constructor(e){e&&this.set(e)}set(e,t,n){const o=this;function s(e,t,n){const s=Se(t);if(!s)throw new Error("header name must be a non-empty string");const r=K.findKey(o,s);(!r||void 0===o[r]||!0===n||void 0===n&&!1!==o[r])&&(o[r||t]=we(e))}const r=(e,t)=>K.forEach(e,(e,n)=>s(e,n,t));if(K.isPlainObject(e)||e instanceof this.constructor)r(e,t);else if(K.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim()))r((e=>{const t={};let n,o,s;return e&&e.split("\n").forEach(function(e){s=e.indexOf(":"),n=e.substring(0,s).trim().toLowerCase(),o=e.substring(s+1).trim(),!n||t[n]&&_e[n]||("set-cookie"===n?t[n]?t[n].push(o):t[n]=[o]:t[n]=t[n]?t[n]+", "+o:o)}),t})(e),t);else if(K.isObject(e)&&K.isIterable(e)){let n,o,s={};for(const t of e){if(!K.isArray(t))throw TypeError("Object iterator must return a key-value pair");s[o=t[0]]=(n=s[o])?K.isArray(n)?[...n,t[1]]:[n,t[1]]:t[1]}r(s,t)}else null!=e&&s(t,e,n);return this}get(e,t){if(e=Se(e)){const n=K.findKey(this,e);if(n){const e=this[n];if(!t)return e;if(!0===t)return function(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let o;for(;o=n.exec(e);)t[o[1]]=o[2];return t}(e);if(K.isFunction(t))return t.call(this,e,n);if(K.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=Se(e)){const n=K.findKey(this,e);return!(!n||void 0===this[n]||t&&!Ce(0,this[n],n,t))}return!1}delete(e,t){const n=this;let o=!1;function s(e){if(e=Se(e)){const s=K.findKey(n,e);!s||t&&!Ce(0,n[s],s,t)||(delete n[s],o=!0)}}return K.isArray(e)?e.forEach(s):s(e),o}clear(e){const t=Object.keys(this);let n=t.length,o=!1;for(;n--;){const s=t[n];e&&!Ce(0,this[s],s,e,!0)||(delete this[s],o=!0)}return o}normalize(e){const t=this,n={};return K.forEach(this,(o,s)=>{const r=K.findKey(n,s);if(r)return t[r]=we(o),void delete t[s];const i=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,t,n)=>t.toUpperCase()+n)}(s):String(s).trim();i!==s&&delete t[s],t[i]=we(o),n[i]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return K.forEach(this,(n,o)=>{null!=n&&!1!==n&&(t[o]=e&&K.isArray(n)?n.join(", "):n)}),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,t])=>e+": "+t).join("\n")}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){const n=new this(e);return t.forEach(e=>n.set(e)),n}static accessor(e){const t=(this[be]=this[be]={accessors:{}}).accessors,n=this.prototype;function o(e){const o=Se(e);t[o]||(function(e,t){const n=K.toCamelCase(" "+t);["get","set","has"].forEach(o=>{Object.defineProperty(e,o+n,{value:function(e,n,s){return this[o].call(this,t,e,n,s)},configurable:!0})})}(n,e),t[o]=!0)}return K.isArray(e)?e.forEach(o):o(e),this}}Ee.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),K.reduceDescriptors(Ee.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[n]=e}}}),K.freezeMethods(Ee);var ke=Ee;function xe(e,t){const n=this||ve,o=t||n,s=ke.from(o.headers);let r=o.data;return K.forEach(e,function(e){r=e.call(n,r,s.normalize(),t?t.status:void 0)}),s.normalize(),r}function Ne(e){return!(!e||!e.__CANCEL__)}function Te(e,t,n){J.call(this,null==e?"canceled":e,J.ERR_CANCELED,t,n),this.name="CanceledError"}function Ve(e,t,n){const o=n.config.validateStatus;n.status&&o&&!o(n.status)?t(new J("Request failed with status code "+n.status,[J.ERR_BAD_REQUEST,J.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}K.inherits(Te,J,{__CANCEL__:!0});const Ae=(e,t,n=3)=>{let o=0;const s=function(e,t){e=e||10;const n=new Array(e),o=new Array(e);let s,r=0,i=0;return t=void 0!==t?t:1e3,function(a){const l=Date.now(),c=o[i];s||(s=l),n[r]=a,o[r]=l;let u=i,p=0;for(;u!==r;)p+=n[u++],u%=e;if(r=(r+1)%e,r===i&&(i=(i+1)%e),l-s