import{u as v,d as h}from"./vue-router.2f910c93.js";import{I as A,u as R}from"./index.62477ee8.js";import{a as n}from"./addons.274d2a7a.js";import{u as y,a as $}from"./RequiresUpdate.364b3b6b.js";import{C as b}from"./Index.59b45b43.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.bba260c7.js";import"./translations.d159963e.js";import{_ as T}from"./default-i18n.20001971.js";import"./helpers.c7282833.js";import"./upperFirst.eac3a366.js";import"./_stringToArray.f9ddb970.js";import"./toString.a2dfb892.js";import"./RequiresUpdate.42e8ee2a.js";import"./license.20795cf4.js";import"./allowed.c5017e4f.js";/* empty css             */import"./params.af7ed354.js";import"./Tabs.7a016195.js";import"./Caret.d9cc70ba.js";import"./ProBadge.751e0b85.js";import"./Information.13e8cece.js";import"./Slide.39c07c03.js";import"./Header.765b3336.js";import"./LicenseKeyBar.63474522.js";import"./ScrollTo.81bea8a7.js";import"./LogoGear.cb664d3b.js";import"./AnimatedNumber.f1ad3fb5.js";import"./numbers.9fc174f3.js";import"./Logo.6c9d2b19.js";import"./index.8c70464a.js";import"./Support.e867db75.js";import"./date.a32abd75.js";import"./datetime.f197aeae.js";import"./constants.24c44c43.js";import"./Url.3a754ef4.js";import"./Exclamation.22e53a8b.js";import"./Gear.bd4e1565.js";import"./AddonConditions.ea07bdf5.js";import"./Index.0e872043.js";import"./Row.df38a5f6.js";import"./Blur.edde4939.js";import"./Card.da4d4921.js";import"./Tooltip.73441134.js";import"./InternalOutbound.8d129cbf.js";import"./External.3b8c2917.js";import"./SeoSiteScore.716d0e98.js";import"./AnalyzerStore.4c49761b.js";import"./DonutChartWithLegend.28d3472c.js";import"./Row.2a867ba6.js";import"./RequiredPlans.97e0043b.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};
