import{u as S,d as w}from"./vue-router.CGjDmB5N.js";import{n as B}from"./index.ByF2aI-G.js";import{a as C}from"./addons.C_QAj7aO.js";import{u as E,a as L}from"./RequiresUpdate.DzYy-R4p.js";import{C as q}from"./Index.DoF0_xHC.js";import{_ as i}from"./_plugin-vue_export-helper.BN1snXvA.js";import{o as r,c as n,f as c,k as v,l as T,u as U,q as M}from"./runtime-dom.esm-bundler.DKw-RQqs.js";import h from"./Redirects.Cml55IJ4.js";import"./translations.Ur07Kmot.js";import{_ as N}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"./Redirects.DZ4nDRt5.js";import"./Index.D63mawWP.js";import"./JsonValues.CjR5TkFn.js";import"./External.DwsNMWba.js";import"./escapeRegExp.Cr4ECp1J.js";import"./Checkbox.BAIONgTE.js";import"./Checkmark.BedAg8BV.js";import"./DatePicker.Cf1_1YyU.js";import"./Calendar.DfOxy3oe.js";import"./pick.YiTG4DgQ.js";import"./_getTag.KnvRqur7.js";import"./debounce.Dn172j5X.js";import"./toNumber.DaBXB5a2.js";import"./isEqual.DPyFnjxk.js";import"./_baseIsEqual.BLPD4oRg.js";import"./Tooltip.B0brI66q.js";import"./Plus.CnHRD0g1.js";import"./Blur.D3p3Plqi.js";import"./Card.Bqq4cvaT.js";import"./Table.C8lx_e6O.js";import"./Index.BQLC1nYH.js";import"./Row.D0941SYu.js";import"./RequiredPlans.Cd-RNSMK.js";import"./AddonConditions.DhxW9qZc.js";const D={};function F(e,o){return r(),n("div")}const I=i(D,[["render",F]]),P={};function j(e,o){return r(),n("div")}const z=i(P,[["render",j]]),G={};function H(e,o){return r(),n("div")}const J=i(G,[["render",H]]),K={};function O(e,o){return r(),n("div")}const Q=i(K,[["render",O]]),V={};function W(e,o){return r(),n("div")}const X=i(V,[["render",W]]),lr={__name:"Main",setup(e){const o="all-in-one-seo-pack",t=S(),a=w(),$=c(()=>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=c(()=>t.name!=="redirects"&&t.name!=="groups"&&t.name!=="logs-404"&&t.name!=="logs"&&t.name!=="import-export"),m=B(),k=c(()=>{var p,u,_,l,f,d,g,x;const s=C.isActive("aioseo-redirects")?R(a,"aioseo-redirects"):b(a,"aioseo-redirects");return(_=(u=(p=m.options)==null?void 0:p.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,p)=>(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{lr as default};
