import{u as S,d as w}from"./vue-router.2f910c93.js";import{n as B}from"./index.7377ee90.js";import{a as C}from"./addons.e43aad76.js";import{u as E,a as L}from"./RequiresUpdate.f634e7bc.js";import{C as q}from"./Index.6ba9a361.js";import{_ as n}from"./_plugin-vue_export-helper.eefbdd86.js";import{o as r,c as i,f as p,k as v,l as T,u as U,q as M}from"./runtime-dom.esm-bundler.5c3c7d72.js";import h from"./Redirects.e534346d.js";import"./translations.d159963e.js";import{_ as N}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"./Redirects.5370bf63.js";import"./Index.64cbb4ad.js";import"./JsonValues.3fcfec97.js";import"./External.c9d4f255.js";import"./escapeRegExp.9b141b1a.js";import"./Checkbox.6db0b9ed.js";import"./Checkmark.e40641dd.js";import"./DatePicker.483683ca.js";import"./Calendar.b69b61c4.js";import"./pick.67675203.js";import"./_baseSet.9f9da1bd.js";import"./_getTag.1e50d0c4.js";import"./debounce.f7a8b998.js";import"./toNumber.90507ad4.js";import"./_baseTrim.11b89ad9.js";import"./isEqual.96d3394c.js";import"./_baseIsEqual.aba7ca44.js";import"./Tooltip.73441134.js";import"./Plus.426117bd.js";import"./Blur.edde4939.js";import"./Card.7fa0e19d.js";import"./Table.6c816200.js";import"./Download.17eb5e1f.js";import"./Index.a76253da.js";import"./Row.df38a5f6.js";import"./RequiredPlans.7b1460e1.js";import"./AddonConditions.95ee0498.js";const D={};function F(e,o){return r(),i("div")}const I=n(D,[["render",F]]),P={};function j(e,o){return r(),i("div")}const z=n(P,[["render",j]]),G={};function H(e,o){return r(),i("div")}const J=n(G,[["render",H]]),K={};function O(e,o){return r(),i("div")}const Q=n(K,[["render",O]]),V={};function W(e,o){return r(),i("div")}const X=n(V,[["render",W]]),ar={__name:"Main",setup(e){const o="all-in-one-seo-pack",t=S(),a=w(),$=p(()=>t.name==="full-site-redirect"?I:t.name==="import-export"?z:t.name==="logs"?J:t.name==="logs-404"?Q:t.name==="redirects"?h:t.name==="settings"?X:h),{getExcludedActivationTabs:b}=E(),{getExcludedUpdateTabs:R}=L(),y={pageName:N("Redirects",o)},A=p(()=>t.name!=="redirects"&&t.name!=="groups"&&t.name!=="logs-404"&&t.name!=="logs"&&t.name!=="import-export"),m=B(),k=p(()=>{var c,u,_,l,f,d,g,x;const s=C.isActive("aioseo-redirects")?R(a,"aioseo-redirects"):b(a,"aioseo-redirects");return(_=(u=(c=m.options)==null?void 0:c.logs)==null?void 0:u.log404)!=null&&_.enabled||s.push("logs-404"),(!((d=(f=(l=m.options)==null?void 0:l.logs)==null?void 0:f.redirects)!=null&&d.enabled)||((x=(g=m.options)==null?void 0:g.main)==null?void 0:x.method)==="server")&&s.push("logs"),s});return(s,c)=>(r(),v(U(q),{"page-name":y.pageName,"show-save-button":A.value,"exclude-tabs":k.value},{default:T(()=>[(r(),v(M($.value)))]),_:1},8,["page-name","show-save-button","exclude-tabs"]))}};export{ar as default};
