import{a as l,g as r}from"./index.ed1fc0db.js";import{a as u}from"./addons.edaa5cfa.js";import{a as _}from"./allowed.8a9179cc.js";import"./translations.d159963e.js";import{X as p}from"./runtime-core.esm-bundler.4f558f23.js";import{_ as s}from"./default-i18n.20001971.js";const e="all-in-one-seo-pack",S=()=>{const i=p(()=>{const a=[{value:"webmasterTools",label:s("Webmaster Tools",e),access:"aioseo_general_settings"},{value:"rssContent",label:s("RSS Content",e),access:"aioseo_general_settings"},{value:"advanced",label:s("Advanced",e),access:"aioseo_general_settings"},{value:"searchAppearance",label:s("Search Appearance",e),access:"aioseo_search_appearance_settings"},{value:"social",label:s("Social Networks",e),access:"aioseo_social_networks_settings"},{value:"sitemap",label:s("Sitemaps",e),access:"aioseo_sitemap_settings"},{value:"robots",label:s("Robots.txt",e),access:"aioseo_tools_settings"},{value:"breadcrumbs",label:s("Breadcrumbs",e),access:"aioseo_general_settings"}];l().isPro&&a.push({value:"accessControl",label:s("Access Control",e),access:"aioseo_admin"});const t=r();return!t.isUnlicensed&&o("aioseo-image-seo")&&a.push({value:"image",label:s("Image SEO",e),access:"aioseo_search_appearance_settings"}),!t.isUnlicensed&&o("aioseo-local-business")&&a.push({value:"localBusiness",label:s("Local Business SEO",e),access:"aioseo_local_seo_settings"}),!t.isUnlicensed&&o("aioseo-redirects")&&a.push({value:"redirects",label:s("Redirects",e),access:"aioseo_redirects_settings"}),!t.isUnlicensed&&o("aioseo-link-assistant")&&a.push({value:"linkAssistant",label:s("Link Assistant",e),access:"aioseo_link_assistant_settings"}),!t.isUnlicensed&&o("aioseo-eeat")&&a.push({value:"eeat",label:s("Author SEO (E-E-A-T)",e),access:"aioseo_search_appearance_settings"}),a.filter(c=>_(c.access))}),o=a=>{const n=u.getAddon(a);return n&&n.isActive&&!n.requiresUpgrade};return{toolsSettings:i}};export{S as u};
