import{k as d}from"./links.Byq_3x2e.js";import{R as l,a as f}from"./RequiresUpdate.DKX7B6Mg.js";import{a as h}from"./addons.LwNCCWfH.js";import{C as g}from"./Index.CuRl1TjC.js";import{_ as e}from"./_plugin-vue_export-helper.BN1snXvA.js";import{o,c as n,v as x,k as _,l as $,q as v}from"./runtime-dom.esm-bundler.tPRhSV4q.js";import b from"./Redirects.BmvBrYYR.js";import"./default-i18n.DXRQgkn2.js";import"./helpers.CXsRrhc8.js";import"./RequiresUpdate.B7pUWPcl.js";import"./upperFirst.yVnsg4QL.js";import"./_stringToArray.DnK4tKcY.js";import"./toString.zLSwYOtv.js";import"./license.Cml-S8vw.js";import"./allowed.DT5C8zBi.js";/* empty css             */import"./params.B3T1WKlC.js";import"./Ellipse.CMQFf36o.js";import"./Caret.Ke5gylGO.js";import"./Header.D3SHoKY-.js";import"./ScrollAndHighlight.Bq2wseLx.js";import"./LogoGear.BbumEdXr.js";import"./AnimatedNumber.DeYVxHDv.js";import"./numbers.BT5e8rgb.js";import"./Logo.bX-u9KVJ.js";import"./index.Dbgw3oZ8.js";import"./Support.DcbjlfoT.js";import"./Tabs.BKGFcDsj.js";import"./TruSeoScore.DmC22Awy.js";import"./Information.Bv8uKEyF.js";import"./Slide.fjAuzpC8.js";import"./Url.Cq-E_nhh.js";import"./Date.B1K6W9Mx.js";import"./constants.CPpKID74.js";import"./Exclamation.DGJubTNT.js";import"./Gear.DwDaVskn.js";import"./Redirects.Djz8KieW.js";import"./Index.CoGLBdzo.js";import"./JsonValues.D25FTfEu.js";import"./ProBadge.CVd2ImKm.js";import"./External.BnlDuPIp.js";import"./escapeRegExp.D4cfHJVO.js";import"./Checkbox.CmdF-nFt.js";import"./Checkmark.DOG99yeO.js";import"./DatePicker.BPgTva2i.js";import"./pick.E0dwuk96.js";import"./_baseSet.rYV3oc6X.js";import"./_getTag.BWQxgJie.js";import"./debounce.CMPzYXJX.js";import"./toNumber.BAPajc32.js";import"./_baseTrim.BYZhh0MR.js";import"./isEqual.DkU1ezAe.js";import"./_baseIsEqual.MNbeg0L2.js";import"./Tooltip.DhkkBQWW.js";import"./Plus.CG1QxokA.js";import"./Blur.CvHKqkVq.js";import"./Card.D52fee8h.js";import"./Table.JF4U36kH.js";import"./Index.Cf5ujj4F.js";import"./Row.DRnp1mVs.js";import"./RequiredPlans.BaQ2NBS5.js";import"./AddonConditions.CsIPzIpA.js";const S={};function y(t,r){return o(),n("div")}const R=e(S,[["render",y]]),A={};function k(t,r){return o(),n("div")}const w=e(A,[["render",k]]),B={};function C(t,r){return o(),n("div")}const E=e(B,[["render",C]]),L={};function T(t,r){return o(),n("div")}const q=e(L,[["render",T]]),U={};function M(t,r){return o(),n("div")}const N=e(U,[["render",M]]),D={setup(){return{redirectsStore:d()}},components:{CoreMain:g,FullSiteRedirect:R,ImportExport:w,Logs:E,Logs404:q,Redirects:b,Settings:N},mixins:[l,f],data(){return{strings:{pageName:this.$t.__("Redirects",this.$td)}}},computed:{showSaveButton(){return this.$route.name!=="redirects"&&this.$route.name!=="groups"&&this.$route.name!=="logs-404"&&this.$route.name!=="logs"&&this.$route.name!=="import-export"},excludeTabs(){var r,m,p,s,i,c,a,u;const t=h.isActive("aioseo-redirects")?this.getExcludedUpdateTabs("aioseo-redirects"):this.getExcludedActivationTabs("aioseo-redirects");return(p=(m=(r=this.redirectsStore.options)==null?void 0:r.logs)==null?void 0:m.log404)!=null&&p.enabled||t.push("logs-404"),(!((c=(i=(s=this.redirectsStore.options)==null?void 0:s.logs)==null?void 0:i.redirects)!=null&&c.enabled)||((u=(a=this.redirectsStore.options)==null?void 0:a.main)==null?void 0:u.method)==="server")&&t.push("logs"),t}}};function F(t,r,m,p,s,i){const c=x("core-main");return o(),_(c,{"page-name":s.strings.pageName,"show-save-button":i.showSaveButton,"exclude-tabs":i.excludeTabs},{default:$(()=>[(o(),_(v(t.$route.name)))]),_:1},8,["page-name","show-save-button","exclude-tabs"])}const Ot=e(D,[["render",F]]);export{Ot as default};
