import{a as v,h as W,o as m}from"./links.DERf9LZO.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.BxfpC6TN.js";import{u as b,W as A}from"./Wizard.4aKJS9IK.js";import{G}from"./GoogleSearchConsole.rwIIAZhN.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.D0Z_979D.js";import{W as P}from"./CloseAndExit.Ccind1q5.js";import{_ as V}from"./Steps.BYrfZ6LD.js";import"./helpers.D2xRWOvn.js";import"./addons.JFEbod-N.js";import"./upperFirst.CP4N4hLd.js";import"./_stringToArray.DnK4tKcY.js";import"./toString.XwB3Xa5p.js";import"./Logo.DoVR4qom.js";import"./Index.AHxBjomD.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};
