import{w,z as C}from"./app-core.52885c02.js";import{u as W}from"./GoogleSearchConsole.0cd32601.js";import{u as y}from"./Wizard.5456e943.js";import{a as x}from"./Pencil.886eeda5.js";import{S as b}from"./ConnectGoogleSearchConsole.549e6bcf.js";import{W as A,a as L,b as B}from"./Header.b2a7b267.js";import{W as G}from"./CloseAndExit.ef8a7cb6.js";import{_ as T}from"./Steps.8965cfd2.js";import{_ as F}from"./_plugin-vue_export-helper.eefbdd86.js";import{m}from"./vendor-lodash.b9aaf385.js";import{an as t,f as N,i as P,a0 as o,R as a,j as e,U as n,ae as r}from"./vendor-vue-ui.c21c50b5.js";import"./vendor-other.ec82d685.js";import"./Logo.86ae80d5.js";import"./Index.191558ff.js";import"./Close.4a8424fd.js";const V={setup(){const{strings:c}=y({stage:"search-console"}),{connect:i,loading:d,strings:l}=W({returnTo:"setup-wizard"});return{composableStrings:m(c,l),connect:i,loading:d,optionsStore:C(),setupWizardStore:w()}},components:{SvgCircleCheck:x,SvgConnectGoogleSearchConsole:b,WizardBody:B,WizardCloseAndExit:G,WizardContainer:L,WizardHeader:A,WizardSteps:T},data(){return{strings:m(this.composableStrings,{})}},methods:{saveAndConnect(){this.loading=!0,this.setupWizardStore.saveWizard("searchConsole").then(()=>{this.connect()})},skipStep(){const c=this.setupWizardStore.getNextLink;this.setupWizardStore.currentStage=c.name,this.setupWizardStore.saveWizard().then(()=>{this.$router.push(c)})}}},E={class:"aioseo-wizard-search-console"},R={class:"header"},U={class:"aioseo-wizard-search-console__panel"},j={class:"aioseo-wizard-search-console__image"},D={class:"aioseo-wizard-search-console__content"},H={class:"aioseo-wizard-search-console__content-text"},O={class:"aioseo-wizard-search-console__content-list"},Y={class:"go-back"};function q(c,i,d,l,s,u){const h=t("wizard-header"),z=t("wizard-steps"),f=t("svg-connect-google-search-console"),_=t("svg-circle-check"),p=t("router-link"),g=t("base-button"),S=t("wizard-body"),v=t("wizard-close-and-exit"),k=t("wizard-container");return N(),P("div",E,[o(h),o(k,null,{default:a(()=>[o(S,null,{footer:a(()=>[e("div",Y,[o(p,{to:l.setupWizardStore.getPrevLink,class:"no-underline"},{default:a(()=>[...i[0]||(i[0]=[r("←",-1)])]),_:1},8,["to"]),i[1]||(i[1]=r("   ",-1)),o(p,{to:l.setupWizardStore.getPrevLink},{default:a(()=>[r(n(s.strings.goBack),1)]),_:1},8,["to"])]),i[2]||(i[2]=e("div",{class:"spacer"},null,-1)),o(g,{type:"gray",onClick:u.skipStep},{default:a(()=>[r(n(s.strings.skipThisStep),1)]),_:1},8,["onClick"]),o(g,{type:"blue",loading:l.loading,onClick:u.saveAndConnect},{default:a(()=>[r(n(s.strings.connectToGoogleSearchConsole)+" →",1)]),_:1},8,["loading","onClick"])]),default:a(()=>[o(z),e("div",R,n(s.strings.connectToGoogleSearchConsole),1),e("div",U,[e("div",j,[o(f)]),e("div",D,[e("div",H,n(s.strings.syncYourSiteWithGsc),1),e("ul",O,[e("li",null,[o(_),r(" "+n(s.strings.gscFeature1),1)]),e("li",null,[o(_),r(" "+n(s.strings.gscFeature2),1)]),e("li",null,[o(_),r(" "+n(s.strings.gscFeature3),1)]),e("li",null,[o(_),r(" "+n(s.strings.gscFeature4),1)])])])])]),_:1}),o(v)]),_:1})])}const ao=F(V,[["render",q]]);export{ao as default};
