import{u as S,d as w}from"./vue-router.eypfdvl5.js";import{o as B}from"./index.ba51ghj9.js";import{a as C}from"./addons.eq04tz3m.js";import{u as E,a as L}from"./RequiresUpdate.d8jsrhfb.js";import{C as q}from"./Index.fxj7ex2u.js";import{_ as i}from"./_plugin-vue_export-helper.oebm7xum.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.h3clfjuw.js";import h from"./Redirects.naaint2y.js";import"./translations.b896ab1m.js";import{_ as N}from"./default-i18n.hohxoesu.js";import"./helpers.lwqbledo.js";import"./upperFirst.bgyeasim.js";import"./_stringToArray.mpukyt2g.js";import"./toString.oppn28a8.js";import"./RequiresUpdate.2eh9eb9o.js";import"./license.ij9c7ra4.js";import"./allowed.o46uhc7o.js";/* empty css             */import"./params.k8e95b6q.js";import"./Tabs.opo0ypfq.js";import"./TruSeoScore.das28gz4.js";import"./postSlug.ms4f44w2.js";import"./Caret.dwp6xpza.js";import"./metabox.y83zoorm.js";import"./cleanForSlug.dzbbaoug.js";import"./_baseTrim.ohbpllmu.js";import"./_baseSet.ipousrvi.js";import"./regex.bekpgw04.js";import"./ProBadge.e32os6n3.js";import"./Information.djrr3pec.js";import"./Ellipse.mhzh8c2h.js";import"./Slide.dop8j51m.js";import"./Header.k1z0z7e2.js";import"./LicenseKeyBar.gh3b5rkr.js";import"./ScrollTo.ntqtkazp.js";import"./LogoGear.gxsz2m6s.js";import"./AnimatedNumber.mqxvivps.js";import"./numbers.busvl4mt.js";import"./Logo.nueehhao.js";import"./index.kaabvvzj.js";import"./Support.eets7z2w.js";import"./date.ozs95ujh.js";import"./datetime.hyfm7zez.js";import"./constants.hcfrsngk.js";import"./Url.e5jo61ge.js";import"./Exclamation.f0pmbpi9.js";import"./Gear.dx9icaxx.js";import"./Redirects.nw8rq81b.js";import"./Index.j04s6syt.js";import"./JsonValues.g6ep3o3z.js";import"./External.h5te4wqm.js";import"./escapeRegExp.o0mkkk5c.js";import"./Checkbox.cv4w58s0.js";import"./Checkmark.d5kkjaf5.js";import"./DatePicker.hz9n2i3u.js";import"./Calendar.fbofsn3b.js";import"./pick.e9wcosvf.js";import"./_getTag.fx9iqlmr.js";import"./debounce.mrkkoh0r.js";import"./toNumber.i3xpxrn8.js";import"./isEqual.dwjbg1yu.js";import"./_baseIsEqual.j7gru8tk.js";import"./Tooltip.i4md1nj9.js";import"./Plus.e1tf1dpc.js";import"./Blur.mu93d3e2.js";import"./Card.0q0mr1wq.js";import"./Table.bzjzsap0.js";import"./Index.jq0lth54.js";import"./Row.h4gujlzc.js";import"./RequiredPlans.fcb8z72b.js";import"./AddonConditions.ji5vd84m.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]]),dr={__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{dr as default};
