import{v as g,u as C}from"./index.684c656d.js";import{u as k}from"./GoogleSearchConsole.db401329.js";import{u as W}from"./Wizard.e3a4915e.js";import{c as y}from"./Caret.2e43336b.js";import{S as x}from"./ConnectGoogleSearchConsole.784c127b.js";import{W as b,a as A,b as B}from"./Header.829e3e0f.js";import{W as G}from"./CloseAndExit.9fc4db78.js";import{_ as L}from"./Steps.3fa298a6.js";import{_ as T}from"./_plugin-vue_export-helper.eefbdd86.js";import{u as F}from"./SetupWizardStore.8ebf5e53.js";import{d as N,H as o,w as i,y as t,o as P,e,a as n,t as r}from"./runtime-dom.esm-bundler.d8b05b6d.js";import"./default-i18n.20001971.js";import"./helpers.2304d5ee.js";import"./translations.d159963e.js";import"./addons.20532c13.js";import"./upperFirst.d10eb25f.js";import"./toString.ddc58e67.js";import"./Logo.1d87eeb5.js";import"./Index.f979fbbe.js";const V={setup(){const{strings:l}=W({stage:"search-console"}),{connect:_,loading:d,strings:c}=k({returnTo:"setup-wizard"});return{composableStrings:g(l,c),connect:_,loading:d,optionsStore:C(),setupWizardStore:F()}},components:{SvgCircleCheck:y,SvgConnectGoogleSearchConsole:x,WizardBody:b,WizardCloseAndExit:G,WizardContainer:A,WizardHeader:B,WizardSteps:L},data(){return{strings:g(this.composableStrings,{})}},methods:{saveAndConnect(){this.loading=!0,this.setupWizardStore.saveWizard("searchConsole").then(()=>{this.connect()})},skipStep(){this.setupWizardStore.saveWizard(),this.$router.push(this.setupWizardStore.getNextLink)}}},E={class:"aioseo-wizard-search-console"},H={class:"header"},D={class:"aioseo-wizard-search-console__panel"},O={class:"aioseo-wizard-search-console__image"},R={class:"aioseo-wizard-search-console__content"},U={class:"aioseo-wizard-search-console__content-text"},Y={class:"aioseo-wizard-search-console__content-list"},j={class:"go-back"},q=e("div",{class:"spacer"},null,-1);function I(l,_,d,c,s,p){const h=t("wizard-header"),z=t("wizard-steps"),f=t("svg-connect-google-search-console"),a=t("svg-circle-check"),u=t("router-link"),m=t("base-button"),S=t("wizard-body"),v=t("wizard-close-and-exit"),w=t("wizard-container");return P(),N("div",E,[o(h),o(w,null,{default:i(()=>[o(S,null,{footer:i(()=>[e("div",j,[o(u,{to:c.setupWizardStore.getPrevLink,class:"no-underline"},{default:i(()=>[n("←")]),_:1},8,["to"]),n("   "),o(u,{to:c.setupWizardStore.getPrevLink},{default:i(()=>[n(r(s.strings.goBack),1)]),_:1},8,["to"])]),q,o(m,{type:"gray",onClick:p.skipStep},{default:i(()=>[n(r(s.strings.skipThisStep),1)]),_:1},8,["onClick"]),o(m,{type:"blue",loading:c.loading,onClick:p.saveAndConnect},{default:i(()=>[n(r(s.strings.connectToGoogleSearchConsole)+" →",1)]),_:1},8,["loading","onClick"])]),default:i(()=>[o(z),e("div",H,r(s.strings.connectToGoogleSearchConsole),1),e("div",D,[e("div",O,[o(f)]),e("div",R,[e("div",U,r(s.strings.syncYourSiteWithGsc),1),e("ul",Y,[e("li",null,[o(a),n(" "+r(s.strings.gscFeature1),1)]),e("li",null,[o(a),n(" "+r(s.strings.gscFeature2),1)]),e("li",null,[o(a),n(" "+r(s.strings.gscFeature3),1)]),e("li",null,[o(a),n(" "+r(s.strings.gscFeature4),1)])])])])]),_:1}),o(v)]),_:1})])}const uo=T(V,[["render",I]]);export{uo as default};
