import{u as v,d as h}from"./vue-router.2f910c93.js";import{I as A,u as R}from"./index.a87126ce.js";import{a as n}from"./addons.dc226733.js";import{u as y,a as $}from"./RequiresUpdate.7205fef6.js";import{C as b}from"./Index.c3566421.js";import{_ as i}from"./_plugin-vue_export-helper.eefbdd86.js";import{o,c as s,f as m,y as S,C as w,l as C,u,k as L,q as M}from"./runtime-dom.esm-bundler.5c3c7d72.js";import _ from"./Overview.f309b2ee.js";import"./translations.d159963e.js";import{_ as T}from"./default-i18n.20001971.js";import"./helpers.53868b98.js";import"./upperFirst.2cd99bdd.js";import"./_stringToArray.f9ddb970.js";import"./toString.f0787db8.js";import"./RequiresUpdate.c2e20f78.js";import"./license.d747bfcd.js";import"./allowed.ab723907.js";/* empty css             */import"./params.af7ed354.js";import"./Tabs.7c14121d.js";import"./Caret.d9cc70ba.js";import"./ProBadge.751e0b85.js";import"./Information.13e8cece.js";import"./Slide.39c07c03.js";import"./Header.328e2f25.js";import"./LicenseKeyBar.669e450f.js";import"./ScrollTo.81bea8a7.js";import"./LogoGear.cb664d3b.js";import"./AnimatedNumber.f1ad3fb5.js";import"./numbers.9fc174f3.js";import"./Logo.6c9d2b19.js";import"./index.1f3cb1fa.js";import"./Support.e867db75.js";import"./date.6089ddf7.js";import"./datetime.f197aeae.js";import"./constants.1ec71a84.js";import"./Url.e5c2ac01.js";import"./Exclamation.22e53a8b.js";import"./Gear.bd4e1565.js";import"./AddonConditions.d752aadc.js";import"./Index.ac5cec7c.js";import"./Row.df38a5f6.js";import"./Blur.edde4939.js";import"./Card.eb2e90c7.js";import"./Tooltip.73441134.js";import"./InternalOutbound.8d129cbf.js";import"./External.3b8c2917.js";import"./SeoSiteScore.a202ba55.js";import"./AnalyzerStore.9a0a800c.js";import"./DonutChartWithLegend.28d3472c.js";import"./Row.2a867ba6.js";import"./RequiredPlans.1d9170ab.js";const q={};function B(e,r){return o(),s("div")}const U=i(q,[["render",B]]),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 I=i(P,[["render",V]]),j={};function z(e,r){return o(),s("div")}const F=i(j,[["render",z]]),G={class:"aioseo-link-assistant"},Gt={__name:"Main",setup(e){const r="all-in-one-seo-pack",t=v(),p=h(),l=m(()=>t.name==="overview"?_:t.name==="domains-report"?U:t.name==="links-report"?N:t.name==="post-report"?I:t.name==="settings"?F:_),{getExcludedActivationTabs:f}=y(),{getExcludedUpdateTabs:d}=$(),g={pageName:T("Link Assistant",r)},k=m(()=>{const c=(n.isActive("aioseo-link-assistant")?d(p,"aioseo-link-assistant"):f(p,"aioseo-link-assistant"))||[];return c.push("post-report"),c}),a=A(),x=R();return S(()=>{window.aioseoBus.$on("changes-saved",()=>{a.getMenuData()}),x.isPro&&a.suggestionsScan.percent!==100&&n.isActive("aioseo-link-assistant")&&!n.requiresUpgrade("aioseo-link-assistant")&&n.hasMinimumVersion("aioseo-link-assistant")&&a.pollSuggestionsScan()}),(c,H)=>(o(),s("div",G,[w(u(b),{"page-name":g.pageName,"exclude-tabs":k.value,showTabs:u(t).name!=="post-report"},{default:C(()=>[(o(),L(M(l.value)))]),_:1},8,["page-name","exclude-tabs","showTabs"])]))}};export{Gt as default};
