import{q as g,c as k}from"./index.21ff19c6.js";import{u as w}from"./GoogleSearchConsole.33c9b38b.js";import{u as W}from"./Wizard.ddddde96.js";import{a as y}from"./Caret.cc16468c.js";import{S as x}from"./ConnectGoogleSearchConsole.8bc61ac5.js";import{W as b,a as A,b as B}from"./Header.ddc12cfe.js";import{W as G}from"./CloseAndExit.eb2637cd.js";import{_ as L}from"./Steps.984c8370.js";import{_ as T}from"./_plugin-vue_export-helper.eefbdd86.js";import{u as F}from"./SetupWizardStore.2f8477b8.js";import{c as N,H as o,m as i,x as t,o as P,a as e,y as n,t as r}from"./runtime-dom.esm-bundler.c4caba60.js";import"./default-i18n.20001971.js";import"./helpers.a0b389be.js";import"./translations.d159963e.js";import"./addons.c91345f3.js";import"./upperFirst.9d3c89a3.js";import"./toString.1e64e8a6.js";import"./Logo.b10fde65.js";import"./Index.1a44e730.js";const V={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)}}},E={class:"aioseo-wizard-search-console"},H={class:"header"},q={class:"aioseo-wizard-search-console__panel"},D={class:"aioseo-wizard-search-console__image"},O={class:"aioseo-wizard-search-console__content"},R={class:"aioseo-wizard-search-console__content-text"},U={class:"aioseo-wizard-search-console__content-list"},Y={class:"go-back"},j=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 P(),N("div",E,[o(h),o(C,null,{default:i(()=>[o(S,null,{footer:i(()=>[e("div",Y,[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"])]),j,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",q,[e("div",D,[o(f)]),e("div",O,[e("div",R,r(s.strings.syncYourSiteWithGsc),1),e("ul",U,[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};
