import{y as t,w as i,p as s,b as a,z as n,h as p}from"./app-core.fa86622d.js";import m from"./AdditionalInformation.21d240e4.js";import c from"./Category.99ba8fd9.js";import l from"./Features.09ff15cd.js";import u from"./Import.3215bb6b.js";import _ from"./LicenseKey.e6084d52.js";import f from"./SearchAppearance.4a4eba65.js";import S from"./SearchConsole.95e6cc2d.js";import d from"./SmartRecommendations.cf511d24.js";import h from"./Success.276a9f4c.js";import g from"./Welcome.c708b5fb.js";import{_ as y}from"./_plugin-vue_export-helper.eefbdd86.js";import{f as z,Q as w,S as x}from"./vendor-vue-ui.ad4935f9.js";import"./vendor-other.835e467b.js";import"./vendor-lodash.45e85310.js";import"./vendor-phone.2d68da8f.js";import"./Wizard.8346bef6.js";import"./RadioToggle.b6362be8.js";import"./HtmlTagsEditor.5752f0f7.js";import"./Editor.689eaad3.js";import"./vendor-quill.d288b31f.js";import"./Input.a5933210.js";import"./Index.3b124722.js";import"./Close.8e99996b.js";import"./Pencil.8f53e16a.js";import"./Trash.49bbc1a8.js";import"./Caret.d3343e56.js";import"./UnfilteredHtml.b30239a9.js";import"./vendor-emoji.92c96208.js";import"./ImageUploader.53e86315.js";import"./Button.aa421c00.js";import"./Img.93307c5c.js";import"./Plus.67d59660.js";import"./SocialProfiles.85d90890.js";import"./Checkbox.850765ce.js";import"./Checkmark.39a3e934.js";import"./Textarea.400c2538.js";import"./SettingsRow.603a6032.js";import"./Row.5037f897.js";import"./Facebook.aeba6942.js";import"./Twitter.c182d347.js";import"./Header.4e132a8a.js";import"./Logo.e396c83a.js";import"./CloseAndExit.89fb0169.js";import"./Index.10560bb6.js";import"./Steps.3f2158dd.js";import"./HighlightToggle.019c7500.js";import"./Radio.08721189.js";import"./ImageSeo.827e13be.js";import"./ProBadge.f78ad48f.js";import"./MaxCounts.4e8a0190.js";import"./GoogleSearchPreview.095a6039.js";import"./Globe.8c74686a.js";import"./Url.4c4a862a.js";import"./PostTypeOptions.423b023b.js";import"./PostTypes.d0efd79c.js";import"./Tooltip.2fa6a359.js";import"./GoogleSearchConsole.13ad4a5f.js";import"./ConnectGoogleSearchConsole.9ec0c47b.js";import"./Exclamation.dcc79491.js";const W={setup(){return{licenseStore:p(),optionsStore:n(),rootStore:a(),searchStatisticsStore:s(),setupWizardStore:i()}},components:{AdditionalInformation:m,Category:c,Features:l,Import:u,LicenseKey:_,SearchAppearance:f,SearchConsole:S,SmartRecommendations:d,Success:h,Welcome:g},methods:{deleteStage(e){const o=this.setupWizardStore.stages.findIndex(r=>e===r);o!==-1&&this.setupWizardStore.stages.splice(o,1)}},mounted(){if(this.optionsStore.internalOptions.internal.wizard){const e=JSON.parse(this.optionsStore.internalOptions.internal.wizard);delete e.currentStage,delete e.stages,delete e.licenseKey,this.setupWizardStore.loadState(e)}this.setupWizardStore.shouldShowImportStep||this.deleteStage("import"),t("aioseo_search_appearance_settings")||this.deleteStage("category"),!t("aioseo_search_appearance_settings")&&!t("aioseo_social_networks_settings")&&this.deleteStage("additional-information"),t("aioseo_feature_manager_settings")||this.deleteStage("features"),!t("aioseo_search_appearance_settings")&&!t("aioseo_general_settings")&&this.deleteStage("search-appearance"),this.licenseStore.isUnlicensed||this.deleteStage("license-key"),(this.searchStatisticsStore.isConnected||!t("aioseo_general_settings")&&!t("aioseo_sitemap_settings")&&!t("aioseo_search_statistics_settings"))&&this.deleteStage("search-console"),this.rootStore.isPro&&this.deleteStage("smart-recommendations")}};function $(e,o,r,A,k,C){return z(),w(x(e.$route.name))}const Pt=y(W,[["render",$]]);export{Pt as default};
