import{a as v,h as W,o as m}from"./links.C2upUfsO.js";import"./default-i18n.Bd0Z306Z.js";import{x as t,c as k,C as o,m as i,o as w,a as e,D as n,t as r}from"./vue.esm-bundler.CWQFYt9y.js";import{_ as y}from"./_plugin-vue_export-helper.BN1snXvA.js";import{u as x}from"./SearchConsole.BtS7LhMi.js";import{u as b,W as A}from"./Wizard.ByE1XH4H.js";import{G}from"./GoogleSearchConsole.DUPkNCf_.js";import{c as B}from"./Caret.iRBf3wcH.js";import{S as L}from"./ConnectGoogleSearchConsole.BMK0wnTZ.js";import{W as T,a as F,b as N}from"./Header.YiwE45vq.js";import{W as P}from"./CloseAndExit.GcRy9J7M.js";import{_ as V}from"./Steps.-uw_KNXv.js";import"./helpers.D2xRWOvn.js";import"./addons.BNPuHzyp.js";import"./upperFirst.CP4N4hLd.js";import"./_stringToArray.DnK4tKcY.js";import"./toString.XwB3Xa5p.js";import"./Logo.DoVR4qom.js";import"./Index.CI2PYaF7.js";const D={setup(){const c=b(),l=x();return{optionsStore:v(),setupWizardStore:W(),composableStrings:m(c.strings,l.strings)}},components:{SvgCircleCheck:B,SvgConnectGoogleSearchConsole:L,WizardBody:T,WizardCloseAndExit:P,WizardContainer:F,WizardHeader:N,WizardSteps:V},mixins:[A,G],data(){return{stage:"search-console",returnTo:"setup-wizard",strings:m(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"},O={class:"aioseo-wizard-search-console__panel"},R={class:"aioseo-wizard-search-console__image"},U={class:"aioseo-wizard-search-console__content"},Y={class:"aioseo-wizard-search-console__content-text"},j={class:"aioseo-wizard-search-console__content-list"},q={class:"go-back"},I=e("div",{class:"spacer"},null,-1);function J(c,l,K,_,s,d){const g=t("wizard-header"),h=t("wizard-steps"),z=t("svg-connect-google-search-console"),a=t("svg-circle-check"),p=t("router-link"),u=t("base-button"),f=t("wizard-body"),S=t("wizard-close-and-exit"),C=t("wizard-container");return w(),k("div",E,[o(g),o(C,null,{default:i(()=>[o(f,null,{footer:i(()=>[e("div",q,[o(p,{to:_.setupWizardStore.getPrevLink,class:"no-underline"},{default:i(()=>[n("←")]),_:1},8,["to"]),n("   "),o(p,{to:_.setupWizardStore.getPrevLink},{default:i(()=>[n(r(s.strings.goBack),1)]),_:1},8,["to"])]),I,o(u,{type:"gray",onClick:d.skipStep},{default:i(()=>[n(r(s.strings.skipThisStep),1)]),_:1},8,["onClick"]),o(u,{type:"blue",loading:c.loading,onClick:d.saveAndConnect},{default:i(()=>[n(r(s.strings.connectToGoogleSearchConsole)+" →",1)]),_:1},8,["loading","onClick"])]),default:i(()=>[o(h),e("div",H,r(s.strings.connectToGoogleSearchConsole),1),e("div",O,[e("div",R,[o(z)]),e("div",U,[e("div",Y,r(s.strings.syncYourSiteWithGsc),1),e("ul",j,[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(S)]),_:1})])}const go=y(D,[["render",J]]);export{go as default};
