import{u as v,h as W,p as m}from"./links.DYfvsp_u.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.DqIKZLqK.js";import{_ as y}from"./_plugin-vue_export-helper.BN1snXvA.js";import{u as x}from"./SearchConsole.3jAbPwck.js";import{u as b,W as A}from"./Wizard.B1yrgHtY.js";import{G}from"./GoogleSearchConsole.CuL57yEJ.js";import{c as B}from"./Caret.CE8P-qnG.js";import{S as L}from"./ConnectGoogleSearchConsole.DlOOzsvz.js";import{W as T,a as F,b as N}from"./Header.BFsAjAvv.js";import{W as P}from"./CloseAndExit.Ddpfj5X5.js";import{_ as V}from"./Steps.CjET4rCx.js";import"./helpers.Ccl21t4W.js";import"./addons.qvyITi11.js";import"./upperFirst.BADaHsnX.js";import"./_stringToArray.DnK4tKcY.js";import"./toString.C7L0MmPq.js";import"./Logo.OekohoeO.js";import"./Index.Dq2Y3sD9.js";const D={setup(){const a=b(),l=x();return{optionsStore:v(),setupWizardStore:W(),composableStrings:m(a.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(a,l,K,_,s,p){const g=t("wizard-header"),h=t("wizard-steps"),z=t("svg-connect-google-search-console"),c=t("svg-circle-check"),d=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(d,{to:_.setupWizardStore.getPrevLink,class:"no-underline"},{default:i(()=>[n("←")]),_:1},8,["to"]),n("   "),o(d,{to:_.setupWizardStore.getPrevLink},{default:i(()=>[n(r(s.strings.goBack),1)]),_:1},8,["to"])]),I,o(u,{type:"gray",onClick:p.skipStep},{default:i(()=>[n(r(s.strings.skipThisStep),1)]),_:1},8,["onClick"]),o(u,{type:"blue",loading:a.loading,onClick:p.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(c),n(" "+r(s.strings.gscFeature1),1)]),e("li",null,[o(c),n(" "+r(s.strings.gscFeature2),1)]),e("li",null,[o(c),n(" "+r(s.strings.gscFeature3),1)]),e("li",null,[o(c),n(" "+r(s.strings.gscFeature4),1)])])])])]),_:1}),o(S)]),_:1})])}const go=y(D,[["render",J]]);export{go as default};
