import{E as g,e as k}from"./index.4b887428.js";import{u as w}from"./GoogleSearchConsole.6d009df7.js";import{u as W}from"./Wizard.9389f313.js";import{a as y}from"./Pencil.d82df6a1.js";import{S as x}from"./ConnectGoogleSearchConsole.9bacc118.js";import{W as b,a as A,b as B}from"./Header.b394e22f.js";import{W as G}from"./CloseAndExit.2ea40092.js";import{_ as L}from"./Steps.2d99e187.js";import{_ as T}from"./_plugin-vue_export-helper.eefbdd86.js";import{u as F}from"./SetupWizardStore.f23d0bfe.js";import{c as N,l as o,a2 as i,a6 as t,o as E,_ as e,a7 as n,$ as r}from"./runtime-core.esm-bundler.ce5add0b.js";import"./default-i18n.65d58dd6.js";import"./helpers.633a054c.js";import"./translations.e71e2202.js";import"./addons.9cee8bbb.js";import"./upperFirst.5dc701f8.js";import"./Logo.3715aad2.js";import"./Index.25ae8dfb.js";import"./Close.ccd53ef3.js";import"./runtime-dom.esm-bundler.dc49ee3e.js";const P={setup(){const{strings:l}=W({stage:"search-console"}),{connect:_,loading:d,strings:c}=w({returnTo:"setup-wizard"});return{composableStrings:g(l,c),connect:_,loading:d,optionsStore:k(),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)}}},V={class:"aioseo-wizard-search-console"},D={class:"header"},H={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"),C=t("wizard-container");return E(),N("div",V,[o(h),o(C,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",D,r(s.strings.connectToGoogleSearchConsole),1),e("div",H,[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 mo=T(P,[["render",I]]);export{mo as default};
