import{u as v,d as h}from"./vue-router.2f910c93.js";import{I as A,u as R}from"./index.7377ee90.js";import{a as n}from"./addons.e43aad76.js";import{u as y,a as $}from"./RequiresUpdate.f634e7bc.js";import{C as b}from"./Index.6ba9a361.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.b59f30a9.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.20dcd723.js";import"./license.bf6b339a.js";import"./allowed.783682a3.js";/* empty css             */import"./params.af7ed354.js";import"./Tabs.dfb0f423.js";import"./Caret.a21d4ca8.js";import"./ProBadge.751e0b85.js";import"./Information.13e8cece.js";import"./Slide.39c07c03.js";import"./Header.9d792d70.js";import"./LicenseKeyBar.6bd51ab4.js";import"./ScrollTo.81bea8a7.js";import"./LogoGear.cb664d3b.js";import"./AnimatedNumber.f1ad3fb5.js";import"./numbers.9fc174f3.js";import"./Logo.6c9d2b19.js";import"./index.b359096c.js";import"./Support.e867db75.js";import"./date.a0d85d51.js";import"./datetime.f197aeae.js";import"./constants.a8a14dc3.js";import"./Url.4b1a190e.js";import"./Exclamation.22e53a8b.js";import"./Gear.bd4e1565.js";import"./AddonConditions.95ee0498.js";import"./Index.a76253da.js";import"./Row.df38a5f6.js";import"./Blur.edde4939.js";import"./Card.7fa0e19d.js";import"./Tooltip.73441134.js";import"./InternalOutbound.8d129cbf.js";import"./External.3b8c2917.js";import"./SeoSiteScore.90a1fb7f.js";import"./AnalyzerStore.5ef6efc0.js";import"./DonutChartWithLegend.28d3472c.js";import"./Row.2a867ba6.js";import"./RequiredPlans.7b1460e1.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};
