"use strict";(globalThis.webpackChunkwp_seopress_pro=globalThis.webpackChunkwp_seopress_pro||[]).push([[974],{974:(e,s,o)=>{o.r(s),o.d(s,{default:()=>n});var t=o(609),r=o(723),p=o(427);const{FieldRow:a,MediaUploadField:i,ToggleField:l}=window.seopressComponents,n=()=>{const{settings:e,updateSetting:s}=window.seopressUseSettings(),o=window.SEOPRESS_PRO_DATA||{},n=o.DOCS_LINKS||{},_=n.schemas?.ebook||"";return(0,t.createElement)("div",{className:"seopress-tab-content"},(0,t.createElement)("p",null,(0,r.__)("Add Structured Data Types support, mark your content, and get better Google Search Results.","wp-seopress-pro"),_&&(0,t.createElement)(t.Fragment,null," ",(0,t.createElement)("a",{className:"seopress-help",href:_,target:"_blank",rel:"noopener noreferrer"},(0,r.__)("Learn More","wp-seopress-pro")),(0,t.createElement)("span",{className:"seopress-help dashicons dashicons-external"}))),o.SCHEMAS_URL&&(0,t.createElement)("p",null,(0,t.createElement)(p.Button,{variant:"secondary",href:o.SCHEMAS_URL},(0,r.__)("View my automatic schemas","wp-seopress-pro"))),(0,t.createElement)(a,{id:"seopress_rich_snippets_enable",label:(0,r.__)("Enable Structured Data Types","wp-seopress-pro")},(0,t.createElement)(l,{label:(0,r.__)("Enable Structured Data Types metabox for your posts, pages and custom post types","wp-seopress-pro"),checked:e.seopress_rich_snippets_enable,onChange:e=>s("seopress_rich_snippets_enable",e)}),!e.seopress_rich_snippets_enable&&(0,t.createElement)(p.Notice,{status:"warning",isDismissible:!1,className:"seopress-schemas-frontend-notice"},(0,r.__)("While this is off, schemas created in the builder are not output on the front end, even though the builder shows a valid preview.","wp-seopress-pro"))),(0,t.createElement)(a,{id:"seopress_xml_sitemap_video_schema_youtube_enable",label:(0,r.__)("Auto-fill Video schema from first YouTube video","wp-seopress-pro")},(0,t.createElement)(l,{label:(0,r.__)("When enabled, the automatic Video (VideoObject) schema is populated from the first YouTube video detected in the post content. Existing manual fields override the fetched values.","wp-seopress-pro"),checked:"1"===e.seopress_xml_sitemap_video_schema_youtube_enable,onChange:e=>s("seopress_xml_sitemap_video_schema_youtube_enable",e?"1":"")})),(0,t.createElement)(a,{id:"seopress_rich_snippets_publisher_logo",label:(0,r.__)("Upload your publisher logo","wp-seopress-pro")},(0,t.createElement)(i,{value:e.seopress_rich_snippets_publisher_logo,onChange:e=>s("seopress_rich_snippets_publisher_logo",e),placeholder:(0,r.__)("Select your logo","wp-seopress-pro"),help:(0,r.__)("A logo that is representative of the organization. Files must be BMP, GIF, JPEG, PNG, WebP or SVG. The image must be 112x112px, at minimum.","wp-seopress-pro")}),(0,t.createElement)("input",{type:"hidden",value:e.seopress_rich_snippets_publisher_logo_width||""}),(0,t.createElement)("input",{type:"hidden",value:e.seopress_rich_snippets_publisher_logo_height||""})),(0,t.createElement)(a,{id:"seopress_rich_snippets_profilepage_enable",label:(0,r.__)("Enable ProfilePage Schema","wp-seopress-pro")},(0,t.createElement)(l,{label:(0,r.__)("Add ProfilePage schema markup to author archive pages for improved E-E-A-T signals","wp-seopress-pro"),checked:e.seopress_rich_snippets_profilepage_enable,onChange:e=>s("seopress_rich_snippets_profilepage_enable",e),help:(0,r.__)("When enabled, ProfilePage schema will be added to author archive pages. This includes author name, bio, avatar, website URL, and post count. Individual users can opt out via their profile settings.","wp-seopress-pro")})))}}}]);