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