import{k as d}from"./links.C572zDFG.js";import{R as l,a as f}from"./RequiresUpdate.CU5aYdnS.js";import{a as h}from"./addons.tTxptju5.js";import{C as g}from"./Index.C0cjWOzj.js";import{_ as e}from"./_plugin-vue_export-helper.BLXtEB-G.js";import{o,c as n,v as x,k as _,l as $,q as v}from"./runtime-core.esm-bundler.DMBo7TXk.js";import b from"./Redirects.D85Giund.js";import"./default-i18n.Bd0Z306Z.js";import"./helpers.D5tYIqKS.js";import"./RequiresUpdate.CMlVyYUc.js";import"./upperFirst.BGtMw2rr.js";import"./_stringToArray.DnK4tKcY.js";import"./toString.CkyAieyd.js";import"./license.w8vDmkyH.js";import"./allowed.DI27y-Lv.js";/* empty css             */import"./params.B3T1WKlC.js";import"./Ellipse.CAgnKuMU.js";import"./Caret.CGwYaMo_.js";import"./Header.CAqvp6wK.js";import"./ScrollAndHighlight.BJMBF74G.js";import"./LogoGear.DKfym1nW.js";import"./AnimatedNumber.AHtyCECF.js";import"./numbers.zAmItkHM.js";import"./Logo.BIaooogV.js";import"./index.CdwEuUIl.js";import"./Support.2kTcpvZ-.js";import"./Tabs.C-PQxwBC.js";import"./TruSeoScore.TjofuHRQ.js";import"./Information.JAmX9TGg.js";import"./Slide.D2pWF0rN.js";import"./Url.CKoztWLY.js";import"./Date.7QFk4W6o.js";import"./constants.B6ynd7gz.js";import"./Exclamation.Dk_xiOnS.js";import"./Gear.Big5c48d.js";import"./Redirects.CLdR6VZR.js";import"./Index.N3ar3q9e.js";import"./JsonValues.D25FTfEu.js";import"./ProBadge.Bm930amZ.js";import"./External.1pzVM6vX.js";import"./escapeRegExp.BzEGgRdT.js";import"./Checkbox.CxE2HV-P.js";import"./Checkmark.DL3UTTgg.js";import"./DatePicker.zmGSzhsH.js";import"./pick.DnO1wEct.js";import"./_baseSet.SHpzr1A5.js";import"./_getTag.Dxs-K0Yj.js";import"./debounce.D8CddFbI.js";import"./toNumber.BuBWCMcL.js";import"./_baseTrim.BYZhh0MR.js";import"./isEqual.6YJSJDqn.js";import"./_baseIsEqual.8qmZqLuw.js";import"./Tooltip.CRFjFnpF.js";import"./Plus.iqCbU08m.js";import"./Blur.tZiC08Rv.js";import"./Card.CuS1kKeW.js";import"./Table.BK8hMu3L.js";import"./Index.fxoyLS1r.js";import"./Row.CHjKxnPP.js";import"./RequiredPlans.CWb7CJDQ.js";import"./AddonConditions.CGRZ5c5Q.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};
