import{_,o as t,c as o,a as u,e as i,f as g,F as m,G as v,B as y,r as l,d}from"./_plugin-vue_export-helper.a81c6319.js";import{c as h}from"./vuex.esm-bundler.55d3d5b3.js";import{S as $}from"./Logo.c7083a99.js";const C={},z={class:"aioseo-wizard-body"},S={class:"body-content"},w={key:0,class:"cta"},x={class:"body-footer"};function A(e,s){return t(),o("div",z,[u("div",S,[i(e.$slots,"default")]),e.$slots.cta?(t(),o("div",w,[i(e.$slots,"cta")])):g("",!0),u("div",x,[i(e.$slots,"footer")])])}const R=_(C,[["render",A]]);const B={},W={class:"aioseo-wizard-container"};function b(e,s){return t(),o("div",W,[i(e.$slots,"default")])}const U=_(B,[["render",b]]);const k={props:{steps:{type:Array,required:!0}},computed:{getSteps(){const e={spacer:!0};return[...this.steps].map((s,r)=>r<this.steps.length-1?[s,{...e}]:[s]).reduce((s,r)=>s.concat(r))}},methods:{getActiveClass(e,s){return e.spacer?!!this.getSteps[s+1].active:e.active}}},L={class:"aioseo-wizard-progress"};function N(e,s,r,p,f,a){return t(),o("div",L,[(t(!0),o(m,null,v(a.getSteps,(n,c)=>(t(),o("div",{key:c,class:y([{circle:!n.spacer},{spacer:n.spacer},{active:a.getActiveClass(n,c)}])},null,2))),128))])}const P=_(k,[["render",N]]);const V={components:{SvgAioseoLogo:$,WizardProgress:P},computed:{...h("wizard",["getCurrentStageCount","getTotalStageCount"]),steps(){const e=[];for(let s=0;s<this.getTotalStageCount;s++)s<this.getCurrentStageCount?e.push({active:!0}):e.push({active:!1});return e}}},F={class:"aioseo-wizard-header"},G={class:"logo"};function H(e,s,r,p,f,a){const n=l("svg-aioseo-logo"),c=l("wizard-progress");return t(),o("div",F,[u("div",G,[d(n)]),d(c,{steps:a.steps},null,8,["steps"])])}const j=_(V,[["render",H]]);export{R as W,U as a,j as b};
