import{G as u}from"./constants.fe8bda37.js";import{e as k,u as A,b as f}from"./index.bd66e758.js";import{C as R}from"./Caret.382b7591.js";import{C as v}from"./Card.88a70537.js";import{C as w}from"./HtmlTagsEditor.e6c04a8d.js";import{C as x}from"./SettingsRow.8aa99257.js";import{S as L}from"./External.4ed94f4a.js";import"./translations.d159963e.js";import{_ as T}from"./_plugin-vue_export-helper.eefbdd86.js";import{_ as o,s as _}from"./default-i18n.20001971.js";import{c as B,H as s,m as r,x as a,o as g,a as i,t as l,y as S,l as D,b as H}from"./runtime-dom.esm-bundler.5d5e6b71.js";import"./helpers.bf0d86e6.js";import"./Tooltip.418c677c.js";import"./index.eb92a2a8.js";import"./Slide.a525748d.js";import"./Editor.81f3911b.js";import"./isEqual.5cc76a57.js";import"./_baseIsEqual.6ce4f4be.js";import"./_getTag.591de94f.js";import"./_baseClone.1a97e0e2.js";import"./_arrayEach.6af5abac.js";import"./UnfilteredHtml.15c70aa8.js";import"./Row.aff98451.js";const t="all-in-one-seo-pack",V={setup(){return{optionsStore:k(),rootStore:A(),GLOBAL_STRINGS:u,links:f}},components:{CoreAlert:R,CoreCard:v,CoreHtmlTagsEditor:w,CoreSettingsRow:x,SvgExternal:L},data(){return{strings:{tooltip:o("Automatically add content to your site's RSS feed.",t),description:o("This feature is used to automatically add content to your site's RSS feed. More specifically, it allows you to add links back to your blog and your blog posts so scrapers will automatically add these links too. This helps search engines identify you as the original source of the content.",t),learnMore:o("Learn more",t),rssFeedDisabled:_(o("Your RSS feed has been disabled. Disabling the global RSS feed is NOT recommended. This will prevent users from subscribing to your content and can hurt your SEO rankings. You can re-enable the global RSS feed in the %1$scrawl content settings%2$s.",t),'<a href="'+this.rootStore.aioseo.urls.aio.searchAppearance+'&aioseo-scroll=crawl-content-global-feed&aioseo-highlight=crawl-content-global-feed#/advanced">',"</a>"),rssContent:o("RSS Content Settings",t),openYourRssFeed:o("Open Your RSS Feed",t),rssBeforeContent:o("RSS Before Content",t),rssAfterContent:o("RSS After Content",t),beforeRssDescription:o("Add content before each post in your site feed.",t),afterRssDescription:o("Add content after each post in your site feed.",t),unfilteredHtmlError:_(o("Your user account role does not have access to edit this field. %1$s",t),f.getDocLink(u.learnMore,"unfilteredHtml",!0))}}}},M={class:"aioseo-rss-content"},N={class:"aioseo-settings-row aioseo-section-description"},G=["innerHTML"],O={class:"aioseo-description"},Y={class:"aioseo-description"};function E(F,c,U,e,n,I){const b=a("core-alert"),h=a("svg-external"),C=a("base-button"),p=a("core-settings-row"),m=a("core-html-tags-editor"),y=a("core-card");return g(),B("div",M,[s(y,{slug:"rssContent","header-text":n.strings.rssContent},{tooltip:r(()=>[i("div",null,l(n.strings.tooltip),1)]),default:r(()=>[i("div",N,[S(l(n.strings.description)+" ",1),i("span",{innerHTML:e.links.getDocLink(e.GLOBAL_STRINGS.learnMore,"rssContent",!0)},null,8,G),e.optionsStore.options.searchAppearance.advanced.crawlCleanup.enable&&!e.optionsStore.options.searchAppearance.advanced.crawlCleanup.feeds.global?(g(),D(b,{key:0,type:"red",innerHTML:n.strings.rssFeedDisabled},null,8,["innerHTML"])):H("",!0)]),s(p,{name:e.GLOBAL_STRINGS.preview},{content:r(()=>[s(C,{size:"medium",type:"blue",tag:"a",href:e.rootStore.aioseo.urls.feeds.global,target:"_blank",disabled:e.optionsStore.options.searchAppearance.advanced.crawlCleanup.enable&&!e.optionsStore.options.searchAppearance.advanced.crawlCleanup.feeds.global},{default:r(()=>[s(h),S(" "+l(n.strings.openYourRssFeed),1)]),_:1},8,["href","disabled"])]),_:1},8,["name"]),s(p,{name:n.strings.rssBeforeContent},{content:r(()=>[s(m,{checkUnfilteredHtml:"",modelValue:e.optionsStore.options.rssContent.before,"onUpdate:modelValue":c[0]||(c[0]=d=>e.optionsStore.options.rssContent.before=d),"minimum-line-numbers":5,"tags-context":"rss","default-tags":["post_link","site_link","author_link"],disabled:e.optionsStore.options.searchAppearance.advanced.crawlCleanup.enable&&!e.optionsStore.options.searchAppearance.advanced.crawlCleanup.feeds.global},null,8,["modelValue","disabled"]),i("div",O,l(n.strings.beforeRssDescription),1)]),_:1},8,["name"]),s(p,{name:n.strings.rssAfterContent},{content:r(()=>[s(m,{checkUnfilteredHtml:"",modelValue:e.optionsStore.options.rssContent.after,"onUpdate:modelValue":c[1]||(c[1]=d=>e.optionsStore.options.rssContent.after=d),"minimum-line-numbers":5,"tags-context":"rss","default-tags":["post_link","site_link","author_link"],disabled:e.optionsStore.options.searchAppearance.advanced.crawlCleanup.enable&&!e.optionsStore.options.searchAppearance.advanced.crawlCleanup.feeds.global},null,8,["modelValue","disabled"]),i("div",Y,l(n.strings.afterRssDescription),1)]),_:1},8,["name"])]),_:1},8,["header-text"])])}const me=T(V,[["render",E]]);export{me as default};
