import{u as k,d as w}from"./vue-router.8d7f8ad9.js";import{p as B}from"./index.36512665.js";import{a as C}from"./addons.8f33ee21.js";import{u as E,a as L}from"./RequiresUpdate.53cb1466.js";import{C as T}from"./Index.6a6deffd.js";import{_ as n}from"./_plugin-vue_export-helper.eefbdd86.js";import{o as r,c as i,f as p,l as v,m as U,u as q,v as M}from"./runtime-dom.esm-bundler.c4caba60.js";import h from"./Redirects.601cb11c.js";import"./translations.d159963e.js";import{_ as N}from"./default-i18n.20001971.js";import"./helpers.a0b389be.js";import"./upperFirst.9d3c89a3.js";import"./toString.1e64e8a6.js";import"./RequiresUpdate.158dd0ca.js";import"./license.b16b0cfe.js";import"./allowed.f00312a7.js";/* empty css             */import"./params.af7ed354.js";import"./Tabs.695e9d1e.js";import"./Caret.cc16468c.js";import"./ProBadge.6c04ecdd.js";import"./Information.efebd14c.js";import"./Slide.9bb3b45e.js";import"./Header.30679a1b.js";import"./ScrollAndHighlight.57461839.js";import"./ScrollTo.81bea8a7.js";import"./LicenseKeyBar.e94d9a1d.js";import"./LogoGear.a15cc3e7.js";import"./AnimatedNumber.f40bef48.js";import"./numbers.9fc174f3.js";import"./Logo.b10fde65.js";import"./index.f3c7a985.js";import"./Support.a74e1db4.js";import"./date.a0d85d51.js";import"./datetime.f197aeae.js";import"./constants.a8a14dc3.js";import"./Url.7abc1720.js";import"./Exclamation.2ee51cca.js";import"./Gear.2f512b03.js";import"./Redirects.3ed6ec6d.js";import"./Index.a910b74a.js";import"./JsonValues.3fcfec97.js";import"./External.6e60bbfb.js";import"./escapeRegExp.8deca77d.js";import"./Checkbox.475ec1e7.js";import"./Checkmark.34fb32e2.js";import"./DatePicker.eb015bea.js";import"./Calendar.322e89db.js";import"./pick.f3b96ebd.js";import"./_baseSet.ca702273.js";import"./_getTag.69d3a807.js";import"./debounce.f2bce338.js";import"./toNumber.89dbadc6.js";import"./isEqual.34cebf90.js";import"./_baseIsEqual.e5574158.js";import"./Tooltip.e12834fc.js";import"./Plus.5c071d29.js";import"./Blur.63f260fa.js";import"./Card.1222adc7.js";import"./Table.80f396e2.js";import"./Download.f06882d0.js";import"./Index.312910ac.js";import"./Row.d49feaf0.js";import"./RequiredPlans.9b332b7b.js";import"./AddonConditions.ac00696a.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]]),pr={__name:"Main",setup(e){const o="all-in-one-seo-pack",t=k(),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(),S=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(q(T),{"page-name":y.pageName,"show-save-button":A.value,"exclude-tabs":S.value},{default:U(()=>[(r(),v(M($.value)))]),_:1},8,["page-name","show-save-button","exclude-tabs"]))}};export{pr as default};
