import{_ as x}from"./_plugin-vue_export-helper.eefbdd86.js";import{o as m,c as b,x as p,l as g,m as i,a as c,y as l,t as a,H as s,u as e,b as S}from"./runtime-dom.esm-bundler.c4caba60.js";import{a as f,j as B}from"./index.36512665.js";import"./translations.d159963e.js";import{_ as o,s as G}from"./default-i18n.20001971.js";import{G as A}from"./constants.a8a14dc3.js";import{C as M}from"./Blur.63f260fa.js";import{C as R}from"./SettingsRow.e76e5dcb.js";import{S as D}from"./External.6e60bbfb.js";import{B as H}from"./Checkbox.475ec1e7.js";import{C as I}from"./Card.1222adc7.js";import{C as U}from"./ProBadge.6c04ecdd.js";import{C as O}from"./Index.312910ac.js";import{R as V}from"./RequiredPlans.9b332b7b.js";import{u as E}from"./AddonConditions.ac00696a.js";import"./helpers.a0b389be.js";import"./Row.d49feaf0.js";import"./Checkmark.34fb32e2.js";import"./Tooltip.e12834fc.js";import"./Caret.cc16468c.js";import"./index.f3c7a985.js";import"./Slide.9bb3b45e.js";import"./addons.8f33ee21.js";import"./upperFirst.9d3c89a3.js";import"./toString.1e64e8a6.js";import"./license.b16b0cfe.js";const z={};function Y(u,_){return m(),b("div")}const j=x(z,[["render",Y]]),n="all-in-one-seo-pack",N=()=>({strings:{news:o("News Sitemap",n),setPublicationName:o("Set Publication Name",n),publicationName:o("Publication Name",n),postTypes:o("Post Types",n),exclude:o("Exclude Pages/Posts",n),description:o("The Google News Sitemap lets you control which content you submit to Google News and only contains articles that were published in the last 48 hours.",n),extendedDescription:o("In order to submit a News Sitemap to Google, you must have added your site to Google’s Publisher Center and had it approved.",n),enableSitemap:o("Enable Sitemap",n),openSitemap:o("Open News Sitemap",n),noIndexDisplayed:o("Noindexed content will not be displayed in your sitemap.",n),doYou404:o("Do you get a blank sitemap or 404 error?",n),ctaButtonText:o("Unlock News Sitemaps",n),ctaHeader:G(o("News Sitemaps is a %1$s Feature",n),"PRO"),includeAllPostTypes:o("Include All Post Types",n),selectPostTypes:o("Select which Post Types appear in your sitemap.",n)}}),q={setup(){const{strings:u}=N();return{strings:u,GLOBAL_STRINGS:A,links:f}},components:{CoreBlur:M,CoreSettingsRow:R,SvgExternal:D,BaseCheckbox:H}},F={class:"aioseo-settings-row aioseo-section-description"},J=["innerHTML"],K={class:"aioseo-sitemap-preview"},Q={class:"aioseo-description"},W=c("br",null,null,-1),X=["innerHTML"],Z={class:"aioseo-description"},$=["innerHTML"];function ee(u,_,r,t,h,T){const w=p("base-toggle"),d=p("core-settings-row"),k=p("svg-external"),L=p("base-button"),P=p("base-input"),C=p("base-checkbox"),v=p("core-blur");return m(),g(v,null,{default:i(()=>[c("div",F,[l(a(t.strings.description)+" "+a(t.strings.extendedDescription)+" ",1),c("span",{innerHTML:t.links.getDocLink(t.GLOBAL_STRINGS.learnMore,"newsSitemaps",!0)},null,8,J)]),s(d,{name:t.strings.enableSitemap},{content:i(()=>[s(w,{modelValue:!0})]),_:1},8,["name"]),s(d,{name:t.GLOBAL_STRINGS.preview},{content:i(()=>[c("div",K,[s(L,{size:"medium",type:"blue"},{default:i(()=>[s(k),l(" "+a(t.strings.openSitemap),1)]),_:1})]),c("div",Q,[l(a(t.strings.noIndexDisplayed)+" ",1),W,l(" "+a(t.strings.doYou404)+" ",1),c("span",{innerHTML:t.links.getDocLink(t.GLOBAL_STRINGS.learnMore,"blankSitemap",!0)},null,8,X)])]),_:1},8,["name"]),s(d,{name:t.strings.publicationName,align:""},{content:i(()=>[s(P,{size:"medium"})]),_:1},8,["name"]),s(d,{name:t.strings.postTypes},{content:i(()=>[s(C,{size:"medium"},{default:i(()=>[l(a(t.strings.includeAllPostTypes),1)]),_:1}),c("div",Z,[l(a(t.strings.selectPostTypes)+" ",1),c("span",{innerHTML:t.links.getDocLink(t.GLOBAL_STRINGS.learnMore,"selectPostTypesNews",!0)},null,8,$)])]),_:1},8,["name"])]),_:1})}const te=x(q,[["render",ee]]),oe={class:"aioseo-news-sitemap-lite"},y={__name:"NewsSitemap",setup(u){const _=B(),{strings:r}=N();return(t,h)=>(m(),b("div",oe,[s(e(I),{slug:"newsSitemap",noSlide:!0},{header:i(()=>[c("span",null,a(e(r).news),1),s(e(U))]),default:i(()=>[s(e(te)),s(e(O),{"feature-list":[e(r).setPublicationName,e(r).exclude],"cta-link":e(f).getPricingUrl("news-sitemap","news-sitemap-upsell",null,"liteUpgrade"),"button-text":e(r).ctaButtonText,"learn-more-link":e(f).getUpsellUrl("news-sitemap",null,"liteUpgrade"),"hide-bonus":!e(_).isUnlicensed},{"header-text":i(()=>[l(a(e(r).ctaHeader),1)]),description:i(()=>[s(e(V),{addon:"aioseo-news-sitemap"}),l(" "+a(e(r).description),1)]),_:1},8,["feature-list","cta-link","button-text","learn-more-link","hide-bonus"])]),_:1})]))}},ne={class:"aioseo-news-sitemap"},Be={__name:"NewsSitemap",setup(u){const{shouldShowActivate:_,shouldShowLite:r,shouldShowMain:t,shouldShowUpdate:h}=E({addonSlug:"aioseo-news-sitemap"});return(T,w)=>(m(),b("div",ne,[e(t)?(m(),g(e(y),{key:0})):S("",!0),e(h)||e(_)?(m(),g(e(j),{key:1})):S("",!0),e(r)?(m(),g(e(y),{key:2})):S("",!0)]))}};export{Be as default};
