import{b as v}from"./WpTable.4d19dc46.js";import"./default-i18n.ab92175e.js";import"./constants.7044c894.js";import{_ as g,r as l,o as t,c as r,t as s,g as _,h as C,w as n,e as d,f as a,d as u,a as k}from"./_plugin-vue_export-helper.2d9794a3.js";import"./index.02a5ed9a.js";import"./SaveChanges.bc66cd69.js";import{a as b,d as w}from"./vuex.esm-bundler.8589b2dd.js";const S={mixins:[v]},z={class:"aioseo-wizard-close-and-exit"},A=["href"],M={class:"aioseo-modal-body"},T=["innerHTML"],B={class:"actions"};function E(e,o,m,f,$,p){const h=l("svg-close"),c=l("base-button"),y=l("core-modal");return t(),r("div",z,[e.$isPro||e.$aioseo.options.advanced.usageTracking?(t(),r("a",{key:0,href:e.$aioseo.urls.aio.dashboard},s(e.strings.closeAndExit),9,A)):(t(),r("a",{key:1,href:"#",onClick:o[0]||(o[0]=_(i=>e.showModal=!0,["prevent"]))},s(e.strings.closeAndExit),1)),e.showModal&&!e.$isPro?(t(),C(y,{key:2,onClose:o[3]||(o[3]=i=>e.showModal=!1)},{header:n(()=>[d(s(e.strings.buildABetterAioseo)+" ",1),a("button",{class:"close",onClick:o[2]||(o[2]=_(i=>e.showModal=!1,["stop"]))},[u(h,{onClick:o[1]||(o[1]=i=>e.showModal=!1)})])]),body:n(()=>[a("div",M,[a("div",{class:"reset-description",innerHTML:e.strings.getImprovedFeatures},null,8,T),a("div",B,[u(c,{tag:"a",href:e.$aioseo.urls.aio.dashboard,type:"gray",size:"medium"},{default:n(()=>[d(s(e.strings.noThanks),1)]),_:1},8,["href"]),u(c,{type:"blue",size:"medium",loading:e.loading,onClick:e.processOptIn},{default:n(()=>[d(s(e.strings.yesCountMeIn),1)]),_:1},8,["loading","onClick"])])])]),_:1})):k("",!0)])}const G=g(S,[["render",E]]);const L={computed:{...b("wizard",["currentStage"]),...w("wizard",["getCurrentStageCount","getTotalStageCount"]),getSteps(){return this.$t.sprintf(this.$t.__("Step %1$s of %2$s",this.$td),this.getCurrentStageCount,this.getTotalStageCount)}}},N={class:"aioseo-wizard-steps"};function V(e,o,m,f,$,p){return t(),r("div",N,s(p.getSteps),1)}const O=g(L,[["render",V]]);export{G as W,O as a};
