import{u as x,d as h}from"./vue-router.ad00dfec.js";import{J as A,u as R}from"./index.681f720c.js";import{a as n}from"./addons.f0fb0b6d.js";import{u as $,a as b}from"./RequiresUpdate.14b42be3.js";import{C as y}from"./Index.4f41faeb.js";import{_ as i}from"./_plugin-vue_export-helper.eefbdd86.js";import{o,c as s,f as m,k as S,H as w,m as L,u,l as M,v as T}from"./runtime-dom.esm-bundler.5d5e6b71.js";import _ from"./Overview.efe204f6.js";import"./translations.d159963e.js";import{_ as B}from"./default-i18n.20001971.js";import"./helpers.e8ba8937.js";import"./upperFirst.555c1a56.js";import"./toString.6346a2b4.js";import"./RequiresUpdate.48f9783d.js";import"./license.85061030.js";import"./allowed.980a2e7b.js";/* empty css             */import"./params.af7ed354.js";import"./Tabs.6e7f902f.js";import"./Caret.202f7c21.js";import"./ProBadge.aeac9858.js";import"./Information.3b2ed489.js";import"./Slide.a525748d.js";import"./Header.3435b07a.js";import"./ScrollAndHighlight.a4f2cc11.js";import"./ScrollTo.81bea8a7.js";import"./LicenseKeyBar.fef34a92.js";import"./LogoGear.4749bc9b.js";import"./AnimatedNumber.cc7d07cd.js";import"./numbers.9fc174f3.js";import"./Logo.a44a17ba.js";import"./index.e5bcd650.js";import"./Support.9fe5eb28.js";import"./date.b84c8300.js";import"./datetime.f197aeae.js";import"./constants.fe8bda37.js";import"./Url.b0b6e9e3.js";import"./Exclamation.991934cc.js";import"./Gear.de600e87.js";import"./AddonConditions.1eda5567.js";import"./Index.755a5d26.js";import"./Row.aff98451.js";import"./Blur.4fe4b9a3.js";import"./Card.9816f16f.js";import"./Tooltip.418c677c.js";import"./InternalOutbound.649b4901.js";import"./External.10aa7540.js";import"./SeoSiteScore.6514ce11.js";import"./DonutChartWithLegend.e59b7f95.js";import"./DonutChart.d528c6ed.js";import"./Loading.28c36947.js";import"./Row.e2b90b2a.js";import"./RequiredPlans.91265b27.js";const C={};function U(e,r){return o(),s("div")}const q=i(C,[["render",U]]),D={};function E(e,r){return o(),s("div")}const N=i(D,[["render",E]]),P={};function V(e,r){return o(),s("div")}const H=i(P,[["render",V]]),J={};function j(e,r){return o(),s("div")}const z=i(J,[["render",j]]),F={class:"aioseo-link-assistant"},Gt={__name:"Main",setup(e){const r="all-in-one-seo-pack",t=x(),c=h(),l=m(()=>t.name==="overview"?_:t.name==="domains-report"?q:t.name==="links-report"?N:t.name==="post-report"?H:t.name==="settings"?z:_),{getExcludedActivationTabs:f}=$(),{getExcludedUpdateTabs:d}=b(),g={pageName:B("Link Assistant",r)},k=m(()=>{const p=(n.isActive("aioseo-link-assistant")?d(c,"aioseo-link-assistant"):f(c,"aioseo-link-assistant"))||[];return p.push("post-report"),p}),a=A(),v=R();return S(()=>{window.aioseoBus.$on("changes-saved",()=>{a.getMenuData()}),v.isPro&&a.suggestionsScan.percent!==100&&n.isActive("aioseo-link-assistant")&&!n.requiresUpgrade("aioseo-link-assistant")&&n.hasMinimumVersion("aioseo-link-assistant")&&a.pollSuggestionsScan()}),(p,G)=>(o(),s("div",F,[w(u(y),{"page-name":g.pageName,"exclude-tabs":k.value,showTabs:u(t).name!=="post-report"},{default:L(()=>[(o(),M(T(l.value)))]),_:1},8,["page-name","exclude-tabs","showTabs"])]))}};export{Gt as default};
