import{u as v,d as h}from"./vue-router.CGjDmB5N.js";import{N as A,u as R}from"./index.ByF2aI-G.js";import{a as n}from"./addons.C_QAj7aO.js";import{u as y,a as $}from"./RequiresUpdate.DzYy-R4p.js";import{C as b}from"./Index.DoF0_xHC.js";import{_ as i}from"./_plugin-vue_export-helper.BN1snXvA.js";import{o,c as s,f as c,y as S,C as w,l as C,u,k as L,q as M}from"./runtime-dom.esm-bundler.DKw-RQqs.js";import _ from"./Overview.B7EcuKFY.js";import"./translations.Ur07Kmot.js";import{_ as T}from"./default-i18n.DvLqo3S3.js";import"./helpers.yjC6K_2A.js";import"./upperFirst.BjBqmCj-.js";import"./_stringToArray.DnK4tKcY.js";import"./toString.Dc7QMRQR.js";import"./RequiresUpdate.BYnVDEIR.js";import"./license.4E_gI5OR.js";import"./allowed.DPI64kEG.js";/* empty css             */import"./params.B3T1WKlC.js";import"./Tabs.BGx54iMB.js";import"./TruSeoScore.D1tEO-2v.js";import"./postSlug.Bl0Z6T8y.js";import"./Caret.DMa7g0j7.js";import"./metabox.SRNlGbGk.js";import"./cleanForSlug.DaL6KzBn.js";import"./_baseTrim.BYZhh0MR.js";import"./_baseSet.Bbqt6CgN.js";import"./ProBadge.BJ3spTo5.js";import"./Information.CzCa0jo7.js";import"./Ellipse.Bgc7-2f7.js";import"./Slide.CdVEnD7S.js";import"./Header.DZmO8N8o.js";import"./LicenseKeyBar.twKxq9OX.js";import"./ScrollTo.Bh2oF6Lr.js";import"./LogoGear.Cp4EitBg.js";import"./AnimatedNumber.BQ6DH9FO.js";import"./numbers.D-q54OtM.js";import"./Logo.C2KPC9qS.js";import"./index.Olu2afa7.js";import"./Support.CnGyjGLX.js";import"./date.DgiqPou0.js";import"./constants.DfsCWbZk.js";import"./Url.u6scEZgi.js";import"./Exclamation.QdVEhIVR.js";import"./Gear.CdOSWQ3A.js";import"./AddonConditions.DhxW9qZc.js";import"./Index.BQLC1nYH.js";import"./Row.D0941SYu.js";import"./Blur.D3p3Plqi.js";import"./Card.Bqq4cvaT.js";import"./Tooltip.B0brI66q.js";import"./InternalOutbound.BoBKyiz1.js";import"./External.CWqixdBI.js";import"./SeoSiteScore.Ctz7gjyj.js";import"./DonutChartWithLegend.GEiY7ZiN.js";import"./Row.B1QTQ8Tv.js";import"./RequiredPlans.Cd-RNSMK.js";const q={};function B(e,r){return o(),s("div")}const N=i(q,[["render",B]]),U={};function D(e,r){return o(),s("div")}const E=i(U,[["render",D]]),P={};function V(e,r){return o(),s("div")}const j=i(P,[["render",V]]),z={};function F(e,r){return o(),s("div")}const G=i(z,[["render",F]]),H={class:"aioseo-link-assistant"},Qt={__name:"Main",setup(e){const r="all-in-one-seo-pack",t=v(),m=h(),l=c(()=>t.name==="overview"?_:t.name==="domains-report"?N:t.name==="links-report"?E:t.name==="post-report"?j:t.name==="settings"?G:_),{getExcludedActivationTabs:f}=y(),{getExcludedUpdateTabs:d}=$(),g={pageName:T("Link Assistant",r)},k=c(()=>{const p=(n.isActive("aioseo-link-assistant")?d(m,"aioseo-link-assistant"):f(m,"aioseo-link-assistant"))||[];return p.push("post-report"),p}),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()}),(p,I)=>(o(),s("div",H,[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{Qt as default};
