import{u as S,d as w}from"./vue-router.fd2bb90e.js";import{p as B}from"./index.4fea5b8a.js";import{a as C}from"./addons.e13ca687.js";import{u as E,a as L}from"./RequiresUpdate.24b25599.js";import{C as q}from"./Index.ca647dcc.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.baf35205.js";import h from"./Redirects.33175413.js";import"./translations.d159963e.js";import{_ as N}from"./default-i18n.20001971.js";import"./helpers.114e9c35.js";import"./upperFirst.eafa5318.js";import"./toString.bbd66337.js";import"./RequiresUpdate.8a612563.js";import"./license.ae04185d.js";import"./allowed.269a2007.js";/* empty css             */import"./params.af7ed354.js";import"./Tabs.4288f191.js";import"./Caret.7cc96622.js";import"./ProBadge.2e262a91.js";import"./Information.8cb16b63.js";import"./Slide.1db617da.js";import"./Header.4306fee2.js";import"./LicenseKeyBar.3caf4ec6.js";import"./ScrollTo.81bea8a7.js";import"./LogoGear.383c5312.js";import"./AnimatedNumber.572be72b.js";import"./numbers.9fc174f3.js";import"./Logo.a16dfa01.js";import"./index.7fee6f1a.js";import"./Support.8462f1d2.js";import"./date.a0d85d51.js";import"./datetime.f197aeae.js";import"./constants.a8a14dc3.js";import"./Url.41ca37be.js";import"./Exclamation.a4801e64.js";import"./Gear.9759526d.js";import"./Redirects.5bafc2b5.js";import"./Index.3049f923.js";import"./JsonValues.3fcfec97.js";import"./External.49bc8f29.js";import"./escapeRegExp.ef128b53.js";import"./Checkbox.d4a94670.js";import"./Checkmark.b35299d3.js";import"./DatePicker.6f355f8c.js";import"./Calendar.ad6a53a7.js";import"./pick.81bbcc4b.js";import"./_baseSet.a1a8944e.js";import"./_getTag.423682f1.js";import"./debounce.1241e277.js";import"./toNumber.a6ddbe4d.js";import"./isEqual.5e2458d5.js";import"./_baseIsEqual.6ad153a3.js";import"./Tooltip.70b51a50.js";import"./Plus.d91e5f23.js";import"./Blur.601d8ea8.js";import"./Card.9a64d2e2.js";import"./Table.e2de1c86.js";import"./Download.7a5bbc25.js";import"./Index.a6ae6538.js";import"./Row.c7b7fb90.js";import"./RequiredPlans.8c29f2e8.js";import"./AddonConditions.a85dda13.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]]),cr={__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{cr as default};
